
Package org.hl7.fhir.dstu2.model
Class FamilyMemberHistory
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.FamilyMemberHistory
- 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
Significant health events and conditions for a person related to the patient
relevant in the context of care for the patient.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TypeThe actual or approximate age of the relative at the time the family member history is recorded.protected TypeThe actual or approximate date of birth of the relative.The significant Conditions (or condition) that the family member had.protected DateTimeTypeThe date (and possibly time) when the family member history was taken.protected TypeDeceased flag or the actual or approximate age of the relative at the time of death for the family member history record.protected Enumeration<Enumerations.AdministrativeGender> Administrative Gender - the gender that the relative is considered to have for administration and record keeping purposes.protected List<Identifier> This records identifiers associated with this family member history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).protected StringTypeThis will either be a name or a description; e.g.protected AnnotationThis property allows a non condition-specific note to the made about the related person.protected ReferenceThe person who this history concerns.protected PatientThe actual object that is the target of the reference (The person who this history concerns.)protected CodeableConceptThe type of relationship this person has to the patient (father, mother, brother etc.).static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringA code specifying a state of a Family Member History record.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
ConstructorsConstructorDescriptionFamilyMemberHistory(Reference patient, Enumeration<FamilyMemberHistory.FamilyHistoryStatus> status, CodeableConcept relationship) -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()getAge()getBorn()getDate()getName()getNote()booleanhasAge()booleanbooleanbooleanbooleanhasBorn()booleanbooleanbooleanbooleanbooleanhasDate()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanhasName()booleanbooleanhasNote()booleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> childrenList) setDateElement(DateTimeType value) setDeceased(Type value) setNameElement(StringType value) setNote(Annotation value) setPatient(Reference value) setPatientTarget(Patient value) voidsetProperty(String name, Base value) setRelationship(CodeableConcept value) protected FamilyMemberHistoryMethods 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
This records identifiers associated with this family member history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). -
patient
The person who this history concerns. -
patientTarget
The actual object that is the target of the reference (The person who this history concerns.) -
date
The date (and possibly time) when the family member history was taken. -
status
A code specifying a state of a Family Member History record. -
name
This will either be a name or a description; e.g. "Aunt Susan", "my cousin with the red hair". -
relationship
The type of relationship this person has to the patient (father, mother, brother etc.). -
gender
Administrative Gender - the gender that the relative is considered to have for administration and record keeping purposes. -
born
The actual or approximate date of birth of the relative. -
age
The actual or approximate age of the relative at the time the family member history is recorded. -
deceased
Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record. -
note
This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible. -
condition
The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition. -
SP_DATE
- See Also:
-
SP_IDENTIFIER
- See Also:
-
SP_CODE
- See Also:
-
SP_GENDER
- See Also:
-
SP_PATIENT
- See Also:
-
SP_RELATIONSHIP
- See Also:
-
-
Constructor Details
-
FamilyMemberHistory
public FamilyMemberHistory() -
FamilyMemberHistory
public FamilyMemberHistory(Reference patient, Enumeration<FamilyMemberHistory.FamilyHistoryStatus> status, CodeableConcept relationship)
-
-
Method Details
-
getIdentifier
- Returns:
identifier(This records identifiers associated with this family member history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier(This records identifiers associated with this family member history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).)
-
addIdentifier
-
getPatient
- Returns:
patient(The person who this history concerns.)
-
hasPatient
-
setPatient
- Parameters:
value-patient(The person who this history concerns.)
-
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 person who this history concerns.)
-
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 person who this history concerns.)
-
getDateElement
- Returns:
date(The date (and possibly time) when the family member history was taken.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
hasDateElement
-
hasDate
-
setDateElement
- Parameters:
value-date(The date (and possibly time) when the family member history was taken.). This is the underlying object with id, value and extensions. The accessor "getDate" gives direct access to the value
-
getDate
- Returns:
- The date (and possibly time) when the family member history was taken.
-
setDate
- Parameters:
value- The date (and possibly time) when the family member history was taken.
-
getStatusElement
- Returns:
status(A code specifying a state of a Family Member History record.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
public FamilyMemberHistory setStatusElement(Enumeration<FamilyMemberHistory.FamilyHistoryStatus> value) - Parameters:
value-status(A code specifying a state of a Family Member History record.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- A code specifying a state of a Family Member History record.
-
setStatus
- Parameters:
value- A code specifying a state of a Family Member History record.
-
getNameElement
- Returns:
name(This will either be a name or a description; e.g. "Aunt Susan", "my cousin with the red hair".). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
hasNameElement
-
hasName
-
setNameElement
- Parameters:
value-name(This will either be a name or a description; e.g. "Aunt Susan", "my cousin with the red hair".). This is the underlying object with id, value and extensions. The accessor "getName" gives direct access to the value
-
getName
- Returns:
- This will either be a name or a description; e.g. "Aunt Susan", "my cousin with the red hair".
-
setName
- Parameters:
value- This will either be a name or a description; e.g. "Aunt Susan", "my cousin with the red hair".
-
getRelationship
- Returns:
relationship(The type of relationship this person has to the patient (father, mother, brother etc.).)
-
hasRelationship
-
setRelationship
- Parameters:
value-relationship(The type of relationship this person has to the patient (father, mother, brother etc.).)
-
getGenderElement
- Returns:
gender(Administrative Gender - the gender that the relative 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 relative 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 relative is considered to have for administration and record keeping purposes.
-
setGender
- Parameters:
value- Administrative Gender - the gender that the relative is considered to have for administration and record keeping purposes.
-
getBorn
- Returns:
born(The actual or approximate date of birth of the relative.)
-
getBornPeriod
- Returns:
born(The actual or approximate date of birth of the relative.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasBornPeriod
-
getBornDateType
- Returns:
born(The actual or approximate date of birth of the relative.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasBornDateType
-
getBornStringType
- Returns:
born(The actual or approximate date of birth of the relative.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasBornStringType
-
hasBorn
-
setBorn
- Parameters:
value-born(The actual or approximate date of birth of the relative.)
-
getAge
- Returns:
age(The actual or approximate age of the relative at the time the family member history is recorded.)
-
getAgeAge
- Returns:
age(The actual or approximate age of the relative at the time the family member history is recorded.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasAgeAge
-
getAgeRange
- Returns:
age(The actual or approximate age of the relative at the time the family member history is recorded.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasAgeRange
-
getAgeStringType
- Returns:
age(The actual or approximate age of the relative at the time the family member history is recorded.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasAgeStringType
-
hasAge
-
setAge
- Parameters:
value-age(The actual or approximate age of the relative at the time the family member history is recorded.)
-
getDeceased
- Returns:
deceased(Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.)
-
getDeceasedBooleanType
- Returns:
deceased(Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasDeceasedBooleanType
-
getDeceasedAge
- Returns:
deceased(Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasDeceasedAge
-
getDeceasedRange
- Returns:
deceased(Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasDeceasedRange
-
getDeceasedDateType
- Returns:
deceased(Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasDeceasedDateType
-
getDeceasedStringType
- Returns:
deceased(Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasDeceasedStringType
-
hasDeceased
-
setDeceased
- Parameters:
value-deceased(Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record.)
-
getNote
- Returns:
note(This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible.)
-
hasNote
-
setNote
- Parameters:
value-note(This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible.)
-
getCondition
- Returns:
condition(The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition.)
-
hasCondition
-
addCondition
- Returns:
condition(The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition.)
-
addCondition
-
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
-