aminua wrote on Tuesday, January 04, 2011:
Hi,
I will appreciate it if anybody can tell me what I am doing wrong.
I am a medical doctor who is interested in using openemr and have shown it to my colleagues who are all excited about it.
However, for the past few weeks, I have been trying to load icd9 codes without much success.
I know a lot has been said about the issue but I just couldn’t make it to work after going thru the forum and trying to synthesize the large volume of information on the topic.
I am using windows Xp service pack 3 with OpenEMR v3.2.0.
I have applied the patch from: http://sourceforge.net/tracker/?func=detail&aid=3081753&group_id=60081&atid=493003
I downloaded the XAMPP installer and installed it without much problem. ( A remarkable feet).
I have downloaded and modified the load_icd_desc.plx file from
http://openemr.cvs.sourceforge.net/viewvc/openemr/openemr/contrib/util/load_icd_desc.plx?view=log.
I then changed the lines as instructed on the wiki page http://www.openmedsoftware.org/wiki/Load_ICD9_Codes
I have installed perl using ActivePerl-5.12.2.1202-MSWin32-x86-293621 installer from http://www.activestate.com/activeperl/downloads
The entries on my load_icd_desc.plx look like this:
my $DBNAME = “openemr”;
# You can hard-code the database user name and password (see below),
# or else put them into the environment with bash commands like these
# before running this script:
#
# export DBI_USER=username
# export DBI_PASS=password
#
# my $dbh = DBI->connect(“dbi:mysql:dbname=$DBNAME”) or die $DBI::errstr
# if ($DBNAME);
my $dbh = DBI->connect(“dbi:mysql:dbname=$DBNAME”, “openemr”, “0p3n3mr”)
or die $DBI::errstr if ($DBNAME);
I then run the activeperl command:
Microsoft Windows XP
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\aminua>C:\Perl\bin\ppm install DBD-MySQL
No missing packages to install
C:\Documents and Settings\aminua>C:\Perl\bin\perl c:\xampp\htdocs\openemr\contri
b\load_icd_desc.plx
Inserted 0 rows, updated 0 codes.
Or is there a simpler way for us non programmers to get ICD9 codes working.
Sorry for the lengthy post.
Thank you.
Aminu