Package org.hl7.fhir.dstu2.model
Class Person
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.Person
- 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
Demographics and administrative information about a person independent of a
specific health-related context.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected BooleanType
Whether this person's record is in active use.One or more addresses for the person.protected DateType
The birth date for the person.protected Enumeration
<Enumerations.AdministrativeGender> Administrative Gender.protected List
<Identifier> Identifier for a person within a particular scope.protected List
<Person.PersonLinkComponent> Link to a resource that concerns the same actual person.protected Reference
The organization that is the custodian of the person record.protected Organization
The actual object that is the target of the reference (The organization that is the custodian of the person record.)A name associated with the person.protected Attachment
An image that can be displayed as a thumbnail of the person to enhance the identification of the individual.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected List
<ContactPoint> A contact detail for the person, e.g.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.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()
copy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
boolean
getLink()
getName()
getPhoto()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasLink()
boolean
boolean
hasName()
boolean
hasPhoto()
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setActive
(boolean value) setActiveElement
(BooleanType value) setBirthDate
(Date value) setBirthDateElement
(DateType value) setManagingOrganization
(Reference value) setPhoto
(Attachment value) void
setProperty
(String name, Base value) protected Person
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, 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, 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
Identifier for a person within a particular scope. -
name
A name associated with the person. -
telecom
A contact detail for the person, e.g. a telephone number or an email address. -
gender
Administrative Gender. -
birthDate
The birth date for the person. -
address
One or more addresses for the person. -
photo
An image that can be displayed as a thumbnail of the person to enhance the identification of the individual. -
managingOrganization
The organization that is the custodian of the person record. -
managingOrganizationTarget
The actual object that is the target of the reference (The organization that is the custodian of the person record.) -
active
Whether this person's record is in active use. -
link
Link to a resource that concerns the same actual person. -
SP_IDENTIFIER
- See Also:
-
SP_ADDRESS
- See Also:
-
SP_BIRTHDATE
- See Also:
-
SP_ADDRESSSTATE
- See Also:
-
SP_GENDER
- See Also:
-
SP_PRACTITIONER
- See Also:
-
SP_LINK
- See Also:
-
SP_RELATEDPERSON
- See Also:
-
SP_ADDRESSPOSTALCODE
- See Also:
-
SP_ADDRESSCOUNTRY
- See Also:
-
SP_PHONETIC
- See Also:
-
SP_PHONE
- See Also:
-
SP_PATIENT
- See Also:
-
SP_ORGANIZATION
- See Also:
-
SP_NAME
- See Also:
-
SP_ADDRESSUSE
- See Also:
-
SP_TELECOM
- See Also:
-
SP_ADDRESSCITY
- See Also:
-
SP_EMAIL
- See Also:
-
-
Constructor Details
-
Person
public Person()
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Identifier for a person within a particular scope.)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier
(Identifier for a person within a particular scope.)
-
addIdentifier
-
getName
- Returns:
name
(A name associated with the person.)
-
hasName
-
addName
- Returns:
name
(A name associated with the person.)
-
addName
-
getTelecom
- Returns:
telecom
(A contact detail for the person, e.g. a telephone number or an email address.)
-
hasTelecom
-
addTelecom
- Returns:
telecom
(A contact detail for the person, e.g. a telephone number or an email address.)
-
addTelecom
-
getGenderElement
- Returns:
gender
(Administrative Gender.). 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.). This is the underlying object with id, value and extensions. The accessor "getGender" gives direct access to the value
-
getGender
- Returns:
- Administrative Gender.
-
setGender
- Parameters:
value
- Administrative Gender.
-
getBirthDateElement
- Returns:
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 value
-
hasBirthDateElement
-
hasBirthDate
-
setBirthDateElement
- Parameters:
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 value
-
getBirthDate
- Returns:
- The birth date for the person.
-
setBirthDate
- Parameters:
value
- The birth date for the person.
-
getAddress
- Returns:
address
(One or more addresses for the person.)
-
hasAddress
-
addAddress
- Returns:
address
(One or more addresses for the person.)
-
addAddress
-
getPhoto
- Returns:
photo
(An image that can be displayed as a thumbnail of the person to enhance the identification of the individual.)
-
hasPhoto
-
setPhoto
- Parameters:
value
-photo
(An image that can be displayed as a thumbnail of the person to enhance the identification of the individual.)
-
getManagingOrganization
- Returns:
managingOrganization
(The organization that is the custodian of the person record.)
-
hasManagingOrganization
-
setManagingOrganization
- Parameters:
value
-managingOrganization
(The organization that is the custodian of the person 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. (The organization that is the custodian of the person 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. (The organization that is the custodian of the person record.)
-
getActiveElement
- Returns:
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 value
-
hasActiveElement
-
hasActive
-
setActiveElement
- Parameters:
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 value
-
getActive
- Returns:
- Whether this person's record is in active use.
-
setActive
- Parameters:
value
- Whether this person's record is in active use.
-
getLink
- Returns:
link
(Link to a resource that concerns the same actual person.)
-
hasLink
-
addLink
- Returns:
link
(Link to a resource that concerns the same actual person.)
-
addLink
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
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
-