Cross-Version Extension for AuditEvent.participant.purposeOfUse in R2

URLhttp://hl7.org/fhir/1.0/StructureDefinition/extension-AuditEvent.participant.purposeOfUse
Version
Statusactive
Description

Cross-Version Extension for AuditEvent.participant.purposeOfUse. Valid in versions R3, R4, R4B, R5

This is a valid extension because the types Coding were removed in a later version

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..
... url "http://hl7.org/fhir/1.0/StructureDefinition/extension-AuditEvent.participant.purposeOfUse"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r2-sev.par.purposeOfUse",
  "url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-AuditEvent.participant.purposeOfUse",
  "name" : "XVerExtensionAuditEvent.participant.purposeOfUseR2",
  "title" : "Cross-Version Extension for AuditEvent.participant.purposeOfUse in R2",
  "status" : "active",
  "experimental" : false,
  "publisher" : "Health Level Seven International (Security)",
  "contact" : [{
    "telecom" : [{
      "system" : "other",
      "value" : "http://hl7.org/fhir"
    }]
  },
  {
    "telecom" : [{
      "system" : "other",
      "value" : "http://www.hl7.org/Special/committees/secure/index.cfm"
    }]
  }],
  "description" : "Cross-Version Extension for AuditEvent.participant.purposeOfUse. Valid in versions R3, R4, R4B, R5\r\n\r\nThis is a valid extension because the types Coding were removed in a later version",
  "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" : "5.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "5.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "AuditEvent.agent"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-AuditEvent.agent"
  },
  {
    "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.agent"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.3/StructureDefinition/extension-AuditEvent.agent"
  },
  {
    "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.agent"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/4.0/StructureDefinition/extension-AuditEvent.agent"
  },
  {
    "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.agent"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-AuditEvent.agent"
  }],
  "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 participant, that was used during the event being recorded.",
      "comment" : "Use participant.purposeOfUse when you know that is specific to the participant, otherwise use event.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" : "w3c.prov",
        "map" : "Agent.Activity"
      },
      {
        "identity" : "rim",
        "map" : "*.reasonCode [ActHealthInformationPurposeOfUseReason codes/v:PurposeOfUse (2.16.840.1.113883.1.11.20448) * .outboundRelationship[typeCode=RSON or SUBJ].target"
      },
      {
        "identity" : "w5",
        "map" : "why"
      }]
    },
    {
      "path" : "Extension.extension",
      "max" : "0"
    },
    {
      "path" : "Extension.value[x]",
      "min" : 1
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-AuditEvent.participant.purposeOfUse"
    }]
  }
}