diff --git a/EHS/CH-PDQm/CH-ITI-78-Patient-Mobile Patient Demographics Query-ValidationProfile.json b/EHS/CH-PDQm/CH-ITI-78-Patient-Mobile Patient Demographics Query-ValidationProfile.json index 39237060648d4eab79da3c9f0bb399a6aa58982e..162e0b156a7bde08b6066c3aa329b17e422f75cf 100644 --- a/EHS/CH-PDQm/CH-ITI-78-Patient-Mobile Patient Demographics Query-ValidationProfile.json +++ b/EHS/CH-PDQm/CH-ITI-78-Patient-Mobile Patient Demographics Query-ValidationProfile.json @@ -110,7 +110,7 @@ "checks": [ { "type": "REGEX", - "regex": "^(?!f{2})([\\da-f]{2})-(?!f{32})([\\da-f]{32})-(?!f{16})([\\da-f]{16})-(?!f{2})([\\da-f]{2})$" + "regex": "^(?!f{2})([\\da-f]{2})-(?!0{32})([\\da-f]{32})-(?!0{16})([\\da-f]{16})-([\\da-f]{2})$" } ] }, diff --git a/EHS/CH-PDQm/CH-ITI-78-Patient-Mobile Patient Demographics Retrieve-ValidationProfile.json b/EHS/CH-PDQm/CH-ITI-78-Patient-Mobile Patient Demographics Retrieve-ValidationProfile.json index 6c9622128a98128f844235472fc53494593b6a63..8d7169703df4e522f84cecefa839a3220ba2461c 100644 --- a/EHS/CH-PDQm/CH-ITI-78-Patient-Mobile Patient Demographics Retrieve-ValidationProfile.json +++ b/EHS/CH-PDQm/CH-ITI-78-Patient-Mobile Patient Demographics Retrieve-ValidationProfile.json @@ -107,7 +107,7 @@ "checks": [ { "type": "REGEX", - "regex": "^(?!f{2})([\\da-f]{2})-(?!f{32})([\\da-f]{32})-(?!f{16})([\\da-f]{16})-(?!f{2})([\\da-f]{2})$" + "regex": "^(?!f{2})([\\da-f]{2})-(?!0{32})([\\da-f]{32})-(?!0{16})([\\da-f]{16})-([\\da-f]{2})$" } ] } diff --git a/EHS/CH-PDQm/README.md b/EHS/CH-PDQm/README.md index f557d21e1b61ac9fac720365f562da5673d8d343..f83e4ed791811383cff01b6277c01c2a09b9586b 100644 --- a/EHS/CH-PDQm/README.md +++ b/EHS/CH-PDQm/README.md @@ -23,7 +23,7 @@ This validation profile's documentation references: | Authorization_parameter_presence | OCCURRENCE | 1..1 | The Authorization parameter is mandatory | | Authorization_parameter_value | REGEX | `^Bearer\\ [-a-zA-Z0-9._~+\\/]+=*$` | Authorization parameter's value SHALL be Bearer, followed by the token. | | traceparent_parameter_presence | OCCURRENCE | 1..1 | The traceparent parameter is mandatory in the HTTP header| -| traceparent_parameter_value | REGEX | `^(?!f{2})([\da-f]{2})-(?!f{32})([\da-f]{32})-(?!f{16})([\da-f]{16})-(?!f{2})([\da-f]{2})$` | traceparent parameter's value SHALL be as defined in fhir.ch, section [tracecontext](https://fhir.ch/ig/ch-epr-mhealth/tracecontext.html). | +| traceparent_parameter_value | REGEX | `^(?!f{2})([\da-f]{2})-(?!0{32})([\da-f]{32})-(?!0{16})([\da-f]{16})-([\da-f]{2})$` | traceparent parameter's value SHALL be as defined in fhir.ch, section [tracecontext](https://fhir.ch/ig/ch-epr-mhealth/tracecontext.html). | | _id_parameter_presence | OCCURRENCE | 0..1 | _id parameter can be used only once. | | _id_parameter_value | REGEX | `^\S+$` | _id parameter is a token. | | active_parameter_presence | OCCURRENCE | 0..1 | active parameter can be used only once. |