`4F2MSH0\Ec:\tempHL7CSharp1H#7g #7g|~FR#7g^S#7g&T ~HL7Bԧݡ@n^ eq@cU&`#cPatient_#c PatientId FirstNameSurname DateOfBirthSocialSecurityNumberG68x#G68x#G68x#G68x#G68x#`#c NextofKin_#c FirstNameSurnameRelationshipToPatient PhoneNumberG68x#G68x#G68x#G68x#Y4FV6&RegisterPatientE53TE53T9'MSH52Field SeparatorcSTCb3Value String Data52Encoding Characters52Sending ApplicationcHDCb3 Namespace IDcISCb3Value String DataCb3 Universal IDCb3Universal ID TypecIDCb3Value String DataHierarchic Designator52Sending Facility52Receiving Application52Receiving Facility52Date/time Of MessagecTSCb3TimecDTMCb3ValueTrDateTime !0 DTM DateTime Date/timeCb3Degree Of Precision Time Stamp52Security52 Message TypecMSGCb3 Message CodeCb3 Trigger EventCb3Message Structure Message Type52Message Control ID52 Processing IDcPTCb3 Processing IDCb3Processing ModeProcessing Type52 Version IDcVIDCb3 Version IDCb3Internationalization CodecCECb3 IdentifierCb3TextCb3Name Of Coding SystemCb3Alternate IdentifierCb3Alternate TextCb3Name Of Alternate Coding System Coded ElementCb3International 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 IdentifierMessage HeaderE53T9'PID'52 Set ID - PidcSICb3Value Sequence ID52 Patient IDcCX Cb3 ID NumberCb3 Check DigitCb3Check Digit SchemeCb3Assigning AuthorityCb3Identifier Type CodeCb3Assigning FacilityCb3Effective DatecDTCb3Value$DateCb3Expiration Date[Cb3Assigning JurisdictioncCWE Cb3 IdentifierCb3TextCb3Name Of Coding SystemCb3Alternate IdentifierCb3Alternate TextCb3Name Of Alternate Coding SystemCb3Coding System Version IDCb3"Alternate Coding System Version IDCb3 Original TextCoded With ExceptionsCb3Assigning Agency Or Department_&Extended Composite ID With Check Digit52Patient Identifier ListS52Alternate Patient ID - PidS52 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 Namem52Date/time Of Birth 52Administrative Sex52 Patient Aliasm52Race552Patient 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 Range~Cb3Effective Date Cb3Expiration Date Extended Address52 County Code52Phone Number - HomecXTN Cb3Telephone NumberCb3Telecommunication Use CodeCb3 Telecommunication Equipment TypeCb3 Email AddressCb3 Country Code>Cb3Area/city Code>Cb3 Local Number>Cb3 Extension>Cb3Any TextCb3Extension PrefixCb3Speed Dial CodeCb3Unformatted Telephone Number!Extended Telecommunication Number52Phone Number - Business52Primary Language552Marital Status552Religion552Patient Account NumberS52Ssn Number - Patient52!Driver's License Number - PatientcDLNCb3License NumberCb3 Issuing State, Province, CountryCb3Expiration Date[Driver_s License Number52Mother's IdentifierS52 Ethnic Group552 Birth Place52Multiple Birth Indicator52 Birth Order>52 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 Citizenship_Patient IdentificationE53T9'NK1'52 Set ID - Nk1P52Namem52 Relationship552Address52 Phone Number52Business Phone Number52 Contact Role552 Start Date[52End Date[52*Next Of Kin / Associated Parties Job Title52/Next Of Kin / Associated Parties Job Code/classcJCCCb3Job CodeCb3 Job ClassCb3Job Description TextcTXCb3Value Text DataJob Code/class520Next Of Kin / Associated Parties Employee NumberS52Organization Name - Nk1cXON Cb3Organization NameCb3Organization Name Type CodeCb3 ID Number>Cb3 Check Digit>Cb3Check Digit SchemeCb3Assigning AuthorityCb3Identifier Type CodeCb3Assigning FacilityCb3Name Representation CodeCb3Organization IdentifierCExtended Composite Name And Identification Number For Organizations52Marital Status552Administrative Sex52Date/time Of Birth 52Living Dependency52Ambulatory Status52 Citizenship552Primary Language552Living Arrangement52Publicity Code552Protection Indicator52Student Indicator52Religion552Mother's Maiden Namem52 Nationality552 Ethnic Group552Contact Reason552Contact Person's Namem52!Contact Person's Telephone Number52Contact Person's Address52*Next Of Kin/associated Party's IdentifiersS52 Job Status52Race552Handicap52%Contact Person Social Security Number52Next Of Kin Birth Place52 Vip Indicator Next Of Kin / Associated PartiesMessageV6& V6& ADTx#A04x#RegisterPatientRegister a PatientY4FV6&DefaultE53TE53TMessageDefault "(.25>HPS[_mo~N$ MACHINEIDCODEMSHMSH Acme HospitalMagic Hospital2MSH0\Ec:\tempHL7 CPlusPlus2H#7g #7g|~FR#7g^S#7g&T ~HL7Bԧݡ@n^ eq@cU&cSTCb3Value String DatacHDCb3 Namespace IDcISCb3Value String DataCb3 Universal ID Cb3Universal ID TypecIDCb3Value String DataHierarchic DesignatorcTSCb3TimecDTMCb3ValueTrDateTime !0 DTM DateTime Date/timeCb3Degree Of Precision Time StampcMSGCb3 Message CodeCb3 Trigger EventCb3Message Structure Message TypecPTCb3 Processing IDCb3Processing ModeProcessing TypecVIDCb3 Version IDCb3Internationalization CodecCECb3 Identifier Cb3Text Cb3Name Of Coding SystemCb3Alternate Identifier Cb3Alternate Text Cb3Name Of Alternate Coding System Coded ElementCb3International Version ID$Version Identifier$cNMCb3ValueNumericcEICb3Entity Identifier Cb3 Namespace IDCb3 Universal ID Cb3Universal ID TypeEntity IdentifiercSICb3Value Sequence IDcCX Cb3 ID Number Cb3 Check Digit Cb3Check Digit SchemeCb3Assigning Authority Cb3Identifier Type CodeCb3Assigning Facility Cb3Effective DatecDTCb3ValueDateCb3Expiration Date=Cb3Assigning JurisdictioncCWE Cb3 Identifier Cb3Text Cb3Name Of Coding SystemCb3Alternate Identifier Cb3Alternate Text Cb3Name Of Alternate Coding SystemCb3Coding System Version ID Cb3"Alternate Coding System Version ID Cb3 Original Text Coded With ExceptionsCb3Assigning Agency Or DepartmentA&Extended Composite ID With Check Digit=AcXPNCb3 Family NamecFNCb3Surname Cb3Own Surname Prefix Cb3 Own Surname Cb3"Surname Prefix From Partner/spouse Cb3Surname From Partner/spouse  Family NameCb3 Given Name Cb32Second And Further Given Names Or Initials Thereof Cb3Suffix (e.g., Jr Or III) Cb3Prefix (e.g., Dr) Cb3Degree (e.g., Md)Cb3Name Type CodeCb3Name Representation CodeCb3 Name Context$Cb3Name Validity RangecDRCb3Range Start Date/timeCb3Range End Date/timeDate/time RangeCb3Name Assembly OrderCb3Effective DateCb3Expiration DateCb3Professional Suffix Extended Person NameN]cXADCb3Street AddresscSADCb3Street Or Mailing Address Cb3 Street Name Cb3Dwelling Number Street AddressCb3Other Designation Cb3City Cb3State Or Province Cb3Zip Or Postal Code Cb3CountryCb3 Address TypeCb3Other Geographic Designation Cb3County/parish CodeCb3 Census TractCb3Address Representation CodeCb3Address Validity Range]Cb3Effective DateCb3Expiration DateExtended AddressfcXTN Cb3Telephone Number Cb3Telecommunication Use CodeCb3 Telecommunication Equipment TypeCb3 Email Address Cb3 Country Code,Cb3Area/city Code,Cb3 Local Number,Cb3 Extension,Cb3Any Text Cb3Extension Prefix Cb3Speed Dial Code Cb3Unformatted Telephone Number !Extended Telecommunication NumbercDLNCb3License Number Cb3 Issuing State, Province, CountryCb3Expiration Date=Driver_s License NumbercJCCCb3Job CodeCb3 Job ClassCb3Job Description TextcTXCb3Value Text DataJob Code/classcXON Cb3Organization Name Cb3Organization Name Type CodeCb3 ID Number,Cb3 Check Digit,Cb3Check Digit SchemeCb3Assigning Authority Cb3Identifier Type CodeCb3Assigning Facility Cb3Name Representation CodeCb3Organization Identifier CExtended Composite Name And Identification Number For Organizations9'MSH52Field Separator 52Encoding Characters 52Sending Application 52Sending Facility 52Receiving Application 52Receiving Facility 52Date/time Of Message52Security 52 Message Type52Message Control ID 52 Processing ID52 Version ID!52Sequence Number,52Continuation Pointer 52Accept Acknowledgment Type52Application Acknowledgment Type52 Country Code52 Character Set52Principal Language Of Message$52'Alternate Character Set Handling Scheme52Message Profile Identifier.Message Header9'PID'52 Set ID - Pid352 Patient ID552Patient Identifier List552 Patient NameL52Alternate Patient ID - Pid552Mother's Maiden NameL52Race$52Administrative Sex52 Patient AliasL52Date/time Of Birth52Patient Addressd52 County Code52Phone Number - Homew52Phone Number - Businessw52Primary Language$52Marital Status$52Religion$52Patient Account Number552Ssn Number - Patient 52!Driver's License Number - Patient52Mother's Identifier552 Ethnic Group$52 Birth Place 52Multiple Birth Indicator52 Birth Order,52 Citizenship$52Veterans Military Status$52 Nationality$52Patient Death Date And Time52Patient Death Indicator52Identity Unknown Indicator52Identity Reliability Code52Last Update Date/time52Last Update Facility 52 Species Code$52 Breed Code$52Strain 52Production Class Code$52Tribal CitizenshipAPatient Identification9'NK1'52 Set ID - Nk1352NameL52 Relationship$52Addressd52 Phone Numberw52Business Phone Numberw52 Contact Role$52 Start Date=52End Date=52*Next Of Kin / Associated Parties Job Title 52/Next Of Kin / Associated Parties Job Code/class520Next Of Kin / Associated Parties Employee Number552Organization Name - Nk152Marital Status$52Administrative Sex52Date/time Of Birth52Living Dependency52Ambulatory Status52 Citizenship$52Primary Language$52Living Arrangement52Publicity Code$52Protection Indicator52Student Indicator52Religion$52Mother's Maiden NameL52 Nationality$52 Ethnic Group$52Contact Reason$52Contact Person's NameL52!Contact Person's Telephone Numberw52Contact Person's Addressd52*Next Of Kin/associated Party's Identifiers552 Job Status52Race$52Handicap52%Contact Person Social Security Number 52Next Of Kin Birth Place 52 Vip Indicator Next Of Kin / Associated PartiesG68x#G68x#G68x#G68x# G68x#G68x#G68x#G68x#G68x#E53TE53TE53TE53TMessage ADTx#MSHA04x#MSHE53TE53TMessage )value = strip_leading_chars('0', value) "value = string.capitalize(value) "value = string.capitalize(value) "value = string.capitalize(value) "value = string.capitalize(value) "value = string.capitalize(value) MapsetMapsetMapsetMapset  ADTx#MSHA04x#MSH ..ASCIIASCIISTANDARD VER 2STANDARD VER 2"value = string.capitalize(value) "value = string.capitalize(value) "value = string.capitalize(value) "value = string.capitalize(value) "value = string.capitalize(value) "value = string.capitalize(value) "value = string.capitalize(value) "value = string.capitalize(value) "value = string.capitalize(value) "value = string.capitalize(value) ''''V$qV$q