`4F2MSH0\Ec:\tempHL7#7g #7g|~FR#7g^S#7g&T HL7$͕j)З$͕j)`#cPatientRegistration_#c PatientID FirstNameLastNameDOBSSN#Patient Registration Database TableG68x#G68x#G68x#G68x#G68x#`#cLabOrder_#cID OrderDateStatusLab Order InfoG68x#G68x#G68x#`#c LabResult_#cSetID ObservationIDObservationValueLab Result InfoG68x#G68x#G68x#Y4FV6&PatientRegisterE53TE53T9'MSH52Field SeparatorcSTCb3Value String Data52Encoding Characters52Sending ApplicationcHDCb3 Namespace IDcISCb3Value String DataCb3 Universal IDCb3Universal ID TypecIDCb3Value String DataHierarchic Designator52Sending Facility52Receiving Application52Receiving Facility52Date/Time of MessagecDTMCb3ValueTrDateTime !0 DTM DateTime Date/Time52Security52 Message TypecMSGCb3 Message CodeCb3 Trigger EventCb3Message Structure Message Type52Message Control ID52 Processing IDcPTCb3 Processing IDCb3Processing ModeProcessing Type52 Version IDcVIDCb3 Version IDCb3Internationalization CodecCWE Cb3 IdentifierCb3TextCb3Name of Coding SystemCb3Alternate IdentifierCb3Alternate TextCb3Name of Alternate Coding SystemCb3Coding System Version IDCb3"Alternate Coding System Version IDCb3 Original TextCoded with ExceptionsCb3International Version ID5Version Identifier52Sequence NumbercNMCb3ValueNumeric52Continuation Pointer52Accept Acknowledgment Type52Application Acknowledgment Type52 Country Code52 Character Set52Principal Language Of Message552'Alternate Character Set Handling Scheme52Message Profile IdentifiercEICb3Entity IdentifierCb3 Namespace IDCb3 Universal IDCb3Universal ID TypeEntity Identifier52 Sending Responsible OrganizationcXON Cb3Organization NameCb3Organization Name Type CodeCb3 ID NumberACb3Identifier Check DigitACb3Check Digit SchemeCb3Assigning AuthorityCb3Identifier Type CodeCb3Assigning FacilityCb3Name Representation CodeCb3Organization IdentifierCExtended Composite Name and Identification Number for Organizations52"Receiving Responsible OrganizationQ52Sending Network Address52Receiving Network AddressMessage HeaderE53T9'PID'52 Set ID - PIDcSICb3Value String Data52 Patient IDcCX Cb3 ID NumberCb3Identifier Check DigitCb3Check Digit SchemeCb3Assigning AuthorityCb3Identifier Type CodeCb3Assigning FacilityCb3Effective DatecDTCb3ValueTrDateDT DateDateCb3Expiration DatemCb3Assigning Jurisdiction5Cb3Assigning Agency or Department5&Extended Composite ID with Check Digit52Patient Identifier Liste52Alternate Patient ID - PIDe52 Patient NamecXPNCb3 Family NamecFNCb3SurnameCb3Own Surname PrefixCb3 Own SurnameCb3"Surname Prefix from Partner/SpouseCb3Surname from Partner/Spouse Family NameCb3 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 Context5Cb3Name Validity RangecDRCb3Range Start Date/Time#Cb3Range End Date/Time#Date/Time RangeCb3Name Assembly OrderCb3Effective Date#Cb3Expiration Date#Cb3Professional SuffixExtended Person Name52Mother's Maiden Namev52Date/Time of Birth#52Administrative Sex52 Patient Aliasv52Race552Patient AddresscXADCb3Street AddresscSADCb3Street or Mailing AddressCb3 Street NameCb3Dwelling NumberStreet AddressCb3Other DesignationCb3CityCb3State or ProvinceCb3Zip or Postal CodeCb3CountryCb3 Address TypeCb3Other Geographic DesignationCb3County/Parish CodeCb3 Census TractCb3Address Representation CodeCb3Address Validity RangeCb3Effective Date#Cb3Expiration Date#Cb3Expiration Reason5Cb3Temporary IndicatorCb3Bad Address IndicatorCb3 Address UsageCb3 AddresseeCb3CommentCb3Preference OrderACb3Protection Code5Cb3Address IdentifierKExtended Address52 County Code52Phone Number - HomecXTNCb3Telephone NumberCb3Telecommunication Use CodeCb3 Telecommunication Equipment TypeCb3Communication AddressCb3 Country CodeACb3Area/City CodeACb3 Local NumberACb3 ExtensionACb3Any TextCb3Extension PrefixCb3Speed Dial CodeCb3Unformatted Telephone numberCb3Effective Start Date#Cb3Expiration Date#Cb3Expiration Reason5Cb3Protection Code5Cb3#Shared Telecommunication IdentifierKCb3Preference OrderA!Extended Telecommunication Number52Phone Number - Business52Primary Language552Marital Status552Religion552Patient Account Numbere52SSN Number - Patient52!Driver's License Number - PatientcDLNCb3License NumberCb3 Issuing State, Province, CountryCb3Expiration DatemDriver's License Number52Mother's Identifiere52 Ethnic Group552 Birth Place52Multiple Birth Indicator52 Birth OrderA52 Citizenship552Veterans Military Status552 Nationality552Patient Death Date and Time#52Patient Death Indicator52Identity Unknown Indicator52Identity Reliability Code52Last Update Date/Time#52Last Update Facility52 Species Code552 Breed Code552Strain52Production Class Code552Tribal Citizenship5Patient IdentificationMessageV6&ADTx#A04x#PatientRegisterRegister a Patient MessageY4FV6& LabResultsE53TE53TE53T`E53TE53T9'OBR252 Set ID - OBRb52Placer Order NumberK52Filler Order NumberK52Universal Service Identifier552Priority52Requested Date/Time#52Observation Date/Time ##52Observation End Date/Time ##52Collection Volume *cCQCb3QuantityACb3Units5Composite Quantity with Units52Collector Identifier *cXCNCb3 ID NumberCb3 Family NamexCb3 Given NameCb32Second and Further Given Names or Initials ThereofCb3Suffix (e.g., JR or III)Cb3Prefix (e.g., DR)Cb3Degree (e.g., MD)Cb3 Source TableCb3Assigning AuthorityCb3Name Type CodeCb3Identifier Check DigitCb3Check Digit SchemeCb3Identifier Type CodeCb3Assigning FacilityCb3Name Representation CodeCb3 Name Context5Cb3Name Validity RangeCb3Name Assembly OrderCb3Effective Date#Cb3Expiration Date#Cb3Professional SuffixCb3Assigning Jurisdiction5Cb3Assigning Agency or Department51Extended Composite ID Number and Name for Persons52Specimen Action Code *52 Danger Code552Relevant Clinical Information52Specimen Received Date/Time#52Specimen SourcecSPSCb3Specimen Source Name or Code5Cb3 Additives5Cb3Specimen Collection MethodcTXCb3Value String DataCb3 Body Site5Cb3 Site Modifier5Cb3Collection Method Modifier Code5Cb3 Specimen Role5Specimen Source52Ordering Provider52Order Callback Phone Number52Placer Field 152Placer Field 252Filler Field 1 +52Filler Field 2 +52%Results Rpt/Status Chng - Date/Time +#52Charge to Practice +cMOCCb3Monetary AmountcMOCb3QuantityACb3 DenominationMoneyCb3 Charge Code5Money and Code52Diagnostic Serv Sect ID52Result Status +52Parent Result +cPRLCb3Parent Observation Identifier5Cb3!Parent Observation Sub-identifierCb3#Parent Observation Value DescriptorParent Result Link52Quantity/TimingcTQ Cb3QuantityCb3IntervalcRICb3Repeat PatternCb3Explicit Time IntervalRepeat IntervalCb3DurationCb3Start Date/Time#Cb3 End Date/Time#Cb3PriorityCb3 ConditionCb3TextCb3 ConjunctionCb3Order SequencingcOSD Cb3Sequence/Results FlagCb3&Placer Order Number: Entity IdentifierCb3!Placer Order Number: Namespace IDCb3&Filler Order Number: Entity IdentifierCb3!Filler Order Number: Namespace IDCb3Sequence Condition ValueCb3Maximum Number of RepeatsACb3!Placer Order Number: Universal IDCb3&Placer Order Number: Universal ID TypeCb3!Filler Order Number: Universal IDCb3&Filler Order Number: Universal ID TypeOrder Sequence DefinitionCb3Occurrence Duration5Cb3Total OccurrencesATiming Quantity52Result Copies To52ParentcEIPCb3Placer Assigned IdentifierKCb3Filler Assigned IdentifierKEntity Identifier Pair52Transportation Mode52Reason for Study552Principal Result Interpreter +cNDL Cb3NamecCNN Cb3 ID NumberCb3 Family NameCb3 Given NameCb32Second and Further Given Names or Initials ThereofCb3Suffix (e.g., JR or III)Cb3Prefix (e.g., DR)Cb3Degree (e.g., MDCb3 Source TableCb3$Assigning Authority - Namespace IDCb3#Assigning Authority - Universal IDCb3(Assigning Authority - Universal ID Type'Composite ID Number and Name SimplifiedCb3Start Date/time#Cb3 End Date/time#Cb3 Point of CareCb3RoomCb3BedCb3FacilityCb3Location StatusCb3Patient Location TypeCb3BuildingCb3FloorName with Date and Location52Assistant Result Interpreter +Y52 Technician +Y52Transcriptionist +Y52Scheduled Date/Time +#52Number of Sample Containers *A52)Transport Logistics of Collected Sample *552Collector's Comment *552$Transport Arrangement Responsibility552Transport Arranged52Escort Required52!Planned Patient Transport Comment552Procedure CodecCNE Cb3 IdentifierCb3TextCb3Name of Coding SystemCb3Alternate IdentifierCb3Alternate TextCb3Name of Alternate Coding SystemCb3Coding System Version IDCb3"Alternate Coding System Version IDCb3 Original TextCoded with No Exceptions52Procedure Code Modifier}52'Placer Supplemental Service Information552'Filler Supplemental Service Information552.Medically Necessary Duplicate Procedure Reason552Result Handling52#Parent Universal Service Identifier5Observation RequestE53T9'OBX52 Set ID - OBXb52 Value Type52Observation Identifier552Observation Sub-ID52Observation ValuecCDCb3Channel IdentifiercWVICb3Channel NumberACb3 Channel NameChannel IdentifierCb3Waveform SourcecWVSCb3Source One NameCb3Source Two NameWaveform SourceCb3Channel Sensitivity and UnitscCSUCb3Channel SensitivityACb3Unit of Measure IdentifierCb3Unit of Measure DescriptionCb3Unit of Measure Coding SystemCb3$Alternate Unit of Measure IdentifierCb3%Alternate Unit of Measure DescriptionCb3'Alternate Unit of Measure Coding SystemChannel Sensitivity and UnitsCb3Channel Calibration ParameterscCCPCb31Channel Calibration Sensitivity Correction FactorACb3Channel Calibration BaselineACb3Channel Calibration Time SkewAChannel Calibration ParametersCb3Channel Sampling FrequencyACb3Minimum and Maximum Data ValuescNRCb3 Low ValueACb3 High ValueA Numeric RangeChannel Definition52Units552References Range52Abnormal Flags52 ProbabilityA52Nature of Abnormal Test52Observation Result Status52!Effective Date of Reference Range#52User Defined Access Checks52Date/Time of the Observation#52 Producer's ID552Responsible Observer52Observation Method552Equipment Instance IdentifierK52Date/Time of the Analysis#52Observation Site552Observation Instance IdentifierK52 Mood Code}52Performing Organization NameQ52Performing Organization Address52(Performing Organization Medical DirectorObservation/Result ResultGroupMessageV6&V6& ResultGroupV6&V6& ORUx#R01x# LabResultsLab Results Message*(QA5K#.2bmvxe058CS}')Y[`%o MACHINEIDCODEMSHMSHMSHMSH4import time value = time.strftime("%Y%m%d%H%M%S") value = '2.6' defaultMapsetMapsetMapsetADTx#MSHA04x#MSHORUx#MSHR01x#MSHASCIIASCII.(<77P ,   WE< :c ASCIITABLE - Short Tags'2