public class RelatedPerson extends DomainResource
| Modifier and Type | Field and Description |
|---|---|
protected List<Address> |
address
Address where the related person can be contacted or visited.
|
protected DateType |
birthDate
The date on which the related person was born.
|
protected Enumeration<Enumerations.AdministrativeGender> |
gender
Administrative Gender - the gender that the person is considered to have for administration and record keeping purposes.
|
protected List<Identifier> |
identifier
Identifier for a person within a particular scope.
|
protected HumanName |
name
A name associated with the person.
|
protected Reference |
patient
The patient this person is related to.
|
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.
|
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_ADDRESS |
static String |
SP_ADDRESSCITY |
static String |
SP_ADDRESSCOUNTRY |
static String |
SP_ADDRESSPOSTALCODE |
static String |
SP_ADDRESSSTATE |
static String |
SP_ADDRESSUSE |
static String |
SP_BIRTHDATE |
static String |
SP_EMAIL |
static String |
SP_GENDER |
static String |
SP_IDENTIFIER |
static String |
SP_NAME |
static String |
SP_PATIENT |
static String |
SP_PHONE |
static String |
SP_PHONETIC |
static String |
SP_TELECOM |
protected List<ContactPoint> |
telecom
A contact detail for the person, e.g.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
RelatedPerson() |
RelatedPerson(Reference patient) |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, 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, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
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
public static final String SP_ADDRESS
public static final String SP_BIRTHDATE
public static final String SP_ADDRESSSTATE
public static final String SP_GENDER
public static final String SP_ADDRESSPOSTALCODE
public static final String SP_ADDRESSCOUNTRY
public static final String SP_PHONETIC
public static final String SP_PHONE
public static final String SP_PATIENT
public static final String SP_NAME
public static final String SP_ADDRESSUSE
public static final String SP_TELECOM
public static final String SP_ADDRESSCITY
public static final String SP_EMAIL
public RelatedPerson()
public RelatedPerson(Reference patient)
public List<Identifier> getIdentifier()
identifier (Identifier for a person within a particular scope.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (Identifier for a person within a particular scope.)public RelatedPerson addIdentifier(Identifier t)
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 boolean hasName()
public RelatedPerson setName(HumanName value)
value - name (A name associated with the person.)public List<ContactPoint> getTelecom()
telecom (A contact detail for the person, e.g. a telephone number or an email address.)public boolean hasTelecom()
public ContactPoint addTelecom()
telecom (A contact detail for the person, e.g. a telephone number or an email address.)public RelatedPerson addTelecom(ContactPoint t)
public 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 boolean hasAddress()
public Address addAddress()
address (Address where the related person can be contacted or visited.)public RelatedPerson addAddress(Address t)
public List<Attachment> getPhoto()
photo (Image of the person.)public boolean hasPhoto()
public Attachment addPhoto()
photo (Image of the person.)public RelatedPerson addPhoto(Attachment t)
public 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 void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty 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 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 org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.