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.145 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.144 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.143 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.142 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.141 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.140 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.139 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.138 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.137 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.136 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.135 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.134 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.133 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.132 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.131 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.130 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.129 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.128 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.127 db/seeds/default/modalities/descriptions.rb
renalware-core-2.0.126 db/seeds/default/modalities/descriptions.rb