PSIS Event List Query Response - tabular view

No Current Link To VocabularyCoded With ExtensionsCoded No Extensions

queryResponseEventList  

PSISQueryResponse

A header for the PSIS Query Response



Used by:

[1..1] recordTarget

A Participation that idicates the Service User that the Query Response relates to.



[1..1] patient (Patient)

Link to the Patient who is the Record Target



[1..1] id (II)

The Patient's NHS number.  The Identifier External datatype flavour is used to carry this information as follows:-

  • The root attribute will contain the NHS number OID
  • The extension attribute will contain the NHS number itself.


[1..*] event

A container for the details about a message persisted on PSIS.



[1..1] eventID
eventID is the unique ID of the event.

 It's of type II-IG (Identifier Global) so it has a root attribute that is
  the ID, and no other attributes.


[1..1] interactionID

The interaction type of the message - ie the type of message that was used to enter the event into PSIS (such as a Care Event Report, or a Medication Update). This can be used to determine which schema is appropriate for validating the event data contained with the hl7Data element below.

 This is not the same as the event type - there may be a number of event types all associated with a single interaction type.

 The interaction type is of type II and has a root attribute that is the OID 2.16.840.1.113883.2.1.3.2.4.12 and an extension attribute that is the interaction type (eg REPC_MT400101UK06)
   



[1..1] persistenceDate

The date at which the event was entered into PSIS, in yyyyMMddhhmmss format. This does not necessarily correspond to the date on which the event occurred.

This is an HL7 timestamp field, which can have a number of different formats, but PSIS will only use the form that has a value attribute containing a date in the format yyyyMMddhhmmss.

   



[1..1] eventStatus
The current status of the event - see the further comments below.


   



[1..1] interactionID

The interaction type of the message - ie the type of message that was used to enter the event into PSIS (such as a Care Event Report, or a Medication Update). This can be used to determine which schema is appropriate for validating the event data contained with the hl7Data element below.

 This is not the same as the event type - there may be a number of event types all associated with a single interaction type.

 The interaction type is of type II and has a root attribute that is the OID 2.16.840.1.113883.2.1.3.2.4.12 and an extension attribute that is the interaction type (eg REPC_MT400101UK06)
   



[1..1] eventType
The type of the event.

This is a CV-CP field (Coded Value-Coded Plain), that will have attributes of codeSystem, code, and displayName.

The code is extracted from the original HL7 event using the XPath */code/@code.

The displayName is the name that is registered within PSIS for the event type.
           
It should be the same as the displayName in the original HL7 at */code/@displayName, but this is not guaranteed.
   


   



[1..1] Author
This is an XML fragment that corresponds to the CMET used to construct the original message.