Versions Compared

Key

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

...

`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,

`payer_type` varchar(255) 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 ;

...

field
type
attributes
notes
example
entity_idint(10)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(12)DEFAULT NULLAssigned by data provider, ex: state 0012
payer_typevarchar(255)DEFAULT NULLAssigned by the provider: CCO, PPO, HMO, etcPPO
namevarchar(255)DEFAULT NULLMCO NameTed's ACO
akavarchar(255)DEFAULT NULLAlternative MCO NameTed Jr's ACO
addressvarchar(255)DEFAULT NULLPhysical Location123 Fake St
cityvarchar(255)DEFAULT NULLPhysical LocationLake Success
statevarchar(2)DEFAULT NULLTwo-letter state abbreviationNY
state_fipsvarchar(2)DEFAULT NULL

Nationally defined

09
zipcodevarchar(10)DEFAULT NULL5 Digit Postal Code11042
county_namevarchar(255)DEFAULT NULLPhysical LocationNassau
county_fipsvarchar(3)DEFAULT NULLDetermined by state056
phone_numbervarchar(25)DEFAULT NULLTelephone Number5165550123
urlvarchar(255)DEFAULT NULLWebsite addresswww.site.com
closed_datedateDEFAULT NULL

YYYY-MM-DD

2011-01-12
createddatetimeDEFAULT NULLWhen the row was created2000-01-01 11:11:11
modifieddatetimeDEFAULT NULLWhen the row was most recently changed2014-08-01 01:12:12