Template:— assigning_organization_relationship (asg_org_rel)
Context:— NDLO
Date: 2008/02/21 16:26:54
Revision: 1.3
Template: assigning_organization_relationship

XML references to the Template

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

assigning_organization_relationship

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

Set up a table of the template parameters.
<template_table figure_id="?" instance="?" name="assigning_organization_relationship" context="NDLO" >
  <param name="related_organization">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="relating_organization">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="org_rel_class_name">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="org_rel_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="assigning_organization_relationship">
  <param_in name="related_organization" value=""/>
  <param_in name="relating_organization" value=""/>
  <param_in name="org_rel_class_name" value=""/>
  <param_in name="org_rel_ecl_id" value="urn:plcs:rdl:std"/>
</template_example>

assigning_organization_relationship
/assigning_organization_relationship(related_organization='', relating_organization='', org_rel_class_name='', org_rel_ecl_id='urn:plcs:rdl:std')/

Path

Organization_relationship

-- Mark the Organization_relationship entity as
-- referable when this template is used.
%^org_rel = Organization_relationship%
Organization_relationship.relation_type = '/IGNORE'
Organization_relationship.description = '/IGNORE'

-- provide the role of the identification by classifying the Identification_assignment
/assigning_reference_data(
    items=^org_rel,
    class_name=@org_rel_class_name,
    ecl_id=@org_rel_ecl_id)/
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Organization_relationship.relation_type '/IGNORE'
Organization_relationship.description '/IGNORE'

XML representation of path

<refpath
   template="assigning_organization_relationship">
   <instantiate
      entity="Organization_relationship"
      context="NDLO">
      
   </instantiate>
   <comment>
      Mark the Organization_relationship entity as
   </comment>
   <comment>
      referable when this template is used.
   </comment>
   <bind
      parameter="org_rel">
      <express_entity
         entity="Organization_relationship"
         context="NDLO">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="NDLO">
      <target>
         <express_attribute
            entity="Organization_relationship"
            attribute="relation_type"
            context="NDLO">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="NDLO">
      <target>
         <express_attribute
            entity="Organization_relationship"
            attribute="description"
            context="NDLO">
            
         </express_attribute>
      </target>
      <source>
         <string
            value=" '/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <comment>
      provide the role of the identification by classifying the Identification_assignment
   </comment>
   <call_template
      name="assigning_reference_data"
      business_context="NDLO">
      <param_in
         name="items"
         value="^org_rel">
         
      </param_in>
      <param_in
         name="class_name"
         value="@org_rel_class_name">
         
      </param_in>
      <param_in
         name="ecl_id"
         value="@org_rel_ecl_id">
         
      </param_in>
   </call_template>
</refpath>

© OASIS 2010 — All rights reserved