Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transfer documentation #627

Merged
merged 4 commits into from
Nov 15, 2023
Merged
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
24 changes: 23 additions & 1 deletion documentation/docs/clinician-users/entering-patient-data.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Entering Patient Data
reviewers:
reviewers: Dr Marcus Baw, Danny Cowen, Dr Simon Chapman
---

## Entering Patient Data
Expand All @@ -24,6 +24,28 @@ If you are unable to provide a postcode, click the **No postcode** button and yo

The NHS number is checked against the NHS number [checksum](https://www.datadictionary.nhs.uk/attributes/nhs_number.html) to confirm that it is a valid NHS number. We also use this to check if the patient has already been entered into the audit at a previous date, to avoid duplication.

### Transferring a patient between centres

Only the [**Lead Clinician**](../user-group-permissions/#lead-clinician) has permissions to transfer children to another centre.

The steps to do this for the lead clinician in Organisation A

1. Find the child to transfer in the cohort view and navigate to their audit view
2. Select the 'transfer' button to reveal a dropdown of organisations to transfer the child to.
3. Select the organisation to transfer the child to (Organisation B) and click 'Select Secondary Care NHS Trust Centre'
4. Confirm the transfer by clicking 'Allocate organisation'
5. You will be redirected back to the organisation view, where a message box will confirm a transfer email has been sent to the lead clinician of the target organisation (Organisation B). Note if there is no lead clinician currently in post, the email will be sent to the Epilepsy12 team.
6. The child will no longer be visible to you in Cohort View for Organisation A.

The steps for the lead clinician in Organisation B

1. You receive an email from your colleague who leads Epilepsy12 at Organisation A, notifying you that a transfer has been made.
2. Log in to Epilepsy12. You are greeted with a popup message informing you of the name of the child requesting transfer.
3. Navigate to the Cohort View and identify the child - they are highlighted in the list and have 2 extra icons.
4. Click whichever applies (accept or reject), and acknowledge the confirmation popup.
5. You will be redirected to the organisation view where a confirmation message will acknowledge successful outcome.
6. An email is sent to the lead of Organisation A is sent to notify the outcome. Note, if the transfer is rejected, an email also is sent to the Epilepsy12 team.

### Entering audit data

Only clinician and lead clinician users will be able to do this.
Expand Down
8 changes: 4 additions & 4 deletions documentation/docs/clinician-users/user-group-permissions.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
---
title: User Groups
reviewers:
reviewers: Dr Marcus Baw, Danny Cowen, Dr Simon Chapman
---

## User Groups

There are three user groups for staff working in Trusts/Health Boards, with varying permissions.

1. Lead Clinician
### Lead Clinician

- Can create, edit and delete users within their Trust/Health Board
- Can create, edit, and delete patients within their Trust/Health Board
- Can create, edit, and delete patient audit records

1. Clinician
### Clinician

- Can view users within their Trust/Health Board
- Can create, edit and delete patients within their Trust/Health Boards
- Can create, edit and delete patient audit records

1. Administrator
### Administrator

- Can view users within their Trust/Health Board
- Can create and edit patients within their Trust/Health Board
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Generated by Django 4.2.7 on 2023-11-10 20:06

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):
dependencies = [
("epilepsy12", "0015_historicalsite_transfer_origin_organisation_and_more"),
]

operations = [
migrations.AlterField(
model_name="site",
name="transfer_origin_organisation",
field=models.ForeignKey(
blank=True,
default=None,
null=True,
on_delete=django.db.models.deletion.PROTECT,
related_name="origin_organisation",
to="epilepsy12.organisation",
),
),
]
2 changes: 1 addition & 1 deletion epilepsy12/models_folder/epilepsy12_site.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Site(TimeStampAbstractBaseClass, UserStampAbstractBaseClass):
site_is_general_paediatric_centre = models.BooleanField(default=False, null=True)

active_transfer = models.BooleanField(default=False)
transfer_origin_organisation = models.OneToOneField(
transfer_origin_organisation = models.ForeignKey(
to="epilepsy12.Organisation",
on_delete=models.PROTECT,
default=None,
Expand Down
Loading