Sha256: 80d43bf0c84118fda9b533e74965369113d3d36efaa4236b797b2460d39d9a12
Contents?: true
Size: 1.01 KB
Versions: 93
Compression:
Stored size: 1.01 KB
Contents
# frozen_string_literal: true require_dependency "renalware/pathology" module Renalware module Pathology # Responsible for defining the set of observation descriptions that # are relevant to pathology in the renal care domain # class RelevantObservationDescription # Returns an AR Relation containing e.g.: # [ # #<Renalware::Pathology::ObservationDescription id: 767, code: "HGB", name: "HGB">, # #<Renalware::Pathology::ObservationDescription id: 1058, code: "MCV", name: "MCV">, # #<Renalware::Pathology::ObservationDescription id: 1055, code: "MCH", name: "MCH">, # ... # ] def self.all ObservationDescription.for(codes) end def self.codes %w( HGB MCV MCH HYPO WBC LYM NEUT PLT RETA ESR CRP FER FOL B12 URE CRE EGFR NA POT BIC CCA PHOS PTHI TP GLO ALB URAT BIL ALT AST ALP GGT BGLU HBA HBAI CHOL HDL LDL TRIG TSH CK URR CRCL UREP AL ) end end end end
Version data entries
93 entries across 93 versions & 1 rubygems