Expand description
The HL7 v2 message structures, segment fields, data types and message definitions, generated from the HL7 v2 definitions.
structure holds every message structure of the definitions as a
segment-group tree, segment every segment definition with its
field table, the batch envelopes included, data_type every primitive and
complex data type with its component table, and message every message
definition with the structure its trigger event selects. legacy holds
the message structures of each earlier version’s tables, those the
definitions no longer carry among them, and message indexes them by
code, event and version. The shapes are in model. Every file is @generated
by fhir-codegen; change the emitter and regenerate, never the output.
The definitions are HL7/v2ig at commit 9c307dadb0bb3f99de399d30cd80c24b47bb08da, path input/sourceOfTruth:
305 message structures, 190 segments with 2912 fields, 83 data types (12 primitive,
71 complex with 448 components) and 696 message definitions.
The legacy tables are the NIST IGAMT export of HL7’s v2 database,
usnistgov/igamt-hl7Tools-service at commit 83322dffdac18cb129a1bd80149f5439cf5686fd, path src/main/resources/hl7db:
1713 message structures of 254 structure codes over 11 versions (218 of 57 codes the
definitions no longer carry), with 1532 trees of their own, 0 linked to the identical
v2.9.1 tree and 181 to an earlier version’s. The trees name 720 segments of their own
(12954 fields), 446 references linked to the agreeing v2.9.1 segment and 327 to an earlier
version’s identical one, 1713 legacy message entries index them, and 2796 more give
the other message codes and trigger events their interactions send them under.
Modules§
- data_
type - Every primitive and complex data type of the HL7 v2 definitions, one module each.
- legacy
- The message structures of the tables of each earlier HL7 v2 version, one module per version, those the v2.9.1 definitions no longer carry among them.
- message
- Every message definition of the HL7 v2 definitions, one module each, and the legacy message structures by code, event and version.
- model
- The shapes of the generated HL7 v2 tables.
- segment
- Every segment definition, one module each.
- structure
- Every message structure of the HL7 v2 definitions, one module each.