fhir_r10/lib.rs
1//! Reserved for a future FHIR Release 10 data model.
2//!
3//! **There is no FHIR R10 specification.** R6 is the newest release HL7 has
4//! published in any form, and it is still in ballot. R10 is four numbers
5//! past anything that exists; HL7 has not announced it, and nothing here
6//! should be read as implying otherwise.
7//!
8//! This crate holds the name so the model can be published here if such a
9//! release exists, and so the crate family stays contiguous: one crate per
10//! release, all siblings of
11//! [`fhir-core`](https://crates.io/crates/fhir-core). A gap in the sequence
12//! is an invitation for an unrelated crate to occupy a name in the scheme,
13//! which has already happened once to `fhir-r4`.
14//!
15//! It is also where the two-digit boundary lands. `fhir-r9` and
16//! `fhir-r10` sort adjacently by number but not as strings, so tools
17//! that order the family lexically will place `-10` before `-2`. Nothing
18//! here depends on that ordering, but anyone scripting over the family
19//! should sort numerically.
20//!
21//! It deliberately contains no types. A placeholder `Patient` would be a
22//! guess about a specification nobody has written, and a wrong guess is
23//! worse than an absent one for anything that touches clinical data.
24//!
25//! For a real FHIR model today, use [`fhir`](https://crates.io/crates/fhir),
26//! which covers DSTU2, STU3, R4 and R5, with R6 as a ballot draft.
27
28// Nothing is exported, and that is the point. `#![no_std]` keeps the crate
29// honest: it cannot accidentally acquire a dependency or an API before there
30// is a specification to model.
31// A data model has no business dereferencing raw pointers (spec R13.14).
32#![forbid(unsafe_code)]
33#![no_std]