From ce1eaff006c007a05b082a1d342224b0151746c1 Mon Sep 17 00:00:00 2001
From: Vincent Hofman <vincent.hofman@kereval.com>
Date: Wed, 15 Mar 2023 13:24:59 +0000
Subject: [PATCH] Upload New File

---
 ...TI71_POST_Response_Validation_Profile.json | 117 ++++++++++++++++++
 1 file changed, 117 insertions(+)
 create mode 100644 IHE Validation profiles/IUA/IUA_ITI71_POST_Response_Validation_Profile.json

diff --git a/IHE Validation profiles/IUA/IUA_ITI71_POST_Response_Validation_Profile.json b/IHE Validation profiles/IUA/IUA_ITI71_POST_Response_Validation_Profile.json
new file mode 100644
index 0000000..e3e6ccf
--- /dev/null
+++ b/IHE Validation profiles/IUA/IUA_ITI71_POST_Response_Validation_Profile.json	
@@ -0,0 +1,117 @@
+{
+  "profileType": "HTTPRESPONSE",
+  "id": "IUA_ITI71_POST_Response_Validation_Profile",
+  "name": "ITI-71_HttpPOST_Response",
+  "description": "Validation Profile for validating an ITI-71 Post HTTP Response",
+  "context": "IHE",
+  "assertions": [
+    {
+      "selector": "response.version",
+      "id": "ITI71-035_HTTP1VersionChecking",
+      "description": "Assertion for the HTTP version checking",
+      "requirementPriority": "MANDATORY",
+      "checksComposition": "oneOf",
+      "checks": [
+        {
+          "type": "FIXEDVALUE",
+          "fixedValue": "HTTP/1.1"
+        }
+      ]
+    },
+    {
+      "selector": "response.statusCode",
+      "id": "ITI71-035_HTTPStatusCodeChecking",
+      "description": "Http Status code shall be 200.",
+      "requirementPriority": "MANDATORY",
+      "checksComposition": "oneOf",
+      "checks": [
+        {
+          "type": "FIXEDVALUE",
+          "fixedValue": "200"
+        }
+      ]
+    },
+    {
+      "selector": "response.headers('Content-Type').values",
+      "id": "ITI71-035_content-type_parameter_presence",
+      "description": "One and only one Content-Type parameter is required.",
+      "requirementPriority": "MANDATORY",
+      "checksComposition": "oneOf",
+      "checks": [
+        {
+          "type": "OCCURRENCE",
+          "minOccurrence": 1,
+          "maxOccurrence": 1
+        }
+      ]
+    },
+    {
+      "selector": "response.headers('Content-Type').values",
+      "id": "ITI71-035_content-type_parameter_value",
+      "description": "Content-Type parameter's value SHALL be application/json.",
+      "requirementPriority": "MANDATORY",
+      "checksComposition": "oneOf",
+      "checks": [
+        {
+          "type": "FIXEDVALUE",
+          "fixedValue": "application/json"
+        }
+      ]
+    },
+
+    {
+      "selector": "response.headers('Cache-Control').values",
+      "id": "ITI71-037_Cache-Control_parameter_presence",
+      "description": "One and only one Cache-Control parameter is required.",
+      "requirementPriority": "MANDATORY",
+      "checksComposition": "oneOf",
+      "checks": [
+        {
+          "type": "OCCURRENCE",
+          "minOccurrence": 1,
+          "maxOccurrence": 1
+        }
+      ]
+    },
+    {
+      "selector": "response.headers('Cache-Control').values",
+      "id": "ITI71-037_Cache-Control_parameter_value",
+      "description": "Cache-Control parameter's value SHALL be no-store.",
+      "requirementPriority": "MANDATORY",
+      "checksComposition": "oneOf",
+      "checks": [
+        {
+          "type": "FIXEDVALUE",
+          "fixedValue": "no-store"
+        }
+      ]
+    },
+    {
+      "selector": "response.headers('Pragma').values",
+      "id": "ITI71-037_Pragma_parameter_presence",
+      "description": "One and only one Pragma parameter is required.",
+      "requirementPriority": "MANDATORY",
+      "checksComposition": "oneOf",
+      "checks": [
+        {
+          "type": "OCCURRENCE",
+          "minOccurrence": 1,
+          "maxOccurrence": 1
+        }
+      ]
+    },
+    {
+      "selector": "response.headers('Pragma').values",
+      "id": "ITI71-037_Pragma_parameter_value",
+      "description": "Pragma parameter's value SHALL be no-cache.",
+      "requirementPriority": "MANDATORY",
+      "checksComposition": "oneOf",
+      "checks": [
+        {
+          "type": "FIXEDVALUE",
+          "fixedValue": "no-cache"
+        }
+      ]
+    }
+  ]
+}
\ No newline at end of file
-- 
GitLab