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

Parameter

Type

Description

text

string

The HL7 field text.

context

Hl7Context

(Optional) Optional HL7 parsing context.

Returns:

Hl7Field

The parsed HL7 field.