Hl7v2

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

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0

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.

An unhandled error has occurred. Reload 🗙