Class Patient
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected BooleanType
Whether this patient record is in active use.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for activeAddresses for the individual.static final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for addressstatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for address-citystatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for address-countrystatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for address-postalcodestatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for address-statestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for address-useprotected Patient.AnimalComponent
This patient is known to be an animal.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for animal-breedstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for animal-speciesprotected DateType
The date of birth for the individual.static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for birthdateprotected List
<Patient.PatientCommunicationComponent> Languages which may be used to communicate with the patient about his or her health.protected List
<Patient.ContactComponent> A contact party (e.g.static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for death-dateprotected Type
Indicates if the individual is deceased or not.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for deceasedstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for emailstatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for familyprotected Enumeration
<Enumerations.AdministrativeGender> Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for genderstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for general-practitionerPatient's nominated care provider.The actual objects that are the target of the reference (Patient's nominated care provider.)static final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for givenprotected List
<Identifier> An identifier for this patient.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for languageprotected List
<Patient.PatientLinkComponent> Link to another patient resource that concerns the same actual patient.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for linkprotected Reference
Organization that is the custodian of the patient record.protected Organization
The actual object that is the target of the reference (Organization that is the custodian of the patient record.)protected CodeableConcept
This field contains a patient's most recent marital (civil) status.protected Type
Indicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer).A name associated with the individual.static final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for namestatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for organizationstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for phonestatic final ca.uhn.fhir.rest.gclient.StringClientParam
Fluent Client search parameter constant for phoneticprotected List
<Attachment> Image of the patient.static final String
Search parameter: activestatic final String
Search parameter: addressstatic final String
Search parameter: address-citystatic final String
Search parameter: address-countrystatic final String
Search parameter: address-postalcodestatic final String
Search parameter: address-statestatic final String
Search parameter: address-usestatic final String
Search parameter: animal-breedstatic final String
Search parameter: animal-speciesstatic final String
Search parameter: birthdatestatic final String
Search parameter: death-datestatic final String
Search parameter: deceasedstatic final String
Search parameter: emailstatic final String
Search parameter: familystatic final String
Search parameter: genderstatic final String
Search parameter: general-practitionerstatic final String
Search parameter: givenstatic final String
Search parameter: identifierstatic final String
Search parameter: languagestatic final String
Search parameter: linkstatic final String
Search parameter: namestatic final String
Search parameter: organizationstatic final String
Search parameter: phonestatic final String
Search parameter: phoneticstatic final String
Search parameter: telecomprotected List
<ContactPoint> A contact detail (e.g.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for telecomFields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu3.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddLink()
addName()
addPhoto()
copy()
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
boolean
Deprecated.Use Reference#setResource(IBaseResource) insteadgetLink()
getName()
getNamedProperty
(int _hash, String _name, boolean _checkValid) getPhoto()
Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasLink()
boolean
boolean
boolean
boolean
boolean
boolean
hasName()
boolean
hasPhoto()
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setActive
(boolean value) setActiveElement
(BooleanType value) setAddress
(List<Address> theAddress) setAnimal
(Patient.AnimalComponent value) setBirthDate
(Date value) setBirthDateElement
(DateType value) setCommunication
(List<Patient.PatientCommunicationComponent> theCommunication) setContact
(List<Patient.ContactComponent> theContact) setDeceased
(Type value) setGeneralPractitioner
(List<Reference> theGeneralPractitioner) setIdentifier
(List<Identifier> theIdentifier) setLink
(List<Patient.PatientLinkComponent> theLink) setManagingOrganization
(Reference value) setMaritalStatus
(CodeableConcept value) setMultipleBirth
(Type value) setPhoto
(List<Attachment> thePhoto) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setTelecom
(List<ContactPoint> theTelecom) protected Patient
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
An identifier for this patient. -
active
Whether this patient record is in active use. -
name
A name associated with the individual. -
telecom
A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted. -
gender
Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes. -
birthDate
The date of birth for the individual. -
deceased
Indicates if the individual is deceased or not. -
address
Addresses for the individual. -
maritalStatus
This field contains a patient's most recent marital (civil) status. -
multipleBirth
Indicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer). -
photo
Image of the patient. -
contact
A contact party (e.g. guardian, partner, friend) for the patient. -
animal
This patient is known to be an animal. -
communication
Languages which may be used to communicate with the patient about his or her health. -
generalPractitioner
Patient's nominated care provider. -
generalPractitionerTarget
The actual objects that are the target of the reference (Patient's nominated care provider.) -
managingOrganization
Organization that is the custodian of the patient record. -
managingOrganizationTarget
The actual object that is the target of the reference (Organization that is the custodian of the patient record.) -
link
Link to another patient resource that concerns the same actual patient. -
SP_BIRTHDATE
Search parameter: birthdateDescription: The patient's date of birth
Type: date
Path: Patient.birthDate
- See Also:
-
BIRTHDATE
Fluent Client search parameter constant for birthdateDescription: The patient's date of birth
Type: date
Path: Patient.birthDate
-
SP_DECEASED
Search parameter: deceasedDescription: This patient has been marked as deceased, or as a death date entered
Type: token
Path: Patient.deceased[x]
- See Also:
-
DECEASED
Fluent Client search parameter constant for deceasedDescription: This patient has been marked as deceased, or as a death date entered
Type: token
Path: Patient.deceased[x]
-
SP_ADDRESS_STATE
Search parameter: address-stateDescription: A state specified in an address
Type: string
Path: Patient.address.state
- See Also:
-
ADDRESS_STATE
Fluent Client search parameter constant for address-stateDescription: A state specified in an address
Type: string
Path: Patient.address.state
-
SP_GENDER
Search parameter: genderDescription: Gender of the patient
Type: token
Path: Patient.gender
- See Also:
-
GENDER
Fluent Client search parameter constant for genderDescription: Gender of the patient
Type: token
Path: Patient.gender
-
SP_ANIMAL_SPECIES
Search parameter: animal-speciesDescription: The species for animal patients
Type: token
Path: Patient.animal.species
- See Also:
-
ANIMAL_SPECIES
Fluent Client search parameter constant for animal-speciesDescription: The species for animal patients
Type: token
Path: Patient.animal.species
-
SP_LINK
Search parameter: linkDescription: All patients linked to the given patient
Type: reference
Path: Patient.link.other
- See Also:
-
LINK
Fluent Client search parameter constant for linkDescription: All patients linked to the given patient
Type: reference
Path: Patient.link.other
-
INCLUDE_LINK
Constant for fluent queries to be used to add include statements. Specifies the path value of "Patient:link". -
SP_LANGUAGE
Search parameter: languageDescription: Language code (irrespective of use value)
Type: token
Path: Patient.communication.language
- See Also:
-
LANGUAGE
Fluent Client search parameter constant for languageDescription: Language code (irrespective of use value)
Type: token
Path: Patient.communication.language
-
SP_ANIMAL_BREED
Search parameter: animal-breedDescription: The breed for animal patients
Type: token
Path: Patient.animal.breed
- See Also:
-
ANIMAL_BREED
Fluent Client search parameter constant for animal-breedDescription: The breed for animal patients
Type: token
Path: Patient.animal.breed
-
SP_ADDRESS_COUNTRY
Search parameter: address-countryDescription: A country specified in an address
Type: string
Path: Patient.address.country
- See Also:
-
ADDRESS_COUNTRY
Fluent Client search parameter constant for address-countryDescription: A country specified in an address
Type: string
Path: Patient.address.country
-
SP_DEATH_DATE
Search parameter: death-dateDescription: The date of death has been provided and satisfies this search value
Type: date
Path: Patient.deceasedDateTime
- See Also:
-
DEATH_DATE
Fluent Client search parameter constant for death-dateDescription: The date of death has been provided and satisfies this search value
Type: date
Path: Patient.deceasedDateTime
-
SP_PHONETIC
Search parameter: phoneticDescription: A portion of either family or given name using some kind of phonetic matching algorithm
Type: string
Path: Patient.name
- See Also:
-
PHONETIC
Fluent Client search parameter constant for phoneticDescription: A portion of either family or given name using some kind of phonetic matching algorithm
Type: string
Path: Patient.name
-
SP_TELECOM
Search parameter: telecomDescription: The value in any kind of telecom details of the patient
Type: token
Path: Patient.telecom
- See Also:
-
TELECOM
Fluent Client search parameter constant for telecomDescription: The value in any kind of telecom details of the patient
Type: token
Path: Patient.telecom
-
SP_ADDRESS_CITY
Search parameter: address-cityDescription: A city specified in an address
Type: string
Path: Patient.address.city
- See Also:
-
ADDRESS_CITY
Fluent Client search parameter constant for address-cityDescription: A city specified in an address
Type: string
Path: Patient.address.city
-
SP_EMAIL
Search parameter: emailDescription: A value in an email contact
Type: token
Path: Patient.telecom(system=email)
- See Also:
-
EMAIL
Fluent Client search parameter constant for emailDescription: A value in an email contact
Type: token
Path: Patient.telecom(system=email)
-
SP_IDENTIFIER
Search parameter: identifierDescription: A patient identifier
Type: token
Path: Patient.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: A patient identifier
Type: token
Path: Patient.identifier
-
SP_GIVEN
Search parameter: givenDescription: A portion of the given name of the patient
Type: string
Path: Patient.name.given
- See Also:
-
GIVEN
Fluent Client search parameter constant for givenDescription: A portion of the given name of the patient
Type: string
Path: Patient.name.given
-
SP_ADDRESS
Search parameter: addressDescription: A server defined search that may match any of the string fields in the Address, including line, city, state, country, postalCode, and/or text
Type: string
Path: Patient.address
- See Also:
-
ADDRESS
Fluent Client search parameter constant for addressDescription: A server defined search that may match any of the string fields in the Address, including line, city, state, country, postalCode, and/or text
Type: string
Path: Patient.address
-
SP_GENERAL_PRACTITIONER
Search parameter: general-practitionerDescription: Patient's nominated general practitioner, not the organization that manages the record
Type: reference
Path: Patient.generalPractitioner
- See Also:
-
GENERAL_PRACTITIONER
Fluent Client search parameter constant for general-practitionerDescription: Patient's nominated general practitioner, not the organization that manages the record
Type: reference
Path: Patient.generalPractitioner
-
INCLUDE_GENERAL_PRACTITIONER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Patient:general-practitioner". -
SP_ACTIVE
Search parameter: activeDescription: Whether the patient record is active
Type: token
Path: Patient.active
- See Also:
-
ACTIVE
Fluent Client search parameter constant for activeDescription: Whether the patient record is active
Type: token
Path: Patient.active
-
SP_ADDRESS_POSTALCODE
Search parameter: address-postalcodeDescription: A postalCode specified in an address
Type: string
Path: Patient.address.postalCode
- See Also:
-
ADDRESS_POSTALCODE
Fluent Client search parameter constant for address-postalcodeDescription: A postalCode specified in an address
Type: string
Path: Patient.address.postalCode
-
SP_PHONE
Search parameter: phoneDescription: A value in a phone contact
Type: token
Path: Patient.telecom(system=phone)
- See Also:
-
PHONE
Fluent Client search parameter constant for phoneDescription: A value in a phone contact
Type: token
Path: Patient.telecom(system=phone)
-
SP_ORGANIZATION
Search parameter: organizationDescription: The organization at which this person is a patient
Type: reference
Path: Patient.managingOrganization
- See Also:
-
ORGANIZATION
Fluent Client search parameter constant for organizationDescription: The organization at which this person is a patient
Type: reference
Path: Patient.managingOrganization
-
INCLUDE_ORGANIZATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "Patient:organization". -
SP_NAME
Search parameter: nameDescription: A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
Type: string
Path: Patient.name
- See Also:
-
NAME
Fluent Client search parameter constant for nameDescription: A server defined search that may match any of the string fields in the HumanName, including family, give, prefix, suffix, suffix, and/or text
Type: string
Path: Patient.name
-
SP_ADDRESS_USE
Search parameter: address-useDescription: A use code specified in an address
Type: token
Path: Patient.address.use
- See Also:
-
ADDRESS_USE
Fluent Client search parameter constant for address-useDescription: A use code specified in an address
Type: token
Path: Patient.address.use
-
SP_FAMILY
Search parameter: familyDescription: A portion of the family name of the patient
Type: string
Path: Patient.name.family
- See Also:
-
FAMILY
Fluent Client search parameter constant for familyDescription: A portion of the family name of the patient
Type: string
Path: Patient.name.family
-
-
Constructor Details
-
Patient
public Patient()Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(An identifier for this patient.)
-
setIdentifier
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasIdentifier
-
addIdentifier
-
addIdentifier
-
getIdentifierFirstRep
- Returns:
- The first repetition of repeating field
identifier
, creating it if it does not already exist
-
getActiveElement
- Returns:
active
(Whether this patient record is in active use.). This is the underlying object with id, value and extensions. The accessor "getActive" gives direct access to the value
-
hasActiveElement
-
hasActive
-
setActiveElement
- Parameters:
value
-active
(Whether this patient record is in active use.). This is the underlying object with id, value and extensions. The accessor "getActive" gives direct access to the value
-
getActive
- Returns:
- Whether this patient record is in active use.
-
setActive
- Parameters:
value
- Whether this patient record is in active use.
-
getName
- Returns:
name
(A name associated with the individual.)
-
setName
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasName
-
addName
-
addName
-
getNameFirstRep
- Returns:
- The first repetition of repeating field
name
, creating it if it does not already exist
-
getTelecom
- Returns:
telecom
(A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.)
-
setTelecom
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasTelecom
-
addTelecom
-
addTelecom
-
getTelecomFirstRep
- Returns:
- The first repetition of repeating field
telecom
, creating it if it does not already exist
-
getGenderElement
- Returns:
gender
(Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.). This is the underlying object with id, value and extensions. The accessor "getGender" gives direct access to the value
-
hasGenderElement
-
hasGender
-
setGenderElement
- Parameters:
value
-gender
(Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.). This is the underlying object with id, value and extensions. The accessor "getGender" gives direct access to the value
-
getGender
- Returns:
- Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.
-
setGender
- Parameters:
value
- Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.
-
getBirthDateElement
- Returns:
birthDate
(The date of birth for the individual.). This is the underlying object with id, value and extensions. The accessor "getBirthDate" gives direct access to the value
-
hasBirthDateElement
-
hasBirthDate
-
setBirthDateElement
- Parameters:
value
-birthDate
(The date of birth for the individual.). This is the underlying object with id, value and extensions. The accessor "getBirthDate" gives direct access to the value
-
getBirthDate
- Returns:
- The date of birth for the individual.
-
setBirthDate
- Parameters:
value
- The date of birth for the individual.
-
getDeceased
- Returns:
deceased
(Indicates if the individual is deceased or not.)
-
getDeceasedBooleanType
- Returns:
deceased
(Indicates if the individual is deceased or not.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasDeceasedBooleanType
-
getDeceasedDateTimeType
- Returns:
deceased
(Indicates if the individual is deceased or not.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasDeceasedDateTimeType
-
hasDeceased
-
setDeceased
- Parameters:
value
-deceased
(Indicates if the individual is deceased or not.)- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
getAddress
- Returns:
address
(Addresses for the individual.)
-
setAddress
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasAddress
-
addAddress
-
addAddress
-
getAddressFirstRep
- Returns:
- The first repetition of repeating field
address
, creating it if it does not already exist
-
getMaritalStatus
- Returns:
maritalStatus
(This field contains a patient's most recent marital (civil) status.)
-
hasMaritalStatus
-
setMaritalStatus
- Parameters:
value
-maritalStatus
(This field contains a patient's most recent marital (civil) status.)
-
getMultipleBirth
- Returns:
multipleBirth
(Indicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer).)
-
getMultipleBirthBooleanType
- Returns:
multipleBirth
(Indicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer).)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasMultipleBirthBooleanType
-
getMultipleBirthIntegerType
- Returns:
multipleBirth
(Indicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer).)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasMultipleBirthIntegerType
-
hasMultipleBirth
-
setMultipleBirth
- Parameters:
value
-multipleBirth
(Indicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer).)- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
getPhoto
- Returns:
photo
(Image of the patient.)
-
setPhoto
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasPhoto
-
addPhoto
-
addPhoto
-
getPhotoFirstRep
- Returns:
- The first repetition of repeating field
photo
, creating it if it does not already exist
-
getContact
- Returns:
contact
(A contact party (e.g. guardian, partner, friend) for the patient.)
-
setContact
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasContact
-
addContact
-
addContact
-
getContactFirstRep
- Returns:
- The first repetition of repeating field
contact
, creating it if it does not already exist
-
getAnimal
- Returns:
animal
(This patient is known to be an animal.)
-
hasAnimal
-
setAnimal
- Parameters:
value
-animal
(This patient is known to be an animal.)
-
getCommunication
- Returns:
communication
(Languages which may be used to communicate with the patient about his or her health.)
-
setCommunication
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasCommunication
-
addCommunication
-
addCommunication
-
getCommunicationFirstRep
- Returns:
- The first repetition of repeating field
communication
, creating it if it does not already exist
-
getGeneralPractitioner
- Returns:
generalPractitioner
(Patient's nominated care provider.)
-
setGeneralPractitioner
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasGeneralPractitioner
-
addGeneralPractitioner
-
addGeneralPractitioner
-
getGeneralPractitionerFirstRep
- Returns:
- The first repetition of repeating field
generalPractitioner
, creating it if it does not already exist
-
getGeneralPractitionerTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
getManagingOrganization
- Returns:
managingOrganization
(Organization that is the custodian of the patient record.)
-
hasManagingOrganization
-
setManagingOrganization
- Parameters:
value
-managingOrganization
(Organization that is the custodian of the patient record.)
-
getManagingOrganizationTarget
- Returns:
managingOrganization
The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Organization that is the custodian of the patient record.)
-
setManagingOrganizationTarget
- Parameters:
value
-managingOrganization
The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Organization that is the custodian of the patient record.)
-
getLink
- Returns:
link
(Link to another patient resource that concerns the same actual patient.)
-
setLink
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasLink
-
addLink
-
addLink
-
getLinkFirstRep
- Returns:
- The first repetition of repeating field
link
, creating it if it does not already exist
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-