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


ADT A27: Cancel pending admit


This will cancel the pending-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 A14 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)
A27 [[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 pending-admit [[Encounter Event]]s. If the [[Encounter]] has been matched, then there will be at most one pending-admit [[Encounter Event]], so no other IDs are required for matching. If there is a pending-admit [[Encounter Event]] associated with this [[Encounter]], it 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.


This is identical in format to the ADT A11.


PID|||9999999999^^^NHS^NH||Smith^John^Joe^^Mr||19700101|M|||My flat name^1, The Road^London^London^SW1A 1AA^GBR||^NET~01234567890^PRN~07123456789^PRS|^NET~01234098765^WPN||||||||||||||||N|


PKB will respond with a standard HL7 acknowledgement.