haau3 FHIR Implementation Guide (HFIG)
1.0.0 - ci-build
haau3 FHIR Implementation Guide (HFIG) - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://haau3.com/fhir/StructureDefinition/haau3-retrieval-consent | Version: 1.0.0 | |||
| Draft as of 2026-11-22 | Computable Name: Haau3RetrievalConsent | |||
A person's agreement, on haau3's consent screen, that haau3 may retrieve all of their health records through its data access provider, for the period they chose: 1 day, 1 week, 1 year, or until they turn it off. It records the words the person was shown, with the period they chose marked, who agreed and who was present, the parties the records pass to, and, once the person has verified their identity with the data access provider, that verification. haau3 writes it when the person taps Allow access and changes it when it ends; it is never deleted except with the person's record.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
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, haau3-retrieval-consent-1, haau3-retrieval-consent-2 | ||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
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 | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | (Complex) | The signed-in caregiver, when the person agreed on the caregiver's device URL: http://hl7.org/fhir/StructureDefinition/consent-Witness | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/StructureDefinition/consent-Witness" | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(RelatedPerson) | Value of extension | |||||
![]() ![]() ![]() |
1..1 | (Complex) | Retrieval Consent Scopes URL: https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes" | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Value of extension Fixed Value: patient/*.rs (no extensions allowed) | |||||
![]() ![]() ![]() |
0..1 | code | Consent End Reason URL: https://haau3.com/fhir/StructureDefinition/consent-end-reason Binding: Consent End Reason (required) | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..1 | Identifier | Identifier for this record (external references) Example General: {"system":"http://acme.org/identifier/local/eCMS","value":"Local eCMS identifier"} | |||||
![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://haau3.com/fhir/NamingSystem/retrieval-consent-id (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() |
1..1 | code | draft | proposed | active | rejected | inactive | entered-in-error Binding: Retrieval Consent Status (required) | |||||
![]() ![]() |
1..1 | CodeableConcept | Which of the four areas this resource covers (extensible) Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource. Required Pattern: | |||||
![]() ![]() |
2..2 | CodeableConcept | Classification of the consent statement - for indexing/retrieval Slice: Unordered, Closed by pattern:$this Binding: ConsentCategoryCodes (extensible): A classification of the type of consents found in a consent statement. Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
1..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. Required Pattern: | |||||
![]() ![]() ![]() |
1..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. Required Pattern: | |||||
![]() ![]() |
1..1 | Reference(Patient) | Who the consent applies to | |||||
![]() ![]() |
1..1 | dateTime | When this Consent was created or indexed | |||||
![]() ![]() |
1..1 | Reference(Patient) | Who is agreeing to the policy and rules | |||||
![]() ![]() |
1..1 | Reference(Organization) | Custodian of the consent | |||||
![]() ![]() |
1..1 | Attachment | Source from which this consent is taken | |||||
![]() ![]() ![]() |
1..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. Example General: text/plain; charset=UTF-8, image/png | |||||
![]() ![]() ![]() |
0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | |||||
![]() ![]() ![]() |
1..1 | base64Binary | Data inline, base64ed | |||||
![]() ![]() ![]() |
1..1 | base64Binary | Hash of the data (sha-1, base64ed) | |||||
![]() ![]() ![]() |
1..1 | dateTime | Date attachment was first created | |||||
![]() ![]() |
2..2 | BackboneElement | Policies covered by this consent | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
C | 1..1 | uri | Specific policy covered by this consent | ||||
![]() ![]() |
0..1 | BackboneElement | Consent Verified by patient or family | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | boolean | Has been verified Fixed Value: true (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | Reference(Patient) | Person who verified | |||||
![]() ![]() ![]() |
1..1 | dateTime | When consent verified | |||||
![]() ![]() |
1..1 | BackboneElement | Constraints to the base Consent.policyRule | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | code | deny | permit Binding: ConsentProvisionType (required): How a rule statement is applied, such as adding additional consent or removing consent. Fixed Value: permit (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | Period | Timeframe for this rule | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | dateTime | Starting time with inclusive boundary | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | dateTime | End time with inclusive boundary, if not ongoing | ||||
![]() ![]() ![]() |
2..2 | BackboneElement | Who|what controlled by this rule (or group, by role) Slice: Unordered, Closed by pattern:role Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | haau3, which receives the records | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | How the actor is involved Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations. Required Pattern: | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Organization) | Resource for the actor (or group, by role) | |||||
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | Fasten Health, which retrieves the records for haau3 | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | How the actor is involved Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations. Required Pattern: | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Organization) | Resource for the actor (or group, by role) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | The value that is unique Fixed Value: https://www.fastenhealth.com (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Text alternative for the resource | |||||
![]() ![]() ![]() |
3..3 | CodeableConcept | Actions controlled by this rule Slice: Unordered, Closed by pattern:$this Binding: ConsentActionCodes (example): Detailed codes for the consent action. Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action. Required Pattern: | |||||
![]() ![]() ![]() |
1..1 | 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. Required Pattern: | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Consent.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Consent.status | Base | required | Retrieval Consent Status | 📦1.0.0 | This IG | |
| Consent.scope | Base | extensible | Consent Scope Codes | 📍4.0.1 | FHIR Std. |
The four anticipated uses for the Consent Resource. |
| Consent.category | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
A classification of the type of consents found in a consent statement. |
| Consent.category:informationCollection | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
A classification of the type of consents found in a consent statement. |
| Consent.category:patientConsent | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
A classification of the type of consents found in a consent statement. |
| Consent.source[x].contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std. |
The mime type of an attachment. Any valid mime type is allowed. |
| Consent.source[x].language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
A human language. |
| Consent.provision.type | Base | required | ConsentProvisionType | 📍4.0.1 | FHIR Std. |
How a rule statement is applied, such as adding additional consent or removing consent. |
| Consent.provision.actor.role | Base | extensible | SecurityRoleType | 📍4.0.1 | FHIR Std. |
How an actor is involved in the consent considerations. |
| Consent.provision.actor:recipient.role | Base | extensible | SecurityRoleType | 📍4.0.1 | FHIR Std. |
How an actor is involved in the consent considerations. |
| Consent.provision.actor:processor.role | Base | extensible | SecurityRoleType | 📍4.0.1 | FHIR Std. |
How an actor is involved in the consent considerations. |
| Consent.provision.actor:processor.reference.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Consent.provision.action | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.action:collect | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.action:access | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.action:use | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.purpose | Base | extensible | PurposeOfUse | 📦3.1.0 | THO v7.5 |
What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Consent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Consent | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Consent | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| haau3-retrieval-consent-1 | error | Consent | An end reason is present exactly when the consent is inactive. |
(status = 'inactive') = extension('https://haau3.com/fhir/StructureDefinition/consent-end-reason').exists()
|
| haau3-retrieval-consent-2 | error | Consent | An inactive consent says when it ended. |
status = 'inactive' implies provision.period.end.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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
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: haau3-retrieval-consent-1, haau3-retrieval-consent-2 |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | (Complex) | The signed-in caregiver, when the person agreed on the caregiver's device URL: http://hl7.org/fhir/StructureDefinition/consent-Witness | |
![]() ![]() ![]() ![]() |
1..1 | Reference(RelatedPerson) | Value of extension | |
![]() ![]() ![]() |
1..1 | (Complex) | Retrieval Consent Scopes URL: https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes | |
![]() ![]() ![]() ![]() |
1..1 | string | Value of extension Fixed Value: patient/*.rs (no extensions allowed) | |
![]() ![]() ![]() |
0..1 | code | Consent End Reason URL: https://haau3.com/fhir/StructureDefinition/consent-end-reason Binding: Consent End Reason (required) | |
![]() ![]() |
1..1 | Identifier | Identifier for this record (external references) | |
![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://haau3.com/fhir/NamingSystem/retrieval-consent-id (no extensions allowed) | |
![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
1..1 | code | draft | proposed | active | rejected | inactive | entered-in-error Binding: Retrieval Consent Status (required) | |
![]() ![]() |
1..1 | CodeableConcept | Which of the four areas this resource covers (extensible) Required Pattern: | |
![]() ![]() |
2..2 | CodeableConcept | Classification of the consent statement - for indexing/retrieval Slice: Unordered, Closed by pattern:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Classification of the consent statement - for indexing/retrieval Required Pattern: | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Classification of the consent statement - for indexing/retrieval Required Pattern: | |
![]() ![]() |
1..1 | Reference(Patient) | Who the consent applies to | |
![]() ![]() |
1..1 | dateTime | When this Consent was created or indexed | |
![]() ![]() |
1..1 | Reference(Patient) | Who is agreeing to the policy and rules | |
![]() ![]() |
1..1 | Reference(Organization) | Custodian of the consent | |
![]() ![]() |
1..1 | Attachment | Source from which this consent is taken | |
![]() ![]() ![]() |
1..1 | code | Mime type of the content, with charset etc. | |
![]() ![]() ![]() |
0..1 | code | Human language of the content (BCP-47) | |
![]() ![]() ![]() |
1..1 | base64Binary | Data inline, base64ed | |
![]() ![]() ![]() |
1..1 | base64Binary | Hash of the data (sha-1, base64ed) | |
![]() ![]() ![]() |
1..1 | dateTime | Date attachment was first created | |
![]() ![]() |
2..2 | BackboneElement | Policies covered by this consent | |
![]() ![]() ![]() |
1..1 | uri | Specific policy covered by this consent | |
![]() ![]() |
0..0 | Regulation that this consents to | ||
![]() ![]() |
0..1 | BackboneElement | Consent Verified by patient or family | |
![]() ![]() ![]() |
1..1 | boolean | Has been verified Fixed Value: true (no extensions allowed) | |
![]() ![]() ![]() |
1..1 | Reference(Patient) | Person who verified | |
![]() ![]() ![]() |
1..1 | dateTime | When consent verified | |
![]() ![]() |
1..1 | BackboneElement | Constraints to the base Consent.policyRule | |
![]() ![]() ![]() |
1..1 | code | deny | permit Fixed Value: permit (no extensions allowed) | |
![]() ![]() ![]() |
1..1 | Period | Timeframe for this rule | |
![]() ![]() ![]() ![]() |
1..1 | dateTime | Starting time with inclusive boundary | |
![]() ![]() ![]() ![]() |
0..1 | dateTime | End time with inclusive boundary, if not ongoing | |
![]() ![]() ![]() |
2..2 | BackboneElement | Who|what controlled by this rule (or group, by role) Slice: Unordered, Closed by pattern:role Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | haau3, which receives the records | |
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | How the actor is involved Required Pattern: | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Organization) | Resource for the actor (or group, by role) | |
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | Fasten Health, which retrieves the records for haau3 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | How the actor is involved Required Pattern: | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Organization) | Resource for the actor (or group, by role) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Literal reference, Relative, internal or absolute URL | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | Logical reference, when literal reference is not known | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | The value that is unique Fixed Value: https://www.fastenhealth.com (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Text alternative for the resource | |
![]() ![]() ![]() |
3..3 | CodeableConcept | Actions controlled by this rule Slice: Unordered, Closed by pattern:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Required Pattern: | |
![]() ![]() ![]() |
0..0 | Security Labels that define affected resources | ||
![]() ![]() ![]() |
1..1 | Coding | Context of activities covered by this rule Required Pattern: | |
![]() ![]() ![]() |
0..0 | e.g. Resource Type, Profile, CDA, etc. | ||
![]() ![]() ![]() |
0..0 | e.g. LOINC or SNOMED CT code, etc. in the content | ||
![]() ![]() ![]() |
0..0 | Timeframe for data controlled by this rule | ||
![]() ![]() ![]() |
0..0 | Data controlled by this rule | ||
![]() ![]() ![]() |
0..0 | Nested Exception Rules | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Consent.status | Base | required | Retrieval Consent Status | 📦1.0.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| haau3-retrieval-consent-1 | error | Consent | An end reason is present exactly when the consent is inactive. |
(status = 'inactive') = extension('https://haau3.com/fhir/StructureDefinition/consent-end-reason').exists()
|
| haau3-retrieval-consent-2 | error | Consent | An inactive consent says when it ended. |
status = 'inactive' implies provision.period.end.exists()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
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, haau3-retrieval-consent-1, haau3-retrieval-consent-2 | ||||
![]() ![]() |
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 | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | (Complex) | The signed-in caregiver, when the person agreed on the caregiver's device URL: http://hl7.org/fhir/StructureDefinition/consent-Witness | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/StructureDefinition/consent-Witness" | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(RelatedPerson) | Value of extension | |||||
![]() ![]() ![]() |
1..1 | (Complex) | Retrieval Consent Scopes URL: https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes" | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Value of extension Fixed Value: patient/*.rs (no extensions allowed) | |||||
![]() ![]() ![]() |
0..1 | code | Consent End Reason URL: https://haau3.com/fhir/StructureDefinition/consent-end-reason Binding: Consent End Reason (required) | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..1 | Identifier | Identifier for this record (external references) Example General: {"system":"http://acme.org/identifier/local/eCMS","value":"Local eCMS identifier"} | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://haau3.com/fhir/NamingSystem/retrieval-consent-id (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() |
1..1 | code | draft | proposed | active | rejected | inactive | entered-in-error Binding: Retrieval Consent Status (required) | |||||
![]() ![]() |
1..1 | CodeableConcept | Which of the four areas this resource covers (extensible) Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource. Required Pattern: | |||||
![]() ![]() |
2..2 | CodeableConcept | Classification of the consent statement - for indexing/retrieval Slice: Unordered, Closed by pattern:$this Binding: ConsentCategoryCodes (extensible): A classification of the type of consents found in a consent statement. Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
1..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. Required Pattern: | |||||
![]() ![]() ![]() |
1..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. Required Pattern: | |||||
![]() ![]() |
1..1 | Reference(Patient) | Who the consent applies to | |||||
![]() ![]() |
1..1 | dateTime | When this Consent was created or indexed | |||||
![]() ![]() |
1..1 | Reference(Patient) | Who is agreeing to the policy and rules | |||||
![]() ![]() |
1..1 | Reference(Organization) | Custodian of the consent | |||||
![]() ![]() |
1..1 | Attachment | Source from which this consent is taken | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..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. Example General: text/plain; charset=UTF-8, image/png | |||||
![]() ![]() ![]() |
0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | |||||
![]() ![]() ![]() |
1..1 | base64Binary | Data inline, base64ed | |||||
![]() ![]() ![]() |
0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png | |||||
![]() ![]() ![]() |
0..1 | unsignedInt | Number of bytes of content (if url provided) | |||||
![]() ![]() ![]() |
1..1 | base64Binary | Hash of the data (sha-1, base64ed) | |||||
![]() ![]() ![]() |
0..1 | string | Label to display in place of the data Example General: Official Corporate Logo | |||||
![]() ![]() ![]() |
1..1 | dateTime | Date attachment was first created | |||||
![]() ![]() |
2..2 | BackboneElement | Policies covered by this consent | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
C | 0..1 | uri | Enforcement source for policy | ||||
![]() ![]() ![]() |
C | 1..1 | uri | Specific policy covered by this consent | ||||
![]() ![]() |
0..1 | BackboneElement | Consent Verified by patient or family | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | boolean | Has been verified Fixed Value: true (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | Reference(Patient) | Person who verified | |||||
![]() ![]() ![]() |
1..1 | dateTime | When consent verified | |||||
![]() ![]() |
1..1 | BackboneElement | Constraints to the base Consent.policyRule | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | code | deny | permit Binding: ConsentProvisionType (required): How a rule statement is applied, such as adding additional consent or removing consent. Fixed Value: permit (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | Period | Timeframe for this rule | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | dateTime | Starting time with inclusive boundary | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | dateTime | End time with inclusive boundary, if not ongoing | ||||
![]() ![]() ![]() |
2..2 | BackboneElement | Who|what controlled by this rule (or group, by role) Slice: Unordered, Closed by pattern:role Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | haau3, which receives the records | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | How the actor is involved Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations. Required Pattern: | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Organization) | Resource for the actor (or group, by role) | |||||
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | Fasten Health, which retrieves the records for haau3 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | How the actor is involved Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations. Required Pattern: | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Organization) | Resource for the actor (or group, by role) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | The value that is unique Fixed Value: https://www.fastenhealth.com (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Text alternative for the resource | |||||
![]() ![]() ![]() |
3..3 | CodeableConcept | Actions controlled by this rule Slice: Unordered, Closed by pattern:$this Binding: ConsentActionCodes (example): Detailed codes for the consent action. Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action. Required Pattern: | |||||
![]() ![]() ![]() |
1..1 | 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. Required Pattern: | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Consent.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
A human language. |
| Consent.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Consent.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
| Consent.status | Base | required | Retrieval Consent Status | 📦1.0.0 | This IG | |
| Consent.scope | Base | extensible | Consent Scope Codes | 📍4.0.1 | FHIR Std. |
The four anticipated uses for the Consent Resource. |
| Consent.category | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
A classification of the type of consents found in a consent statement. |
| Consent.category:informationCollection | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
A classification of the type of consents found in a consent statement. |
| Consent.category:patientConsent | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
A classification of the type of consents found in a consent statement. |
| Consent.source[x].contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std. |
The mime type of an attachment. Any valid mime type is allowed. |
| Consent.source[x].language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
A human language. |
| Consent.provision.type | Base | required | ConsentProvisionType | 📍4.0.1 | FHIR Std. |
How a rule statement is applied, such as adding additional consent or removing consent. |
| Consent.provision.actor.role | Base | extensible | SecurityRoleType | 📍4.0.1 | FHIR Std. |
How an actor is involved in the consent considerations. |
| Consent.provision.actor:recipient.role | Base | extensible | SecurityRoleType | 📍4.0.1 | FHIR Std. |
How an actor is involved in the consent considerations. |
| Consent.provision.actor:processor.role | Base | extensible | SecurityRoleType | 📍4.0.1 | FHIR Std. |
How an actor is involved in the consent considerations. |
| Consent.provision.actor:processor.reference.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
Aa resource (or, for logical models, the URI of the logical model). |
| Consent.provision.actor:processor.reference.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Consent.provision.actor:processor.reference.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
| Consent.provision.action | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.action:collect | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.action:access | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.action:use | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.purpose | Base | extensible | PurposeOfUse | 📦3.1.0 | THO v7.5 |
What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Consent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Consent | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Consent | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| haau3-retrieval-consent-1 | error | Consent | An end reason is present exactly when the consent is inactive. |
(status = 'inactive') = extension('https://haau3.com/fhir/StructureDefinition/consent-end-reason').exists()
|
| haau3-retrieval-consent-2 | error | Consent | An inactive consent says when it ended. |
status = 'inactive' implies provision.period.end.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
Summary
Mandatory: 29 elements(2 nested mandatory elements)
Must-Support: 41 elements
Fixed: 6 elements
Prohibited: 8 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
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, haau3-retrieval-consent-1, haau3-retrieval-consent-2 | ||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
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 | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | (Complex) | The signed-in caregiver, when the person agreed on the caregiver's device URL: http://hl7.org/fhir/StructureDefinition/consent-Witness | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/StructureDefinition/consent-Witness" | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(RelatedPerson) | Value of extension | |||||
![]() ![]() ![]() |
1..1 | (Complex) | Retrieval Consent Scopes URL: https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes" | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Value of extension Fixed Value: patient/*.rs (no extensions allowed) | |||||
![]() ![]() ![]() |
0..1 | code | Consent End Reason URL: https://haau3.com/fhir/StructureDefinition/consent-end-reason Binding: Consent End Reason (required) | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..1 | Identifier | Identifier for this record (external references) Example General: {"system":"http://acme.org/identifier/local/eCMS","value":"Local eCMS identifier"} | |||||
![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://haau3.com/fhir/NamingSystem/retrieval-consent-id (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() |
1..1 | code | draft | proposed | active | rejected | inactive | entered-in-error Binding: Retrieval Consent Status (required) | |||||
![]() ![]() |
1..1 | CodeableConcept | Which of the four areas this resource covers (extensible) Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource. Required Pattern: | |||||
![]() ![]() |
2..2 | CodeableConcept | Classification of the consent statement - for indexing/retrieval Slice: Unordered, Closed by pattern:$this Binding: ConsentCategoryCodes (extensible): A classification of the type of consents found in a consent statement. Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
1..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. Required Pattern: | |||||
![]() ![]() ![]() |
1..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. Required Pattern: | |||||
![]() ![]() |
1..1 | Reference(Patient) | Who the consent applies to | |||||
![]() ![]() |
1..1 | dateTime | When this Consent was created or indexed | |||||
![]() ![]() |
1..1 | Reference(Patient) | Who is agreeing to the policy and rules | |||||
![]() ![]() |
1..1 | Reference(Organization) | Custodian of the consent | |||||
![]() ![]() |
1..1 | Attachment | Source from which this consent is taken | |||||
![]() ![]() ![]() |
1..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. Example General: text/plain; charset=UTF-8, image/png | |||||
![]() ![]() ![]() |
0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | |||||
![]() ![]() ![]() |
1..1 | base64Binary | Data inline, base64ed | |||||
![]() ![]() ![]() |
1..1 | base64Binary | Hash of the data (sha-1, base64ed) | |||||
![]() ![]() ![]() |
1..1 | dateTime | Date attachment was first created | |||||
![]() ![]() |
2..2 | BackboneElement | Policies covered by this consent | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
C | 1..1 | uri | Specific policy covered by this consent | ||||
![]() ![]() |
0..1 | BackboneElement | Consent Verified by patient or family | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | boolean | Has been verified Fixed Value: true (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | Reference(Patient) | Person who verified | |||||
![]() ![]() ![]() |
1..1 | dateTime | When consent verified | |||||
![]() ![]() |
1..1 | BackboneElement | Constraints to the base Consent.policyRule | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | code | deny | permit Binding: ConsentProvisionType (required): How a rule statement is applied, such as adding additional consent or removing consent. Fixed Value: permit (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | Period | Timeframe for this rule | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | dateTime | Starting time with inclusive boundary | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | dateTime | End time with inclusive boundary, if not ongoing | ||||
![]() ![]() ![]() |
2..2 | BackboneElement | Who|what controlled by this rule (or group, by role) Slice: Unordered, Closed by pattern:role Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | haau3, which receives the records | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | How the actor is involved Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations. Required Pattern: | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Organization) | Resource for the actor (or group, by role) | |||||
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | Fasten Health, which retrieves the records for haau3 | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | How the actor is involved Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations. Required Pattern: | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Organization) | Resource for the actor (or group, by role) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | The value that is unique Fixed Value: https://www.fastenhealth.com (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Text alternative for the resource | |||||
![]() ![]() ![]() |
3..3 | CodeableConcept | Actions controlled by this rule Slice: Unordered, Closed by pattern:$this Binding: ConsentActionCodes (example): Detailed codes for the consent action. Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action. Required Pattern: | |||||
![]() ![]() ![]() |
1..1 | 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. Required Pattern: | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Consent.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Consent.status | Base | required | Retrieval Consent Status | 📦1.0.0 | This IG | |
| Consent.scope | Base | extensible | Consent Scope Codes | 📍4.0.1 | FHIR Std. |
The four anticipated uses for the Consent Resource. |
| Consent.category | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
A classification of the type of consents found in a consent statement. |
| Consent.category:informationCollection | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
A classification of the type of consents found in a consent statement. |
| Consent.category:patientConsent | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
A classification of the type of consents found in a consent statement. |
| Consent.source[x].contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std. |
The mime type of an attachment. Any valid mime type is allowed. |
| Consent.source[x].language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
A human language. |
| Consent.provision.type | Base | required | ConsentProvisionType | 📍4.0.1 | FHIR Std. |
How a rule statement is applied, such as adding additional consent or removing consent. |
| Consent.provision.actor.role | Base | extensible | SecurityRoleType | 📍4.0.1 | FHIR Std. |
How an actor is involved in the consent considerations. |
| Consent.provision.actor:recipient.role | Base | extensible | SecurityRoleType | 📍4.0.1 | FHIR Std. |
How an actor is involved in the consent considerations. |
| Consent.provision.actor:processor.role | Base | extensible | SecurityRoleType | 📍4.0.1 | FHIR Std. |
How an actor is involved in the consent considerations. |
| Consent.provision.actor:processor.reference.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Consent.provision.action | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.action:collect | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.action:access | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.action:use | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.purpose | Base | extensible | PurposeOfUse | 📦3.1.0 | THO v7.5 |
What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Consent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Consent | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Consent | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| haau3-retrieval-consent-1 | error | Consent | An end reason is present exactly when the consent is inactive. |
(status = 'inactive') = extension('https://haau3.com/fhir/StructureDefinition/consent-end-reason').exists()
|
| haau3-retrieval-consent-2 | error | Consent | An inactive consent says when it ended. |
status = 'inactive' implies provision.period.end.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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
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: haau3-retrieval-consent-1, haau3-retrieval-consent-2 |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | (Complex) | The signed-in caregiver, when the person agreed on the caregiver's device URL: http://hl7.org/fhir/StructureDefinition/consent-Witness | |
![]() ![]() ![]() ![]() |
1..1 | Reference(RelatedPerson) | Value of extension | |
![]() ![]() ![]() |
1..1 | (Complex) | Retrieval Consent Scopes URL: https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes | |
![]() ![]() ![]() ![]() |
1..1 | string | Value of extension Fixed Value: patient/*.rs (no extensions allowed) | |
![]() ![]() ![]() |
0..1 | code | Consent End Reason URL: https://haau3.com/fhir/StructureDefinition/consent-end-reason Binding: Consent End Reason (required) | |
![]() ![]() |
1..1 | Identifier | Identifier for this record (external references) | |
![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://haau3.com/fhir/NamingSystem/retrieval-consent-id (no extensions allowed) | |
![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
1..1 | code | draft | proposed | active | rejected | inactive | entered-in-error Binding: Retrieval Consent Status (required) | |
![]() ![]() |
1..1 | CodeableConcept | Which of the four areas this resource covers (extensible) Required Pattern: | |
![]() ![]() |
2..2 | CodeableConcept | Classification of the consent statement - for indexing/retrieval Slice: Unordered, Closed by pattern:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Classification of the consent statement - for indexing/retrieval Required Pattern: | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Classification of the consent statement - for indexing/retrieval Required Pattern: | |
![]() ![]() |
1..1 | Reference(Patient) | Who the consent applies to | |
![]() ![]() |
1..1 | dateTime | When this Consent was created or indexed | |
![]() ![]() |
1..1 | Reference(Patient) | Who is agreeing to the policy and rules | |
![]() ![]() |
1..1 | Reference(Organization) | Custodian of the consent | |
![]() ![]() |
1..1 | Attachment | Source from which this consent is taken | |
![]() ![]() ![]() |
1..1 | code | Mime type of the content, with charset etc. | |
![]() ![]() ![]() |
0..1 | code | Human language of the content (BCP-47) | |
![]() ![]() ![]() |
1..1 | base64Binary | Data inline, base64ed | |
![]() ![]() ![]() |
1..1 | base64Binary | Hash of the data (sha-1, base64ed) | |
![]() ![]() ![]() |
1..1 | dateTime | Date attachment was first created | |
![]() ![]() |
2..2 | BackboneElement | Policies covered by this consent | |
![]() ![]() ![]() |
1..1 | uri | Specific policy covered by this consent | |
![]() ![]() |
0..0 | Regulation that this consents to | ||
![]() ![]() |
0..1 | BackboneElement | Consent Verified by patient or family | |
![]() ![]() ![]() |
1..1 | boolean | Has been verified Fixed Value: true (no extensions allowed) | |
![]() ![]() ![]() |
1..1 | Reference(Patient) | Person who verified | |
![]() ![]() ![]() |
1..1 | dateTime | When consent verified | |
![]() ![]() |
1..1 | BackboneElement | Constraints to the base Consent.policyRule | |
![]() ![]() ![]() |
1..1 | code | deny | permit Fixed Value: permit (no extensions allowed) | |
![]() ![]() ![]() |
1..1 | Period | Timeframe for this rule | |
![]() ![]() ![]() ![]() |
1..1 | dateTime | Starting time with inclusive boundary | |
![]() ![]() ![]() ![]() |
0..1 | dateTime | End time with inclusive boundary, if not ongoing | |
![]() ![]() ![]() |
2..2 | BackboneElement | Who|what controlled by this rule (or group, by role) Slice: Unordered, Closed by pattern:role Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | haau3, which receives the records | |
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | How the actor is involved Required Pattern: | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Organization) | Resource for the actor (or group, by role) | |
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | Fasten Health, which retrieves the records for haau3 | |
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | How the actor is involved Required Pattern: | |
![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Organization) | Resource for the actor (or group, by role) | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Literal reference, Relative, internal or absolute URL | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | Logical reference, when literal reference is not known | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | The value that is unique Fixed Value: https://www.fastenhealth.com (no extensions allowed) | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Text alternative for the resource | |
![]() ![]() ![]() |
3..3 | CodeableConcept | Actions controlled by this rule Slice: Unordered, Closed by pattern:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Required Pattern: | |
![]() ![]() ![]() |
0..0 | Security Labels that define affected resources | ||
![]() ![]() ![]() |
1..1 | Coding | Context of activities covered by this rule Required Pattern: | |
![]() ![]() ![]() |
0..0 | e.g. Resource Type, Profile, CDA, etc. | ||
![]() ![]() ![]() |
0..0 | e.g. LOINC or SNOMED CT code, etc. in the content | ||
![]() ![]() ![]() |
0..0 | Timeframe for data controlled by this rule | ||
![]() ![]() ![]() |
0..0 | Data controlled by this rule | ||
![]() ![]() ![]() |
0..0 | Nested Exception Rules | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Consent.status | Base | required | Retrieval Consent Status | 📦1.0.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| haau3-retrieval-consent-1 | error | Consent | An end reason is present exactly when the consent is inactive. |
(status = 'inactive') = extension('https://haau3.com/fhir/StructureDefinition/consent-end-reason').exists()
|
| haau3-retrieval-consent-2 | error | Consent | An inactive consent says when it ended. |
status = 'inactive' implies provision.period.end.exists()
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
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, haau3-retrieval-consent-1, haau3-retrieval-consent-2 | ||||
![]() ![]() |
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 | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | (Complex) | The signed-in caregiver, when the person agreed on the caregiver's device URL: http://hl7.org/fhir/StructureDefinition/consent-Witness | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/StructureDefinition/consent-Witness" | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(RelatedPerson) | Value of extension | |||||
![]() ![]() ![]() |
1..1 | (Complex) | Retrieval Consent Scopes URL: https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes" | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Value of extension Fixed Value: patient/*.rs (no extensions allowed) | |||||
![]() ![]() ![]() |
0..1 | code | Consent End Reason URL: https://haau3.com/fhir/StructureDefinition/consent-end-reason Binding: Consent End Reason (required) | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..1 | Identifier | Identifier for this record (external references) Example General: {"system":"http://acme.org/identifier/local/eCMS","value":"Local eCMS identifier"} | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Fixed Value: https://haau3.com/fhir/NamingSystem/retrieval-consent-id (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() |
1..1 | code | draft | proposed | active | rejected | inactive | entered-in-error Binding: Retrieval Consent Status (required) | |||||
![]() ![]() |
1..1 | CodeableConcept | Which of the four areas this resource covers (extensible) Binding: ConsentScopeCodes (extensible): The four anticipated uses for the Consent Resource. Required Pattern: | |||||
![]() ![]() |
2..2 | CodeableConcept | Classification of the consent statement - for indexing/retrieval Slice: Unordered, Closed by pattern:$this Binding: ConsentCategoryCodes (extensible): A classification of the type of consents found in a consent statement. Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
1..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. Required Pattern: | |||||
![]() ![]() ![]() |
1..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. Required Pattern: | |||||
![]() ![]() |
1..1 | Reference(Patient) | Who the consent applies to | |||||
![]() ![]() |
1..1 | dateTime | When this Consent was created or indexed | |||||
![]() ![]() |
1..1 | Reference(Patient) | Who is agreeing to the policy and rules | |||||
![]() ![]() |
1..1 | Reference(Organization) | Custodian of the consent | |||||
![]() ![]() |
1..1 | Attachment | Source from which this consent is taken | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
1..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. Example General: text/plain; charset=UTF-8, image/png | |||||
![]() ![]() ![]() |
0..1 | code | Human language of the content (BCP-47) Binding: CommonLanguages (preferred): A human language.
Example General: en-AU | |||||
![]() ![]() ![]() |
1..1 | base64Binary | Data inline, base64ed | |||||
![]() ![]() ![]() |
0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png | |||||
![]() ![]() ![]() |
0..1 | unsignedInt | Number of bytes of content (if url provided) | |||||
![]() ![]() ![]() |
1..1 | base64Binary | Hash of the data (sha-1, base64ed) | |||||
![]() ![]() ![]() |
0..1 | string | Label to display in place of the data Example General: Official Corporate Logo | |||||
![]() ![]() ![]() |
1..1 | dateTime | Date attachment was first created | |||||
![]() ![]() |
2..2 | BackboneElement | Policies covered by this consent | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
C | 0..1 | uri | Enforcement source for policy | ||||
![]() ![]() ![]() |
C | 1..1 | uri | Specific policy covered by this consent | ||||
![]() ![]() |
0..1 | BackboneElement | Consent Verified by patient or family | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | boolean | Has been verified Fixed Value: true (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | Reference(Patient) | Person who verified | |||||
![]() ![]() ![]() |
1..1 | dateTime | When consent verified | |||||
![]() ![]() |
1..1 | BackboneElement | Constraints to the base Consent.policyRule | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | code | deny | permit Binding: ConsentProvisionType (required): How a rule statement is applied, such as adding additional consent or removing consent. Fixed Value: permit (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | Period | Timeframe for this rule | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | dateTime | Starting time with inclusive boundary | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | dateTime | End time with inclusive boundary, if not ongoing | ||||
![]() ![]() ![]() |
2..2 | BackboneElement | Who|what controlled by this rule (or group, by role) Slice: Unordered, Closed by pattern:role Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() ![]() |
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) | |||||
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | haau3, which receives the records | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | How the actor is involved Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations. Required Pattern: | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Organization) | Resource for the actor (or group, by role) | |||||
![]() ![]() ![]() ![]() |
1..1 | BackboneElement | Fasten Health, which retrieves the records for haau3 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | How the actor is involved Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations. Required Pattern: | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | Reference(Organization) | Resource for the actor (or group, by role) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Identifier | Logical reference, when literal reference is not known | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | uri | The namespace for the identifier value Fixed Value: urn:ietf:rfc:3986 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | The value that is unique Fixed Value: https://www.fastenhealth.com (no extensions allowed) | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | string | Text alternative for the resource | |||||
![]() ![]() ![]() |
3..3 | CodeableConcept | Actions controlled by this rule Slice: Unordered, Closed by pattern:$this Binding: ConsentActionCodes (example): Detailed codes for the consent action. Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Actions controlled by this rule Binding: ConsentActionCodes (example): Detailed codes for the consent action. Required Pattern: | |||||
![]() ![]() ![]() |
1..1 | 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. Required Pattern: | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source | Documentation |
| Consent.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
A human language. |
| Consent.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Consent.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
| Consent.status | Base | required | Retrieval Consent Status | 📦1.0.0 | This IG | |
| Consent.scope | Base | extensible | Consent Scope Codes | 📍4.0.1 | FHIR Std. |
The four anticipated uses for the Consent Resource. |
| Consent.category | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
A classification of the type of consents found in a consent statement. |
| Consent.category:informationCollection | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
A classification of the type of consents found in a consent statement. |
| Consent.category:patientConsent | Base | extensible | Consent Category Codes | 📍4.0.1 | FHIR Std. |
A classification of the type of consents found in a consent statement. |
| Consent.source[x].contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std. |
The mime type of an attachment. Any valid mime type is allowed. |
| Consent.source[x].language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
A human language. |
| Consent.provision.type | Base | required | ConsentProvisionType | 📍4.0.1 | FHIR Std. |
How a rule statement is applied, such as adding additional consent or removing consent. |
| Consent.provision.actor.role | Base | extensible | SecurityRoleType | 📍4.0.1 | FHIR Std. |
How an actor is involved in the consent considerations. |
| Consent.provision.actor:recipient.role | Base | extensible | SecurityRoleType | 📍4.0.1 | FHIR Std. |
How an actor is involved in the consent considerations. |
| Consent.provision.actor:processor.role | Base | extensible | SecurityRoleType | 📍4.0.1 | FHIR Std. |
How an actor is involved in the consent considerations. |
| Consent.provision.actor:processor.reference.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
Aa resource (or, for logical models, the URI of the logical model). |
| Consent.provision.actor:processor.reference.identifier.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
Identifies the purpose for this identifier, if known . |
| Consent.provision.actor:processor.reference.identifier.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
| Consent.provision.action | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.action:collect | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.action:access | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.action:use | Base | example | Consent Action Codes | 📍4.0.1 | FHIR Std. |
Detailed codes for the consent action. |
| Consent.provision.purpose | Base | extensible | PurposeOfUse | 📦3.1.0 | THO v7.5 |
What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Consent | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Consent | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Consent | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Consent | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| haau3-retrieval-consent-1 | error | Consent | An end reason is present exactly when the consent is inactive. |
(status = 'inactive') = extension('https://haau3.com/fhir/StructureDefinition/consent-end-reason').exists()
|
| haau3-retrieval-consent-2 | error | Consent | An inactive consent says when it ended. |
status = 'inactive' implies provision.period.end.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
Summary
Mandatory: 29 elements(2 nested mandatory elements)
Must-Support: 41 elements
Fixed: 6 elements
Prohibited: 8 elements
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron