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

ADT A38


ADT^A38: Cancel Pre-Admit

Overview

This will cancel the pre-admit event associated with this Encounter, if one exists.

In addition, it will cancel the corresponding appointment in the patient's calendar that was created when the A05 message was received.

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)
A38 [[Encounter]] [[Encounter.External Encounter ID]] as derived from PV1-19.1 The [[Encounter Event]] will be handled as indicated below. Since this is a cancellation message, no action will be taken.
  [[Encounter Event]] An Encounter can contain zero or one pre-admit [[Encounter Event]]s. If the [[Encounter]] has been matched, then there will be at most one pre-admit [[Encounter Event]], so no other IDs are required for matching. The pre-admit [[Encounter Event]] associated with this [[Encounter]] will be deleted. No action.
  [[Appointment]] PKB maintains an internal link joining the [[Encounter]] to the [[Appointment]]. No additional external IDs required. The linked [[Appointment]] will be cancelled. No action.

Definition

This is identical in format to the ADT^A11.

Examples

MSH|^~\&|SendingApp|SendingFacility|HL7API|PKB|20160102101112||ADT^A38|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||||||||||||||||||V00001|

Response

PKB will respond with a standard HL7 acknowledgement.

Comments