Skip to main content

core.hl7field.parse

Home > @medplum/core > Hl7Field > parse

Hl7Field.parse() method

Parses an HL7 field string into an Hl7Field object.

Signature:

static parse(text: string, context?: Hl7Context): Hl7Field;

Parameters

ParameterTypeDescription
textstringThe HL7 field text.
contextHl7Context(Optional) Optional HL7 parsing context.

Returns:

Hl7Field

The parsed HL7 field.