Class FamilyMemberHistory
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement
,ca.uhn.fhir.model.api.IElement
,ca.uhn.fhir.model.api.IResource
,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions
,Serializable
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseResource
Definition: Significant health events and conditions for a person related to the patient relevant in the context of care for the patient.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/FamilyMemberHistory
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: FamilyMemberHistory.condition () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for codestatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for datestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for genderstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for relationshipstatic final String
Search parameter constant for codestatic final String
Search parameter constant for datestatic final String
Search parameter constant for genderstatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for patientstatic final String
Search parameter constant for relationshipFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdds and returns a new value for condition ()addCondition
(FamilyMemberHistory.Condition theValue) Adds a given new value for condition ()Adds and returns a new value for identifier (id)addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier (id)ca.uhn.fhir.model.api.IDatatype
getAge()
Gets the value(s) for age[x] ().<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) ca.uhn.fhir.model.api.IDatatype
getBorn()
Gets the value(s) for born[x] ().Gets the value(s) for condition ().Gets the first repetition for condition (), creating it if it does not already exist.getDate()
Gets the value(s) for date (when.recorded).ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for date (when.recorded).ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for deceased[x] ().Gets the value(s) for gender ().ca.uhn.fhir.model.primitive.BoundCodeDt
<AdministrativeGenderEnum> Gets the value(s) for gender ().Gets the value(s) for identifier (id).Gets the first repetition for identifier (id), creating it if it does not already exist.getName()
Gets the value(s) for name ().ca.uhn.fhir.model.primitive.StringDt
Gets the value(s) for name ().getNote()
Gets the value(s) for note ().Gets the value(s) for patient (who.focus).Gets the value(s) for relationship ().Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt
<FamilyHistoryStatusEnum> Gets the value(s) for status (status).ca.uhn.fhir.context.FhirVersionEnum
boolean
isEmpty()
setAge
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for age[x] ()setBorn
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for born[x] ()setCondition
(List<FamilyMemberHistory.Condition> theValue) Sets the value(s) for condition ()setDate
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for date (when.recorded)Sets the value for date (when.recorded)setDateWithSecondsPrecision
(Date theDate) Sets the value for date (when.recorded)setDeceased
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for deceased[x] ()setGender
(AdministrativeGenderEnum theValue) Sets the value(s) for gender ()setGender
(ca.uhn.fhir.model.primitive.BoundCodeDt<AdministrativeGenderEnum> theValue) Sets the value(s) for gender ()setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier (id)setName
(ca.uhn.fhir.model.primitive.StringDt theValue) Sets the value(s) for name ()Sets the value for name ()setNote
(AnnotationDt theValue) Sets the value(s) for note ()setPatient
(ResourceReferenceDt theValue) Sets the value(s) for patient (who.focus)setRelationship
(CodeableConceptDt theValue) Sets the value(s) for relationship ()setStatus
(FamilyHistoryStatusEnum theValue) Sets the value(s) for status (status)setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<FamilyHistoryStatusEnum> theValue) Sets the value(s) for status (status)Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_DATE
Search parameter constant for dateDescription:
Type: date
Path: FamilyMemberHistory.date
- See Also:
-
DATE
Fluent Client search parameter constant for dateDescription:
Type: date
Path: FamilyMemberHistory.date
-
SP_PATIENT
Search parameter constant for patientDescription: The identity of a subject to list family member history items for
Type: reference
Path: FamilyMemberHistory.patient
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: The identity of a subject to list family member history items for
Type: reference
Path: FamilyMemberHistory.patient
-
SP_CODE
Search parameter constant for codeDescription: A search by a condition code
Type: token
Path: FamilyMemberHistory.condition.code
- See Also:
-
CODE
Fluent Client search parameter constant for codeDescription: A search by a condition code
Type: token
Path: FamilyMemberHistory.condition.code
-
SP_IDENTIFIER
Search parameter constant for identifierDescription: A search by a record identifier
Type: token
Path: FamilyMemberHistory.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: A search by a record identifier
Type: token
Path: FamilyMemberHistory.identifier
-
SP_RELATIONSHIP
Search parameter constant for relationshipDescription: A search by a relationship type
Type: token
Path: FamilyMemberHistory.relationship
- See Also:
-
RELATIONSHIP
Fluent Client search parameter constant for relationshipDescription: A search by a relationship type
Type: token
Path: FamilyMemberHistory.relationship
-
SP_GENDER
Search parameter constant for genderDescription: A search by a gender code of a family member
Type: token
Path: FamilyMemberHistory.gender
- See Also:
-
GENDER
Fluent Client search parameter constant for genderDescription: A search by a gender code of a family member
Type: token
Path: FamilyMemberHistory.gender
-
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "FamilyMemberHistory:patient".
-
-
Constructor Details
-
FamilyMemberHistory
public FamilyMemberHistory()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType) - Specified by:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull
.Definition: 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)
-
setIdentifier
Sets the value(s) for identifier (id)Definition: 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
Adds and returns a new value for identifier (id)Definition: 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
Adds a given new value for identifier (id)Definition: 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)
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition: 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)
-
getPatient
Gets the value(s) for patient (who.focus). creating it if it does not exist. Will not returnnull
.Definition: The person who this history concerns
-
setPatient
Sets the value(s) for patient (who.focus)Definition: The person who this history concerns
-
getDateElement
Gets the value(s) for date (when.recorded). creating it if it does not exist. Will not returnnull
.Definition: The date (and possibly time) when the family member history was taken
-
getDate
Gets the value(s) for date (when.recorded). creating it if it does not exist. This method may returnnull
.Definition: The date (and possibly time) when the family member history was taken
-
setDate
Sets the value(s) for date (when.recorded)Definition: The date (and possibly time) when the family member history was taken
-
setDateWithSecondsPrecision
Sets the value for date (when.recorded)Definition: The date (and possibly time) when the family member history was taken
-
setDate
public FamilyMemberHistory setDate(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for date (when.recorded)Definition: The date (and possibly time) when the family member history was taken
-
getStatusElement
Gets the value(s) for status (status). creating it if it does not exist. Will not returnnull
.Definition: A code specifying a state of a Family Member History record.
-
getStatus
Gets the value(s) for status (status). creating it if it does not exist. This method may returnnull
.Definition: A code specifying a state of a Family Member History record.
-
setStatus
public FamilyMemberHistory setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<FamilyHistoryStatusEnum> theValue) Sets the value(s) for status (status)Definition: A code specifying a state of a Family Member History record.
-
setStatus
Sets the value(s) for status (status)Definition: A code specifying a state of a Family Member History record.
-
getNameElement
Gets the value(s) for name (). creating it if it does not exist. Will not returnnull
.Definition: This will either be a name or a description; e.g. \"Aunt Susan\", \"my cousin with the red hair\"
-
getName
Gets the value(s) for name (). creating it if it does not exist. This method may returnnull
.Definition: This will either be a name or a description; e.g. \"Aunt Susan\", \"my cousin with the red hair\"
-
setName
Sets the value(s) for name ()Definition: This will either be a name or a description; e.g. \"Aunt Susan\", \"my cousin with the red hair\"
-
setName
Sets the value for name ()Definition: This will either be a name or a description; e.g. \"Aunt Susan\", \"my cousin with the red hair\"
-
getRelationship
Gets the value(s) for relationship (). creating it if it does not exist. Will not returnnull
.Definition: The type of relationship this person has to the patient (father, mother, brother etc.)
-
setRelationship
Sets the value(s) for relationship ()Definition: The type of relationship this person has to the patient (father, mother, brother etc.)
-
getGenderElement
Gets the value(s) for gender (). creating it if it does not exist. Will not returnnull
.Definition: Administrative Gender - the gender that the relative is considered to have for administration and record keeping purposes.
-
getGender
Gets the value(s) for gender (). creating it if it does not exist. This method may returnnull
.Definition: Administrative Gender - the gender that the relative is considered to have for administration and record keeping purposes.
-
setGender
public FamilyMemberHistory setGender(ca.uhn.fhir.model.primitive.BoundCodeDt<AdministrativeGenderEnum> theValue) Sets the value(s) for gender ()Definition: Administrative Gender - the gender that the relative is considered to have for administration and record keeping purposes.
-
setGender
Sets the value(s) for gender ()Definition: Administrative Gender - the gender that the relative is considered to have for administration and record keeping purposes.
-
getBorn
Gets the value(s) for born[x] (). creating it if it does not exist. Will not returnnull
.Definition: The actual or approximate date of birth of the relative
-
setBorn
Sets the value(s) for born[x] ()Definition: The actual or approximate date of birth of the relative
-
getAge
Gets the value(s) for age[x] (). creating it if it does not exist. Will not returnnull
.Definition: The actual or approximate age of the relative at the time the family member history is recorded
-
setAge
Sets the value(s) for age[x] ()Definition: The actual or approximate age of the relative at the time the family member history is recorded
-
getDeceased
Gets the value(s) for deceased[x] (). creating it if it does not exist. Will not returnnull
.Definition: Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record
-
setDeceased
Sets the value(s) for deceased[x] ()Definition: Deceased flag or the actual or approximate age of the relative at the time of death for the family member history record
-
getNote
Gets the value(s) for note (). creating it if it does not exist. Will not returnnull
.Definition: 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.
-
setNote
Sets the value(s) for note ()Definition: 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
Gets the value(s) for condition (). creating it if it does not exist. Will not returnnull
.Definition: 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.
-
setCondition
Sets the value(s) for condition ()Definition: 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
Adds and returns a new value for condition ()Definition: 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
Adds a given new value for condition ()Definition: 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.
- Parameters:
theValue
- The condition to add (must not benull
)
-
getConditionFirstRep
Gets the first repetition for condition (), creating it if it does not already exist.Definition: 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.
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-