STU3 Candidate

This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Auditevent-example.json

Raw JSON (canonical form)

General AuditEvent Example

{
  "resourceType": "AuditEvent",
  "id": "example",
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Application Start for under service login &quot;Grahame&quot; (id: Grahame's Test HL7Connect)</div>"
  },
  "type": {
    "system": "http://nema.org/dicom/dicm",
    "code": "110100",
    "display": "Application Activity"
  },
  "subtype": [
    {
      "system": "http://nema.org/dicom/dicm",
      "code": "110120",
      "display": "Application Start"
    }
  ],
  "action": "E",
  "recorded": "2012-10-25T22:04:27+11:00",
  "outcome": "0",
  "agent": [
    {
      "role": [
        {
          "text": "Service User (Logon)"
        }
      ],
      "userId": {
        "value": "Grahame"
      },
      "requestor": false,
      "network": {
        "address": "127.0.0.1",
        "type": "2"
      }
    },
    {
      "role": [
        {
          "coding": [
            {
              "system": "http://nema.org/dicom/dicm",
              "code": "110153",
              "display": "Source Role ID"
            }
          ]
        }
      ],
      "userId": {
        "value": "2.16.840.1.113883.4.2|2.16.840.1.113883.4.2"
      },
      "altId": "6580",
      "requestor": false,
      "network": {
        "address": "Workstation1.ehr.familyclinic.com",
        "type": "1"
      }
    }
  ],
  "source": {
    "site": "Development",
    "identifier": {
      "value": "Grahame's Laptop"
    },
    "type": [
      {
        "system": "http://hl7.org/fhir/audit-event-sub-type",
        "code": "1"
      }
    ]
  },
  "entity": [
    {
      "identifier": {
        "type": {
          "coding": [
            {
              "system": "http://hl7.org/fhir/identifier-type",
              "code": "SNO"
            }
          ],
          "text": "Dell Serial Number"
        },
        "value": "ABCDEF"
      },
      "type": {
        "system": "http://hl7.org/fhir/object-type",
        "code": "4",
        "display": "Other"
      },
      "role": {
        "system": "http://hl7.org/fhir/object-role",
        "code": "4",
        "display": "Domain Resource"
      },
      "lifecycle": {
        "system": "http://hl7.org/fhir/object-lifecycle",
        "code": "6",
        "display": "Access / Use"
      },
      "name": "Grahame's Laptop"
    }
  ]
}

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.