Frends.Hl7v2.CreateFromXml / 1.2.0
Summary
Assembles an HL7 v2 message from XML, with optional overrides for the message header where routing and control identifiers live.
Typical use — the outbound half of HL7 exchange, after mapping has produced the message content
Essential parameters.
| Name | Type | Default | Example | Description |
|---|---|---|---|---|
| Xml | String |
– |
<QRY_R02 xmlns="urn:hl7-org:v2xml">
<MSH>
</MSH>
</QRY_R02>
|
The input string containing a message in Xml format. |
| MshOverrides | MshOverride[] |
– |
[ { "Field": "MSH3_SendingApplication", "Value": "NewSender" }, { "Field": "MSH5_ReceivingApplication", "Value": "NewReceiver" } ]
|
Optional MSH field overrides applied to the output HL7v2 message. Only specified fields are overwritten - unspecified fields retain their original values from the input XML. |