Refactoring
This commit is contained in:
120
unionflow-mobile-apps/test/fixtures/demande_aide.json
vendored
Normal file
120
unionflow-mobile-apps/test/fixtures/demande_aide.json
vendored
Normal file
@@ -0,0 +1,120 @@
|
||||
{
|
||||
"id": "demande-123",
|
||||
"numeroReference": "REF-2024-001",
|
||||
"titre": "Aide médicale urgente",
|
||||
"description": "Besoin d'aide pour frais médicaux d'urgence suite à un accident",
|
||||
"typeAide": "AIDE_FINANCIERE_MEDICALE",
|
||||
"statut": "EN_ATTENTE",
|
||||
"priorite": "HAUTE",
|
||||
"estUrgente": true,
|
||||
"montantDemande": 500000.0,
|
||||
"montantApprouve": null,
|
||||
"justification": "Accident de moto nécessitant une intervention chirurgicale urgente",
|
||||
"dateCreation": "2024-01-15T10:30:00Z",
|
||||
"dateModification": "2024-01-15T14:45:00Z",
|
||||
"dateLimite": "2024-01-20T23:59:59Z",
|
||||
"dateTraitement": null,
|
||||
"organisationId": "org-1",
|
||||
"demandeurId": "user-1",
|
||||
"nomDemandeur": "Marie Kouassi",
|
||||
"emailDemandeur": "marie@example.com",
|
||||
"telephoneDemandeur": "+225123456789",
|
||||
"beneficiaires": [
|
||||
{
|
||||
"prenom": "Jean",
|
||||
"nom": "Kouassi",
|
||||
"age": 25
|
||||
}
|
||||
],
|
||||
"contactUrgence": {
|
||||
"prenom": "Paul",
|
||||
"nom": "Kouassi",
|
||||
"telephone": "+225987654321",
|
||||
"email": "paul@example.com",
|
||||
"relation": "Frère"
|
||||
},
|
||||
"localisation": {
|
||||
"adresse": "123 Rue de la Paix",
|
||||
"ville": "Abidjan",
|
||||
"codePostal": "00225",
|
||||
"pays": "Côte d'Ivoire",
|
||||
"latitude": 5.3600,
|
||||
"longitude": -4.0083
|
||||
},
|
||||
"evaluations": [
|
||||
{
|
||||
"id": "eval-1",
|
||||
"demandeId": "demande-123",
|
||||
"evaluateurId": "evaluateur-1",
|
||||
"nomEvaluateur": "Dr. Koffi",
|
||||
"typeEvaluateur": "PROFESSIONNEL_SANTE",
|
||||
"dateEvaluation": "2024-01-16T09:00:00Z",
|
||||
"noteGlobale": 4.5,
|
||||
"criteres": {
|
||||
"urgence": 5.0,
|
||||
"legitimite": 4.0,
|
||||
"faisabilite": 4.5,
|
||||
"impact": 4.5
|
||||
},
|
||||
"decision": "APPROUVE",
|
||||
"commentaires": "Cas médical urgent nécessitant une intervention rapide",
|
||||
"recommandations": "Approuver rapidement pour éviter complications",
|
||||
"piecesJustificativesValidees": true,
|
||||
"signalements": [],
|
||||
"metadonnees": {}
|
||||
}
|
||||
],
|
||||
"commentairesInternes": [
|
||||
{
|
||||
"id": "comment-1",
|
||||
"auteurId": "admin-1",
|
||||
"nomAuteur": "Admin System",
|
||||
"contenu": "Demande créée automatiquement",
|
||||
"dateCreation": "2024-01-15T10:30:00Z",
|
||||
"estPrive": true
|
||||
}
|
||||
],
|
||||
"historiqueStatuts": [
|
||||
{
|
||||
"ancienStatut": null,
|
||||
"nouveauStatut": "BROUILLON",
|
||||
"dateChangement": "2024-01-15T10:30:00Z",
|
||||
"utilisateurId": "user-1",
|
||||
"commentaire": "Création de la demande"
|
||||
},
|
||||
{
|
||||
"ancienStatut": "BROUILLON",
|
||||
"nouveauStatut": "EN_ATTENTE",
|
||||
"dateChangement": "2024-01-15T14:45:00Z",
|
||||
"utilisateurId": "user-1",
|
||||
"commentaire": "Soumission de la demande"
|
||||
}
|
||||
],
|
||||
"piecesJustificatives": [
|
||||
{
|
||||
"id": "piece-1",
|
||||
"nomFichier": "certificat_medical.pdf",
|
||||
"typeDocument": {
|
||||
"code": "CERTIFICAT_MEDICAL",
|
||||
"libelle": "Certificat médical",
|
||||
"description": "Document médical attestant de l'état de santé"
|
||||
},
|
||||
"tailleFichier": 1024000,
|
||||
"urlFichier": "/api/files/piece-1",
|
||||
"dateUpload": "2024-01-15T11:00:00Z",
|
||||
"uploadePar": "user-1",
|
||||
"estValide": true,
|
||||
"commentaires": "Certificat médical confirmant la nécessité de l'intervention"
|
||||
}
|
||||
],
|
||||
"tags": ["urgent", "médical", "accident"],
|
||||
"metadonnees": {
|
||||
"source": "mobile_app",
|
||||
"version": "1.0.0",
|
||||
"geolocalisation": {
|
||||
"latitude": 5.3600,
|
||||
"longitude": -4.0083,
|
||||
"precision": 10.0
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user