Skip to content

Commit

Permalink
Merge pull request #181 from ansforge/daphneleccia-patch-1
Browse files Browse the repository at this point in the history
Add RS-SR et RS-RI + Modifier RS-EDA et RS-RPIS (CIM10)
  • Loading branch information
romainfd authored Sep 17, 2024
2 parents 1b822d2 + 7c2cc85 commit 47285e7
Show file tree
Hide file tree
Showing 12 changed files with 147 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"actionsSMUR": [
"ACC"
],
"mainDiagnosis": "JA40 "
"mainDiagnosis": "O20"
},
"patient": {
"residentialAddress": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"type": "L01.01.01"
},
"mainDiagnosis": "PB32"
"mainDiagnosis": "T58"
},
"patient": {
"residentialAddress": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"type": "L01.01.01"
},
"mainDiagnosis": "PB32"
"mainDiagnosis": "T58"
},
"patient": {
"residentialAddress": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
},
"hypothesis": {
"mainDiagnosis": {
"code": "JA40 ",
"code": "O20",
"label": "Hémorragie en début de grossesse"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
"hypothesis": {
"mainDiagnosis": {
"code": "PB32",
"code": "T58",
"label": "Effets nocifs ou exposition accidentelle au monoxyde de carbone"
}
},
Expand Down
30 changes: 30 additions & 0 deletions src/main/resources/sample/examples/RS-RI/RS-RI_FemmeEnceinte.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"resourcesInfo": {
"mobilizedResource": [
{
"team": {
"teamCare": "MED",
"name": "Equipe SMUR 4"
},
"resourceType": "SMUR",
"vehiculeType": "VLM",
"name": "VLM4",
"datetime": "2024-05-26T13:22:00+02:00",
"resourceId": "fr.health.samu440.resource.VLM4",
"orgId": "fr.health.samu440",
"state": [
{
"status": "DECLENCHE",
"datetime": "2024-05-26T13:22:00+02:00",
"availability": false
},
{
"datetime": "2024-05-26T13:20:00+02:00",
"status": "DECISION"
}
]
}
],
"caseId": "fr.fire.sis044.cga-044.SC-20240526-044-cga-AL8"
}
}
42 changes: 42 additions & 0 deletions src/main/resources/sample/examples/RS-RI/RS-RI_FuiteDeGaz.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"resourcesInfo": {
"mobilizedResource": [
{
"team": {
"teamCare": "MED",
"name": "Equipe SMUR 2"
},
"resourceType": "SMUR",
"vehiculeType": "VLM",
"name": "VLM2",
"datetime": "2024-05-18T18:20:00+02:00",
"resourceId": "fr.health.samu440.resource.VLM2",
"orgId": "fr.health.samu440",
"state": [
{
"status": "DECLENCHE",
"datetime": "2024-05-18T18:20:00+02:00",
"availability": false
},
{
"datetime": "2024-05-18T18:19:00+02:00",
"status": "DECISION"
}
]
},
{
"team": {
"teamCare": "SECOURS"
},
"datetime": "2024-05-18T18:22:00+02:00",
"resourceId": "fr.fire.sis044.cgo-044.resource.VSAV3",
"orgId": "fr.fire.sdis044.cgo-044",
"resourceType": "SIS",
"vehiculeType": "VSAV",
"name": "VSAV3",
"centerCity": "44109"
}
],
"caseId": "fr.health.samu440.DRFR154402413800236"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"resourcesStatus": {
"caseId": "fr.fire.sis044.cga-044.SC-20240526-044-cga-AL8",
"resourceId": "fr.health.samu440.resource.VLM4",
"datetime": "2024-05-26T13:21:00+02:00",
"status": "DEPART"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"resourcesStatus": {
"caseId": "fr.fire.sis044.cga-044.SC-20240526-044-cga-AL8",
"resourceId": "fr.health.samu440.resource.VLM4",
"datetime": "2024-05-26T13:32:00+02:00",
"status": "ARRIVE"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"resourcesStatus": {
"caseId": "fr.health.samu440.DRFR154402413800236",
"resourceId": "fr.health.samu440.resource.VLM2",
"datetime": "2024-05-18T18:15:00+02:00",
"status": "DEPART"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"resourcesStatus": {
"caseId": "fr.health.samu440.DRFR154402413800236",
"resourceId": "fr.health.samu440.resource.VLM2",
"datetime": "2024-05-18T18:32:00+02:00",
"status": "ARRIVE"
}
}
39 changes: 38 additions & 1 deletion src/main/resources/sample/examples/messagesList.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,20 @@
"name": "Enfants NGUYEN.04c",
"context": "Pas de test suivant: RS-SR - 05a",
"environment": "Engagement de l’HéliSMUR 80 en réponse à la demande du 76A"
},
{
"file": "RS-RI/RS-RI_FemmeEnceinte.json",
"icon": "mdi-human-pregnant",
"name": "Delphine VIGNEAU.01bis",
"context": "Pas de test suivant: RS-SR",
"environment": "Engagement VLM"
},
{
"file": "RS-RI/RS-RI_FuiteDeGaz.json",
"icon": "mdi-molecule-co2",
"name": "Alice et Grégoire NORMAND.01bis",
"context": "Pas de test suivant: RS-SR",
"environment": "Engagement VLM et VSAV"
}]
},
{
Expand Down Expand Up @@ -315,9 +329,32 @@
"icon": "mdi-baby-face-outline",
"name": "Enfants NGUYEN.05c",
"environment": "Arrivée Helismur 80 sur le lieu de l’intervention"
},
{
"file": "RS-SR/RS-SR_FemmeEnceinte.03a.json",
"icon": "mdi-human-pregnant",
"name": "Delphine Vigneau.03a",
"environment": "Départ de la base du VLM"
},
{
"file": "RS-SR/RS-SR_FemmeEnceinte.03b.json",
"icon": "mdi-human-pregnant",
"name": "Delphine Vigneau.03b",
"environment": "Arrivée sur les lieux de l'intervention du VLM"
},
{
"file": "RS-SR/RS-SR_FuiteDeGaz.03a.json",
"icon": "mdi-molecule-co2",
"name": "Alice et Grégoire NORMAND.03a",
"environment": "Départ de la base du VLM"
},
{
"file": "RS-SR/RS-SR_FuiteDeGaz.03b.json",
"icon": "mdi-molecule-co2",
"name": "Alice et Grégoire NORMAND.03b",
"environment": "Arrivée sur les lieux de l'intervention du VLM"
}]
},

{
"label": "RS-RPIS",
"schemaName": "RPIS.schema.json",
Expand Down

0 comments on commit 47285e7

Please sign in to comment.