ex_hl7 v0.3.0 HL7.Composite.CP

2.9.9 CP - composite price

Components:

  • price (MO)
  • price_type (ID)
  • from_value (NM)
  • to_value (NM)
  • range_units (CE)
  • range_type (ID)

Subcomponents of price:

  • quantity (NM)
  • denomination (ID)

Example:

|100.00&USD^UP^0^9^min^P~50.00&USD^UP^10^59^min^P~
 10.00&USD^UP^60^999^P~50.00&USD^AP~200.00&USD^PF~80.00&USD^DC|

Summary

Functions

Create a new composite field

Types

t :: %HL7.Composite.CP{from_value: float, price: HL7.Composite.MO.t, price_type: binary, range_type: binary, range_units: HL7.Composite.CE.t, to_value: float}

Functions

new()

Specs

new :: t

Create a new composite field