Skip to main content

core.hl7message.getall

Home > @medplum/core > Hl7Message > getAll

Hl7Message.getAll() method

Warning: This API is now obsolete.

Use getAllSegments() instead. This method will be removed in a future release.

Returns all HL7 segments of a given name.

Signature:

getAll(name: string): Hl7Segment[];

Parameters

Parameter

Type

Description

name

string

The HL7 segment name.

Returns:

Hl7Segment[]

An array of HL7 segments with the specified name.