core.hl7message._constructor_
Home > @medplum/core > Hl7Message > (constructor)
Hl7Message.(constructor)
Creates a new HL7 message.
Signature:
constructor(segments: Hl7Segment[], context?: Hl7Context);
Parameters
Parameter | Type | Description |
---|---|---|
segments | Hl7Segment[] | The HL7 segments. |
context | Hl7Context | (Optional) Optional HL7 parsing context. |