A linear programming model for preserving privacy when disclosing patient spatial information for secondary purposes
© Jung and El Emam; licensee BioMed Central Ltd. 2014
Received: 22 January 2014
Accepted: 7 May 2014
Published: 29 May 2014
A linear programming (LP) model was proposed to create de-identified data sets that maximally include spatial detail (e.g., geocodes such as ZIP or postal codes, census blocks, and locations on maps) while complying with the HIPAA Privacy Rule’s Expert Determination method, i.e., ensuring that the risk of re-identification is very small. The LP model determines the transition probability from an original location of a patient to a new randomized location. However, it has a limitation for the cases of areas with a small population (e.g., median of 10 people in a ZIP code).
We extend the previous LP model to accommodate the cases of a smaller population in some locations, while creating de-identified patient spatial data sets which ensure the risk of re-identification is very small.
Our LP model was applied to a data set of 11,740 postal codes in the City of Ottawa, Canada. On this data set we demonstrated the limitations of the previous LP model, in that it produces improbable results, and showed how our extensions to deal with small areas allows the de-identification of the whole data set.
The LP model described in this study can be used to de-identify geospatial information for areas with small populations with minimal distortion to postal codes. Our LP model can be extended to include other information, such as age and gender.
KeywordsHealth services research Linear programming (LP) De-identified data sets Geographical identifiers HIPAA Privacy Rule
Patients’ geographical identifiers (e.g., geocodes such as postal/ZIP codes, street addresses and locations on maps) are useful for health research and public health purposes [1–4]. Geographical identifiers are also fundamental to the practice of spatial epidemiology  and are key components of the public health professional’s toolbox .
However, revealing patient data sets, including geographical identifiers, threatens patient privacy if the geographical identifiers can be linked to individuals. In fact, some studies have revealed a threat of re-identification. Sweeney  indicated that 87% of subjects could be uniquely identified by their gender, ZIP code and date of birth when linked with other publicly available data, such as voting records. Moskop et al.  presented that low-resolution dot maps of diseases published in several medical journals could be used to trace most patients to single addresses. Furthermore, Brownstein et al.  also showed that a method of georeferencing and unsupervised classification of the original image could be used to precisely re-identify 26% of 550 patients by using addresses from a presentation quality map and 79% using those from a publication quality map.
The US Health Insurance Portability and Accountability Act of 1996 (HIPAA) allows the disclosure of personal health information for secondary purposes only if the patients provide authorization (with some exceptions) . If it is not practical to obtain authorization then the data must be de-identified before disclosure . Similar laws exist in Canada where de-identification is required for the disclosure of health information without consent [12, 13].
According to the HIPAA Privacy Rule, de-identified protected health information (PHI) can be created by one of two ways , p.3. The first is the “safe-harbor” method, in which all 18 identifiers, including the five-digit ZIP codes, are removed. Yet, the first three digits of a ZIP code may be included, provided that at least 20,000 people share the same first three digits. The second way is “to have a qualified statistician determine, using generally accepted statistical and scientific principles and methods, that the risk is very small” concerning that such information could be used to identify an individual. The “very small” risk that is used as a threshold for disclosure control depends on the application fields and data users, but has a range of 0.05 to 0.3 of its value [12–15]. This study sets a threshold value of 0.2.
Studies, such as disease mapping or cluster detection in epidemiology, require de-identified data that maximally include the spatial distribution of a disease while complying with a threshold of the re-identification risk. A prevailing method to create de-identified data sets is to aggregate pre-defined areas, such as ZIP codes or counties, into a new area . However, this approach loses useful spatial information while preserving privacy . Furthermore, the level of privacy protection depends on the number of patient records . Another approach uses the deterministic or stochastic function of geographical identifiers . However, this heuristic method cannot quantify the risk to individual privacy and therefore cannot demonstrate that the risk is indeed “very small”.
Wieland et al.  proposed a linear programming (LP) model to create de-identified data sets. The LP model determines the transition probability from an original location of a patient to a new randomized location as a de-identification method. However, it cannot be applied to data sets, including locations with small populations (e.g., the population is smaller than the number of patients). For example, the City of Ottawa has 11,740 postal codes that have a population of more than one. Of these, 98.61% (11,577) of postal codes have a population smaller than the number of patients in our data set (224 patients originated from 161 postal codes). The median population in Ottawa postal codes is 10 people.
To apply this LP method on real data sets, where small areas will exist, this study revised the previous LP mode to accommodate the case in which some postal codes can have a smaller population than the total number of patients. The results depicted that our revised model can increase the applicability of the LP model in the creation of de-identified data sets.
Results from WCMB-LP model
This study solved two Ottawa LP problems using the WCMB-LP model.
WCMB-LP results for the two Ottawa LP problems
In equation (3),
Objective function value (unit: meter)
ν = 3.783 × 10− 5
ν = 7.567 × 10− 5
ν = 11.350 × 10− 5
ν = 12.485 × 10− 5
Results from the revised model
Revised-LP results for the two LP problems
Objective function value (unit: meter)
ϵ = 0.6
ϵ = 0.5
ϵ = 0.4
When the transition postal code area was extended to the nearest 30, our LP model provided an optimal solution with patient movement of 1,686.3 meter for 0.2 re-identification probability. In this context, we considered that the transition over the nearest 30 would provide a smaller acceptable re-identification probability than the nearest 10. As expected, patient movement was increased for smaller re-identification probabilities, resulting in a greater loss of patient information. As reference, Groubi solution time in a desktop PC (Windows 7 and Intel Core i5 CPUs with 8G RAM) showed less than 4 seconds for Nearest 10 and 8.23 sec to 90 sec (ϵ =0.2) for Nearest 30.
Because the area population and latitude and longitude are known for any given postal code, the LP model can generate the optimal transition probability if the number of patients is given. Patient movement in a ZIP code was assumed to follow a multinomial distribution with the transition probability. Thus, two different runs of the same LP problem may provide different patient movements with the same objective function values.
As we have observed in our empirical studies, a limited number of transition neighbors, such as 10, can render LP models infeasible or impractical in terms of achieving an acceptable re-identification probability. However, increasing the transition neighbors greatly increases the computational burden of the LP problem to obtain the optimal solution, considering the postal codes in a country or region. Thus, it is essential to balance a reasonable number of neighbors with consideration for the LP problem size.
This study expanded the applicability of the previous LP model regardless of the population across all locations (i.e., postal code areas). Thus, our model can be extended to include other information, such as age and gender. Future research may also include a comparison of the performance of our LP model with that of other methods, such as the previously described aggregation methods.
An LP model for de-identified data sets
Wieland et al.  introduced an LP model to transform a patient’s spatial identifiers to randomized identifiers in order to create de-identified data sets. In their study, a census block is the only spatial data to be de-identified. Because ZIP codes (postal codesa in Canada) are a common patient residence location indicator [20, 21], this study used ZIP codes as a spatial datum to be de-identified. In order to formulate an LP problem, the following notations are defined:
A: Set of possible original ZIP codes as identifiers
B: Set of possible randomized ZIP codes. This could be different from set A
n i : Population in ZIP code i
N: Sum of populations across all ZIP codes, i.e., ∑ i ∈ A n i = N
d ij : Distance between ZIP codes i and j
s: (Total) number of patients
ϵ: Probability that any ZIP code from the randomized dataset originating from any specific individual in the underlying population is at most ϵ
P ij : (Decision variable) Transition probability from an original ZIP code i ∈ A to a new ZIP code j ∈ B.
The objective function in equation (1) minimizes the expected total movement distance of patients, where n i /N denotes a probability that a patient originated from ZIP code i. The constraint in equation (2) specifies that the patients in A should be moved to somewhere in B. This may include self-transition, i.e., patients in a ZIP code may remain there. Constraints in equation (3) implies that “Given the set of s locations comprising the de-identified dataset, the probability that any one of these derived from one specific individual to be at most ϵ. This is guaranteed if the probability that a location from the randomized dataset originated from an arbitrary specific individual is required to be at most ϵ” , p. 17612. Further, the transition probability P ij in equation (4) should be greater than or equal to zero. When the decision variable P ij is obtained, patients in ZIP code i are moved to ZIP code j using a multinomial distributionb.
Three cases can be investigated to improve the understandability of equation (3) as follows:
[Case 1]: If all ZIP codes include just one person, i.e., n i = 1 for all i, equation (3) becomes P ij ≤ ϵ/s.
[Case 2]: If there is just one ZIP code, there is no transition probability, i.e., equation (3) is reduced to s/N ≤ ϵ
[Case 3]: If all patients having a randomized ZIP code j are from i, i.e., P kj = 0 for all k ≠ i, equation (3) becomes s/n i ≤ ϵ, where n i = N. This is the same as [Case 2].
Revised LP model
Equation (5) is the same equation (5) in WCMB-LP , p. 17612, where the first part 1/n i implies the probability that “all individuals in ZIP code i with population n i have an equal chance of having the disease… and the second term is a population-weighted transition probability.”
In equation (6), the right-hand side ϵ means that all patients in B have the same randomized ZIP code, i.e., a randomized patient list of s patients includes one ZIP code. Contrast to equation (5), s/n i denotes a maximum re-identification probability of s patients with the same randomized ZIP code, assuming its origination from i. In this context, the number of patients cannot exceed the number of people in ZIP code i. That is, s/n i ≤ 1.
Note that equation (8) is the difference between WCMB-LP and our Revised LP.
Properties of re-identification constraint
The leftmost region from 1 to s in Figure 1, i.e., n i ≤ s, corresponds to the first equation in equation (9). In that region, function g(n i ) always has a negative value and is decreasing because ϵ is assumed to be less than 1. The middle region from s to s/ϵ (i.e., n i > s) corresponds to the second equation in equation (9), where function g(n i ) is negative and is increasing. The rightmost region (the second equation in equation (9)) denotes that the function g(n i ) for n i ≥ s/ϵ always has a positive value. Thus, the corresponding constraints in equation (8) of our Revised-LP model are always satisfied, i.e., they are redundant because all of its corresponding constraints’ coefficients are nonnegative. A redundant constraint is one that can be left out without changing the model.
In this study, a data set called Ottawa, which includes only areas with a population of more than one, as in Wieland et al. , was applied to both WCMB-LP and our Revised-LP models. Our data set was based on patients’ information in a population of 264,327 children under the age of 18 residing in Ottawa, Canada. Our purpose was to randomize the postal codes of a patient list in CHEO (Children’s Hospital of Eastern Ontario) presenting in the emergency department. The patient list included 224 patients from 126 ZIP codes, in which the number of patients corresponded to 5% of an estimated 4,500 people who visited CHEO in a month during the height of the influenza season. The patients were chosen from a pool of CHEO patient postal codes.
The area of each postal code was represented by the centroid latitude and longitude. The distance between two postal-code areas was computed by using the Haversine formula , which provides the shortest (also termed ‘as-the-crow-flies’ ignoring any hill or great-circle) distance between any two points on a spherical earth from their longitudes and latitudes. Ellipsoidal effects are ignored, but the result is sufficiently accurate for the purpose of the present study.
Because our data set included 11,740 postal codes, the LP formulation had 137,827,600 variables (i.e., 11,7402) and 137,839,340 constraints [i.e., 11,740 (1 + 11,740)]. In order to reduce the size of this LP problem, transitions from any postal code area were limited to the following two cases: the nearest 10 and 30 postal code areas, i.e., two LP problems with 117,400 and 352,200 variables, and 129,140 and 360,940 constraints, respectively. The two LP problems were solved by using Gurobi 6.5.2 solver  with MPL 4.2n modeling language .
Ethics approval for this study was obtained from the CHEO research Institute research ethics board.
aThis study interchangeably uses term “postal” and “ZIP” codes. However, when we mention data from Canada, the term postal codes are intentionally used.
bAn R library  has a command of generating a multinomially distributed random number in r. WCMB-LP has |A||B| variables and |A| + |A||B| constraints.
The authors would like to thank the staff members at the Electronic Health Information Laboratory at the CHEO Research Institute. The research was supported by Korea University Business School (2013). This support is gratefully acknowledged.
- Boulos M: Towards evidence-based, GIS-driven national spatial health information infrastructure and surveillance services in the United Kingdom. Int J Health Geogr 2004, 3:1. [http://www.ij-healthgeographics.com/content/3/1/1] 10.1186/1476-072X-3-1PubMed CentralPubMedView Article
- Cromley EK: GIS and disease. Annu Rev Public Health 2003, 24:7–24. 10.1146/annurev.publhealth.24.012902.141019PubMedView Article
- Croner CM: Public health, GIS, and the Internet. Annu Rev Public Health 2003, 24:57–82.PubMed
- McLafferty SL: GIS and health case. Annu Rev Public Health 2003, 24:25–42. 10.1146/annurev.publhealth.24.012902.141012PubMedView Article
- Cassa C, Wieland S, Mandl K: Re-identification of home addresses from spatial locations anonymized by Gaussian skew. Int J Health Geogr 2008, 7:45. [http://www.ij-healthgeographics.com/content/7/1/45] 10.1186/1476-072X-7-45PubMed CentralPubMedView Article
- AbdelMalik P, Boulos M, Jones R: The perceived impact of location privacy: A web-based survey of public health perspectives and requirements in the UK and Canada. BMC Public Health 2008, 8:156. [http://www.biomedcentral.com/1471-2458/8/156] 10.1186/1471-2458-8-156PubMed CentralPubMedView Article
- Sweeney L: k-anonymity: A model for protecting privacy. Int J Uncertainty Fuzziness Knowl Based Syst 2002, 10:557–570. 10.1142/S0218488502001648View Article
- Moskop JC, Marco CA, Larkin GL, Geiderman JM, Derse AR: From Hippocrates to HIPAA: Privacy and confidentiality in emergency medicine - Part I: Conceptual, moral, and legal foundations. Ann Emerg Med 2005, 45:53–59. 10.1016/j.annemergmed.2004.08.008PubMedView Article
- Brownstein J, Cassa C, Kohane I, Mandl K: An unsupervised classification method for inferring original case locations from low-resolution disease maps. Int J Health Geogr 2006, 5:56. [http://www.ij-healthgeographics.com/content/5/1/56] 10.1186/1476-072X-5-56PubMed CentralPubMedView Article
- National Institutes of Health: Research Repositories, Databases, and the HIPAA Privacy Rule. U.S. Department of Human and Health Services; [http://goo.gl/rR28ob]
- National Institutes of Health: Dictionary. US Dep Health Hum Serv [http://privacyruleandresearch.nih.gov/dictionary.asp]
- Statistics Canada: Therapeutic Abortion Survey. http://goo.gl/v01DsY
- Ministry of the Attorney General: ORDER PO-2037, Appeal PA-010381–1. [http://goo.gl/vuAFFI]
- El Emam K: Heuristics for de-identifying health data. IEEE Secur Priv 2008, 6:58–61.View Article
- Howe H, Lake A, Lehnherr M, Roney : Unique record identification on public use files as tested on the 1994–998 CINA analytic file. North Am Assoc Centr Cancer Registr 2002, 2002:2002. [http://goo.gl/nbq6e7]
- Fefferman NH, O’Neil EA, Naumova EN: Confidentiality and confidence: Is data aggregation a means to achieve both? J Public Health Policy 2005, 26:430–449. 10.1057/palgrave.jphp.3200029PubMedView Article
- Olson KL, Grannis SJ, Mandl KD: Privacy protection versus cluster detection in spatial epidemiology. Am J Public Health 2006, 96:2002–2008. 10.2105/AJPH.2005.069526PubMed CentralPubMedView Article
- Wieland SC, Cassa CA, Mandl KD, Berger B: Revealing the spatial distribution of a disease while preserving privacy. Proc Natl Acad Sci U S A 2008, 105:17608–17613. 10.1073/pnas.0801021105PubMed CentralPubMedView Article
- Armstrong MP, Rushon G, Zimmerman DL: Geographically masking health data to preserve confidentiality. Stat Med 1999, 18:497–525. 10.1002/(SICI)1097-0258(19990315)18:5<497::AID-SIM45>3.0.CO;2-#PubMedView Article
- Ng E, Wilkins R, Perras A: How far is it to the nearest hospital? Calculating distances using the Statistics Canada Postal Code Conversion file. Health reports/Statistics Canada, Canadian Centre for Health Information 1993, 5:179–183.
- Demissie K, Hanley J, Menzies D, Joseph L, Ernst P: Agreement in measuring socioeconomic status: Area-based versus individual measures. Chronic Dis Can 2000, 21:1–7.PubMed
- Sinnott RW: Virtues of the haversine. Sky Telescope 1984, 68:159.
- Gurobi: Gurobi Optimizer Reference Manual. 2009. [http://www.gurobi.com]
- MPL: MPL Modeling System. [http://www.maximalsoftware.com/mplman/]
- R Stats Package: The Multinomial Distribution. 2013. [http://goo.gl/reeZor]
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly credited. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.