A limited set of database models for the RR database
poetry add ukrr_models
Delete patient with the specified rr_no from the database.
python ukrr_models/utils.py delete --rrno {rr_no} --username {username} --authorised-by {authorised_by} --reason {reason}
Move entries in the table for one patient into another.
python ukrr_models/utils.py merge --rrno 123456789 --destination-rrno 123456790
Check DELETED_PATIENTS table and re-construct the deleted patient back using data in the AUDIT tables.
python ukrr_models/utils.py undelete --rrno 123456789 --update
Distributed under the MIT License. See LICENSE for more information.
Renal Registry
- Website - The UK Kidney Association
- X - @UKKidney
- E-mail - rrsystems@renalregistry.nhs.uk
Project Link - https://github.com/renalreg/ukrr_models