core.hl7segment.get | Medplum
Hl7Segment.get() method
Warning: This API is now obsolete.
Use getField() 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 [](/content/docs/sdk/core.hl7segment.get#parameters "Direct link to Parameters"/index.html)
| Parameter | Type | Description |
|---|---|---|
| index | number | The HL7 field index. |
Returns: