One shell with the current look: indicators, follow-up list and patient view from FHIR; /conectar canvas; /revision; Playwright page tests
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
/** Where each measure goes on a domain's indicator page (today's layout); measures not
|
||||
* named here are clinical cards. Measures are named by their code (`Measure.name`). */
|
||||
export interface Layout {
|
||||
kpis: string[];
|
||||
route: { label: string; fromSample: string; fromStep: string; step: string }[];
|
||||
/** The measure whose data decides the default period. */
|
||||
anchor: string;
|
||||
}
|
||||
|
||||
export const LAYOUTS: Record<string, Layout> = {
|
||||
cacu: {
|
||||
kpis: [
|
||||
'CACU_EU7',
|
||||
'CACU_EU_TIEMPO_REPORTE',
|
||||
'CACU_DIAS_TOMA_DIAGNOSTICO',
|
||||
'CACU_DIAS_TOMA_TRATAMIENTO',
|
||||
'CACU_DIAS_DIAGNOSTICO_TRATAMIENTO',
|
||||
],
|
||||
route: [
|
||||
{
|
||||
label: 'Resultado de citología',
|
||||
step: 'Toma a resultado de citología',
|
||||
fromSample: 'CACU_EU_TIEMPO_REPORTE',
|
||||
fromStep: 'CACU_EU_TIEMPO_REPORTE',
|
||||
},
|
||||
{
|
||||
label: 'Colposcopía',
|
||||
step: 'Del resultado de citología a la colposcopía',
|
||||
fromSample: 'CACU_DIAS_TOMA_COLPOSCOPIA',
|
||||
fromStep: 'CACU_DIAS_RESULTADO_COLPOSCOPIA',
|
||||
},
|
||||
{
|
||||
label: 'Resultado de biopsia',
|
||||
step: 'De la colposcopía al resultado de biopsia',
|
||||
fromSample: 'CACU_DIAS_TOMA_BIOPSIA',
|
||||
fromStep: 'CACU_DIAS_COLPOSCOPIA_BIOPSIA',
|
||||
},
|
||||
{
|
||||
label: 'Diagnóstico',
|
||||
step: 'Del resultado de biopsia al diagnóstico',
|
||||
fromSample: 'CACU_DIAS_TOMA_DIAGNOSTICO',
|
||||
fromStep: 'CACU_DIAS_BIOPSIA_DIAGNOSTICO',
|
||||
},
|
||||
],
|
||||
anchor: 'IND1',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user