core.hl7field.parse | Medplum

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.