Skip to main content

Crate openehr_sdt

Crate openehr_sdt 

Source
Expand description

openEHR Simplified Data Template formats and the engines written over

the ITS wire layer of openehr_its. Everything here is hand-written: the specifications it implements are prose sub-specifications of ITS-REST with no machine-readable model to generate from.

  • flat — ITS-REST Formats: openEHR Simplified Formats (FLAT / STRUCTURED data instances, the Web Template model). The Formats specification is a STABLE ITS-REST 1.1.0 sub-specification (docs/specs/openehr/ITS-REST/docs/simplified_formats/) over the Simplified Data Template (simplified_data_template/).
  • rm_instance — the template-independent validation of a whole RM instance tree: the RM-invariant and terminology passes, the rm_instance::ValidationMessage report shape, and the composed rm_instance::validate_composition entry point. It composes the template pass of flat::validation over the RM pass, and flat::validation reads its report shape back, so the two are one layer.

§Features

flat is the content layer: it pulls openehr_its with its opt14 feature (canonical JSON, canonical XML and the OPT 1.4 reader) and the five generated spec crates. cache adds the moka WebTemplate cache. The default full is both. A wasm32-unknown-unknown consumer takes default-features = false, features = ["flat"].

The SMART on openEHR scope grammar is ferrohealth_smart::openehr::smart_scopes, in the family’s authorization crate.

Modules§

flat
openEHR Simplified Formats: FLAT and STRUCTURED data instances and the Web Template model.
rm_instance
RM-instance validation — the template-independent passes over a canonical-JSON RM tree, plus the report shape every validation surface of this crate speaks.

Constants§

SPEC_VERSION
The openEHR specification version this crate implements.