ext-R4-Consent.provision
type: StructureDefinition
node role: treeRoot
id:
  v: ext-R4-Consent.provision
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition ext-R4-Consent.provision Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Extension 0..1 Extension R4: Constraints to the base Consent.policyRule #xD; Slices for extension 0..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:type 0..1 Extension R4: type #xD; url 1..1 uri "type" #xD; value[x] 0..1 code deny | permit Binding: ConsentExceptType (required): How a rule statement is applied, such as adding additional consent or removing consent. #xD; extension:period 0..1 Extension R4: Timeframe for this rule #xD; url 1..1 uri "period" #xD; value[x] 0..1 Period Timeframe for this rule #xD; extension:actor 0..* Extension R4: Who|what controlled by this rule (or group, by role) #xD; Slices for extension 2..* Extension Extension Slice: Unordered, Open by value:url #xD; extension:role 1..1 Extension R4: How the actor is involved #xD; url 1..1 uri "role" #xD; value[x] 1..1 CodeableConcept How the actor is involved Binding: R4SecurityRoleTypeForR3 (0.1.0) (extensible): How an actor is involved in the consent considerations. #xD; extension:reference 1..1 Extension R4: Resource for the actor (or group, by role) #xD; url 1..1 uri "http://hl7.org/fhir/StructureDefinition/alternate-reference" #xD; url 1..1 uri "actor" #xD; value[x] 0..0 Value of extension #xD; extension:action 0..* Extension R4: Actions controlled by this rule #xD; url 1..1 uri "action" #xD; value[x] 0..1 CodeableConcept Actions controlled by this rule Binding: Consent Action Codes (example): Detailed codes for the consent action. #xD; extension:securityLabel 0..* Extension R4: Security Labels that define affected resources #xD; url 1..1 uri "securityLabel" #xD; value[x] 0..1 Coding Security Labels that define affected resources Binding: R4SecurityLabelsForR3 (0.1.0) (extensible): Security Labels from the Healthcare Privacy and Security Classification System. #xD; extension:purpose 0..* Ex…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-wg
    l: structuredefinition-wg
  value: Code
    v: fhir
extension:
  extension:
    url:
      v: packageId
      l: packageId
    value: Id
      v: hl7.fhir.uv.xver-r4.r3
  extension:
    url:
      v: version
      l: version
    value: String
      v: 0.1.0
  extension:
    url:
      v: uri
      l: uri
    value: Uri
      v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r3
      l: hl7.fhir.uv.xver-r4.r3
  url:
    v: http://hl7.org/fhir/StructureDefinition/package-source
    l: package-source
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
    l: structuredefinition-fmm
  value: Integer
    v: 0
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Uri
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r3
        l: hl7.fhir.uv.xver-r4.r3
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
    l: structuredefinition-standards-status
  value: Code
    v: trial-use
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom
        l: structuredefinition-conformance-derivedFrom
      value: Uri
        v: http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r3
        l: hl7.fhir.uv.xver-r4.r3
url:
  v: http://hl7.org/fhir/4.0/StructureDefinition/extension-Consent.provision
  l: extension-Consent.provision
version:
  v: 0.1.0
name:
  v: ExtensionConsent_Provision
title:
  v: R4: Constraints to the base Consent.policyRule
status:
  v: active
experimental:
  v: false
date:
  v: 2026-03-17T21:02:03.8104715+00:00
publisher:
  v: FHIR Infrastructure
contact:
  name:
    v: FHIR Infrastructure
  telecom:
    system:
      v: url
    value:
      v: http://www.hl7.org/Special/committees/fiwg
description:
  v: R4: `Consent.provision`
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 001
    display:
      v: World
purpose:
  v: This extension is part of the cross-version definitions generated to enable use of the element `Consent.provision` as defined in FHIR R4 in FHIR STU3. The source element is defined as: `Consent.provision` 0..1 `BackboneElement` Following are the generation technical comments: Element `Consent.provision` is mapped to FHIR STU3 element `Consent.except` as `SourceIsNarrowerThanTarget`. Creating extension because element `Consent.provision` is a content reference and requires an extesion definition.
fhir version:
  v: 3.0.2
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: complex-type
abstract:
  v: false
context type:
  v: resource
context:
  v: Consent.except
type:
  v: Extension
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Extension
  l: Extension
derivation:
  v: constraint
snapshot:
  element:
    id:
      v: Extension
    path:
      v: Extension
    short:
      v: R4: Constraints to the base Consent.policyRule
    definition:
      v: R4: `Consent.provision`
    comment:
      v: Element `Consent.provision` is mapped to FHIR STU3 element `Consent.except` as `SourceIsNarrowerThanTarget`.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Extension
      min:
        v: 0
      max:
        v: *
    condition:
      v: ele-1
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() | (children().count() > id.count())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        l: Element
    constraint:
      key:
        v: ext-1
      severity:
        v: error
      human:
        v: Must have either extensions or value[x], not both
      expression:
        v: extension.exists() != value.exists()
      xpath:
        v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
      source:
        v: http://hl7.org/fhir/StructureDefinition/Extension
        l: Extension
    is modifier:
      v: false
  element:
    id:
      v: Extension.id
    path:
      v: Extension.id
    representation:
      v: xmlAttr
    short:
      v: xml:id (or equivalent in JSON)
    definition:
      v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Element.id
      min:
        v: 0
      max:
        v: 1

code:
  v: string
  l: string

identity:
  v: rim
map:
  v: n/a

id:
  v: Extension.extension
path:
  v: Extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:type
path:
  v: Extension.extension
slice name:
  v: type
short:
  v: R4: type
definition:
  v: R4: `Consent.provision.type`
comment:
  v: Element `Consent.provision.type` is mapped to FHIR STU3 element `Consent.except.type` as `Equivalent`.
requirements:
  v: Element `Consent.provision.type` is mapped to FHIR STU3 element `Consent.except.type` as `Equivalent`.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:type.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:type.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:type.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: type
  l: type
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:type.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: deny | permit
definition:
  v: Action to take - permit or deny - when the rule conditions are met. Not permitted in root rule, required in all nested rules.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  strength:
    v: required
  description:
    v: How a rule statement is applied, such as adding additional consent or removing consent.
  value set: Uri
    v: http://hl7.org/fhir/ValueSet/consent-except-type|3.0.2
    l: http://hl7.org/fhir/ValueSet/consent-except-type
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:period
path:
  v: Extension.extension
slice name:
  v: period
short:
  v: R4: Timeframe for this rule
definition:
  v: R4: `Consent.provision.period`
comment:
  v: Element `Consent.provision.period` is mapped to FHIR STU3 element `Consent.except.period` as `Equivalent`.
requirements:
  v: Element `Consent.provision.period` is mapped to FHIR STU3 element `Consent.except.period` as `Equivalent`.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:period.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:period.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:period.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: period
  l: period
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:period.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Timeframe for this rule
definition:
  v: The timeframe in this rule is valid.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:actor
path:
  v: Extension.extension
slice name:
  v: actor
short:
  v: R4: Who|what controlled by this rule (or group, by role)
definition:
  v: R4: `Consent.provision.actor`
comment:
  v: Element `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.actor` as `Equivalent`. Element `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.except.actor` as `Equivalent`.
requirements:
  v: Element `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.actor` as `Equivalent`. Element `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.except.actor` as `Equivalent`.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:actor.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:actor.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 2
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:actor.extension:role
path:
  v: Extension.extension.extension
slice name:
  v: role
short:
  v: R4: How the actor is involved
definition:
  v: R4: `Consent.provision.actor.role`
comment:
  v: Element `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.actor.role` as `Equivalent`. Element `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.except.actor.role` as `Equivalent`.
requirements:
  v: Element `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.actor.role` as `Equivalent`. Element `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.except.actor.role` as `Equivalent`.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:actor.extension:role.id
path:
  v: Extension.extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:actor.extension:role.extension
path:
  v: Extension.extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:actor.extension:role.url
path:
  v: Extension.extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: role
  l: role
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:actor.extension:role.value[x]
path:
  v: Extension.extension.extension.value[x]
short:
  v: How the actor is involved
definition:
  v: How the individual is involved in the resources content that is described in the exception.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: extensible
  description:
    v: How an actor is involved in the consent considerations.
  value set: Uri
    v: http://hl7.org/fhir/uv/xver/ValueSet/R4-security-role-type-for-R3|0.1.0
    l: http://hl7.org/fhir/uv/xver/ValueSet/R4-security-role-type-for-R3
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:actor.extension:reference
path:
  v: Extension.extension.extension
slice name:
  v: reference
short:
  v: R4: Resource for the actor (or group, by role)
definition:
  v: R4: `Consent.provision.actor.reference`
comment:
  v: Element `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.actor.reference` as `SourceIsBroaderThanTarget`. Element `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.except.actor.reference` as `SourceIsBroaderThanTarget`. The standard extension `alternate-reference` has been mapped as the representation of FHIR R4 element `Consent.provision.actor.reference` with unmapped reference targets: PractitionerRole.
requirements:
  v: Element `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.actor.reference` as `SourceIsBroaderThanTarget`. Element `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.except.actor.reference` as `SourceIsBroaderThanTarget`. The standard extension `alternate-reference` has been mapped as the representation of FHIR R4 element `Consent.provision.actor.reference` with unmapped reference targets: PractitionerRole.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:actor.extension:reference.id
path:
  v: Extension.extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:actor.extension:reference.extension
path:
  v: Extension.extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:actor.extension:reference.url
path:
  v: Extension.extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: http://hl7.org/fhir/StructureDefinition/alternate-reference
  l: alternate-reference
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:actor.extension:reference.value[x]
path:
  v: Extension.extension.extension.value[x]
short:
  v: Value of extension
definition:
  v: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
    l: base64Binary
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: code
    l: code
type:
  code:
    v: date
    l: date
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: decimal
    l: decimal
type:
  code:
    v: id
    l: id
type:
  code:
    v: instant
    l: instant
type:
  code:
    v: integer
    l: integer
type:
  code:
    v: markdown
    l: markdown
type:
  code:
    v: oid
    l: oid
type:
  code:
    v: positiveInt
    l: positiveInt
type:
  code:
    v: string
    l: string
type:
  code:
    v: time
    l: time
type:
  code:
    v: unsignedInt
    l: unsignedInt
type:
  code:
    v: uri
    l: uri
type:
  code:
    v: Address
    l: Address
type:
  code:
    v: Age
    l: Age
type:
  code:
    v: Annotation
    l: Annotation
type:
  code:
    v: Attachment
    l: Attachment
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Coding
    l: Coding
type:
  code:
    v: ContactPoint
    l: ContactPoint
type:
  code:
    v: Count
    l: Count
type:
  code:
    v: Distance
    l: Distance
type:
  code:
    v: Duration
    l: Duration
type:
  code:
    v: HumanName
    l: HumanName
type:
  code:
    v: Identifier
    l: Identifier
type:
  code:
    v: Money
    l: Money
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: Reference
    l: Reference
type:
  code:
    v: SampledData
    l: SampledData
type:
  code:
    v: Signature
    l: Signature
type:
  code:
    v: Timing
    l: Timing
type:
  code:
    v: Meta
    l: Meta
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:actor.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: actor
  l: actor
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:actor.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Value of extension
definition:
  v: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
    l: base64Binary
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: code
    l: code
type:
  code:
    v: date
    l: date
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: decimal
    l: decimal
type:
  code:
    v: id
    l: id
type:
  code:
    v: instant
    l: instant
type:
  code:
    v: integer
    l: integer
type:
  code:
    v: markdown
    l: markdown
type:
  code:
    v: oid
    l: oid
type:
  code:
    v: positiveInt
    l: positiveInt
type:
  code:
    v: string
    l: string
type:
  code:
    v: time
    l: time
type:
  code:
    v: unsignedInt
    l: unsignedInt
type:
  code:
    v: uri
    l: uri
type:
  code:
    v: Address
    l: Address
type:
  code:
    v: Age
    l: Age
type:
  code:
    v: Annotation
    l: Annotation
type:
  code:
    v: Attachment
    l: Attachment
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Coding
    l: Coding
type:
  code:
    v: ContactPoint
    l: ContactPoint
type:
  code:
    v: Count
    l: Count
type:
  code:
    v: Distance
    l: Distance
type:
  code:
    v: Duration
    l: Duration
type:
  code:
    v: HumanName
    l: HumanName
type:
  code:
    v: Identifier
    l: Identifier
type:
  code:
    v: Money
    l: Money
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: Reference
    l: Reference
type:
  code:
    v: SampledData
    l: SampledData
type:
  code:
    v: Signature
    l: Signature
type:
  code:
    v: Timing
    l: Timing
type:
  code:
    v: Meta
    l: Meta
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:action
path:
  v: Extension.extension
slice name:
  v: action
short:
  v: R4: Actions controlled by this rule
definition:
  v: R4: `Consent.provision.action`
comment:
  v: Element `Consent.provision.action` is mapped to FHIR STU3 element `Consent.action` as `Equivalent`. Element `Consent.provision.action` is mapped to FHIR STU3 element `Consent.except.action` as `Equivalent`. Note that this is the direct action (not the grounds for the action covered in the purpose element). At present, the only action in the understood and tested scope of this resource is 'read'.
requirements:
  v: Element `Consent.provision.action` is mapped to FHIR STU3 element `Consent.action` as `Equivalent`. Element `Consent.provision.action` is mapped to FHIR STU3 element `Consent.except.action` as `Equivalent`.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:action.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:action.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:action.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: action
  l: action
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:action.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Actions controlled by this rule
definition:
  v: Actions controlled by this Rule.
comment:
  v: Note that this is the direct action (not the grounds for the action covered in the purpose element). At present, the only action in the understood and tested scope of this resource is 'read'.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: example
  description:
    v: Detailed codes for the consent action.
  value set: Uri
    v: http://hl7.org/fhir/ValueSet/consent-action|3.0.2
    l: http://hl7.org/fhir/ValueSet/consent-action
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:securityLabel
path:
  v: Extension.extension
slice name:
  v: securityLabel
short:
  v: R4: Security Labels that define affected resources
definition:
  v: R4: `Consent.provision.securityLabel`
comment:
  v: Element `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.securityLabel` as `Equivalent`. Element `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.except.securityLabel` as `Equivalent`. If the consent specifies a security label of "R" then it applies to all resources that are labeled "R" or lower. E.g. for Confidentiality, it's a high water mark. For other kinds of security labels, subsumption logic applies. When the purpose of use tag is on the data, access request purpose of use shall not conflict.
requirements:
  v: Element `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.securityLabel` as `Equivalent`. Element `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.except.securityLabel` as `Equivalent`.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:securityLabel.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:securityLabel.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:securityLabel.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: securityLabel
  l: securityLabel
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:securityLabel.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Security Labels that define affected resources
definition:
  v: A security label, comprised of 0..* security label fields (Privacy tags), which define which resources are controlled by this exception.
comment:
  v: If the consent specifies a security label of "R" then it applies to all resources that are labeled "R" or lower. E.g. for Confidentiality, it's a high water mark. For other kinds of security labels, subsumption logic applies. When the purpose of use tag is on the data, access request purpose of use shall not conflict.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
binding:
  strength:
    v: extensible
  description:
    v: Security Labels from the Healthcare Privacy and Security Classification System.
  value set: Uri
    v: http://hl7.org/fhir/uv/xver/ValueSet/R4-security-labels-for-R3|0.1.0
    l: http://hl7.org/fhir/uv/xver/ValueSet/R4-security-labels-for-R3
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:purpose
path:
  v: Extension.extension
slice name:
  v: purpose
short:
  v: R4: Context of activities covered by this rule
definition:
  v: R4: `Consent.provision.purpose`
comment:
  v: Element `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.purpose` as `Equivalent`. Element `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.except.purpose` as `Equivalent`. When the purpose of use tag is on the data, access request purpose of use shall not conflict.
requirements:
  v: Element `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.purpose` as `Equivalent`. Element `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.except.purpose` as `Equivalent`.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:purpose.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:purpose.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:purpose.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: purpose
  l: purpose
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:purpose.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Context of activities covered by this rule
definition:
  v: The context of the activities a user is taking - why the user is accessing the data - that are controlled by this rule.
comment:
  v: When the purpose of use tag is on the data, access request purpose of use shall not conflict.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
binding:
  strength:
    v: extensible
  description:
    v: What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels.
  value set: Uri
    v: http://hl7.org/fhir/uv/xver/ValueSet/R4-v3-PurposeOfUse-for-R3|0.1.0
    l: http://hl7.org/fhir/uv/xver/ValueSet/R4-v3-PurposeOfUse-for-R3
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:class
path:
  v: Extension.extension
slice name:
  v: class
short:
  v: R4: e.g. Resource Type, Profile, CDA, etc.
definition:
  v: R4: `Consent.provision.class`
comment:
  v: Element `Consent.provision.class` is mapped to FHIR STU3 element `Consent.except.class` as `Equivalent`. Multiple types are or'ed together. The intention of the contentType element is that the codes refer to profiles or document types defined in a standard or an implementation guide somewhere.
requirements:
  v: Element `Consent.provision.class` is mapped to FHIR STU3 element `Consent.except.class` as `Equivalent`.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:class.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:class.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:class.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: class
  l: class
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:class.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: e.g. Resource Type, Profile, CDA, etc.
definition:
  v: The class of information covered by this rule. The type can be a FHIR resource type, a profile on a type, or a CDA document, or some other type that indicates what sort of information the consent relates to.
comment:
  v: Multiple types are or'ed together. The intention of the contentType element is that the codes refer to profiles or document types defined in a standard or an implementation guide somewhere.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:code
path:
  v: Extension.extension
slice name:
  v: code
short:
  v: R4: e.g. LOINC or SNOMED CT code, etc. in the content additional types
definition:
  v: R4: `Consent.provision.code` additional types (CodeableConcept) additional types from child elements (text)
comment:
  v: Element `Consent.provision.code` is mapped to FHIR STU3 element `Consent.except.code` as `SourceIsBroaderThanTarget`. The mappings for `Consent.provision.code` do not cover the following types: CodeableConcept. The mappings for `Consent.provision.code` do not cover the following types based on type expansion: text. Typical use of this is a Document code with class = CDA.
requirements:
  v: Element `Consent.provision.code` is mapped to FHIR STU3 element `Consent.except.code` as `SourceIsBroaderThanTarget`. The mappings for `Consent.provision.code` do not cover the following types: CodeableConcept. The mappings for `Consent.provision.code` do not cover the following types based on type expansion: text.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:code.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:code.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:code.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: code
  l: code
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:code.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: e.g. LOINC or SNOMED CT code, etc. in the content
definition:
  v: If this code is found in an instance, then the rule applies.
comment:
  v: Typical use of this is a Document code with class = CDA.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:dataPeriod
path:
  v: Extension.extension
slice name:
  v: dataPeriod
short:
  v: R4: Timeframe for data controlled by this rule
definition:
  v: R4: `Consent.provision.dataPeriod`
comment:
  v: Element `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.dataPeriod` as `Equivalent`. Element `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.except.dataPeriod` as `Equivalent`. This has a different sense to the Consent.period - that is when the consent agreement holds. This is the time period of the data that is controlled by the agreement.
requirements:
  v: Element `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.dataPeriod` as `Equivalent`. Element `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.except.dataPeriod` as `Equivalent`.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:dataPeriod.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:dataPeriod.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:dataPeriod.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: dataPeriod
  l: dataPeriod
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:dataPeriod.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Timeframe for data controlled by this rule
definition:
  v: Clinical or Operational Relevant period of time that bounds the data controlled by this rule.
comment:
  v: This has a different sense to the Consent.period - that is when the consent agreement holds. This is the time period of the data that is controlled by the agreement.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:data
path:
  v: Extension.extension
slice name:
  v: data
short:
  v: R4: Data controlled by this rule
definition:
  v: R4: `Consent.provision.data`
comment:
  v: Element `Consent.provision.data` is mapped to FHIR STU3 element `Consent.data` as `Equivalent`. Element `Consent.provision.data` is mapped to FHIR STU3 element `Consent.except.data` as `Equivalent`.
requirements:
  v: Element `Consent.provision.data` is mapped to FHIR STU3 element `Consent.data` as `Equivalent`. Element `Consent.provision.data` is mapped to FHIR STU3 element `Consent.except.data` as `Equivalent`.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:data.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:data.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  ordered:
    v: false
  rules:
    v: open
short:
  v: Extension
definition:
  v: An Extension
min:
  v: 2
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:data.extension:meaning
path:
  v: Extension.extension.extension
slice name:
  v: meaning
short:
  v: R4: instance | related | dependents | authoredby
definition:
  v: R4: `Consent.provision.data.meaning`
comment:
  v: Element `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.data.meaning` as `Equivalent`. Element `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.except.data.meaning` as `Equivalent`.
requirements:
  v: Element `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.data.meaning` as `Equivalent`. Element `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.except.data.meaning` as `Equivalent`.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:data.extension:meaning.id
path:
  v: Extension.extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:data.extension:meaning.extension
path:
  v: Extension.extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:data.extension:meaning.url
path:
  v: Extension.extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: meaning
  l: meaning
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:data.extension:meaning.value[x]
path:
  v: Extension.extension.extension.value[x]
short:
  v: instance | related | dependents | authoredby
definition:
  v: How the resource reference is interpreted when testing consent restrictions.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  strength:
    v: required
  description:
    v: How a resource reference is interpreted when testing consent restrictions.
  value set: Uri
    v: http://hl7.org/fhir/ValueSet/consent-data-meaning|3.0.2
    l: http://hl7.org/fhir/ValueSet/consent-data-meaning
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:data.extension:reference
path:
  v: Extension.extension.extension
slice name:
  v: reference
short:
  v: R4: The actual data reference
definition:
  v: R4: `Consent.provision.data.reference`
comment:
  v: Element `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.data.reference` as `Equivalent`. Element `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.except.data.reference` as `Equivalent`.
requirements:
  v: Element `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.data.reference` as `Equivalent`. Element `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.except.data.reference` as `Equivalent`.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:data.extension:reference.id
path:
  v: Extension.extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:data.extension:reference.extension
path:
  v: Extension.extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:data.extension:reference.url
path:
  v: Extension.extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: reference
  l: reference
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:data.extension:reference.value[x]
path:
  v: Extension.extension.extension.value[x]
short:
  v: The actual data reference
definition:
  v: A reference to a specific resource that defines which resources are covered by this consent.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/4.0/StructureDefinition/profile-Resource|0.1.0
    l: http://hl7.org/fhir/4.0/StructureDefinition/profile-Resource
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    l: Resource
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:data.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: data
  l: data
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:data.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Value of extension
definition:
  v: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
    l: base64Binary
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: code
    l: code
type:
  code:
    v: date
    l: date
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: decimal
    l: decimal
type:
  code:
    v: id
    l: id
type:
  code:
    v: instant
    l: instant
type:
  code:
    v: integer
    l: integer
type:
  code:
    v: markdown
    l: markdown
type:
  code:
    v: oid
    l: oid
type:
  code:
    v: positiveInt
    l: positiveInt
type:
  code:
    v: string
    l: string
type:
  code:
    v: time
    l: time
type:
  code:
    v: unsignedInt
    l: unsignedInt
type:
  code:
    v: uri
    l: uri
type:
  code:
    v: Address
    l: Address
type:
  code:
    v: Age
    l: Age
type:
  code:
    v: Annotation
    l: Annotation
type:
  code:
    v: Attachment
    l: Attachment
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Coding
    l: Coding
type:
  code:
    v: ContactPoint
    l: ContactPoint
type:
  code:
    v: Count
    l: Count
type:
  code:
    v: Distance
    l: Distance
type:
  code:
    v: Duration
    l: Duration
type:
  code:
    v: HumanName
    l: HumanName
type:
  code:
    v: Identifier
    l: Identifier
type:
  code:
    v: Money
    l: Money
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: Reference
    l: Reference
type:
  code:
    v: SampledData
    l: SampledData
type:
  code:
    v: Signature
    l: Signature
type:
  code:
    v: Timing
    l: Timing
type:
  code:
    v: Meta
    l: Meta
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:provision
path:
  v: Extension.extension
slice name:
  v: provision
short:
  v: R4: Nested Exception Rules (new)
definition:
  v: R4: `Consent.provision.provision` (new:Consent.provision)
comment:
  v: Element `Consent.provision.provision` has a context of Consent.except based on following the parent source element upwards and mapping to `Consent`. Element `Consent.provision.provision` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
requirements:
  v: Element `Consent.provision.provision` has a context of Consent.except based on following the parent source element upwards and mapping to `Consent`. Element `Consent.provision.provision` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension

id:
  v: Extension.extension:provision.id
path:
  v: Extension.extension.id
representation:
  v: xmlAttr
short:
  v: xml:id (or equivalent in JSON)
definition:
  v: unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:provision.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional Content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Extension.extension:provision.url
path:
  v: Extension.extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: http://hl7.org/fhir/4.0/StructureDefinition/extension-Consent.provision
  l: extension-Consent.provision
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.extension:provision.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Value of extension
definition:
  v: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
    l: base64Binary
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: code
    l: code
type:
  code:
    v: date
    l: date
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: decimal
    l: decimal
type:
  code:
    v: id
    l: id
type:
  code:
    v: instant
    l: instant
type:
  code:
    v: integer
    l: integer
type:
  code:
    v: markdown
    l: markdown
type:
  code:
    v: oid
    l: oid
type:
  code:
    v: positiveInt
    l: positiveInt
type:
  code:
    v: string
    l: string
type:
  code:
    v: time
    l: time
type:
  code:
    v: unsignedInt
    l: unsignedInt
type:
  code:
    v: uri
    l: uri
type:
  code:
    v: Address
    l: Address
type:
  code:
    v: Age
    l: Age
type:
  code:
    v: Annotation
    l: Annotation
type:
  code:
    v: Attachment
    l: Attachment
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Coding
    l: Coding
type:
  code:
    v: ContactPoint
    l: ContactPoint
type:
  code:
    v: Count
    l: Count
type:
  code:
    v: Distance
    l: Distance
type:
  code:
    v: Duration
    l: Duration
type:
  code:
    v: HumanName
    l: HumanName
type:
  code:
    v: Identifier
    l: Identifier
type:
  code:
    v: Money
    l: Money
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: Reference
    l: Reference
type:
  code:
    v: SampledData
    l: SampledData
type:
  code:
    v: Signature
    l: Signature
type:
  code:
    v: Timing
    l: Timing
type:
  code:
    v: Meta
    l: Meta
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.url
path:
  v: Extension.url
representation:
  v: xmlAttr
short:
  v: identifies the meaning of the extension
definition:
  v: Source of the definition for the extension code - a logical name or a URL.
comment:
  v: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: uri
    l: uri
fixed: Uri
  v: http://hl7.org/fhir/4.0/StructureDefinition/extension-Consent.provision
  l: extension-Consent.provision
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Extension.value[x]
path:
  v: Extension.value[x]
short:
  v: Value of extension
definition:
  v: Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: base64Binary
    l: base64Binary
type:
  code:
    v: boolean
    l: boolean
type:
  code:
    v: code
    l: code
type:
  code:
    v: date
    l: date
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: decimal
    l: decimal
type:
  code:
    v: id
    l: id
type:
  code:
    v: instant
    l: instant
type:
  code:
    v: integer
    l: integer
type:
  code:
    v: markdown
    l: markdown
type:
  code:
    v: oid
    l: oid
type:
  code:
    v: positiveInt
    l: positiveInt
type:
  code:
    v: string
    l: string
type:
  code:
    v: time
    l: time
type:
  code:
    v: unsignedInt
    l: unsignedInt
type:
  code:
    v: uri
    l: uri
type:
  code:
    v: Address
    l: Address
type:
  code:
    v: Age
    l: Age
type:
  code:
    v: Annotation
    l: Annotation
type:
  code:
    v: Attachment
    l: Attachment
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: Coding
    l: Coding
type:
  code:
    v: ContactPoint
    l: ContactPoint
type:
  code:
    v: Count
    l: Count
type:
  code:
    v: Distance
    l: Distance
type:
  code:
    v: Duration
    l: Duration
type:
  code:
    v: HumanName
    l: HumanName
type:
  code:
    v: Identifier
    l: Identifier
type:
  code:
    v: Money
    l: Money
type:
  code:
    v: Period
    l: Period
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: Reference
    l: Reference
type:
  code:
    v: SampledData
    l: SampledData
type:
  code:
    v: Signature
    l: Signature
type:
  code:
    v: Timing
    l: Timing
type:
  code:
    v: Meta
    l: Meta
mapping:
  identity:
    v: rim
  map:
    v: N/A

element:
  id:
    v: Extension
  path:
    v: Extension
  short:
    v: R4: Constraints to the base Consent.policyRule
  definition:
    v: R4: `Consent.provision`
  comment:
    v: Element `Consent.provision` is mapped to FHIR STU3 element `Consent.except` as `SourceIsNarrowerThanTarget`.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: Extension
    min:
      v: 0
    max:
      v: *
  is modifier:
    v: false
element:
  id:
    v: Extension.extension
  path:
    v: Extension.extension
  slicing:
    discriminator:
      type:
        v: value
      path:
        v: url
    ordered:
      v: false
    rules:
      v: open
  min:
    v: 0
  max:
    v: *
  base:
    path:
      v: Extension.extension
    min:
      v: 0
    max:
      v: *
element:
  id:
    v: Extension.extension:type
  path:
    v: Extension.extension
  slice name:
    v: type
  short:
    v: R4: type
  definition:
    v: R4: `Consent.provision.type`
  comment:
    v: Element `Consent.provision.type` is mapped to FHIR STU3 element `Consent.except.type` as `Equivalent`.
  requirements:
    v: Element `Consent.provision.type` is mapped to FHIR STU3 element `Consent.except.type` as `Equivalent`.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: Extension.extension
    min:
      v: 0
    max:
      v: *
element:
  id:
    v: Extension.extension:type.url
  path:
    v: Extension.extension.url
  min:
    v: 1
  max:
    v: 1
  base:
    path:
      v: Extension.url
    min:
      v: 1
    max:
      v: 1
  fixed: Uri
    v: type
    l: type
element:
  id:
    v: Extension.extension:type.value[x]
  path:
    v: Extension.extension.value[x]
  short:
    v: deny | permit
  definition:
    v: Action to take - permit or deny - when the rule conditions are met. Not permitted in root rule, required in all nested rules.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: Extension.value[x]
    min:
      v: 0
    max:
      v: 1
  type:
    code:
      v: code
      l: code
  binding:
    strength:
      v: required
    description:
      v: How a rule statement is applied, such as adding additional consent or removing consent.
    value set: Uri
      v: http://hl7.org/fhir/ValueSet/consent-except-type|3.0.2
      l: http://hl7.org/fhir/ValueSet/consent-except-type
element:
  id:
    v: Extension.extension:period
  path:
    v: Extension.extension
  slice name:
    v: period
  short:
    v: R4: Timeframe for this rule
  definition:
    v: R4: `Consent.provision.period`
  comment:
    v: Element `Consent.provision.period` is mapped to FHIR STU3 element `Consent.except.period` as `Equivalent`.
  requirements:
    v: Element `Consent.provision.period` is mapped to FHIR STU3 element `Consent.except.period` as `Equivalent`.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: Extension.extension
    min:
      v: 0
    max:
      v: *
element:
  id:
    v: Extension.extension:period.url
  path:
    v: Extension.extension.url
  min:
    v: 1
  max:
    v: 1
  base:
    path:
      v: Extension.url
    min:
      v: 1
    max:
      v: 1
  fixed: Uri
    v: period
    l: period
element:
  id:
    v: Extension.extension:period.value[x]
  path:
    v: Extension.extension.value[x]
  short:
    v: Timeframe for this rule
  definition:
    v: The timeframe in this rule is valid.
  min:
    v: 0
  max:
    v: 1
  base:
    path:
      v: Extension.value[x]
    min:
      v: 0
    max:
      v: 1
  type:
    code:
      v: Period
      l: Period
element:
  id:
    v: Extension.extension:actor
  path:
    v: Extension.extension

v: actor

v: R4: Who|what controlled by this rule (or group, by role)

v: R4: `Consent.provision.actor`

v: Element `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.actor` as `Equivalent`. Element `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.except.actor` as `Equivalent`.

v: Element `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.actor` as `Equivalent`. Element `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.except.actor` as `Equivalent`.

v: 0

v: *

path:
  v: Extension.extension
min:
  v: 0
max:
  v: *

id:
  v: Extension.extension:actor.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 2
max:
  v: *
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:actor.extension:role
path:
  v: Extension.extension.extension
slice name:
  v: role
short:
  v: R4: How the actor is involved
definition:
  v: R4: `Consent.provision.actor.role`
comment:
  v: Element `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.actor.role` as `Equivalent`. Element `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.except.actor.role` as `Equivalent`.
requirements:
  v: Element `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.actor.role` as `Equivalent`. Element `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.except.actor.role` as `Equivalent`.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:actor.extension:role.url
path:
  v: Extension.extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: role
  l: role

id:
  v: Extension.extension:actor.extension:role.value[x]
path:
  v: Extension.extension.extension.value[x]
short:
  v: How the actor is involved
definition:
  v: How the individual is involved in the resources content that is described in the exception.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: extensible
  description:
    v: How an actor is involved in the consent considerations.
  value set: Uri
    v: http://hl7.org/fhir/uv/xver/ValueSet/R4-security-role-type-for-R3|0.1.0
    l: http://hl7.org/fhir/uv/xver/ValueSet/R4-security-role-type-for-R3

id:
  v: Extension.extension:actor.extension:reference
path:
  v: Extension.extension.extension
slice name:
  v: reference
short:
  v: R4: Resource for the actor (or group, by role)
definition:
  v: R4: `Consent.provision.actor.reference`
comment:
  v: Element `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.actor.reference` as `SourceIsBroaderThanTarget`. Element `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.except.actor.reference` as `SourceIsBroaderThanTarget`. The standard extension `alternate-reference` has been mapped as the representation of FHIR R4 element `Consent.provision.actor.reference` with unmapped reference targets: PractitionerRole.
requirements:
  v: Element `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.actor.reference` as `SourceIsBroaderThanTarget`. Element `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.except.actor.reference` as `SourceIsBroaderThanTarget`. The standard extension `alternate-reference` has been mapped as the representation of FHIR R4 element `Consent.provision.actor.reference` with unmapped reference targets: PractitionerRole.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:actor.extension:reference.url
path:
  v: Extension.extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: http://hl7.org/fhir/StructureDefinition/alternate-reference
  l: alternate-reference

id:
  v: Extension.extension:actor.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: actor
  l: actor

id:
  v: Extension.extension:actor.value[x]
path:
  v: Extension.extension.value[x]
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1

id:
  v: Extension.extension:action
path:
  v: Extension.extension
slice name:
  v: action
short:
  v: R4: Actions controlled by this rule
definition:
  v: R4: `Consent.provision.action`
comment:
  v: Element `Consent.provision.action` is mapped to FHIR STU3 element `Consent.action` as `Equivalent`. Element `Consent.provision.action` is mapped to FHIR STU3 element `Consent.except.action` as `Equivalent`. Note that this is the direct action (not the grounds for the action covered in the purpose element). At present, the only action in the understood and tested scope of this resource is 'read'.
requirements:
  v: Element `Consent.provision.action` is mapped to FHIR STU3 element `Consent.action` as `Equivalent`. Element `Consent.provision.action` is mapped to FHIR STU3 element `Consent.except.action` as `Equivalent`.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:action.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: action
  l: action

id:
  v: Extension.extension:action.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Actions controlled by this rule
definition:
  v: Actions controlled by this Rule.
comment:
  v: Note that this is the direct action (not the grounds for the action covered in the purpose element). At present, the only action in the understood and tested scope of this resource is 'read'.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: example
  description:
    v: Detailed codes for the consent action.
  value set: Uri
    v: http://hl7.org/fhir/ValueSet/consent-action|3.0.2
    l: http://hl7.org/fhir/ValueSet/consent-action

id:
  v: Extension.extension:securityLabel
path:
  v: Extension.extension
slice name:
  v: securityLabel
short:
  v: R4: Security Labels that define affected resources
definition:
  v: R4: `Consent.provision.securityLabel`
comment:
  v: Element `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.securityLabel` as `Equivalent`. Element `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.except.securityLabel` as `Equivalent`. If the consent specifies a security label of "R" then it applies to all resources that are labeled "R" or lower. E.g. for Confidentiality, it's a high water mark. For other kinds of security labels, subsumption logic applies. When the purpose of use tag is on the data, access request purpose of use shall not conflict.
requirements:
  v: Element `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.securityLabel` as `Equivalent`. Element `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.except.securityLabel` as `Equivalent`.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:securityLabel.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: securityLabel
  l: securityLabel

id:
  v: Extension.extension:securityLabel.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Security Labels that define affected resources
definition:
  v: A security label, comprised of 0..* security label fields (Privacy tags), which define which resources are controlled by this exception.
comment:
  v: If the consent specifies a security label of "R" then it applies to all resources that are labeled "R" or lower. E.g. for Confidentiality, it's a high water mark. For other kinds of security labels, subsumption logic applies. When the purpose of use tag is on the data, access request purpose of use shall not conflict.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
binding:
  strength:
    v: extensible
  description:
    v: Security Labels from the Healthcare Privacy and Security Classification System.
  value set: Uri
    v: http://hl7.org/fhir/uv/xver/ValueSet/R4-security-labels-for-R3|0.1.0
    l: http://hl7.org/fhir/uv/xver/ValueSet/R4-security-labels-for-R3

id:
  v: Extension.extension:purpose
path:
  v: Extension.extension
slice name:
  v: purpose
short:
  v: R4: Context of activities covered by this rule
definition:
  v: R4: `Consent.provision.purpose`
comment:
  v: Element `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.purpose` as `Equivalent`. Element `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.except.purpose` as `Equivalent`. When the purpose of use tag is on the data, access request purpose of use shall not conflict.
requirements:
  v: Element `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.purpose` as `Equivalent`. Element `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.except.purpose` as `Equivalent`.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:purpose.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: purpose
  l: purpose

id:
  v: Extension.extension:purpose.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Context of activities covered by this rule
definition:
  v: The context of the activities a user is taking - why the user is accessing the data - that are controlled by this rule.
comment:
  v: When the purpose of use tag is on the data, access request purpose of use shall not conflict.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
binding:
  strength:
    v: extensible
  description:
    v: What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels.
  value set: Uri
    v: http://hl7.org/fhir/uv/xver/ValueSet/R4-v3-PurposeOfUse-for-R3|0.1.0
    l: http://hl7.org/fhir/uv/xver/ValueSet/R4-v3-PurposeOfUse-for-R3

id:
  v: Extension.extension:class
path:
  v: Extension.extension
slice name:
  v: class
short:
  v: R4: e.g. Resource Type, Profile, CDA, etc.
definition:
  v: R4: `Consent.provision.class`
comment:
  v: Element `Consent.provision.class` is mapped to FHIR STU3 element `Consent.except.class` as `Equivalent`. Multiple types are or'ed together. The intention of the contentType element is that the codes refer to profiles or document types defined in a standard or an implementation guide somewhere.
requirements:
  v: Element `Consent.provision.class` is mapped to FHIR STU3 element `Consent.except.class` as `Equivalent`.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:class.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: class
  l: class

id:
  v: Extension.extension:class.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: e.g. Resource Type, Profile, CDA, etc.
definition:
  v: The class of information covered by this rule. The type can be a FHIR resource type, a profile on a type, or a CDA document, or some other type that indicates what sort of information the consent relates to.
comment:
  v: Multiple types are or'ed together. The intention of the contentType element is that the codes refer to profiles or document types defined in a standard or an implementation guide somewhere.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding

id:
  v: Extension.extension:code
path:
  v: Extension.extension
slice name:
  v: code
short:
  v: R4: e.g. LOINC or SNOMED CT code, etc. in the content additional types
definition:
  v: R4: `Consent.provision.code` additional types (CodeableConcept) additional types from child elements (text)
comment:
  v: Element `Consent.provision.code` is mapped to FHIR STU3 element `Consent.except.code` as `SourceIsBroaderThanTarget`. The mappings for `Consent.provision.code` do not cover the following types: CodeableConcept. The mappings for `Consent.provision.code` do not cover the following types based on type expansion: text. Typical use of this is a Document code with class = CDA.
requirements:
  v: Element `Consent.provision.code` is mapped to FHIR STU3 element `Consent.except.code` as `SourceIsBroaderThanTarget`. The mappings for `Consent.provision.code` do not cover the following types: CodeableConcept. The mappings for `Consent.provision.code` do not cover the following types based on type expansion: text.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:code.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: code
  l: code

id:
  v: Extension.extension:code.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: e.g. LOINC or SNOMED CT code, etc. in the content
definition:
  v: If this code is found in an instance, then the rule applies.
comment:
  v: Typical use of this is a Document code with class = CDA.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: Extension.extension:dataPeriod
path:
  v: Extension.extension
slice name:
  v: dataPeriod
short:
  v: R4: Timeframe for data controlled by this rule
definition:
  v: R4: `Consent.provision.dataPeriod`
comment:
  v: Element `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.dataPeriod` as `Equivalent`. Element `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.except.dataPeriod` as `Equivalent`. This has a different sense to the Consent.period - that is when the consent agreement holds. This is the time period of the data that is controlled by the agreement.
requirements:
  v: Element `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.dataPeriod` as `Equivalent`. Element `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.except.dataPeriod` as `Equivalent`.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:dataPeriod.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: dataPeriod
  l: dataPeriod

id:
  v: Extension.extension:dataPeriod.value[x]
path:
  v: Extension.extension.value[x]
short:
  v: Timeframe for data controlled by this rule
definition:
  v: Clinical or Operational Relevant period of time that bounds the data controlled by this rule.
comment:
  v: This has a different sense to the Consent.period - that is when the consent agreement holds. This is the time period of the data that is controlled by the agreement.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: Extension.extension:data
path:
  v: Extension.extension
slice name:
  v: data
short:
  v: R4: Data controlled by this rule
definition:
  v: R4: `Consent.provision.data`
comment:
  v: Element `Consent.provision.data` is mapped to FHIR STU3 element `Consent.data` as `Equivalent`. Element `Consent.provision.data` is mapped to FHIR STU3 element `Consent.except.data` as `Equivalent`.
requirements:
  v: Element `Consent.provision.data` is mapped to FHIR STU3 element `Consent.data` as `Equivalent`. Element `Consent.provision.data` is mapped to FHIR STU3 element `Consent.except.data` as `Equivalent`.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:data.extension
path:
  v: Extension.extension.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  ordered:
    v: false
  rules:
    v: open
min:
  v: 2
max:
  v: *
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:data.extension:meaning
path:
  v: Extension.extension.extension
slice name:
  v: meaning
short:
  v: R4: instance | related | dependents | authoredby
definition:
  v: R4: `Consent.provision.data.meaning`
comment:
  v: Element `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.data.meaning` as `Equivalent`. Element `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.except.data.meaning` as `Equivalent`.
requirements:
  v: Element `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.data.meaning` as `Equivalent`. Element `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.except.data.meaning` as `Equivalent`.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:data.extension:meaning.url
path:
  v: Extension.extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: meaning
  l: meaning

id:
  v: Extension.extension:data.extension:meaning.value[x]
path:
  v: Extension.extension.extension.value[x]
short:
  v: instance | related | dependents | authoredby
definition:
  v: How the resource reference is interpreted when testing consent restrictions.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  strength:
    v: required
  description:
    v: How a resource reference is interpreted when testing consent restrictions.
  value set: Uri
    v: http://hl7.org/fhir/ValueSet/consent-data-meaning|3.0.2
    l: http://hl7.org/fhir/ValueSet/consent-data-meaning

id:
  v: Extension.extension:data.extension:reference
path:
  v: Extension.extension.extension
slice name:
  v: reference
short:
  v: R4: The actual data reference
definition:
  v: R4: `Consent.provision.data.reference`
comment:
  v: Element `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.data.reference` as `Equivalent`. Element `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.except.data.reference` as `Equivalent`.
requirements:
  v: Element `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.data.reference` as `Equivalent`. Element `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.except.data.reference` as `Equivalent`.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:data.extension:reference.url
path:
  v: Extension.extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: reference
  l: reference

id:
  v: Extension.extension:data.extension:reference.value[x]
path:
  v: Extension.extension.extension.value[x]
short:
  v: The actual data reference
definition:
  v: A reference to a specific resource that defines which resources are covered by this consent.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/4.0/StructureDefinition/profile-Resource|0.1.0
    l: http://hl7.org/fhir/4.0/StructureDefinition/profile-Resource
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Resource
    l: Resource

id:
  v: Extension.extension:data.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: data
  l: data

id:
  v: Extension.extension:data.value[x]
path:
  v: Extension.extension.value[x]
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1

id:
  v: Extension.extension:provision
path:
  v: Extension.extension
slice name:
  v: provision
short:
  v: R4: Nested Exception Rules (new)
definition:
  v: R4: `Consent.provision.provision` (new:Consent.provision)
comment:
  v: Element `Consent.provision.provision` has a context of Consent.except based on following the parent source element upwards and mapping to `Consent`. Element `Consent.provision.provision` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
requirements:
  v: Element `Consent.provision.provision` has a context of Consent.except based on following the parent source element upwards and mapping to `Consent`. Element `Consent.provision.provision` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).
min:
  v: 0
max:
  v: *
base:
  path:
    v: Extension.extension
  min:
    v: 0
  max:
    v: *

id:
  v: Extension.extension:provision.url
path:
  v: Extension.extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: http://hl7.org/fhir/4.0/StructureDefinition/extension-Consent.provision
  l: extension-Consent.provision

id:
  v: Extension.extension:provision.value[x]
path:
  v: Extension.extension.value[x]
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1

id:
  v: Extension.url
path:
  v: Extension.url
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Extension.url
  min:
    v: 1
  max:
    v: 1
fixed: Uri
  v: http://hl7.org/fhir/4.0/StructureDefinition/extension-Consent.provision
  l: extension-Consent.provision

id:
  v: Extension.value[x]
path:
  v: Extension.value[x]
min:
  v: 0
max:
  v: 0
base:
  path:
    v: Extension.value[x]
  min:
    v: 0
  max:
    v: 1