Template:— anomaly (anom)
Context:— UK_Defence
Date: 2010/03/18 09:45:45
Revision: 1.3
Template: anomaly

XML references to the Template

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

anomaly

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="anomaly" context="UK_Defence" >
  <param name="Related_product">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="New_anomaly">
    <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>State_observed</param_value>
    <description></description>
  </param>
  <param name="Isolation_method_category">
    <param_value>State_observed</param_value>
    <description></description>
  </param>
  <param name="Operable_until_repaired">
    <param_value>State_observed</param_value>
    <description></description>
  </param>
  <param name="Severity">
    <param_value>State_observed</param_value>
    <description></description>
  </param>
  <param name="Priority">
    <param_value>State_observed</param_value>
    <description></description>
  </param>
  <param name="Repair_in_situ">
    <param_value>State_observed</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="anomaly">
  <param_in name="Related_product" value=""/>
  <param_in name="New_anomaly" 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="State_observed"/>
  <param_in name="Isolation_method_category" value="State_observed"/>
  <param_in name="Operable_until_repaired" value="State_observed"/>
  <param_in name="Severity" value="State_observed"/>
  <param_in name="Priority" value="State_observed"/>
  <param_in name="Repair_in_situ" value="State_observed"/>
  <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>

anomaly
/anomaly(Related_product='', New_anomaly='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='State_observed', Isolation_method_category='State_observed', Operable_until_repaired='State_observed', Severity='State_observed', Priority='State_observed', Repair_in_situ='State_observed', Detected_by='', Detection_location='', Detection_zone='', Built_in_test_data='', Rectify_by='', Related_activity='', Related_mission='', Related_change='', Repair_hasten='', When_detected='')/

Path

/assigning_assessed_state(
    state_class_name="anomaly",
    state_ecl_id='urn:plcs:rdl:uk_defence',
    assigned_to=@Related_product)/
%^anomaly = $assigning_assessed_state.state_obs%

-- New anomaly (mandatory)
/assigning_reference_data(
    items=^anomaly,
    class_name=@New_anomaly,
    ecl_id='urn:plcs:rdl:uk_defence')/

-- ID (mandatory)
/identifier(
    ID=@ID,
    source_organization=@ID_source_organization,
    type='Anomaly_identifier',
    items=^anomaly)/

-- Name (mandatory)
/identifier(
    ID=@Name,
    source_organization=@Name_source_organization,
    type='Name',
    items=^anomaly)/

-- [optional Detection_method]
/assigning_descriptor(
    descr=@Detection_method,
    class_name='Detection_method',
    ecl_id='urn:plcs:rdl:uk_defence',
    is_assigned_to=^anomaly)/

-- [optional Isolation_method]
/assigning_descriptor(
    descr=@Isolation_method,
    class_name='Isolation_method',
    ecl_id='urn:plcs:rdl:uk_defence',
    is_assigned_to=^anomaly)/

-- [optional Suspected_cause]
/assigning_descriptor(
    descr=@Suspected_cause,
    class_name='Suspected_cause',
    ecl_id='urn:plcs:rdl:uk_defence',
    is_assigned_to=^anomaly)/

-- [optional Title]
/assigning_descriptor(
    descr=@Title,
    class_name='Title',
    ecl_id='urn:plcs:rdl:uk_defence',
    is_assigned_to=^anomaly)/

-- [optional Detection_method_category]
/assigning_reference_data(
    items=^anomaly,
    class_name=@Detection_method_category,
    ecl_id='urn:plcs:rdl:uk_defence')/

-- [optional Isolation_method_category]
/assigning_reference_data(
    items=^anomaly,
    class_name=@Isolation_method_category,
    ecl_id='urn:plcs:rdl:uk_defence')/

-- [optional Operable_until_repaired]
/assigning_reference_data(
    items=^anomaly,
    class_name=@Operable_until_repaired,
    ecl_id='urn:plcs:rdl:uk_defence')/

-- [optional Severity]
/assigning_reference_data(
    items=^anomaly,
    class_name=@Severity,
    ecl_id='urn:plcs:rdl:uk_defence')/

-- [optional Priority]
/assigning_reference_data(
    items=^anomaly,
    class_name=@Priority,
    ecl_id='urn:plcs:rdl:uk_defence')/

-- [optional Repair_in_situ]
/assigning_reference_data(
    items=^anomaly,
    class_name=@Repair_in_situ,
    ecl_id='urn:plcs:rdl:uk_defence')/

-- Detected by (mandatory)
Organization_or_person_in_organization_assignment

-- Set the Organization_or_person_in_organization_assignment attribute role to be ignored
Organization_or_person_in_organization_assignment.role = '/IGNORE'

-- Assign the Organization_or_person_in_organization_assignment to the anomaly
Organization_or_person_in_organization_assignment.items -> ^anomaly

-- Create the Detected_by parameter
Organization_or_person_in_organization_assignment.assigned_entity -> @Detected_by

-- [optional Detection location]
State_role
State_role.name = '/IGNORE'
State_role.description = '/IGNORE'
%^state_role_loc = State_role%
Applied_state_assignment
Applied_state_assignment.role -> ^state_role_loc
Applied_state_assignment.described_state -> ^anomaly
Applied_state_assignment.assigned_to -> @Detection_location

-- [optional Detection zone]
State_role
State_role.name = '/IGNORE'
State_role.description = '/IGNORE'
%^state_role_zone = State_role%
Applied_state_assignment
Applied_state_assignment.role -> ^state_role_zone
Applied_state_assignment.described_state -> ^anomaly
Applied_state_assignment.assigned_to -> @Detection_zone

-- [optional Built in test data]
/assigning_document(
    doc_ass_role='Document_assignment',
    doc_ar_ecl_id='urn:plcs:rdl:std',
    assigned_document=@Built_in_test_data,
    is_assigned_to=^anomaly)/

-- [optional Rectify by]
/assigning_activity(
    role_class_name='Anomaly_rectification_activity_assignment',
    role_ecl_id='urn:plcs:rdl:uk_defence',
    assigned_activity=@Rectify_by,
    items=^anomaly)/

-- [optional Related activity]
/assigning_activity(
    role_class_name='Anomaly_activity_assignment',
    role_ecl_id='urn:plcs:rdl:uk_defence',
    assigned_activity=@Related_activity,
    items=^anomaly)/

-- [optional Related mission]
/assigning_activity(
    role_class_name='Anomaly_mission_assignment',
    role_ecl_id='urn:plcs:rdl:uk_defence',
    assigned_activity=@Related_mission,
    items=^anomaly)/

-- [optional Related change]
/assigning_activity(
    role_class_name='Anomaly_change_assignment',
    role_ecl_id='urn:plcs:rdl:uk_defence',
    assigned_activity=@Related_change,
    items=^anomaly)/

-- [optional Repair hasten]
Date_or_date_time_assignment
Date_or_date_time_assignment.items -> ^anomaly
Date_or_date_time_assignment.assigned_date -> @Repair_hasten
%^hasten_date_time = Date_or_date_time_assignment%
/assigning_reference_data(
    items=^hasten_date_time,
    class_name='Date_actual_part_anomaly_rectification_hastened',
    ecl_id='urn:plcs:rdl:uk_defence')/

-- [optional When detected]
Date_or_date_time_assignment
Date_or_date_time_assignment.items -> ^anomaly
Date_or_date_time_assignment.assigned_date -> @When_detected
%^detect_date_time = Date_or_date_time_assignment%
/assigning_reference_data(
    items=^detect_date_time,
    class_name='Date_anomaly_detected',
    ecl_id='urn:plcs:rdl:uk_defence')/
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Organization_or_person_in_organization_assignment.role '/IGNORE'
State_role.name '/IGNORE'
State_role.description '/IGNORE'
State_role.name '/IGNORE'
State_role.description '/IGNORE'

XML representation of path

<refpath
   template="anomaly">
   <call_template
      name="assigning_assessed_state"
      business_context="UK_Defence">
      <param_in
         name="state_class_name"
         value=""anomaly"">
         
      </param_in>
      <param_in
         name="state_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="assigned_to"
         value="@Related_product">
         
      </param_in>
   </call_template>
   <bind
      parameter="anomaly">
      <template_instance
         template="assigning_assessed_state"
         parameter="state_obs">
         
      </template_instance>
   </bind>
   <comment>
      New anomaly (mandatory)
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="UK_Defence">
      <param_in
         name="items"
         value="^anomaly">
         
      </param_in>
      <param_in
         name="class_name"
         value="@New_anomaly">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
   </call_template>
   <comment>
      ID (mandatory)
   </comment>
   <call_template
      name="identifier"
      business_context="UK_Defence">
      <param_in
         name="ID"
         value="@ID">
         
      </param_in>
      <param_in
         name="source_organization"
         value="@ID_source_organization">
         
      </param_in>
      <param_in
         name="type"
         value="'Anomaly_identifier'">
         
      </param_in>
      <param_in
         name="items"
         value="^anomaly">
         
      </param_in>
   </call_template>
   <comment>
      Name (mandatory)
   </comment>
   <call_template
      name="identifier"
      business_context="UK_Defence">
      <param_in
         name="ID"
         value="@Name">
         
      </param_in>
      <param_in
         name="source_organization"
         value="@Name_source_organization">
         
      </param_in>
      <param_in
         name="type"
         value="'Name'">
         
      </param_in>
      <param_in
         name="items"
         value="^anomaly">
         
      </param_in>
   </call_template>
   <comment>
      [optional Detection_method]
   </comment>
   <call_template
      name="assigning_descriptor"
      business_context="UK_Defence">
      <param_in
         name="descr"
         value="@Detection_method">
         
      </param_in>
      <param_in
         name="class_name"
         value="'Detection_method'">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="is_assigned_to"
         value="^anomaly">
         
      </param_in>
   </call_template>
   <comment>
      [optional Isolation_method]
   </comment>
   <call_template
      name="assigning_descriptor"
      business_context="UK_Defence">
      <param_in
         name="descr"
         value="@Isolation_method">
         
      </param_in>
      <param_in
         name="class_name"
         value="'Isolation_method'">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="is_assigned_to"
         value="^anomaly">
         
      </param_in>
   </call_template>
   <comment>
      [optional Suspected_cause]
   </comment>
   <call_template
      name="assigning_descriptor"
      business_context="UK_Defence">
      <param_in
         name="descr"
         value="@Suspected_cause">
         
      </param_in>
      <param_in
         name="class_name"
         value="'Suspected_cause'">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="is_assigned_to"
         value="^anomaly">
         
      </param_in>
   </call_template>
   <comment>
      [optional Title]
   </comment>
   <call_template
      name="assigning_descriptor"
      business_context="UK_Defence">
      <param_in
         name="descr"
         value="@Title">
         
      </param_in>
      <param_in
         name="class_name"
         value="'Title'">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="is_assigned_to"
         value="^anomaly">
         
      </param_in>
   </call_template>
   <comment>
      [optional Detection_method_category]
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="UK_Defence">
      <param_in
         name="items"
         value="^anomaly">
         
      </param_in>
      <param_in
         name="class_name"
         value="@Detection_method_category">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
   </call_template>
   <comment>
      [optional Isolation_method_category]
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="UK_Defence">
      <param_in
         name="items"
         value="^anomaly">
         
      </param_in>
      <param_in
         name="class_name"
         value="@Isolation_method_category">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
   </call_template>
   <comment>
      [optional Operable_until_repaired]
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="UK_Defence">
      <param_in
         name="items"
         value="^anomaly">
         
      </param_in>
      <param_in
         name="class_name"
         value="@Operable_until_repaired">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
   </call_template>
   <comment>
      [optional Severity]
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="UK_Defence">
      <param_in
         name="items"
         value="^anomaly">
         
      </param_in>
      <param_in
         name="class_name"
         value="@Severity">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
   </call_template>
   <comment>
      [optional Priority]
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="UK_Defence">
      <param_in
         name="items"
         value="^anomaly">
         
      </param_in>
      <param_in
         name="class_name"
         value="@Priority">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
   </call_template>
   <comment>
      [optional Repair_in_situ]
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="UK_Defence">
      <param_in
         name="items"
         value="^anomaly">
         
      </param_in>
      <param_in
         name="class_name"
         value="@Repair_in_situ">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
   </call_template>
   <comment>
      Detected by (mandatory)
   </comment>
   <instantiate
      entity="Organization_or_person_in_organization_assignment"
      context="UK_Defence">
      
   </instantiate>
   <comment>
      Set the Organization_or_person_in_organization_assignment attribute role to be ignored
   </comment>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="Organization_or_person_in_organization_assignment"
            attribute="role"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <comment>
      Assign the Organization_or_person_in_organization_assignment to the anomaly
   </comment>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Organization_or_person_in_organization_assignment"
            attribute="items"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="anomaly">
            
         </bound_parameter>
      </source>
   </assign>
   <comment>
      Create the Detected_by parameter
   </comment>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Organization_or_person_in_organization_assignment"
            attribute="assigned_entity"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="Detected_by">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      [optional Detection location]
   </comment>
   <instantiate
      entity="State_role"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="State_role"
            attribute="name"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="State_role"
            attribute="description"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <bind
      parameter="state_role_loc">
      <express_entity
         entity="State_role"
         context="UK_Defence">
         
      </express_entity>
   </bind>
   <instantiate
      entity="Applied_state_assignment"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Applied_state_assignment"
            attribute="role"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="state_role_loc">
            
         </bound_parameter>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Applied_state_assignment"
            attribute="described_state"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="anomaly">
            
         </bound_parameter>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Applied_state_assignment"
            attribute="assigned_to"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="Detection_location">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      [optional Detection zone]
   </comment>
   <instantiate
      entity="State_role"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="State_role"
            attribute="name"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="UK_Defence">
      <target>
         <express_attribute
            entity="State_role"
            attribute="description"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <bind
      parameter="state_role_zone">
      <express_entity
         entity="State_role"
         context="UK_Defence">
         
      </express_entity>
   </bind>
   <instantiate
      entity="Applied_state_assignment"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Applied_state_assignment"
            attribute="role"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="state_role_zone">
            
         </bound_parameter>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Applied_state_assignment"
            attribute="described_state"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="anomaly">
            
         </bound_parameter>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Applied_state_assignment"
            attribute="assigned_to"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="Detection_zone">
            
         </param_in_ref>
      </source>
   </assign>
   <comment>
      [optional Built in test data]
   </comment>
   <call_template
      name="assigning_document"
      business_context="UK_Defence">
      <param_in
         name="doc_ass_role"
         value="'Document_assignment'">
         
      </param_in>
      <param_in
         name="doc_ar_ecl_id"
         value="'urn:plcs:rdl:std'">
         
      </param_in>
      <param_in
         name="assigned_document"
         value="@Built_in_test_data">
         
      </param_in>
      <param_in
         name="is_assigned_to"
         value="^anomaly">
         
      </param_in>
   </call_template>
   <comment>
      [optional Rectify by]
   </comment>
   <call_template
      name="assigning_activity"
      business_context="UK_Defence">
      <param_in
         name="role_class_name"
         value="'Anomaly_rectification_activity_assignment'">
         
      </param_in>
      <param_in
         name="role_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="assigned_activity"
         value="@Rectify_by">
         
      </param_in>
      <param_in
         name="items"
         value="^anomaly">
         
      </param_in>
   </call_template>
   <comment>
      [optional Related activity]
   </comment>
   <call_template
      name="assigning_activity"
      business_context="UK_Defence">
      <param_in
         name="role_class_name"
         value="'Anomaly_activity_assignment'">
         
      </param_in>
      <param_in
         name="role_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="assigned_activity"
         value="@Related_activity">
         
      </param_in>
      <param_in
         name="items"
         value="^anomaly">
         
      </param_in>
   </call_template>
   <comment>
      [optional Related mission]
   </comment>
   <call_template
      name="assigning_activity"
      business_context="UK_Defence">
      <param_in
         name="role_class_name"
         value="'Anomaly_mission_assignment'">
         
      </param_in>
      <param_in
         name="role_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="assigned_activity"
         value="@Related_mission">
         
      </param_in>
      <param_in
         name="items"
         value="^anomaly">
         
      </param_in>
   </call_template>
   <comment>
      [optional Related change]
   </comment>
   <call_template
      name="assigning_activity"
      business_context="UK_Defence">
      <param_in
         name="role_class_name"
         value="'Anomaly_change_assignment'">
         
      </param_in>
      <param_in
         name="role_ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
      <param_in
         name="assigned_activity"
         value="@Related_change">
         
      </param_in>
      <param_in
         name="items"
         value="^anomaly">
         
      </param_in>
   </call_template>
   <comment>
      [optional Repair hasten]
   </comment>
   <instantiate
      entity="Date_or_date_time_assignment"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Date_or_date_time_assignment"
            attribute="items"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="anomaly">
            
         </bound_parameter>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Date_or_date_time_assignment"
            attribute="assigned_date"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="Repair_hasten">
            
         </param_in_ref>
      </source>
   </assign>
   <bind
      parameter="hasten_date_time">
      <express_entity
         entity="Date_or_date_time_assignment"
         context="UK_Defence">
         
      </express_entity>
   </bind>
   <call_template
      name="assigning_reference_data"
      business_context="UK_Defence">
      <param_in
         name="items"
         value="^hasten_date_time">
         
      </param_in>
      <param_in
         name="class_name"
         value="'Date_actual_part_anomaly_rectification_hastened'">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
   </call_template>
   <comment>
      [optional When detected]
   </comment>
   <instantiate
      entity="Date_or_date_time_assignment"
      context="UK_Defence">
      
   </instantiate>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Date_or_date_time_assignment"
            attribute="items"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <bound_parameter
            name="anomaly">
            
         </bound_parameter>
      </source>
   </assign>
   <assign
      assignment_type="points-to">
      <target>
         <express_attribute
            entity="Date_or_date_time_assignment"
            attribute="assigned_date"
            context="UK_Defence">
            
         </express_attribute>
      </target>
      <source>
         <param_in_ref
            name="When_detected">
            
         </param_in_ref>
      </source>
   </assign>
   <bind
      parameter="detect_date_time">
      <express_entity
         entity="Date_or_date_time_assignment"
         context="UK_Defence">
         
      </express_entity>
   </bind>
   <call_template
      name="assigning_reference_data"
      business_context="UK_Defence">
      <param_in
         name="items"
         value="^detect_date_time">
         
      </param_in>
      <param_in
         name="class_name"
         value="'Date_anomaly_detected'">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="'urn:plcs:rdl:uk_defence'">
         
      </param_in>
   </call_template>
</refpath>

© UK MOD 2010 — All rights reserved