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.1.1 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.1.0 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.167 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.166 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.165 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.164 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.163 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.162 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.161 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.160 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.159 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.158 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.157 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.156 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.155 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.153 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.152 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.151 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.149 db/seeds/default/hd/prescription_administration_reasons.rb
renalware-core-2.0.148 db/seeds/default/hd/prescription_administration_reasons.rb