Template:— representing_scheme (rep_scheme)
Capability:representing_scheme
Date: 2008/04/21 06:28:34
Revision: 1.1
Template: representing_scheme

XML references to the Template

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

representing_scheme

Set up a hyperlink to the template definition.
<template_ref name="representing_scheme" capability="representing_scheme"/>

Set up a table of the template parameters.
<template_table figure_id="?" instance="" name="representing_scheme" capability="representing_scheme">
  <param name="scheme_id">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="scheme_id_class_name">
    <param_value>Scheme_identification_code</param_value>
    <description></description>
  </param>
  <param name="scheme_id_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
  <param name="scheme_org_id">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="scheme_org_id_class_name">
    <param_value>Organization_name</param_value>
    <description></description>
  </param>
  <param name="scheme_org_id_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
  <param name="scheme_vn_id">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="scheme_vn_id_class_name">
    <param_value>Version_identification_code</param_value>
    <description></description>
  </param>
  <param name="scheme_vn_id_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
  <param name="scheme_vn_org_id">
    <param_value></param_value>
    <description></description>
  </param>
  <param name="scheme_vn_org_id_class_name">
    <param_value>Organization_name</param_value>
    <description></description>
  </param>
  <param name="scheme_vn_org_id_ecl_id">
    <param_value>urn:plcs:rdl:std</param_value>
    <description></description>
  </param>
</template_table>

Setup a template_example:
<template_example name="representing_scheme">
  <param_in name="scheme_id" value=""/>
  <param_in name="scheme_id_class_name" value="Scheme_identification_code"/>
  <param_in name="scheme_id_ecl_id" value="urn:plcs:rdl:std"/>
  <param_in name="scheme_org_id" value=""/>
  <param_in name="scheme_org_id_class_name" value="Organization_name"/>
  <param_in name="scheme_org_id_ecl_id" value="urn:plcs:rdl:std"/>
  <param_in name="scheme_vn_id" value=""/>
  <param_in name="scheme_vn_id_class_name" value="Version_identification_code"/>
  <param_in name="scheme_vn_id_ecl_id" value="urn:plcs:rdl:std"/>
  <param_in name="scheme_vn_org_id" value=""/>
  <param_in name="scheme_vn_org_id_class_name" value="Organization_name"/>
  <param_in name="scheme_vn_org_id_ecl_id" value="urn:plcs:rdl:std"/>
</template_example>

representing_scheme
/representing_scheme(scheme_id='', scheme_id_class_name='Scheme_identification_code', scheme_id_ecl_id='urn:plcs:rdl:std', scheme_org_id='', scheme_org_id_class_name='Organization_name', scheme_org_id_ecl_id='urn:plcs:rdl:std', scheme_vn_id='', scheme_vn_id_class_name='Version_identification_code', scheme_vn_id_ecl_id='urn:plcs:rdl:std', scheme_vn_org_id='', scheme_vn_org_id_class_name='Organization_name', scheme_vn_org_id_ecl_id='urn:plcs:rdl:std')/

Path

Scheme
%^scheme = Scheme%
Scheme.name = '/IGNORE'
Scheme.description = '/IGNORE'
Scheme.consequence = '/IGNORE'
Scheme.purpose = '/IGNORE'

-- Identify the Scheme
/assigning_identification(
    items=^scheme,
    id=@scheme_id,
    id_class_name=@scheme_id_class_name,
    id_ecl_id=@scheme_id_ecl_id,
    org_id=@scheme_org_id,
    org_id_class_name=@scheme_org_id_class_name,
    org_id_ecl_id=@scheme_org_id_ecl_id )/

-- Scheme version
Scheme_version
%^scheme_vn = Scheme_version%
Scheme_version.name = '/IGNORE'
Scheme_version.description = '/IGNORE'
Scheme_version.consequence = '/IGNORE'
Scheme_version.purpose = '/IGNORE'

-- Identify the Scheme_version
/assigning_identification(
    items=^scheme_vn,
    id=@scheme_vn_id,
    id_class_name=@scheme_vn_id_class_name,
    id_ecl_id=@scheme_vn_id_ecl_id,
    org_id=@scheme_vn_org_id,
    org_id_class_name=@scheme_vn_org_id_class_name,
    org_id_ecl_id=@scheme_vn_org_id_ecl_id )/
The following entities are instantiated with attributes as specified:
Entity in path Value Inherited from
Scheme.name '/IGNORE' Activity_method.name
Scheme.description '/IGNORE' Activity_method.description
Scheme.consequence '/IGNORE' Activity_method.consequence
Scheme.purpose '/IGNORE' Activity_method.purpose
Scheme_version.name '/IGNORE' Activity_method.name
Scheme_version.description '/IGNORE' Activity_method.description
Scheme_version.consequence '/IGNORE' Activity_method.consequence
Scheme_version.purpose '/IGNORE' Activity_method.purpose

XML representation of path

<refpath
   template="representing_scheme">
   <instantiate
      entity="Scheme"
      context="">
      
   </instantiate>
   <bind
      parameter="scheme">
      <express_entity
         entity="Scheme"
         context="">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Scheme"
            attribute="name"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value="'/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Scheme"
            attribute="description"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value="'/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Scheme"
            attribute="consequence"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value="'/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Scheme"
            attribute="purpose"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value="'/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <comment>
      Identify the Scheme
   </comment>
   <call_template
      name="assigning_identification"
      business_context="">
      <param_in
         name="items"
         value="^scheme">
         
      </param_in>
      <param_in
         name="id"
         value="@scheme_id">
         
      </param_in>
      <param_in
         name="id_class_name"
         value="@scheme_id_class_name">
         
      </param_in>
      <param_in
         name="id_ecl_id"
         value="@scheme_id_ecl_id">
         
      </param_in>
      <param_in
         name="org_id"
         value="@scheme_org_id">
         
      </param_in>
      <param_in
         name="org_id_class_name"
         value="@scheme_org_id_class_name">
         
      </param_in>
      <param_in
         name="org_id_ecl_id"
         value="@scheme_org_id_ecl_id ">
         
      </param_in>
   </call_template>
   <comment>
      Scheme version
   </comment>
   <instantiate
      entity="Scheme_version"
      context="">
      
   </instantiate>
   <bind
      parameter="scheme_vn">
      <express_entity
         entity="Scheme_version"
         context="">
         
      </express_entity>
   </bind>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Scheme_version"
            attribute="name"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value="'/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Scheme_version"
            attribute="description"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value="'/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Scheme_version"
            attribute="consequence"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value="'/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <assign
      assignment_type="equals"
      context="">
      <target>
         <express_attribute
            entity="Scheme_version"
            attribute="purpose"
            context="">
            
         </express_attribute>
      </target>
      <source>
         <string
            value="'/IGNORE' ">
            
         </string>
      </source>
   </assign>
   <comment>
      Identify the Scheme_version
   </comment>
   <call_template
      name="assigning_identification"
      business_context="">
      <param_in
         name="items"
         value="^scheme_vn">
         
      </param_in>
      <param_in
         name="id"
         value="@scheme_vn_id">
         
      </param_in>
      <param_in
         name="id_class_name"
         value="@scheme_vn_id_class_name">
         
      </param_in>
      <param_in
         name="id_ecl_id"
         value="@scheme_vn_id_ecl_id">
         
      </param_in>
      <param_in
         name="org_id"
         value="@scheme_vn_org_id">
         
      </param_in>
      <param_in
         name="org_id_class_name"
         value="@scheme_vn_org_id_class_name">
         
      </param_in>
      <param_in
         name="org_id_ecl_id"
         value="@scheme_vn_org_id_ecl_id ">
         
      </param_in>
   </call_template>
</refpath>

© OASIS 2010 — All rights reserved