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
This commit is contained in:
@@ -14,7 +14,7 @@ from importlib import import_module
|
||||
|
||||
from sqlmodel import SQLModel
|
||||
|
||||
PROJECTS = ("cacu", "cama")
|
||||
PROJECTS = ("cacu", "cama", "tea")
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
"""TEA's tables: in `Core`, in the domain's registry.
|
||||
|
||||
`TABLAS` is what the shared code receives to work with this project; TEA's person adds nothing (its `sexo` stays null).
|
||||
"""
|
||||
|
||||
from core.tea.indicadores.models import (
|
||||
CatMeasure,
|
||||
CatMeasureResultado,
|
||||
CatMeasureValor,
|
||||
CatMeasureGrupo,
|
||||
CatEstrato,
|
||||
CatEstratoValor,
|
||||
CatMeasureEstrato,
|
||||
MeasureReportUnidad,
|
||||
MeasureReportUnidadEstrato,
|
||||
CatEstudio,
|
||||
CatResultado,
|
||||
CatValor,
|
||||
Observacion,
|
||||
Procedimiento,
|
||||
CohorteArmado,
|
||||
CohorteExclusion,
|
||||
CohorteMiembro,
|
||||
CohorteVariable,
|
||||
EvaluacionRiesgo,
|
||||
EvaluacionRiesgoLote,
|
||||
Carga,
|
||||
DefParametro,
|
||||
DimFecha,
|
||||
DimGrupoEdad,
|
||||
DimPeriodo,
|
||||
MeasureReport,
|
||||
PeriodoObservacion,
|
||||
Persona,
|
||||
)
|
||||
|
||||
from core.indicadores.cohortes import TablasCohorte
|
||||
from webapi.orchestration.tables import TablasKit
|
||||
|
||||
__all__ = ["TABLAS", "COHORTES"]
|
||||
|
||||
TABLAS = TablasKit(
|
||||
Persona=Persona,
|
||||
PeriodoObservacion=PeriodoObservacion,
|
||||
Carga=Carga,
|
||||
DefParametro=DefParametro,
|
||||
DimPeriodo=DimPeriodo,
|
||||
DimFecha=DimFecha,
|
||||
DimGrupoEdad=DimGrupoEdad,
|
||||
MeasureReport=MeasureReport,
|
||||
CatEstudio=CatEstudio,
|
||||
CatResultado=CatResultado,
|
||||
CatValor=CatValor,
|
||||
Procedimiento=Procedimiento,
|
||||
Observacion=Observacion,
|
||||
CatMeasure=CatMeasure,
|
||||
CatMeasureResultado=CatMeasureResultado,
|
||||
CatMeasureValor=CatMeasureValor,
|
||||
CatMeasureGrupo=CatMeasureGrupo,
|
||||
CatEstrato=CatEstrato,
|
||||
CatEstratoValor=CatEstratoValor,
|
||||
CatMeasureEstrato=CatMeasureEstrato,
|
||||
MeasureReportUnidad=MeasureReportUnidad,
|
||||
MeasureReportUnidadEstrato=MeasureReportUnidadEstrato,
|
||||
)
|
||||
|
||||
# Cohorts for models and their risk estimates: TEA builds none yet, the tables are the domain's.
|
||||
COHORTES = TablasCohorte(
|
||||
CohorteArmado=CohorteArmado,
|
||||
CohorteMiembro=CohorteMiembro,
|
||||
CohorteExclusion=CohorteExclusion,
|
||||
CohorteVariable=CohorteVariable,
|
||||
EvaluacionRiesgoLote=EvaluacionRiesgoLote,
|
||||
EvaluacionRiesgo=EvaluacionRiesgo,
|
||||
)
|
||||
Reference in New Issue
Block a user