pub struct RelatedPerson {Show 20 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 identifier: Option<Vec<Identifier>>,
pub active: Option<BooleanDt>,
pub patient: Option<Reference>,
pub relationship: Option<Vec<CodeableConcept>>,
pub name: Option<Vec<HumanName>>,
pub telecom: Option<Vec<ContactPoint>>,
pub gender: Option<CodeDt>,
pub birth_date: Option<DateDt>,
pub address: Option<Vec<Address>>,
pub photo: Option<Vec<Attachment>>,
pub period: Option<Period>,
pub communication: Option<Vec<RelatedPersonCommunicationBackboneElement>>,
}
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
identifier: Option<Vec<Identifier>>
A human identifier for this person
active: Option<BooleanDt>
Whether this related person’s record is in active use
patient: Option<Reference>
The patient this person is related to
relationship: Option<Vec<CodeableConcept>>
The relationship of the related person to the patient
name: Option<Vec<HumanName>>
A name associated with the person
telecom: Option<Vec<ContactPoint>>
A contact detail for the person
gender: Option<CodeDt>
male | female | other | unknown
birth_date: Option<DateDt>
The date on which the related person was born
address: Option<Vec<Address>>
Address where the related person can be contacted or visited
photo: Option<Vec<Attachment>>
Image of the person
period: Option<Period>
Period of time that this relationship is considered valid
communication: Option<Vec<RelatedPersonCommunicationBackboneElement>>
A language which may be used to communicate with the related person about the patient’s health
Implementations§
Source§impl RelatedPerson
impl RelatedPerson
pub fn set_identifier(self, v: Vec<Identifier>) -> Self
pub fn add_identifier(self, v: Identifier) -> Self
pub fn set_active<T: Into<BooleanDt>>(self, v: T) -> Self
pub fn set_patient(self, v: Reference) -> Self
pub fn set_relationship(self, v: Vec<CodeableConcept>) -> Self
pub fn add_relationship(self, v: CodeableConcept) -> Self
pub fn set_name(self, v: Vec<HumanName>) -> Self
pub fn add_name(self, v: HumanName) -> Self
pub fn set_telecom(self, v: Vec<ContactPoint>) -> Self
pub fn add_telecom(self, v: ContactPoint) -> Self
pub fn set_gender<T: Into<CodeDt>>(self, v: T) -> Self
pub fn set_birth_date<T: Into<DateDt>>(self, v: T) -> Self
pub fn set_address(self, v: Vec<Address>) -> Self
pub fn add_address(self, v: Address) -> Self
pub fn set_photo(self, v: Vec<Attachment>) -> Self
pub fn add_photo(self, v: Attachment) -> Self
pub fn set_period(self, v: Period) -> Self
pub fn set_communication( self, v: Vec<RelatedPersonCommunicationBackboneElement>, ) -> Self
pub fn add_communication( self, v: RelatedPersonCommunicationBackboneElement, ) -> Self
Trait Implementations§
Source§impl Clone for RelatedPerson
impl Clone for RelatedPerson
Source§fn clone(&self) -> RelatedPerson
fn clone(&self) -> RelatedPerson
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more