From e56d5b32fea8d17c7f95cfc13c1c464f7751a058 Mon Sep 17 00:00:00 2001
From: VHofman <vincent.hofman@kereval.com>
Date: Tue, 18 Jun 2024 08:45:11 +0200
Subject: [PATCH] Missing the 29th in the date regex (Error in
 https://build.fhir.org/datatypes.html)

---
 .../CH-ITI-90-Organization-GetRequest-ValidationProfile.json    | 2 +-
 .../CH-ITI-90-Practitioner-GetRequest-ValidationProfile.json    | 2 +-
 ...CH-ITI-90-PractitionerRole-GetRequest-ValidationProfile.json | 2 +-
 EHS/CH_mCSD/README.md                                           | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/EHS/CH_mCSD/CH-ITI-90-Organization-GetRequest-ValidationProfile.json b/EHS/CH_mCSD/CH-ITI-90-Organization-GetRequest-ValidationProfile.json
index 3aef300..9eff415 100644
--- a/EHS/CH_mCSD/CH-ITI-90-Organization-GetRequest-ValidationProfile.json
+++ b/EHS/CH_mCSD/CH-ITI-90-Organization-GetRequest-ValidationProfile.json
@@ -166,7 +166,7 @@
           "checks": [
             {
               "type": "REGEX",
-              "regex": "^(ge|le)?[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|1d|2[0-8]|3[01])$"
+              "regex": "^(ge|le)?[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|1\\d|2[0-9]|3[01])$"
             }
           ]
         },
diff --git a/EHS/CH_mCSD/CH-ITI-90-Practitioner-GetRequest-ValidationProfile.json b/EHS/CH_mCSD/CH-ITI-90-Practitioner-GetRequest-ValidationProfile.json
index a026a19..1de88cc 100644
--- a/EHS/CH_mCSD/CH-ITI-90-Practitioner-GetRequest-ValidationProfile.json
+++ b/EHS/CH_mCSD/CH-ITI-90-Practitioner-GetRequest-ValidationProfile.json
@@ -167,7 +167,7 @@
       "checks": [
         {
           "type": "REGEX",
-          "regex": "^(ge|le)?[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|1d|2[0-8]|3[01])$"
+          "regex": "^(ge|le)?[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|1\\d|2[0-9]|3[01])$"
         }
       ]
     },
diff --git a/EHS/CH_mCSD/CH-ITI-90-PractitionerRole-GetRequest-ValidationProfile.json b/EHS/CH_mCSD/CH-ITI-90-PractitionerRole-GetRequest-ValidationProfile.json
index a1788d3..03afcd4 100644
--- a/EHS/CH_mCSD/CH-ITI-90-PractitionerRole-GetRequest-ValidationProfile.json
+++ b/EHS/CH_mCSD/CH-ITI-90-PractitionerRole-GetRequest-ValidationProfile.json
@@ -167,7 +167,7 @@
       "checks": [
         {
           "type": "REGEX",
-          "regex": "^(ge|le)?[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|1d|2[0-8]|3[01])$"
+          "regex": "^(ge|le)?[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|1\\d|2[0-9]|3[01])$"
         }
       ]
     },
diff --git a/EHS/CH_mCSD/README.md b/EHS/CH_mCSD/README.md
index 2485bbe..7b022c8 100644
--- a/EHS/CH_mCSD/README.md
+++ b/EHS/CH_mCSD/README.md
@@ -22,7 +22,7 @@ date: 2023-03-14
 |   _id_parameter_presence   |   OCCURENCE   | 0..1 |   _id parameter can be used only once. |
 |   _id_parameter_value   |   REGEX   |   `^\S+$` |   _id parameter is a token.  |
 |   _lastUpdated_parameter_presence   |   OCCURENCE   | 0..1 |   _lastUpdated parameter can be used only once. |
-|   _lastUpdated_parameter_value   |   REGEX   |   `^(ge\|le)?[0-9]{4}-(0[1-9]\|1[0-2])-(0[1-9]\|1\d\|2[0-8]\|3[01])$` | _lastUpdated parameter is made of a date eventually preceded by a modifier ge or le.    |
+|   _lastUpdated_parameter_value   |   REGEX   |   `^(ge\|le)?[0-9]{4}-(0[1-9]\|1[0-2])-(0[1-9]\|1\d\|2[0-9]\|3[01])$` | _lastUpdated parameter is made of a date eventually preceded by a modifier ge or le.    |
 |   _format_parameter_presence   |   OCCURENCE   | 0..1 |   _format parameter can be used only once. |
 |   _format_parameter_value   |   CLOSEDLIST   |   [json,xml] |   _format parameter's value shall be either json or xml.
 |   _sort_parameter_presence   |   OCCURENCE   | 0..1 |   _sort parameter can be used only once. |
-- 
GitLab