| get(component, subcomponent, repetition) |
|
Returns an HL7 component by index. |
| getComponent(component, subcomponent, repetition) |
|
Returns an HL7 component by index. Note that the index is 1-based, not 0-based. For example, to get the first component, use getComponent(1). This aligns with HL7 component names such as MSH.9.2. |
| parse(text, context) |
static |
Parses an HL7 field string into an Hl7Field object. |
| setComponent(component, value, subcomponent, repetition) |
|
Sets a component value at the specified indices. Note that the indices are 1-based, not 0-based. |
| toString() |
|
Returns the HL7 field as a string. |