Ignore:
Timestamp:
Jan 4, 2012, 12:05:49 AM (13 years ago)
Author:
George Lilly
Message:

ohum new version

File:
1 edited

Legend:

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

    r1332 r1333  
    11C0CMED1 ; WV/CCDCCR/SMH - CCR/CCD PROCESSING FOR MEDICATIONS ;01/10/09
    2         ;;1.0;C0C;;May 19, 2009;Build 38
     2        ;;1.0;C0C;;May 19, 2009;Build 1
    33        ;;Last modified Sat Jan 10 21:42:27 PST 2009
    44        ; Copyright 2009 WorldVistA.  Licensed under the terms of the GNU
     
    5656        ; @(0) contains the number of meds or -1^NO DATA FOUND
    5757        ; If it is -1, we quit.
    58         I $P(MEDS(0),U)=-1 S @OUTXML@(0)=0 QUIT
     58        I $P(MEDS(0),U)=-1 S @OUTXML@(0)=0 Q
    5959        ZWRITE:$G(DEBUG) MEDS
    6060        N RXIEN S RXIEN=0
    61         F  S RXIEN=$O(MEDS(RXIEN)) Q:RXIEN=""  D  ; FOR EACH MEDICATION IN THE LIST
     61        F  S RXIEN=$O(MEDS(RXIEN)) Q:$G(RXIEN)=""  D  ; FOR EACH MEDICATION IN THE LIST
    6262        . N MED M MED=MEDS(RXIEN)
    6363        . I 'ALL,ACTIVE,$P(MED(100),U,2)'="ACTIVE" QUIT
Note: See TracChangeset for help on using the changeset viewer.