
Class Person
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IResource,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseResource
Definition: Demographics and administrative information about a person independent of a specific health-related context.
Requirements: Need to track persons potentially across multiple roles
Profile Definition: http://hl7.org/fhir/profiles/Person
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBlock class for child element: Person.link () -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for addressstatic final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for address-citystatic final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for address-countrystatic final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for address-postalcodestatic final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for address-statestatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for address-usestatic final ca.uhn.fhir.rest.gclient.DateClientParamFluent Client search parameter constant for birthdatestatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for emailstatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for genderstatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for linkstatic final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for namestatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for organizationstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for phonestatic final ca.uhn.fhir.rest.gclient.StringClientParamFluent Client search parameter constant for phoneticstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for practitionerstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for relatedpersonstatic final StringSearch parameter constant for addressstatic final StringSearch parameter constant for address-citystatic final StringSearch parameter constant for address-countrystatic final StringSearch parameter constant for address-postalcodestatic final StringSearch parameter constant for address-statestatic final StringSearch parameter constant for address-usestatic final StringSearch parameter constant for birthdatestatic final StringSearch parameter constant for emailstatic final StringSearch parameter constant for genderstatic final StringSearch parameter constant for identifierstatic final StringSearch parameter constant for linkstatic final StringSearch parameter constant for namestatic final StringSearch parameter constant for organizationstatic final StringSearch parameter constant for patientstatic final StringSearch parameter constant for phonestatic final StringSearch parameter constant for phoneticstatic final StringSearch parameter constant for practitionerstatic final StringSearch parameter constant for relatedpersonstatic final StringSearch parameter constant for telecomstatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for telecomFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_IDFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for address ()addAddress(AddressDt theValue) Adds a given new value for address ()Adds and returns a new value for identifier (id)addIdentifier(IdentifierDt theValue) Adds a given new value for identifier (id)addLink()Adds and returns a new value for link ()addLink(Person.Link theValue) Adds a given new value for link ()addName()Adds and returns a new value for name ()addName(HumanNameDt theValue) Adds a given new value for name ()Adds and returns a new value for telecom ()addTelecom(ContactPointDt theValue) Adds a given new value for telecom ()Gets the value(s) for active (status).ca.uhn.fhir.model.primitive.BooleanDtGets the value(s) for active (status).Gets the value(s) for address ().Gets the first repetition for address (), creating it if it does not already exist.<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType(Class<T> theType) Gets the value(s) for birthDate ().ca.uhn.fhir.model.primitive.DateDtGets the value(s) for birthDate ().Gets the value(s) for gender ().ca.uhn.fhir.model.primitive.BoundCodeDt<AdministrativeGenderEnum> Gets the value(s) for gender ().Gets the value(s) for identifier (id).Gets the first repetition for identifier (id), creating it if it does not already exist.getLink()Gets the value(s) for link ().Gets the first repetition for link (), creating it if it does not already exist.Gets the value(s) for managingOrganization ().getName()Gets the value(s) for name ().Gets the first repetition for name (), creating it if it does not already exist.getPhoto()Gets the value(s) for photo ().ca.uhn.fhir.context.FhirVersionEnumGets the value(s) for telecom ().Gets the first repetition for telecom (), creating it if it does not already exist.booleanisEmpty()setActive(boolean theBoolean) Sets the value for active (status)setActive(ca.uhn.fhir.model.primitive.BooleanDt theValue) Sets the value(s) for active (status)setAddress(List<AddressDt> theValue) Sets the value(s) for address ()setBirthDate(ca.uhn.fhir.model.primitive.DateDt theValue) Sets the value(s) for birthDate ()setBirthDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for birthDate ()setBirthDateWithDayPrecision(Date theDate) Sets the value for birthDate ()setGender(AdministrativeGenderEnum theValue) Sets the value(s) for gender ()setGender(ca.uhn.fhir.model.primitive.BoundCodeDt<AdministrativeGenderEnum> theValue) Sets the value(s) for gender ()setIdentifier(List<IdentifierDt> theValue) Sets the value(s) for identifier (id)setLink(List<Person.Link> theValue) Sets the value(s) for link ()setManagingOrganization(ResourceReferenceDt theValue) Sets the value(s) for managingOrganization ()setName(List<HumanNameDt> theValue) Sets the value(s) for name ()setPhoto(AttachmentDt theValue) Sets the value(s) for photo ()setTelecom(List<ContactPointDt> theValue) Sets the value(s) for telecom ()Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringMethods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setIdMethods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_IDENTIFIER
Search parameter constant for identifierDescription: A person Identifier
Type: token
Path: Person.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: A person Identifier
Type: token
Path: Person.identifier
-
SP_NAME
Search parameter constant for nameDescription: A portion of name in any name part
Type: string
Path: Person.name
- See Also:
-
NAME
Fluent Client search parameter constant for nameDescription: A portion of name in any name part
Type: string
Path: Person.name
-
SP_PHONETIC
Search parameter constant for phoneticDescription: A portion of name using some kind of phonetic matching algorithm
Type: string
Path: Person.name
- See Also:
-
PHONETIC
Fluent Client search parameter constant for phoneticDescription: A portion of name using some kind of phonetic matching algorithm
Type: string
Path: Person.name
-
SP_TELECOM
Search parameter constant for telecomDescription: The value in any kind of contact
Type: token
Path: Person.telecom
- See Also:
-
TELECOM
Fluent Client search parameter constant for telecomDescription: The value in any kind of contact
Type: token
Path: Person.telecom
-
SP_PHONE
Search parameter constant for phoneDescription: A value in a phone contact
Type: token
Path: Person.telecom(system=phone)
- See Also:
-
PHONE
Fluent Client search parameter constant for phoneDescription: A value in a phone contact
Type: token
Path: Person.telecom(system=phone)
-
SP_EMAIL
Search parameter constant for emailDescription: A value in an email contact
Type: token
Path: Person.telecom(system=email)
- See Also:
-
EMAIL
Fluent Client search parameter constant for emailDescription: A value in an email contact
Type: token
Path: Person.telecom(system=email)
-
SP_ADDRESS
Search parameter constant for addressDescription: An address in any kind of address/part
Type: string
Path: Person.address
- See Also:
-
ADDRESS
Fluent Client search parameter constant for addressDescription: An address in any kind of address/part
Type: string
Path: Person.address
-
SP_ADDRESS_CITY
Search parameter constant for address-cityDescription: A city specified in an address
Type: string
Path: Person.address.city
- See Also:
-
ADDRESS_CITY
Fluent Client search parameter constant for address-cityDescription: A city specified in an address
Type: string
Path: Person.address.city
-
SP_ADDRESS_STATE
Search parameter constant for address-stateDescription: A state specified in an address
Type: string
Path: Person.address.state
- See Also:
-
ADDRESS_STATE
Fluent Client search parameter constant for address-stateDescription: A state specified in an address
Type: string
Path: Person.address.state
-
SP_ADDRESS_POSTALCODE
Search parameter constant for address-postalcodeDescription: A postal code specified in an address
Type: string
Path: Person.address.postalCode
- See Also:
-
ADDRESS_POSTALCODE
Fluent Client search parameter constant for address-postalcodeDescription: A postal code specified in an address
Type: string
Path: Person.address.postalCode
-
SP_ADDRESS_COUNTRY
Search parameter constant for address-countryDescription: A country specified in an address
Type: string
Path: Person.address.country
- See Also:
-
ADDRESS_COUNTRY
Fluent Client search parameter constant for address-countryDescription: A country specified in an address
Type: string
Path: Person.address.country
-
SP_ADDRESS_USE
Search parameter constant for address-useDescription: A use code specified in an address
Type: token
Path: Person.address.use
- See Also:
-
ADDRESS_USE
Fluent Client search parameter constant for address-useDescription: A use code specified in an address
Type: token
Path: Person.address.use
-
SP_GENDER
Search parameter constant for genderDescription: The gender of the person
Type: token
Path: Person.gender
- See Also:
-
GENDER
Fluent Client search parameter constant for genderDescription: The gender of the person
Type: token
Path: Person.gender
-
SP_BIRTHDATE
Search parameter constant for birthdateDescription: The person's date of birth
Type: date
Path: Person.birthDate
- See Also:
-
BIRTHDATE
Fluent Client search parameter constant for birthdateDescription: The person's date of birth
Type: date
Path: Person.birthDate
-
SP_ORGANIZATION
Search parameter constant for organizationDescription: The organization at which this person record is being managed
Type: reference
Path: Person.managingOrganization
- See Also:
-
ORGANIZATION
Fluent Client search parameter constant for organizationDescription: The organization at which this person record is being managed
Type: reference
Path: Person.managingOrganization
-
SP_LINK
Search parameter constant for linkDescription: Any link has this Patient, Person, RelatedPerson or Practitioner reference
Type: reference
Path: Person.link.target
- See Also:
-
LINK
Fluent Client search parameter constant for linkDescription: Any link has this Patient, Person, RelatedPerson or Practitioner reference
Type: reference
Path: Person.link.target
-
SP_PATIENT
Search parameter constant for patientDescription: The Person links to this Patient
Type: reference
Path: Person.link.target
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: The Person links to this Patient
Type: reference
Path: Person.link.target
-
SP_PRACTITIONER
Search parameter constant for practitionerDescription: The Person links to this Practitioner
Type: reference
Path: Person.link.target
- See Also:
-
PRACTITIONER
Fluent Client search parameter constant for practitionerDescription: The Person links to this Practitioner
Type: reference
Path: Person.link.target
-
SP_RELATEDPERSON
Search parameter constant for relatedpersonDescription: The Person links to this RelatedPerson
Type: reference
Path: Person.link.target
- See Also:
-
RELATEDPERSON
Fluent Client search parameter constant for relatedpersonDescription: The Person links to this RelatedPerson
Type: reference
Path: Person.link.target
-
INCLUDE_LINK
Constant for fluent queries to be used to add include statements. Specifies the path value of "Person:link". -
INCLUDE_ORGANIZATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "Person:organization". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "Person:patient". -
INCLUDE_PRACTITIONER
Constant for fluent queries to be used to add include statements. Specifies the path value of "Person:practitioner". -
INCLUDE_RELATEDPERSON
Constant for fluent queries to be used to add include statements. Specifies the path value of "Person:relatedperson".
-
-
Constructor Details
-
Person
public Person()
-
-
Method Details
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull.Definition: Identifier for a person within a particular scope.
-
setIdentifier
Sets the value(s) for identifier (id)Definition: Identifier for a person within a particular scope.
-
addIdentifier
Adds and returns a new value for identifier (id)Definition: Identifier for a person within a particular scope.
-
addIdentifier
Adds a given new value for identifier (id)Definition: Identifier for a person within a particular scope.
- Parameters:
theValue- The identifier to add (must not benull)
-
getIdentifierFirstRep
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition: Identifier for a person within a particular scope.
-
getName
Gets the value(s) for name (). creating it if it does not exist. Will not returnnull.Definition: A name associated with the person
-
setName
Sets the value(s) for name ()Definition: A name associated with the person
-
addName
Adds and returns a new value for name ()Definition: A name associated with the person
-
addName
Adds a given new value for name ()Definition: A name associated with the person
- Parameters:
theValue- The name to add (must not benull)
-
getNameFirstRep
Gets the first repetition for name (), creating it if it does not already exist.Definition: A name associated with the person
-
getTelecom
Gets the value(s) for telecom (). creating it if it does not exist. Will not returnnull.Definition: A contact detail for the person, e.g. a telephone number or an email address.
-
setTelecom
Sets the value(s) for telecom ()Definition: A contact detail for the person, e.g. a telephone number or an email address.
-
addTelecom
Adds and returns a new value for telecom ()Definition: A contact detail for the person, e.g. a telephone number or an email address.
-
addTelecom
Adds a given new value for telecom ()Definition: A contact detail for the person, e.g. a telephone number or an email address.
- Parameters:
theValue- The telecom to add (must not benull)
-
getTelecomFirstRep
Gets the first repetition for telecom (), creating it if it does not already exist.Definition: A contact detail for the person, e.g. a telephone number or an email address.
-
getGenderElement
Gets the value(s) for gender (). creating it if it does not exist. Will not returnnull.Definition: Administrative Gender
-
getGender
Gets the value(s) for gender (). creating it if it does not exist. This method may returnnull.Definition: Administrative Gender
-
setGender
Sets the value(s) for gender ()Definition: Administrative Gender
-
setGender
Sets the value(s) for gender ()Definition: Administrative Gender
-
getBirthDateElement
Gets the value(s) for birthDate (). creating it if it does not exist. Will not returnnull.Definition: The birth date for the person.
-
getBirthDate
Gets the value(s) for birthDate (). creating it if it does not exist. This method may returnnull.Definition: The birth date for the person.
-
setBirthDate
Sets the value(s) for birthDate ()Definition: The birth date for the person.
-
setBirthDateWithDayPrecision
Sets the value for birthDate ()Definition: The birth date for the person.
-
setBirthDate
Sets the value for birthDate ()Definition: The birth date for the person.
-
getAddress
Gets the value(s) for address (). creating it if it does not exist. Will not returnnull.Definition: One or more addresses for the person
-
setAddress
Sets the value(s) for address ()Definition: One or more addresses for the person
-
addAddress
Adds and returns a new value for address ()Definition: One or more addresses for the person
-
addAddress
Adds a given new value for address ()Definition: One or more addresses for the person
- Parameters:
theValue- The address to add (must not benull)
-
getAddressFirstRep
Gets the first repetition for address (), creating it if it does not already exist.Definition: One or more addresses for the person
-
getPhoto
Gets the value(s) for photo (). creating it if it does not exist. Will not returnnull.Definition: An image that can be displayed as a thumbnail of the person to enhance the identification of the individual
-
setPhoto
Sets the value(s) for photo ()Definition: An image that can be displayed as a thumbnail of the person to enhance the identification of the individual
-
getManagingOrganization
Gets the value(s) for managingOrganization (). creating it if it does not exist. Will not returnnull.Definition: The organization that is the custodian of the person record
-
setManagingOrganization
Sets the value(s) for managingOrganization ()Definition: The organization that is the custodian of the person record
-
getActiveElement
Gets the value(s) for active (status). creating it if it does not exist. Will not returnnull.Definition: Whether this person's record is in active use
-
getActive
Gets the value(s) for active (status). creating it if it does not exist. This method may returnnull.Definition: Whether this person's record is in active use
-
setActive
Sets the value(s) for active (status)Definition: Whether this person's record is in active use
-
setActive
Sets the value for active (status)Definition: Whether this person's record is in active use
-
getLink
Gets the value(s) for link (). creating it if it does not exist. Will not returnnull.Definition:
-
setLink
Sets the value(s) for link ()Definition:
-
addLink
Adds and returns a new value for link ()Definition:
-
addLink
Adds a given new value for link ()Definition:
- Parameters:
theValue- The link to add (must not benull)
-
getLinkFirstRep
Gets the first repetition for link (), creating it if it does not already exist.Definition:
-
getResourceName
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-