core.hl7message.getallsegments
Home > @medplum/core > Hl7Message > getAllSegments
Hl7Message.getAllSegments() method
Returns all HL7 segments of a given name.
Signature:
getAllSegments(name: string): Hl7Segment[];
Parameters
Parameter | Type | Description |
---|---|---|
name | string | The HL7 segment name. |
Returns:
An array of HL7 segments with the specified name.