pub struct AccessRecord {Show 16 fields
pub action: Action,
pub recorded: Timestamp,
pub outcome: Outcome,
pub outcome_description: Option<String>,
pub accessor: Accessor,
pub subject: DataSubject,
pub categories: Classification,
pub delivered: Option<usize>,
pub origins: Vec<Origin>,
pub origin_count: Option<usize>,
pub request: Request,
pub retention: Retention,
pub labels: Labels,
pub emergency: Option<Emergency>,
pub inserted: Option<Insertion>,
pub transformations: Vec<Transformation>,
}Expand description
One access event (Annex II 3.2).
Fields§
§action: ActionWhat the access did.
recorded: TimestampWhen it ended (3.2(d)).
outcome: OutcomeHow it ended.
outcome_description: Option<String>Free text on how it ended, when the recording system gives one.
accessor: AccessorWho accessed the data (3.2(a), (b)), with their purposes of use.
subject: DataSubjectWhose data.
categories: ClassificationThe categories of the data accessed (3.2(c)).
delivered: Option<usize>The rows or objects delivered to the accessor, when counted.
origins: Vec<Origin>The origins of the data (3.2(e)), in the order the access asked them.
origin_count: Option<usize>How many distinct origins the access reached, when origins names
fewer, such as when the recording system bounds one record’s origins.
request: RequestWhat the access asked for.
retention: RetentionHow long the record is kept (Art 9(2), Annex II 3.4).
labels: LabelsThe security labels the record carries for its categories and its origins, so the store that holds it can limit who reads it (Annex II 3.4).
emergency: Option<Emergency>The mark of an access the accessor declared, through its purpose of use, as made to protect the vital interests of the data subject (Art 11(5)), when it did.
inserted: Option<Insertion>Who inserted the information the access wrote under the data subject’s own grant, which the written data marks as inserted by them (Art 5), when it did.
transformations: Vec<Transformation>Each semantic transformation the access applied between openEHR and the exchange format (eHealth Network General Guidelines Release 3.1 Art 6(3)), in the order it applied them.