Update Problem List RAS Test

The 2012-08-24 FOIA introduced MSV-IV codes into the Problem List.  One of
the codes used also has a MSV-IV code at that number.

Change the catad function in PLActions.py to contain a multiwait with the
'Ok?' and 'Select 1-5' strings.  If the 'Select 1-5' string is found,
select the first option and have 4 returns in the write string.  Otherwise, the
original write statement should be used.

Change-Id: I9371427195b2908f2133d3ce82f43b417e6db8c0
Further updates to RAS_Pl_test

Remove the '?' from the multiwait in the catad function.  It is a regular
expression special character.  It causes the first string to match either
'O' or 'Ok', which always matched due to the capitalized 'STOP' in the
output.

Change the second potential match to "STOP or Select' to remove the number
range dependency.

Add another return to the end of the write command within the if statment.

Change-Id: Ib04671e9fd1bae51ae8d729fcb77ee11c1935a8c
Update PostImportsetupScript for new FOIA

With the release of the 26-08-2012 FOIA, the PostImportSetupScript failed
while running on GT.M. Cause was determined to be that the accompanying
Volume Set changed from FOI to PLA, the value we used.

Change the PostImportSetupScript to no longer use a long string to set the
volume set, but to have a multiwait.  The multiwait should determine if
the volume set is new ('Are you adding') or old ('VOLUME SET') and answer
accordingly.

JIRA Issue:  http://issues.osehra.org/browse/VAF-18

Change-Id: If43e3e9a024d86020ea5f0562fb9f4677f1ef83a
Update File Collection location

Change the steps in the ImportRG file where the routines and globals are
collected, and change the directory where these output files are kept.
Move them from the OSEHRA_Path to the VISTA_BINARY_DIRECTORY.

Update the scripts to point to these new locations.

OSEHRA-Issue: http://issues.osehra.org/browse/OAT-23
Change-Id: I50e376df8a934370f0e41c95695457318d380540
Merge "Update File Collection location"
Update Patches directory

Change the file in the patches from a .m file to a .ro file.  This removes
the need to copy the file into the source directory prior to collection of
routines.

Add an 'if' statment after the routine import step of the ImportRG.cmake
to import the ZTLOAD.ro file, as it needs to be done before the ZTMGRSET.

Add the configure_file step to the CLEAN_DATABASE block to configure
routineimport.py.in to import the ZTLOAD.ro file.  Set the RoutineImportFile
to the path to the ZTLOAD.ro file before configuring.

OSEHRA-Issue: http://issues.osehra.org/browse/OAT-23
Change-Id: If90903eeb3807acd4bc2d7583d3c767d194a5d40
Merge "Further updates to RAS_Pl_test"
Update error reporting to include line numbers

Change the ReportXINDEXResult function in the CommonFunctions.cmake file to
find the tag of the function that contains the error.

Use the name to find the starting position via a grep in the routine file,
then use the position to find the line that contains the error

This lookup should only occur if the grep executable has been set and the
error has a tag entry.

OSEHRA-Issue: http://issues.osehra.org/browse/OAT-25
Change-Id: I1b9e111a65c5959508ef52b16ae17ec9b9c4cb0d
Merge "Update error reporting to include line numbers"
Update CPRS Functional Testing suite

Update the screenshot for the "VISTA HEALTH CARE" selection when creating
a visit in CPRS.  With the new clinics, it is no longer the first option
in the list.

Retake the screenshot to remove all traces of the border in the upper-left
corner.

OSEHRA-Issue: http://issues.osehra.org/browse/OAT-26
Change-Id: Ia62e4149ba6235a5f29c0f4c6c9a6049f7887886
Change the OSEHRAHelper 'wait' functions

Some of the OSEHRAHelper 'wait' functions use commands that can take regular
expressions.  This leads to trouble when using characters that also have
special meaning in Regular expressions.

Change the wait function to call the respective commands that use pure
string matching instead of regular expression. ('expect_exact' for
PExpect and 'read_until' for Telnet)

Create a new function called 'wait_re', which will use the regular
expression commands to control the system. ('expect' on both systems)

Update the GetEnv and IEN common functions to use these new 'wait_re'
functions.

OSEHRA-Issue: http://issues.osehra.org/browse/OAT-24
Change-Id: Id54dceb4ea0e436ce035a702d97de2462ca27c11
Merge "Change the OSEHRAHelper 'wait' functions"
Introduce coverage using CTest

As of CMake 2.8.9, CTest has the capability to process MUMPS coverage.
Using one of two platform specfic functions( %SYS.MONLBL on Cache and
VIEW:TRACE on GT.m), CTest can parse the output to show coverage on the
Dashboard.

Add an option (USE_COVERAGE) in the CMakeLists.txt to ask the user if they
want to run coverage.

Add if statments to check for USE_COVERAGE to write out the coverage path
file.

  packages: ${OSEHRA_PATH}/Packages
  coverage: ${VISTA_BINARY_DIR}/Testing/Temporary/Coverage
The GT.M should have the file extension '.mcov' and the Cache file should
have a '.cmcov' extension.

Add 'startCoverage' and 'stopCoverage' functions for each of the sections
in the OSEHRAHelper.

The GT.M version should start the trace and save it
into a global called '^ZZCoverage'.  The stop function should stop the
trace and write the global out in the ZWR format.

The two Cache versions should start the monitor for all routines and
should monitor the lines (option 2) on all processes (option 1).  The stop
function should write out the coverage of all routines in a CSV file
(option 6).

All of the 'stop' functions should write out the file into the
"${VISTA_BINARY_DIR}/Testing/Temporary/Coverage/" directory.  Each should
have the file extension that matches the one created above.

Add the steps to the UnitTest.py.in and the XINDEXScript.py to call these
functions if the USE_COVERAGE value is 'ON'

OSEHRA-Issue: http://issues.osehra.org/browse/OAT-17
Change-Id: I65fc0e54c75f993d0f7b3a8f5937c69f63e659bb
Merge "Update CPRS Functional Testing suite"
Merge "Introduce coverage using CTest"
EHN: Modify home page to reflect fileman based dep

Also move the OSEHRA logo to top left corner.

Add mouse over tooltip for Package Dependency table list link,
refactoring the code to make sure it is consistence for both graph
and html links.

Change-Id: I6443843868dfeda48655907c5938158f15e790ac