---
title: "ADT A11 (Cancel An Admission)"
canonical: "https://wiki.patientsknowbest.com/space/api/3364848631/ADT%20A11%20(Cancel%20An%20Admission)"
format: markdown
---
> Macro (toc)

# ADT A11: Cancel An Admission

## Overview

This will cancel the admission event associated with this Encounter, if one exists. Note that if there are other (non-admission) Encounter Events associated with this Encounter, then the Encounter will not be removed, i.e. it will continue to exist but without an admission Encounter Event.

## Relevant Entities

- Encounter information is used to populate[ ](http://www.google.com/url?q=http%3A%2F%2Fdev.patientsknowbest.com%2Fhome%2Fdata-model%23TOC-Encounter&sa=D&sntz=1&usg=AOvVaw2Htu10Sp6-dKBOzPbI0I7l)<u>[[[Encounter]]](https://wiki.patientsknowbest.com/space/api/3744497665/Entity%3A+Encounter)</u> and[ ](http://www.google.com/url?q=http%3A%2F%2Fdev.patientsknowbest.com%2Fhome%2Fdata-model%23TOC-Encounter&sa=D&sntz=1&usg=AOvVaw2Htu10Sp6-dKBOzPbI0I7l)<u>[[[Encounter Event]]](https://wiki.patientsknowbest.com/space/api/3744497665/Entity%3A+Encounter)</u> entities

Please click through to the[ ](http://www.google.com/url?q=http%3A%2F%2Fdev.patientsknowbest.com%2Fhome%2Fdata-model&sa=D&sntz=1&usg=AOvVaw3H4dk1Ql5ZGfvclmnuHM_Y)<u>[Data Model](https://wiki.patientsknowbest.com/space/api/3363700789/Data+Model)</u> to explore the presentation of these entities in the web interface.

<details>
<summary>Update behaviour</summary>

**[[Encounter]]**

<u>Matched on</u>: [[Encounter.External Encounter ID]] as derived from PV1-19.1

<u>When matched</u>: The [[Encounter Event]] will be handled as indicated below.

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

**[[Encounter Event]]**

<u>Matched on</u>: An Encounter can contain zero or one admission [[Encounter Event]]s. If the [[Encounter]] has been matched, then there will be at most one admit [[Encounter Event]], so no other IDs are required for matching.

<u>When matched</u>: If there is an admission [[Encounter Event]] associated with this [[Encounter]], it will be deleted.

<u>When not matched</u>: No action.
</details>

## Definition

| **Segment** | **Field** | **Opt** | **RP/#** | **Component** | **Description** | **Example** | **Data Model** |
| --- | --- | --- | --- | --- | --- | --- | --- |
| **MSH** |  |  |  |  | Message header. This conforms to PKB's <u>[standard definition](https://wiki.hub.patientsknowbest.com/wiki/spaces/api/pages/3365012972)</u>. |  |  |
| **PID** |  |  |  |  | Patient identification. This conforms to PKB's <u>[standard definition](https://wiki.hub.patientsknowbest.com/wiki/spaces/api/pages/3364849216)</u>. |  |  |
| **PV1** |  |  |  |  | Patient visit information. |  |  |
|  | PV1-19 | **R** |  |  | Visit ID. This is used by PKB to uniquely identify an Encounter. |  | [[Encounter.External Encounter ID]] |
|  |  |  |  | PV1-19.1 | Visit ID | V00001 |  |

## Examples

> MSH|^~\&|SendingApp|SendingFacility|HL7API|PKB|20160102101112||ADT^A11|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[ ](http://www.google.com/url?q=http%3A%2F%2Fdev.patientsknowbest.com%2Fhome%2Fhl7-api%2Fmessages%2Fack&sa=D&sntz=1&usg=AOvVaw19jl6l0RTsr4epvg_3z1Se)<u>[standard HL7 acknowledgement](https://wiki.hub.patientsknowbest.com/wiki/spaces/api/pages/3364848470)</u>.