title: mirth javascript Translation returns in error
body: <p>I am using the <strong>mirth application</strong> to translate the HL7 Message to push into my database. </p>
  
  <blockquote>
    <p>I am using the javascript to translate</p>
  </blockquote>
  
  <pre><code>method see the code below.
      if (msg['PID']['PID.13']['PID.13.4'].toString() == null){
      return "no email";
  }
  else{
      return "email there";
      }
  </code></pre>
  
  <p>but my output is 
      id: MH002079217v003
      emailid: <strong>${patientIdentification_phoneNumber_home1_emailAddress}</strong>
      phoneno: 7022027430
      firstname: 002</p>
  
  <p>see instead of email I am getting the variable name, the output is not returned.</p>