Quantity

open class Quantity: Element

A measured or measurable amount.

A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.

  • A measured or measurable amount.

    A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.

    Declaration

    Swift

    override open class var resourceType: String
  • Coded form of the unit.

    Declaration

    Swift

    public var code: FHIRString?
  • How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is < , then the real value is < stated value.

    Declaration

    Swift

    public var comparator: QuantityComparator?
  • System that defines coded unit form.

    Declaration

    Swift

    public var system: FHIRURL?
  • Unit representation.

    Declaration

    Swift

    public var unit: FHIRString?
  • Numerical value (with implicit precision).

    Declaration

    Swift

    public var value: FHIRDecimal?
  • Numerical value (with implicit precision).

    Declaration

    Swift

    override open func populate(from json: FHIRJSON, context instCtx: inout FHIRInstantiationContext)

    Parameters

    json

    The JSON element to use to populate the receiver

    context

    The instantiation context to use

  • Undocumented

    Declaration

    Swift

    open class Quantity: Element