Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 entitiesentity_clinic_attributes, and entity_clinic_overrides tables.

...

field
type
attributes
notes
example
entity_clinics.entity_idint(10)UNSIGNED NOT NULL AUTO_INCREMENTProvided by Pellucid, same as FOREIGN KEY: links to entities table1219198502
entity_clinics.entity_hospital_idint(10)DEFAULT NULLHospital entity_id that the clinic is tied to100001
entity_clinics.local_idvarchar(4)DEFAULT NULLAssigned by data provider, ex: state 0012
entity_clinics.typevarchar(25)DEFAULT NULLProvides details on the type of serviceDBA
entity_clinics.namevarchar(255)DEFAULT NULLClinic NameTed's ACO
entity_clinics.akavarchar(255)DEFAULT NULLAlternative Clinic NameTed Jr's ACO
entity_clinics.addressvarchar(255)DEFAULT NULLPhysical Location123 Fake St
entity_clinics.cityvarchar(255)DEFAULT NULLPhysical LocationLake Success
entity_clinics.statevarchar(2)DEFAULT NULLTwo-letter state abbreviationNY
entity_clinics.zipcodevarchar(5)DEFAULT NULLFive Digit Postal Code11042
entity_clinics.county_namevarchar(255)DEFAULT NULLPhysical LocationNassau
entity_clinics.county_fipsvarchar(3)DEFAULT NULLDetermined by state056
entity_clinics.phone_numbervarchar(25)DEFAULT NULLTelephone Number5165550123
entity_clinics.closed_datedateDEFAULT NULLYYYY-MM-DD2011-01-12
entity_clinics.createddatetimeDEFAULT NULLWhen the row was created2000-01-01 11:11:11
entity_clinics.modifiedtimestampDEFAULT NULLWhen the row was most recently changed2014-08-01 01:12:12