From 0db141de9ee42e0864791e577406dca955372df1 Mon Sep 17 00:00:00 2001 From: "ssviridov.henix" Date: Tue, 6 Feb 2024 11:08:07 +0100 Subject: [PATCH 01/17] Add refused and infoDistributionID to RC-REF model and modify related classes --- .../builders/ReferenceWrapperBuilder.java | 5 +- .../com/hubsante/model/common/Reference.java | 58 +++++++++++++++++-- .../resources/json-schema/RC-REF.schema.json | 14 +++++ .../builders/ReferenceWrapperBuilderTest.java | 2 +- 4 files changed, 72 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java b/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java index b649dfdf94..57887e9173 100644 --- a/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java +++ b/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java @@ -26,7 +26,7 @@ public class ReferenceWrapperBuilder { public ReferenceWrapperBuilder(DistributionElement distributionElement, String referencedDistributionId) { this.distributionElement = distributionElement; - this.reference = new Reference().distributionID(referencedDistributionId); + this.reference = new Reference().distributionID(referencedDistributionId).infoDistributionID(null).refused(false); } public ReferenceWrapper build() { @@ -40,6 +40,9 @@ public ReferenceWrapper build() { referenceMessage.setKind(distributionElement.getKind()); referenceMessage.setStatus(distributionElement.getStatus()); referenceMessage.setRecipient(distributionElement.getRecipient()); + if(reference.isRefused() && reference.getInfoDistributionID() == null) { + throw new IllegalArgumentException("ReferenceWrapper must have infoDistributionID if refused is true"); + } referenceMessage.setReference(reference); return referenceMessage; } diff --git a/src/main/java/com/hubsante/model/common/Reference.java b/src/main/java/com/hubsante/model/common/Reference.java index cdc9295961..8255cac83c 100644 --- a/src/main/java/com/hubsante/model/common/Reference.java +++ b/src/main/java/com/hubsante/model/common/Reference.java @@ -41,19 +41,35 @@ /** * Reference */ -@JsonPropertyOrder({Reference.JSON_PROPERTY_DISTRIBUTION_I_D}) +@JsonPropertyOrder({Reference.JSON_PROPERTY_DISTRIBUTION_I_D, Reference.JSON_PROPERTY_REFUSED, Reference.JSON_PROPERTY_INFO_DISTRIBUTION_I_D}) @JsonInclude(JsonInclude.Include.NON_EMPTY) public class Reference { public static final String JSON_PROPERTY_DISTRIBUTION_I_D = "distributionID"; + public static final String JSON_PROPERTY_REFUSED = "refused"; + public static final String JSON_PROPERTY_INFO_DISTRIBUTION_I_D = "infoDistributionID"; private String distributionID; + private boolean refused; + private String infoDistributionID; public Reference() {} public Reference distributionID(String distributionID) { - this.distributionID = distributionID; - return this; + this.distributionID = distributionID; + return this; + } + + public Reference refused(boolean refused) { + + this.refused = refused; + return this; + } + + public Reference infoDistributionID(String infoDistributionID) { + + this.infoDistributionID = infoDistributionID; + return this; } /** @@ -73,6 +89,30 @@ public void setDistributionID(String distributionID) { this.distributionID = distributionID; } + @JsonProperty(JSON_PROPERTY_REFUSED) + @JsonInclude(value = JsonInclude.Include.NON_EMPTY) + public boolean isRefused() { + return refused; + } + + @JsonProperty(JSON_PROPERTY_REFUSED) + @JsonInclude(value = JsonInclude.Include.NON_EMPTY) + public void setRefused(boolean refused) { + this.refused = refused; + } + + @JsonProperty(JSON_PROPERTY_INFO_DISTRIBUTION_I_D) + @JsonInclude(value = JsonInclude.Include.NON_EMPTY) + public String getInfoDistributionID() { + return infoDistributionID; + } + + @JsonProperty(JSON_PROPERTY_INFO_DISTRIBUTION_I_D) + @JsonInclude(value = JsonInclude.Include.NON_EMPTY) + public void setInfoDistributionID(String infoDistributionID) { + this.infoDistributionID = infoDistributionID; + } + @Override public boolean equals(Object o) { if (this == o) { @@ -82,12 +122,14 @@ public boolean equals(Object o) { return false; } Reference reference = (Reference)o; - return Objects.equals(this.distributionID, reference.distributionID); + return Objects.equals(this.distributionID, reference.distributionID) && + (this.refused == reference.refused) && + Objects.equals(this.infoDistributionID, reference.infoDistributionID); } @Override public int hashCode() { - return Objects.hash(distributionID); + return Objects.hash(distributionID, refused, infoDistributionID); } @Override @@ -96,6 +138,12 @@ public String toString() { sb.append("class Reference {\n"); sb.append(" distributionID: ") .append(toIndentedString(distributionID)) + .append("\n") + .append(" refused: ") + .append(toIndentedString(refused)) + .append("\n") + .append(" infoDistributionID: ") + .append(toIndentedString(infoDistributionID)) .append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/resources/json-schema/RC-REF.schema.json b/src/main/resources/json-schema/RC-REF.schema.json index 2dd10d4916..ca08514730 100644 --- a/src/main/resources/json-schema/RC-REF.schema.json +++ b/src/main/resources/json-schema/RC-REF.schema.json @@ -22,6 +22,20 @@ "distributionID" ], "properties": { + "refused": { + "type": "boolean", + "title": "Message refusé", + "x-cols": 6, + "example": false, + "description": "Indique si le message a été refusé, accompagné par infoDistributionID" + }, + "infoDistributionID": { + "type": "string", + "title": "Identifiant du message d'erreur référencé", + "x-cols": 6, + "example": "example.json#/caseId", + "description": "Identifiant unique du message d'erreur référencé" + }, "distributionID": { "type": "string", "title": "Identifiant du message référencé", diff --git a/src/test/java/com/hubsante/model/builders/ReferenceWrapperBuilderTest.java b/src/test/java/com/hubsante/model/builders/ReferenceWrapperBuilderTest.java index a95004c20c..1ba4a03081 100644 --- a/src/test/java/com/hubsante/model/builders/ReferenceWrapperBuilderTest.java +++ b/src/test/java/com/hubsante/model/builders/ReferenceWrapperBuilderTest.java @@ -71,6 +71,6 @@ public void shouldNotBuildRC_REFWithInvalidKind() { .kind(DistributionElement.KindEnum.REPORT) .build(); - assertThrows(IllegalArgumentException.class, () -> new ReferenceWrapperBuilder(distributionElement, "id-67890").build()); + assertThrows(IllegalArgumentException.class, () -> new ReferenceWrapperBuilder(distributionElement, "id-67890")); } } From 873568652715cabe333276d0c90fd079134da27a Mon Sep 17 00:00:00 2001 From: Saveliy Sviridov <105354733+saveliy-sviridov@users.noreply.github.com> Date: Tue, 6 Feb 2024 11:10:43 +0100 Subject: [PATCH 02/17] Change order of properties --- src/main/java/com/hubsante/model/common/Reference.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/hubsante/model/common/Reference.java b/src/main/java/com/hubsante/model/common/Reference.java index 8255cac83c..58821866d3 100644 --- a/src/main/java/com/hubsante/model/common/Reference.java +++ b/src/main/java/com/hubsante/model/common/Reference.java @@ -46,10 +46,10 @@ public class Reference { public static final String JSON_PROPERTY_DISTRIBUTION_I_D = "distributionID"; - public static final String JSON_PROPERTY_REFUSED = "refused"; - public static final String JSON_PROPERTY_INFO_DISTRIBUTION_I_D = "infoDistributionID"; private String distributionID; + public static final String JSON_PROPERTY_REFUSED = "refused"; private boolean refused; + public static final String JSON_PROPERTY_INFO_DISTRIBUTION_I_D = "infoDistributionID"; private String infoDistributionID; public Reference() {} From 646a06718d31c4fb04ac0cf44ee5461d6f9215b6 Mon Sep 17 00:00:00 2001 From: saveliy-sviridov Date: Tue, 6 Feb 2024 10:12:27 +0000 Subject: [PATCH 03/17] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Auto-g=C3=A9n=C3=A9r?= =?UTF-8?q?ation=20des=20classes=20et=20des=20specs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/EMSI.schema.json | 2 +- .../src/main/resources/RC-EDA.schema.json | 2 +- .../src/main/resources/RS-EDA.schema.json | 2 +- csv_parser/out/EMSI/EMSI.schema.docx | Bin 48754 -> 48754 bytes csv_parser/out/EMSI/EMSI.uml_diagram.pdf | Bin 27047 -> 27047 bytes csv_parser/out/RC-EDA/RC-EDA.schema.docx | Bin 47471 -> 47471 bytes csv_parser/out/RC-EDA/RC-EDA.uml_diagram.pdf | Bin 41615 -> 41615 bytes csv_parser/out/RS-EDA/RS-EDA.schema.docx | Bin 52665 -> 52665 bytes csv_parser/out/RS-EDA/RS-EDA.uml_diagram.pdf | Bin 50300 -> 50300 bytes .../com/hubsante/model/common/Reference.java | 58 ++---------------- .../resources/json-schema/EMSI.schema.json | 2 +- .../resources/json-schema/RC-EDA.schema.json | 2 +- .../resources/json-schema/RS-EDA.schema.json | 2 +- 13 files changed, 11 insertions(+), 59 deletions(-) diff --git a/csv_parser/json_schema2xsd/src/main/resources/EMSI.schema.json b/csv_parser/json_schema2xsd/src/main/resources/EMSI.schema.json index b87f999eaf..c11ca972bd 100644 --- a/csv_parser/json_schema2xsd/src/main/resources/EMSI.schema.json +++ b/csv_parser/json_schema2xsd/src/main/resources/EMSI.schema.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "classpath:/json-schema/schema#", "x-id": "EMSI.schema.json#", - "version": "24.01.12", + "version": "24.02.06", "example": "example.json#", "type": "object", "title": "emsi", diff --git a/csv_parser/json_schema2xsd/src/main/resources/RC-EDA.schema.json b/csv_parser/json_schema2xsd/src/main/resources/RC-EDA.schema.json index 6b6eee2dc8..602e30daec 100644 --- a/csv_parser/json_schema2xsd/src/main/resources/RC-EDA.schema.json +++ b/csv_parser/json_schema2xsd/src/main/resources/RC-EDA.schema.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "classpath:/json-schema/schema#", "x-id": "RC-EDA.schema.json#", - "version": "24.01.12", + "version": "24.02.06", "example": "example.json#", "type": "object", "title": "createCase", diff --git a/csv_parser/json_schema2xsd/src/main/resources/RS-EDA.schema.json b/csv_parser/json_schema2xsd/src/main/resources/RS-EDA.schema.json index 78af2c7b67..10a844e359 100644 --- a/csv_parser/json_schema2xsd/src/main/resources/RS-EDA.schema.json +++ b/csv_parser/json_schema2xsd/src/main/resources/RS-EDA.schema.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "classpath:/json-schema/schema#", "x-id": "RS-EDA.schema.json#", - "version": "24.01.12", + "version": "24.02.06", "example": "example.json#", "type": "object", "title": "createCase", diff --git a/csv_parser/out/EMSI/EMSI.schema.docx b/csv_parser/out/EMSI/EMSI.schema.docx index 57a10143eca78b4f12d6f9fc1a7a3abc727a999b..7b7d6776f77681cb9fbd31baf208db08b90a7d01 100644 GIT binary patch delta 302 zcmezLhw0NFCf)#VW)=|!1_lm>fTUH8YrTb&)~;t9yLMZF>EpXy u!8HFKh`iq(doX{(9$PSdVUGit7TyanKV+{bn7?4JGnjt17otvWpAP`}BX4m4 delta 302 zcmezLhw0NFCf)#VW)=|!1_llW-3pzJyoVW?f%N9fjB*gh7pAEYMh}Y^6If~~+aW_R zBg-NaB6ZDju0B|#EHlp(%y>TUH8YrTb&)~;t9yLMZF>EpXy u!8HFKh`iq(doX{(9$PSdVUGit7TyanKV+{bn7?4JGnjt17otvWpAP{0UuZ=D diff --git a/csv_parser/out/EMSI/EMSI.uml_diagram.pdf b/csv_parser/out/EMSI/EMSI.uml_diagram.pdf index 180a19c5335cd0274b155c7383aaea8a32b1ce31..a4a3909d8e0be32deb1bf2165baf49c5c3468055 100644 GIT binary patch delta 24 gcmZ2}nQ{4L#tnbdIE@U<3=Iqojg2<5r7vUx0DQ6tmH+?% delta 24 gcmZ2}nQ{4L#tnbdI1LSr3{4FTjZ8PQr7vUx0DQFwm;e9( diff --git a/csv_parser/out/RC-EDA/RC-EDA.schema.docx b/csv_parser/out/RC-EDA/RC-EDA.schema.docx index 4c9150e2e80dcb4fc381f13545ec2fdfdac8ba23..c19f0bf1869645219a3acfe1475e3196116b7f27 100644 GIT binary patch delta 302 zcmaF=iRt|(Cf)#VW)=|!1_lm>tU$MoyoVW?f%N9fjB*gh7pAEYMh}Y^6If~~+kPD| zBi%R?s@P<%K3JqUCC?Phcrx=fGnjE{u0BK!%lrut?b8>2V*^P|p0MI7n9f-F4XiYA zl?X&>#p)Rl&BE(HvVxVcZ?yx{9$U@8bmLYVFnwUFHJJVf<=bv^2lLyvS%K*z+g!mk s&vuA<@9p+re(!c$FnxBr1DF=r0Wm*thbNdncZV~We!K&sPI;#f09tfzng9R* delta 302 zcmaF=iRt|(Cf)#VW)=|!1_llW^$MMhyoVW?f%N9fjB*gh7pAEYMh}Y^6If~~+kPD| zBi%R?s@P<%K3JqUCC?Phcrx=fGnjE{u0BK!%lrut?b8>2V*^P|p0MI7n9f-F4XiYA zl?X&>#p)Rl&BE(HvVxVcZ?yx{9$U@8bmLYVFnwUFHJJVf<=bv^2lLyvS%K*z+g!mk s&vuA<@9p+re(!c$FnxBr1DF=r0Wm*thbNdncZV~We!K&sPI;#f09>$VZU6uP diff --git a/csv_parser/out/RC-EDA/RC-EDA.uml_diagram.pdf b/csv_parser/out/RC-EDA/RC-EDA.uml_diagram.pdf index 87215cb6cde1dddc49842e91606c26d46d8cbb3b..35281b2bef8117bfd1c46b65af662b193508c041 100644 GIT binary patch delta 24 fcmeA_%G7_9X@lcDP9p;|LjyxYBg4&J^ITZ~Za)X- delta 24 fcmeA_%G7_9X@lcDPD4W@LsJ7oLzB&3^ITZ~ZbAp? diff --git a/csv_parser/out/RS-EDA/RS-EDA.schema.docx b/csv_parser/out/RS-EDA/RS-EDA.schema.docx index 5df231ba0911509511269d7bd5ced47b83f21722..56bff3bb08f436bca5b3238a9e360eeeb161859b 100644 GIT binary patch delta 302 zcmdlvn|bGKX5IjAW)=|!1_lm>yg;{&yoVW?f%N9fjB*gh7pAEYMh}Y^6If~~8>b_f zvC%yfA|>lNS0600w<6CJ%+Oo+nilW*<03Z^&h{RURL zdY=eH>7o5IAev(je`EzK2|Q^BrYD^=1JkEZ+JI@UQ`TVG;}nG7e##xpzj(?DO!J*~ u1=C@tA@WmC+k^SnPuqfN@iPu!I_eC>{Mlzb!TjfEoWZp2S%|vavpxXVAaEA| delta 302 zcmdlvn|bGKX5IjAW)=|!1_llW?FyZZyoVW?f%N9fjB*gh7pAEYMh}Y^6If~~8>b_f zvC%yfA|>lNS0600w<6CJ%+Oo+nilW*<03Z^&h{RURL zdY=eH>7o5IAev(je`EzK2|Q^BrYD^=1JkEZ+JI@UQ`TVG;}nG7e##xpzj(?DO!J*~ u1=C@tA@WmC+k^SnPuqfN@iPu!I_eC>{Mlzb!TjfEoWZp2S%|vavpxXXTxjb6 diff --git a/csv_parser/out/RS-EDA/RS-EDA.uml_diagram.pdf b/csv_parser/out/RS-EDA/RS-EDA.uml_diagram.pdf index 1613edcedfbfd6f4181e84206338e9942c33d6f2..14b2cb4519c64f973d7dbe0bf4654e7a5ea3c7d6 100644 GIT binary patch delta 24 fcmeyU4K?r96 diff --git a/src/main/java/com/hubsante/model/common/Reference.java b/src/main/java/com/hubsante/model/common/Reference.java index 58821866d3..cdc9295961 100644 --- a/src/main/java/com/hubsante/model/common/Reference.java +++ b/src/main/java/com/hubsante/model/common/Reference.java @@ -41,35 +41,19 @@ /** * Reference */ -@JsonPropertyOrder({Reference.JSON_PROPERTY_DISTRIBUTION_I_D, Reference.JSON_PROPERTY_REFUSED, Reference.JSON_PROPERTY_INFO_DISTRIBUTION_I_D}) +@JsonPropertyOrder({Reference.JSON_PROPERTY_DISTRIBUTION_I_D}) @JsonInclude(JsonInclude.Include.NON_EMPTY) public class Reference { public static final String JSON_PROPERTY_DISTRIBUTION_I_D = "distributionID"; private String distributionID; - public static final String JSON_PROPERTY_REFUSED = "refused"; - private boolean refused; - public static final String JSON_PROPERTY_INFO_DISTRIBUTION_I_D = "infoDistributionID"; - private String infoDistributionID; public Reference() {} public Reference distributionID(String distributionID) { - this.distributionID = distributionID; - return this; - } - - public Reference refused(boolean refused) { - - this.refused = refused; - return this; - } - - public Reference infoDistributionID(String infoDistributionID) { - - this.infoDistributionID = infoDistributionID; - return this; + this.distributionID = distributionID; + return this; } /** @@ -89,30 +73,6 @@ public void setDistributionID(String distributionID) { this.distributionID = distributionID; } - @JsonProperty(JSON_PROPERTY_REFUSED) - @JsonInclude(value = JsonInclude.Include.NON_EMPTY) - public boolean isRefused() { - return refused; - } - - @JsonProperty(JSON_PROPERTY_REFUSED) - @JsonInclude(value = JsonInclude.Include.NON_EMPTY) - public void setRefused(boolean refused) { - this.refused = refused; - } - - @JsonProperty(JSON_PROPERTY_INFO_DISTRIBUTION_I_D) - @JsonInclude(value = JsonInclude.Include.NON_EMPTY) - public String getInfoDistributionID() { - return infoDistributionID; - } - - @JsonProperty(JSON_PROPERTY_INFO_DISTRIBUTION_I_D) - @JsonInclude(value = JsonInclude.Include.NON_EMPTY) - public void setInfoDistributionID(String infoDistributionID) { - this.infoDistributionID = infoDistributionID; - } - @Override public boolean equals(Object o) { if (this == o) { @@ -122,14 +82,12 @@ public boolean equals(Object o) { return false; } Reference reference = (Reference)o; - return Objects.equals(this.distributionID, reference.distributionID) && - (this.refused == reference.refused) && - Objects.equals(this.infoDistributionID, reference.infoDistributionID); + return Objects.equals(this.distributionID, reference.distributionID); } @Override public int hashCode() { - return Objects.hash(distributionID, refused, infoDistributionID); + return Objects.hash(distributionID); } @Override @@ -138,12 +96,6 @@ public String toString() { sb.append("class Reference {\n"); sb.append(" distributionID: ") .append(toIndentedString(distributionID)) - .append("\n") - .append(" refused: ") - .append(toIndentedString(refused)) - .append("\n") - .append(" infoDistributionID: ") - .append(toIndentedString(infoDistributionID)) .append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/resources/json-schema/EMSI.schema.json b/src/main/resources/json-schema/EMSI.schema.json index b87f999eaf..c11ca972bd 100644 --- a/src/main/resources/json-schema/EMSI.schema.json +++ b/src/main/resources/json-schema/EMSI.schema.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "classpath:/json-schema/schema#", "x-id": "EMSI.schema.json#", - "version": "24.01.12", + "version": "24.02.06", "example": "example.json#", "type": "object", "title": "emsi", diff --git a/src/main/resources/json-schema/RC-EDA.schema.json b/src/main/resources/json-schema/RC-EDA.schema.json index 6b6eee2dc8..602e30daec 100644 --- a/src/main/resources/json-schema/RC-EDA.schema.json +++ b/src/main/resources/json-schema/RC-EDA.schema.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "classpath:/json-schema/schema#", "x-id": "RC-EDA.schema.json#", - "version": "24.01.12", + "version": "24.02.06", "example": "example.json#", "type": "object", "title": "createCase", diff --git a/src/main/resources/json-schema/RS-EDA.schema.json b/src/main/resources/json-schema/RS-EDA.schema.json index 78af2c7b67..10a844e359 100644 --- a/src/main/resources/json-schema/RS-EDA.schema.json +++ b/src/main/resources/json-schema/RS-EDA.schema.json @@ -2,7 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "classpath:/json-schema/schema#", "x-id": "RS-EDA.schema.json#", - "version": "24.01.12", + "version": "24.02.06", "example": "example.json#", "type": "object", "title": "createCase", From 6acf6abbc50d9def577987c605febdc46904a987 Mon Sep 17 00:00:00 2001 From: "ssviridov.henix" Date: Tue, 6 Feb 2024 14:56:53 +0100 Subject: [PATCH 04/17] Add refused and infoDistributionID to RC-REF model and modify related classes --- .../com/hubsante/model/common/Reference.java | 58 +++++++++++++++++-- 1 file changed, 53 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/hubsante/model/common/Reference.java b/src/main/java/com/hubsante/model/common/Reference.java index cdc9295961..58821866d3 100644 --- a/src/main/java/com/hubsante/model/common/Reference.java +++ b/src/main/java/com/hubsante/model/common/Reference.java @@ -41,19 +41,35 @@ /** * Reference */ -@JsonPropertyOrder({Reference.JSON_PROPERTY_DISTRIBUTION_I_D}) +@JsonPropertyOrder({Reference.JSON_PROPERTY_DISTRIBUTION_I_D, Reference.JSON_PROPERTY_REFUSED, Reference.JSON_PROPERTY_INFO_DISTRIBUTION_I_D}) @JsonInclude(JsonInclude.Include.NON_EMPTY) public class Reference { public static final String JSON_PROPERTY_DISTRIBUTION_I_D = "distributionID"; private String distributionID; + public static final String JSON_PROPERTY_REFUSED = "refused"; + private boolean refused; + public static final String JSON_PROPERTY_INFO_DISTRIBUTION_I_D = "infoDistributionID"; + private String infoDistributionID; public Reference() {} public Reference distributionID(String distributionID) { - this.distributionID = distributionID; - return this; + this.distributionID = distributionID; + return this; + } + + public Reference refused(boolean refused) { + + this.refused = refused; + return this; + } + + public Reference infoDistributionID(String infoDistributionID) { + + this.infoDistributionID = infoDistributionID; + return this; } /** @@ -73,6 +89,30 @@ public void setDistributionID(String distributionID) { this.distributionID = distributionID; } + @JsonProperty(JSON_PROPERTY_REFUSED) + @JsonInclude(value = JsonInclude.Include.NON_EMPTY) + public boolean isRefused() { + return refused; + } + + @JsonProperty(JSON_PROPERTY_REFUSED) + @JsonInclude(value = JsonInclude.Include.NON_EMPTY) + public void setRefused(boolean refused) { + this.refused = refused; + } + + @JsonProperty(JSON_PROPERTY_INFO_DISTRIBUTION_I_D) + @JsonInclude(value = JsonInclude.Include.NON_EMPTY) + public String getInfoDistributionID() { + return infoDistributionID; + } + + @JsonProperty(JSON_PROPERTY_INFO_DISTRIBUTION_I_D) + @JsonInclude(value = JsonInclude.Include.NON_EMPTY) + public void setInfoDistributionID(String infoDistributionID) { + this.infoDistributionID = infoDistributionID; + } + @Override public boolean equals(Object o) { if (this == o) { @@ -82,12 +122,14 @@ public boolean equals(Object o) { return false; } Reference reference = (Reference)o; - return Objects.equals(this.distributionID, reference.distributionID); + return Objects.equals(this.distributionID, reference.distributionID) && + (this.refused == reference.refused) && + Objects.equals(this.infoDistributionID, reference.infoDistributionID); } @Override public int hashCode() { - return Objects.hash(distributionID); + return Objects.hash(distributionID, refused, infoDistributionID); } @Override @@ -96,6 +138,12 @@ public String toString() { sb.append("class Reference {\n"); sb.append(" distributionID: ") .append(toIndentedString(distributionID)) + .append("\n") + .append(" refused: ") + .append(toIndentedString(refused)) + .append("\n") + .append(" infoDistributionID: ") + .append(toIndentedString(infoDistributionID)) .append("\n"); sb.append("}"); return sb.toString(); From bd612f034265ec4dace1b6e2fbf482c95295d689 Mon Sep 17 00:00:00 2001 From: saveliy-sviridov Date: Tue, 6 Feb 2024 13:58:44 +0000 Subject: [PATCH 05/17] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Auto-g=C3=A9n=C3=A9r?= =?UTF-8?q?ation=20des=20classes=20et=20des=20specs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- csv_parser/out/EMSI/EMSI.schema.docx | Bin 48754 -> 48754 bytes csv_parser/out/EMSI/EMSI.uml_diagram.pdf | Bin 27047 -> 27047 bytes csv_parser/out/RC-EDA/RC-EDA.schema.docx | Bin 47471 -> 47471 bytes csv_parser/out/RC-EDA/RC-EDA.uml_diagram.pdf | Bin 41615 -> 41615 bytes csv_parser/out/RS-EDA/RS-EDA.schema.docx | Bin 52665 -> 52665 bytes csv_parser/out/RS-EDA/RS-EDA.uml_diagram.pdf | Bin 50300 -> 50300 bytes .../com/hubsante/model/common/Reference.java | 58 ++---------------- 7 files changed, 5 insertions(+), 53 deletions(-) diff --git a/csv_parser/out/EMSI/EMSI.schema.docx b/csv_parser/out/EMSI/EMSI.schema.docx index 7b7d6776f77681cb9fbd31baf208db08b90a7d01..ba19850aa8fe1b9464c839ff8642cb39935158aa 100644 GIT binary patch delta 267 zcmezLhw0NFCY}IqW)=|!1_llW^ZboGM;MvR^EY2&ln2wFnWlm1ZWeJSkoXd|!-gO_ z(;^Eje${fGK8RnMnQscBpUr#245F_rG62i7Etv?`H*?u{HlXumx0sy#>Vr&2a delta 267 zcmezLhw0NFCY}IqW)=|!1_lm>g20VDM;Mt30yke`ln2wFnWlm1ZWeJSkoXd|!-gO_ z(;^Eje${fGK8RnMnQscBpUr#245F_rG62i7Etv?`H*?u{HlXumx0swnBW&!{J diff --git a/csv_parser/out/EMSI/EMSI.uml_diagram.pdf b/csv_parser/out/EMSI/EMSI.uml_diagram.pdf index a4a3909d8e0be32deb1bf2165baf49c5c3468055..eb470795de762b7d7974aeaf3fc3b1943323486b 100644 GIT binary patch delta 20 ccmZ2}nQ{4L#tn?=tj4D1Cgz*j(ibuT08&B*;Q#;t delta 20 ccmZ2}nQ{4L#tn?=tOkaL#zvdj(ibuT08y(3&Hw-a diff --git a/csv_parser/out/RC-EDA/RC-EDA.schema.docx b/csv_parser/out/RC-EDA/RC-EDA.schema.docx index c19f0bf1869645219a3acfe1475e3196116b7f27..ae710cfa2d040a0190481567ec8093be13ef5a45 100644 GIT binary patch delta 268 zcmaF=iRt|(CY}IqW)=|!1_llWqx_9LM;Mum@;6^%ln2wFnWlm1ZWeJSkoXd|13Dl& z%{U99&SaiGh+mYFZwjIx&wRrSqA$)h0LwGap9t1BZQ*w|p!nqe71uyi`pWMhRSBy^ z!K%tv&jjldTK|a^B+a(f9z?lsH3v}*TWvwq{;f73>Mw+6v&{p#%zzzUAl{rEE+FdB4zLoXoxT8nPGPtJ delta 268 zcmaF=iRt|(CY}IqW)=|!1_lm>tiX*tM;Mv10yke`ln2wFnWlm1ZWeJSkoXd|13Dl& z%{U99&SaiGh+mYFZwjIx&wRrSqA$)h0LwGap9t1BZQ*w|p!nqe71uyi`pWMhRSBy^ z!K%tv&jjldTK|a^B+a(f9z?lsH3v}*TWvwq{;f73>Mw+6v&{p#%zzzUAl{rEE+FdB4zLoXoxT7wsAVhw diff --git a/csv_parser/out/RC-EDA/RC-EDA.uml_diagram.pdf b/csv_parser/out/RC-EDA/RC-EDA.uml_diagram.pdf index 35281b2bef8117bfd1c46b65af662b193508c041..42f852cd46ffc7ea36be7f0004cdc13135b08549 100644 GIT binary patch delta 20 bcmeA_%G7_9X@l!LR%26hW7ExE^ITZ~Q}qWh delta 20 bcmeA_%G7_9X@l!LRs%yrBg4&J^ITZ~Q)CAo diff --git a/csv_parser/out/RS-EDA/RS-EDA.schema.docx b/csv_parser/out/RS-EDA/RS-EDA.schema.docx index 56bff3bb08f436bca5b3238a9e360eeeb161859b..c9394145ec9acd6fb50091ed43bfbd14c8181edd 100644 GIT binary patch delta 268 zcmdlvn|bGKW}X0VW)=|!1_llW)BKG*M;Mt*^EY2&ln2wFnWlm1ZWeJSkoXcdE=Lf( z!95EsF5@{*AH?5Nk#7p3b=SRN2GP=+48ZcfnenE9USgR*-bSNqZ1A@uWG3I(5<(L~)+70a5O!z`V9o9w6R@Q`R7g_p}>` t3Ox;$n{wI##JhId4n&Ea0l9c`yugh-M;Mv%0yke`ln2wFnWlm1ZWeJSkoXcdE=Lf( z!95EsF5@{*AH?5Nk#7p3b=SRN2GP=+48ZcfnenE9USgR*-bSNqZ1A@uWG3I(5<(L~)+70a5O!z`V9o9w6R@Q`R7g_p}>` t3Ox;$n{wI##JhId4n&Ea0l9c` Date: Tue, 6 Feb 2024 15:21:41 +0100 Subject: [PATCH 06/17] Updated common.openapi.yaml with new reference properties --- generator/input/common.openapi.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/generator/input/common.openapi.yaml b/generator/input/common.openapi.yaml index dbbfbffd29..ec11ac4de2 100644 --- a/generator/input/common.openapi.yaml +++ b/generator/input/common.openapi.yaml @@ -70,5 +70,9 @@ components: properties: distributionID: type: string + infoDistributionID: + type: string + refused: + type: boolean required: - distributionID \ No newline at end of file From 23c28174171a642d5bf0519b8bd3792131bfb4c2 Mon Sep 17 00:00:00 2001 From: saveliy-sviridov Date: Tue, 6 Feb 2024 14:24:13 +0000 Subject: [PATCH 07/17] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Auto-g=C3=A9n=C3=A9r?= =?UTF-8?q?ation=20des=20classes=20et=20des=20specs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- csv_parser/out/EMSI/EMSI.schema.docx | Bin 48754 -> 48754 bytes csv_parser/out/EMSI/EMSI.uml_diagram.pdf | Bin 27047 -> 27047 bytes csv_parser/out/RC-EDA/RC-EDA.schema.docx | Bin 47471 -> 47471 bytes csv_parser/out/RC-EDA/RC-EDA.uml_diagram.pdf | Bin 41615 -> 41615 bytes csv_parser/out/RS-EDA/RS-EDA.schema.docx | Bin 52665 -> 52665 bytes csv_parser/out/RS-EDA/RS-EDA.uml_diagram.pdf | Bin 50300 -> 50300 bytes .../com/hubsante/model/common/Reference.java | 67 +++++++++++++++++- 7 files changed, 64 insertions(+), 3 deletions(-) diff --git a/csv_parser/out/EMSI/EMSI.schema.docx b/csv_parser/out/EMSI/EMSI.schema.docx index ba19850aa8fe1b9464c839ff8642cb39935158aa..c209a9d30360daa1cbcf8d80e46295180efaee13 100644 GIT binary patch delta 267 zcmezLhw0NFCY}IqW)=|!1_lm>2SposjxaJkDB669Q65ZxW|{`3yII7UK;lc-4jY2# zOp7eA_*Kh!`XGL3X1*ziem3t7Gl;&j$N((Qwqzn$-^^v-*?{7cC#}5(qO#U~2dPS4 zFA7#wwP7Y$m*|#HtRQL5UG^Z#YnM5QYTjiFq7Ln{0aBB8gE{uQJwRfeyRAXgvE6PU tif<2C&UcRkh}XZz4n&>b;|QXJ_JWNJ-s=V8&EM++qMq&rD^cC&3jo!Jc|-sJ delta 267 zcmezLhw0NFCY}IqW)=|!1_llW^ZboGM;MvR^EY2&ln2wFnWlm1ZWeJSkoXd|!-gO_ z(;^Eje${fGK8RnMnQscBpUr#245F_rG62i7Etv?`H*?u{HlXumx0sy#>Vr&2a diff --git a/csv_parser/out/EMSI/EMSI.uml_diagram.pdf b/csv_parser/out/EMSI/EMSI.uml_diagram.pdf index eb470795de762b7d7974aeaf3fc3b1943323486b..b66bb4f9626dcbcb1ba1658da4b6665920d0f984 100644 GIT binary patch delta 20 ccmZ2}nQ{4L#tn?=tR_ar1_qni(ibuT08z^Z&;S4c delta 20 ccmZ2}nQ{4L#tn?=tj4D1Cgz*j(ibuT08&B*;Q#;t diff --git a/csv_parser/out/RC-EDA/RC-EDA.schema.docx b/csv_parser/out/RC-EDA/RC-EDA.schema.docx index ae710cfa2d040a0190481567ec8093be13ef5a45..1d5bd6af9183eb75fbc53abfdfff788fbc87c37d 100644 GIT binary patch delta 268 zcmaF=iRt|(CY}IqW)=|!1_lm>8$}y=jxaLaDB669Q65ZxW|{`3yII7UK;lc-4(NdB zG~+CYI+J<&AbwFwzA1=)Jo61Rh`u=204&cueMw+6v&{p#%zzzUAl{rEE+FdB4zLoXoxT8nPGPtJ diff --git a/csv_parser/out/RC-EDA/RC-EDA.uml_diagram.pdf b/csv_parser/out/RC-EDA/RC-EDA.uml_diagram.pdf index 42f852cd46ffc7ea36be7f0004cdc13135b08549..3857578d2c41ccdbae21e45322d57dc2a64ccac0 100644 GIT binary patch delta 20 bcmeA_%G7_9X@l!LRudy56N}AW^ITZ~Q`HA8 delta 20 bcmeA_%G7_9X@l!LR%26hW7ExE^ITZ~Q}qWh diff --git a/csv_parser/out/RS-EDA/RS-EDA.schema.docx b/csv_parser/out/RS-EDA/RS-EDA.schema.docx index c9394145ec9acd6fb50091ed43bfbd14c8181edd..b93500ed755c81053602f21d6df9d675bc0ebc09 100644 GIT binary patch delta 268 zcmdlvn|bGKW}X0VW)=|!1_lm>J4G9LjxaLaDcXFAQ65ZxW|{`3yII7UK;lc-xEw+B z2KOwmxQypKeGq?7MZPJB)?N388AMBOG62i_Zk`C%_h9RHHlXeNYF5XE`Q21L1^0`uBVd4PBqPFaH}-qUU% uD)cm1Zpvu~5bxS)I}jyy2IS(&k!QeW&N|}-;ypX#0-|)zf|cZ)^#uR|fqAC@ delta 268 zcmdlvn|bGKW}X0VW)=|!1_llW)BKG*M;Mt*^EY2&ln2wFnWlm1ZWeJSkoXcdE=Lf( z!95EsF5@{*AH?5Nk#7p3b=SRN2GP=+48ZcfnenE9USgR*-bSNqZ1A@uWG3I(5<(L~)+70a5O!z`V9o9w6R@Q`R7g_p}>` t3Ox;$n{wI##JhId4n&Ea0l9c` Date: Tue, 6 Feb 2024 15:26:56 +0100 Subject: [PATCH 08/17] Fix erroneous Reference.refused getter call --- .../com/hubsante/model/builders/ReferenceWrapperBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java b/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java index 57887e9173..ddda7ffaef 100644 --- a/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java +++ b/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java @@ -40,7 +40,7 @@ public ReferenceWrapper build() { referenceMessage.setKind(distributionElement.getKind()); referenceMessage.setStatus(distributionElement.getStatus()); referenceMessage.setRecipient(distributionElement.getRecipient()); - if(reference.isRefused() && reference.getInfoDistributionID() == null) { + if(reference.getRefused() && reference.getInfoDistributionID() == null) { throw new IllegalArgumentException("ReferenceWrapper must have infoDistributionID if refused is true"); } referenceMessage.setReference(reference); From e7647f8b1870dc7ccea019df5c724b2bb7bc8e9f Mon Sep 17 00:00:00 2001 From: saveliy-sviridov Date: Tue, 6 Feb 2024 14:29:00 +0000 Subject: [PATCH 09/17] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Auto-g=C3=A9n=C3=A9r?= =?UTF-8?q?ation=20des=20classes=20et=20des=20specs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- csv_parser/out/EMSI/EMSI.schema.docx | Bin 48754 -> 48754 bytes csv_parser/out/EMSI/EMSI.uml_diagram.pdf | Bin 27047 -> 27047 bytes csv_parser/out/RC-EDA/RC-EDA.schema.docx | Bin 47471 -> 47471 bytes csv_parser/out/RC-EDA/RC-EDA.uml_diagram.pdf | Bin 41615 -> 41615 bytes csv_parser/out/RS-EDA/RS-EDA.schema.docx | Bin 52665 -> 52665 bytes csv_parser/out/RS-EDA/RS-EDA.uml_diagram.pdf | Bin 50300 -> 50300 bytes 6 files changed, 0 insertions(+), 0 deletions(-) diff --git a/csv_parser/out/EMSI/EMSI.schema.docx b/csv_parser/out/EMSI/EMSI.schema.docx index c209a9d30360daa1cbcf8d80e46295180efaee13..4bea0e1325ddfc587bf606691e4dc7357dbf2f6c 100644 GIT binary patch delta 267 zcmezLhw0NFCY}IqW)=|!1_lm>hT@GpM;MtJiZ@?kln2wFnWlm1ZWeJSkoXd|!-gO_ z(;^Eje${fGK8RnMnQscBpUr#245F_rG62i7Etv?`H*?u{HlXumx0syhqY^DGJ delta 267 zcmezLhw0NFCY}IqW)=|!1_lm>2SposjxaJkDB669Q65ZxW|{`3yII7UK;lc-4jY2# zOp7eA_*Kh!`XGL3X1*ziem3t7Gl;&j$N((Qwqzn$-^^v-*?{7cC#}5(qO#U~2dPS4 zFA7#wwP7Y$m*|#HtRQL5UG^Z#YnM5QYTjiFq7Ln{0aBB8gE{uQJwRfeyRAXgvE6PU tif<2C&UcRkh}XZz4n&>b;|QXJ_JWNJ-s=V8&EM++qMq&rD^cC&3jo!Jc|-sJ diff --git a/csv_parser/out/EMSI/EMSI.uml_diagram.pdf b/csv_parser/out/EMSI/EMSI.uml_diagram.pdf index b66bb4f9626dcbcb1ba1658da4b6665920d0f984..efa47c433a67994ee10dd2d388a7e2f440f2107d 100644 GIT binary patch delta 16 YcmZ2}nQ{4L#tqErj24?&(ibxU06Oai4FCWD delta 16 YcmZ2}nQ{4L#tqErjK-T;(ibxU06NVE2mk;8 diff --git a/csv_parser/out/RC-EDA/RC-EDA.schema.docx b/csv_parser/out/RC-EDA/RC-EDA.schema.docx index 1d5bd6af9183eb75fbc53abfdfff788fbc87c37d..d46edd5785b516af485cad2d94ab59e2326433e7 100644 GIT binary patch delta 268 zcmaF=iRt|(CY}IqW)=|!1_lm>isFqtM;MtZiZ@?kln2wFnWlm1ZWeJSkoXd|13Dl& z%{U99&SaiGh+mYFZwjIx&wRrSqA$)h0LwGap9t1BZQ*w|p!nqe71uyi`pWMhRSBy^ z!K%tv&jjldTK|a^B+a(f9z?lsH3v}*TWvwq{;f73>Mw+6v&{p#%zzzUAl{rEE+FdB4zLoXoxT7~QEQ9< delta 268 zcmaF=iRt|(CY}IqW)=|!1_lm>8$}y=jxaLaDB669Q65ZxW|{`3yII7UK;lc-4(NdB zG~+CYI+J<&AbwFwzA1=)Jo61Rh`u=204&cuen&OQ-M;MuEiZ@?kln2wFnWlm1ZWeJSkoXcdE=Lf( z!95EsF5@{*AH?5Nk#7p3b=SRN2GP=+48ZcfnenE9USgR*-bSNqZ1A@uWG3I(5<(L~)+70a5O!z`V9o9w6R@Q`R7g_p}>` t3Ox;$n{wI##JhId4n&Ea0l9c`J4G9LjxaLaDcXFAQ65ZxW|{`3yII7UK;lc-xEw+B z2KOwmxQypKeGq?7MZPJB)?N388AMBOG62i_Zk`C%_h9RHHlXeNYF5XE`Q21L1^0`uBVd4PBqPFaH}-qUU% uD)cm1Zpvu~5bxS)I}jyy2IS(&k!QeW&N|}-;ypX#0-|)zf|cZ)^#uR|fqAC@ diff --git a/csv_parser/out/RS-EDA/RS-EDA.uml_diagram.pdf b/csv_parser/out/RS-EDA/RS-EDA.uml_diagram.pdf index d57bedd07dd95254cb95530b04a0915d878144b8..0725f2963ffca8056a22b5d1a9fec7d503d69820 100644 GIT binary patch delta 16 Xcmey Date: Tue, 6 Feb 2024 15:34:43 +0100 Subject: [PATCH 10/17] Fix referenceWrapper test --- .../hubsante/model/builders/ReferenceWrapperBuilderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/hubsante/model/builders/ReferenceWrapperBuilderTest.java b/src/test/java/com/hubsante/model/builders/ReferenceWrapperBuilderTest.java index 1ba4a03081..a95004c20c 100644 --- a/src/test/java/com/hubsante/model/builders/ReferenceWrapperBuilderTest.java +++ b/src/test/java/com/hubsante/model/builders/ReferenceWrapperBuilderTest.java @@ -71,6 +71,6 @@ public void shouldNotBuildRC_REFWithInvalidKind() { .kind(DistributionElement.KindEnum.REPORT) .build(); - assertThrows(IllegalArgumentException.class, () -> new ReferenceWrapperBuilder(distributionElement, "id-67890")); + assertThrows(IllegalArgumentException.class, () -> new ReferenceWrapperBuilder(distributionElement, "id-67890").build()); } } From 33ef0cabd1b2f712444ff5a9df1b71459143da70 Mon Sep 17 00:00:00 2001 From: saveliy-sviridov Date: Tue, 6 Feb 2024 14:37:48 +0000 Subject: [PATCH 11/17] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Auto-g=C3=A9n=C3=A9r?= =?UTF-8?q?ation=20des=20classes=20et=20des=20specs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- csv_parser/out/EMSI/EMSI.schema.docx | Bin 48754 -> 48754 bytes csv_parser/out/EMSI/EMSI.uml_diagram.pdf | Bin 27047 -> 27047 bytes csv_parser/out/RC-EDA/RC-EDA.schema.docx | Bin 47471 -> 47471 bytes csv_parser/out/RC-EDA/RC-EDA.uml_diagram.pdf | Bin 41615 -> 41615 bytes csv_parser/out/RS-EDA/RS-EDA.schema.docx | Bin 52665 -> 52665 bytes csv_parser/out/RS-EDA/RS-EDA.uml_diagram.pdf | Bin 50300 -> 50300 bytes 6 files changed, 0 insertions(+), 0 deletions(-) diff --git a/csv_parser/out/EMSI/EMSI.schema.docx b/csv_parser/out/EMSI/EMSI.schema.docx index 4bea0e1325ddfc587bf606691e4dc7357dbf2f6c..8617a16f356e66de9a6025cfe6d3e951a273accb 100644 GIT binary patch delta 267 zcmezLhw0NFCY}IqW)=|!1_lm>NhKS3jxaJ!D%pIAQ65ZxW|{`3yII7UK;lc-4jY2# zOp7eA_*Kh!`XGL3X1*ziem3t7Gl;&j$N((Qwqzn$-^^v-*?{7cC#}5(qO#U~2dPS4 zFA7#wwP7Y$m*|#HtRQL5UG^Z#YnM5QYTjiFq7Ln{0aBB8gE{uQJwRfeyRAXgvE6PU tif<2C&UcRkh}XZz4n&>b;|QXJ_JWNJ-s=V8&EM++qMq&rD^cC&3jpi@Z!7=+ delta 267 zcmezLhw0NFCY}IqW)=|!1_lm>hT@GpM;MtJiZ@?kln2wFnWlm1ZWeJSkoXd|!-gO_ z(;^Eje${fGK8RnMnQscBpUr#245F_rG62i7Etv?`H*?u{HlXumx0syhqY^DGJ diff --git a/csv_parser/out/EMSI/EMSI.uml_diagram.pdf b/csv_parser/out/EMSI/EMSI.uml_diagram.pdf index efa47c433a67994ee10dd2d388a7e2f440f2107d..bc4a692d44ccc9257672778daf247f2b2b2d3416 100644 GIT binary patch delta 19 bcmZ2}nQ{4L#tlsAEXHQWW}Dg47cv0=ObZ67 delta 19 bcmZ2}nQ{4L#tlsAEJhXv2AkQ^7cv0=OW6jY diff --git a/csv_parser/out/RC-EDA/RC-EDA.schema.docx b/csv_parser/out/RC-EDA/RC-EDA.schema.docx index d46edd5785b516af485cad2d94ab59e2326433e7..5566cfb5595507d9d269982118e9475b21ca1afd 100644 GIT binary patch delta 268 zcmaF=iRt|(CY}IqW)=|!1_lm>o|26`M;MuUN;Y3&ln2wFnWlm1ZWeJSkoXd|13Dl& z%{U99&SaiGh+mYFZwjIx&wRrSqA$)h0LwGap9t1BZQ*w|p!nqe71uyi`pWMhRSBy^ z!K%tv&jjldTK|a^B+a(f9z?lsH3v}*TWvwq{;f73>Mw+6v&{p#%zzzUAl{rEE+FdB4zLoXoxT97UT#(Z delta 268 zcmaF=iRt|(CY}IqW)=|!1_lm>isFqtM;MtZiZ@?kln2wFnWlm1ZWeJSkoXd|13Dl& z%{U99&SaiGh+mYFZwjIx&wRrSqA$)h0LwGap9t1BZQ*w|p!nqe71uyi`pWMhRSBy^ z!K%tv&jjldTK|a^B+a(f9z?lsH3v}*TWvwq{;f73>Mw+6v&{p#%zzzUAl{rEE+FdB4zLoXoxT7~QEQ9< diff --git a/csv_parser/out/RC-EDA/RC-EDA.uml_diagram.pdf b/csv_parser/out/RC-EDA/RC-EDA.uml_diagram.pdf index 9927fbe895abf407112bdd5ca7a87488165d5586..f1e96064bed6d14bbefe9a632767088fdee8a937 100644 GIT binary patch delta 19 acmeA_%G7_9X@lE57GpCblg(c9Tv-53jRyDt delta 19 acmeA_%G7_9X@lE579(>Li_Kp1Tv-53vIhPD diff --git a/csv_parser/out/RS-EDA/RS-EDA.schema.docx b/csv_parser/out/RS-EDA/RS-EDA.schema.docx index b1783b395b5e0d8b4634c5c69555698a8f9696a2..9d0c4bda417554cdbc08819cb170e89de1be0abf 100644 GIT binary patch delta 268 zcmdlvn|bGKW}X0VW)=|!1_lm>2_+kOjxaJ!DA|08Q65ZxW|{`3yII7UK;lc-xEw+B z2KOwmxQypKeGq?7MZPJB)?N388AMBOG62i_Zk`C%_h9RHHlXeNYF5XE`Q21L1^0`uBVd4PBqPFaH}-qUU% uD)cm1Zpvu~5bxS)I}jyy2IS(&k!QeW&N|}-;ypX#0-|)zf|cZ)^#uSkvTxG> delta 268 zcmdlvn|bGKW}X0VW)=|!1_lm>n&OQ-M;MuEiZ@?kln2wFnWlm1ZWeJSkoXcdE=Lf( z!95EsF5@{*AH?5Nk#7p3b=SRN2GP=+48ZcfnenE9USgR*-bSNqZ1A@uWG3I(5<(L~)+70a5O!z`V9o9w6R@Q`R7g_p}>` t3Ox;$n{wI##JhId4n&Ea0l9c` Date: Fri, 16 Feb 2024 13:50:13 +0100 Subject: [PATCH 12/17] feat/builders: modify reference builder and swap property order in common.openapi --- generator/input/common.openapi.yaml | 4 ++-- .../builders/ReferenceWrapperBuilder.java | 19 ++++++++++++++++--- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/generator/input/common.openapi.yaml b/generator/input/common.openapi.yaml index ec11ac4de2..7145306621 100644 --- a/generator/input/common.openapi.yaml +++ b/generator/input/common.openapi.yaml @@ -70,9 +70,9 @@ components: properties: distributionID: type: string - infoDistributionID: - type: string refused: type: boolean + infoDistributionID: + type: string required: - distributionID \ No newline at end of file diff --git a/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java b/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java index ddda7ffaef..d96fac2566 100644 --- a/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java +++ b/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java @@ -26,7 +26,17 @@ public class ReferenceWrapperBuilder { public ReferenceWrapperBuilder(DistributionElement distributionElement, String referencedDistributionId) { this.distributionElement = distributionElement; - this.reference = new Reference().distributionID(referencedDistributionId).infoDistributionID(null).refused(false); + this.reference = new Reference().distributionID(referencedDistributionId); + } + + public ReferenceWrapperBuilder refused(boolean refused) { + reference.setRefused(refused); + return this; + } + + public ReferenceWrapperBuilder infoDistributionID(String infoDistributionID) { + reference.setInfoDistributionID(infoDistributionID); + return this; } public ReferenceWrapper build() { @@ -40,9 +50,12 @@ public ReferenceWrapper build() { referenceMessage.setKind(distributionElement.getKind()); referenceMessage.setStatus(distributionElement.getStatus()); referenceMessage.setRecipient(distributionElement.getRecipient()); - if(reference.getRefused() && reference.getInfoDistributionID() == null) { - throw new IllegalArgumentException("ReferenceWrapper must have infoDistributionID if refused is true"); + // Check if reference.refused is not null and set to true, if it is check if reference.infoDistributionID + // is set, otherwise throw an IllegalArgumentException + if (reference.getRefused() != null && reference.getRefused() && reference.getInfoDistributionID() == null) { + throw new IllegalArgumentException("ReferenceWrapper must have infoDistributionID set when refused is true"); } + referenceMessage.setReference(reference); return referenceMessage; } From 283946b6a4ed89c32a3baaa6bb5e8eecdce21245 Mon Sep 17 00:00:00 2001 From: "ssviridov.henix" Date: Fri, 23 Feb 2024 17:07:19 +0100 Subject: [PATCH 13/17] feat/schema: update order of properties in rc-ref schema --- src/main/resources/json-schema/RC-REF.schema.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/resources/json-schema/RC-REF.schema.json b/src/main/resources/json-schema/RC-REF.schema.json index ca08514730..907122e9cf 100644 --- a/src/main/resources/json-schema/RC-REF.schema.json +++ b/src/main/resources/json-schema/RC-REF.schema.json @@ -22,6 +22,13 @@ "distributionID" ], "properties": { + "distributionID": { + "type": "string", + "title": "Identifiant du message référencé", + "x-cols": 6, + "example": "example.json#/caseId", + "description": "Identifiant unique du message référencé" + }, "refused": { "type": "boolean", "title": "Message refusé", @@ -35,13 +42,6 @@ "x-cols": 6, "example": "example.json#/caseId", "description": "Identifiant unique du message d'erreur référencé" - }, - "distributionID": { - "type": "string", - "title": "Identifiant du message référencé", - "x-cols": 6, - "example": "example.json#/caseId", - "description": "Identifiant unique du message référencé" } } } From 6d7952a0fe9745c463e665cbc04fdd38e3ad8b04 Mon Sep 17 00:00:00 2001 From: Romain Fouilland <32517197+romainfd@users.noreply.github.com> Date: Fri, 1 Mar 2024 21:07:23 +0100 Subject: [PATCH 14/17] fix/builder: adding this --- .../hubsante/model/builders/ReferenceWrapperBuilder.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java b/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java index d96fac2566..eedf97ea8b 100644 --- a/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java +++ b/src/main/java/com/hubsante/model/builders/ReferenceWrapperBuilder.java @@ -30,12 +30,12 @@ public ReferenceWrapperBuilder(DistributionElement distributionElement, String r } public ReferenceWrapperBuilder refused(boolean refused) { - reference.setRefused(refused); + this.reference.setRefused(refused); return this; } public ReferenceWrapperBuilder infoDistributionID(String infoDistributionID) { - reference.setInfoDistributionID(infoDistributionID); + this.reference.setInfoDistributionID(infoDistributionID); return this; } @@ -52,7 +52,7 @@ public ReferenceWrapper build() { referenceMessage.setRecipient(distributionElement.getRecipient()); // Check if reference.refused is not null and set to true, if it is check if reference.infoDistributionID // is set, otherwise throw an IllegalArgumentException - if (reference.getRefused() != null && reference.getRefused() && reference.getInfoDistributionID() == null) { + if (this.reference.getRefused() != null && this.reference.getRefused() && this.reference.getInfoDistributionID() == null) { throw new IllegalArgumentException("ReferenceWrapper must have infoDistributionID set when refused is true"); } From 47bf49e9e7735b15255afc4bdc3f6a8d39cbf955 Mon Sep 17 00:00:00 2001 From: Romain Fouilland Date: Fri, 1 Mar 2024 21:49:43 +0100 Subject: [PATCH 15/17] fix: fixing github action for XSD --- .github/workflows/generate-model.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/generate-model.yaml b/.github/workflows/generate-model.yaml index 1b7eec0ee7..13d047a8a0 100644 --- a/.github/workflows/generate-model.yaml +++ b/.github/workflows/generate-model.yaml @@ -31,10 +31,12 @@ jobs: - '**.csv' - name: Install Graphviz + if: steps.filter.outputs.parsing_required == 'true' uses: ts-graphviz/setup-graphviz@v1 - name: Install python requirements working-directory: ./csv_parser + if: steps.filter.outputs.parsing_required == 'true' run: pip install -r ./requirements.txt - name: Run csv_parser and collect OpenAPI & JSON Schemas @@ -44,21 +46,25 @@ jobs: - name: Install JDK 11 uses: actions/setup-java@v4 + if: steps.filter.outputs.parsing_required == 'true' with: java-version: '11' distribution: 'temurin' - name: Generate XSDs working-directory: ./csv_parser/json_schema2xsd + if: steps.filter.outputs.parsing_required == 'true' run: gradle run - name: Move XSDs to src working-directory: ./csv_parser/json_schema2xsd + if: steps.filter.outputs.parsing_required == 'true' run: | mv out/*.xsd ../../src/main/resources/xsd/ - name: Remove input JSON Schemas working-directory: ./csv_parser/json_schema2xsd + if: steps.filter.outputs.parsing_required == 'true' run: | rm src/main/resources/*.json From 61a6078302e9fa2fc87ed42fac228791e1b86b89 Mon Sep 17 00:00:00 2001 From: romainfd Date: Fri, 1 Mar 2024 20:51:18 +0000 Subject: [PATCH 16/17] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20Auto-g=C3=A9n=C3=A9r?= =?UTF-8?q?ation=20des=20classes=20et=20des=20specs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hubsante/model/common/Reference.java | 58 +++++++++---------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/src/main/java/com/hubsante/model/common/Reference.java b/src/main/java/com/hubsante/model/common/Reference.java index 4ebe68357d..193787ca8f 100644 --- a/src/main/java/com/hubsante/model/common/Reference.java +++ b/src/main/java/com/hubsante/model/common/Reference.java @@ -42,8 +42,8 @@ * Reference */ @JsonPropertyOrder({Reference.JSON_PROPERTY_DISTRIBUTION_I_D, - Reference.JSON_PROPERTY_INFO_DISTRIBUTION_I_D, - Reference.JSON_PROPERTY_REFUSED}) + Reference.JSON_PROPERTY_REFUSED, + Reference.JSON_PROPERTY_INFO_DISTRIBUTION_I_D}) @JsonInclude(JsonInclude.Include.NON_EMPTY) public class Reference { @@ -52,13 +52,13 @@ public class Reference { public static final String JSON_PROPERTY_DISTRIBUTION_I_D = "distributionID"; private String distributionID; + public static final String JSON_PROPERTY_REFUSED = "refused"; + private Boolean refused; + public static final String JSON_PROPERTY_INFO_DISTRIBUTION_I_D = "infoDistributionID"; private String infoDistributionID; - public static final String JSON_PROPERTY_REFUSED = "refused"; - private Boolean refused; - public Reference() {} public Reference distributionID(String distributionID) { @@ -84,50 +84,50 @@ public void setDistributionID(String distributionID) { this.distributionID = distributionID; } - public Reference infoDistributionID(String infoDistributionID) { + public Reference refused(Boolean refused) { - this.infoDistributionID = infoDistributionID; + this.refused = refused; return this; } /** - * Get infoDistributionID - * @return infoDistributionID + * Get refused + * @return refused **/ - @JsonProperty(JSON_PROPERTY_INFO_DISTRIBUTION_I_D) + @JsonProperty(JSON_PROPERTY_REFUSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public String getInfoDistributionID() { - return infoDistributionID; + public Boolean getRefused() { + return refused; } - @JsonProperty(JSON_PROPERTY_INFO_DISTRIBUTION_I_D) + @JsonProperty(JSON_PROPERTY_REFUSED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setInfoDistributionID(String infoDistributionID) { - this.infoDistributionID = infoDistributionID; + public void setRefused(Boolean refused) { + this.refused = refused; } - public Reference refused(Boolean refused) { + public Reference infoDistributionID(String infoDistributionID) { - this.refused = refused; + this.infoDistributionID = infoDistributionID; return this; } /** - * Get refused - * @return refused + * Get infoDistributionID + * @return infoDistributionID **/ - @JsonProperty(JSON_PROPERTY_REFUSED) + @JsonProperty(JSON_PROPERTY_INFO_DISTRIBUTION_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public Boolean getRefused() { - return refused; + public String getInfoDistributionID() { + return infoDistributionID; } - @JsonProperty(JSON_PROPERTY_REFUSED) + @JsonProperty(JSON_PROPERTY_INFO_DISTRIBUTION_I_D) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public void setRefused(Boolean refused) { - this.refused = refused; + public void setInfoDistributionID(String infoDistributionID) { + this.infoDistributionID = infoDistributionID; } @Override @@ -140,13 +140,13 @@ public boolean equals(Object o) { } Reference reference = (Reference)o; return Objects.equals(this.distributionID, reference.distributionID) && - Objects.equals(this.infoDistributionID, reference.infoDistributionID) && - Objects.equals(this.refused, reference.refused); + Objects.equals(this.refused, reference.refused) && + Objects.equals(this.infoDistributionID, reference.infoDistributionID); } @Override public int hashCode() { - return Objects.hash(distributionID, infoDistributionID, refused); + return Objects.hash(distributionID, refused, infoDistributionID); } @Override @@ -156,10 +156,10 @@ public String toString() { sb.append(" distributionID: ") .append(toIndentedString(distributionID)) .append("\n"); + sb.append(" refused: ").append(toIndentedString(refused)).append("\n"); sb.append(" infoDistributionID: ") .append(toIndentedString(infoDistributionID)) .append("\n"); - sb.append(" refused: ").append(toIndentedString(refused)).append("\n"); sb.append("}"); return sb.toString(); } From e0e68f7414e951ce8f04abcbbdb15e606427234d Mon Sep 17 00:00:00 2001 From: Romain Fouilland Date: Fri, 1 Mar 2024 21:53:47 +0100 Subject: [PATCH 17/17] chore: removing old files --- csv_parser/out/EMSI/EMSI.openapi.yaml | 2681 ---------------------- csv_parser/out/EMSI/EMSI.schema.json | 2441 -------------------- csv_parser/out/RS-EDA/RS-EDA.schema.json | 2221 ------------------ 3 files changed, 7343 deletions(-) delete mode 100644 csv_parser/out/EMSI/EMSI.openapi.yaml delete mode 100644 csv_parser/out/EMSI/EMSI.schema.json delete mode 100644 csv_parser/out/RS-EDA/RS-EDA.schema.json diff --git a/csv_parser/out/EMSI/EMSI.openapi.yaml b/csv_parser/out/EMSI/EMSI.openapi.yaml deleted file mode 100644 index 17373d8d37..0000000000 --- a/csv_parser/out/EMSI/EMSI.openapi.yaml +++ /dev/null @@ -1,2681 +0,0 @@ -openapi: 3.0.0 -components: - schemas: - emsiWrapper: - $id: classpath:/json-schema/schema# - x-id: EMSI.schema.json# - example: example.json# - type: object - title: emsi - required: - - emsi - properties: - emsi: - $ref: '#/components/schemas/emsi' - emsi: - type: object - title: Objet emsi - x-display: expansion-panels - x-health-only: false - required: - - CONTEXT - - EVENT - properties: - CONTEXT: - $ref: '#/components/schemas/context' - EVENT: - $ref: '#/components/schemas/event' - MISSION: - type: array - items: - $ref: '#/components/schemas/mission' - RESOURCE: - type: array - items: - $ref: '#/components/schemas/resource' - additionalProperties: false - example: example.json#/emsi - context: - type: object - title: Contexte - x-display: expansion-panels - x-health-only: false - required: - - ID - - MODE - - MSGTYPE - properties: - ID: - type: string - title: Identifiant du message - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/ID - description: "A constituer par le r\xE9dacteur du pr\xE9sent EMSI pour \xEA\ - tre unique, il est pr\xE9conis\xE9 de reprendre la valeur du champ messageId\ - \ de l'ent\xEAte RC-DE." - examples: - - d350c9d2-9d76-4568-b0b7-a747ffadc949 - MODE: - type: string - title: Mode - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/MODE - description: "Valeur constante dans le cadre des \xE9changes LRM-NexSIS\ - \ : ACTUAL" - enum: - - ACTUAL - - EXERCS - - SYSTEM - - TEST - examples: - - ACTUAL - MSGTYPE: - type: string - title: Type de message - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/MSGTYPE - description: "- A valoriser avec la valeur \"ALERT\" lors du premier \xE9\ - change entre syst\xE8mes.\n- A valoriser avec la valeur constante \"UPDATE\"\ - \ ensuite.\nPeut ne pas \xEAtre interpr\xE9t\xE9 par les LRM." - enum: - - ACK - - ALERT - - CANCEL - - ERROR - - UPDATE - examples: - - UPDATE - CREATION: - type: string - title: "Date et heure de cr\xE9ation" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/CREATION - description: "Obligatoire dans le cadre d'une demande de concours, contient\ - \ la date de cr\xE9ation de la demande de concours dans le syst\xE8me\ - \ du partenaire requ\xE9rant.\nA valoriser avec le m\xEAme horaire que\ - \ dateTimeSent dans le message RC-DE associ\xE9.\nDans le cadre d'une\ - \ demande de concours, obligatoire. Ce champ est valoris\xE9e avec l'heure\ - \ de cr\xE9ation de la demande de concours chez le partenaire emetteur.\ - \ L'heure d'envoi du message peut \xEAtre obtenue via l'enveloppe EDXL-DE\ - \ (se r\xE9f\xE9rer au DST)" - pattern: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[\-+]\d{2}:\d{2} - format: date-time - examples: - - '2022-09-27T08:25:54+02:00' - LINK: - type: array - items: - $ref: '#/components/schemas/link' - LEVEL: - type: string - title: Niveau - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/LEVEL - description: A valoriser avec la valeur constante "OPR" dans le cadre du - message EMSI-EO - enum: - - STRTGC - - OPR - - TACTCL - examples: - - OPR - SECLASS: - type: string - title: Niveau de classification - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/SECLASS - description: "Optionnel\n\nDans NexSIS ; \nLes messages transmis par NexSIS\ - \ auront un champ valoris\xE9 avec syst\xE9matiquement le m\xEAme code:\ - \ \"RESTRC\"=restricted\nLes LRM doivent \xE9galement renseigner la valeur\ - \ \"RESTRC\"" - enum: - - CONFID - - RESTRC - - SECRET - - TOPSRT - - UNCLAS - - UNMARK - examples: - - RESTRC - FREETEXT: - type: string - title: Texte libre - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/FREETEXT - description: "Texte libre, optionnel\n\nDans NexSIS;\n Fonction de l'\xE9\ - v\xE9nement g\xE9n\xE9rateur\nRG 1 : la valeur de \ - \ reste \xE0 'Cr\xE9ation d'un \xE9v\xE9nement op\xE9rationnel EMSI'\ - \ & version & 'suite \xE0 r\xE9ception d'une affaire*' dans le cadre de\ - \ la cr\xE9ation d'une op\xE9ration commune (conforme RG 2 de NEXSIS-6618)\n\ - RG 3 : les \xE9v\xE9nements g\xE9n\xE9rateurs sont ceux d\xE9finis au\ - \ sein de NEXSIS-6619 RG 1 de tra\xE7abilit\xE9 ( input = = CREATION_OPERATION / MAJ_MODIFICATION_ETAT_OPERATION\ - \ / AJOUT_RESSOURCE / RETRAIT_RESSOURCE / MAJ_ETAT_SITUATION_RESSOURCE\ - \ / MAJ_LOCALISATION_ADRESSE) auxquels seront ajout\xE9s les \xE9ventuels\ - \ \xE9v\xE9nements \xE0 venir." - examples: - - "Contexte de grand incendie \xE0 Nantes" - ORIGIN: - $ref: '#/components/schemas/origin' - EXTERNAL_INFO: - type: array - items: - $ref: '#/components/schemas/externalInfo' - URGENCY: - type: string - title: "Niveau d'urgence de l'\xE9v\xE9nement" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/URGENCY - description: "Niveau d'urgence pour l'affaire en cours\nDans le cadre des\ - \ \xE9changes LRM-NexSIS, optionnel" - enum: - - URGENT - - NOT_URGENT - examples: - - URGENT - additionalProperties: false - example: example.json#/emsi/CONTEXT - event: - type: object - title: Evenement - x-display: expansion-panels - x-health-only: false - required: - - ID - properties: - ID: - type: string - title: Identifiant local de l'affaire - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/ID - description: "Identifiant local de l'affaire dans le syst\xE8me du partenaire\ - \ emetteur" - examples: - - samu44 - NAME: - type: string - title: "Nom donn\xE9 \xE0 l'\xE9v\xE9nement" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/NAME - description: "Optionnel\nDans nexSIS; [libelle NF 1 m\xE9tier] & \" - \"\ - \ & [libelle TL 1 m\xE9tier] & \" - \" & [libell\xE9 commune]" - examples: - - Grand Incendie Nantes - MAIN_EVENT_ID: - type: string - title: Identifiant de l'affaire - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/MAIN_EVENT_ID - description: "Identifiant d\u2019affaire partag\xE9 issu du message RC-EDA\ - \ transmis en amont\nNB : Dans le cas d\u2019un partage initi\xE9 par\ - \ un SAMU, on peut avoir EVENT.ID = EVENT.MAIN_EVENT_ID" - examples: - - samuA:CA126B445579GD4A67AV - ETYPE: - $ref: '#/components/schemas/etype' - SOURCE: - type: string - title: Source - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/SOURCE - description: Optionnel - enum: - - COMFOR - - HUMDED - - HUMOBS - - SENSOR - examples: - - HUMOBS - SCALE: - type: string - title: "Echelle de s\xE9v\xE9rit\xE9 de l'environnement" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/SCALE - description: "Optionnel, Niveau de criticit\xE9 de l'op\xE9ration" - enum: - - '1' - - '2' - - '3' - - '4' - - '5' - examples: - - 2 - CERTAINTY: - type: integer - title: "Fiabilit\xE9" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/CERTAINTY - description: "Prend une valeur enti\xE8re entre 0 et 100, et d\xE9crit \xE0\ - \ quel point l'alerte associ\xE9e \xE0 l'\xE9v\xE9nement est fiable\n\ - Optionnel" - examples: - - 100 - DECL_DATIME: - type: string - title: "Date de d\xE9claration de l'event" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/DECL_DATIME - description: "Dans le cadre d'une demande de concours, ce champ est valoris\xE9\ - \ avec la date/heure de cr\xE9ation de l'affaire ou de l'op\xE9ration.\n\ - NexSIS transmettra la date/heure de cr\xE9ation de l'op\xE9ration dans\ - \ ses syst\xE8mes (qui peut diverger de la date/heure de cr\xE9ation de\ - \ l'affaire)" - pattern: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[\-+]\d{2}:\d{2} - format: date-time - examples: - - '2022-09-27T08:24:50+02:00' - OCC_DATIME: - type: string - title: "D\xE9crit la date et le lieu de l'\xE9v\xE9nement" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/OCC_DATIME - description: "Dans le cadre d'une demande de concours, ce champ est valoris\xE9\ - \ avec la date de la premi\xE8re alerte ou la date \xE9valu\xE9e de d\xE9\ - but de la situation d'urgence.\nPar exemple :\nSi un incendie est d\xE9\ - clar\xE9 est 9h02, il a pu d\xE9marr\xE9 \xE0 8h55 par exemple.\nNB :\ - \ temporairement, NexSIS renseignera ce champ avec la date de r\xE9ception\ - \ de l'alerte initiale" - pattern: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[\-+]\d{2}:\d{2} - format: date-time - examples: - - '2022-09-27T08:20:50+02:00' - OBS_DATIME: - type: string - title: "Date \xE0 laquelle l'observation la plus r\xE9cente a \xE9t\xE9\ - \ r\xE9alis\xE9e" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/OBS_DATIME - description: "Ce champ est id\xE9alement \xE0 valoriser avec la date/heure\ - \ \xE0 laquelle l'observation de la situation d'urgence de l'affaire la\ - \ plus r\xE9cente a \xE9t\xE9 r\xE9alis\xE9e.\nNexSIS transmettra la date/heure\ - \ d'envoi de la demande de concours dans son syst\xE8me.\nNB : temporairement,\ - \ NexSIS renseignera ce champ avec la date de r\xE9ception de l'alerte\ - \ initiale" - pattern: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[\-+]\d{2}:\d{2} - format: date-time - examples: - - '2022-09-27T08:26:00+02:00' - STATUS: - type: string - title: Status - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/STATUS - description: "Permet de d\xE9crire le status de l'affaire en cours.\nCe\ - \ champ suit une nomenclature EMSI. (COM = event complete, IPR = event\ - \ in progress, NST = event not started, STOP = STOP = event under control,\ - \ no need for additional resource)\nDans le cadre d'une op\xE9ration :\n\ - - si l'op\xE9ration est encore en cours : rensigner 'IPR',\n- si le dispatching\ - \ de moyens est encore en cours ou que seulement des qualifications d'alertes\ - \ ont \xE9t\xE9 \xE9chang\xE9es sans aucune d\xE9cision de r\xE9gulation\ - \ 'NST',\n- si l'op\xE9ration est en pause/veille : 'STOP'\n- si le message\ - \ d'\xE9change op\xE9rationnel d\xE9crit une fin d'op\xE9ration, \xE0\ - \ renseigner avec 'COM'\nUn message EMSI-EO sans RESSOURCE ni " - enum: - - COM - - IPR - - NST - - STOP - examples: - - IPR - RISK_ASSESMENT: - type: string - title: "Pr\xE9diction sur le risque d'\xE9volution de l'event" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/RISK_ASSESMENT - description: Optionnel - enum: - - NCREA - - DECREA - - STABLE - examples: - - STABLE - REFERENCE: - type: array - items: - $ref: '#/components/schemas/reference' - CASUALTIES: - type: array - items: - $ref: '#/components/schemas/casualties' - EVAC: - type: array - items: - $ref: '#/components/schemas/evac' - EGEO: - type: array - items: - $ref: '#/components/schemas/egeo' - CAUSE: - type: string - title: Cause - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/CAUSE - description: Optionnel - enum: - - ACC - - DEL - - NAT - examples: - - ACC - FREETEXT: - type: string - title: Texte libre - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/FREETEXT - description: Optionnel - examples: - - "Maison sur le c\xF4t\xE9 droit de la route" - additionalProperties: false - example: example.json#/emsi/EVENT - mission: - type: object - title: Missions - x-display: expansion-panels - x-health-only: false - required: - - TYPE - properties: - TYPE: - type: string - title: Type - x-health-only: false - x-cols: 6 - example: example.json#/emsi/MISSION/0/TYPE - description: "Le champ MISSION TYPE permet d'identifier l'effet \xE0 obtenir\ - \ souhait\xE9 \xE0 partir de la combinaison du code ACTOR et du code TYPE.\n\ - => La table de transcodage permettant d'identifier les concourants et\ - \ les effets \xE0 obtenir \xE0 partir d'un code EMSI est fournie en annexe\ - \ \"R\xE9f\xE9rentiel Effets \xE0 Obtenir - correspondance EMSI\".\nDans\ - \ le cadre d'une r\xE9ponse \xE0 DC :\n- reprendre le type de la DC si\ - \ le code r\xE9ponse choisi est vien \"VALIDE\"\nDans le cadre d'une mission\ - \ d\xE9crivant les op\xE9rations en cours :\n- reprendre la nomenclature\ - \ EMSI pour caract\xE9riser la mission en cours." - enum: - - C2 - - CBRN - - FF - - FSTT - - GEN - - INT - - MAC - - MIL - - NET - - OPR - - POL - - REC - - RSC - - SAV - - SCS - - SOC - - C2/DEBRIF - - C2/DNRSKA - - C2/INASSM - - C2/OIC - - C2/POA - - C2/THRTAS - - CBRN/CBRNCH - - CBRN/CBRNDC - - CBRN/NTRCH - - CBRN/NUCWS - - FF/IN - - FF/OA - - FF/SALVAG - - FF/STR - - FF/TRP - - FSTT/DI - - FSTT/RRHAZ - - FSTT/TA - - GEN/AIRLAU - - GEN/ASSMBL - - GEN/CRWDCT - - GEN/DEMO - - GEN/DEPLOY - - GEN/DSTRBT - - GEN/FINANC - - GEN/MARKNG - - GEN/MOVE - - GEN/RECVRN - - GEN/RECVRY - - GEN/REDPLN - - GEN/REORGN - - GEN/REPAIR - - GEN/RESPLN - - GEN/RESTNG - - GEN/RETIRE - - GEN/RLFPLC - - GEN/RNDZVS - - GEN/SCNMNG - - GEN/SECRNG - - GEN/STNGUP - - GEN/SUPRTN - - GEN/TRNSPN - - INT/BIOSMP - - INT/CHMSMP - - INT/IDENT - - INT/ILLUMN - - INT/LOCTNG - - INT/NUCSMP - - INT/OBSRNG - - INT/PLUMOD - - INT/PTRLNG - - INT/RECCE - - INT/SRVMET - - INT/SRVSEN - - INT/WITNSN - - MAC/AII - - MAC/COL - - MIL/BCESC - - MIL/BLOCKN - - MIL/BOMBNG - - MIL/CAPTUR - - MIL/CTRATK - - MIL/DEFEND - - MIL/DISENG - - MIL/DIVRSN - - MIL/DLBATK - - MIL/DSRPTN - - MIL/ENVLPN - - MIL/FIX - - MIL/HARASS - - MIL/HIDE - - MIL/HLDDEF - - MIL/HLDOFF - - MIL/INFLTN - - MIL/INTCPN - - MIL/INTDCT - - MIL/MASFOR - - MIL/MIL - - MIL/WPNFIR - - NET/COMDEA - - NET/DATTRF - - NET/NETJAM - - NET/NETSEI - - NET/SGNC - - NET/SGNLE - - POL/NTRCOM - - POL/NTREXP - - POL/SCNMNG - - POL/SCNPRS - - POL/SHELTR - - POL/SUSHOS - - POL/WITDRL - - REC/CLROBS - - REC/COMACT - - REC/COMRES - - REC/CONSTN - - REC/ENGCN - - REC/ENGCNN - - REC/PROCUR - - REC/PRVACC - - REC/PRVAGR - - REC/PRVBDD - - REC/PRVCMP - - REC/PRVCNS - - REC/PRVDCN - - REC/PRVEDU - - REC/PRVHLT - - REC/PRVHSN - - REC/PRVINF - - REC/PRVLND - - REC/PRVRPR - - REC/PRVSCY - - REC/PRVSHL - - REC/PRVSTG - - REC/PRVTRS - - REC/PSO - - REC/SPLLDB - - REC/SPLWAT - - REC/UTILTY - - REC/WATER - - RSC/COVERN - - RSC/FRFGTN - - RSC/MEDEVC - - RSC/SAR - - SAV/AR - - SAV/ASC - - SAV/RHD - - SAV/RTA - - SAV/SARCSL - - SAV/SARHHA - - SAV/SRW - - SAV/USAR - - SAV/UW - - SCS/EDU - - SOC/CNDCNF - - SOC/CNDMED - - SOC/CNDRCR - - SOC/CNDSCL - - SOC/CNDSPT - - SOC/ISSMDA - - SOC/ISSMDD - - SOC/ISSPRS - - SOC/MN - - SOC/PUBMDA - - SOC/PUBMDD - - SOC/PUBPRS - examples: - - SAV/ASC - FREETEXT: - type: string - title: Texte libre - x-health-only: false - x-cols: 6 - example: example.json#/emsi/MISSION/0/FREETEXT - description: "Contient des commentaires relatifs aux objectifs et moyens\ - \ sollicit\xE9s dans le cadre de la demande de concours. Les \xE9quipements\ - \ suppl\xE9mentaires souhait\xE9s ou le nom/ pr\xE9nom des patients \xE0\ - \ prendre en charge peuvent \xEAtre explicitement indiqu\xE9s ici." - examples: - - "Besoin d'un grand v\xE9hicule car patients \xE0 prendre en charge volumineux.\ - \ Ne pas utiliser les gyrophares en approche" - ID: - type: string - title: Identifiant de la mission - x-health-only: false - x-cols: 6 - example: example.json#/emsi/MISSION/0/ID - description: "Contient un identifiant de demande de concours unique. Cet\ - \ identifiant sera r\xE9utilisable par le partenaire pour r\xE9pondre\ - \ \xE0 cette demande.\nIdentifiant unique de la mission dans le syst\xE8\ - me du partenaire la conduisant." - examples: - - /FF#bb511708-b004-4d7e-8820-1d56c19f1823 - ORG_ID: - type: string - title: "Identifiant de l'organisation propri\xE9taire" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/MISSION/0/ORG_ID - description: "Indique l'organisation du partenaire concern\xE9 par la Demande\ - \ de Concours (voir DSF 8.4). Le code CRRA ou le code du SIS peut \xEA\ - tre utilis\xE9.\nIndique l'organisation du service r\xE9alisant la mission.\ - \ Dans le cas d'une r\xE9ponse, c'est l'organisation du concourant qui\ - \ doit \xEAtre indiqu\xE9e.\nSe r\xE9f\xE9rer au DSF pour la structure\ - \ norm\xE9e des organisations\nLe format est le suivant {pays}:{domaine}:{code\ - \ d\xE9partement}:{organisation}:{structure interne}*:{unit\xE9 fonctionnelle}*.\n\ - identique \xE0 " - examples: - - fr.health.44.samu44 - NAME: - type: string - title: Nom de la mission - x-health-only: false - x-cols: 6 - example: example.json#/emsi/MISSION/0/NAME - description: "Le nom de la mission est construit \xE0 partir de l'expression\ - \ r\xE9guli\xE8re suivante :\n\"#DEMANDE_CONCOURS#\"{libelle_cadre_conventionnel}\"\ - #\"{code_cadre_conventionnel}\"#\"\no\xF9 le code_cadre_conventionnel\ - \ est issue d'une nomenclature CISU-Cadre Conventionnel (A Venir)\nNB\ - \ : ce champ est d\xE9tourn\xE9 par rapport au standard EMSI pour permettre\ - \ l'expression d'une demande de concours et indiquer le cadre conventionnel\ - \ dans lequel elle est effectu\xE9e.\nPour une r\xE9ponse \xE0 demande\ - \ de concours :\n- Le nom de la mission est construit \xE0 partir de l'expression\ - \ r\xE9guli\xE8re suivante :\n\"#REPONSE_DEMANDE_CONCOURS#\"{code_reponse}\"\ - #\"\no\xF9 le code_reponse peut prendre les valeurs ACCEPTE, REFUS, PARTIELLE,\ - \ DIVERGENTE\n- sinon libre" - examples: - - '#DEMANDE_CONCOURS#CARENCE#Z.01.00.00#' - STATUS: - type: string - title: Status de la mission - x-health-only: false - x-cols: 6 - example: example.json#/emsi/MISSION/0/STATUS - description: "Les valeurs possibles avec lesquelles valoriser ce champ sont\ - \ d\xE9taill\xE9es au sein d'une nomenclature EMSI\n- ABO : mission refus\xE9\ - e (ABOrted)\n- CANCLD : mission annul\xE9e (CANCeLeD)**\n- NST : mission\ - \ non d\xE9but\xE9 pour le m\xE9tier (Not STarted)\n- IPR : mission d\xE9\ - but\xE9 pour le m\xE9tier (In PRogress). la valeur IPR peut \xEAtre suivi\ - \ d'une valeur num\xE9rique de 00 \xE0 100 (IPRnn) sp\xE9cifiant le degr\xE9\ - \ d'avancement de la mission. Ce principe n'est pas retenu au sein de\ - \ NexSIS qui ne transmettra pas d'indication sur le degr\xE9 d'avancement\ - \ de la mission via ce champ.\n- PAU : \xE9v\xE9nement arr\xEAt\xE9, en\ - \ pause pour m\xE9tier, pas de besoin suppl\xE9mentaire\n- COM : \xE9\ - v\xE9nement termin\xE9 pour le m\xE9tier (COMplete)\nLe status de la mission\ - \ et celui des RESSOURCE associ\xE9es doit \xEAtre coh\xE9rent et transcodable\ - \ avec un status ANTARES (voir DSF)\n\nDans le cas d'un objet MISSION\ - \ g\xE9n\xE9rique de r\xE9ponse \xE0 demande de concours, le champ doit\ - \ \xEAtre valoris\xE9 \xE0 \"NST\"" - enum: - - ABO - - NST - - CANCLD - - COM - - IPR - - PAU - examples: - - IPR - START_TIME: - type: string - title: "D\xE9but de la mission" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/MISSION/0/START_TIME - description: "- Dans le cadre d'une r\xE9ponse \xE0 Demande de Concours\n\ - Horraire cible pour l'arriv\xE9e sur les lieux d\xE9crites (peut diverger\ - \ de l'horaire demand\xE9)\n- Dans le cadre d'une mission d\xE9crivant\ - \ les op\xE9rations en cours :\nHoraire effectif de d\xE9but de la mission" - pattern: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[\-+]\d{2}:\d{2} - format: date-time - examples: - - '2022-09-27T08:25:00+02:00' - END_TIME: - type: string - title: Fin de la mission - x-health-only: false - x-cols: 6 - example: example.json#/emsi/MISSION/0/END_TIME - description: "A valoriser selon la cat\xE9gorie de mission :\n- Dans le\ - \ cadre d'une mission de r\xE9ponse \xE0 demande de concours : ne pas\ - \ renseigner\n- Dans le cadre d'une mission d\xE9crivant les op\xE9rations\ - \ en cours :\n Si c'est un d\xE9placement, l'heure d'arriv\xE9e, si c'est\ - \ une prise en charge patient/victime, la fin de la prise en charge." - pattern: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[\-+]\d{2}:\d{2} - format: date-time - examples: - - '2022-09-27T08:55:00+02:00' - RESOURCE_ID: - type: array - x-health-only: false - items: - type: string - title: "Ressource engag\xE9e" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/MISSION/0/RESOURCE_ID/0 - description: "Liste des identifiants des ressources engag\xE9es dans la\ - \ mission (voir RESOURCE.ID)" - examples: - - 77_45102#VSAV 1# - PARENT_MISSION_ID: - type: array - x-health-only: false - items: - type: string - title: Missions parentes - x-health-only: false - x-cols: 6 - example: example.json#/emsi/MISSION/0/PARENT_MISSION_ID/0 - description: "Dans le cadre d'une demande de concours, ne doit pas \xEA\ - tre renseign\xE9\nLa mission peut d\xE9j\xE0 \xEAtre rattach\xE9e \xE0\ - \ des missions filles mais leurs d\xE9tails ne doivent pas \xEAtre n\xE9\ - cessaires pour traiter la demande de concours dans le syst\xE8me du\ - \ partenaire.\nCf. DSF pour l'organisation liens entre MISSION (sous-section\ - \ \"D\xE9coupage de l'op\xE9ration en missions\")" - examples: - - None - CHILD_MISSION_ID: - type: array - x-health-only: false - items: - type: string - title: Missions filles - x-health-only: false - x-cols: 6 - example: example.json#/emsi/MISSION/0/CHILD_MISSION_ID/0 - description: "Cf. DSF pour l'organisation liens entre MISSION (sous-section\ - \ \"D\xE9coupage de l'op\xE9ration en missions\")" - examples: - - None - MAIN_MISSION_ID: - type: string - title: Mission principale - x-health-only: false - x-cols: 6 - example: example.json#/emsi/MISSION/0/MAIN_MISSION_ID - description: "- Dans le cas d'une mission g\xE9n\xE9rique de r\xE9ponse\ - \ \xE0 demande de concours, indiquer l'ID de la mission g\xE9n\xE9rique\ - \ utilis\xE9e pour mod\xE9liser la demande de concours\n- Dans le cas\ - \ d'une mission d\xE9clench\xE9e dans le cadre d'une r\xE9ponse \xE0 demande\ - \ de concours, l'ID de la mission g\xE9n\xE9rique de r\xE9ponse peut \xEA\ - tre utilis\xE9e dans ce champ pour indiquer qu'elle est li\xE9e \xE0 une\ - \ r\xE9ponse" - examples: - - /FF#bb511708-b004-4d7e-8820-1d56c19f1855 - POSITION: - $ref: '#/components/schemas/position' - PRIORITY: - type: string - title: "Priorit\xE9 de la mission" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/MISSION/0/PRIORITY - description: "Indique une \xE9chelle de priorit\xE9 pour la demande de concours.\ - \ Dans le cadre du standard EMSI, cette \xE9chelle doit \xEAtre comprise\ - \ entre 0 et 5. Ce champ peut ne pas \xEAtre interpr\xE9t\xE9 ni aliment\xE9\ - \ par les LRMs.\nDans le cadre d'un \xE9change des op\xE9rations, optionnel.\ - \ Le champ peut ne pas \xEAtre \xE9mis ni interpr\xE9t\xE9." - enum: - - '0' - - '1' - - '2' - - '3' - - '4' - - '5' - examples: - - 5 - additionalProperties: false - example: example.json#/emsi/MISSION/0 - resource: - type: object - title: Ressource - x-display: expansion-panels - x-health-only: false - required: - - RTYPE - properties: - RTYPE: - $ref: '#/components/schemas/rtype' - ID: - type: string - title: ID de la ressource - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/ID - description: "Identifiant unique de la ressource dans le syst\xE8me du\ - \ partenaire propri\xE9taire. Les syst\xE8mes sont garants de l'unicit\xE9\ - \ et de l'invariablit\xE9 des ids de v\xE9hicule dans le temps. Ils peuvent\ - \ se servir des ids dans les r\xE9f\xE9rentiels existants si ils sont\ - \ uniques et stables.\nDans le cas d'un v\xE9hicule agr\xE9g\xE9 par un\ - \ LRM (comme un SMUR), l'ID doit \xEAtre valoris\xE9 avec son immatriculation.\n\ - Dans le cas d'un v\xE9hicule agr\xE9g\xE9 par NexSIS, l'ID fournit peut\ - \ ne pas correspondre \xE0 une immatriculation." - examples: - - 77_45102#VSAV 1# - ORG_ID: - type: string - title: "Identifiant de l'organisation propri\xE9taire" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/ORG_ID - description: "Identifiant de l'organisation \xE0 laquelle la ressource est\ - \ rattach\xE9e (caserne, SAMU etc).\nSe r\xE9f\xE9rer au DSF pour la structure\ - \ norm\xE9e des organisations\nLe format est le suivant {pays}.{domaine}.{code\ - \ d\xE9partement}.{organisation}.{structure interne}*.{unit\xE9 fonctionnelle}*.\n\ - Dans le cas o\xF9 le LRM/NexSIS sert d'aggr\xE9gateur pour des v\xE9hicules\ - \ appartenant \xE0 un partenaire tiers (type ambulance priv\xE9e), l'identifiant\ - \ d'organisation permet d'identifier ce tiers\nA constituer par le r\xE9\ - dacteur du pr\xE9sent EMSI pour \xEAtre unique, identique \xE0 " - examples: - - FR:Administration:44:CASERNENANTES - NAME: - type: string - title: Nom de la ressource - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/NAME - description: "Nom donn\xE9 \xE0 la ressource par le partenaire. L'immatriculation\ - \ peut \xEAtre utilis\xE9e dans le nom courant des v\xE9hicules.\nDans\ - \ le cas pompier, les v\xE9hicules sont nomm\xE9s\nDans le cas d'\xE9\ - quipier, cela peut \xEAtre leur nom" - examples: - - VSAV 1 Nantes - FREETEXT: - type: string - title: Description de la ressource - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/FREETEXT - description: "Texte libre permettant de d\xE9crire la ressource o\xF9 d'ajouter\ - \ des pr\xE9cisions sur son engagement.\nPermet aussi notamment de d\xE9\ - crire des attributs librement pour la ressource.\nPar exemple, pour un\ - \ v\xE9hicule, sa plaque d'immatriculation." - examples: - - None - RGEO: - type: array - items: - $ref: '#/components/schemas/rgeo' - QUANTITY: - type: number - title: "Quantit\xE9 de la ressource" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/QUANTITY - description: "Dans le cadre d'un \xE9change d'op\xE9ration, optionnel. Permet\ - \ de quantifier une ressource :\n- \xE0 ne pas utiliser pour les v\xE9\ - hicules ni le personnel\n- utilisable pour du mat\xE9riel\n- utilisable\ - \ pour des consommables (dans le cas de consommable, \xE0 compl\xE9ter\ - \ avec le champ UM)" - examples: - - 1 - UM: - type: string - title: "Unit\xE9 de mesure pour la ressource" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/UM - description: "Dans le cadre d'un \xE9change d'op\xE9ration, optionnel. Unit\xE9\ - \ de mesure pour des ressources consommables" - enum: - - LSV - - OTH - - PKG - - TIM - - WGT - - LSV/CM - - LSV/CMH - - LSV/CNTLTR - - LSV/DEG - - LSV/HCTLTR - - LSV/HCTMTR - - LSV/KM - - LSV/KPH - - LSV/LI - - LSV/LTPRHR - - LSV/LTPRMN - - LSV/METRE - - LSV/MILLTR - - LSV/MILMTR - - LSV/SMH - - LSV/SQM - - OTH/COIL - - OTH/DOZEN - - OTH/EA - - OTH/GROSS - - OTH/MANHUR - - OTH/MHPRHR - - PKG/BALE - - PKG/BARREL - - PKG/BLK - - PKG/BOX - - PKG/CASE - - PKG/CONTNR - - PKG/CRATE - - PKG/DRM - - PKG/JERCAN - - PKG/PAK - - PKG/PAL - - PKG/RATION - - TIM/DAY - - TIM/HR - - TIM/MINUTE - - TIM/MON - - TIM/SECOND - - TIM/WEK - - TIM/YEA - - WGT/CNTGRM - - WGT/GRAM - - WGT/KG - - WGT/KGH - examples: - - None - STATUS: - type: string - title: Statut de la ressource - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/STATUS - description: "D\xE9finit le statut de disponibilit\xE9 d'une ressource.\n\ - - AVAILB : Lorsqu'une mission est termin\xE9e, une ressource redevient\ - \ disponible\n- RESRVD : Lorsque la ressource est r\xE9serv\xE9e pour\ - \ intervenir sur l'affaire mais pas encore engag\xE9e dans l'op\xE9ration.\ - \ Par exemple : un SMUR termine un autre transfert patient/victime avant\ - \ de rejoindre une autre intervention : il est alors RESRVD\n- IN_USE/MOBILE\ - \ : \xE0 utiliser pour les v\xE9hicules et le personnel lorsqu'ils se\ - \ d\xE9places\n- IN_USE/ON_SCENE : \xE0 utiliser pour les v\xE9hicules\ - \ et le personnel lorsqu'ils sont sur les lieux de l'affaire" - enum: - - AVAILB - - UNAV - - MAINTC - - RESRVD - - VIRTUAL - - IN_USE/MOBILE - - IN_USE/ON_SCENE - examples: - - IN_USE/MOBILE - NATIONALITY: - type: string - title: "Nationalit\xE9 de la ressource" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/NATIONALITY - description: "Nationalit\xE9 d'une ressource, r\xE9employer ISO 3166-1-alpha-2\ - \ code elements." - examples: - - FR - CONTACTS: - type: array - items: - $ref: '#/components/schemas/contact' - additionalProperties: false - example: example.json#/emsi/RESOURCE/0 - link: - type: object - title: Lien - x-display: expansion-panels - x-health-only: false - required: - - ID - properties: - ID: - type: string - title: ID - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/LINK/0/ID - description: "A renseigner avec l'identifiant local de l'affaire du partenaire\ - \ requ\xE9rant\nDans NexSIS;\nRG 1 \u2013 : cr\xE9ation du premier message\ - \ EMSi suite r\xE9ception Affaire\n\u2022 = \n\u2022 = 'ADDSTO',\nRG 2 : Pour\ - \ tous les messages cr\xE9\xE9s apr\xE8s le premier, EMSI est compl\xE9\ - t\xE9 par contenant l'ID de message EMSI pr\xE9c\xE9dent\ - \ cr\xE9\xE9 au sein du SGO r\xE9dacteur * = 'SPRSDS'" - examples: - - samuA:CA126B445579GD4A67AV - LINK_ROLE: - type: string - title: "R\xF4le du lien" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/LINK/0/LINK_ROLE - description: "Optionnel : \xE0 valoriser avec la constante \"SPRSDS\" en\ - \ EMSI-EO et avec le libell\xE9 ADDSTO en EMSI-DC\n\nDans Nexsis;\nRG\ - \ 1 \u2013 : cr\xE9ation du premier message EMSi suite r\xE9ception Affaire\ - \ * = \n\u2022 = 'ADDSTO',\nRG 2 : Pour tous les messages cr\xE9\xE9s apr\xE8\ - s le premier, EMSI est compl\xE9t\xE9 par contenant\ - \ l'ID de message EMSI pr\xE9c\xE9dent cr\xE9\xE9 au sein du SGO r\xE9\ - dacteur * = 'SPRSDS'" - enum: - - ADDSTO - - SPRSDS - examples: - - ADDSTO - additionalProperties: false - example: example.json#/emsi/CONTEXT/LINK/0 - examples: - - ID: samuA:CA126B445579GD4A67AV - LINK_ROLE: ADDSTO - origin: - type: object - title: Origine - x-display: expansion-panels - x-health-only: false - required: [] - properties: - ORG_ID: - type: string - title: Origine ID - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/ORIGIN/ORG_ID - description: "Optionnel, identifiant du service \xE0 l'origine de l'EMSI\n\ - Se r\xE9f\xE9rer au DSF pour la structure norm\xE9e des organisations\n\ - Le format est le suivant {pays}.{domaine}.{code d\xE9partement}.{organisation}.{structure\ - \ interne}*.{unit\xE9 fonctionnelle}*." - examples: - - fr.health.44.samu44 - USER_ID: - type: string - title: ID d'utilisateur de l'origine - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/ORIGIN/USER_ID - description: "Optionnel, identifiant de l'op\xE9rateur du service \xE0 l'origine\ - \ de l'EMSI" - examples: - - None - NAME: - type: string - title: 'Nom Origine ' - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/ORIGIN/NAME - description: "Optionnel\n\nA constituer par le r\xE9dacteur pour \xEAtre\ - \ intelligible (exemple [structure].[nom])" - examples: - - samu44 - additionalProperties: false - example: example.json#/emsi/CONTEXT/ORIGIN - examples: - - ORG_ID: fr.health.44.samu44 - USER_ID: None - NAME: samu44 - externalInfo: - type: object - title: 'Informations exterieures ' - x-display: expansion-panels - x-health-only: false - required: - - URI - properties: - FREETEXT: - type: string - title: 'Texte libre ' - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/EXTERNAL_INFO/0/FREETEXT - description: Optionnel - examples: - - None - URI: - type: string - title: "URI informations ext\xE9rieures" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/EXTERNAL_INFO/0/URI - description: Optionnel - examples: - - 289d6939-d225-4c71-9a56-68c03ada2f5e - TYPE: - type: string - title: Type - x-health-only: false - x-cols: 6 - example: example.json#/emsi/CONTEXT/EXTERNAL_INFO/0/TYPE - description: Optionnel - enum: - - MANUAL - - MAP - - OTHER - - PHOTO - - WEBSIT - examples: - - SPRSDS - additionalProperties: false - example: example.json#/emsi/CONTEXT/EXTERNAL_INFO/0 - examples: - - FREETEXT: None - URI: 289d6939-d225-4c71-9a56-68c03ada2f5e - TYPE: SPRSDS - etype: - type: object - title: "Type de l'\xE9v\xE9nement" - x-display: expansion-panels - x-health-only: false - required: - - CATEGORY - - ACTOR - - LOCTYPE - properties: - CATEGORY: - type: array - x-health-only: false - items: - type: string - title: "Cat\xE9gorie d'\xE9v\xE9nement" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/ETYPE/CATEGORY/0 - description: "Le champ peut ne pas \xEAtre interpr\xE9t\xE9 ou renseign\xE9\ - \ avec une valeur comme 'UKN' = 'UNKOWN'\nA constituer depuis ref_mapping_EMSI_NEXSIS" - enum: - - ASB - - ASR - - EXP - - FIR - - FLD - - GND - - HLT - - POL - - PSW - - TRP - - ASB/ABV - - ASR/ATM - - ASR/HGT - - ASR/ICE - - ASR/MAR - - ASR/SIL - - ASR/TRP - - ASR/UDG - - ASR/WAT - - EXP/AER - - EXP/AMM - - EXP/BLEVE - - EXP/CHM - - EXP/CYL - - EXP/DST - - EXP/FRW - - EXP/GAS - - EXP/HGHFLM - - EXP/HPP - - EXP/IMP - - EXP/LPG - - EXP/NUK - - EXP/PRD - - EXP/UKN - - FIR/CLA - - FIR/CLB - - FIR/CLC - - FIR/CLD - - FIR/UKN - - FLD/FLS - - FLD/PLN - - FLD/TID - - GND/AVL - - GND/EQK - - GND/GEY - - GND/LDS - - GND/MUD - - GND/SUB - - GND/VUL - - HLT/EPI - - HLT/FMN - - HLT/NDS - - POL/BIO - - POL/CHM - - POL/NUK - - POL/RAD - - PSW/ALM - - PSW/ASY - - PSW/DEM - - PSW/IMM - - PSW/MEV - - PSW/MIS - - PSW/PKG - - PSW/PRO - - PSW/PRSUIT - - PSW/RIOT - - PSW/SUS - - PSW/WNG - - TRP/BRK - - TRP/COL - - TRP/CRS - examples: - - FIR - ACTOR: - type: array - x-health-only: false - items: - type: string - title: Acteurs - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/ETYPE/ACTOR/0 - description: "Dans de futures versions de NexSIS, les demandes de concours\ - \ seront diffus\xE9es \xE0 plusieurs partenaires. Seul le syst\xE8me\ - \ de la force concern\xE9e par la demande de concours devra r\xE9pondre\ - \ effectivement \xE0 la demande. Ce syst\xE8me de la force concern\xE9\ - e sera identifi\xE9 comme le \"concourant\" \xE0 la demande de concours.\n\ - Le libell\xE9 du champ ACTOR permet d'identifier le concourant souhait\xE9\ - \ dans la demande de concours. Pour les premi\xE8res impl\xE9mentations\ - \ du contrat d'interface 15-18, il n'y a pas de n\xE9cessit\xE9 pour\ - \ les syst\xE8mes r\xE9cepteurs de filtrer les demandes de concours\ - \ re\xE7ues via le Hub Sant\xE9.\nLe champ MISSION TYPE permet en compl\xE9\ - ment d'identifier l'effet \xE0 obtenir souhait\xE9 \xE0 partir de la\ - \ combinaison du code ACTOR et du code TYPE.\nLe transcodage entre ces\ - \ deux nomenclature est d\xE9crit dans l'annexe \"R\xE9f\xE9rentiel\ - \ Effets \xE0 Obtenir - correspondance EMSI\"" - enum: - - ANI - - BEV - - PPL - - VEH - - ANI/CON - - ANI/DEA - - ANI/DGR - - ANI/FRM - - ANI/HRD - - ANI/INJ - - ANI/LIV - - ANI/PET - - ANI/PRO - - ANI/SPC - - ANI/WLD - - BEV/ASR - - BEV/IND - - BEV/NRES - - BEV/OFF - - BEV/OTH - - BEV/RESDW - - BEV/RESIN - - BEV/RESINT - - BEV/RESOTH - - BEV/SHP - - PPL/1 - - PPL/ADU - - PPL/CHD - - PPL/CNT - - PPL/DED - - PPL/EVC - - PPL/GND - - PPL/GRP - - PPL/HST - - PPL/INT - - PPL/OTH - - PPL/PRS - - PPL/SNS - - PPL/VIO - - PPL/VLN - - PPL/WTN - - PPL/CHD/BAB - - PPL/CHD/CHILD - - PPL/CHD/INF - - PPL/CHD/YOUTH - - PPL/GND/FML - - PPL/GND/MAL - - PPL/GND/UND - - PPL/HST/PCF - - PPL/HST/SUI - - PPL/HST/THT - - PPL/HST/WPN - - PPL/PRS/CST - - PPL/PRS/ESC - - PPL/PRS/HGS - - PPL/SNS/ETH - - PPL/SNS/FOR - - PPL/SNS/LAN - - PPL/SNS/REL - - PPL/SNS/VIP - - PPL/VLN/BLD - - PPL/VLN/DEF - - PPL/VLN/DSB - - PPL/VLN/ELD - - PPL/VLN/INJ - - PPL/VLN/LDF - - PPL/VLN/OBS - - PPL/VLN/PAT - - PPL/VLN/PGN - - PPL/VLN/SLFPRS - - PPL/VLN/UNC - - VEH/AIR - - VEH/ANI - - VEH/BIC - - VEH/CAR - - VEH/EMG - - VEH/MBK - - VEH/MIL - - VEH/OTH - - VEH/TRK - - VEH/TRN - - VEH/VES - - VEH/AIR/ARM - - VEH/AIR/FLBA - - VEH/AIR/FRG - - VEH/AIR/FXBA - - VEH/AIR/GLD - - VEH/AIR/HEL - - VEH/AIR/HVY - - VEH/AIR/JET - - VEH/AIR/LGT - - VEH/AIR/MIL - - VEH/AIR/ORD - - VEH/AIR/OTH - - VEH/AIR/PAS - - VEH/AIR/PRBA - - VEH/AIR/PST - - VEH/AIR/RKT - - VEH/AIR/SEA - - VEH/AIR/SNO - - VEH/AIR/TNK - - VEH/AIR/UAV - - VEH/AIR/ULG - - VEH/OTH/HIL - - VEH/OTH/SNO - - VEH/TRK/ART - - VEH/TRK/EXC - - VEH/TRK/HZD - - VEH/TRK/NHZ - - VEH/TRK/NUK - - VEH/TRK/REF - - VEH/TRK/UND - - VEH/TRN/3RL - - VEH/TRN/DSL - - VEH/TRN/HZD - - VEH/TRN/LOC - - VEH/TRN/NHZ - - VEH/TRN/NUK - - VEH/TRN/OVH - - VEH/TRN/PAS - - VEH/TRN/REF - - VEH/TRN/STM - - VEH/TRN/TRM - - VEH/TRN/UDG - - VEH/TRN/UND - - VEH/TRN/VIP - - VEH/TRN/VLT - - VEH/VES/AMB - - VEH/VES/BOT - - VEH/VES/CNO - - VEH/VES/CRG - - VEH/VES/DSL - - VEH/VES/FLO - - VEH/VES/FRY - - VEH/VES/HOV - - VEH/VES/HZD - - VEH/VES/JSK - - VEH/VES/LEI - - VEH/VES/LIS - - VEH/VES/MIL - - VEH/VES/MPW - - VEH/VES/NHZ - - VEH/VES/NUK - - VEH/VES/PAS - - VEH/VES/POL - - VEH/VES/PTL - - VEH/VES/RSC - - VEH/VES/SAI - - VEH/VES/SBM - - VEH/VES/SINK - - VEH/VES/SPC - - VEH/VES/STE - - VEH/VES/SUNK - - VEH/VES/UNM - examples: - - PPL/GRP - LOCTYPE: - type: array - x-health-only: false - items: - type: string - title: Type de localisation - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/ETYPE/LOCTYPE/0 - description: "Le champ peut ne pas \xEAtre affich\xE9. Par d\xE9faut,\ - \ possible de renvoyer le code \"OTH\" = \"OTHER\"" - examples: - - URB/STRT - ENV: - type: string - title: Environnement - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/ETYPE/ENV - description: Optionnel - enum: - - CDIS - - DIS - - TER - - CDIS/RIOT - - DIS/CBRN - - DIS/ERTHQK - - DIS/FIRE - - DIS/FLOOD - - DIS/INDHAZ - - DIS/LNDSLD - - DIS/PWROUT - - DIS/RADCNT - - DIS/SNOW - - DIS/STCLPS - - DIS/STORM - - DIS/TRSPRT - - DIS/TSNAMI - examples: - - CDIS/RIOT - additionalProperties: false - example: example.json#/emsi/EVENT/ETYPE - reference: - type: object - title: "Lien vers d'autres objets \xE9v\xE9nements EMSI" - x-display: expansion-panels - x-health-only: false - required: - - ORG_ID - - OTHER_EVENT_ID - properties: - ORG_ID: - type: string - title: ID de l'organisation - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/REFERENCE/0/ORG_ID - description: Identification de l'organisation partenaire - examples: - - fr.health.44.samu44 - OTHER_EVENT_ID: - type: array - x-health-only: false - items: - type: string - title: ID des autres event - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/REFERENCE/0/OTHER_EVENT_ID/0 - description: "Indique d'autres identifiants utilis\xE9s pour l'affaire\ - \ dans le syst\xE8me partenaire" - examples: - - samu4412345 - additionalProperties: false - example: example.json#/emsi/EVENT/REFERENCE/0 - casualties: - type: object - title: Victimes - x-display: expansion-panels - x-health-only: false - required: - - CONTEXT - properties: - CONTEXT: - type: string - title: Contexte - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/CASUALTIES/0/CONTEXT - description: "Le champ doit \xEAtre renseign\xE9 mais peut ne pas \xEAtre\ - \ interpr\xE9t\xE9" - examples: - - REQ_ACTION - DATIME: - type: string - title: Timestamp du contexte - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/CASUALTIES/0/DATIME - description: Optionnel - pattern: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[\-+]\d{2}:\d{2} - format: date-time - examples: - - '2022-09-27T08:00:00+02:00' - DECONT: - type: integer - title: "D\xE9contamination" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/CASUALTIES/0/DECONT - description: Optionnel - examples: - - 0 - TRIAGERED: - type: integer - title: Triage Rouge - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/CASUALTIES/0/TRIAGERED - description: Optionnel, Triage victime au sens EMSI - examples: - - 0 - TRIAGEYELLOW: - type: integer - title: Jaune - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/CASUALTIES/0/TRIAGEYELLOW - description: Optionnel - examples: - - 1 - TRIAGEGREEN: - type: integer - title: Vert - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/CASUALTIES/0/TRIAGEGREEN - description: Optionnel - examples: - - 0 - TRIAGEBLACK: - type: integer - title: Noir - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/CASUALTIES/0/TRIAGEBLACK - description: Optionnel - examples: - - 0 - MISSING: - type: integer - title: Disparus - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/CASUALTIES/0/MISSING - description: Optionnel - examples: - - 0 - additionalProperties: false - example: example.json#/emsi/EVENT/CASUALTIES/0 - examples: - - CONTEXT: REQ_ACTION - DATIME: '2022-09-27T08:00:00+02:00' - DECONT: 0 - TRIAGERED: 0 - TRIAGEYELLOW: 1 - TRIAGEGREEN: 0 - TRIAGEBLACK: 0 - MISSING: 0 - evac: - type: object - title: "Evacu\xE9s" - x-display: expansion-panels - x-health-only: false - required: [] - properties: - DATIME: - type: string - title: timestamp - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EVAC/0/DATIME - description: Optionnel - pattern: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[\-+]\d{2}:\d{2} - format: date-time - examples: - - '2022-09-27T10:00:00+02:00' - DISPLACED: - type: integer - title: "d\xE9plac\xE9s" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EVAC/0/DISPLACED - description: Optionnel - examples: - - 0 - EVACUATED: - type: integer - title: "\xE9vacu\xE9s" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EVAC/0/EVACUATED - description: Optionnel - examples: - - 1 - additionalProperties: false - example: example.json#/emsi/EVENT/EVAC/0 - examples: - - DATIME: '2022-09-27T10:00:00+02:00' - DISPLACED: 0 - EVACUATED: 1 - egeo: - type: object - title: "Localisation de l'\xE9v\xE9nement" - x-display: expansion-panels - x-health-only: false - required: - - TYPE - - POSITION - properties: - DATIME: - type: string - title: "Date des derni\xE8res remont\xE9es de localisation" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EGEO/0/DATIME - description: "Optionnel\nLa localisation de l'affaire est transmise en amont\ - \ dans un message RC-EDA et le lieu souhait\xE9 pour l'intervention est\ - \ syst\xE9matiquement repr\xE9cis\xE9 dans un objet MISSION" - pattern: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[\-+]\d{2}:\d{2} - format: date-time - examples: - - '2022-09-27T08:26:00+02:00' - TYPE: - type: string - title: Type de localisation - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EGEO/0/TYPE - description: "Optionnel\nLa localisation de l'affaire est transmise en amont\ - \ dans un message RC-EDA et le lieu souhait\xE9 pour l'intervention est\ - \ syst\xE9matiquement repr\xE9cis\xE9 dans un objet MISSION.\nA constituer\ - \ depuis ref_mapping_EMSI_EVENT_EGEO_TYPE_NEXSIS_\n/!\\ plusieurs champs\ - \ NEXSIS\n/!\\ plusieurs valeurs par champs d'o\xF9 un groupe \xE0\ - \ cr\xE9er par type diff\xE9rents" - enum: - - AIR - - CMB - - DGR - - FLAME - - GEN - - PLUME - - SMOKE - - VULN - - AIR/COR - - AIR/FLDZ - - AIR/LZ - - AIR/NOFLZN - - AIR/PZ - - AIR/UAVASP - - CMB/CZ - - CMB/DNGR - - CMB/EXTZN - - CMB/IMPTPT - - DGR/BIO - - DGR/BOMB - - DGR/CBRNHZ - - DGR/CBRNRSD - - DGR/CHM - - DGR/HZD - - DGR/MIND - - DGR/NGA - - DGR/NGACIV - - DGR/NUKCNL - - DGR/OBSGEN - - DGR/PRHBAR - - DGR/RAD - - DGR/RADCLD - - DGR/RSTR - - DGR/SGA - - DGR/SITKIL - - DGR/UNXOD - - GEN/AOR - - GEN/ASYGEN - - GEN/ASYSPL - - GEN/BDYOR - - GEN/BDYPOA - - GEN/BDYPT - - GEN/CKPGEN - - GEN/CNTPTL - - GEN/COLDZ - - GEN/COMCKP - - GEN/COMLOW - - GEN/COMMZ - - GEN/COMUP - - GEN/CONTAR - - GEN/CORDON - - GEN/CRDPNT - - GEN/DIVRT - - GEN/DROPPT - - GEN/ENTPT - - GEN/EVENT - - GEN/EXITPT - - GEN/FWCTPT - - GEN/HOTZ - - GEN/INCGRD - - GEN/LA - - GEN/LIMARE - - GEN/LOCAT - - GEN/MSR - - GEN/PSSGPT - - GEN/PTINT - - GEN/RCNSAR - - GEN/RNDZPT - - GEN/ROUTE - - GEN/SAFERT - - GEN/SAFZ - - GEN/SARPNT - - GEN/SEARAR - - GEN/SPRISK - - GEN/STRTPT - - GEN/SUPARE - - GEN/SUPPT - - GEN/TRSTRT - - GEN/WARMZ - examples: - - HLT - WEATHER: - type: array - x-health-only: false - items: - type: string - title: "Condition m\xE9t\xE9o" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EGEO/0/WEATHER/0 - description: "Optionnel\nLa localisation de l'affaire est transmise en\ - \ amont dans un message RC-EDA et le lieu souhait\xE9 pour l'intervention\ - \ est syst\xE9matiquement repr\xE9cis\xE9 dans un objet MISSION" - enum: - - HUM - - ICY - - TDS - - TMP - - VIS - - WDS - - WIN - - HUM/CORECT - - HUM/DRZLE - - HUM/FOG - - HUM/RAIN - - HUM/RAINSR - - HUM/THSTRN - - ICY/BLWSNW - - ICY/CLRICE - - ICY/CORECT - - ICY/FDRZLE - - ICY/FRAIN - - ICY/FRZFOG - - ICY/HAIL - - ICY/ICECRY - - ICY/ICEPLT - - ICY/MIXICE - - ICY/RIMICE - - ICY/SLEET - - ICY/SNOW - - ICY/SNWGRN - - ICY/SNWSHR - - TDS/CORECT - - TDS/LGTNNG - - TDS/THST - - VIS/CORECT - - VIS/HAZE - - VIS/SMOKE - - WIN/CORECT - - WIN/CYCL - - WIN/DSTDVL - - WIN/DSTSND - - WIN/DSTSTR - - WIN/FNLCLD - - WIN/HURR - - WIN/SNDSTR - - WIN/STORM - - WIN/TORN - - WIN/TRST - - WIN/TYPH - - WIN/WHIR - - WIN/WTRSPT - examples: - - HUM/RAIN - FREETEXT: - type: string - title: "Description de l'\xE9v\xE9nement" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EGEO/0/FREETEXT - description: "Optionnel\nLa localisation de l'affaire est transmise en amont\ - \ dans un message RC-EDA et le lieu souhait\xE9 pour l'intervention est\ - \ syst\xE9matiquement repr\xE9cis\xE9 dans un objet MISSION" - examples: - - Un peu de pluie vers 8h - POSITION: - $ref: '#/components/schemas/position' - additionalProperties: false - example: example.json#/emsi/EVENT/EGEO/0 - position: - type: object - title: "Position de l'op\xE9ration" - x-display: expansion-panels - x-health-only: false - required: - - LOC_ID - properties: - LOC_ID: - type: string - title: ID position - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EGEO/0/POSITION/LOC_ID - description: "Optionnel\nLa localisation de l'affaire est transmise en amont\ - \ dans un message RC-EDA et le lieu souhait\xE9 pour l'intervention est\ - \ syst\xE9matiquement repr\xE9cis\xE9 dans un objet MISSION. \nLorsque\ - \ le lieu d'intervention est identique \xE0 celle d'une position de l'affaire\ - \ partag\xE9e dans le message RC-EDA, le champ MISSION.RGEO.POSITION.LOC_ID\ - \ doit \xEAtre aliment\xE9 valoris\xE9 comme le champ eventLocation.locId\ - \ du message RC-EDA envoy\xE9 en amont. " - examples: - - 111fb03a-6fd9-41e0-8e81-990c45188887 - NAME: - type: string - title: Nom de position - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EGEO/0/POSITION/NAME - description: "Optionnel, non utilis\xE9 par NexSIS nom de lieu" - examples: - - "Lyc\xE9e Pierre de Coubertin" - TYPE: - type: string - title: Type - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EGEO/0/POSITION/TYPE - description: "Optionnel\nDans le cadre de l'interface LRM NexSIS, seul le\ - \ libell\xE9 POINT doit obligatoirement \xEAtre interpr\xE9table par les\ - \ deux partenaires.\nCf. Nomenclature EMSI - POSITION pour plus de d\xE9\ - tails" - examples: - - POINT - HEIGHT_ROLE: - type: string - title: Indication sur l'utilisation de la balise altitude - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EGEO/0/POSITION/HEIGHT_ROLE - description: Optionnel - examples: - - MIN - COORDSYS: - type: string - title: "Syst\xE8me de coordonn\xE9es" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EGEO/0/POSITION/COORDSYS - description: Optionnel - examples: - - EPSG-4326 - COORD: - type: array - items: - $ref: '#/components/schemas/coord' - ADDRESS: - type: array - x-health-only: false - items: - type: string - title: Adresse - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EGEO/0/POSITION/ADDRESS/0 - description: "Optionnel. Dans le cas d'un partage de position, les adresses\ - \ transmises ne sont pas structur\xE9es." - examples: - - Nantes centre ville - additionalProperties: false - example: example.json#/emsi/EVENT/EGEO/0/POSITION - coord: - type: object - title: "Coordonn\xE9es" - x-display: expansion-panels - x-health-only: false - required: - - LAT - - LONG - properties: - LAT: - type: number - title: 'Latitude ' - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EGEO/0/POSITION/COORD/0/LAT - description: "derni\xE8re coordonn\xE9e x connue de la ressource" - examples: - - '47.221866' - LONG: - type: number - title: Longitude - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EGEO/0/POSITION/COORD/0/LONG - description: "Optionnel. Dans le cas o\xF9 aucun LOC_ID n'est transf\xE9\ - r\xE9, permet de localiser le lieu d'intervention souhait\xE9\nderni\xE8\ - re coordonn\xE9e y connue de la ressource\nbetween \u221290 and +90" - examples: - - '-1.575807' - HEIGHT: - type: number - title: Altitude - x-health-only: false - x-cols: 6 - example: example.json#/emsi/EVENT/EGEO/0/POSITION/COORD/0/HEIGHT - description: "Optionnel. Dans le cas o\xF9 aucun LOC_ID n'est transf\xE9\ - r\xE9, permet de localiser le lieu d'intervention souhait\xE9\nderni\xE8\ - re coordonn\xE9e z connue de la ressource\nbetween \u2212180 and +180" - examples: - - 1 - additionalProperties: false - example: example.json#/emsi/EVENT/EGEO/0/POSITION/COORD/0 - examples: - - LAT: '47.221866' - LONG: '-1.575807' - HEIGHT: 1 - rtype: - type: object - title: Type de la ressource - x-display: expansion-panels - x-health-only: false - required: - - RCLASS - properties: - RCLASS: - type: array - x-health-only: false - items: - type: string - title: Classes de la ressource - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/RTYPE/RCLASS/0 - description: "Permet d'indiquer la classe de l'objet RESOURCE. Plusieurs\ - \ niveau de d\xE9tails sont fournis par la nomenclature associ\xE9e.\n\ - Le premier niveau permet notamment de d\xE9crire la classe principale\ - \ de ressource :\n- Un v\xE9hicule,\n- Le personnel mobilis\xE9,\n-\ - \ Des consommables/ du mat\xE9riel,\n- Un lieu ou une organisation (non\ - \ utilis\xE9 pour le moment)\nVoir nomenclature EMSI associ\xE9e" - enum: - - FAC - - HUM - - MAT - - ORG - - FAC/BRIDGE - - FAC/BUILDN - - FAC/DEPOT - - FAC/NETWK - - FAC/OPR - - FAC/OTH - - FAC/WATFIR - - FAC/BRIDGE/MILVHL - - FAC/BUILDN/BARRCK - - FAC/BUILDN/BUNKER - - FAC/BUILDN/COB - - FAC/BUILDN/CTT - - FAC/BUILDN/DAM - - FAC/BUILDN/GYMNAS - - FAC/BUILDN/HANGAR - - FAC/BUILDN/HOUSE - - FAC/BUILDN/HUT - - FAC/BUILDN/INDINS - - FAC/BUILDN/OFFICE - - FAC/BUILDN/SCHOOL - - FAC/BUILDN/SHD - - FAC/BUILDN/SHLSUR - - FAC/BUILDN/SHLUND - - FAC/BUILDN/SHOP - - FAC/BUILDN/TOW - - FAC/BUILDN/TUN - - FAC/BUILDN/WALL - - FAC/BUILDN/WTW - - FAC/DEPOT/BIO - - FAC/DEPOT/CBRN - - FAC/DEPOT/CHM - - FAC/DEPOT/ENG - - FAC/DEPOT/MED - - FAC/DEPOT/MUN - - FAC/DEPOT/POL - - FAC/NETWK/ADSL - - FAC/NETWK/ATM - - FAC/NETWK/CTZALT - - FAC/NETWK/EMGNWK - - FAC/NETWK/GPRS - - FAC/NETWK/GSM - - FAC/NETWK/INTRAN - - FAC/NETWK/INTRNT - - FAC/NETWK/ISDN - - FAC/NETWK/LAN - - FAC/NETWK/PAMR - - FAC/NETWK/PDMR - - FAC/NETWK/PGSM - - FAC/NETWK/PSTN - - FAC/NETWK/RADEHF - - FAC/NETWK/RADHF - - FAC/NETWK/RADIO - - FAC/NETWK/RADLF - - FAC/NETWK/RADMF - - FAC/NETWK/RADSHF - - FAC/NETWK/RADUHF - - FAC/NETWK/RADVHF - - FAC/NETWK/RADVLF - - FAC/NETWK/RAYNET - - FAC/NETWK/RELAY - - FAC/NETWK/SDSL - - FAC/NETWK/TV - - FAC/NETWK/UMTS - - FAC/NETWK/VDSL - - FAC/NETWK/WAN - - FAC/NETWK/WIMAX - - FAC/NETWK/WLAN - - FAC/OPR/AMBFAC - - FAC/OPR/BDHOLD - - FAC/OPR/CAMP - - FAC/OPR/CASBUR - - FAC/OPR/CASCLR - - FAC/OPR/CASCOL - - FAC/OPR/CP - - FAC/OPR/CSCLPT - - FAC/OPR/CVCLPT - - FAC/OPR/DEBRDP - - FAC/OPR/DECONP - - FAC/OPR/DISBED - - FAC/OPR/DOCFAC - - FAC/OPR/EMMORT - - FAC/OPR/EQPOOL - - FAC/OPR/EVASSP - - FAC/OPR/FACAIR - - FAC/OPR/FACMIL - - FAC/OPR/FACNAV - - FAC/OPR/FAMFRD - - FAC/OPR/FIRFAC - - FAC/OPR/FSAAMM - - FAC/OPR/GERBED - - FAC/OPR/HOLD - - FAC/OPR/HPD - - FAC/OPR/HPT - - FAC/OPR/HSP - - FAC/OPR/HSPFLD - - FAC/OPR/HSPFLD - - FAC/OPR/IRM - - FAC/OPR/MARSHAL - - FAC/OPR/MATBED - - FAC/OPR/MEDBED - - FAC/OPR/MEDSPT - - FAC/OPR/MOBLCP - - FAC/OPR/OPCTCN - - FAC/OPR/PHARMA - - FAC/OPR/POLFAC - - FAC/OPR/POLPT - - FAC/OPR/REFARE - - FAC/OPR/RRRSPT - - FAC/OPR/SITLOG - - FAC/OPR/SPTARE - - FAC/OPR/SRVCNT - - FAC/OPR/STCOCN - - FAC/OPR/STCTCN - - FAC/OPR/TCCTCN - - FAC/OTH/ACCOM - - FAC/OTH/AIRFLD - - FAC/OTH/BANK - - FAC/OTH/BATH - - FAC/OTH/CAN - - FAC/OTH/CEM - - FAC/OTH/DCH - - FAC/OTH/ELCINS - - FAC/OTH/ELCSPL - - FAC/OTH/EQIMFT - - FAC/OTH/FACGOV - - FAC/OTH/FACPOW - - FAC/OTH/FACTEC - - FAC/OTH/FACTEL - - FAC/OTH/FACTRN - - FAC/OTH/FATST - - FAC/OTH/FERINS - - FAC/OTH/FHPT - - FAC/OTH/LGRLPT - - FAC/OTH/MAINTF - - FAC/OTH/PTL - - FAC/OTH/RES - - FAC/OTH/VST - - FAC/OTH/WATSPL - - FAC/OTH/WSHFAC - - FAC/WATFIR/FOMBLK - - FAC/WATFIR/HYDRNT - - FAC/WATFIR/TOWNMN - - HUM/CAPAB - - HUM/PERSON - - HUM/UNIT - - HUM/CAPAB/AMB - - HUM/CAPAB/FIR - - HUM/CAPAB/MED - - HUM/CAPAB/MIL - - HUM/CAPAB/POL - - HUM/CAPAB/TRP - - HUM/CAPAB/AMB/INCOFF - - HUM/CAPAB/AMB/PARAMD - - HUM/CAPAB/AMB/SAFOFF - - HUM/CAPAB/AMB/TECHNIC - - HUM/CAPAB/FIR/BACOFF - - HUM/CAPAB/FIR/BAEOFF - - HUM/CAPAB/FIR/COMOFF - - HUM/CAPAB/FIR/CONOFF - - HUM/CAPAB/FIR/DECOFF - - HUM/CAPAB/FIR/FINOFF - - HUM/CAPAB/FIR/FOMOFF - - HUM/CAPAB/FIR/HAZOFF - - HUM/CAPAB/FIR/INCCOM - - HUM/CAPAB/FIR/LIAOFF - - HUM/CAPAB/FIR/LOGOFF - - HUM/CAPAB/FIR/MAROFF - - HUM/CAPAB/FIR/MEDOFF - - HUM/CAPAB/FIR/OPRCOM - - HUM/CAPAB/FIR/SAFOFF - - HUM/CAPAB/FIR/SALOFF - - HUM/CAPAB/FIR/SECCOM - - HUM/CAPAB/FIR/STAOFF - - HUM/CAPAB/FIR/STRCOM - - HUM/CAPAB/FIR/TACCOM - - HUM/CAPAB/FIR/WATOFF - - HUM/CAPAB/MED/ANSPHY - - HUM/CAPAB/MED/DNTPHY - - HUM/CAPAB/MED/DOCTOR - - HUM/CAPAB/MED/GYNPHY - - HUM/CAPAB/MED/HDNPHY - - HUM/CAPAB/MED/INMPHY - - HUM/CAPAB/MED/NURSE - - HUM/CAPAB/MED/ORTPHY - - HUM/CAPAB/MED/OTHPHY - - HUM/CAPAB/MED/PRCPHY - - HUM/CAPAB/MED/PSYPHY - - HUM/CAPAB/MED/PTHPHY - - HUM/CAPAB/MED/RADPHY - - HUM/CAPAB/MED/SURPHY - - HUM/CAPAB/MIL/AUTCDR - - HUM/CAPAB/MIL/INTOFF - - HUM/CAPAB/MIL/LIAISN - - HUM/CAPAB/MIL/OF1 - - HUM/CAPAB/MIL/OF10 - - HUM/CAPAB/MIL/OF2 - - HUM/CAPAB/MIL/OF3 - - HUM/CAPAB/MIL/OF4 - - HUM/CAPAB/MIL/OF5 - - HUM/CAPAB/MIL/OF6 - - HUM/CAPAB/MIL/OF7 - - HUM/CAPAB/MIL/OF8 - - HUM/CAPAB/MIL/OF9 - - HUM/CAPAB/MIL/OFFR - - HUM/CAPAB/MIL/OPSOFF - - HUM/CAPAB/MIL/OR1 - - HUM/CAPAB/MIL/OR2 - - HUM/CAPAB/MIL/OR3 - - HUM/CAPAB/MIL/OR4 - - HUM/CAPAB/MIL/OR5 - - HUM/CAPAB/MIL/OR6 - - HUM/CAPAB/MIL/OR7 - - HUM/CAPAB/MIL/OR8 - - HUM/CAPAB/MIL/OR9 - - HUM/CAPAB/MIL/OTHR - - HUM/CAPAB/MIL/POC - - HUM/CAPAB/POL/BMBOFF - - HUM/CAPAB/POL/CASOFF - - HUM/CAPAB/POL/COFF - - HUM/CAPAB/POL/DETCTV - - HUM/CAPAB/POL/DIVER - - HUM/CAPAB/POL/MOM - - HUM/CAPAB/POL/PIO - - HUM/CAPAB/POL/PMR - - HUM/CAPAB/POL/RDINV - - HUM/CAPAB/POL/SCO - - HUM/CAPAB/POL/SIO - - HUM/CAPAB/POL/STTTK - - HUM/CAPAB/TRP/AIRFW - - HUM/CAPAB/TRP/AIRRW - - HUM/CAPAB/TRP/AMPH - - HUM/CAPAB/TRP/LNDRAI - - HUM/CAPAB/TRP/LNDWHL - - HUM/CAPAB/TRP/SEASS - - HUM/CAPAB/TRP/SEASUR - - HUM/PERSON/CFIROF - - HUM/PERSON/GOVEMP - - HUM/PERSON/INTLCT - - HUM/PERSON/JRNLST - - HUM/PERSON/MEDIA - - HUM/PERSON/NONGVE - - HUM/PERSON/POLCHF - - HUM/PERSON/VILELD - - HUM/PERSON/WRITER - - HUM/UNIT/AIRLSN - - HUM/UNIT/C2 - - HUM/UNIT/CBRN - - HUM/UNIT/CONST - - HUM/UNIT/CRSMAN - - HUM/UNIT/DISID - - HUM/UNIT/EMPOFF - - HUM/UNIT/ENG - - HUM/UNIT/ENVOFF - - HUM/UNIT/FINANC - - HUM/UNIT/FIXWNG - - HUM/UNIT/GUID - - HUM/UNIT/HELCTR - - HUM/UNIT/LAWENF - - HUM/UNIT/LNDSPT - - HUM/UNIT/LOG - - HUM/UNIT/MAGRSP - - HUM/UNIT/MAINT - - HUM/UNIT/MDSADV - - HUM/UNIT/MEDCL - - HUM/UNIT/MST - - HUM/UNIT/MSURTM - - HUM/UNIT/NAVAL - - HUM/UNIT/POL - - HUM/UNIT/PSYCH - - HUM/UNIT/RAILWY - - HUM/UNIT/RECCE - - HUM/UNIT/RELCHP - - HUM/UNIT/RIVERN - - HUM/UNIT/SAR - - HUM/UNIT/SECPOL - - HUM/UNIT/SHRPAT - - HUM/UNIT/SPECIA - - HUM/UNIT/SURG - - HUM/UNIT/TRAUMA - - HUM/UNIT/TRNPTN - - HUM/UNIT/VET - - HUM/UNIT/WLFCOR - - HUM/UNIT/POL/AIRSPT - - HUM/UNIT/POL/MNTPOL - - HUM/UNIT/POL/PUBORD - - HUM/UNIT/POL/RDSPT - - HUM/UNIT/POL/SPCLST - - HUM/UNIT/SAR/CSAR - - HUM/UNIT/SAR/MSAR - - HUM/UNIT/SAR/RSAR - - HUM/UNIT/SAR/RST - - HUM/UNIT/SAR/SSAR - - HUM/UNIT/SAR/USAR - - HUM/UNIT/SAR/WSAR - - HUM/UNIT/SAR/USAR/CANIN - - HUM/UNIT/SAR/USAR/DETEC - - MAT/CM - - MAT/EQ - - MAT/VEH - - MAT/CM/ABSAG - - MAT/CM/BIOAGN - - MAT/CM/CHMAGN - - MAT/CM/CON - - MAT/CM/EXTAG - - MAT/CM/FOO - - MAT/CM/FUEL - - MAT/CM/FUSE - - MAT/CM/LUBRIC - - MAT/CM/MATING - - MAT/CM/MEDICN - - MAT/CM/MEDSPL - - MAT/CM/MEGPHN - - MAT/CM/MONEY - - MAT/CM/OIL - - MAT/CM/PAINT - - MAT/CM/PAPER - - MAT/CM/PPE - - MAT/CM/RATCO - - MAT/CM/RATFR - - MAT/CM/RATTI - - MAT/CM/RETAG - - MAT/CM/TIMBER - - MAT/CM/UNIFRM - - MAT/CM/WIRE - - MAT/CM/WTREXT - - MAT/CM/WTRPOT - - MAT/CM/ABSAG/CHM - - MAT/CM/ABSAG/PHY - - MAT/CM/EXTAG/CO2 - - MAT/CM/EXTAG/DRYMIN - - MAT/CM/EXTAG/FATFIR - - MAT/CM/EXTAG/FOAM - - MAT/CM/EXTAG/HALON - - MAT/CM/EXTAG/INERT - - MAT/CM/EXTAG/METPWD - - MAT/CM/EXTAG/POWDER - - MAT/CM/EXTAG/FOAM/AFFF - - MAT/CM/EXTAG/FOAM/AFFFAR - - MAT/CM/EXTAG/FOAM/OTH - - MAT/CM/FUEL/AVNFU - - MAT/CM/FUEL/DIESEL - - MAT/CM/FUEL/KEROS - - MAT/CM/FUEL/LPG - - MAT/CM/FUEL/NATGAS - - MAT/CM/FUEL/PETROL - - MAT/CM/MEDICN/1STAID - - MAT/CM/MEDICN/AMPHTM - - MAT/CM/MEDICN/BLOOD - - MAT/CM/MEDICN/BNDDR - - MAT/CM/MEDICN/KTMINE - - MAT/CM/MEDICN/MORFIN - - MAT/CM/MEDICN/WTRMED - - MAT/CM/PPE/CBRNKIT - - MAT/CM/PPE/CLOTH - - MAT/CM/PPE/RESP - - MAT/CM/PPE/SURCOT - - MAT/CM/PPE/CLOTH/CHEMCL - - MAT/CM/PPE/CLOTH/FFCLO - - MAT/CM/PPE/CLOTH/FKIT - - MAT/CM/PPE/CLOTH/CHEMCL/CHEMB - - MAT/CM/PPE/CLOTH/CHEMCL/CHEMG - - MAT/CM/PPE/CLOTH/CHEMCL/GASSU - - MAT/CM/PPE/CLOTH/CHEMCL/LIQSU - - MAT/CM/PPE/CLOTH/CHEMCL/SPLASU - - MAT/CM/PPE/CLOTH/CHEMCL/TEMPSU - - MAT/EQ/CBRN - - MAT/EQ/ELC - - MAT/EQ/ENG - - MAT/EQ/OTH - - MAT/EQ/POLICE - - MAT/EQ/CBRN/ABICHM - - MAT/EQ/CBRN/ABIDET - - MAT/EQ/CBRN/ACHDET - - MAT/EQ/CBRN/ARDDET - - MAT/EQ/CBRN/BIOINT - - MAT/EQ/CBRN/BIOSTO - - MAT/EQ/CBRN/CBRNDEC - - MAT/EQ/CBRN/CBRNREC - - MAT/EQ/CBRN/CHMMON - - MAT/EQ/CBRN/MSSPTR - - MAT/EQ/CBRN/RDSPTR - - MAT/EQ/ELC/AMTRAD - - MAT/EQ/ELC/C3I - - MAT/EQ/ELC/COMSYS - - MAT/EQ/ELC/COMVEH - - MAT/EQ/ELC/MULTIRE - - MAT/EQ/ELC/NAV - - MAT/EQ/ELC/NAVRAD - - MAT/EQ/ELC/OTH - - MAT/EQ/ELC/POWGN - - MAT/EQ/ELC/RIDD - - MAT/EQ/ELC/SEN - - MAT/EQ/ELC/SONAR - - MAT/EQ/ELC/THIMC - - MAT/EQ/ELC/VIBRA - - MAT/EQ/ELC/COMSYS/MEGPHN - - MAT/EQ/ELC/COMSYS/PAGER - - MAT/EQ/ELC/COMSYS/PMRRDIO - - MAT/EQ/ELC/COMSYS/PUBADD - - MAT/EQ/ELC/COMSYS/RDBRCT - - MAT/EQ/ENG/BRIDGG - - MAT/EQ/ENG/CNSTVE - - MAT/EQ/ENG/CONST - - MAT/EQ/ENG/DOZER - - MAT/EQ/ENG/ERTHMV - - MAT/EQ/ENG/FIRFGT - - MAT/EQ/ENG/INTEL - - MAT/EQ/ENG/MINECL - - MAT/EQ/ENG/MINEDT - - MAT/EQ/ENG/MINEMR - - MAT/EQ/ENG/WPNPRT - - MAT/EQ/ENG/FIRFGT/BRHTAP - - MAT/EQ/ENG/FIRFGT/CEAR - - MAT/EQ/ENG/FIRFGT/CEC - - MAT/EQ/ENG/FIRFGT/CECH - - MAT/EQ/ENG/FIRFGT/CEEV - - MAT/EQ/ENG/FIRFGT/CEM - - MAT/EQ/ENG/FIRFGT/CEPC - - MAT/EQ/ENG/FIRFGT/CEPO - - MAT/EQ/ENG/FIRFGT/CEPOL - - MAT/EQ/ENG/FIRFGT/CER - - MAT/EQ/ENG/FIRFGT/CESD - - MAT/EQ/ENG/FIRFGT/GRDMON - - MAT/EQ/ENG/FIRFGT/MPR - - MAT/EQ/ENG/FIRFGT/RAR - - MAT/EQ/ENG/FIRFGT/UMIR - - MAT/EQ/ENG/FIRFGT/VAMUR - - MAT/EQ/ENG/INTEL/CAMERA - - MAT/EQ/ENG/INTEL/CCTVCM - - MAT/EQ/ENG/INTEL/CDVDOG - - MAT/EQ/ENG/INTEL/FSPDCM - - MAT/EQ/ENG/INTEL/FTFLCM - - MAT/EQ/ENG/INTEL/PSPDCM - - MAT/EQ/ENG/INTEL/TCKDOG - - MAT/EQ/ENG/WPNPRT/BALVST - - MAT/EQ/ENG/WPNPRT/BATON - - MAT/EQ/ENG/WPNPRT/ENFDOG - - MAT/EQ/ENG/WPNPRT/FIREARM - - MAT/EQ/ENG/WPNPRT/HNDCUF - - MAT/EQ/ENG/WPNPRT/OFFPRT - - MAT/EQ/ENG/WPNPRT/PRSCNT - - MAT/EQ/OTH/BLNKT - - MAT/EQ/OTH/CONTNR - - MAT/EQ/OTH/CUTING - - MAT/EQ/OTH/TANK - - MAT/EQ/OTH/TENT - - MAT/EQ/OTH/WATPUR - - MAT/EQ/POLICE/BRTEST - - MAT/EQ/POLICE/CONE - - MAT/EQ/POLICE/LAMP - - MAT/EQ/POLICE/STINGER - - MAT/EQ/POLICE/TORCH - - MAT/EQ/POLICE/UNFRMC - - MAT/EQ/POLICE/UNFRMN - - MAT/VEH/AIRCRF - - MAT/VEH/HORSE - - MAT/VEH/RAILVE - - MAT/VEH/ROADVE - - MAT/VEH/VESSEL - - MAT/VEH/AIRCRF/AIRTRS - - MAT/VEH/AIRCRF/CMDCTL - - MAT/VEH/AIRCRF/HEL - - MAT/VEH/AIRCRF/HELCMD - - MAT/VEH/AIRCRF/HELMED - - MAT/VEH/AIRCRF/HELREC - - MAT/VEH/AIRCRF/MEDEVC - - MAT/VEH/AIRCRF/PLANE - - MAT/VEH/AIRCRF/POLHEL - - MAT/VEH/AIRCRF/RECCE - - MAT/VEH/AIRCRF/SAR - - MAT/VEH/AIRCRF/TANKER - - MAT/VEH/AIRCRF/UAV - - MAT/VEH/RAILVE/LCMDSE - - MAT/VEH/RAILVE/LCMDSL - - MAT/VEH/RAILVE/LCMELC - - MAT/VEH/RAILVE/LCMSTM - - MAT/VEH/RAILVE/LCMTND - - MAT/VEH/RAILVE/LCMTVE - - MAT/VEH/RAILVE/RLDEQP - - MAT/VEH/RAILVE/RLLSTK - - MAT/VEH/RAILVE/TRAM - - MAT/VEH/RAILVE/WGNART - - MAT/VEH/RAILVE/WGNBRK - - MAT/VEH/RAILVE/WGNCAR - - MAT/VEH/RAILVE/WGNCRG - - MAT/VEH/RAILVE/WGNCSS - - MAT/VEH/RAILVE/WGNCTL - - MAT/VEH/RAILVE/WGNFLB - - MAT/VEH/RAILVE/WGNFUL - - MAT/VEH/RAILVE/WGNHPR - - MAT/VEH/RAILVE/WGNISO - - MAT/VEH/RAILVE/WGNLQD - - MAT/VEH/RAILVE/WGNMNR - - MAT/VEH/RAILVE/WGNOPC - - MAT/VEH/RAILVE/WGNPAS - - MAT/VEH/RAILVE/WGNRFG - - MAT/VEH/RAILVE/WGNRPR - - MAT/VEH/RAILVE/WGNSPP - - MAT/VEH/RAILVE/WGNWAT - - MAT/VEH/RAILVE/WGNWFL - - MAT/VEH/ROADVE/AMBUL - - MAT/VEH/ROADVE/AUTOMO - - MAT/VEH/ROADVE/BICYCL - - MAT/VEH/ROADVE/BUS - - MAT/VEH/ROADVE/CCTRCK - - MAT/VEH/ROADVE/CRANE - - MAT/VEH/ROADVE/FRFGTN - - MAT/VEH/ROADVE/HETVEH - - MAT/VEH/ROADVE/MAINT - - MAT/VEH/ROADVE/MHVEH - - MAT/VEH/ROADVE/MILUV - - MAT/VEH/ROADVE/MOTCYC - - MAT/VEH/ROADVE/POD - - MAT/VEH/ROADVE/POLICE - - MAT/VEH/ROADVE/SEMI - - MAT/VEH/ROADVE/TRACTR - - MAT/VEH/ROADVE/TRAILR - - MAT/VEH/ROADVE/TRLBUS - - MAT/VEH/ROADVE/TRUCK - - MAT/VEH/ROADVE/FRFGTN/AERIAL - - MAT/VEH/ROADVE/FRFGTN/BREATH - - MAT/VEH/ROADVE/FRFGTN/C3 - - MAT/VEH/ROADVE/FRFGTN/FRF - - MAT/VEH/ROADVE/FRFGTN/HAZMAT - - MAT/VEH/ROADVE/FRFGTN/OTHR - - MAT/VEH/ROADVE/FRFGTN/PERCAR - - MAT/VEH/ROADVE/FRFGTN/PUMP - - MAT/VEH/ROADVE/FRFGTN/RSC - - MAT/VEH/ROADVE/POLICE/COMLIA - - MAT/VEH/ROADVE/POLICE/DOGUNT - - MAT/VEH/ROADVE/POLICE/GENPUR - - MAT/VEH/ROADVE/POLICE/HAZMAT - - MAT/VEH/ROADVE/POLICE/MBIKE - - MAT/VEH/ROADVE/POLICE/PATROL - - MAT/VEH/ROADVE/POLICE/RSPONSE - - MAT/VEH/ROADVE/POLICE/TRAFFIC - - MAT/VEH/ROADVE/POLICE/TRANSIT - - MAT/VEH/ROADVE/POLICE/VAN - - MAT/VEH/VESSEL/AIRCAR - - MAT/VEH/VESSEL/AMPH - - MAT/VEH/VESSEL/BARGE - - MAT/VEH/VESSEL/BARSHP - - MAT/VEH/VESSEL/BRDGBT - - MAT/VEH/VESSEL/CNTSHP - - MAT/VEH/VESSEL/CSRSHP - - MAT/VEH/VESSEL/CSTSHP - - MAT/VEH/VESSEL/DPSMVS - - MAT/VEH/VESSEL/FERRY - - MAT/VEH/VESSEL/FIRBOT - - MAT/VEH/VESSEL/FLTCRN - - MAT/VEH/VESSEL/FLTDRG - - MAT/VEH/VESSEL/FLTDRY - - MAT/VEH/VESSEL/FREBLK - - MAT/VEH/VESSEL/FRELIQ - - MAT/VEH/VESSEL/HOSSHP - - MAT/VEH/VESSEL/HOVCRF - - MAT/VEH/VESSEL/ICEBRK - - MAT/VEH/VESSEL/LAUNCH - - MAT/VEH/VESSEL/LGHTER - - MAT/VEH/VESSEL/LNDCRF - - MAT/VEH/VESSEL/MERSHP - - MAT/VEH/VESSEL/MOBLS - - MAT/VEH/VESSEL/OILER - - MAT/VEH/VESSEL/PASSGR - - MAT/VEH/VESSEL/PATVES - - MAT/VEH/VESSEL/POLSPD - - MAT/VEH/VESSEL/PRV - - MAT/VEH/VESSEL/RAFT - - MAT/VEH/VESSEL/RPRSHP - - MAT/VEH/VESSEL/SAILVS - - MAT/VEH/VESSEL/SALSHP - - MAT/VEH/VESSEL/SMLLBO - - MAT/VEH/VESSEL/SUBMAR - - MAT/VEH/VESSEL/TANKER - - MAT/VEH/VESSEL/TENDER - - MAT/VEH/VESSEL/TUGBOT - - ORG/AMBUL - - ORG/CIVP - - ORG/COASTG - - ORG/DOCTOR - - ORG/ENVAGC - - ORG/FIRFS - - ORG/GEND - - ORG/HOSP - - ORG/IDCOM - - ORG/LCRESF - - ORG/LOCAUT - - ORG/MARAGC - - ORG/METAGC - - ORG/MIL - - ORG/NGO - - ORG/POLCNG - - ORG/POLICE - - ORG/RGRESF - - ORG/SPADPV - - ORG/TRS - - ORG/WATAGC - examples: - - MAT/VEH/ROADVE/FRFGTN - CAPABILITY: - type: array - x-health-only: false - items: - type: string - title: "Capacit\xE9s de la ressource" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/RTYPE/CAPABILITY/0 - description: "Permet d'indiquer les capacit\xE9s de la ressource d'apr\xE8\ - s le standard EMSI" - examples: - - None - CHARACTERISTICS: - type: array - x-health-only: false - items: - type: string - title: "Caract\xE9ristiques de la ressource" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/RTYPE/CHARACTERISTICS/0 - description: "Permet d'indiquer des caract\xE9ristique physiques de la\ - \ ressource (hauteur, largeur, longueur et poids).\nLe d\xE9tail de\ - \ fonctionnement de cette nomenclature est fournie en annexe." - examples: - - None - additionalProperties: false - example: example.json#/emsi/RESOURCE/0/RTYPE - rgeo: - type: object - title: Localisation de la ressource - x-display: expansion-panels - x-health-only: false - required: - - TYPE - properties: - DATIME: - type: string - title: Horaire de la localisation - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/RGEO/0/DATIME - description: "Horaire associ\xE9 \xE0 l'arriv\xE9e de la ressource sur la\ - \ position. En fonction du TYPE de possition, peut indiquer un horaire\ - \ de relev\xE9 de position, un horaire cible d'arriv\xE9e." - pattern: \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}[\-+]\d{2}:\d{2} - format: date-time - examples: - - '2022-09-27T08:44:00+02:00' - TYPE: - type: string - title: Type de localisation - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/RGEO/0/TYPE - description: "Type de position indiqu\xE9 pour la ressource :\n- ASP : assembly\ - \ point. Point de rassemblement par d\xE9faut des ressources li\xE9es\ - \ \xE0 la mission. Peut ne pas \xEAtre utilis\xE9\n- CUR : current. Position\ - \ actualis\xE9e de la ressource permettant le suivi g\xE9olocalis\xE9\ - \ des v\xE9hicules notamment. Peut ne pas \xEAtre utilis\xE9\n- INC :\ - \ incident. Consigne relative au positionnement de la ressource sur le\ - \ lieu d'intervention. Peut ne pas \xEAtre utilis\xE9\n- STG : staging\ - \ point. Consigne relative au stationnement des v\xE9hicules ou au stockage\ - \ du mat\xE9riel par exemple. peut ne pas \xEAtre utilis\xE9\n- TGT :\ - \ targer location. Si renseign\xE9, doit \xEAtre coh\xE9rent avec la position\ - \ renseign\xE9e pour la mission.\nPlusieurs positions du m\xEAme type\ - \ avec des horodatages diff\xE9rents peuvent \xEAtre fournies. " - enum: - - ASP - - CUR - - INC - - STG - - TGT - examples: - - CUR - FREETEXT: - type: string - title: 'Texte libre ' - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/RGEO/0/FREETEXT - description: "Permet de rajouter des pr\xE9cisions sur la localisation de\ - \ la ressource transmise" - examples: - - "Position actualis\xE9e du VSAV 1 Nantes" - ID: - type: string - title: ID localisation - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/RGEO/0/ID - description: "Identifiant unique de la position dans le syst\xE8me du partenaire" - examples: - - None - POSITION: - type: array - items: - $ref: '#/components/schemas/position' - additionalProperties: false - example: example.json#/emsi/RESOURCE/0/RGEO/0 - contact: - type: object - title: Contacts - x-display: expansion-panels - x-health-only: false - required: - - TYPE - - DETAIL - properties: - TYPE: - type: string - title: Type de contact - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/CONTACTS/0/TYPE - description: "Type de contact, voir \xE9num\xE9ration associ\xE9e\n\n1.\ - \ PMRADD (si RFGI disponible)\n2. PHNADD pour t\xE9l\xE9phonie" - enum: - - PSTADD - - EMLADD - - IPADD - - FTPADD - - WWWADD - - PHNADD - - FAXADD - - PMRADD - examples: - - PHNADD - DETAIL: - type: string - title: "D\xE9tails de contact" - x-health-only: false - x-cols: 6 - example: example.json#/emsi/RESOURCE/0/CONTACTS/0/DETAIL - description: "1. RFGI du moyen NEXSIS (si RFGI disponible)\n2. Num\xE9ro\ - \ de t\xE9l\xE9phone" - examples: - - 606070707 - additionalProperties: false - example: example.json#/emsi/RESOURCE/0/CONTACTS/0 - examples: - - TYPE: PHNADD - DETAIL: 606070707 diff --git a/csv_parser/out/EMSI/EMSI.schema.json b/csv_parser/out/EMSI/EMSI.schema.json deleted file mode 100644 index 18e3726815..0000000000 --- a/csv_parser/out/EMSI/EMSI.schema.json +++ /dev/null @@ -1,2441 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "classpath:/json-schema/schema#", - "x-id": "EMSI.schema.json#", - "version": "24.02.15", - "example": "example.json#", - "type": "object", - "title": "emsi", - "required": [ - "emsi" - ], - "properties": { - "emsi": { - "$ref": "#/definitions/emsi" - } - }, - "definitions": { - "emsi": { - "type": "object", - "title": "Objet emsi", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "CONTEXT", - "EVENT" - ], - "properties": { - "CONTEXT": { - "$ref": "#/definitions/context" - }, - "EVENT": { - "$ref": "#/definitions/event" - }, - "MISSION": { - "type": "array", - "items": { - "$ref": "#/definitions/mission" - } - }, - "RESOURCE": { - "type": "array", - "items": { - "$ref": "#/definitions/resource" - } - } - }, - "additionalProperties": false, - "example": "example.json#/emsi" - }, - "context": { - "type": "object", - "title": "Contexte", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "ID", - "MODE", - "MSGTYPE" - ], - "properties": { - "ID": { - "type": "string", - "title": "Identifiant du message", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/ID", - "description": "A constituer par le r\u00e9dacteur du pr\u00e9sent EMSI pour \u00eatre unique, il est pr\u00e9conis\u00e9 de reprendre la valeur du champ messageId de l'ent\u00eate RC-DE." - }, - "MODE": { - "type": "string", - "title": "Mode", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/MODE", - "description": "Valeur constante dans le cadre des \u00e9changes LRM-NexSIS : ACTUAL", - "enum": [ - "ACTUAL", - "EXERCS", - "SYSTEM", - "TEST" - ] - }, - "MSGTYPE": { - "type": "string", - "title": "Type de message", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/MSGTYPE", - "description": "- A valoriser avec la valeur \"ALERT\" lors du premier \u00e9change entre syst\u00e8mes.\n- A valoriser avec la valeur constante \"UPDATE\" ensuite.\nPeut ne pas \u00eatre interpr\u00e9t\u00e9 par les LRM.", - "enum": [ - "ACK", - "ALERT", - "CANCEL", - "ERROR", - "UPDATE" - ] - }, - "CREATION": { - "type": "string", - "title": "Date et heure de cr\u00e9ation", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/CREATION", - "description": "Obligatoire dans le cadre d'une demande de concours, contient la date de cr\u00e9ation de la demande de concours dans le syst\u00e8me du partenaire requ\u00e9rant.\nA valoriser avec le m\u00eame horaire que dateTimeSent dans le message RC-DE associ\u00e9.\nDans le cadre d'une demande de concours, obligatoire. Ce champ est valoris\u00e9e avec l'heure de cr\u00e9ation de la demande de concours chez le partenaire emetteur. L'heure d'envoi du message peut \u00eatre obtenue via l'enveloppe EDXL-DE (se r\u00e9f\u00e9rer au DST)", - "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[\\-+]\\d{2}:\\d{2}", - "format": "date-time" - }, - "LINK": { - "type": "array", - "items": { - "$ref": "#/definitions/link" - } - }, - "LEVEL": { - "type": "string", - "title": "Niveau", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/LEVEL", - "description": "A valoriser avec la valeur constante \"OPR\" dans le cadre du message EMSI-EO", - "enum": [ - "STRTGC", - "OPR", - "TACTCL" - ] - }, - "SECLASS": { - "type": "string", - "title": "Niveau de classification", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/SECLASS", - "description": "Optionnel\n\nDans NexSIS ; \nLes messages transmis par NexSIS auront un champ valoris\u00e9 avec syst\u00e9matiquement le m\u00eame code: \"RESTRC\"=restricted\nLes LRM doivent \u00e9galement renseigner la valeur \"RESTRC\"", - "enum": [ - "CONFID", - "RESTRC", - "SECRET", - "TOPSRT", - "UNCLAS", - "UNMARK" - ] - }, - "FREETEXT": { - "type": "string", - "title": "Texte libre", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/FREETEXT", - "description": "Texte libre, optionnel\n\nDans NexSIS;\n Fonction de l'\u00e9v\u00e9nement g\u00e9n\u00e9rateur\nRG 1 : la valeur de reste \u00e0 'Cr\u00e9ation d'un \u00e9v\u00e9nement op\u00e9rationnel EMSI' & version & 'suite \u00e0 r\u00e9ception d'une affaire*' dans le cadre de la cr\u00e9ation d'une op\u00e9ration commune (conforme RG 2 de NEXSIS-6618)\nRG 3 : les \u00e9v\u00e9nements g\u00e9n\u00e9rateurs sont ceux d\u00e9finis au sein de NEXSIS-6619 RG 1 de tra\u00e7abilit\u00e9 ( input = = CREATION_OPERATION / MAJ_MODIFICATION_ETAT_OPERATION / AJOUT_RESSOURCE / RETRAIT_RESSOURCE / MAJ_ETAT_SITUATION_RESSOURCE / MAJ_LOCALISATION_ADRESSE) auxquels seront ajout\u00e9s les \u00e9ventuels \u00e9v\u00e9nements \u00e0 venir." - }, - "ORIGIN": { - "$ref": "#/definitions/origin" - }, - "EXTERNAL_INFO": { - "type": "array", - "items": { - "$ref": "#/definitions/externalInfo" - } - }, - "URGENCY": { - "type": "string", - "title": "Niveau d'urgence de l'\u00e9v\u00e9nement", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/URGENCY", - "description": "Niveau d'urgence pour l'affaire en cours\nDans le cadre des \u00e9changes LRM-NexSIS, optionnel", - "enum": [ - "URGENT", - "NOT_URGENT" - ] - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/CONTEXT" - }, - "event": { - "type": "object", - "title": "Evenement", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "ID" - ], - "properties": { - "ID": { - "type": "string", - "title": "Identifiant local de l'affaire", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/ID", - "description": "Identifiant local de l'affaire dans le syst\u00e8me du partenaire emetteur" - }, - "NAME": { - "type": "string", - "title": "Nom donn\u00e9 \u00e0 l'\u00e9v\u00e9nement", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/NAME", - "description": "Optionnel\nDans nexSIS; [libelle NF 1 m\u00e9tier] & \" - \" & [libelle TL 1 m\u00e9tier] & \" - \" & [libell\u00e9 commune]" - }, - "MAIN_EVENT_ID": { - "type": "string", - "title": "Identifiant de l'affaire", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/MAIN_EVENT_ID", - "description": "Identifiant d\u2019affaire partag\u00e9 issu du message RC-EDA transmis en amont\nNB : Dans le cas d\u2019un partage initi\u00e9 par un SAMU, on peut avoir EVENT.ID = EVENT.MAIN_EVENT_ID" - }, - "ETYPE": { - "$ref": "#/definitions/etype" - }, - "SOURCE": { - "type": "string", - "title": "Source", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/SOURCE", - "description": "Optionnel", - "enum": [ - "COMFOR", - "HUMDED", - "HUMOBS", - "SENSOR" - ] - }, - "SCALE": { - "type": "string", - "title": "Echelle de s\u00e9v\u00e9rit\u00e9 de l'environnement", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/SCALE", - "description": "Optionnel, Niveau de criticit\u00e9 de l'op\u00e9ration", - "enum": [ - "1", - "2", - "3", - "4", - "5" - ] - }, - "CERTAINTY": { - "type": "integer", - "title": "Fiabilit\u00e9", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/CERTAINTY", - "description": "Prend une valeur enti\u00e8re entre 0 et 100, et d\u00e9crit \u00e0 quel point l'alerte associ\u00e9e \u00e0 l'\u00e9v\u00e9nement est fiable\nOptionnel" - }, - "DECL_DATIME": { - "type": "string", - "title": "Date de d\u00e9claration de l'event", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/DECL_DATIME", - "description": "Dans le cadre d'une demande de concours, ce champ est valoris\u00e9 avec la date/heure de cr\u00e9ation de l'affaire ou de l'op\u00e9ration.\nNexSIS transmettra la date/heure de cr\u00e9ation de l'op\u00e9ration dans ses syst\u00e8mes (qui peut diverger de la date/heure de cr\u00e9ation de l'affaire)", - "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[\\-+]\\d{2}:\\d{2}", - "format": "date-time" - }, - "OCC_DATIME": { - "type": "string", - "title": "D\u00e9crit la date et le lieu de l'\u00e9v\u00e9nement", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/OCC_DATIME", - "description": "Dans le cadre d'une demande de concours, ce champ est valoris\u00e9 avec la date de la premi\u00e8re alerte ou la date \u00e9valu\u00e9e de d\u00e9but de la situation d'urgence.\nPar exemple :\nSi un incendie est d\u00e9clar\u00e9 est 9h02, il a pu d\u00e9marr\u00e9 \u00e0 8h55 par exemple.\nNB : temporairement, NexSIS renseignera ce champ avec la date de r\u00e9ception de l'alerte initiale", - "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[\\-+]\\d{2}:\\d{2}", - "format": "date-time" - }, - "OBS_DATIME": { - "type": "string", - "title": "Date \u00e0 laquelle l'observation la plus r\u00e9cente a \u00e9t\u00e9 r\u00e9alis\u00e9e", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/OBS_DATIME", - "description": "Ce champ est id\u00e9alement \u00e0 valoriser avec la date/heure \u00e0 laquelle l'observation de la situation d'urgence de l'affaire la plus r\u00e9cente a \u00e9t\u00e9 r\u00e9alis\u00e9e.\nNexSIS transmettra la date/heure d'envoi de la demande de concours dans son syst\u00e8me.\nNB : temporairement, NexSIS renseignera ce champ avec la date de r\u00e9ception de l'alerte initiale", - "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[\\-+]\\d{2}:\\d{2}", - "format": "date-time" - }, - "STATUS": { - "type": "string", - "title": "Status", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/STATUS", - "description": "Permet de d\u00e9crire le status de l'affaire en cours.\nCe champ suit une nomenclature EMSI. (COM = event complete, IPR = event in progress, NST = event not started, STOP = STOP = event under control, no need for additional resource)\nDans le cadre d'une op\u00e9ration :\n- si l'op\u00e9ration est encore en cours : rensigner 'IPR',\n- si le dispatching de moyens est encore en cours ou que seulement des qualifications d'alertes ont \u00e9t\u00e9 \u00e9chang\u00e9es sans aucune d\u00e9cision de r\u00e9gulation 'NST',\n- si l'op\u00e9ration est en pause/veille : 'STOP'\n- si le message d'\u00e9change op\u00e9rationnel d\u00e9crit une fin d'op\u00e9ration, \u00e0 renseigner avec 'COM'\nUn message EMSI-EO sans RESSOURCE ni ", - "enum": [ - "COM", - "IPR", - "NST", - "STOP" - ] - }, - "RISK_ASSESMENT": { - "type": "string", - "title": "Pr\u00e9diction sur le risque d'\u00e9volution de l'event", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/RISK_ASSESMENT", - "description": "Optionnel", - "enum": [ - "NCREA", - "DECREA", - "STABLE" - ] - }, - "REFERENCE": { - "type": "array", - "items": { - "$ref": "#/definitions/reference" - } - }, - "CASUALTIES": { - "type": "array", - "items": { - "$ref": "#/definitions/casualties" - } - }, - "EVAC": { - "type": "array", - "items": { - "$ref": "#/definitions/evac" - } - }, - "EGEO": { - "type": "array", - "items": { - "$ref": "#/definitions/egeo" - } - }, - "CAUSE": { - "type": "string", - "title": "Cause", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/CAUSE", - "description": "Optionnel", - "enum": [ - "ACC", - "DEL", - "NAT" - ] - }, - "FREETEXT": { - "type": "string", - "title": "Texte libre", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/FREETEXT", - "description": "Optionnel" - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/EVENT" - }, - "mission": { - "type": "object", - "title": "Missions", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "TYPE" - ], - "properties": { - "TYPE": { - "type": "string", - "title": "Type", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/MISSION/0/TYPE", - "description": "Le champ MISSION TYPE permet d'identifier l'effet \u00e0 obtenir souhait\u00e9 \u00e0 partir de la combinaison du code ACTOR et du code TYPE.\n=> La table de transcodage permettant d'identifier les concourants et les effets \u00e0 obtenir \u00e0 partir d'un code EMSI est fournie en annexe \"R\u00e9f\u00e9rentiel Effets \u00e0 Obtenir - correspondance EMSI\".\nDans le cadre d'une r\u00e9ponse \u00e0 DC :\n- reprendre le type de la DC si le code r\u00e9ponse choisi est vien \"VALIDE\"\nDans le cadre d'une mission d\u00e9crivant les op\u00e9rations en cours :\n- reprendre la nomenclature EMSI pour caract\u00e9riser la mission en cours.", - "enum": [ - "C2", - "CBRN", - "FF", - "FSTT", - "GEN", - "INT", - "MAC", - "MIL", - "NET", - "OPR", - "POL", - "REC", - "RSC", - "SAV", - "SCS", - "SOC", - "C2/DEBRIF", - "C2/DNRSKA", - "C2/INASSM", - "C2/OIC", - "C2/POA", - "C2/THRTAS", - "CBRN/CBRNCH", - "CBRN/CBRNDC", - "CBRN/NTRCH", - "CBRN/NUCWS", - "FF/IN", - "FF/OA", - "FF/SALVAG", - "FF/STR", - "FF/TRP", - "FSTT/DI", - "FSTT/RRHAZ", - "FSTT/TA", - "GEN/AIRLAU", - "GEN/ASSMBL", - "GEN/CRWDCT", - "GEN/DEMO", - "GEN/DEPLOY", - "GEN/DSTRBT", - "GEN/FINANC", - "GEN/MARKNG", - "GEN/MOVE", - "GEN/RECVRN", - "GEN/RECVRY", - "GEN/REDPLN", - "GEN/REORGN", - "GEN/REPAIR", - "GEN/RESPLN", - "GEN/RESTNG", - "GEN/RETIRE", - "GEN/RLFPLC", - "GEN/RNDZVS", - "GEN/SCNMNG", - "GEN/SECRNG", - "GEN/STNGUP", - "GEN/SUPRTN", - "GEN/TRNSPN", - "INT/BIOSMP", - "INT/CHMSMP", - "INT/IDENT", - "INT/ILLUMN", - "INT/LOCTNG", - "INT/NUCSMP", - "INT/OBSRNG", - "INT/PLUMOD", - "INT/PTRLNG", - "INT/RECCE", - "INT/SRVMET", - "INT/SRVSEN", - "INT/WITNSN", - "MAC/AII", - "MAC/COL", - "MIL/BCESC", - "MIL/BLOCKN", - "MIL/BOMBNG", - "MIL/CAPTUR", - "MIL/CTRATK", - "MIL/DEFEND", - "MIL/DISENG", - "MIL/DIVRSN", - "MIL/DLBATK", - "MIL/DSRPTN", - "MIL/ENVLPN", - "MIL/FIX", - "MIL/HARASS", - "MIL/HIDE", - "MIL/HLDDEF", - "MIL/HLDOFF", - "MIL/INFLTN", - "MIL/INTCPN", - "MIL/INTDCT", - "MIL/MASFOR", - "MIL/MIL", - "MIL/WPNFIR", - "NET/COMDEA", - "NET/DATTRF", - "NET/NETJAM", - "NET/NETSEI", - "NET/SGNC", - "NET/SGNLE", - "POL/NTRCOM", - "POL/NTREXP", - "POL/SCNMNG", - "POL/SCNPRS", - "POL/SHELTR", - "POL/SUSHOS", - "POL/WITDRL", - "REC/CLROBS", - "REC/COMACT", - "REC/COMRES", - "REC/CONSTN", - "REC/ENGCN", - "REC/ENGCNN", - "REC/PROCUR", - "REC/PRVACC", - "REC/PRVAGR", - "REC/PRVBDD", - "REC/PRVCMP", - "REC/PRVCNS", - "REC/PRVDCN", - "REC/PRVEDU", - "REC/PRVHLT", - "REC/PRVHSN", - "REC/PRVINF", - "REC/PRVLND", - "REC/PRVRPR", - "REC/PRVSCY", - "REC/PRVSHL", - "REC/PRVSTG", - "REC/PRVTRS", - "REC/PSO", - "REC/SPLLDB", - "REC/SPLWAT", - "REC/UTILTY", - "REC/WATER", - "RSC/COVERN", - "RSC/FRFGTN", - "RSC/MEDEVC", - "RSC/SAR", - "SAV/AR", - "SAV/ASC", - "SAV/RHD", - "SAV/RTA", - "SAV/SARCSL", - "SAV/SARHHA", - "SAV/SRW", - "SAV/USAR", - "SAV/UW", - "SCS/EDU", - "SOC/CNDCNF", - "SOC/CNDMED", - "SOC/CNDRCR", - "SOC/CNDSCL", - "SOC/CNDSPT", - "SOC/ISSMDA", - "SOC/ISSMDD", - "SOC/ISSPRS", - "SOC/MN", - "SOC/PUBMDA", - "SOC/PUBMDD", - "SOC/PUBPRS" - ] - }, - "FREETEXT": { - "type": "string", - "title": "Texte libre", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/MISSION/0/FREETEXT", - "description": "Contient des commentaires relatifs aux objectifs et moyens sollicit\u00e9s dans le cadre de la demande de concours. Les \u00e9quipements suppl\u00e9mentaires souhait\u00e9s ou le nom/ pr\u00e9nom des patients \u00e0 prendre en charge peuvent \u00eatre explicitement indiqu\u00e9s ici." - }, - "ID": { - "type": "string", - "title": "Identifiant de la mission", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/MISSION/0/ID", - "description": "Contient un identifiant de demande de concours unique. Cet identifiant sera r\u00e9utilisable par le partenaire pour r\u00e9pondre \u00e0 cette demande.\nIdentifiant unique de la mission dans le syst\u00e8me du partenaire la conduisant." - }, - "ORG_ID": { - "type": "string", - "title": "Identifiant de l'organisation propri\u00e9taire", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/MISSION/0/ORG_ID", - "description": "Indique l'organisation du partenaire concern\u00e9 par la Demande de Concours (voir DSF 8.4). Le code CRRA ou le code du SIS peut \u00eatre utilis\u00e9.\nIndique l'organisation du service r\u00e9alisant la mission. Dans le cas d'une r\u00e9ponse, c'est l'organisation du concourant qui doit \u00eatre indiqu\u00e9e.\nSe r\u00e9f\u00e9rer au DSF pour la structure norm\u00e9e des organisations\nLe format est le suivant {pays}:{domaine}:{code d\u00e9partement}:{organisation}:{structure interne}*:{unit\u00e9 fonctionnelle}*.\nidentique \u00e0 " - }, - "NAME": { - "type": "string", - "title": "Nom de la mission", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/MISSION/0/NAME", - "description": "Le nom de la mission est construit \u00e0 partir de l'expression r\u00e9guli\u00e8re suivante :\n\"#DEMANDE_CONCOURS#\"{libelle_cadre_conventionnel}\"#\"{code_cadre_conventionnel}\"#\"\no\u00f9 le code_cadre_conventionnel est issue d'une nomenclature CISU-Cadre Conventionnel (A Venir)\nNB : ce champ est d\u00e9tourn\u00e9 par rapport au standard EMSI pour permettre l'expression d'une demande de concours et indiquer le cadre conventionnel dans lequel elle est effectu\u00e9e.\nPour une r\u00e9ponse \u00e0 demande de concours :\n- Le nom de la mission est construit \u00e0 partir de l'expression r\u00e9guli\u00e8re suivante :\n\"#REPONSE_DEMANDE_CONCOURS#\"{code_reponse}\"#\"\no\u00f9 le code_reponse peut prendre les valeurs ACCEPTE, REFUS, PARTIELLE, DIVERGENTE\n- sinon libre" - }, - "STATUS": { - "type": "string", - "title": "Status de la mission", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/MISSION/0/STATUS", - "description": "Les valeurs possibles avec lesquelles valoriser ce champ sont d\u00e9taill\u00e9es au sein d'une nomenclature EMSI\n- ABO : mission refus\u00e9e (ABOrted)\n- CANCLD : mission annul\u00e9e (CANCeLeD)**\n- NST : mission non d\u00e9but\u00e9 pour le m\u00e9tier (Not STarted)\n- IPR : mission d\u00e9but\u00e9 pour le m\u00e9tier (In PRogress). la valeur IPR peut \u00eatre suivi d'une valeur num\u00e9rique de 00 \u00e0 100 (IPRnn) sp\u00e9cifiant le degr\u00e9 d'avancement de la mission. Ce principe n'est pas retenu au sein de NexSIS qui ne transmettra pas d'indication sur le degr\u00e9 d'avancement de la mission via ce champ.\n- PAU : \u00e9v\u00e9nement arr\u00eat\u00e9, en pause pour m\u00e9tier, pas de besoin suppl\u00e9mentaire\n- COM : \u00e9v\u00e9nement termin\u00e9 pour le m\u00e9tier (COMplete)\nLe status de la mission et celui des RESSOURCE associ\u00e9es doit \u00eatre coh\u00e9rent et transcodable avec un status ANTARES (voir DSF)\n\nDans le cas d'un objet MISSION g\u00e9n\u00e9rique de r\u00e9ponse \u00e0 demande de concours, le champ doit \u00eatre valoris\u00e9 \u00e0 \"NST\"", - "enum": [ - "ABO", - "NST", - "CANCLD", - "COM", - "IPR", - "PAU" - ] - }, - "START_TIME": { - "type": "string", - "title": "D\u00e9but de la mission", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/MISSION/0/START_TIME", - "description": "- Dans le cadre d'une r\u00e9ponse \u00e0 Demande de Concours\nHorraire cible pour l'arriv\u00e9e sur les lieux d\u00e9crites (peut diverger de l'horaire demand\u00e9)\n- Dans le cadre d'une mission d\u00e9crivant les op\u00e9rations en cours :\nHoraire effectif de d\u00e9but de la mission", - "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[\\-+]\\d{2}:\\d{2}", - "format": "date-time" - }, - "END_TIME": { - "type": "string", - "title": "Fin de la mission", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/MISSION/0/END_TIME", - "description": "A valoriser selon la cat\u00e9gorie de mission :\n- Dans le cadre d'une mission de r\u00e9ponse \u00e0 demande de concours : ne pas renseigner\n- Dans le cadre d'une mission d\u00e9crivant les op\u00e9rations en cours :\n Si c'est un d\u00e9placement, l'heure d'arriv\u00e9e, si c'est une prise en charge patient/victime, la fin de la prise en charge.", - "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[\\-+]\\d{2}:\\d{2}", - "format": "date-time" - }, - "RESOURCE_ID": { - "type": "array", - "x-health-only": false, - "items": { - "type": "string", - "title": "Ressource engag\u00e9e", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/MISSION/0/RESOURCE_ID/0", - "description": "Liste des identifiants des ressources engag\u00e9es dans la mission (voir RESOURCE.ID)" - } - }, - "PARENT_MISSION_ID": { - "type": "array", - "x-health-only": false, - "items": { - "type": "string", - "title": "Missions parentes", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/MISSION/0/PARENT_MISSION_ID/0", - "description": "Dans le cadre d'une demande de concours, ne doit pas \u00eatre renseign\u00e9\nLa mission peut d\u00e9j\u00e0 \u00eatre rattach\u00e9e \u00e0 des missions filles mais leurs d\u00e9tails ne doivent pas \u00eatre n\u00e9cessaires pour traiter la demande de concours dans le syst\u00e8me du partenaire.\nCf. DSF pour l'organisation liens entre MISSION (sous-section \"D\u00e9coupage de l'op\u00e9ration en missions\")" - } - }, - "CHILD_MISSION_ID": { - "type": "array", - "x-health-only": false, - "items": { - "type": "string", - "title": "Missions filles", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/MISSION/0/CHILD_MISSION_ID/0", - "description": "Cf. DSF pour l'organisation liens entre MISSION (sous-section \"D\u00e9coupage de l'op\u00e9ration en missions\")" - } - }, - "MAIN_MISSION_ID": { - "type": "string", - "title": "Mission principale", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/MISSION/0/MAIN_MISSION_ID", - "description": "- Dans le cas d'une mission g\u00e9n\u00e9rique de r\u00e9ponse \u00e0 demande de concours, indiquer l'ID de la mission g\u00e9n\u00e9rique utilis\u00e9e pour mod\u00e9liser la demande de concours\n- Dans le cas d'une mission d\u00e9clench\u00e9e dans le cadre d'une r\u00e9ponse \u00e0 demande de concours, l'ID de la mission g\u00e9n\u00e9rique de r\u00e9ponse peut \u00eatre utilis\u00e9e dans ce champ pour indiquer qu'elle est li\u00e9e \u00e0 une r\u00e9ponse" - }, - "POSITION": { - "$ref": "#/definitions/position" - }, - "PRIORITY": { - "type": "string", - "title": "Priorit\u00e9 de la mission", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/MISSION/0/PRIORITY", - "description": "Indique une \u00e9chelle de priorit\u00e9 pour la demande de concours. Dans le cadre du standard EMSI, cette \u00e9chelle doit \u00eatre comprise entre 0 et 5. Ce champ peut ne pas \u00eatre interpr\u00e9t\u00e9 ni aliment\u00e9 par les LRMs.\nDans le cadre d'un \u00e9change des op\u00e9rations, optionnel. Le champ peut ne pas \u00eatre \u00e9mis ni interpr\u00e9t\u00e9.", - "enum": [ - "0", - "1", - "2", - "3", - "4", - "5" - ] - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/MISSION/0" - }, - "resource": { - "type": "object", - "title": "Ressource", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "RTYPE" - ], - "properties": { - "RTYPE": { - "$ref": "#/definitions/rtype" - }, - "ID": { - "type": "string", - "title": "ID de la ressource", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/ID", - "description": "Identifiant unique de la ressource dans le syst\u00e8me du partenaire propri\u00e9taire. Les syst\u00e8mes sont garants de l'unicit\u00e9 et de l'invariablit\u00e9 des ids de v\u00e9hicule dans le temps. Ils peuvent se servir des ids dans les r\u00e9f\u00e9rentiels existants si ils sont uniques et stables.\nDans le cas d'un v\u00e9hicule agr\u00e9g\u00e9 par un LRM (comme un SMUR), l'ID doit \u00eatre valoris\u00e9 avec son immatriculation.\nDans le cas d'un v\u00e9hicule agr\u00e9g\u00e9 par NexSIS, l'ID fournit peut ne pas correspondre \u00e0 une immatriculation." - }, - "ORG_ID": { - "type": "string", - "title": "Identifiant de l'organisation propri\u00e9taire", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/ORG_ID", - "description": "Identifiant de l'organisation \u00e0 laquelle la ressource est rattach\u00e9e (caserne, SAMU etc).\nSe r\u00e9f\u00e9rer au DSF pour la structure norm\u00e9e des organisations\nLe format est le suivant {pays}.{domaine}.{code d\u00e9partement}.{organisation}.{structure interne}*.{unit\u00e9 fonctionnelle}*.\nDans le cas o\u00f9 le LRM/NexSIS sert d'aggr\u00e9gateur pour des v\u00e9hicules appartenant \u00e0 un partenaire tiers (type ambulance priv\u00e9e), l'identifiant d'organisation permet d'identifier ce tiers\nA constituer par le r\u00e9dacteur du pr\u00e9sent EMSI pour \u00eatre unique, identique \u00e0 " - }, - "NAME": { - "type": "string", - "title": "Nom de la ressource", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/NAME", - "description": "Nom donn\u00e9 \u00e0 la ressource par le partenaire. L'immatriculation peut \u00eatre utilis\u00e9e dans le nom courant des v\u00e9hicules.\nDans le cas pompier, les v\u00e9hicules sont nomm\u00e9s\nDans le cas d'\u00e9quipier, cela peut \u00eatre leur nom" - }, - "FREETEXT": { - "type": "string", - "title": "Description de la ressource", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/FREETEXT", - "description": "Texte libre permettant de d\u00e9crire la ressource o\u00f9 d'ajouter des pr\u00e9cisions sur son engagement.\nPermet aussi notamment de d\u00e9crire des attributs librement pour la ressource.\nPar exemple, pour un v\u00e9hicule, sa plaque d'immatriculation." - }, - "RGEO": { - "type": "array", - "items": { - "$ref": "#/definitions/rgeo" - } - }, - "QUANTITY": { - "type": "number", - "title": "Quantit\u00e9 de la ressource", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/QUANTITY", - "description": "Dans le cadre d'un \u00e9change d'op\u00e9ration, optionnel. Permet de quantifier une ressource :\n- \u00e0 ne pas utiliser pour les v\u00e9hicules ni le personnel\n- utilisable pour du mat\u00e9riel\n- utilisable pour des consommables (dans le cas de consommable, \u00e0 compl\u00e9ter avec le champ UM)" - }, - "UM": { - "type": "string", - "title": "Unit\u00e9 de mesure pour la ressource", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/UM", - "description": "Dans le cadre d'un \u00e9change d'op\u00e9ration, optionnel. Unit\u00e9 de mesure pour des ressources consommables", - "enum": [ - "LSV", - "OTH", - "PKG", - "TIM", - "WGT", - "LSV/CM", - "LSV/CMH", - "LSV/CNTLTR", - "LSV/DEG", - "LSV/HCTLTR", - "LSV/HCTMTR", - "LSV/KM", - "LSV/KPH", - "LSV/LI", - "LSV/LTPRHR", - "LSV/LTPRMN", - "LSV/METRE", - "LSV/MILLTR", - "LSV/MILMTR", - "LSV/SMH", - "LSV/SQM", - "OTH/COIL", - "OTH/DOZEN", - "OTH/EA", - "OTH/GROSS", - "OTH/MANHUR", - "OTH/MHPRHR", - "PKG/BALE", - "PKG/BARREL", - "PKG/BLK", - "PKG/BOX", - "PKG/CASE", - "PKG/CONTNR", - "PKG/CRATE", - "PKG/DRM", - "PKG/JERCAN", - "PKG/PAK", - "PKG/PAL", - "PKG/RATION", - "TIM/DAY", - "TIM/HR", - "TIM/MINUTE", - "TIM/MON", - "TIM/SECOND", - "TIM/WEK", - "TIM/YEA", - "WGT/CNTGRM", - "WGT/GRAM", - "WGT/KG", - "WGT/KGH" - ] - }, - "STATUS": { - "type": "string", - "title": "Statut de la ressource", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/STATUS", - "description": "D\u00e9finit le statut de disponibilit\u00e9 d'une ressource.\n- AVAILB : Lorsqu'une mission est termin\u00e9e, une ressource redevient disponible\n- RESRVD : Lorsque la ressource est r\u00e9serv\u00e9e pour intervenir sur l'affaire mais pas encore engag\u00e9e dans l'op\u00e9ration. Par exemple : un SMUR termine un autre transfert patient/victime avant de rejoindre une autre intervention : il est alors RESRVD\n- IN_USE/MOBILE : \u00e0 utiliser pour les v\u00e9hicules et le personnel lorsqu'ils se d\u00e9places\n- IN_USE/ON_SCENE : \u00e0 utiliser pour les v\u00e9hicules et le personnel lorsqu'ils sont sur les lieux de l'affaire", - "enum": [ - "AVAILB", - "UNAV", - "MAINTC", - "RESRVD", - "VIRTUAL", - "IN_USE/MOBILE", - "IN_USE/ON_SCENE" - ] - }, - "NATIONALITY": { - "type": "string", - "title": "Nationalit\u00e9 de la ressource", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/NATIONALITY", - "description": "Nationalit\u00e9 d'une ressource, r\u00e9employer ISO 3166-1-alpha-2 code elements." - }, - "CONTACTS": { - "type": "array", - "items": { - "$ref": "#/definitions/contact" - } - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/RESOURCE/0" - }, - "link": { - "type": "object", - "title": "Lien", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "ID" - ], - "properties": { - "ID": { - "type": "string", - "title": "ID", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/LINK/0/ID", - "description": "A renseigner avec l'identifiant local de l'affaire du partenaire requ\u00e9rant\nDans NexSIS;\nRG 1 \u2013 : cr\u00e9ation du premier message EMSi suite r\u00e9ception Affaire\n\u2022 = \n\u2022 = 'ADDSTO',\nRG 2 : Pour tous les messages cr\u00e9\u00e9s apr\u00e8s le premier, EMSI est compl\u00e9t\u00e9 par contenant l'ID de message EMSI pr\u00e9c\u00e9dent cr\u00e9\u00e9 au sein du SGO r\u00e9dacteur * = 'SPRSDS'" - }, - "LINK_ROLE": { - "type": "string", - "title": "R\u00f4le du lien", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/LINK/0/LINK_ROLE", - "description": "Optionnel : \u00e0 valoriser avec la constante \"SPRSDS\" en EMSI-EO et avec le libell\u00e9 ADDSTO en EMSI-DC\n\nDans Nexsis;\nRG 1 \u2013 : cr\u00e9ation du premier message EMSi suite r\u00e9ception Affaire * = \n\u2022 = 'ADDSTO',\nRG 2 : Pour tous les messages cr\u00e9\u00e9s apr\u00e8s le premier, EMSI est compl\u00e9t\u00e9 par contenant l'ID de message EMSI pr\u00e9c\u00e9dent cr\u00e9\u00e9 au sein du SGO r\u00e9dacteur * = 'SPRSDS'", - "enum": [ - "ADDSTO", - "SPRSDS" - ] - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/CONTEXT/LINK/0" - }, - "origin": { - "type": "object", - "title": "Origine", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [], - "properties": { - "ORG_ID": { - "type": "string", - "title": "Origine ID", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/ORIGIN/ORG_ID", - "description": "Optionnel, identifiant du service \u00e0 l'origine de l'EMSI\nSe r\u00e9f\u00e9rer au DSF pour la structure norm\u00e9e des organisations\nLe format est le suivant {pays}.{domaine}.{code d\u00e9partement}.{organisation}.{structure interne}*.{unit\u00e9 fonctionnelle}*." - }, - "USER_ID": { - "type": "string", - "title": "ID d'utilisateur de l'origine", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/ORIGIN/USER_ID", - "description": "Optionnel, identifiant de l'op\u00e9rateur du service \u00e0 l'origine de l'EMSI" - }, - "NAME": { - "type": "string", - "title": "Nom Origine ", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/ORIGIN/NAME", - "description": "Optionnel\n\nA constituer par le r\u00e9dacteur pour \u00eatre intelligible (exemple [structure].[nom])" - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/CONTEXT/ORIGIN" - }, - "externalInfo": { - "type": "object", - "title": "Informations exterieures ", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "URI" - ], - "properties": { - "FREETEXT": { - "type": "string", - "title": "Texte libre ", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/EXTERNAL_INFO/0/FREETEXT", - "description": "Optionnel" - }, - "URI": { - "type": "string", - "title": "URI informations ext\u00e9rieures", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/EXTERNAL_INFO/0/URI", - "description": "Optionnel" - }, - "TYPE": { - "type": "string", - "title": "Type", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/CONTEXT/EXTERNAL_INFO/0/TYPE", - "description": "Optionnel", - "enum": [ - "MANUAL", - "MAP", - "OTHER", - "PHOTO", - "WEBSIT" - ] - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/CONTEXT/EXTERNAL_INFO/0" - }, - "etype": { - "type": "object", - "title": "Type de l'\u00e9v\u00e9nement", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "CATEGORY", - "ACTOR", - "LOCTYPE" - ], - "properties": { - "CATEGORY": { - "type": "array", - "x-health-only": false, - "items": { - "type": "string", - "title": "Cat\u00e9gorie d'\u00e9v\u00e9nement", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/ETYPE/CATEGORY/0", - "description": "Le champ peut ne pas \u00eatre interpr\u00e9t\u00e9 ou renseign\u00e9 avec une valeur comme 'UKN' = 'UNKOWN'\nA constituer depuis ref_mapping_EMSI_NEXSIS", - "enum": [ - "ASB", - "ASR", - "EXP", - "FIR", - "FLD", - "GND", - "HLT", - "POL", - "PSW", - "TRP", - "ASB/ABV", - "ASR/ATM", - "ASR/HGT", - "ASR/ICE", - "ASR/MAR", - "ASR/SIL", - "ASR/TRP", - "ASR/UDG", - "ASR/WAT", - "EXP/AER", - "EXP/AMM", - "EXP/BLEVE", - "EXP/CHM", - "EXP/CYL", - "EXP/DST", - "EXP/FRW", - "EXP/GAS", - "EXP/HGHFLM", - "EXP/HPP", - "EXP/IMP", - "EXP/LPG", - "EXP/NUK", - "EXP/PRD", - "EXP/UKN", - "FIR/CLA", - "FIR/CLB", - "FIR/CLC", - "FIR/CLD", - "FIR/UKN", - "FLD/FLS", - "FLD/PLN", - "FLD/TID", - "GND/AVL", - "GND/EQK", - "GND/GEY", - "GND/LDS", - "GND/MUD", - "GND/SUB", - "GND/VUL", - "HLT/EPI", - "HLT/FMN", - "HLT/NDS", - "POL/BIO", - "POL/CHM", - "POL/NUK", - "POL/RAD", - "PSW/ALM", - "PSW/ASY", - "PSW/DEM", - "PSW/IMM", - "PSW/MEV", - "PSW/MIS", - "PSW/PKG", - "PSW/PRO", - "PSW/PRSUIT", - "PSW/RIOT", - "PSW/SUS", - "PSW/WNG", - "TRP/BRK", - "TRP/COL", - "TRP/CRS" - ] - } - }, - "ACTOR": { - "type": "array", - "x-health-only": false, - "items": { - "type": "string", - "title": "Acteurs", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/ETYPE/ACTOR/0", - "description": "Dans de futures versions de NexSIS, les demandes de concours seront diffus\u00e9es \u00e0 plusieurs partenaires. Seul le syst\u00e8me de la force concern\u00e9e par la demande de concours devra r\u00e9pondre effectivement \u00e0 la demande. Ce syst\u00e8me de la force concern\u00e9e sera identifi\u00e9 comme le \"concourant\" \u00e0 la demande de concours.\nLe libell\u00e9 du champ ACTOR permet d'identifier le concourant souhait\u00e9 dans la demande de concours. Pour les premi\u00e8res impl\u00e9mentations du contrat d'interface 15-18, il n'y a pas de n\u00e9cessit\u00e9 pour les syst\u00e8mes r\u00e9cepteurs de filtrer les demandes de concours re\u00e7ues via le Hub Sant\u00e9.\nLe champ MISSION TYPE permet en compl\u00e9ment d'identifier l'effet \u00e0 obtenir souhait\u00e9 \u00e0 partir de la combinaison du code ACTOR et du code TYPE.\nLe transcodage entre ces deux nomenclature est d\u00e9crit dans l'annexe \"R\u00e9f\u00e9rentiel Effets \u00e0 Obtenir - correspondance EMSI\"", - "enum": [ - "ANI", - "BEV", - "PPL", - "VEH", - "ANI/CON", - "ANI/DEA", - "ANI/DGR", - "ANI/FRM", - "ANI/HRD", - "ANI/INJ", - "ANI/LIV", - "ANI/PET", - "ANI/PRO", - "ANI/SPC", - "ANI/WLD", - "BEV/ASR", - "BEV/IND", - "BEV/NRES", - "BEV/OFF", - "BEV/OTH", - "BEV/RESDW", - "BEV/RESIN", - "BEV/RESINT", - "BEV/RESOTH", - "BEV/SHP", - "PPL/1", - "PPL/ADU", - "PPL/CHD", - "PPL/CNT", - "PPL/DED", - "PPL/EVC", - "PPL/GND", - "PPL/GRP", - "PPL/HST", - "PPL/INT", - "PPL/OTH", - "PPL/PRS", - "PPL/SNS", - "PPL/VIO", - "PPL/VLN", - "PPL/WTN", - "PPL/CHD/BAB", - "PPL/CHD/CHILD", - "PPL/CHD/INF", - "PPL/CHD/YOUTH", - "PPL/GND/FML", - "PPL/GND/MAL", - "PPL/GND/UND", - "PPL/HST/PCF", - "PPL/HST/SUI", - "PPL/HST/THT", - "PPL/HST/WPN", - "PPL/PRS/CST", - "PPL/PRS/ESC", - "PPL/PRS/HGS", - "PPL/SNS/ETH", - "PPL/SNS/FOR", - "PPL/SNS/LAN", - "PPL/SNS/REL", - "PPL/SNS/VIP", - "PPL/VLN/BLD", - "PPL/VLN/DEF", - "PPL/VLN/DSB", - "PPL/VLN/ELD", - "PPL/VLN/INJ", - "PPL/VLN/LDF", - "PPL/VLN/OBS", - "PPL/VLN/PAT", - "PPL/VLN/PGN", - "PPL/VLN/SLFPRS", - "PPL/VLN/UNC", - "VEH/AIR", - "VEH/ANI", - "VEH/BIC", - "VEH/CAR", - "VEH/EMG", - "VEH/MBK", - "VEH/MIL", - "VEH/OTH", - "VEH/TRK", - "VEH/TRN", - "VEH/VES", - "VEH/AIR/ARM", - "VEH/AIR/FLBA", - "VEH/AIR/FRG", - "VEH/AIR/FXBA", - "VEH/AIR/GLD", - "VEH/AIR/HEL", - "VEH/AIR/HVY", - "VEH/AIR/JET", - "VEH/AIR/LGT", - "VEH/AIR/MIL", - "VEH/AIR/ORD", - "VEH/AIR/OTH", - "VEH/AIR/PAS", - "VEH/AIR/PRBA", - "VEH/AIR/PST", - "VEH/AIR/RKT", - "VEH/AIR/SEA", - "VEH/AIR/SNO", - "VEH/AIR/TNK", - "VEH/AIR/UAV", - "VEH/AIR/ULG", - "VEH/OTH/HIL", - "VEH/OTH/SNO", - "VEH/TRK/ART", - "VEH/TRK/EXC", - "VEH/TRK/HZD", - "VEH/TRK/NHZ", - "VEH/TRK/NUK", - "VEH/TRK/REF", - "VEH/TRK/UND", - "VEH/TRN/3RL", - "VEH/TRN/DSL", - "VEH/TRN/HZD", - "VEH/TRN/LOC", - "VEH/TRN/NHZ", - "VEH/TRN/NUK", - "VEH/TRN/OVH", - "VEH/TRN/PAS", - "VEH/TRN/REF", - "VEH/TRN/STM", - "VEH/TRN/TRM", - "VEH/TRN/UDG", - "VEH/TRN/UND", - "VEH/TRN/VIP", - "VEH/TRN/VLT", - "VEH/VES/AMB", - "VEH/VES/BOT", - "VEH/VES/CNO", - "VEH/VES/CRG", - "VEH/VES/DSL", - "VEH/VES/FLO", - "VEH/VES/FRY", - "VEH/VES/HOV", - "VEH/VES/HZD", - "VEH/VES/JSK", - "VEH/VES/LEI", - "VEH/VES/LIS", - "VEH/VES/MIL", - "VEH/VES/MPW", - "VEH/VES/NHZ", - "VEH/VES/NUK", - "VEH/VES/PAS", - "VEH/VES/POL", - "VEH/VES/PTL", - "VEH/VES/RSC", - "VEH/VES/SAI", - "VEH/VES/SBM", - "VEH/VES/SINK", - "VEH/VES/SPC", - "VEH/VES/STE", - "VEH/VES/SUNK", - "VEH/VES/UNM" - ] - } - }, - "LOCTYPE": { - "type": "array", - "x-health-only": false, - "items": { - "type": "string", - "title": "Type de localisation", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/ETYPE/LOCTYPE/0", - "description": "Le champ peut ne pas \u00eatre affich\u00e9. Par d\u00e9faut, possible de renvoyer le code \"OTH\" = \"OTHER\"" - } - }, - "ENV": { - "type": "string", - "title": "Environnement", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/ETYPE/ENV", - "description": "Optionnel", - "enum": [ - "CDIS", - "DIS", - "TER", - "CDIS/RIOT", - "DIS/CBRN", - "DIS/ERTHQK", - "DIS/FIRE", - "DIS/FLOOD", - "DIS/INDHAZ", - "DIS/LNDSLD", - "DIS/PWROUT", - "DIS/RADCNT", - "DIS/SNOW", - "DIS/STCLPS", - "DIS/STORM", - "DIS/TRSPRT", - "DIS/TSNAMI" - ] - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/EVENT/ETYPE" - }, - "reference": { - "type": "object", - "title": "Lien vers d'autres objets \u00e9v\u00e9nements EMSI", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "ORG_ID", - "OTHER_EVENT_ID" - ], - "properties": { - "ORG_ID": { - "type": "string", - "title": "ID de l'organisation", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/REFERENCE/0/ORG_ID", - "description": "Identification de l'organisation partenaire" - }, - "OTHER_EVENT_ID": { - "type": "array", - "x-health-only": false, - "items": { - "type": "string", - "title": "ID des autres event", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/REFERENCE/0/OTHER_EVENT_ID/0", - "description": "Indique d'autres identifiants utilis\u00e9s pour l'affaire dans le syst\u00e8me partenaire" - } - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/EVENT/REFERENCE/0" - }, - "casualties": { - "type": "object", - "title": "Victimes", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "CONTEXT" - ], - "properties": { - "CONTEXT": { - "type": "string", - "title": "Contexte", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/CASUALTIES/0/CONTEXT", - "description": "Le champ doit \u00eatre renseign\u00e9 mais peut ne pas \u00eatre interpr\u00e9t\u00e9" - }, - "DATIME": { - "type": "string", - "title": "Timestamp du contexte", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/CASUALTIES/0/DATIME", - "description": "Optionnel", - "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[\\-+]\\d{2}:\\d{2}", - "format": "date-time" - }, - "DECONT": { - "type": "integer", - "title": "D\u00e9contamination", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/CASUALTIES/0/DECONT", - "description": "Optionnel" - }, - "TRIAGERED": { - "type": "integer", - "title": "Triage Rouge", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/CASUALTIES/0/TRIAGERED", - "description": "Optionnel, Triage victime au sens EMSI" - }, - "TRIAGEYELLOW": { - "type": "integer", - "title": "Jaune", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/CASUALTIES/0/TRIAGEYELLOW", - "description": "Optionnel" - }, - "TRIAGEGREEN": { - "type": "integer", - "title": "Vert", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/CASUALTIES/0/TRIAGEGREEN", - "description": "Optionnel" - }, - "TRIAGEBLACK": { - "type": "integer", - "title": "Noir", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/CASUALTIES/0/TRIAGEBLACK", - "description": "Optionnel" - }, - "MISSING": { - "type": "integer", - "title": "Disparus", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/CASUALTIES/0/MISSING", - "description": "Optionnel" - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/EVENT/CASUALTIES/0" - }, - "evac": { - "type": "object", - "title": "Evacu\u00e9s", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [], - "properties": { - "DATIME": { - "type": "string", - "title": "timestamp", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EVAC/0/DATIME", - "description": "Optionnel", - "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[\\-+]\\d{2}:\\d{2}", - "format": "date-time" - }, - "DISPLACED": { - "type": "integer", - "title": "d\u00e9plac\u00e9s", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EVAC/0/DISPLACED", - "description": "Optionnel" - }, - "EVACUATED": { - "type": "integer", - "title": "\u00e9vacu\u00e9s", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EVAC/0/EVACUATED", - "description": "Optionnel" - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/EVENT/EVAC/0" - }, - "egeo": { - "type": "object", - "title": "Localisation de l'\u00e9v\u00e9nement", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "TYPE", - "POSITION" - ], - "properties": { - "DATIME": { - "type": "string", - "title": "Date des derni\u00e8res remont\u00e9es de localisation", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EGEO/0/DATIME", - "description": "Optionnel\nLa localisation de l'affaire est transmise en amont dans un message RC-EDA et le lieu souhait\u00e9 pour l'intervention est syst\u00e9matiquement repr\u00e9cis\u00e9 dans un objet MISSION", - "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[\\-+]\\d{2}:\\d{2}", - "format": "date-time" - }, - "TYPE": { - "type": "string", - "title": "Type de localisation", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EGEO/0/TYPE", - "description": "Optionnel\nLa localisation de l'affaire est transmise en amont dans un message RC-EDA et le lieu souhait\u00e9 pour l'intervention est syst\u00e9matiquement repr\u00e9cis\u00e9 dans un objet MISSION.\nA constituer depuis ref_mapping_EMSI_EVENT_EGEO_TYPE_NEXSIS_\n/!\\ plusieurs champs NEXSIS\n/!\\ plusieurs valeurs par champs d'o\u00f9 un groupe \u00e0 cr\u00e9er par type diff\u00e9rents", - "enum": [ - "AIR", - "CMB", - "DGR", - "FLAME", - "GEN", - "PLUME", - "SMOKE", - "VULN", - "AIR/COR", - "AIR/FLDZ", - "AIR/LZ", - "AIR/NOFLZN", - "AIR/PZ", - "AIR/UAVASP", - "CMB/CZ", - "CMB/DNGR", - "CMB/EXTZN", - "CMB/IMPTPT", - "DGR/BIO", - "DGR/BOMB", - "DGR/CBRNHZ", - "DGR/CBRNRSD", - "DGR/CHM", - "DGR/HZD", - "DGR/MIND", - "DGR/NGA", - "DGR/NGACIV", - "DGR/NUKCNL", - "DGR/OBSGEN", - "DGR/PRHBAR", - "DGR/RAD", - "DGR/RADCLD", - "DGR/RSTR", - "DGR/SGA", - "DGR/SITKIL", - "DGR/UNXOD", - "GEN/AOR", - "GEN/ASYGEN", - "GEN/ASYSPL", - "GEN/BDYOR", - "GEN/BDYPOA", - "GEN/BDYPT", - "GEN/CKPGEN", - "GEN/CNTPTL", - "GEN/COLDZ", - "GEN/COMCKP", - "GEN/COMLOW", - "GEN/COMMZ", - "GEN/COMUP", - "GEN/CONTAR", - "GEN/CORDON", - "GEN/CRDPNT", - "GEN/DIVRT", - "GEN/DROPPT", - "GEN/ENTPT", - "GEN/EVENT", - "GEN/EXITPT", - "GEN/FWCTPT", - "GEN/HOTZ", - "GEN/INCGRD", - "GEN/LA", - "GEN/LIMARE", - "GEN/LOCAT", - "GEN/MSR", - "GEN/PSSGPT", - "GEN/PTINT", - "GEN/RCNSAR", - "GEN/RNDZPT", - "GEN/ROUTE", - "GEN/SAFERT", - "GEN/SAFZ", - "GEN/SARPNT", - "GEN/SEARAR", - "GEN/SPRISK", - "GEN/STRTPT", - "GEN/SUPARE", - "GEN/SUPPT", - "GEN/TRSTRT", - "GEN/WARMZ" - ] - }, - "WEATHER": { - "type": "array", - "x-health-only": false, - "items": { - "type": "string", - "title": "Condition m\u00e9t\u00e9o", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EGEO/0/WEATHER/0", - "description": "Optionnel\nLa localisation de l'affaire est transmise en amont dans un message RC-EDA et le lieu souhait\u00e9 pour l'intervention est syst\u00e9matiquement repr\u00e9cis\u00e9 dans un objet MISSION", - "enum": [ - "HUM", - "ICY", - "TDS", - "TMP", - "VIS", - "WDS", - "WIN", - "HUM/CORECT", - "HUM/DRZLE", - "HUM/FOG", - "HUM/RAIN", - "HUM/RAINSR", - "HUM/THSTRN", - "ICY/BLWSNW", - "ICY/CLRICE", - "ICY/CORECT", - "ICY/FDRZLE", - "ICY/FRAIN", - "ICY/FRZFOG", - "ICY/HAIL", - "ICY/ICECRY", - "ICY/ICEPLT", - "ICY/MIXICE", - "ICY/RIMICE", - "ICY/SLEET", - "ICY/SNOW", - "ICY/SNWGRN", - "ICY/SNWSHR", - "TDS/CORECT", - "TDS/LGTNNG", - "TDS/THST", - "VIS/CORECT", - "VIS/HAZE", - "VIS/SMOKE", - "WIN/CORECT", - "WIN/CYCL", - "WIN/DSTDVL", - "WIN/DSTSND", - "WIN/DSTSTR", - "WIN/FNLCLD", - "WIN/HURR", - "WIN/SNDSTR", - "WIN/STORM", - "WIN/TORN", - "WIN/TRST", - "WIN/TYPH", - "WIN/WHIR", - "WIN/WTRSPT" - ] - } - }, - "FREETEXT": { - "type": "string", - "title": "Description de l'\u00e9v\u00e9nement", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EGEO/0/FREETEXT", - "description": "Optionnel\nLa localisation de l'affaire est transmise en amont dans un message RC-EDA et le lieu souhait\u00e9 pour l'intervention est syst\u00e9matiquement repr\u00e9cis\u00e9 dans un objet MISSION" - }, - "POSITION": { - "$ref": "#/definitions/position" - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/EVENT/EGEO/0" - }, - "position": { - "type": "object", - "title": "Position de l'op\u00e9ration", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "LOC_ID" - ], - "properties": { - "LOC_ID": { - "type": "string", - "title": "ID position", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EGEO/0/POSITION/LOC_ID", - "description": "Optionnel\nLa localisation de l'affaire est transmise en amont dans un message RC-EDA et le lieu souhait\u00e9 pour l'intervention est syst\u00e9matiquement repr\u00e9cis\u00e9 dans un objet MISSION. \nLorsque le lieu d'intervention est identique \u00e0 celle d'une position de l'affaire partag\u00e9e dans le message RC-EDA, le champ MISSION.RGEO.POSITION.LOC_ID doit \u00eatre aliment\u00e9 valoris\u00e9 comme le champ eventLocation.locId du message RC-EDA envoy\u00e9 en amont. " - }, - "NAME": { - "type": "string", - "title": "Nom de position", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EGEO/0/POSITION/NAME", - "description": "Optionnel, non utilis\u00e9 par NexSIS nom de lieu" - }, - "TYPE": { - "type": "string", - "title": "Type", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EGEO/0/POSITION/TYPE", - "description": "Optionnel\nDans le cadre de l'interface LRM NexSIS, seul le libell\u00e9 POINT doit obligatoirement \u00eatre interpr\u00e9table par les deux partenaires.\nCf. Nomenclature EMSI - POSITION pour plus de d\u00e9tails" - }, - "HEIGHT_ROLE": { - "type": "string", - "title": "Indication sur l'utilisation de la balise altitude", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EGEO/0/POSITION/HEIGHT_ROLE", - "description": "Optionnel" - }, - "COORDSYS": { - "type": "string", - "title": "Syst\u00e8me de coordonn\u00e9es", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EGEO/0/POSITION/COORDSYS", - "description": "Optionnel" - }, - "COORD": { - "type": "array", - "items": { - "$ref": "#/definitions/coord" - } - }, - "ADDRESS": { - "type": "array", - "x-health-only": false, - "items": { - "type": "string", - "title": "Adresse", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EGEO/0/POSITION/ADDRESS/0", - "description": "Optionnel. Dans le cas d'un partage de position, les adresses transmises ne sont pas structur\u00e9es." - } - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/EVENT/EGEO/0/POSITION" - }, - "coord": { - "type": "object", - "title": "Coordonn\u00e9es", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "LAT", - "LONG" - ], - "properties": { - "LAT": { - "type": "number", - "title": "Latitude ", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EGEO/0/POSITION/COORD/0/LAT", - "description": "derni\u00e8re coordonn\u00e9e x connue de la ressource" - }, - "LONG": { - "type": "number", - "title": "Longitude", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EGEO/0/POSITION/COORD/0/LONG", - "description": "Optionnel. Dans le cas o\u00f9 aucun LOC_ID n'est transf\u00e9r\u00e9, permet de localiser le lieu d'intervention souhait\u00e9\nderni\u00e8re coordonn\u00e9e y connue de la ressource\nbetween \u221290 and +90" - }, - "HEIGHT": { - "type": "number", - "title": "Altitude", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/EVENT/EGEO/0/POSITION/COORD/0/HEIGHT", - "description": "Optionnel. Dans le cas o\u00f9 aucun LOC_ID n'est transf\u00e9r\u00e9, permet de localiser le lieu d'intervention souhait\u00e9\nderni\u00e8re coordonn\u00e9e z connue de la ressource\nbetween \u2212180 and +180" - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/EVENT/EGEO/0/POSITION/COORD/0" - }, - "rtype": { - "type": "object", - "title": "Type de la ressource", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "RCLASS" - ], - "properties": { - "RCLASS": { - "type": "array", - "x-health-only": false, - "items": { - "type": "string", - "title": "Classes de la ressource", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/RTYPE/RCLASS/0", - "description": "Permet d'indiquer la classe de l'objet RESOURCE. Plusieurs niveau de d\u00e9tails sont fournis par la nomenclature associ\u00e9e.\nLe premier niveau permet notamment de d\u00e9crire la classe principale de ressource :\n- Un v\u00e9hicule,\n- Le personnel mobilis\u00e9,\n- Des consommables/ du mat\u00e9riel,\n- Un lieu ou une organisation (non utilis\u00e9 pour le moment)\nVoir nomenclature EMSI associ\u00e9e", - "enum": [ - "FAC", - "HUM", - "MAT", - "ORG", - "FAC/BRIDGE", - "FAC/BUILDN", - "FAC/DEPOT", - "FAC/NETWK", - "FAC/OPR", - "FAC/OTH", - "FAC/WATFIR", - "FAC/BRIDGE/MILVHL", - "FAC/BUILDN/BARRCK", - "FAC/BUILDN/BUNKER", - "FAC/BUILDN/COB", - "FAC/BUILDN/CTT", - "FAC/BUILDN/DAM", - "FAC/BUILDN/GYMNAS", - "FAC/BUILDN/HANGAR", - "FAC/BUILDN/HOUSE", - "FAC/BUILDN/HUT", - "FAC/BUILDN/INDINS", - "FAC/BUILDN/OFFICE", - "FAC/BUILDN/SCHOOL", - "FAC/BUILDN/SHD", - "FAC/BUILDN/SHLSUR", - "FAC/BUILDN/SHLUND", - "FAC/BUILDN/SHOP", - "FAC/BUILDN/TOW", - "FAC/BUILDN/TUN", - "FAC/BUILDN/WALL", - "FAC/BUILDN/WTW", - "FAC/DEPOT/BIO", - "FAC/DEPOT/CBRN", - "FAC/DEPOT/CHM", - "FAC/DEPOT/ENG", - "FAC/DEPOT/MED", - "FAC/DEPOT/MUN", - "FAC/DEPOT/POL", - "FAC/NETWK/ADSL", - "FAC/NETWK/ATM", - "FAC/NETWK/CTZALT", - "FAC/NETWK/EMGNWK", - "FAC/NETWK/GPRS", - "FAC/NETWK/GSM", - "FAC/NETWK/INTRAN", - "FAC/NETWK/INTRNT", - "FAC/NETWK/ISDN", - "FAC/NETWK/LAN", - "FAC/NETWK/PAMR", - "FAC/NETWK/PDMR", - "FAC/NETWK/PGSM", - "FAC/NETWK/PSTN", - "FAC/NETWK/RADEHF", - "FAC/NETWK/RADHF", - "FAC/NETWK/RADIO", - "FAC/NETWK/RADLF", - "FAC/NETWK/RADMF", - "FAC/NETWK/RADSHF", - "FAC/NETWK/RADUHF", - "FAC/NETWK/RADVHF", - "FAC/NETWK/RADVLF", - "FAC/NETWK/RAYNET", - "FAC/NETWK/RELAY", - "FAC/NETWK/SDSL", - "FAC/NETWK/TV", - "FAC/NETWK/UMTS", - "FAC/NETWK/VDSL", - "FAC/NETWK/WAN", - "FAC/NETWK/WIMAX", - "FAC/NETWK/WLAN", - "FAC/OPR/AMBFAC", - "FAC/OPR/BDHOLD", - "FAC/OPR/CAMP", - "FAC/OPR/CASBUR", - "FAC/OPR/CASCLR", - "FAC/OPR/CASCOL", - "FAC/OPR/CP", - "FAC/OPR/CSCLPT", - "FAC/OPR/CVCLPT", - "FAC/OPR/DEBRDP", - "FAC/OPR/DECONP", - "FAC/OPR/DISBED", - "FAC/OPR/DOCFAC", - "FAC/OPR/EMMORT", - "FAC/OPR/EQPOOL", - "FAC/OPR/EVASSP", - "FAC/OPR/FACAIR", - "FAC/OPR/FACMIL", - "FAC/OPR/FACNAV", - "FAC/OPR/FAMFRD", - "FAC/OPR/FIRFAC", - "FAC/OPR/FSAAMM", - "FAC/OPR/GERBED", - "FAC/OPR/HOLD", - "FAC/OPR/HPD", - "FAC/OPR/HPT", - "FAC/OPR/HSP", - "FAC/OPR/HSPFLD", - "FAC/OPR/HSPFLD", - "FAC/OPR/IRM", - "FAC/OPR/MARSHAL", - "FAC/OPR/MATBED", - "FAC/OPR/MEDBED", - "FAC/OPR/MEDSPT", - "FAC/OPR/MOBLCP", - "FAC/OPR/OPCTCN", - "FAC/OPR/PHARMA", - "FAC/OPR/POLFAC", - "FAC/OPR/POLPT", - "FAC/OPR/REFARE", - "FAC/OPR/RRRSPT", - "FAC/OPR/SITLOG", - "FAC/OPR/SPTARE", - "FAC/OPR/SRVCNT", - "FAC/OPR/STCOCN", - "FAC/OPR/STCTCN", - "FAC/OPR/TCCTCN", - "FAC/OTH/ACCOM", - "FAC/OTH/AIRFLD", - "FAC/OTH/BANK", - "FAC/OTH/BATH", - "FAC/OTH/CAN", - "FAC/OTH/CEM", - "FAC/OTH/DCH", - "FAC/OTH/ELCINS", - "FAC/OTH/ELCSPL", - "FAC/OTH/EQIMFT", - "FAC/OTH/FACGOV", - "FAC/OTH/FACPOW", - "FAC/OTH/FACTEC", - "FAC/OTH/FACTEL", - "FAC/OTH/FACTRN", - "FAC/OTH/FATST", - "FAC/OTH/FERINS", - "FAC/OTH/FHPT", - "FAC/OTH/LGRLPT", - "FAC/OTH/MAINTF", - "FAC/OTH/PTL", - "FAC/OTH/RES", - "FAC/OTH/VST", - "FAC/OTH/WATSPL", - "FAC/OTH/WSHFAC", - "FAC/WATFIR/FOMBLK", - "FAC/WATFIR/HYDRNT", - "FAC/WATFIR/TOWNMN", - "HUM/CAPAB", - "HUM/PERSON", - "HUM/UNIT", - "HUM/CAPAB/AMB", - "HUM/CAPAB/FIR", - "HUM/CAPAB/MED", - "HUM/CAPAB/MIL", - "HUM/CAPAB/POL", - "HUM/CAPAB/TRP", - "HUM/CAPAB/AMB/INCOFF", - "HUM/CAPAB/AMB/PARAMD", - "HUM/CAPAB/AMB/SAFOFF", - "HUM/CAPAB/AMB/TECHNIC", - "HUM/CAPAB/FIR/BACOFF", - "HUM/CAPAB/FIR/BAEOFF", - "HUM/CAPAB/FIR/COMOFF", - "HUM/CAPAB/FIR/CONOFF", - "HUM/CAPAB/FIR/DECOFF", - "HUM/CAPAB/FIR/FINOFF", - "HUM/CAPAB/FIR/FOMOFF", - "HUM/CAPAB/FIR/HAZOFF", - "HUM/CAPAB/FIR/INCCOM", - "HUM/CAPAB/FIR/LIAOFF", - "HUM/CAPAB/FIR/LOGOFF", - "HUM/CAPAB/FIR/MAROFF", - "HUM/CAPAB/FIR/MEDOFF", - "HUM/CAPAB/FIR/OPRCOM", - "HUM/CAPAB/FIR/SAFOFF", - "HUM/CAPAB/FIR/SALOFF", - "HUM/CAPAB/FIR/SECCOM", - "HUM/CAPAB/FIR/STAOFF", - "HUM/CAPAB/FIR/STRCOM", - "HUM/CAPAB/FIR/TACCOM", - "HUM/CAPAB/FIR/WATOFF", - "HUM/CAPAB/MED/ANSPHY", - "HUM/CAPAB/MED/DNTPHY", - "HUM/CAPAB/MED/DOCTOR", - "HUM/CAPAB/MED/GYNPHY", - "HUM/CAPAB/MED/HDNPHY", - "HUM/CAPAB/MED/INMPHY", - "HUM/CAPAB/MED/NURSE", - "HUM/CAPAB/MED/ORTPHY", - "HUM/CAPAB/MED/OTHPHY", - "HUM/CAPAB/MED/PRCPHY", - "HUM/CAPAB/MED/PSYPHY", - "HUM/CAPAB/MED/PTHPHY", - "HUM/CAPAB/MED/RADPHY", - "HUM/CAPAB/MED/SURPHY", - "HUM/CAPAB/MIL/AUTCDR", - "HUM/CAPAB/MIL/INTOFF", - "HUM/CAPAB/MIL/LIAISN", - "HUM/CAPAB/MIL/OF1", - "HUM/CAPAB/MIL/OF10", - "HUM/CAPAB/MIL/OF2", - "HUM/CAPAB/MIL/OF3", - "HUM/CAPAB/MIL/OF4", - "HUM/CAPAB/MIL/OF5", - "HUM/CAPAB/MIL/OF6", - "HUM/CAPAB/MIL/OF7", - "HUM/CAPAB/MIL/OF8", - "HUM/CAPAB/MIL/OF9", - "HUM/CAPAB/MIL/OFFR", - "HUM/CAPAB/MIL/OPSOFF", - "HUM/CAPAB/MIL/OR1", - "HUM/CAPAB/MIL/OR2", - "HUM/CAPAB/MIL/OR3", - "HUM/CAPAB/MIL/OR4", - "HUM/CAPAB/MIL/OR5", - "HUM/CAPAB/MIL/OR6", - "HUM/CAPAB/MIL/OR7", - "HUM/CAPAB/MIL/OR8", - "HUM/CAPAB/MIL/OR9", - "HUM/CAPAB/MIL/OTHR", - "HUM/CAPAB/MIL/POC", - "HUM/CAPAB/POL/BMBOFF", - "HUM/CAPAB/POL/CASOFF", - "HUM/CAPAB/POL/COFF", - "HUM/CAPAB/POL/DETCTV", - "HUM/CAPAB/POL/DIVER", - "HUM/CAPAB/POL/MOM", - "HUM/CAPAB/POL/PIO", - "HUM/CAPAB/POL/PMR", - "HUM/CAPAB/POL/RDINV", - "HUM/CAPAB/POL/SCO", - "HUM/CAPAB/POL/SIO", - "HUM/CAPAB/POL/STTTK", - "HUM/CAPAB/TRP/AIRFW", - "HUM/CAPAB/TRP/AIRRW", - "HUM/CAPAB/TRP/AMPH", - "HUM/CAPAB/TRP/LNDRAI", - "HUM/CAPAB/TRP/LNDWHL", - "HUM/CAPAB/TRP/SEASS", - "HUM/CAPAB/TRP/SEASUR", - "HUM/PERSON/CFIROF", - "HUM/PERSON/GOVEMP", - "HUM/PERSON/INTLCT", - "HUM/PERSON/JRNLST", - "HUM/PERSON/MEDIA", - "HUM/PERSON/NONGVE", - "HUM/PERSON/POLCHF", - "HUM/PERSON/VILELD", - "HUM/PERSON/WRITER", - "HUM/UNIT/AIRLSN", - "HUM/UNIT/C2", - "HUM/UNIT/CBRN", - "HUM/UNIT/CONST", - "HUM/UNIT/CRSMAN", - "HUM/UNIT/DISID", - "HUM/UNIT/EMPOFF", - "HUM/UNIT/ENG", - "HUM/UNIT/ENVOFF", - "HUM/UNIT/FINANC", - "HUM/UNIT/FIXWNG", - "HUM/UNIT/GUID", - "HUM/UNIT/HELCTR", - "HUM/UNIT/LAWENF", - "HUM/UNIT/LNDSPT", - "HUM/UNIT/LOG", - "HUM/UNIT/MAGRSP", - "HUM/UNIT/MAINT", - "HUM/UNIT/MDSADV", - "HUM/UNIT/MEDCL", - "HUM/UNIT/MST", - "HUM/UNIT/MSURTM", - "HUM/UNIT/NAVAL", - "HUM/UNIT/POL", - "HUM/UNIT/PSYCH", - "HUM/UNIT/RAILWY", - "HUM/UNIT/RECCE", - "HUM/UNIT/RELCHP", - "HUM/UNIT/RIVERN", - "HUM/UNIT/SAR", - "HUM/UNIT/SECPOL", - "HUM/UNIT/SHRPAT", - "HUM/UNIT/SPECIA", - "HUM/UNIT/SURG", - "HUM/UNIT/TRAUMA", - "HUM/UNIT/TRNPTN", - "HUM/UNIT/VET", - "HUM/UNIT/WLFCOR", - "HUM/UNIT/POL/AIRSPT", - "HUM/UNIT/POL/MNTPOL", - "HUM/UNIT/POL/PUBORD", - "HUM/UNIT/POL/RDSPT", - "HUM/UNIT/POL/SPCLST", - "HUM/UNIT/SAR/CSAR", - "HUM/UNIT/SAR/MSAR", - "HUM/UNIT/SAR/RSAR", - "HUM/UNIT/SAR/RST", - "HUM/UNIT/SAR/SSAR", - "HUM/UNIT/SAR/USAR", - "HUM/UNIT/SAR/WSAR", - "HUM/UNIT/SAR/USAR/CANIN", - "HUM/UNIT/SAR/USAR/DETEC", - "MAT/CM", - "MAT/EQ", - "MAT/VEH", - "MAT/CM/ABSAG", - "MAT/CM/BIOAGN", - "MAT/CM/CHMAGN", - "MAT/CM/CON", - "MAT/CM/EXTAG", - "MAT/CM/FOO", - "MAT/CM/FUEL", - "MAT/CM/FUSE", - "MAT/CM/LUBRIC", - "MAT/CM/MATING", - "MAT/CM/MEDICN", - "MAT/CM/MEDSPL", - "MAT/CM/MEGPHN", - "MAT/CM/MONEY", - "MAT/CM/OIL", - "MAT/CM/PAINT", - "MAT/CM/PAPER", - "MAT/CM/PPE", - "MAT/CM/RATCO", - "MAT/CM/RATFR", - "MAT/CM/RATTI", - "MAT/CM/RETAG", - "MAT/CM/TIMBER", - "MAT/CM/UNIFRM", - "MAT/CM/WIRE", - "MAT/CM/WTREXT", - "MAT/CM/WTRPOT", - "MAT/CM/ABSAG/CHM", - "MAT/CM/ABSAG/PHY", - "MAT/CM/EXTAG/CO2", - "MAT/CM/EXTAG/DRYMIN", - "MAT/CM/EXTAG/FATFIR", - "MAT/CM/EXTAG/FOAM", - "MAT/CM/EXTAG/HALON", - "MAT/CM/EXTAG/INERT", - "MAT/CM/EXTAG/METPWD", - "MAT/CM/EXTAG/POWDER", - "MAT/CM/EXTAG/FOAM/AFFF", - "MAT/CM/EXTAG/FOAM/AFFFAR", - "MAT/CM/EXTAG/FOAM/OTH", - "MAT/CM/FUEL/AVNFU", - "MAT/CM/FUEL/DIESEL", - "MAT/CM/FUEL/KEROS", - "MAT/CM/FUEL/LPG", - "MAT/CM/FUEL/NATGAS", - "MAT/CM/FUEL/PETROL", - "MAT/CM/MEDICN/1STAID", - "MAT/CM/MEDICN/AMPHTM", - "MAT/CM/MEDICN/BLOOD", - "MAT/CM/MEDICN/BNDDR", - "MAT/CM/MEDICN/KTMINE", - "MAT/CM/MEDICN/MORFIN", - "MAT/CM/MEDICN/WTRMED", - "MAT/CM/PPE/CBRNKIT", - "MAT/CM/PPE/CLOTH", - "MAT/CM/PPE/RESP", - "MAT/CM/PPE/SURCOT", - "MAT/CM/PPE/CLOTH/CHEMCL", - "MAT/CM/PPE/CLOTH/FFCLO", - "MAT/CM/PPE/CLOTH/FKIT", - "MAT/CM/PPE/CLOTH/CHEMCL/CHEMB", - "MAT/CM/PPE/CLOTH/CHEMCL/CHEMG", - "MAT/CM/PPE/CLOTH/CHEMCL/GASSU", - "MAT/CM/PPE/CLOTH/CHEMCL/LIQSU", - "MAT/CM/PPE/CLOTH/CHEMCL/SPLASU", - "MAT/CM/PPE/CLOTH/CHEMCL/TEMPSU", - "MAT/EQ/CBRN", - "MAT/EQ/ELC", - "MAT/EQ/ENG", - "MAT/EQ/OTH", - "MAT/EQ/POLICE", - "MAT/EQ/CBRN/ABICHM", - "MAT/EQ/CBRN/ABIDET", - "MAT/EQ/CBRN/ACHDET", - "MAT/EQ/CBRN/ARDDET", - "MAT/EQ/CBRN/BIOINT", - "MAT/EQ/CBRN/BIOSTO", - "MAT/EQ/CBRN/CBRNDEC", - "MAT/EQ/CBRN/CBRNREC", - "MAT/EQ/CBRN/CHMMON", - "MAT/EQ/CBRN/MSSPTR", - "MAT/EQ/CBRN/RDSPTR", - "MAT/EQ/ELC/AMTRAD", - "MAT/EQ/ELC/C3I", - "MAT/EQ/ELC/COMSYS", - "MAT/EQ/ELC/COMVEH", - "MAT/EQ/ELC/MULTIRE", - "MAT/EQ/ELC/NAV", - "MAT/EQ/ELC/NAVRAD", - "MAT/EQ/ELC/OTH", - "MAT/EQ/ELC/POWGN", - "MAT/EQ/ELC/RIDD", - "MAT/EQ/ELC/SEN", - "MAT/EQ/ELC/SONAR", - "MAT/EQ/ELC/THIMC", - "MAT/EQ/ELC/VIBRA", - "MAT/EQ/ELC/COMSYS/MEGPHN", - "MAT/EQ/ELC/COMSYS/PAGER", - "MAT/EQ/ELC/COMSYS/PMRRDIO", - "MAT/EQ/ELC/COMSYS/PUBADD", - "MAT/EQ/ELC/COMSYS/RDBRCT", - "MAT/EQ/ENG/BRIDGG", - "MAT/EQ/ENG/CNSTVE", - "MAT/EQ/ENG/CONST", - "MAT/EQ/ENG/DOZER", - "MAT/EQ/ENG/ERTHMV", - "MAT/EQ/ENG/FIRFGT", - "MAT/EQ/ENG/INTEL", - "MAT/EQ/ENG/MINECL", - "MAT/EQ/ENG/MINEDT", - "MAT/EQ/ENG/MINEMR", - "MAT/EQ/ENG/WPNPRT", - "MAT/EQ/ENG/FIRFGT/BRHTAP", - "MAT/EQ/ENG/FIRFGT/CEAR", - "MAT/EQ/ENG/FIRFGT/CEC", - "MAT/EQ/ENG/FIRFGT/CECH", - "MAT/EQ/ENG/FIRFGT/CEEV", - "MAT/EQ/ENG/FIRFGT/CEM", - "MAT/EQ/ENG/FIRFGT/CEPC", - "MAT/EQ/ENG/FIRFGT/CEPO", - "MAT/EQ/ENG/FIRFGT/CEPOL", - "MAT/EQ/ENG/FIRFGT/CER", - "MAT/EQ/ENG/FIRFGT/CESD", - "MAT/EQ/ENG/FIRFGT/GRDMON", - "MAT/EQ/ENG/FIRFGT/MPR", - "MAT/EQ/ENG/FIRFGT/RAR", - "MAT/EQ/ENG/FIRFGT/UMIR", - "MAT/EQ/ENG/FIRFGT/VAMUR", - "MAT/EQ/ENG/INTEL/CAMERA", - "MAT/EQ/ENG/INTEL/CCTVCM", - "MAT/EQ/ENG/INTEL/CDVDOG", - "MAT/EQ/ENG/INTEL/FSPDCM", - "MAT/EQ/ENG/INTEL/FTFLCM", - "MAT/EQ/ENG/INTEL/PSPDCM", - "MAT/EQ/ENG/INTEL/TCKDOG", - "MAT/EQ/ENG/WPNPRT/BALVST", - "MAT/EQ/ENG/WPNPRT/BATON", - "MAT/EQ/ENG/WPNPRT/ENFDOG", - "MAT/EQ/ENG/WPNPRT/FIREARM", - "MAT/EQ/ENG/WPNPRT/HNDCUF", - "MAT/EQ/ENG/WPNPRT/OFFPRT", - "MAT/EQ/ENG/WPNPRT/PRSCNT", - "MAT/EQ/OTH/BLNKT", - "MAT/EQ/OTH/CONTNR", - "MAT/EQ/OTH/CUTING", - "MAT/EQ/OTH/TANK", - "MAT/EQ/OTH/TENT", - "MAT/EQ/OTH/WATPUR", - "MAT/EQ/POLICE/BRTEST", - "MAT/EQ/POLICE/CONE", - "MAT/EQ/POLICE/LAMP", - "MAT/EQ/POLICE/STINGER", - "MAT/EQ/POLICE/TORCH", - "MAT/EQ/POLICE/UNFRMC", - "MAT/EQ/POLICE/UNFRMN", - "MAT/VEH/AIRCRF", - "MAT/VEH/HORSE", - "MAT/VEH/RAILVE", - "MAT/VEH/ROADVE", - "MAT/VEH/VESSEL", - "MAT/VEH/AIRCRF/AIRTRS", - "MAT/VEH/AIRCRF/CMDCTL", - "MAT/VEH/AIRCRF/HEL", - "MAT/VEH/AIRCRF/HELCMD", - "MAT/VEH/AIRCRF/HELMED", - "MAT/VEH/AIRCRF/HELREC", - "MAT/VEH/AIRCRF/MEDEVC", - "MAT/VEH/AIRCRF/PLANE", - "MAT/VEH/AIRCRF/POLHEL", - "MAT/VEH/AIRCRF/RECCE", - "MAT/VEH/AIRCRF/SAR", - "MAT/VEH/AIRCRF/TANKER", - "MAT/VEH/AIRCRF/UAV", - "MAT/VEH/RAILVE/LCMDSE", - "MAT/VEH/RAILVE/LCMDSL", - "MAT/VEH/RAILVE/LCMELC", - "MAT/VEH/RAILVE/LCMSTM", - "MAT/VEH/RAILVE/LCMTND", - "MAT/VEH/RAILVE/LCMTVE", - "MAT/VEH/RAILVE/RLDEQP", - "MAT/VEH/RAILVE/RLLSTK", - "MAT/VEH/RAILVE/TRAM", - "MAT/VEH/RAILVE/WGNART", - "MAT/VEH/RAILVE/WGNBRK", - "MAT/VEH/RAILVE/WGNCAR", - "MAT/VEH/RAILVE/WGNCRG", - "MAT/VEH/RAILVE/WGNCSS", - "MAT/VEH/RAILVE/WGNCTL", - "MAT/VEH/RAILVE/WGNFLB", - "MAT/VEH/RAILVE/WGNFUL", - "MAT/VEH/RAILVE/WGNHPR", - "MAT/VEH/RAILVE/WGNISO", - "MAT/VEH/RAILVE/WGNLQD", - "MAT/VEH/RAILVE/WGNMNR", - "MAT/VEH/RAILVE/WGNOPC", - "MAT/VEH/RAILVE/WGNPAS", - "MAT/VEH/RAILVE/WGNRFG", - "MAT/VEH/RAILVE/WGNRPR", - "MAT/VEH/RAILVE/WGNSPP", - "MAT/VEH/RAILVE/WGNWAT", - "MAT/VEH/RAILVE/WGNWFL", - "MAT/VEH/ROADVE/AMBUL", - "MAT/VEH/ROADVE/AUTOMO", - "MAT/VEH/ROADVE/BICYCL", - "MAT/VEH/ROADVE/BUS", - "MAT/VEH/ROADVE/CCTRCK", - "MAT/VEH/ROADVE/CRANE", - "MAT/VEH/ROADVE/FRFGTN", - "MAT/VEH/ROADVE/HETVEH", - "MAT/VEH/ROADVE/MAINT", - "MAT/VEH/ROADVE/MHVEH", - "MAT/VEH/ROADVE/MILUV", - "MAT/VEH/ROADVE/MOTCYC", - "MAT/VEH/ROADVE/POD", - "MAT/VEH/ROADVE/POLICE", - "MAT/VEH/ROADVE/SEMI", - "MAT/VEH/ROADVE/TRACTR", - "MAT/VEH/ROADVE/TRAILR", - "MAT/VEH/ROADVE/TRLBUS", - "MAT/VEH/ROADVE/TRUCK", - "MAT/VEH/ROADVE/FRFGTN/AERIAL", - "MAT/VEH/ROADVE/FRFGTN/BREATH", - "MAT/VEH/ROADVE/FRFGTN/C3", - "MAT/VEH/ROADVE/FRFGTN/FRF", - "MAT/VEH/ROADVE/FRFGTN/HAZMAT", - "MAT/VEH/ROADVE/FRFGTN/OTHR", - "MAT/VEH/ROADVE/FRFGTN/PERCAR", - "MAT/VEH/ROADVE/FRFGTN/PUMP", - "MAT/VEH/ROADVE/FRFGTN/RSC", - "MAT/VEH/ROADVE/POLICE/COMLIA", - "MAT/VEH/ROADVE/POLICE/DOGUNT", - "MAT/VEH/ROADVE/POLICE/GENPUR", - "MAT/VEH/ROADVE/POLICE/HAZMAT", - "MAT/VEH/ROADVE/POLICE/MBIKE", - "MAT/VEH/ROADVE/POLICE/PATROL", - "MAT/VEH/ROADVE/POLICE/RSPONSE", - "MAT/VEH/ROADVE/POLICE/TRAFFIC", - "MAT/VEH/ROADVE/POLICE/TRANSIT", - "MAT/VEH/ROADVE/POLICE/VAN", - "MAT/VEH/VESSEL/AIRCAR", - "MAT/VEH/VESSEL/AMPH", - "MAT/VEH/VESSEL/BARGE", - "MAT/VEH/VESSEL/BARSHP", - "MAT/VEH/VESSEL/BRDGBT", - "MAT/VEH/VESSEL/CNTSHP", - "MAT/VEH/VESSEL/CSRSHP", - "MAT/VEH/VESSEL/CSTSHP", - "MAT/VEH/VESSEL/DPSMVS", - "MAT/VEH/VESSEL/FERRY", - "MAT/VEH/VESSEL/FIRBOT", - "MAT/VEH/VESSEL/FLTCRN", - "MAT/VEH/VESSEL/FLTDRG", - "MAT/VEH/VESSEL/FLTDRY", - "MAT/VEH/VESSEL/FREBLK", - "MAT/VEH/VESSEL/FRELIQ", - "MAT/VEH/VESSEL/HOSSHP", - "MAT/VEH/VESSEL/HOVCRF", - "MAT/VEH/VESSEL/ICEBRK", - "MAT/VEH/VESSEL/LAUNCH", - "MAT/VEH/VESSEL/LGHTER", - "MAT/VEH/VESSEL/LNDCRF", - "MAT/VEH/VESSEL/MERSHP", - "MAT/VEH/VESSEL/MOBLS", - "MAT/VEH/VESSEL/OILER", - "MAT/VEH/VESSEL/PASSGR", - "MAT/VEH/VESSEL/PATVES", - "MAT/VEH/VESSEL/POLSPD", - "MAT/VEH/VESSEL/PRV", - "MAT/VEH/VESSEL/RAFT", - "MAT/VEH/VESSEL/RPRSHP", - "MAT/VEH/VESSEL/SAILVS", - "MAT/VEH/VESSEL/SALSHP", - "MAT/VEH/VESSEL/SMLLBO", - "MAT/VEH/VESSEL/SUBMAR", - "MAT/VEH/VESSEL/TANKER", - "MAT/VEH/VESSEL/TENDER", - "MAT/VEH/VESSEL/TUGBOT", - "ORG/AMBUL", - "ORG/CIVP", - "ORG/COASTG", - "ORG/DOCTOR", - "ORG/ENVAGC", - "ORG/FIRFS", - "ORG/GEND", - "ORG/HOSP", - "ORG/IDCOM", - "ORG/LCRESF", - "ORG/LOCAUT", - "ORG/MARAGC", - "ORG/METAGC", - "ORG/MIL", - "ORG/NGO", - "ORG/POLCNG", - "ORG/POLICE", - "ORG/RGRESF", - "ORG/SPADPV", - "ORG/TRS", - "ORG/WATAGC" - ] - } - }, - "CAPABILITY": { - "type": "array", - "x-health-only": false, - "items": { - "type": "string", - "title": "Capacit\u00e9s de la ressource", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/RTYPE/CAPABILITY/0", - "description": "Permet d'indiquer les capacit\u00e9s de la ressource d'apr\u00e8s le standard EMSI" - } - }, - "CHARACTERISTICS": { - "type": "array", - "x-health-only": false, - "items": { - "type": "string", - "title": "Caract\u00e9ristiques de la ressource", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/RTYPE/CHARACTERISTICS/0", - "description": "Permet d'indiquer des caract\u00e9ristique physiques de la ressource (hauteur, largeur, longueur et poids).\nLe d\u00e9tail de fonctionnement de cette nomenclature est fournie en annexe." - } - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/RESOURCE/0/RTYPE" - }, - "rgeo": { - "type": "object", - "title": "Localisation de la ressource", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "TYPE" - ], - "properties": { - "DATIME": { - "type": "string", - "title": "Horaire de la localisation", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/RGEO/0/DATIME", - "description": "Horaire associ\u00e9 \u00e0 l'arriv\u00e9e de la ressource sur la position. En fonction du TYPE de possition, peut indiquer un horaire de relev\u00e9 de position, un horaire cible d'arriv\u00e9e.", - "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[\\-+]\\d{2}:\\d{2}", - "format": "date-time" - }, - "TYPE": { - "type": "string", - "title": "Type de localisation", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/RGEO/0/TYPE", - "description": "Type de position indiqu\u00e9 pour la ressource :\n- ASP : assembly point. Point de rassemblement par d\u00e9faut des ressources li\u00e9es \u00e0 la mission. Peut ne pas \u00eatre utilis\u00e9\n- CUR : current. Position actualis\u00e9e de la ressource permettant le suivi g\u00e9olocalis\u00e9 des v\u00e9hicules notamment. Peut ne pas \u00eatre utilis\u00e9\n- INC : incident. Consigne relative au positionnement de la ressource sur le lieu d'intervention. Peut ne pas \u00eatre utilis\u00e9\n- STG : staging point. Consigne relative au stationnement des v\u00e9hicules ou au stockage du mat\u00e9riel par exemple. peut ne pas \u00eatre utilis\u00e9\n- TGT : targer location. Si renseign\u00e9, doit \u00eatre coh\u00e9rent avec la position renseign\u00e9e pour la mission.\nPlusieurs positions du m\u00eame type avec des horodatages diff\u00e9rents peuvent \u00eatre fournies. ", - "enum": [ - "ASP", - "CUR", - "INC", - "STG", - "TGT" - ] - }, - "FREETEXT": { - "type": "string", - "title": "Texte libre ", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/RGEO/0/FREETEXT", - "description": "Permet de rajouter des pr\u00e9cisions sur la localisation de la ressource transmise" - }, - "ID": { - "type": "string", - "title": "ID localisation", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/RGEO/0/ID", - "description": "Identifiant unique de la position dans le syst\u00e8me du partenaire" - }, - "POSITION": { - "type": "array", - "items": { - "$ref": "#/definitions/position" - } - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/RESOURCE/0/RGEO/0" - }, - "contact": { - "type": "object", - "title": "Contacts", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "TYPE", - "DETAIL" - ], - "properties": { - "TYPE": { - "type": "string", - "title": "Type de contact", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/CONTACTS/0/TYPE", - "description": "Type de contact, voir \u00e9num\u00e9ration associ\u00e9e\n\n1. PMRADD (si RFGI disponible)\n2. PHNADD pour t\u00e9l\u00e9phonie", - "enum": [ - "PSTADD", - "EMLADD", - "IPADD", - "FTPADD", - "WWWADD", - "PHNADD", - "FAXADD", - "PMRADD" - ] - }, - "DETAIL": { - "type": "string", - "title": "D\u00e9tails de contact", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/emsi/RESOURCE/0/CONTACTS/0/DETAIL", - "description": "1. RFGI du moyen NEXSIS (si RFGI disponible)\n2. Num\u00e9ro de t\u00e9l\u00e9phone" - } - }, - "additionalProperties": false, - "example": "example.json#/emsi/RESOURCE/0/CONTACTS/0" - } - } -} \ No newline at end of file diff --git a/csv_parser/out/RS-EDA/RS-EDA.schema.json b/csv_parser/out/RS-EDA/RS-EDA.schema.json deleted file mode 100644 index b0c1b1d314..0000000000 --- a/csv_parser/out/RS-EDA/RS-EDA.schema.json +++ /dev/null @@ -1,2221 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "classpath:/json-schema/schema#", - "x-id": "RS-EDA.schema.json#", - "version": "24.02.15", - "example": "example.json#", - "type": "object", - "title": "createCase", - "required": [ - "createCaseHealth" - ], - "properties": { - "createCaseHealth": { - "$ref": "#/definitions/createCaseHealth" - } - }, - "definitions": { - "createCaseHealth": { - "type": "object", - "title": "Objet createCase", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "caseId", - "creation", - "referenceVersion", - "qualification", - "location", - "owner" - ], - "properties": { - "caseId": { - "type": "string", - "title": "Identifiant affaire/dossier", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/caseId", - "description": "Identifiant technique de l'affaire et partag\u00e9 entre tous les intervenants.\nIl doit pouvoir \u00eatre g\u00e9n\u00e9r\u00e9 de fa\u00e7on unique et d\u00e9centralis\u00e9e et ne pr\u00e9senter aucune ambigu\u00eft\u00e9. Il est g\u00e9n\u00e9r\u00e9 par les syst\u00e8mes du partenaire r\u00e9cepteur de la primo-demande de secours et contient une cl\u00e9 conventionnelle permettant d'identifier la source.\nValorisation :\n{cleConventionnelle}:{cleUnique}\no\u00f9 cleConventionnelle est la cl\u00e9 utilis\u00e9e par le partenaire emetteur et cleUnique l'identifiant locale d'affaire dans le syst\u00e8me du partenaire emetteur.\ncleUnique est une cha\u00eene de caract\u00e8re (string) comprise entre 4 et 22 caract\u00e8res alphanum\u00e9riques." - }, - "senderCaseId": { - "type": "string", - "title": "Identifiant local de l'affaire/dossier", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/senderCaseId", - "description": "Valoriser avec l'identifiant de l'affaire dans le SI de l'\u00e9metteur du message\nCe champ est facultatif, il ne sera notamment pas transmis par NexSIS\nDans le cas o\u00f9 deux op\u00e9rateurs ont besoin d'identifier une affaire, ils peuvent utiliser les derniers caract\u00e8res de l'identifiant local de leur partenaire." - }, - "creation": { - "type": "string", - "title": "Date Heure de cr\u00e9ation de l'affaire/dossier", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/creation", - "description": "Groupe date heure de d\u00e9but de partage li\u00e9 \u00e0 la cr\u00e9ation de l'affaire (et donc de g\u00e9n\u00e9ration du caseId). Il doit \u00eatre renseign\u00e9 \u00e0 la fin du processus de la cr\u00e9ation de la premi\u00e8re alerte. Lors de l'ajout d'alerte \u00e0 une affaire ce champ ne doit pas \u00eatre modifi\u00e9. L'indicateur de fuseau horaire Z ne doit pas \u00eatre utilis\u00e9.", - "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[\\-+]\\d{2}:\\d{2}", - "format": "date-time" - }, - "referenceVersion": { - "type": "string", - "title": "Version des nomenclatures du r\u00e9f\u00e9rentiel CISU", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/referenceVersion", - "description": "Indique le num\u00e9ro de version du r\u00e9f\u00e9rentiel des nomenclatures des codes transmis. \nCela permet aux diff\u00e9rents syst\u00e8mes de s'assurer qu'ils utilisent la m\u00eame version des codes de nomenclature que leurs partenaires." - }, - "qualification": { - "$ref": "#/definitions/qualification" - }, - "location": { - "$ref": "#/definitions/location" - }, - "initialAlert": { - "$ref": "#/definitions/alert" - }, - "owner": { - "type": "string", - "title": "CRRA traitant", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/owner", - "description": "Champ servant \u00e0 transf\u00e9rer la responsabilit\u00e9 du traitement d'un dossier \u00e0 un autre CRAA / \u00e0 lui demander de prendre en charge le traitement du dossier.\nLe SAMU demandeur entre dans ce champ l'ID du CRAA \u00e0 qui il demande de traiter l'affaire (uniquement en cas de transfert int\u00e9gral du traitement d'un dossier).\nLe SAMU qui re\u00e7oit la demande de transfert et l'accepte renvoie un RC-EDA de mise \u00e0 jour en laissant son ID dans ce champ + en ajoutant l'ID local du dossier chez lui dans le message.\nLe SAMU qui re\u00e7oit la demande de transfert et la refuse renvoie un RC-EDA de mise \u00e0 jour en remettant l'ID du SAMU demandeur dans ce champ + il envoie l'ID local du dossier chez lui." - }, - "operator": { - "type": "array", - "items": { - "$ref": "#/definitions/operator" - } - }, - "patient": { - "type": "array", - "items": { - "$ref": "#/definitions/patient" - } - }, - "medicalAnalysis": { - "type": "array", - "items": { - "$ref": "#/definitions/medicalAnalysis" - } - }, - "newAlert": { - "type": "array", - "items": { - "$ref": "#/definitions/alert" - } - }, - "additionalInformation": { - "$ref": "#/definitions/additionalInformation" - }, - "freetext": { - "type": "string", - "title": "Description de l'affaire/dossier", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/freetext", - "description": "Texte libre permettant de donner des informations suppl\u00e9mentaires concernant l'affaire" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth" - }, - "qualification": { - "type": "object", - "title": "Qualification de l'affaire/dossier", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "whatsHappen" - ], - "properties": { - "whatsHappen": { - "$ref": "#/definitions/nomenclature" - }, - "locationKind": { - "$ref": "#/definitions/nomenclature" - }, - "riskThreat": { - "type": "array", - "items": { - "$ref": "#/definitions/nomenclature" - } - }, - "healthMotive": { - "$ref": "#/definitions/nomenclature" - }, - "details": { - "$ref": "#/definitions/caseDetails" - }, - "victims": { - "$ref": "#/definitions/victims" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/qualification" - }, - "location": { - "type": "object", - "title": "Localisation de l'affaire/dossier", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "locID", - "name", - "country" - ], - "properties": { - "locID": { - "type": "string", - "title": "Identifiant technique de localisation", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/locID", - "description": "ID technique et provisoire permettant d'identifier le lieu dans le cadre des \u00e9changes de cette affaire." - }, - "locLabel": { - "type": "string", - "title": "R\u00e9sum\u00e9 de la localisation", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/locLabel", - "description": "Permet d'indiquer des indications auto suffisantes permettant pour un op\u00e9rationnel d'acc\u00e9der facilement au lieu avec des indications minimales.\nDans les messages NexSIS, va souvent correspondre \u00e0 la concat\u00e9nation suivant des r\u00e8gles m\u00e9tiers de diff\u00e9rentes informations, dont le \"name\" (toponyme) et l'adresse.\nComprend au maximum 255 caract\u00e8res" - }, - "name": { - "type": "string", - "title": "Nom du lieu", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/name", - "description": "Indique le nom de lieu : nom commercial, for\u00eat de Fontainebleau, lac du Der (plut\u00f4t \u00e0 destination des syst\u00e8mes)." - }, - "detailedAddress": { - "$ref": "#/definitions/detailedAddress" - }, - "city": { - "$ref": "#/definitions/city" - }, - "access": { - "$ref": "#/definitions/access" - }, - "geometry": { - "$ref": "#/definitions/geometry" - }, - "externalInfo": { - "type": "array", - "items": { - "$ref": "#/definitions/externalInfo" - } - }, - "country": { - "type": "string", - "title": "Pays", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/country", - "enum": [ - "AF", - "AX", - "AL", - "DZ", - "AS", - "AD", - "AO", - "AI", - "AQ", - "AG", - "AR", - "AM", - "AW", - "AU", - "AT", - "AZ", - "BS", - "BH", - "BD", - "BB", - "BY", - "BE", - "BZ", - "BJ", - "BM", - "BT", - "BO", - "BA", - "BW", - "BV", - "BR", - "IO", - "BN", - "BG", - "BF", - "BI", - "CV", - "KH", - "CM", - "CA", - "KY", - "CF", - "TD", - "CL", - "CN", - "CX", - "CC", - "CO", - "KM", - "CG", - "CK", - "CR", - "CI", - "HR", - "CU", - "CW", - "CY", - "CZ", - "DK", - "DJ", - "DM", - "DO", - "EC", - "EG", - "SV", - "GQ", - "ER", - "EE", - "SZ", - "ET", - "FK", - "FO", - "FJ", - "FI", - "FR", - "GF", - "PF", - "TF", - "GA", - "GM", - "GE", - "DE", - "GH", - "GI", - "GR", - "GL", - "GD", - "GP", - "GU", - "GT", - "GG", - "GN", - "GW", - "GY", - "HT", - "HM", - "VA", - "HN", - "HK", - "HU", - "IS", - "IN", - "ID", - "IR", - "IQ", - "IE", - "IM", - "IL", - "IT", - "JM", - "JP", - "JE", - "JO", - "KZ", - "KE", - "KI", - "KP", - "KW", - "KG", - "LA", - "LV", - "LB", - "LS", - "LR", - "LY", - "LI", - "LT", - "LU", - "MO", - "MG", - "MW", - "MY", - "MV", - "ML", - "MT", - "MH", - "MQ", - "MR", - "MU", - "YT", - "MX", - "FM", - "MC", - "MN", - "ME", - "MS", - "MA", - "MZ", - "MM", - "NA", - "NR", - "NP", - "NL", - "NC", - "NZ", - "NI", - "NE", - "NG", - "NU", - "NF", - "MK", - "MP", - "NO", - "OM", - "PK", - "PW", - "PA", - "PG", - "PY", - "PE", - "PH", - "PN", - "PL", - "PT", - "PR", - "QA", - "RE", - "RO", - "RU", - "RW", - "BL", - "KN", - "LC", - "MF", - "PM", - "VC", - "WS", - "SM", - "ST", - "SA", - "SN", - "RS", - "SC", - "SL", - "SG", - "SX", - "SK", - "SI", - "SB", - "SO", - "ZA", - "GS", - "SS", - "ES", - "LK", - "SD", - "SR", - "SJ", - "SE", - "CH", - "SY", - "TJ", - "TH", - "TL", - "TG", - "TK", - "TO", - "TT", - "TN", - "TR", - "TM", - "TC", - "TV", - "UG", - "UA", - "AE", - "GB", - "US", - "UM", - "UY", - "UZ", - "VU", - "VE", - "VN", - "VG", - "VI", - "WF", - "EH", - "YE", - "ZM", - "ZW" - ] - }, - "freetext": { - "type": "string", - "title": "Commentaire", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/freetext", - "description": "Champ libre pour compl\u00e9ter les informations de localisation" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/location" - }, - "alert": { - "type": "object", - "title": "Alerte initiale", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "id", - "reception", - "reporting", - "caller", - "alertSource", - "location", - "qualification", - "callTaker" - ], - "properties": { - "id": { - "type": "string", - "title": "Identifiant alerte", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/id", - "description": "Identifiant technique unique de l'alerte. Il doit pouvoir \u00eatre g\u00e9n\u00e9r\u00e9 automatiquement par le syst\u00e8me \u00e9metteur et ne doit pas avoir de signification / utilisation particuli\u00e8re par les diff\u00e9rents syst\u00e8mes pour garantir leur d\u00e9couplage.\nVoir la description de l'identifiant de l'affaire pour voir le format.\nLorsqu\u2019une alerte est g\u00e9n\u00e9r\u00e9e dans NexSIS et cr\u00e9e une affaire, elle est qualifi\u00e9e d\u2019Alerte Initiale.\na)\tSi cette derni\u00e8re concerne un partenaire (caract\u00e8re m\u00e9dical pour la Sant\u00e9 par exemple), elle est relay\u00e9e seule dans le message. Il y\u2019a un seul objet initialAlert.\nb)\tSinon, une autre alerte li\u00e9e \u00e0 la m\u00eame affaire peut \u00eatre d\u00e9clar\u00e9e ult\u00e9rieurement, concernant cette fois le partenaire. Lorsqu\u2019elle est d\u00e9clar\u00e9e cette Nouvelle Alerte est relay\u00e9e avec l\u2019Alerte Initiale pour partager un contexte commun. Dans le message de cr\u00e9ation d\u2019affaire il y\u2019a deux objets alerte : initialAlert et newAlert.\nLe rattachement des messages \u00e0 une affaire doivent s'appuyer sur les caseId et non les alertId qui peuvent varier d'un syst\u00e8me \u00e0 l'autre." - }, - "reception": { - "type": "string", - "title": "Date de r\u00e9ception de l'alerte", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/reception", - "description": "Groupe date heure de r\u00e9ception de l'alerte", - "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[\\-+]\\d{2}:\\d{2}", - "format": "date-time" - }, - "reporting": { - "type": "string", - "title": "Signalement", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/reporting", - "description": "Permet d'attirer l'attention des forces partenaires sur une affaire pour le faire sortir du lot.\nEventuellement automatis\u00e9 en fonction des crit\u00e8res saisis et de leur param\u00e9trage, ou renseign\u00e9 par l'op\u00e9rateur. \nPrend les valeurs d\u00e9finies dans la nomenclature CISU :\n- standard : STANDARD\n- signal\u00e9 : ATTENTION\nLes syst\u00e8mes peuvent proposer des fonctionnalit\u00e9s faisant ressortir les dossiers avec le libell\u00e9 ATTENTION", - "enum": [ - "STANDARD", - "ATTENTION" - ] - }, - "freetext": { - "type": "string", - "title": "Informations compl\u00e9mentaires sur l'alerte", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/freetext", - "description": "Texte libre permettant de donner des informations suppl\u00e9mentaires concernant l'alerte" - }, - "caller": { - "$ref": "#/definitions/caller" - }, - "alertSource": { - "$ref": "#/definitions/contactSource" - }, - "location": { - "$ref": "#/definitions/location" - }, - "qualification": { - "$ref": "#/definitions/qualification" - }, - "callTaker": { - "$ref": "#/definitions/callTaker" - }, - "attachment": { - "type": "array", - "items": { - "$ref": "#/definitions/attachment" - } - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/initialAlert" - }, - "operator": { - "type": "object", - "title": "Op\u00e9rateurs impliqu\u00e9s", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [ - "detailedName", - "role" - ], - "properties": { - "detailedName": { - "$ref": "#/definitions/detailedName" - }, - "id": { - "type": "string", - "title": "ID", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/operator/0/id", - "description": "Identifiant professionnel de l'op\u00e9rateur si existant" - }, - "role": { - "type": "string", - "title": "R\u00f4le", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/operator/0/role", - "description": "R\u00f4le de l'op\u00e9rateur au sein de l'entit\u00e9 \u00e9mettrice du message" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/operator/0" - }, - "patient": { - "type": "object", - "title": "Patients / victimes", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [ - "id" - ], - "properties": { - "id": { - "type": "string", - "title": "ID patient partag\u00e9", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/id", - "description": "Identifiant technique du patient pour permettre les rapprochements d'infos. Le 1er qui cr\u00e9\u00e9 l'ID patient a raison." - }, - "file": { - "$ref": "#/definitions/file" - }, - "identity": { - "$ref": "#/definitions/insIdentity" - }, - "healthMotive": { - "$ref": "#/definitions/nomenclature" - }, - "detail": { - "$ref": "#/definitions/patientDetail" - }, - "hypothesis": { - "$ref": "#/definitions/hypothesis" - }, - "resourceDiagnosis": { - "$ref": "#/definitions/nomenclature" - }, - "medicalNote": { - "type": "array", - "items": { - "$ref": "#/definitions/medicalNote" - } - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/patient/0" - }, - "medicalAnalysis": { - "type": "object", - "title": "R\u00e9gulation m\u00e9dicale", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [], - "properties": { - "patientId": { - "type": "string", - "title": "ID patient partag\u00e9", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/medicalAnalysis/0/patientId", - "description": "ID du patient concern\u00e9, lorsque le patient existe et est identifi\u00e9" - }, - "decision": { - "type": "array", - "items": { - "$ref": "#/definitions/decision" - } - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/medicalAnalysis/0" - }, - "additionalInformation": { - "type": "object", - "title": "Informations compl\u00e9mentaires", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [], - "properties": { - "customMap": { - "type": "array", - "items": { - "$ref": "#/definitions/customMap" - }, - "maxItems": 3 - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/additionalInformation" - }, - "nomenclature": { - "type": "object", - "title": "Nature de fait", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "code", - "label" - ], - "properties": { - "code": { - "type": "string", - "title": "Code", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/qualification/whatsHappen/code", - "description": "A valoriser avec un code la nomenclature associ\u00e9e" - }, - "label": { - "type": "string", - "title": "Libell\u00e9", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/qualification/whatsHappen/label", - "description": "A valoriser avec le libell\u00e9 de la nomenclature associ\u00e9e.\nDans le cas o\u00f9 un syst\u00e8me n'est pas en mesure de reconna\u00eetre un code, il peut directement afficher le libell\u00e9 qui est obligatoirement fourni avec le code." - }, - "freetext": { - "type": "string", - "title": "Commentaire", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/qualification/whatsHappen/freetext", - "description": "Permet de compl\u00e9menter en commentaire libre l'attribut permettant de qualifier l'\u00e9v\u00e9nement." - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/qualification/whatsHappen" - }, - "caseDetails": { - "type": "object", - "title": "D\u00e9tails du dossier ", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [], - "properties": { - "status": { - "type": "string", - "title": "Etat du dossier", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/qualification/details/status", - "description": "cf. cycle SI SAMU uniquement (si applicable) : \u00e9changer l'\u00e9tat du dossier si le cycle de vie du dossier est impl\u00e9ment\u00e9 de mani\u00e8re conforme au cycle de vie du dossier SI-SAMU", - "enum": [ - "Nouveau ", - "Actif ", - "Valid\u00e9 ", - "Cl\u00f4tur\u00e9 ", - "Class\u00e9 " - ] - }, - "type": { - "type": "string", - "title": "Type de dossier", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/qualification/details/type", - "description": "D/DR/DRM si cycle SI-SAMU impl\u00e9ment\u00e9" - }, - "attribution": { - "type": "string", - "title": "Attribution du dossier", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/qualification/details/attribution", - "description": "D\u00e9crit le type de professionnel m\u00e9dical \u00e0 qui le dossier est attribu\u00e9" - }, - "priority": { - "type": "string", - "title": "Priorit\u00e9 de r\u00e9gulation m\u00e9dicale", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/qualification/details/priority", - "description": "D\u00e9crit la priorit\u00e9 de r\u00e9gulation m\u00e9dicale du dossier.", - "enum": [ - "P0", - "P1", - "P2", - "P3" - ] - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/qualification/details" - }, - "victims": { - "type": "object", - "title": "Patients/Victimes", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [], - "properties": { - "count": { - "type": "string", - "title": "Nombre de patients-victimes", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/qualification/victims/count", - "description": "Indique le nombre de victimes selon la nomenclature du r\u00e9f\u00e9rentiel CISU", - "enum": [ - "0", - "1", - "SEVERAL", - "MANY", - "UNKNOWN" - ] - }, - "mainVictim": { - "type": "string", - "title": "Type du patient-victime principal", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/qualification/victims/mainVictim", - "description": "Identifie le type de la principale victime (celle dont l'\u00e9tat de sant\u00e9 provoque le d\u00e9clenchement de l'envoi des secours). Prend les valeurs du r\u00e9f\u00e9rentiel CISU. Entre dans la d\u00e9termination des partenaires impliqu\u00e9s par NexSIS.", - "enum": [ - "INFANT", - "CHILD", - "ADULT", - "SENIOR" - ] - }, - "freetext": { - "type": "string", - "title": "Informations compl\u00e9mentaires sur les patients-victimes", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/qualification/victims/freetext", - "description": "Permet de compl\u00e9menter en commentaire libre la(les) victime(s)" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/qualification/victims" - }, - "detailedAddress": { - "type": "object", - "title": "D\u00e9tails de l'adresse", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "complete" - ], - "properties": { - "complete": { - "type": "string", - "title": "Num\u00e9ro, type et nom de voie", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/detailedAddress/complete", - "description": "Num\u00e9ro, type et nom de la voie. \nUtilis\u00e9 pour tout type de voie : autoroute (PK, nom et sens), voie ferr\u00e9e, voie navigable\u2026\nObligatoire et seule valeur des d\u00e9tails de l'adresse fournie par NexSIS." - }, - "number": { - "type": "string", - "title": "Num\u00e9ro dans la voie", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/detailedAddress/number", - "description": "Num\u00e9ro dans l'adresse (inclut point kilom\u00e9trique sur l'autoroute, voie ferr\u00e9e ou voie navigable). Inclut l'indice de r\u00e9p\u00e9tition associ\u00e9 au num\u00e9ro (par exemple bis, a\u2026)." - }, - "wayName": { - "$ref": "#/definitions/wayName" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/location/detailedAddress" - }, - "city": { - "type": "object", - "title": "D\u00e9tails de la commune", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [], - "properties": { - "name": { - "type": "string", - "title": "Nom de la commune", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/city/name", - "description": "Nom officiel de la commune actuelle" - }, - "inseeCode": { - "type": "string", - "title": "Code INSEE de la commune", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/city/inseeCode", - "description": "Code INSEE de la commune actuelle sur la base du Code Officiel g\u00e9ographique en vigueur. Obligatoire si le nom de la commune est renseign\u00e9.", - "pattern": "[0-9]{5}" - }, - "detail": { - "type": "string", - "title": "Compl\u00e9ment de commune", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/city/detail", - "description": "Informations compl\u00e9mentaires permettant de pr\u00e9ciser le quartier, lieu-dit, ancienne commune, \u2026 ou autre information aidant \u00e0 pr\u00e9ciser l'adresse et notamment g\u00e9rer les cas de communes fusionn\u00e9es pour le syst\u00e8me \u00e9metteur\nNB : dans tous les cas, la localisation GPS de la commune doit \u00eatre fournie afin d'\u00e9viter une trop forte ambigu\u00eft\u00e9" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/location/city" - }, - "access": { - "type": "object", - "title": "D\u00e9tails d'acc\u00e8s", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [], - "properties": { - "floor": { - "type": "string", - "title": "Etage", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/access/floor", - "description": "Etage " - }, - "roomNumber": { - "type": "string", - "title": "Num\u00e9ro de porte", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/access/roomNumber", - "description": "Sp\u00e9cifie num\u00e9ro d'appartement, de chambre, de bureau" - }, - "interphone": { - "type": "string", - "title": "Interphone", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/access/interphone", - "description": "Indique les informations n\u00e9cessaires \u00e0 l'identification de l'interphone (num\u00e9ro, nom)" - }, - "accessCode": { - "type": "array", - "x-health-only": false, - "items": { - "type": "string", - "title": "Digicode", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/access/accessCode/0", - "description": "Indique le ou les digicodes dans l'ordre de progression dans le b\u00e2timent" - } - }, - "elevator": { - "type": "string", - "title": "Ascenseur/escalier", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/access/elevator", - "description": "Indique l'ascenseur ou la cage d'escalier " - }, - "buildingName": { - "type": "string", - "title": "B\u00e2timent", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/access/buildingName", - "description": "Nom du b\u00e2timent" - }, - "entrance": { - "type": "string", - "title": "Entr\u00e9e", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/access/entrance" - }, - "entity": { - "type": "string", - "title": "Service", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/access/entity", - "description": "Nom du service concern\u00e9 au sein de l'\u00e9tablissement" - }, - "phoneNumber": { - "type": "number", - "title": "N\u00b0 de t\u00e9l\u00e9phone du lieu", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/access/phoneNumber", - "description": "Num\u00e9ro de t\u00e9l\u00e9phone permettant d'acc\u00e9der au lieu de l'intervention, par exemple : t\u00e9l\u00e9phone du secr\u00e9tariat, t\u00e9l\u00e9phone du service administratif ou se trouve le patient/victime." - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/location/access" - }, - "geometry": { - "type": "object", - "title": "G\u00e9ometrie associ\u00e9e", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "obsDatime" - ], - "properties": { - "obsDatime": { - "type": "string", - "title": "Heure du dernier relev\u00e9", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/geometry/obsDatime", - "description": "Groupe date heure de renseignement des coordonn\u00e9es du point cl\u00e9 de la localisation. Permet de conna\u00eetre la fra\u00eecheur et donc pertinence des informations pour intervenir.", - "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[\\-+]\\d{2}:\\d{2}", - "format": "date-time" - }, - "point": { - "$ref": "#/definitions/point" - }, - "sketch": { - "type": "string", - "title": "Formes g\u00e9om\u00e9triques", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/geometry/sketch", - "description": "Objet gml (\u00e9quivalent xml du geojson). Le langage GML permet de d\u00e9crire une forme dans un syst\u00e8me de projection donn\u00e9. \nDans le cas d'une alerte donn\u00e9e sur une zone g\u00e9ographique non pr\u00e9cise (par exemple une section d'autoroute ou une zone sur un chemin de randonn\u00e9e), une indication sur la zone de recherche peut \u00eatre fournie.\nEn XML, un objet gml est encapsul\u00e9 dans une balise \nEn JSON, les balises sont reprises depuis le mod\u00e8le gml\nVoir http://www.opengis.net/gml pour le format de l'objet sketch" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/location/geometry" - }, - "externalInfo": { - "type": "object", - "title": "Liens aux syst\u00e8mes externes", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "freetext", - "type", - "uri" - ], - "properties": { - "freetext": { - "type": "string", - "title": "Nom de la source", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/externalInfo/0/freetext", - "description": "Syst\u00e8me fournissant le localisant : NexSiS ou l'ORG_ID (BAN, IGN, ...)", - "enum": [ - "BAN", - "IGN", - "NexSIS" - ] - }, - "type": { - "type": "string", - "title": "Type ", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/externalInfo/0/type", - "description": "D\u00e9finition du type d'objet dans le syst\u00e8me\nEx : SIG NexSIS / OSM ont plusieurs types de donn\u00e9es -> savoir du quel on parle (POI, tron\u00e7on de route, \u2026) pour faciliter le filtre | Aussi table dans une base de donn\u00e9es", - "enum": [ - "MANUAL", - "MAP", - "OTHER", - "PHOTO", - "WEBSIT" - ] - }, - "uri": { - "type": "string", - "title": "Identifiant", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/externalInfo/0/uri", - "description": "Identifiant unique dans le type. Exemple : UUID d'un ega" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/location/externalInfo/0" - }, - "wayName": { - "type": "object", - "title": "Type et nom de voie", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "complete" - ], - "properties": { - "complete": { - "type": "string", - "title": "Type et nom", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/detailedAddress/wayName/complete", - "description": "Type et nom de la voie (venant d'un r\u00e9f\u00e9rentiel ou non)\nSi les champs type et name sont renseign\u00e9s, le champ callerName doit \u00eatre valoris\u00e9 ainsi : \"{type} {nom}\"." - }, - "type": { - "type": "string", - "title": "Type", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/detailedAddress/wayName/type" - }, - "name": { - "type": "string", - "title": "Nom", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/detailedAddress/wayName/name" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/location/detailedAddress/wayName" - }, - "point": { - "type": "object", - "title": "Point ", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "coord" - ], - "properties": { - "coord": { - "$ref": "#/definitions/coord" - }, - "sysCoord": { - "type": "string", - "title": "Syst\u00e8me de coordonn\u00e9es", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/geometry/point/sysCoord", - "description": "Indique le type de coordonn\u00e9es utilis\u00e9. Actuellement, la seule valeur valide est \u00abEPSG-4326\u00bb, indiquant l'utilisation de WGS-84. Si ce champ n'est pas renseign\u00e9, on consid\u00e8re que la valeur par d\u00e9faut est \u00ab\u00bb." - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/location/geometry/point" - }, - "coord": { - "type": "object", - "title": "Coordonn\u00e9es", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "lat", - "lon", - "precision" - ], - "properties": { - "lat": { - "type": "number", - "title": "Latitude", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/geometry/point/coord/lat", - "description": "Latitude du point cl\u00e9 de la localisation " - }, - "lon": { - "type": "number", - "title": "Longitude", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/geometry/point/coord/lon", - "description": "Longitude du point cl\u00e9 de la localisation" - }, - "height": { - "type": "number", - "title": "Altitude ", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/geometry/point/coord/height", - "description": "Altitude du point cl\u00e9 de la localisation, en m\u00e8tre, ignor\u00e9 c\u00f4t\u00e9 NexSIS. " - }, - "heading": { - "type": "number", - "title": "Cap", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/geometry/point/coord/heading", - "description": "En degr\u00e9" - }, - "speed": { - "type": "number", - "title": "Vitesse", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/geometry/point/coord/speed", - "description": "Vitesse en km/h, notamment fournie par eCall, tel, nouveau AML, \u2026" - }, - "precision": { - "type": "string", - "title": "Pr\u00e9cision", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/location/geometry/point/coord/precision", - "description": "Indique via une nomenclature le niveau de pr\u00e9cision des coordonn\u00e9es fournies par le syst\u00e8me emetteur.\nCITY=Pr\u00e9cision \u00e0 l'\u00e9chelle de la ville, STREET=Pr\u00e9cision \u00e0 l'\u00e9chelle de la rue, ADDRESS=Adresse pr\u00e9cise, EXACT=Point coordonn\u00e9e GPS exact, UNKNOWN=Pr\u00e9cision de la localisation non \u00e9valuable par l'\u00e9metteur", - "enum": [ - "CITY", - "STREET", - "ADDRESS", - "EXACT", - "UNKNOWN" - ] - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/location/geometry/point/coord" - }, - "caller": { - "type": "object", - "title": "Requ\u00e9rant", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [], - "properties": { - "callerContact": { - "$ref": "#/definitions/contact" - }, - "callbackContact": { - "$ref": "#/definitions/contact" - }, - "language": { - "type": "string", - "title": "Langue parl\u00e9e", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/caller/language", - "description": "Langue parl\u00e9e par le requ\u00e9rant. Permet de mettre en place des traducteurs si besoin. Utilise la nomenclature LANGUE du SI-SAMU.", - "enum": [ - "AF", - "AX", - "AL", - "DZ", - "AS", - "AD", - "AO", - "AI", - "AQ", - "AG", - "AR", - "AM", - "AW", - "AU", - "AT", - "AZ", - "BS", - "BH", - "BD", - "BB", - "BY", - "BE", - "BZ", - "BJ", - "BM", - "BT", - "BO", - "BA", - "BW", - "BV", - "BR", - "IO", - "BN", - "BG", - "BF", - "BI", - "CV", - "KH", - "CM", - "CA", - "KY", - "CF", - "TD", - "CL", - "CN", - "CX", - "CC", - "CO", - "KM", - "CG", - "CK", - "CR", - "CI", - "HR", - "CU", - "CW", - "CY", - "CZ", - "DK", - "DJ", - "DM", - "DO", - "EC", - "EG", - "SV", - "GQ", - "ER", - "EE", - "SZ", - "ET", - "FK", - "FO", - "FJ", - "FI", - "FR", - "GF", - "PF", - "TF", - "GA", - "GM", - "GE", - "DE", - "GH", - "GI", - "GR", - "GL", - "GD", - "GP", - "GU", - "GT", - "GG", - "GN", - "GW", - "GY", - "HT", - "HM", - "VA", - "HN", - "HK", - "HU", - "IS", - "IN", - "ID", - "IR", - "IQ", - "IE", - "IM", - "IL", - "IT", - "JM", - "JP", - "JE", - "JO", - "KZ", - "KE", - "KI", - "KP", - "KW", - "KG", - "LA", - "LV", - "LB", - "LS", - "LR", - "LY", - "LI", - "LT", - "LU", - "MO", - "MG", - "MW", - "MY", - "MV", - "ML", - "MT", - "MH", - "MQ", - "MR", - "MU", - "YT", - "MX", - "FM", - "MC", - "MN", - "ME", - "MS", - "MA", - "MZ", - "MM", - "NA", - "NR", - "NP", - "NL", - "NC", - "NZ", - "NI", - "NE", - "NG", - "NU", - "NF", - "MK", - "MP", - "NO", - "OM", - "PK", - "PW", - "PA", - "PG", - "PY", - "PE", - "PH", - "PN", - "PL", - "PT", - "PR", - "QA", - "RE", - "RO", - "RU", - "RW", - "BL", - "KN", - "LC", - "MF", - "PM", - "VC", - "WS", - "SM", - "ST", - "SA", - "SN", - "RS", - "SC", - "SL", - "SG", - "SX", - "SK", - "SI", - "SB", - "SO", - "ZA", - "GS", - "SS", - "ES", - "LK", - "SD", - "SR", - "SJ", - "SE", - "CH", - "SY", - "TJ", - "TH", - "TL", - "TG", - "TK", - "TO", - "TT", - "TN", - "TR", - "TM", - "TC", - "TV", - "UG", - "UA", - "AE", - "GB", - "US", - "UM", - "UY", - "UZ", - "VU", - "VE", - "VN", - "VG", - "VI", - "WF", - "EH", - "YE", - "ZM", - "ZW" - ] - }, - "type": { - "type": "string", - "title": "Type de requ\u00e9rant", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/caller/type", - "description": "Indique la relation du requ\u00e9rant avec l'incident / le patient / la victime" - }, - "communication": { - "type": "string", - "title": "Difficult\u00e9 de communication", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/caller/communication", - "description": "Indique si le requ\u00e9rant rencontre ou non des difficult\u00e9 de communication" - }, - "freetext": { - "type": "string", - "title": "Informations compl\u00e9mentaires sur le requ\u00e9rant", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/caller/freetext", - "description": "Informations compl\u00e9mentaires sur le requ\u00e9rant \nLes informations peuvent \u00eatre pass\u00e9es sous forme de texte libre ou via une liste d'adjectif" - }, - "detailedName": { - "$ref": "#/definitions/detailedName" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/initialAlert/caller" - }, - "contactSource": { - "type": "object", - "title": "Source de l'alerte", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "channel", - "type", - "detail" - ], - "properties": { - "channel": { - "type": "string", - "title": "Canal", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/alertSource/channel", - "description": "Permet d'indiquer l'origine du canal \u00e9tablit : Personne, application, DAU, BAU, d\u00e9fibrillateur, ecall" - }, - "type": { - "type": "string", - "title": "Type de contact de la source", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/alertSource/type", - "description": "Type de l'URI utilis\u00e9e par la source, cf. nomenclature EMSI", - "enum": [ - "PSTADD", - "EMLADD", - "IPADD", - "FTPADD", - "WWWADD", - "PHNADD", - "FAXADD", - "PMRADD" - ] - }, - "detail": { - "type": "string", - "title": "URI de contact de la source", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/alertSource/detail", - "description": "Valeur de l'URI utilis\u00e9e par la source" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/initialAlert/alertSource" - }, - "callTaker": { - "type": "object", - "title": "Agent", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "organization", - "controlRoom" - ], - "properties": { - "organization": { - "type": "string", - "title": "Service d'urgence", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/callTaker/organization", - "description": "D\u00e9crit la structure ou le service \u00e0 laquelle est rattach\u00e9e l'agent (en fonction du niveau de pr\u00e9cision disponible).\nSe r\u00e9f\u00e9rer au DSF pour la structure norm\u00e9e des organisations\nLe format est le suivant {pays}:{domaine}:{code d\u00e9partement}:{organisation}:{structure interne}*:{unit\u00e9 fonctionnelle}*." - }, - "controlRoom": { - "type": "string", - "title": "Centre d'appels", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/callTaker/controlRoom", - "description": "D\u00e9crit le centre d'appel auquel est rattach\u00e9 l'agent" - }, - "role": { - "type": "string", - "title": "R\u00f4le agent", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/callTaker/role", - "description": "D\u00e9crit le r\u00f4le de l'agent au sein du service selon la nomenclature PERSO (nomenclature SI-SAMU)" - }, - "calltakerContact": { - "$ref": "#/definitions/contact" - }, - "calltakerId": { - "type": "string", - "title": "ID de l'agent", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/callTaker/calltakerId", - "description": "Identifiant unique de l'op\u00e9rateur ayant trait\u00e9 l'alerte (peut \u00eatre un identifiant technique, un num\u00e9ro de carte CPS etc)" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/initialAlert/callTaker" - }, - "attachment": { - "type": "object", - "title": "Pi\u00e8ces jointes", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "URI" - ], - "properties": { - "description": { - "type": "string", - "title": "Type ou description pj", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/attachment/0/description", - "description": "D\u00e9crit la ressource en pr\u00e9cisant le type et le contenu, tels que \u00abcarte\u00bb ou \u00abphoto\u00bb" - }, - "mimeType": { - "type": "string", - "title": "Type MIME", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/attachment/0/mimeType", - "description": "L'identifiant du type MIME de contenu et sous-type d\u00e9crivant la ressource" - }, - "size": { - "type": "integer", - "title": "Taille approximative", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/attachment/0/size", - "description": "Taille approximative de la ressource en kO" - }, - "URI": { - "type": "string", - "title": "URI", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/attachment/0/URI", - "description": "Une URI, g\u00e9n\u00e9ralement une URL, qui permet d'atteindre la ressource sur Internet ou sur un r\u00e9seau priv\u00e9\nNous sugg\u00e9rons d'employer le format suivant de regex (https?|ftp|file):\\/\\/([\\w-]+(\\.[\\w-]+)*)(\\/[\\w\\-\\.]*)*\\/?(\\?[^\\s]*)?" - }, - "derefURI": { - "type": "string", - "title": "URI base 64", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/attachment/0/derefURI", - "description": "Peut \u00eatre utilis\u00e9 \u00e0 la place de l'\u00e9l\u00e9ment 'URI' pour envoyer la ressource encod\u00e9e en base64 pour \u00e9viter des probl\u00e8mes de transcodage (sur des double quotes qui casseraient le message, \u2026)" - }, - "digest": { - "type": "string", - "title": "Hash", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/attachment/0/digest", - "description": "Hash de la ressource pour confirmer la r\u00e9ception de la bonne ressource\nLa ressource est hash\u00e9e avec le protocole SHA-256" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/initialAlert/attachment/0" - }, - "contact": { - "type": "object", - "title": "Contact", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "type", - "detail" - ], - "properties": { - "type": { - "type": "string", - "title": "Type de contact du requ\u00e9rant", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/caller/callerContact/type", - "description": "Type de l'URI utilis\u00e9e par le requ\u00e9rant, cf. nomenclature EMSI", - "enum": [ - "PSTADD", - "EMLADD", - "IPADD", - "FTPADD", - "WWWADD", - "PHNADD", - "FAXADD", - "PMRADD" - ] - }, - "detail": { - "type": "string", - "title": "URI du contact requ\u00e9rant", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/caller/callerContact/detail", - "description": "Valeur de l'URI utilis\u00e9e pour contacter le partenaire" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/initialAlert/caller/callerContact" - }, - "detailedName": { - "type": "object", - "title": "Pr\u00e9nom & nom usuel", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "complete" - ], - "properties": { - "complete": { - "type": "string", - "title": "Pr\u00e9nom et nom", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/caller/detailedName/complete", - "description": "Pr\u00e9nom et nom usuel du requ\u00e9rant.\nSi les champs callerLastName et callerFirstName sont renseign\u00e9s, le champ callerName doit \u00eatre valoris\u00e9 ainsi : \"{callerFirstName} {callerLastName}\".\nNote : NexSIS ne dispose que de ces informations (concat\u00e9n\u00e9es) et pas de deux champs s\u00e9par\u00e9s." - }, - "lastName": { - "type": "string", - "title": "Nom", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/caller/detailedName/lastName", - "description": "Nom du requ\u00e9rant" - }, - "firstName": { - "type": "string", - "title": "Pr\u00e9nom", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/initialAlert/caller/detailedName/firstName", - "description": "Pr\u00e9nom du r\u00e9qu\u00e9rant.\nPar convention les pr\u00e9noms compos\u00e9s doivent pr\u00e9f\u00e9rablement \u00eatre s\u00e9par\u00e9s par le caract\u00e8re \"-\"" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/initialAlert/caller/detailedName" - }, - "file": { - "type": "object", - "title": "Dossier administratif", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [], - "properties": { - "externalId": { - "type": "array", - "items": { - "$ref": "#/definitions/externalId" - } - }, - "contact": { - "type": "array", - "items": { - "$ref": "#/definitions/contact" - } - }, - "personalAddress": { - "$ref": "#/definitions/personalAddress" - }, - "generalPractitioner": { - "$ref": "#/definitions/generalPractitioner" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/patient/0/file" - }, - "insIdentity": { - "type": "object", - "title": "Identit\u00e9 INS", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [], - "properties": { - "cycle": { - "$ref": "#/definitions/insCycle" - }, - "number": { - "$ref": "#/definitions/insNumber" - }, - "strictFeatures": { - "$ref": "#/definitions/insStrictFeatures" - }, - "nonStrictFeatures": { - "$ref": "#/definitions/detailedName" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/patient/0/identity" - }, - "patientDetail": { - "type": "object", - "title": "Informations patient", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [], - "properties": { - "weight": { - "type": "integer", - "title": "Poids", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/detail/weight", - "description": "Poids en kilogrammes" - }, - "height": { - "type": "integer", - "title": "Taille", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/detail/height", - "description": "Taille en centim\u00e8tres" - }, - "age": { - "type": "string", - "title": "Age", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/detail/age", - "description": "Age du patient (Norme ISO_8601)", - "pattern": "" - }, - "careLevel": { - "type": "string", - "title": "Niveau de soin", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/detail/careLevel", - "enum": [ - "R1", - "R2", - "R3", - "R4" - ] - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/patient/0/detail" - }, - "hypothesis": { - "type": "object", - "title": "Hypoth\u00e8ses de r\u00e9gulation m\u00e9dicale", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [], - "properties": { - "mainDiagnosis": { - "$ref": "#/definitions/nomenclature" - }, - "otherDiagnosis": { - "type": "array", - "items": { - "$ref": "#/definitions/nomenclature" - } - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/patient/0/hypothesis" - }, - "medicalNote": { - "type": "object", - "title": "Interrogatoire m\u00e9dical", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [ - "creation" - ], - "properties": { - "operator": { - "$ref": "#/definitions/operator" - }, - "creation": { - "type": "string", - "title": "Date Heure de cr\u00e9ation de l'interrogatoire", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/medicalNote/0/creation", - "description": "Groupe date heure de d\u00e9but de partage li\u00e9 \u00e0 la cr\u00e9ation de l'interrogatoire. L'indicateur de fuseau horaire Z ne doit pas \u00eatre utilis\u00e9.", - "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[\\-+]\\d{2}:\\d{2}", - "format": "date-time" - }, - "freetext": { - "type": "string", - "title": "Observations et commentaires", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/medicalNote/0/freetext", - "description": "Observations m\u00e9dicales du professionnel de sant\u00e9 qui r\u00e9alise l'interrogatoire (texte libre)\nChamp \u00e0 utiliser pour aggr\u00e9ger l'ensemble des ant\u00e9c\u00e9dents /traitements/allergies du patient si les cat\u00e9gories ne sont pas disctinctes dans le LRM" - }, - "medicalHistory": { - "type": "string", - "title": "Ant\u00e9c\u00e9dents", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/medicalNote/0/medicalHistory", - "description": "Texte libre pour d\u00e9crire les ant\u00e9c\u00e9dents du patient" - }, - "treatments": { - "type": "string", - "title": "Traitements", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/medicalNote/0/treatments", - "description": "Texte libre pour d\u00e9crire les traitements du patient" - }, - "allergies": { - "type": "string", - "title": "Allergies", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/medicalNote/0/allergies", - "description": "Texte libre pour d\u00e9crire les allergies du patient" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/patient/0/medicalNote/0" - }, - "externalId": { - "type": "object", - "title": "Identifiant(s) patient(s)", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [], - "properties": { - "source": { - "type": "string", - "title": "Source / type d'identifiant", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/file/externalId/0/source", - "description": "Type de l'identifiant fourni", - "enum": [ - "NIR", - "SINUS", - "SI-VIC" - ] - }, - "value": { - "type": "string", - "title": "Identifiant", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/file/externalId/0/value", - "description": "L'identifiant en lui-m\u00eame" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/patient/0/file/externalId/0" - }, - "personalAddress": { - "type": "object", - "title": "Adresse", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [], - "properties": { - "detailedAddress": { - "$ref": "#/definitions/detailedAddress" - }, - "city": { - "$ref": "#/definitions/city" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/patient/0/file/personalAddress" - }, - "generalPractitioner": { - "type": "object", - "title": "M\u00e9decin traitant ", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [], - "properties": { - "detailedName": { - "$ref": "#/definitions/detailedName" - }, - "id": { - "type": "string", - "title": "Identifiant", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/file/generalPractitioner/id", - "description": "Num\u00e9ro RPPS du m\u00e9decin traitant" - }, - "personalAddress": { - "$ref": "#/definitions/personalAddress" - }, - "contact": { - "type": "array", - "items": { - "$ref": "#/definitions/contact" - } - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/patient/0/file/generalPractitioner" - }, - "insCycle": { - "type": "object", - "title": "Impl\u00e9mentation INS", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [], - "properties": { - "status": { - "type": "string", - "title": "Statut de l'identit\u00e9", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/identity/cycle/status", - "description": "Le RNIV exige que les logiciels r\u00e9f\u00e9rentiels d\u2019identit\u00e9s g\u00e8rent les 4 statuts fonctionnels suivants :\n- \u00ab identit\u00e9 provisoire \u00bb,\n- \u00ab identit\u00e9 r\u00e9cup\u00e9r\u00e9e \u00bb,\n- \u00ab identit\u00e9 valid\u00e9e \u00bb,\n- \u00ab identit\u00e9 qualifi\u00e9e \u00bb.\nCes statuts fonctionnels sont exclusifs les uns des autres. Le r\u00e9f\u00e9rentiel INS [EXI 18] pr\u00e9cise en outre que le matricule INS et l\u2019OID doivent \u00eatre accompagn\u00e9s d\u2019informations confirmant qu\u2019ils ont \u00e9t\u00e9 qualifi\u00e9s." - }, - "attribute": { - "type": "string", - "title": "Attribut de l'identit\u00e9", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/identity/cycle/attribute", - "description": "Le RNIV recommande que les logiciels r\u00e9f\u00e9rentiels d\u2019identit\u00e9s g\u00e8rent a minima les 3 attributs suivants :\n- identit\u00e9 homonyme,\n- identit\u00e9 douteuse,\n- identit\u00e9 fictive." - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/patient/0/identity/cycle" - }, - "insNumber": { - "type": "object", - "title": "Matricule INS", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [], - "properties": { - "value": { - "type": "string", - "title": "Matricule ", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/identity/number/value", - "description": "n\u00b0 NIR OU n\u00b0 NIA de l'individu. Le matricule INS (et son OID) ne doit jamais \u00eatre propag\u00e9 (= \u00e9chang\u00e9) si l'identit\u00e9 est \u00e0 un statut autre que qualifi\u00e9e. Il correspond au num\u00e9ro personnel de s\u00e9curit\u00e9 sociale. Il peut \u00eatre diff\u00e9rent du num\u00e9ro de s\u00e9curit\u00e9 sociale utilis\u00e9 pour le remboursement des soins par l\u2019assurance maladie, dans le cas par exemple o\u00f9 l\u2019usager n\u2019est pas l\u2019assur\u00e9 social (ex.: l\u2019enfant qui est rattach\u00e9 \u00e0 l\u2019un de ses parents).\nLe matricule INS est compos\u00e9 des 13 caract\u00e8res et de la cl\u00e9 de contr\u00f4le. " - }, - "oid": { - "type": "string", - "title": "OID", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/identity/number/oid", - "description": "Identifiant de la structure qui a affect\u00e9 l\u2019INS sous la forme d'un OID. Les OID (Object Identifier) sont des identifiants universels, repr\u00e9sent\u00e9s sous la forme d'une suite d'entiers. Ils sont organis\u00e9s sous forme hi\u00e9rarchique avec des n\u0153uds. L'OID est toujours associ\u00e9 \u00e0 un matricule INS, il n'est donc pas propag\u00e9 si le statut de l'identit\u00e9 n'est pas \"qualifi\u00e9e\"" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/patient/0/identity/number" - }, - "insStrictFeatures": { - "type": "object", - "title": "Traits stricts de l'identit\u00e9", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [], - "properties": { - "birthName": { - "type": "string", - "title": "Nom de naissance", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/identity/strictFeatures/birthName", - "description": "Egalement appel\u00e9 nom de famille." - }, - "birthFirstName": { - "type": "string", - "title": "Premier pr\u00e9nom de naissance", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/identity/strictFeatures/birthFirstName", - "description": "Doit \u00eatre coh\u00e9rent avec la liste des pr\u00e9noms de naissance renvoy\u00e9e par INSi. Ex: si la liste des pr\u00e9noms renvoy\u00e9e est \"Pierre Alain Jacques\", le premier pr\u00e9nom de naissance ne peut \u00eatre que : \nPierre\nPierre Alain\nPierre Alain Jacques" - }, - "birthFirstNamesList": { - "type": "string", - "title": "Liste des pr\u00e9noms de naissance", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/identity/strictFeatures/birthFirstNamesList", - "description": "Ensemble des pr\u00e9noms de naissance (renvoy\u00e9s par INSi)" - }, - "birthDate": { - "type": "string", - "title": "Date de naissance", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/identity/strictFeatures/birthDate", - "description": "Date de naissance du patient", - "pattern": "\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}[\\-+]\\d{2}:\\d{2}", - "format": "date-time" - }, - "sex": { - "type": "string", - "title": "Sexe ", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/identity/strictFeatures/sex", - "description": "Sexe du patient", - "enum": [ - "U", - "F", - "M", - "O" - ] - }, - "birthPlaceCode": { - "type": "number", - "title": "Code lieu de naissance", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/patient/0/identity/strictFeatures/birthPlaceCode", - "description": "Il s\u2019agit de la commune de naissance pour les personnes n\u00e9es en France et du pays de naissance pour les personnes n\u00e9es \u00e0 l\u2019\u00e9tranger. Utilisation du code INSEE (diff\u00e9rent du code postal), auquel est associ\u00e9 le nom de la commune ou du pays correspondant." - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/patient/0/identity/strictFeatures" - }, - "decision": { - "type": "object", - "title": "D\u00e9cisions", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [], - "properties": { - "type": { - "type": "string", - "title": "Type de d\u00e9cision", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/medicalAnalysis/0/decision/0/type", - "description": "Type de d\u00e9cision prise" - }, - "orientation": { - "type": "string", - "title": "Orientation", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/medicalAnalysis/0/decision/0/orientation", - "description": "D\u00e9cision(s) d'orientation prise par le m\u00e9decin r\u00e9gulateur" - }, - "transportation": { - "type": "array", - "x-health-only": true, - "items": { - "type": "string", - "title": "Vecteur de transport", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/medicalAnalysis/0/decision/0/transportation/0", - "description": "Type de transport engag\u00e9 pour la prise en charge du patient" - } - }, - "medicalisation": { - "type": "string", - "title": "Niveau de m\u00e9dicalisation", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/medicalAnalysis/0/decision/0/medicalisation", - "description": "Type d\u2019\u00e9quipe (m\u00e9dical, param\u00e9dicale, non m\u00e9dicale, standard, incomplete, ...)" - }, - "destination": { - "$ref": "#/definitions/destination" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/medicalAnalysis/0/decision/0" - }, - "destination": { - "type": "object", - "title": "Destination", - "x-display": "expansion-panels", - "x-health-only": true, - "required": [], - "properties": { - "facility": { - "type": "string", - "title": "Etablissement", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/medicalAnalysis/0/decision/0/destination/facility" - }, - "service": { - "type": "string", - "title": "Service", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/medicalAnalysis/0/decision/0/destination/service" - }, - "freetext": { - "type": "string", - "title": "Autre", - "x-health-only": true, - "x-cols": 6, - "example": "example.json#/createCaseHealth/medicalAnalysis/0/decision/0/destination/freetext" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/medicalAnalysis/0/decision/0/destination" - }, - "customMap": { - "type": "object", - "title": "Cl\u00e9 valeur adaptable", - "x-display": "expansion-panels", - "x-health-only": false, - "required": [ - "key", - "value" - ], - "properties": { - "key": { - "type": "string", - "title": "Cl\u00e9", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/additionalInformation/customMap/0/key", - "description": "Nom de la balise" - }, - "label": { - "type": "string", - "title": "Libell\u00e9", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/additionalInformation/customMap/0/label", - "description": "Libell\u00e9 correspondant" - }, - "value": { - "type": "string", - "title": "Valeur", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/additionalInformation/customMap/0/value", - "description": "Valeur associ\u00e9e \u00e0 la cl\u00e9" - }, - "freetext": { - "type": "string", - "title": "D\u00e9tails", - "x-health-only": false, - "x-cols": 6, - "example": "example.json#/createCaseHealth/additionalInformation/customMap/0/freetext", - "description": "Informations compl\u00e9mentaires sur le contexte / utilisation de ce matching additionnel" - } - }, - "additionalProperties": false, - "example": "example.json#/createCaseHealth/additionalInformation/customMap/0" - } - } -} \ No newline at end of file