Cross-Version Extension for AuditEvent.agent.purposeOfUse in R4

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

Cross-Version Extension for AuditEvent.agent.purposeOfUse. Valid in versions R3

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

Context of Use

This extension may be used in the following contexts:


NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionReason given for this user
... extension ..0
... value[x] 1..CodeableConcept
... url "http://hl7.org/fhir/4.0/StructureDefinition/extension-AuditEvent.agent.purposeOfUse"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r4-sev.age.purposeOfUse",
  "url" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-AuditEvent.agent.purposeOfUse",
  "name" : "XVerExtensionAuditEvent.agent.purposeOfUseR4",
  "title" : "Cross-Version Extension for AuditEvent.agent.purposeOfUse 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.agent.purposeOfUse. Valid in versions R3\r\n\r\nThis is a valid extension because it has the following codes that are not in other versions BTG, COC, HDM, SYSDEV, POARCH, TRANSRCH, MILDCRG, LABELING, PRECLINTRCH, DSRCH, CLINTRCHPC, METAMGT, MILCDM, BIORCH, ERTREAT, CLINTRCHNPC, HTEST (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" : "Reason given for this user",
      "definition" : "The reason (purpose of use), specific to this agent, that was used during the event being recorded.",
      "comment" : "Use AuditEvent.agent.purposeOfUse when you know that 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" : "w5",
        "map" : "FiveWs.why[x]"
      },
      {
        "identity" : "rim",
        "map" : "*.reasonCode [ActHealthInformationPurposeOfUseReason codes/v:PurposeOfUse\n(2.16.840.1.113883.1.11.20448)\n* .outboundRelationship[typeCode=RSON or SUBJ].target"
      },
      {
        "identity" : "w3c.prov",
        "map" : "Agent.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.agent.purposeOfUse"
    }]
  }
}