1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Deterministic HL7 v2 message generator.
//!
//! This module provides functionality for generating synthetic HL7 v2
//! messages based on templates and profiles.
//!
//! # Template-Based Generation
//!
//! Template-based message generation functionality is available through
//! the [`crate::synthetic::template`] module and re-exported here for convenience.
//! See the [`crate::synthetic::template`] documentation for details on template
//! structure and value sources.
//!
//! # ACK Generation
//!
//! ACK (acknowledgment) generation functionality is available through
//! [`mod@crate::ack`] and re-exported here for convenience.
//!
//! # Faker Data Generation
//!
//! Realistic test data generation (names, addresses, medical codes, etc.)
//! is available through [`crate::synthetic::faker`] and re-exported here
//! for convenience.
//!
//! # Example
//!
//! ```
//! use hl7v2::synthetic::generate::{Template, generate, ack, AckCode, Faker, FakerValue};
//! ```
// Re-export template functionality for compatibility with the former hl7v2-gen facade.
pub use crate;
// Re-export ACK functionality for compatibility with the former hl7v2-gen facade.
pub use crate;
// Re-export faker functionality for compatibility with the former hl7v2-gen facade.
pub use crate;
// Re-export core types that are commonly used with this crate
pub use crate;