public class RelatedPerson extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
RelatedPerson.RelatedPersonCommunicationComponent |
| Modifier and Type | Field and Description |
|---|---|
protected BooleanType |
active
Whether this related person record is in active use.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
ACTIVE
Fluent Client search parameter constant for active
|
protected List<Address> |
address
Address where the related person can be contacted or visited.
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
ADDRESS
Fluent Client search parameter constant for address
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
ADDRESS_CITY
Fluent Client search parameter constant for address-city
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
ADDRESS_COUNTRY
Fluent Client search parameter constant for address-country
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
ADDRESS_POSTALCODE
Fluent Client search parameter constant for address-postalcode
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
ADDRESS_STATE
Fluent Client search parameter constant for address-state
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
ADDRESS_USE
Fluent Client search parameter constant for address-use
|
protected DateType |
birthDate
The date on which the related person was born.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
BIRTHDATE
Fluent Client search parameter constant for birthdate
|
protected List<RelatedPerson.RelatedPersonCommunicationComponent> |
communication
A language which may be used to communicate with about the patient's health.
|
static ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.TokenClientParam |
GENDER
Fluent Client search parameter constant for gender
|
protected List<Identifier> |
identifier
Identifier for a person within a particular scope.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.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 ca.uhn.fhir.rest.gclient.StringClientParam |
NAME
Fluent Client search parameter constant for name
|
protected Reference |
patient
The patient this person is related to.
|
static ca.uhn.fhir.rest.gclient.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 during which this relationship is or was active.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
PHONE
Fluent Client search parameter constant for phone
|
static ca.uhn.fhir.rest.gclient.StringClientParam |
PHONETIC
Fluent Client search parameter constant for phonetic
|
protected List<Attachment> |
photo
Image of the person.
|
protected List<CodeableConcept> |
relationship
The nature of the relationship between a patient and the related person.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
RELATIONSHIP
Fluent Client search parameter constant for relationship
|
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_RELATIONSHIP
Search parameter: relationship
|
static String |
SP_TELECOM
Search parameter: telecom
|
protected List<ContactPoint> |
telecom
A contact detail for the person, e.g.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
TELECOM
Fluent Client search parameter constant for telecom
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
RelatedPerson()
Constructor
|
RelatedPerson(Reference patient)
Constructor
|
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected BooleanType active
protected Patient patientTarget
protected List<CodeableConcept> relationship
protected List<ContactPoint> telecom
protected Enumeration<Enumerations.AdministrativeGender> gender
protected List<Address> address
protected List<Attachment> photo
protected Period period
protected List<RelatedPerson.RelatedPersonCommunicationComponent> communication
public static final String SP_IDENTIFIER
Description: An Identifier of the RelatedPerson
Type: token
Path: RelatedPerson.identifier
public static final ca.uhn.fhir.rest.gclient.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, district, state, country, postalCode, and/or text
Type: string
Path: RelatedPerson.address
public static final ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS
Description: A server defined search that may match any of the string fields in the Address, including line, city, district, 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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: The patient this related person is related to
Type: reference
Path: RelatedPerson.patient
public static final ca.uhn.fhir.model.api.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.StringClientParam ADDRESS_CITY
Description: A city specified in an address
Type: string
Path: RelatedPerson.address.city
public static final String SP_RELATIONSHIP
Description: The relationship between the patient and the relatedperson
Type: token
Path: RelatedPerson.relationship
public static final ca.uhn.fhir.rest.gclient.TokenClientParam RELATIONSHIP
Description: The relationship between the patient and the relatedperson
Type: token
Path: RelatedPerson.relationship
public static final String SP_EMAIL
Description: A value in an email contact
Type: token
Path: RelatedPerson.telecom(system=email)
public static final ca.uhn.fhir.rest.gclient.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 List<CodeableConcept> getRelationship()
relationship (The nature of the relationship between a patient and the related person.)public RelatedPerson setRelationship(List<CodeableConcept> theRelationship)
this for easy method chainingpublic boolean hasRelationship()
public CodeableConcept addRelationship()
public RelatedPerson addRelationship(CodeableConcept t)
public CodeableConcept getRelationshipFirstRep()
relationship, creating it if it does not already existpublic 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 during which this relationship is or was active. 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 during which this relationship is or was active. If there are no dates defined, then the interval is unknown.)public List<RelatedPerson.RelatedPersonCommunicationComponent> getCommunication()
communication (A language which may be used to communicate with about the patient's health.)public RelatedPerson setCommunication(List<RelatedPerson.RelatedPersonCommunicationComponent> theCommunication)
this for easy method chainingpublic boolean hasCommunication()
public RelatedPerson.RelatedPersonCommunicationComponent addCommunication()
public RelatedPerson addCommunication(RelatedPerson.RelatedPersonCommunicationComponent t)
public RelatedPerson.RelatedPersonCommunicationComponent getCommunicationFirstRep()
communication, creating it if it does not already existprotected void listChildren(List<Property> children)
listChildren in class DomainResourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty 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 interface org.hl7.fhir.instance.model.api.IBasefhirType in class DomainResourcepublic RelatedPerson copy()
copy in class DomainResourcepublic void copyValues(RelatedPerson dst)
protected RelatedPerson typedCopy()
public 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–2021 Health Level 7. All rights reserved.