feat: stat Nb Familles avec une Information non médico-sociale

This commit is contained in:
Sébastien Arod 2025-05-27 21:16:30 +02:00
parent 728e219878
commit 07273d0c3b
3 changed files with 12 additions and 0 deletions

View file

@ -4,6 +4,7 @@ export const typesEvenementsSocial = [
"Information préoccupante 2", "Information préoccupante 2",
"Information préoccupante 3", "Information préoccupante 3",
"Information préoccupante 4", "Information préoccupante 4",
"Information non médico-sociale",
"Classement suite IP", "Classement suite IP",
"Classement suite AEMO MIJE ou...", "Classement suite AEMO MIJE ou...",
"Classement sans IP", "Classement sans IP",

View file

@ -25,6 +25,10 @@ export const statsSocialesDesc = {
label: "Nb Familles avec signalement", label: "Nb Familles avec signalement",
}, },
nbFamilleAvecInfoNonMedicoSociale: {
label: "Nb Familles avec une Information non médico-sociale",
},
jugePourEnfant: { jugePourEnfant: {
label: "Juge pour enfant", label: "Juge pour enfant",
stats: { stats: {

View file

@ -28,6 +28,13 @@ export function computeStatsSociales(familles: Famille[]): StatsSociales {
) )
), ),
nbFamilleAvecInfoNonMedicoSociale: nbFamillesAvecPagesLiees(
filterFamillesWithOneOfEvenementsOfType(
famillesResistantesOuEx,
"Information non médico-sociale"
)
),
nbFamilleAvecClassementSuiteIP: nbFamillesAvecPagesLiees( nbFamilleAvecClassementSuiteIP: nbFamillesAvecPagesLiees(
filterFamillesWithOneOfEvenementsOfType( filterFamillesWithOneOfEvenementsOfType(
famillesResistantesOuEx, famillesResistantesOuEx,