Showing posts with label Deindetification. Show all posts
Showing posts with label Deindetification. Show all posts

Wednesday, December 5, 2012

i2b2 (Informatics for Integrating Biology and the Bedside)

source: https://www.i2b2.org/


i2b2: Informatics for Integrating Biology & the Bedside - A National Center for Biomedical Computing
MISSION
i2b2 (Informatics for Integrating Biology and the Bedside) is an NIH-funded National Center for Biomedical Computing based at Partners HealthCare System. The i2b2 Center is developing a scalable informatics framework that will enable clinical researchers to use existing clinical data for discovery research and, when combined with IRB-approved genomic data, facilitate the design of targeted therapies for individual patients with diseases having genetic origins. This platform currently enjoys wide international adoption by the CTSA network, academic health centers, and industry.  i2b2 is funded as a cooperative agreement with the National Institutes of Health.

DRIVING BIOLOGY PROJECTS  RESOURCES


Overview
Current DBPs
    Autoimmune/CV Diseases
    Diabetes/CV Diseases
Past DBPs
    Airways Diseases
    Hypertension
    Type 2 Diabetes Mellitus
    Huntington's Disease
    Major Depressive Disorder
    Rheumatoid Arthritis
    Obesity
    Overview
    Computational Tools
    De-Identification Demo
    Software
    NLP Research Data Sets
    NLP Shared Tasks
    Academic Users' Group

    SOFTWARE
      

    HIGHLIGHTS
    Video from i2b2 Tutorial
    Developing an i2b2 Cell and Client Plugin
    in conjunction with CTSA KFC Meeting and AMIA Annual Symposium
    Wednesday, November 7, 2012
    Northwestern University
    Now available via AUG Webpage 

    SECOND DEDICATED i2b2 ANNUAL ACADEMIC USERS' GROUP MEETING
    and NLP Workshop
    July 24 - 25, 2012

    *** i2b2 NLP DATA SET #4 (from 2010 Challenge) ***
    NOW AVAILABLE FOR RESEARCH PURPOSES
    A complete set of annotated and unannotated, deidentified patient discharge summaries from the First, Second (Obesity),Third (Medication) and Fourth Shared Tasks for Challenges in NLP for Clincial Data are now available to the community for research purposes. Check it out at ourNLP Data Sets page . Please note you must register AND submit a DUA for access.
    *** Publications In the News ***
     Gallagher PJ, Castro V, Fava M, Weilburg JB, Murphy SN, Gainer VS, Churchill SE, Kohane IS, Iosifescu DV, Smoller JW, Perlis RH,  Antidepressant response in individuals with Major Depressive Disorder exposed to NSAIDS: a pharmacovigilance study.  Am J Physchiatry 2012;169:1065-1072.
    Castro V, Gallagher PJ, Clements CC, Murphy SN, Gainer VS, Weilburg JB, Fava M, Churchill SE, Kohane IS, Smoller JW, Iosifescu DV, Perlis RH.  Incident user cohort study of risk for gastrointestinal bleed and stroke in individuals with Major Depressive Disorder treated with antidepressants.  Brit Med J Open.  2012 Mar 30;2(2):e000544.
    Kohane IS: Using electronic health records to drive discovery in disease genomics.  Nature Review Genetics. 2011;12:417-428.  doi10.1038/nrg2999.
    *** i2b2 ROADMAP for 2011 ***
    Release 1.6 = “Modifier-enabled i2b2”
    Now available at our Software Page.
    This release allows for the use of modifiers to compliment the concept codes and be used in patient queries. For example multiple modifiers such as dose, frequency, and route can enhance the medication entry.

    Major software enhancements
    • Client queries that specify observations should occur in the same encounter or same instance of an encounter
    • Client queries that enable modifiers to be used for specifying patients and encounters
    • Services to allow for the inclusion of previous queries, as well as patient and encounter sets in new Boolean queries
    • Items from Patient and Encounter tables can be used in queries
    • Query performance metrics and enhancements
    • Queries using units other than the normal units (Unit Conversion)
    Release 1.7 = “Temporal Query enabled i2b2”
    Version 1.7 of the i2b2 software features two important innovations. The first is the introduction of temporal queries, an implementation of the temporal theory development from Core 1. This will allow the definition of events from collections of observations, and then the ordering of those events to occur in specific sequences with a specified number of intervening hours or days. The second innovation is support for the identity management cell which will enable the maintenance of protected health information in a separate area of the i2b2 Hive. The workflows that begin with unencrypted, fully identified notes or other kinds of identified data will be able to produce de-identified data at various levels. Depending on the transformation chosen, de-identified data may also be linked back to its original identified data. We anticipate 1.7 to be released in the beginning of 2013. 
    Release 2.0 = “Clinical-Trial enabled i2b2”
    In the summer of 2013 we are planning on the release of a version of i2b2 which represents a bundle of Community Supported i2b2 Plug-ins and Tools. This version will specifically support the end to end use case for the discovery of a set of patients for a clinical trial. Current plug-ins and features will be enhanced and new features added from the i2b2 community to provide increasingly focused selection capabilities to narrow down to a final, well qualified patient set. The process of advancing the levels of approval by data use agreements and institutional review boards will be supported to allow the recruitment process to proceed with the maximal respect for patient privacy and confidentiality. 


    Thursday, November 22, 2012

    De-identification: software and test data

    source: http://www.physionet.org/physiotools/deid/



    De-identification: software and test data

    The deid software package includes code and dictionaries for automated location and removal of protected health information (PHI) in free text from medical records. The gold-standard corpus is a collection of deidentified nursing notes that have been reidentified with realistic surrogate data, for use in developing and evaluating software such as deid.
    For additional discussion of the methods used by the software described here, see
    Neamatullah I, Douglass M, Lehman LH, Reisner A, Villarroel M, Long WJ, Szolovits P, Moody GB, Mark RG, Clifford GD. Automated De-Identification of Free-Text Medical Records. BMC Medical Informatics and Decision Making, 2008, 8:32. doi:10.1186/1472-6947-8-32
    Please cite the above paper when referencing this material, and also include the standard citation for PhysioNet:
    Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PCh, Mark RG, Mietus JE, Moody GB, Peng C-K, Stanley HE. PhysioBank, PhysioToolkit, and Physionet: Components of a New Research Resource for Complex Physiologic Signals. Circulation 101(23):e215-e220 [Circulation Electronic Pages; http://circ.ahajournals.org/cgi/content/full/101/23/e215]; 2000 (June 13).

    Background

    In the USA, the HIPAA Privacy Rule restricts exchange of medical data containing protected health information (PHI), defined as any information that might be used to identify the individual(s) from whom the data were collected. Data known to contain PHI can be shared for research purposes only under tightly controlled circumstances, typically involving data use agreements under which the researchers involved must obtain IRB or equivalent approvals for use of the data.
    By contrast, medical data that do not contain PHI are exempt from the restrictions of the HIPAA Privacy Rule and may be shared freely. The data available on PhysioNet fall into this category.
    Many of the research data sets currently being collected by PhysioNet are accompanied by PHI, and the process of removing this PHI ("de-identification" in the language of HIPAA, or "anonymization") is tedious and error-prone. For many research projects, the cost of de-identification is a significant barrier to data sharing.
    The MIMIC II project has invested several years' effort to develop and evaluate software that is capable of removing PHI from text and, where appropriate, replacing it by realistic surrogate PHI. (For example, names are replaced by fictitious names, medical record numbers by fictitious medical record numbers, dates by fictitious dates, geographic locations by other geographic locations, etc.) The MIMIC II project has contributed to PhysioNet both its deidentification software, which may be useful to other researchers needing to remove PHI from their own data, and a large corpus of text drawn from ICU nursing notes that were gathered simultaneously with the signals, trends, laboratory reports, discharge summaries and other data in the MIMIC II clinical and waveform databases.


    Software

    As is the case with all software available on PhysioNet, the de-identification software (deid) is provided in source form so that its workings can be studied, customized, and improved. This software 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 2 of the License, or (at your option) any later version.
    The authors of the deid software package are Margaret M Douglass, Li-wei H Lehman, William J Long, and Ishna Neamatullah. An experimental prototype by Jason M Levine provided useful guidance in the design of deid.

    Prerequisite

    The deid package requires Perl (version 5 or later), which is freely available for all popular platforms here if you don't have it already.
    The current version of the deid software package was developed and tested using perl 5.8.8 and perl 5.10 on GNU/Linux (Fedora Core 10). It has also been tested on Fedora 6, 7 and 8, Ubuntu 8.04, MacOS X 10.4.5, and on MS-Windows XP.

    Downloading and installing deid

    The deid software package can be downloaded as a single file, deid-1.1.tar.gz. (Instructions on unpacking tar.gz files are here.) The contents of deid-1.1.tar.gz unpack into a directory named deid-1.1, which contains the files listed below.
    The deid software package is command-line (text mode) software that must be run in a terminal emulator (console) window.
    Previous versions of the deid package are available for reference purposes here.

    Testing deid

    If you wish to test deid, see Data: the gold-standard corpus of deidentified medical text below for information on obtaining id.text. Copy id.text into the deid-1.1 directory (created when deid-1.1.tar.gz was unpacked in the previous step), and enter that directory. Type the command
        perl deid.pl id deid.config
    
    The software will print a greeting message:
        *******************************************************************************************************************
        De-Identification Algorithm: Identifies Protected Health Information (PHI) in Discharge Summaries and Nursing Notes
        *******************************************************************************************************************
    
    
        Starting de-identification (version 1.1) ...
    
        Running deid in output mode. Output files will be: 
        id.phi: the PHI locations found by the code.
        id.res: the scrubbed text.
        id.info: debug info about the PHI locations.
    
    On a typical current PC, the process will run to completion in approximately 10 to 20 minutes. The three output files will be written into the current directory; they should be identical to the files of the same names that are included in the GSoutput directory.
    The program runStat.pl can be used to derive performance statistics by comparing the id.phi file generated by deid.pl with the reference id.deid file provided with the deid software package. To do this, type the command
        perl runStat.pl id.deid id.phi
    
    which should produce the output
        ==========================
    
        Num of true positives = 1720
    
        Num of false positives = 546
    
        Num of false negatives = 59
    
        Sensitivity/Recall = 0.967
    
        PPV/Specificity = 0.748
    
        ==========================
    
    
    To use the gold standard corpus to test the performance of another deidentifier, arrange for that deidentifier to produce a file in the format of id.phi, then use runStat.pl as above.

    Customizing deid

    Examine the configuration file, deid.config, to see how to modify the behavior of deid.pl. For additional information, see the user manual.
    In order to customize this software to de-identify free text in other medical records, you may replace our filter modules with your data-specific filters. Additionally, at a minimum, you will have to replace the six files that contain a priori information (see below).
    Depending on the text you wish to de-identify, you may wish to re-classify names as ambiguous or not. For example, "Mae" is an unambiguous name in most contexts, but in nursing and discharge notes, it may be an acronym (meaning "moving all extremities") and it is therefore ambiguous in those contexts.


    Contents of the deid package

    See above for information about downloading the entire deid package in a single archive file. The individual files in the package can also be viewed or downloaded by following the links below.
    Code
    deid.pl
    perl program for de-identifying medical notes
    runStat.pl
    perl program for calculating performance statistics
    stat.pm
    perl subroutines shared by deid.pl and runStat.pl
    deid.config
    sample configuration file for use with deid.pl

    COPYING
    GNU General Public License, version 2
    Dictionaries (see the User Manual for details)
    dict/
    Subdirectory containing lists of words and phrases not likely to be PHI
    common_words.txt
    49,668 words that are common in medical records
    commonest_words.txt
    5,126 words that are very common in medical records
    medical_phrases.txt
    28 medical phrases
    notes_common.txt
    66 very common words found in nursing notes
    sno_edited.txt
    175,313 medical terms from UMLS/SNOMED

    lists/
    Subdirectory containing lists of words and phrases that are or might be PHI

    Names
    last_names_unambig.txt
    81,497 unambiguous family names
    last_names_ambig.txt
    7,298 ambiguous family names
    last_names_popular.txt
    93 popular family names
    prefixes_unambig.txt
    17 family name prefixes (von, de la, etc.)
    last_name_prefixes.txt
    138 prefixes that may appear before a family name
    female_names_unambig.txt
    3843 unambiguous female given names
    female_names_ambig.txt
    616 ambiguous female given names
    female_names_popular.txt
    125 popular female given names
    male_names_unambig.txt
    1144 unambiguous male given names
    male_names_ambig.txt
    419 ambiguous male given names
    male_names_popular.txt
    130 popular male given names

    Locations
    countries_unambig.txt
    179 country names
    us_states.txt
    59 US states and territories
    us_states_abbre.txt
    59 standard US state and territorial abbreviations
    more_us_state_abbreviations.txt
    53 non-standard US state name abbreviations
    locations_unambig.txt
    3341 unambiguous location names
    locations_ambig.txt
    135 words that may be (parts of) location names

    Other possible PHI
    us_area_code.txt
    382 US telephone area codes
    company_names_unambig.txt
    484 unambiguous company names
    company_names_ambig.txt
    18 ambiguous company names
    ethnicities_unambig.txt
    195 ethnicities

    Known PHI (a priori information)
    [The six files in this group contain the surrogate PHI from the gold standard corpus, not the original PHI from the files used to create it! You will need to create your own versions of these six files, using these as models, if you wish to use deid on your own data.]
    pid_patientname.txt
    163 full names and ids of the patients in the gold standard corpus
    doctor_first_names.txt
    56 given names of doctors
    doctor_last_names.txt
    254 family names of doctors
    stripped_hospitals.txt
    143 names of nearby hospitals
    local_places_unambig.txt
    48 unambiguous names of nearby towns and cities
    local_places_ambig.txt
    4 ambiguous names of nearby towns and cities

    Files related to the gold-standard corpus (excluding a priori information, see above)
    id.deid
    PHI locations in the gold standard corpus
    id-phi.phrase
    PHI locations, types, and PHI terms in the gold standard corpus
    shift.txt
    Date shifts for patients in the gold standard corpus

    [The gold standard corpus itself must be obtained separately (see below); it is not part of this package.]

    Sample outputs generated by deid.pl
    GSoutput/
    [The three files provided in this directory were generated from the gold standard corpus, using the test procedure described below running on Fedora 10.]
    id.phi
    locations of detected PHI in the input text
    id.res
    the deidentified output text, with PHI replaced by tags
    id.info
    debugging information

    Documentation
    doc/
    DeidUserManual.pdf
    De-Identification of Free-Text Medical Records: User Manual
    Changes.log
    Changes made since the initial release (deid-1.0).
    [Also see the references at the top and bottom of this page.]

    Notes on the files in the package

    Except for functions related to calculating performance statistics (in stats.pm), the deidentification code is contained in a perl script (deid.pl). Its configuration file, deid.config, can be used to set parameters of the deidentification process at run time. Associated word and phrase lists are in lists/ (containing known and possible PHI) and dict/ (containing probable non-PHI).
    If the date shift filter is on, deid replaces all dates in its input with surrogate dates. The shift.txt file contains a randomly assigned date shift (between 1000 and 3000 days) for each patient in the gold standard corpus; surrogate dates are generated by adding the specified number of days to the dates in the input file. The method used to generate the date shifts in shift.txt differs from that used in PhysioBank databases.
    The file id-phi.phrase is provided as a convenient index to the PHI in the gold standard corpus; it is not used by the deid software. Each line of this file contains 6 fields: PID, Record_Number, PHI_Start_Location, PHI_End_Location, PHI_Type, and PHI_Text.
    The file id.deid also contains PHI locations in the gold standard corpus, and it is used as a reference for calculating performance statistics by the functions in stats.pm. It contains two types of lines. The first type is of the form
        Patient PID Note Record_Number
    
    and the second type is of the form
        PHI_Start_Location PHI_Start_Location PHI_End_Location
    


    Data: the gold-standard corpus of deidentified medical text

    Evaluating software for de-identification turns out to be quite difficult. As in many of the projects contributing to PhysioNet, a reference database is highly useful. Ideally the developer of de-identification software needs an appropriate corpus of text in which all of the PHI has been labelled, so that the software's PHI detection performance can be assessed quickly and quantitatively. To compare different approaches to PHI removal objectively, we need a standard corpus. And here's the dilemma: we can't share such a corpus if it has any PHI in it!
    The deid software package was developed and tested using a gold standard corpus of 2,434 nursing notes that have been thoroughly deidentified by a multi-pass process that included meticulous reviews by three or more experts working independently, as well as by a variety of automated methods. All detected instances of PHI in these nursing notes have been replaced by realistic surrogate data in the gold standard corpus. Although the deid software, as noted above, may be redistributed under the terms of the GPL, the gold standard corpus, because of the very small possibility that it may contain one or more instances of undetected PHI, is currently available only under terms that do not permit it to be redistributed. This corpus is available only under the following conditions:
    1. You agree not to attempt to identify any of the individual subjects of the file.
    2. If you find information within the file that you believe might permit identification of any of the individual subjects of the file, you agree to report this promptly by email to webmaster@physionet.org, citing the specific information in question so that it can be investigated and removed if necessary.
    3. You agree to exercise all reasonable and prudent care to avoid disclosure of the identity of any of the individual subjects of the file in any publication or other communication of your analysis of the file.
    4. If you agree to all of these terms and conditions, access to this file will be granted to you as an individual. You may not share it with anyone else. Your colleagues can obtain access to this file as individuals via the same procedure you are following.
    To download the corpus, login to PhysioNetWorks, then follow the "Deidentified Medical Text" link on your PhysioNetWorks home page. (You can create a free PhysioNetWorks account in a few minutes here if you don't have one already.)


    Further reading


    1. Neamatullah I. Automated De-Identification of Free-Text Medical Records. MIT Dept of EECS, MEng thesis, 2006.
    2. Douglass M. Computer-Assisted De-identification of Free-text Nursing Notes. MIT Dept of EECS, MEng thesis, 2005.
    3. Douglass M, Clifford GD, Reisner A, Long WJ, Moody GB, Mark RG. De-Identification Algorithm for Free-Text Nursing Notes. Computers In Cardiology 32:331-334, 2005.
    4. Douglass M, Clifford GD, Reisner A, Moody GB, Mark RG. Computer-Assisted Deidentification of Free Text in the MIMIC II Database. Computers In Cardiology 31:341-344, 2004.
    5. Levine JM. De-identification of ICU patient records. MIT Dept of EECS, MEng thesis, 2003.

    Acknowledgements

    This work was performed with support from the National Institute of Biomedical Imaging and Bioengineering (NIBIB), under grant R01 EB001659.

    PHR 관련 국내외 법/제도 현황 및 개선방향

    PHR 관련 국내외 법/제도 현황 및 개선방향

    고유식별정보의 범위


    제19조(고유식별정보의 범위) 법 제24조제1항 각 호 외의 부분에서 "대통령령으로 정하는 정보"란 다음 각 호의 어느 하나에 해당하는 정보(이하 "고유식별정보"라 한다)를 말한다. 다만, 공공기관이 법 제18조제2항제5호부터 제9호까지의 규정에 따라 다음 각 호의 어느 하나에 해당하는 정보를 처리하는 경우의 해당 정보는 제외한다.
    1. 「주민등록법」 제7조제3항에 따른 주민등록번호
    2. 「여권법」 제7조제1항제1호에 따른 여권번호
    3. 「도로교통법」 제80조에 따른 운전면허의 면허번호
    4. 「출입국관리법」 제31조제4항에 따른 외국인등록번호



    주민등록법
    [시행 2011.8.31] [법률 제10733호, 2011.5.30, 일부개정]
    제7조(주민등록표 등의 작성) 
       ③시장ㆍ군수 또는 구청장은 주민에게 개인별로 고유한 등록번호(이하 "주민등록번호"라 한다)를 부여하여야 한다.
    여권법
    [시행 2010.1.1] [법률 제9799호, 2009.10.19, 일부개정]
    제7조 (여권의 수록 정보와 수록 방법) ① 여권에 수록하는 정보는 다음 각 호와 같다.
    1. 여권의 종류, 발행국, 여권번호, 발급일, 기간만료일과 발급관청

    도로교통법
    [시행 2012.9.22] [법률 제11402호, 2012.3.21, 일부개정]
    제80조(운전면허) ① 자동차등을 운전하려는 사람은 지방경찰청장으로부터 운전면허를 받아야 한다.
    출입국관리법
    [시행 2012.7.27] [법률 제11224호, 2012.1.26, 일부개정]
    제31조(외국인등록) 
       ④ 사무소장이나 출장소장은 제1항부터 제3항까지의 규정에 따라 외국인등록을 한 사람에게는 대통령령으로 정하는 방법에 따라 개인별로 고유한 등록번호(이하 "외국인등록번호"라 한다)를 부여하여야 한다.
      [전문개정 2010.5.14]

    개인정보보호법 사례집

    http://www.pipc.go.kr/pds/privacy_consult.pdf