Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added static/media/scheduling/token/cancel-token-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/media/scheduling/token/cancel-token-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/media/scheduling/token/cancel-token-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/media/scheduling/token/cancel-token-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/media/scheduling/token/cancel-token.mp4
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions static/media/scheduling/token/cancel-token.vtt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
WEBVTT

1
00:00:00.000 --> 00:00:03.042
1. Find the token

2
00:00:03.042 --> 00:00:06.808
2. Open the menu of the token

3
00:00:06.808 --> 00:00:10.495
3. Select Cancel Token

4
00:00:10.495 --> 00:00:14.558
4. Confirm
Binary file added static/media/scheduling/token/create-token-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/media/scheduling/token/create-token-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/media/scheduling/token/create-token-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/media/scheduling/token/create-token-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions static/media/scheduling/token/create-token-category.vtt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
WEBVTT

1
00:00:00.000 --> 00:00:03.986
1. Open the token categories

2
00:00:03.986 --> 00:00:08.336
2. Add a category to a resource type

3
00:00:08.336 --> 00:00:13.083
3. Complete the fields

4
00:00:13.083 --> 00:00:16.356
4. Create the category
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions static/media/scheduling/token/create-token-queue.vtt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
WEBVTT

1
00:00:00.000 --> 00:00:03.228
1. Open the queue list

2
00:00:03.228 --> 00:00:07.182
2. Select the date

3
00:00:07.182 --> 00:00:15.491
3. Select the practitioner

4
00:00:15.491 --> 00:00:19.301
4. Open the Create Queue form

5
00:00:19.301 --> 00:00:22.863
5. Enter the queue details

6
00:00:22.863 --> 00:00:25.829
6. Save the queue

7
00:00:25.829 --> 00:00:29.885
Set the primary queue
Binary file added static/media/scheduling/token/create-token.mp4
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions static/media/scheduling/token/create-token.vtt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
WEBVTT

1
00:00:00.000 --> 00:00:13.960
1. Open the patient's page

2
00:00:13.960 --> 00:00:17.524
2. Select Generate Token

3
00:00:17.524 --> 00:00:21.964
3. Select the resource type

4
00:00:21.964 --> 00:00:34.870
4. Select the resource

5
00:00:34.870 --> 00:00:37.930
5. Check the category

6
00:00:37.930 --> 00:00:43.167
7. Create the token
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
25 changes: 25 additions & 0 deletions static/media/scheduling/token/edit-token-category.vtt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
WEBVTT

1
00:00:00.000 --> 00:00:03.540
1. Open the token categories

2
00:00:03.540 --> 00:00:06.448
2. Find the category

3
00:00:06.448 --> 00:00:09.409
3. Open the category

4
00:00:09.409 --> 00:00:13.481
4. Change the name or the shorthand

5
00:00:13.481 --> 00:00:17.428
5. Make the category the default

6
00:00:17.428 --> 00:00:20.623
6. Save the changes
Binary file not shown.
17 changes: 17 additions & 0 deletions static/media/scheduling/token/generate-token-for-appointment.vtt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
WEBVTT

1
00:00:00.000 --> 00:00:15.662
1. Open the appointment

2
00:00:15.662 --> 00:00:19.325
2. Select Generate Token

3
00:00:19.325 --> 00:00:22.897
3. Check the token category

4
00:00:22.897 --> 00:00:28.469
5. Generate the token
Binary file not shown.
25 changes: 25 additions & 0 deletions static/media/scheduling/token/manage-token-queue.vtt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
WEBVTT

1
00:00:00.000 --> 00:00:15.614
1. Open the queue board

2
00:00:15.614 --> 00:00:21.764
3. Choose the service points to show

3
00:00:21.764 --> 00:00:25.375
4. Read the Ongoing tab

4
00:00:25.375 --> 00:00:30.566
7. Serve the next patient

5
00:00:30.566 --> 00:00:36.630
10. Mark the token as complete

6
00:00:36.630 --> 00:00:40.370
11. Check the Finished tab
Binary file added static/media/scheduling/token/move-token-1.png
Binary file added static/media/scheduling/token/move-token-2.png
Binary file added static/media/scheduling/token/move-token-3.png
Binary file added static/media/scheduling/token/move-token-4.png
Binary file added static/media/scheduling/token/move-token-5.png
Binary file added static/media/scheduling/token/move-token-6.png
Binary file added static/media/scheduling/token/move-token-7.png
Binary file added static/media/scheduling/token/move-token-8.png
Binary file added static/media/scheduling/token/move-token-9.png
Binary file added static/media/scheduling/token/move-token.mp4
Binary file not shown.
29 changes: 29 additions & 0 deletions static/media/scheduling/token/move-token.vtt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
WEBVTT

1
00:00:00.000 --> 00:00:03.480
1. Open the menu of the token

2
00:00:03.480 --> 00:00:08.195
2. Serve or call a waiting token out of order

3
00:00:08.195 --> 00:00:13.151
3. Move a token to another service point

4
00:00:13.151 --> 00:00:18.376
5. Set a token aside for re-call

5
00:00:18.376 --> 00:00:29.573
6. Bring back a token from Awaiting Re-Call

6
00:00:29.573 --> 00:00:35.062
7. Move a token back to Waiting

7
00:00:35.062 --> 00:00:49.510
8. Bring back a completed token
Binary file not shown.
21 changes: 21 additions & 0 deletions static/media/scheduling/token/set-up-service-points.vtt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
WEBVTT

1
00:00:00.000 --> 00:00:11.895
1. Open the queue list of the resource

2
00:00:11.895 --> 00:00:15.870
2. Open the Add Service Point form

3
00:00:15.870 --> 00:00:20.818
3. Enter the service point details

4
00:00:20.818 --> 00:00:27.036
4. Save the service point

5
00:00:27.036 --> 00:00:40.493
Change a service point
Binary file not shown.
25 changes: 25 additions & 0 deletions static/media/scheduling/token/view-patient-tokens.vtt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
WEBVTT

1
00:00:00.000 --> 00:00:10.413
1. Open the patient's page

2
00:00:10.413 --> 00:00:13.663
2. Find the token list

3
00:00:13.663 --> 00:00:16.653
3. Choose a date

4
00:00:16.653 --> 00:00:19.646
4. Open a token

5
00:00:19.646 --> 00:00:22.633
5. Print the token

6
00:00:22.633 --> 00:00:26.269
6. Open the queue board
152 changes: 122 additions & 30 deletions versioned_docs/version-3.1/concepts/scheduling/token.mdx

Large diffs are not rendered by default.

78 changes: 63 additions & 15 deletions versioned_docs/version-3.1/flows/scheduling/token/cancel-token.mdx
Original file line number Diff line number Diff line change
@@ -1,47 +1,94 @@
---
sidebar_position: 4
sidebar_position: 9
---

# Cancel a token

## Overview

This flow describes how to cancel a token in Care. Use it when the patient leaves, or when staff do not serve the token. See [Token](../../../concepts/scheduling/token.mdx).
<video src="/media/scheduling/token/cancel-token.mp4" poster="/media/scheduling/token/cancel-token.poster.png" controls width="720">
<track kind="captions" src="/media/scheduling/token/cancel-token.vtt" srcLang="en" label="English" default />
</video>

This flow describes how to cancel a [token](../../../concepts/scheduling/token.mdx) on the queue board, or how to mark it as entered in error.

## Pre-requisites

- The token is in a queue.
- You are a member of the facility.
- You open the queue board of the queue that holds the token. See [Serve patients from a token queue](./manage-token-queue.mdx).
- The token is on the **Ongoing** tab: in **Waiting**, in the section of a service point, or under **Awaiting Re-Call**.
- You have the permissions listed below.

## Permissions

| Permission | Access |
| --- | --- |
| Can Create on Token | Lets you cancel a token. |
| Can list token on Object | Lets you see the queue and its tokens. |
| Can Create on Token | Lets you cancel a token or mark it as entered in error. Hold it in the place of the queue's resource, as the list below the table shows. By default, the Admin, Staff, Facility Admin, Doctor, Nurse and Administrator roles hold it. |
| Can list token on Object | Lets you open the queue board and see its tokens and service points. Hold it in the same place as "Can Create on Token". By default, the Admin, Staff, Facility Admin, Doctor, Nurse and Administrator roles hold it. |
| Can list bookings on Object | Shows **Queues** under **Patient Management** in the facility sidebar, where you reach the queues of a practitioner. Hold it in the Administration organization, which every facility has, or in a department or team of the facility. By default, the Admin, Staff, Facility Admin, Doctor, Nurse and Administrator roles hold it. |
| Can Read Healthcare Service | Lets you reach the queues of a healthcare service, or of a location, through **Services** in the facility sidebar. Hold it in any organization of the facility. By default, the Facility Admin, Administrator, Admin, Staff, Doctor, Nurse, Volunteer and Pharmacist roles hold it. |
| Can View Facility Organizations | Needed only to choose a practitioner outside your own departments, under **All Dept.** in **Selected practitioner**. Hold it in any organization of the facility. The Administration organization appears in the list only if you hold it there. By default, the Facility Admin, Admin, Staff, Doctor, Administrator, Nurse and Volunteer roles hold it. |

Where you must hold "Can Create on Token" and "Can list token on Object" depends on the resource of the queue:

- For a practitioner's queue: the Administration organization, or an organization of the facility that the practitioner belongs to, or a parent of that organization.
- For a location's queue: an organization linked to the location or to its parent location, or a parent of one of them. The Administration organization also counts.
- For a healthcare service's queue: the service's managing organization or a parent of it. If the service has no managing organization, the Administration organization.
- If a department or team manages the service, hold them in that department or team, or in one above it. A role in the Administration organization alone does not count.

Note: The queue board shows its actions to everyone who can open it. If you do not hold "Can Create on Token" in the right place, Care refuses the change.

## Steps

### 1. Open the queue
### 1. Find the token

On the **Ongoing** tab, find the token in **Waiting** or in the section of a service point.

To find a waiting patient by name, type the name in **Search patients**.

For a token that waits for re-call, select **Awaiting Re-Call**. Find the token in the dialog.

![The waiting token GEN-002 of Rahul Menon outlined on the Ongoing tab](/media/scheduling/token/cancel-token-1.png)

### 2. Open the menu of the token

Open the facility and select **Queues**. Select the queue that holds the token. See [Manage a token queue](./manage-token-queue.mdx).
Select the three-dot button on the token card, or right-click the card.

### 2. Find the token
### 3. Select Cancel Token

Find the token on the **Ongoing** tab.
Select **Cancel Token**.

### 3. Cancel the token
To mark the token as entered in error instead, select **Mark as entered in error**.

Select **Cancel Token** on that token. Care asks you to confirm.
![The token menu of Rahul Menon with Cancel Token outlined](/media/scheduling/token/cancel-token-2.png)

### 4. Confirm

A dialog with the title **Cancel Token** opens.

The dialog asks: "Are you sure you want to cancel the token [token number] for [patient name]? This action cannot be undone."

Care fills in the number of the token and the name of the patient.

Select **Cancel Token** to confirm.

If you selected **Mark as entered in error**, the dialog has the title **Mark as entered in error**.

That dialog asks: "Are you sure you want to mark the token [token number] for [patient name] as entered in error? This action cannot be undone."

Select **Mark as entered in error** to confirm.

![The Cancel Token dialog asking to confirm the cancellation of the token GEN-002 for Rahul Menon](/media/scheduling/token/cancel-token-3.png)

![The queue board after the cancellation, with Anjali Nair and Fathima Rasheed waiting and one token on the Finished tab](/media/scheduling/token/cancel-token-4.png)

## Expected Outcome

- The token status changes to Cancelled.
- Staff do not call the token in the queue.
- The cancelled token leaves its service point and the **Ongoing** tab.
- The token appears on the **Finished** tab, with the status **Cancelled**.
- **Serve Next Patient** does not take a cancelled token.
- A token that you mark as entered in error leaves its service point. It appears on neither tab of the queue board.
- The patient's token list still shows the token, with the status **Cancelled** or **Entered in Error**. See [View and print a patient's tokens](./view-patient-tokens.mdx).

## Related

Expand All @@ -51,5 +98,6 @@ Concepts:

Flows:

- [Create a token](./create-token.mdx)
- [Manage a token queue](./manage-token-queue.mdx)
- [Serve patients from a token queue](./manage-token-queue.mdx)
- [Move a token in the queue](./move-token.mdx)
- [View and print a patient's tokens](./view-patient-tokens.mdx)
Loading
Loading