Class ValueSet.Compose

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

public static class ValueSet.Compose extends ca.uhn.fhir.model.api.BaseIdentifiableElement implements ca.uhn.fhir.model.api.IResourceBlock
Block class for child element: ValueSet.compose ()

Definition: A set of criteria that provide the content logical definition of the value set by including or excluding codes from outside this value set

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
    • getImport

      public List<ca.uhn.fhir.model.primitive.UriDt> getImport()
      Gets the value(s) for import (). creating it if it does not exist. Will not return null.

      Definition: Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri

    • setImport

      public ValueSet.Compose setImport(List<ca.uhn.fhir.model.primitive.UriDt> theValue)
      Sets the value(s) for import ()

      Definition: Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri

    • addImport

      public ca.uhn.fhir.model.primitive.UriDt addImport()
      Adds and returns a new value for import ()

      Definition: Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri

    • addImport

      public ValueSet.Compose addImport(ca.uhn.fhir.model.primitive.UriDt theValue)
      Adds a given new value for import ()

      Definition: Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri

      Parameters:
      theValue - The import to add (must not be null)
    • getImportFirstRep

      public ca.uhn.fhir.model.primitive.UriDt getImportFirstRep()
      Gets the first repetition for import (), creating it if it does not already exist.

      Definition: Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri

    • addImport

      Adds a new value for import ()

      Definition: Includes the contents of the referenced value set as a part of the contents of this value set. This is an absolute URI that is a reference to ValueSet.uri

      Returns:
      Returns a reference to this object, to allow for simple chaining.
    • getInclude

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

      Definition: Include one or more codes from a code system

    • setInclude

      Sets the value(s) for include ()

      Definition: Include one or more codes from a code system

    • addInclude

      Adds and returns a new value for include ()

      Definition: Include one or more codes from a code system

    • addInclude

      Adds a given new value for include ()

      Definition: Include one or more codes from a code system

      Parameters:
      theValue - The include to add (must not be null)
    • getIncludeFirstRep

      Gets the first repetition for include (), creating it if it does not already exist.

      Definition: Include one or more codes from a code system

    • getExclude

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

      Definition: Exclude one or more codes from the value set

    • setExclude

      Sets the value(s) for exclude ()

      Definition: Exclude one or more codes from the value set

    • addExclude

      Adds and returns a new value for exclude ()

      Definition: Exclude one or more codes from the value set

    • addExclude

      Adds a given new value for exclude ()

      Definition: Exclude one or more codes from the value set

      Parameters:
      theValue - The exclude to add (must not be null)
    • getExcludeFirstRep

      Gets the first repetition for exclude (), creating it if it does not already exist.

      Definition: Exclude one or more codes from the value set