Paridad: el tratamiento del mismo día cuenta como 0 días
This commit is contained in:
+3
-2
@@ -138,8 +138,9 @@ def test_cacu_from_the_hospital_to_indicators_and_risks(api, platform, tmp_path)
|
||||
old = {k: v for k, v in a[3].items() if k not in NEW_STRATA}
|
||||
if name == "CACU_DIAS_DIAGNOSTICO_TRATAMIENTO":
|
||||
# Declared difference: it starts at the diagnosis after the biopsy report, so
|
||||
# it never counts more patients than the current platform's.
|
||||
assert all(a[0][k] <= b[0][k] for k in b[0]), where
|
||||
# it never has more patients; a treatment that same day counts, as 0 days.
|
||||
assert a[0]["initial-population"] <= b[0]["initial-population"], where
|
||||
assert a[0]["measure-observation"] <= a[0]["initial-population"], where
|
||||
continue
|
||||
if name == "CACU_DIAS_TOMA_DIAGNOSTICO":
|
||||
# Declared difference: only a diagnosis before her first colposcopy counts, so
|
||||
|
||||
Reference in New Issue
Block a user