Sha256: 6dbc9086dc918420357a3fcab76a22454761c3a71b993ef4f23740144a9018cc

Contents?: true

Size: 488 Bytes

Versions: 17

Compression:

Stored size: 488 Bytes

Contents

require_dependency "renalware/letters"

module Renalware
  module Letters
    # Responsible for defining the set of observation descriptions that
    # are relevant to clinical letters
    class RelevantObservationDescription
      def self.all
        Pathology::ObservationDescription.for(codes)
      end

      def self.codes
        %w(
          HGB PLT WBC URE CRE EGFR POT NA BIC CCA PHOS
          ALB BIL AST GGT ALP CHOL FER HBA BGLU PTHI
        )
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
renalware-core-2.0.8 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.7 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.5 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.4 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.3 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.2 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.1 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.0 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.0.pre.rc13 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.0.pre.rc11 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.0.pre.rc10 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.0.pre.rc9 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.0.pre.rc8 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.0.pre.rc7 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.0.pre.rc6 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.0.pre.rc5 app/models/renalware/letters/relevant_observation_description.rb
renalware-core-2.0.0.pre.rc4 app/models/renalware/letters/relevant_observation_description.rb