diff --git a/EHS/CH-MHD/CH_ITI-65-ProvideDocumentBundle-PostRequest-ValidationProfile.json b/EHS/CH-MHD/CH_ITI-65-ProvideDocumentBundle-PostRequest-ValidationProfile.json index 6127cb178ad1dda5af9a09c5416056c89c34eec9..de7f62a5ea7f2db8a1f1b8fc90f46fe297126009 100644 --- a/EHS/CH-MHD/CH_ITI-65-ProvideDocumentBundle-PostRequest-ValidationProfile.json +++ b/EHS/CH-MHD/CH_ITI-65-ProvideDocumentBundle-PostRequest-ValidationProfile.json @@ -14,8 +14,8 @@ "checks": [ { "type": "FIXEDVALUE", - "fixedvalue": "POST" - } + "fixedValue": "POST" + } ] }, { @@ -40,7 +40,7 @@ "checks": [ { "type": "REGEX", - "regex": "^(\\S)$" + "regex": "^(\\S)+$" } ] }, diff --git a/EHS/CH-MHD/CH_ITI-66-FindDocumentLists-GetPostRequest-ValidationProfile.json b/EHS/CH-MHD/CH_ITI-66-FindDocumentLists-GetPostRequest-ValidationProfile.json index e05223a015bce0e33d8e98036f174f6adcb93caa..d099f07b6fa7f9739666f9cca73cf880758731a2 100644 --- a/EHS/CH-MHD/CH_ITI-66-FindDocumentLists-GetPostRequest-ValidationProfile.json +++ b/EHS/CH-MHD/CH_ITI-66-FindDocumentLists-GetPostRequest-ValidationProfile.json @@ -43,7 +43,7 @@ "checks": [ { "type": "REGEX", - "regex": "^(\\S)+List$" + "regex": "^(\\S)+List(\\/_search)?$" } ] }, @@ -166,7 +166,7 @@ "checks": [ { "type": "REGEX", - "regex": "^(eq|ne|lt|gt|ge|le|sa|eb|ap)?[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|1\\d|2[0-8]|3[01])$" + "regex": "^(eq|ne|lt|gt|ge|le|sa|eb|ap)?[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|1\\d|2[0-9]|3[01])$" } ] }, diff --git a/EHS/CH-MHD/CH_ITI-67-FindDocumentReferences-GetPostRequest-ValidationProfile.json b/EHS/CH-MHD/CH_ITI-67-FindDocumentReferences-GetPostRequest-ValidationProfile.json index 8ed97a2cb770d026194064a1ff88a9c57da96a29..dafb01c20593dcdf0aa6bc1bbbc2c2d4fe605d22 100644 --- a/EHS/CH-MHD/CH_ITI-67-FindDocumentReferences-GetPostRequest-ValidationProfile.json +++ b/EHS/CH-MHD/CH_ITI-67-FindDocumentReferences-GetPostRequest-ValidationProfile.json @@ -43,7 +43,7 @@ "checks": [ { "type": "REGEX", - "regex": "^(\\S)+DocumentReference$" + "regex": "^(\\S)+DocumentReference(\\/_search)?$" } ] }, @@ -135,6 +135,7 @@ "description": "author.given parameter is a string.", "requirementPriority": "MANDATORY", "checksComposition": "oneOf", + "applyIf": "request.headers('author.given').values.size() > 0", "checks": [ { "type": "REGEX", @@ -162,6 +163,7 @@ "description": "author.family parameter is a string.", "requirementPriority": "MANDATORY", "checksComposition": "oneOf", + "applyIf": "request.headers('author.family').values.size() > 0", "checks": [ { "type": "REGEX", @@ -249,7 +251,7 @@ "checks": [ { "type": "REGEX", - "regex": "^(eq|ne|lt|gt|ge|le|sa|eb|ap)?[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|1\\d|2[0-8]|3[01])$" + "regex": "^(eq|ne|lt|gt|ge|le|sa|eb|ap)?[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|1\\d|2[0-9]|3[01])$" } ] }, @@ -417,7 +419,7 @@ "checks": [ { "type": "REGEX", - "regex": "^(eq|ne|lt|gt|ge|le|sa|eb|ap)?[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|1\\d|2[0-8]|3[01])$" + "regex": "^(eq|ne|lt|gt|ge|le|sa|eb|ap)?[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|1\\d|2[0-9]|3[01])$" } ] },