View source: R/anonymize_volume.R
anonymize_volume | R Documentation |
anonymize_volume
updates the patient ID, date of birth, and date
fields specified in Heidelberg's HSF-OCT-101 file format specification.
NOTE: This function will not catch identifying data if it is included in the
'spare' bytes or other fields in the volume object. We strongly recommend
that you inspect your own VOL files for other potentially identifying
fields not documented in HSF-OCT-101.
anonymize_volume( volume, pid, patient_id = pid, anon_dob = as.POSIXct(0, origin = "1899-12-30", tz = "UTC") )
volume |
A volume object |
anon_dob |
The new date of birth. Defaults to the origin in Microsoft's DATE specification as used by the 'dob' and 'visit_date' values in the Heidelberg VOL file specification (HSF-OCT-101). |
anon_pid |
A new internal patient ID. |
anon_patient_id |
A new patient ID. |
A new volume object with the identifiers and dates adjusted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.