gsporter wrote on Sunday, January 08, 2012:
I am setting up new OpenEMR instance and would like to avoid manually entering all the various insurance companies so I started looking around for a data source and method of importing them.
We are not bound to our current clearinghouse so I started looking around and found OfficeAlly which looked promising. Low and behold they have a downloadable payer list. The only issue is it does not contain address or contact
information. Plus once I started looking into the database schema it became apparent the data you enter is actually in two tables “insurance_companies” and “addresses” linked by using the “id” from the “insurance_companies” in the
“foreign_key” field of the address field.
I wondered if anyone had attempted this or had any ideas on the best way to proceed. It would be great if there was an mysql dump similar to the icd9-codes-insert.sql. I know not all clearinghouses work with all payers but it would be better to have extra companies than manually re-entering them and the CMS code should be the same.
In the mean time if I dump the CMS Id, and name into a cvs file would I cause any major problems with the data base? The office staff could enter contact and address information as the companies are used.
GP
- Table structure for table `insurance_companies`
CREATE TABLE IF NOT EXISTS `insurance_companies` (
`id` int(11) NOT NULL DEFAULT ‘0’,
`name` varchar(255) DEFAULT NULL,
`attn` varchar(255) DEFAULT NULL,
`cms_id` varchar(15) DEFAULT NULL,
`freeb_type` tinyint(2) DEFAULT NULL,
`x12_receiver_id` varchar(25) DEFAULT NULL,
`x12_default_partner_id` int(11) DEFAULT NULL,
`alt_cms_id` varchar(15) NOT NULL DEFAULT ‘’,
PRIMARY KEY (`id`)
- Table structure for table `addresses`
CREATE TABLE IF NOT EXISTS `addresses` (
`id` int(11) NOT NULL DEFAULT ‘0’,
`line1` varchar(255) DEFAULT NULL,
`line2` varchar(255) DEFAULT NULL,
`city` varchar(255) DEFAULT NULL,
`state` varchar(35) DEFAULT NULL,
`zip` varchar(10) DEFAULT NULL,
`plus_four` varchar(4) DEFAULT NULL,
`country` varchar(255) DEFAULT NULL,
`foreign_id` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `foreign_id` (`foreign_id`)