Skip to main content

CRATE: clinical records anonymisation and text extraction

Project description

https://github.com/ucam-department-of-psychiatry/crate/actions/workflows/docker.yml/badge.svg https://github.com/ucam-department-of-psychiatry/crate/actions/workflows/docs.yml/badge.svg https://github.com/ucam-department-of-psychiatry/crate/actions/workflows/gate.yml/badge.svg https://github.com/ucam-department-of-psychiatry/crate/actions/workflows/installer.yml/badge.svg https://github.com/ucam-department-of-psychiatry/crate/actions/workflows/integration-tests.yml/badge.svg https://github.com/ucam-department-of-psychiatry/crate/actions/workflows/precommit.yml/badge.svg https://github.com/ucam-department-of-psychiatry/crate/actions/workflows/python-checks.yml/badge.svg https://github.com/ucam-department-of-psychiatry/crate/actions/workflows/python-tests.yml/badge.svg https://github.com/ucam-department-of-psychiatry/crate/actions/workflows/release.yml/badge.svg https://img.shields.io/badge/code%20style-black-000000.svg

Purpose

Create and use de-identified databases for research.

  • Anonymises relational databases.

  • Extracts and de-identifies text from associated binary files.

  • Performs some specific preprocessing tasks; e.g.

    • preprocesses some specific databases (e.g. Servelec RiO EMR);

    • drafts a “data dictionary” for anonymisation, with special knowledge of some databases (e.g. TPP SystmOne);

    • fetches some word lists, e.g. forenames/surnames/eponyms.

  • Provides tools to link databases, including via Bayesian personal identity matching, in identifiable or de-identified fashion.

  • Provides a natural language processing (NLP) pipeline, including built-in NLP, support for external tools, and client/server support for the Natural Language Processing Request Protocol (NLPRP).

  • Web app for

    • querying the anonymised database;

    • providing a de-identification API;

    • managing a consent-to-contact process.

Documentation

See https://crateanon.readthedocs.io

Sources

Licence

  • Copyright (C) 2015, University of Cambridge, Department of Psychiatry. Created by Rudolf Cardinal (rnc1001@cam.ac.uk).

  • Licensed under the GNU GPL v3+: see LICENSE file.

  • Some third-party libraries have slightly different licences; see the documentation.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crate_anon-0.20.9.tar.gz (19.3 MB view details)

Uploaded Source

File details

Details for the file crate_anon-0.20.9.tar.gz.

File metadata

  • Download URL: crate_anon-0.20.9.tar.gz
  • Upload date:
  • Size: 19.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.18

File hashes

Hashes for crate_anon-0.20.9.tar.gz
Algorithm Hash digest
SHA256 d6972bf15d00b6dfb3ac8d7eaf9b66d928166bd35eef07d3567f870bc448daa6
MD5 8a8b573aade315a0a54da17a7eacb47d
BLAKE2b-256 6146be8ff826b79008ac3193eade56675b5b3d09d875b2d62ddfb6304c213e8c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page