ANS IG document core
0.1.0 - ci-build

ANS IG document core - version de développement local (v0.1.0) construite par les outils de publication FHIR (HL7® FHIR® Standard). Voir le répertoire des versions publiées

## Resource Profile: Consent - FR Advance directive Document

Official URL: https://interop.esante.gouv.fr/ig/document/core/StructureDefinition/fr-advance-directive-document | Version: 0.1.0
Draft as of 2025-12-15 | Computable Name: FRAdvanceDirectiveDocument

FRAdvanceDirectiveDocument permet d’indiquer si les directives anticipées du patient. Article L1111-11 du Code de la Santé Publique : « Toute personne majeure peut rédiger des directives anticipées pour le cas où elle serait un jour hors d’état d’exprimer sa volonté. Ces directives anticipées expriment la volonté de la personne relative à sa fin de vie en ce qui concerne les conditions de la poursuite, de la limitation, de l’arrêt ou du refus de traitement ou d’acte médicaux.»

Utilisations:

- Ce Profil nest utilisé par aucun profil dans ce guide dimplémentation

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Nom | Drapeaux | Card. | Type | Description et contraintes Filter: Bindings Contraintes Obligations
--- | --- | --- | --- | ---
Consent | C | 0..* | Consent | A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time Constraints: ppc-1, ppc-2, ppc-3, ppc-4, ppc-5
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
status | ?!S Σ | 1..1 | code | Statut Binding: ConsentState (required): Indicates the state of the consent.
scope | ?!S Σ | 1..1 | CodeableConcept | Consent de type directive anticipée Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource.
category | Σ | 1..* | CodeableConcept | Classification of the consent statement - for indexing/retrieval Binding: ConsentCategoryCodes (extensible): A classification of the type of consents found in a consent statement.
dateTime | S Σ | 0..1 | dateTime | Date de la directive anticipée
Slices pour source[x] | Σ | 0..1 |  | Documents Slice: Non ordonné, Fermé par type:$this
sourceAttachment |  |  | Attachment |
sourceReference |  |  | Reference(Consent | DocumentReference | Contract | QuestionnaireResponse) |
source[x]:sourceReference | S Σ | 0..1 | Reference(DocumentReference - FR Document reference Document) | Référence à un document externe
source[x]:sourceAttachment | S Σ | 0..1 | Attachment | Document encapsulé en B64
data |  | 0..1 | base64Binary | Representation en B64
url | Σ | 0..1 | url | URI Exemple General: http://www.acme.com/logo-small.png
provision | S Σ | 0..1 | BackboneElement | Constraints to the base Consent.policyRule
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | Σ | 0..1 | code | Procédure autorisée ou pas : Le type de la directive identifiée permet d’indiquer l’autorisation ou la non autorisation : - si l’élément <<provision.code>> est 'Autre directive' : dans ce cas, l'élément <<provision.type>> n'est pas présent - si l’élément <<provision.code>> est 'Directives anticipées' : dans ce cas, l'élément <<provision.type>> n'est pas présent et un document encodé en B64 est encapsulé dans l'élément 'sourceAttachment'. Binding: ConsentProvisionType (required): How a rule statement is applied, such as adding additional consent or removing consent.
code | Σ | 0..* | CodeableConcept | Type de la directive anticipée Binding: JDV Type Directive Anticipee CISIS (required)
Documentation pour ce format

#### Bindings terminologiques

Chemin | Statut | Usage | Jeu de valeurs (ValueSet) | Version | Source
Consent.status | Base | required | ConsentState | 📍4.0.1 | Std. FHIR
Consent.scope | Base | extensible | Consent Scope Codes | 📍4.0.1 | Std. FHIR
Consent.category | Base | extensible | Consent Category Codes | 📍4.0.1 | Std. FHIR
Consent.provision.type | Base | required | ConsentProvisionType | 📍4.0.1 | Std. FHIR
Consent.provision.code | Base | required | JDV Type Directive Anticipee CISIS | 📦20250624152100 | Terminologies de Santé v1.4

#### Contraintes

Id | Grade | Chemin(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 | bonne pratique | Consent | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **TOUS** les éléments | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **TOUTES** les 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()`

This structure is derived from Consent

Nom | Drapeaux | Card. | Type | Description et contraintes Filter: Bindings Contraintes Obligations
--- | --- | --- | --- | ---
Consent |  | 0..* | Consent | A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time
status | S | 1..1 | code | Statut
scope | S | 1..1 | CodeableConcept | Consent de type directive anticipée
coding |  |  |  |
system |  | 0..1 | uri | Identity of the terminology system Motif requis: http://terminology.hl7.org/CodeSystem/consentscope
code |  | 0..1 | code | Symbol in syntax defined by the system Motif requis: adr
display |  | 0..1 | string | Representation defined by the system Motif requis: Advance Directive
dateTime | S | 0..1 | dateTime | Date de la directive anticipée
Slices pour source[x] |  | 0..1 | Attachment, Reference(Consent | DocumentReference | Contract | QuestionnaireResponse) | Documents Slice: Non ordonné, Ouvert par type:$this
source[x]:sourceReference | S | 0..1 | Reference(DocumentReference - FR Document reference Document) | Référence à un document externe
source[x]:sourceAttachment | S | 0..1 | Attachment | Document encapsulé en B64
data |  | 0..1 | base64Binary | Representation en B64
url |  | 0..1 | url | URI
provision | S | 0..1 | BackboneElement | Constraints to the base Consent.policyRule
type |  | 0..1 | code | Procédure autorisée ou pas : Le type de la directive identifiée permet d’indiquer l’autorisation ou la non autorisation : - si l’élément <<provision.code>> est 'Autre directive' : dans ce cas, l'élément <<provision.type>> n'est pas présent - si l’élément <<provision.code>> est 'Directives anticipées' : dans ce cas, l'élément <<provision.type>> n'est pas présent et un document encodé en B64 est encapsulé dans l'élément 'sourceAttachment'.
code |  | 0..* | CodeableConcept | Type de la directive anticipée Binding: JDV Type Directive Anticipee CISIS (required)
Documentation pour ce format

#### Bindings terminologiques (différentiel)

Chemin | Statut | Usage | Jeu de valeurs (ValueSet) | Version | Source
Consent.provision.code | Base | required | JDV Type Directive Anticipee CISIS | 📦20250624152100 | Terminologies de Santé v1.4

Nom | Drapeaux | Card. | Type | Description et contraintes Filter: Bindings Contraintes Obligations
--- | --- | --- | --- | ---
Consent | C | 0..* | Consent | A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time Constraints: ppc-1, ppc-2, ppc-3, ppc-4, ppc-5
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Bindings Additionnels | But
AllLanguages | Binding Max
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier | Identifier for this record (external references) Exemple General: {"system":"http://acme.org/identifier/local/eCMS","value":"Local eCMS identifier"}
status | ?!S Σ | 1..1 | code | Statut Binding: ConsentState (required): Indicates the state of the consent.
scope | ?!S Σ | 1..1 | CodeableConcept | Consent de type directive anticipée Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Non ordonné, Ouvert par value:url
coding | Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Non ordonné, Ouvert par value:url
system | Σ | 0..1 | uri | Identity of the terminology system Motif requis: http://terminology.hl7.org/CodeSystem/consentscope
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 0..1 | code | Symbol in syntax defined by the system Motif requis: adr
display | Σ | 0..1 | string | Representation defined by the system Motif requis: Advance Directive
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
category | Σ | 1..* | CodeableConcept | Classification of the consent statement - for indexing/retrieval Binding: ConsentCategoryCodes (extensible): A classification of the type of consents found in a consent statement.
patient | Σ | 0..1 | Reference(Patient) | Who the consent applies to
dateTime | S Σ | 0..1 | dateTime | Date de la directive anticipée
performer | Σ | 0..* | Reference(Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Who is agreeing to the policy and rules
organization | Σ | 0..* | Reference(Organization) | Custodian of the consent
Slices pour source[x] | Σ | 0..1 |  | Documents Slice: Non ordonné, Fermé par type:$this
sourceAttachment |  |  | Attachment |
sourceReference |  |  | Reference(Consent | DocumentReference | Contract | QuestionnaireResponse) |
source[x]:sourceReference | S Σ | 0..1 | Reference(DocumentReference - FR Document reference Document) | Référence à un document externe
source[x]:sourceAttachment | S Σ | 0..1 | Attachment | Document encapsulé en B64
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Non ordonné, Ouvert par value:url
contentType | Σ | 0..1 | code | Mime type of the content, with charset etc. Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Exemple General: text/plain; charset=UTF-8, image/png
language | Σ | 0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Bindings Additionnels | But
AllLanguages | Binding Max
Exemple General: en-AU
data |  | 0..1 | base64Binary | Representation en B64
url | Σ | 0..1 | url | URI Exemple General: http://www.acme.com/logo-small.png
size | Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided)
hash | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed)
title | Σ | 0..1 | string | Label to display in place of the data Exemple General: Official Corporate Logo
creation | Σ | 0..1 | dateTime | Date attachment was first created
policy |  | 0..* | BackboneElement | Policies covered by this consent
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
authority | C | 0..1 | uri | Enforcement source for policy
uri | C | 0..1 | uri | Specific policy covered by this consent
policyRule | Σ C | 0..1 | CodeableConcept | Regulation that this consents to Binding: ConsentPolicyRuleCodes (extensible): Regulatory policy examples.
verification | Σ | 0..* | BackboneElement | Consent Verified by patient or family
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
verified | Σ | 1..1 | boolean | Has been verified
verifiedWith |  | 0..1 | Reference(Patient | RelatedPerson) | Person who verified
verificationDate |  | 0..1 | dateTime | When consent verified
provision | S Σ | 0..1 | BackboneElement | Constraints to the base Consent.policyRule
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | Σ | 0..1 | code | Procédure autorisée ou pas : Le type de la directive identifiée permet d’indiquer l’autorisation ou la non autorisation : - si l’élément <<provision.code>> est 'Autre directive' : dans ce cas, l'élément <<provision.type>> n'est pas présent - si l’élément <<provision.code>> est 'Directives anticipées' : dans ce cas, l'élément <<provision.type>> n'est pas présent et un document encodé en B64 est encapsulé dans l'élément 'sourceAttachment'. Binding: ConsentProvisionType (required): How a rule statement is applied, such as adding additional consent or removing consent.
period | Σ | 0..1 | Period | Timeframe for this rule
actor |  | 0..* | BackboneElement | Who|what controlled by this rule (or group, by role)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
role |  | 1..1 | CodeableConcept | How the actor is involved Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations.
reference |  | 1..1 | Reference(Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Resource for the actor (or group, by role)
action | Σ | 0..* | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action.
securityLabel | Σ | 0..* | Coding | Security Labels that define affected resources Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
purpose | Σ | 0..* | Coding | Context of activities covered by this rule Binding: PurposeOfUse (extensible): What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels.
class | Σ | 0..* | Coding | e.g. Resource Type, Profile, CDA, etc. Binding: ConsentContentClass (extensible): The class (type) of information a consent rule covers.
code | Σ | 0..* | CodeableConcept | Type de la directive anticipée Binding: JDV Type Directive Anticipee CISIS (required)
dataPeriod | Σ | 0..1 | Period | Timeframe for data controlled by this rule
data | Σ | 0..* | BackboneElement | Data controlled by this rule
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
meaning | Σ | 1..1 | code | instance | related | dependents | authoredby Binding: ConsentDataMeaning (required): How a resource reference is interpreted when testing consent restrictions.
reference | Σ | 1..1 | Reference(Resource) | The actual data reference
provision |  | 0..* | Voir provision (Consent) | Nested Exception Rules
Documentation pour ce format

#### Bindings terminologiques

Chemin | Statut | Usage | Jeu de valeurs (ValueSet) | Version | Source
Consent.language | Base | preferred | Common Languages | 📍4.0.1 | Std. FHIR
Consent.status | Base | required | ConsentState | 📍4.0.1 | Std. FHIR
Consent.scope | Base | extensible | Consent Scope Codes | 📍4.0.1 | Std. FHIR
Consent.category | Base | extensible | Consent Category Codes | 📍4.0.1 | Std. FHIR
Consent.source[x]:sourceAttachment.​contentType | Base | required | MimeType | 📍4.0.1 | Std. FHIR
Consent.source[x]:sourceAttachment.​language | Base | preferred | Common Languages | 📍4.0.1 | Std. FHIR
Consent.policyRule | Base | extensible | Consent PolicyRule Codes | 📍4.0.1 | Std. FHIR
Consent.provision.type | Base | required | ConsentProvisionType | 📍4.0.1 | Std. FHIR
Consent.provision.actor.​role | Base | extensible | SecurityRoleType | 📍4.0.1 | Std. FHIR
Consent.provision.action | Base | example | Consent Action Codes | 📍4.0.1 | Std. FHIR
Consent.provision.securityLabel | Base | extensible | SecurityLabels | 📍4.0.1 | Std. FHIR
Consent.provision.purpose | Base | extensible | PurposeOfUse | 📦3.1.0 | THO v7.0
Consent.provision.class | Base | extensible | Consent Content Class | 📍4.0.1 | Std. FHIR
Consent.provision.code | Base | required | JDV Type Directive Anticipee CISIS | 📦20250624152100 | Terminologies de Santé v1.4
Consent.provision.data.​meaning | Base | required | ConsentDataMeaning | 📍4.0.1 | Std. FHIR

#### Contraintes

Id | Grade | Chemin(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 | bonne pratique | Consent | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **TOUS** les éléments | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **TOUTES** les 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()`

This structure is derived from Consent

Résumé

Must-Support : 6 éléments

Structures

Cette structure fait référence à ces autres structures:

- DocumentReference - FR Document reference Document (https://interop.esante.gouv.fr/ig/document/core/StructureDefinition/fr-document-reference-document)

Slices

Cette structure définit les slices suivantes:

- The element 1 is sliced based on the value of Consent.source[x]

Key Elements View

Nom | Drapeaux | Card. | Type | Description et contraintes Filter: Bindings Contraintes Obligations
--- | --- | --- | --- | ---
Consent | C | 0..* | Consent | A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time Constraints: ppc-1, ppc-2, ppc-3, ppc-4, ppc-5
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
status | ?!S Σ | 1..1 | code | Statut Binding: ConsentState (required): Indicates the state of the consent.
scope | ?!S Σ | 1..1 | CodeableConcept | Consent de type directive anticipée Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource.
category | Σ | 1..* | CodeableConcept | Classification of the consent statement - for indexing/retrieval Binding: ConsentCategoryCodes (extensible): A classification of the type of consents found in a consent statement.
dateTime | S Σ | 0..1 | dateTime | Date de la directive anticipée
Slices pour source[x] | Σ | 0..1 |  | Documents Slice: Non ordonné, Fermé par type:$this
sourceAttachment |  |  | Attachment |
sourceReference |  |  | Reference(Consent | DocumentReference | Contract | QuestionnaireResponse) |
source[x]:sourceReference | S Σ | 0..1 | Reference(DocumentReference - FR Document reference Document) | Référence à un document externe
source[x]:sourceAttachment | S Σ | 0..1 | Attachment | Document encapsulé en B64
data |  | 0..1 | base64Binary | Representation en B64
url | Σ | 0..1 | url | URI Exemple General: http://www.acme.com/logo-small.png
provision | S Σ | 0..1 | BackboneElement | Constraints to the base Consent.policyRule
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | Σ | 0..1 | code | Procédure autorisée ou pas : Le type de la directive identifiée permet d’indiquer l’autorisation ou la non autorisation : - si l’élément <<provision.code>> est 'Autre directive' : dans ce cas, l'élément <<provision.type>> n'est pas présent - si l’élément <<provision.code>> est 'Directives anticipées' : dans ce cas, l'élément <<provision.type>> n'est pas présent et un document encodé en B64 est encapsulé dans l'élément 'sourceAttachment'. Binding: ConsentProvisionType (required): How a rule statement is applied, such as adding additional consent or removing consent.
code | Σ | 0..* | CodeableConcept | Type de la directive anticipée Binding: JDV Type Directive Anticipee CISIS (required)
Documentation pour ce format

#### Bindings terminologiques

Chemin | Statut | Usage | Jeu de valeurs (ValueSet) | Version | Source
Consent.status | Base | required | ConsentState | 📍4.0.1 | Std. FHIR
Consent.scope | Base | extensible | Consent Scope Codes | 📍4.0.1 | Std. FHIR
Consent.category | Base | extensible | Consent Category Codes | 📍4.0.1 | Std. FHIR
Consent.provision.type | Base | required | ConsentProvisionType | 📍4.0.1 | Std. FHIR
Consent.provision.code | Base | required | JDV Type Directive Anticipee CISIS | 📦20250624152100 | Terminologies de Santé v1.4

#### Contraintes

Id | Grade | Chemin(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 | bonne pratique | Consent | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **TOUS** les éléments | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **TOUTES** les 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 View

This structure is derived from Consent

Nom | Drapeaux | Card. | Type | Description et contraintes Filter: Bindings Contraintes Obligations
--- | --- | --- | --- | ---
Consent |  | 0..* | Consent | A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time
status | S | 1..1 | code | Statut
scope | S | 1..1 | CodeableConcept | Consent de type directive anticipée
coding |  |  |  |
system |  | 0..1 | uri | Identity of the terminology system Motif requis: http://terminology.hl7.org/CodeSystem/consentscope
code |  | 0..1 | code | Symbol in syntax defined by the system Motif requis: adr
display |  | 0..1 | string | Representation defined by the system Motif requis: Advance Directive
dateTime | S | 0..1 | dateTime | Date de la directive anticipée
Slices pour source[x] |  | 0..1 | Attachment, Reference(Consent | DocumentReference | Contract | QuestionnaireResponse) | Documents Slice: Non ordonné, Ouvert par type:$this
source[x]:sourceReference | S | 0..1 | Reference(DocumentReference - FR Document reference Document) | Référence à un document externe
source[x]:sourceAttachment | S | 0..1 | Attachment | Document encapsulé en B64
data |  | 0..1 | base64Binary | Representation en B64
url |  | 0..1 | url | URI
provision | S | 0..1 | BackboneElement | Constraints to the base Consent.policyRule
type |  | 0..1 | code | Procédure autorisée ou pas : Le type de la directive identifiée permet d’indiquer l’autorisation ou la non autorisation : - si l’élément <<provision.code>> est 'Autre directive' : dans ce cas, l'élément <<provision.type>> n'est pas présent - si l’élément <<provision.code>> est 'Directives anticipées' : dans ce cas, l'élément <<provision.type>> n'est pas présent et un document encodé en B64 est encapsulé dans l'élément 'sourceAttachment'.
code |  | 0..* | CodeableConcept | Type de la directive anticipée Binding: JDV Type Directive Anticipee CISIS (required)
Documentation pour ce format

#### Bindings terminologiques (différentiel)

Chemin | Statut | Usage | Jeu de valeurs (ValueSet) | Version | Source
Consent.provision.code | Base | required | JDV Type Directive Anticipee CISIS | 📦20250624152100 | Terminologies de Santé v1.4

Snapshot View

Nom | Drapeaux | Card. | Type | Description et contraintes Filter: Bindings Contraintes Obligations
--- | --- | --- | --- | ---
Consent | C | 0..* | Consent | A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time Constraints: ppc-1, ppc-2, ppc-3, ppc-4, ppc-5
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Bindings Additionnels | But
AllLanguages | Binding Max
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier | Identifier for this record (external references) Exemple General: {"system":"http://acme.org/identifier/local/eCMS","value":"Local eCMS identifier"}
status | ?!S Σ | 1..1 | code | Statut Binding: ConsentState (required): Indicates the state of the consent.
scope | ?!S Σ | 1..1 | CodeableConcept | Consent de type directive anticipée Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Non ordonné, Ouvert par value:url
coding | Σ | 0..* | Coding | Code defined by a terminology system
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Non ordonné, Ouvert par value:url
system | Σ | 0..1 | uri | Identity of the terminology system Motif requis: http://terminology.hl7.org/CodeSystem/consentscope
version | Σ | 0..1 | string | Version of the system - if relevant
code | Σ | 0..1 | code | Symbol in syntax defined by the system Motif requis: adr
display | Σ | 0..1 | string | Representation defined by the system Motif requis: Advance Directive
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | Σ | 0..1 | string | Plain text representation of the concept
category | Σ | 1..* | CodeableConcept | Classification of the consent statement - for indexing/retrieval Binding: ConsentCategoryCodes (extensible): A classification of the type of consents found in a consent statement.
patient | Σ | 0..1 | Reference(Patient) | Who the consent applies to
dateTime | S Σ | 0..1 | dateTime | Date de la directive anticipée
performer | Σ | 0..* | Reference(Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Who is agreeing to the policy and rules
organization | Σ | 0..* | Reference(Organization) | Custodian of the consent
Slices pour source[x] | Σ | 0..1 |  | Documents Slice: Non ordonné, Fermé par type:$this
sourceAttachment |  |  | Attachment |
sourceReference |  |  | Reference(Consent | DocumentReference | Contract | QuestionnaireResponse) |
source[x]:sourceReference | S Σ | 0..1 | Reference(DocumentReference - FR Document reference Document) | Référence à un document externe
source[x]:sourceAttachment | S Σ | 0..1 | Attachment | Document encapsulé en B64
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Non ordonné, Ouvert par value:url
contentType | Σ | 0..1 | code | Mime type of the content, with charset etc. Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Exemple General: text/plain; charset=UTF-8, image/png
language | Σ | 0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Bindings Additionnels | But
AllLanguages | Binding Max
Exemple General: en-AU
data |  | 0..1 | base64Binary | Representation en B64
url | Σ | 0..1 | url | URI Exemple General: http://www.acme.com/logo-small.png
size | Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided)
hash | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed)
title | Σ | 0..1 | string | Label to display in place of the data Exemple General: Official Corporate Logo
creation | Σ | 0..1 | dateTime | Date attachment was first created
policy |  | 0..* | BackboneElement | Policies covered by this consent
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
authority | C | 0..1 | uri | Enforcement source for policy
uri | C | 0..1 | uri | Specific policy covered by this consent
policyRule | Σ C | 0..1 | CodeableConcept | Regulation that this consents to Binding: ConsentPolicyRuleCodes (extensible): Regulatory policy examples.
verification | Σ | 0..* | BackboneElement | Consent Verified by patient or family
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
verified | Σ | 1..1 | boolean | Has been verified
verifiedWith |  | 0..1 | Reference(Patient | RelatedPerson) | Person who verified
verificationDate |  | 0..1 | dateTime | When consent verified
provision | S Σ | 0..1 | BackboneElement | Constraints to the base Consent.policyRule
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | Σ | 0..1 | code | Procédure autorisée ou pas : Le type de la directive identifiée permet d’indiquer l’autorisation ou la non autorisation : - si l’élément <<provision.code>> est 'Autre directive' : dans ce cas, l'élément <<provision.type>> n'est pas présent - si l’élément <<provision.code>> est 'Directives anticipées' : dans ce cas, l'élément <<provision.type>> n'est pas présent et un document encodé en B64 est encapsulé dans l'élément 'sourceAttachment'. Binding: ConsentProvisionType (required): How a rule statement is applied, such as adding additional consent or removing consent.
period | Σ | 0..1 | Period | Timeframe for this rule
actor |  | 0..* | BackboneElement | Who|what controlled by this rule (or group, by role)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
role |  | 1..1 | CodeableConcept | How the actor is involved Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations.
reference |  | 1..1 | Reference(Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Resource for the actor (or group, by role)
action | Σ | 0..* | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action.
securityLabel | Σ | 0..* | Coding | Security Labels that define affected resources Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
purpose | Σ | 0..* | Coding | Context of activities covered by this rule Binding: PurposeOfUse (extensible): What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels.
class | Σ | 0..* | Coding | e.g. Resource Type, Profile, CDA, etc. Binding: ConsentContentClass (extensible): The class (type) of information a consent rule covers.
code | Σ | 0..* | CodeableConcept | Type de la directive anticipée Binding: JDV Type Directive Anticipee CISIS (required)
dataPeriod | Σ | 0..1 | Period | Timeframe for data controlled by this rule
data | Σ | 0..* | BackboneElement | Data controlled by this rule
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
meaning | Σ | 1..1 | code | instance | related | dependents | authoredby Binding: ConsentDataMeaning (required): How a resource reference is interpreted when testing consent restrictions.
reference | Σ | 1..1 | Reference(Resource) | The actual data reference
provision |  | 0..* | Voir provision (Consent) | Nested Exception Rules
Documentation pour ce format

#### Bindings terminologiques

Chemin | Statut | Usage | Jeu de valeurs (ValueSet) | Version | Source
Consent.language | Base | preferred | Common Languages | 📍4.0.1 | Std. FHIR
Consent.status | Base | required | ConsentState | 📍4.0.1 | Std. FHIR
Consent.scope | Base | extensible | Consent Scope Codes | 📍4.0.1 | Std. FHIR
Consent.category | Base | extensible | Consent Category Codes | 📍4.0.1 | Std. FHIR
Consent.source[x]:sourceAttachment.​contentType | Base | required | MimeType | 📍4.0.1 | Std. FHIR
Consent.source[x]:sourceAttachment.​language | Base | preferred | Common Languages | 📍4.0.1 | Std. FHIR
Consent.policyRule | Base | extensible | Consent PolicyRule Codes | 📍4.0.1 | Std. FHIR
Consent.provision.type | Base | required | ConsentProvisionType | 📍4.0.1 | Std. FHIR
Consent.provision.actor.​role | Base | extensible | SecurityRoleType | 📍4.0.1 | Std. FHIR
Consent.provision.action | Base | example | Consent Action Codes | 📍4.0.1 | Std. FHIR
Consent.provision.securityLabel | Base | extensible | SecurityLabels | 📍4.0.1 | Std. FHIR
Consent.provision.purpose | Base | extensible | PurposeOfUse | 📦3.1.0 | THO v7.0
Consent.provision.class | Base | extensible | Consent Content Class | 📍4.0.1 | Std. FHIR
Consent.provision.code | Base | required | JDV Type Directive Anticipee CISIS | 📦20250624152100 | Terminologies de Santé v1.4
Consent.provision.data.​meaning | Base | required | ConsentDataMeaning | 📍4.0.1 | Std. FHIR

#### Contraintes

Id | Grade | Chemin(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 | bonne pratique | Consent | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **TOUS** les éléments | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **TOUTES** les 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()`

This structure is derived from Consent

Résumé

Must-Support : 6 éléments

Structures

Cette structure fait référence à ces autres structures:

- DocumentReference - FR Document reference Document (https://interop.esante.gouv.fr/ig/document/core/StructureDefinition/fr-document-reference-document)

Slices

Cette structure définit les slices suivantes:

- The element 1 is sliced based on the value of Consent.source[x]

Other representations of profile: CSV, Excel, Schematron