Skip to content

Commit

Permalink
Merge pull request #76 from gematik/add-versioning-ruleset
Browse files Browse the repository at this point in the history
Versioning Ruleset hinzufügen
  • Loading branch information
Hendrejvr authored Apr 8, 2024
2 parents 9628ed8 + 70b15f5 commit ff3adb4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
18 changes: 8 additions & 10 deletions Resources/input/fsh/ruleset.fsh
Original file line number Diff line number Diff line change
@@ -1,23 +1,21 @@
RuleSet: Meta (profileName)
// General rule for to handle versions for all structure definitions
RuleSet: Versioning
* ^status = #active
* ^experimental = false
* ^publisher = "gematik GmbH"
* ^url = "https://gematik.de/fhir/erp-servicerequest/StructureDefinition/{profileName}"
* ^version = "1.0"

RuleSet: Meta (profileName)
* insert Versioning
* ^url = "https://gematik.de/fhir/erp-servicerequest/StructureDefinition/{profileName}"

RuleSet: MetaValueSet(profileName)
* ^status = #active
* ^experimental = false
* ^publisher = "gematik GmbH"
* insert Versioning
* ^url = "https://gematik.de/fhir/erp-servicerequest/ValueSet/{profileName}"
* ^version = "1.0"

RuleSet: MetaCodeSystem(profileName)
* ^status = #active
* ^experimental = false
* ^publisher = "gematik GmbH"
* insert Versioning
* ^url = "https://gematik.de/fhir/erp-servicerequest/CodeSystem/{profileName}"
* ^version = "1.0"

RuleSet: MetaInstance(profileName)
* meta.profile = "https://gematik.de/fhir/erp-servicerequest/StructureDefinition/{profileName}"
2 changes: 1 addition & 1 deletion fhirpkg.lock.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"updated": "2024-03-19T10:28:24.269772+01:00",
"updated": "2024-04-03T09:18:41.9234275+00:00",
"dependencies": {
"hl7.fhir.r4.core": "4.0.1",
"de.basisprofil.r4": "1.3.2",
Expand Down

0 comments on commit ff3adb4

Please sign in to comment.