Class ElementDefinition_ConstraintBuilder.Impl

    • Constructor Detail

      • Impl

        public Impl​(java.lang.String key,
                    java.lang.String human,
                    com.babylonhealth.lit.hl7.CONSTRAINT_SEVERITY severity)
        Required fields for ElementDefinition.Constraint
        Parameters:
        key -
        human -
        severity -
    • Method Detail

      • withId

        public ElementDefinition_ConstraintBuilder.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_ConstraintBuilder.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_ConstraintBuilder.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.
      • withRequirements

        public ElementDefinition_ConstraintBuilder.Impl withRequirements​(@NonNull
                                                                         @NonNull java.lang.String requirements)
        Parameters:
        requirements - - This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element.