pub struct Origin {
pub endpoint: Option<String>,
pub node: Option<String>,
pub system_id: Option<String>,
pub status: Option<String>,
pub rows: Option<usize>,
pub version: Option<WrittenVersion>,
pub created_ehr: Option<CreatedEhr>,
pub categories: Option<Classification>,
}Expand description
One origin of the data (Annex II 3.2(e)).
An endpoint the access asked, with how it answered, or the system stored
data came from, such as the originating system an openEHR FEEDER_AUDIT
names, or both.
Fields§
§endpoint: Option<String>The endpoint the access asked, as the registry names it, when it asked one.
node: Option<String>The node behind it.
system_id: Option<String>The openEHR system_id of the node, or of the system stored data
came from.
status: Option<String>How the endpoint answered, such as active or node-error, when an
endpoint was asked.
rows: Option<usize>The rows or objects it contributed, when counted.
version: Option<WrittenVersion>The version a write left at the endpoint, as its answer named it, or
None for an access that wrote nothing there.
created_ehr: Option<CreatedEhr>The ehr_id an EHR create left at the endpoint, as its answer named
it, or None for an access that created no EHR there.
categories: Option<Classification>The categories of what it contributed, when told apart from the other origins’.