Skip to main content

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

ParameterTypeDescription
namestringThe HL7 segment name.

Returns:

Hl7Segment[]

An array of HL7 segments with the specified name.