Sha256: fb3a83a2edce3a08c4e2af20c5aef42d0cb8078e6d42192f89f5f8bca6b9904a

Contents?: true

Size: 805 Bytes

Versions: 18

Compression:

Stored size: 805 Bytes

Contents

class FulfillmentHistory
  include Mongoid::Document
  
  field :prescriptionNumber, type: String
  field :dispenseDate, type: Integer
  field :quantityDispensed, type: Hash
  field :fillNumber, type: Integer
  field :fillStatus, type: String
  
  belongs_to :provider, class_name: "Provider"

  alias :prescription_number :prescriptionNumber
  alias :prescription_number= :prescriptionNumber=
  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

18 entries across 18 versions & 1 rubygems

Version Path
health-data-standards-3.1.1 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-3.1.0 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-3.0.6 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-3.0.5 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-3.0.4 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-3.0.3 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-2.2.1 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-2.2.0 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-2.1.4 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-2.1.3 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-2.1.2 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-2.1.1 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-2.1.0 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-2.0.0 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-1.0.1 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-1.0.0 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-0.8.1 lib/health-data-standards/models/fulfillment_history.rb
health-data-standards-0.8.0 lib/health-data-standards/models/fulfillment_history.rb