Continuing with the templates
authorChris Cormack <chrisc@catalyst.net.nz>
Mon, 18 Nov 2013 02:15:22 +0000 (15:15 +1300)
committerChris Cormack <chrisc@catalyst.net.nz>
Mon, 18 Nov 2013 02:15:22 +0000 (15:15 +1300)
templates/response.tt

index efeab8b..63dc1c0 100644 (file)
@@ -2,6 +2,20 @@
 
 <NCIPMessage>
     <[% messagetype %]>
-
+       <ResponseHeader>
+            <FromAgencyId>
+                <UniqueAgencyId>
+                    <Scheme>[% schemeurl %]</Scheme>
+                    <Value>[% fromagency %]</Value>
+                </UniqueAgencyId>
+            </FromAgencyId>
+            <ToAgencyId>
+                <UniqueAgencyId>
+                    <Scheme>[% schemeurl %]</Scheme>
+                    <Value>[% toagency %]</Value>
+                </UniqueAgencyId>
+            </ToAgencyId>
+        </ResponserHeader>
+        
     </[% messagetype %]>
 </NCIPMessage>