Cross-Version Extension for AuditEvent.purposeOfEvent in R4

URLhttp://hl7.org/fhir/4.0/StructureDefinition/extension-AuditEvent.purposeOfEvent
Version
Statusactive
Description

Cross-Version Extension for AuditEvent.purposeOfEvent. Valid in versions R3

This is a valid extension because it has the following codes that are not in other versions POARCH, PRECLINTRCH, METAMGT, BIORCH, CLINTRCHNPC, MILDCRG, MILCDM, SYSDEV, LABELING, DSRCH, ERTREAT, HDM, BTG, HTEST, CLINTRCHPC, TRANSRCH, COC (http://terminology.hl7.org/CodeSystem/v3-ActReason)

Context of Use

This extension may be used in the following contexts:


NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionThe purposeOfUse of the event
... extension ..0
... value[x] 1..CodeableConcept
... url "http://hl7.org/fhir/4.0/StructureDefinition/extension-AuditEvent.purposeOfEvent"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r4-sev.purposeOfEvent",
  "url" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-AuditEvent.purposeOfEvent",
  "name" : "XVerExtensionAuditEvent.purposeOfEventR4",
  "title" : "Cross-Version Extension for AuditEvent.purposeOfEvent in R4",
  "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.purposeOfEvent. Valid in versions R3\r\n\r\nThis is a valid extension because it has the following codes that are not in other versions POARCH, PRECLINTRCH, METAMGT, BIORCH, CLINTRCHNPC, MILDCRG, MILCDM, SYSDEV, LABELING, DSRCH, ERTREAT, HDM, BTG, HTEST, CLINTRCHPC, TRANSRCH, COC (http://terminology.hl7.org/CodeSystem/v3-ActReason)",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001"
    }]
  }],
  "fhirVersion" : "5.0.0",
  "kind" : "complex-type",
  "abstract" : false,
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "path" : "Extension",
      "short" : "The purposeOfUse of the event",
      "definition" : "The purposeOfUse (reason) that was used during the event being recorded.",
      "comment" : "Use AuditEvent.agent.purposeOfUse when you know that it is specific to the agent, otherwise use AuditEvent.purposeOfEvent. For example, during a machine-to-machine transfer it might not be obvious to the audit system who caused the event, but it does know why.",
      "min" : 0,
      "max" : "*",
      "isModifier" : false,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.reasonCode"
      },
      {
        "identity" : "w5",
        "map" : "FiveWs.why[x]"
      },
      {
        "identity" : "rim",
        "map" : "* .reasonCode [ControlActReason when Act.class = CACT Control Act]\n*.outboundRelationship[typeCode=RSON].target"
      },
      {
        "identity" : "dicom",
        "map" : "EventPurposeOfUse"
      },
      {
        "identity" : "w3c.prov",
        "map" : "Activity.Activity"
      },
      {
        "identity" : "fhirprovenance",
        "map" : "Provenance.reason, Provenance.activity"
      }]
    },
    {
      "path" : "Extension.extension",
      "max" : "0"
    },
    {
      "path" : "Extension.value[x]",
      "min" : 1,
      "type" : [{
        "code" : "CodeableConcept"
      }]
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-AuditEvent.purposeOfEvent"
    }]
  }
}