{
  "resourceType": "AuditEvent",
  "id": "example-logout",
  "text": {
    "status": "extensions",
    "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp\u003e\u003cb\u003eGenerated Narrative: AuditEvent\u003c/b\u003e\u003ca name\u003d\"example-logout\"\u003e \u003c/a\u003e\u003c/p\u003e\u003cdiv style\u003d\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"\u003e\u003cp style\u003d\"margin-bottom: 0px\"\u003eResource AuditEvent \u0026quot;example-logout\u0026quot; \u003c/p\u003e\u003c/div\u003e\u003cp\u003e\u003cb\u003ecategory\u003c/b\u003e: User Authentication \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://dicom.nema.org/resources/ontology/DCM\"\u003eDICOM\u003c/a\u003e#110114)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ecode\u003c/b\u003e: Logout \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://dicom.nema.org/resources/ontology/DCM\"\u003eDICOM\u003c/a\u003e#110123)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eaction\u003c/b\u003e: E\u003c/p\u003e\u003cp\u003e\u003cb\u003erecorded\u003c/b\u003e: 21 June 2013, 9:46:41 am\u003c/p\u003e\u003ch3\u003eOutcomes\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eCode\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eSuccess (Details: http://terminology.hl7.org/CodeSystem/audit-event-outcome code 0 \u003d \u0027Success\u0027, stated as \u0027Success\u0027)\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eagent\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003etype\u003c/b\u003e: human user \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://terminology.hl7.org/5.1.0/CodeSystem-extra-security-role-type.html\"\u003eSecurity Role Type\u003c/a\u003e#humanuser)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ewho\u003c/b\u003e: \u003cspan\u003e: Grahame Grieve\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003erequestor\u003c/b\u003e: true\u003c/p\u003e\u003cp\u003e\u003cb\u003enetwork\u003c/b\u003e: 127.0.0.1\u003c/p\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eagent\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eAuditEvent Alternative User ID\u003c/b\u003e: process ID: 6580\u003c/p\u003e\u003cp\u003e\u003cb\u003etype\u003c/b\u003e: Source Role ID \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://dicom.nema.org/resources/ontology/DCM\"\u003eDICOM\u003c/a\u003e#110153)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ewho\u003c/b\u003e: \u003cspan/\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003erequestor\u003c/b\u003e: false\u003c/p\u003e\u003cp\u003e\u003cb\u003enetwork\u003c/b\u003e: Workstation1.ehr.familyclinic.com\u003c/p\u003e\u003c/blockquote\u003e\u003ch3\u003eSources\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eObserver\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eType\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003e\u003cspan\u003e: Cloud\u003c/span\u003e\u003c/td\u003e\u003ctd\u003eWeb Server \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://terminology.hl7.org/5.1.0/CodeSystem-security-source-type.html\"\u003eAudit Event Source Type\u003c/a\u003e#3)\u003c/span\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/div\u003e"
  },
  "category": [
    {
      "coding": [
        {
          "system": "http://dicom.nema.org/resources/ontology/DCM",
          "code": "110114",
          "display": "User Authentication"
        }
      ]
    }
  ],
  "code": {
    "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"
      }
    ]
  }
}