Skip to main content

core.hl7message.tostring

Home > @medplum/core > Hl7Message > toString

Hl7Message.toString() method

Returns the HL7 message as a string.

Unparsed segments are emitted directly from their original string form, which preserves the source text without forcing a parse.

Signature:

toString(): string;

Returns:

string

The HL7 message as a string.