{
  "resourceType": "AuditEvent",
  "id": "example-logout",
  "type": {
    "coding": [
      {
        "system": "http://dicom.nema.org/resources/ontology/DCM",
        "code": "110114",
        "display": "User Authentication"
      }
    ]
  },
  "subtype": [
    {
      "coding": [
        {
          "system": "http://dicom.nema.org/resources/ontology/DCM",
          "code": "110123",
          "display": "Logout"
        }
      ]
    }
  ],
  "action": "E",
  "recorded": "2013-06-20T23:46:41Z",
  "outcome": {
    "code": {
      "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"
        },
        "display": "Grahame Grieve"
      },
      "requestor": true,
      "networkString": "127.0.0.1"
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/auditevent-AlternativeUserID",
          "valueIdentifier": {
            "type": {
              "text": "process ID"
            },
            "value": "6580"
          }
        }
      ],
      "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"
        }
      },
      "requestor": false,
      "networkString": "Workstation1.ehr.familyclinic.com"
    }
  ],
  "source": {
    "observer": {
      "identifier": {
        "value": "hl7connect.healthintersections.com.au"
      },
      "display": "Cloud"
    },
    "type": [
      {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/security-source-type",
            "code": "3",
            "display": "Web Server"
          }
        ]
      }
    ]
  },
  "meta": {
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  }
}