15.2.93. camcops_server.cc_modules.cc_anon

camcops_server/cc_modules/cc_anon.py


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

This file is part of CamCOPS.

CamCOPS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

CamCOPS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with CamCOPS. If not, see <https://www.gnu.org/licenses/>.


Anonymisation functions.

Largely superseded by CRATE (https://doi.org/10.1186%2Fs12911-017-0437-1).

camcops_server.cc_modules.cc_anon.write_crate_data_dictionary(req: CamcopsRequest, recipient: ExportRecipientInfo, file: TextIO = <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>) None[source]

Generates a draft CRATE data dictionary.

CRATE is an anonymisation tool. See:

Parameters
camcops_server.cc_modules.cc_anon.write_cris_data_dictionary(req: CamcopsRequest, recipient: ExportRecipientInfo, file: TextIO = <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>) None[source]

Generates a draft CRIS data dictionary.

CRIS is an anonymisation tool. See

  • Stewart R, Soremekun M, Perera G, Broadbent M, Callard F, Denis M, Hotopf M, Thornicroft G, Lovestone S (2009). The South London and Maudsley NHS Foundation Trust Biomedical Research Centre (SLAM BRC) case register: development and descriptive data. BMC Psychiatry 9: 51. https://www.ncbi.nlm.nih.gov/pubmed/19674459

  • Fernandes AC, Cloete D, Broadbent MT, Hayes RD, Chang CK, Jackson RG, Roberts A, Tsang J, Soncul M, Liebscher J, Stewart R, Callard F (2013). Development and evaluation of a de-identification procedure for a case register sourced from mental health electronic records. BMC Med Inform Decis Mak. 13: 71. https://www.ncbi.nlm.nih.gov/pubmed/23842533

Parameters