Sha256: b03a3fcd0ad6937716c31e113192e52649334aa1ecd05f4cceec1f737c6b990e
Contents?: true
Size: 487 Bytes
Versions: 65
Compression:
Stored size: 487 Bytes
Contents
# frozen_string_literal: true module Renalware module UKRDC class PathologyObservationPresenter < SimpleDelegator # The PrePost element in ResultItem # For HD patients, all bloods are PRE except the post dialysis urea, # For non-HD patients, all the tests are NA def pre_post(patient_is_on_hd:) if patient_is_on_hd description_code.casecmp("UREP") == 0 ? "POST" : "PRE" else "NA" end end end end end
Version data entries
65 entries across 65 versions & 1 rubygems