Optional
msh_Message Control ID
This ID is unique to the message being sent so the client can track to see if they get a response back from the server that this particular message was successful. Max 20 characters.
Random 20 Character String randomString if this is set to nothing or not included.
Processing ID
Optional
msh_Processing Mode
Message Code
Trigger Event
HL7 2.3 MSH Specification
Remarks
Only the required ones are listed below for typescript validation to pass.
Since
1.0.0
Example
To make it easier on having to fill this out each time, you may do this in your code:
MSH.7 (Date Time) and MSH.12 (HL7 Spec) are filled in automatically at the time of creation. and when you create your Message class:
so this way your code is much neater.