Class ConceptMap.Group.Builder

    • Method Detail

      • id

        public ConceptMap.Group.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 ConceptMap.Group.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 ConceptMap.Group.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 ConceptMap.Group.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 ConceptMap.Group.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
      • source

        public ConceptMap.Group.Builder source​(Uri source)
        An absolute URI that identifies the source system where the concepts to be mapped are defined.
        Parameters:
        source - Source system where concepts to be mapped are defined
        Returns:
        A reference to this Builder instance
      • sourceVersion

        public ConceptMap.Group.Builder sourceVersion​(String sourceVersion)
        The specific version of the code system, as determined by the code system authority.
        Parameters:
        sourceVersion - Specific version of the code system
        Returns:
        A reference to this Builder instance
      • target

        public ConceptMap.Group.Builder target​(Uri target)
        An absolute URI that identifies the target system that the concepts will be mapped to.
        Parameters:
        target - Target system that the concepts are to be mapped to
        Returns:
        A reference to this Builder instance
      • targetVersion

        public ConceptMap.Group.Builder targetVersion​(String targetVersion)
        The specific version of the code system, as determined by the code system authority.
        Parameters:
        targetVersion - Specific version of the code system
        Returns:
        A reference to this Builder instance
      • element

        public ConceptMap.Group.Builder element​(ConceptMap.Group.Element... element)
        Mappings for an individual concept in the source to one or more concepts in the target.

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

        This element is required.

        Parameters:
        element - Mappings for a concept from the source set
        Returns:
        A reference to this Builder instance
      • element

        public ConceptMap.Group.Builder element​(java.util.Collection<ConceptMap.Group.Element> element)
        Mappings for an individual concept in the source to one or more concepts in the target.

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

        This element is required.

        Parameters:
        element - Mappings for a concept from the source set
        Returns:
        A reference to this Builder instance
        Throws:
        java.lang.NullPointerException - If the passed collection is null
      • unmapped

        public ConceptMap.Group.Builder unmapped​(ConceptMap.Group.Unmapped unmapped)
        What to do when there is no mapping for the source concept. "Unmapped" does not include codes that are unmatched, and the unmapped element is ignored in a code is specified to have equivalence = unmatched.
        Parameters:
        unmapped - What to do when there is no mapping for the source concept
        Returns:
        A reference to this Builder instance