Sha256: 37cac1bb3b964abefd41a0360c179f7512b83169a3b4e801ec2a7e1174008411

Contents?: true

Size: 967 Bytes

Versions: 1

Compression:

Stored size: 967 Bytes

Contents

class FulfillmentHistory
  include Mongoid::Document
  
  field :prescriptionNumber, type: String
  field :provider, type: Hash
  field :dispensingPharmacyLocation, type: Hash
  field :dispenseDate, type: Integer
  field :quantityDispensed, type: Hash
  field :fillNumber, type: Integer
  field :fillStatus, type: Hash
  
  alias :prescription_number :prescriptionNumber
  alias :prescription_number= :prescriptionNumber=
  alias :dispensing_pharmacy_location :dispensingPharmacyLocation
  alias :dispensing_pharmacy_location= :dispensingPharmacyLocation=
  alias :dispense_date :dispenseDate
  alias :dispense_date= :dispenseDate=
  alias :quantity_dispensed :quantityDispensed
  alias :quantity_dispensed= :quantityDispensed=
  alias :fill_number :fillNumber
  alias :fill_number= :fillNumber=
  alias :fill_status :fillStatus
  alias :fill_status= :fillStatus=
  alias :prescription_number :prescriptionNumber
  alias :prescription_number= :prescriptionNumber=
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
health-data-standards-0.7.1 lib/health-data-standards/models/fulfillment_history.rb