The HL7 Message Modifier filter indicates errors through messages that appear in the affected panels. Most are self-explanatory. General errors are displayed in the sample message result panels.
JavaScript Function Errors
Error Message |
Description |
Resolution |
---|---|---|
Error occurred compiling JavaScript rule 'JavaScript Function Code': <JAVASCRIPT_CODE>. |
A JavaScript action or condition compilation error. |
Review your JavaScript code to ensure there are no syntactical or conceptual errors. |
The parameter name <NAME> contains a reserved word. |
You are using a reserved keyword for the name of a parameter in the JavaScript function. |
Do not use reserved keywords for the parameter name. Refer to Reserved Words for details. |
The parameter name <NAME> is not a valid JavaScript variable name. |
You are using an invalid parameter. |
Do not use prohibited characters in the parameter name. Refer to Prohibited Characters for details. |
The parameter name <NAME> redefines a global JavaScript variable. |
You cannot use the global variable names as the parameter name. |
Do not use global variables as the parameter name. Refer to Global Variables for details. |
General Errors
Error Message |
Description |
Resolution |
---|---|---|
Two or more rules attempted to write the same field or part of a field: <FIELD_NAME (GROUP_NAME)>, <FIELD_NAME (GROUP_NAME)>. |
Detection of attempts to apply actions on the same Field with two or more actions. |
Use a JavaScript function to apply two or more standard rule statements to the same field. Refer to the first rule statement in PID.BusinessPhoneNumber in the example in Mapping Exercise. |