Sha256: 6d738e1c7d72f07ad1aca122f08d35a0b0567fab274181648d91233d10be0f59
Contents?: true
Size: 424 Bytes
Versions: 8
Compression:
Stored size: 424 Bytes
Contents
require_dependency "renalware/pd" module Renalware module PD class OrganismCode < ApplicationRecord has_many :infection_organisms 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
8 entries across 8 versions & 1 rubygems