hl7v2_types/lib.rs
1// @generated by fhir-codegen from HL7/v2ig 9c307dadb0bb3f99de399d30cd80c24b47bb08da input/sourceOfTruth and usnistgov/igamt-hl7Tools-service 83322dffdac18cb129a1bd80149f5439cf5686fd src/main/resources/hl7db. DO NOT EDIT.
2// Change the emitter (tools/fhir-codegen) and regenerate.
3// SPDX-FileCopyrightText: Cadasto B.V.
4// SPDX-License-Identifier: Apache-2.0
5//! The HL7 v2 message structures, segment fields, data types and message definitions, generated from the HL7 v2 definitions.
6//!
7//! `structure` holds every message structure of the definitions as a
8//! segment-group tree, `segment` every segment definition with its
9//! field table, the batch envelopes included, `data_type` every primitive and
10//! complex data type with its component table, and `message` every message
11//! definition with the structure its trigger event selects. `legacy` holds
12//! the message structures of each earlier version's tables, those the
13//! definitions no longer carry among them, and `message` indexes them by
14//! code, event and version. The shapes are in `model`. Every file is `@generated`
15//! by `fhir-codegen`; change the emitter and regenerate, never the output.
16//!
17//! The definitions are `HL7/v2ig` at commit `9c307dadb0bb3f99de399d30cd80c24b47bb08da`, path `input/sourceOfTruth`:
18//! 305 message structures, 190 segments with 2912 fields, 83 data types (12 primitive,
19//! 71 complex with 448 components) and 696 message definitions.
20//!
21//! The legacy tables are the NIST IGAMT export of HL7's v2 database,
22//! `usnistgov/igamt-hl7Tools-service` at commit `83322dffdac18cb129a1bd80149f5439cf5686fd`, path `src/main/resources/hl7db`:
23//! 1713 message structures of 254 structure codes over 11 versions (218 of 57 codes the
24//! definitions no longer carry), with 1532 trees of their own, 0 linked to the identical
25//! v2.9.1 tree and 181 to an earlier version's. The trees name 720 segments of their own
26//! (12954 fields), 446 references linked to the agreeing v2.9.1 segment and 327 to an earlier
27//! version's identical one, 1713 legacy message entries index them, and 2796 more give
28//! the other message codes and trigger events their interactions send them under.
29
30pub mod data_type;
31pub mod legacy;
32pub mod message;
33pub mod model;
34pub mod segment;
35pub mod structure;