Cross-Version Extension for AuditEvent.purposeOfEvent in R3

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

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

This is a valid extension because it has the types CodeableConcept

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..CodeableConceptBinding: todo (extensible): The reason the activity took place.

... url "http://hl7.org/fhir/3.0/StructureDefinition/extension-AuditEvent.purposeOfEvent"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r3-sev.purposeOfEvent",
  "url" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-AuditEvent.purposeOfEvent",
  "name" : "XVerExtensionAuditEvent.purposeOfEventR3",
  "title" : "Cross-Version Extension for AuditEvent.purposeOfEvent in R3",
  "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 R2\r\n\r\nThis is a valid extension because it has the types CodeableConcept",
  "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" : "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 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" : "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"
      },
      {
        "identity" : "w5",
        "map" : "why"
      }]
    },
    {
      "path" : "Extension.extension",
      "max" : "0"
    },
    {
      "path" : "Extension.value[x]",
      "min" : 1,
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "binding" : {
        "strength" : "extensible",
        "description" : "The reason the activity took place.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/v3-PurposeOfUse|2014-03-26"
      }
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-AuditEvent.purposeOfEvent"
    }]
  }
}