public class Person extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
Person.IdentityAssuranceLevel |
static class |
Person.IdentityAssuranceLevelEnumFactory |
static class |
Person.PersonLinkComponent |
| Modifier and Type | Field and Description |
|---|---|
protected BooleanType |
active
Whether this person's record is in active use.
|
protected List<Address> |
address
One or more addresses for the person.
|
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 DateType |
birthDate
The birth date for the person.
|
static DateClientParam |
BIRTHDATE
Fluent Client search parameter constant for birthdate
|
static TokenClientParam |
EMAIL
Fluent Client search parameter constant for email
|
protected Enumeration<Enumerations.AdministrativeGender> |
gender
Administrative Gender.
|
static TokenClientParam |
GENDER
Fluent Client search parameter constant for gender
|
protected List<Identifier> |
identifier
Identifier for a person within a particular scope.
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
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 Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PRACTITIONER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_RELATEDPERSON
Constant for fluent queries to be used to add include statements.
|
protected List<Person.PersonLinkComponent> |
link
Link to a resource that concerns the same actual person.
|
static ReferenceClientParam |
LINK
Fluent Client search parameter constant for link
|
protected Reference |
managingOrganization
The organization that is the custodian of the person record.
|
protected Organization |
managingOrganizationTarget
The actual object that is the target of the reference (The organization that is the custodian of the person record.)
|
protected List<HumanName> |
name
A name associated with the person.
|
static StringClientParam |
NAME
Fluent Client search parameter constant for name
|
static ReferenceClientParam |
ORGANIZATION
Fluent Client search parameter constant for organization
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static TokenClientParam |
PHONE
Fluent Client search parameter constant for phone
|
static StringClientParam |
PHONETIC
Fluent Client search parameter constant for phonetic
|
protected Attachment |
photo
An image that can be displayed as a thumbnail of the person to enhance the identification of the individual.
|
static ReferenceClientParam |
PRACTITIONER
Fluent Client search parameter constant for practitioner
|
static ReferenceClientParam |
RELATEDPERSON
Fluent Client search parameter constant for relatedperson
|
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_BIRTHDATE
Search parameter: birthdate
|
static String |
SP_EMAIL
Search parameter: email
|
static String |
SP_GENDER
Search parameter: gender
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_LINK
Search parameter: link
|
static String |
SP_NAME
Search parameter: name
|
static String |
SP_ORGANIZATION
Search parameter: organization
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_PHONE
Search parameter: phone
|
static String |
SP_PHONETIC
Search parameter: phonetic
|
static String |
SP_PRACTITIONER
Search parameter: practitioner
|
static String |
SP_RELATEDPERSON
Search parameter: relatedperson
|
static String |
SP_TELECOM
Search parameter: telecom
|
protected List<ContactPoint> |
telecom
A contact detail for the person, 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 |
|---|
Person()
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 List<ContactPoint> telecom
protected Enumeration<Enumerations.AdministrativeGender> gender
protected Attachment photo
protected Reference managingOrganization
protected Organization managingOrganizationTarget
protected BooleanType active
protected List<Person.PersonLinkComponent> link
public static final String SP_IDENTIFIER
Description: A person Identifier
Type: token
Path: Person.identifier
public static final TokenClientParam IDENTIFIER
Description: A person Identifier
Type: token
Path: Person.identifier
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: Person.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: Person.address
public static final String SP_BIRTHDATE
Description: The person's date of birth
Type: date
Path: Person.birthDate
public static final DateClientParam BIRTHDATE
Description: The person's date of birth
Type: date
Path: Person.birthDate
public static final String SP_ADDRESS_STATE
Description: A state specified in an address
Type: string
Path: Person.address.state
public static final StringClientParam ADDRESS_STATE
Description: A state specified in an address
Type: string
Path: Person.address.state
public static final String SP_GENDER
Description: The gender of the person
Type: token
Path: Person.gender
public static final TokenClientParam GENDER
Description: The gender of the person
Type: token
Path: Person.gender
public static final String SP_PRACTITIONER
Description: The Person links to this Practitioner
Type: reference
Path: Person.link.target
public static final ReferenceClientParam PRACTITIONER
Description: The Person links to this Practitioner
Type: reference
Path: Person.link.target
public static final Include INCLUDE_PRACTITIONER
public static final String SP_LINK
Description: Any link has this Patient, Person, RelatedPerson or Practitioner reference
Type: reference
Path: Person.link.target
public static final ReferenceClientParam LINK
Description: Any link has this Patient, Person, RelatedPerson or Practitioner reference
Type: reference
Path: Person.link.target
public static final Include INCLUDE_LINK
public static final String SP_RELATEDPERSON
Description: The Person links to this RelatedPerson
Type: reference
Path: Person.link.target
public static final ReferenceClientParam RELATEDPERSON
Description: The Person links to this RelatedPerson
Type: reference
Path: Person.link.target
public static final Include INCLUDE_RELATEDPERSON
public static final String SP_ADDRESS_POSTALCODE
Description: A postal code specified in an address
Type: string
Path: Person.address.postalCode
public static final StringClientParam ADDRESS_POSTALCODE
Description: A postal code specified in an address
Type: string
Path: Person.address.postalCode
public static final String SP_ADDRESS_COUNTRY
Description: A country specified in an address
Type: string
Path: Person.address.country
public static final StringClientParam ADDRESS_COUNTRY
Description: A country specified in an address
Type: string
Path: Person.address.country
public static final String SP_PHONETIC
Description: A portion of name using some kind of phonetic matching algorithm
Type: string
Path: Person.name
public static final StringClientParam PHONETIC
Description: A portion of name using some kind of phonetic matching algorithm
Type: string
Path: Person.name
public static final String SP_PHONE
Description: A value in a phone contact
Type: token
Path: Person.telecom(system=phone)
public static final TokenClientParam PHONE
Description: A value in a phone contact
Type: token
Path: Person.telecom(system=phone)
public static final String SP_PATIENT
Description: The Person links to this Patient
Type: reference
Path: Person.link.target
public static final ReferenceClientParam PATIENT
Description: The Person links to this Patient
Type: reference
Path: Person.link.target
public static final Include INCLUDE_PATIENT
public static final String SP_ORGANIZATION
Description: The organization at which this person record is being managed
Type: reference
Path: Person.managingOrganization
public static final ReferenceClientParam ORGANIZATION
Description: The organization at which this person record is being managed
Type: reference
Path: Person.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: Person.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: Person.name
public static final String SP_ADDRESS_USE
Description: A use code specified in an address
Type: token
Path: Person.address.use
public static final TokenClientParam ADDRESS_USE
Description: A use code specified in an address
Type: token
Path: Person.address.use
public static final String SP_TELECOM
Description: The value in any kind of contact
Type: token
Path: Person.telecom
public static final TokenClientParam TELECOM
Description: The value in any kind of contact
Type: token
Path: Person.telecom
public static final String SP_ADDRESS_CITY
Description: A city specified in an address
Type: string
Path: Person.address.city
public static final StringClientParam ADDRESS_CITY
Description: A city specified in an address
Type: string
Path: Person.address.city
public static final String SP_EMAIL
Description: A value in an email contact
Type: token
Path: Person.telecom(system=email)
public static final TokenClientParam EMAIL
Description: A value in an email contact
Type: token
Path: Person.telecom(system=email)
public Person()
public List<Identifier> getIdentifier()
identifier (Identifier for a person within a particular scope.)public Person setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public Person addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic Person 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 for the person, e.g. a telephone number or an email address.)public Person setTelecom(List<ContactPoint> theTelecom)
this for easy method chainingpublic boolean hasTelecom()
public ContactPoint addTelecom()
public Person addTelecom(ContactPoint t)
public ContactPoint getTelecomFirstRep()
telecom, creating it if it does not already existpublic Enumeration<Enumerations.AdministrativeGender> getGenderElement()
gender (Administrative Gender.). 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 Person setGenderElement(Enumeration<Enumerations.AdministrativeGender> value)
value - gender (Administrative Gender.). This is the underlying object with id, value and extensions. The accessor "getGender" gives direct access to the valuepublic Enumerations.AdministrativeGender getGender()
public Person setGender(Enumerations.AdministrativeGender value)
value - Administrative Gender.public DateType getBirthDateElement()
birthDate (The birth date for the person.). 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 Person setBirthDateElement(DateType value)
value - birthDate (The birth date for the person.). This is the underlying object with id, value and extensions. The accessor "getBirthDate" gives direct access to the valuepublic Date getBirthDate()
public Person setBirthDate(Date value)
value - The birth date for the person.public List<Address> getAddress()
address (One or more addresses for the person.)public Person setAddress(List<Address> theAddress)
this for easy method chainingpublic boolean hasAddress()
public Address addAddress()
public Person addAddress(Address t)
public Address getAddressFirstRep()
address, creating it if it does not already existpublic Attachment getPhoto()
photo (An image that can be displayed as a thumbnail of the person to enhance the identification of the individual.)public boolean hasPhoto()
public Person setPhoto(Attachment value)
value - photo (An image that can be displayed as a thumbnail of the person to enhance the identification of the individual.)public Reference getManagingOrganization()
managingOrganization (The organization that is the custodian of the person record.)public boolean hasManagingOrganization()
public Person setManagingOrganization(Reference value)
value - managingOrganization (The organization that is the custodian of the person 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. (The organization that is the custodian of the person record.)public Person 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. (The organization that is the custodian of the person record.)public BooleanType getActiveElement()
active (Whether this person's 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 Person setActiveElement(BooleanType value)
value - active (Whether this person's 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 Person setActive(boolean value)
value - Whether this person's record is in active use.public List<Person.PersonLinkComponent> getLink()
link (Link to a resource that concerns the same actual person.)public Person setLink(List<Person.PersonLinkComponent> theLink)
this for easy method chainingpublic boolean hasLink()
public Person.PersonLinkComponent addLink()
public Person addLink(Person.PersonLinkComponent t)
public Person.PersonLinkComponent 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 Person 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.