Sha256: c313047032e35882a2784417aac3695b33342a53d14ca46fe77de153ac9af047

Contents?: true

Size: 630 Bytes

Versions: 70

Compression:

Stored size: 630 Bytes

Contents

# frozen_string_literal: true

module Renalware
  log "Adding Modality Descriptions" do
    Deaths::ModalityDescription.find_or_create_by!(name: "Death", code: "death")
    Transplants::DonorModalityDescription.find_or_create_by!(name: "Live Donor", code: "live_donor")
    Transplants::RecipientModalityDescription.find_or_create_by!(name: "Transplant", code: "transplant")
    PD::ModalityDescription.find_or_create_by!(name: "PD", code: "pd")
    HD::ModalityDescription.find_or_create_by!(name: "HD", code: "hd")
    LowClearance::ModalityDescription.find_or_create_by!(name: "Low Clearance", code: "low_clearance")
  end
end

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
renalware-core-2.0.125 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.124 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.123 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.121 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.120 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.119 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.118 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.117 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.116 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.115 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.113 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.112 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.111 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.110 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.109 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.108 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.106 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.105 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.104 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.103 db/seeds/default/modalities/descriptions.rb