pub struct Provenance {Show 21 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 target: Option<Vec<Reference>>,
pub occurred: Option<DateTimeDt>,
pub recorded: Option<InstantDt>,
pub policy: Option<Vec<UriDt>>,
pub location: Option<Reference>,
pub authorization: Option<Vec<CodeableReference>>,
pub activity: Option<CodeableConcept>,
pub based_on: Option<Vec<Reference>>,
pub patient: Option<Reference>,
pub encounter: Option<Reference>,
pub agent: Option<Vec<ProvenanceAgentBackboneElement>>,
pub entity: Option<Vec<ProvenanceEntityBackboneElement>>,
pub signature: Option<Vec<Signature>>,
}
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
target: Option<Vec<Reference>>
Target Reference(s) (usually version specific)
occurred: Option<DateTimeDt>
When the activity occurred
recorded: Option<InstantDt>
When the activity was recorded / updated
policy: Option<Vec<UriDt>>
Policy or plan the activity was defined by
location: Option<Reference>
Where the activity occurred, if relevant
Authorization (purposeOfUse) related to the event
activity: Option<CodeableConcept>
Activity that occurred
based_on: Option<Vec<Reference>>
Workflow authorization within which this event occurred
patient: Option<Reference>
The patient is the subject of the data created/updated (.target) by the activity
encounter: Option<Reference>
Encounter within which this event occurred or which the event is tightly associated
agent: Option<Vec<ProvenanceAgentBackboneElement>>
Actor involved
entity: Option<Vec<ProvenanceEntityBackboneElement>>
An entity used in this activity
signature: Option<Vec<Signature>>
Signature on target
Implementations§
Source§impl Provenance
impl Provenance
pub fn set_target(self, v: Vec<Reference>) -> Self
pub fn add_target(self, v: Reference) -> 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_policy(self, v: Vec<UriDt>) -> Self
pub fn add_policy<T: Into<UriDt>>(self, v: T) -> Self
pub fn set_location(self, v: Reference) -> Self
pub fn set_activity(self, v: CodeableConcept) -> 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<ProvenanceAgentBackboneElement>) -> Self
pub fn add_agent(self, v: ProvenanceAgentBackboneElement) -> Self
pub fn set_entity(self, v: Vec<ProvenanceEntityBackboneElement>) -> Self
pub fn add_entity(self, v: ProvenanceEntityBackboneElement) -> Self
pub fn set_signature(self, v: Vec<Signature>) -> Self
pub fn add_signature(self, v: Signature) -> Self
Trait Implementations§
Source§impl Clone for Provenance
impl Clone for Provenance
Source§fn clone(&self) -> Provenance
fn clone(&self) -> Provenance
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more