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:
The parsed HL7 field.