{
  "resourceType": "Bundle",
  "id": "87700024-070c-4141-8109-9d9fa34dd24b",
  "meta": {
    "versionId": "3",
    "lastUpdated": "2019-04-16T00:00:00Z"
  },
  "identifier": {
    "system": "urn:ietf:rfc:3986",
    "value": "urn:uuid:0d4151bd-1cbf-4d64-b04d-cd9187a4c6e0"
  },
  "type": "searchset",
  "total": 30,
  "link": [
    {
      "relation": "self",
      "url": "https://ncdhc.health.gov.au/fhir/v1.0.0/AuditEvent?patient=dd78393f-37ca-4738-81d6-d9595b2e5d0f&_format=application/fhir+json&search-id=40dfe4ea-04c0-4aa6-af05-d48ecf3b6b&_sort=date"
    },
    {
      "relation": "first",
      "url": "https://ncdhc.health.gov.au/fhir/v1.0.0/AuditEvent?patient=dd78393f-37ca-4738-81d6-d9595b2e5d0f&_format=application/fhir+json&search-id=40dfe4ea-04c0-4aa6-af05-d48ecf3b6b&_sort=date&search-offset=0&_count=2"
    },
    {
      "relation": "next",
      "url": "https://ncdhc.health.gov.au/fhir/v1.0.0/AuditEvent?patient=dd78393f-37ca-4738-81d6-d9595b2e5d0f&_format=application/fhir+json&search-id=40dfe4ea-04c0-4aa6-af05-d48ecf3b6b&_sort=date&search-offset=4&_count=2"
    },
    {
      "relation": "last",
      "url": "https://ncdhc.health.gov.au/fhir/v1.0.0/AuditEvent?patient=dd78393f-37ca-4738-81d6-d9595b2e5d0f&_format=application/fhir+json&search-id=40dfe4ea-04c0-4aa6-af05-d48ecf3b6b&_sort=date&search-offset=28&_count=2"
    }
  ],
  "entry": [
    {
      "fullUrl": "https://ncdhc.health.gov.au/fhir/v1.0.0/AuditEvent/27700024-070c-4141-8109-9d9fa34dd24b",
      "resource": {
        "resourceType": "AuditEvent",
        "id": "27700024-070c-4141-8109-9d9fa34dd24b",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2019-04-21T00:00:00Z",
          "profile": [
            "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-audit-event"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b> View Newborn Delivery by Eva Bill</b></p></div>"
        },
        "type": {
          "system": "http://hl7.org.au/fhir/ch/v1/CodeSystem/ncdhc-audit-type",
          "code": "HEALTHINT",
          "display": "Health Interaction"
        },
        "subtype": [
          {
            "system": "http://hl7.org.au/fhir/ch/v1/CodeSystem/ncdhc-hi-type",
            "code": "NEWBRNDEL",
            "display": "Newborn Delivery"
          }
        ],
        "action": "R",
        "recorded": "2019-04-21T00:00:00Z",
        "outcome": "0",
        "agent": [
          {
            "role": [
              {
                "coding": [
                  {
                    "system": "http://hl7.org.au/fhir/ch/v1/CodeSystem/ncdhc-security-role-type",
                    "code": "RESPRSN",
                    "display": "responsible party"
                  }
                ],
                "text": "Authorised Rep"
              }
            ],
            "name": "Eva Bill",
            "requestor": true
          }
        ],
        "source": {
          "site": "Consumer-App",
          "identifier": {
            "value": "ncdhc.consumer.app.1125225222"
          },
          "type": [
            {
              "system": "http://hl7.org/fhir/security-source-type",
              "code": "1",
              "display": "User Device"
            }
          ]
        }
      },
      "search": {
        "mode": "match"
      }
    },
    {
      "fullUrl": "https://ncdhc.health.gov.au/fhir/v1.0.0/AuditEvent/37700024-070c-4141-8109-9d9fa34dd24b",
      "resource": {
        "resourceType": "AuditEvent",
        "id": "37700024-070c-4141-8109-9d9fa34dd24b",
        "meta": {
          "versionId": "1",
          "lastUpdated": "2019-04-19T00:00:00Z",
          "profile": [
            "http://hl7.org.au/fhir/ch/v1/StructureDefinition/ncdhc-audit-event"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b> View Newborn Delivery by Dr. Joe Smith </b></p></div>"
        },
        "type": {
          "system": "http://hl7.org.au/fhir/ch/v1/CodeSystem/ncdhc-audit-type",
          "code": "HEALTHINT",
          "display": "Health Interaction"
        },
        "subtype": [
          {
            "system": "http://hl7.org.au/fhir/ch/v1/CodeSystem/ncdhc-hi-type",
            "code": "NEWBRNDEL",
            "display": "Newborn Delivery"
          }
        ],
        "action": "R",
        "recorded": "2019-04-19T00:00:00Z",
        "outcome": "0",
        "agent": [
          {
            "role": [
              {
                "coding": [
                  {
                    "system": "http://hl7.org.au/fhir/ch/v1/CodeSystem/ncdhc-security-role-type",
                    "code": "PROV",
                    "display": "Health Care Provider"
                  }
                ],
                "text": "Provider"
              }
            ],
            "name": "Dr. Joe Smith",
            "requestor": true
          },
          {
            "role": [
              {
                "coding": [
                  {
                    "system": "http://hl7.org.au/fhir/ch/v1/CodeSystem/ncdhc-security-role-type",
                    "code": "CST",
                    "display": "Provider Organisation"
                  }
                ],
                "text": "Organisation"
              }
            ],
            "name": "ABC Medical Center",
            "requestor": true,
            "location" : {
              "display": "Blacktown, NSW"
            }
          }
        ],
        "source": {
          "site": "Health Provider Viewer",
          "identifier": {
            "value": "ncdhc.hpp.app.2125225222"
          },
          "type": [
            {
              "system": "http://hl7.org/fhir/security-source-type",
              "code": "4",
              "display": "Application Server"
            }
          ]
        }
      },
      "search": {
        "mode": "match"
      }
    }
  ]
}