Class: Hl7Field
The Hl7Field class represents one HL7 field. A field is a collection of components. Note that we do not strictly parse messages, and only use default delimeters.
Constructors
constructor
• new Hl7Field(components
)
Parameters
Name | Type |
---|---|
components | string [] |
Defined in
Properties
components
• Readonly
components: string
[]
Defined in
Methods
get
▸ get(index
): string
Parameters
Name | Type |
---|---|
index | number |
Returns
string
Defined in
toString
▸ toString(): string
Returns
string
Defined in
parse
▸ Static
parse(text
): Hl7Field
Parameters
Name | Type |
---|---|
text | string |