The MSH segment defines the intent, source, destination, and some specifics of the syntax of a message.
28
C.LenElementv2.8.2FHIR
11-STR1-00001MSH-1Field Separator-
24..5-STR1-00002MSH-2Encoding Characters-
3--HDO1036100003MSH-3Sending Application4 mappings
4--HDO1036200004MSH-4Sending Facility5 mappings
5--HDO1036100005MSH-5Receiving Application3 mappings
6--HDO*036200006MSH-6Receiving FacilityRepetitiondestination[1].receiver(Organization)
7--DTMR1-00007MSH-7Date/Time of Message3 mappings
8-40=STO1-00008MSH-8Securitymeta.security
9--MSGR1-00009MSH-9Message Type3 mappings
101..199-STR1-00010MSH-10Message Control ID2 mappings
11--PTR1-00011MSH-11Processing IDmeta
12--VIDR1-00012MSH-12Version ID-
13--NMO1-00013MSH-13Sequence Number-
14-180=STO1-00014MSH-14Continuation Pointer-
152-IDC1015500015MSH-15Accept Acknowledgment2-
162-IDC1015500016MSH-16Application Acknowledgment TypeOptionality-
173-IDO1039900017MSH-17Country Codesender(Organization.address.country)
185..15-IDO*021100692MSH-18Character Set-
19--CWEO1060900693MSH-19Principal Language Of MessageTablelanguage
203..13-IDO1035601317MSH-20Alternate Character Set Handling Scheme-
21--EIO*-01598MSH-21Message Profile Identifier-
22--XONO1-01823MSH-22Sending Responsible Organization5 mappings
23--XONO1-01824MSH-23Receiving Responsible Organizationdestination[1].receiver(Organization)
24--HDO1-01825MSH-24Sending Network Address3 mappings
25--HDO1-01826MSH-25Receiving Network Address3 mappings
26--CWEC1095202429MSH-26Security Classification TagNEWmeta.security[2]
27--CWEO*095302430MSH-27Security Handling InstructionsNEWmeta.security[2]
28--STO*-02431MSH-28Special Access Restriction InstructionsNEW-
215