Summary
This table is used to track identifying data for clinics. Currently, the entity_clinics table is limited to entities in New York State.
The unique entity_id links to the entities, entity_clinic_attributes, and entity_clinic_overrides tables.
Table Creation
CREATE TABLE IF NOT EXISTS `entity_clinics` (
`entity_id` int(10) DEFAULT NULL,
`entity_hospital_id` int(10) DEFAULT NULL,
`local_id` varchar(4) DEFAULT NULL,
`type` varchar(25) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`aka` varchar(255) DEFAULT NULL,
`address` varchar(255) DEFAULT NULL,
`city` varchar(255) DEFAULT NULL,
`state` varchar(2) DEFAULT NULL,
`zipcode` varchar(5) DEFAULT NULL,
`county_name` varchar(255) DEFAULT NULL,
`county_fips` varchar(3) DEFAULT NULL,
`phone_number` varchar(25) DEFAULT NULL,
`closed_date` date DEFAULT NULL,
`created` datetime DEFAULT NULL,
`modified` timestamp NULL DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Fields
field | type | attributes | notes | example |
---|---|---|---|---|
entity_id | int(10) | UNSIGNED NOT NULL AUTO_INCREMENT | Provided by Pellucid, same as entities table | 1219198502 |
entity_hospital_id | int(10) | DEFAULT NULL | Hospital entity_id that the clinic is tied to | 100001 |
local_id | varchar(4) | DEFAULT NULL | Assigned by data provider, ex: state | 0012 |
type | varchar(25) | DEFAULT NULL | Provides details on the type of service | DBA |
name | varchar(255) | DEFAULT NULL | Clinic Name | Ted's ACO |
aka | varchar(255) | DEFAULT NULL | Alternative Clinic Name | Ted Jr's ACO |
address | varchar(255) | DEFAULT NULL | Physical Location | 123 Fake St |
city | varchar(255) | DEFAULT NULL | Physical Location | Lake Success |
state | varchar(2) | DEFAULT NULL | Two-letter state abbreviation | NY |
zipcode | varchar(5) | DEFAULT NULL | Five Digit Postal Code | 11042 |
county_name | varchar(255) | DEFAULT NULL | Physical Location | Nassau |
county_fips | varchar(3) | DEFAULT NULL | Determined by state | 056 |
phone_number | varchar(25) | DEFAULT NULL | Telephone Number | 5165550123 |
closed_date | date | DEFAULT NULL | YYYY-MM-DD | 2011-01-12 |
created | datetime | DEFAULT NULL | When the row was created | 2000-01-01 11:11:11 |
modified | timestamp | DEFAULT NULL | When the row was most recently changed | 2014-08-01 01:12:12 |