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

FHIR IG analytics

Packagehl7.fhir.uv.xver-r5.r3
Resource TypeStructureDefinition
IdStructureDefinition-ext-R5-Permission.rule.json
FHIR VersionR3

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

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

Generated Narrative: StructureDefinition ext-R5-Permission.rule

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension ?!0..*ExtensionR5: Constraints to the Permission (new)
This is a modifier extension
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... extension:type 0..1ExtensionR5: deny | permit (new)
..... url 1..1uri"type"
..... value[x] 0..1codedeny | permit
Binding: ConsentExceptType (required): How a rule statement is applied.
.... extension:data 0..*ExtensionR5: The selection criteria to identify data that is within scope of this provision (new)
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:resource 0..*ExtensionR5: Explicit FHIR Resource references (new)
....... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
........ extension:meaning 1..1ExtensionR5: instance | related | dependents | authoredby (new)
......... 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..1ExtensionR5: The actual data reference (new)
......... url 1..1uri"reference"
......... value[x] 1..1Reference(Cross-version Profile for R5.Resource for use in FHIR STU3(0.1.0) | Resource)The actual data reference
....... url 1..1uri"resource"
....... value[x] 0..0Value of extension
...... extension:security 0..*ExtensionR5: Security tag code on .meta.security (new)
....... url 1..1uri"security"
....... value[x] 0..1CodingSecurity tag code on .meta.security
...... extension:period 0..*ExtensionR5: Timeframe encompasing data create/update (new)
....... url 1..1uri"period"
....... value[x] 0..1PeriodTimeframe encompasing data create/update
...... extension:expression 0..1ExtensionR5: Expression identifying the data (new)
....... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
........ extension:_datatype 1..1ExtensionDataType slice for a FHIR R5 `Expression` value
......... url 1..1uri"http://hl7.org/fhir/StructureDefinition/_datatype"
......... value[x] 1..1stringValue of extension
Fixed Value: Expression
........ extension:description 0..1ExtensionR5: Natural language description of the condition (new)
......... url 1..1uri"description"
......... value[x] 0..1stringNatural language description of the condition
........ extension:name 0..1ExtensionR5: Short name assigned to expression for reuse (new)
......... url 1..1uri"name"
......... value[x] 0..1codeShort name assigned to expression for reuse
........ extension:language 0..1ExtensionR5: text/cql | text/fhirpath | application/x-fhir-query | etc. (new)
......... url 1..1uri"language"
......... value[x] 0..1codetext/cql | text/fhirpath | application/x-fhir-query | etc.
........ extension:expression 0..1ExtensionR5: Expression in specified language (new)
......... url 1..1uri"expression"
......... value[x] 0..1stringExpression in specified language
........ extension:reference 0..1ExtensionR5: Where the expression is found (new)
......... url 1..1uri"reference"
......... value[x] 0..1uriWhere the expression is found
....... url 1..1uri"expression"
....... value[x] 0..0Value of extension
..... url 1..1uri"data"
..... value[x] 0..0Value of extension
.... extension:activity 0..*ExtensionR5: A description or definition of which activities are allowed to be done on the data (new)
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... extension:actor 0..*ExtensionR5: Authorized actor(s) (new)
....... url 1..1uri"actor"
....... value[x] 0..1Reference(Cross-version Profile for R5.Device for use in FHIR STU3(0.1.0) | Device | Cross-version Profile for R5.Group for use in FHIR STU3(0.1.0) | Group | Cross-version Profile for R5.CareTeam for use in FHIR STU3(0.1.0) | CareTeam | Cross-version Profile for R5.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R5.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R5.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R5.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R5.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole)Authorized actor(s)
...... extension:action 0..*ExtensionR5: Actions controlled by this rule (new)
....... url 1..1uri"action"
....... value[x] 0..1CodeableConceptActions controlled by this rule
Binding: Consent Action Codes (example): Detailed codes for the action.
...... extension:purpose 0..*ExtensionR5: The purpose for which the permission is given (new)
....... url 1..1uri"purpose"
....... value[x] 0..1CodeableConceptThe purpose for which the permission is given
Binding: PurposeOfUse|2014-03-26 (preferred): What purposes of use are controlled by this exception. If more than one label is specified, operations must have all the specified labels.
..... url 1..1uri"activity"
..... value[x] 0..0Value of extension
.... extension:limit 0..*ExtensionR5: What limits apply to the use of the data (new)
..... url 1..1uri"limit"
..... value[x] 0..1CodeableConceptWhat limits apply to the use of the data
Binding: R5SecurityLabelEventExamplesForR3 (0.1.0) (example): Obligations and Refrains
... url 1..1uri"http://hl7.org/fhir/5.0/StructureDefinition/extension-Permission.rule"
... value[x] 0..0Value of extension

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "ext-R5-Permission.rule",
  "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-r5.r3"
        },
        {
          "url": "version",
          "valueString": "0.1.0"
        },
        {
          "url": "uri",
          "valueUri": "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.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-r5.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-r5.r3"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Permission.rule",
  "version": "0.1.0",
  "name": "ExtensionPermission_Rule",
  "title": "R5: Constraints to the Permission (new)",
  "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": "R5: `Permission.rule` (new:BackboneElement)",
  "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 `Permission.rule` as defined in FHIR R5\r\nin FHIR STU3.\r\n\r\nThe source element is defined as:\r\n`Permission.rule` 0..* `BackboneElement`\r\n\r\nAcross FHIR versions, the element set has been mapped as:\r\n* R5 `Permission.rule` 0..* `BackboneElement`\r\n\r\nFollowing are the generation technical comments:\r\nElement `Permission.rule` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nChild element `type` is a modifier, so this extension must be a modifier.",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "complex-type",
  "abstract": false,
  "contextType": "resource",
  "context": [
    "Basic"
  ],
  "type": "Extension",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation": "constraint",
  "snapshot": {
    "element": [
      {
        "id": "Extension",
        "path": "Extension",
        "short": "R5: Constraints to the Permission (new)",
        "definition": "R5: `Permission.rule` (new:BackboneElement)",
        "comment": "Element `Permission.rule` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule` 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",
          "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": true
      },
      {
        "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": "R5: deny | permit (new)",
        "definition": "R5: `Permission.rule.type` (new:code)",
        "comment": "Element `Permission.rule.type` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.type` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.type` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.type` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.type` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.type` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "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": "deny | permit.",
        "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.",
          "valueSetUri": "http://hl7.org/fhir/ValueSet/consent-except-type|3.0.2"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data",
        "path": "Extension.extension",
        "sliceName": "data",
        "short": "R5: The selection criteria to identify data that is within scope of this provision (new)",
        "definition": "R5: `Permission.rule.data` (new:BackboneElement)",
        "comment": "Element `Permission.rule.data` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.data` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.data` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.data` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data` 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: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": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:resource",
        "path": "Extension.extension.extension",
        "sliceName": "resource",
        "short": "R5: Explicit FHIR Resource references (new)",
        "definition": "R5: `Permission.rule.data.resource` (new:BackboneElement)",
        "comment": "Element `Permission.rule.data.resource` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.resource` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.resource` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.data.resource` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.resource` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.resource` 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:data.extension:resource.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:resource.extension",
        "path": "Extension.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:resource.extension:meaning",
        "path": "Extension.extension.extension.extension",
        "sliceName": "meaning",
        "short": "R5: instance | related | dependents | authoredby (new)",
        "definition": "R5: `Permission.rule.data.resource.meaning` (new:code)",
        "comment": "Element `Permission.rule.data.resource.meaning` is part of an existing definition because parent element `Permission.rule.data.resource` requires a cross-version extension.\nElement `Permission.rule.data.resource.meaning` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.resource.meaning` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.data.resource.meaning` is part of an existing definition because parent element `Permission.rule.data.resource` requires a cross-version extension.\nElement `Permission.rule.data.resource.meaning` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.resource.meaning` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:resource.extension:meaning.id",
        "path": "Extension.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:resource.extension:meaning.extension",
        "path": "Extension.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:resource.extension:meaning.url",
        "path": "Extension.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:resource.extension:meaning.value[x]",
        "path": "Extension.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:resource.extension:reference",
        "path": "Extension.extension.extension.extension",
        "sliceName": "reference",
        "short": "R5: The actual data reference (new)",
        "definition": "R5: `Permission.rule.data.resource.reference` (new:Reference(Resource))",
        "comment": "Element `Permission.rule.data.resource.reference` is part of an existing definition because parent element `Permission.rule.data.resource` requires a cross-version extension.\nElement `Permission.rule.data.resource.reference` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.resource.reference` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.data.resource.reference` is part of an existing definition because parent element `Permission.rule.data.resource` requires a cross-version extension.\nElement `Permission.rule.data.resource.reference` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.resource.reference` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:resource.extension:reference.id",
        "path": "Extension.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:resource.extension:reference.extension",
        "path": "Extension.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:resource.extension:reference.url",
        "path": "Extension.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:resource.extension:reference.value[x]",
        "path": "Extension.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/5.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.extension:resource.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": "resource",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:resource.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": "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:data.extension:security",
        "path": "Extension.extension.extension",
        "sliceName": "security",
        "short": "R5: Security tag code on .meta.security (new)",
        "definition": "R5: `Permission.rule.data.security` (new:Coding)",
        "comment": "Element `Permission.rule.data.security` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.security` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.security` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nNote the ConfidentialityCode vocabulary indicates the highest value, thus 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 `Permission.rule.data.security` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.security` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.security` 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:data.extension:security.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:security.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:security.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": "security",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:security.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "short": "Security tag code on .meta.security",
        "definition": "The data in scope are those with the given codes present in that data .meta.security element.",
        "comment": "Note the ConfidentialityCode vocabulary indicates the highest value, thus 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"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:period",
        "path": "Extension.extension.extension",
        "sliceName": "period",
        "short": "R5: Timeframe encompasing data create/update (new)",
        "definition": "R5: `Permission.rule.data.period` (new:Period)",
        "comment": "Element `Permission.rule.data.period` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.period` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.period` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nThis has a different sense to the .validity.",
        "requirements": "Element `Permission.rule.data.period` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.period` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.period` 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:data.extension:period.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:period.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:period.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": "period",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:period.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "short": "Timeframe encompasing data create/update",
        "definition": "Clinical or Operational Relevant period of time that bounds the data controlled by this rule.",
        "comment": "This has a different sense to the .validity.",
        "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.extension:expression",
        "path": "Extension.extension.extension",
        "sliceName": "expression",
        "short": "R5: Expression identifying the data (new)",
        "definition": "R5: `Permission.rule.data.expression` (new:Expression)",
        "comment": "Element `Permission.rule.data.expression` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.expression` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.expression` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.data.expression` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.expression` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.expression` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.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:expression.extension",
        "path": "Extension.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": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:_datatype",
        "path": "Extension.extension.extension.extension",
        "sliceName": "_datatype",
        "short": "DataType slice for a FHIR R5 `Expression` value",
        "definition": "Slice to indicate the presence of a R5 `Expression` in FHIR STU3",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:_datatype.id",
        "path": "Extension.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:expression.extension:_datatype.extension",
        "path": "Extension.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:expression.extension:_datatype.url",
        "path": "Extension.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/_datatype",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:_datatype.value[x]",
        "path": "Extension.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).",
        "comment": "Must be: Expression",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "Expression",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:description",
        "path": "Extension.extension.extension.extension",
        "sliceName": "description",
        "short": "R5: Natural language description of the condition (new)",
        "definition": "R5: `Expression.description` (new:string)",
        "comment": "Element `Expression.description` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.description` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Expression.description` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.description` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:description.id",
        "path": "Extension.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:expression.extension:description.extension",
        "path": "Extension.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:expression.extension:description.url",
        "path": "Extension.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": "description",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:description.value[x]",
        "path": "Extension.extension.extension.extension.value[x]",
        "short": "Natural language description of the condition",
        "definition": "A brief, natural language description of the condition that effectively communicates the intended semantics.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:name",
        "path": "Extension.extension.extension.extension",
        "sliceName": "name",
        "short": "R5: Short name assigned to expression for reuse (new)",
        "definition": "R5: `Expression.name` (new:code)",
        "comment": "Element `Expression.name` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.name` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Expression.name` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.name` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:name.id",
        "path": "Extension.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:expression.extension:name.extension",
        "path": "Extension.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:expression.extension:name.url",
        "path": "Extension.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": "name",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:name.value[x]",
        "path": "Extension.extension.extension.extension.value[x]",
        "short": "Short name assigned to expression for reuse",
        "definition": "A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:language",
        "path": "Extension.extension.extension.extension",
        "sliceName": "language",
        "short": "R5: text/cql | text/fhirpath | application/x-fhir-query | etc. (new)",
        "definition": "R5: `Expression.language` (new:code)",
        "comment": "Element matches Basic element path `Basic.language` (`Resource.language`), use that element instead.\nElement `Expression.language` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.language` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "The cardinality of this element is optional to allow text only as part of the authoring process.  However, in order to be executable, the expression element must be specified. Element matches Basic element path `Basic.language` (`Resource.language`), use that element instead.\nElement `Expression.language` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.language` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:language.id",
        "path": "Extension.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:expression.extension:language.extension",
        "path": "Extension.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:expression.extension:language.url",
        "path": "Extension.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": "language",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:language.value[x]",
        "path": "Extension.extension.extension.extension.value[x]",
        "short": "text/cql | text/fhirpath | application/x-fhir-query | etc.",
        "definition": "The media type of the language for the expression.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:expression",
        "path": "Extension.extension.extension.extension",
        "sliceName": "expression",
        "short": "R5: Expression in specified language (new)",
        "definition": "R5: `Expression.expression` (new:string)",
        "comment": "Element `Expression.expression` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.expression` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nIf Expression.expression and Expression.reference are both present, the Expression.expression might just be a name pointing something within the referenced content.",
        "requirements": "Element `Expression.expression` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.expression` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:expression.id",
        "path": "Extension.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:expression.extension:expression.extension",
        "path": "Extension.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:expression.extension:expression.url",
        "path": "Extension.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": "expression",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:expression.value[x]",
        "path": "Extension.extension.extension.extension.value[x]",
        "short": "Expression in specified language",
        "definition": "An expression in the specified language that returns a value.",
        "comment": "If Expression.expression and Expression.reference are both present, the Expression.expression might just be a name pointing something within the referenced content.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:reference",
        "path": "Extension.extension.extension.extension",
        "sliceName": "reference",
        "short": "R5: Where the expression is found (new)",
        "definition": "R5: `Expression.reference` (new:uri)",
        "comment": "Element `Expression.reference` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.reference` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nIf both a reference and an expression is found, the reference SHALL point to the same expression.",
        "requirements": "Element `Expression.reference` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.reference` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:reference.id",
        "path": "Extension.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:expression.extension:reference.extension",
        "path": "Extension.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:expression.extension:reference.url",
        "path": "Extension.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:expression.extension:reference.value[x]",
        "path": "Extension.extension.extension.extension.value[x]",
        "short": "Where the expression is found",
        "definition": "A URI that defines where the expression is found.",
        "comment": "If both a reference and an expression is found, the reference SHALL point to the same expression.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.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": "expression",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.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": "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: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:activity",
        "path": "Extension.extension",
        "sliceName": "activity",
        "short": "R5: A description or definition of which activities are allowed to be done on the data (new)",
        "definition": "R5: `Permission.rule.activity` (new:BackboneElement)",
        "comment": "Element `Permission.rule.activity` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.activity` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.activity` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.activity` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity` 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:activity.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:activity.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": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ]
      },
      {
        "id": "Extension.extension:activity.extension:actor",
        "path": "Extension.extension.extension",
        "sliceName": "actor",
        "short": "R5: Authorized actor(s) (new)",
        "definition": "R5: `Permission.rule.activity.actor` (new:Reference(Device,Group,CareTeam,Organization,Patient,Practitioner,RelatedPerson,PractitionerRole))",
        "comment": "Element `Permission.rule.activity.actor` is part of an existing definition because parent element `Permission.rule.activity` requires a cross-version extension.\nElement `Permission.rule.activity.actor` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity.actor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.activity.actor` is part of an existing definition because parent element `Permission.rule.activity` requires a cross-version extension.\nElement `Permission.rule.activity.actor` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity.actor` 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:activity.extension:actor.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:activity.extension:actor.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:activity.extension:actor.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": "actor",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:activity.extension:actor.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "short": "Authorized actor(s)",
        "definition": "The actor(s) authorized for the defined activity.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-Device|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-Group|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-CareTeam|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-Organization|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-Patient|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-Practitioner|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-RelatedPerson|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-PractitionerRole|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/PractitionerRole"
          }
        ],
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:activity.extension:action",
        "path": "Extension.extension.extension",
        "sliceName": "action",
        "short": "R5: Actions controlled by this rule (new)",
        "definition": "R5: `Permission.rule.activity.action` (new:CodeableConcept)",
        "comment": "Element `Permission.rule.activity.action` is part of an existing definition because parent element `Permission.rule.activity` requires a cross-version extension.\nElement `Permission.rule.activity.action` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity.action` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\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 `Permission.rule.activity.action` is part of an existing definition because parent element `Permission.rule.activity` requires a cross-version extension.\nElement `Permission.rule.activity.action` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity.action` 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:activity.extension:action.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:activity.extension:action.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:activity.extension:action.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": "action",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:activity.extension:action.value[x]",
        "path": "Extension.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 action.",
          "valueSetUri": "http://hl7.org/fhir/ValueSet/consent-action|3.0.2"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:activity.extension:purpose",
        "path": "Extension.extension.extension",
        "sliceName": "purpose",
        "short": "R5: The purpose for which the permission is given (new)",
        "definition": "R5: `Permission.rule.activity.purpose` (new:CodeableConcept)",
        "comment": "Element `Permission.rule.activity.purpose` is part of an existing definition because parent element `Permission.rule.activity` requires a cross-version extension.\nElement `Permission.rule.activity.purpose` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity.purpose` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.activity.purpose` is part of an existing definition because parent element `Permission.rule.activity` requires a cross-version extension.\nElement `Permission.rule.activity.purpose` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity.purpose` 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:activity.extension:purpose.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:activity.extension:purpose.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:activity.extension:purpose.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": "purpose",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:activity.extension:purpose.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "short": "The purpose for which the permission is given",
        "definition": "The purpose for which the permission is given.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "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/ValueSet/v3-PurposeOfUse|2014-03-26"
        },
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:activity.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": "activity",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:activity.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:limit",
        "path": "Extension.extension",
        "sliceName": "limit",
        "short": "R5: What limits apply to the use of the data (new)",
        "definition": "R5: `Permission.rule.limit` (new:CodeableConcept)",
        "comment": "Element `Permission.rule.limit` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.limit` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.limit` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.limit` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.limit` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.limit` 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:limit.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:limit.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:limit.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": "limit",
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "Extension.extension:limit.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "What limits apply to the use of the data",
        "definition": "What limits apply to the use of the data.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Obligations and Refrains",
          "valueSetUri": "http://hl7.org/fhir/uv/xver/ValueSet/R5-security-label-event-examples-for-R3|0.1.0"
        },
        "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/5.0/StructureDefinition/extension-Permission.rule",
        "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": "R5: Constraints to the Permission (new)",
        "definition": "R5: `Permission.rule` (new:BackboneElement)",
        "comment": "Element `Permission.rule` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule` 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",
          "min": 0,
          "max": "*"
        },
        "isModifier": true
      },
      {
        "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": "R5: deny | permit (new)",
        "definition": "R5: `Permission.rule.type` (new:code)",
        "comment": "Element `Permission.rule.type` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.type` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.type` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.type` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.type` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.type` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "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": "deny | permit.",
        "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.",
          "valueSetUri": "http://hl7.org/fhir/ValueSet/consent-except-type|3.0.2"
        }
      },
      {
        "id": "Extension.extension:data",
        "path": "Extension.extension",
        "sliceName": "data",
        "short": "R5: The selection criteria to identify data that is within scope of this provision (new)",
        "definition": "R5: `Permission.rule.data` (new:BackboneElement)",
        "comment": "Element `Permission.rule.data` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.data` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.data` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.data` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data` 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:data.extension",
        "path": "Extension.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:data.extension:resource",
        "path": "Extension.extension.extension",
        "sliceName": "resource",
        "short": "R5: Explicit FHIR Resource references (new)",
        "definition": "R5: `Permission.rule.data.resource` (new:BackboneElement)",
        "comment": "Element `Permission.rule.data.resource` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.resource` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.resource` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.data.resource` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.resource` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.resource` 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:data.extension:resource.extension",
        "path": "Extension.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:resource.extension:meaning",
        "path": "Extension.extension.extension.extension",
        "sliceName": "meaning",
        "short": "R5: instance | related | dependents | authoredby (new)",
        "definition": "R5: `Permission.rule.data.resource.meaning` (new:code)",
        "comment": "Element `Permission.rule.data.resource.meaning` is part of an existing definition because parent element `Permission.rule.data.resource` requires a cross-version extension.\nElement `Permission.rule.data.resource.meaning` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.resource.meaning` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.data.resource.meaning` is part of an existing definition because parent element `Permission.rule.data.resource` requires a cross-version extension.\nElement `Permission.rule.data.resource.meaning` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.resource.meaning` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:data.extension:resource.extension:meaning.url",
        "path": "Extension.extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "meaning"
      },
      {
        "id": "Extension.extension:data.extension:resource.extension:meaning.value[x]",
        "path": "Extension.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:resource.extension:reference",
        "path": "Extension.extension.extension.extension",
        "sliceName": "reference",
        "short": "R5: The actual data reference (new)",
        "definition": "R5: `Permission.rule.data.resource.reference` (new:Reference(Resource))",
        "comment": "Element `Permission.rule.data.resource.reference` is part of an existing definition because parent element `Permission.rule.data.resource` requires a cross-version extension.\nElement `Permission.rule.data.resource.reference` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.resource.reference` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.data.resource.reference` is part of an existing definition because parent element `Permission.rule.data.resource` requires a cross-version extension.\nElement `Permission.rule.data.resource.reference` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.resource.reference` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:data.extension:resource.extension:reference.url",
        "path": "Extension.extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "reference"
      },
      {
        "id": "Extension.extension:data.extension:resource.extension:reference.value[x]",
        "path": "Extension.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/5.0/StructureDefinition/profile-Resource|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:resource.url",
        "path": "Extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "resource"
      },
      {
        "id": "Extension.extension:data.extension:resource.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Extension.extension:data.extension:security",
        "path": "Extension.extension.extension",
        "sliceName": "security",
        "short": "R5: Security tag code on .meta.security (new)",
        "definition": "R5: `Permission.rule.data.security` (new:Coding)",
        "comment": "Element `Permission.rule.data.security` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.security` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.security` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nNote the ConfidentialityCode vocabulary indicates the highest value, thus 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 `Permission.rule.data.security` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.security` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.security` 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:data.extension:security.url",
        "path": "Extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "security"
      },
      {
        "id": "Extension.extension:data.extension:security.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "short": "Security tag code on .meta.security",
        "definition": "The data in scope are those with the given codes present in that data .meta.security element.",
        "comment": "Note the ConfidentialityCode vocabulary indicates the highest value, thus 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"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:period",
        "path": "Extension.extension.extension",
        "sliceName": "period",
        "short": "R5: Timeframe encompasing data create/update (new)",
        "definition": "R5: `Permission.rule.data.period` (new:Period)",
        "comment": "Element `Permission.rule.data.period` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.period` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.period` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nThis has a different sense to the .validity.",
        "requirements": "Element `Permission.rule.data.period` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.period` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.period` 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:data.extension:period.url",
        "path": "Extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "period"
      },
      {
        "id": "Extension.extension:data.extension:period.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "short": "Timeframe encompasing data create/update",
        "definition": "Clinical or Operational Relevant period of time that bounds the data controlled by this rule.",
        "comment": "This has a different sense to the .validity.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression",
        "path": "Extension.extension.extension",
        "sliceName": "expression",
        "short": "R5: Expression identifying the data (new)",
        "definition": "R5: `Permission.rule.data.expression` (new:Expression)",
        "comment": "Element `Permission.rule.data.expression` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.expression` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.expression` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.data.expression` is part of an existing definition because parent element `Permission.rule.data` requires a cross-version extension.\nElement `Permission.rule.data.expression` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.data.expression` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:data.extension:expression.extension",
        "path": "Extension.extension.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:data.extension:expression.extension:_datatype",
        "path": "Extension.extension.extension.extension",
        "sliceName": "_datatype",
        "short": "DataType slice for a FHIR R5 `Expression` value",
        "definition": "Slice to indicate the presence of a R5 `Expression` in FHIR STU3",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:_datatype.url",
        "path": "Extension.extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "http://hl7.org/fhir/StructureDefinition/_datatype"
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:_datatype.value[x]",
        "path": "Extension.extension.extension.extension.value[x]",
        "comment": "Must be: Expression",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "fixedString": "Expression"
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:description",
        "path": "Extension.extension.extension.extension",
        "sliceName": "description",
        "short": "R5: Natural language description of the condition (new)",
        "definition": "R5: `Expression.description` (new:string)",
        "comment": "Element `Expression.description` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.description` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Expression.description` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.description` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:description.url",
        "path": "Extension.extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "description"
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:description.value[x]",
        "path": "Extension.extension.extension.extension.value[x]",
        "short": "Natural language description of the condition",
        "definition": "A brief, natural language description of the condition that effectively communicates the intended semantics.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:name",
        "path": "Extension.extension.extension.extension",
        "sliceName": "name",
        "short": "R5: Short name assigned to expression for reuse (new)",
        "definition": "R5: `Expression.name` (new:code)",
        "comment": "Element `Expression.name` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.name` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Expression.name` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.name` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:name.url",
        "path": "Extension.extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "name"
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:name.value[x]",
        "path": "Extension.extension.extension.extension.value[x]",
        "short": "Short name assigned to expression for reuse",
        "definition": "A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:language",
        "path": "Extension.extension.extension.extension",
        "sliceName": "language",
        "short": "R5: text/cql | text/fhirpath | application/x-fhir-query | etc. (new)",
        "definition": "R5: `Expression.language` (new:code)",
        "comment": "Element matches Basic element path `Basic.language` (`Resource.language`), use that element instead.\nElement `Expression.language` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.language` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "The cardinality of this element is optional to allow text only as part of the authoring process.  However, in order to be executable, the expression element must be specified. Element matches Basic element path `Basic.language` (`Resource.language`), use that element instead.\nElement `Expression.language` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.language` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:language.url",
        "path": "Extension.extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "language"
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:language.value[x]",
        "path": "Extension.extension.extension.extension.value[x]",
        "short": "text/cql | text/fhirpath | application/x-fhir-query | etc.",
        "definition": "The media type of the language for the expression.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:expression",
        "path": "Extension.extension.extension.extension",
        "sliceName": "expression",
        "short": "R5: Expression in specified language (new)",
        "definition": "R5: `Expression.expression` (new:string)",
        "comment": "Element `Expression.expression` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.expression` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nIf Expression.expression and Expression.reference are both present, the Expression.expression might just be a name pointing something within the referenced content.",
        "requirements": "Element `Expression.expression` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.expression` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:expression.url",
        "path": "Extension.extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "expression"
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:expression.value[x]",
        "path": "Extension.extension.extension.extension.value[x]",
        "short": "Expression in specified language",
        "definition": "An expression in the specified language that returns a value.",
        "comment": "If Expression.expression and Expression.reference are both present, the Expression.expression might just be a name pointing something within the referenced content.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:reference",
        "path": "Extension.extension.extension.extension",
        "sliceName": "reference",
        "short": "R5: Where the expression is found (new)",
        "definition": "R5: `Expression.reference` (new:uri)",
        "comment": "Element `Expression.reference` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.reference` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\nIf both a reference and an expression is found, the reference SHALL point to the same expression.",
        "requirements": "Element `Expression.reference` is not mapped to FHIR STU3, since FHIR R5 `Expression` is not mapped.\nElement `Expression.reference` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.extension",
          "min": 0,
          "max": "*"
        }
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:reference.url",
        "path": "Extension.extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "reference"
      },
      {
        "id": "Extension.extension:data.extension:expression.extension:reference.value[x]",
        "path": "Extension.extension.extension.extension.value[x]",
        "short": "Where the expression is found",
        "definition": "A URI that defines where the expression is found.",
        "comment": "If both a reference and an expression is found, the reference SHALL point to the same expression.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "uri"
          }
        ]
      },
      {
        "id": "Extension.extension:data.extension:expression.url",
        "path": "Extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "expression"
      },
      {
        "id": "Extension.extension:data.extension:expression.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        }
      },
      {
        "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:activity",
        "path": "Extension.extension",
        "sliceName": "activity",
        "short": "R5: A description or definition of which activities are allowed to be done on the data (new)",
        "definition": "R5: `Permission.rule.activity` (new:BackboneElement)",
        "comment": "Element `Permission.rule.activity` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.activity` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.activity` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.activity` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity` 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:activity.extension",
        "path": "Extension.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:activity.extension:actor",
        "path": "Extension.extension.extension",
        "sliceName": "actor",
        "short": "R5: Authorized actor(s) (new)",
        "definition": "R5: `Permission.rule.activity.actor` (new:Reference(Device,Group,CareTeam,Organization,Patient,Practitioner,RelatedPerson,PractitionerRole))",
        "comment": "Element `Permission.rule.activity.actor` is part of an existing definition because parent element `Permission.rule.activity` requires a cross-version extension.\nElement `Permission.rule.activity.actor` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity.actor` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.activity.actor` is part of an existing definition because parent element `Permission.rule.activity` requires a cross-version extension.\nElement `Permission.rule.activity.actor` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity.actor` 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:activity.extension:actor.url",
        "path": "Extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "actor"
      },
      {
        "id": "Extension.extension:activity.extension:actor.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "short": "Authorized actor(s)",
        "definition": "The actor(s) authorized for the defined activity.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-Device|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-Group|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-CareTeam|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/CareTeam"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-Organization|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-Patient|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-Practitioner|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-RelatedPerson|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/5.0/StructureDefinition/profile-PractitionerRole|0.1.0"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/PractitionerRole"
          }
        ]
      },
      {
        "id": "Extension.extension:activity.extension:action",
        "path": "Extension.extension.extension",
        "sliceName": "action",
        "short": "R5: Actions controlled by this rule (new)",
        "definition": "R5: `Permission.rule.activity.action` (new:CodeableConcept)",
        "comment": "Element `Permission.rule.activity.action` is part of an existing definition because parent element `Permission.rule.activity` requires a cross-version extension.\nElement `Permission.rule.activity.action` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity.action` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).\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 `Permission.rule.activity.action` is part of an existing definition because parent element `Permission.rule.activity` requires a cross-version extension.\nElement `Permission.rule.activity.action` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity.action` 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:activity.extension:action.url",
        "path": "Extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "action"
      },
      {
        "id": "Extension.extension:activity.extension:action.value[x]",
        "path": "Extension.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 action.",
          "valueSetUri": "http://hl7.org/fhir/ValueSet/consent-action|3.0.2"
        }
      },
      {
        "id": "Extension.extension:activity.extension:purpose",
        "path": "Extension.extension.extension",
        "sliceName": "purpose",
        "short": "R5: The purpose for which the permission is given (new)",
        "definition": "R5: `Permission.rule.activity.purpose` (new:CodeableConcept)",
        "comment": "Element `Permission.rule.activity.purpose` is part of an existing definition because parent element `Permission.rule.activity` requires a cross-version extension.\nElement `Permission.rule.activity.purpose` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity.purpose` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.activity.purpose` is part of an existing definition because parent element `Permission.rule.activity` requires a cross-version extension.\nElement `Permission.rule.activity.purpose` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.activity.purpose` 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:activity.extension:purpose.url",
        "path": "Extension.extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "purpose"
      },
      {
        "id": "Extension.extension:activity.extension:purpose.value[x]",
        "path": "Extension.extension.extension.value[x]",
        "short": "The purpose for which the permission is given",
        "definition": "The purpose for which the permission is given.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "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/ValueSet/v3-PurposeOfUse|2014-03-26"
        }
      },
      {
        "id": "Extension.extension:activity.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "activity"
      },
      {
        "id": "Extension.extension:activity.value[x]",
        "path": "Extension.extension.value[x]",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        }
      },
      {
        "id": "Extension.extension:limit",
        "path": "Extension.extension",
        "sliceName": "limit",
        "short": "R5: What limits apply to the use of the data (new)",
        "definition": "R5: `Permission.rule.limit` (new:CodeableConcept)",
        "comment": "Element `Permission.rule.limit` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.limit` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.limit` has no mapping targets in FHIR STU3. Typically, this is because the element has been added (is a new element).",
        "requirements": "Element `Permission.rule.limit` is part of an existing definition because parent element `Permission.rule` requires a cross-version extension.\nElement `Permission.rule.limit` is not mapped to FHIR STU3, since FHIR R5 `Permission` is not mapped.\nElement `Permission.rule.limit` 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:limit.url",
        "path": "Extension.extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "limit"
      },
      {
        "id": "Extension.extension:limit.value[x]",
        "path": "Extension.extension.value[x]",
        "short": "What limits apply to the use of the data",
        "definition": "What limits apply to the use of the data.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "example",
          "description": "Obligations and Refrains",
          "valueSetUri": "http://hl7.org/fhir/uv/xver/ValueSet/R5-security-label-event-examples-for-R3|0.1.0"
        }
      },
      {
        "id": "Extension.url",
        "path": "Extension.url",
        "min": 1,
        "max": "1",
        "base": {
          "path": "Extension.url",
          "min": 1,
          "max": "1"
        },
        "fixedUri": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Permission.rule"
      },
      {
        "id": "Extension.value[x]",
        "path": "Extension.value[x]",
        "min": 0,
        "max": "0",
        "base": {
          "path": "Extension.value[x]",
          "min": 0,
          "max": "1"
        }
      }
    ]
  }
}