21 lines
2.3 KiB
Markdown
21 lines
2.3 KiB
Markdown
|
The LOCATION table represents a generic way to capture physical location or address information of Persons and Care Sites.
|
||
|
|
||
|
Field|Required|Type|Description
|
||
|
:----------------------|:--------|:------------|:--------------------------------------------
|
||
|
|location_id|Yes|integer|A unique identifier for each geographic location.|
|
||
|
|address_1|No|varchar(50)|The address field 1, typically used for the street address, as it appears in the source data.|
|
||
|
|address_2|No|varchar(50)|The address field 2, typically used for additional detail such as buildings, suites, floors, as it appears in the source data.|
|
||
|
|city |No|varchar(50)|The city field as it appears in the source data.|
|
||
|
|state|No|varchar(2)|The state field as it appears in the source data.|
|
||
|
|zip|No|varchar(9)|The zip or postal code.|
|
||
|
|county|No|varchar(20)|The county.|
|
||
|
|location_source_value|No|varchar(50)|The verbatim information that is used to uniquely identify the location as it appears in the source data.|
|
||
|
|
||
|
### Conventions
|
||
|
* Each address or Location is unique and is present only once in the table.
|
||
|
* Locations do not contain names, such as the name of a hospital. In order to construct a full address that can be used in the postal service, the address information from the Location needs to be combined with information from the Care Site. The PERSON table does not contain name information at all.
|
||
|
* All fields in the Location tables contain the verbatim data in the source, no mapping or normalization takes place. None of the fields are mandatory. If the source data have no Location information at all, all Locations are represented by a single record. Typically, source data contain full or partial zip or postal codes or county or census district information.
|
||
|
* Zip codes are handled as strings of up to 9 characters length. For US addresses, these represent either a 3-digit abbreviated Zip code as provided by many sources for patient protection reasons, the full 5-digit Zip or the 9-digit (ZIP + 4) codes. Unless for specific reasons analytical methods should expect and utilize only the first 3 digits. For international addresses, different rules apply.
|
||
|
* The county information can be provided and is not redundant with information from the zip codes as not all of these have an unambiguous county designation.
|
||
|
* No country information is expected as source data are always collected within a single country.
|