{
  "resourceType": "AuditEvent",
  "id": "example-rest-create-traceID",
  "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-rest-create-traceID\"\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-rest-create-traceID\u0026quot; \u003c/p\u003e\u003c/div\u003e\u003cp\u003e\u003cb\u003ecategory\u003c/b\u003e: Restful Operation \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://terminology.hl7.org/5.1.0/CodeSystem-audit-event-type.html\"\u003eAudit Event ID\u003c/a\u003e#rest)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ecode\u003c/b\u003e: create \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"codesystem-restful-interaction.html\"\u003eFHIR Restful Interactions\u003c/a\u003e#create)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eaction\u003c/b\u003e: C\u003c/p\u003e\u003cp\u003e\u003cb\u003erecorded\u003c/b\u003e: 4 Dec 2019, 10:59:28 pm\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\u003c/p\u003e\u003cp\u003e\u003cb\u003erequestor\u003c/b\u003e: true\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\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\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eentity\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ewhat\u003c/b\u003e: \u003ca href\u003d\"patient-example.html\"\u003ePatient/example/_history/1\u003c/a\u003e \u0026quot;Peter CHALMERS\u0026quot;\u003c/p\u003e\u003cp\u003e\u003cb\u003erole\u003c/b\u003e: Patient \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://terminology.hl7.org/5.1.0/CodeSystem-object-role.html\"\u003eAuditEventEntityRole\u003c/a\u003e#1)\u003c/span\u003e\u003c/p\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eentity\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ewhat\u003c/b\u003e: \u003cspan title\u003d\"  The TraceID from the software stack  \"\u003e\u003cspan/\u003e\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003erole\u003c/b\u003e: Job Stream \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://terminology.hl7.org/5.1.0/CodeSystem-object-role.html\"\u003eAuditEventEntityRole\u003c/a\u003e#21)\u003c/span\u003e\u003c/p\u003e\u003c/blockquote\u003e\u003c/div\u003e"
  },
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/audit-event-type",
          "code": "rest",
          "display": "Restful Operation"
        }
      ]
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://hl7.org/fhir/restful-interaction",
        "code": "create",
        "display": "create"
      }
    ]
  },
  "action": "C",
  "recorded": "2019-12-04T11:59:28.646+00:00",
  "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"
        }
      },
      "requestor": true
    },
    {
      "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"
      }
    },
    "type": [
      {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/security-source-type",
            "code": "3",
            "display": "Web Server"
          }
        ]
      }
    ]
  },
  "entity": [
    {
      "what": {
        "reference": "Patient/example/_history/1"
      },
      "role": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/object-role",
            "code": "1",
            "display": "Patient"
          }
        ]
      }
    },
    {
      "what": {
        "identifier": {
          "type": {
            "text": "TraceID"
          },
          "system": "http://example.com/server",
          "value": "6b507ee2d716780372c255df69ece653"
        }
      },
      "role": {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/object-role",
            "code": "21",
            "display": "Job Stream"
          }
        ]
      }
    }
  ],
  "meta": {
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  }
}