`4F„2‡„MSH0\Ec:\tempHL7#7ƒg ÿÿÿÿÿÿÿÿ#7ƒg|~FR#7ƒg^Sÿÿÿÿ#7ƒg&Tÿÿÿÿ ~HL7é±/K©|A@ع–F[é±/K©|A@ع–F[Y4F„V6&‡ACKÿÿÿÿE53TE53T9'MSH52’Field Separatorc”STCb3Value String Data52’Encoding Characters52’Sending Applicationc”HDCb3 Namespace IDÿÿÿÿc”ISCb3Value String DataCb3 Universal IDÿÿÿÿCb3Universal ID Typeÿÿÿÿc”IDCb3Value String DataHierarchic Designator52’Sending Facility 52’Receiving Application 52’Receiving Facility 52’Date/time Of Messagec”TSCb3Timeÿÿÿÿc”DTMCb3Valueÿÿÿÿ‰TrDateTime !0 DTM DateTime Date/timeCb3Degree Of Precisionÿÿÿÿ Time Stamp52’Security52’ Message Typec”MSGCb3 Message CodeÿÿÿÿCb3 Trigger EventÿÿÿÿCb3Message Structureÿÿÿÿ Message Type52’Message Control ID52’ Processing IDc”PTCb3 Processing IDÿÿÿÿCb3Processing ModeÿÿÿÿProcessing Type52’ Version IDc”VIDCb3 Version IDÿÿÿÿCb3Internationalization Codeÿÿÿÿc”CECb3 IdentifierÿÿÿÿCb3TextÿÿÿÿCb3Name Of Coding SystemÿÿÿÿCb3Alternate IdentifierÿÿÿÿCb3Alternate TextÿÿÿÿCb3Name Of Alternate Coding Systemÿÿÿÿ Coded ElementCb3International Version IDÿÿÿÿ*Version Identifier52’Sequence Numberc”NMCb3ValueNumeric52’Continuation Pointer52’Accept Acknowledgment Type52’Application Acknowledgment Type52’ Country Code52’ Character Setÿÿÿÿ52’Principal Language Of Message*52’'Alternate Character Set Handling Scheme52’Message Profile Identifierÿÿÿÿc”EICb3Entity IdentifierÿÿÿÿCb3 Namespace IDÿÿÿÿ Cb3 Universal IDÿÿÿÿCb3Universal ID TypeÿÿÿÿEntity IdentifierMessage HeaderE53T9'SFT52’Software Vendor Organizationc”XON Cb3Organization NameÿÿÿÿCb3Organization Name Type Codeÿÿÿÿ Cb3 ID Numberÿÿÿÿ3Cb3 Check Digitÿÿÿÿ3Cb3Check Digit SchemeÿÿÿÿCb3Assigning Authorityÿÿÿÿ Cb3Identifier Type CodeÿÿÿÿCb3Assigning Facilityÿÿÿÿ Cb3Name Representation CodeÿÿÿÿCb3Organization IdentifierÿÿÿÿCExtended Composite Name And Identification Number For Organizations52’,Software Certified Version Or Release Number52’Software Product Name52’Software Binary ID52’Software Product Informationc”TXCb3Value Text Data52’Software Install DateSoftware SegmentE53T9'MSA52’Acknowledgment Code52’Message Control ID52’ Text Message52’Expected Sequence Number352’Delayed Acknowledgment Type52’Error Condition*Message AcknowledgmentE53T9'ERR 52’Error Code And Locationÿÿÿÿc”ELDCb3 Segment IDÿÿÿÿCb3Segment Sequenceÿÿÿÿ3Cb3Field Positionÿÿÿÿ3Cb3Code Identifying Errorÿÿÿÿ*Error Location And Description52’Error Locationÿÿÿÿc”ERLCb3 Segment IDÿÿÿÿCb3Segment Sequenceÿÿÿÿ3Cb3Field Positionÿÿÿÿ3Cb3Field Repetitionÿÿÿÿ3Cb3Component Numberÿÿÿÿ3Cb3Sub-component Numberÿÿÿÿ3Error Location52’Hl7 Error Codec”CWE Cb3 IdentifierÿÿÿÿCb3TextÿÿÿÿCb3Name Of Coding SystemÿÿÿÿCb3Alternate IdentifierÿÿÿÿCb3Alternate TextÿÿÿÿCb3Name Of Alternate Coding SystemÿÿÿÿCb3Coding System Version IDÿÿÿÿCb3"Alternate Coding System Version IDÿÿÿÿCb3 Original TextÿÿÿÿCoded With Exceptions52’Severity52’Application Error Codep52’Application Error Parameterÿÿÿÿ52’Diagnostic InformationT52’ User MessageT52’Inform Person Indicatorÿÿÿÿ 52’ Override Typep52’Override Reason Codeÿÿÿÿp52’Help Desk Contact Pointÿÿÿÿc”XTN Cb3Telephone NumberÿÿÿÿCb3Telecommunication Use CodeÿÿÿÿCb3 Telecommunication Equipment TypeÿÿÿÿCb3 Email AddressÿÿÿÿCb3 Country Codeÿÿÿÿ3Cb3Area/city Codeÿÿÿÿ3Cb3 Local Numberÿÿÿÿ3Cb3 Extensionÿÿÿÿ3Cb3Any TextÿÿÿÿCb3Extension PrefixÿÿÿÿCb3Speed Dial CodeÿÿÿÿCb3Unformatted Telephone Numberÿÿÿÿ!Extended Telecommunication NumberErrorMessageACK™x#ACKAcknowledgementY4F„V6&‡DefaultÿÿÿÿE53TE53TMessage‘DefaultY4F„V6&‡ADTÿÿÿÿE53TE53TMessage”ADT™x#A04™x#ADTY4F„V6&‡ORUÿÿÿÿE53TE53TMessage—ORU™x#R01™x#ORU2  #'*3=ETbhpƒc”XCNCb3 ID NumberCb3 Family NameÂc”FNCb3Surname2Cb3Own Surname PrefixCb3 Own Surname2Cb3"Surname Prefix from Partner/SpouseCb3Surname from Partner/Spouse2 Family NameCb3 Given NameCb32Second and Further Given Names or Initials ThereofCb3Suffix (e.g., JR or III)Cb3Prefix (e.g., DR)Cb3Degree (e.g., MD) Cb3 Source Table Cb3Assigning Authorityã Cb3Name Type CodeCb3Identifier Check DigitCb3Check Digit SchemeCb3Identifier Type CodeCb3Assigning Facilityã Cb3Name Representation CodeCb3 Name ContextÁpCb3Name Validity Range1c”DRCb3Range Start Date/TimeCb3Range End Date/TimeDate/Time RangeCb3Name Assembly OrderCb3Effective DateCb3Expiration DateCb3Professional SuffixÇCb3Assigning JurisdictionÁpCb3Assigning Agency or DepartmentÁp1Extended Composite ID Number and Name for Persons±œc”XADCb3Street Address¸c”SADCb3Street or Mailing AddressxCb3 Street Name2Cb3Dwelling Number Street AddressCb3Other DesignationxCb3City2Cb3State or Province2Cb3Zip or Postal Code Cb3CountryCb3 Address TypeCb3Other Geographic Designation2Cb3County/Parish Code Cb3 Census Tract Cb3Address Representation CodeCb3Address Validity Range1±Cb3Effective DateCb3Expiration DateCb3Expiration ReasonÁpCb3Temporary IndicatorCb3Bad Address IndicatorCb3 Address Usage,Cb3 AddresseeÇCb3CommentÇCb3Preference Order3Cb3Protection CodeÁpCb3Address Identifier«=Extended Address¼c”SICb3Valueÿÿÿÿ Sequence IDc”DLNCb3License NumberCb3 Issuing State, Province, Country Cb3Expiration Datec”DTCb3Valueÿÿÿÿ‰TrDateDT DateDateDriver's License NumberÜc”XPNCb3 Family NameÂœCb3 Given NameCb32Second and Further Given Names or Initials ThereofCb3Suffix (e.g., JR or III)Cb3Prefix (e.g., DR)Cb3Degree (e.g., MD) Cb3Name Type CodeCb3Name Representation CodeCb3 Name ContextÁpCb3Name Validity Range1±Cb3Name Assembly OrderCb3Effective DateCb3Expiration DateCb3Professional SuffixÇExtended Person Namec”CX Cb3 ID NumberCb3Identifier Check DigitCb3Check Digit SchemeCb3Assigning Authorityã Cb3Identifier Type CodeCb3Assigning Facilityã Cb3Effective DateÜCb3Expiration DateÜCb3Assigning JurisdictionÁpCb3Assigning Agency or DepartmentÁp&Extended Composite ID with Check Digitc”DLDCb3Discharge to LocationÁpCb3Effective DateDischarge to Location and Datec”PL Cb3 Point of Care Cb3Room Cb3Bed Cb3Facilityã Cb3Location Status Cb3Person Location Type Cb3Building Cb3Floor Cb3Location DescriptionÇCb3!Comprehensive Location Identifier«=Cb3 Assigning Authority for Locationã Person Locationc”FCCb3Financial Class Code Cb3Effective DateFinancial Classc”JCCCb3Job Code Cb3 Job Class Cb3Job Description TextúTJob Code/Classc”PRLCb3Parent Observation IdentifierÁpCb3!Parent Observation Sub-identifierCb3#Parent Observation Value DescriptorúTParent Result Linkc”TQ Cb3Quantity c”CQCb3Quantity3Cb3UnitsÁpComposite Quantity with UnitsCb3IntervalÎc”RICb3Repeat Pattern Cb3Explicit Time IntervalÇRepeat IntervalCb3DurationCb3Start Date/TimeCb3 End Date/TimeCb3PriorityCb3 ConditionÇCb3TextÈTCb3 ConjunctionCb3Order Sequencingnc”OSD Cb3Sequence/Results FlagCb3&Placer Order Number: Entity IdentifierCb3!Placer Order Number: Namespace ID Cb3&Filler Order Number: Entity IdentifierCb3!Filler Order Number: Namespace ID Cb3Sequence Condition Value Cb3Maximum Number of Repeats3Cb3!Placer Order Number: Universal IDCb3&Placer Order Number: Universal ID TypeCb3!Filler Order Number: Universal IDCb3&Filler Order Number: Universal ID TypeOrder Sequence DefinitionCb3Occurrence DurationÁpCb3Total Occurrences3Timing Quantity$c”EIPCb3Placer Assigned Identifier«=Cb3Filler Assigned Identifier«=Entity Identifier Pairc”CNE Cb3 IdentifierCb3TextÇCb3Name of Coding SystemCb3Alternate IdentifierCb3Alternate TextÇCb3Name of Alternate Coding SystemCb3Coding System Version ID Cb3"Alternate Coding System Version ID Cb3 Original TextÇCoded with No Exceptionsc”MOCCb3Monetary Amountc”MOCb3Quantity3Cb3 DenominationMoneyCb3 Charge CodeÁpMoney and CodeAc”SPSCb3Specimen Source Name or CodeÁpCb3 AdditivesÁpCb3Specimen Collection MethodÈTCb3 Body SiteÁpCb3 Site ModifierÁpCb3Collection Method Modifier CodeÁpCb3 Specimen RoleÁpSpecimen Sourcec”NDL Cb3Name–c”CNN Cb3 ID NumberCb3 Family Name2Cb3 Given NameCb32Second and Further Given Names or Initials ThereofCb3Suffix (e.g., JR or III)Cb3Prefix (e.g., DR)Cb3Degree (e.g., MD Cb3 Source Table Cb3$Assigning Authority - Namespace ID Cb3#Assigning Authority - Universal IDÇCb3(Assigning Authority - Universal ID Type'Composite ID Number and Name SimplifiedCb3Start Date/timeCb3 End Date/timeCb3 Point of Care Cb3Room Cb3Bed Cb3Facilityã Cb3Location Status Cb3Patient Location Type Cb3Building Cb3Floor Name with Date and LocationOc”CDCb3Channel Identifierc”WVICb3Channel Number3Cb3 Channel NameChannel IdentifierCb3Waveform Sourcec”WVSCb3Source One NameCb3Source Two NameWaveform SourceCb3Channel Sensitivity and UnitsÞc”CSUCb3Channel Sensitivity<3Cb3Unit of Measure IdentifierCb3Unit of Measure DescriptionÇCb3Unit of Measure Coding SystemCb3$Alternate Unit of Measure IdentifierCb3%Alternate Unit of Measure DescriptionÇCb3'Alternate Unit of Measure Coding SystemChannel Sensitivity and UnitsCb3Channel Calibration Parametersc”CCPCb31Channel Calibration Sensitivity Correction Factor3Cb3Channel Calibration Baseline3Cb3Channel Calibration Time Skew3Channel Calibration ParametersCb3Channel Sampling Frequency3Cb3Minimum and Maximum Data Values!c”NRCb3 Low Value3Cb3 High Value3 Numeric RangeChannel Definitionxgo~k CX`9'EVN52’Event Type Code52’Recorded Date/Time52’Date/Time Planned Event52’Event Reason Code 52’ Operator IDÿÿÿÿ™52’Event Occurred52’Event Facility Event Type9'PID'52’ Set ID - PIDÖ52’ Patient IDî52’Patient Identifier Listÿÿÿÿî52’Alternate Patient ID - PIDÿÿÿÿî52’ Patient Nameÿÿÿÿß52’Mother's Maiden Nameÿÿÿÿß52’Date/Time of Birth52’Administrative Sex 52’ Patient Aliasÿÿÿÿß52’Raceÿÿÿÿp52’Patient Addressÿÿÿÿº52’ County Code 52’Phone Number - Homeÿÿÿÿƒ52’Phone Number - Businessÿÿÿÿƒ52’Primary Languagep52’Marital Statusp52’Religionp52’Patient Account Numberî52’SSN Number - Patient52’!Driver's License Number - PatientØ52’Mother's Identifierÿÿÿÿî52’ Ethnic Groupÿÿÿÿp52’ Birth Place52’Multiple Birth Indicator52’ Birth Order352’ Citizenshipÿÿÿÿp52’Veterans Military Statusp52’ Nationalityp52’Patient Death Date and Time52’Patient Death Indicator52’Identity Unknown Indicator52’Identity Reliability Codeÿÿÿÿ 52’Last Update Date/Time52’Last Update Facility 52’ Species Codep52’ Breed Codep52’Strain52’Production Class Codep52’Tribal CitizenshipÿÿÿÿpPatient Identification9'PV1452’ Set ID - PV1Ö52’ Patient Class 52’Assigned Patient Locationü52’Admission Type 52’Preadmit Numberî52’Prior Patient Locationü52’Attending Doctorÿÿÿÿ™52’Referring Doctorÿÿÿÿ™52’Consulting Doctorÿÿÿÿ™52’Hospital Service 52’Temporary Locationü52’Preadmit Test Indicator 52’Re-admission Indicator 52’ Admit Source 52’Ambulatory Statusÿÿÿÿ 52’ VIP Indicator 52’Admitting Doctorÿÿÿÿ™52’ Patient Type 52’ Visit Numberî52’Financial Classÿÿÿÿ52’Charge Price Indicator 52’ Courtesy Code 52’ Credit Rating 52’ Contract Codeÿÿÿÿ 52’Contract Effective DateÿÿÿÿÜ52’Contract Amountÿÿÿÿ352’Contract Periodÿÿÿÿ352’ Interest Code 52’Transfer to Bad Debt Code 52’Transfer to Bad Debt DateÜ52’Bad Debt Agency Code 52’Bad Debt Transfer Amount352’Bad Debt Recovery Amount352’Delete Account Indicator 52’Delete Account DateÜ52’Discharge Disposition 52’Discharged to Locationù52’ Diet Typep52’Servicing Facility 52’ Bed Status 52’Account Status 52’Pending Locationü52’Prior Temporary Locationü52’Admit Date/Time52’Discharge Date/Time52’Current Patient Balance352’ Total Charges352’Total Adjustments352’Total Payments352’Alternate Visit IDî52’Visit Indicator 52’Other Healthcare Providerÿÿÿÿ™ Patient Visit9'NK1'52’ Set ID - NK1Ö52’Nameÿÿÿÿß52’ Relationshipp52’Addressÿÿÿÿº52’ Phone Numberÿÿÿÿƒ52’Business Phone Numberÿÿÿÿƒ52’ Contact Rolep52’ Start DateÜ52’End DateÜ52’*Next of Kin / Associated Parties Job Title52’/Next of Kin / Associated Parties Job Code/Class 52’0Next of Kin / Associated Parties Employee Numberî52’Organization Name - NK1ÿÿÿÿE52’Marital Statusp52’Administrative Sex 52’Date/Time of Birth52’Living Dependencyÿÿÿÿ 52’Ambulatory Statusÿÿÿÿ 52’ Citizenshipÿÿÿÿp52’Primary Languagep52’Living Arrangement 52’Publicity Codep52’Protection Indicator52’Student Indicator 52’Religionp52’Mother's Maiden Nameÿÿÿÿß52’ Nationalityp52’ Ethnic Groupÿÿÿÿp52’Contact Reasonÿÿÿÿp52’Contact Person's Nameÿÿÿÿß52’!Contact Person's Telephone Numberÿÿÿÿƒ52’Contact Person's Addressÿÿÿÿº52’*Next of Kin/Associated Party's Identifiersÿÿÿÿî52’ Job Status 52’Raceÿÿÿÿp52’Handicap 52’%Contact Person Social Security Number52’Next of Kin Birth Place52’ VIP Indicator Next of Kin / Associated Parties9'OBR252’ Set ID - OBRÖ52’Placer Order Number=52’Filler Order Number=52’Universal Service Identifierp52’Priority52’Requested Date/Time52’Observation Date/Time #52’Observation End Date/Time #52’Collection Volume *52’Collector Identifier *ÿÿÿÿ™52’Specimen Action Code *52’ Danger Codep52’Relevant Clinical Information52’Specimen Received Date/Time52’Specimen SourceE52’Ordering Providerÿÿÿÿ™52’Order Callback Phone Numberÿÿÿÿƒ52’Placer Field 152’Placer Field 252’Filler Field 1 +52’Filler Field 2 +52’%Results Rpt/Status Chng - Date/Time +52’Charge to Practice +?52’Diagnostic Serv Sect ID52’Result Status +52’Parent Result +52’Quantity/Timingÿÿÿÿ52’Result Copies Toÿÿÿÿ™52’Parent252’Transportation Mode52’Reason for Studyÿÿÿÿp52’Principal Result Interpreter +M52’Assistant Result Interpreter +ÿÿÿÿM52’ Technician +ÿÿÿÿM52’Transcriptionist +ÿÿÿÿM52’Scheduled Date/Time +52’Number of Sample Containers *352’)Transport Logistics of Collected Sample *ÿÿÿÿp52’Collector's Comment *ÿÿÿÿp52’$Transport Arrangement Responsibilityp52’Transport Arranged52’Escort Required52’!Planned Patient Transport Commentÿÿÿÿp52’Procedure Code552’Procedure Code Modifierÿÿÿÿ552’'Placer Supplemental Service Informationÿÿÿÿp52’'Filler Supplemental Service Informationÿÿÿÿp52’.Medically Necessary Duplicate Procedure Reasonp52’Result Handling 52’#Parent Universal Service IdentifierpObservation Request9'OBX52’ Set ID - OBXÖ52’ Value Type52’Observation Identifierp52’Observation Sub-ID52’Observation Valuee52’Unitsp52’References Range52’Abnormal Flagsÿÿÿÿ 52’ Probability352’Nature of Abnormal Testÿÿÿÿ52’Observation Result Status52’!Effective Date of Reference Range52’User Defined Access Checks52’Date/Time of the Observation52’ Producer's IDp52’Responsible Observerÿÿÿÿ™52’Observation Methodÿÿÿÿp52’Equipment Instance Identifierÿÿÿÿ=52’Date/Time of the Analysis52’Observation Siteÿÿÿÿp52’Observation Instance Identifier=52’ Mood Code552’Performing Organization NameE52’Performing Organization Addressº52’(Performing Organization Medical Director™Observation/Result9'ORC52’ Order Control52’Placer Order Number=52’Filler Order Number=52’Placer Group Number=52’ Order Status52’ Response Flag52’Quantity/Timingÿÿÿÿ52’Parent252’Date/Time of Transaction52’ Entered Byÿÿÿÿ™52’ Verified Byÿÿÿÿ™52’Ordering Providerÿÿÿÿ™52’Enterer's Locationü52’Call Back Phone Numberÿÿÿÿƒ52’Order Effective Date/Time52’Order Control Code Reasonp52’Entering Organizationp52’Entering Devicep52’ Action Byÿÿÿÿ™52’ Advanced Beneficiary Notice Codep52’Ordering Facility NameÿÿÿÿE52’Ordering Facility Addressÿÿÿÿº52’Ordering Facility Phone Numberÿÿÿÿƒ52’Ordering Provider Addressÿÿÿÿº52’Order Status Modifierp52’+Advanced Beneficiary Notice Override Reasonp52’(Filler's Expected Availability Date/Time52’Confidentiality Codep52’ Order Typep52’Enterer Authorization Mode552’#Parent Universal Service Identifierp Common OrderÞ MACHINEIDCODEMSHMSHMSHMSHMSHÓfrom ifware.iguana import * if environment.input_identity() == "ADT": enqueue_message(entireMessage, "acktest1") elif environment.input_identity() == "ORU": enqueue_message(entireMessage, "acktest2") defaultstrbledÿÿÿÿACK™x#MSHÿÿÿÿ‘‘ÿÿÿÿ”ADT™x#MSHA04™x#MSH”ÿÿÿÿ—ORU™x#MSHR01™x#MSH—ASCIIASCIIentireMessage = value .úñúúúÁúúúÁÁÁúúÁúÁÁñÁÁPÁÁPúPúúPúú2  /ÁPP úúÁúúúÁ<úúÁÁÁÁÁúÁÁúúúúÁú««ÁÒ” Á,” · ÇÇÇÇø Ñ” WÁÁÁÁÁÁÁÁÁÁÁÁEÁ<Á” Á«Á«Á:c ” ««È” ú” Púúúúúúúúúúú<úúúúASCIISTANDARD VER 2 '4'2V$q