Class Group.Characteristic

java.lang.Object
ca.uhn.fhir.model.api.BaseElement
ca.uhn.fhir.model.api.BaseIdentifiableElement
ca.uhn.fhir.model.dstu2.resource.Group.Characteristic
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:
Group

public static class Group.Characteristic
extends ca.uhn.fhir.model.api.BaseIdentifiableElement
implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: Group.characteristic ()

Definition: Identifies the traits shared by members of the group

See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    Characteristic()  
  • Method Summary

    Modifier and Type Method Description
    <T extends ca.uhn.fhir.model.api.IElement>
    List<T>
    getAllPopulatedChildElementsOfType​(Class<T> theType)  
    CodeableConceptDt getCode()
    Gets the value(s) for code ().
    Boolean getExclude()
    Gets the value(s) for exclude ().
    ca.uhn.fhir.model.primitive.BooleanDt getExcludeElement()
    Gets the value(s) for exclude ().
    PeriodDt getPeriod()
    Gets the value(s) for period ().
    ca.uhn.fhir.model.api.IDatatype getValue()
    Gets the value(s) for value[x] ().
    boolean isEmpty()  
    Group.Characteristic setCode​(CodeableConceptDt theValue)
    Sets the value(s) for code ()
    Group.Characteristic setExclude​(boolean theBoolean)
    Sets the value for exclude ()
    Group.Characteristic setExclude​(ca.uhn.fhir.model.primitive.BooleanDt theValue)
    Sets the value(s) for exclude ()
    Group.Characteristic setPeriod​(PeriodDt theValue)
    Sets the value(s) for period ()
    Group.Characteristic setValue​(ca.uhn.fhir.model.api.IDatatype theValue)
    Sets the value(s) for value[x] ()

    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

    Methods inherited from interface org.hl7.fhir.instance.model.api.IBase

    fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData

    Methods inherited from interface ca.uhn.fhir.model.api.IIdentifiableElement

    getElementSpecificId, getId, setElementSpecificId, setId, setId
  • 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: A code that identifies the kind of trait being asserted

    • setCode

      Sets the value(s) for code ()

      Definition: A code that identifies the kind of trait being asserted

    • getValue

      public ca.uhn.fhir.model.api.IDatatype getValue()
      Gets the value(s) for value[x] (). creating it if it does not exist. Will not return null.

      Definition: The value of the trait that holds (or does not hold - see 'exclude') for members of the group

    • setValue

      public Group.Characteristic setValue​(ca.uhn.fhir.model.api.IDatatype theValue)
      Sets the value(s) for value[x] ()

      Definition: The value of the trait that holds (or does not hold - see 'exclude') for members of the group

    • getExcludeElement

      public ca.uhn.fhir.model.primitive.BooleanDt getExcludeElement()
      Gets the value(s) for exclude (). creating it if it does not exist. Will not return null.

      Definition: If true, indicates the characteristic is one that is NOT held by members of the group

    • getExclude

      public Boolean getExclude()
      Gets the value(s) for exclude (). creating it if it does not exist. This method may return null.

      Definition: If true, indicates the characteristic is one that is NOT held by members of the group

    • setExclude

      public Group.Characteristic setExclude​(ca.uhn.fhir.model.primitive.BooleanDt theValue)
      Sets the value(s) for exclude ()

      Definition: If true, indicates the characteristic is one that is NOT held by members of the group

    • setExclude

      public Group.Characteristic setExclude​(boolean theBoolean)
      Sets the value for exclude ()

      Definition: If true, indicates the characteristic is one that is NOT held by members of the group

    • getPeriod

      public PeriodDt getPeriod()
      Gets the value(s) for period (). creating it if it does not exist. Will not return null.

      Definition: The period over which the characteristic is tested; e.g. the patient had an operation during the month of June

    • setPeriod

      public Group.Characteristic setPeriod​(PeriodDt theValue)
      Sets the value(s) for period ()

      Definition: The period over which the characteristic is tested; e.g. the patient had an operation during the month of June