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:
  • Constructor Details

  • Method Details

    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.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 interface ca.uhn.fhir.model.api.ICompositeElement
    • getCode

      Gets the value(s) for code (). creating it if it does not exist. Will not return null.

      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

      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

      Gets the value(s) for outcome (). creating it if it does not exist. Will not return null.

      Definition: Indicates what happened as a result of this condition. If the condition resulted in death, deceased date is captured on the relation.

    • setOutcome

      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 return null.

      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

      Gets the value(s) for note (). creating it if it does not exist. Will not return null.

      Definition: An area where general notes can be placed about this specific condition.

    • setNote

      Sets the value(s) for note ()

      Definition: An area where general notes can be placed about this specific condition.