Interface: BuildOruInit
Input for buildOru: the MSH envelope plus the typed segment bodies.
Extends
MessageEnvelope
Properties
controlId?
readonlyoptionalcontrolId?:string
Auto-generated via generateControlId() when omitted.
Inherited from
MessageEnvelope.controlId
observations
readonlyobservations: readonlyOruObservation[]
OBX content. Required, non-empty: an ORU with no result is a typed error.
order?
readonlyoptionalorder?:OruOrder
OBR content. Optional; an (empty) OBR is emitted regardless so the result group is well-formed.
patient
readonlypatient:AdtPatient
PID content. Required: never fabricated.
processingId?
readonlyoptionalprocessingId?:string
Defaults to "P" (production).
Inherited from
MessageEnvelope.processingId
receivingApp?
readonlyoptionalreceivingApp?:string
Inherited from
MessageEnvelope.receivingApp
receivingFacility?
readonlyoptionalreceivingFacility?:string
Inherited from
MessageEnvelope.receivingFacility
sendingApp?
readonlyoptionalsendingApp?:string
Inherited from
MessageEnvelope.sendingApp
sendingFacility?
readonlyoptionalsendingFacility?:string
Inherited from
MessageEnvelope.sendingFacility
timestamp?
readonlyoptionaltimestamp?:string|Date
Date → HL7 YYYYMMDDHHmmss (UTC, seconds); a pre-formatted HL7 TS string
passes through verbatim. Defaults to new Date().
Inherited from
MessageEnvelope.timestamp
version?
readonlyoptionalversion?:string
Defaults to "2.5".
Inherited from
MessageEnvelope.version