PSIS Event List Query Response - tabular view

No links through to datatypes or vocabulary.

XML Schema: queryResponseEventList  Example message: queryResponseEventList

PSISQueryResponse

A header for the PSIS Query Response to a PSIS Event list query. Note that PSIS terms messages that are persisted on PSIS as 'events'.  For event list, it will contain one-to-many events.



Used by:

[1..1] recordTarget

A Participation that indicates 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.


The psisDate type constrains the HL7 TS (timestamp) to use only its simplest form - a value attribute containing a date/time in the format yyyyMMddhhmmss.
   



[1..1] eventStatus
The current status of the event.

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

 The codeSystem OID will always be the same, and refers to the PSISDataStatus NPfIT vocabulary.

 The possible values of the status (contained with the "code" attribute) are:
        1 - Event is normal
        2 - Event has been suspended
        3 - Event has been superseded

    These correspond to the displayName values of "Normal", "Nullified" and "Replaced".




[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
The author element contains HL7 that represents the author of the document; either an individual or an organization. This is a fragment of HL7 data in the HL7 namespace that has been extracted by PSIS from the focal act of the event.

Although it is not constrained by the schema, this should either be an  "R_AgentNPFITPersonSDS" (UKCT_MT120301UK01) CMET, or a  "R_AgentNPFITOrganizationSDS" (UKCT_MT120501UK01) CMET.