Class ValueSet.Expansion.Contains.Builder

    • Method Detail

      • id

        public ValueSet.Expansion.Contains.Builder id​(java.lang.String id)
        Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
        Overrides:
        id in class BackboneElement.Builder
        Parameters:
        id - Unique id for inter-element referencing
        Returns:
        A reference to this Builder instance
      • extension

        public ValueSet.Expansion.Contains.Builder extension​(Extension... extension)
        May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Overrides:
        extension in class BackboneElement.Builder
        Parameters:
        extension - Additional content defined by implementations
        Returns:
        A reference to this Builder instance
      • extension

        public ValueSet.Expansion.Contains.Builder extension​(java.util.Collection<Extension> extension)
        May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Overrides:
        extension in class BackboneElement.Builder
        Parameters:
        extension - Additional content defined by implementations
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • modifierExtension

        public ValueSet.Expansion.Contains.Builder modifierExtension​(Extension... modifierExtension)
        May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

        Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Overrides:
        modifierExtension in class BackboneElement.Builder
        Parameters:
        modifierExtension - Extensions that cannot be ignored even if unrecognized
        Returns:
        A reference to this Builder instance
      • modifierExtension

        public ValueSet.Expansion.Contains.Builder modifierExtension​(java.util.Collection<Extension> modifierExtension)
        May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

        Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Overrides:
        modifierExtension in class BackboneElement.Builder
        Parameters:
        modifierExtension - Extensions that cannot be ignored even if unrecognized
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • system

        public ValueSet.Expansion.Contains.Builder system​(Uri system)
        An absolute URI which is the code system in which the code for this item in the expansion is defined.
        Parameters:
        system - System value for the code
        Returns:
        A reference to this Builder instance
      • _abstract

        public ValueSet.Expansion.Contains.Builder _abstract​(Boolean _abstract)
        If true, this entry is included in the expansion for navigational purposes, and the user cannot select the code directly as a proper value.
        Parameters:
        _abstract - If user cannot select this entry
        Returns:
        A reference to this Builder instance
      • inactive

        public ValueSet.Expansion.Contains.Builder inactive​(Boolean inactive)
        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).
        Parameters:
        inactive - If concept is inactive in the code system
        Returns:
        A reference to this Builder instance
      • version

        public ValueSet.Expansion.Contains.Builder version​(String version)
        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.
        Parameters:
        version - Version in which this code/display is defined
        Returns:
        A reference to this Builder instance
      • code

        public ValueSet.Expansion.Contains.Builder code​(Code code)
        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.
        Parameters:
        code - Code - if blank, this is not a selectable code
        Returns:
        A reference to this Builder instance
      • display

        public ValueSet.Expansion.Contains.Builder display​(String display)
        The recommended display for this item in the expansion.
        Parameters:
        display - User display for the concept
        Returns:
        A reference to this Builder instance
      • designation

        public ValueSet.Expansion.Contains.Builder designation​(ValueSet.Compose.Include.Concept.Designation... designation)
        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.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Parameters:
        designation - Additional representations for this item
        Returns:
        A reference to this Builder instance
      • designation

        public ValueSet.Expansion.Contains.Builder designation​(java.util.Collection<ValueSet.Compose.Include.Concept.Designation> designation)
        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.

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Parameters:
        designation - Additional representations for this item
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • contains

        public ValueSet.Expansion.Contains.Builder contains​(ValueSet.Expansion.Contains... contains)
        Other codes and entries contained under this entry in the hierarchy.

        Adds new element(s) to the existing list. If any of the elements are null, calling build() will fail.

        Parameters:
        contains - Codes contained under this entry
        Returns:
        A reference to this Builder instance
      • contains

        public ValueSet.Expansion.Contains.Builder contains​(java.util.Collection<ValueSet.Expansion.Contains> contains)
        Other codes and entries contained under this entry in the hierarchy.

        Replaces the existing list with a new one containing elements from the Collection. If any of the elements are null, calling build() will fail.

        Parameters:
        contains - Codes contained under this entry
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null