
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
FieldsModifier and TypeFieldDescriptionAddress where the related person can be contacted or visited.protected DateTypeThe 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 HumanNameA name associated with the person.protected ReferenceThe patient this person is related to.protected PatientThe actual object that is the target of the reference (The patient this person is related to.)protected PeriodThe period of time that this relationship is considered to be valid.protected List<Attachment> Image of the person.protected CodeableConceptThe nature of the relationship between a patient and the related person.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected List<ContactPoint> A contact detail for the person, e.g. a telephone number or an email address.Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, metaFields 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_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPhoto()copy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()getName()getPhoto()booleanbooleanbooleanbooleanbooleanbooleanbooleanhasName()booleanbooleanbooleanhasPhoto()booleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> childrenList) setBirthDate(Date value) setBirthDateElement(DateType value) setPatient(Reference value) setPatientTarget(Patient value) voidsetProperty(String name, Base value) setRelationship(CodeableConcept value) protected RelatedPersonMethods 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, setTextMethods 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, setMetaMethods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setIdMethods 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, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods 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:
patientThe 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-patientThe 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:
listChildrenin classDomainResource
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-