Changeset 86 for ccr/trunk/p/GPLMEDS.m


Ignore:
Timestamp:
Aug 6, 2008, 7:18:51 PM (16 years ago)
Author:
George Lilly
Message:

the Variable "I" was being stepped on in the Meds processing.. newed it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccr/trunk/p/GPLMEDS.m

    r84 r86  
    11GPLMEDS ; CCDCCR/CJE - CCR/CCD PROCESSING FOR MEDICATIONS ;07/23/08  14:33
    2           ;;0.1;CCDCCR;;JUL 16,2008;
    3           ;Copyright 2008 WorldVistA.  Licensed under the terms of the GNU
    4           ;General Public License See attached copy of the License.
    5           ;
    6           ;This program is free software; you can redistribute it and/or modify
    7           ;it under the terms of the GNU General Public License as published by
    8           ;the Free Software Foundation; either version 2 of the License, or
    9           ;(at your option) any later version.
    10           ;
    11           ;This program is distributed in the hope that it will be useful,
    12           ;but WITHOUT ANY WARRANTY; without even the implied warranty of
    13           ;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    14           ;GNU General Public License for more details.
    15           ;
    16           ;You should have received a copy of the GNU General Public License along
    17           ;with this program; if not, write to the Free Software Foundation, Inc.,
    18           ;51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
    19           ;
     2   ;;0.1;CCDCCR;;JUL 16,2008;
     3   ;Copyright 2008 WorldVistA.  Licensed under the terms of the GNU
     4   ;General Public License See attached copy of the License.
     5   ;
     6   ;This program is free software; you can redistribute it and/or modify
     7   ;it under the terms of the GNU General Public License as published by
     8   ;the Free Software Foundation; either version 2 of the License, or
     9   ;(at your option) any later version.
     10   ;
     11   ;This program is distributed in the hope that it will be useful,
     12   ;but WITHOUT ANY WARRANTY; without even the implied warranty of
     13   ;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14   ;GNU General Public License for more details.
     15   ;
     16   ;You should have received a copy of the GNU General Public License along
     17   ;with this program; if not, write to the Free Software Foundation, Inc.,
     18   ;51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
     19   ;
    2020          W "NO ENTRY FROM TOP",!
    2121          Q
    2222          ;
    2323EXTRACT(MEDXML,DFN,MEDOUTXML) ; EXTRACT MEDICATIONS INTO PROVIDED XML TEMPLATE
    24           ;
    25           ; MEDXML AND OUTXML ARE PASSED BY NAME SO GLOBALS CAN BE USED
    26           ; IMEDXML WILL CONTAIN ONLY THE MEDICATIONS SECTION OF THE OVERALL TEMPLATE
    27           ;
    28           N MEDRSLT,J,K,MEDPTMP,X,MEDVMAP,TBUF
     24   ;
     25   ; MEDXML AND OUTXML ARE PASSED BY NAME SO GLOBALS CAN BE USED
     26   ; IMEDXML WILL CONTAIN ONLY THE MEDICATIONS SECTION OF THE OVERALL TEMPLATE
     27   ;
     28          N MEDRSLT,I,J,K,MEDPTMP,X,MEDVMAP,TBUF
    2929          D ACTIVE^ORWPS(.MEDRSLT,DFN)
    3030          I '$D(MEDRSLT(1)) D  ; NO MEDS FOR THIS PATIENT, EXIT
Note: See TracChangeset for help on using the changeset viewer.