The risk check reads at most 200 patients
This commit is contained in:
@@ -91,7 +91,7 @@ def _train_tea(api: httpx.Client) -> None:
|
|||||||
_wait(api, _ok(api.post("/models/tea/score"))["run_id"])
|
_wait(api, _ok(api.post("/models/tea/score"))["run_id"])
|
||||||
risks = _ok(
|
risks = _ok(
|
||||||
api.get(
|
api.get(
|
||||||
"/tea/fhir/Patient", params={"_revinclude": "RiskAssessment:subject", "_count": 500}
|
"/tea/fhir/Patient", params={"_revinclude": "RiskAssessment:subject", "_count": 200}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
assert any(e["resource"]["resourceType"] == "RiskAssessment" for e in risks["entry"])
|
assert any(e["resource"]["resourceType"] == "RiskAssessment" for e in risks["entry"])
|
||||||
|
|||||||
Reference in New Issue
Block a user