<!doctype html>
<html>
 <head> 
  <title>Concatenation</title> 
  <link rel="stylesheet" href="styles/site.css" type="text/css"> 
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
  <link rel="stylesheet" href="styles/icons.css" type="text/css">
  <script src="js/jquery.min.js"></script>
  <script src="tree/collapsibleTreeMenu.js"></script>
  <link href="tree/collapsibleTreeMenu.css" rel="stylesheet" type="text/css">
 </head> 
 <body class="theme-default aui-theme-default"> 
  <div id="page"> 
   <div id="main" class="aui-page-panel"> 
    <div id="main-header"> 
     <div id="breadcrumb-section"> 
      <ol id="breadcrumbs">  
       <li> <span><a href="Rhapsody-Integration-Engine-6.5_133160975.html">Rhapsody Integration Engine 6.5</a></span> </li> 
       <li> <span><a href="Developing-Rhapsody_133161055.html">Developing Rhapsody</a></span> </li> 
       <li> <span><a href="Rhapsody-Objects_133161790.html">Rhapsody Objects</a></span> </li> 
       <li> <span><a href="Rhapsody-Components_133161994.html">Rhapsody Components</a></span> </li> 
       <li> <span><a href="Filters_133162681.html">Filters</a></span> </li> 
       <li> <span><a href="Filter-Types_133162712.html">Filter Types</a></span> </li> 
       <li> <span><a href="HL7-Filters_133163076.html">HL7 Filters</a></span> </li> 
       <li> <span><a href="HL7-Message-Modifier_133163077.html">HL7 Message Modifier</a></span> </li> 
       <li> <span><a href="Configure_133163111.html">Configure</a></span> </li> 
       <li> <span><a href="Adding-a-Rule_133163114.html">Adding a Rule</a></span> </li> 
      </ol> 
     </div> 
     <h1 id="title-heading" class="pagetitle"> <span id="title-text">Concatenation</span> </h1> 
    </div> 
    <div id="content" class="view">  
     <div id="main-content" class="wiki-content group"> 
      <p> <map id="gliffy-map-133163183-3770" name="gliffy-map-133163183-3770"></map> </p>
      <table width="100%" class="gliffy-macro-table"> 
       <tbody>
        <tr> 
         <td> 
          <table class="gliffy-macro-inner-table"> 
           <caption align="bottom"> 
           </caption> 
           <tbody>
            <tr> 
             <td> <img style="border: none; width: 602px;" usemap="#gliffy-map-133163183-3770" src="attachments/133163181/133163182.png" alt="" class="gliffy-macro-image"> </td> 
            </tr> 
           </tbody>
          </table> </td> 
        </tr> 
       </tbody>
      </table> 
      <p></p>
      <p>You can concatenate values in a message. For example, you can set a field to a series of field values concatenated using a separator.</p>
      <p>To concatenate a series of auxiliary operands and set them to a target operand:</p>
      <ol>
       <li>Select the target operand.</li>
       <li>Select the <strong>By Concatenating</strong> action operator to display the Concatenation form:<br> <span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="attachments/133163181/133163187.png" data-image-src="attachments/133163181/133163187.png" data-unresolved-comment-count="0" data-linked-resource-id="133163187" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="ConcatenationForm.png" data-base-url="https://docs.rhapsody.health" data-linked-resource-content-type="image/png" data-linked-resource-container-id="133163181" data-linked-resource-container-version="1"></span></li>
       <li>Enter the auxiliary operands.</li>
       <li>Enter the concatenation separator into the <strong>Separator Between Values</strong> field (or leave blank if you want no separator between the auxiliary operands).</li>
       <li>Click the <strong>OK</strong> link to save your changes, or the <strong>Cancel</strong> link to discard them.</li>
      </ol>
      <p>The following screenshot shows an example of setting the MSH.4 Sending Facility to <code>FACILITY_A</code> concatenated with the value in MSH.3 Sending Application using the separator '<code>-</code>':</p>
      <p><span class="confluence-embedded-file-wrapper"><img class="confluence-embedded-image" src="attachments/133163181/133163186.png" data-image-src="attachments/133163181/133163186.png" data-unresolved-comment-count="0" data-linked-resource-id="133163186" data-linked-resource-version="1" data-linked-resource-type="attachment" data-linked-resource-default-alias="Concatenation.png" data-base-url="https://docs.rhapsody.health" data-linked-resource-content-type="image/png" data-linked-resource-container-id="133163181" data-linked-resource-container-version="1"></span></p>
      <p> </p> 
     </div>  
    </div> 
   </div>  
  </div>   
 </body>
</html>