core.hl7segment.get
Home > @medplum/core > Hl7Segment > get
Hl7Segment.get() method
Warning: This API is now obsolete.
Use getSegment() instead. This method includes the segment name in the index, which leads to confusing behavior. This method will be removed in a future release.
Returns an HL7 field by index.
Signature:
get(index: number): Hl7Field;
Parameters
Parameter | Type | Description |
---|---|---|
index | number | The HL7 field index. |
Returns:
The HL7 field.