Developer documentation‎ > ‎HL7 API‎ > ‎Messages‎ > ‎

ADT A08


ADT^A08: Update an Encounter

Overview

Records an update to Encounter information.

Relevant Entities

Please click through to the Data Model to explore the presentation of these entities in the web interface.

Update Behaviour

Message Entity Matching Criteria Behaviour (Matched) Behaviour (Not Matched)
A08 [[Encounter]] [[Encounter.External Encounter ID]] as derived from PV1-19.1 The [[Encounter Event]] will be handled as indicated below. No action.
  [[Encouner Event]] : Admission Event An Encounter can contain zero or one admission [[Encounter Event]]s. If the [[Encounter]] has been matched, then there will be at most one admission [[Encounter Event]], so no other IDs are required for matching. The timestamp of the existing admission [[Encounter Event]] will be updated to the admit timestamp provided on this update [[Encounter Event]], if one was provided and which differs.  No action.
  [[Encounter Event]] : Discharge Event An Encounter can contain zero or one discharge [[Encounter Event]]s. If the [[Encounter]] has been matched, then there will be at most one discharge [[Encounter Event]], so no other IDs are required for matching. The timestamp of the existing discharge [[Encounter Event]] will be updated to the discharge timestamp provided on this update [[Encounter Event]], if one was provided and which differs. No action.
  [[Encounter Event]] : Update Event Update [[Encounter Event]]s are not uniquely identifiable. N/A The update event [[Encounter Event]] will be added to the [[Encounter]].

Definition

This is identical in format to the ADT^A01, except that timestamp of the update [[Encounter Event]] will be taken from EVN-6, and PV1-44 and PV1-45 will be checked only for updates to the timestamp of admission and/or discharge [[Encounter Event]]s, where they exist. This is shown below:

Segment Field Component Description Example Data Model
[ EVN ]

Event Type
 
  [ EVN-6 ]   Event Occurred    
    EVN-6.1 Event Occurred 201508011200 [[Encounter Event.Timestamp]] : Update Event

If not provided, MSH-7 will be used.
PV1          

[ PV1-44 ]
Admit datetime. Timestamp of admission for the entire Encounter.
 

PV1-44.1 Admit timestamp 201508011200 [[Encounter Event.Timestamp]] : Admission Event

If not provided, no update is performed.
  [ PV1-45 ]   Discharge datetime. Timestamp of discharge for the entire Encounter.    
    PV1-45.1 Discharge timestamp 201508011200 [[Encounter Event.Timestamp]] : Discharge Event

If not provided, no update is performed.

Examples

MSH|^~\&|SendingApp|SendingFacility|HL7API|PKB|20160102101112||ADT^A08|ABC0000000001|P|2.4
PID|||5555555555^^^NHS^NH||Smith^John^Joe^^Mr||19700101|M|||My flat name^1, The Road^London^London^SW1A 1AA^GBR||john.smith@hotmail.com^NET~01234567890^PRN~07123456789^PRS|john.smith@company.com^NET~01234098765^WPN||||||||||||||||N|
PV1|1|I|^^^^^^^^My Ward||||^Jones^Stuart^James^^Dr^|^Smith^William^^^Dr^|^Foster^Terry^^^Mr^||||||||||V00001|||||||||||||||||||||||||201508011000|201508011200


Response

PKB will respond with a standard HL7 acknowledgement.

Comments