Commit Graph

202 Commits

Author SHA1 Message Date
angel f4d1829cd3 Merge branch 'dev' into fix/cama-etiquetas-secciones-20261122 2026-11-22 23:52:56 -06:00
Angel Capetillo Zavala 881c613744 fix(cama): title the risk analysis panel Análisis de riesgos 2026-11-22 23:41:31 -06:00
Roberto Treviño Cervantes be46429627 Merge dev into the CaMa consolidation branch 2026-11-22 23:31:20 -06:00
edgar 561a5dde36 Merge dev into the CaCu risk record branch
dev already names the history tab «Trazabilidad» for the three domains, so its version of those files stays. CaCu's
diagnosis-to-treatment time keeps one presentation, its card: it has no figure of its own next to the screening
route chart.
2026-11-22 23:17:21 -06:00
edgar bf89099ce8 Merge pull request 'fix(cacu): ajustar trazabilidad y figuras disponibles' (#24) from fix/cacu-etiquetas-secciones-20261122 into feature/cacu-ficha-riesgo-gobernanza
Reviewed-on: http://10.0.10.41:3000/ISSSTELEON/WebApp/pulls/24
2026-11-22 22:57:36 -06:00
Angel Capetillo Zavala ff1f6758ba fix(cacu): ajustar trazabilidad y figuras disponibles 2026-11-22 22:27:49 -06:00
ulises 40c19a6a1f Merge the TEA labels and sections branch into the TEA indicators branch 2026-11-22 22:11:34 -06:00
ulises 329c0891ae TEA indicators: Resumen and Trazabilidad tabs, round help buttons, series chips, shared colours, summary box, three-per-row grid and three-significant-digit EEG values 2026-11-22 22:01:50 -06:00
ulises 34c6f2af3a TEA seguimiento: the ADOS-2 relation panel reads the association's rows 2026-11-22 21:43:11 -06:00
Roberto Treviño Cervantes 7ab2567dc9 CaMa survival: the patient's own scenario, a menu only when she is in several 2026-11-22 21:38:43 -06:00
edgar 14d6875d9b Screening route: the reading note, condensed, folds into «Cómo leer» 2026-11-22 19:48:41 -06:00
edgar f82ce8cc38 Patient record: probability columns by follow-up status
The risk table shows only what the patient's follow-up status follows, as the follow-up table does: a case, her
survival; before colposcopy, LIEAG+ and cancer; after colposcopy or treatment, LIEAG+. Without a status every
column stays.
2026-11-22 19:41:39 -06:00
edgar 61867ff973 Patient risk: survival is 1 at 0 years, at the index date 2026-11-22 18:40:34 -06:00
edgar 8bca0fbcdf CaCu indicators: «Progresión por grupo de riesgo» withdrawn from the clinical figures 2026-11-22 18:39:22 -06:00
Roberto Treviño Cervantes ec8542de9f Seguimiento in place of Análisis de riesgos 2026-11-22 18:10:48 -06:00
Roberto Treviño Cervantes 29c9e6853b CaMa recurrence: the patient's own scenarios, without a cohort menu 2026-11-22 18:04:57 -06:00
Angel Capetillo Zavala b1ff6cadb2 fix(cama): ajustar títulos y pies de trazabilidad 2026-11-22 17:21:15 -06:00
Angel Capetillo Zavala 26285a87fa fix(cacu): ajustar trazabilidad y figuras clínicas 2026-11-22 16:55:16 -06:00
edgar f058f1f476 Screening route chart: it follows the page's period filter, with no filter of its own
The chart takes the page's period type and shows the newest of the periods the filter applies that has published
boxes (the newest with data when the filter applies every period), so it moves with the other indicators. Its own
period selector is gone; the period shown is written over the chart.
2026-11-22 16:30:01 -06:00
edgar 7f1e43bdc5 CaCu indicators: no «Tiempo de tamizaje a diagnóstico» figures next to the screening route chart
The route chart draws every time from the sample to each event, the cytology's result and the diagnosis included, so
the separate time figures repeated it. They come back only when the chart isn't shown (the catalog lacks one of its
measures).
2026-11-22 16:26:55 -06:00
Roberto Treviño Cervantes 5bf6af8ecf Revert "CaMa patient card: the SEER model's survival by clinical scenario beside the production model's"
This reverts commit dd356efb6b.
2026-11-22 16:12:44 -06:00
Angel Capetillo Zavala 253290ed6a fix(tea): ajustar indicadores, trazabilidad y etiquetas de riesgo 2026-11-22 16:04:04 -06:00
edgar ec5b8fde6b CaCu treatment time cards: no provisional notice under the value 2026-11-22 15:54:54 -06:00
edgar 2a36397fac CaCu history: the CIN2+ risk-band panel draws its measure
`CACU-RIESGO-BANDA` is published, so its panel reads it like the others; it counts the patients of the confirmed risk
batches, and is empty until one is confirmed. No CaCu history panel stays reserved.
2026-11-22 15:39:42 -06:00
edgar eada50d2ff CaCu history: the diagnosis-to-treatment time panel draws its measure
`CACU-DIAS-DIAGNOSTICO-TRATAMIENTO` is published with reports, so its panel reads it like the other active ones
instead of showing "Trabajo en desarrollo". The catalog fixture gains the measure as the WebApi serves it.
2026-11-22 15:38:55 -06:00
edgar 396902541d CaCu history: the screening-to-treatment time panel draws its measure
`CACU-DIAS-TOMA-TRATAMIENTO` is published with reports, so its panel reads it like the other active ones instead of
showing "Trabajo en desarrollo". The catalog fixture gains the measure as the WebApi serves it, and the panel specs
count the active and reserved panels from their lists.
2026-11-22 15:38:12 -06:00
edgar 68b5e927e7 CaCu follow-up table: the latest biopsy, and the probabilities of the status filtered
A column with each patient's latest biopsy. The probability columns follow the follow-up status chosen, its
scenario's models: a case shows survival, pre-colposcopy LIEAG+ and cancer, post-colposcopy and post-treatment
LIEAG+, every patient none. A horizon selector, and an order by the most recent study or one of the columns shown,
which the API applies to the whole list.
2026-11-22 15:04:13 -06:00
edgar 990cab0e37 Patient risk: probabilities in percent, survival as such, covariates, and one row per model
The table says its probabilities are percentages (0 to 100 %) with their 95 % interval, and its covariates under it.
A model whose estimand asks for its complement (survival from a probability of dying) shows 1 − p with its interval
swapped. "Riesgo acumulado" reads "probabilidad". The models' details are a table of one row per model, without
the version or the batch state.
2026-11-22 15:04:13 -06:00
edgar 4e08bb8c4b Risk batches: one decision at a time, so a double click doesn't send it twice
(cherry picked from commit 88c1eb33be)
2026-11-22 09:47:11 -06:00
edgar 686580af81 Patient risk: a column per outcome, the index visit's sentence, and the model's details folded
The record reads every RiskAssessment of the patient. CaCu's table always has the LIEAG+ and cancer columns, each
risk with its interval in parentheses; a column with no current model says "No disponible", and one whose model
didn't estimate her says so, with the reason under the table. Another outcome (a survival model's death) shows only
when she has its risk, with its own index date in its header. The models' details fold under the table, without the
interval's method; the collapsible curves draw one line per outcome with the index date on the x axis, under a
sentence that words the index cytology's results and each outcome's risk at the longest common horizon.

(cherry picked from commit 73b88de0ca)
2026-11-22 09:47:11 -06:00
edgar 60c71bfc3d Governance: a version lists only the routines its run recorded
Not every model has each of the five routines, and the registry doesn't require them; the dialog showed the missing
ones as failures. It now lists the recorded ones and says so when there are none.

(cherry picked from commit b5bff7e0c6)
2026-11-22 09:47:11 -06:00
edgar ad4edbe2a1 Patient risk: what the model's number is, and its curve with the interval
The record reads the RiskAssessment's `estimando` extension and shows the quantity, the outcome, the index date and
the interval's method, and names the table's columns with the quantity and the horizons' unit. Below the table, a
collapsible curve of the risk at each horizon, with its interval as a band (or as error bars when a horizon lacks
one); Plotly is loaded only when it's opened.

(cherry picked from commit 6039e6b741)
2026-11-22 09:47:11 -06:00
Roberto Treviño Cervantes dd356efb6b CaMa patient card: the SEER model's survival by clinical scenario beside the production model's 2026-11-22 09:22:15 -06:00
Angel Capetillo Zavala b8bf57e235 feat(cacu): presentar KPI provisionales de tiempo a tratamiento
Adapta 245622b a las secciones de oportunidad del PR #20 y reutiliza el contrato C3r. Conserva la ruta y los paneles reservados del Histórico.
2026-11-22 05:53:59 -06:00
edgar 17cef51d90 Screening route: without a requested period, open on the newest one that has published boxes
A semester that has just begun has no events and the chart opened on it, empty, while earlier ones had data.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
(cherry picked from commit a15e37ed77)
2026-11-22 05:40:50 -06:00
edgar 7692952ec9 Risk record: the evaluation instant reads as a day and minute in UTC
The index date is a calendar day and the evaluation time was the raw ISO instant, so the two looked inconsistent. The
instant now shows as 'YYYY-MM-DD HH:MM UTC' (the full value stays in the <time> element's datetime).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
(cherry picked from commit ea2664f324)
2026-11-22 05:40:22 -06:00
edgar feaed5ff0e Indicators: a typed page size is brought into 1 to the maximum, one maximum for both lists
An input's max only flags the field and still lets a larger number be typed. The follow-up table and the tracking
list now clamp the value when it changes and when the query is sent, and both read the single PAGE_SIZE_MAX instead
of a literal 200.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
(cherry picked from commit 1342b1712d)
2026-11-22 05:37:25 -06:00
Angel Capetillo Zavala 999bc4ecf5 fix(indicadores): distinguish EEG findings and populations 2026-11-22 04:03:33 -06:00
Angel Capetillo Zavala 6ed87ff3d8 Fix CaMa Histórico order expectation in the f4c spec 2026-11-22 03:28:05 -06:00
Angel Capetillo Zavala ff4ad2c964 Análisis de riesgos: TEA and CaCu headings and the EEG status label 2026-11-22 03:21:09 -06:00
Angel Capetillo Zavala b5f8e5bfc2 Histórico: TEA order and EEG normal/abnormal lines, CaMa titles, order and captions 2026-11-22 03:18:19 -06:00
Angel Capetillo Zavala f04478e600 CaMa Indicadores: five time figures under «Tiempo de tamizaje a diagnóstico», requested clinical titles, order and confirmation rate 2026-11-22 03:11:12 -06:00
Angel Capetillo Zavala 6a0c3c9e92 Histórico CaCu: remove the notice above the panels 2026-11-22 02:49:46 -06:00
Angel Capetillo Zavala e3c9849e29 Port TEA and CaCu section 1 adjustments onto the Histórico integration
TEA: Indicadores tab, opportunity summary with real contract values, ordered
opportunity and clinical figures, «No aceptable» label for the EEG quality.
CaCu: renamed lab-result KPI, six time figures under «Tiempo de tamizaje a
diagnóstico», clinical figures with the pending «Progresión por grupo de riesgo».
CaCu's colposcopy and biopsy times use the measures the screening route
publishes and leave them to the route chart while it is shown.
2026-11-22 02:20:31 -06:00
Angel Capetillo Zavala 10773edcc1 Histórico CaCu: remove the simulation-only gate so the tab and its queries behave the same in every build 2026-11-22 02:11:29 -06:00
Angel Capetillo Zavala 8b80e1d26c Checkpoint: Histórico CaCu integration by Codex, before consolidating the TEA/CaCu section 1 work 2026-11-22 02:09:35 -06:00
edgar e1a8127c22 feat(indicadores): add the screening route chart to CaCu
Horizontal bars of the days from the sample to each event of the route (cytology result, colposcopy, biopsy result and
diagnosis), cumulative with the Q1 to Q3 interval or step by step with each step starting where the previous one ends.
It reads the seven duration measures of the route and shows up in CaCu's page once the catalog publishes all of them;
the measures only it draws get no card of their own.
2026-11-22 00:23:36 -06:00
edgar 6de193f44e fix(indicadores): draw CaCu's proportions in the history
The WebApi names the group of a proportion `principal`; the page read it as `total` only for CaMa, so the EU13 and
IND1 trends of CaCu came out empty. The rename now applies to every domain.
2026-11-22 00:23:33 -06:00
edgar 0059427179 fix(indicadores): read a proportion's interval as percentages
The ic-bajo and ic-alto of a proportion's score travel as proportions; the rows hold percentages, like the value,
so the history trend draws its confidence band on the same axis.
2026-11-22 00:23:28 -06:00
edgar 8192f92be9 Governance: choose a notebook kept in the code or upload one
The "Correr un notebook" dialog offers "Del código" (the domain's templates from /governance/notebook-templates, each
with the scenarios it can run for) or "Subir archivo". Choosing a template fills its scenario; a scenario it doesn't
serve keeps "Correr" disabled. The request sends the template's id and no file. A domain without templates opens on
the upload, as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HmQxVJVNR5FYkPAregGEQ7
2026-11-22 00:23:28 -06:00