Sha256: 0a773369d659e01fc399d898f9e8b55992884b23f37ab8e6ef2a5dad9e3adea8

Contents?: true

Size: 405 Bytes

Versions: 59

Compression:

Stored size: 405 Bytes

Contents

# frozen_string_literal: true

module Renalware
  log "Adding HD Prescription Administration Reasons" do
    [
      "No supply available",
      "Target HB exceeded",
      "Patient refused",
      "Patient unwell",
      "Patient received blood transfusion",
      "Wrong dose / route"
    ].each do |reason|
      HD::PrescriptionAdministrationReason.find_or_create_by!(name: reason)
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
renalware-core-2.0.127 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.126 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.125 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.124 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.123 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.121 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.120 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.119 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.118 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.117 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.116 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.115 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.113 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.112 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.111 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.110 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.109 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.108 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.106 db/seeds/default/hd/prescription_administration_reasons.rb