public class RelatedPerson extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
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>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Address> |
address |
protected Date |
birthDate |
protected AdministrativeGender |
gender |
protected java.util.List<Identifier> |
identifier |
protected HumanName |
name |
protected Reference |
patient |
protected Period |
period |
protected java.util.List<Attachment> |
photo |
protected CodeableConcept |
relationship |
protected java.util.List<ContactPoint> |
telecom |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
RelatedPerson() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
java.util.List<Address> |
getAddress()
Gets the value of the address property.
|
Date |
getBirthDate()
Gets the value of the birthDate property.
|
AdministrativeGender |
getGender()
Gets the value of the gender property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
HumanName |
getName()
Gets the value of the name property.
|
Reference |
getPatient()
Gets the value of the patient property.
|
Period |
getPeriod()
Gets the value of the period property.
|
java.util.List<Attachment> |
getPhoto()
Gets the value of the photo property.
|
CodeableConcept |
getRelationship()
Gets the value of the relationship property.
|
java.util.List<ContactPoint> |
getTelecom()
Gets the value of the telecom property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setBirthDate(Date value)
Sets the value of the birthDate property.
|
void |
setGender(AdministrativeGender value)
Sets the value of the gender property.
|
void |
setName(HumanName value)
Sets the value of the name property.
|
void |
setPatient(Reference value)
Sets the value of the patient property.
|
void |
setPeriod(Period value)
Sets the value of the period property.
|
void |
setRelationship(CodeableConcept value)
Sets the value of the relationship property.
|
java.lang.String |
toString() |
RelatedPerson |
withAddress(Address... values) |
RelatedPerson |
withAddress(java.util.Collection<Address> values) |
RelatedPerson |
withBirthDate(Date value) |
RelatedPerson |
withContained(java.util.Collection<ResourceContainer> values) |
RelatedPerson |
withContained(ResourceContainer... values) |
RelatedPerson |
withExtension(java.util.Collection<Extension> values) |
RelatedPerson |
withExtension(Extension... values) |
RelatedPerson |
withGender(AdministrativeGender value) |
RelatedPerson |
withId(Id value) |
RelatedPerson |
withIdentifier(java.util.Collection<Identifier> values) |
RelatedPerson |
withIdentifier(Identifier... values) |
RelatedPerson |
withImplicitRules(Uri value) |
RelatedPerson |
withLanguage(Code value) |
RelatedPerson |
withMeta(Meta value) |
RelatedPerson |
withModifierExtension(java.util.Collection<Extension> values) |
RelatedPerson |
withModifierExtension(Extension... values) |
RelatedPerson |
withName(HumanName value) |
RelatedPerson |
withPatient(Reference value) |
RelatedPerson |
withPeriod(Period value) |
RelatedPerson |
withPhoto(Attachment... values) |
RelatedPerson |
withPhoto(java.util.Collection<Attachment> values) |
RelatedPerson |
withRelationship(CodeableConcept value) |
RelatedPerson |
withTelecom(java.util.Collection<ContactPoint> values) |
RelatedPerson |
withTelecom(ContactPoint... values) |
RelatedPerson |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected Reference patient
protected CodeableConcept relationship
protected HumanName name
protected java.util.List<ContactPoint> telecom
protected AdministrativeGender gender
protected Date birthDate
protected java.util.List<Address> address
protected java.util.List<Attachment> photo
protected Period period
public java.util.List<Identifier> getIdentifier()
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 JAXB object.
This is why there is not a set method 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
public Reference getPatient()
Referencepublic void setPatient(Reference value)
value - allowed object is
Referencepublic CodeableConcept getRelationship()
CodeableConceptpublic void setRelationship(CodeableConcept value)
value - allowed object is
CodeableConceptpublic HumanName getName()
HumanNamepublic void setName(HumanName value)
value - allowed object is
HumanNamepublic java.util.List<ContactPoint> getTelecom()
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 JAXB object.
This is why there is not a set method 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
public AdministrativeGender getGender()
AdministrativeGenderpublic void setGender(AdministrativeGender value)
value - allowed object is
AdministrativeGenderpublic Date getBirthDate()
Datepublic void setBirthDate(Date value)
value - allowed object is
Datepublic java.util.List<Address> getAddress()
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 JAXB object.
This is why there is not a set method 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
public java.util.List<Attachment> getPhoto()
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 JAXB object.
This is why there is not a set method 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
public Period getPeriod()
Periodpublic void setPeriod(Period value)
value - allowed object is
Periodpublic RelatedPerson withIdentifier(Identifier... values)
public RelatedPerson withIdentifier(java.util.Collection<Identifier> values)
public RelatedPerson withPatient(Reference value)
public RelatedPerson withRelationship(CodeableConcept value)
public RelatedPerson withName(HumanName value)
public RelatedPerson withTelecom(ContactPoint... values)
public RelatedPerson withTelecom(java.util.Collection<ContactPoint> values)
public RelatedPerson withGender(AdministrativeGender value)
public RelatedPerson withBirthDate(Date value)
public RelatedPerson withAddress(Address... values)
public RelatedPerson withAddress(java.util.Collection<Address> values)
public RelatedPerson withPhoto(Attachment... values)
public RelatedPerson withPhoto(java.util.Collection<Attachment> values)
public RelatedPerson withPeriod(Period value)
public RelatedPerson withText(Narrative value)
withText in class DomainResourcepublic RelatedPerson withContained(ResourceContainer... values)
withContained in class DomainResourcepublic RelatedPerson withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic RelatedPerson withExtension(Extension... values)
withExtension in class DomainResourcepublic RelatedPerson withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic RelatedPerson withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic RelatedPerson withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic RelatedPerson withId(Id value)
withId in class DomainResourcepublic RelatedPerson withMeta(Meta value)
withMeta in class DomainResourcepublic RelatedPerson withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic RelatedPerson withLanguage(Code value)
withLanguage in class DomainResourcepublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource