Class SimpleQuantity.Builder

    • Method Detail

      • id

        public SimpleQuantity.Builder id​(String id)
        Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
        Overrides:
        id in class Quantity.Builder
        Parameters:
        id - Unique id for inter-element referencing
        Returns:
        A reference to this Builder instance
      • extension

        public SimpleQuantity.Builder extension​(Extension... 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.

        Adds new element(s) to the existing list

        Overrides:
        extension in class Quantity.Builder
        Parameters:
        extension - Additional content defined by implementations
        Returns:
        A reference to this Builder instance
      • extension

        public SimpleQuantity.Builder extension​(Collection<Extension> 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.

        Replaces the existing list with a new one containing elements from the Collection

        Overrides:
        extension in class Quantity.Builder
        Parameters:
        extension - Additional content defined by implementations
        Returns:
        A reference to this Builder instance
      • value

        public SimpleQuantity.Builder value​(Decimal value)
        The value of the measured amount. The value includes an implicit precision in the presentation of the value.
        Overrides:
        value in class Quantity.Builder
        Parameters:
        value - Numerical value (with implicit precision)
        Returns:
        A reference to this Builder instance
      • system

        public SimpleQuantity.Builder system​(Uri system)
        The identification of the system that provides the coded form of the unit.
        Overrides:
        system in class Quantity.Builder
        Parameters:
        system - System that defines coded unit form
        Returns:
        A reference to this Builder instance
      • code

        public SimpleQuantity.Builder code​(Code code)
        A computer processable form of the unit in some unit representation system.
        Overrides:
        code in class Quantity.Builder
        Parameters:
        code - Coded form of the unit
        Returns:
        A reference to this Builder instance