Tuesday, January 19, 2010

OpenEMR Project

About two weeks a go, I'm looking for Hospital Information System also called as Electronic Medical Management. Google give me many links to refering many options, and one of them is OpenEMR. Quoting from OpenEMR's official website:

OpenEMR is a free medical practice management, electronic medical records, prescription writing, and medical billing application. These programs are also referred to as electronic health records.

OpenEMR is licensed under the General Gnu Public License (General GPL). It is a free open source replacement for medical applications such as Medical Manager, Health Pro, and Misys. It features support for EDI billing to clearing houses such as MedAvant and ZirME.

And I get a new project to  implementing Hospital Information system base on Open Source Software. I've already install OpenEMR on my notebook and everyday I learned about this program. I think this program very well and usefull but I've to review other Open Source program's to compared.

Next week, I've to make decision, using OpenEMR or anything else.
See ya next week...

[Solved] Problem with RewriteCond and RewriteRule

I've already posted article about problem on my apache web server, details? click here. Yesterday I think the cause is the ACL configuration on apache or virtual host configuration. But today the problem has been solved, and I did mistake on .htaccess.

I found a problem when trying to open a file on img.blog.pnyet.web.id example: I just trying opened http://img.pnyet.web.id/networking/ping.png and I get the messages:
[Mon Jan 18 01:44:49 2010] [error] [client 114.56.164.60] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Mon Jan 18 01:44:49 2010] [error] [client 114.56.164.60] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

I've .htaccess for RewriteCond and RewriteRule configuration, please see below:
# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]


# END WordPress

I'm so stupid, if use the script on .htacces I'll not be able to open file directly on directory, Because all of the files will be convert to other links. So, how fixed the problem? I just put new conditional using RewriteCond and disabled RewriteRule on some directories, see below:


RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(wp-admin|css|cpstyles|images)/
RewriteRule . /index.php [L]


After put this script:
RewriteCond %{REQUEST_FILENAME} !/(wp-admin|css|cpstyles|images)/
My problem has gone, and case closed!!!