Changeset 162
- Timestamp:
- Sep 21, 2008, 10:09:17 PM (16 years ago)
- Location:
- ccr/trunk/p
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/CCRMEDS.m
r161 r162 84 84 . N NDFIEN S NDFIEN=$P(NDFDATA(20),U) 85 85 . N VAPROD S VAPROD=$P(NDFDATA(22),U) 86 . B:NDFIEN="" 86 87 . N CONCDATA S CONCDATA=$$CPRS^PSNAPIS(NDFIEN,VAPROD) 87 88 . S @MAP@("MEDFORMTEXT")=$P(CONCDATA,U,1) … … 159 160 . N RESULT S RESULT=$NA(^TMP("GPLCCR",$J,"RESULT")) 160 161 . K @RESULT 161 . D MAP^GPLXPATH( INXML,MAP,RESULT)162 . D MAP^GPLXPATH($NA(INXML),MAP,RESULT) 162 163 . D:MEDCOUNT=1 CP^GPLXPATH(RESULT,OUTXML) ; First one is a copy 163 164 . D:MEDCOUNT>1 INSINNER^GPLXPATH(OUTXML,RESULT) ; AFTER THE FIRST, INSERT INNER XML -
ccr/trunk/p/CCRUNIT.m
r161 r162 13 13 W "Getting Med Template into INXML using",! 14 14 W "QUERY^GPLXPATH(T,XPATH,""INXML"")",!! 15 N INXML16 15 D QUERY^GPLXPATH(T,XPATH,"INXML") 17 W "Executing EXTRACT^CCRMEDS(""INXML"",DFN,OUTXML)",! 16 B 17 W "Executing EXTRACT^CCRMEDS(INXML,DFN,OUTXML)",! 18 18 W "OUTXML will be ^TMP($J,""OUT"")",! 19 19 N OUTXML S OUTXML=$NA(^TMP($J,"OUT")) 20 D EXTRACT^CCRMEDS( "INXML",DFN,OUTXML)20 D EXTRACT^CCRMEDS(.INXML,DFN,OUTXML) 21 21 Q
Note:
See TracChangeset
for help on using the changeset viewer.