Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8c5fe132 authored by Vincent Hofman's avatar Vincent Hofman
Browse files

Set the traceparent's presense as optional (0..*) and add a condition to...

Set the traceparent's presense as optional (0..*) and add a condition to "traceparent_parameter_value" rule for both validation profiles.
parent e345d56d
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
"checks": [ "checks": [
{ {
"type": "OCCURRENCE", "type": "OCCURRENCE",
"minOccurrence": 1, "minOccurrence": 0,
"maxOccurrence": 1 "maxOccurrence": 1
} }
] ]
...@@ -107,6 +107,7 @@ ...@@ -107,6 +107,7 @@
"description": "traceparent parameter's value SHALL be as defined in fhir.ch, section tracecontext.", "description": "traceparent parameter's value SHALL be as defined in fhir.ch, section tracecontext.",
"requirementPriority": "MANDATORY", "requirementPriority": "MANDATORY",
"checksComposition": "oneOf", "checksComposition": "oneOf",
"applyIf": "request.headers('traceparent').values.size() > 0",
"checks": [ "checks": [
{ {
"type": "REGEX", "type": "REGEX",
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
"checks": [ "checks": [
{ {
"type": "OCCURRENCE", "type": "OCCURRENCE",
"minOccurrence": 1, "minOccurrence": 0,
"maxOccurrence": 1 "maxOccurrence": 1
} }
] ]
...@@ -104,6 +104,7 @@ ...@@ -104,6 +104,7 @@
"description": "traceparent parameter's value SHALL be as defined in fhir.ch, section tracecontext.", "description": "traceparent parameter's value SHALL be as defined in fhir.ch, section tracecontext.",
"requirementPriority": "MANDATORY", "requirementPriority": "MANDATORY",
"checksComposition": "oneOf", "checksComposition": "oneOf",
"applyIf": "request.headers('traceparent').values.size() > 0",
"checks": [ "checks": [
{ {
"type": "REGEX", "type": "REGEX",
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
title: CH:PDQm HTTP Validation profiles' assertions title: CH:PDQm HTTP Validation profiles' assertions
subtitle: List of all HTTP rules for CH:PDQm/ITI-78 subtitle: List of all HTTP rules for CH:PDQm/ITI-78
authors: Vincent HOFMAN authors: Vincent HOFMAN
date: 2023-03-26 date: 2024-03-26
--- ---
# CH:PDQm Mobile Patient Demographics Query's validation profile # CH:PDQm Mobile Patient Demographics Query's validation profile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment