There was a famous error shown up while using Nautilus File Manager to browse Network:
Seems wired, especially when you are doing the same thing over a remote connection to your Ubuntu server.
After a research among the materials on the Internet, a solution is found without installing any other components as mentioned by the other gurus. Try this in the terminal:
gksu is the command to open GUI program in the terminal while & sign keeps this as a separate process after initialization.
dbus-launch does do the tricks, i.e. network browsing.
For detailed explanation, please read this:
http://linux.die.net/man/1/dbus-launch
Friday, February 5, 2010
Friday, December 11, 2009
Healthcare Identifiers
People actively involved in developing HL7 compliant applications may find some issues on duplicate records caused by typos or inaccurate information. All these problems go back to the software developers who seem to hold all the responsibilities of creating such dilemma. On the one hand, people who do the data entry should share part of responsibilities in making wrong records. On the other hand, The patients may also provide inaccurate information about their identities. Finally, all these errors could make the patients suffering when medical staff makes wrong decisions based on the incorrect information produced by the software during treatment.
Medicare number is not a good choice for patient identification. You may agree with that after you read this:
Why not use the Medicare number?
A Medicare number is not unique. Some people have more than one Medicare number because they are members of more than one family and may be on multiple cards. Also, not everyone who needs healthcare will have a Medicare number.
So what is individual healthcare identifier?
An IHI is a unique 16 digit number that will be allocated to each Australian resident and others seeking healthcare in Australia. Your IHI will be unique and only apply to you for use in health information records alongside your name and date of birth. No clinical information will be linked to your identifier. Healthcare providers and healthcare organisations will also have their own unique identifiers.
An unique identifier would really help ease the pain of the application developers in Australia. For successful e-health strategy, health institution will need to use HL7 for orchestration among the systems maintained by different vendors. Patient identification causes big trouble to the developers whereas most of them find their own ways to identify an unique patient's record. With both of healthcare identifier and HL7 protocol, various systems can really talk to each others with less errors than ever before.
An exposure draft of Healthcare Identifiers Bill has been released and is ready for public comment. This will help build the basic infrastructure of e-health communication protocol. Hopefully, we will see Healthcare Identifiers Service offered by Medicare by mid-year 2010.
http://www.health.gov.au/internet/main/publishing.nsf/Content/pacd-ehealth-consultation
Medicare number is not a good choice for patient identification. You may agree with that after you read this:
Why not use the Medicare number?
A Medicare number is not unique. Some people have more than one Medicare number because they are members of more than one family and may be on multiple cards. Also, not everyone who needs healthcare will have a Medicare number.
So what is individual healthcare identifier?
An IHI is a unique 16 digit number that will be allocated to each Australian resident and others seeking healthcare in Australia. Your IHI will be unique and only apply to you for use in health information records alongside your name and date of birth. No clinical information will be linked to your identifier. Healthcare providers and healthcare organisations will also have their own unique identifiers.
An unique identifier would really help ease the pain of the application developers in Australia. For successful e-health strategy, health institution will need to use HL7 for orchestration among the systems maintained by different vendors. Patient identification causes big trouble to the developers whereas most of them find their own ways to identify an unique patient's record. With both of healthcare identifier and HL7 protocol, various systems can really talk to each others with less errors than ever before.
An exposure draft of Healthcare Identifiers Bill has been released and is ready for public comment. This will help build the basic infrastructure of e-health communication protocol. Hopefully, we will see Healthcare Identifiers Service offered by Medicare by mid-year 2010.
http://www.health.gov.au/internet/main/publishing.nsf/Content/pacd-ehealth-consultation
Thursday, November 12, 2009
Must-have functions in clinical application
Doctors see clinical software as a tool to help them sort out lots of problems where a team of workers would achieve in the past. What functions of a killer application would be desired by GPs? I looked around and find a useful comment from an article online.
How family doctor can function without these features:
- chronic prescription handling
- drug interaction checking
- drug information
- patient information leaflets
- printing useful patient data report
- tracking of investigations
- chronic disease management tools/searches
- audit tools for doctors (i.e., to ensure they are doing what they think they are doing)
- legible notes
- comprehensive backup strategies
- remote access from home
An open source tool like OSCAR seems to be popular among the GPs. That's good starting point to add and enhance such features for making doctors' life easier.
Thursday, September 24, 2009
Advanced PHP mail problem in Ubuntu
After a MTA like sendmail has been setup in Linux environment, PHP script for sending email seems not to work correctly. The symptom is so weird. Say, you sent out email successfully without any error message by using PHP. However, the email actually didn't reach the destination mailbox. The famous PHP manual did not show any light on what happened.
Assuming we are using SMTP server other than the sendmail agent to send out the email, sometimes we need to pass authentication details to make it work. However, PHP built-in mail() function is lack of authentication feature. This function works really well on Windows machine, supposing it is using SMTP server in local network.
For Linux, it is recommended to use PEAR project's Mail object as it has extra feature for passing authentication parameters to SMTP server. This is especially useful when the hosting machine is not in the local network of SMTP server. In this case, authentication is a must to send through emails successfully.
For the beginning of the PHP script, we'd better add this:
Then you may pupulate Mail::factory() object to send out the email content.
PHP4 or newer version has already integrated PEAR's Mail library in its package. If they don't, then you may add it yourself:
The beta 1.2.0b2 version of Mail works okay so I guess you may like it. Of course, you may install newer version as you like.
Then you may use Mail::factory() object for sending email using PHP script, surely with your SMTP username and password. This Mail object works even if you don't use authentication.
Nice to have a try;)
Assuming we are using SMTP server other than the sendmail agent to send out the email, sometimes we need to pass authentication details to make it work. However, PHP built-in mail() function is lack of authentication feature. This function works really well on Windows machine, supposing it is using SMTP server in local network.
For Linux, it is recommended to use PEAR project's Mail object as it has extra feature for passing authentication parameters to SMTP server. This is especially useful when the hosting machine is not in the local network of SMTP server. In this case, authentication is a must to send through emails successfully.
For the beginning of the PHP script, we'd better add this:
Then you may pupulate Mail::factory() object to send out the email content.
PHP4 or newer version has already integrated PEAR's Mail library in its package. If they don't, then you may add it yourself:
The beta 1.2.0b2 version of Mail works okay so I guess you may like it. Of course, you may install newer version as you like.
Then you may use Mail::factory() object for sending email using PHP script, surely with your SMTP username and password. This Mail object works even if you don't use authentication.
Nice to have a try;)
Tuesday, September 1, 2009
Remote Javascript function calls to close IE7 Window with PDF opened
When we let users open a PDF file from our web site, it seems we can't close that IE7 window by javascript once the PDF content is loaded. We want more interactive features at the client's IE7 browser, like closing window from Parent window's JS call.
The question is: How can we make Javascript function calls to remotely close an child IE7 Window with PDF opened?
Answer: HTML tag frameset can help us solve this problem. Take a look at this forum discussion for more ideas.
The question is: How can we make Javascript function calls to remotely close an child IE7 Window with PDF opened?
Answer: HTML tag frameset can help us solve this problem. Take a look at this forum discussion for more ideas.
Wednesday, August 26, 2009
Unlock button greyed out in Ubuntu menu with remote SSH VNC Connection
After I setup a Ubuntu server somewhere, I decided to use VNC via SSH tunnel for getting its nice GUI back. However, each time I click to open Program from menu item, the "Unlock" button is always greyed out. After googling for a few articles about this, I found a solution which was working on Hardy server. Amazingly, it works on Jaunty server as well!
1. After I logon with SSH client and open VNC client sucessfully. I type this in terminal window:
Then the polkit-authorization dialog box appears.
2. In the left pane, navigate to freedesktop->systemtoolsbackends->Manage System Configuration. In the right pane, click "Edit" button under Implicit Authorizations. Edit Implicit Authorizations dialog box will appear.
3. In Edit Implicit Authorizations dialog box, assgin Anyone with Admin Authentication.
4. Click Modify button to confirm and then Close button to exit.
5. Reboot the server and try login again via SSH and then open VNC client to come back to GUI environment.
Now any dialog from menu item with Unlock button should be enabled again and you will be authenticated when clicking Unlock button.
1. After I logon with SSH client and open VNC client sucessfully. I type this in terminal window:
Then the polkit-authorization dialog box appears.
2. In the left pane, navigate to freedesktop->systemtoolsbackends->Manage System Configuration. In the right pane, click "Edit" button under Implicit Authorizations. Edit Implicit Authorizations dialog box will appear.
3. In Edit Implicit Authorizations dialog box, assgin Anyone with Admin Authentication.
4. Click Modify button to confirm and then Close button to exit.
5. Reboot the server and try login again via SSH and then open VNC client to come back to GUI environment.
Now any dialog from menu item with Unlock button should be enabled again and you will be authenticated when clicking Unlock button.
Monday, August 17, 2009
PHP Sendmail problem on Ubuntu
For most general PHP functions like mail(), XAMPP package always works well on Win32 platform with its pre-defined settings. For linux distro like Ubuntu, you need to do extra steps to make it work.
1. You must be sure that you have run the following commands:
2. Come to your php.ini and edit like this (you'd better search php.ini yourself by issuing 'locate' command):
3. One extra thing to fix unqualified host name issue with error message like 'unable to qualify my own domain name'. Open and edit /etc/hosts as follows:
Let's say you have your machine locally named 'yourserver', add it with postfix '.local'
127.0.0.1 yourserver.local localhost
4. Restart Apache server or your LAMPP server to make PHP settings effective.
Now your PHP code should work on using mail() function for sending email message out.
1. You must be sure that you have run the following commands:
2. Come to your php.ini and edit like this (you'd better search php.ini yourself by issuing 'locate' command):
3. One extra thing to fix unqualified host name issue with error message like 'unable to qualify my own domain name'. Open and edit /etc/hosts as follows:
Let's say you have your machine locally named 'yourserver', add it with postfix '.local'
127.0.0.1 yourserver.local localhost
4. Restart Apache server or your LAMPP server to make PHP settings effective.
Now your PHP code should work on using mail() function for sending email message out.
Tuesday, August 11, 2009
Let Apache as a internet gateway to other intranet servers
To secure the web services and maintain high availability, it is good to have a proxy in front of the other web application servers which sit inside the intranet. You can imagine there is only one IP address available and one physical machine. How can I setup multiple servers at a time? Using VMware makes my dream come true;)
Inspired by an article about setting gateway server for Internet users accessing intranet resources like Outlook Web Access service, I get this good thing work on my machine.
With one front-end gateway with ability to be accessed by Internet users, we can implement reverse proxy which redirects particular web requests to internal servers. The gateway server should have Apache server equipped and ready to run. What you need to do on the machine would be adding a few lines to the configuration file like, httpd-ssl.conf. This file contains settings for general Apache HTTPS request handling. I assume you have your SSL certificate sitting well in the gateway machine. For the rest, just a few lines in the configuration file like httpd-ssl.conf:
Within the block of VirtualHost
(possibly something like VirtualHost _default_:443):
SSL certificate will sit inside the gateway server and serve HTTPS requests for other intranet servers. In this case, we only need one SSL certificate for all internal servers.
Inspired by an article about setting gateway server for Internet users accessing intranet resources like Outlook Web Access service, I get this good thing work on my machine.
With one front-end gateway with ability to be accessed by Internet users, we can implement reverse proxy which redirects particular web requests to internal servers. The gateway server should have Apache server equipped and ready to run. What you need to do on the machine would be adding a few lines to the configuration file like, httpd-ssl.conf. This file contains settings for general Apache HTTPS request handling. I assume you have your SSL certificate sitting well in the gateway machine. For the rest, just a few lines in the configuration file like httpd-ssl.conf:
Within the block of VirtualHost
(possibly something like VirtualHost _default_:443):
SSL certificate will sit inside the gateway server and serve HTTPS requests for other intranet servers. In this case, we only need one SSL certificate for all internal servers.
Download faster with enhanced apt-get
Yes, right. System update could take longer and longer time without using this gadget. On Ubuntu, traditional package installer apt-get is great but requires something else to make downloading faster. Axel is one of the best candidate and which is also free to download and install.
To install axel at first, type this:
There is a sample script to combine the power of apt-get and axel.
Just copy and paste the script into a text file, name it ("apt-fast", whatever) and then place it into a directory like /usr/bin/ and make it available for use with the following command:
Then you can use it like apt-get command and enjoy the high speed downloading than ever before.
Good tool, indeed!
To install axel at first, type this:
There is a sample script to combine the power of apt-get and axel.
Just copy and paste the script into a text file, name it ("apt-fast", whatever) and then place it into a directory like /usr/bin/ and make it available for use with the following command:
Then you can use it like apt-get command and enjoy the high speed downloading than ever before.
Good tool, indeed!
Monday, August 10, 2009
Start vnc4server automatically on Ubuntu bootup
Nice to find an article talking about how to deal with vnc4server on Xubuntu, especially for auto startup. With my imagination, now it's for Ubuntu use as well;>
Making vnc4server start automatically
You can make your vnc4server start automatically with a simple one-line script.
Paste the following into the script editing the resolution to your liking:
Now save the file and exit nano. You'll also need to make the file an executable, do so with the following command:
Finally, to have this script run automatically, simply add it to your startup group:
To remove it from your startup list, do this:
For Gnome user, better do this:
Making vnc4server start automatically
You can make your vnc4server start automatically with a simple one-line script.
Paste the following into the script editing the resolution to your liking:
Now save the file and exit nano. You'll also need to make the file an executable, do so with the following command:
Finally, to have this script run automatically, simply add it to your startup group:
To remove it from your startup list, do this:
For Gnome user, better do this:
Labels:
automatically,
startup,
ubuntu,
update-rc.d,
vnc4server
Subscribe to:
Posts (Atom)
