Class 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:
    Serialized Form
    • Constructor Detail

    • Method Detail

      • 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

        public ValueSet.Compose addImport​(String theUri)
        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

        public List<ValueSet.ComposeIncludegetInclude()
        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

      • getIncludeFirstRep

        public ValueSet.ComposeInclude 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

        public List<ValueSet.ComposeIncludegetExclude()
        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

      • getExcludeFirstRep

        public ValueSet.ComposeInclude 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