FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.uv.xver-r4.r3
Resource TypeStructureDefinition
IdStructureDefinition-ext-R4-Consent.provision.json
FHIR VersionR3
Sourcehttp://hl7.org/fhir/uv/xver-r4.r3/0.1.0/StructureDefinition-ext-R4-Consent.provision.html
URLhttp://hl7.org/fhir/4.0/StructureDefinition/extension-Consent.provision
Version0.1.0
Statusactive
Date2026-03-17T21:02:03.8104715+00:00
NameExtensionConsent_Provision
TitleR4: Constraints to the base Consent.policyRule
Realmuv
Authorityhl7
DescriptionR4: `Consent.provision`
PurposeThis 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.
TypeExtension
Kindcomplex-type

Resources that use this resource

ConceptMap
hl7.fhir.uv.xver-r4.r3#0.1.0R4-Consent-element-map-to-R3Cross-version mapping for FHIR R4 Consent to FHIR STU3 Consent

Resources that this resource uses

StructureDefinition
hl7.fhir.uv.xver-r4.r4b#0.1.0profile-ResourceCross-version Profile for R4.Resource for use in FHIR R4B
ValueSet
hl7.fhir.uv.xver-r4.r3#0.1.0R4-security-labels-for-R3Cross-version ValueSet R4.All Security Labels for use in FHIR STU3
hl7.fhir.uv.xver-r4.r3#0.1.0R4-security-role-type-for-R3Cross-version ValueSet R4.SecurityRoleType for use in FHIR STU3
hl7.fhir.uv.xver-r4.r3#0.1.0R4-v3-PurposeOfUse-for-R3Cross-version ValueSet R4.v3.PurposeOfUse for use in FHIR STU3

Examples of Use for Extension

No extension usage examples found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition ext-R4-Consent.provision

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionR4: Constraints to the base Consent.policyRule
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... extension:type 0..1ExtensionR4: type
..... url 1..1uri"type"
..... value[x] 0..1codedeny | permit
Binding: ConsentExceptType (required): How a rule statement is applied, such as adding additional consent or removing consent.
.... extension:period 0..1ExtensionR4: Timeframe for this rule
..... url 1..1uri"period"
..... value[x] 0..1PeriodTimeframe for this rule
.... extension:actor 0..*ExtensionR4: Who|what controlled by this rule (or group, by role)
..... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:role 1..1ExtensionR4: How the actor is involved
....... url 1..1uri"role"
....... value[x] 1..1CodeableConceptHow the actor is involved
Binding: R4SecurityRoleTypeForR3 (0.1.0) (extensible): How an actor is involved in the consent considerations.
...... extension:reference 1..1ExtensionR4: Resource for the actor (or group, by role)
....... url 1..1uri"http://hl7.org/fhir/StructureDefinition/alternate-reference"
..... url 1..1uri"actor"
..... value[x] 0..0Value of extension
.... extension:action 0..*ExtensionR4: Actions controlled by this rule
..... url 1..1uri"action"
..... value[x] 0..1CodeableConceptActions controlled by this rule
Binding: Consent Action Codes (example): Detailed codes for the consent action.
.... extension:securityLabel 0..*ExtensionR4: Security Labels that define affected resources
..... url 1..1uri"securityLabel"
..... value[x] 0..1CodingSecurity Labels that define affected resources
Binding: R4SecurityLabelsForR3 (0.1.0) (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... extension:purpose 0..*ExtensionR4: Context of activities covered by this rule
..... url 1..1uri"purpose"
..... value[x] 0..1CodingContext of activities covered by this rule
Binding: R4V3PurposeOfUseForR3 (0.1.0) (extensible): What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels.
.... extension:class 0..*ExtensionR4: e.g. Resource Type, Profile, CDA, etc.
..... url 1..1uri"class"
..... value[x] 0..1Codinge.g. Resource Type, Profile, CDA, etc.
.... extension:code 0..*ExtensionR4: e.g. LOINC or SNOMED CT code, etc. in the content additional types
..... url 1..1uri"code"
..... value[x] 0..1CodeableConcepte.g. LOINC or SNOMED CT code, etc. in the content
.... extension:dataPeriod 0..1ExtensionR4: Timeframe for data controlled by this rule
..... url 1..1uri"dataPeriod"
..... value[x] 0..1PeriodTimeframe for data controlled by this rule
.... extension:data 0..*ExtensionR4: Data controlled by this rule
..... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:meaning 1..1ExtensionR4: instance | related | dependents | authoredby
....... url 1..1uri"meaning"
....... value[x] 1..1codeinstance | related | dependents | authoredby
Binding: ConsentDataMeaning (required): How a resource reference is interpreted when testing consent restrictions.
...... extension:reference 1..1ExtensionR4: The actual data reference
....... url 1..1uri"reference"
....... value[x] 1..1Reference(Cross-version Profile for R4.Resource for use in FHIR STU3(0.1.0) | Resource)The actual data reference
..... url 1..1uri"data"
..... value[x] 0..0Value of extension
.... extension:provision 0..*ExtensionR4: Nested Exception Rules (new)
..... url 1..1uri"http://hl7.org/fhir/4.0/StructureDefinition/extension-Consent.provision"
..... value[x] 0..0Value of extension
... url 1..1uri"http://hl7.org/fhir/4.0/StructureDefinition/extension-Consent.provision"
... value[x] 0..0Value of extension

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "ext-R4-Consent.provision",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "fhir"
    },
    {
      "extension": [
        {
          "url": "packageId",
          "valueId": "hl7.fhir.uv.xver-r4.r3"
        },
        {
          "url": "version",
          "valueString": "0.1.0"
        },
        {
          "url": "uri",
          "valueUri": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r3"
        }
      ],
      "url": "http://hl7.org/fhir/StructureDefinition/package-source"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger": 0,
      "_valueInteger": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueUri": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r3"
          }
        ]
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "trial-use",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueUri": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r3"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/4.0/StructureDefinition/extension-Consent.provision",
  "version": "0.1.0",
  "name": "ExtensionConsent_Provision",
  "title": "R4: Constraints to the base Consent.policyRule",
  "status": "active",
  "experimental": false,
  "date": "2026-03-17T21:02:03.8104715+00:00",
  "publisher": "FHIR Infrastructure",
  "contact": [
    {
      "name": "FHIR Infrastructure",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description": "R4: `Consent.provision`",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001",
          "display": "World"
        }
      ]
    }
  ],
  "purpose": "This extension is part of the cross-version definitions generated to enable use of the\r\nelement `Consent.provision` as defined in FHIR R4\r\nin FHIR STU3.\r\n\r\nThe source element is defined as:\r\n`Consent.provision` 0..1 `BackboneElement`\r\n\r\nFollowing are the generation technical comments:\r\nElement `Consent.provision` is mapped to FHIR STU3 element `Consent.except` as `SourceIsNarrowerThanTarget`.\nCreating extension because element `Consent.provision` is a content reference and requires an extesion definition.",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Consent.except"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "snapshot": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "R4: Constraints to the base Consent.policyRule",
        "definition": "R4: `Consent.provision`",
        "comment": "Element `Consent.provision` is mapped to FHIR STU3 element `Consent.except` as `SourceIsNarrowerThanTarget`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension",
          "min": 0,
          "max": "*"
        },
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() | (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false
      },
      {
        "id": "Extension.id",
        "path": "Extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:type",
        "path": "Extension.extension",
        "sliceName": "type",
        "short": "R4: type",
        "definition": "R4: `Consent.provision.type`",
        "comment": "Element `Consent.provision.type` is mapped to FHIR STU3 element `Consent.except.type` as `Equivalent`.",
        "requirements": "Element `Consent.provision.type` is mapped to FHIR STU3 element `Consent.except.type` as `Equivalent`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:type.id",
        "path": "Extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:type.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:type.url",
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "type",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:type.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "deny | permit",
        "definition": "Action  to take - permit or deny - when the rule conditions are met.  Not permitted in root rule, required in all nested rules.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "How a rule statement is applied, such as adding additional consent or removing consent.",
          "valueSetUri": "http://hl7.org/fhir/ValueSet/consent-except-type|3.0.2"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:period",
        "path": "Extension.extension",
        "sliceName": "period",
        "short": "R4: Timeframe for this rule",
        "definition": "R4: `Consent.provision.period`",
        "comment": "Element `Consent.provision.period` is mapped to FHIR STU3 element `Consent.except.period` as `Equivalent`.",
        "requirements": "Element `Consent.provision.period` is mapped to FHIR STU3 element `Consent.except.period` as `Equivalent`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:period.id",
        "path": "Extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:period.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:period.url",
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "period",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:period.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Timeframe for this rule",
        "definition": "The timeframe in this rule is valid.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:actor",
        "path": "Extension.extension",
        "sliceName": "actor",
        "short": "R4: Who|what controlled by this rule (or group, by role)",
        "definition": "R4: `Consent.provision.actor`",
        "comment": "Element `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.actor` as `Equivalent`.\nElement `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.except.actor` as `Equivalent`.",
        "requirements": "Element `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.actor` as `Equivalent`.\nElement `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.except.actor` as `Equivalent`.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:actor.id",
        "path": "Extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:actor.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 2,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:actor.extension:role",
        "path": "Extension.extension.extension",
        "sliceName": "role",
        "short": "R4: How the actor is involved",
        "definition": "R4: `Consent.provision.actor.role`",
        "comment": "Element `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.actor.role` as `Equivalent`.\nElement `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.except.actor.role` as `Equivalent`.",
        "requirements": "Element `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.actor.role` as `Equivalent`.\nElement `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.except.actor.role` as `Equivalent`.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:actor.extension:role.id",
        "path": "Extension.extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:actor.extension:role.extension",
        "path": "Extension.extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:actor.extension:role.url",
        "path": "Extension.extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "role",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:actor.extension:role.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "short": "How the actor is involved",
        "definition": "How the individual is involved in the resources content that is described in the exception.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "How an actor is involved in the consent considerations.",
          "valueSetUri": "http://hl7.org/fhir/uv/xver/ValueSet/R4-security-role-type-for-R3|0.1.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:actor.extension:reference",
        "path": "Extension.extension.extension",
        "sliceName": "reference",
        "short": "R4: Resource for the actor (or group, by role)",
        "definition": "R4: `Consent.provision.actor.reference`",
        "comment": "Element `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.actor.reference` as `SourceIsBroaderThanTarget`.\nElement `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.except.actor.reference` as `SourceIsBroaderThanTarget`.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR R4 element `Consent.provision.actor.reference` with unmapped reference targets: PractitionerRole.",
        "requirements": "Element `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.actor.reference` as `SourceIsBroaderThanTarget`.\nElement `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.except.actor.reference` as `SourceIsBroaderThanTarget`.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR R4 element `Consent.provision.actor.reference` with unmapped reference targets: PractitionerRole.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:actor.extension:reference.id",
        "path": "Extension.extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:actor.extension:reference.extension",
        "path": "Extension.extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:actor.extension:reference.url",
        "path": "Extension.extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/alternate-reference",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:actor.extension:reference.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "short": "Value of extension",
        "definition": "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": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "base64Binary"
          },
          {
            "code": "boolean"
          },
          {
            "code": "code"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "decimal"
          },
          {
            "code": "id"
          },
          {
            "code": "instant"
          },
          {
            "code": "integer"
          },
          {
            "code": "markdown"
          },
          {
            "code": "oid"
          },
          {
            "code": "positiveInt"
          },
          {
            "code": "string"
          },
          {
            "code": "time"
          },
          {
            "code": "unsignedInt"
          },
          {
            "code": "uri"
          },
          {
            "code": "Address"
          },
          {
            "code": "Age"
          },
          {
            "code": "Annotation"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Coding"
          },
          {
            "code": "ContactPoint"
          },
          {
            "code": "Count"
          },
          {
            "code": "Distance"
          },
          {
            "code": "Duration"
          },
          {
            "code": "HumanName"
          },
          {
            "code": "Identifier"
          },
          {
            "code": "Money"
          },
          {
            "code": "Period"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          },
          {
            "code": "Ratio"
          },
          {
            "code": "Reference"
          },
          {
            "code": "SampledData"
          },
          {
            "code": "Signature"
          },
          {
            "code": "Timing"
          },
          {
            "code": "Meta"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:actor.url",
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "actor",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:actor.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Value of extension",
        "definition": "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": 0,
        "max": "0",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "base64Binary"
          },
          {
            "code": "boolean"
          },
          {
            "code": "code"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "decimal"
          },
          {
            "code": "id"
          },
          {
            "code": "instant"
          },
          {
            "code": "integer"
          },
          {
            "code": "markdown"
          },
          {
            "code": "oid"
          },
          {
            "code": "positiveInt"
          },
          {
            "code": "string"
          },
          {
            "code": "time"
          },
          {
            "code": "unsignedInt"
          },
          {
            "code": "uri"
          },
          {
            "code": "Address"
          },
          {
            "code": "Age"
          },
          {
            "code": "Annotation"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Coding"
          },
          {
            "code": "ContactPoint"
          },
          {
            "code": "Count"
          },
          {
            "code": "Distance"
          },
          {
            "code": "Duration"
          },
          {
            "code": "HumanName"
          },
          {
            "code": "Identifier"
          },
          {
            "code": "Money"
          },
          {
            "code": "Period"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          },
          {
            "code": "Ratio"
          },
          {
            "code": "Reference"
          },
          {
            "code": "SampledData"
          },
          {
            "code": "Signature"
          },
          {
            "code": "Timing"
          },
          {
            "code": "Meta"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:action",
        "path": "Extension.extension",
        "sliceName": "action",
        "short": "R4: Actions controlled by this rule",
        "definition": "R4: `Consent.provision.action`",
        "comment": "Element `Consent.provision.action` is mapped to FHIR STU3 element `Consent.action` as `Equivalent`.\nElement `Consent.provision.action` is mapped to FHIR STU3 element `Consent.except.action` as `Equivalent`.\nNote 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": "Element `Consent.provision.action` is mapped to FHIR STU3 element `Consent.action` as `Equivalent`.\nElement `Consent.provision.action` is mapped to FHIR STU3 element `Consent.except.action` as `Equivalent`.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:action.id",
        "path": "Extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:action.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:action.url",
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "action",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:action.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Actions controlled by this rule",
        "definition": "Actions controlled by this Rule.",
        "comment": "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": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Detailed codes for the consent action.",
          "valueSetUri": "http://hl7.org/fhir/ValueSet/consent-action|3.0.2"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:securityLabel",
        "path": "Extension.extension",
        "sliceName": "securityLabel",
        "short": "R4: Security Labels that define affected resources",
        "definition": "R4: `Consent.provision.securityLabel`",
        "comment": "Element `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.securityLabel` as `Equivalent`.\nElement `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.except.securityLabel` as `Equivalent`.\nIf 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": "Element `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.securityLabel` as `Equivalent`.\nElement `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.except.securityLabel` as `Equivalent`.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:securityLabel.id",
        "path": "Extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:securityLabel.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:securityLabel.url",
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "securityLabel",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:securityLabel.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Security Labels that define affected resources",
        "definition": "A security label, comprised of 0..* security label fields (Privacy tags), which define which resources are controlled by this exception.",
        "comment": "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": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "Security Labels from the Healthcare Privacy and Security Classification System.",
          "valueSetUri": "http://hl7.org/fhir/uv/xver/ValueSet/R4-security-labels-for-R3|0.1.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:purpose",
        "path": "Extension.extension",
        "sliceName": "purpose",
        "short": "R4: Context of activities covered by this rule",
        "definition": "R4: `Consent.provision.purpose`",
        "comment": "Element `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.purpose` as `Equivalent`.\nElement `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.except.purpose` as `Equivalent`.\nWhen the purpose of use tag is on the data, access request purpose of use shall not conflict.",
        "requirements": "Element `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.purpose` as `Equivalent`.\nElement `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.except.purpose` as `Equivalent`.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:purpose.id",
        "path": "Extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:purpose.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:purpose.url",
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "purpose",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:purpose.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Context of activities covered by this rule",
        "definition": "The context of the activities a user is taking - why the user is accessing the data - that are controlled by this rule.",
        "comment": "When the purpose of use tag is on the data, access request purpose of use shall not conflict.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels.",
          "valueSetUri": "http://hl7.org/fhir/uv/xver/ValueSet/R4-v3-PurposeOfUse-for-R3|0.1.0"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:class",
        "path": "Extension.extension",
        "sliceName": "class",
        "short": "R4: e.g. Resource Type, Profile, CDA, etc.",
        "definition": "R4: `Consent.provision.class`",
        "comment": "Element `Consent.provision.class` is mapped to FHIR STU3 element `Consent.except.class` as `Equivalent`.\nMultiple 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": "Element `Consent.provision.class` is mapped to FHIR STU3 element `Consent.except.class` as `Equivalent`.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:class.id",
        "path": "Extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:class.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:class.url",
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "class",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:class.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "e.g. Resource Type, Profile, CDA, etc.",
        "definition": "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": "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": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:code",
        "path": "Extension.extension",
        "sliceName": "code",
        "short": "R4: e.g. LOINC or SNOMED CT code, etc. in the content additional types",
        "definition": "R4: `Consent.provision.code` additional types (CodeableConcept) additional types from child elements (text)",
        "comment": "Element `Consent.provision.code` is mapped to FHIR STU3 element `Consent.except.code` as `SourceIsBroaderThanTarget`.\nThe mappings for `Consent.provision.code` do not cover the following types: CodeableConcept.\nThe mappings for `Consent.provision.code` do not cover the following types based on type expansion: text.\nTypical use of this is a Document code with class = CDA.",
        "requirements": "Element `Consent.provision.code` is mapped to FHIR STU3 element `Consent.except.code` as `SourceIsBroaderThanTarget`.\nThe mappings for `Consent.provision.code` do not cover the following types: CodeableConcept.\nThe mappings for `Consent.provision.code` do not cover the following types based on type expansion: text.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:code.id",
        "path": "Extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:code.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:code.url",
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "code",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:code.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "e.g. LOINC or SNOMED CT code, etc. in the content",
        "definition": "If this code is found in an instance, then the rule applies.",
        "comment": "Typical use of this is a Document code with class = CDA.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:dataPeriod",
        "path": "Extension.extension",
        "sliceName": "dataPeriod",
        "short": "R4: Timeframe for data controlled by this rule",
        "definition": "R4: `Consent.provision.dataPeriod`",
        "comment": "Element `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.dataPeriod` as `Equivalent`.\nElement `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.except.dataPeriod` as `Equivalent`.\nThis 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": "Element `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.dataPeriod` as `Equivalent`.\nElement `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.except.dataPeriod` as `Equivalent`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:dataPeriod.id",
        "path": "Extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:dataPeriod.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:dataPeriod.url",
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "dataPeriod",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:dataPeriod.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Timeframe for data controlled by this rule",
        "definition": "Clinical or Operational Relevant period of time that bounds the data controlled by this rule.",
        "comment": "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": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data",
        "path": "Extension.extension",
        "sliceName": "data",
        "short": "R4: Data controlled by this rule",
        "definition": "R4: `Consent.provision.data`",
        "comment": "Element `Consent.provision.data` is mapped to FHIR STU3 element `Consent.data` as `Equivalent`.\nElement `Consent.provision.data` is mapped to FHIR STU3 element `Consent.except.data` as `Equivalent`.",
        "requirements": "Element `Consent.provision.data` is mapped to FHIR STU3 element `Consent.data` as `Equivalent`.\nElement `Consent.provision.data` is mapped to FHIR STU3 element `Consent.except.data` as `Equivalent`.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:data.id",
        "path": "Extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "ordered": false,
          "rules": "open"
        },
        "short": "Extension",
        "definition": "An Extension",
        "min": 2,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:meaning",
        "path": "Extension.extension.extension",
        "sliceName": "meaning",
        "short": "R4: instance | related | dependents | authoredby",
        "definition": "R4: `Consent.provision.data.meaning`",
        "comment": "Element `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.data.meaning` as `Equivalent`.\nElement `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.except.data.meaning` as `Equivalent`.",
        "requirements": "Element `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.data.meaning` as `Equivalent`.\nElement `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.except.data.meaning` as `Equivalent`.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:meaning.id",
        "path": "Extension.extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:meaning.extension",
        "path": "Extension.extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:meaning.url",
        "path": "Extension.extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "meaning",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:meaning.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "short": "instance | related | dependents | authoredby",
        "definition": "How the resource reference is interpreted when testing consent restrictions.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "How a resource reference is interpreted when testing consent restrictions.",
          "valueSetUri": "http://hl7.org/fhir/ValueSet/consent-data-meaning|3.0.2"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:reference",
        "path": "Extension.extension.extension",
        "sliceName": "reference",
        "short": "R4: The actual data reference",
        "definition": "R4: `Consent.provision.data.reference`",
        "comment": "Element `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.data.reference` as `Equivalent`.\nElement `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.except.data.reference` as `Equivalent`.",
        "requirements": "Element `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.data.reference` as `Equivalent`.\nElement `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.except.data.reference` as `Equivalent`.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:reference.id",
        "path": "Extension.extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:reference.extension",
        "path": "Extension.extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:reference.url",
        "path": "Extension.extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "reference",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:reference.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "short": "The actual data reference",
        "definition": "A reference to a specific resource that defines which resources are covered by this consent.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/4.0/StructureDefinition/profile-Resource|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.url",
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "data",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Value of extension",
        "definition": "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": 0,
        "max": "0",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "base64Binary"
          },
          {
            "code": "boolean"
          },
          {
            "code": "code"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "decimal"
          },
          {
            "code": "id"
          },
          {
            "code": "instant"
          },
          {
            "code": "integer"
          },
          {
            "code": "markdown"
          },
          {
            "code": "oid"
          },
          {
            "code": "positiveInt"
          },
          {
            "code": "string"
          },
          {
            "code": "time"
          },
          {
            "code": "unsignedInt"
          },
          {
            "code": "uri"
          },
          {
            "code": "Address"
          },
          {
            "code": "Age"
          },
          {
            "code": "Annotation"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Coding"
          },
          {
            "code": "ContactPoint"
          },
          {
            "code": "Count"
          },
          {
            "code": "Distance"
          },
          {
            "code": "Duration"
          },
          {
            "code": "HumanName"
          },
          {
            "code": "Identifier"
          },
          {
            "code": "Money"
          },
          {
            "code": "Period"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          },
          {
            "code": "Ratio"
          },
          {
            "code": "Reference"
          },
          {
            "code": "SampledData"
          },
          {
            "code": "Signature"
          },
          {
            "code": "Timing"
          },
          {
            "code": "Meta"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:provision",
        "path": "Extension.extension",
        "sliceName": "provision",
        "short": "R4: Nested Exception Rules (new)",
        "definition": "R4: `Consent.provision.provision` (new:Consent.provision)",
        "comment": "Element `Consent.provision.provision` has a context of Consent.except based on following the parent source element upwards and mapping to `Consent`.\nElement `Consent.provision.provision` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Consent.provision.provision` has a context of Consent.except based on following the parent source element upwards and mapping to `Consent`.\nElement `Consent.provision.provision` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:provision.id",
        "path": "Extension.extension.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "xml:id (or equivalent in JSON)",
        "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:provision.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional Content defined by implementations",
        "definition": "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": "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": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "Extension.extension:provision.url",
        "path": "Extension.extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://hl7.org/fhir/4.0/StructureDefinition/extension-Consent.provision",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:provision.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Value of extension",
        "definition": "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": 0,
        "max": "0",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "base64Binary"
          },
          {
            "code": "boolean"
          },
          {
            "code": "code"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "decimal"
          },
          {
            "code": "id"
          },
          {
            "code": "instant"
          },
          {
            "code": "integer"
          },
          {
            "code": "markdown"
          },
          {
            "code": "oid"
          },
          {
            "code": "positiveInt"
          },
          {
            "code": "string"
          },
          {
            "code": "time"
          },
          {
            "code": "unsignedInt"
          },
          {
            "code": "uri"
          },
          {
            "code": "Address"
          },
          {
            "code": "Age"
          },
          {
            "code": "Annotation"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Coding"
          },
          {
            "code": "ContactPoint"
          },
          {
            "code": "Count"
          },
          {
            "code": "Distance"
          },
          {
            "code": "Duration"
          },
          {
            "code": "HumanName"
          },
          {
            "code": "Identifier"
          },
          {
            "code": "Money"
          },
          {
            "code": "Period"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          },
          {
            "code": "Ratio"
          },
          {
            "code": "Reference"
          },
          {
            "code": "SampledData"
          },
          {
            "code": "Signature"
          },
          {
            "code": "Timing"
          },
          {
            "code": "Meta"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "representation": [
          "xmlAttr"
        ],
        "short": "identifies the meaning of the extension",
        "definition": "Source of the definition for the extension code - a logical name or a URL.",
        "comment": "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": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "fixedUri": "http://hl7.org/fhir/4.0/StructureDefinition/extension-Consent.provision",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "short": "Value of extension",
        "definition": "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": 0,
        "max": "0",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "base64Binary"
          },
          {
            "code": "boolean"
          },
          {
            "code": "code"
          },
          {
            "code": "date"
          },
          {
            "code": "dateTime"
          },
          {
            "code": "decimal"
          },
          {
            "code": "id"
          },
          {
            "code": "instant"
          },
          {
            "code": "integer"
          },
          {
            "code": "markdown"
          },
          {
            "code": "oid"
          },
          {
            "code": "positiveInt"
          },
          {
            "code": "string"
          },
          {
            "code": "time"
          },
          {
            "code": "unsignedInt"
          },
          {
            "code": "uri"
          },
          {
            "code": "Address"
          },
          {
            "code": "Age"
          },
          {
            "code": "Annotation"
          },
          {
            "code": "Attachment"
          },
          {
            "code": "CodeableConcept"
          },
          {
            "code": "Coding"
          },
          {
            "code": "ContactPoint"
          },
          {
            "code": "Count"
          },
          {
            "code": "Distance"
          },
          {
            "code": "Duration"
          },
          {
            "code": "HumanName"
          },
          {
            "code": "Identifier"
          },
          {
            "code": "Money"
          },
          {
            "code": "Period"
          },
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          },
          {
            "code": "Ratio"
          },
          {
            "code": "Reference"
          },
          {
            "code": "SampledData"
          },
          {
            "code": "Signature"
          },
          {
            "code": "Timing"
          },
          {
            "code": "Meta"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "R4: Constraints to the base Consent.policyRule",
        "definition": "R4: `Consent.provision`",
        "comment": "Element `Consent.provision` is mapped to FHIR STU3 element `Consent.except` as `SourceIsNarrowerThanTarget`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension",
          "min": 0,
          "max": "*"
        },
        "isModifier": false
      },
      {
        "id": "Extension.extension",
        "path": "Extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 0,
        "max": "*",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:type",
        "path": "Extension.extension",
        "sliceName": "type",
        "short": "R4: type",
        "definition": "R4: `Consent.provision.type`",
        "comment": "Element `Consent.provision.type` is mapped to FHIR STU3 element `Consent.except.type` as `Equivalent`.",
        "requirements": "Element `Consent.provision.type` is mapped to FHIR STU3 element `Consent.except.type` as `Equivalent`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:type.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "type"
      },
      {
        "id": "Extension.extension:type.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "deny | permit",
        "definition": "Action  to take - permit or deny - when the rule conditions are met.  Not permitted in root rule, required in all nested rules.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "How a rule statement is applied, such as adding additional consent or removing consent.",
          "valueSetUri": "http://hl7.org/fhir/ValueSet/consent-except-type|3.0.2"
        }
      },
      {
        "id": "Extension.extension:period",
        "path": "Extension.extension",
        "sliceName": "period",
        "short": "R4: Timeframe for this rule",
        "definition": "R4: `Consent.provision.period`",
        "comment": "Element `Consent.provision.period` is mapped to FHIR STU3 element `Consent.except.period` as `Equivalent`.",
        "requirements": "Element `Consent.provision.period` is mapped to FHIR STU3 element `Consent.except.period` as `Equivalent`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:period.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "period"
      },
      {
        "id": "Extension.extension:period.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Timeframe for this rule",
        "definition": "The timeframe in this rule is valid.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "Extension.extension:actor",
        "path": "Extension.extension",
        "sliceName": "actor",
        "short": "R4: Who|what controlled by this rule (or group, by role)",
        "definition": "R4: `Consent.provision.actor`",
        "comment": "Element `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.actor` as `Equivalent`.\nElement `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.except.actor` as `Equivalent`.",
        "requirements": "Element `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.actor` as `Equivalent`.\nElement `Consent.provision.actor` is mapped to FHIR STU3 element `Consent.except.actor` as `Equivalent`.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:actor.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 2,
        "max": "*",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:actor.extension:role",
        "path": "Extension.extension.extension",
        "sliceName": "role",
        "short": "R4: How the actor is involved",
        "definition": "R4: `Consent.provision.actor.role`",
        "comment": "Element `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.actor.role` as `Equivalent`.\nElement `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.except.actor.role` as `Equivalent`.",
        "requirements": "Element `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.actor.role` as `Equivalent`.\nElement `Consent.provision.actor.role` is mapped to FHIR STU3 element `Consent.except.actor.role` as `Equivalent`.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:actor.extension:role.url",
        "path": "Extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "role"
      },
      {
        "id": "Extension.extension:actor.extension:role.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "short": "How the actor is involved",
        "definition": "How the individual is involved in the resources content that is described in the exception.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "How an actor is involved in the consent considerations.",
          "valueSetUri": "http://hl7.org/fhir/uv/xver/ValueSet/R4-security-role-type-for-R3|0.1.0"
        }
      },
      {
        "id": "Extension.extension:actor.extension:reference",
        "path": "Extension.extension.extension",
        "sliceName": "reference",
        "short": "R4: Resource for the actor (or group, by role)",
        "definition": "R4: `Consent.provision.actor.reference`",
        "comment": "Element `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.actor.reference` as `SourceIsBroaderThanTarget`.\nElement `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.except.actor.reference` as `SourceIsBroaderThanTarget`.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR R4 element `Consent.provision.actor.reference` with unmapped reference targets: PractitionerRole.",
        "requirements": "Element `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.actor.reference` as `SourceIsBroaderThanTarget`.\nElement `Consent.provision.actor.reference` is mapped to FHIR STU3 element `Consent.except.actor.reference` as `SourceIsBroaderThanTarget`.\nThe standard extension `alternate-reference` has been mapped as the representation of FHIR R4 element `Consent.provision.actor.reference` with unmapped reference targets: PractitionerRole.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:actor.extension:reference.url",
        "path": "Extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/alternate-reference"
      },
      {
        "id": "Extension.extension:actor.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "actor"
      },
      {
        "id": "Extension.extension:actor.value[x]",
        "path": "Extension.extension.value[x]",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Extension.extension:action",
        "path": "Extension.extension",
        "sliceName": "action",
        "short": "R4: Actions controlled by this rule",
        "definition": "R4: `Consent.provision.action`",
        "comment": "Element `Consent.provision.action` is mapped to FHIR STU3 element `Consent.action` as `Equivalent`.\nElement `Consent.provision.action` is mapped to FHIR STU3 element `Consent.except.action` as `Equivalent`.\nNote 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": "Element `Consent.provision.action` is mapped to FHIR STU3 element `Consent.action` as `Equivalent`.\nElement `Consent.provision.action` is mapped to FHIR STU3 element `Consent.except.action` as `Equivalent`.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:action.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "action"
      },
      {
        "id": "Extension.extension:action.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Actions controlled by this rule",
        "definition": "Actions controlled by this Rule.",
        "comment": "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": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Detailed codes for the consent action.",
          "valueSetUri": "http://hl7.org/fhir/ValueSet/consent-action|3.0.2"
        }
      },
      {
        "id": "Extension.extension:securityLabel",
        "path": "Extension.extension",
        "sliceName": "securityLabel",
        "short": "R4: Security Labels that define affected resources",
        "definition": "R4: `Consent.provision.securityLabel`",
        "comment": "Element `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.securityLabel` as `Equivalent`.\nElement `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.except.securityLabel` as `Equivalent`.\nIf 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": "Element `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.securityLabel` as `Equivalent`.\nElement `Consent.provision.securityLabel` is mapped to FHIR STU3 element `Consent.except.securityLabel` as `Equivalent`.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:securityLabel.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "securityLabel"
      },
      {
        "id": "Extension.extension:securityLabel.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Security Labels that define affected resources",
        "definition": "A security label, comprised of 0..* security label fields (Privacy tags), which define which resources are controlled by this exception.",
        "comment": "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": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "Security Labels from the Healthcare Privacy and Security Classification System.",
          "valueSetUri": "http://hl7.org/fhir/uv/xver/ValueSet/R4-security-labels-for-R3|0.1.0"
        }
      },
      {
        "id": "Extension.extension:purpose",
        "path": "Extension.extension",
        "sliceName": "purpose",
        "short": "R4: Context of activities covered by this rule",
        "definition": "R4: `Consent.provision.purpose`",
        "comment": "Element `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.purpose` as `Equivalent`.\nElement `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.except.purpose` as `Equivalent`.\nWhen the purpose of use tag is on the data, access request purpose of use shall not conflict.",
        "requirements": "Element `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.purpose` as `Equivalent`.\nElement `Consent.provision.purpose` is mapped to FHIR STU3 element `Consent.except.purpose` as `Equivalent`.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:purpose.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "purpose"
      },
      {
        "id": "Extension.extension:purpose.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Context of activities covered by this rule",
        "definition": "The context of the activities a user is taking - why the user is accessing the data - that are controlled by this rule.",
        "comment": "When the purpose of use tag is on the data, access request purpose of use shall not conflict.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels.",
          "valueSetUri": "http://hl7.org/fhir/uv/xver/ValueSet/R4-v3-PurposeOfUse-for-R3|0.1.0"
        }
      },
      {
        "id": "Extension.extension:class",
        "path": "Extension.extension",
        "sliceName": "class",
        "short": "R4: e.g. Resource Type, Profile, CDA, etc.",
        "definition": "R4: `Consent.provision.class`",
        "comment": "Element `Consent.provision.class` is mapped to FHIR STU3 element `Consent.except.class` as `Equivalent`.\nMultiple 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": "Element `Consent.provision.class` is mapped to FHIR STU3 element `Consent.except.class` as `Equivalent`.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:class.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "class"
      },
      {
        "id": "Extension.extension:class.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "e.g. Resource Type, Profile, CDA, etc.",
        "definition": "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": "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": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Coding"
          }
        ]
      },
      {
        "id": "Extension.extension:code",
        "path": "Extension.extension",
        "sliceName": "code",
        "short": "R4: e.g. LOINC or SNOMED CT code, etc. in the content additional types",
        "definition": "R4: `Consent.provision.code` additional types (CodeableConcept) additional types from child elements (text)",
        "comment": "Element `Consent.provision.code` is mapped to FHIR STU3 element `Consent.except.code` as `SourceIsBroaderThanTarget`.\nThe mappings for `Consent.provision.code` do not cover the following types: CodeableConcept.\nThe mappings for `Consent.provision.code` do not cover the following types based on type expansion: text.\nTypical use of this is a Document code with class = CDA.",
        "requirements": "Element `Consent.provision.code` is mapped to FHIR STU3 element `Consent.except.code` as `SourceIsBroaderThanTarget`.\nThe mappings for `Consent.provision.code` do not cover the following types: CodeableConcept.\nThe mappings for `Consent.provision.code` do not cover the following types based on type expansion: text.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:code.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "code"
      },
      {
        "id": "Extension.extension:code.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "e.g. LOINC or SNOMED CT code, etc. in the content",
        "definition": "If this code is found in an instance, then the rule applies.",
        "comment": "Typical use of this is a Document code with class = CDA.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Extension.extension:dataPeriod",
        "path": "Extension.extension",
        "sliceName": "dataPeriod",
        "short": "R4: Timeframe for data controlled by this rule",
        "definition": "R4: `Consent.provision.dataPeriod`",
        "comment": "Element `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.dataPeriod` as `Equivalent`.\nElement `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.except.dataPeriod` as `Equivalent`.\nThis 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": "Element `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.dataPeriod` as `Equivalent`.\nElement `Consent.provision.dataPeriod` is mapped to FHIR STU3 element `Consent.except.dataPeriod` as `Equivalent`.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:dataPeriod.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "dataPeriod"
      },
      {
        "id": "Extension.extension:dataPeriod.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "Timeframe for data controlled by this rule",
        "definition": "Clinical or Operational Relevant period of time that bounds the data controlled by this rule.",
        "comment": "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": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "Extension.extension:data",
        "path": "Extension.extension",
        "sliceName": "data",
        "short": "R4: Data controlled by this rule",
        "definition": "R4: `Consent.provision.data`",
        "comment": "Element `Consent.provision.data` is mapped to FHIR STU3 element `Consent.data` as `Equivalent`.\nElement `Consent.provision.data` is mapped to FHIR STU3 element `Consent.except.data` as `Equivalent`.",
        "requirements": "Element `Consent.provision.data` is mapped to FHIR STU3 element `Consent.data` as `Equivalent`.\nElement `Consent.provision.data` is mapped to FHIR STU3 element `Consent.except.data` as `Equivalent`.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:data.extension",
        "path": "Extension.extension.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "ordered": false,
          "rules": "open"
        },
        "min": 2,
        "max": "*",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:data.extension:meaning",
        "path": "Extension.extension.extension",
        "sliceName": "meaning",
        "short": "R4: instance | related | dependents | authoredby",
        "definition": "R4: `Consent.provision.data.meaning`",
        "comment": "Element `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.data.meaning` as `Equivalent`.\nElement `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.except.data.meaning` as `Equivalent`.",
        "requirements": "Element `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.data.meaning` as `Equivalent`.\nElement `Consent.provision.data.meaning` is mapped to FHIR STU3 element `Consent.except.data.meaning` as `Equivalent`.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:data.extension:meaning.url",
        "path": "Extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "meaning"
      },
      {
        "id": "Extension.extension:data.extension:meaning.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "short": "instance | related | dependents | authoredby",
        "definition": "How the resource reference is interpreted when testing consent restrictions.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "How a resource reference is interpreted when testing consent restrictions.",
          "valueSetUri": "http://hl7.org/fhir/ValueSet/consent-data-meaning|3.0.2"
        }
      },
      {
        "id": "Extension.extension:data.extension:reference",
        "path": "Extension.extension.extension",
        "sliceName": "reference",
        "short": "R4: The actual data reference",
        "definition": "R4: `Consent.provision.data.reference`",
        "comment": "Element `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.data.reference` as `Equivalent`.\nElement `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.except.data.reference` as `Equivalent`.",
        "requirements": "Element `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.data.reference` as `Equivalent`.\nElement `Consent.provision.data.reference` is mapped to FHIR STU3 element `Consent.except.data.reference` as `Equivalent`.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:data.extension:reference.url",
        "path": "Extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "reference"
      },
      {
        "id": "Extension.extension:data.extension:reference.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "short": "The actual data reference",
        "definition": "A reference to a specific resource that defines which resources are covered by this consent.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/4.0/StructureDefinition/profile-Resource|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ]
      },
      {
        "id": "Extension.extension:data.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "data"
      },
      {
        "id": "Extension.extension:data.value[x]",
        "path": "Extension.extension.value[x]",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Extension.extension:provision",
        "path": "Extension.extension",
        "sliceName": "provision",
        "short": "R4: Nested Exception Rules (new)",
        "definition": "R4: `Consent.provision.provision` (new:Consent.provision)",
        "comment": "Element `Consent.provision.provision` has a context of Consent.except based on following the parent source element upwards and mapping to `Consent`.\nElement `Consent.provision.provision` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Consent.provision.provision` has a context of Consent.except based on following the parent source element upwards and mapping to `Consent`.\nElement `Consent.provision.provision` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:provision.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "http://hl7.org/fhir/4.0/StructureDefinition/extension-Consent.provision"
      },
      {
        "id": "Extension.extension:provision.value[x]",
        "path": "Extension.extension.value[x]",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "http://hl7.org/fhir/4.0/StructureDefinition/extension-Consent.provision"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        }
      }
    ]
  }
}