Guest guest Posted January 8, 2008 Report Share Posted January 8, 2008 , I suspect you don't have a clear picture how this works. I have a field in my software where the user can type a drug name. Or, the drug name appears there in this field as a result of a another action. They can then click on a button. This generates a static HTML page with the drug name on it. Synapse then invokes the default system browser to browse that page .... this could be anything including Firefox. Firefox with the Chickenfoot plugin can be triggered by this page ( by virtue of the page location) to execute a user written script ( in chickenfoot which is a superset of javascript ) that extracts data ( the drug name ) and then to do what it wants with that page. I presume that you could also use greasemonkey to add buttons etc to that page. I have a video that shows the process http://synapsedirect.com/files/folders/1084/download.aspx but you have to be logged in to view it ... There is no vendor lockin > Dear Mr. Chiu, > I saw your post on the yahoo group and thought I might make a point. > While I agree this is a simple method, you might want to consider what I do. > I am both a programmer and a integrations consultant. So one major part of my daily life is this silly integration problem. > > The best method in my opinion (if you have access to the software code) is to follow the concept of modular expandability. For example, the web based software that you have... it would be advantageous to create an XML or Javascript based 'agent' (often reffered to as an API). This way others could use a template script that adds a button to the screen. When that button is pressed, the user's script would be called which could ask the agent 'what is the drug name'. The user's script would have an answer value returned which is then up to the script what to do with it. A great example you mention is to open a new browser window and go to page 'x'. > > This also prevents your solution from 'vendor lockin'. I do agree that if you had to choose a browser that Firefox would be best as it works on many platforms, but any kind of lockin is always scary in my mind. > > Thanks! > -Cheers, > > ==================== > Brunnengräber > BCConsulting > pbrunnen@... > / > > Inspecification,'s > LawsupersedesOhm'sLaw. > --Unknown > > DIY webservices > Reply-To: > X-Yahoo-Newman-Property: groups-email-ff-m > > For those of us who write our own EMRs, it is basically impossible to > provide all the resources that a user might need. > > However, there is often a web service out there that can do what is wanted. > > The trick is how to integrate the web service out there with your own > EMR, and without having to reprogram it each time the user needs a new > web service. > > As an example, let's say you want to print out a drug handout for your > patient, and you have a favourite website where you get these things. > Sure you can navigate to that website, type in the drug name, and then > pick the handout button and print it. But you can also automate the > process. > > The trick is using Firefox with the Chickenfoot extension from some > smart guys at MIT http://groups.csail.mit.edu/uid/chickenfoot/ > This allows you to automate Firefox. > > So, what I do is generate a generic html page that has the drug name. > I then invoke the browser on that page. A chickenfoot script then is > automatically triggered .. it grabs the drug name, and then the script > sends Firefox to my favourite website, fills in the forms, pushes any > buttons and I have the patient handout in front of me! > > I do this for logging into my local laboratory's website to look up > patient results, the white pages to look up phone numbers, to generate > an email on gmail etc. > > It is a technique that can be used by any EMR if they will generate > the basic html pages to trigger the script. > > I have written a few scripts to illustrate how the process works here > http://synapsedirect.com/forums/35/ShowForum.aspx > > -- > Graham Chiu > http://www.synapsedirect.com > Synapse-EMR - innovative electronic medical records system > > -- Graham Chiu http://www.synapsedirect.com Synapse-EMR - innovative electronic medical records system Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.