{"resourceType":"StructureDefinition","id":"AuditEvent.purposeOfEvent","meta":{"lastUpdated":"2021-01-17T07:06:13.533+11:00"},"url":"http://hl7.org/fhir/StructureDefinition/AuditEvent.purposeOfEvent","version":"4.0.1","name":"AuditEvent.purposeOfEvent","title":"AuditEvent.purposeOfEvent","status":"draft","experimental":true,"date":"2021-01-17T07:06:13+11:00","publisher":"HL7 FHIR Standard","contact":[{"telecom":[{"system":"url","value":"http://hl7.org/fhir"}]}],"description":"Data Element for AuditEvent.purposeOfEvent","purpose":"Data Elements are defined for each element to assist in questionnaire construction etc","fhirVersion":"4.0.1","mapping":[{"identity":"workflow","uri":"http://hl7.org/fhir/workflow","name":"Workflow Pattern"},{"identity":"rim","uri":"http://hl7.org/v3","name":"RIM Mapping"},{"identity":"dicom","uri":"http://nema.org/dicom","name":"DICOM Tag Mapping"},{"identity":"w5","uri":"http://hl7.org/fhir/fivews","name":"FiveWs Pattern Mapping"},{"identity":"w3c.prov","uri":"http://www.w3.org/ns/prov","name":"W3C PROV"},{"identity":"fhirprovenance","uri":"http://hl7.org/fhir/provenance","name":"FHIR Provenance Mapping"}],"kind":"logical","abstract":false,"type":"AuditEvent.purposeOfEvent","baseDefinition":"http://hl7.org/fhir/StructureDefinition/Element","derivation":"specialization","snapshot":{"element":[{"id":"AuditEvent.purposeOfEvent","path":"AuditEvent.purposeOfEvent","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":"*","base":{"path":"AuditEvent.purposeOfEvent","min":0,"max":"*"},"type":[{"code":"CodeableConcept"}],"isModifier":false,"isSummary":true,"binding":{"extension":[{"url":"http://hl7.org/fhir/build/StructureDefinition/definition","valueString":"The reason the activity took place."},{"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","valueString":"AuditPurposeOfUse"}],"strength":"extensible","description":"The reason the activity took place.","valueSet":"http://terminology.hl7.org/ValueSet/v3-PurposeOfUse"},"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"}]}]}}