Cross-Version Extension for AuditEvent.patient in R5

URLhttp://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.patient
Version
Statusactive
Description

Cross-Version Extension for AuditEvent.patient. Valid in versions R2, R3, R4, R4B

This is a valid cross-version extension because it's counted as a new element

Context of Use

This extension may be used in the following contexts:


NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionThe patient is the subject of the data used/created/updated/deleted during the activity
... extension ..0
... value[x] 1..Reference(Patient)
... url "http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.patient"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r5-sev.patient",
  "url" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.patient",
  "name" : "XVerExtensionAuditEvent.patientR5",
  "title" : "Cross-Version Extension for AuditEvent.patient in R5",
  "status" : "active",
  "experimental" : false,
  "publisher" : "Health Level Seven International (Security)",
  "contact" : [{
    "telecom" : [{
      "system" : "url",
      "value" : "http://hl7.org/fhir"
    }]
  },
  {
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/secure/index.cfm"
    }]
  }],
  "description" : "Cross-Version Extension for AuditEvent.patient. Valid in versions R2, R3, R4, R4B\r\n\r\nThis is a valid cross-version extension because it's counted as a new element",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001"
    }]
  }],
  "fhirVersion" : "5.0.0",
  "kind" : "complex-type",
  "abstract" : false,
  "context" : [{
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "4.3"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "4.3"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "AuditEvent"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.3/StructureDefinition/extension-AuditEvent"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "4.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "4.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "AuditEvent"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-AuditEvent"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "3.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "3.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "AuditEvent"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-AuditEvent"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "1.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "1.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "AuditEvent"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-AuditEvent"
  },
  {
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "1.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "1.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "AuditEvent.event"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-AuditEvent.event"
  }],
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "path" : "Extension",
      "short" : "The patient is the subject of the data used/created/updated/deleted during the activity",
      "definition" : "The patient element is available to enable deterministic tracking of activities that involve the patient as the subject of the data used in an activity.",
      "requirements" : "When the .patient is populated it shall be accurate to the subject of the used data. The .patient shall not be populated when the used data used/created/updated/deleted (.entity) by the activity does not involve a subject. Note that when the patient is an agent, they will be recorded as an agent. When the Patient resource is Created, Updated, or Deleted it will be recorded as an entity.",
      "min" : 0,
      "max" : "1",
      "isModifier" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.subject"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.subject[x]"
      },
      {
        "identity" : "rim",
        "map" : "participation[typeCode=RTGT]"
      },
      {
        "identity" : "w3c.prov",
        "map" : "Entity.Identity"
      }]
    },
    {
      "path" : "Extension.extension",
      "max" : "0"
    },
    {
      "path" : "Extension.value[x]",
      "min" : 1,
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Patient"]
      }]
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.patient"
    }]
  }
}