anonymize_identity: Anonymize identity in a volume object.

View source: R/anonymize_identity.R

anonymize_identityR Documentation

Anonymize identity in a volume object.

Description

anonymize_identity changes the 'pid' (an internal identifier used by the Heidelberg database) and 'patient_id' (typically a hospital number, e.g., medical record number or MRN) values in a volume object header. NOTE: By default the patient's name is part of the file name, so if you are writing out the volume object data to a file, remember to rename the file accordingly.

Usage

anonymize_identity(header, pid, patient_id = pid)

Arguments

header

The header list from a volume object.

anon_pid

A new internal patient ID.

anon_patient_id

A new patient ID.

Value

A new header list with the ID values changed.


barefootbiology/heyexr documentation built on July 9, 2022, 3:35 a.m.