Skip to content

Commit

Permalink
Merge pull request #30 from gematik/feature/consent-date-time
Browse files Browse the repository at this point in the history
Open Consent DateTime
  • Loading branch information
florianschoffke authored Dec 5, 2024
2 parents e923588 + e06f563 commit 89c385c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"id": "Consent.scope.coding",
"path": "Consent.scope.coding",
"min": 1,
"max": "1"
"max": "1",
"mustSupport": true
},
{
"id": "Consent.scope.coding.system",
Expand All @@ -72,6 +73,7 @@
"id": "Consent.category",
"path": "Consent.category",
"max": "1",
"mustSupport": true,
"binding": {
"strength": "required",
"valueSet": "https://gematik.de/fhir/erpchrg/ValueSet/GEM_ERPCHRG_VS_ConsentType"
Expand All @@ -80,7 +82,8 @@
{
"id": "Consent.patient",
"path": "Consent.patient",
"min": 1
"min": 1,
"mustSupport": true
},
{
"id": "Consent.patient.identifier",
Expand All @@ -93,7 +96,8 @@
"http://fhir.de/StructureDefinition/identifier-kvid-10"
]
}
]
],
"mustSupport": true
},
{
"id": "Consent.patient.identifier.assigner",
Expand All @@ -116,7 +120,7 @@
{
"id": "Consent.dateTime",
"path": "Consent.dateTime",
"min": 1
"mustSupport": true
},
{
"id": "Consent.policyRule",
Expand Down
10 changes: 5 additions & 5 deletions Resources/input/fsh/profiles/GEM_ERPCHRG_PR_Consent.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ Id: GEM-ERPCHRG-PR-Consent
* insert MetaProfile(GEM_ERPCHRG_PR_Consent)

* status = #active (exactly)
* scope.coding 1..1
* scope.coding 1..1 MS
* system = $cs-consent-scope (exactly)
* code = #patient-privacy (exactly)
* display = "Privacy Consent" (exactly)

* category 1..1
* category 1..1 MS
* category from GEM_ERPCHRG_VS_ConsentType (required)
* patient 1..1
* identifier 1..1
* patient 1..1 MS
* identifier 1..1 MS
* identifier only IdentifierKvid10
* assigner MS
* assigner.identifier MS
* assigner.identifier only IdentifierIknr
* dateTime 1..1
* dateTime MS

* policyRule MS
* policyRule from v3-ActCode

0 comments on commit 89c385c

Please sign in to comment.