Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Summary

This table is used to track identifying data for Managed Care Organizations (MCOs) nationally.  The data present in this table is currently limited to Kentucky and Maryland MCOs.
The unique entity_id links to the entitiesentity_mco_attributes, and entity_mco_overrides tables.

Table Creation

 CREATE TABLE IF NOT EXISTS `entity_mcos` (

`entity_id` int(10) NOT NULL AUTO_INCREMENT,
`mpn_id` varchar(7) DEFAULT NULL,
`npi_id` int(12) DEFAULT NULL,
`local_id` varchar(12) 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,
`state_fips` varchar(2) DEFAULT NULL,
`zipcode` varchar(10) DEFAULT NULL,
`county_name` varchar(255) DEFAULT NULL,
`county_fips` varchar(3) DEFAULT NULL,
`phone_number` varchar(25) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`closed_date` date DEFAULT NULL,
`created` datetime DEFAULT NULL,
`modified` datetime DEFAULT NULL,
PRIMARY KEY (`entity_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=214813 ;

Fields

field
type
attributes
notes
example
entity_idint(20)UNSIGNED NOT NULL AUTO_INCREMENTProvided by Pellucid, same as entities table1219198502
mpn_idvarchar(7)DEFAULT NULLMedicare Provider Number025236
npi_idint(12)DEFAULT NULLNational Provider Identifier1234567891
local_idvarchar(10)DEFAULT NULLAssigned by data provider, ex: state 0012
namevarchar(255)DEFAULT NULL Ted's ACO
akavarchar(255)DEFAULT NULL Ted Jr's ACO
addressvarchar(255)DEFAULT NULLPhysical Location123 Fake St
cityvarchar(255)DEFAULT NULL Lake Success
statevarchar(2)DEFAULT NULLTwo-letter state abbreviationNY
state_fipsvarchar(10)DEFAULT NULL

Nationally defined

09
zipcodevarchar(5)DEFAULT NULL 11042
county_namevarchar(30)DEFAULT NULL Nassau
county_fipsvarchar(10)DEFAULT NULLDetermined by state056
phone_numbervarchar(46)DEFAULT NULL 5165550123
urlvarchar(255)DEFAULT NULLurlwww.site.com
closed_datedateDEFAULT NULL

YYYY-MM-DD

2011-01-12
createddatetime when the row was created2000-01-01 11:11:11
modifieddatetime when the row was most recently changed2014-08-01 01:12:12
  • No labels