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.
|
protected DateType |
birthDate
The birth date for the person.
|
protected Enumeration<Enumerations.AdministrativeGender> |
gender
Administrative Gender.
|
protected List<Identifier> |
identifier
Identifier for a person within a particular scope.
|
protected List<Person.PersonLinkComponent> |
link
Link to a resource that concerns the same actual person.
|
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.
|
protected Attachment |
photo
An image that can be displayed as a thumbnail of the person to enhance the identification of the individual.
|
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_BIRTHDATE |
static String |
SP_EMAIL |
static String |
SP_GENDER |
static String |
SP_IDENTIFIER |
static String |
SP_LINK |
static String |
SP_NAME |
static String |
SP_ORGANIZATION |
static String |
SP_PATIENT |
static String |
SP_PHONE |
static String |
SP_PHONETIC |
static String |
SP_PRACTITIONER |
static String |
SP_RELATEDPERSON |
static String |
SP_TELECOM |
protected List<ContactPoint> |
telecom
A contact detail for the person, e.g.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Person() |
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 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
public static final String SP_ADDRESS
public static final String SP_BIRTHDATE
public static final String SP_ADDRESSSTATE
public static final String SP_GENDER
public static final String SP_PRACTITIONER
public static final String SP_LINK
public static final String SP_RELATEDPERSON
public static final String SP_ADDRESSPOSTALCODE
public static final String SP_ADDRESSCOUNTRY
public static final String SP_PHONETIC
public static final String SP_PHONE
public static final String SP_PATIENT
public static final String SP_ORGANIZATION
public static final String SP_NAME
public static final String SP_ADDRESSUSE
public static final String SP_TELECOM
public static final String SP_ADDRESSCITY
public static final String SP_EMAIL
public Person()
public List<Identifier> getIdentifier()
identifier (Identifier for a person within a particular scope.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (Identifier for a person within a particular scope.)public Person addIdentifier(Identifier t)
public boolean hasName()
public List<ContactPoint> getTelecom()
telecom (A contact detail for the person, e.g. a telephone number or an email address.)public boolean hasTelecom()
public ContactPoint addTelecom()
telecom (A contact detail for the person, e.g. a telephone number or an email address.)public Person addTelecom(ContactPoint t)
public 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 boolean hasAddress()
public Address addAddress()
address (One or more addresses for the person.)public Person addAddress(Address t)
public 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 boolean hasLink()
public Person.PersonLinkComponent addLink()
link (Link to a resource that concerns the same actual person.)public Person addLink(Person.PersonLinkComponent 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 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 org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.