Changeset 1433 for ccr/branches/ohum/p/C0CMED1.m
- Timestamp:
- May 17, 2012, 6:11:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/branches/ohum/p/C0CMED1.m
r1428 r1433 1 1 C0CMED1 ; WV/CCDCCR/SMH - CCR/CCD PROCESSING FOR MEDICATIONS ;01/10/09 2 ;;1.2;C0C;;May 11, 2012;Build 4 62 ;;1.2;C0C;;May 11, 2012;Build 47 3 3 ;;Last modified Sat Jan 10 21:42:27 PST 2009 4 4 ; Copyright 2009 WorldVistA. Licensed under the terms of the GNU … … 43 43 N ALL S ALL=+FLAGS 44 44 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 45 46 ; Below, X1 is today; X2 is the number of days we want to go back 46 47 ; X is the result of this calculation using C^%DTC. … … 62 63 . N MED M MED=MEDS(RXIEN) 63 64 . 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 64 66 . S MEDCOUNT=MEDCOUNT+1 65 67 . W:$G(DEBUG) "RXIEN IS ",RXIEN,!
Note:
See TracChangeset
for help on using the changeset viewer.