Notice: This guidance is under active development by NHS England and content may be added or updated on a regular basis.
AuditEvent-patient-flag-Example
Important: This page is under development by NHS England
Tree View
AuditEvent |
id : PARS-AuditEvent-patient-flag-Example |
type |
system : http://terminology.hl7.org/CodeSystem/audit-event-type |
code : rest |
subtype |
system : http://hl7.org/fhir/restful-interaction |
code : read |
action : R |
recorded : 2024-07-01T09:49:00+00:00 |
agent |
who |
type : Organization |
identifier |
system : https://fhir.nhs.uk/Id/ods-organization-code |
value : ABC |
display : A GP Surgery |
requestor : True |
agent |
who |
type : Endpoint |
identifier |
system : https://fhir.nhs.uk/Id/product-id |
value : patient-flag |
display : A GP Surgery |
requestor : False |
source |
site : https://api.service.nhs.uk/patient-flags-api |
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 : 2 |
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 |
entity |
what |
identifier |
system : https://fhir.nhs.uk/Id/transaction |
value : 76d148b6-586d-11ec-bf63-0242ac130082 |
type |
system : https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType |
code : XrequestId |
entity |
what |
identifier |
system : https://fhir.nhs.uk/Id/product-id |
value : patient-flag |
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 |
value : Patient Flags |
detail |
type : interactionIdentifier |
value : Patient Flags - Get patient flags |
Table View
AuditEvent.id[0] | PARS-AuditEvent-patient-flag-Example |
AuditEvent.type[0].system[0] | http://terminology.hl7.org/CodeSystem/audit-event-type |
AuditEvent.type[0].code[0] | rest |
AuditEvent.subtype[0].system[0] | http://hl7.org/fhir/restful-interaction |
AuditEvent.subtype[0].code[0] | read |
AuditEvent.action[0] | R |
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] | ABC |
AuditEvent.agent[0].who[0].display[0] | A GP Surgery |
AuditEvent.agent[0].requestor[0] | True |
AuditEvent.agent[1].who[0].type[0] | Endpoint |
AuditEvent.agent[1].who[0].identifier[0].system[0] | https://fhir.nhs.uk/Id/product-id |
AuditEvent.agent[1].who[0].identifier[0].value[0] | patient-flag |
AuditEvent.agent[1].who[0].display[0] | A GP Surgery |
AuditEvent.agent[1].requestor[0] | False |
AuditEvent.source[0].site[0] | https://api.service.nhs.uk/patient-flags-api |
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] | 2 |
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] | 76d148b6-586d-11ec-bf63-0242ac130082 |
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/product-id |
AuditEvent.entity[2].what[0].identifier[0].value[0] | patient-flag |
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] | Patient Flags |
AuditEvent.entity[2].detail[1].type[0] | interactionIdentifier |
AuditEvent.entity[2].detail[1].value[0] | Patient Flags - Get patient flags |
XML View
<AuditEvent xmlns="http://hl7.org/fhir"> <id value="PARS-AuditEvent-patient-flag-Example" /> <type> <system value="http://terminology.hl7.org/CodeSystem/audit-event-type" /> <code value="rest" /> </type> <subtype> <system value="http://hl7.org/fhir/restful-interaction" /> <code value="read" /> </subtype> <action value="R" /> <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="ABC" /> </identifier> <display value="A GP Surgery" /> </who> <requestor value="true" /> </agent> <agent> <who> <type value="Endpoint" /> <identifier> <system value="https://fhir.nhs.uk/Id/product-id" /> <value value="patient-flag" /> </identifier> <display value="A GP Surgery" /> </who> <requestor value="false" /> </agent> <source> <site value="https://api.service.nhs.uk/patient-flags-api" /> <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="2" /> </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="76d148b6-586d-11ec-bf63-0242ac130082" /> </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/product-id" /> <value value="patient-flag" /> </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="Patient Flags" /> </detail> <detail> <type value="interactionIdentifier" /> <valueString value="Patient Flags - Get patient flags" /> </detail> </entity> </AuditEvent>
JSON View
{ "resourceType": "AuditEvent", "id": "PARS-AuditEvent-patient-flag-Example", "type": { "system": "http://terminology.hl7.org/CodeSystem/audit-event-type", "code": "rest" }, "subtype": [ { "system": "http://hl7.org/fhir/restful-interaction", "code": "read" } ], "action": "R", "recorded": "2024-07-01T09:49:00+00:00", "agent": [ { "who": { "type": "Organization", "identifier": { "system": "https://fhir.nhs.uk/Id/ods-organization-code", "value": "ABC" }, "display": "A GP Surgery" }, "requestor": true }, { "who": { "type": "Endpoint", "identifier": { "system": "https://fhir.nhs.uk/Id/product-id", "value": "patient-flag" }, "display": "A GP Surgery" }, "requestor": false } ], "source": { "site": "https://api.service.nhs.uk/patient-flags-api", "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": "2" } ] }, "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": "76d148b6-586d-11ec-bf63-0242ac130082" } }, "type": { "system": "https://profiles.ihe.net/ITI/BALP/CodeSystem/BasicAuditEntityType", "code": "XrequestId" } }, { "what": { "identifier": { "system": "https://fhir.nhs.uk/Id/product-id", "value": "patient-flag" } }, "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": "Patient Flags" }, { "type": "interactionIdentifier", "valueString": "Patient Flags - Get patient flags" } ] } ] }