AuditEvent-patient-restricted-fhir-pds-update-Example

Tree View

AuditEvent

Table View

AuditEvent.id[0]PARS-AuditEvent-patient-restricted-fhir-pds-update-Example
AuditEvent.type[0].system[0]http://terminology.hl7.org/CodeSystem/audit-event-type
AuditEvent.type[0].code[0]rest
AuditEvent.type[0].display[0]Restful Operation
AuditEvent.subtype[0].system[0]http://hl7.org/fhir/restful-interaction
AuditEvent.subtype[0].code[0]patch
AuditEvent.action[0]U
AuditEvent.recorded[0]2024-07-01T09:49:00+00:00
AuditEvent.agent[0].who[0].type[0]Organization
AuditEvent.agent[0].who[0].identifier[0].system[0]https://fhir.nhs.uk/Id/ods-organization-code
AuditEvent.agent[0].who[0].identifier[0].value[0]X26
AuditEvent.agent[0].who[0].display[0]NHS App
AuditEvent.agent[0].requestor[0]True
AuditEvent.agent[1].who[0].type[0]Patient
AuditEvent.agent[1].who[0].identifier[0].system[0]https://fhir.nhs.uk/Id/nhs-number
AuditEvent.agent[1].who[0].identifier[0].value[0]9999999991
AuditEvent.agent[1].requestor[0]True
AuditEvent.source[0].site[0]api.service.nhs.uk/personal-demographics/FHIR/R4/
AuditEvent.source[0].observer[0].identifier[0].system[0]https://fhir.nhs.uk/Id/accredited-system
AuditEvent.source[0].observer[0].identifier[0].value[0]12345
AuditEvent.source[0].observer[0].display[0]Spine Demographics
AuditEvent.source[0].type[0].system[0]http://terminology.hl7.org/CodeSystem/security-source-type
AuditEvent.source[0].type[0].code[0]1
AuditEvent.entity[0].what[0].identifier[0].system[0]https://fhir.nhs.uk/Id/nhs-number
AuditEvent.entity[0].what[0].identifier[0].value[0]9999999991
AuditEvent.entity[0].type[0].system[0]http://terminology.hl7.org/CodeSystem/audit-entity-type
AuditEvent.entity[0].type[0].code[0]1
AuditEvent.entity[0].type[0].display[0]Person
AuditEvent.entity[0].role[0].system[0]http://terminology.hl7.org/CodeSystem/object-role
AuditEvent.entity[0].role[0].code[0]1
AuditEvent.entity[0].role[0].display[0]Patient
AuditEvent.entity[1].what[0].identifier[0].system[0]https://fhir.nhs.uk/Id/transaction
AuditEvent.entity[1].what[0].identifier[0].value[0]87d148b6-586d-11ec-bf63-0242ac130002
AuditEvent.entity[1].type[0].system[0]https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType
AuditEvent.entity[1].type[0].code[0]XrequestId
AuditEvent.entity[2].what[0].identifier[0].system[0]https://fhir.nhs.uk/Id/accredited-system
AuditEvent.entity[2].what[0].identifier[0].value[0]123445
AuditEvent.entity[2].type[0].system[0]http://hl7.org/fhir/resource-types
AuditEvent.entity[2].type[0].code[0]Endpoint
AuditEvent.entity[2].role[0].system[0]http://terminology.hl7.org/CodeSystem/object-role
AuditEvent.entity[2].role[0].code[0]17
AuditEvent.entity[2].role[0].display[0]Data Repository
AuditEvent.entity[2].name[0]Personnel Demographics Service
AuditEvent.entity[2].detail[0].type[0]productIdentifier
AuditEvent.entity[2].detail[0].value[0]PDS
AuditEvent.entity[2].detail[1].type[0]interactionIdentifier
AuditEvent.entity[2].detail[1].value[0]PDS Update

XML View

<AuditEvent xmlns="http://hl7.org/fhir">
    <id value="PARS-AuditEvent-patient-restricted-fhir-pds-update-Example" />
    <type>
        <system value="http://terminology.hl7.org/CodeSystem/audit-event-type" />
        <code value="rest" />
        <display value="Restful Operation" />
    </type>
    <subtype>
        <system value="http://hl7.org/fhir/restful-interaction" />
        <code value="patch" />
    </subtype>
    <action value="U" />
    <recorded value="2024-07-01T09:49:00+00:00" />
    <agent>
        <who>
            <type value="Organization" />
            <identifier>
                <system value="https://fhir.nhs.uk/Id/ods-organization-code" />
                <value value="X26" />
            </identifier>
            <display value="NHS App" />
        </who>
        <requestor value="true" />
    </agent>
    <agent>
        <who>
            <type value="Patient" />
            <identifier>
                <system value="https://fhir.nhs.uk/Id/nhs-number" />
                <value value="9999999991" />
            </identifier>
        </who>
        <requestor value="true" />
    </agent>
    <source>
        <site value="api.service.nhs.uk/personal-demographics/FHIR/R4/" />
        <observer>
            <identifier>
                <system value="https://fhir.nhs.uk/Id/accredited-system" />
                <value value="12345" />
            </identifier>
            <display value="Spine Demographics" />
        </observer>
        <type>
            <system value="http://terminology.hl7.org/CodeSystem/security-source-type" />
            <code value="1" />
        </type>
    </source>
    <entity>
        <what>
            <identifier>
                <system value="https://fhir.nhs.uk/Id/nhs-number" />
                <value value="9999999991" />
            </identifier>
        </what>
        <type>
            <system value="http://terminology.hl7.org/CodeSystem/audit-entity-type" />
            <code value="1" />
            <display value="Person" />
        </type>
        <role>
            <system value="http://terminology.hl7.org/CodeSystem/object-role" />
            <code value="1" />
            <display value="Patient" />
        </role>
    </entity>
    <entity>
        <what>
            <identifier>
                <system value="https://fhir.nhs.uk/Id/transaction" />
                <value value="87d148b6-586d-11ec-bf63-0242ac130002" />
            </identifier>
        </what>
        <type>
            <system value="https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType" />
            <code value="XrequestId" />
        </type>
    </entity>
    <entity>
        <what>
            <identifier>
                <system value="https://fhir.nhs.uk/Id/accredited-system" />
                <value value="123445" />
            </identifier>
        </what>
        <type>
            <system value="http://hl7.org/fhir/resource-types" />
            <code value="Endpoint" />
        </type>
        <role>
            <system value="http://terminology.hl7.org/CodeSystem/object-role" />
            <code value="17" />
            <display value="Data Repository" />
        </role>
        <name value="Personnel Demographics Service" />
        <detail>
            <type value="productIdentifier" />
            <valueString value="PDS" />
        </detail>
        <detail>
            <type value="interactionIdentifier" />
            <valueString value="PDS Update" />
        </detail>
    </entity>
</AuditEvent>

JSON View

{
    "resourceType": "AuditEvent",
    "id": "PARS-AuditEvent-patient-restricted-fhir-pds-update-Example",
    "type": {
        "system": "http://terminology.hl7.org/CodeSystem/audit-event-type",
        "code": "rest",
        "display": "Restful Operation"
    },
    "subtype":  [
        {
            "system": "http://hl7.org/fhir/restful-interaction",
            "code": "patch"
        }
    ],
    "action": "U",
    "recorded": "2024-07-01T09:49:00+00:00",
    "agent":  [
        {
            "who": {
                "type": "Organization",
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/ods-organization-code",
                    "value": "X26"
                },
                "display": "NHS App"
            },
            "requestor": true
        },
        {
            "who": {
                "type": "Patient",
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/nhs-number",
                    "value": "9999999991"
                }
            },
            "requestor": true
        }
    ],
    "source": {
        "site": "api.service.nhs.uk/personal-demographics/FHIR/R4/",
        "observer": {
            "identifier": {
                "system": "https://fhir.nhs.uk/Id/accredited-system",
                "value": "12345"
            },
            "display": "Spine Demographics"
        },
        "type":  [
            {
                "system": "http://terminology.hl7.org/CodeSystem/security-source-type",
                "code": "1"
            }
        ]
    },
    "entity":  [
        {
            "what": {
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/nhs-number",
                    "value": "9999999991"
                }
            },
            "type": {
                "system": "http://terminology.hl7.org/CodeSystem/audit-entity-type",
                "code": "1",
                "display": "Person"
            },
            "role": {
                "system": "http://terminology.hl7.org/CodeSystem/object-role",
                "code": "1",
                "display": "Patient"
            }
        },
        {
            "what": {
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/transaction",
                    "value": "87d148b6-586d-11ec-bf63-0242ac130002"
                }
            },
            "type": {
                "system": "https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType",
                "code": "XrequestId"
            }
        },
        {
            "what": {
                "identifier": {
                    "system": "https://fhir.nhs.uk/Id/accredited-system",
                    "value": "123445"
                }
            },
            "type": {
                "system": "http://hl7.org/fhir/resource-types",
                "code": "Endpoint"
            },
            "role": {
                "system": "http://terminology.hl7.org/CodeSystem/object-role",
                "code": "17",
                "display": "Data Repository"
            },
            "name": "Personnel Demographics Service",
            "detail":  [
                {
                    "type": "productIdentifier",
                    "valueString": "PDS"
                },
                {
                    "type": "interactionIdentifier",
                    "valueString": "PDS Update"
                }
            ]
        }
    ]
}