public class Patient extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Patient.AnimalComponent |
static class |
Patient.ContactComponent |
static class |
Patient.LinkType |
static class |
Patient.LinkTypeEnumFactory |
static class |
Patient.PatientCommunicationComponent |
static class |
Patient.PatientLinkComponent |
| Modifier and Type | Field and Description |
|---|---|
protected BooleanType |
active
Whether this patient record is in active use.
|
static TokenClientParam |
ACTIVE
Fluent Client search parameter constant for active
|
protected List<Address> |
address
Addresses for the individual.
|
static StringClientParam |
ADDRESS
Fluent Client search parameter constant for address
|
static StringClientParam |
ADDRESS_CITY
Fluent Client search parameter constant for address-city
|
static StringClientParam |
ADDRESS_COUNTRY
Fluent Client search parameter constant for address-country
|
static StringClientParam |
ADDRESS_POSTALCODE
Fluent Client search parameter constant for address-postalcode
|
static StringClientParam |
ADDRESS_STATE
Fluent Client search parameter constant for address-state
|
static TokenClientParam |
ADDRESS_USE
Fluent Client search parameter constant for address-use
|
protected Patient.AnimalComponent |
animal
This patient is known to be an animal.
|
static TokenClientParam |
ANIMAL_BREED
Fluent Client search parameter constant for animal-breed
|
static TokenClientParam |
ANIMAL_SPECIES
Fluent Client search parameter constant for animal-species
|
protected DateType |
birthDate
The date of birth for the individual.
|
static DateClientParam |
BIRTHDATE
Fluent Client search parameter constant for birthdate
|
protected List<Patient.PatientCommunicationComponent> |
communication
Languages which may be used to communicate with the patient about his or her health.
|
protected List<Patient.ContactComponent> |
contact
A contact party (e.g.
|
static DateClientParam |
DEATH_DATE
Fluent Client search parameter constant for death-date
|
protected Type |
deceased
Indicates if the individual is deceased or not.
|
static TokenClientParam |
DECEASED
Fluent Client search parameter constant for deceased
|
static TokenClientParam |
EMAIL
Fluent Client search parameter constant for email
|
static StringClientParam |
FAMILY
Fluent Client search parameter constant for family
|
protected Enumeration<Enumerations.AdministrativeGender> |
gender
Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.
|
static TokenClientParam |
GENDER
Fluent Client search parameter constant for gender
|
static ReferenceClientParam |
GENERAL_PRACTITIONER
Fluent Client search parameter constant for general-practitioner
|
protected List<Reference> |
generalPractitioner
Patient's nominated care provider.
|
protected List<Resource> |
generalPractitionerTarget
The actual objects that are the target of the reference (Patient's nominated care provider.)
|
static StringClientParam |
GIVEN
Fluent Client search parameter constant for given
|
protected List<Identifier> |
identifier
An identifier for this patient.
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_GENERAL_PRACTITIONER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_LINK
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_ORGANIZATION
Constant for fluent queries to be used to add include statements.
|
static TokenClientParam |
LANGUAGE
Fluent Client search parameter constant for language
|
protected List<Patient.PatientLinkComponent> |
link
Link to another patient resource that concerns the same actual patient.
|
static ReferenceClientParam |
LINK
Fluent Client search parameter constant for link
|
protected Reference |
managingOrganization
Organization that is the custodian of the patient record.
|
protected Organization |
managingOrganizationTarget
The actual object that is the target of the reference (Organization that is the custodian of the patient record.)
|
protected CodeableConcept |
maritalStatus
This field contains a patient's most recent marital (civil) status.
|
protected Type |
multipleBirth
Indicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer).
|
protected List<HumanName> |
name
A name associated with the individual.
|
static StringClientParam |
NAME
Fluent Client search parameter constant for name
|
static ReferenceClientParam |
ORGANIZATION
Fluent Client search parameter constant for organization
|
static TokenClientParam |
PHONE
Fluent Client search parameter constant for phone
|
static StringClientParam |
PHONETIC
Fluent Client search parameter constant for phonetic
|
protected List<Attachment> |
photo
Image of the patient.
|
static String |
SP_ACTIVE
Search parameter: active
|
static String |
SP_ADDRESS
Search parameter: address
|
static String |
SP_ADDRESS_CITY
Search parameter: address-city
|
static String |
SP_ADDRESS_COUNTRY
Search parameter: address-country
|
static String |
SP_ADDRESS_POSTALCODE
Search parameter: address-postalcode
|
static String |
SP_ADDRESS_STATE
Search parameter: address-state
|
static String |
SP_ADDRESS_USE
Search parameter: address-use
|
static String |
SP_ANIMAL_BREED
Search parameter: animal-breed
|
static String |
SP_ANIMAL_SPECIES
Search parameter: animal-species
|
static String |
SP_BIRTHDATE
Search parameter: birthdate
|
static String |
SP_DEATH_DATE
Search parameter: death-date
|
static String |
SP_DECEASED
Search parameter: deceased
|
static String |
SP_EMAIL
Search parameter: email
|
static String |
SP_FAMILY
Search parameter: family
|
static String |
SP_GENDER
Search parameter: gender
|
static String |
SP_GENERAL_PRACTITIONER
Search parameter: general-practitioner
|
static String |
SP_GIVEN
Search parameter: given
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_LANGUAGE
Search parameter: language
|
static String |
SP_LINK
Search parameter: link
|
static String |
SP_NAME
Search parameter: name
|
static String |
SP_ORGANIZATION
Search parameter: organization
|
static String |
SP_PHONE
Search parameter: phone
|
static String |
SP_PHONETIC
Search parameter: phonetic
|
static String |
SP_TELECOM
Search parameter: telecom
|
protected List<ContactPoint> |
telecom
A contact detail (e.g.
|
static TokenClientParam |
TELECOM
Fluent Client search parameter constant for telecom
|
contained, extension, modifierExtension, textid, implicitRules, language, metaRES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
Patient()
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDatagetMeta, getStructureFhirVersionEnum, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected List<Identifier> identifier
protected BooleanType active
protected List<ContactPoint> telecom
protected Enumeration<Enumerations.AdministrativeGender> gender
protected CodeableConcept maritalStatus
protected Type multipleBirth
protected List<Attachment> photo
protected List<Patient.ContactComponent> contact
protected Patient.AnimalComponent animal
protected List<Patient.PatientCommunicationComponent> communication
protected List<Reference> generalPractitioner
protected List<Resource> generalPractitionerTarget
protected Reference managingOrganization
protected Organization managingOrganizationTarget
protected List<Patient.PatientLinkComponent> link
public static final String SP_BIRTHDATE
Description: The patient's date of birth
Type: date
Path: Patient.birthDate
public static final DateClientParam BIRTHDATE
Description: The patient's date of birth
Type: date
Path: Patient.birthDate
public static final String SP_DECEASED
Description: This patient has been marked as deceased, or as a death date entered
Type: token
Path: Patient.deceased[x]
public static final TokenClientParam DECEASED
Description: This patient has been marked as deceased, or as a death date entered
Type: token
Path: Patient.deceased[x]
public static final String SP_ADDRESS_STATE
Description: A state specified in an address
Type: string
Path: Patient.address.state
public static final StringClientParam ADDRESS_STATE
Description: A state specified in an address
Type: string
Path: Patient.address.state
public static final String SP_GENDER
Description: Gender of the patient
Type: token
Path: Patient.gender
public static final TokenClientParam GENDER
Description: Gender of the patient
Type: token
Path: Patient.gender
public static final String SP_ANIMAL_SPECIES
Description: The species for animal patients
Type: token
Path: Patient.animal.species
public static final TokenClientParam ANIMAL_SPECIES
Description: The species for animal patients
Type: token
Path: Patient.animal.species
public static final String SP_LINK
Description: All patients linked to the given patient
Type: reference
Path: Patient.link.other
public static final ReferenceClientParam LINK
Description: All patients linked to the given patient
Type: reference
Path: Patient.link.other
public static final Include INCLUDE_LINK
public static final String SP_LANGUAGE
Description: Language code (irrespective of use value)
Type: token
Path: Patient.communication.language
public static final TokenClientParam LANGUAGE
Description: Language code (irrespective of use value)
Type: token
Path: Patient.communication.language
public static final String SP_ANIMAL_BREED
Description: The breed for animal patients
Type: token
Path: Patient.animal.breed
public static final TokenClientParam ANIMAL_BREED
Description: The breed for animal patients
Type: token
Path: Patient.animal.breed
public static final String SP_ADDRESS_COUNTRY
Description: A country specified in an address
Type: string
Path: Patient.address.country
public static final StringClientParam ADDRESS_COUNTRY
Description: A country specified in an address
Type: string
Path: Patient.address.country
public static final String SP_DEATH_DATE
Description: The date of death has been provided and satisfies this search value
Type: date
Path: Patient.deceasedDateTime
public static final DateClientParam DEATH_DATE
Description: The date of death has been provided and satisfies this search value
Type: date
Path: Patient.deceasedDateTime
public static final String SP_PHONETIC
Description: A portion of either family or given name using some kind of phonetic matching algorithm
Type: string
Path: Patient.name
public static final StringClientParam PHONETIC
Description: A portion of either family or given name using some kind of phonetic matching algorithm
Type: string
Path: Patient.name
public static final String SP_TELECOM
Description: The value in any kind of telecom details of the patient
Type: token
Path: Patient.telecom
public static final TokenClientParam TELECOM
Description: The value in any kind of telecom details of the patient
Type: token
Path: Patient.telecom
public static final String SP_ADDRESS_CITY
Description: A city specified in an address
Type: string
Path: Patient.address.city
public static final StringClientParam ADDRESS_CITY
Description: A city specified in an address
Type: string
Path: Patient.address.city
public static final String SP_EMAIL
Description: A value in an email contact
Type: token
Path: Patient.telecom(system=email)
public static final TokenClientParam EMAIL
Description: A value in an email contact
Type: token
Path: Patient.telecom(system=email)
public static final String SP_IDENTIFIER
Description: A patient identifier
Type: token
Path: Patient.identifier
public static final TokenClientParam IDENTIFIER
Description: A patient identifier
Type: token
Path: Patient.identifier
public static final String SP_GIVEN
Description: A portion of the given name of the patient
Type: string
Path: Patient.name.given
public static final StringClientParam GIVEN
Description: A portion of the given name of the patient
Type: string
Path: Patient.name.given
public static final String SP_ADDRESS
Description: 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
public static final StringClientParam ADDRESS
Description: 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
public static final String SP_GENERAL_PRACTITIONER
Description: Patient's nominated general practitioner, not the organization that manages the record
Type: reference
Path: Patient.generalPractitioner
public static final ReferenceClientParam GENERAL_PRACTITIONER
Description: Patient's nominated general practitioner, not the organization that manages the record
Type: reference
Path: Patient.generalPractitioner
public static final Include INCLUDE_GENERAL_PRACTITIONER
public static final String SP_ACTIVE
Description: Whether the patient record is active
Type: token
Path: Patient.active
public static final TokenClientParam ACTIVE
Description: Whether the patient record is active
Type: token
Path: Patient.active
public static final String SP_ADDRESS_POSTALCODE
Description: A postalCode specified in an address
Type: string
Path: Patient.address.postalCode
public static final StringClientParam ADDRESS_POSTALCODE
Description: A postalCode specified in an address
Type: string
Path: Patient.address.postalCode
public static final String SP_PHONE
Description: A value in a phone contact
Type: token
Path: Patient.telecom(system=phone)
public static final TokenClientParam PHONE
Description: A value in a phone contact
Type: token
Path: Patient.telecom(system=phone)
public static final String SP_ORGANIZATION
Description: The organization at which this person is a patient
Type: reference
Path: Patient.managingOrganization
public static final ReferenceClientParam ORGANIZATION
Description: The organization at which this person is a patient
Type: reference
Path: Patient.managingOrganization
public static final Include INCLUDE_ORGANIZATION
public static final String SP_NAME
Description: 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
public static final StringClientParam NAME
Description: 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
public static final String SP_ADDRESS_USE
Description: A use code specified in an address
Type: token
Path: Patient.address.use
public static final TokenClientParam ADDRESS_USE
Description: A use code specified in an address
Type: token
Path: Patient.address.use
public static final String SP_FAMILY
Description: A portion of the family name of the patient
Type: string
Path: Patient.name.family
public static final StringClientParam FAMILY
Description: A portion of the family name of the patient
Type: string
Path: Patient.name.family
public Patient()
public List<Identifier> getIdentifier()
identifier (An identifier for this patient.)public Patient setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public Patient addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic BooleanType getActiveElement()
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 valuepublic boolean hasActiveElement()
public boolean hasActive()
public Patient setActiveElement(BooleanType value)
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 valuepublic boolean getActive()
public Patient setActive(boolean value)
value - Whether this patient record is in active use.public Patient setName(List<HumanName> theName)
this for easy method chainingpublic boolean hasName()
public HumanName getNameFirstRep()
name, creating it if it does not already existpublic List<ContactPoint> getTelecom()
telecom (A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.)public Patient setTelecom(List<ContactPoint> theTelecom)
this for easy method chainingpublic boolean hasTelecom()
public ContactPoint addTelecom()
public Patient addTelecom(ContactPoint t)
public ContactPoint getTelecomFirstRep()
telecom, creating it if it does not already existpublic Enumeration<Enumerations.AdministrativeGender> getGenderElement()
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 valuepublic boolean hasGenderElement()
public boolean hasGender()
public Patient setGenderElement(Enumeration<Enumerations.AdministrativeGender> value)
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 valuepublic Enumerations.AdministrativeGender getGender()
public Patient setGender(Enumerations.AdministrativeGender value)
value - Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.public DateType getBirthDateElement()
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 valuepublic boolean hasBirthDateElement()
public boolean hasBirthDate()
public Patient setBirthDateElement(DateType value)
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 valuepublic Date getBirthDate()
public Patient setBirthDate(Date value)
value - The date of birth for the individual.public Type getDeceased()
deceased (Indicates if the individual is deceased or not.)public BooleanType getDeceasedBooleanType() throws FHIRException
deceased (Indicates if the individual is deceased or not.)FHIRExceptionpublic boolean hasDeceasedBooleanType()
public DateTimeType getDeceasedDateTimeType() throws FHIRException
deceased (Indicates if the individual is deceased or not.)FHIRExceptionpublic boolean hasDeceasedDateTimeType()
public boolean hasDeceased()
public Patient setDeceased(Type value)
value - deceased (Indicates if the individual is deceased or not.)public List<Address> getAddress()
address (Addresses for the individual.)public Patient setAddress(List<Address> theAddress)
this for easy method chainingpublic boolean hasAddress()
public Address addAddress()
public Patient addAddress(Address t)
public Address getAddressFirstRep()
address, creating it if it does not already existpublic CodeableConcept getMaritalStatus()
maritalStatus (This field contains a patient's most recent marital (civil) status.)public boolean hasMaritalStatus()
public Patient setMaritalStatus(CodeableConcept value)
value - maritalStatus (This field contains a patient's most recent marital (civil) status.)public Type getMultipleBirth()
multipleBirth (Indicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer).)public BooleanType getMultipleBirthBooleanType() throws FHIRException
multipleBirth (Indicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer).)FHIRExceptionpublic boolean hasMultipleBirthBooleanType()
public IntegerType getMultipleBirthIntegerType() throws FHIRException
multipleBirth (Indicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer).)FHIRExceptionpublic boolean hasMultipleBirthIntegerType()
public boolean hasMultipleBirth()
public Patient setMultipleBirth(Type value)
value - multipleBirth (Indicates whether the patient is part of a multiple (bool) or indicates the actual birth order (integer).)public List<Attachment> getPhoto()
photo (Image of the patient.)public Patient setPhoto(List<Attachment> thePhoto)
this for easy method chainingpublic boolean hasPhoto()
public Attachment addPhoto()
public Patient addPhoto(Attachment t)
public Attachment getPhotoFirstRep()
photo, creating it if it does not already existpublic List<Patient.ContactComponent> getContact()
contact (A contact party (e.g. guardian, partner, friend) for the patient.)public Patient setContact(List<Patient.ContactComponent> theContact)
this for easy method chainingpublic boolean hasContact()
public Patient.ContactComponent addContact()
public Patient addContact(Patient.ContactComponent t)
public Patient.ContactComponent getContactFirstRep()
contact, creating it if it does not already existpublic Patient.AnimalComponent getAnimal()
animal (This patient is known to be an animal.)public boolean hasAnimal()
public Patient setAnimal(Patient.AnimalComponent value)
value - animal (This patient is known to be an animal.)public List<Patient.PatientCommunicationComponent> getCommunication()
communication (Languages which may be used to communicate with the patient about his or her health.)public Patient setCommunication(List<Patient.PatientCommunicationComponent> theCommunication)
this for easy method chainingpublic boolean hasCommunication()
public Patient.PatientCommunicationComponent addCommunication()
public Patient addCommunication(Patient.PatientCommunicationComponent t)
public Patient.PatientCommunicationComponent getCommunicationFirstRep()
communication, creating it if it does not already existpublic List<Reference> getGeneralPractitioner()
generalPractitioner (Patient's nominated care provider.)public Patient setGeneralPractitioner(List<Reference> theGeneralPractitioner)
this for easy method chainingpublic boolean hasGeneralPractitioner()
public Reference addGeneralPractitioner()
public Patient addGeneralPractitioner(Reference t)
public Reference getGeneralPractitionerFirstRep()
generalPractitioner, creating it if it does not already exist@Deprecated public List<Resource> getGeneralPractitionerTarget()
public Reference getManagingOrganization()
managingOrganization (Organization that is the custodian of the patient record.)public boolean hasManagingOrganization()
public Patient setManagingOrganization(Reference value)
value - managingOrganization (Organization that is the custodian of the patient record.)public Organization getManagingOrganizationTarget()
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.)public Patient setManagingOrganizationTarget(Organization value)
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.)public List<Patient.PatientLinkComponent> getLink()
link (Link to another patient resource that concerns the same actual patient.)public Patient setLink(List<Patient.PatientLinkComponent> theLink)
this for easy method chainingpublic boolean hasLink()
public Patient.PatientLinkComponent addLink()
public Patient addLink(Patient.PatientLinkComponent t)
public Patient.PatientLinkComponent getLinkFirstRep()
link, creating it if it does not already existprotected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class DomainResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class DomainResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class DomainResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class DomainResourceFHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic Patient copy()
copy in class DomainResourcepublic boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2017 University Health Network. All rights reserved.