using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; /// /// Summary description for IncidentReportMgr /// internal class IncidentReportMgr { public IncidentReportMgr() { // // TODO: Add constructor logic here // } public recordRetrievalResponse returnIncidentReportResponse(RecordRetrievalInvocationType recordRetrieval) { recordRetrievalResponse recordRetrievalResponse = new recordRetrievalResponse(); RecordRetrievalConfirmationType confirmation = new RecordRetrievalConfirmationType(); confirmation.recordURI = recordRetrieval.recordURI; WijisServiceResponseInfoItemsType infoItems = new WijisServiceResponseInfoItemsType(); WijisServiceResponseInfoItemType item = new WijisServiceResponseInfoItemType(); item.timestamp = DateTime.Now; item.timestampSpecified = true; item.recordDesignator = "WIJIS"; infoItems.info = new WijisServiceResponseInfoItemType[] { item }; confirmation.infoItems = new WijisServiceResponseInfoItemsType[] { infoItems }; confirmation.recordCount = "1"; IncidentReportType incidentReport = new IncidentReportType(); //Getting the service by dispatcher information GetCallServicedByInfo(ref incidentReport); //Create the IncidentReportIncident elem under IncidentReport. IncidentType1 incidentType = new IncidentType1(); //Getting the call information GetIncidentInfo(ref incidentType); //Getting the person involved GetCallNamesInvloved(ref incidentType); //Getting all the preoperties invloved GetPropertyInvolved(ref incidentType); //IncidentInvolvedVehicle GetVehicleInvolved(ref incidentType); GetUnitHistory(ref incidentType); GetNarrative(ref incidentReport); incidentReport.IncidentReportIncident = incidentType; //end of IncidenetReportIncident //IncidentReportNDExIncidentMetadata NDExIncidentMetadataType metadata = new NDExIncidentMetadataType(); metadata.NDExIncidentRecordActionTypeCode = new NDExIncidentRecordActionTypeCodeType(); metadata.NDExIncidentRecordActionTypeCode.Value = "i"; metadata.NDExIncidentAgencyNotificationIndicator = new boolean(); metadata.NDExIncidentAgencyNotificationIndicator.Value = true; metadata.NDExIncidentIncidentVisibleIndicator = new boolean(); metadata.NDExIncidentIncidentVisibleIndicator.Value = true; metadata.NDExIncidentNIBRSSubmissionIndicator = new boolean(); metadata.NDExIncidentNIBRSSubmissionIndicator.Value = true; incidentReport.IncidentReportNDExIncidentMetadata = metadata; //end of IncidentReportNDExIncidentMetadata RetrievedRecordType retrievedRecord = new RetrievedRecordType(); retrievedRecord.Item = incidentReport; confirmation.Item = retrievedRecord; recordRetrievalResponse.Item = confirmation; return recordRetrievalResponse; } private void GetCallServicedByInfo(ref IncidentReportType incidentReport) { //Create the serviceCall element. ServiceCallType1 serviceCall = new ServiceCallType1(); date serviceDate = new date(); serviceDate.Value = new DateTime(2005, 3, 1); serviceCall.ActivityDate = serviceDate; serviceCall.ActivityTime = new time(); serviceCall.ActivityTime.Value = new DateTime(2005, 3, 1, 22, 3, 0); serviceCall.ActivityEndDate = serviceDate; serviceCall.ActivityEndTime = new time(); serviceCall.ActivityEndTime.Value = new DateTime(2005, 3, 1, 22, 4, 0); serviceCall.ActivityCompletedIndicator = new boolean(); serviceCall.ActivityCompletedIndicator.Value = true; serviceCall.ServiceCallArrivedDate = serviceDate; serviceCall.ServiceCallArrivedTime = serviceCall.ActivityTime; serviceCall.ServiceCallMechanismText = new TextType(); serviceCall.ServiceCallMechanismText.Value = "Telephone"; //Call location & caller // create the servicaCallResponseLocationInfo elem under ServiceCall elem LocationType1 serviceCallResponseLocation = new LocationType1(); TextType locationLandmark = new TextType(); locationLandmark.Value = "Behind the 7-11 on Fifth Avenue downtown"; serviceCallResponseLocation.LocationLandmarkText = locationLandmark; ExtendedLocationInformationType extendedLocationInfo = new ExtendedLocationInformationType(); ContactInformationType1 locationContactInfo = new ContactInformationType1(); locationContactInfo.ContactInformationDescriptionText = new TextType(); locationContactInfo.ContactInformationDescriptionText.Value = "Use this contact information weekdays and Saturday mornings"; PersonType1 contactPerson = new PersonType1(); contactPerson.id = "otherperson-apu"; contactPerson.PersonName = new PersonNameType(); contactPerson.PersonName.PersonFullName = new PersonNameTextType(); contactPerson.PersonName.PersonFullName.Value = "Apu Nahasapeemapetilon"; contactPerson.ExtendedPersonInformation = new ExtendedPersonInformationType(); //create the employemnt info. EmploymentType1 employment = new EmploymentType1(); TextType employmentPosName = new TextType(); employmentPosName.Value = "Manager"; employment.EmploymentPositionName = new TextType[] { employmentPosName }; //set the employer's organizaiton info OrganizationType1 organization = new OrganizationType1(); organization.OrganizationName = new TextType(); organization.OrganizationName.Value = "Seven-Eleven"; employment.Item = organization; employment.ItemElementName = ItemChoiceType.EmploymentEmployerOrganization; contactPerson.ExtendedPersonInformation.Employment = new EmploymentType1[] { employment }; locationContactInfo.ContactPerson = contactPerson; extendedLocationInfo.LocationContactInformation = locationContactInfo; serviceCallResponseLocation.ExtendedLocationInformation = extendedLocationInfo; serviceCall.ServiceCallResponseLocation = serviceCallResponseLocation; //Create the element serviceCallDispatcher under serviceCall elem. PersonType1 serviceCallDispatcher = new PersonType1(); PersonNameType personName = new PersonNameType(); personName.PersonFullName = new PersonNameTextType(); personName.PersonFullName.Value = "Joe Dispatcher"; serviceCallDispatcher.PersonName = personName; serviceCall.ServiceCallDispatcher = serviceCallDispatcher; //Create the element serviceCallOperator under serviceCall elem. PersonType1 serviceCallOperator = new PersonType1(); PersonNameType opName = new PersonNameType(); opName.PersonFullName = new PersonNameTextType(); opName.PersonFullName.Value = "Joe Operator"; serviceCallOperator.PersonName = opName; serviceCall.ServiceCallOperator = serviceCallOperator; incidentReport.ServiceCall = new ServiceCallType1[] { serviceCall }; //IncidentReportApprovingOfficialreference ReferenceType officialRef = new ReferenceType(); officialRef.@ref = "officer-wiggum"; incidentReport.Items = new object[] { officialRef }; //end of IncidentReportApprovingOfficialreference incidentReport.reportingPersonRoleText = "Sole law enforcement officer on scene"; } private void GetIncidentInfo(ref IncidentType1 incidentType) { //ActivityDescriptionText TextType desc = new TextType(); desc.commentText = "It was a dark and stormy night, when the incident happened according to this narrative..."; incidentType.ActivityDescriptionText = desc; //ActivityDate, ActivityEndDate, ActivityTime, ActivityEndTime incidentType.ActivityDate = new date(); incidentType.ActivityDate.Value = new DateTime(2005, 3, 1); incidentType.ActivityEndDate = incidentType.ActivityDate; incidentType.ActivityTime = new time(); incidentType.ActivityTime.Value = new DateTime(2005, 3, 1, 22, 3, 0); incidentType.ActivityEndTime = new time(); incidentType.ActivityEndTime.Value = new DateTime(2005, 3, 1, 22, 30, 0); incidentType.ActivityCompletedIndicator = new boolean(); incidentType.ActivityCompletedIndicator.Value = true; // incidentType.IncidentStructuresEnteredQuantity = new QuantityType(); incidentType.IncidentStructuresEnteredQuantity.Value = 1; incidentType.IncidentStolenVehicleQuantity = new QuantityType(); incidentType.IncidentStolenVehicleQuantity.Value = 0; incidentType.IncidentRecoveredVehicleQuantity = new QuantityType(); incidentType.IncidentRecoveredVehicleQuantity.Value = 0; //Offense IncidentType offense = new IncidentType(); offense.id = "violation1"; offense.IncidentViolatedStatute = new ViolatedStatuteType(); offense.IncidentViolatedStatute.StatuteOffenseCode = new OffenseCodeType1(); offense.IncidentViolatedStatute.StatuteOffenseCode.Value = OffenseCodeType.Item240; offense.IncidentViolatedStatute.StatuteText = new TextType(); offense.IncidentViolatedStatute.StatuteText.Value = "Thou shalt not harrass the manager of a Seven-Eleven"; incidentType.Offense = new IncidentType[] { offense }; #region IncidentLocation LocationType1 incidentLocation = new LocationType1(); incidentLocation.LocationTypeCode = new LocationTypeCodeType1(); incidentLocation.LocationTypeCode.Value = LocationTypeCodeType.Item07; incidentLocation.LocationAddress = new AddressType(); incidentLocation.LocationAddress.LocationStreet = new StreetType(); incidentLocation.LocationAddress.LocationStreet.StreetFullText = new TextType(); incidentLocation.LocationAddress.LocationStreet.StreetFullText.Value = "111 Fifth Avenue"; incidentLocation.LocationAddress.LocationCityName = new TextType(); incidentLocation.LocationAddress.LocationCityName.Value = "Olympia"; incidentLocation.LocationAddress.LocationStateCodefips52Alpha = new USStateCodeType1(); incidentLocation.LocationAddress.LocationStateCodefips52Alpha.Value = USStateCodeType.WA; incidentType.IncidentLocation = new LocationType1[] { incidentLocation }; #endregion //end of IncidentLocation //IncidentInvolvedStructure StructureType1 involvedStructure = new StructureType1(); involvedStructure.PropertyDescriptionText = new TextType(); involvedStructure.PropertyDescriptionText.Value = "Seven-Eleven Convenience Store"; incidentType.IncidentInvolvedStructure = new StructureType1[] { involvedStructure }; //end of IncidentInvolvedStructure } private void GetCallNamesInvloved(ref IncidentType1 incidentType) { //IncidentPersonInvolvement PersonInvolvementType personInvolvement = new PersonInvolvementType(); personInvolvement.PersonInvolvementDescriptionText = new TextType(); personInvolvement.PersonInvolvementDescriptionText.Value = "Met with Bart Simpson earlier in the day, and may have information about his crazed state of mind"; PersonType1 personInvolved = new PersonType1(); personInvolved.id = "otherperson-bob"; personInvolved.PersonName = new PersonNameType(); personInvolved.PersonName.PersonFullName = new PersonNameTextType(); personInvolved.PersonName.PersonFullName.Value = "Bob Terwilliger"; PersonNameType personAlternateName = new PersonNameType(); personAlternateName.PersonFullName = new PersonNameTextType(); personAlternateName.PersonFullName.Value = "Sideshow Bob"; personInvolved.PersonAlternateName = new PersonNameType[] { personAlternateName }; personInvolvement.Person = personInvolved; incidentType.IncidentPersonInvolvement = new PersonInvolvementType[] { personInvolvement }; //IncidentSubject SubjectType1 subject1 = new SubjectType1(); subject1.id = "subject-bart"; subject1.PersonName = new PersonNameType(); subject1.PersonName.PersonGivenName = new PersonNameTextType(); subject1.PersonName.PersonGivenName.Value = "Bart"; subject1.PersonName.PersonSurName = new PersonNameTextType(); subject1.PersonName.PersonSurName.Value = "Simpson"; subject1.PersonAgeMeasure = new AgeMeasureType(); subject1.PersonAgeMeasure.ageUnitCode = AgeUnitCodeType.y; subject1.PersonAgeMeasure.measurementEstimatedIndicator = true; subject1.PersonAgeMeasure.Value = 10; PersonSocialDetailsType personSocial1 = new PersonSocialDetailsType(); EthnicityCodeType1 personEthnicityCode1 = new EthnicityCodeType1(); personEthnicityCode1.Value = EthnicityCodeType.N; personSocial1.PersonEthnicityCode = new EthnicityCodeType1[] { personEthnicityCode1 }; LanguageCodeType1 languageCode1 = new LanguageCodeType1(); languageCode1.Value = LanguageCodeType.eng; personSocial1.PersonPrimaryLanguageCodeiso6392b = new LanguageCodeType1[] { languageCode1 }; subject1.PersonSocialDetails = new PersonSocialDetailsType[] { personSocial1 }; ReferenceType personRef1 = new ReferenceType(); personRef1.@ref = "witness-barney"; ReferenceType personRef2 = new ReferenceType(); personRef2.@ref = "otherperson-apu"; ReferenceType personRef3 = new ReferenceType(); personRef3.@ref = "otherperson-bob"; subject1.PersonAcquaintanceReference = new ReferenceType[] { personRef1, personRef2, personRef3 }; ReferenceType personRef4 = new ReferenceType(); personRef4.@ref = "subject-homer"; subject1.PersonParentReference = new ReferenceType[] { personRef4 }; ExtendedPersonInformationType extendedPersonInfo = new ExtendedPersonInformationType(); extendedPersonInfo.PersonPhysicalDetails = new PersonPhysicalDetailsType1(); PersonHeightMeasureType personHeight = new PersonHeightMeasureType(); personHeight.measureUnitText = "units"; personHeight.measurementEstimatedIndicator = true; personHeight.Value = 50; extendedPersonInfo.PersonPhysicalDetails.PersonHeightMeasure = new PersonHeightMeasureType[] { personHeight }; HAIType1 hairColor = new HAIType1(); hairColor.Value = HAIType.BLN; extendedPersonInfo.PersonPhysicalDetails.PersonHairColorCode = new HAIType1[] { hairColor }; SEXType1 sex = new SEXType1(); sex.Value = SEXType.M; extendedPersonInfo.PersonPhysicalDetails.PersonSexCode = new SEXType1[] { sex }; subject1.ExtendedPersonInformation = extendedPersonInfo; SubjectType1 subject2 = new SubjectType1(); subject2.id = "subject-homer"; subject2.PersonName = new PersonNameType(); subject2.PersonName.PersonGivenName = new PersonNameTextType(); subject2.PersonName.PersonGivenName.Value = "Homer"; subject2.PersonName.PersonSurName = new PersonNameTextType(); subject2.PersonName.PersonSurName.Value = "Simpson"; subject2.PersonAcquaintanceReference = new ReferenceType[] { personRef2 }; ReferenceType childRef = new ReferenceType(); childRef.@ref = "subject-bart"; subject2.PersonChildReference = new ReferenceType[] { childRef }; extendedPersonInfo = new ExtendedPersonInformationType(); PersonRelationshipType relation = new PersonRelationshipType(); relation.PersonRelationshipDescription = new TextType(); relation.PersonRelationshipDescription.Value = "Drinking buddies at Moe's bar"; relation.Items = new object[] { personRef1 }; extendedPersonInfo.PersonRelationship = new PersonRelationshipType[] { relation }; subject2.ExtendedPersonInformation = extendedPersonInfo; incidentType.IncidentSubject = new SubjectType1[] { subject1, subject2 }; //end of IncidentSubject //IncidentWitness WitnessType1 witness1 = new WitnessType1(); witness1.id = "witness-barney"; witness1.PersonName = new PersonNameType(); witness1.PersonName.PersonFullName = new PersonNameTextType(); witness1.PersonName.PersonFullName.Value = "Barney Gumble"; ExtendedPersonInformationType extendedPersonInfo2 = new ExtendedPersonInformationType(); extendedPersonInfo2.PrimaryContactInformation = new ContactInformationType1(); TelephoneNumberUsageType teleNumberUsage = new TelephoneNumberUsageType(); teleNumberUsage.TelephoneNumberUsageDescriptionText = new TextType(); teleNumberUsage.TelephoneNumberUsageDescriptionText.Value = "Contact info for law enforcement use only"; teleNumberUsage.TelephoneNumber = new TelephoneNumberType(); teleNumberUsage.TelephoneNumber.TelephoneNumberFullID = new @string(); teleNumberUsage.TelephoneNumber.TelephoneNumberFullID.Value = "360-555-1212"; extendedPersonInfo2.PrimaryContactInformation.ContactInformationTelephoneNumberUsage = new TelephoneNumberUsageType[] { teleNumberUsage }; witness1.ExtendedPersonInformation = extendedPersonInfo2; incidentType.IncidentWitness = new WitnessType1[] { witness1 }; //end of IncidentWitness } private void GetPropertyInvolved(ref IncidentType1 incidentType) { //IncidentInvolvedProperty PropertyType1 involvedProperty = new PropertyType1(); involvedProperty.PropertyTypeText = new TextType(); involvedProperty.PropertyTypeText.Value = "Snack Food"; involvedProperty.PropertyDescriptionText = new TextType(); involvedProperty.PropertyDescriptionText.Value = "Large box of Twinkies"; ExtendedPropertyInformationType extendedPropertyInfo = new ExtendedPropertyInformationType(); PropertyPhysicalDetailsType1 propertyPhysicalDetails = new PropertyPhysicalDetailsType1(); propertyPhysicalDetails.PropertyCategoryCodenibrsPropertyCategory = new PropertyCategoryCodeType1(); propertyPhysicalDetails.PropertyCategoryCodenibrsPropertyCategory.Value = PropertyCategoryCodeType.Item19; extendedPropertyInfo.PropertyPhysicalDetails = propertyPhysicalDetails; PropertyDispositionType1 propertyDisposition = new PropertyDispositionType1(); propertyDisposition.PropertyDispositionCode = new PropertyLossCodeType1(); propertyDisposition.PropertyDispositionCode.Value = PropertyLossCodeType.Item7; propertyDisposition.PropertyNDExDispositionCode = new PropertyNDExDispositionCodeType(); propertyDisposition.PropertyNDExDispositionCode.Value = "8"; ReferenceType personRef = new ReferenceType(); personRef.@ref = "subject-bart"; propertyDisposition.Items = new object[] { personRef }; extendedPropertyInfo.PropertyDisposition = propertyDisposition; // PropertyValueDetails extendedPropertyInfo.PropertyValueDetails = new PropertyValueDetailsType1(); PropertyValueType1 propertyOtherValue = new PropertyValueType1(); propertyOtherValue.PropertyValueAmount = new AmountType(); propertyOtherValue.PropertyValueAmount.currencyCode = CurrencyCodeType.USD; propertyOtherValue.PropertyValueAmount.currencyCodeSpecified = true; propertyOtherValue.PropertyValueAmount.Value = 2.49M; propertyOtherValue.PropertyValueNDExAssignmentMethodCode = new PropertyValueNDExAssignmentMethodCodeType(); propertyOtherValue.PropertyValueNDExAssignmentMethodCode.Value = "2"; extendedPropertyInfo.PropertyValueDetails.PropertyOtherValue = new PropertyValueType[] { propertyOtherValue }; // end of PropertyValueDetails involvedProperty.ExtendedPropertyInformation = extendedPropertyInfo; incidentType.IncidentInvolvedProperty = new PropertyType1[] { involvedProperty }; //end of elemenet IncidentInvolvedProperty } private void GetVehicleInvolved(ref IncidentType1 incidentType) { VehicleType1 involvedVehicle = new VehicleType1(); involvedVehicle.PropertyDescriptionText = new TextType(); involvedVehicle.PropertyDescriptionText.Value = "Simpson family automobile"; VehicleRegistrationType vehicleRegistration = new VehicleRegistrationType(); vehicleRegistration.RegistrationJurisdictionCodefips52Alpha = new USStateCodeType1(); vehicleRegistration.RegistrationJurisdictionCodefips52Alpha.Value = USStateCodeType.MI; vehicleRegistration.VehicleRegistrationPlateID = new IDType(); vehicleRegistration.VehicleRegistrationPlateID.ID = new TextType(); vehicleRegistration.VehicleRegistrationPlateID.ID.Value = "123ABC"; involvedVehicle.VehicleRegistration = new VehicleRegistrationType[] { vehicleRegistration }; involvedVehicle.VehicleMakeCode = new VMAType1(); involvedVehicle.VehicleMakeCode.Value = VMAType.CHEV; involvedVehicle.VehicleModelCode = new VMOType1(); involvedVehicle.VehicleModelCode.Value = VMOType.CHEVCAP; involvedVehicle.VehicleModelYearDate = new gYear(); involvedVehicle.VehicleModelYearDate.Value = "1995"; involvedVehicle.VehicleColorPrimaryCode = new VCOType1(); involvedVehicle.VehicleColorPrimaryCode.Value = VCOType.RED; ExtendedPropertyInformationType vehicleExtendedInfo = new ExtendedPropertyInformationType(); vehicleExtendedInfo.PropertyPhysicalDetails = new PropertyPhysicalDetailsType1(); vehicleExtendedInfo.PropertyPhysicalDetails.PropertyCategoryCodenibrsPropertyCategory = new PropertyCategoryCodeType1(); vehicleExtendedInfo.PropertyPhysicalDetails.PropertyCategoryCodenibrsPropertyCategory.Value = PropertyCategoryCodeType.Item03; PropertyUsageType propertyUsage1 = new PropertyUsageType(); propertyUsage1.PropertyUsageDescription = new TextType(); propertyUsage1.PropertyUsageDescription.Value = "Planned getaway in it"; ReferenceType personRef = new ReferenceType(); personRef.@ref = "subject-bart"; propertyUsage1.PropertyUsedByPersonReference = new ReferenceType[] { personRef }; PropertyUsageType propertyUsage2 = new PropertyUsageType(); propertyUsage2.PropertyUsageDescription = new TextType(); propertyUsage2.PropertyUsageDescription.Value = "Fled in it"; ReferenceType personRef2 = new ReferenceType(); personRef.@ref = "subject-homer"; propertyUsage1.PropertyUsedByPersonReference = new ReferenceType[] { personRef }; vehicleExtendedInfo.PropertyUsage = new PropertyUsageType[] { propertyUsage1, propertyUsage2 }; involvedVehicle.ExtendedPropertyInformation = vehicleExtendedInfo; VehicleIncidentRoleTypeCodeType vehicleIncidentRoleType1 = new VehicleIncidentRoleTypeCodeType(); vehicleIncidentRoleType1.Value = "5"; VehicleIncidentRoleTypeCodeType vehicleIncidentRoleType2 = new VehicleIncidentRoleTypeCodeType(); vehicleIncidentRoleType2.Value = "6"; involvedVehicle.VehicleIncidentRoleTypeCode = new VehicleIncidentRoleTypeCodeType[] { vehicleIncidentRoleType1, vehicleIncidentRoleType2 }; incidentType.IncidentInvolvedVehicle = new VehicleType1[] { involvedVehicle }; //end of IncidentInvolvedVehicle } private void GetUnitHistory(ref IncidentType1 incidentType) { //IncidentResponse IncidentResponseType1 incidentResponse = new IncidentResponseType1(); incidentResponse.IncidentEvidenceHeldIndicator = new boolean(); incidentResponse.IncidentEvidenceHeldIndicator.Value = true; incidentResponse.IncidentObservationText = new TextType(); incidentResponse.IncidentObservationText.Value = "Arrived on the scene and observed subject and victim Bart shouting attribute one another ..."; IncidentRoleType responsePersonRole1 = new IncidentRoleType(); responsePersonRole1.IncidentRoleDescription = new TextType(); responsePersonRole1.IncidentRoleDescription.Value = "Sole law enforcement officer on scene"; responsePersonRole1.IncidentRoleIsReporterIndicator = new boolean(); responsePersonRole1.IncidentRoleIsReporterIndicator.Value = true; EnforcementOfficialType enforcementOfficial = new EnforcementOfficialType(); enforcementOfficial.id = "officer-wiggum"; enforcementOfficial.PersonName = new PersonNameType(); enforcementOfficial.PersonName.PersonFullName = new PersonNameTextType(); enforcementOfficial.PersonName.PersonFullName.Value = "Clancy Wiggum"; TextType enforcementOfficialType = new TextType(); enforcementOfficialType.Value = "Police Chief"; enforcementOfficial.EnforcementOfficialTypeText = new TextType[] { enforcementOfficialType }; IDType enforcementOfficialBadgeID = new IDType(); enforcementOfficialBadgeID.ID = new TextType(); enforcementOfficialBadgeID.ID.Value = "12345"; enforcementOfficial.EnforcementOfficialBadgeID = new IDType[] { enforcementOfficialBadgeID }; responsePersonRole1.Items = new object[] { enforcementOfficial }; incidentResponse.IncidentResponsePersonRole = new IncidentRoleType[] { responsePersonRole1 }; incidentType.IncidentResponse = incidentResponse; } private void GetNarrative(ref IncidentReportType incidentReport) { //IncidentReportNarrative incidentReport.IncidentReportNarrative = new TextType(); incidentReport.IncidentReportNarrative.Value = "Mr. Gumble was getting a six-pack out of the refrigerator case when he saw Bart Simpson" + " put the box of twinkies under his coat. Meanwhile, he saw Homer Simpson watching the door. When shouting began, Homer" + " ran out the door and sped off in the Simpson family car."; //end of IncidentReportNarrative } }