Pular para o conteúdo principal

Formations et Certifications

Fonctionnalite Desactivee

Cette fonctionnalite est temporairement desactivee dans l'interface utilisateur. Les endpoints API restent disponibles mais les onglets Formations sont masques dans la fiche Cuidadora.

Cette page documente la gestion des formations et certifications des Community Workers.


Architecture​

┌─────────────────────────────────────────────────────────────────────────┐
│ FORMATION │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ Code: FORM-001 │ │
│ │ Titre: Formation initiale Cuidadoras │ │
│ │ Type: initiale │ │
│ │ Duree: 5 jours │ │
│ │ Obligatoire: Oui │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │ │
│ ┌─────────────────────────────┼─────────────────────────────┐ │
│ ▼ ▼ ▼ │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ Certification│ │ Certification│ │ Certification│ │
│ │ Fatou Sane │ │ Mamadou D. │ │ Aminata B. │ │
│ │ Valide ✓ │ │ Expiree │ │ En cours │ │
│ │ Note: A │ │ Note: B │ │ Note: - │ │
│ └──────────────┘ └──────────────┘ └──────────────┘ │
└─────────────────────────────────────────────────────────────────────────┘

Formation (CWFormation)​

Une formation represente un programme de formation disponible pour les Community Workers.

Modele de donnees​

ChampTypeDescription
idUUIDIdentifiant unique
codestringCode unique de la formation
titrestringTitre de la formation
descriptiontextDescription detaillee
typestringType de formation
dureeJoursintDuree en jours
obligatoirebooleanFormation obligatoire
actifbooleanFormation disponible
nbCertifiesintNombre de CW certifies (calcule)
createdAtdatetimeDate de creation

Types de formation​

TypeDescription
initialeFormation initiale pour nouveaux CW
recyclageFormation de remise a niveau
specialisationFormation specialisee (VBG, nutrition, etc.)

Certification (CWCertification)​

Une certification atteste qu'un Community Worker a suivi et valide une formation.

Modele de donnees​

ChampTypeDescription
idUUIDIdentifiant unique
communityWorkerobjectCW concerne
formationobjectFormation concernee
statutstringStatut de la certification
dateCertificationdateDate d'obtention
dateExpirationdateDate d'expiration
notestringNote obtenue
isValidebooleanCertification valide (calcule)
isExpireebooleanCertification expiree (calcule)

Statuts de certification​

StatutDescription
en_coursFormation en cours
reussiFormation validee avec succes
echoueFormation non validee
expireeCertification expiree

Endpoints API​

Formations​

EndpointMethodeDescription
/api/cw-formationsGETListe des formations
/api/cw-formationsPOSTCreer une formation
/api/cw-formations/{id}GETDetail d'une formation
/api/cw-formations/{id}PUTModifier une formation
/api/cw-formations/{id}DELETESupprimer une formation

Certifications d'un CW​

EndpointMethodeDescription
/api/community-workers/{id}/certificationsGETListe des certifications

Liste des certifications d'un CW​

Endpoint​

GET /api/community-workers/{id}/certifications

Reponse​

{
"success": true,
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"formation": {
"id": "...",
"code": "FORM-001",
"titre": "Formation initiale Cuidadoras",
"type": "initiale"
},
"statut": "reussi",
"dateCertification": "2025-02-15",
"dateExpiration": "2027-02-15",
"note": "A",
"isValide": true,
"isExpiree": false
},
{
"id": "...",
"formation": {
"id": "...",
"code": "FORM-VBG",
"titre": "Sensibilisation VBG",
"type": "specialisation"
},
"statut": "reussi",
"dateCertification": "2025-06-20",
"dateExpiration": "2026-06-20",
"note": "B",
"isValide": true,
"isExpiree": false
}
]
}

Creer une formation​

Endpoint​

POST /api/cw-formations

Corps de la requete​

{
"code": "FORM-NUTRITION",
"titre": "Formation Nutrition Infantile",
"description": "Formation sur les bonnes pratiques nutritionnelles pour les enfants de 0-5 ans",
"type": "specialisation",
"dureeJours": 3,
"obligatoire": false,
"actif": true
}

Reponse (201 Created)​

{
"success": true,
"data": {
"id": "...",
"code": "FORM-NUTRITION",
"titre": "Formation Nutrition Infantile",
"description": "...",
"type": "specialisation",
"dureeJours": 3,
"obligatoire": false,
"actif": true,
"nbCertifies": 0
}
}

Workflow de certification​

┌──────────┐ ┌─────────┐ ┌─────────┐
│ En cours │ --> │ Reussi │ --> │ Expiree │
└──────────┘ └─────────┘ └─────────┘
│ ▲
│ │
▼ │
┌──────────┐ (date passee)
│ Echoue │
└──────────┘
  1. En cours : CW inscrit a la formation
  2. Reussi : Formation validee avec note
  3. Echoue : Formation non validee
  4. Expiree : Date d'expiration depassee (necessite recyclage)

Alerte expiration​

Le systeme alerte automatiquement lorsqu'une certification approche de l'expiration :

  • 30 jours avant : Notification au CW et superviseur
  • 7 jours avant : Rappel urgent
  • Jour J : Certification marquee comme expiree

L'information prochaineCertificationExpire est disponible dans le detail du Community Worker.