haau3 FHIR Implementation Guide (HFIG)
1.0.0 - ci-build United States of America flag

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

Resource Profile: haau3 Retrieval Consent

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

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Consent C 0..* Consent A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time
Constraints: ppc-1, ppc-2, ppc-3, ppc-4, ppc-5, haau3-retrieval-consent-1, haau3-retrieval-consent-2
Consent.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Consent.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
Consent.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Consent.Slices for extension.extension:witness This element must be supported. 0..1 (Complex) The signed-in caregiver, when the person agreed on the caregiver's device
URL: http://hl7.org/fhir/StructureDefinition/consent-Witness
Consent.Slices for extension.extension:witness.extension 0..0 Extension
Slice: Unordered, Open by value:url
Consent.Slices for extension.extension:witness.url 1..1 uri "http://hl7.org/fhir/StructureDefinition/consent-Witness"
Consent.Slices for extension.extension:witness.value[x] 1..1 Reference(RelatedPerson) Value of extension
Consent.Slices for extension.extension:scopes This element must be supported. 1..1 (Complex) Retrieval Consent Scopes
URL: https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes
Consent.Slices for extension.extension:scopes.extension 0..0 Extension
Slice: Unordered, Open by value:url
Consent.Slices for extension.extension:scopes.url 1..1 uri "https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes"
Consent.Slices for extension.extension:scopes.value[x] 1..1 string Value of extension
Fixed Value: patient/*.rs (no extensions allowed)
Consent.Slices for extension.extension:endReason This element must be supported. 0..1 code Consent End Reason
URL: https://haau3.com/fhir/StructureDefinition/consent-end-reason
Binding: Consent End Reason (required)
Consent.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Consent.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Identifier for this record (external references)

Example General: {"system":"http://acme.org/identifier/local/eCMS","value":"Local eCMS identifier"}
Consent.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Consent.identifier.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: https://haau3.com/fhir/NamingSystem/retrieval-consent-id (no extensions allowed)
Consent.identifier.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Consent.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code draft | proposed | active | rejected | inactive | entered-in-error
Binding: Retrieval Consent Status (required)
Consent.scope This element is a modifier element. This element must be supported. This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
      "code" : "patient-privacy",
      "display" : "Privacy Consent"
    }
  ]
}
Consent.Slices for category This element must be supported. This element is included in summaries. 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
Consent.Slices for category.category:informationCollection This element must be supported. This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "ICOL",
      "display" : "information collection"
    }
  ]
}
Consent.Slices for category.category:patientConsent This element must be supported. This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "59284-0",
      "display" : "Consent Document"
    }
  ]
}
Consent.patient This element must be supported. This element is included in summaries. 1..1 Reference(Patient) Who the consent applies to
Consent.dateTime This element must be supported. This element is included in summaries. 1..1 dateTime When this Consent was created or indexed
Consent.performer This element must be supported. This element is included in summaries. 1..1 Reference(Patient) Who is agreeing to the policy and rules
Consent.organization This element must be supported. This element is included in summaries. 1..1 Reference(Organization) Custodian of the consent
Consent.source[x] This element must be supported. This element is included in summaries. 1..1 Attachment Source from which this consent is taken
Consent.source[x].contentType This element must be supported. This element is included in summaries. 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
Consent.source[x].language This element must be supported. This element is included in summaries. 0..1 code Human language of the content (BCP-47)
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding

Example General: en-AU
Consent.source[x].data This element must be supported. 1..1 base64Binary Data inline, base64ed
Consent.source[x].hash This element must be supported. This element is included in summaries. 1..1 base64Binary Hash of the data (sha-1, base64ed)
Consent.source[x].creation This element must be supported. This element is included in summaries. 1..1 dateTime Date attachment was first created
Consent.policy This element must be supported. 2..2 BackboneElement Policies covered by this consent
Consent.policy.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.policy.uri This element must be supported. C 1..1 uri Specific policy covered by this consent
Consent.verification This element must be supported. This element is included in summaries. 0..1 BackboneElement Consent Verified by patient or family
Consent.verification.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.verification.verified This element is included in summaries. 1..1 boolean Has been verified
Fixed Value: true (no extensions allowed)
Consent.verification.verifiedWith This element must be supported. 1..1 Reference(Patient) Person who verified
Consent.verification.verificationDate This element must be supported. 1..1 dateTime When consent verified
Consent.provision This element must be supported. This element is included in summaries. 1..1 BackboneElement Constraints to the base Consent.policyRule
Consent.provision.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.type This element must be supported. This element is included in summaries. 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)
Consent.provision.period This element must be supported. This element is included in summaries. 1..1 Period Timeframe for this rule
Consent.provision.period.start This element must be supported. This element is included in summaries. C 1..1 dateTime Starting time with inclusive boundary
Consent.provision.period.end This element must be supported. This element is included in summaries. C 0..1 dateTime End time with inclusive boundary, if not ongoing
Consent.provision.Slices for actor This element must be supported. 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
Consent.provision.Slices for actor.actor:All Slices Content/Rules for all slices
Consent.provision.Slices for actor.actor:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.Slices for actor.actor:All Slices.role 1..1 CodeableConcept How the actor is involved
Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations.
Consent.provision.Slices for actor.actor:All Slices.reference 1..1 Reference(Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:recipient This element must be supported. 1..1 BackboneElement haau3, which receives the records
Consent.provision.Slices for actor.actor:recipient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.Slices for actor.actor:recipient.role 1..1 CodeableConcept How the actor is involved
Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
      "code" : "IRCP",
      "display" : "information recipient"
    }
  ]
}
Consent.provision.Slices for actor.actor:recipient.reference 1..1 Reference(Organization) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:processor This element must be supported. 1..1 BackboneElement Fasten Health, which retrieves the records for haau3
Consent.provision.Slices for actor.actor:processor.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.Slices for actor.actor:processor.role 1..1 CodeableConcept How the actor is involved
Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/extra-security-role-type",
      "code" : "dataprocessor",
      "display" : "Data Processor"
    }
  ]
}
Consent.provision.Slices for actor.actor:processor.reference 1..1 Reference(Organization) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:processor.reference.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Consent.provision.Slices for actor.actor:processor.reference.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Consent.provision.Slices for actor.actor:processor.reference.identifier.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
Consent.provision.Slices for actor.actor:processor.reference.identifier.value This element is included in summaries. 0..1 string The value that is unique
Fixed Value: https://www.fastenhealth.com (no extensions allowed)
Consent.provision.Slices for actor.actor:processor.reference.display This element must be supported. This element is included in summaries. 1..1 string Text alternative for the resource
Consent.provision.Slices for action This element must be supported. This element is included in summaries. 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
Consent.provision.Slices for action.action:collect This element must be supported. This element is included in summaries. 1..1 CodeableConcept Actions controlled by this rule
Binding: ConsentActionCodes (example): Detailed codes for the consent action.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "collect",
      "display" : "Collect"
    }
  ]
}
Consent.provision.Slices for action.action:access This element must be supported. This element is included in summaries. 1..1 CodeableConcept Actions controlled by this rule
Binding: ConsentActionCodes (example): Detailed codes for the consent action.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "access",
      "display" : "Access"
    }
  ]
}
Consent.provision.Slices for action.action:use This element must be supported. This element is included in summaries. 1..1 CodeableConcept Actions controlled by this rule
Binding: ConsentActionCodes (example): Detailed codes for the consent action.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "use",
      "display" : "Use"
    }
  ]
}
Consent.provision.purpose This element must be supported. This element is included in summaries. 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:
{
  "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
  "code" : "PATRQT",
  "display" : "patient requested"
}

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Consent C 0..* Consent A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time
Constraints: haau3-retrieval-consent-1, haau3-retrieval-consent-2
Consent.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Consent.Slices for extension.extension:witness This element must be supported. 0..1 (Complex) The signed-in caregiver, when the person agreed on the caregiver's device
URL: http://hl7.org/fhir/StructureDefinition/consent-Witness
Consent.Slices for extension.extension:witness.value[x] 1..1 Reference(RelatedPerson) Value of extension
Consent.Slices for extension.extension:scopes This element must be supported. 1..1 (Complex) Retrieval Consent Scopes
URL: https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes
Consent.Slices for extension.extension:scopes.value[x] 1..1 string Value of extension
Fixed Value: patient/*.rs (no extensions allowed)
Consent.Slices for extension.extension:endReason This element must be supported. 0..1 code Consent End Reason
URL: https://haau3.com/fhir/StructureDefinition/consent-end-reason
Binding: Consent End Reason (required)
Consent.identifier This element must be supported. 1..1 Identifier Identifier for this record (external references)
Consent.identifier.system This element must be supported. 1..1 uri The namespace for the identifier value
Fixed Value: https://haau3.com/fhir/NamingSystem/retrieval-consent-id (no extensions allowed)
Consent.identifier.value This element must be supported. 1..1 string The value that is unique
Consent.status This element must be supported. 1..1 code draft | proposed | active | rejected | inactive | entered-in-error
Binding: Retrieval Consent Status (required)
Consent.Slices for category This element must be supported. 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
Consent.Slices for category.category:informationCollection This element must be supported. 1..1 CodeableConcept Classification of the consent statement - for indexing/retrieval
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "ICOL",
      "display" : "information collection"
    }
  ]
}
Consent.Slices for category.category:patientConsent This element must be supported. 1..1 CodeableConcept Classification of the consent statement - for indexing/retrieval
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "59284-0",
      "display" : "Consent Document"
    }
  ]
}
Consent.patient This element must be supported. 1..1 Reference(Patient) Who the consent applies to
Consent.dateTime This element must be supported. 1..1 dateTime When this Consent was created or indexed
Consent.performer This element must be supported. 1..1 Reference(Patient) Who is agreeing to the policy and rules
Consent.organization This element must be supported. 1..1 Reference(Organization) Custodian of the consent
Consent.source[x] This element must be supported. 1..1 Attachment Source from which this consent is taken
Consent.source[x].contentType This element must be supported. 1..1 code Mime type of the content, with charset etc.
Consent.source[x].language This element must be supported. 0..1 code Human language of the content (BCP-47)
Consent.source[x].data This element must be supported. 1..1 base64Binary Data inline, base64ed
Consent.source[x].hash This element must be supported. 1..1 base64Binary Hash of the data (sha-1, base64ed)
Consent.source[x].creation This element must be supported. 1..1 dateTime Date attachment was first created
Consent.policy This element must be supported. 2..2 BackboneElement Policies covered by this consent
Consent.policy.uri This element must be supported. 1..1 uri Specific policy covered by this consent
Consent.policyRule 0..0 Regulation that this consents to
Consent.verification This element must be supported. 0..1 BackboneElement Consent Verified by patient or family
Consent.verification.verified 1..1 boolean Has been verified
Fixed Value: true (no extensions allowed)
Consent.verification.verifiedWith This element must be supported. 1..1 Reference(Patient) Person who verified
Consent.verification.verificationDate This element must be supported. 1..1 dateTime When consent verified
Consent.provision This element must be supported. 1..1 BackboneElement Constraints to the base Consent.policyRule
Consent.provision.type This element must be supported. 1..1 code deny | permit
Fixed Value: permit (no extensions allowed)
Consent.provision.period This element must be supported. 1..1 Period Timeframe for this rule
Consent.provision.period.start This element must be supported. 1..1 dateTime Starting time with inclusive boundary
Consent.provision.period.end This element must be supported. 0..1 dateTime End time with inclusive boundary, if not ongoing
Consent.provision.Slices for actor This element must be supported. 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
Consent.provision.Slices for actor.actor:recipient This element must be supported. 1..1 BackboneElement haau3, which receives the records
Consent.provision.Slices for actor.actor:recipient.role 1..1 CodeableConcept How the actor is involved
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
      "code" : "IRCP",
      "display" : "information recipient"
    }
  ]
}
Consent.provision.Slices for actor.actor:recipient.reference 1..1 Reference(Organization) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:processor This element must be supported. 1..1 BackboneElement Fasten Health, which retrieves the records for haau3
Consent.provision.Slices for actor.actor:processor.role 1..1 CodeableConcept How the actor is involved
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/extra-security-role-type",
      "code" : "dataprocessor",
      "display" : "Data Processor"
    }
  ]
}
Consent.provision.Slices for actor.actor:processor.reference 1..1 Reference(Organization) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:processor.reference.reference 0..0 Literal reference, Relative, internal or absolute URL
Consent.provision.Slices for actor.actor:processor.reference.identifier This element must be supported. 1..1 Identifier Logical reference, when literal reference is not known
Consent.provision.Slices for actor.actor:processor.reference.identifier.system 0..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
Consent.provision.Slices for actor.actor:processor.reference.identifier.value 0..1 string The value that is unique
Fixed Value: https://www.fastenhealth.com (no extensions allowed)
Consent.provision.Slices for actor.actor:processor.reference.display This element must be supported. 1..1 string Text alternative for the resource
Consent.provision.Slices for action This element must be supported. 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
Consent.provision.Slices for action.action:collect This element must be supported. 1..1 CodeableConcept Actions controlled by this rule
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "collect",
      "display" : "Collect"
    }
  ]
}
Consent.provision.Slices for action.action:access This element must be supported. 1..1 CodeableConcept Actions controlled by this rule
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "access",
      "display" : "Access"
    }
  ]
}
Consent.provision.Slices for action.action:use This element must be supported. 1..1 CodeableConcept Actions controlled by this rule
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "use",
      "display" : "Use"
    }
  ]
}
Consent.provision.securityLabel 0..0 Security Labels that define affected resources
Consent.provision.purpose This element must be supported. 1..1 Coding Context of activities covered by this rule
Required Pattern:
{
  "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
  "code" : "PATRQT",
  "display" : "patient requested"
}
Consent.provision.class 0..0 e.g. Resource Type, Profile, CDA, etc.
Consent.provision.code 0..0 e.g. LOINC or SNOMED CT code, etc. in the content
Consent.provision.dataPeriod 0..0 Timeframe for data controlled by this rule
Consent.provision.data 0..0 Data controlled by this rule
Consent.provision.provision 0..0 Nested Exception Rules

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Consent.status Base required Retrieval Consent Status 📦1.0.0 This IG

Constraints

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()
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Consent C 0..* Consent A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time
Constraints: ppc-1, ppc-2, ppc-3, ppc-4, ppc-5, haau3-retrieval-consent-1, haau3-retrieval-consent-2
Consent.id This element is included in summaries. 0..1 id Logical id of this artifact
Consent.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Consent.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Consent.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Consent.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
Consent.contained 0..* Resource Contained, inline Resources
Consent.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Consent.Slices for extension.extension:witness This element must be supported. 0..1 (Complex) The signed-in caregiver, when the person agreed on the caregiver's device
URL: http://hl7.org/fhir/StructureDefinition/consent-Witness
Consent.Slices for extension.extension:witness.id 0..1 string Unique id for inter-element referencing
Consent.Slices for extension.extension:witness.extension 0..0 Extension
Slice: Unordered, Open by value:url
Consent.Slices for extension.extension:witness.url 1..1 uri "http://hl7.org/fhir/StructureDefinition/consent-Witness"
Consent.Slices for extension.extension:witness.value[x] 1..1 Reference(RelatedPerson) Value of extension
Consent.Slices for extension.extension:scopes This element must be supported. 1..1 (Complex) Retrieval Consent Scopes
URL: https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes
Consent.Slices for extension.extension:scopes.id 0..1 string Unique id for inter-element referencing
Consent.Slices for extension.extension:scopes.extension 0..0 Extension
Slice: Unordered, Open by value:url
Consent.Slices for extension.extension:scopes.url 1..1 uri "https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes"
Consent.Slices for extension.extension:scopes.value[x] 1..1 string Value of extension
Fixed Value: patient/*.rs (no extensions allowed)
Consent.Slices for extension.extension:endReason This element must be supported. 0..1 code Consent End Reason
URL: https://haau3.com/fhir/StructureDefinition/consent-end-reason
Binding: Consent End Reason (required)
Consent.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Consent.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Identifier for this record (external references)

Example General: {"system":"http://acme.org/identifier/local/eCMS","value":"Local eCMS identifier"}
Consent.identifier.id 0..1 string Unique id for inter-element referencing
Consent.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Consent.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Consent.identifier.type This element is included in summaries. 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.
Consent.identifier.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: https://haau3.com/fhir/NamingSystem/retrieval-consent-id (no extensions allowed)
Consent.identifier.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Consent.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Consent.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Consent.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code draft | proposed | active | rejected | inactive | entered-in-error
Binding: Retrieval Consent Status (required)
Consent.scope This element is a modifier element. This element must be supported. This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
      "code" : "patient-privacy",
      "display" : "Privacy Consent"
    }
  ]
}
Consent.Slices for category This element must be supported. This element is included in summaries. 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
Consent.Slices for category.category:informationCollection This element must be supported. This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "ICOL",
      "display" : "information collection"
    }
  ]
}
Consent.Slices for category.category:patientConsent This element must be supported. This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "59284-0",
      "display" : "Consent Document"
    }
  ]
}
Consent.patient This element must be supported. This element is included in summaries. 1..1 Reference(Patient) Who the consent applies to
Consent.dateTime This element must be supported. This element is included in summaries. 1..1 dateTime When this Consent was created or indexed
Consent.performer This element must be supported. This element is included in summaries. 1..1 Reference(Patient) Who is agreeing to the policy and rules
Consent.organization This element must be supported. This element is included in summaries. 1..1 Reference(Organization) Custodian of the consent
Consent.source[x] This element must be supported. This element is included in summaries. 1..1 Attachment Source from which this consent is taken
Consent.source[x].id 0..1 string Unique id for inter-element referencing
Consent.source[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Consent.source[x].contentType This element must be supported. This element is included in summaries. 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
Consent.source[x].language This element must be supported. This element is included in summaries. 0..1 code Human language of the content (BCP-47)
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding

Example General: en-AU
Consent.source[x].data This element must be supported. 1..1 base64Binary Data inline, base64ed
Consent.source[x].url This element is included in summaries. 0..1 url Uri where the data can be found
Example General: http://www.acme.com/logo-small.png
Consent.source[x].size This element is included in summaries. 0..1 unsignedInt Number of bytes of content (if url provided)
Consent.source[x].hash This element must be supported. This element is included in summaries. 1..1 base64Binary Hash of the data (sha-1, base64ed)
Consent.source[x].title This element is included in summaries. 0..1 string Label to display in place of the data
Example General: Official Corporate Logo
Consent.source[x].creation This element must be supported. This element is included in summaries. 1..1 dateTime Date attachment was first created
Consent.policy This element must be supported. 2..2 BackboneElement Policies covered by this consent
Consent.policy.id 0..1 string Unique id for inter-element referencing
Consent.policy.extension 0..* Extension Additional content defined by implementations
Consent.policy.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.policy.authority C 0..1 uri Enforcement source for policy
Consent.policy.uri This element must be supported. C 1..1 uri Specific policy covered by this consent
Consent.verification This element must be supported. This element is included in summaries. 0..1 BackboneElement Consent Verified by patient or family
Consent.verification.id 0..1 string Unique id for inter-element referencing
Consent.verification.extension 0..* Extension Additional content defined by implementations
Consent.verification.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.verification.verified This element is included in summaries. 1..1 boolean Has been verified
Fixed Value: true (no extensions allowed)
Consent.verification.verifiedWith This element must be supported. 1..1 Reference(Patient) Person who verified
Consent.verification.verificationDate This element must be supported. 1..1 dateTime When consent verified
Consent.provision This element must be supported. This element is included in summaries. 1..1 BackboneElement Constraints to the base Consent.policyRule
Consent.provision.id 0..1 string Unique id for inter-element referencing
Consent.provision.extension 0..* Extension Additional content defined by implementations
Consent.provision.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.type This element must be supported. This element is included in summaries. 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)
Consent.provision.period This element must be supported. This element is included in summaries. 1..1 Period Timeframe for this rule
Consent.provision.period.id 0..1 string Unique id for inter-element referencing
Consent.provision.period.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Consent.provision.period.start This element must be supported. This element is included in summaries. C 1..1 dateTime Starting time with inclusive boundary
Consent.provision.period.end This element must be supported. This element is included in summaries. C 0..1 dateTime End time with inclusive boundary, if not ongoing
Consent.provision.Slices for actor This element must be supported. 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
Consent.provision.Slices for actor.actor:All Slices Content/Rules for all slices
Consent.provision.Slices for actor.actor:All Slices.id 0..1 string Unique id for inter-element referencing
Consent.provision.Slices for actor.actor:All Slices.extension 0..* Extension Additional content defined by implementations
Consent.provision.Slices for actor.actor:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.Slices for actor.actor:All Slices.role 1..1 CodeableConcept How the actor is involved
Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations.
Consent.provision.Slices for actor.actor:All Slices.reference 1..1 Reference(Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:recipient This element must be supported. 1..1 BackboneElement haau3, which receives the records
Consent.provision.Slices for actor.actor:recipient.id 0..1 string Unique id for inter-element referencing
Consent.provision.Slices for actor.actor:recipient.extension 0..* Extension Additional content defined by implementations
Consent.provision.Slices for actor.actor:recipient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.Slices for actor.actor:recipient.role 1..1 CodeableConcept How the actor is involved
Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
      "code" : "IRCP",
      "display" : "information recipient"
    }
  ]
}
Consent.provision.Slices for actor.actor:recipient.reference 1..1 Reference(Organization) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:processor This element must be supported. 1..1 BackboneElement Fasten Health, which retrieves the records for haau3
Consent.provision.Slices for actor.actor:processor.id 0..1 string Unique id for inter-element referencing
Consent.provision.Slices for actor.actor:processor.extension 0..* Extension Additional content defined by implementations
Consent.provision.Slices for actor.actor:processor.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.Slices for actor.actor:processor.role 1..1 CodeableConcept How the actor is involved
Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/extra-security-role-type",
      "code" : "dataprocessor",
      "display" : "Data Processor"
    }
  ]
}
Consent.provision.Slices for actor.actor:processor.reference 1..1 Reference(Organization) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:processor.reference.id 0..1 string Unique id for inter-element referencing
Consent.provision.Slices for actor.actor:processor.reference.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Consent.provision.Slices for actor.actor:processor.reference.type This element is included in summaries. 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).
Consent.provision.Slices for actor.actor:processor.reference.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Consent.provision.Slices for actor.actor:processor.reference.identifier.id 0..1 string Unique id for inter-element referencing
Consent.provision.Slices for actor.actor:processor.reference.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Consent.provision.Slices for actor.actor:processor.reference.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Consent.provision.Slices for actor.actor:processor.reference.identifier.type This element is included in summaries. 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.
Consent.provision.Slices for actor.actor:processor.reference.identifier.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
Consent.provision.Slices for actor.actor:processor.reference.identifier.value This element is included in summaries. 0..1 string The value that is unique
Fixed Value: https://www.fastenhealth.com (no extensions allowed)
Consent.provision.Slices for actor.actor:processor.reference.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Consent.provision.Slices for actor.actor:processor.reference.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Consent.provision.Slices for actor.actor:processor.reference.display This element must be supported. This element is included in summaries. 1..1 string Text alternative for the resource
Consent.provision.Slices for action This element must be supported. This element is included in summaries. 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
Consent.provision.Slices for action.action:collect This element must be supported. This element is included in summaries. 1..1 CodeableConcept Actions controlled by this rule
Binding: ConsentActionCodes (example): Detailed codes for the consent action.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "collect",
      "display" : "Collect"
    }
  ]
}
Consent.provision.Slices for action.action:access This element must be supported. This element is included in summaries. 1..1 CodeableConcept Actions controlled by this rule
Binding: ConsentActionCodes (example): Detailed codes for the consent action.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "access",
      "display" : "Access"
    }
  ]
}
Consent.provision.Slices for action.action:use This element must be supported. This element is included in summaries. 1..1 CodeableConcept Actions controlled by this rule
Binding: ConsentActionCodes (example): Detailed codes for the consent action.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "use",
      "display" : "Use"
    }
  ]
}
Consent.provision.purpose This element must be supported. This element is included in summaries. 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:
{
  "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
  "code" : "PATRQT",
  "display" : "patient requested"
}

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

  • The element 1 is sliced based on the value of Consent.category (Closed)
  • The element 1 is sliced based on the value of Consent.provision.actor (Closed)
  • The element 1 is sliced based on the value of Consent.provision.action (Closed)

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Consent C 0..* Consent A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time
Constraints: ppc-1, ppc-2, ppc-3, ppc-4, ppc-5, haau3-retrieval-consent-1, haau3-retrieval-consent-2
Consent.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Consent.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
Consent.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Consent.Slices for extension.extension:witness This element must be supported. 0..1 (Complex) The signed-in caregiver, when the person agreed on the caregiver's device
URL: http://hl7.org/fhir/StructureDefinition/consent-Witness
Consent.Slices for extension.extension:witness.extension 0..0 Extension
Slice: Unordered, Open by value:url
Consent.Slices for extension.extension:witness.url 1..1 uri "http://hl7.org/fhir/StructureDefinition/consent-Witness"
Consent.Slices for extension.extension:witness.value[x] 1..1 Reference(RelatedPerson) Value of extension
Consent.Slices for extension.extension:scopes This element must be supported. 1..1 (Complex) Retrieval Consent Scopes
URL: https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes
Consent.Slices for extension.extension:scopes.extension 0..0 Extension
Slice: Unordered, Open by value:url
Consent.Slices for extension.extension:scopes.url 1..1 uri "https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes"
Consent.Slices for extension.extension:scopes.value[x] 1..1 string Value of extension
Fixed Value: patient/*.rs (no extensions allowed)
Consent.Slices for extension.extension:endReason This element must be supported. 0..1 code Consent End Reason
URL: https://haau3.com/fhir/StructureDefinition/consent-end-reason
Binding: Consent End Reason (required)
Consent.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Consent.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Identifier for this record (external references)

Example General: {"system":"http://acme.org/identifier/local/eCMS","value":"Local eCMS identifier"}
Consent.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Consent.identifier.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: https://haau3.com/fhir/NamingSystem/retrieval-consent-id (no extensions allowed)
Consent.identifier.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Consent.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code draft | proposed | active | rejected | inactive | entered-in-error
Binding: Retrieval Consent Status (required)
Consent.scope This element is a modifier element. This element must be supported. This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
      "code" : "patient-privacy",
      "display" : "Privacy Consent"
    }
  ]
}
Consent.Slices for category This element must be supported. This element is included in summaries. 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
Consent.Slices for category.category:informationCollection This element must be supported. This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "ICOL",
      "display" : "information collection"
    }
  ]
}
Consent.Slices for category.category:patientConsent This element must be supported. This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "59284-0",
      "display" : "Consent Document"
    }
  ]
}
Consent.patient This element must be supported. This element is included in summaries. 1..1 Reference(Patient) Who the consent applies to
Consent.dateTime This element must be supported. This element is included in summaries. 1..1 dateTime When this Consent was created or indexed
Consent.performer This element must be supported. This element is included in summaries. 1..1 Reference(Patient) Who is agreeing to the policy and rules
Consent.organization This element must be supported. This element is included in summaries. 1..1 Reference(Organization) Custodian of the consent
Consent.source[x] This element must be supported. This element is included in summaries. 1..1 Attachment Source from which this consent is taken
Consent.source[x].contentType This element must be supported. This element is included in summaries. 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
Consent.source[x].language This element must be supported. This element is included in summaries. 0..1 code Human language of the content (BCP-47)
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding

Example General: en-AU
Consent.source[x].data This element must be supported. 1..1 base64Binary Data inline, base64ed
Consent.source[x].hash This element must be supported. This element is included in summaries. 1..1 base64Binary Hash of the data (sha-1, base64ed)
Consent.source[x].creation This element must be supported. This element is included in summaries. 1..1 dateTime Date attachment was first created
Consent.policy This element must be supported. 2..2 BackboneElement Policies covered by this consent
Consent.policy.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.policy.uri This element must be supported. C 1..1 uri Specific policy covered by this consent
Consent.verification This element must be supported. This element is included in summaries. 0..1 BackboneElement Consent Verified by patient or family
Consent.verification.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.verification.verified This element is included in summaries. 1..1 boolean Has been verified
Fixed Value: true (no extensions allowed)
Consent.verification.verifiedWith This element must be supported. 1..1 Reference(Patient) Person who verified
Consent.verification.verificationDate This element must be supported. 1..1 dateTime When consent verified
Consent.provision This element must be supported. This element is included in summaries. 1..1 BackboneElement Constraints to the base Consent.policyRule
Consent.provision.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.type This element must be supported. This element is included in summaries. 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)
Consent.provision.period This element must be supported. This element is included in summaries. 1..1 Period Timeframe for this rule
Consent.provision.period.start This element must be supported. This element is included in summaries. C 1..1 dateTime Starting time with inclusive boundary
Consent.provision.period.end This element must be supported. This element is included in summaries. C 0..1 dateTime End time with inclusive boundary, if not ongoing
Consent.provision.Slices for actor This element must be supported. 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
Consent.provision.Slices for actor.actor:All Slices Content/Rules for all slices
Consent.provision.Slices for actor.actor:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.Slices for actor.actor:All Slices.role 1..1 CodeableConcept How the actor is involved
Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations.
Consent.provision.Slices for actor.actor:All Slices.reference 1..1 Reference(Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:recipient This element must be supported. 1..1 BackboneElement haau3, which receives the records
Consent.provision.Slices for actor.actor:recipient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.Slices for actor.actor:recipient.role 1..1 CodeableConcept How the actor is involved
Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
      "code" : "IRCP",
      "display" : "information recipient"
    }
  ]
}
Consent.provision.Slices for actor.actor:recipient.reference 1..1 Reference(Organization) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:processor This element must be supported. 1..1 BackboneElement Fasten Health, which retrieves the records for haau3
Consent.provision.Slices for actor.actor:processor.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.Slices for actor.actor:processor.role 1..1 CodeableConcept How the actor is involved
Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/extra-security-role-type",
      "code" : "dataprocessor",
      "display" : "Data Processor"
    }
  ]
}
Consent.provision.Slices for actor.actor:processor.reference 1..1 Reference(Organization) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:processor.reference.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Consent.provision.Slices for actor.actor:processor.reference.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Consent.provision.Slices for actor.actor:processor.reference.identifier.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
Consent.provision.Slices for actor.actor:processor.reference.identifier.value This element is included in summaries. 0..1 string The value that is unique
Fixed Value: https://www.fastenhealth.com (no extensions allowed)
Consent.provision.Slices for actor.actor:processor.reference.display This element must be supported. This element is included in summaries. 1..1 string Text alternative for the resource
Consent.provision.Slices for action This element must be supported. This element is included in summaries. 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
Consent.provision.Slices for action.action:collect This element must be supported. This element is included in summaries. 1..1 CodeableConcept Actions controlled by this rule
Binding: ConsentActionCodes (example): Detailed codes for the consent action.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "collect",
      "display" : "Collect"
    }
  ]
}
Consent.provision.Slices for action.action:access This element must be supported. This element is included in summaries. 1..1 CodeableConcept Actions controlled by this rule
Binding: ConsentActionCodes (example): Detailed codes for the consent action.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "access",
      "display" : "Access"
    }
  ]
}
Consent.provision.Slices for action.action:use This element must be supported. This element is included in summaries. 1..1 CodeableConcept Actions controlled by this rule
Binding: ConsentActionCodes (example): Detailed codes for the consent action.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "use",
      "display" : "Use"
    }
  ]
}
Consent.provision.purpose This element must be supported. This element is included in summaries. 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:
{
  "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
  "code" : "PATRQT",
  "display" : "patient requested"
}

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Consent C 0..* Consent A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time
Constraints: haau3-retrieval-consent-1, haau3-retrieval-consent-2
Consent.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Consent.Slices for extension.extension:witness This element must be supported. 0..1 (Complex) The signed-in caregiver, when the person agreed on the caregiver's device
URL: http://hl7.org/fhir/StructureDefinition/consent-Witness
Consent.Slices for extension.extension:witness.value[x] 1..1 Reference(RelatedPerson) Value of extension
Consent.Slices for extension.extension:scopes This element must be supported. 1..1 (Complex) Retrieval Consent Scopes
URL: https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes
Consent.Slices for extension.extension:scopes.value[x] 1..1 string Value of extension
Fixed Value: patient/*.rs (no extensions allowed)
Consent.Slices for extension.extension:endReason This element must be supported. 0..1 code Consent End Reason
URL: https://haau3.com/fhir/StructureDefinition/consent-end-reason
Binding: Consent End Reason (required)
Consent.identifier This element must be supported. 1..1 Identifier Identifier for this record (external references)
Consent.identifier.system This element must be supported. 1..1 uri The namespace for the identifier value
Fixed Value: https://haau3.com/fhir/NamingSystem/retrieval-consent-id (no extensions allowed)
Consent.identifier.value This element must be supported. 1..1 string The value that is unique
Consent.status This element must be supported. 1..1 code draft | proposed | active | rejected | inactive | entered-in-error
Binding: Retrieval Consent Status (required)
Consent.scope This element must be supported. 1..1 CodeableConcept Which of the four areas this resource covers (extensible)
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
      "code" : "patient-privacy",
      "display" : "Privacy Consent"
    }
  ]
}
Consent.Slices for category This element must be supported. 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
Consent.Slices for category.category:informationCollection This element must be supported. 1..1 CodeableConcept Classification of the consent statement - for indexing/retrieval
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "ICOL",
      "display" : "information collection"
    }
  ]
}
Consent.Slices for category.category:patientConsent This element must be supported. 1..1 CodeableConcept Classification of the consent statement - for indexing/retrieval
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "59284-0",
      "display" : "Consent Document"
    }
  ]
}
Consent.patient This element must be supported. 1..1 Reference(Patient) Who the consent applies to
Consent.dateTime This element must be supported. 1..1 dateTime When this Consent was created or indexed
Consent.performer This element must be supported. 1..1 Reference(Patient) Who is agreeing to the policy and rules
Consent.organization This element must be supported. 1..1 Reference(Organization) Custodian of the consent
Consent.source[x] This element must be supported. 1..1 Attachment Source from which this consent is taken
Consent.source[x].contentType This element must be supported. 1..1 code Mime type of the content, with charset etc.
Consent.source[x].language This element must be supported. 0..1 code Human language of the content (BCP-47)
Consent.source[x].data This element must be supported. 1..1 base64Binary Data inline, base64ed
Consent.source[x].hash This element must be supported. 1..1 base64Binary Hash of the data (sha-1, base64ed)
Consent.source[x].creation This element must be supported. 1..1 dateTime Date attachment was first created
Consent.policy This element must be supported. 2..2 BackboneElement Policies covered by this consent
Consent.policy.uri This element must be supported. 1..1 uri Specific policy covered by this consent
Consent.policyRule 0..0 Regulation that this consents to
Consent.verification This element must be supported. 0..1 BackboneElement Consent Verified by patient or family
Consent.verification.verified 1..1 boolean Has been verified
Fixed Value: true (no extensions allowed)
Consent.verification.verifiedWith This element must be supported. 1..1 Reference(Patient) Person who verified
Consent.verification.verificationDate This element must be supported. 1..1 dateTime When consent verified
Consent.provision This element must be supported. 1..1 BackboneElement Constraints to the base Consent.policyRule
Consent.provision.type This element must be supported. 1..1 code deny | permit
Fixed Value: permit (no extensions allowed)
Consent.provision.period This element must be supported. 1..1 Period Timeframe for this rule
Consent.provision.period.start This element must be supported. 1..1 dateTime Starting time with inclusive boundary
Consent.provision.period.end This element must be supported. 0..1 dateTime End time with inclusive boundary, if not ongoing
Consent.provision.Slices for actor This element must be supported. 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
Consent.provision.Slices for actor.actor:recipient This element must be supported. 1..1 BackboneElement haau3, which receives the records
Consent.provision.Slices for actor.actor:recipient.role 1..1 CodeableConcept How the actor is involved
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
      "code" : "IRCP",
      "display" : "information recipient"
    }
  ]
}
Consent.provision.Slices for actor.actor:recipient.reference 1..1 Reference(Organization) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:processor This element must be supported. 1..1 BackboneElement Fasten Health, which retrieves the records for haau3
Consent.provision.Slices for actor.actor:processor.role 1..1 CodeableConcept How the actor is involved
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/extra-security-role-type",
      "code" : "dataprocessor",
      "display" : "Data Processor"
    }
  ]
}
Consent.provision.Slices for actor.actor:processor.reference 1..1 Reference(Organization) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:processor.reference.reference 0..0 Literal reference, Relative, internal or absolute URL
Consent.provision.Slices for actor.actor:processor.reference.identifier This element must be supported. 1..1 Identifier Logical reference, when literal reference is not known
Consent.provision.Slices for actor.actor:processor.reference.identifier.system 0..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
Consent.provision.Slices for actor.actor:processor.reference.identifier.value 0..1 string The value that is unique
Fixed Value: https://www.fastenhealth.com (no extensions allowed)
Consent.provision.Slices for actor.actor:processor.reference.display This element must be supported. 1..1 string Text alternative for the resource
Consent.provision.Slices for action This element must be supported. 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
Consent.provision.Slices for action.action:collect This element must be supported. 1..1 CodeableConcept Actions controlled by this rule
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "collect",
      "display" : "Collect"
    }
  ]
}
Consent.provision.Slices for action.action:access This element must be supported. 1..1 CodeableConcept Actions controlled by this rule
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "access",
      "display" : "Access"
    }
  ]
}
Consent.provision.Slices for action.action:use This element must be supported. 1..1 CodeableConcept Actions controlled by this rule
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "use",
      "display" : "Use"
    }
  ]
}
Consent.provision.securityLabel 0..0 Security Labels that define affected resources
Consent.provision.purpose This element must be supported. 1..1 Coding Context of activities covered by this rule
Required Pattern:
{
  "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
  "code" : "PATRQT",
  "display" : "patient requested"
}
Consent.provision.class 0..0 e.g. Resource Type, Profile, CDA, etc.
Consent.provision.code 0..0 e.g. LOINC or SNOMED CT code, etc. in the content
Consent.provision.dataPeriod 0..0 Timeframe for data controlled by this rule
Consent.provision.data 0..0 Data controlled by this rule
Consent.provision.provision 0..0 Nested Exception Rules

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Consent.status Base required Retrieval Consent Status 📦1.0.0 This IG

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Consent C 0..* Consent A healthcare consumer's choices to permit or deny recipients or roles to perform actions for specific purposes and periods of time
Constraints: ppc-1, ppc-2, ppc-3, ppc-4, ppc-5, haau3-retrieval-consent-1, haau3-retrieval-consent-2
Consent.id This element is included in summaries. 0..1 id Logical id of this artifact
Consent.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Consent.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Consent.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Consent.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
Consent.contained 0..* Resource Contained, inline Resources
Consent.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
Consent.Slices for extension.extension:witness This element must be supported. 0..1 (Complex) The signed-in caregiver, when the person agreed on the caregiver's device
URL: http://hl7.org/fhir/StructureDefinition/consent-Witness
Consent.Slices for extension.extension:witness.id 0..1 string Unique id for inter-element referencing
Consent.Slices for extension.extension:witness.extension 0..0 Extension
Slice: Unordered, Open by value:url
Consent.Slices for extension.extension:witness.url 1..1 uri "http://hl7.org/fhir/StructureDefinition/consent-Witness"
Consent.Slices for extension.extension:witness.value[x] 1..1 Reference(RelatedPerson) Value of extension
Consent.Slices for extension.extension:scopes This element must be supported. 1..1 (Complex) Retrieval Consent Scopes
URL: https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes
Consent.Slices for extension.extension:scopes.id 0..1 string Unique id for inter-element referencing
Consent.Slices for extension.extension:scopes.extension 0..0 Extension
Slice: Unordered, Open by value:url
Consent.Slices for extension.extension:scopes.url 1..1 uri "https://haau3.com/fhir/StructureDefinition/retrieval-consent-scopes"
Consent.Slices for extension.extension:scopes.value[x] 1..1 string Value of extension
Fixed Value: patient/*.rs (no extensions allowed)
Consent.Slices for extension.extension:endReason This element must be supported. 0..1 code Consent End Reason
URL: https://haau3.com/fhir/StructureDefinition/consent-end-reason
Binding: Consent End Reason (required)
Consent.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Consent.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Identifier for this record (external references)

Example General: {"system":"http://acme.org/identifier/local/eCMS","value":"Local eCMS identifier"}
Consent.identifier.id 0..1 string Unique id for inter-element referencing
Consent.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Consent.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Consent.identifier.type This element is included in summaries. 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.
Consent.identifier.system This element must be supported. This element is included in summaries. 1..1 uri The namespace for the identifier value
Fixed Value: https://haau3.com/fhir/NamingSystem/retrieval-consent-id (no extensions allowed)
Consent.identifier.value This element must be supported. This element is included in summaries. 1..1 string The value that is unique
Example General: 123456
Consent.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Consent.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Consent.status This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code draft | proposed | active | rejected | inactive | entered-in-error
Binding: Retrieval Consent Status (required)
Consent.scope This element is a modifier element. This element must be supported. This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentscope",
      "code" : "patient-privacy",
      "display" : "Privacy Consent"
    }
  ]
}
Consent.Slices for category This element must be supported. This element is included in summaries. 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
Consent.Slices for category.category:informationCollection This element must be supported. This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code" : "ICOL",
      "display" : "information collection"
    }
  ]
}
Consent.Slices for category.category:patientConsent This element must be supported. This element is included in summaries. 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:
{
  "coding" : [
    {
      "system" : "http://loinc.org",
      "code" : "59284-0",
      "display" : "Consent Document"
    }
  ]
}
Consent.patient This element must be supported. This element is included in summaries. 1..1 Reference(Patient) Who the consent applies to
Consent.dateTime This element must be supported. This element is included in summaries. 1..1 dateTime When this Consent was created or indexed
Consent.performer This element must be supported. This element is included in summaries. 1..1 Reference(Patient) Who is agreeing to the policy and rules
Consent.organization This element must be supported. This element is included in summaries. 1..1 Reference(Organization) Custodian of the consent
Consent.source[x] This element must be supported. This element is included in summaries. 1..1 Attachment Source from which this consent is taken
Consent.source[x].id 0..1 string Unique id for inter-element referencing
Consent.source[x].extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Consent.source[x].contentType This element must be supported. This element is included in summaries. 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
Consent.source[x].language This element must be supported. This element is included in summaries. 0..1 code Human language of the content (BCP-47)
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding

Example General: en-AU
Consent.source[x].data This element must be supported. 1..1 base64Binary Data inline, base64ed
Consent.source[x].url This element is included in summaries. 0..1 url Uri where the data can be found
Example General: http://www.acme.com/logo-small.png
Consent.source[x].size This element is included in summaries. 0..1 unsignedInt Number of bytes of content (if url provided)
Consent.source[x].hash This element must be supported. This element is included in summaries. 1..1 base64Binary Hash of the data (sha-1, base64ed)
Consent.source[x].title This element is included in summaries. 0..1 string Label to display in place of the data
Example General: Official Corporate Logo
Consent.source[x].creation This element must be supported. This element is included in summaries. 1..1 dateTime Date attachment was first created
Consent.policy This element must be supported. 2..2 BackboneElement Policies covered by this consent
Consent.policy.id 0..1 string Unique id for inter-element referencing
Consent.policy.extension 0..* Extension Additional content defined by implementations
Consent.policy.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.policy.authority C 0..1 uri Enforcement source for policy
Consent.policy.uri This element must be supported. C 1..1 uri Specific policy covered by this consent
Consent.verification This element must be supported. This element is included in summaries. 0..1 BackboneElement Consent Verified by patient or family
Consent.verification.id 0..1 string Unique id for inter-element referencing
Consent.verification.extension 0..* Extension Additional content defined by implementations
Consent.verification.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.verification.verified This element is included in summaries. 1..1 boolean Has been verified
Fixed Value: true (no extensions allowed)
Consent.verification.verifiedWith This element must be supported. 1..1 Reference(Patient) Person who verified
Consent.verification.verificationDate This element must be supported. 1..1 dateTime When consent verified
Consent.provision This element must be supported. This element is included in summaries. 1..1 BackboneElement Constraints to the base Consent.policyRule
Consent.provision.id 0..1 string Unique id for inter-element referencing
Consent.provision.extension 0..* Extension Additional content defined by implementations
Consent.provision.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.type This element must be supported. This element is included in summaries. 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)
Consent.provision.period This element must be supported. This element is included in summaries. 1..1 Period Timeframe for this rule
Consent.provision.period.id 0..1 string Unique id for inter-element referencing
Consent.provision.period.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Consent.provision.period.start This element must be supported. This element is included in summaries. C 1..1 dateTime Starting time with inclusive boundary
Consent.provision.period.end This element must be supported. This element is included in summaries. C 0..1 dateTime End time with inclusive boundary, if not ongoing
Consent.provision.Slices for actor This element must be supported. 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
Consent.provision.Slices for actor.actor:All Slices Content/Rules for all slices
Consent.provision.Slices for actor.actor:All Slices.id 0..1 string Unique id for inter-element referencing
Consent.provision.Slices for actor.actor:All Slices.extension 0..* Extension Additional content defined by implementations
Consent.provision.Slices for actor.actor:All Slices.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.Slices for actor.actor:All Slices.role 1..1 CodeableConcept How the actor is involved
Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations.
Consent.provision.Slices for actor.actor:All Slices.reference 1..1 Reference(Device | Group | CareTeam | Organization | Patient | Practitioner | RelatedPerson | PractitionerRole) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:recipient This element must be supported. 1..1 BackboneElement haau3, which receives the records
Consent.provision.Slices for actor.actor:recipient.id 0..1 string Unique id for inter-element referencing
Consent.provision.Slices for actor.actor:recipient.extension 0..* Extension Additional content defined by implementations
Consent.provision.Slices for actor.actor:recipient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.Slices for actor.actor:recipient.role 1..1 CodeableConcept How the actor is involved
Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
      "code" : "IRCP",
      "display" : "information recipient"
    }
  ]
}
Consent.provision.Slices for actor.actor:recipient.reference 1..1 Reference(Organization) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:processor This element must be supported. 1..1 BackboneElement Fasten Health, which retrieves the records for haau3
Consent.provision.Slices for actor.actor:processor.id 0..1 string Unique id for inter-element referencing
Consent.provision.Slices for actor.actor:processor.extension 0..* Extension Additional content defined by implementations
Consent.provision.Slices for actor.actor:processor.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Consent.provision.Slices for actor.actor:processor.role 1..1 CodeableConcept How the actor is involved
Binding: SecurityRoleType (extensible): How an actor is involved in the consent considerations.
Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/extra-security-role-type",
      "code" : "dataprocessor",
      "display" : "Data Processor"
    }
  ]
}
Consent.provision.Slices for actor.actor:processor.reference 1..1 Reference(Organization) Resource for the actor (or group, by role)
Consent.provision.Slices for actor.actor:processor.reference.id 0..1 string Unique id for inter-element referencing
Consent.provision.Slices for actor.actor:processor.reference.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Consent.provision.Slices for actor.actor:processor.reference.type This element is included in summaries. 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).
Consent.provision.Slices for actor.actor:processor.reference.identifier This element must be supported. This element is included in summaries. 1..1 Identifier Logical reference, when literal reference is not known
Consent.provision.Slices for actor.actor:processor.reference.identifier.id 0..1 string Unique id for inter-element referencing
Consent.provision.Slices for actor.actor:processor.reference.identifier.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Consent.provision.Slices for actor.actor:processor.reference.identifier.use This element is a modifier element. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
Consent.provision.Slices for actor.actor:processor.reference.identifier.type This element is included in summaries. 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.
Consent.provision.Slices for actor.actor:processor.reference.identifier.system This element is included in summaries. 0..1 uri The namespace for the identifier value
Fixed Value: urn:ietf:rfc:3986 (no extensions allowed)
Consent.provision.Slices for actor.actor:processor.reference.identifier.value This element is included in summaries. 0..1 string The value that is unique
Fixed Value: https://www.fastenhealth.com (no extensions allowed)
Consent.provision.Slices for actor.actor:processor.reference.identifier.period This element is included in summaries. 0..1 Period Time period when id is/was valid for use
Consent.provision.Slices for actor.actor:processor.reference.identifier.assigner This element is included in summaries. 0..1 Reference(Organization) Organization that issued id (may be just text)
Consent.provision.Slices for actor.actor:processor.reference.display This element must be supported. This element is included in summaries. 1..1 string Text alternative for the resource
Consent.provision.Slices for action This element must be supported. This element is included in summaries. 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
Consent.provision.Slices for action.action:collect This element must be supported. This element is included in summaries. 1..1 CodeableConcept Actions controlled by this rule
Binding: ConsentActionCodes (example): Detailed codes for the consent action.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "collect",
      "display" : "Collect"
    }
  ]
}
Consent.provision.Slices for action.action:access This element must be supported. This element is included in summaries. 1..1 CodeableConcept Actions controlled by this rule
Binding: ConsentActionCodes (example): Detailed codes for the consent action.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "access",
      "display" : "Access"
    }
  ]
}
Consent.provision.Slices for action.action:use This element must be supported. This element is included in summaries. 1..1 CodeableConcept Actions controlled by this rule
Binding: ConsentActionCodes (example): Detailed codes for the consent action.

Required Pattern:
{
  "coding" : [
    {
      "system" : "http://terminology.hl7.org/CodeSystem/consentaction",
      "code" : "use",
      "display" : "Use"
    }
  ]
}
Consent.provision.purpose This element must be supported. This element is included in summaries. 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:
{
  "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
  "code" : "PATRQT",
  "display" : "patient requested"
}

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

  • The element 1 is sliced based on the value of Consent.category (Closed)
  • The element 1 is sliced based on the value of Consent.provision.actor (Closed)
  • The element 1 is sliced based on the value of Consent.provision.action (Closed)

 

Other representations of profile: CSV, Excel, Schematron