pub struct AuditEvent {Show 22 fields
pub id: Option<Id>,
pub meta: Option<Meta>,
pub implicit_rules: Option<UriDt>,
pub language: Option<CodeDt>,
pub text: Option<Narrative>,
pub contained: Option<Vec<AnyResource>>,
pub extension: Option<Vec<Extension>>,
pub modifier_extension: Option<Vec<Extension>>,
pub category: Option<Vec<CodeableConcept>>,
pub code: Option<CodeableConcept>,
pub action: Option<CodeDt>,
pub severity: Option<CodeDt>,
pub occurred: Option<DateTimeDt>,
pub recorded: Option<InstantDt>,
pub outcome: Option<AuditEventOutcomeBackboneElement>,
pub authorization: Option<Vec<CodeableConcept>>,
pub based_on: Option<Vec<Reference>>,
pub patient: Option<Reference>,
pub encounter: Option<Reference>,
pub agent: Option<Vec<AuditEventAgentBackboneElement>>,
pub source: Option<AuditEventSourceBackboneElement>,
pub entity: Option<Vec<AuditEventEntityBackboneElement>>,
}
Fields§
§id: Option<Id>
Logical id of this artifact
meta: Option<Meta>
Metadata about the resource
implicit_rules: Option<UriDt>
A set of rules under which this content was created
language: Option<CodeDt>
Language of the resource content
text: Option<Narrative>
Text summary of the resource, for human interpretation
contained: Option<Vec<AnyResource>>
Contained, inline Resources
extension: Option<Vec<Extension>>
Additional content defined by implementations
modifier_extension: Option<Vec<Extension>>
Extensions that cannot be ignored
category: Option<Vec<CodeableConcept>>
Type/identifier of event
code: Option<CodeableConcept>
Specific type of event
action: Option<CodeDt>
Type of action performed during the event
severity: Option<CodeDt>
emergency | alert | critical | error | warning | notice | informational | debug
occurred: Option<DateTimeDt>
When the activity occurred
recorded: Option<InstantDt>
Time when the event was recorded
outcome: Option<AuditEventOutcomeBackboneElement>
Whether the event succeeded or failed
Authorization related to the event
based_on: Option<Vec<Reference>>
Workflow authorization within which this event occurred
patient: Option<Reference>
The patient is the subject of the data used/created/updated/deleted during the activity
encounter: Option<Reference>
Encounter within which this event occurred or which the event is tightly associated
agent: Option<Vec<AuditEventAgentBackboneElement>>
Actor involved in the event
source: Option<AuditEventSourceBackboneElement>
Audit Event Reporter
entity: Option<Vec<AuditEventEntityBackboneElement>>
Data or objects used
Implementations§
Source§impl AuditEvent
impl AuditEvent
pub fn set_category(self, v: Vec<CodeableConcept>) -> Self
pub fn add_category(self, v: CodeableConcept) -> Self
pub fn set_code(self, v: CodeableConcept) -> Self
pub fn set_action<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_severity<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_occurred<T: Into<DateTimeDt>>(self, v: T) -> Self
pub fn set_recorded<T: Into<InstantDt>>(self, v: T) -> Self
pub fn set_outcome(self, v: AuditEventOutcomeBackboneElement) -> Self
pub fn set_based_on(self, v: Vec<Reference>) -> Self
pub fn add_based_on(self, v: Reference) -> Self
pub fn set_patient(self, v: Reference) -> Self
pub fn set_encounter(self, v: Reference) -> Self
pub fn set_agent(self, v: Vec<AuditEventAgentBackboneElement>) -> Self
pub fn add_agent(self, v: AuditEventAgentBackboneElement) -> Self
pub fn set_source(self, v: AuditEventSourceBackboneElement) -> Self
pub fn set_entity(self, v: Vec<AuditEventEntityBackboneElement>) -> Self
pub fn add_entity(self, v: AuditEventEntityBackboneElement) -> Self
Trait Implementations§
Source§impl Clone for AuditEvent
impl Clone for AuditEvent
Source§fn clone(&self) -> AuditEvent
fn clone(&self) -> AuditEvent
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more