Class SimpleQuantityBuilder.Impl

    • Constructor Detail

      • Impl

        public Impl()
        Required fields for SimpleQuantity
    • Method Detail

      • withId

        public SimpleQuantityBuilder.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.
      • withUnit

        public SimpleQuantityBuilder.Impl withUnit​(@NonNull
                                                   @NonNull java.lang.String unit)
        Parameters:
        unit - - A human-readable form of the unit.
      • withCode

        public SimpleQuantityBuilder.Impl withCode​(@NonNull
                                                   @NonNull java.lang.String code)
        Parameters:
        code - - A computer processable form of the unit in some unit representation system.
      • withValue

        public SimpleQuantityBuilder.Impl withValue​(@NonNull
                                                    @NonNull scala.math.BigDecimal value)
        Parameters:
        value - - The value of the measured amount. The value includes an implicit precision in the presentation of the value.
      • withSystem

        public SimpleQuantityBuilder.Impl withSystem​(@NonNull
                                                     @NonNull java.lang.String system)
        Parameters:
        system - - The identification of the system that provides the coded form of the unit.
      • withExtension

        public SimpleQuantityBuilder.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 SimpleQuantityBuilder.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.
      • withExtension

        public SimpleQuantityBuilder.Impl withExtension​(@NonNull
                                                        @NonNull com.babylonhealth.lit.core_java.builders.ExtensionBuilder... extension)
      • build

        public com.babylonhealth.lit.hl7.model.SimpleQuantity build()
        Specified by:
        build in interface com.babylonhealth.lit.core_java.builders.ElementBuilder
        Specified by:
        build in interface com.babylonhealth.lit.core_java.builders.QuantityBuilder
        Specified by:
        build in interface SimpleQuantityBuilder