Changeset 422 for ccr/trunk/p/C0CMED.m


Ignore:
Timestamp:
Mar 29, 2009, 5:48:58 PM (16 years ago)
Author:
Sam Habiel
Message:

First take on implementing paramters for RPMS...

File:
1 edited

Legend:

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

    r421 r422  
    11C0CMED  ; WV/CCDCCR/GPL/SMH - CCR/CCD Medications Driver; Mar 23 2009
    2         ;;0.5;CCDCCR;;JUL 16,2008;
     2        ;;0.6;CCDCCR;;JUL 16,2008;
    33        ; Copyright 2008,2009 George Lilly, University of Minnesota and Sam Habiel.
    44        ; Licensed under the terms of the GNU General Public License.
     
    4040        ; 6. RPMS Meds are in C0CMED6. Need to create other routines for subdivisions of RPMS Meds is not known at this time.
    4141        ;
    42         ; --Prep variables     
     42        ; --Find out what system we are on...   
    4343        I $$RPMS^C0CUTIL() D RPMS QUIT
    4444        I ($$VISTA^C0CUTIL())!($$WV^C0CUTIL())!($$OV^C0CUTIL()) D VISTA QUIT
    45         ; Extraction Sections
     45        ; --Get parameters for meds
     46        N C0CMFLAG
     47        S C0CMFLAG=$$GET^C0CPARMS("MEDALL")_"^"_$$GET^C0CPARMS("MEDLIMIT")_"^"_$$GET^C0CPARMS("MEDACTIVE")_"^"_$$GET^C0CPARMS("MEDPENDING")
    4648RPMS   
    47         D EXTRACT^C0CMED6(MEDXML,DFN,MEDOUTXML) QUIT
     49        D EXTRACT^C0CMED6(MEDXML,DFN,MEDOUTXML,C0CMFLAG) QUIT
    4850VISTA   
    4951        N MEDCOUNT S MEDCOUNT=0
Note: See TracChangeset for help on using the changeset viewer.