Sha256: 57fbcce2dcc7cae947064f79cbcd6724bc5223fc02b10029e22cf3287b7fc3fd
Contents?: true
Size: 688 Bytes
Versions: 37
Compression:
Stored size: 688 Bytes
Contents
# frozen_string_literal: true # frozen_string_literal: true module Renalware module UKRDC module Outgoing module Rendering # Handles rendering a PD Trweatment (aka modality). We defer to the base Treatment # class but pass in some extra arguments to the ctor. class PDTreatment < Rendering::Treatment def initialize(treatment:) encounter_number = [ treatment.modality_id, treatment.pd_regime_id ].compact.join("-") super( treatment: treatment, encounter_number: encounter_number ) end end end end end end
Version data entries
37 entries across 37 versions & 1 rubygems