Expand description
The FerroBRIDGE HL7 v2 face: MLLP framing, MSH-18 decoding, positional
parsing, the acknowledgment, and the v2-to-FHIR ConceptMap interpreter.
A message arrives as one MLLP frame (mllp), is decoded from the
character set its MSH-18 names (decode), split by position and grouped
by the message structure the generated hl7v2-types tables define
(parse), and answered with an original-mode acknowledgment (ack);
inbound runs those steps and settles the AR and AE answers a
message owes before it is mapped. write composes any
message, a reply or an originated one, checked against its structure.
batch splits an HL7 batch file into its messages and builds the
response batch that acknowledges them.
map runs the ConceptMaps of the HL7 v2-to-FHIR implementation guide
over the parsed message and writes an R4 message Bundle through the
fhirconnect path model.
Every segment, field or component the run does not carry, and every condition or target form it cannot evaluate, is a typed outcome on the result, counted and never dropped.
Modules§
- ack
- The original-mode application acknowledgment.
- batch
- The HL7 batch protocol: a file of batches of messages, and the response batch that acknowledges them.
- decode
- Decoding a message from the character set its MSH-18 names.
- inbound
- Receiving one message: decode, parse, group, and the answer each failure owes.
- map
- The interpreter of the HL7 v2-to-FHIR
ConceptMaps. - mllp
- The MLLP Release 1 framing, the listener that answers each frame, and the sender that writes one frame and reads its reply.
- parse
- Parsing a message by position and grouping it by its message structure.
- write
- Composing a message by the encoding rules of HL7 v2.9 chapter 2.
Constants§
- DEFINITIONS_
VERSION - The HL7 v2 version the generated definitions are derived from.