This is Snapshot #3 for FHIR R5, released to support Connectathon 32. For a full list of available versions, see the Directory of published versions.
Security Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Device, Patient, Practitioner |
Raw Turtle (+ also see Turtle/RDF Format Specification)
Audit of a transaction that was failed resulting in OperationOutcome
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- [a fhir:AuditEvent; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "example-error"]; # fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "generated" ]; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Recording that an error has happened due to a client requesting that an Observation resource be Created on the Patient endpoint. Note that the OperationOutcome from failed transaction is recorded as an AuditEvent.entity.</div>" ]; # fhir:DomainResource.contained [ a fhir:OperationOutcome; fhir:index 0; fhir:Resource.id [ fhir:value "o1" ]; fhir:OperationOutcome.issue [ fhir:index 0; fhir:OperationOutcome.issue.severity [ fhir:value "error" ]; fhir:OperationOutcome.issue.code [ fhir:value "invalid" ]; fhir:OperationOutcome.issue.details [ fhir:CodeableConcept.text [ fhir:value "Invalid pointer operation" ] ] ] ]; # contained OperationOutcome from failed transaction fhir:AuditEvent.category [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/audit-event-type" ]; fhir:Coding.code [ fhir:value "rest" ]; fhir:Coding.display [ fhir:value "Restful Operation" ] ] ]; # fhir:AuditEvent.code [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://hl7.org/fhir/restful-interaction" ]; fhir:Coding.code [ fhir:value "create" ]; fhir:Coding.display [ fhir:value "create" ] ] ]; # fhir:AuditEvent.action [ fhir:value "C"]; # fhir:AuditEvent.recorded [ fhir:value "2017-09-07T23:42:24Z"^^xsd:dateTime]; # fhir:AuditEvent.outcome [ fhir:AuditEvent.outcome.code [ fhir:Coding.system [ fhir:value "http://hl7.org/fhir/issue-severity" ]; fhir:Coding.code [ fhir:value "error" ]; fhir:Coding.display [ fhir:value "Error" ] ]; fhir:AuditEvent.outcome.detail [ fhir:index 0; fhir:CodeableConcept.text [ fhir:value "Invalid request to create an Operation resource on the Patient endpoint." ] ] ]; # fhir:AuditEvent.agent [ fhir:index 0; fhir:AuditEvent.agent.type [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/extra-security-role-type" ]; fhir:Coding.code [ fhir:value "humanuser" ]; fhir:Coding.display [ fhir:value "human user" ] ] ]; fhir:AuditEvent.agent.who [ fhir:Reference.identifier [ fhir:Identifier.value [ fhir:value "95" ] ]; fhir:Reference.display [ fhir:value "Grahame Grieve" ] ]; fhir:AuditEvent.agent.requestor [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 1; fhir:Element.extension [ fhir:index 0; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID" ]; fhir:Extension.valueIdentifier [ fhir:Identifier.type [ fhir:CodeableConcept.text [ fhir:value "process ID" ] ]; fhir:Identifier.value [ fhir:value "6580" ] ] ]; # Source active participant, the software making the . AlternativeUserId - Process ID fhir:AuditEvent.agent.type [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://dicom.nema.org/resources/ontology/DCM" ]; fhir:Coding.code [ fhir:value "110153" ]; fhir:Coding.display [ fhir:value "Source Role ID" ] ] ]; fhir:AuditEvent.agent.who [ fhir:Reference.identifier [ fhir:Identifier.system [ fhir:value "urn:oid:2.16.840.1.113883.4.2" ]; fhir:Identifier.value [ fhir:value "2.16.840.1.113883.4.2" ] ] ]; fhir:AuditEvent.agent.requestor [ fhir:value "false"^^xsd:boolean ]; fhir:AuditEvent.agent.networkString [ fhir:value "Workstation1.ehr.familyclinic.com" ] ]; # fhir:AuditEvent.source [ fhir:AuditEvent.source.observer [ fhir:Reference.identifier [ fhir:Identifier.value [ fhir:value "hl7connect.healthintersections.com.au" ] ]; fhir:Reference.display [ fhir:value "Cloud" ] ]; fhir:AuditEvent.source.type [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/security-source-type" ]; fhir:Coding.code [ fhir:value "3" ]; fhir:Coding.display [ fhir:value "Web Server" ] ] ] ]; # fhir:AuditEvent.entity [ fhir:index 0; fhir:AuditEvent.entity.what [ fhir:Reference.reference [ fhir:value "#o1" ]; fhir:Reference.display [ fhir:value "transaction failed" ] ] # record the OperationOutcome returned to the client ]] . # # - ontology header ------------------------------------------------------------ [a owl:Ontology; owl:imports fhir:fhir.ttl] . # -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.
FHIR ®© HL7.org 2011+. FHIR R5 Ballot hl7.fhir.core#5.0.0-snapshot3 generated on Wed, Dec 14, 2022 07:16+1100.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R4B |
Compare to R5 Draft |
|
Propose a change