Sha256: 607135e94b9b9ead646ba1e2064e9a509e02f1e6f0ad38c4a7e5ba1a79654980
Contents?: true
Size: 1.04 KB
Versions: 56
Compression:
Stored size: 1.04 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 CICLOMS TACROMS SIROMS CMVD TROP ) end end end end
Version data entries
56 entries across 56 versions & 1 rubygems