Lites Demo Centre
Radar Healthcare

Implementation Notes

The following are some implementation notes for the EIDO Lites dynamic online delivery solution.

This demo is available from the EIDO Lites Demo Centre

Code behind

The Javascripts provided should work with jQuery as well as Prototype. We have not created a plain-vanilla version.

You can of course inspect the the structure of this in a browser. The Javascript libraries used can downloaded from the following links (right-click and use "Save link as ...":

http://informadmin.eidosystems.com/script/EIDO_S3Document.js

http://informadmin.eidosystems.com/script/litedemo.js

Putting it together into your pages

In the package provided to you there is a Javascript library (litedemo.js), in that library is this function:

function getEIDOLiteDoc(territory, docnum, target){
    request = {}
    request.document = docnum;
    request.territory = territory;
    request.element = target;
    $(document).trigger('eidodoc:fetch', request);
}
                

This function takes three inputs.

territory … one of the following depending on your territory:

  • AUS
  • CANADA
  • Discovery
  • SA
  • UK
  • UKRCS
  • USA

docnum … this is the EIDO document number (for example 'A01', 'B02', etc.)

target … this is an id for an element in which the HTML content you retrieve will be injected. For example, one might have <div class="litescontent'/> in their web page and so you would pass in 'litescontent'. The HTML content of this <div> would be dynamically populated with the content from the EIDO Lites server.

There are additional convenience functions also inside the demo Javascript set you can use to get documents as well as build the link to PDF. If you look around the "litedemo.js" function you will see them and the documentation for using them.