public class Person extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Person complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Person">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="name" type="{http://hl7.org/fhir}HumanName" maxOccurs="unbounded" 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" minOccurs="0"/>
<element name="managingOrganization" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="active" type="{http://hl7.org/fhir}boolean" minOccurs="0"/>
<element name="link" type="{http://hl7.org/fhir}Person.Link" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
active |
protected java.util.List<Address> |
address |
protected Date |
birthDate |
protected AdministrativeGender |
gender |
protected java.util.List<Identifier> |
identifier |
protected java.util.List<PersonLink> |
link |
protected Reference |
managingOrganization |
protected java.util.List<HumanName> |
name |
protected Attachment |
photo |
protected java.util.List<ContactPoint> |
telecom |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Person() |
| 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) |
Boolean |
getActive()
Gets the value of the active property.
|
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.
|
java.util.List<PersonLink> |
getLink()
Gets the value of the link property.
|
Reference |
getManagingOrganization()
Gets the value of the managingOrganization property.
|
java.util.List<HumanName> |
getName()
Gets the value of the name property.
|
Attachment |
getPhoto()
Gets the value of the photo 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 |
setActive(Boolean value)
Sets the value of the active property.
|
void |
setBirthDate(Date value)
Sets the value of the birthDate property.
|
void |
setGender(AdministrativeGender value)
Sets the value of the gender property.
|
void |
setManagingOrganization(Reference value)
Sets the value of the managingOrganization property.
|
void |
setPhoto(Attachment value)
Sets the value of the photo property.
|
java.lang.String |
toString() |
Person |
withActive(Boolean value) |
Person |
withAddress(Address... values) |
Person |
withAddress(java.util.Collection<Address> values) |
Person |
withBirthDate(Date value) |
Person |
withContained(java.util.Collection<ResourceContainer> values) |
Person |
withContained(ResourceContainer... values) |
Person |
withExtension(java.util.Collection<Extension> values) |
Person |
withExtension(Extension... values) |
Person |
withGender(AdministrativeGender value) |
Person |
withId(Id value) |
Person |
withIdentifier(java.util.Collection<Identifier> values) |
Person |
withIdentifier(Identifier... values) |
Person |
withImplicitRules(Uri value) |
Person |
withLanguage(Code value) |
Person |
withLink(java.util.Collection<PersonLink> values) |
Person |
withLink(PersonLink... values) |
Person |
withManagingOrganization(Reference value) |
Person |
withMeta(Meta value) |
Person |
withModifierExtension(java.util.Collection<Extension> values) |
Person |
withModifierExtension(Extension... values) |
Person |
withName(java.util.Collection<HumanName> values) |
Person |
withName(HumanName... values) |
Person |
withPhoto(Attachment value) |
Person |
withTelecom(java.util.Collection<ContactPoint> values) |
Person |
withTelecom(ContactPoint... values) |
Person |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected java.util.List<HumanName> name
protected java.util.List<ContactPoint> telecom
protected AdministrativeGender gender
protected Date birthDate
protected java.util.List<Address> address
protected Attachment photo
protected Reference managingOrganization
protected Boolean active
protected java.util.List<PersonLink> link
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 java.util.List<HumanName> getName()
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 name property.
For example, to add a new item, do as follows:
getName().add(newItem);
Objects of the following type(s) are allowed in the list
HumanName
public 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 Attachment getPhoto()
Attachmentpublic void setPhoto(Attachment value)
value - allowed object is
Attachmentpublic Reference getManagingOrganization()
Referencepublic void setManagingOrganization(Reference value)
value - allowed object is
Referencepublic Boolean getActive()
Booleanpublic void setActive(Boolean value)
value - allowed object is
Booleanpublic java.util.List<PersonLink> getLink()
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 link property.
For example, to add a new item, do as follows:
getLink().add(newItem);
Objects of the following type(s) are allowed in the list
PersonLink
public Person withIdentifier(Identifier... values)
public Person withIdentifier(java.util.Collection<Identifier> values)
public Person withTelecom(ContactPoint... values)
public Person withTelecom(java.util.Collection<ContactPoint> values)
public Person withGender(AdministrativeGender value)
public Person withPhoto(Attachment value)
public Person withLink(PersonLink... values)
public Person withLink(java.util.Collection<PersonLink> values)
public Person withText(Narrative value)
withText in class DomainResourcepublic Person withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Person withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Person withExtension(Extension... values)
withExtension in class DomainResourcepublic Person withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Person withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Person withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Person withId(Id value)
withId in class DomainResourcepublic Person withMeta(Meta value)
withMeta in class DomainResourcepublic Person withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Person 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