`4F2MSH0\Ec:\tempHL7x#7g #7g|~FR#7g^S#7g&T ~HL72]LHuغ +jN•x`#c PatientTable_#c PatientID FirstNameLastNameDOBSSN DischargedPatient DemographicsG68x#G68x#G68x#G68x#G68x#G68x#`#c PatientMerge_#c PatientID1 PatientID2 PatientID3PatientPriorID1PatientPriorID2PatientPriorID3Patient Merge InformationG68x#G68x#G68x#G68x#G68x#G68x#`#cPatientObservation_#cIDTimeOrderingProviderPIDPatient Observation G68x#G68x#G68x#G68x#Y4FV6& PatientUpdateE53TE53T9'MSH52Field SeparatorcSTCb3ValueString52Encoding Characters52Sending ApplicationcHDCb3 Namespace IDcISCb3Value#Coded Value For User-defined TablesCb3 Universal IDCb3Universal ID TypecIDCb3ValueCoded Values For Hl7 TablesHierarchic Designator52Sending Facility52Receiving Application52Receiving Facility52Date/Time Of MessagecTSCb3Time Of An EventTr Time Stamp !0(YYYY[MM[DD[HH[MM[SS[.SSSS]]]]]][+/-ZZZZ]Cb3Degree Of Precision Time Stamp52Security52 Message TypecMSGCb3 Message Type"Cb3 Trigger Event"Cb3Message Structure" Message Type52Message Control ID52 Processing IDcPTCb3 Processing ID"Cb3Processing Mode"Processing Type52 Version IDcVIDCb3 Version ID"Cb3Internationalization CodecCECb3Identifier (ST)Cb3TextCb3Name Of Coding SystemCb3Alternate Identifier (ST)Cb3Alternate TextCb3Name Of Alternate Coding System Coded ElementCb3International Version ID;Version Identifier52Sequence NumbercNMCb3ValueNumeric52Continuation Pointer52Accept Acknowledgment Type"52Application Acknowledgment Type"52 Country Code"52 Character Set"52Principal Language Of Message;52'Alternate Character Set Handling Scheme"52Conformance Statement ID"Message HeaderE53T9'PID&52 Set ID - PIDcSICb3Value Sequence ID52 Patient IDcCXCb3ID"Cb3 Check DigitDCb30Code Identifying The Check Digit Scheme Employed"Cb3Assigning AuthorityCb3Identifier Type Code (ID)"Cb3Assigning FacilityCb3Effective Date (DT)cDTCb3ValueTrDate (YYYY[MM[DD]]DateCb3Expiration Date\&Extended Composite ID With Check Digit52Patient Identifier ListT52Alternate Patient ID - PIDT52 Patient NamecXPN Cb3 Family NamecFNCb3SurnameCb3Own Surname PrefixCb3 Own SurnameCb3"Surname Prefix From Partner/spouseCb3Surname From Partner/spouse Familiy 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 Code"Cb3Name Representation Code"Cb3 Name Context;Cb3Name Validity RangecDRCb3Range Start Date/time(Cb3Range End Date/time(Date/time RangeCb3Name Assembly Order"Extended Person Name52Mother's Maiden Namec52Date/Time Of Birth(52Administrative Sex52 Patient Aliasc52Race;52Patient AddresscXAD Cb3Street Address (SAD)cSADCb3Street Or Mailing AddressCb3 Street NameCb3Dwelling NumberStreet AddressCb3Other DesignationCb3CityCb3State Or ProvinceCb3Zip Or Postal CodeCb3Country"Cb3 Address Type"Cb3Other Geographic DesignationCb3County/parish CodeCb3 Census TractCb3Address Representation Code"Cb3Address Validity RangetExtended Address52 County Code52Phone Number - HomecXTN Cb3%[(999)] 999-9999 [x99999][c Any Text]cTNCb3ValueTelephone NumberCb3Telecommunication Use Code"Cb3%Telecommunication Equipment Type (ID)"Cb3 Email AddressCb3 Country CodeDCb3Area/city CodeDCb3 Phone NumberDCb3 ExtensionDCb3Any Text!Extended Telecommunication Number52Phone Number - Business52Primary Language;52Marital Status;52Religion;52Patient Account NumberT52SSN Number - Patient52!Driver's License Number - PatientcDLNCb3Driver´s License NumberCb3 Issuing State, Province, CountryCb3Expiration Date\Driver's License Number52Mother's IdentifierT52 Ethnic Group;52 Birth Place52Multiple Birth Indicator"52 Birth OrderD52 Citizenship;52Veterans Military Status;52 Nationality;52Patient Death Date and Time(52Patient Death Indicator"52Identity Unknown Indicator"52Identity Reliability Code52Last Update Date/Time(52Last Update Facility52 Species Code;52 Breed Code;52Strain52Production Class Code;Patient identificationMessageV6&ADTx#A04x# PatientUpdatePatient Update MessageY4FV6&IgnoreE53TE53TE53TOMessageV6&ADTx#A03x#IgnoreUnexpected MessagesY4FV6& OtherADTsE53TE53TE53TOE53T9'MRG52Prior Patient Identifier ListT52Prior Alternate Patient IDT52Prior Patient Account NumberT52Prior Patient IDT52Prior Visit NumberT52Prior Alternate Visit IDT52Prior Patient NamecMerge patient informationMessageV6&ADTx# OtherADTsOther ADT Messages+D"4;.8(Q\cte~TcEIPCb3Parent´s Placer Order NumbercEICb3Entity IdentifierCb3 Namespace IDCb3 Universal IDCb3Universal ID Type"Entity IdentifierCb3Parent´s Filler Order Number Parent OrdercXCNCb3ID Number (ST)Cb3 Family NameeCb3 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 Code"Cb3Identifier Check DigitCb30Code Identifying The Check Digit Scheme Employed"Cb3Identifier Type Code (IS)Cb3Assigning FacilityCb3Name Representation Code"Cb3 Name Context;Cb3Name Validity RangetCb3Name Assembly Order"1Extended Composite ID Number And Name For PersonscTQ Cb3QuantitycCQCb3QuantityDCb3Units;Composite Quantity With UnitsCb3IntervalcRICb3Repeat PatternCb3Explicit Time IntervalRepeat IntervalCb3DurationCb3Start Date/time(Cb3 End Date/time(Cb3PriorityCb3 ConditionCb3 Text (TX)cTXCb3Value Text DataCb3Conjunction Component"Cb3Order SequencingcOSD Cb3Sequence/results Flag"Cb3&Placer Order Number: Entity IdentifierCb3!Placer Order Number: Namespace IDCb3&Filler Order Number: Entity IdentifierCb3!Filler Order Number: Namespace IDCb3Sequence Condition ValueCb3Maximum Number Of RepeatsDCb3!Placer Order Number: Universal IDCb3&Placer Order Number; Universal ID Type"Cb3!Filler Order Number: Universal IDCb3&Filler Order Number: Universal ID Type"Order SequenceCb3Occurrence Duration;Cb3Total OccurencesDTiming QuantitycSPSCb3Specimen Source Name Or Code;Cb3 AdditivesCb3FreetextCb3 Body Site;Cb3 Site Modifier;Cb3Collection Modifier Method Code;Cb3 Specimen Role;Specimen SourcecNDL Cb3NamecCN Cb3ID Number (ST)Cb3 Family NameeCb3 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 AuthorityComposite ID Number And NameCb3Start Date/time(Cb3 End Date/time(Cb3Point Of Care (IS)Cb3RoomCb3BedCb3 Facility (HD)Cb3Location StatusCb3Person Location TypeCb3BuildingCb3FloorObserving PractitionercPRLCb3-Obx-3 Observation Identifier Of Parent Result;Cb3Obx-4 Sub-id Of Parent ResultCb3,Part Of Obx-5 Observation Result From ParentParent Result LinkcMOCCb3 Dollar AmountcMOCb3QuantityDCb3 Denomination"MoneyCb3 Charge Code;Charge To Practise.cJCCCb3Job CodeCb3 Job ClassCb3Job Description TextJob Code/classcCPCb3Price.Cb3 Price Type"Cb3 From ValueDCb3To ValueDCb3 Range Units;Cb3 Range Type"Composite PricecFCCb3Financial Class CodeCb3Effective Date(Financial ClasscDTMCb3ValueTrDateTime !0 DTM DateTime Date/timecXON Cb3Organization NameCb3Organization Name Type CodeCb3 ID NumberDCb3 Check DigitDCb3Check Digit Scheme"Cb3Assigning AuthorityCb3Identifier Type Code"Cb3Assigning FacilityCb3Name Representation Code"Cb3Organization IdentifierCExtended Composite Name And Identification Number For OrganizationscAUICb3Authorization NumberCb3Date\Cb3SourceAuthorization InformationcPL Cb3 Point Of CareCb3RoomCb3BedCb3FacilityCb3Location StatusCb3Person Location TypeCb3BuildingCb3FloorCb3Location DescriptionCb3!Comprehensive Location IdentifierCb3 Assigning Authority For LocationPerson LocationcDLDCb3Discharge LocationCb3Effective Date(Discharge Location And DateO9'OBR/52 Set ID - OBRQ52Placer Order Number52Filler Order Number52Universal Service Identifier;52Priority"52Requested Date/Time(52Observation Date/Time #(52Observation End Date/Time #(52Collection Volume *52Collector Identifier *52Specimen Action Code *"52 Danger Code;52Relevant Clinical Info.52Specimen Received Date/Time *(52Specimen Source 52Ordering Provider52Order Callback Phone Number52Placer Field 152Placer Field 252Filler Field 1 +52Filler Field 2 +52%Results Rpt/Status Chng - Date/Time +(52Charge to Practice +,52Diagnostic Serv Sect ID"52Result Status +"52Parent Result +(52Quantity/Timing52Result Copies To52Parent52Transportation Mode"52Reason for Study;52Principal Result Interpreter +52Assistant Result Interpreter +52 Technician +52Transcriptionist +52Scheduled Date/Time +(52Number of Sample Containers *D52)Transport Logistics of Collected Sample *;52Collector's Comment *;52$Transport Arrangement Responsibility;52Transport Arranged"52Escort Required"52!Planned Patient Transport Comment;52Procedure Code;52Procedure Code Modifier;52'Placer Supplemental Service Information;52'Filler Supplemental Service Information;Observation Request9'GT1952 Set ID - Gt1Q52Guarantor NumberT52Guarantor Namec52Guarantor Spouse Namec52Guarantor Address~52Guarantor Ph Num - Home52Guarantor Ph Num - Business52Guarantor Date/time Of Birth(52Guarantor Administrative Sex52Guarantor Type52Guarantor Relationship;52 Guarantor Ssn52Guarantor Date - Begin\52Guarantor Date - End\52Guarantor PriorityD52Guarantor Employer Namec52Guarantor Employer Address~52Guarantor Employer Phone Number52Guarantor Employee ID NumberT52Guarantor Employment Status52Guarantor Organization NameC52Guarantor Billing Hold Flag"52Guarantor Credit Rating Code;52Guarantor Death Date And Time(52Guarantor Death Flag"52 Guarantor Charge Adjustment Code;52!Guarantor Household Annual Income652Guarantor Household SizeD52Guarantor Employer ID NumberT52Guarantor Marital Status Code;52Guarantor Hire Effective Date\52Employment Stop Date\52Living Dependency52Ambulatory Status52 Citizenship;52Primary Language;52Living Arrangement52Publicity Code;52Protection Indicator"52Student Indicator52Religion;52Mother's Maiden Namec52 Nationality;52 Ethnic Group;52Contact Person's Namec52!Contact Person's Telephone Number52Contact Reason;52Contact Relationship52 Job Title52Job Code/class252&Guarantor Employer's Organization NameC52Handicap52 Job Status52Guarantor Financial Class=52Guarantor Race;52Guarantor Birth Place52 Vip Indicator Guarantor9'IN1552 Set ID - In1Q52Insurance Plan ID;52Insurance Company IDT52Insurance Company NameC52Insurance Company Address~52Insurance Co Contact Personc52Insurance Co Phone Number52 Group Number52 Group NameC52Insured's Group Emp IDT52Insured's Group Emp NameC52Plan Effective Date\52Plan Expiration Date\52Authorization InformationN52 Plan Type52Name Of Insuredc52!Insured's Relationship To Patient;52Insured's Date Of Birth(52Insured's Address~52Assignment Of Benefits52Coordination Of Benefits52Coord Of Ben. Priority52Notice Of Admission Flag"52Notice Of Admission Date\52Report Of Eligibility Flag"52Report Of Eligibility Date\52Release Information Code52Pre-admit Cert (pac)52Verification Date/time(52Verification By52Type Of Agreement Code52Billing Status52Lifetime Reserve DaysD52Delay Before L.r. DayD52Company Plan Code52 Policy Number52Policy Deductible652Policy Limit - Amount652Policy Limit - DaysD52Room Rate - Semi-private652Room Rate - Private652Insured's Employment Status;52Insured's Administrative Sex52Insured's Employer's Address~52Verification Status52Prior Insurance Plan ID52 Coverage Type52Handicap52Insured's ID NumberT52Signature Code52Signature Code Date\52Insured_s Birth Place52 Vip Indicator Insurance9'NK1'52 Set ID - Nk1Q52Namec52 Relationship;52Address~52 Phone Number52Business Phone Number52 Contact Role;52 Start Date\52End Date\52*Next Of Kin / Associated Parties Job Title52/Next Of Kin / Associated Parties Job Code/class2520Next Of Kin / Associated Parties Employee NumberT52Organization Name - Nk1C52Marital Status;52Administrative Sex52Date/time Of Birth(52Living Dependency52Ambulatory Status52 Citizenship;52Primary Language;52Living Arrangement52Publicity Code;52Protection Indicator"52Student Indicator52Religion;52Mother's Maiden Namec52 Nationality;52 Ethnic Group;52Contact Reason;52Contact Person's Namec52!Contact Person's Telephone Number52Contact Person's Address~52*Next Of Kin/associated Party's IdentifiersT52 Job Status52Race;52Handicap52%Contact Person Social Security Number52Next Of Kin Birth Place52 Vip Indicator Next Of Kin / Associated Parties9'PV1452 Set ID - Pv1Q52 Patient Class52Assigned Patient LocationR52Admission Type52Preadmit NumberT52Prior Patient LocationR52Attending Doctor52Referring Doctor52Consulting Doctor52Hospital Service52Temporary LocationR52Preadmit Test Indicator52Re-admission Indicator52 Admit Source52Ambulatory Status52 Vip Indicator52Admitting Doctor52 Patient Type52 Visit NumberT52Financial Class=52Charge Price Indicator52 Courtesy Code52 Credit Rating52 Contract Code52Contract Effective Date\52Contract AmountD52Contract PeriodD52 Interest Code52Transfer To Bad Debt Code52Transfer To Bad Debt Date\52Bad Debt Agency Code52Bad Debt Transfer AmountD52Bad Debt Recovery AmountD52Delete Account Indicator52Delete Account Date\52Discharge Disposition52Discharged To Location^52 Diet Type;52Servicing Facility52 Bed Status52Account Status52Pending LocationR52Prior Temporary LocationR52Admit Date/time(52Discharge Date/time(52Current Patient BalanceD52 Total ChargesD52Total AdjustmentsD52Total PaymentsD52Alternate Visit IDT52Visit Indicator52Other Healthcare Provider Patient Visit*^B MACHINEIDCODEMSHMSHMSHMSHMSH'MessageType = field.subfield(1).value PatientID = value; default*if MessageType == 'A03': value = 'D' value = PatientID MapsetMapsetMapsetADTx#MSHA04x#MSHADTx#MSHA03x#MSHADTx#MSH.ASCIISTANDARD VER 2*if MessageType == 'A03': value = 'D' value = PatientID &/95'4