Kit exit: TEA over FHIR, dashboard-test presentation merged in #9
Reference in New Issue
Block a user
Delete Branch "feature/kit-exit-integration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WebApp side of ISSSTELEON/WorkingNarrative#179 (kit exit, converging the team's branches onto dev): the TEA WebApp rebuilt over the FHIR services, and Angel's dashboard-test presentation merged over those same FHIR services (its kit-based WebApi/kit backend was not merged).
Opened per the owner's request; merging into dev is left to a person in the Gitea UI.
🤖 Generated with Claude Code
A CaMa-only tab between Histórico and Seguimiento shows how many patients of the cohort fall in each BI-RADS category at a cut-off (GET /cama/analisis/indicadores?corte=), as the cohort API publishes it. It is a descriptive count, not an incidence or a survival estimate. - Loading, pending (404), unavailable (503), error and out-of-contract states; the answer is validated as an aggregate (no patient rows, nothing published under the threshold). - A suppressed category is drawn grey and says why; only a published category opens its patients in Seguimiento ("Ver pacientes" or a click on its bar). - The page keeps the selection while the user moves between tabs, clears it on a domain change, and "Volver al análisis" returns to the analysis as it was, with the scroll and the focus on the control that opened the list, and no new request. - Tables and figure scroll inside their own region at phone width. CaCu and TEA keep their three sections. Curves, the heatmap and the cohort diagnostics of the prototype wait for an API. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>Contract review against WebApi 1d5f1e0 (webapi/cama_analysis.py, cama_cohort.py, docs/cama-cohort-api.md). - The cohort's list is rewritten once on arrival so the table, the record and the PDF/XLSX show "BI-RADS 5" and "50 a 59 años" (also "Menores de 40 años", "70 años o más", "Sin dato"); the codes stay in `<clave>_codigo` and in the filter options, which are what the requests send. Only codes whose meaning the API's own code confirms are labelled; biopsy grades are left as they arrive. - The record calls the biopsy date what the list calls it ("Fecha de reporte"): in the cohort it is the date of the biopsy report, which can be known while its result is not. - With the same cohort revision, cut-off and filter the aggregate and the list are counted from the same rows, so a different total breaks the contract: the list shows an alert and its PDF/XLSX buttons are disabled. - When no category is published the analysis says so and keeps "No publicado": the answer cannot tell an empty cohort from categories under the threshold. - Tests: the chosen cut-off reaches the aggregate, the list, the record and every page of the file. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>