Package org.hl7.fhir.dstu2.model
Class RelatedPerson
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.RelatedPerson
- 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
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.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionAddress where the related person can be contacted or visited.protected DateType
The date on which the related person was born.protected Enumeration
<Enumerations.AdministrativeGender> Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.protected List
<Identifier> Identifier for a person within a particular scope.protected HumanName
A name associated with the person.protected Reference
The patient this person is related to.protected Patient
The actual object that is the target of the reference (The patient this person is related to.)protected Period
The period of time that this relationship is considered to be valid.protected List
<Attachment> Image of the person.protected CodeableConcept
The nature of the relationship between a patient and the related person.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 TypeMethodDescriptionaddPhoto()
copy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getName()
getPhoto()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasName()
boolean
boolean
boolean
hasPhoto()
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setBirthDate
(Date value) setBirthDateElement
(DateType value) setPatient
(Reference value) setPatientTarget
(Patient value) void
setProperty
(String name, Base value) setRelationship
(CodeableConcept value) protected RelatedPerson
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. -
patient
The patient this person is related to. -
patientTarget
The actual object that is the target of the reference (The patient this person is related to.) -
relationship
The nature of the relationship between a patient and the related person. -
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 - the gender that the person is considered to have for administration and record keeping purposes. -
birthDate
The date on which the related person was born. -
address
Address where the related person can be contacted or visited. -
photo
Image of the person. -
period
The period of time that this relationship is considered to be valid. If there are no dates defined, then the interval is unknown. -
SP_IDENTIFIER
- See Also:
-
SP_ADDRESS
- See Also:
-
SP_BIRTHDATE
- See Also:
-
SP_ADDRESSSTATE
- See Also:
-
SP_GENDER
- See Also:
-
SP_ADDRESSPOSTALCODE
- See Also:
-
SP_ADDRESSCOUNTRY
- See Also:
-
SP_PHONETIC
- See Also:
-
SP_PHONE
- See Also:
-
SP_PATIENT
- See Also:
-
SP_NAME
- See Also:
-
SP_ADDRESSUSE
- See Also:
-
SP_TELECOM
- See Also:
-
SP_ADDRESSCITY
- See Also:
-
SP_EMAIL
- See Also:
-
-
Constructor Details
-
RelatedPerson
public RelatedPerson() -
RelatedPerson
-
-
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
-
getPatient
- Returns:
patient
(The patient this person is related to.)
-
hasPatient
-
setPatient
- Parameters:
value
-patient
(The patient this person is related to.)
-
getPatientTarget
- Returns:
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.)
-
setPatientTarget
- Parameters:
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.)
-
getRelationship
- Returns:
relationship
(The nature of the relationship between a patient and the related person.)
-
hasRelationship
-
setRelationship
- Parameters:
value
-relationship
(The nature of the relationship between a patient and the related person.)
-
getName
- Returns:
name
(A name associated with the person.)
-
hasName
-
setName
- Parameters:
value
-name
(A name associated with the person.)
-
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 - 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 value
-
hasGenderElement
-
hasGender
-
setGenderElement
- Parameters:
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 value
-
getGender
- Returns:
- Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
-
setGender
- Parameters:
value
- Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
-
getBirthDateElement
- Returns:
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 value
-
hasBirthDateElement
-
hasBirthDate
-
setBirthDateElement
- Parameters:
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 value
-
getBirthDate
- Returns:
- The date on which the related person was born.
-
setBirthDate
- Parameters:
value
- The date on which the related person was born.
-
getAddress
- Returns:
address
(Address where the related person can be contacted or visited.)
-
hasAddress
-
addAddress
- Returns:
address
(Address where the related person can be contacted or visited.)
-
addAddress
-
getPhoto
- Returns:
photo
(Image of the person.)
-
hasPhoto
-
addPhoto
- Returns:
photo
(Image of the person.)
-
addPhoto
-
getPeriod
- Returns:
period
(The period of time that this relationship is considered to be valid. If there are no dates defined, then the interval is unknown.)
-
hasPeriod
-
setPeriod
- Parameters:
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.)
-
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
-