core.hl7field
Home > @medplum/core > Hl7Field
Hl7Field class
The Hl7Field class represents one HL7 field. A field is a collection of components.
Signature:
export declare class Hl7Field
Constructors
Constructor | Modifiers | Description |
---|---|---|
Creates a new HL7 field. |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
| string[][] | ||
|
Methods
Method | Modifiers | Description |
---|---|---|
Returns an HL7 component by index. | ||
Returns an HL7 component by index. Note that the index is 1-based, not 0-based. For example, to get the first component, use This aligns with HL7 component names such as MSH.9.2. | ||
| Parses an HL7 field string into an Hl7Field object. | |
Returns the HL7 field as a string. |