Class RelatedPerson
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
Java class for RelatedPerson complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RelatedPerson">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="patient" type="{http://hl7.org/fhir}Reference"/>
<element name="relationship" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="name" type="{http://hl7.org/fhir}HumanName" minOccurs="0"/>
<element name="telecom" type="{http://hl7.org/fhir}ContactPoint" maxOccurs="unbounded" minOccurs="0"/>
<element name="gender" type="{http://hl7.org/fhir}AdministrativeGender" minOccurs="0"/>
<element name="birthDate" type="{http://hl7.org/fhir}date" minOccurs="0"/>
<element name="address" type="{http://hl7.org/fhir}Address" maxOccurs="unbounded" minOccurs="0"/>
<element name="photo" type="{http://hl7.org/fhir}Attachment" maxOccurs="unbounded" minOccurs="0"/>
<element name="period" type="{http://hl7.org/fhir}Period" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Dateprotected AdministrativeGenderprotected List<Identifier> protected HumanNameprotected Referenceprotected Periodprotected List<Attachment> protected CodeableConceptprotected List<ContactPoint> Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the address property.Gets the value of the birthDate property.Gets the value of the gender property.Gets the value of the identifier property.getName()Gets the value of the name property.Gets the value of the patient property.Gets the value of the period property.getPhoto()Gets the value of the photo property.Gets the value of the relationship property.Gets the value of the telecom property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetAddress(List<Address> value) voidsetBirthDate(Date value) Sets the value of the birthDate property.voidsetGender(AdministrativeGender value) Sets the value of the gender property.voidsetIdentifier(List<Identifier> value) voidSets the value of the name property.voidsetPatient(Reference value) Sets the value of the patient property.voidSets the value of the period property.voidsetPhoto(List<Attachment> value) voidsetRelationship(CodeableConcept value) Sets the value of the relationship property.voidsetTelecom(List<ContactPoint> value) toString()withAddress(Collection<Address> values) withAddress(Address... values) withBirthDate(Date value) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withExtension(Collection<Extension> values) withExtension(Extension... values) withGender(AdministrativeGender value) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withLanguage(Code value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withPatient(Reference value) withPeriod(Period value) withPhoto(Collection<Attachment> values) withPhoto(Attachment... values) withRelationship(CodeableConcept value) withTelecom(Collection<ContactPoint> values) withTelecom(ContactPoint... values) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
identifier
-
patient
-
relationship
-
name
-
telecom
-
gender
-
birthDate
-
address
-
photo
-
period
-
-
Constructor Details
-
RelatedPerson
public RelatedPerson()
-
-
Method Details
-
getIdentifier
Gets the value of the identifier property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the identifier property.For example, to add a new item, do as follows:
getIdentifier().add(newItem);Objects of the following type(s) are allowed in the list
Identifier -
getPatient
Gets the value of the patient property.- Returns:
- possible object is
Reference
-
setPatient
Sets the value of the patient property.- Parameters:
value- allowed object isReference
-
getRelationship
Gets the value of the relationship property.- Returns:
- possible object is
CodeableConcept
-
setRelationship
Sets the value of the relationship property.- Parameters:
value- allowed object isCodeableConcept
-
getName
Gets the value of the name property.- Returns:
- possible object is
HumanName
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isHumanName
-
getTelecom
Gets the value of the telecom property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the telecom property.For example, to add a new item, do as follows:
getTelecom().add(newItem);Objects of the following type(s) are allowed in the list
ContactPoint -
getGender
Gets the value of the gender property.- Returns:
- possible object is
AdministrativeGender
-
setGender
Sets the value of the gender property.- Parameters:
value- allowed object isAdministrativeGender
-
getBirthDate
Gets the value of the birthDate property.- Returns:
- possible object is
Date
-
setBirthDate
Sets the value of the birthDate property.- Parameters:
value- allowed object isDate
-
getAddress
Gets the value of the address property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the address property.For example, to add a new item, do as follows:
getAddress().add(newItem);Objects of the following type(s) are allowed in the list
Address -
getPhoto
Gets the value of the photo property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the photo property.For example, to add a new item, do as follows:
getPhoto().add(newItem);Objects of the following type(s) are allowed in the list
Attachment -
getPeriod
Gets the value of the period property.- Returns:
- possible object is
Period
-
setPeriod
Sets the value of the period property.- Parameters:
value- allowed object isPeriod
-
withIdentifier
-
withIdentifier
-
withPatient
-
withRelationship
-
withName
-
withTelecom
-
withTelecom
-
withGender
-
withBirthDate
-
withAddress
-
withAddress
-
withPhoto
-
withPhoto
-
withPeriod
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) - Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classDomainResource
-
toString
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setIdentifier
-
setTelecom
-
setAddress
-
setPhoto
-