MII Implementation Guide Consent
2027.0.0-ballot - Germany

MII Implementation Guide Consent - Downloaded Version 2027.0.0-ballot See the Directory of published versions

Ressourcenprofil: Profile - MI-I - Consent - Einwilligung

Offizielle URL: https://www.medizininformatik-initiative.de/fhir/modul-consent/StructureDefinition/mii-pr-consent-einwilligung Version: 2027.0.0-ballot
Active Stand: 2026-08-21 Maschinenlesbarer Name: MII_PR_Consent_Einwilligung

Dieses Profil beschreibt eine Einwilligung in der Medizininformatik-Initiative.

Dieses Profil beschreibt eine operationalisierte, automatisch erzeugte und prozessierbare Einwilligung in der Medizininformatik-Initiative.

Beim Einschluss einer Person in eine Studie (auch in einen MII-Use Case) wird eine Einwilligung für diese Person auf Basis der MII Broad Consent Mustertexte erhoben und entsprechende Einwilligungsdokument am jeweiligen Standort strukturiert dokumentiert gemäß den Vorgaben der MII Task Force Consent Umsetzung.

Auf Grundlage dieser Einwilligungsdokumente wird die FHIR Consent Ressource automatisiert erzeugt. Der Projektkontext bleibt erhalten.

Die Erstellung der Ressource muss vor der Teilnahme an Standort-übergreifenden Feasability-Anfragen und Datenherausgaben erfolgen. Weitere Pflichten und Anpassungen sind für jeden Use Case zu prüfen.

Die Datenschutz-Aspekte dieses Profils beschreibt die Seite Sicherheit und Datenschutz; die Suchparameter beschreibt die Seite Suchparameter.

Interoperabilität

Um die Austauschbarkeit der operationalisierten Einwilligungsinhalte auch über FHIR hinaus sicherzustellen, wurde mit der MII AG Consent ein einheitliches PolicyValueSet zur semantischen Abbildung der im MII Broad Consent enthaltenen Aussagen im Dezember 2021 abgestimmt und im ART-DECOR (Policy-OIDs) dokumentiert.

Die Verwendung dieses Codesystems ist bezogen auf das KDS-Modul Consent verpflichtend.

Nachfolgend werden nur die Unterschiede zum Basis-Profil erläutert.

FHIR-Element Erklärung
Consent.id Must-support, jedoch optional
Consent.meta Must-support, jedoch optional
Consent.meta.source Must-support, jedoch optional
Consent.meta.profile Must-support, jedoch optional
Consent.extension:domainReference Must-support gemäß Vorgaben AG Einwilligungsmanagement , jedoch optional
Consent.identifier Enthält eine oder mehrere externe IDs der Einwilligung eines externen Systems. Dies kann z.B. die IHE-ID des CDA Dokumentes sein oder die ID des Dokuments in einer externen Treuhandstelle. Der identifier sollte immer als Wertepaar "system" und "value" angegeben werden. Die Angabe ist optional.
Consent.scope.coding.system Fixed value: http://terminology.hl7.org/CodeSystem/consentscope
Consent.scope.coding.code Abbildung der MII Einwilligung legt Kontext klar auf Forschung. Fixed value: research
Consent.category Must-support. Verpflichtende Angabe von mindestens zwei Categories mit je min. einem Coding für die Consent-Kategorien, um die Suche nach Einwilligungen vom Typ "MII Einwilligung" zu ermöglichen:
(1) gemäß https://www.hl7.org/fhir/valueset-consent-category.html :
Fixed System: http://loinc.org
Fixed Code für 'Privacy policy acknowledgement Document': 57016-8
(2) Identifikation MII Broad Consent :
Fixed Code: 2.16.840.1.113883.3.1937.777.24.2.184
Weitere zusätzliche Angaben werden nicht verhindert.
Consent.category:resultType.coding ResultType gemäß ResultType . Es sollten mindestens document und consent-status unterstützt werden. Wenn als ResultType document angegeben ist, muss die Art des (Quell-)Dokuments im Slice templateType ebenfalls angegeben werden.
Consent.category:templateType.coding Kategorisierung gemäß TemplateType . Dient als informelles Element der Differenzierung zwischen Einwilligung, Widerruf, Widerspruch und Ablehnung.
Consent.patient.reference Verweis zum Patienten, auf den sich die Consent Ressource bezieht in der Form Literal reference, Relative reference, Internal reference oder als absolute URL, Must-support.
Consent.patient.reference sollte ausgefüllt werden, wenn möglich, d.h. wenn eine entsprechende Patienten Ressource vorhanden ist. Ist dies nicht der Fall, muss der Patientenbezug über Consent.patient.identifier hergestellt werden.
Consent.patient.identifier Angabe des Personenbezugs in Form eines Identifiers, Must-support.
Siehe Consent.patient.reference . Der Bezug zum Patienten sollte möglichst über Consent.patient.reference hergestellt werden. Consent.patient.identifier kann alternativ bzw. ergänzend verwendet werden.
Consent.patient.identifier.system Wird der Personenbezug per Identifier angegeben, ist die System-Angabe per Uri verpflichtend, Must-support
Consent.patient.identifier.value Wird der Personenbezug per Identifier angegeben, ist die Value-Angabe per String verpflichtend, Must-support
Consent.policy.uri Verweis auf die Version des der Consent-Ressource zugrundeliegende MII Broad Consent Dokument-Version gemäß untenstehender Übersicht,
z.B.
MII Broad Consent Version 1.7.2 urn:oid:2.16.840.1.113883.3.1937.777.24.2.2079 oder
MII Broad Consent Version 1.7.2 inkl. Zusatzmodul Acribis urn:oid:2.16.840.1.113883.3.1937.777.24.2.4031 , Must-support

Die obenstehende Tabelle beschreibt den Stand des Release 2026.0.0. Mit der Inkorporation des develop-Standes (744f7ba, 2026-08-21) gelten drei Änderungen: (1) das Profil leitet jetzt vom HL7-D-Profil ConsentManagement/Consent ab; (2) die Category-Slices heißen consentCategory (LOINC 57016-8), mii (Version-Modules-CodeSystem), resultType (required) und templateType (extensible); (3) die Beispiele verwenden für die MII-Kategorie das CodeSystem mii-cs-consent-version-modules. Die Zeilen zu Consent.category ("mindestens zwei Categories") sind entsprechend überholt.

Um FHIR-Consent Ressourcen nach Einwilligungen zu filtern, die auf dem MII Broad Consent basieren, wird ein verpflichtendes Uri für die Consent.policy.uri verwendet. Die TFCU hat im ART-DECOR Repräsentationen für die unterschiedlichen Versionen des MII Broad Consent angelegt. Diese können über eine eindeutige OID (vgl. nachstehende Tabelle) referenziert werden.

Version des MII Broad Consent Eindeutige OID gemäß Vorgabe der TFCU
1.6d 2.16.840.1.113883.3.1937.777.24.2.1790
1.6d Ablehnung 2.16.840.1.113883.3.1937.777.24.2.4053
1.6d Komplettwiderruf 2.16.840.1.113883.3.1937.777.24.2.2718
1.6d Teilwiderruf 2.16.840.1.113883.3.1937.777.24.2.2719
1.6f 2.16.840.1.113883.3.1937.777.24.2.1791
1.6f Komplettwiderruf 2.16.840.1.113883.3.1937.777.24.2.2720
1.6f Teilwiderruf 2.16.840.1.113883.3.1937.777.24.2.2721
1.7.2 2.16.840.1.113883.3.1937.777.24.2.2079
1.7.2 Ablehnung 2.16.840.1.113883.3.1937.777.24.2.4054
1.7.2 Komplettwiderruf 2.16.840.1.113883.3.1937.777.24.2.2722
1.7.2 Teilwiderruf 2.16.840.1.113883.3.1937.777.24.2.2723
1.7.2 (Eltern und Sorgeberechtigte für Minderjährige v1.1) 2.16.840.1.113883.3.1937.777.24.2.3542
1.7.2 (7-11 Minderjährige v1.1) 2.16.840.1.113883.3.1937.777.24.2.3543
1.7.2 (12-17 Minderjährige v1.1) 2.16.840.1.113883.3.1937.777.24.2.3544
Zusatzmodul ACRIBiS (Z2) 2.16.840.1.113883.3.1937.777.24.2.4031
Zusatzmodul Patientenbefragung (Z3) 2.16.840.1.113883.3.1937.777.24.2.4036
Zusatzmodul Fachnetzwerk Infektion - SNID (Z4) 2.16.840.1.113883.3.1937.777.24.2.4037
Zusatzmodul Deutsche Zentrum für Psychische Gesundheit - DZPG (Z5) 2.16.840.1.113883.3.1937.777.24.2.4048

Verschachtelte Provision-Elemente

Die FHIR Consent Ressource folgt der DSGVO-Vorgabe zum Opt-In: es ist nur erlaubt, was explizit zu einem bestimmten Zeitpunkt (Zeitpunkt der Einwilligung) eingewilligt wurde. Dies wird über verschachtelte Provision-Elemente realisiert.

In Opt-In-Szenarien verbietet das übergeordnete Provision-Element (->Level1-Provision) alles (Provision.Type=DENY), außer es ist in Form von untergeordneten Provision-Elementen (->Level2-Provision) explizit erlaubt. Daher sind als untergeordnete Provisions Provision-Elemente mit Provision.Type=PERMIT verbindlich zu verwenden. Für Zusatzinformationen sind Level-2-Provision mit Provision.Type=DENY möglich.

Die grundsätzliche Gültigkeitsdauer der Einwilligung wird ebenfalls über das übergeordnetete Provision-Element mittels provision.period realisiert (für den MII Broad Consent: 30 Jahre).

Sollten einzelne Bestandteile der Einwilligung jedoch bereits frühzeitig ablaufen, können diese Ausnahmen als Teil der untergeordneter Provisions mit Bezug zum relevanten Einwilligungsbestandteil mittels provision.provision.period definiert werden (z.B. Provision mit Code 2.16.840.1.113883.3.1937.777.24.5.3.6 für Policy MDAT\_erheben läuft bereits nach 5 Jahren ab).

Übergeordnete Provision (Consent.Provision)

FHIR-Element Erklärung
Consent.provision.type value DENY oder PERMIT , Must-support
Consent.provision.period.start verpflichtende Angabe zum Beginn der Gültigkeit der Einwilligung. Sofern nicht anders festgelegt ist dies typischerweise das Datum der Unterschrift der Einwilligung der betroffenen Person, Must-support
Consent.provision.period.end verpflichtende Angabe zum Ende der Gültigkeit der Einwilligung. Dies ist typischerweise der Zeitpunkt des Ablaufens der für die MII festlegte Einwilligungsdauer (30 Jahre, beginnend mit dem Unterschriftsdatum), Must-support
Consent.provision.action Die Angabe von Actions ist nicht zulässig, not supported
Consent.provision.code Die Angabe von Codes ist in der übergeordneten Provision nicht zulässig, not supported
Consent.provision.provision Liste von untergeordneten Provision-Elementen die explizit (Datenverarbeitungs-)Tätigkeiten erlauben, Must-support

Untergeordnete Provision-Elemente (Consent.Provision.Provision)

Je Consent-Policy sollte exakt ein untergeordnetes Provision-Element genutzt werden.

FHIR-Element Erklärung
Consent.provision.provision.type value PERMIT oder DENY , Must-support
Consent.provision.provision.period.start verpflichtende Angabe zum Beginn der Gültigkeit der Consent-Policy, Must-support
Consent.provision.provision.period.end verpflichtende Angabe zum Ende der Gültigkeit der Consent-Policy, Must-support
Consent.provision.provision.code 1-n Angabe zur Semantik der Einwilligungspolicy. Mindestens aber gemäß MII TFCU Konzept (vgl. MiiConsentPolicyValueSet im Abschnitt CodeSystems ), Must-support
Consent.provision.provision.code.coding.system Systemangabe, idealerweise gemäß MII TFCU Konzept (vgl. MiiConsentPolicyValueSet im Abschnitt CodeSystems ): urn:oid:2.16.840.1.113883.3.1937.777.24.5.3 , Must-support
Consent.provision.provision.code.coding.code Codeangabe, idealerweise gemäß MII TFCU Konzept (vgl. MiiConsentPolicyValueSet im Abschnitt CodeSystems ) z.B. 2.16.840.1.113883.3.1937.777.24.5.3.6 , Must-support
Consent.provision.provision.code.coding.display Optionale Displayangabe, idealerweise gemäß MII TFCU Konzept (vgl. MiiConsentPolicyValueSet im Abschnitt CodeSystems ) z.B. MDAT\_erheben
Consent.provision.provision.action Angabe von Actions sind nicht zulässig, not supported
Consent.provision.provision.provision Weitere Verschachtelungsebenen von Provisions sind nicht zulässig, not supported

Die Einwilligung des Patienten endet nach Vorgaben der MII AG Consent grundsätzlich nach 30 Jahren. Einen Sonderfall stellen die Einwilligungen von Minderjährigen (von der Einwilligung betroffene Person) dar. Im Fall von Einwilligungen für Minderjährige, die ggf. durch entsprechende Sorgeberechtigte stellvertretend ausgefüllt wurden, endet die Einwilligung mit Erreichung der Volljährigkeit der betroffenen Person. Dies ist entsprechend technisch umzusetzen. Referenzimplementierungen existieren.

Die Widerrufsvorlage (kompatibel mit MII BC 1.7.2) ist ebenfalls für den Widerruf von Einwilligungen Minderjähriger gedacht, da diese in der Regel ebenfalls durch die Sorgeberechtigten ausgefüllt werden.

Bezogen auf Consent-Ressourcen, die im Zusammenhang mit Widerrufen (vollständig, oder teilweise), Ablehnungen oder Widersprüchen erstellt wurden, gelten im Allgemeinen die Empfehlungen der HL7-D AG Einwilligungsmanagement (vgl. Abschnitt 'Angepasste Empfehlungen zur Verwendung von Consent und Consent-Provisions nach Dokumentenart und Szenario'):

Level-2 Provisions sollten insofern nach Möglichkeit stets angegeben werden. Hat ein Dokument konzeptuell kein definiertes Ende (beispielsweise Widerruf, Ablehnung, Widerspruch) kann auf die Angabe von period.end bei Provisions entsprechend verzichtet werden.

Usages:

You can also check for usages in the FHIR IG Statistics

Formale Ansichten des Profilinhalts

Beschreibung von Profilen, Differentials, Snapshots und deren Repräsentationen.

Terminology Bindings

Path Status Usage ValueSet Version Source
Consent.extension:domainReference.​extension:status.value[x] Base required PublicationStatus 📦4.0.1 FHIR Std.
Consent.status Base required ConsentState 📍4.0.1 FHIR Std.
Consent.scope Base extensible Consent Scope Codes 📍4.0.1 FHIR Std.
Consent.category Base extensible Consent Category Codes 📍4.0.1 FHIR Std.
Consent.category:consentCategory Base extensible Consent Category Codes 📍4.0.1 FHIR Std.
Consent.category:mii Base extensible Consent Category Codes 📍4.0.1 FHIR Std.
Consent.category:resultType Base required ConsentManagementResultType 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.category:templateType Base extensible ConsentManagementTemplateType 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.patient.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Consent.policy.uri Base extensible ConsentManagementLegalBasisDataProcessing 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.policyRule Base extensible Consent PolicyRule Codes 📍4.0.1 FHIR Std.
Consent.provision.type Base required ConsentProvisionType 📍4.0.1 FHIR Std.
Consent.provision.provision.​type Base required ConsentProvisionType 📍4.0.1 FHIR Std.
Consent.provision.provision.​code Base required MII Consent: Policy ValueSet 📦2027.0.0-ballot This IG

Constraints

Id Grade Path(s) Description Expression
dom-2 error Consent If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Consent If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Consent If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Consent If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Consent A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
ppc-1 error Consent Either a Policy or PolicyRule policy.exists() or policyRule.exists()
ppc-2 error Consent IF Scope=privacy, there must be a patient patient.exists() or scope.coding.where(system='something' and code='patient-privacy').exists().not()
ppc-3 error Consent IF Scope=research, there must be a patient patient.exists() or scope.coding.where(system='something' and code='research').exists().not()
ppc-4 error Consent IF Scope=adr, there must be a patient patient.exists() or scope.coding.where(system='something' and code='adr').exists().not()
ppc-5 error Consent IF Scope=treatment, there must be a patient patient.exists() or scope.coding.where(system='something' and code='treatment').exists().not()

Diese Struktur ist abgeleitet von ConsentManagementConsent

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Consent.category:resultType Base required ConsentManagementResultType 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.category:templateType Base extensible ConsentManagementTemplateType 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.provision.provision.​code Base required MII Consent: Policy ValueSet 📦2027.0.0-ballot This IG

Terminology Bindings

Path Status Usage ValueSet Version Source
Consent.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Consent.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Consent.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Consent.extension:domainReference.​extension:status.value[x] Base required PublicationStatus 📦4.0.1 FHIR Std.
Consent.status Base required ConsentState 📍4.0.1 FHIR Std.
Consent.scope Base extensible Consent Scope Codes 📍4.0.1 FHIR Std.
Consent.category Base extensible Consent Category Codes 📍4.0.1 FHIR Std.
Consent.category:consentCategory Base extensible Consent Category Codes 📍4.0.1 FHIR Std.
Consent.category:mii Base extensible Consent Category Codes 📍4.0.1 FHIR Std.
Consent.category:resultType Base required ConsentManagementResultType 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.category:templateType Base extensible ConsentManagementTemplateType 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.patient.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Consent.patient.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Consent.patient.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Consent.source[x].type Base extensible ResourceType 📍4.0.1 FHIR Std.
Consent.policy.uri Base extensible ConsentManagementLegalBasisDataProcessing 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.policyRule Base extensible Consent PolicyRule Codes 📍4.0.1 FHIR Std.
Consent.provision.type Base required ConsentProvisionType 📍4.0.1 FHIR Std.
Consent.provision.actor.​role Base extensible SecurityRoleType 📍4.0.1 FHIR Std.
Consent.provision.securityLabel Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Consent.provision.purpose Base extensible PurposeOfUse 📦3.1.0 THO v7.3
Consent.provision.class Base extensible Consent Content Class 📍4.0.1 FHIR Std.
Consent.provision.data.​meaning Base required ConsentDataMeaning 📍4.0.1 FHIR Std.
Consent.provision.provision.​type Base required ConsentProvisionType 📍4.0.1 FHIR Std.
Consent.provision.provision.​actor.role Base extensible SecurityRoleType 📍4.0.1 FHIR Std.
Consent.provision.provision.​securityLabel Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Consent.provision.provision.​purpose Base extensible PurposeOfUse 📦3.1.0 THO v7.3
Consent.provision.provision.​class Base extensible Consent Content Class 📍4.0.1 FHIR Std.
Consent.provision.provision.​code Base required MII Consent: Policy ValueSet 📦2027.0.0-ballot This IG
Consent.provision.provision.​data.meaning Base required ConsentDataMeaning 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Consent If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Consent If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Consent If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Consent If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Consent A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
ppc-1 error Consent Either a Policy or PolicyRule policy.exists() or policyRule.exists()
ppc-2 error Consent IF Scope=privacy, there must be a patient patient.exists() or scope.coding.where(system='something' and code='patient-privacy').exists().not()
ppc-3 error Consent IF Scope=research, there must be a patient patient.exists() or scope.coding.where(system='something' and code='research').exists().not()
ppc-4 error Consent IF Scope=adr, there must be a patient patient.exists() or scope.coding.where(system='something' and code='adr').exists().not()
ppc-5 error Consent IF Scope=treatment, there must be a patient patient.exists() or scope.coding.where(system='something' and code='treatment').exists().not()

Diese Struktur ist abgeleitet von ConsentManagementConsent

Summary

Mandatory: 12 elements(18 nested mandatory elements)
Must-Support: 36 elements
Fixed: 2 elements
Prohibited: 4 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Consent.category

Schlüsselelemente-Ansicht

Terminology Bindings

Path Status Usage ValueSet Version Source
Consent.extension:domainReference.​extension:status.value[x] Base required PublicationStatus 📦4.0.1 FHIR Std.
Consent.status Base required ConsentState 📍4.0.1 FHIR Std.
Consent.scope Base extensible Consent Scope Codes 📍4.0.1 FHIR Std.
Consent.category Base extensible Consent Category Codes 📍4.0.1 FHIR Std.
Consent.category:consentCategory Base extensible Consent Category Codes 📍4.0.1 FHIR Std.
Consent.category:mii Base extensible Consent Category Codes 📍4.0.1 FHIR Std.
Consent.category:resultType Base required ConsentManagementResultType 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.category:templateType Base extensible ConsentManagementTemplateType 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.patient.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Consent.policy.uri Base extensible ConsentManagementLegalBasisDataProcessing 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.policyRule Base extensible Consent PolicyRule Codes 📍4.0.1 FHIR Std.
Consent.provision.type Base required ConsentProvisionType 📍4.0.1 FHIR Std.
Consent.provision.provision.​type Base required ConsentProvisionType 📍4.0.1 FHIR Std.
Consent.provision.provision.​code Base required MII Consent: Policy ValueSet 📦2027.0.0-ballot This IG

Constraints

Id Grade Path(s) Description Expression
dom-2 error Consent If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Consent If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Consent If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Consent If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Consent A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
ppc-1 error Consent Either a Policy or PolicyRule policy.exists() or policyRule.exists()
ppc-2 error Consent IF Scope=privacy, there must be a patient patient.exists() or scope.coding.where(system='something' and code='patient-privacy').exists().not()
ppc-3 error Consent IF Scope=research, there must be a patient patient.exists() or scope.coding.where(system='something' and code='research').exists().not()
ppc-4 error Consent IF Scope=adr, there must be a patient patient.exists() or scope.coding.where(system='something' and code='adr').exists().not()
ppc-5 error Consent IF Scope=treatment, there must be a patient patient.exists() or scope.coding.where(system='something' and code='treatment').exists().not()

Differential-Ansicht

Diese Struktur ist abgeleitet von ConsentManagementConsent

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Consent.category:resultType Base required ConsentManagementResultType 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.category:templateType Base extensible ConsentManagementTemplateType 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.provision.provision.​code Base required MII Consent: Policy ValueSet 📦2027.0.0-ballot This IG

Snapshot-AnsichtView

Terminology Bindings

Path Status Usage ValueSet Version Source
Consent.meta.security Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Consent.meta.tag Base example Common Tags 📍4.0.1 FHIR Std.
Consent.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Consent.extension:domainReference.​extension:status.value[x] Base required PublicationStatus 📦4.0.1 FHIR Std.
Consent.status Base required ConsentState 📍4.0.1 FHIR Std.
Consent.scope Base extensible Consent Scope Codes 📍4.0.1 FHIR Std.
Consent.category Base extensible Consent Category Codes 📍4.0.1 FHIR Std.
Consent.category:consentCategory Base extensible Consent Category Codes 📍4.0.1 FHIR Std.
Consent.category:mii Base extensible Consent Category Codes 📍4.0.1 FHIR Std.
Consent.category:resultType Base required ConsentManagementResultType 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.category:templateType Base extensible ConsentManagementTemplateType 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.patient.type Base extensible ResourceType 📍4.0.1 FHIR Std.
Consent.patient.identifier.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Consent.patient.identifier.​type Base extensible IdentifierType 📍4.0.1 FHIR Std.
Consent.source[x].type Base extensible ResourceType 📍4.0.1 FHIR Std.
Consent.policy.uri Base extensible ConsentManagementLegalBasisDataProcessing 📦2.0.4 de.einwilligungsmanagement v2.0
Consent.policyRule Base extensible Consent PolicyRule Codes 📍4.0.1 FHIR Std.
Consent.provision.type Base required ConsentProvisionType 📍4.0.1 FHIR Std.
Consent.provision.actor.​role Base extensible SecurityRoleType 📍4.0.1 FHIR Std.
Consent.provision.securityLabel Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Consent.provision.purpose Base extensible PurposeOfUse 📦3.1.0 THO v7.3
Consent.provision.class Base extensible Consent Content Class 📍4.0.1 FHIR Std.
Consent.provision.data.​meaning Base required ConsentDataMeaning 📍4.0.1 FHIR Std.
Consent.provision.provision.​type Base required ConsentProvisionType 📍4.0.1 FHIR Std.
Consent.provision.provision.​actor.role Base extensible SecurityRoleType 📍4.0.1 FHIR Std.
Consent.provision.provision.​securityLabel Base extensible SecurityLabels 📍4.0.1 FHIR Std.
Consent.provision.provision.​purpose Base extensible PurposeOfUse 📦3.1.0 THO v7.3
Consent.provision.provision.​class Base extensible Consent Content Class 📍4.0.1 FHIR Std.
Consent.provision.provision.​code Base required MII Consent: Policy ValueSet 📦2027.0.0-ballot This IG
Consent.provision.provision.​data.meaning Base required ConsentDataMeaning 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Consent If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Consent If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Consent If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Consent If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Consent A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
ppc-1 error Consent Either a Policy or PolicyRule policy.exists() or policyRule.exists()
ppc-2 error Consent IF Scope=privacy, there must be a patient patient.exists() or scope.coding.where(system='something' and code='patient-privacy').exists().not()
ppc-3 error Consent IF Scope=research, there must be a patient patient.exists() or scope.coding.where(system='something' and code='research').exists().not()
ppc-4 error Consent IF Scope=adr, there must be a patient patient.exists() or scope.coding.where(system='something' and code='adr').exists().not()
ppc-5 error Consent IF Scope=treatment, there must be a patient patient.exists() or scope.coding.where(system='something' and code='treatment').exists().not()

Diese Struktur ist abgeleitet von ConsentManagementConsent

Summary

Mandatory: 12 elements(18 nested mandatory elements)
Must-Support: 36 elements
Fixed: 2 elements
Prohibited: 4 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Consent.category

 

Weitere Repräsentationen des Profils: CSV, Excel, Schematron