public class RelatedPerson extends BaseResource implements IResource
Definition: Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process
Requirements: Need to track persons related to the patient or the healthcare process.
Profile Definition: http://hl7.org/fhir/profiles/RelatedPerson
| Modifier and Type | Field and Description |
|---|---|
static StringClientParam |
ADDRESS
Fluent Client search parameter constant for address
|
static TokenClientParam |
GENDER
Fluent Client search parameter constant for gender
|
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.
|
static StringClientParam |
NAME
Fluent Client search parameter constant for name
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static StringClientParam |
PHONETIC
Fluent Client search parameter constant for phonetic
|
static String |
SP_ADDRESS
Search parameter constant for address
|
static String |
SP_GENDER
Search parameter constant for gender
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_NAME
Search parameter constant for name
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_PHONETIC
Search parameter constant for phonetic
|
static String |
SP_TELECOM
Search parameter constant for telecom
|
static StringClientParam |
TELECOM
Fluent Client search parameter constant for telecom
|
SP_RES_ID, SP_RES_LANGUAGE| Constructor and Description |
|---|
RelatedPerson() |
| Modifier and Type | Method and Description |
|---|---|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier (A Human identifier for this person)
|
RelatedPerson |
addIdentifier(IdentifierUseEnum theUse,
String theSystem,
String theValue,
String theLabel)
Adds a new value for identifier (A Human identifier for this person)
|
RelatedPerson |
addIdentifier(String theSystem,
String theValue)
Adds a new value for identifier (A Human identifier for this person)
|
AttachmentDt |
addPhoto()
Adds and returns a new value for photo (Image of the person)
|
ContactDt |
addTelecom()
Adds and returns a new value for telecom (A contact detail for the person)
|
RelatedPerson |
addTelecom(ContactUseEnum theContactUse,
String theValue)
Adds a new value for telecom (A contact detail for the person)
|
RelatedPerson |
addTelecom(String theValue)
Adds a new value for telecom (A contact detail for the person)
|
AddressDt |
getAddress()
Gets the value(s) for address (Address where the related person can be contacted or visited).
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType)
Returns a list containing all child elements matching a given type
|
BoundCodeableConceptDt<AdministrativeGenderCodesEnum> |
getGender()
Gets the value(s) for gender (Gender for administrative purposes).
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier (A Human identifier for this person).
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (A Human identifier for this person),
creating it if it does not already exist.
|
HumanNameDt |
getName()
Gets the value(s) for name (A name associated with the person).
|
ResourceReferenceDt |
getPatient()
Gets the value(s) for patient (The patient this person is related to).
|
List<AttachmentDt> |
getPhoto()
Gets the value(s) for photo (Image of the person).
|
AttachmentDt |
getPhotoFirstRep()
Gets the first repetition for photo (Image of the person),
creating it if it does not already exist.
|
BoundCodeableConceptDt<PatientRelationshipTypeEnum> |
getRelationship()
Gets the value(s) for relationship (The nature of the relationship).
|
List<ContactDt> |
getTelecom()
Gets the value(s) for telecom (A contact detail for the person).
|
ContactDt |
getTelecomFirstRep()
Gets the first repetition for telecom (A contact detail for the person),
creating it if it does not already exist.
|
boolean |
isEmpty() |
RelatedPerson |
setAddress(AddressDt theValue)
Sets the value(s) for address (Address where the related person can be contacted or visited)
|
RelatedPerson |
setGender(AdministrativeGenderCodesEnum theValue)
Sets the value(s) for gender (Gender for administrative purposes)
|
RelatedPerson |
setGender(BoundCodeableConceptDt<AdministrativeGenderCodesEnum> theValue)
Sets the value(s) for gender (Gender for administrative purposes)
|
RelatedPerson |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (A Human identifier for this person)
|
RelatedPerson |
setName(HumanNameDt theValue)
Sets the value(s) for name (A name associated with the person)
|
RelatedPerson |
setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient (The patient this person is related to)
|
RelatedPerson |
setPhoto(List<AttachmentDt> theValue)
Sets the value(s) for photo (Image of the person)
|
RelatedPerson |
setRelationship(BoundCodeableConceptDt<PatientRelationshipTypeEnum> theValue)
Sets the value(s) for relationship (The nature of the relationship)
|
RelatedPerson |
setRelationship(PatientRelationshipTypeEnum theValue)
Sets the value(s) for relationship (The nature of the relationship)
|
RelatedPerson |
setTelecom(List<ContactDt> theValue)
Sets the value(s) for telecom (A contact detail for the person)
|
getContained, getId, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatapublic static final String SP_IDENTIFIER
Description: A patient Identifier
Type: token
Path: RelatedPerson.identifier
public static final TokenClientParam IDENTIFIER
Description: A patient Identifier
Type: token
Path: RelatedPerson.identifier
public static final String SP_NAME
Description: A portion of name in any name part
Type: string
Path: RelatedPerson.name
public static final StringClientParam NAME
Description: A portion of name in any name part
Type: string
Path: RelatedPerson.name
public static final String SP_PHONETIC
Description: A portion of name using some kind of phonetic matching algorithm
Type: string
Path:
public static final StringClientParam PHONETIC
Description: A portion of name using some kind of phonetic matching algorithm
Type: string
Path:
public static final String SP_TELECOM
Description: The value in any kind of contact
Type: string
Path: RelatedPerson.telecom
public static final StringClientParam TELECOM
Description: The value in any kind of contact
Type: string
Path: RelatedPerson.telecom
public static final String SP_ADDRESS
Description: An address in any kind of address/part
Type: string
Path: RelatedPerson.address
public static final StringClientParam ADDRESS
Description: An address in any kind of address/part
Type: string
Path: RelatedPerson.address
public static final String SP_GENDER
Description: Gender of the person
Type: token
Path: RelatedPerson.gender
public static final TokenClientParam GENDER
Description: Gender of the person
Type: token
Path: RelatedPerson.gender
public static final String SP_PATIENT
Description: The patient this person is related to
Type: reference
Path: RelatedPerson.patient
public static final ReferenceClientParam PATIENT
Description: The patient this person is related to
Type: reference
Path: RelatedPerson.patient
public static final Include INCLUDE_PATIENT
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
ICompositeElementgetAllPopulatedChildElementsOfType in interface ICompositeElementtheType - The type to match. If set to null, all child elements will be returnedpublic List<IdentifierDt> getIdentifier()
null.
Definition: Identifier for a person within a particular scope.
public RelatedPerson setIdentifier(List<IdentifierDt> theValue)
Definition: Identifier for a person within a particular scope.
public IdentifierDt addIdentifier()
Definition: Identifier for a person within a particular scope.
public IdentifierDt getIdentifierFirstRep()
Definition: Identifier for a person within a particular scope.
public RelatedPerson addIdentifier(IdentifierUseEnum theUse, String theSystem, String theValue, String theLabel)
Definition: Identifier for a person within a particular scope.
public RelatedPerson addIdentifier(String theSystem, String theValue)
Definition: Identifier for a person within a particular scope.
public ResourceReferenceDt getPatient()
null.
Definition: The patient this person is related to
public RelatedPerson setPatient(ResourceReferenceDt theValue)
Definition: The patient this person is related to
public BoundCodeableConceptDt<PatientRelationshipTypeEnum> getRelationship()
null.
Definition: The nature of the relationship between a patient and the related person
public RelatedPerson setRelationship(BoundCodeableConceptDt<PatientRelationshipTypeEnum> theValue)
Definition: The nature of the relationship between a patient and the related person
public RelatedPerson setRelationship(PatientRelationshipTypeEnum theValue)
Definition: The nature of the relationship between a patient and the related person
public HumanNameDt getName()
null.
Definition: A name associated with the person
public RelatedPerson setName(HumanNameDt theValue)
Definition: A name associated with the person
public List<ContactDt> getTelecom()
null.
Definition: A contact detail for the person, e.g. a telephone number or an email address.
public RelatedPerson setTelecom(List<ContactDt> theValue)
Definition: A contact detail for the person, e.g. a telephone number or an email address.
public ContactDt addTelecom()
Definition: A contact detail for the person, e.g. a telephone number or an email address.
public ContactDt getTelecomFirstRep()
Definition: A contact detail for the person, e.g. a telephone number or an email address.
public RelatedPerson addTelecom(ContactUseEnum theContactUse, String theValue)
Definition: A contact detail for the person, e.g. a telephone number or an email address.
public RelatedPerson addTelecom(String theValue)
Definition: A contact detail for the person, e.g. a telephone number or an email address.
public BoundCodeableConceptDt<AdministrativeGenderCodesEnum> getGender()
null.
Definition: Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
public RelatedPerson setGender(BoundCodeableConceptDt<AdministrativeGenderCodesEnum> theValue)
Definition: Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
public RelatedPerson setGender(AdministrativeGenderCodesEnum theValue)
Definition: Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
public AddressDt getAddress()
null.
Definition: Address where the related person can be contacted or visited
public RelatedPerson setAddress(AddressDt theValue)
Definition: Address where the related person can be contacted or visited
public List<AttachmentDt> getPhoto()
null.
Definition: Image of the person
public RelatedPerson setPhoto(List<AttachmentDt> theValue)
Definition: Image of the person
public AttachmentDt addPhoto()
Definition: Image of the person
public AttachmentDt getPhotoFirstRep()
Definition: Image of the person
Copyright © 2014 University Health Network. All rights reserved.