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
Modifier and TypeClassDescriptionstatic enum
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected Type
The actual or approximate age of the relative at the time the family member history is recorded.protected Type
The actual or approximate date of birth of the relative.The significant Conditions (or condition) that the family member had.protected DateTimeType
The date (and possibly time) when the family member history was taken.protected Type
Deceased 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.protected StringType
This will either be a name or a description; e.g.protected Annotation
This property allows a non condition-specific note to the made about the related person.protected Reference
The person who this history concerns.protected Patient
The actual object that is the target of the reference (The person who this history concerns.)protected CodeableConcept
The type of relationship this person has to the patient (father, mother, brother etc.).static final String
static final String
static final String
static final String
static final String
static final String
A code specifying a state of a Family Member History record.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
ConstructorDescriptionFamilyMemberHistory
(Reference patient, Enumeration<FamilyMemberHistory.FamilyHistoryStatus> status, CodeableConcept relationship) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getAge()
getBorn()
getDate()
getName()
getNote()
boolean
hasAge()
boolean
boolean
boolean
boolean
hasBorn()
boolean
boolean
boolean
boolean
boolean
hasDate()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasName()
boolean
boolean
hasNote()
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setDateElement
(DateTimeType value) setDeceased
(Type value) setNameElement
(StringType value) setNote
(Annotation value) setPatient
(Reference value) setPatientTarget
(Patient value) void
setProperty
(String name, Base value) setRelationship
(CodeableConcept value) protected FamilyMemberHistory
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
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:
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 person who this history concerns.)
-
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 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:
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
-