From 1c42d2dc2117efe4bec691e6a4240a5dd02fa69e Mon Sep 17 00:00:00 2001 From: edgar Date: Fri, 4 Dec 2026 17:21:40 -0600 Subject: [PATCH] =?UTF-8?q?Actualizar=20el=20motivo=20por=20el=20que=20$re?= =?UTF-8?q?ference-risk=20no=20est=C3=A1=20disponible?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webapi/fhir.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webapi/fhir.py b/webapi/fhir.py index 495b03f..247f6d5 100644 --- a/webapi/fhir.py +++ b/webapi/fhir.py @@ -209,11 +209,10 @@ def reference_risk( cutoff: date | None = Query(None, description="Only what was reported by this day"), sample: date | None = Query(None, description="The cytology's sample day"), ) -> Response: - """Disabled: the master table's provenance is not verified. The workbooks' series are in - `$risk-series`.""" + """Disabled. The NCI series, the master table's included, are in `$risk-series`.""" if domain != Domain.CACU or os.environ.get(NCI_REFERENCE) != "1": raise HTTPException(404, "the NCI reference comparison is not enabled") - raise HTTPException(503, "NCI master table is unavailable: its provenance is unverified") + raise HTTPException(503, "$reference-risk is disabled; the NCI series are in $risk-series") @router.get("/Patient/{id}/$risk-series", responses=_OK, response_class=Response)