Skip to content

Commit

Permalink
Set the status to active
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrejvr committed May 3, 2024
1 parent 7735c0e commit 50f1dd4
Show file tree
Hide file tree
Showing 11 changed files with 30 additions and 26 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "CodeSystem",
"status": "draft",
"status": "active",
"content": "complete",
"name": "GEM_ERPCHRG_CS_ConsentType",
"id": "GEM-ERPCHRG-CS-ConsentType",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"url": "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_EX_MarkingFlag",
"version": "1.0",
"name": "GEM_ERPCHRG_EX_MarkingFlag",
"status": "draft",
"status": "active",
"experimental": false,
"publisher": "gematik GmbH",
"fhirVersion": "4.0.1",
"mapping": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"url": "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_ChargeItem",
"version": "1.0",
"name": "GEM_ERPCHRG_PR_ChargeItem",
"status": "draft",
"status": "active",
"experimental": false,
"publisher": "gematik GmbH",
"fhirVersion": "4.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": "1.0",
"name": "GEM_ERPCHRG_PR_Communication_ChargChangeReply",
"title": "Reply on change Request on ChargeItem from pharmacy to Patient",
"status": "draft",
"status": "active",
"experimental": false,
"publisher": "gematik GmbH",
"description": "Ressource used for the communication to reply to a change request on a ChargeItem",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": "1.0",
"name": "GEM_ERPCHRG_PR_Communication_ChargChangeReq",
"title": "Request for Modification on ChargeItem",
"status": "draft",
"status": "active",
"experimental": false,
"publisher": "gematik GmbH",
"description": "Ressource used for the communication of Change Request on an existing ChargeItem between patient and pharmacy",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"url": "https://gematik.de/fhir/erpchrg/StructureDefinition/GEM_ERPCHRG_PR_Consent",
"version": "1.0",
"name": "GEM_ERPCHRG_PR_Consent",
"status": "draft",
"status": "active",
"experimental": false,
"publisher": "gematik GmbH",
"fhirVersion": "4.0.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"resourceType": "ValueSet",
"status": "draft",
"status": "active",
"name": "GEM_ERPCHRG_VS_ConsentType",
"id": "GEM-ERPCHRG-VS-ConsentType",
"title": "ValueSet of Consent Codes",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,6 @@ CodeSystem: GEM_ERPCHRG_CS_ConsentType
Id: GEM-ERPCHRG-CS-ConsentType
Title: "CodeSystem of types for a consent"
Description: "Type of patient consent."
* ^url = "https://gematik.de/fhir/erpchrg/CodeSystem/GEM_ERPCHRG_CS_ConsentType"
* ^version = "1.0"
* ^status = #draft
* ^publisher = "gematik GmbH"
* ^contact.telecom.system = #url
* ^contact.telecom.value = "http://www.gematik.de"
* ^copyright = "gematik GmbH"
* ^caseSensitive = true
* insert CodeSystem (GEM_ERPCHRG_CS_ConsentType)
* ^content = #complete
* #CHARGCONS "Consent for saving electronic charge item"
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
Extension: GEM_ERPCHRG_EX_MarkingFlag
Id: GEM-ERPCHRG-EX-MarkingFlag
* ^url = $GEM_ERPCHRG_EX_MarkingFlag_URL
* ^version = "1.0"
* ^status = #draft
* insert Meta (GEM_ERPCHRG_EX_MarkingFlag)
* ^context.type = #element
* ^context.expression = "ChargeItem"
* . ^short = "Options for submitted ChargeItem"
Expand Down
20 changes: 18 additions & 2 deletions Resources/input/fsh/rulesets.fsh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// General rule for to handle versions for all structure definitions
RuleSet: Versioning
* ^status = #draft
* ^status = #active
* ^version = "1.0"

RuleSet: Meta (profileName)
Expand All @@ -20,4 +20,20 @@ RuleSet: MetaProfile (profileName)
RuleSet: Meta-Inst
* insert Versioning
* experimental = false
* publisher = "gematik GmbH"
* publisher = "gematik GmbH"

RuleSet: CodeSystem(name)
* ^url = "https://gematik.de/fhir/erpchrg/CodeSystem/{name}"
* insert Versioning
* ^publisher = "gematik GmbH"
* ^contact.telecom.system = #url
* ^contact.telecom.value = "http://www.gematik.de"
* ^copyright = "gematik GmbH"
* ^caseSensitive = true

RuleSet: ValueSet(name)
* ^url = "https://gematik.de/fhir/erpchrg/ValueSet/{name}"
* insert Versioning
* ^publisher = "gematik GmbH"
* ^contact.telecom.system = #url
* ^contact.telecom.value = "http://www.gematik.de"
7 changes: 1 addition & 6 deletions Resources/input/fsh/valuesets/GEM_ERPCHRG_VS_ConsentType.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,5 @@ ValueSet: GEM_ERPCHRG_VS_ConsentType
Id: GEM-ERPCHRG-VS-ConsentType
Title: "ValueSet of Consent Codes"
Description: "Type of Consents for the ePrescription."
* ^url = "https://gematik.de/fhir/erpchrg/ValueSet/GEM_ERPCHRG_VS_ConsentType"
* ^version = "1.0"
* ^status = #draft
* ^publisher = "gematik GmbH"
* ^contact.telecom.system = #url
* ^contact.telecom.value = "http://www.gematik.de"
* insert ValueSet (GEM_ERPCHRG_VS_ConsentType)
* include codes from system GEM_ERPCHRG_CS_ConsentType

0 comments on commit 50f1dd4

Please sign in to comment.