DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). 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>Application Start for under service login &quot;Grahame&quot; (id: Grahame's Test HL7Connect)</div>"
  },
  "event": {
    "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",
    "dateTime": "2012-10-25T22:04:27+11:00",
    "outcome": "0"
  },
  "participant": [
    {
      "role": [
        {
          "text": "Service User (Logon)"
        }
      ],
      "userId": {
        "value": "Grahame"
      },
      "requestor": false,
      "network": {
        "address": "127.0.0.1",
        "type": "2"
      }
    }
  ],
  "source": {
    "site": "Development",
    "identifier": {
      "value": "Grahame's Laptop"
    },
    "type": [
      {
        "system": "http://hl7.org/fhir/audit-event-sub-type",
        "code": "1"
      }
    ]
  },
  "object": [
    {
      "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": "DomainResource"
      },
      "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.