Changeset 173 for ccr/trunk/p/CCRUNIT.m


Ignore:
Timestamp:
Sep 28, 2008, 11:32:16 AM (16 years ago)
Author:
Sam Habiel
Message:

CCRMEDS: Processing of multiple directions.

File:
1 edited

Legend:

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

    r162 r173  
    55MEDS
    66        N DEBUG S DEBUG=0
    7         N DFN S DFN=3
     7        N DFN S DFN=1
    88        K ^TMP($J)
    99        W "Loading CCR Template into T using LOAD^GPLCCR0($NA(^TMP($J,""CCR"")))",!!
     
    1111        N XPATH S XPATH="//ContinuityOfCareRecord/Body/Medications"
    1212        W "XPATH is: "_XPATH,!
    13         W "Getting Med Template into INXML using",!
    14         W "QUERY^GPLXPATH(T,XPATH,""INXML"")",!!
    15         D QUERY^GPLXPATH(T,XPATH,"INXML")
     13        W "Getting Med Template into MINXML using",!
     14        W "QUERY^GPLXPATH(T,XPATH,""MINXML"")",!!
     15        D QUERY^GPLXPATH(T,XPATH,"MINXML")
    1616        B
    17                 W "Executing EXTRACT^CCRMEDS(INXML,DFN,OUTXML)",!
     17                W "Executing EXTRACT^CCRMEDS(MINXML,DFN,OUTXML)",!
    1818        W "OUTXML will be ^TMP($J,""OUT"")",!
    1919        N OUTXML S OUTXML=$NA(^TMP($J,"OUT"))
    20         D EXTRACT^CCRMEDS(.INXML,DFN,OUTXML)
     20        D EXTRACT^CCRMEDS("MINXML",DFN,OUTXML)
    2121        Q
Note: See TracChangeset for help on using the changeset viewer.