Check for TEST_VISTA_FRESH variables during configure

There is currently no check that the variables that appear after
selecting the TEST_VISTA_FRESH option have been defined prior to use.

Add a check for the variables by adding the variable to a list,
looping through the list to visit each, and check that it is defined.
If it is not, display an error to say that the variable needs to be defined
before configuring.

OSEHRA-Issue: http://issues.osehra.org/browse/OAT-53
Change-Id: I865959adb805dc566a4ce492cbe919114fd12c5b
VistATestClient: handle non-default initial cache prompt

Change waitForPrompt to expect('>') instead.

OSEHRA-Id: http://issues.osehra.org/browse/OAT-54

Change-Id: I5161b7274f3797568f711b23c68b5f8428fbbaa5
Merge "VistATestClient: handle non-default initial cache prompt"
Tell Git to require spaces in CMakeLists.txt indentation

Change-Id: I5fd830d869d7642e3114bc67f296107ba4502fcf
Merge "Tell Git to require spaces in CMakeLists.txt indentation"
SC, PL, and REG function test updates

Add updates to the current Problem List and Scheduling RAS tests.

Add a new set of RAS tests for the Registration package that tests the ADT
functionality.

Add a new actions python file for interacting with the CPRS menu.

Add new patient data to the patdata0.csv

Rename the importUsers.py.in to importPats.py.in.

Change-Id: Ie4c059376a270a1a96500d46909e18385b0d1ce4
Update VA VistA FOIA patch 2013 spreadsheet

Follow the instructions in 'Scripts/HowtoUpdateSpreadsheets.rst' to update
'Packages/Uncategorized/*.csv' spreadsheets corresponding to:

 https://downloads.va.gov/files/FOIA/Software/DBA_VistA_FOIA_System_Files/Listing_of_Released_VistA_Patches_2013.xls

Remove the leading "ALL DOCUMENTATION..." row so the first row has the
column names.  Remove extra rows from the bottom.

Change-Id: Ied810017ed2859be6f2d6127295ae0a4359bb9cb
Merge branch 'upstream-spreadsheets' into update-spreadsheets

Change-Id: I2771cf5b16337ef2c75cc5a524d19fcdfab0315a
Add VA VistA FOIA patches from end of Feb 2013

Follow the instructions in 'Scripts/HowtoDownloadPatches.rst' to
download patches from the VA FOIA site.  Use the following shell code to
produce the URL list and pipe it to wget:

 {
 # All patches in desired date range.
 for f in \
  "2013/February 2013/IB-2_SEQ-446_PAT-491.KID" \
  "2013/February 2013/IB-2_SEQ-446_PAT-491.TXT" \
  "2013/February 2013/IB-2_SEQ-447_PAT-492.KID" \
  "2013/February 2013/IB-2_SEQ-447_PAT-492.TXT" \
  "2013/February 2013/IBRC1301A.TXT" \
  "2013/February 2013/IBRC1301B.TXT" \
  "2013/February 2013/IBRC1301C.TXT" \
  "2013/February 2013/IBRC1301D.TXT" \
  "2013/February 2013/IBRC1301E.TXT" \
  "2013/February 2013/IBRC1301F.TXT" \
  "2013/February 2013/NDF4P350.KID" \
  "2013/February 2013/NDF4P351.KIDs" \
  "2013/February 2013/OHRS-1P4_SEQ-7_PAT-7.TXT" \
  "2013/February 2013/PSB-3_SEQ-57_PAT-66.KID" \
  "2013/February 2013/PSB-3_SEQ-57_PAT-66.TXT" \
  "2013/February 2013/PSN-4_SEQ-338_PAT-350.TXT" \
  "2013/February 2013/PSN-4_SEQ-339_PAT-351.TXT" \
  "2013/February 2013/PSO-7_SEQ-347_PAT-409.KID" \
  "2013/February 2013/PSO-7_SEQ-347_PAT-409.TXT" \
  "2013/February 2013/SD-5P3_SEQ-494_PAT-599.KID" \
  "2013/February 2013/SD-5P3_SEQ-494_PAT-599.TXT" \
 ; do
   echo "https://downloads.va.gov/files/FOIA/Software/Patches by Year and Month Released/$f"
 done
 }

Retrieve all files posted as of 2013-03-04 16:07:00 EST.

Change-Id: Icfadac9447f086cf6f45d59550ec3e5980d29096
Prepare to organize rest of Feb 2013 FOIA patch files

Update Scripts/KIDSAssociatedFilesMapping.py to associate IBRC1301*.TXT
with their patch.

Change-Id: Id068160db077596b6a587807e4cd3b520f07df74
Move patches from FOIA/ to populate Packages/

Follow the instructions in 'Scripts/HowtoPopulatePackages.rst' to move
VA patches out of 'FOIA/' and organize them in the 'Packages/' directory
structure.  Add .gitignore files to prevent content-linked large patch
files from being added later.

Change-Id: Icc85dcb83e40f1b032cd508d039fb9545fd93868
Match XUP menu prompts after XU*8*593

The XU*8*593 patch has added a "<TEST ACCOUNT>" string to the XUP/ZU
menu option names. Change prompts within the InstallMunitKIDSBuild.py.in
and the PostImportSetupScript.py.in to prepare for the menu name change.

Remove all "select" or "option" strings from the wait strings, leaving
only the name of the menu that you are going to access.  This will
reduce the chance the "<TEST ACCOUNT>" will interrupt the search
string.

OSEHRA-Issue: http://issues.osehra.org/browse/OAT-46
Change-Id: Ib1ea58c5a4dbf5a11b0847b20da5c17f0c35e738
VistATestClient: Enhance to better handle CTRL+C

In situation that CTRL+C is pressed, code to close VistA connection
might gracefully might be blocked and leave a zombie external process.
Modify to terminate external process right away.

Also modify to catch all exceptions instead of just TIMEOUT exception so
that we still have a chance to terminate the external process.

OSEHRA-Id: http://issues.osehra.org/browse/VAF-81
Change-Id: Iba7a9c34b3d74165059528e360af8720345aa845
Fix typo in VA FOIA patches 2012 spreadsheet

 Fix patch install names:
    KMPD*3.0 -> KMPD*3*0

Change-Id: I6a9ce292325b009c972604f13e0c76a51db06538
Remove extra info after end section of the KIDS files

 KIDS file list:
  IB-2_SEQ-442_PAT-486.KID
  VPS-1_SEQ-1_PAT-1.KID
  FH_5.5_33/FH-5P5_SEQ-29_PAT-33.KID
  EC-2_SEQ-108_PAT-115.KID
  IB-2_SEQ-441_PAT-475.KID
  IB-2_SEQ-440_PAT-484.KID
  IB-2_SEQ-442_PAT-486.KID
  LR-5P2_SEQ-333_PAT-420.KID
  NDF4P341.KID
  OR-3_SEQ-310_PAT-331.KID
  XWB-1P1_SEQ-44_PAT-59.KID
  DG-5P3_SEQ-757_PAT-832.KID
  XT-7P3_SEQ-108_PAT-133.KID
  VPS-1_SEQ-1_PAT-1.KID

KIDSPatchParser.py: Add sanity check of routine list before
validating the checksum

OSEHRA-Id: http://issues.osehra.org/browse/VAF-82
Change-Id: Ib21a54f637295ad158bf5d4c7a169ff10e24ddb5
VistATaskmanUtil: Handle Multiple Volume Set

in verifyTaskmanSiteParameter method, enhance to handle
the sitution that there are multiple volume set in a VistA
instance.

Also refactoring findChoiceNumber in VistAPackageInfoFetcher.py
to handle simple choice selection.

OSEHRA-Id: http://issues.osehra.org/browse/VAF-80
Change-Id: Iaa0da640459bcb6fac01a4b3a70534f3c4952d42
Merge "VistATaskmanUtil: Handle Multiple Volume Set"
Merge "Fix typo in VA FOIA patches 2012 spreadsheet"
VistAPackageInfoFetch: support get package patch history by version

Change APIs to fetch/store package patch history for each version.
Add a new method isPatchInstalled to use Kernel KIDS API.

Modify KIDSPatchSequenceApply to use new APIs.

DefaultKIDSPatchInstaller: Change getPersonNameByDuz to use Kernel
User API instead, fix a bug in restart/unload distribution.

OSEHRA-Id: http://issues.osehra.org/browse/VAF-77
Change-Id: I604c72a846853f2a81d6b5494a2de98b654d75b5
VistAMComponentExtractor: Remove dependency on VistA-FOIA

Use Packages.csv file in the VistA repo, and also scripts in the
same directory.

Modify UnpackRO.py to support output routines to specified dir,
and output progress message to a specified file like object.

Change-Id: I150e66a365489de2b808031000ba9e45b5348b00