,
],
layout: {
diff --git a/src/app/indicadores/indicadores.ts b/src/app/indicadores/indicadores.ts
index b032aec..85b2917 100644
--- a/src/app/indicadores/indicadores.ts
+++ b/src/app/indicadores/indicadores.ts
@@ -36,28 +36,28 @@ import { Loading } from '../loading';
Este dominio todavía no tiene indicadores publicados.
} @else {
-
+
-
+
@if (domain() === 'cacu') {
-
+
} @else if (domain() === 'tea') {
-
+
} @else if (domain() === 'cama') {
-
+
diff --git a/src/app/indicadores/measures.ts b/src/app/indicadores/measures.ts
index 54793ee..2aa6816 100644
--- a/src/app/indicadores/measures.ts
+++ b/src/app/indicadores/measures.ts
@@ -106,6 +106,7 @@ export const LABELS: Record = {
normal: 'Normal',
carcinoma: 'Carcinoma',
no_data: 'Sin dato',
+ '<25': '<25 años (sin límite inferior)',
no_biopsy: 'Sin biopsia',
pre_colposcopy: 'Pre colposcopia',
post_colposcopy: 'Post colposcopia',
diff --git a/src/app/indicadores/pages-cacu.ts b/src/app/indicadores/pages-cacu.ts
index d965a76..3ff6d83 100644
--- a/src/app/indicadores/pages-cacu.ts
+++ b/src/app/indicadores/pages-cacu.ts
@@ -59,7 +59,7 @@ const HPV = [
{ code: 'positive_16', label: 'VPH 16', color: HPV_COLORS['positive_16'] },
{ code: 'positive_18', label: 'VPH 18', color: HPV_COLORS['positive_18'] },
{ code: 'positive_16_18', label: 'VPH 16 y 18', color: HPV_COLORS['positive_16_18'] },
- { code: 'positive_other', label: 'Positivo', color: HPV_COLORS['positive_other'] },
+ { code: 'positive_other', label: 'Positivo sin genotipo', color: HPV_COLORS['positive_other'] },
];
const REQUESTS = [
{ code: 'high_grade', label: 'LIEAG o más', color: REQUEST_COLORS['high_grade'] },
@@ -107,19 +107,28 @@ const groupViews = (
measure,
catalog,
unit,
+ caption: more.ofAll
+ ? 'Porcentaje de reportes de VPH del grupo por genotipo.'
+ : 'Porcentaje de pacientes del grupo por resultado citológico.',
...v,
...more,
}));
/** A PPV's card: the whole, and by each of its stratifiers. */
-const ppv = (measure: string, title: string, note: string, ...more: Mode[]): ReadingsCard => ({
+const ppv = (
+ measure: string,
+ title: string,
+ note: string,
+ percentLabel: string,
+ ...more: Mode[]
+): ReadingsCard => ({
kind: 'readings',
title,
headline: measure,
footnote: true,
note: `${note} Confirma la histología LIEBG o mayor.`,
modes: [
- { kind: 'ratio', label: 'Total', measure, colors: PPV_DONUT },
+ { kind: 'ratio', label: 'Total', measure, colors: PPV_DONUT, percentLabel },
{
kind: 'shares',
label: 'Citología previa',
@@ -128,6 +137,7 @@ const ppv = (measure: string, title: string, note: string, ...more: Mode[]): Rea
stratum: 'cytology',
colors: PPV_CYTOLOGY_COLORS,
order: ['ascus_plus', 'lsil_plus', 'hsil_plus', 'no_data'],
+ percentLabel: 'Porcentaje de pacientes con esta citología previa',
},
{
kind: 'shares',
@@ -137,6 +147,7 @@ const ppv = (measure: string, title: string, note: string, ...more: Mode[]): Rea
stratum: 'hpv',
colors: HPV_COLORS,
order: ['negative', 'positive', 'hpv_16', 'hpv_18', 'no_data'],
+ percentLabel: 'Porcentaje de pacientes de cada grupo de VPH previo',
},
{
kind: 'shares',
@@ -145,6 +156,7 @@ const ppv = (measure: string, title: string, note: string, ...more: Mode[]): Rea
stratum: 'level',
colors: PPV_LEVEL_COLORS,
order: ['cin1_plus', 'cin2_plus', 'carcinoma'],
+ percentLabel: 'Porcentaje de pacientes de cada nivel de histología',
},
{
kind: 'shares',
@@ -155,6 +167,7 @@ const ppv = (measure: string, title: string, note: string, ...more: Mode[]): Rea
colors: ROUND_COLORS,
order: ROUNDS,
complete: true,
+ percentLabel: 'Porcentaje de pacientes de cada ronda',
},
...more,
],
@@ -197,7 +210,7 @@ export const CACU: Page = {
opportunity: [
{
kind: 'readings',
- title: 'Días de la ruta del tamizaje',
+ title: 'Tiempos de tamizaje',
note: 'Mediana en días; las marcas son el primer y el tercer cuartil.',
modes: [
{
@@ -217,7 +230,7 @@ export const CACU: Page = {
{
kind: 'days',
tint: TINT,
- label: 'Por pasos',
+ label: 'Por ventana de tiempo',
caption: 'Cada paso mide a sus propias pacientes: las medianas no se suman.',
steps: [
{
@@ -262,7 +275,14 @@ export const CACU: Page = {
title: 'Distribución de resultados citológicos',
note: 'Pacientes, por su última muestra válida del periodo.',
modes: [
- { kind: 'counts', label: GENERAL, measure: 'CACU_EU7', catalog: CYTOLOGY.categories },
+ {
+ kind: 'counts',
+ label: GENERAL,
+ measure: 'CACU_EU7',
+ catalog: CYTOLOGY.categories,
+ unit: 'Pacientes',
+ percentLabel: 'Porcentaje de pacientes',
+ },
...groupViews('CACU_EU7', CYTOLOGY.categories, 'pacientes'),
],
},
@@ -277,6 +297,8 @@ export const CACU: Page = {
label: GENERAL,
measure: 'CACU_VPH_GENOTIPO',
catalog: HPV,
+ unit: 'Reportes',
+ percentLabel: 'Porcentaje de reportes de VPH',
hidden: HPV_HIDDEN,
},
...groupViews('CACU_VPH_GENOTIPO', HPV, 'reportes', {
@@ -295,6 +317,8 @@ export const CACU: Page = {
label: 'General',
measure: 'CACU_BIOPSIA_RESULTADOS',
catalog: BIOPSY.categories,
+ unit: 'Reportes',
+ percentLabel: 'Porcentaje de reportes de biopsia',
},
],
},
@@ -310,6 +334,7 @@ export const CACU: Page = {
'CACU_VPP_COLPOSCOPIA',
'Tasa de confirmación histopatológica de referencia a colposcopía',
'Pacientes con colposcopía en el periodo; biopsia solicitada en los 60 días siguientes.',
+ 'Porcentaje de pacientes',
),
},
{
@@ -318,12 +343,15 @@ export const CACU: Page = {
'CACU_VPP_BIOPSIA',
'Tasa de confirmación histopatológica de referencia a biopsia',
'Pacientes con biopsia reportada, por fecha de solicitud.',
+ 'Porcentaje de biopsias reportadas',
{
kind: 'counts',
label: 'Solicitudes',
caption: 'Solicitudes de biopsia registradas, según su resultado.',
measure: 'CACU_BIOPSIA_SOLICITUD_CONFIRMACION',
catalog: REQUESTS,
+ unit: 'Solicitudes',
+ percentLabel: 'Porcentaje de solicitudes',
},
),
},
diff --git a/src/app/indicadores/pages.ts b/src/app/indicadores/pages.ts
index 4ccb88a..8834733 100644
--- a/src/app/indicadores/pages.ts
+++ b/src/app/indicadores/pages.ts
@@ -342,6 +342,7 @@ export const PAGES: Record = {
measure: 'CAMA_HISTOPATOLOGIA_BIRADS',
catalog: [...BIOPSY_GRADES, ...NO_RESULT],
percent: true,
+ percentLabel: 'Porcentaje de pacientes',
},
],
},
@@ -366,6 +367,7 @@ export const PAGES: Record = {
measure: 'CAMA_BIOPSIAS',
catalog: [...BIOPSY_GRADES, NO_RESULT[1]],
percent: true,
+ percentLabel: 'Porcentaje de reportes de biopsia',
},
],
},
@@ -386,6 +388,8 @@ export const PAGES: Record = {
yes: 'Con reporte de biopsia',
no: 'Sin reporte de biopsia',
colors: [INSTITUTIONAL, NEUTRAL],
+ unit: 'Mastografías',
+ percentLabel: 'Porcentaje de mastografías',
},
],
},
diff --git a/src/app/indicadores/readings.ts b/src/app/indicadores/readings.ts
index 1b07184..36dcb28 100644
--- a/src/app/indicadores/readings.ts
+++ b/src/app/indicadores/readings.ts
@@ -54,7 +54,7 @@ import { Reading } from './measures';
@for (group of g.groups; track group.code) {
- {{ group.label }} n = {{ group.total }}
+ {{ group.label }} {{ countUnit() }}: {{ group.total }}
@if (group.hint) {
{{ group.hint }}
}
@@ -364,6 +364,11 @@ export class Readings {
readonly draw = input.required<(mode: Mode) => Figure | undefined>();
protected readonly chosen = signal('');
+ protected readonly countUnit = computed(() => {
+ const mode = this.mode();
+ const unit = mode.kind === 'grouped' ? mode.unit : 'pacientes';
+ return unit[0].toUpperCase() + unit.slice(1);
+ });
protected readonly mode = computed(
() => this.modes().find((m) => m.label === (this.view() || this.chosen())) ?? this.modes()[0],
);
diff --git a/src/app/indicadores/tab-riesgos.html b/src/app/indicadores/tab-riesgos.html
index a3068c9..cb11d13 100644
--- a/src/app/indicadores/tab-riesgos.html
+++ b/src/app/indicadores/tab-riesgos.html
@@ -142,7 +142,7 @@
|
{{ row.age ?? 'No disponible' }}
- Grupo: {{ row.ageGroup }}
+ Grupo: {{ name(row.ageGroup) }}
|
{{ name(row.status) }} |
|