Class ValueSet.Compose

  • All Implemented Interfaces:
    Visitable
    Enclosing class:
    ValueSet

    public static class ValueSet.Compose
    extends BackboneElement
    A set of criteria that define the contents of the value set by including or excluding codes selected from the specified code system(s) that the value set draws from. This is also known as the Content Logical Definition (CLD).
    • Method Detail

      • getLockedDate

        public Date getLockedDate()
        The Locked Date is the effective date that is used to determine the version of all referenced Code Systems and Value Set Definitions included in the compose that are not already tied to a specific version.
        Returns:
        An immutable object of type Date that may be null.
      • getInactive

        public Boolean getInactive()
        Whether inactive codes - codes that are not approved for current use - are in the value set. If inactive = true, inactive codes are to be included in the expansion, if inactive = false, the inactive codes will not be included in the expansion. If absent, the behavior is determined by the implementation, or by the applicable $expand parameters (but generally, inactive codes would be expected to be included).
        Returns:
        An immutable object of type Boolean that may be null.
      • getInclude

        public java.util.List<ValueSet.Compose.Include> getInclude()
        Include one or more codes from a code system or other value set(s).
        Returns:
        An unmodifiable list containing immutable objects of type ValueSet.Compose.Include that is non-empty.
      • getExclude

        public java.util.List<ValueSet.Compose.Include> getExclude()
        Exclude one or more codes from the value set based on code system filters and/or other value sets.
        Returns:
        An unmodifiable list containing immutable objects of type ValueSet.Compose.Include that may be empty.
      • accept

        public void accept​(java.lang.String elementName,
                           int elementIndex,
                           Visitor visitor)
        Description copied from interface: Visitable
        Accept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:
         if (visitor.preVisit(this)) {
             visitor.visitStart(elementName, elementIndex, this);
             if (visitor.visit(elementName, elementIndex, this)) {
                 // visit children
             }
             visitor.visitEnd(elementName, elementIndex, this);
             visitor.postVisit(this);
         }
         
        Specified by:
        accept in interface Visitable
        Specified by:
        accept in class AbstractVisitable
        Parameters:
        elementName - the name of the element in the context of this visit
        elementIndex - the index of the element in a list or -1 if it is not contained within a List
        visitor - the visitor to use
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object