Template:— operational_theatre (opn_thr)
Context:— UK_Defence
Date: 2009/04/17 10:13:34
Revision: 1.5
Template: operational_theatre

XML references to the Template

These can be cut and pasted into the XML as required.

operational_theatre

Set up a hyperlink to the template definition.
<template_ref name="operational_theatre" context="UK_Defence" />

Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="operational_theatre" context="UK_Defence" >
  <param name="theatre_type">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="id">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="source_organization">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="operational_theatre">
  <param_in name="theatre_type" value=""/>
  <param_in name="id" value=""/>
  <param_in name="source_organization" value=""/>
</template_example>

operational_theatre
/operational_theatre(theatre_type='', id='', source_organization='')/

Path

-- Operating Theatre
/representing_state_type(
    sd_class_name=@theatre_type,
    sd_ecl_id='urn:plcs:rdl:UK_Defence')/
%^operational_theatre = $representing_state_type.state_def%

-- id identifier
/identifier(
    ID=@id,
    source_organization=@source_organization,
    type='^operating_theatre_id_code',
    items=^operational_theatre)/

XML representation of path

<refpath
   template="operational_theatre">
   <comment>
      Operating Theatre
   </comment>
   <call_template
      name="representing_state_type"
      business_context="UK_Defence">
      <param_in
         name="sd_class_name"
         value="@theatre_type">
         
      </param_in>
      <param_in
         name="sd_ecl_id"
         value="'urn:plcs:rdl:UK_Defence'">
         
      </param_in>
   </call_template>
   <bind
      parameter="operational_theatre">
      <template_instance
         template="representing_state_type"
         parameter="state_def">
         
      </template_instance>
   </bind>
   <comment>
      id identifier
   </comment>
   <call_template
      name="identifier"
      business_context="UK_Defence">
      <param_in
         name="ID"
         value="@id">
         
      </param_in>
      <param_in
         name="source_organization"
         value="@source_organization">
         
      </param_in>
      <param_in
         name="type"
         value="'^operating_theatre_id_code'">
         
      </param_in>
      <param_in
         name="items"
         value="^operational_theatre">
         
      </param_in>
   </call_template>
</refpath>

© UK MOD 2010 — All rights reserved