Software Open Access
edf-anonymize
Published: May 17, 2010. Version: 1.0.0
edf-anonymize (May 17, 2010, midnight)
An application for anonymizing (de-identifying) EDF and EDF+ files is now available; see edf-anonymize.
Please include the standard citation for PhysioNet:
(show more options)
Goldberger, A., Amaral, L., Glass, L., Hausdorff, J., Ivanov, P. C., Mark, R., ... & Stanley, H. E. (2000). PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220.
Name
edf-anonymize - anonymize (de-identify) an EDF or EDF+ file
Synopsis
edf-anonymize input output [ sname sid sdate ]
Description
edf-anonymize reads an EDF or EDF+ file (input), writing an anonymized copy of it as output.
Anonymization of an EDF or EDF+ file requires removal of the patient name and id, and all elements of the recording date other than the year. These can be replaced with surrogate data, and this is recommended since some software intended to read EDF or EDF+ files may reject inputs in which the fields for name, id, and recording date are empty.
By default, however, if sname, sid, and sdate are omitted, edf-anonymize replaces the name and id with space (blank) characters, and it replaces the recording day and month with '01.01' (1 January) without altering the recording year.
Run the program from the command line without any arguments to obtain a brief synopsis of its use.
Examples
edf-anonymize foo.edf anonymous.edf
This copies the contents of foo.edf to a new file called anonymous.edf, emptying the patient name and id fields and setting the date to 01.01 without altering the recording year.
edf-anonymize foo.edf anonymous.edf "Arthur Dent"
As above, but the patient's name is replaced by Arthur Dent. The quotation marks are needed if the name contains any spaces, as in this example. Names longer than 80 characters are truncated.
edf-anonymize foo.edf anonymous.edf "Arthur Dent" 42
As above, but the patient id is replaced by 42. Ids longer than 80 characters are truncated.
edf-anonymize foo.edf anonymous.edf "Arthur Dent" 42 03.04.05
As above, but the date is replaced by 03.04.05 (i.e, 3 April 2005).
edf-anonymize foo.edf anonymous.edf "Arthur Dent" 42 30.11
As above, but the day and month are replaced by 30.11 (30 November), without altering the recording year.
edf-anonymize foo.edf anonymous.edf "Arthur Dent" 42 +12345
As above, but the recording date is shifted 12345 days into the future.
edf-anonymize foo.edf anonymous.edf "Arthur Dent" 42 +-5678
As above, but the recording date is shifted -5678 days into the past.
Author
George B. Moody (george@mit.edu)
Access
Access Policy:
Anyone can access the files, as long as they conform to the terms of the specified license.
License (for files):
Open Data Commons Attribution License v1.0
Discovery
Topics:
phi
deidentification
anonymization
Corresponding Author
Files
Total uncompressed size: 0 B.
Access the files
-
Download the files using your terminal:
wget -r -N -c -np https://physionet.org/files/edf-anonymize/1.0.0/
-
Download the files using AWS command line tools:
aws s3 sync --no-sign-request s3://physionet-open/edf-anonymize/1.0.0/ DESTINATION
Name | Size | Modified |
---|---|---|
edf-anonymize.1 (download) | 2.4 KB | 2019-04-12 |
edf-anonymize.c (download) | 7.7 KB | 2019-04-12 |