Skip to main content

openehr_mapping_core/
lib.rs

1// SPDX-FileCopyrightText: Cadasto B.V.
2// SPDX-License-Identifier: BUSL-1.1
3
4//! The shared foundation of the FerroBRIDGE mapping languages.
5//!
6//! FHIRconnect and OMOCL are two languages over one header. The FHIRconnect
7//! header page states that the header "is standardized for both FHIRconnect
8//! and OMOCL"
9//! (`docs/specs/fhirconnect/modules/ROOT/pages/basics/main.adoc`, §Header), so
10//! this crate models the header once, loads either language's YAML into a
11//! positioned value tree, indexes the loaded set by mapping name and by
12//! archetype id, and carries one diagnostic type for every refusal. It also
13//! carries the openEHR path model the two languages share, including the
14//! `../` parent step they add to the openEHR path grammar.
15//!
16//! Nothing here interprets a mapping. The FHIRconnect and OMOCL crates read
17//! the positioned tree this crate returns and apply their own grammar to it.
18//!
19//! openEHR is a registered trademark of the openEHR Foundation.
20#![doc(test(attr(deny(warnings))))]
21
22pub mod composition;
23pub mod diagnostic;
24pub mod header;
25pub mod index;
26pub mod loader;
27pub mod party;
28pub mod path;
29pub mod position;
30pub mod registry;
31mod release;
32pub mod schema;
33pub mod template;
34pub mod value;