   ###
   dosage: ->
     if @_dosage?
-      new cql.Quantity({unit: @_dosage['unit'], value: @_dosage['value']})
+      new cql.Quantity({unit: @_dosage['unit'], value: @_dosage['scalar']})
     else
       null
 

  ###
  frequency: ->
    # TODO: Frequency currently not in HDS model.  Can probably add by calculating based off of dose & regimen
    throw new Error('Bonnie does not currently support MedicationOrder.frequency')
    if @_frequency?
      new cql.Code(@_frequency.code, @_frequency.code_system)
    else

    @_activeDatetime = CQL_QDM.Helpers.convertDateTime(@entry.active_datetime)
    @_authorDatetime = CQL_QDM.Helpers.convertDateTime(@entry.start_time)
    @_dosage = @entry.dose
    @_frequency = @entry.administrationTiming
    @_method = @entry.method
    @_negationRationale = @entry.negationReason
    @_reason = @entry.reason
