Contar etapas de descarte en cohortes CaCu
This commit is contained in:
@@ -29,3 +29,6 @@ def test_a_candidate_with_two_reasons_is_excluded_once():
|
||||
assert found["by_reason"] == {
|
||||
"hysterectomy": 1, "no_index_result": 2, "prior_outcome": 1, "under_18": 1,
|
||||
} # fmt: skip
|
||||
assert found["by_stage"] == {"eligibility": 1, "history": 1, "index": 2}
|
||||
assert found["stage_by_reason"]["no_index_result"] == "index"
|
||||
assert found["stage_counts_overlap"] is True
|
||||
|
||||
Reference in New Issue
Block a user