public class RelatedPerson extends DomainResource
| Modifier and Type | Field and Description |
|---|---|
protected BooleanType |
active
Whether this related person record is in active use.
|
static TokenClientParam |
ACTIVE
Fluent Client search parameter constant for active
|
protected List<Address> |
address
Address where the related person can be contacted or visited.
|
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 date on which the related person was born.
|
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 - the gender that the person is considered to have for administration and record keeping purposes.
|
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_PATIENT
Constant for fluent queries to be used to add include statements.
|
protected List<HumanName> |
name
A name associated with the person.
|
static StringClientParam |
NAME
Fluent Client search parameter constant for name
|
protected Reference |
patient
The patient this person is related to.
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected Patient |
patientTarget
The actual object that is the target of the reference (The patient this person is related to.)
|
protected Period |
period
The period of time that this relationship is considered to be valid.
|
static TokenClientParam |
PHONE
Fluent Client search parameter constant for phone
|
static StringClientParam |
PHONETIC
Fluent Client search parameter constant for phonetic
|
protected List<Attachment> |
photo
Image of the person.
|
protected CodeableConcept |
relationship
The nature of the relationship between a patient and the related person.
|
static String |
SP_ACTIVE
Search parameter: active
|
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_NAME
Search parameter: name
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_PHONE
Search parameter: phone
|
static String |
SP_PHONETIC
Search parameter: phonetic
|
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 |
|---|
RelatedPerson()
Constructor
|
RelatedPerson(Reference patient)
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 BooleanType active
protected Patient patientTarget
protected CodeableConcept relationship
protected List<ContactPoint> telecom
protected Enumeration<Enumerations.AdministrativeGender> gender
protected List<Address> address
protected List<Attachment> photo
protected Period period
public static final String SP_IDENTIFIER
Description: An Identifier of the RelatedPerson
Type: token
Path: RelatedPerson.identifier
public static final TokenClientParam IDENTIFIER
Description: An Identifier of the RelatedPerson
Type: token
Path: RelatedPerson.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: RelatedPerson.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: RelatedPerson.address
public static final String SP_BIRTHDATE
Description: The Related Person's date of birth
Type: date
Path: RelatedPerson.birthDate
public static final DateClientParam BIRTHDATE
Description: The Related Person's date of birth
Type: date
Path: RelatedPerson.birthDate
public static final String SP_ADDRESS_STATE
Description: A state specified in an address
Type: string
Path: RelatedPerson.address.state
public static final StringClientParam ADDRESS_STATE
Description: A state specified in an address
Type: string
Path: RelatedPerson.address.state
public static final String SP_GENDER
Description: Gender of the related person
Type: token
Path: RelatedPerson.gender
public static final TokenClientParam GENDER
Description: Gender of the related person
Type: token
Path: RelatedPerson.gender
public static final String SP_ACTIVE
Description: Indicates if the related person record is active
Type: token
Path: RelatedPerson.active
public static final TokenClientParam ACTIVE
Description: Indicates if the related person record is active
Type: token
Path: RelatedPerson.active
public static final String SP_ADDRESS_POSTALCODE
Description: A postal code specified in an address
Type: string
Path: RelatedPerson.address.postalCode
public static final StringClientParam ADDRESS_POSTALCODE
Description: A postal code specified in an address
Type: string
Path: RelatedPerson.address.postalCode
public static final String SP_ADDRESS_COUNTRY
Description: A country specified in an address
Type: string
Path: RelatedPerson.address.country
public static final StringClientParam ADDRESS_COUNTRY
Description: A country specified in an address
Type: string
Path: RelatedPerson.address.country
public static final String SP_PHONETIC
Description: A portion of name using some kind of phonetic matching algorithm
Type: string
Path: RelatedPerson.name
public static final StringClientParam PHONETIC
Description: A portion of name using some kind of phonetic matching algorithm
Type: string
Path: RelatedPerson.name
public static final String SP_PHONE
Description: A value in a phone contact
Type: token
Path: RelatedPerson.telecom(system=phone)
public static final TokenClientParam PHONE
Description: A value in a phone contact
Type: token
Path: RelatedPerson.telecom(system=phone)
public static final String SP_PATIENT
Description: The patient this related person is related to
Type: reference
Path: RelatedPerson.patient
public static final ReferenceClientParam PATIENT
Description: The patient this related person is related to
Type: reference
Path: RelatedPerson.patient
public static final Include INCLUDE_PATIENT
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: RelatedPerson.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: RelatedPerson.name
public static final String SP_ADDRESS_USE
Description: A use code specified in an address
Type: token
Path: RelatedPerson.address.use
public static final TokenClientParam ADDRESS_USE
Description: A use code specified in an address
Type: token
Path: RelatedPerson.address.use
public static final String SP_TELECOM
Description: The value in any kind of contact
Type: token
Path: RelatedPerson.telecom
public static final TokenClientParam TELECOM
Description: The value in any kind of contact
Type: token
Path: RelatedPerson.telecom
public static final String SP_ADDRESS_CITY
Description: A city specified in an address
Type: string
Path: RelatedPerson.address.city
public static final StringClientParam ADDRESS_CITY
Description: A city specified in an address
Type: string
Path: RelatedPerson.address.city
public static final String SP_EMAIL
Description: A value in an email contact
Type: token
Path: RelatedPerson.telecom(system=email)
public static final TokenClientParam EMAIL
Description: A value in an email contact
Type: token
Path: RelatedPerson.telecom(system=email)
public RelatedPerson()
public RelatedPerson(Reference patient)
public List<Identifier> getIdentifier()
identifier (Identifier for a person within a particular scope.)public RelatedPerson setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public RelatedPerson addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic BooleanType getActiveElement()
active (Whether this related person 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 RelatedPerson setActiveElement(BooleanType value)
value - active (Whether this related person 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 RelatedPerson setActive(boolean value)
value - Whether this related person record is in active use.public Reference getPatient()
patient (The patient this person is related to.)public boolean hasPatient()
public RelatedPerson setPatient(Reference value)
value - patient (The patient this person is related to.)public Patient getPatientTarget()
patient 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 patient this person is related to.)public RelatedPerson setPatientTarget(Patient value)
value - patient 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 patient this person is related to.)public CodeableConcept getRelationship()
relationship (The nature of the relationship between a patient and the related person.)public boolean hasRelationship()
public RelatedPerson setRelationship(CodeableConcept value)
value - relationship (The nature of the relationship between a patient and the related person.)public RelatedPerson setName(List<HumanName> theName)
this for easy method chainingpublic boolean hasName()
public RelatedPerson addName(HumanName t)
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 RelatedPerson setTelecom(List<ContactPoint> theTelecom)
this for easy method chainingpublic boolean hasTelecom()
public ContactPoint addTelecom()
public RelatedPerson addTelecom(ContactPoint t)
public ContactPoint getTelecomFirstRep()
telecom, creating it if it does not already existpublic Enumeration<Enumerations.AdministrativeGender> getGenderElement()
gender (Administrative Gender - the gender that the person 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 RelatedPerson setGenderElement(Enumeration<Enumerations.AdministrativeGender> value)
value - gender (Administrative Gender - the gender that the person 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 RelatedPerson setGender(Enumerations.AdministrativeGender value)
value - Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.public DateType getBirthDateElement()
birthDate (The date on which the related person was born.). 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 RelatedPerson setBirthDateElement(DateType value)
value - birthDate (The date on which the related person was born.). This is the underlying object with id, value and extensions. The accessor "getBirthDate" gives direct access to the valuepublic Date getBirthDate()
public RelatedPerson setBirthDate(Date value)
value - The date on which the related person was born.public List<Address> getAddress()
address (Address where the related person can be contacted or visited.)public RelatedPerson setAddress(List<Address> theAddress)
this for easy method chainingpublic boolean hasAddress()
public Address addAddress()
public RelatedPerson addAddress(Address t)
public Address getAddressFirstRep()
address, creating it if it does not already existpublic List<Attachment> getPhoto()
photo (Image of the person.)public RelatedPerson setPhoto(List<Attachment> thePhoto)
this for easy method chainingpublic boolean hasPhoto()
public Attachment addPhoto()
public RelatedPerson addPhoto(Attachment t)
public Attachment getPhotoFirstRep()
photo, creating it if it does not already existpublic Period getPeriod()
period (The period of time that this relationship is considered to be valid. If there are no dates defined, then the interval is unknown.)public boolean hasPeriod()
public RelatedPerson setPeriod(Period value)
value - period (The period of time that this relationship is considered to be valid. If there are no dates defined, then the interval is unknown.)protected 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 RelatedPerson copy()
copy in class DomainResourceprotected RelatedPerson typedCopy()
public 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.