28 lines
711 B
Python
28 lines
711 B
Python
"""UAMCC and ACR stay where they are. The missing measures are gaps."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from aco.express.cms_quality_measures import acr_summary, uamcc_summary
|
|
from lead.quality import known_gaps, reconciled
|
|
|
|
|
|
def test_uamcc_and_acr_are_reconciled_to_the_existing_measures():
|
|
assert reconciled() == ("Q.UAMCC", "Q.ACR")
|
|
assert callable(uamcc_summary)
|
|
assert callable(acr_summary)
|
|
|
|
|
|
def test_unpublished_formulas_are_named_gaps():
|
|
targets = {target for target, _reason in known_gaps()}
|
|
assert {
|
|
"Q.DAH",
|
|
"Q.TFU",
|
|
"Q.CAHPS",
|
|
"HN.1",
|
|
"HN.2",
|
|
"HN.3",
|
|
"RA.PROSP",
|
|
"RA.CONC",
|
|
"RA.ESRD",
|
|
} <= targets
|