Welcome to SynapseDirect Sign in | Join | Help
in Search

SynapseDirect

http://127.0.0.1:8001/searchzip.html

Last post 03-29-2008, 4:23 PM by Jason. 2 replies.
Sort Posts: Previous Next
  •  11-03-2006, 1:49 PM 1140

    http://127.0.0.1:8001/searchzip.html

    This is a script that searches for the New Zealand postcode using the above link that is created by the Firefox icon on the patient details

    try { number = find(/Number: ([\w\s]+)/).groups[1]; }
    catch(e) {
    number = ''; // a pair of single quotes here
    }
    try { street = find(/Street: (.*)/).groups[1]; }
    catch(e) {
    street = '';
    }
    try { suburb = find(/Suburb: (.*)/).groups[1]; }
    catch(e) {
    suburb = '';
    }
    try { city = find(/City: (.*)/).groups[1]; }
    catch(e) {
    city = '';
    }

    with(openTab('http://www.nzpost.co.nz/Cultures/en-NZ/OnlineTools/PostCodeFinder/', true)) {
    enter("Number",number)
    enter("Street Name",street)
    enter("Suburb",suburb)
    enter("City",city)
    click("SubmitAddressSearchImageButton")
    }



    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
    Filed under:
  •  03-29-2008, 2:04 AM 5479 in reply to 1140

    Re: http://127.0.0.1:8001/searchzip.html

    This script uses the same trigger page to bring up the patient's address on googlemaps.

     


    Graham Chiu
    Beta Downloads and Documentation Wiki
    Developer Forum
  •  03-29-2008, 4:23 PM 5480 in reply to 5479

    Re: http://127.0.0.1:8001/searchzip.html

    made a quick video demo of looking up a patient's address on google maps.

    previously, all I had to do was  

    http://compkarori.no-ip.biz:8090/Searchzip.html

    Developer
View as RSS news feed in XML
Try-out the Click to try-out Synapse EMR Express Edition Free Synapse EMR Express Edition Click to try-out Synapse EMR Express Edition · ©2006 SynapseDirect · Terms and Conditions · Privacy Policy · help us keep Synapse EMR Express free for all Doctors

managing your electronic medical records · Unique Visits Dell Computer