Class ParameterDefinitionBuilder.Impl

    • Constructor Detail

      • Impl

        public Impl​(com.babylonhealth.lit.core.OPERATION_PARAMETER_USE use,
                    com.babylonhealth.lit.core.ALL_TYPES _type)
        Required fields for ParameterDefinition
        Parameters:
        use - - Whether the parameter is input or output for the module.
        _type - - The type of the parameter.
    • Method Detail

      • withId

        public ParameterDefinitionBuilder.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.
      • withMin

        public ParameterDefinitionBuilder.Impl withMin​(@NonNull
                                                       @NonNull java.lang.Integer min)
        Parameters:
        min - - The minimum number of times this parameter SHALL appear in the request or response.
      • withMax

        public ParameterDefinitionBuilder.Impl withMax​(@NonNull
                                                       @NonNull java.lang.String max)
        Parameters:
        max - - The maximum number of times this element is permitted to appear in the request or response.
      • withName

        public ParameterDefinitionBuilder.Impl withName​(@NonNull
                                                        @NonNull java.lang.String name)
        Parameters:
        name - - The name of the parameter used to allow access to the value of the parameter in evaluation contexts.
      • withProfile

        public ParameterDefinitionBuilder.Impl withProfile​(@NonNull
                                                           @NonNull java.lang.String profile)
        Parameters:
        profile - - If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.
      • withExtension

        public ParameterDefinitionBuilder.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 ParameterDefinitionBuilder.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.
      • withDocumentation

        public ParameterDefinitionBuilder.Impl withDocumentation​(@NonNull
                                                                 @NonNull java.lang.String documentation)
        Parameters:
        documentation - - A brief discussion of what the parameter is for and how it is used by the module.