Commit Graph

8 Commits

Author SHA1 Message Date
Roberto Treviño Cervantes 9737b5a67f The follow-up list identifies each patient by the platform's pac_id, the key the risk route takes; TEA keeps its salted pseudonym 2026-11-15 05:40:08 -06:00
Roberto Treviño Cervantes 6dce665d93 Merge remote-tracking branch 'origin/feature/163-tea-redesign' into feature/kit-exit-integration
# Conflicts:
#	Dockerfile
#	README.md
#	tests/staging/cama.py
#	tests/test_fhir_measures.py
#	tests/test_fhir_tea.py
#	tests/test_orquestacion_oro.py
#	tests/test_orquestacion_plata.py
#	uv.lock
#	webapi/__init__.py
#	webapi/fhir/__init__.py
#	webapi/fhir/measures.py
#	webapi/follow_up/routes.py
#	webapi/imports/schemas/tea/ordenes_estudio.py
#	webapi/metrics.py
#	webapi/orchestration/cycle.py
#	webapi/orchestration/reference/catalogs.py
#	webapi/orchestration/repositories.py
#	webapi/orchestration/silver/cama.py
#	webapi/orchestration/silver/orders_and_notes.py
2026-11-15 00:44:31 -06:00
rockdrigo 461d651805 TEA FHIR: an episode's _include brings its ADOS-2 observation 2026-11-13 17:03:23 -06:00
rockdrigo f183e495fb A timeline stratum read by the event cut-off, and labels for a timeline stratum's values
How: `linea_de_tiempo_al_corte` is `linea_de_tiempo_al_inicio_del_periodo` with what the timeline held by the
question's event cut-off (all of it without one) instead of before the period's start. FHIR's `_label` reads a
timeline stratum's labels from its `valores` entries and `resto_etiqueta`. Tests cover CaMa's tumour stratifiers:
the facts dbt derives, the surrogate subtype's rules, CAMA_BIRADS_CANCER_INVASOR broken down by them, and the
cut-off.

Implications: a patient's characteristic learned after the fact that put her in the period (a cancer's stage or
subtype, written after its biopsy) can stratify a measure, and stays reproducible through the cut-offs. CaMa
publishes eight measures and five strata.
2026-11-13 15:14:46 -06:00
alberto 7d5c79f520 TEA: an answer as of a knowledge cut-off reads each child's version known then, and the measures waiting for a validation stay hidden outside FHIR too 2026-11-13 15:14:46 -06:00
edgar e224b8b2aa TEA on its new staging: silver load, ten measures answered on request with the status at the period's end, several groups and column strata, and FHIR R4 endpoints for measures, follow-up and patient summary 2026-11-13 15:14:46 -06:00
alberto 0f9433949f TEA: an answer as of a knowledge cut-off reads each child's version known then, and the measures waiting for a validation stay hidden outside FHIR too 2026-11-12 19:47:19 -06:00
edgar a0407e41d6 TEA on its new staging: silver load, ten measures answered on request with the status at the period's end, several groups and column strata, and FHIR R4 endpoints for measures, follow-up and patient summary 2026-11-12 15:21:25 -06:00