What is date shifting?
Date shifting. Moving every date in one person's records by the same random number of days, so the order and spacing of events stay but the real dates are hidden. Under the US health rule, dates other than the year are among the identifiers to remove unless an expert approves another method.
General information, not legal advice.
What it means
Date shifting moves every date in one person's records by the same random number of days. If a patient's visits were on March 3 and March 17, after a shift of minus 41 days they appear on January 21 and February 4. The two weeks between them stay the same.
Each person gets their own offset, so dates cannot be lined up across people to undo the shift.
Why it matters in a data deal
Order and spacing matter in training data. A model learning how a claim moves from filing to payment needs to know it took nineteen days, not the calendar date. Shifting keeps that and hides the real day.
Under the US health rule's Safe Harbor method, dates other than the year are removed, so shifting is usually used under Expert Determination, where an expert approves the method.
An example
A physical therapy group prepares treatment notes for licensing. Each patient's dates are shifted by a random offset of up to a year, kept in a separate key file that never leaves the company. A lab can still see that patients with a certain injury needed six sessions over five weeks.
Read more: De-identification.
Questions to ask
- Does the lab need exact intervals between events, or only their order?
- Will each person get their own random offset, kept in a key that never leaves us?
- Which de-identification method allows shifted dates for this data?
Related terms
- De-identification
- Removing or replacing the personal information in data, then testing whether anyone could still be identified. Each privacy law sets its own test, so the work is done to the strictest one that applies.
- Expert Determination
- One of the two ways to de-identify health data under the US health privacy rule. A qualified expert in statistics finds that the risk of identifying anyone is very small and documents the methods and results. We do not make this determination; the expert does.
- Safe Harbor
- The checklist method for de-identifying health data under the US health privacy rule. It removes a list of 18 kinds of identifiers, such as names, small geographic areas, most dates, phone numbers and record numbers, and requires that there is no actual knowledge the rest could identify someone.
- Quasi-identifier
- A detail that does not name a person but can identify them when combined with others, such as age, postal code and a rare diagnosis, or a job title and a start date.
Previous: Data valuation calculator | Next: De-identification