Amakomaya Nepal FHIR Implementation Guide
2.0.0 - ci-build Nepal

Amakomaya Nepal FHIR Implementation Guide - Local Development build (v2.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: Amakomaya Consent

Official URL: https://fhir.amakomaya.com/StructureDefinition/amk-consent | Version: 2.0.0
Active as of 2026-08-21 | Computable Name: AMKConsent
Copyright/Legal: Used by permission of HL7 International, all rights reserved Creative Commons License

Consent profile for storing and managing patient consent preferences.

Usages:

- Examples for this Profile: Consent/amk-consent-opt-in

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

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Consent | C | 0..* | Consent | A healthcare consumer's or third party's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time Constraints: consent-1
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url
status | ?!S Σ | 1..1 | code | draft | active | inactive | not-done | entered-in-error | unknown Binding: ConsentState (required): Indicates the state of the consent.
category | S Σ | 1..* | CodeableConcept | Classification of the consent statement - for indexing/retrieval Binding: Tele Call Consent ValueSet (required)
subject | Σ | 0..1 | Reference(Patient) | Who the consent applies to
date | S Σ | 1..1 | date | Fully executed date of the consent
decision | ?!Σ C | 0..1 | code | deny | permit Binding: ConsentProvisionType (required): Sets the base decision for Consent to be either permit or deny, with provisions assumed to be a negation of the previous level.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Consent.status | Base | required | Consent State | 📍6.0.0-ballot5 | FHIR Std.
Consent.category | Base | required | Tele Call Consent ValueSet | 📦2.0.0 | This IG
Consent.decision | Base | required | Consent Provision Type | 📍6.0.0-ballot5 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
consent-1 | error | Consent | If provision exists, decision must also be provided | `provision.exists() implies decision.exists()`
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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Consent | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`

This structure is derived from Consent

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Consent |  | 0..* | Consent | A healthcare consumer's or third party's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time
status | S | 1..1 | code | draft | active | inactive | not-done | entered-in-error | unknown
category | S | 1..* | CodeableConcept | Classification of the consent statement - for indexing/retrieval Binding: Tele Call Consent ValueSet (required)
subject |  | 0..1 | Reference(Patient) | Who the consent applies to
date | S | 1..1 | date | Fully executed date of the consent
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Consent.category | Base | required | Tele Call Consent ValueSet | 📦2.0.0 | This IG

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Consent | C | 0..* | Consent | A healthcare consumer's or third party's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time Constraints: consent-1
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: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
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 Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url
identifier | Σ | 0..* | Identifier | Identifier for this record (external references)
status | ?!S Σ | 1..1 | code | draft | active | inactive | not-done | entered-in-error | unknown Binding: ConsentState (required): Indicates the state of the consent.
category | S Σ | 1..* | CodeableConcept | Classification of the consent statement - for indexing/retrieval Binding: Tele Call Consent ValueSet (required)
subject | Σ | 0..1 | Reference(Patient) | Who the consent applies to
date | S Σ | 1..1 | date | Fully executed date of the consent
period | Σ | 0..1 | Period | Effective period for this Consent
grantor | Σ | 0..* | Reference(CareTeam | Group | HealthcareService | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Who is granting rights according to the policy and rules
grantee | Σ | 0..* | Reference(CareTeam | Group | HealthcareService | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Who is agreeing to the policy and rules
manager |  | 0..* | Reference(HealthcareService | Organization | Patient | Practitioner) | Consent workflow management
controller |  | 0..* | Reference(HealthcareService | Organization | Patient | Practitioner) | Consent Enforcer
sourceAttachment |  | 0..* | Attachment | Source from which this consent is taken
sourceReference |  | 0..* | Reference(Consent | DocumentReference | QuestionnaireResponse) | Source from which this consent is taken
regulatoryBasis |  | 0..* | CodeableConcept | Regulations establishing base Consent Binding: ConsentPolicyRuleCodes (example): Regulatory policy examples
policyBasis |  | 0..1 | BackboneElement | Computable version of the backing policy
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Slice: Unordered, Open by value:url
reference |  | 0..1 | Reference(Resource) | Reference backing policy resource
uri |  | 0..1 | uri | URI to a computable backing policy
policyText |  | 0..* | Reference(DocumentReference) | Human Readable Policy
verification | Σ | 0..* | BackboneElement | Consent verified by patient (or another authorized person)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Slice: Unordered, Open by value:url
verified | Σ | 1..1 | boolean | Has been verified
type |  | 0..1 | CodeableConcept | Business case of verification Binding: ConsentVerificationCodes (example): Types of Verification/Validation.
verifiedBy |  | 0..1 | Reference(Organization | Practitioner | PractitionerRole) | Person conducting verification
verifiedWith |  | 0..1 | Reference(Patient | RelatedPerson | Group) | Person who verified
date |  | 0..* | dateTime | When consent verified
decision | ?!Σ C | 0..1 | code | deny | permit Binding: ConsentProvisionType (required): Sets the base decision for Consent to be either permit or deny, with provisions assumed to be a negation of the previous level.
provision | Σ C | 0..* | BackboneElement | Constraints to the base Consent.policyBasis/Consent.policyText
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Slice: Unordered, Open by value:url
period | Σ | 0..1 | Period | Time frame for this provision
actor |  | 0..* | BackboneElement | Who|what controlled by this provision (or group, by role)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Slice: Unordered, Open by value:url
role |  | 0..1 | CodeableConcept | How the actor is involved Binding: ParticipationRoleType (extensible): How an actor is involved in the consent considerations.
reference |  | 0..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 provision Binding: ConsentActionCodes (example): Detailed codes for the consent action.
securityLabel | Σ | 0..* | Coding | Security Labels that define affected resources Binding: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System.
purpose | Σ | 0..* | Coding | Context of activities covered by this provision Binding: PurposeOfUse (extensible): What purposes of use are controlled by this provision. If more than one label is specified, operations must have all the specified labels.
documentType | Σ | 0..* | Coding | e.g. Resource Type, Profile, CDA, etc Binding: FHIRDocumentTypeCodes (preferred): The document type a consent provision covers.
resourceType | Σ | 0..* | Coding | e.g. Resource Type, Profile, etc Binding: ResourceType (extensible): The resource types a consent provision covers.
code | Σ | 0..* | CodeableConcept | e.g. LOINC or SNOMED CT code, etc. in the content Binding: ConsentContentCodes (example): If this code is found in an instance, then the provision applies.
dataPeriod | Σ | 0..1 | Period | Timeframe for data controlled by this provision
data | Σ | 0..* | BackboneElement | Data controlled by this provision
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Slice: Unordered, Open by value:url
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..* | See provision (Consent) | Nested provisions to further constraint the parent provision
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Consent.language | Base | required | All Languages | 📍6.0.0-ballot5 | FHIR Std.
Consent.status | Base | required | Consent State | 📍6.0.0-ballot5 | FHIR Std.
Consent.category | Base | required | Tele Call Consent ValueSet | 📦2.0.0 | This IG
Consent.regulatoryBasis | Base | example | Consent PolicyRule Codes | 📍6.0.0-ballot5 | FHIR Std.
Consent.verification.​type | Base | example | Consent Verification Codes | 📍6.0.0-ballot5 | FHIR Std.
Consent.decision | Base | required | Consent Provision Type | 📍6.0.0-ballot5 | FHIR Std.
Consent.provision.actor.​role | Base | extensible | Participation Role Type | 📍6.0.0-ballot5 | FHIR Std.
Consent.provision.action | Base | example | Consent Action Codes | 📍6.0.0-ballot5 | FHIR Std.
Consent.provision.securityLabel | Base | example | Example set of Security Labels | 📍6.0.0-ballot5 | FHIR Std.
Consent.provision.purpose | Base | extensible | PurposeOfUse | 📦3.1.0 | THO v7.3
Consent.provision.documentType | Base | preferred | FHIR Document Type Codes | 📍6.0.0-ballot5 | FHIR Std.
Consent.provision.resourceType | Base | extensible | Resource Types | 📍6.0.0-ballot5 | FHIR Std.
Consent.provision.code | Base | example | Consent Content Codes | 📍6.0.0-ballot5 | FHIR Std.
Consent.provision.data.​meaning | Base | required | Consent Data Meaning | 📍6.0.0-ballot5 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
consent-1 | error | Consent | If provision exists, decision must also be provided | `provision.exists() implies decision.exists()`
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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Consent | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`

This structure is derived from Consent

Summary

Mandatory: 2 elements
Must-Support: 3 elements

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Consent | C | 0..* | Consent | A healthcare consumer's or third party's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time Constraints: consent-1
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url
status | ?!S Σ | 1..1 | code | draft | active | inactive | not-done | entered-in-error | unknown Binding: ConsentState (required): Indicates the state of the consent.
category | S Σ | 1..* | CodeableConcept | Classification of the consent statement - for indexing/retrieval Binding: Tele Call Consent ValueSet (required)
subject | Σ | 0..1 | Reference(Patient) | Who the consent applies to
date | S Σ | 1..1 | date | Fully executed date of the consent
decision | ?!Σ C | 0..1 | code | deny | permit Binding: ConsentProvisionType (required): Sets the base decision for Consent to be either permit or deny, with provisions assumed to be a negation of the previous level.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Consent.status | Base | required | Consent State | 📍6.0.0-ballot5 | FHIR Std.
Consent.category | Base | required | Tele Call Consent ValueSet | 📦2.0.0 | This IG
Consent.decision | Base | required | Consent Provision Type | 📍6.0.0-ballot5 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
consent-1 | error | Consent | If provision exists, decision must also be provided | `provision.exists() implies decision.exists()`
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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Consent | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`

Differential View

This structure is derived from Consent

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Consent |  | 0..* | Consent | A healthcare consumer's or third party's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time
status | S | 1..1 | code | draft | active | inactive | not-done | entered-in-error | unknown
category | S | 1..* | CodeableConcept | Classification of the consent statement - for indexing/retrieval Binding: Tele Call Consent ValueSet (required)
subject |  | 0..1 | Reference(Patient) | Who the consent applies to
date | S | 1..1 | date | Fully executed date of the consent
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Consent.category | Base | required | Tele Call Consent ValueSet | 📦2.0.0 | This IG

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Consent | C | 0..* | Consent | A healthcare consumer's or third party's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time Constraints: consent-1
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: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
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 Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url
identifier | Σ | 0..* | Identifier | Identifier for this record (external references)
status | ?!S Σ | 1..1 | code | draft | active | inactive | not-done | entered-in-error | unknown Binding: ConsentState (required): Indicates the state of the consent.
category | S Σ | 1..* | CodeableConcept | Classification of the consent statement - for indexing/retrieval Binding: Tele Call Consent ValueSet (required)
subject | Σ | 0..1 | Reference(Patient) | Who the consent applies to
date | S Σ | 1..1 | date | Fully executed date of the consent
period | Σ | 0..1 | Period | Effective period for this Consent
grantor | Σ | 0..* | Reference(CareTeam | Group | HealthcareService | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Who is granting rights according to the policy and rules
grantee | Σ | 0..* | Reference(CareTeam | Group | HealthcareService | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) | Who is agreeing to the policy and rules
manager |  | 0..* | Reference(HealthcareService | Organization | Patient | Practitioner) | Consent workflow management
controller |  | 0..* | Reference(HealthcareService | Organization | Patient | Practitioner) | Consent Enforcer
sourceAttachment |  | 0..* | Attachment | Source from which this consent is taken
sourceReference |  | 0..* | Reference(Consent | DocumentReference | QuestionnaireResponse) | Source from which this consent is taken
regulatoryBasis |  | 0..* | CodeableConcept | Regulations establishing base Consent Binding: ConsentPolicyRuleCodes (example): Regulatory policy examples
policyBasis |  | 0..1 | BackboneElement | Computable version of the backing policy
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Slice: Unordered, Open by value:url
reference |  | 0..1 | Reference(Resource) | Reference backing policy resource
uri |  | 0..1 | uri | URI to a computable backing policy
policyText |  | 0..* | Reference(DocumentReference) | Human Readable Policy
verification | Σ | 0..* | BackboneElement | Consent verified by patient (or another authorized person)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Slice: Unordered, Open by value:url
verified | Σ | 1..1 | boolean | Has been verified
type |  | 0..1 | CodeableConcept | Business case of verification Binding: ConsentVerificationCodes (example): Types of Verification/Validation.
verifiedBy |  | 0..1 | Reference(Organization | Practitioner | PractitionerRole) | Person conducting verification
verifiedWith |  | 0..1 | Reference(Patient | RelatedPerson | Group) | Person who verified
date |  | 0..* | dateTime | When consent verified
decision | ?!Σ C | 0..1 | code | deny | permit Binding: ConsentProvisionType (required): Sets the base decision for Consent to be either permit or deny, with provisions assumed to be a negation of the previous level.
provision | Σ C | 0..* | BackboneElement | Constraints to the base Consent.policyBasis/Consent.policyText
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Slice: Unordered, Open by value:url
period | Σ | 0..1 | Period | Time frame for this provision
actor |  | 0..* | BackboneElement | Who|what controlled by this provision (or group, by role)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Slice: Unordered, Open by value:url
role |  | 0..1 | CodeableConcept | How the actor is involved Binding: ParticipationRoleType (extensible): How an actor is involved in the consent considerations.
reference |  | 0..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 provision Binding: ConsentActionCodes (example): Detailed codes for the consent action.
securityLabel | Σ | 0..* | Coding | Security Labels that define affected resources Binding: SecurityLabelExamples (example): Example Security Labels from the Healthcare Privacy and Security Classification System.
purpose | Σ | 0..* | Coding | Context of activities covered by this provision Binding: PurposeOfUse (extensible): What purposes of use are controlled by this provision. If more than one label is specified, operations must have all the specified labels.
documentType | Σ | 0..* | Coding | e.g. Resource Type, Profile, CDA, etc Binding: FHIRDocumentTypeCodes (preferred): The document type a consent provision covers.
resourceType | Σ | 0..* | Coding | e.g. Resource Type, Profile, etc Binding: ResourceType (extensible): The resource types a consent provision covers.
code | Σ | 0..* | CodeableConcept | e.g. LOINC or SNOMED CT code, etc. in the content Binding: ConsentContentCodes (example): If this code is found in an instance, then the provision applies.
dataPeriod | Σ | 0..1 | Period | Timeframe for data controlled by this provision
data | Σ | 0..* | BackboneElement | Data controlled by this provision
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Slice: Unordered, Open by value:url
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..* | See provision (Consent) | Nested provisions to further constraint the parent provision
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Consent.language | Base | required | All Languages | 📍6.0.0-ballot5 | FHIR Std.
Consent.status | Base | required | Consent State | 📍6.0.0-ballot5 | FHIR Std.
Consent.category | Base | required | Tele Call Consent ValueSet | 📦2.0.0 | This IG
Consent.regulatoryBasis | Base | example | Consent PolicyRule Codes | 📍6.0.0-ballot5 | FHIR Std.
Consent.verification.​type | Base | example | Consent Verification Codes | 📍6.0.0-ballot5 | FHIR Std.
Consent.decision | Base | required | Consent Provision Type | 📍6.0.0-ballot5 | FHIR Std.
Consent.provision.actor.​role | Base | extensible | Participation Role Type | 📍6.0.0-ballot5 | FHIR Std.
Consent.provision.action | Base | example | Consent Action Codes | 📍6.0.0-ballot5 | FHIR Std.
Consent.provision.securityLabel | Base | example | Example set of Security Labels | 📍6.0.0-ballot5 | FHIR Std.
Consent.provision.purpose | Base | extensible | PurposeOfUse | 📦3.1.0 | THO v7.3
Consent.provision.documentType | Base | preferred | FHIR Document Type Codes | 📍6.0.0-ballot5 | FHIR Std.
Consent.provision.resourceType | Base | extensible | Resource Types | 📍6.0.0-ballot5 | FHIR Std.
Consent.provision.code | Base | example | Consent Content Codes | 📍6.0.0-ballot5 | FHIR Std.
Consent.provision.data.​meaning | Base | required | Consent Data Meaning | 📍6.0.0-ballot5 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
consent-1 | error | Consent | If provision exists, decision must also be provided | `provision.exists() implies decision.exists()`
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.trace('id') in %resource.descendants().select(reference | as(uri))) or descendants().where(reference='#' | as(uri)='#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | Consent | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`

This structure is derived from Consent

Summary

Mandatory: 2 elements
Must-Support: 3 elements

Other representations of profile: CSV, Excel, Schematron