Index: /qrda/C0Q/trunk/kids/C0Q-1_SEQ-004_PAT-001.TXT
===================================================================
--- /qrda/C0Q/trunk/kids/C0Q-1_SEQ-004_PAT-001.TXT	(revision 1530)
+++ /qrda/C0Q/trunk/kids/C0Q-1_SEQ-004_PAT-001.TXT	(revision 1531)
@@ -1,13 +1,36 @@
-PACKAGE: C0Q*1.0*1     Sep 17, 2012 4:10 pm                       PAGE 1
--------------------------------------------------------------------------------
-TYPE: SINGLE PACKAGE                               TRACK NATIONALLY: YES
-NATIONAL PACKAGE: QUALITY MEASURES               ALPHA/BETA TESTING: NO
-
+DHCP Patch Display                                             Page: 1
+=============================================================================
+Run Date: SEP 17, 2012                      Designation: C0Q*1*1  TEST v
+Package : QUALITY MEASURES                  Priority   : MANDATORY
+Version : 1                                 Status     : UNDER DEVELOPMENT
+=============================================================================
+
+Subject:  E-Rx MU Measures
+
+Category:  ROUTINE
+           ENHANCEMENT
+
+Description:
+===========
+ 
+ Source, Copyright, & Licensing:
+ ===============================
+ This patch to WorldVistA 2.0 was produced by George Lilly on 14 June 2012
+and released through VISTA Forum.
+ 
+ Copyright: Build documentation and C0QMUERX routine (c) George Lilly
+2012.
+ 
+ License: Package C0Q has license of GPL 2.0.
+ 
+ Functionality:
+ ==============
 DESCRIPTION:
-ePrescribing MU measure in this package.
+Addition of ePrescribing MU measure and code to support it. 
  
 Dependencies:
-This build requires C0P*1*4 for the new WebService entry that gets MU 
-data from New Crop.
+This build needs C0P*1*4 for the new WebService entry that gets MU 
+data from New Crop. It's not a technical dependency; the code will 
+function without it, but it won't perform ERx calculations.
 This build requires the base C0Q 1.0 to be installed.
  
@@ -19,8 +42,13 @@
 3. Mods routine C0QUPDT to handle the special case of ePrescribing stats.
 Also, some checks and quits so that we won't crash if no patient lists
-are associated with the measure.
- 
+are associated with a measure (general bug fix).
+ 
+ Support Tickets:
+ <None>
+ 
+ Package Elements:
+ =================
 Data Dictionary:
-1. File C0Q PARAMETER has two new indexes:
+1. File C0Q PARAMETER has two new indexes (used by ERXCOUNT^C0QUPDT)
   AMMS    REGULAR
             Field:  EP MU MEASUREMENT SET  (1130580001.401,2)
@@ -45,5 +73,6 @@
                     3)= USED BY THE CODE. SEE DESCRIPTION.
  
-2. File C0Q QUALITY MEASURE has a new field, MEASURE TYPE (#4):
+2. File C0Q QUALITY MEASURE has a new field, MEASURE TYPE (#4) used by 
+UPDATE^C0QUPDT
  
 1130580001.101,4MEASURE TYPE         0;5 SET
@@ -89,12 +118,130 @@
                                 purposes in the future.
  
-INPUT TEMPLATE:
-C0Q EDIT MU MEASURE adds the new field MEASURE TYPE mentioned above.
- 
 DATA:
 The entry MU EP ERX for processing ePrescribing stats in C0Q QUALITY 
-MEASURE is sent to destination sites.
- 
-Implementation Steps:
+MEASURE is sent to destination sites. This entry has MEASURE TYPE set to 
+E so that it is processed by the routine UPDATE^C0QUPDT.
+ 
+                                           UP    SEND  DATA                USER
+                                           DATE  SEC.  COMES   SITE  RSLV  OVER
+FILE #      FILE NAME                      DD    CODE  W/FILE  DATA  PTRS  RIDE
+-------------------------------------------------------------------------------
+ 
+1130580001.101C0Q QUALITY MEASURE          YES   YES   YES     OVER  NO    NO
+  DATA SCREEN: I $P(^(0),U)="MU EP ERX"
+ 
+1130580001.401C0Q PARAMETER                YES   NO    NO                  NO
+Partial DD: subDD: 1130580001.401fld: 2
+                              fld: 2.1
+ 
+INPUT TEMPLATE:
+C0Q EDIT MU MEASURE adds the new field MEASURE TYPE mentioned above to 
+allow editing of measures
+ 
+INPUT TEMPLATE:                                ACTION:
+   C0Q EDIT MU MEASURE    FILE #1130580001.101    SEND TO SITE
+ 
+ENVIRONMENT CHECK:                               DELETE ENV ROUTINE: 
+ PRE-INIT ROUTINE:                          DELETE PRE-INIT ROUTINE: 
+POST-INIT ROUTINE: POST^C0Q1P1              DELETE POST-INIT ROUTINE: No
+PRE-TRANSPORT RTN: 
+ 
+ 
+ROUTINE:                                       ACTION:
+   C0QMU12                                        SEND TO SITE
+   C0QMUERX                                       SEND TO SITE
+   C0QUPDT                                        SEND TO SITE
+ 
+INSTALL QUESTIONS: 
+ 
+ Default Rebuild Menu Trees Upon Completion of Install: NO
+ Default INHIBIT LOGONs during the install: NO
+ Default DISABLE Scheduled Options, Menu Options, and Protocols: NO
+ 
+REQUIRED BUILDS:                               ACTION:
+   QUALITY MEASURES 1.0                        Don't install, leave global
+ 
+ Documentation:
+ ==============
+ <None at this moment>
+ 
+ Test Sites:
+ ===========
+ <None at this moment>
+ Tested by George Lilly on smart2 (dEWDrop) environment
+ 
+ Compliance:
+ ===========
+ Complies with the SACC. One routine has a code size or 15076,
+and fails the code size check.
+ 
+ Installation Instructions:
+ ==========================
+ Install Time - less than 1 minute
+ 
+ 1.  LOAD TRANSPORT GLOBAL
+ 
+     Choose the PackMan message containing this patch and invoke the
+     INSTALL/CHECK MESSAGE PackMan option to unload the build.
+ 
+ 2.  START UP KIDS
+ 
+      Start up the Kernel Installation and Distribution System Menu
+      [XPD MAIN]:
+ 
+           Edits and Distribution ...
+           Utilities ...
+           Installation ...
+ 
+ Select Kernel Installation & Distribution System Option: INStallation
+                                                          ---
+           Load a Distribution
+           Print Transport Global
+           Compare Transport Global to Current System
+           Verify Checksums in Transport Global
+           Install Package(s)
+           Restart Install of Package(s)
+           Unload a Distribution
+           Backup a Transport Global
+ 
+ Select Installation Option:
+ 
+ 3.  Select Installation Option:
+ 
+     NOTE:  The following are OPTIONAL - (When prompted for the INSTALL
+             NAME, enter C0Q*1.0*1):
+ 
+     a.  Backup a Transport Global - This option will create a backup
+         message of any routines exported with this patch. It will not
+         backup any other changes such as DD's or templates.
+     b.  Compare Transport Global to Current System - This option will
+         allow you to view all changes that will be made when this patch
+         is installed.  It compares all components of this patch
+         (routines, DD's, templates, etc.).
+     c.  Verify Checksums in Transport Global - This option will allow
+         you to ensure the integrity of the routines that are in the
+         transport global.
+ 
+ 4.  Select Installation Option: Install Package(s)
+ 
+     **This is the step to start the installation of this KIDS patch:
+ 
+     a.  Choose the Install Package(s) option to start the patch install
+         and enter "C0Q*1.0*1" at the INSTALL NAME prompt.
+     b.  When prompted 'Want KIDS to Rebuild Menu Trees Upon Completion of
+         Install? NO//'  answer NO
+     c.  When prompted 'Want KIDS to INHIBIT LOGONs during the install?
+         NO//'  answer NO
+     d.  When prompted 'Want to DISABLE Scheduled Options, Menu Options,
+         and Protocols? NO//'  answer NO
+ 
+ The post installation routine POST^C0Q1P1 will perform the following
+tasks:
+1. Re-index C0P PARAMETERS file fields EP MU MEASUREMENT SET  
+(1130580001.401,2) and EP QUALITY MEASUREMENT SET  (1130580001.401,2.1) 
+to make the AMMS and AQMS indeces respectively.
+ 
+ Post-installation instructions
+ ==============================
 1. If you don't have New Crop eRx installed, there won't be any effects.
 The C0Q code will behave like before.
@@ -297,36 +444,29 @@
                     0                   0
 
-ENVIRONMENT CHECK:                               DELETE ENV ROUTINE: 
- PRE-INIT ROUTINE:                          DELETE PRE-INIT ROUTINE: 
-POST-INIT ROUTINE: POST^C0Q1P1             DELETE POST-INIT ROUTINE: No
-PRE-TRANSPORT RTN: 
-
-                                           UP    SEND  DATA                USER
-                                           DATE  SEC.  COMES   SITE  RSLV  OVER
-FILE #      FILE NAME                      DD    CODE  W/FILE  DATA  PTRS  RIDE
--------------------------------------------------------------------------------
-
-1130580001.101C0Q QUALITY MEASURE          YES   YES   YES     OVER  NO    NO
-  DATA SCREEN: I $P(^(0),U)="MU EP ERX"
-
-1130580001.401C0Q PARAMETER                YES   NO    NO                  NO
-Partial DD: subDD: 1130580001.401fld: 2
-                              fld: 2.1
-
-INPUT TEMPLATE:                                ACTION:
-   C0Q EDIT MU MEASURE    FILE #1130580001.101    SEND TO SITE
-
-ROUTINE:                                       ACTION:
-   C0QMU12                                        SEND TO SITE
-   C0QMUERX                                       SEND TO SITE
-   C0QUPDT                                        SEND TO SITE
-
-INSTALL QUESTIONS: 
-
- Default Rebuild Menu Trees Upon Completion of Install: NO
- Default INHIBIT LOGONs during the install: NO
- Default DISABLE Scheduled Options, Menu Options, and Protocols: NO
-
-REQUIRED BUILDS:                               ACTION:
-   QUALITY MEASURES 1.0                           Don't install, leave global
-
+
+Routine Information:
+====================
+
+
+The second line of each of these routines now looks like:
+ ;;1.0;QUALITY MEASURES;**[Patch List]**;May 21, 2012;Build 33
+
+The checksums below are new checksums, and
+ can be checked with CHECK1^XTSUMBLD.
+
+Routine Name: C0Q1P1
+    Before:       n/a   After:   B541473  **1**
+Routine Name: C0QMU12
+    Before:       n/a   After:B266254568  **1**
+Routine Name: C0QMUERX
+    Before:       n/a   After: B83723794  **1**
+Routine Name: C0QUPDT
+    Before:       n/a   After: B78393601  **1**
+
+
+=============================================================================
+User Information:  
+  Entered By  :   HABIEL,SAM           Date Entered  :   JUN 11,2012
+  Completed By:   LILLY,GEORGE         Date Completed:   JUN 14,2012
+  Released By :                        Date Released :   
+=============================================================================
