Sha256: 9e21b13772ab6dc2f4485ae2fcaf0626d4c7790eae439c1c4d1fa40334b358d2
Contents?: true
Size: 566 Bytes
Versions: 121
Compression:
Stored size: 566 Bytes
Contents
# frozen_string_literal: true require_dependency "renalware/pd" module Renalware module PD class OrganismCode < ApplicationRecord has_many :infection_organisms, dependent: :restrict_with_exception has_many :peritonitis_episodes, through: :infection_organisms, source: :infectable, source_type: "PeritonitisEpisode" has_many :exit_site_infections, through: :infection_organisms, source: :infectable, source_type: "ExitSiteInfection" end end end
Version data entries
121 entries across 121 versions & 1 rubygems