public class Patient extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Patient complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Patient">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="active" type="{http://hl7.org/fhir}boolean" 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"/>
<choice minOccurs="0">
<element name="deceasedBoolean" type="{http://hl7.org/fhir}boolean"/>
<element name="deceasedDateTime" type="{http://hl7.org/fhir}dateTime"/>
</choice>
<element name="address" type="{http://hl7.org/fhir}Address" maxOccurs="unbounded" minOccurs="0"/>
<element name="maritalStatus" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<choice minOccurs="0">
<element name="multipleBirthBoolean" type="{http://hl7.org/fhir}boolean"/>
<element name="multipleBirthInteger" type="{http://hl7.org/fhir}integer"/>
</choice>
<element name="photo" type="{http://hl7.org/fhir}Attachment" maxOccurs="unbounded" minOccurs="0"/>
<element name="contact" type="{http://hl7.org/fhir}Patient.Contact" maxOccurs="unbounded" minOccurs="0"/>
<element name="animal" type="{http://hl7.org/fhir}Patient.Animal" minOccurs="0"/>
<element name="communication" type="{http://hl7.org/fhir}Patient.Communication" maxOccurs="unbounded" minOccurs="0"/>
<element name="careProvider" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="managingOrganization" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="link" type="{http://hl7.org/fhir}Patient.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 PatientAnimal |
animal |
protected Date |
birthDate |
protected java.util.List<Reference> |
careProvider |
protected java.util.List<PatientCommunication> |
communication |
protected java.util.List<PatientContact> |
contact |
protected Boolean |
deceasedBoolean |
protected DateTime |
deceasedDateTime |
protected AdministrativeGender |
gender |
protected java.util.List<Identifier> |
identifier |
protected java.util.List<PatientLink> |
link |
protected Reference |
managingOrganization |
protected CodeableConcept |
maritalStatus |
protected Boolean |
multipleBirthBoolean |
protected Integer |
multipleBirthInteger |
protected java.util.List<HumanName> |
name |
protected java.util.List<Attachment> |
photo |
protected java.util.List<ContactPoint> |
telecom |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Patient() |
| 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.
|
PatientAnimal |
getAnimal()
Gets the value of the animal property.
|
Date |
getBirthDate()
Gets the value of the birthDate property.
|
java.util.List<Reference> |
getCareProvider()
Gets the value of the careProvider property.
|
java.util.List<PatientCommunication> |
getCommunication()
Gets the value of the communication property.
|
java.util.List<PatientContact> |
getContact()
Gets the value of the contact property.
|
Boolean |
getDeceasedBoolean()
Gets the value of the deceasedBoolean property.
|
DateTime |
getDeceasedDateTime()
Gets the value of the deceasedDateTime 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<PatientLink> |
getLink()
Gets the value of the link property.
|
Reference |
getManagingOrganization()
Gets the value of the managingOrganization property.
|
CodeableConcept |
getMaritalStatus()
Gets the value of the maritalStatus property.
|
Boolean |
getMultipleBirthBoolean()
Gets the value of the multipleBirthBoolean property.
|
Integer |
getMultipleBirthInteger()
Gets the value of the multipleBirthInteger property.
|
java.util.List<HumanName> |
getName()
Gets the value of the name property.
|
java.util.List<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 |
setAnimal(PatientAnimal value)
Sets the value of the animal property.
|
void |
setBirthDate(Date value)
Sets the value of the birthDate property.
|
void |
setDeceasedBoolean(Boolean value)
Sets the value of the deceasedBoolean property.
|
void |
setDeceasedDateTime(DateTime value)
Sets the value of the deceasedDateTime property.
|
void |
setGender(AdministrativeGender value)
Sets the value of the gender property.
|
void |
setManagingOrganization(Reference value)
Sets the value of the managingOrganization property.
|
void |
setMaritalStatus(CodeableConcept value)
Sets the value of the maritalStatus property.
|
void |
setMultipleBirthBoolean(Boolean value)
Sets the value of the multipleBirthBoolean property.
|
void |
setMultipleBirthInteger(Integer value)
Sets the value of the multipleBirthInteger property.
|
java.lang.String |
toString() |
Patient |
withActive(Boolean value) |
Patient |
withAddress(Address... values) |
Patient |
withAddress(java.util.Collection<Address> values) |
Patient |
withAnimal(PatientAnimal value) |
Patient |
withBirthDate(Date value) |
Patient |
withCareProvider(java.util.Collection<Reference> values) |
Patient |
withCareProvider(Reference... values) |
Patient |
withCommunication(java.util.Collection<PatientCommunication> values) |
Patient |
withCommunication(PatientCommunication... values) |
Patient |
withContact(java.util.Collection<PatientContact> values) |
Patient |
withContact(PatientContact... values) |
Patient |
withContained(java.util.Collection<ResourceContainer> values) |
Patient |
withContained(ResourceContainer... values) |
Patient |
withDeceasedBoolean(Boolean value) |
Patient |
withDeceasedDateTime(DateTime value) |
Patient |
withExtension(java.util.Collection<Extension> values) |
Patient |
withExtension(Extension... values) |
Patient |
withGender(AdministrativeGender value) |
Patient |
withId(Id value) |
Patient |
withIdentifier(java.util.Collection<Identifier> values) |
Patient |
withIdentifier(Identifier... values) |
Patient |
withImplicitRules(Uri value) |
Patient |
withLanguage(Code value) |
Patient |
withLink(java.util.Collection<PatientLink> values) |
Patient |
withLink(PatientLink... values) |
Patient |
withManagingOrganization(Reference value) |
Patient |
withMaritalStatus(CodeableConcept value) |
Patient |
withMeta(Meta value) |
Patient |
withModifierExtension(java.util.Collection<Extension> values) |
Patient |
withModifierExtension(Extension... values) |
Patient |
withMultipleBirthBoolean(Boolean value) |
Patient |
withMultipleBirthInteger(Integer value) |
Patient |
withName(java.util.Collection<HumanName> values) |
Patient |
withName(HumanName... values) |
Patient |
withPhoto(Attachment... values) |
Patient |
withPhoto(java.util.Collection<Attachment> values) |
Patient |
withTelecom(java.util.Collection<ContactPoint> values) |
Patient |
withTelecom(ContactPoint... values) |
Patient |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected Boolean active
protected java.util.List<HumanName> name
protected java.util.List<ContactPoint> telecom
protected AdministrativeGender gender
protected Date birthDate
protected Boolean deceasedBoolean
protected DateTime deceasedDateTime
protected java.util.List<Address> address
protected CodeableConcept maritalStatus
protected Boolean multipleBirthBoolean
protected Integer multipleBirthInteger
protected java.util.List<Attachment> photo
protected java.util.List<PatientContact> contact
protected PatientAnimal animal
protected java.util.List<PatientCommunication> communication
protected java.util.List<Reference> careProvider
protected Reference managingOrganization
protected java.util.List<PatientLink> 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 Boolean getActive()
Booleanpublic void setActive(Boolean value)
value - allowed object is
Booleanpublic 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 Boolean getDeceasedBoolean()
Booleanpublic void setDeceasedBoolean(Boolean value)
value - allowed object is
Booleanpublic DateTime getDeceasedDateTime()
DateTimepublic void setDeceasedDateTime(DateTime value)
value - allowed object is
DateTimepublic 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 CodeableConcept getMaritalStatus()
CodeableConceptpublic void setMaritalStatus(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Boolean getMultipleBirthBoolean()
Booleanpublic void setMultipleBirthBoolean(Boolean value)
value - allowed object is
Booleanpublic Integer getMultipleBirthInteger()
Integerpublic void setMultipleBirthInteger(Integer value)
value - allowed object is
Integerpublic 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 java.util.List<PatientContact> getContact()
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 contact property.
For example, to add a new item, do as follows:
getContact().add(newItem);
Objects of the following type(s) are allowed in the list
PatientContact
public PatientAnimal getAnimal()
PatientAnimalpublic void setAnimal(PatientAnimal value)
value - allowed object is
PatientAnimalpublic java.util.List<PatientCommunication> getCommunication()
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 communication property.
For example, to add a new item, do as follows:
getCommunication().add(newItem);
Objects of the following type(s) are allowed in the list
PatientCommunication
public java.util.List<Reference> getCareProvider()
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 careProvider property.
For example, to add a new item, do as follows:
getCareProvider().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public Reference getManagingOrganization()
Referencepublic void setManagingOrganization(Reference value)
value - allowed object is
Referencepublic java.util.List<PatientLink> 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
PatientLink
public Patient withIdentifier(Identifier... values)
public Patient withIdentifier(java.util.Collection<Identifier> values)
public Patient withTelecom(ContactPoint... values)
public Patient withTelecom(java.util.Collection<ContactPoint> values)
public Patient withGender(AdministrativeGender value)
public Patient withMaritalStatus(CodeableConcept value)
public Patient withPhoto(Attachment... values)
public Patient withPhoto(java.util.Collection<Attachment> values)
public Patient withContact(PatientContact... values)
public Patient withContact(java.util.Collection<PatientContact> values)
public Patient withAnimal(PatientAnimal value)
public Patient withCommunication(PatientCommunication... values)
public Patient withCommunication(java.util.Collection<PatientCommunication> values)
public Patient withLink(PatientLink... values)
public Patient withLink(java.util.Collection<PatientLink> values)
public Patient withText(Narrative value)
withText in class DomainResourcepublic Patient withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Patient withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Patient withExtension(Extension... values)
withExtension in class DomainResourcepublic Patient withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Patient withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Patient withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Patient withId(Id value)
withId in class DomainResourcepublic Patient withMeta(Meta value)
withMeta in class DomainResourcepublic Patient withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Patient 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