Class ValueSet.Expansion.Contains

    • Method Detail

      • getSystem

        public Uri getSystem()
        An absolute URI which is the code system in which the code for this item in the expansion is defined.
        Returns:
        An immutable object of type Uri that may be null.
      • getAbstract

        public Boolean getAbstract()
        If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value.
        Returns:
        An immutable object of type Boolean that may be null.
      • getInactive

        public Boolean getInactive()
        If the concept is inactive in the code system that defines it. Inactive codes are those that are no longer to be used, but are maintained by the code system for understanding legacy data. It might not be known or specified whether an concept is inactive (and it may depend on the context of use).
        Returns:
        An immutable object of type Boolean that may be null.
      • getVersion

        public String getVersion()
        The version of the code system from this code was taken. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
        Returns:
        An immutable object of type String that may be null.
      • getCode

        public Code getCode()
        The code for this item in the expansion hierarchy. If this code is missing the entry in the hierarchy is a place holder (abstract) and does not represent a valid code in the value set.
        Returns:
        An immutable object of type Code that may be null.
      • getDisplay

        public String getDisplay()
        The recommended display for this item in the expansion.
        Returns:
        An immutable object of type String that may be null.
      • getDesignation

        public java.util.List<ValueSet.Compose.Include.Concept.Designation> getDesignation()
        Additional representations for this item - other languages, aliases, specialized purposes, used for particular purposes, etc. These are relevant when the conditions of the expansion do not fix to a single correct representation.
        Returns:
        An unmodifiable list containing immutable objects of type Designation 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