Class ElementDefinition_BaseBuilder.Impl

    • Constructor Detail

      • Impl

        public Impl​(java.lang.Integer min,
                    java.lang.String max,
                    java.lang.String path)
        Required fields for ElementDefinition.Base
        Parameters:
        min - - The minimum number of times this element SHALL appear in the instance.
        max - - The maximum number of times this element is permitted to appear in the instance.
        path - - The path identifies the element and is expressed as a "."-separated list of ancestor elements, beginning with the name of the resource or extension.
    • Method Detail

      • withId

        public ElementDefinition_BaseBuilder.Impl withId​(@NonNull
                                                         @NonNull java.lang.String id)
        Parameters:
        id - - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
      • withExtension

        public ElementDefinition_BaseBuilder.Impl withExtension​(@NonNull
                                                                @NonNull com.babylonhealth.lit.core.model.Extension... extension)
        Parameters:
        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.
      • withExtension

        public ElementDefinition_BaseBuilder.Impl withExtension​(@NonNull
                                                                @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)
        Parameters:
        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.