Changeset 1333 for ccr/branches/ohum/p/C0CMED1.m
- Timestamp:
- Jan 4, 2012, 12:05:49 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/branches/ohum/p/C0CMED1.m
r1332 r1333 1 1 C0CMED1 ; WV/CCDCCR/SMH - CCR/CCD PROCESSING FOR MEDICATIONS ;01/10/09 2 ;;1.0;C0C;;May 19, 2009;Build 382 ;;1.0;C0C;;May 19, 2009;Build 1 3 3 ;;Last modified Sat Jan 10 21:42:27 PST 2009 4 4 ; Copyright 2009 WorldVistA. Licensed under the terms of the GNU … … 56 56 ; @(0) contains the number of meds or -1^NO DATA FOUND 57 57 ; If it is -1, we quit. 58 I $P(MEDS(0),U)=-1 S @OUTXML@(0)=0 Q UIT58 I $P(MEDS(0),U)=-1 S @OUTXML@(0)=0 Q 59 59 ZWRITE:$G(DEBUG) MEDS 60 60 N RXIEN S RXIEN=0 61 F S RXIEN=$O(MEDS(RXIEN)) Q: RXIEN="" D ; FOR EACH MEDICATION IN THE LIST61 F S RXIEN=$O(MEDS(RXIEN)) Q:$G(RXIEN)="" D ; FOR EACH MEDICATION IN THE LIST 62 62 . N MED M MED=MEDS(RXIEN) 63 63 . I 'ALL,ACTIVE,$P(MED(100),U,2)'="ACTIVE" QUIT
Note:
See TracChangeset
for help on using the changeset viewer.