Add VA VistA FOIA patches from Jan 2011 to Oct 2012

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 \
  "2011/JANUARY 2011" \
  "2011/FEBRUARY 2011" \
  "2011/MARCH 2011" \
  "2011/APRIL 2011" \
  "2011/MAY 2011" \
  "2011/JUNE 2011" \
  "2011/JULY 2011" \
  "2011/AUGUST 2011" \
  "2011/SEPTEMBER 2011" \
  "2011/OCTOBER 2011" \
  "2011/NOVEMBER 2011" \
  "2011/DECEMBER 2011" \
  "2012/JANUARY 2012" \
  "2012/FEBRUARY 2012" \
  "2012/MARCH 2012" \
  "2012/APRIL 2012" \
  "2012/MAY 2012" \
  "2012/JUNE 2012" \
  "2012/JULY 2012" \
  "2012/AUGUST 2012" \
  "2012/SEPTEMBER 2012" \
  "2012/OCTOBER 2012" \
  ; do
   echo "https://downloads.va.gov/files/FOIA/Software/Patches by Year and Month Released/$f/"
 done &&
 # A few patches we need but not found above:
 for f in \
  "ECX-DSS/ECX-3_SEQ-123_PAT-137.KID" \
  "FH-NUTRITION AND FOOD SERVICE/FH-5P5_SEQ-21_PAT-23.KID" \
  "FH-NUTRITION AND FOOD SERVICE/FH-5P5_SEQ-21_PAT-23.TXT" \
  "GMTS-HEALTH SUMMARY/GMTS-2P7_SEQ-93_PAT-102.TXT" \
  "LEX-CLINICAL LEXICON/LEX-2_SEQ-72_PAT-79.TXT" \
  "NUPA-PATIENT ASSESSMENT DOCUMENTATION/NUPA_1_0.KID" \
  "PSN-NATIONAL DRUG FILE (NDF)/NDF4P309.KIDs" \
  "PSN-NATIONAL DRUG FILE (NDF)/NDF4P318.KIDs" \
  "YS-MENTAL HEALTH/YS_501_103.KID" \
  ; do
   echo "https://downloads.va.gov/files/FOIA/Software/Patches_By_Application/$f"
 done &&
 for f in \
  "VISTA_FOIA_RELEASES_BEFORE_2008/LR-Lab Service/LR-5P2_SEQ-288_PAT-334.TXT" \
  ; do
   echo "https://downloads.va.gov/files/FOIA/Software/VISTA_FOIA_Historical_Files/$f"
 done
 }
Remove VA VistA FOIA patch files that we do not need

Remove patch replaced by RA-5_SEQ-98_PAT-47.TXT:

 Patches by Year and Month Released/2011/AUGUST 2011/RA_5_47_PATCH_DESC_CORRECTED.TXT

Remove patch also contained in RMPR-3_SEQ-141_PAT-157.KID:

 Patches by Year and Month Released/2011/APRIL 2011/RMPR_3_P157.KID

Remove from "Patches by Year and Month Released" duplicate files:

 2011/JANUARY 2011/Mobile Electronic Documentation (MED)/TIU_1_257_MED.KID
 2011/JANUARY 2011/Mobile Electronic Documentation (MED)/TIU-1_SEQ-236_PAT-257.TXT
 2011/APRIL 2011/FDA MEDICATION GUIDES/PSN-4_SEQ-268_PAT-263.KID
 2011/APRIL 2011/FDA MEDICATION GUIDES/PSN-4_SEQ-268_PAT-263_NOTES.TXT
 2011/APRIL 2011/FDA MEDICATION GUIDES/PSN-4_SEQ-268_PAT-263.TXT
 2011/APRIL 2011/FDA MEDICATION GUIDES/PSO-7_SEQ-312_PAT-343.KID
 2011/APRIL 2011/FDA MEDICATION GUIDES/PSO-7_SEQ-312_PAT-343.TXT
 2011/APRIL 2011/MOCHA/MOCHA_1_0_PSJ_5_261_T2.KID
 2011/APRIL 2011/MOCHA/OR-3_SEQ-290_PAT-272.TXT
 2011/APRIL 2011/MOCHA/PSJ-5_SEQ-209_PAT-181.TXT
 2011/APRIL 2011/MOCHA/PSJ-5_SEQ-210_PAT-261.TXT
 2011/APRIL 2011/MOCHA/PSO-7_SEQ-310_PAT-251.TXT
 2011/APRIL 2011/MOCHA/PSO-7_SEQ-311_PAT-375.KID
 2011/APRIL 2011/MOCHA/PSO-7_SEQ-311_PAT-375.TXT
 2011/APRIL 2011/MOCHA/PSS-1_SEQ-141_PAT-117.KID
 2011/APRIL 2011/MOCHA/PSS-1_SEQ-141_PAT-117.TXT
 2011/JUNE 2011/PSJ-5_SEQ-216_PAT-250.KID
 2011/JUNE 2011/PSJ-5_SEQ-216_PAT-250.TXT
 2011/AUGUST 2011/ONC211P53.KID.head
 2011/AUGUST 2011/ONC211P53.KID.sha1
 2011/AUGUST 2011/PRCA-4P5_SEQ-248_PAT-279.TXT
 2011/SEPTEMBER 2011/VPR-_SEQ-_PAT-.TXT
 2012/JULY 2012/PSN-4_SEQ-313_PAT-325.TXT
 2012/JULY 2012/PSN-4_SEQ-314_PAT-326.TXT
 2012/AUGUST 2012/VPR-1_SEQ-1_PAT-1.TXT
 2012/OCTOBER 2012/OR-3_SEQ-304_PAT-314.KID
 2012/OCTOBER 2012/ROR-1P5_SEQ-16_PAT-15.KID
 2012/OCTOBER 2012/ROR-1P5_SEQ-16_PAT-15.TXT

They all have identical copies in more appropriate directories.
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.
Add VA VistA FOIA patches from Nov 2012 to part of Dec 2012

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 \
  "2012/NOVEMBER 2012" \
  "2012/DECEMBER 2012/DGBT-1_SEQ-21_PAT-23.TXT" \
  "2012/DECEMBER 2012/VPS-1_SEQ-1_PAT-1.KID" \
  "2012/DECEMBER 2012/XT-7P3_SEQ-108_PAT-133.KID" \
  "2012/DECEMBER 2012/EC-2_SEQ-109_PAT-116.TXT" \
  "2012/DECEMBER 2012/VPS-1_SEQ-1_PAT-1.TXT" \
  "2012/DECEMBER 2012/XT-7P3_SEQ-108_PAT-133.TXT" \
 ; do
   echo "https://downloads.va.gov/files/FOIA/Software/Patches by Year and Month Released/$f/"
 done &&
 # A few patches we need but not found above:
 for f in \
  "XU-KERNEL/XU-8_SEQ-485_PAT-585.KID" \
  "XU-KERNEL/XU-8_SEQ-485_PAT-585.TXT" \
  "XU-KERNEL/XU-8_SEQ-487_PAT-598.KID" \
  "XU-KERNEL/XU-8_SEQ-487_PAT-598.TXT" \
  "KMPD - Capacity Management Tools/KMPD-3P0_SEQ-0_PAT-0.KIDs" \
  "KMPD - Capacity Management Tools/KMPD-3P0_SEQ-0_PAT-0.TXTs" \
 ; do
  echo "https://downloads.va.gov/files/FOIA/Software/Patches_By_Application/$f"
 done
 }

OSEHRA-Id: http://issues.osehra.org/browse/VAF-74
Original-Change-Id: I78afbe2e880bbc88746941cfe4b821a8e9e5ac65
Remove VA VistA FOIA patch files that we do not need

For patch XU*8.0*598:

 Software/Patches by Year and Month Released/2012/NOVEMBER 2012/XU-8_SEQ-487_PAT-598.KID
 Software/Patches by Year and Month Released/2012/NOVEMBER 2012/XU-8_SEQ-487_PAT-598.TXT

For patch KMPD*3.0*0:

 Software/Patches by Year and Month Released/2012/NOVEMBER 2012/KMPD-_SEQ-_PAT-.TXT

Also change the design name from KMPD 3.0 to KMPD*3.0*0 in

 Software/Patches_By_Application/KMPD - Capacity Management Tools/KMPD-3P0_SEQ-0_PAT-0.TXTs

OSEHRA-Id: http://issues.osehra.org/browse/VAF-74
Original-Change-Id: I985be20a747cef94d0daf7c87efab8bcd98a62e4
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.

OSEHRA-Id: http://issues.osehra.org/browse/VAF-74
Original-Change-Id: I535dc867a0eec7106f249fee2105111d175fbf34
Add custom intaller for patches XU*8.0*599 and PXRM*2.0*27

Patch XU*8.0*599 will run a post-install routine ZTMGRSET during its
KIDS installation process to ask the user to answer a few questions.
Answer them as suggested in the patch info TXT file.

Patch PXRM*2.0*27 will run POST^PXRMP27I to ask a few post-install
questions.  Answer them all with "Q" to get through the installation.
Merge branch 'master' into add-patches
Add VA VistA FOIA patches from Dec 2012 to Jan 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 \
  "2012/DECEMBER 2012" \
  "2013/January 2013" \
 ; do
   echo "https://downloads.va.gov/files/FOIA/Software/Patches by Year and Month Released/$f/"
 done
 }
Prepare to organize Dec 2012 and Jan 2013 FOIA patch files

Update Scripts/KIDSAssociatedFilesMapping.py to associate LEX_2_51.GBL
with its patch.  Remove patch files from DECEMBER 2012 added previously:

 DGBT-1_SEQ-21_PAT-23.TXT
 EC-2_SEQ-109_PAT-116.TXT
 VPS-1_SEQ-1_PAT-1.KID
 VPS-1_SEQ-1_PAT-1.TXT
 XT-7P3_SEQ-108_PAT-133.KID
 XT-7P3_SEQ-108_PAT-133.TXT

Manually place file

 Pharmacy Product System-National (PREN) Release.txt

in its patch directory and rename it to

 PREN Release.txt

to avoid parens in the path.
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.
Add VA VistA FOIA patches from most 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" \
 ; do
   echo "https://downloads.va.gov/files/FOIA/Software/Patches by Year and Month Released/$f/"
 done
 }

Retrieve all files posted as of 2013-02-25 16:00:00 EST.
Prepare to organize Feb 2013 FOIA patch files

Update Scripts/KIDSAssociatedFilesMapping.py to associate LEX_2_89.GBLs
with its patch.
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.
Merge branch 'add-patches' into master-try-readmes1