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

[[Encounter]]

Matched on: [[Encounter.External Encounter ID]] as derived from PV1-19.1

When matched: The [[Encounter Event]] will be handled as indicated below.

When not matched: Since this is a cancellation message, no action will be taken.

[[Encounter Event]]

Matched on: 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.

When matched: The pre-admit [[Encounter Event]] associated with this [[Encounter]] will be deleted.

When not matched: No action.

[[Appointment]]

Matched on: PKB maintains an internal link joining the [[Encounter]] to the [[Appointment]]. No additional external IDs required.

When matched: The linked [[Appointment]] will be cancelled.

When not matched: 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|||9999999999^^^NHS^NH||Smith^John^Joe^^Mr||19700101|M|||Flat name^1, The Road^London^London^SW1A 1AA^GBR||01234567890^PRN~07123456789^PRS|^NET^^john.smith@company.com~01234098765^WPN||||||||||||||||N|

PV1|1||||||||||||||||||V00001|

Response

PKB will respond with a standard HL7 acknowledgement.