/
Data Correction

Data Correction

Deleting data from PKB

Delete scripts are part of renalreg/pkb_services: Modules and Utilities related to PKB (github.com)

Lab Orders/Result Items

https://github.com/renalreg/pkb_services#delete-lab-order

python scripts/delete.py laborder {--no-dryrun} {--anon} [Lab Order ID]

E.g. for a real delete (not a dryrun), with non-anonymised data, to delete lab order with ID 1000122049:ba85ef4d57da88b4d256821fd51ad461:

python scripts/delete.py laborder --no-dryrun 1000122049:ba85ef4d57da88b4d256821fd51ad461

Documents

https://github.com/renalreg/pkb_services#delete-document

python scripts/delete.py document {--no-dryrun} {--anon} [Document ID]

E.g. for a real delete (not a dryrun), with non-anonymised data, to delete document with ID 1000122049:1696201200000:

python scripts/delete.py document --no-dryrun 1000122049:1696201200000

Related content

PKB Delete Data
PKB Delete Data
More like this
Dealing with PKB errors
Dealing with PKB errors
More like this
Legacy Quarterly AKI Lab data export Process
Legacy Quarterly AKI Lab data export Process
More like this
File De-duplication Code
File De-duplication Code
More like this