Changeset 1586 for ccr/trunk/p/C0CMED1.m


Ignore:
Timestamp:
Oct 30, 2012, 1:11:02 PM (12 years ago)
Author:
Sam Habiel
Message:

Changed license to AGPL. Some clean-up for XINDEX

File:
1 edited

Legend:

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

    r1544 r1586  
    11C0CMED1 ; WV/CCDCCR/SMH - CCR/CCD PROCESSING FOR MEDICATIONS ;01/10/09
    2         ;;1.2;C0C;;May 11, 2012;Build 47
     2        ;;1.2;CCD/CCR GENERATION UTILITIES;;Oct 30, 2012;Build 50
    33        ;;Last modified Sat Jan 10 21:42:27 PST 2009
    4         ; Copyright 2009 WorldVistA.  Licensed under the terms of the GNU
    5         ; General Public License See attached copy of the License.
    6         ;
    7         ; This program is free software; you can redistribute it and/or modify
    8         ; it under the terms of the GNU General Public License as published by
    9         ; the Free Software Foundation; either version 2 of the License, or
    10         ; (at your option) any later version.
     4        ; Copyright 2009 WorldVistA. 
     5        ;
     6        ; This program is free software: you can redistribute it and/or modify
     7        ; it under the terms of the GNU Affero General Public License as
     8        ; published by the Free Software Foundation, either version 3 of the
     9        ; License, or (at your option) any later version.
    1110        ;
    1211        ; This program is distributed in the hope that it will be useful,
    1312        ; but WITHOUT ANY WARRANTY; without even the implied warranty of
    1413        ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    15         ; GNU General Public License for more details.
    16         ;
    17         ; You should have received a copy of the GNU General Public License along
    18         ; with this program; if not, write to the Free Software Foundation, Inc.,
    19         ; 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
     14        ; GNU Affero General Public License for more details.
     15        ;
     16        ; You should have received a copy of the GNU Affero General Public License
     17        ; along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2018        ;
    2119        W "NO ENTRY FROM TOP",!
     
    5856        ; If it is -1, we quit.
    5957        I $P(MEDS(0),U)=-1 S @OUTXML@(0)=0 Q
    60         ZWRITE:$G(DEBUG) MEDS
     58        ; ZWRITE:$G(DEBUG) MEDS
    6159        N RXIEN S RXIEN=0
    6260        F  S RXIEN=$O(MEDS(RXIEN)) Q:$G(RXIEN)=""  D  ; FOR EACH MEDICATION IN THE LIST
    6361        . N MED M MED=MEDS(RXIEN)
    6462        . 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
     63        . I 'ALL,PENDING,$P(MED(100),U,2)'="PENDING" QUIT  ;OHUM/RUT 3120504 ADDED FOR VALIDATION OF PENDING MEDICATIONS
    6664        . S MEDCOUNT=MEDCOUNT+1
    6765        . W:$G(DEBUG) "RXIEN IS ",RXIEN,!
Note: See TracChangeset for help on using the changeset viewer.