pub struct PlanDefinition(pub Box<PlanDefinitionInner>);
Expand description
This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical and non-clinical artifacts such as clinical decision support rules, order sets, protocols, and drug quality specifications.
PlanDefinition v5.0.0
The definition of a plan for a series of actions, independent of any specific patient or context
This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical and non-clinical artifacts such as clinical decision support rules, order sets, protocols, and drug quality specifications.
Tuple Fields§
§0: Box<PlanDefinitionInner>
Implementations§
Source§impl PlanDefinition
impl PlanDefinition
Sourcepub fn builder() -> PlanDefinitionBuilder
pub fn builder() -> PlanDefinitionBuilder
Start building an instance.
Source§impl PlanDefinition
impl PlanDefinition
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 PlanDefinition
impl BaseResource for PlanDefinition
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 PlanDefinition
impl Clone for PlanDefinition
Source§fn clone(&self) -> PlanDefinition
fn clone(&self) -> PlanDefinition
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for PlanDefinition
impl Debug for PlanDefinition
Source§impl Deref for PlanDefinition
impl Deref for PlanDefinition
Source§type Target = PlanDefinitionInner
type Target = PlanDefinitionInner
Source§impl DerefMut for PlanDefinition
impl DerefMut for PlanDefinition
Source§impl<'de> Deserialize<'de> for PlanDefinition
impl<'de> Deserialize<'de> for PlanDefinition
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlanDefinition, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlanDefinition, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl DomainResource for PlanDefinition
impl DomainResource for PlanDefinition
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<PlanDefinition> for Resource
impl From<PlanDefinition> for Resource
Source§fn from(resource: PlanDefinition) -> Resource
fn from(resource: PlanDefinition) -> Resource
Source§impl From<PlanDefinitionInner> for PlanDefinition
impl From<PlanDefinitionInner> for PlanDefinition
Source§fn from(inner: PlanDefinitionInner) -> PlanDefinition
fn from(inner: PlanDefinitionInner) -> PlanDefinition
Source§impl IdentifiableResource for PlanDefinition
impl IdentifiableResource for PlanDefinition
Source§fn identifier(&self) -> &Vec<Option<Identifier>>
fn identifier(&self) -> &Vec<Option<Identifier>>
Source§fn identifier_mut(&mut self) -> &mut Vec<Option<Identifier>>
fn identifier_mut(&mut self) -> &mut Vec<Option<Identifier>>
Source§fn set_identifier(&mut self, value: Vec<Option<Identifier>>)
fn set_identifier(&mut self, value: Vec<Option<Identifier>>)
Source§fn identifier_ext(&self) -> &Vec<Option<FieldExtension>>
fn identifier_ext(&self) -> &Vec<Option<FieldExtension>>
Source§fn identifier_ext_mut(&mut self) -> &mut Vec<Option<FieldExtension>>
fn identifier_ext_mut(&mut self) -> &mut Vec<Option<FieldExtension>>
Source§fn set_identifier_ext(&mut self, value: Vec<Option<FieldExtension>>)
fn set_identifier_ext(&mut self, value: Vec<Option<FieldExtension>>)
Source§fn place_identifier(&mut self, identifier: Identifier) -> bool
fn place_identifier(&mut self, identifier: Identifier) -> bool
Source§fn identifier_with_system(&self, system: &str) -> Option<&String>
fn identifier_with_system(&self, system: &str) -> Option<&String>
Source§fn identifiers_with_system(&self, system: &str) -> Vec<&Identifier>
fn identifiers_with_system(&self, system: &str) -> Vec<&Identifier>
Source§fn identifier_with_type(
&self,
type_system: &str,
type_code: &str,
) -> Option<&String>
fn identifier_with_type( &self, type_system: &str, type_code: &str, ) -> Option<&String>
Source§fn identifiers_with_type(
&self,
type_system: &str,
type_code: &str,
) -> Vec<&Identifier>
fn identifiers_with_type( &self, type_system: &str, type_code: &str, ) -> Vec<&Identifier>
Source§impl NamedResource for PlanDefinition
impl NamedResource for PlanDefinition
Source§const FHIR_VERSION: &'static str = "5.0.0"
const FHIR_VERSION: &'static str = "5.0.0"
Source§const TYPE: ResourceType = ResourceType::PlanDefinition
const TYPE: ResourceType = ResourceType::PlanDefinition
Source§impl PartialEq for PlanDefinition
impl PartialEq for PlanDefinition
Source§impl Serialize for PlanDefinition
impl Serialize for PlanDefinition
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 PlanDefinition
impl<'a> TryFrom<&'a Resource> for &'a PlanDefinition
Source§type Error = WrongResourceType
type Error = WrongResourceType
Source§fn try_from(
resource: &'a Resource,
) -> Result<&'a PlanDefinition, <&'a PlanDefinition as TryFrom<&'a Resource>>::Error>
fn try_from( resource: &'a Resource, ) -> Result<&'a PlanDefinition, <&'a PlanDefinition as TryFrom<&'a Resource>>::Error>
Source§impl<'a> TryFrom<&'a mut Resource> for &'a mut PlanDefinition
impl<'a> TryFrom<&'a mut Resource> for &'a mut PlanDefinition
Source§type Error = WrongResourceType
type Error = WrongResourceType
Source§fn try_from(
resource: &'a mut Resource,
) -> Result<&'a mut PlanDefinition, <&'a mut PlanDefinition as TryFrom<&'a mut Resource>>::Error>
fn try_from( resource: &'a mut Resource, ) -> Result<&'a mut PlanDefinition, <&'a mut PlanDefinition as TryFrom<&'a mut Resource>>::Error>
Source§impl TryFrom<Resource> for PlanDefinition
impl TryFrom<Resource> for PlanDefinition
Source§type Error = WrongResourceType
type Error = WrongResourceType
Source§fn try_from(
resource: Resource,
) -> Result<PlanDefinition, <PlanDefinition as TryFrom<Resource>>::Error>
fn try_from( resource: Resource, ) -> Result<PlanDefinition, <PlanDefinition as TryFrom<Resource>>::Error>
impl StructuralPartialEq for PlanDefinition
Auto Trait Implementations§
impl Freeze for PlanDefinition
impl RefUnwindSafe for PlanDefinition
impl Send for PlanDefinition
impl Sync for PlanDefinition
impl Unpin for PlanDefinition
impl UnwindSafe for PlanDefinition
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.