Ignore:
Timestamp:
May 17, 2012, 6:11:54 PM (12 years ago)
Author:
Sam Habiel
Message:

Update based on OHUM's latest routines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccr/branches/ohum/p/C0CMED1.m

    r1428 r1433  
    11C0CMED1 ; WV/CCDCCR/SMH - CCR/CCD PROCESSING FOR MEDICATIONS ;01/10/09
    2         ;;1.2;C0C;;May 11, 2012;Build 46
     2        ;;1.2;C0C;;May 11, 2012;Build 47
    33        ;;Last modified Sat Jan 10 21:42:27 PST 2009
    44        ; Copyright 2009 WorldVistA.  Licensed under the terms of the GNU
     
    4343        N ALL S ALL=+FLAGS
    4444        N ACTIVE S ACTIVE=$P(FLAGS,U,3)
     45        N PENDING S PENDING=$P(FLAGS,U,4) ;OHUM/RUT 3120504 ADDED FOR VALIDATION OF PENDING MEDICATIONS
    4546        ; Below, X1 is today; X2 is the number of days we want to go back
    4647        ; X is the result of this calculation using C^%DTC.
     
    6263        . N MED M MED=MEDS(RXIEN)
    6364        . I 'ALL,ACTIVE,$P(MED(100),U,2)'="ACTIVE" QUIT
     65        . I 'ALL,PENDING,$P(MED(100),U,2)'="PENDING" QUIT ;OHUM/RUT 3120504 ADDED FOR VALIDATION OF PENDING MEDICATIONS
    6466        . S MEDCOUNT=MEDCOUNT+1
    6567        . W:$G(DEBUG) "RXIEN IS ",RXIEN,!
Note: See TracChangeset for help on using the changeset viewer.