Class ExpressionBuilder.Impl

    • Constructor Detail

      • Impl

        public Impl​(com.babylonhealth.lit.core.EXPRESSION_LANGUAGE language)
        Required fields for Expression
        Parameters:
        language - - The media type of the language for the expression.
    • Method Detail

      • withId

        public ExpressionBuilder.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.
      • withName

        public ExpressionBuilder.Impl withName​(@NonNull
                                               @NonNull java.lang.String name)
        Parameters:
        name - - A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.
      • withExtension

        public ExpressionBuilder.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 ExpressionBuilder.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.
      • withReference

        public ExpressionBuilder.Impl withReference​(@NonNull
                                                    @NonNull java.lang.String reference)
        Parameters:
        reference - - A URI that defines where the expression is found.
      • withExpression

        public ExpressionBuilder.Impl withExpression​(@NonNull
                                                     @NonNull java.lang.String expression)
        Parameters:
        expression - - An expression in the specified language that returns a value.
      • withDescription

        public ExpressionBuilder.Impl withDescription​(@NonNull
                                                      @NonNull java.lang.String description)
        Parameters:
        description - - A brief, natural language description of the condition that effectively communicates the intended semantics.