14.1.15. crate_anon.anonymise.eponyms

crate_anon/anonymise/eponyms.py


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

This file is part of CRATE.

CRATE 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.

CRATE 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 CRATE. If not, see <https://www.gnu.org/licenses/>.


Medical eponym handling.

Eponyms from 2018-03-27 snapshot of:

Remember the following:

  • Patient names should be removed using their identifiable information. Removing all known names is just an additional experimental safety measure.

  • The eponyms are removed from the name lists, before the name lists are used to scrub text – so we don’t scrub “Parkinson’s disease”, as an obvious example.

  • Consequently, we can be quite liberal here. Including “Turner”, for example (a common UK name but also in Turner’s syndrome) won’t prevent a Mr Turner from being anonymised.

  • However, the point is to scrub out some inadvertent names, so maybe not too liberal!

class crate_anon.anonymise.eponyms.EponymInfo[source]

Reserved for future use, the intention being maybe some classification by how rare or common (a) the eponymous disease is, and (b) the name itself is.

crate_anon.anonymise.eponyms.get_plain_eponyms(add_unaccented_versions: bool = True) List[str][source]

Returns a list of all names to be used as medical eponyms – that is, people who’ve had syndromes named after them.

Parameters:

add_unaccented_versions – Add unaccented (mangled) versions of names, too? For example, do you want Sjogren as well as Sjögren?

Returns:

alphabetically sorted list of strings