Sha256: 47bde2485b44456fee30c92cc330469fa4dbd9ccf7c69f243c3f0da4cd50baa8

Contents?: true

Size: 528 Bytes

Versions: 70

Compression:

Stored size: 528 Bytes

Contents

# frozen_string_literal: true

module Renalware
  log "Adding Modality Descriptions" do
    Deaths::ModalityDescription.find_or_create_by!(name: "Death")
    Transplants::DonorModalityDescription.find_or_create_by!(name: "Live Donor")
    Transplants::RecipientModalityDescription.find_or_create_by!(name: "Transplant")
    PD::ModalityDescription.find_or_create_by!(name: "PD")
    HD::ModalityDescription.find_or_create_by!(name: "HD")
    LowClearance::ModalityDescription.find_or_create_by!(name: "Low Clearance")
  end
end

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
renalware-core-2.0.92 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.91 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.90 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.89 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.88 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.87 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.86 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.85 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.84 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.83 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.82 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.81 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.80 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.79 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.78 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.77 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.76 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.75 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.74 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.73 db/seeds/default/modalities/descriptions.rb