Release 5 Draft Ballot

This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Audit-event-example-create-traceID.json

Security Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner

Raw JSON (canonical form + also see JSON Format Specification)

RESTful create with TraceID

{
  "resourceType": "AuditEvent",
  "id": "example-rest-create-traceID",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>type</b>: <span>Restful Operation</span></p><p><b>subtype</b>: <span>create</span></p><p><b>action</b>: C</p><p><b>recorded</b>: 4 Dec. 2019, 10:59:28 pm</p><p><b>outcome</b>: <span>Success</span></p><blockquote><p><b>agent</b></p><p><b>type</b>: <span>human user</span></p><p><b>who</b>: <span/></p><p><b>altId</b>: 601847123</p><p><b>name</b>: Grahame Grieve</p><p><b>requestor</b>: true</p></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: <span>Source Role ID</span></p><p><b>who</b>: <span/></p><p><b>altId</b>: 6580</p><p><b>requestor</b>: false</p><h3>Networks</h3><table><tr><td>-</td><td><b>Address</b></td><td><b>Type</b></td></tr><tr><td>*</td><td>Workstation1.ehr.familyclinic.com</td><td>1</td></tr></table></blockquote><h3>Sources</h3><table><tr><td>-</td><td><b>Site</b></td><td><b>Observer</b></td><td><b>Type</b></td></tr><tr><td>*</td><td>Cloud</td><td><span/></td><td><span>Web Server</span></td></tr></table><blockquote><p><b>entity</b></p><p><b>what</b>: <a>Patient/example/_history/1</a></p><p><b>type</b>: <span>Person</span></p><p><b>role</b>: <span>Patient</span></p></blockquote><blockquote><p><b>entity</b></p><p><b>what</b>: <span/></p><p><b>type</b>: <span>System Object</span></p><p><b>role</b>: <span>Job Stream</span></p></blockquote></div>"
  },
  "type": {
    "system": "http://terminology.hl7.org/CodeSystem/audit-event-type",
    "code": "rest",
    "display": "Restful Operation"
  },
  "subtype": [
    {
      "system": "http://hl7.org/fhir/restful-interaction",
      "code": "create",
      "display": "create"
    }
  ],
  "action": "C",
  "recorded": "2019-12-04T11:59:28.646+00:00",
  "outcome": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/audit-event-outcome",
        "code": "0",
        "display": "Success"
      }
    ]
  },
  "agent": [
    {
      "type": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/extra-security-role-type",
            "code": "humanuser",
            "display": "human user"
          }
        ]
      },
      "who": {
        "identifier": {
          "value": "95"
        }
      },
      "altId": "601847123",
      "name": "Grahame Grieve",
      "requestor": true
    },
    {
      "type": {
        "coding": [
          {
            "system": "http://dicom.nema.org/resources/ontology/DCM",
            "code": "110153",
            "display": "Source Role ID"
          }
        ]
      },
      "who": {
        "identifier": {
          "system": "urn:oid:2.16.840.1.113883.4.2",
          "value": "2.16.840.1.113883.4.2"
        }
      },
      "altId": "6580",
      "requestor": false,
      "network": {
        "address": "Workstation1.ehr.familyclinic.com",
        "type": "1"
      }
    }
  ],
  "source": {
    "site": "Cloud",
    "observer": {
      "identifier": {
        "value": "hl7connect.healthintersections.com.au"
      }
    },
    "type": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/security-source-type",
        "code": "3",
        "display": "Web Server"
      }
    ]
  },
  "entity": [
    {
      "what": {
        "reference": "Patient/example/_history/1"
      },
      "type": {
        "system": "http://terminology.hl7.org/CodeSystem/audit-entity-type",
        "code": "1",
        "display": "Person"
      },
      "role": {
        "system": "http://terminology.hl7.org/CodeSystem/object-role",
        "code": "1",
        "display": "Patient"
      }
    },
    {
      "what": {
        "identifier": {
          "type": {
            "text": "TraceID"
          },
          "system": "http://example.com/server",
          "value": "6b507ee2d716780372c255df69ece653"
        }
      },
      "type": {
        "system": "http://terminology.hl7.org/CodeSystem/audit-entity-type",
        "code": "2",
        "display": "System Object"
      },
      "role": {
        "system": "http://terminology.hl7.org/CodeSystem/object-role",
        "code": "21",
        "display": "Job Stream"
      }
    }
  ]
}

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.