Commit Graph

32 Commits

Author SHA1 Message Date
rockdrigo 6ca7f7f368 CaMa: the patient's date of death, in staging and in silver's persona (new revision) 2026-11-20 17:04:15 -06:00
rockdrigo 6bb7b1d5e9 CaMa catalog: the NOM-041-SSA2-2011 minimum by procedure, with treatment, risk factors and the BRCA test as studies; a coded result may name its code system 2026-11-20 17:04:04 -06:00
Roberto Treviño Cervantes 1405208c3e Merge remote-tracking branch 'origin/feature/163-tea-redesign' into feature/kit-exit-integration
# Conflicts:
#	Core/core/tea/models.py
#	Core/spec/tablas_TEA.md
#	Persistance/persistance/cacu/__init__.py
#	Persistance/persistance/cama/__init__.py
#	Persistance/persistance/edges/silver/__init__.py
#	Persistance/persistance/tea/__init__.py
#	README.md
#	Transformation/.gitignore
#	Transformation/dbt_project.yml
#	WebApi
#	WebApp
#	indicadores_kit
#	models
2026-11-15 00:47: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
rockdrigo 7842170a0e CaMa: provisional catalog results read from reports, with their captions and spellings, on the timeline
How: `cama.toml` declares density and lesion size (mammography), histological type, Nottingham grade, estrogen
and progesterone receptors with their percentages, HER2 and Ki-67 (pathology), and the clinical stage (note),
each with `etiquetas_fuente`, value aliases and `provisional = true`. `cama_linea_de_tiempo.yml` gives each one a
timeline line. The catalog's README documents the keys. Bumps WebApi to the load that reads them.

Implications: the analysis' stratifiers (molecular classification, stage, early or advanced, size) can be derived
in dbt from these lines. A new caption or spelling from the laboratory is one line in the catalog, applied on the
next load. BRCA, recurrence and vital status still have no source.
2026-11-13 15:19:19 -06:00
edgar cb5a56de15 TEA staging by study (eight tables and a new revision), its catalog, and dbt's TEA models and measures; submodule pointers 2026-11-13 15:19:19 -06:00
edgar 47caff4034 The indicator kit's code lives in its owners now: the WebApi, models and Transformation 2026-11-13 15:19:19 -06:00
edgar cef2c62c3c English names: Persistance's edges (bronze, silver, gold), the materializer and their repositories 2026-11-13 15:19:19 -06:00
alberto 92cf95e1af TEA: ordenes_estudio.ord_pdf_blob holds the study's report as a PDF (new revision); submodule pointer 2026-11-13 15:03:02 -06:00
Roberto Treviño Cervantes 0b8ba5c43a fix governance reqs; allow for sandboxed jupyter notebooks for testing 2026-11-13 11:53:07 -06:00
edgar 3aec97a8b7 TEA staging by study (eight tables and a new revision), its catalog, and dbt's TEA models and measures; submodule pointers 2026-11-12 15:21:26 -06:00
edgar 987efe54f8 The indicator kit's code lives in its owners now: the WebApi, models and Transformation 2026-11-08 17:28:24 -06:00
edgar bcfd6aef07 English names: Persistance's edges (bronze, silver, gold), the materializer and their repositories 2026-11-08 17:28:24 -06:00
edgar ef1fd82a42 Core: docstring points to models.io.registry 2026-11-04 12:48:41 -06:00
Roberto Treviño Cervantes e687f59672 reorganization 2026-10-31 12:48:20 -06:00
Roberto Treviño Cervantes 700ce42787 fold Orquestacion into the WebApi submodule as webapi.orquestacion
Single consumer (webapi.indicadores_vivos), already shipped as the same
Docker image/venv as WebApi — the separate package boundary wasn't
earning its keep. See WebApi@ae1ee46 for the actual move; this commit
removes the now-empty source tree, bumps the submodule pointer, and
updates the docs that pointed at it (README.md, LEEME.md, Persistance).
2026-10-31 00:51:55 -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 4a18656dd2 add ClasificacionEeg/EstadoSegmentoEeg/FuenteSegmentoEeg enums (fork dev, additive alongside existing narrative EEG enums) 2026-10-23 00:41:54 -06:00
Roberto Treviño Cervantes 6efa4c6151 fold raw hospital BIRADS subcategory values (B4A/B4B/B4C) into B4 2026-10-23 00:25:19 -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 e71054c712 enums central 2026-09-21 15:21:25 -06:00
Klingsor0 dcf3b2f8a6 alias de enums 2026-09-21 15:21:03 -06:00
Klingsor0 a9e52a4968 readme de modelos orm 2026-09-21 15:20:30 -06:00
Klingsor0 db6b8894b4 modelos orm para cama 2026-09-21 15:19:20 -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