pub struct Person(pub Box<PersonInner>);
Expand description
Demographics and administrative information about a person independent of a specific health-related context.
Person v5.0.0
A generic person record
Demographics and administrative information about a person independent of a specific health-related context.
The Person resource does justice to person registries that keep track of persons regardless of their role. The Person resource is also a primary resource to point to for people acting in a particular role such as SubjectofCare, Practitioner, and Agent. Very few attributes are specific to any role and so Person is kept lean. Most attributes are expected to be tied to the role the Person plays rather than the Person himself. Examples of that are Guardian (SubjectofCare), ContactParty (SubjectOfCare, Practitioner), and multipleBirthInd (SubjectofCare).
Tuple Fields§
§0: Box<PersonInner>
Implementations§
Source§impl Person
impl Person
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 Person
impl BaseResource for Person
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<'de> Deserialize<'de> for Person
impl<'de> Deserialize<'de> for Person
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Person, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Person, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl DomainResource for Person
impl DomainResource for Person
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<PersonInner> for Person
impl From<PersonInner> for Person
Source§fn from(inner: PersonInner) -> Person
fn from(inner: PersonInner) -> Person
Source§impl IdentifiableResource for Person
impl IdentifiableResource for Person
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 Person
impl NamedResource for Person
Source§const FHIR_VERSION: &'static str = "5.0.0"
const FHIR_VERSION: &'static str = "5.0.0"
Source§const TYPE: ResourceType = ResourceType::Person
const TYPE: ResourceType = ResourceType::Person
Source§impl Serialize for Person
impl Serialize for Person
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,
impl StructuralPartialEq for Person
Auto Trait Implementations§
impl Freeze for Person
impl RefUnwindSafe for Person
impl Send for Person
impl Sync for Person
impl Unpin for Person
impl UnwindSafe for Person
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.