lib/health-data-standards/models/medication.rb in health-data-standards-3.7.0 vs lib/health-data-standards/models/medication.rb in health-data-standards-4.0.0
- old
+ new
@@ -1,8 +1,11 @@
class Medication < Entry
field :administrationTiming, as: :administration_timing, type: Hash
field :freeTextSig, type: String
+ # QDM 5.0 disambiguates dose to be dosage and suppy. 'dose' here represents the QDM 5.0 'dosage'.
+ # Bonnie displays this as 'dosage'.
field :dose, type: Hash
+ field :supply, type: Hash
field :typeOfMedication, as: :type_of_medication, type: Hash
field :statusOfMedication, as: :status_of_medication, type: Hash
embeds_many :fulfillmentHistory, class_name: 'FulfillmentHistory'
embeds_many :orderInformation, class_name: 'OrderInformation'