Home ›
Select Practice Location after Login
Donate to this project
Submitted by tanderson on Fri, 06/06/2014 - 18:13
Development Project Status: Seeking Funding
Total cost estimate (ex-Tax):
$1510
Due date for completion of this stage:
06/06/2014 Project funding:
Pledges can be made by email by clicking here.
Development will not commence until fully funded.
In OpenVPMS, users can be linked to one or more Practice Locations. One of these locations can be specified as the default, which will be automatically selected at login.
This project will provide the option to:
- prompt users linked to multiple Practice Locations to select the Practice Location to use when logging in; and
- suggest an initial Practice Location based on the user's IP address
This will be enabled by extending the:
- Practice configuration to include an option, "Prompt For Practice Location". If true, any user linked to multiple Practice Locations will be required to select the Practice Location to use on login; and
- Practice Location configuration to allow IP address ranges to be defined for users logging in to that location. These ranges will be specified using CIDR notation e.g. 192.168.100.0/24 (i.e. all hosts in the range 192.168.100.1 - 192.168.100.254).
If a user is logging in from an IP address that doesn't match those configured in any Practice Location, their default location will be highlighed.
If the user is opening a window from an existing session, then they will not be prompted a second time to select the location; the existing location will be used.
Comments
Re: Select Practice Location after Login
If the IP address of the user does not fall in once of the defined ranges, and that user has no default Practice Location, will there be no selection by default, forcing them to actively choose a location?
Re: Select Practice Location after Login
There's several options:
Re: Select Practice Location after Login
I think the first option makes more sense.
Re: Select Practice Location after Login
In a Terminal Services environment this will not work as the browser is being run on a remote server so the Ip address of the client is not able to be used to determine the location. Potentially would need to use the CLIENTNAME environmental variable and reverse DNS lookup to determine the clients IP address.
We may need to review project as specified to get the result we need from it.