Class Patient
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected PatientAnimalprotected Dateprotected List<PatientCommunication> protected List<PatientContact> protected Booleanprotected DateTimeprotected AdministrativeGenderprotected List<Identifier> protected List<PatientLink> protected Referenceprotected CodeableConceptprotected Booleanprotected Integerprotected List<Attachment> protected 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 active property.Gets the value of the address property.Gets the value of the animal property.Gets the value of the birthDate property.Gets the value of the careProvider property.Gets the value of the communication property.Gets the value of the contact property.Gets the value of the deceasedBoolean property.Gets the value of the deceasedDateTime property.Gets the value of the gender property.Gets the value of the identifier property.getLink()Gets the value of the link property.Gets the value of the managingOrganization property.Gets the value of the maritalStatus property.Gets the value of the multipleBirthBoolean property.Gets the value of the multipleBirthInteger property.getName()Gets the value of the name property.getPhoto()Gets the value of the photo property.Gets the value of the telecom property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidSets the value of the active property.voidsetAddress(List<Address> value) voidsetAnimal(PatientAnimal value) Sets the value of the animal property.voidsetBirthDate(Date value) Sets the value of the birthDate property.voidsetCareProvider(List<Reference> value) voidsetCommunication(List<PatientCommunication> value) voidsetContact(List<PatientContact> value) voidsetDeceasedBoolean(Boolean value) Sets the value of the deceasedBoolean property.voidsetDeceasedDateTime(DateTime value) Sets the value of the deceasedDateTime property.voidsetGender(AdministrativeGender value) Sets the value of the gender property.voidsetIdentifier(List<Identifier> value) voidsetLink(List<PatientLink> value) voidsetManagingOrganization(Reference value) Sets the value of the managingOrganization property.voidsetMaritalStatus(CodeableConcept value) Sets the value of the maritalStatus property.voidsetMultipleBirthBoolean(Boolean value) Sets the value of the multipleBirthBoolean property.voidsetMultipleBirthInteger(Integer value) Sets the value of the multipleBirthInteger property.voidvoidsetPhoto(List<Attachment> value) voidsetTelecom(List<ContactPoint> value) toString()withActive(Boolean value) withAddress(Collection<Address> values) withAddress(Address... values) withAnimal(PatientAnimal value) withBirthDate(Date value) withCareProvider(Collection<Reference> values) withCareProvider(Reference... values) withCommunication(PatientCommunication... values) withContact(Collection<PatientContact> values) withContact(PatientContact... values) withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withDeceasedBoolean(Boolean value) withDeceasedDateTime(DateTime value) withExtension(Collection<Extension> values) withExtension(Extension... values) withGender(AdministrativeGender value) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withLanguage(Code value) withLink(Collection<PatientLink> values) withLink(PatientLink... values) withMaritalStatus(CodeableConcept value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withMultipleBirthBoolean(Boolean value) withMultipleBirthInteger(Integer value) withName(Collection<HumanName> values) withPhoto(Collection<Attachment> values) withPhoto(Attachment... values) 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
-
active
-
name
-
telecom
-
gender
-
birthDate
-
deceasedBoolean
-
deceasedDateTime
-
address
-
maritalStatus
-
multipleBirthBoolean
-
multipleBirthInteger
-
photo
-
contact
-
animal
-
communication
-
careProvider
-
managingOrganization
-
link
-
-
Constructor Details
-
Patient
public Patient()
-
-
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 -
getActive
Gets the value of the active property.- Returns:
- possible object is
Boolean
-
setActive
Sets the value of the active property.- Parameters:
value- allowed object isBoolean
-
getName
Gets the value of the name 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 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 -
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
-
getDeceasedBoolean
Gets the value of the deceasedBoolean property.- Returns:
- possible object is
Boolean
-
setDeceasedBoolean
Sets the value of the deceasedBoolean property.- Parameters:
value- allowed object isBoolean
-
getDeceasedDateTime
Gets the value of the deceasedDateTime property.- Returns:
- possible object is
DateTime
-
setDeceasedDateTime
Sets the value of the deceasedDateTime property.- Parameters:
value- allowed object isDateTime
-
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 -
getMaritalStatus
Gets the value of the maritalStatus property.- Returns:
- possible object is
CodeableConcept
-
setMaritalStatus
Sets the value of the maritalStatus property.- Parameters:
value- allowed object isCodeableConcept
-
getMultipleBirthBoolean
Gets the value of the multipleBirthBoolean property.- Returns:
- possible object is
Boolean
-
setMultipleBirthBoolean
Sets the value of the multipleBirthBoolean property.- Parameters:
value- allowed object isBoolean
-
getMultipleBirthInteger
Gets the value of the multipleBirthInteger property.- Returns:
- possible object is
Integer
-
setMultipleBirthInteger
Sets the value of the multipleBirthInteger property.- Parameters:
value- allowed object isInteger
-
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 -
getContact
Gets the value of the contact 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 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 -
getAnimal
Gets the value of the animal property.- Returns:
- possible object is
PatientAnimal
-
setAnimal
Sets the value of the animal property.- Parameters:
value- allowed object isPatientAnimal
-
getCommunication
Gets the value of the communication 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 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 -
getCareProvider
Gets the value of the careProvider 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 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 -
getManagingOrganization
Gets the value of the managingOrganization property.- Returns:
- possible object is
Reference
-
setManagingOrganization
Sets the value of the managingOrganization property.- Parameters:
value- allowed object isReference
-
getLink
Gets the value of the link 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 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 -
withIdentifier
-
withIdentifier
-
withActive
-
withName
-
withName
-
withTelecom
-
withTelecom
-
withGender
-
withBirthDate
-
withDeceasedBoolean
-
withDeceasedDateTime
-
withAddress
-
withAddress
-
withMaritalStatus
-
withMultipleBirthBoolean
-
withMultipleBirthInteger
-
withPhoto
-
withPhoto
-
withContact
-
withContact
-
withAnimal
-
withCommunication
-
withCommunication
-
withCareProvider
-
withCareProvider
-
withManagingOrganization
-
withLink
-
withLink
-
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
-
setName
-
setTelecom
-
setAddress
-
setPhoto
-
setContact
-
setCommunication
-
setCareProvider
-
setLink
-