Class FamilyMemberHistory.Condition
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.api.BaseIdentifiableElement
-
- ca.uhn.fhir.model.dstu2.resource.FamilyMemberHistory.Condition
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IIdentifiableElement,ca.uhn.fhir.model.api.IResourceBlock,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase
- Enclosing class:
- FamilyMemberHistory
public static class FamilyMemberHistory.Condition extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: FamilyMemberHistory.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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Condition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)CodeableConceptDtgetCode()Gets the value(s) for code ().AnnotationDtgetNote()Gets the value(s) for note ().ca.uhn.fhir.model.api.IDatatypegetOnset()Gets the value(s) for onset[x] ().CodeableConceptDtgetOutcome()Gets the value(s) for outcome ().booleanisEmpty()FamilyMemberHistory.ConditionsetCode(CodeableConceptDt theValue)Sets the value(s) for code ()FamilyMemberHistory.ConditionsetNote(AnnotationDt theValue)Sets the value(s) for note ()FamilyMemberHistory.ConditionsetOnset(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for onset[x] ()FamilyMemberHistory.ConditionsetOutcome(CodeableConceptDt theValue)Sets the value(s) for outcome ()-
Methods inherited from class ca.uhn.fhir.model.api.BaseIdentifiableElement
getElementSpecificId, getId, setElementSpecificId, setId, setId
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, isBaseEmpty, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
Condition
public Condition()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin 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:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getCode
public CodeableConceptDt getCode()
Gets the value(s) for code (). creating it if it does not exist. Will not returnnull.Definition: The actual condition specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system
-
setCode
public FamilyMemberHistory.Condition setCode(CodeableConceptDt theValue)
Sets the value(s) for code ()Definition: The actual condition specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system
-
getOutcome
public CodeableConceptDt getOutcome()
Gets the value(s) for outcome (). creating it if it does not exist. Will not returnnull.Definition: Indicates what happened as a result of this condition. If the condition resulted in death, deceased date is captured on the relation.
-
setOutcome
public FamilyMemberHistory.Condition setOutcome(CodeableConceptDt theValue)
Sets the value(s) for outcome ()Definition: Indicates what happened as a result of this condition. If the condition resulted in death, deceased date is captured on the relation.
-
getOnset
public ca.uhn.fhir.model.api.IDatatype getOnset()
Gets the value(s) for onset[x] (). creating it if it does not exist. Will not returnnull.Definition: Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence.
-
setOnset
public FamilyMemberHistory.Condition setOnset(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for onset[x] ()Definition: Either the age of onset, range of approximate age or descriptive string can be recorded. For conditions with multiple occurrences, this describes the first known occurrence.
-
getNote
public AnnotationDt getNote()
Gets the value(s) for note (). creating it if it does not exist. Will not returnnull.Definition: An area where general notes can be placed about this specific condition.
-
setNote
public FamilyMemberHistory.Condition setNote(AnnotationDt theValue)
Sets the value(s) for note ()Definition: An area where general notes can be placed about this specific condition.
-
-