pub struct Provenance(pub Box<ProvenanceInner>);
Expand description
Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g. Document Completion - has the artifact been legally authenticated), all of which may impact security, privacy, and trust policies.
Provenance v5.0.0
Who, What, When for a set of resources
Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g. Document Completion - has the artifact been legally authenticated), all of which may impact security, privacy, and trust policies.
Some parties may be duplicated between the target resource and its provenance. For instance, the prescriber is usually (but not always) the author of the prescription resource. This resource is defined with close consideration for W3C Provenance.
Tuple Fields§
§0: Box<ProvenanceInner>
Implementations§
Source§impl Provenance
impl Provenance
Sourcepub fn builder() -> ProvenanceBuilder
pub fn builder() -> ProvenanceBuilder
Start building an instance.
Source§impl Provenance
impl Provenance
Sourcepub const fn resource_type() -> ResourceType
pub const fn resource_type() -> ResourceType
Get the resource type for this FHIR resource.
Trait Implementations§
Source§impl BaseResource for Provenance
impl BaseResource for Provenance
Source§fn implicit_rules(&self) -> &Option<String>
fn implicit_rules(&self) -> &Option<String>
implicit_rules
.Source§fn implicit_rules_mut(&mut self) -> &mut Option<String>
fn implicit_rules_mut(&mut self) -> &mut Option<String>
implicit_rules
mutably.Source§fn set_implicit_rules(&mut self, value: Option<String>)
fn set_implicit_rules(&mut self, value: Option<String>)
implicit_rules
.Source§fn language_mut(&mut self) -> &mut Option<String>
fn language_mut(&mut self) -> &mut Option<String>
language
mutably.Source§fn set_language(&mut self, value: Option<String>)
fn set_language(&mut self, value: Option<String>)
language
.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 moreSource§impl Debug for Provenance
impl Debug for Provenance
Source§impl Deref for Provenance
impl Deref for Provenance
Source§type Target = ProvenanceInner
type Target = ProvenanceInner
Source§impl DerefMut for Provenance
impl DerefMut for Provenance
Source§impl<'de> Deserialize<'de> for Provenance
impl<'de> Deserialize<'de> for Provenance
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Provenance, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Provenance, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl DomainResource for Provenance
impl DomainResource for Provenance
Source§fn implicit_rules(&self) -> &Option<String>
fn implicit_rules(&self) -> &Option<String>
implicit_rules
.Source§fn implicit_rules_mut(&mut self) -> &mut Option<String>
fn implicit_rules_mut(&mut self) -> &mut Option<String>
implicit_rules
mutably.Source§fn set_implicit_rules(&mut self, value: Option<String>)
fn set_implicit_rules(&mut self, value: Option<String>)
implicit_rules
.Source§fn language_mut(&mut self) -> &mut Option<String>
fn language_mut(&mut self) -> &mut Option<String>
language
mutably.Source§fn set_language(&mut self, value: Option<String>)
fn set_language(&mut self, value: Option<String>)
language
.Source§fn contained_mut(&mut self) -> &mut Vec<Resource>
fn contained_mut(&mut self) -> &mut Vec<Resource>
contained
mutably.Source§fn set_contained(&mut self, value: Vec<Resource>)
fn set_contained(&mut self, value: Vec<Resource>)
contained
.Source§fn extension_mut(&mut self) -> &mut Vec<Extension>
fn extension_mut(&mut self) -> &mut Vec<Extension>
extension
mutably.Source§fn set_extension(&mut self, value: Vec<Extension>)
fn set_extension(&mut self, value: Vec<Extension>)
extension
.Source§fn modifier_extension(&self) -> &Vec<Extension>
fn modifier_extension(&self) -> &Vec<Extension>
modifier_extension
.Source§fn modifier_extension_mut(&mut self) -> &mut Vec<Extension>
fn modifier_extension_mut(&mut self) -> &mut Vec<Extension>
modifier_extension
mutably.Source§fn set_modifier_extension(&mut self, value: Vec<Extension>)
fn set_modifier_extension(&mut self, value: Vec<Extension>)
modifier_extension
.Source§impl From<Provenance> for Resource
impl From<Provenance> for Resource
Source§fn from(resource: Provenance) -> Resource
fn from(resource: Provenance) -> Resource
Source§impl From<ProvenanceInner> for Provenance
impl From<ProvenanceInner> for Provenance
Source§fn from(inner: ProvenanceInner) -> Provenance
fn from(inner: ProvenanceInner) -> Provenance
Source§impl NamedResource for Provenance
impl NamedResource for Provenance
Source§const FHIR_VERSION: &'static str = "5.0.0"
const FHIR_VERSION: &'static str = "5.0.0"
Source§const TYPE: ResourceType = ResourceType::Provenance
const TYPE: ResourceType = ResourceType::Provenance
Source§impl PartialEq for Provenance
impl PartialEq for Provenance
Source§impl Serialize for Provenance
impl Serialize for Provenance
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Source§impl<'a> TryFrom<&'a Resource> for &'a Provenance
impl<'a> TryFrom<&'a Resource> for &'a Provenance
Source§type Error = WrongResourceType
type Error = WrongResourceType
Source§fn try_from(
resource: &'a Resource,
) -> Result<&'a Provenance, <&'a Provenance as TryFrom<&'a Resource>>::Error>
fn try_from( resource: &'a Resource, ) -> Result<&'a Provenance, <&'a Provenance as TryFrom<&'a Resource>>::Error>
Source§impl<'a> TryFrom<&'a mut Resource> for &'a mut Provenance
impl<'a> TryFrom<&'a mut Resource> for &'a mut Provenance
Source§type Error = WrongResourceType
type Error = WrongResourceType
Source§fn try_from(
resource: &'a mut Resource,
) -> Result<&'a mut Provenance, <&'a mut Provenance as TryFrom<&'a mut Resource>>::Error>
fn try_from( resource: &'a mut Resource, ) -> Result<&'a mut Provenance, <&'a mut Provenance as TryFrom<&'a mut Resource>>::Error>
Source§impl TryFrom<Resource> for Provenance
impl TryFrom<Resource> for Provenance
Source§type Error = WrongResourceType
type Error = WrongResourceType
Source§fn try_from(
resource: Resource,
) -> Result<Provenance, <Provenance as TryFrom<Resource>>::Error>
fn try_from( resource: Resource, ) -> Result<Provenance, <Provenance as TryFrom<Resource>>::Error>
impl StructuralPartialEq for Provenance
Auto Trait Implementations§
impl Freeze for Provenance
impl RefUnwindSafe for Provenance
impl Send for Provenance
impl Sync for Provenance
impl Unpin for Provenance
impl UnwindSafe for Provenance
Blanket Implementations§
Source§impl<R> AnyResource<FhirR5> for R
impl<R> AnyResource<FhirR5> for R
Source§const TYPE: ResourceType = const TYPE: r5::resources::ResourceType = R::TYPE;
const TYPE: ResourceType = const TYPE: r5::resources::ResourceType = R::TYPE;
Source§const TYPE_STR: &'static str = const TYPE_STR: &'static str = R::TYPE.as_str();
const TYPE_STR: &'static str = const TYPE_STR: &'static str = R::TYPE.as_str();
&str
. Must be valid for use in URLs.