Commit Graph

14 Commits

Author SHA1 Message Date
edgar 7af7fd12db Merge feature/163-cama-risk-curves into feature/cohorts-dbt-canonical
dbt_project.yml keeps dev's TEA vars (without the EEG thresholds) and adds CaMa's survival cohort. The risk index
date migrations now follow the date-of-death ones (cacu a1d4e7c20b31 after c3d8f5a20b47, cama b2e5f8d31c42 after
a9c4e2f17d38), so each project keeps a single alembic head. WebApi and WebApp point at their
feature/cohorts-dbt-canonical branches with feature/163-cama-risk-curves merged in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HmQxVJVNR5FYkPAregGEQ7
2026-11-21 02:07:26 -06:00
edgar 8fc3dda18a CaCu glandular cytology result: catalog, timeline, extraction vocabulary and the surveillance rule
The glandular result (`citologia.celulas_glandulares`) is a closed result with the codes AGC and ADENOCARCINOMA, one of
KPNC's six cytology categories. The timeline carries it as `glandular`; the surveillance cohort's `no_index_result`
counts it; the extractor maps the Bethesda wordings to its codes. Known gap: "adenocarcinoma in situ" is still read as
ADENOCARCINOMA (no AIS code in the catalog).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HmQxVJVNR5FYkPAregGEQ7
2026-11-20 20:17:48 -06:00
rockdrigo f106a3e09d CaCu: the patient's date of death, in staging and in silver's persona (new revision) 2026-11-20 17:04:16 -06:00
rockdrigo 66c4ba5c5f Core: cat_sistema_fuente and cat_mapeo, how each source writes the catalog's codes, in the three domains
How: `CatSistemaFuenteBase` (who sends the data, its staging table and validity) and `CatMapeoBase` (a study
code, caption or spelling of a source, mapped to `estudio_id`, `resultado_id` or a `cat_valor`, with its
validity, author and reason), with their constraints in `reglas_de_mapeo` and `vigencia_ordenada`: a known
class and the target it needs, the value's foreign key to `cat_valor`, and one row per form and start date.

Implications: the codes stay in the TOML; how a provider writes them becomes data, edited without a deploy.
Overlapping validities aren't a portable constraint and are checked by the writer and by dbt.
2026-11-13 15:29:07 -06:00
Roberto Treviño Cervantes 471df3c3ce package ISSSTELEON as an installable release: dist/ scripts, Hamilton-based Orquestacion, governance cohort cleanup, sanitized gitignore comments 2026-10-30 11:19:43 -06:00
Roberto Treviño Cervantes c159a69284 preliminary release 2026-10-29 12:16:56 -06:00
Roberto Treviño Cervantes 84144b03db integration layer; merge work on indicators from forks with existing ingestion pipeline 2026-10-23 00:06:24 -06:00
Roberto Treviño Cervantes a82767605a [schema revision] fix disconnected work, half-edits and metadata collisions at CaCu/CaMa; added ADOS-2 columns to TEA 2026-09-24 10:31:06 -06:00
Klingsor0 3c181d9f24 alias de enums corregidos 2026-09-21 15:22:06 -06:00
Klingsor0 ef03bb4a3d enums por entidad, cacu/enums.py los importa 2026-09-21 14:07:14 -06:00
Klingsor0 8da1bfa807 herencia de clase base para resolver nombres compartidos de tabalas de distintos proyectos 2026-09-21 13:54:04 -06:00
Klingsor0 fdb5323e6c primera version de modelos limpios, iguales a los del repo original, solo que con los opcionales corregidos 2026-09-21 13:32:04 -06:00
Klingsor0 187d060b71 Readmes de los docs del repo, fuente de verdad para los modelos 2026-09-21 13:15:07 -06:00
Roberto Treviño Cervantes 474f72c08a initial commit 2026-09-21 10:24:06 -06:00