Australian user issues

liuyangyang wrote on Thursday, October 30, 2008:

Hi Guys:

I am trying to use the OpenEMR in Australia. However, there is a few issues.

1. In patient Demographics, I can only choose California as state, and USA as country. Can anyone tell me how to customize these two fields?

omo66 wrote on Thursday, October 30, 2008:

If you have phpGACL installed then go to
Admin–>List->Edit list dropBox–>State (add anything)

If not -------> not good. see link or below that
https://sourceforge.net/forum/forum.php?thread_id=2166357&forum_id=202505
you should see below: copy from forum

RE: 2.9.0 Upgrade Issue - "State:" Drop Down
By: Rod Roark (sunsetsystemsProject Admin) - 2008-08-14 11:10
Yes. A change is needed for library/acl.inc in order to support the admin user properly without phpGACL.

Starting at line 83 you will see these comments:

// If no phpgacl, then apply the old static rules whereby “authorized”
// users (providers) can do anything, and other users can do most things.
// If you want custom access control but don’t want to mess with phpGACL,
// then you could customize the code below instead.

After them, add this line:

if ($user == ‘admin’) return ‘write’;

I’ll also make this change in CVS.

Rod
http://www.sunsetsystems.com

liuyangyang wrote on Friday, October 31, 2008:

installing phpGACL is so complicated.

liuyangyang wrote on Friday, October 31, 2008:

Hi Rod:

I did add

if ($user == ‘admin’) return ‘write’; 

at the place you indicated

but what’s next. how can i edit the state?

Thanks.

liuyangyang wrote on Friday, October 31, 2008:

OMG, cannot believe it. I made the phpGALC work!!!!

Thanks Rod