{
  "resourceType": "AuditEvent",
  "text": {
    "status": "generated",
    "div": "<div xmlns='http://www.w3.org/1999/xhtml'>Audit Event</div>"
  },
  "type": {
    "system": "http://dicom.nema.org/resources/ontology/DCM",
    "code": "110110",
    "display": "Patient Record"
  },
  "subtype": [
    {
      "code": "ITI-8",
      "system": "IHE Transactions",
      "display": "Patient Identity Feed"
    }
  ],
  "action": "U",
  "period": {
    "end": "2020-08-24T20:00:32.654Z"
  },
  "recorded": "2020-11-13T18:22:07.978Z",
  "outcome": "0",
  "agent": [
    {
      "type": {
        "coding": [
          {
            "code": "110153",
            "system": "http://dicom.nema.org/resources/ontology/DCM",
            "display": "Source Role ID"
          }
        ]
      },
      "role": [
        {
          "coding": [
            {
              "code": "110153",
              "system": "http://dicom.nema.org/resources/ontology/DCM",
              "display": "Source Role ID"
            }
          ]
        }
      ],
      "who": {
        "identifier": {
          "value": "root|xyz"
        }
      },
      "name": "example.com",
      "requestor": true,
      "network": {
        "address": "127.0.0.1",
        "type": "2"
      }
    },
    {
      "type": {
        "coding": [
          {
            "code": "110152",
            "system": "http://dicom.nema.org/resources/ontology/DCM",
            "display": "Destination Role ID"
          }
        ]
      },
      "role": [
        {
          "coding": [
            {
              "code": "110152",
              "system": "http://dicom.nema.org/resources/ontology/DCM",
              "display": "Destination Role ID"
            }
          ]
        }
      ],
      "who": {
        "identifier": {
          "value": "root|abc"
        }
      },
      "altId": "123",
      "requestor": false,
      "network": {
        "address": "127.0.0.1",
        "type": "2"
      }
    }
  ],
  "source": {
    "site": "1.2.3",
    "observer": {
      "identifier": {
        "value": "123@example.com"
      }
    },
    "type": [
      {
        "code": "9",
        "system": "http://terminology.hl7.org/CodeSystem/security-source-type",
        "display": "Other"
      }
    ]
  },
  "entity": [
    {
      "what": {
        "identifier": {
          "value": "123",
          "type": {
            "coding": [
              {
                "code": "2",
                "system": "RFC-3881"
              }
            ],
            "text": "Patient Number"
          }
        }
      },
      "type": {
        "code": "1"
      },
      "role": {
        "code": "1"
      },
      "detail": [
        {
          "type": "MSH-10",
          "valueString": "123"
        }
      ]
    }
  ]
}
