documentation:next_cdm:location_history
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| documentation:next_cdm:location_history [2016/06/09 21:44] – created cgreich | documentation:next_cdm:location_history [2016/10/14 18:15] (current) – [Table] gowtham_rao | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Location History ===== | ===== Location History ===== | ||
| - | * Requester: Robert | + | * Requester: Robert |
| * Discussion: [[http:// | * Discussion: [[http:// | ||
| ---- | ---- | ||
| === Proposal === | === Proposal === | ||
| + | |||
| + | The location_id in the Person table is only capable of storing a single location address for an individual. We want to know where a person' | ||
| + | |||
| + | There are several things to consider here: | ||
| + | * An entity (person, care site, device) may change locations over a period of time | ||
| + | * A location may have multiple entities (person, device, care site) over a period of time | ||
| + | * An entity may have more than one locations at the same time (e.g. vacation home for a person, or mailing address vs residing address vs billing address, beneficiaries address vs. subscribers address) | ||
| + | |||
| + | The first two issues maybe solved easily. The third, if we are concerned about it, may be resolved by adding an location type field e.g (" | ||
| + | |||
| + | Note in the table below: both person and location IDs do not need to be unique in the residency table. | ||
| + | |||
| + | | **location_history_id** | ||
| + | | res1 | John Doe | location1 | ||
| + | | res2 | Jane Doe | location1 | ||
| + | | res3 | Bob Smith | location2 | ||
| + | | res4 | Bob Smith | location3 | ||
| + | |||
| + | |||
| + | It was agreed that the location_id in person table would represent the current location of the person. | ||
| + | |||
| + | It was discussed that location_history may need to be generalized to include device, care site, provider etc. **How do we do that?** | ||
| + | |||
| + | |||
| + | |||
| + | | **location_history_id** | ||
| + | | res1 | person | ||
| + | | res2 | provider | ||
| + | | res3 | care_site | ||
| + | | res4 | person | ||
| + | |||
| + | |||
| + | |||
| ---- | ---- | ||
| === Use Cases === | === Use Cases === | ||
| + | |||
| + | * What zip code did person x live in when they were diagnosed with y? | ||
| + | * Are people who live closer to x more likely to y? | ||
| + | * Is there a cluster of people with certain conditions, when did that cluster first occur, and has it changed in location over time | ||
| + | * How do care sites compare in terms of average travel time? Does it matter? | ||
| + | * Are there hot spots for specific conditions? | ||
documentation/next_cdm/location_history.1465508675.txt.gz · Last modified: by cgreich
