Function: unknownSegment()
unknownSegment(
position,segmentName):Hl7ParseWarning
Build an UNKNOWN_SEGMENT warning. Emitted when a segment identifier is
not in the HL7 spec's standard set and not registered in the active
profile's customSegments.
Parameters
position
segmentName
string
Returns
Example
import { unknownSegment } from "@cosyte/hl7";
const w = unknownSegment({ segmentIndex: 7 }, "ZZZ");