From 6c6f9a8cb1ea33d954795d6fd9a111fc9a3111c4 Mon Sep 17 00:00:00 2001 From: Hendre Janse van Rensburg Date: Wed, 3 Apr 2024 10:07:20 +0200 Subject: [PATCH] add the Versioning ruleset --- Resources/input/fsh/rulesets.fsh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Resources/input/fsh/rulesets.fsh b/Resources/input/fsh/rulesets.fsh index 4b9c7b0..cbd48f4 100644 --- a/Resources/input/fsh/rulesets.fsh +++ b/Resources/input/fsh/rulesets.fsh @@ -1,9 +1,13 @@ -RuleSet: Meta (profileName) +// General rule for to handle versions for all structure definitions +RuleSet: Versioning * ^status = #draft +* ^version = "1.0" + +RuleSet: Meta (profileName) +* insert Versioning * ^experimental = false * ^publisher = "gematik GmbH" * ^url = "https://gematik.de/fhir/erpchrg/StructureDefinition/{profileName}" -* ^version = "1.0" RuleSet: MetaProfile (profileName) * meta 1..1 @@ -14,7 +18,6 @@ RuleSet: MetaProfile (profileName) * meta.security 0..0 RuleSet: Meta-Inst -* status = #draft +* insert Versioning * experimental = false -* version = "1.0" * publisher = "gematik GmbH" \ No newline at end of file