This operation is used to retrieve the HTML form template from the ReferralNet services repository and is returned in the form of an industry standard zip archive. The templateUID of the desired template can be obtained from a preceding invocation of the RetrieveRecipientTemplates operation.

The structure of the archive basically mirrors that of a normal web site folder structure and also supports an optional META-INF folder used to house template specific metadata.

The HTML form must have an onsubmit attribute, with the returning boolean value determining whether the form is actioned.

<script language="JavaScript" type="text/javascript">
function check(){
   elem = document.getElementById("general_notes");
         alert("General notes must be entered!");
	 return false;
   return true;
<form id="Sample" name="Sample" onsubmit="return check()">


  • Each form field / widget needs to have a unique "name" attribute associated to it.

Example Template Archive Structure

    • META-INF/
      • icon.png
      • preview.png
      • manifest.xml
      • template.xslt
    • index.html
    • style.css
    • images/
      • MastHead.jpg

Example Request


Example Response

<ns6:RetrieveTemplateArchiveResponse xmlns:ns6="urn:global-health:referralnet">
   <ns3:RegistryResponse status="Success" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0"/>

Sample Template

dev/refnet_retrieve_template.txt · Last modified: 2009/07/02 02:25 by timc