Changeset 167 for ccr/trunk/p/GPLXPATH.m


Ignore:
Timestamp:
Sep 22, 2008, 4:12:52 PM (16 years ago)
Author:
George Lilly
Message:

intergrated CCRMEDS processing with GPLMEDS to get PENDING and Non-VA meds

File:
1 edited

Legend:

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

    r156 r167  
    448448 Q
    449449 ;
     450DXVARS(DXIN) ;DISPLAY ALL VARIABLES IN A TEMPLATE
     451 ; IF PARAMETERS ARE NULL, DEFAULTS TO CCR TEMPLATE
     452 ;
     453 N DXUSE,DTMP ; DXUSE IS NAME OF VARIABLE, DTMP IS VARIABLE IF NOT SUPPLIED
     454 I DXIN="CCR" D  ; NEED TO GO GET CCR TEMPLATE
     455 . D LOAD^GPLCCR0("DTMP") ; LOAD CCR TEMPLATE INTO DXTMP
     456 . S DXUSE="DTMP" ; DXUSE IS NAME
     457 E  I DXIN="CCD" D  ; NEED TO GO GET CCD TEMPLATE
     458 . D LOAD^GPLCCD1("DTMP") ; LOAD CCR TEMPLATE INTO DXTMP
     459 . S DXUSE="DTMP" ; DXUSE IS NAME
     460 E  S DXUSE=DXIN ; IF PASSED THE TEMPLATE TO USE
     461 N DVARS ; PUT VARIABLE NAME RESULTS IN ARRAY HERE
     462 D XVARS("DVARS",DXUSE) ; PULL OUT VARS
     463 D PARY^GPLXPATH("DVARS") ;AND DISPLAY THEM
     464 Q
     465 ;
    450466TEST     ; Run all the test cases
    451467 D TESTALL^GPLUNIT("GPLXPAT0")
Note: See TracChangeset for help on using the changeset viewer.