FR Document Core (FHIR)
0.1.0 - ci-build
FR Document Core (FHIR), publié par Agence du Numérique en Santé (ANS) - 2-10 Rue d'Oradour-sur-Glane, 75015 Paris. Ce guide n'est pas une publication autorisée ; C'est la version en intégration continue pour la version 0.1.0 construite par le CI Build FHIR (HL7® FHIR® Standard). Cette version est basée sur le contenu actuel de https://github.com/ansforge/interop-IG-fhir-document-core/ et change régulièrement. Voir le répertoire des versions publiées
| URL officielle: https://interop.esante.gouv.fr/ig/fhir/document-core/StructureDefinition/fr-advance-directive-document | Version: 0.1.0 | ||||
| Draft à partir de 2026-08-07 | Nom computable: 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:
Vous pouvez également vérifier les usages dans le FHIR IG Statistics
Description des profils, des différentiels, des instantanés et de leurs représentations.
| Nom | Drapeaux | Card. | Type | Description et contraintes Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Consent(4.0.1) | 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 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
?!SΣ | 1..1 | code | Statut Binding: ConsentState (required): Indicates the state of the consent. |
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | Consent de type directive anticipée Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource. Motif requis: Au moins les éléments suivants |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Valeur fixe : (Complexe) | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Valeur fixe : http://terminology.hl7.org/CodeSystem/consentscope | |
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Valeur fixe : adr | |
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Valeur fixe : Advance Directive | |
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |
![]() ![]() |
Σ | 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. |
![]() ![]() |
SΣ | 0..1 | dateTime | Date de la directive anticipée |
![]() ![]() |
Σ | 0..1 | Documents Slice: Non ordonné, Fermé par type:$this | |
![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() |
Reference(Consent | DocumentReference | Contract | QuestionnaireResponse) | |||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(DocumentReference - FR Document reference Document(0.1.0)) | Référence à un document externe |
![]() ![]() ![]() |
SΣ | 0..1 | Attachment | Document encapsulé en B64 |
![]() ![]() ![]() ![]() |
0..1 | base64Binary | Representation en B64 | |
![]() ![]() ![]() ![]() |
Σ | 0..1 | url | URI Exemple General: http://www.acme.com/logo-small.png |
![]() ![]() |
SΣ | 0..1 | BackboneElement | Constraints to the base Consent.policyRule |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
Σ | 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. |
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Type de la directive anticipée Binding: JdvTypeDirectiveAnticipeeCisis (20260619134043) (required) |
Documentation pour ce format | ||||
| 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 | 📍20260619134043 | Terminologies de Santé v1.11 |
| 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 | Consent.implicitRules, Consent.modifierExtension, Consent.status, Consent.scope, Consent.category, Consent.dateTime, Consent.source[x], Consent.source[x]:sourceReference, Consent.source[x]:sourceAttachment, Consent.source[x]:sourceAttachment.data, Consent.source[x]:sourceAttachment.url, Consent.provision, Consent.provision.modifierExtension, Consent.provision.type, Consent.provision.code | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Consent.modifierExtension, Consent.provision.modifierExtension | 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()
|
Cette structure est dérivée de Consent
| Nom | Drapeaux | Card. | Type | Description et contraintes Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Consent(4.0.1) | A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time | |
![]() ![]() |
S | 1..1 | code | Statut |
![]() ![]() |
S | 1..1 | CodeableConcept | Consent de type directive anticipée Motif requis: Au moins les éléments suivants |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Valeur fixe : (Complexe) | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Valeur fixe : http://terminology.hl7.org/CodeSystem/consentscope | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Valeur fixe : adr | |
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Valeur fixe : Advance Directive | |
![]() ![]() |
S | 0..1 | dateTime | Date de la directive anticipée |
![]() ![]() |
0..1 | Attachment, Reference(Consent | DocumentReference | Contract | QuestionnaireResponse) | Documents Slice: Non ordonné, Ouvert par type:$this | |
![]() ![]() ![]() |
S | 0..1 | Reference(DocumentReference - FR Document reference Document(0.1.0)) | Référence à un document externe |
![]() ![]() ![]() |
S | 0..1 | Attachment | Document encapsulé en B64 |
![]() ![]() ![]() ![]() |
0..1 | base64Binary | Representation en B64 | |
![]() ![]() ![]() ![]() |
0..1 | url | URI | |
![]() ![]() |
S | 0..1 | BackboneElement | Constraints to the base Consent.policyRule |
![]() ![]() ![]() |
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'. | |
![]() ![]() ![]() |
0..* | CodeableConcept | Type de la directive anticipée Binding: JdvTypeDirectiveAnticipeeCisis (20260619134043) (required) | |
Documentation pour ce format | ||||
| Chemin | Statut | Usage | Jeu de valeurs (ValueSet) | Version | Source |
| Consent.provision.code | Base | required | JDV Type Directive Anticipee CISIS | 📍20260619134043 | Terminologies de Santé v1.11 |
| Nom | Drapeaux | Card. | Type | Description et contraintes Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Consent(4.0.1) | 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 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | Identifier for this record (external references) Exemple General: {"system":"http://acme.org/identifier/local/eCMS","value":"Local eCMS identifier"} | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Statut Binding: ConsentState (required): Indicates the state of the consent. | ||||
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | Consent de type directive anticipée Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource. Motif requis: Au moins les éléments suivants | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Valeur fixe : (Complexe) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Valeur fixe : http://terminology.hl7.org/CodeSystem/consentscope | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Valeur fixe : adr | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Valeur fixe : Advance Directive | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
Σ | 0..1 | Reference(Patient) | Who the consent applies to | ||||
![]() ![]() |
SΣ | 0..1 | dateTime | Date de la directive anticipée | ||||
![]() ![]() |
Σ | 0..* | Reference(Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Who is agreeing to the policy and rules | ||||
![]() ![]() |
Σ | 0..* | Reference(Organization) | Custodian of the consent | ||||
![]() ![]() |
Σ | 0..1 | Documents Slice: Non ordonné, Fermé par type:$this | |||||
![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() |
Reference(Consent | DocumentReference | Contract | QuestionnaireResponse) | |||||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(DocumentReference - FR Document reference Document(0.1.0)) | Référence à un document externe | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Attachment | Document encapsulé en B64 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Non ordonné, Ouvert par value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Exemple General: en-AU | ||||
![]() ![]() ![]() ![]() |
0..1 | base64Binary | Representation en B64 | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | url | URI Exemple General: http://www.acme.com/logo-small.png | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Label to display in place of the data Exemple General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | dateTime | Date attachment was first created | ||||
![]() ![]() |
0..* | BackboneElement | Policies covered by this consent | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
C | 0..1 | uri | Enforcement source for policy | ||||
![]() ![]() ![]() |
C | 0..1 | uri | Specific policy covered by this consent | ||||
![]() ![]() |
ΣC | 0..1 | CodeableConcept | Regulation that this consents to Binding: ConsentPolicyRuleCodes (extensible): Regulatory policy examples. | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | Consent Verified by patient or family | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | boolean | Has been verified | ||||
![]() ![]() ![]() |
0..1 | Reference(Patient | RelatedPerson) | Person who verified | |||||
![]() ![]() ![]() |
0..1 | dateTime | When consent verified | |||||
![]() ![]() |
SΣ | 0..1 | BackboneElement | Constraints to the base Consent.policyRule | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Timeframe for this rule | ||||
![]() ![]() ![]() |
0..* | BackboneElement | Who|what controlled by this rule (or group, by role) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | How the actor is involved Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations. | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Resource for the actor (or group, by role) | |||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels that define affected resources Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Context of activities covered by this rule Binding: PurposeOfUse (3.1.0) (extensible): What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | e.g. Resource Type, Profile, CDA, etc. Binding: ConsentContentClass (extensible): The class (type) of information a consent rule covers. | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Type de la directive anticipée Binding: JdvTypeDirectiveAnticipeeCisis (20260619134043) (required) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Timeframe for data controlled by this rule | ||||
![]() ![]() ![]() |
Σ | 0..* | BackboneElement | Data controlled by this rule | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | instance | related | dependents | authoredby Binding: ConsentDataMeaning (required): How a resource reference is interpreted when testing consent restrictions. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(Resource) | The actual data reference | ||||
![]() ![]() ![]() |
0..* | Voir provision (Consent) | Nested Exception Rules | |||||
Documentation pour ce format | ||||||||
| 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.3 |
| Consent.provision.class | Base | extensible | Consent Content Class | 📍4.0.1 | Std. FHIR |
| Consent.provision.code | Base | required | JDV Type Directive Anticipee CISIS | 📍20260619134043 | Terminologies de Santé v1.11 |
| Consent.provision.data.meaning | Base | required | ConsentDataMeaning | 📍4.0.1 | Std. FHIR |
| 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 | Consent.meta, Consent.implicitRules, Consent.language, Consent.text, Consent.extension, Consent.modifierExtension, Consent.identifier, Consent.status, Consent.scope, Consent.category, Consent.patient, Consent.dateTime, Consent.performer, Consent.organization, Consent.source[x], Consent.source[x]:sourceReference, Consent.source[x]:sourceAttachment, Consent.source[x]:sourceAttachment.extension, Consent.source[x]:sourceAttachment.contentType, Consent.source[x]:sourceAttachment.language, Consent.source[x]:sourceAttachment.data, Consent.source[x]:sourceAttachment.url, Consent.source[x]:sourceAttachment.size, Consent.source[x]:sourceAttachment.hash, Consent.source[x]:sourceAttachment.title, Consent.source[x]:sourceAttachment.creation, Consent.policy, Consent.policy.extension, Consent.policy.modifierExtension, Consent.policy.authority, Consent.policy.uri, Consent.policyRule, Consent.verification, Consent.verification.extension, Consent.verification.modifierExtension, Consent.verification.verified, Consent.verification.verifiedWith, Consent.verification.verificationDate, Consent.provision, Consent.provision.extension, Consent.provision.modifierExtension, Consent.provision.type, Consent.provision.period, Consent.provision.actor, Consent.provision.actor.extension, Consent.provision.actor.modifierExtension, Consent.provision.actor.role, Consent.provision.actor.reference, Consent.provision.action, Consent.provision.securityLabel, Consent.provision.purpose, Consent.provision.class, Consent.provision.code, Consent.provision.dataPeriod, Consent.provision.data, Consent.provision.data.extension, Consent.provision.data.modifierExtension, Consent.provision.data.meaning, Consent.provision.data.reference, Consent.provision.provision | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Consent.extension, Consent.modifierExtension, Consent.source[x]:sourceAttachment.extension, Consent.policy.extension, Consent.policy.modifierExtension, Consent.verification.extension, Consent.verification.modifierExtension, Consent.provision.extension, Consent.provision.modifierExtension, Consent.provision.actor.extension, Consent.provision.actor.modifierExtension, Consent.provision.data.extension, Consent.provision.data.modifierExtension | 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()
|
Vue des éléments clés
| Nom | Drapeaux | Card. | Type | Description et contraintes Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Consent(4.0.1) | 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 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
?!SΣ | 1..1 | code | Statut Binding: ConsentState (required): Indicates the state of the consent. |
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | Consent de type directive anticipée Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource. Motif requis: Au moins les éléments suivants |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Valeur fixe : (Complexe) | |
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Valeur fixe : http://terminology.hl7.org/CodeSystem/consentscope | |
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Valeur fixe : adr | |
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Valeur fixe : Advance Directive | |
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |
![]() ![]() |
Σ | 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. |
![]() ![]() |
SΣ | 0..1 | dateTime | Date de la directive anticipée |
![]() ![]() |
Σ | 0..1 | Documents Slice: Non ordonné, Fermé par type:$this | |
![]() ![]() ![]() |
Attachment | |||
![]() ![]() ![]() |
Reference(Consent | DocumentReference | Contract | QuestionnaireResponse) | |||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(DocumentReference - FR Document reference Document(0.1.0)) | Référence à un document externe |
![]() ![]() ![]() |
SΣ | 0..1 | Attachment | Document encapsulé en B64 |
![]() ![]() ![]() ![]() |
0..1 | base64Binary | Representation en B64 | |
![]() ![]() ![]() ![]() |
Σ | 0..1 | url | URI Exemple General: http://www.acme.com/logo-small.png |
![]() ![]() |
SΣ | 0..1 | BackboneElement | Constraints to the base Consent.policyRule |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 |
![]() ![]() ![]() |
Σ | 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. |
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Type de la directive anticipée Binding: JdvTypeDirectiveAnticipeeCisis (20260619134043) (required) |
Documentation pour ce format | ||||
| 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 | 📍20260619134043 | Terminologies de Santé v1.11 |
| 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 | Consent.implicitRules, Consent.modifierExtension, Consent.status, Consent.scope, Consent.category, Consent.dateTime, Consent.source[x], Consent.source[x]:sourceReference, Consent.source[x]:sourceAttachment, Consent.source[x]:sourceAttachment.data, Consent.source[x]:sourceAttachment.url, Consent.provision, Consent.provision.modifierExtension, Consent.provision.type, Consent.provision.code | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Consent.modifierExtension, Consent.provision.modifierExtension | 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()
|
Vue différentielle
Cette structure est dérivée de Consent
| Nom | Drapeaux | Card. | Type | Description et contraintes Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Consent(4.0.1) | A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time | |
![]() ![]() |
S | 1..1 | code | Statut |
![]() ![]() |
S | 1..1 | CodeableConcept | Consent de type directive anticipée Motif requis: Au moins les éléments suivants |
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Valeur fixe : (Complexe) | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Valeur fixe : http://terminology.hl7.org/CodeSystem/consentscope | |
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Valeur fixe : adr | |
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Valeur fixe : Advance Directive | |
![]() ![]() |
S | 0..1 | dateTime | Date de la directive anticipée |
![]() ![]() |
0..1 | Attachment, Reference(Consent | DocumentReference | Contract | QuestionnaireResponse) | Documents Slice: Non ordonné, Ouvert par type:$this | |
![]() ![]() ![]() |
S | 0..1 | Reference(DocumentReference - FR Document reference Document(0.1.0)) | Référence à un document externe |
![]() ![]() ![]() |
S | 0..1 | Attachment | Document encapsulé en B64 |
![]() ![]() ![]() ![]() |
0..1 | base64Binary | Representation en B64 | |
![]() ![]() ![]() ![]() |
0..1 | url | URI | |
![]() ![]() |
S | 0..1 | BackboneElement | Constraints to the base Consent.policyRule |
![]() ![]() ![]() |
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'. | |
![]() ![]() ![]() |
0..* | CodeableConcept | Type de la directive anticipée Binding: JdvTypeDirectiveAnticipeeCisis (20260619134043) (required) | |
Documentation pour ce format | ||||
| Chemin | Statut | Usage | Jeu de valeurs (ValueSet) | Version | Source |
| Consent.provision.code | Base | required | JDV Type Directive Anticipee CISIS | 📍20260619134043 | Terminologies de Santé v1.11 |
Vue d'ensembleView
| Nom | Drapeaux | Card. | Type | Description et contraintes Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Consent(4.0.1) | 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 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | Identifier for this record (external references) Exemple General: {"system":"http://acme.org/identifier/local/eCMS","value":"Local eCMS identifier"} | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Statut Binding: ConsentState (required): Indicates the state of the consent. | ||||
![]() ![]() |
?!SΣ | 1..1 | CodeableConcept | Consent de type directive anticipée Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource. Motif requis: Au moins les éléments suivants | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
1..* | Coding | Code defined by a terminology system Valeur fixe : (Complexe) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Valeur fixe : http://terminology.hl7.org/CodeSystem/consentscope | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Valeur fixe : adr | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system Valeur fixe : Advance Directive | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
Σ | 0..1 | Reference(Patient) | Who the consent applies to | ||||
![]() ![]() |
SΣ | 0..1 | dateTime | Date de la directive anticipée | ||||
![]() ![]() |
Σ | 0..* | Reference(Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Who is agreeing to the policy and rules | ||||
![]() ![]() |
Σ | 0..* | Reference(Organization) | Custodian of the consent | ||||
![]() ![]() |
Σ | 0..1 | Documents Slice: Non ordonné, Fermé par type:$this | |||||
![]() ![]() ![]() |
Attachment | |||||||
![]() ![]() ![]() |
Reference(Consent | DocumentReference | Contract | QuestionnaireResponse) | |||||||
![]() ![]() ![]() |
SΣ | 0..1 | Reference(DocumentReference - FR Document reference Document(0.1.0)) | Référence à un document externe | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Attachment | Document encapsulé en B64 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Non ordonné, Ouvert par value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Exemple General: en-AU | ||||
![]() ![]() ![]() ![]() |
0..1 | base64Binary | Representation en B64 | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | url | URI Exemple General: http://www.acme.com/logo-small.png | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Label to display in place of the data Exemple General: Official Corporate Logo | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | dateTime | Date attachment was first created | ||||
![]() ![]() |
0..* | BackboneElement | Policies covered by this consent | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
C | 0..1 | uri | Enforcement source for policy | ||||
![]() ![]() ![]() |
C | 0..1 | uri | Specific policy covered by this consent | ||||
![]() ![]() |
ΣC | 0..1 | CodeableConcept | Regulation that this consents to Binding: ConsentPolicyRuleCodes (extensible): Regulatory policy examples. | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | Consent Verified by patient or family | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | boolean | Has been verified | ||||
![]() ![]() ![]() |
0..1 | Reference(Patient | RelatedPerson) | Person who verified | |||||
![]() ![]() ![]() |
0..1 | dateTime | When consent verified | |||||
![]() ![]() |
SΣ | 0..1 | BackboneElement | Constraints to the base Consent.policyRule | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Timeframe for this rule | ||||
![]() ![]() ![]() |
0..* | BackboneElement | Who|what controlled by this rule (or group, by role) | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | How the actor is involved Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations. | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Resource for the actor (or group, by role) | |||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels that define affected resources Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Context of activities covered by this rule Binding: PurposeOfUse (3.1.0) (extensible): What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels. | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | e.g. Resource Type, Profile, CDA, etc. Binding: ConsentContentClass (extensible): The class (type) of information a consent rule covers. | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Type de la directive anticipée Binding: JdvTypeDirectiveAnticipeeCisis (20260619134043) (required) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Timeframe for data controlled by this rule | ||||
![]() ![]() ![]() |
Σ | 0..* | BackboneElement | Data controlled by this rule | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | instance | related | dependents | authoredby Binding: ConsentDataMeaning (required): How a resource reference is interpreted when testing consent restrictions. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | Reference(Resource) | The actual data reference | ||||
![]() ![]() ![]() |
0..* | Voir provision (Consent) | Nested Exception Rules | |||||
Documentation pour ce format | ||||||||
| 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.3 |
| Consent.provision.class | Base | extensible | Consent Content Class | 📍4.0.1 | Std. FHIR |
| Consent.provision.code | Base | required | JDV Type Directive Anticipee CISIS | 📍20260619134043 | Terminologies de Santé v1.11 |
| Consent.provision.data.meaning | Base | required | ConsentDataMeaning | 📍4.0.1 | Std. FHIR |
| 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 | Consent.meta, Consent.implicitRules, Consent.language, Consent.text, Consent.extension, Consent.modifierExtension, Consent.identifier, Consent.status, Consent.scope, Consent.category, Consent.patient, Consent.dateTime, Consent.performer, Consent.organization, Consent.source[x], Consent.source[x]:sourceReference, Consent.source[x]:sourceAttachment, Consent.source[x]:sourceAttachment.extension, Consent.source[x]:sourceAttachment.contentType, Consent.source[x]:sourceAttachment.language, Consent.source[x]:sourceAttachment.data, Consent.source[x]:sourceAttachment.url, Consent.source[x]:sourceAttachment.size, Consent.source[x]:sourceAttachment.hash, Consent.source[x]:sourceAttachment.title, Consent.source[x]:sourceAttachment.creation, Consent.policy, Consent.policy.extension, Consent.policy.modifierExtension, Consent.policy.authority, Consent.policy.uri, Consent.policyRule, Consent.verification, Consent.verification.extension, Consent.verification.modifierExtension, Consent.verification.verified, Consent.verification.verifiedWith, Consent.verification.verificationDate, Consent.provision, Consent.provision.extension, Consent.provision.modifierExtension, Consent.provision.type, Consent.provision.period, Consent.provision.actor, Consent.provision.actor.extension, Consent.provision.actor.modifierExtension, Consent.provision.actor.role, Consent.provision.actor.reference, Consent.provision.action, Consent.provision.securityLabel, Consent.provision.purpose, Consent.provision.class, Consent.provision.code, Consent.provision.dataPeriod, Consent.provision.data, Consent.provision.data.extension, Consent.provision.data.modifierExtension, Consent.provision.data.meaning, Consent.provision.data.reference, Consent.provision.provision | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Consent.extension, Consent.modifierExtension, Consent.source[x]:sourceAttachment.extension, Consent.policy.extension, Consent.policy.modifierExtension, Consent.verification.extension, Consent.verification.modifierExtension, Consent.provision.extension, Consent.provision.modifierExtension, Consent.provision.actor.extension, Consent.provision.actor.modifierExtension, Consent.provision.data.extension, Consent.provision.data.modifierExtension | 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()
|
Autres représentations du profil : CSV, Excel, Schematron