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.
|
protected List<Address> |
address
Addresses for the individual.
|
protected Patient.AnimalComponent |
animal
This patient is known to be an animal.
|
protected DateType |
birthDate
The date of birth for the individual.
|
protected List<Reference> |
careProvider
Patient's nominated care provider.
|
protected List<Resource> |
careProviderTarget
The actual objects that are the target of the reference (Patient's nominated care provider.)
|
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.
|
protected Type |
deceased
Indicates if the individual is deceased or not.
|
protected Enumeration<Enumerations.AdministrativeGender> |
gender
Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes.
|
protected List<Identifier> |
identifier
An identifier for this patient.
|
protected List<Patient.PatientLinkComponent> |
link
Link to another patient resource that concerns the same actual patient.
|
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 or indicates the actual birth order.
|
protected List<HumanName> |
name
A name associated with the individual.
|
protected List<Attachment> |
photo
Image of the patient.
|
static String |
SP_ACTIVE |
static String |
SP_ADDRESS |
static String |
SP_ADDRESSCITY |
static String |
SP_ADDRESSCOUNTRY |
static String |
SP_ADDRESSPOSTALCODE |
static String |
SP_ADDRESSSTATE |
static String |
SP_ADDRESSUSE |
static String |
SP_ANIMALBREED |
static String |
SP_ANIMALSPECIES |
static String |
SP_BIRTHDATE |
static String |
SP_CAREPROVIDER |
static String |
SP_DEATHDATE |
static String |
SP_DECEASED |
static String |
SP_EMAIL |
static String |
SP_FAMILY |
static String |
SP_GENDER |
static String |
SP_GIVEN |
static String |
SP_IDENTIFIER |
static String |
SP_LANGUAGE |
static String |
SP_LINK |
static String |
SP_NAME |
static String |
SP_ORGANIZATION |
static String |
SP_PHONE |
static String |
SP_PHONETIC |
static String |
SP_TELECOM |
protected List<ContactPoint> |
telecom
A contact detail (e.g.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Patient() |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected 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> careProvider
protected List<Resource> careProviderTarget
protected Reference managingOrganization
protected Organization managingOrganizationTarget
protected List<Patient.PatientLinkComponent> link
public static final String SP_BIRTHDATE
public static final String SP_DECEASED
public static final String SP_ADDRESSSTATE
public static final String SP_GENDER
public static final String SP_ANIMALSPECIES
public static final String SP_LINK
public static final String SP_LANGUAGE
public static final String SP_DEATHDATE
public static final String SP_ANIMALBREED
public static final String SP_ADDRESSCOUNTRY
public static final String SP_PHONETIC
public static final String SP_TELECOM
public static final String SP_ADDRESSCITY
public static final String SP_EMAIL
public static final String SP_IDENTIFIER
public static final String SP_GIVEN
public static final String SP_ADDRESS
public static final String SP_ACTIVE
public static final String SP_ADDRESSPOSTALCODE
public static final String SP_CAREPROVIDER
public static final String SP_PHONE
public static final String SP_ORGANIZATION
public static final String SP_NAME
public static final String SP_ADDRESSUSE
public static final String SP_FAMILY
public Patient()
public List<Identifier> getIdentifier()
identifier (An identifier for this patient.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (An identifier for this patient.)public Patient addIdentifier(Identifier t)
public 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 boolean hasName()
public List<ContactPoint> getTelecom()
telecom (A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.)public boolean hasTelecom()
public ContactPoint addTelecom()
telecom (A contact detail (e.g. a telephone number or an email address) by which the individual may be contacted.)public Patient addTelecom(ContactPoint t)
public 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 org.hl7.fhir.exceptions.FHIRException
deceased (Indicates if the individual is deceased or not.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasDeceasedBooleanType()
public DateTimeType getDeceasedDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
deceased (Indicates if the individual is deceased or not.)org.hl7.fhir.exceptions.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 boolean hasAddress()
public Address addAddress()
address (Addresses for the individual.)public Patient addAddress(Address t)
public 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 or indicates the actual birth order.)public BooleanType getMultipleBirthBooleanType() throws org.hl7.fhir.exceptions.FHIRException
multipleBirth (Indicates whether the patient is part of a multiple or indicates the actual birth order.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasMultipleBirthBooleanType()
public IntegerType getMultipleBirthIntegerType() throws org.hl7.fhir.exceptions.FHIRException
multipleBirth (Indicates whether the patient is part of a multiple or indicates the actual birth order.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasMultipleBirthIntegerType()
public boolean hasMultipleBirth()
public Patient setMultipleBirth(Type value)
value - multipleBirth (Indicates whether the patient is part of a multiple or indicates the actual birth order.)public List<Attachment> getPhoto()
photo (Image of the patient.)public boolean hasPhoto()
public Attachment addPhoto()
photo (Image of the patient.)public Patient addPhoto(Attachment t)
public List<Patient.ContactComponent> getContact()
contact (A contact party (e.g. guardian, partner, friend) for the patient.)public boolean hasContact()
public Patient.ContactComponent addContact()
contact (A contact party (e.g. guardian, partner, friend) for the patient.)public Patient addContact(Patient.ContactComponent t)
public 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 boolean hasCommunication()
public Patient.PatientCommunicationComponent addCommunication()
communication (Languages which may be used to communicate with the patient about his or her health.)public Patient addCommunication(Patient.PatientCommunicationComponent t)
public List<Reference> getCareProvider()
careProvider (Patient's nominated care provider.)public boolean hasCareProvider()
public Reference addCareProvider()
careProvider (Patient's nominated care provider.)public Patient addCareProvider(Reference t)
public List<Resource> getCareProviderTarget()
careProvider (The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Patient's nominated care provider.)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 boolean hasLink()
public Patient.PatientLinkComponent addLink()
link (Link to another patient resource that concerns the same actual patient.)public Patient addLink(Patient.PatientLinkComponent t)
protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic 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 org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.