Template:— defect (dfct)
Context:— UK_Defence
Date: 2009/04/17 11:09:19
Revision: 1.2
Template: defect

XML references to the Template

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

defect

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="defect" context="UK_Defence" >
  <param name="Related_product">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="New_defect">
    <param_value>Anomalous_state_of_unknown_novelty</param_value>
    <description></description>
  </param>
  <param name="ID">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="ID_source_organization">
    <param_value>UK_Defence</param_value>
    <description></description>
  </param>
  <param name="Name">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Name_source_organization">
    <param_value>UK_Defence</param_value>
    <description></description>
  </param>
  <param name="Detection_method">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Isolation_method">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Suspected_cause">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Title">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Detection_method_category">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Isolation_method_category">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Operable_until_repaired">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Severity">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Priority">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Repair_in_situ">
    <param_value>/OPTIONAL</param_value>
    <description></description>
  </param>
  <param name="Detected_by">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Detection_location">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Detection_zone">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Built_in_test_data">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Rectify_by">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Related_activity">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Related_mission">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Related_change">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="Repair_hasten">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="When_detected">
    <param_value></param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="defect">
  <param_in name="Related_product" value=""/>
  <param_in name="New_defect" value="Anomalous_state_of_unknown_novelty"/>
  <param_in name="ID" value=""/>
  <param_in name="ID_source_organization" value="UK_Defence"/>
  <param_in name="Name" value=""/>
  <param_in name="Name_source_organization" value="UK_Defence"/>
  <param_in name="Detection_method" value="/OPTIONAL"/>
  <param_in name="Isolation_method" value="/OPTIONAL"/>
  <param_in name="Suspected_cause" value="/OPTIONAL"/>
  <param_in name="Title" value="/OPTIONAL"/>
  <param_in name="Detection_method_category" value="/OPTIONAL"/>
  <param_in name="Isolation_method_category" value="/OPTIONAL"/>
  <param_in name="Operable_until_repaired" value="/OPTIONAL"/>
  <param_in name="Severity" value=""/>
  <param_in name="Priority" value="/OPTIONAL"/>
  <param_in name="Repair_in_situ" value="/OPTIONAL"/>
  <param_in name="Detected_by" value=""/>
  <param_in name="Detection_location" value=""/>
  <param_in name="Detection_zone" value=""/>
  <param_in name="Built_in_test_data" value=""/>
  <param_in name="Rectify_by" value=""/>
  <param_in name="Related_activity" value=""/>
  <param_in name="Related_mission" value=""/>
  <param_in name="Related_change" value=""/>
  <param_in name="Repair_hasten" value=""/>
  <param_in name="When_detected" value=""/>
</template_example>

defect
/defect(Related_product='', New_defect='Anomalous_state_of_unknown_novelty', ID='', ID_source_organization='UK_Defence', Name='', Name_source_organization='UK_Defence', Detection_method='/OPTIONAL', Isolation_method='/OPTIONAL', Suspected_cause='/OPTIONAL', Title='/OPTIONAL', Detection_method_category='/OPTIONAL', Isolation_method_category='/OPTIONAL', Operable_until_repaired='/OPTIONAL', Severity='', Priority='/OPTIONAL', Repair_in_situ='/OPTIONAL', Detected_by='', Detection_location='', Detection_zone='', Built_in_test_data='', Rectify_by='', Related_activity='', Related_mission='', Related_change='', Repair_hasten='', When_detected='')/

Path

-- defect
/fault(
    Related_product=@Related_product,
    New_fault=@New_defect,
    ID=@ID,
    ID_source_organization=@ID_source_organization,
    Name=@Name,
    Name_source_organization=@Name_source_organization,
    Detection_method=@Detection_method,
    Isolation_method=@Isolation_method,
    Suspected_cause=@Suspected_cause,
    Title=@Title,
    Detection_method_category=@Detection_method_category,
    Isolation_method_category=@Isolation_method_category,
    Operable_until_repaired=@Operable_until_repaired,
    Severity=@Severity,
    Priority=@Priority,
    Repair_in_situ=@Repair_in_situ,
    Detected_by=@Detected_by,
    Detection_location=@Detection_location,
    Detection_zone=@Detection_zone,
    Built_in_test_data=@Built_in_test_data,
    Rectify_by=@Rectify_by,
    Related_activity=@Related_activity,
    Related_mission=@Related_mission,
    Related_change=@Related_change,
    Repair_hasten=@Repair_hasten,
    When_detected=@When_detected)/
%^defect = $fault.fault%

XML representation of path

<refpath
   template="defect">
   <comment>
      defect
   </comment>
   <call_template
      name="fault"
      business_context="UK_Defence">
      <param_in
         name="Related_product"
         value="@Related_product">
         
      </param_in>
      <param_in
         name="New_fault"
         value="@New_defect">
         
      </param_in>
      <param_in
         name="ID"
         value="@ID">
         
      </param_in>
      <param_in
         name="ID_source_organization"
         value="@ID_source_organization">
         
      </param_in>
      <param_in
         name="Name"
         value="@Name">
         
      </param_in>
      <param_in
         name="Name_source_organization"
         value="@Name_source_organization">
         
      </param_in>
      <param_in
         name="Detection_method"
         value="@Detection_method">
         
      </param_in>
      <param_in
         name="Isolation_method"
         value="@Isolation_method">
         
      </param_in>
      <param_in
         name="Suspected_cause"
         value="@Suspected_cause">
         
      </param_in>
      <param_in
         name="Title"
         value="@Title">
         
      </param_in>
      <param_in
         name="Detection_method_category"
         value="@Detection_method_category">
         
      </param_in>
      <param_in
         name="Isolation_method_category"
         value="@Isolation_method_category">
         
      </param_in>
      <param_in
         name="Operable_until_repaired"
         value="@Operable_until_repaired">
         
      </param_in>
      <param_in
         name="Severity"
         value="@Severity">
         
      </param_in>
      <param_in
         name="Priority"
         value="@Priority">
         
      </param_in>
      <param_in
         name="Repair_in_situ"
         value="@Repair_in_situ">
         
      </param_in>
      <param_in
         name="Detected_by"
         value="@Detected_by">
         
      </param_in>
      <param_in
         name="Detection_location"
         value="@Detection_location">
         
      </param_in>
      <param_in
         name="Detection_zone"
         value="@Detection_zone">
         
      </param_in>
      <param_in
         name="Built_in_test_data"
         value="@Built_in_test_data">
         
      </param_in>
      <param_in
         name="Rectify_by"
         value="@Rectify_by">
         
      </param_in>
      <param_in
         name="Related_activity"
         value="@Related_activity">
         
      </param_in>
      <param_in
         name="Related_mission"
         value="@Related_mission">
         
      </param_in>
      <param_in
         name="Related_change"
         value="@Related_change">
         
      </param_in>
      <param_in
         name="Repair_hasten"
         value="@Repair_hasten">
         
      </param_in>
      <param_in
         name="When_detected"
         value="@When_detected">
         
      </param_in>
   </call_template>
   <bind
      parameter="defect">
      <template_instance
         template="fault"
         parameter="fault">
         
      </template_instance>
   </bind>
</refpath>

© UK MOD 2010 — All rights reserved