Changeset 713
- Timestamp:
- Feb 26, 2010, 9:53:06 AM (15 years ago)
- Location:
- ccr/trunk/p
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ccr/trunk/p/C0CCCR.m
r690 r713 84 84 I '$D(C0CNRPC) S ^TMP("C0CRPC",$H,"CALL",DFN)="" 85 85 D SET^C0CPARMS(CCRPARMS) ;SET PARAMETERS WITH CCRPARMS AS OVERRIDES 86 I '$D(TESTVIT) S TESTVIT=0 ; FLAG FOR TESTING VITALS 86 87 I '$D(TESTLAB) S TESTLAB=0 ; FLAG FOR TESTING RESULTS SECTION 87 88 I '$D(TESTALERT) S TESTALERT=1 ; FLAG FOR TESTING ALERTS SECTION … … 149 150 D PUSH^C0CXPATH(TAB,"EXTRACT;C0CMED;//ContinuityOfCareRecord/Body/Medications;^TMP(""C0CCCR"",$J,DFN,""MEDICATIONS"")") 150 151 D PUSH^C0CXPATH(TAB,"MAP;C0CIMMU;//ContinuityOfCareRecord/Body/Immunizations;^TMP(""C0CCCR"",$J,DFN,""IMMUNE"")") 151 D PUSH^C0CXPATH(TAB,"EXTRACT;C0CVITAL;//ContinuityOfCareRecord/Body/VitalSigns;^TMP(""C0CCCR"",$J,DFN,""VITALS"")") 152 I TESTVIT D PUSH^C0CXPATH(TAB,"EXTRACT;C0CVIT2;//ContinuityOfCareRecord/Body/VitalSigns;^TMP(""C0CCCR"",$J,DFN,""VITALS"")") 153 E D PUSH^C0CXPATH(TAB,"EXTRACT;C0CVITAL;//ContinuityOfCareRecord/Body/VitalSigns;^TMP(""C0CCCR"",$J,DFN,""VITALS"")") 152 154 D PUSH^C0CXPATH(TAB,"MAP;C0CLABS;//ContinuityOfCareRecord/Body/Results;^TMP(""C0CCCR"",$J,DFN,""RESULTS"")") 153 155 D PUSH^C0CXPATH(TAB,"EXTRACT;C0CPROC;//ContinuityOfCareRecord/Body/Procedures;^TMP(""C0CCCR"",$J,DFN,""PROCEDURES"")") -
ccr/trunk/p/C0CMXP.m
r653 r713 21 21 ; 22 22 INITXPF(ARY) ;INITIAL XML/XPATH FILE ARRAY 23 ; 23 ; DON'T USE THIS ONE ... USE INITFARY^C0CSOAP("FARY") INSTEAD 24 D INITFARY^C0CSOAP(ARY) ; 24 25 S @ARY@("XML FILE NUMBER")=178.101 25 26 S @ARY@("XML SOURCE FIELD")=2.1 … … 32 33 ; 33 34 S C0CXPF=@ARY@("XML FILE NUMBER") 34 S C0CXFLD=@ARY@("XML SOURCE FIELD")35 S C0CXTFLD=@ARY@(" XML TEMPLATE FIELD")36 S C0CXPBF=@ARY@(" XPATH BINDING SUBFILE")37 S C0CRDUXF=@ARY@(" REDUX FIELD")35 S C0CXFLD=@ARY@("XML") 36 S C0CXTFLD=@ARY@("TEMPLATE XML") 37 S C0CXPBF=@ARY@("BINDING SUBFILE NUMBER") 38 S C0CRDUXF=@ARY@("XPATH REDUCTION STRING") 38 39 Q 39 40 ; … … 89 90 Q 90 91 ; 91 COMPILE( INTID,UFARY) ; COMPILES AN XML TEMPLATE AND GENERATES XPATH BINDINGS92 COMPILE(TID,UFARY) ; COMPILES AN XML TEMPLATE AND GENERATES XPATH BINDINGS 92 93 ; UFARY IF SPECIFIED WILL REDIRECT THE XML FILE TO USE 93 94 ; INTID IS THE IEN OF THE RECORD TO USE IN THE XML FILE … … 96 97 ; WILL BE POPULATED TO THE XPATH BINDINGS SUBFILE AS .01 97 98 I '$D(UFARY) D ; 98 . S UFARY="UFARY" ; FILE ARRAY 99 . D INITXPF("UFARY") ;IF FILE ARRAY NOT PASSED, INITIALIZE 99 . S UFARY="DEFFARY" ; FILE ARRAY 100 . ;D INITXPF("UFARY") ;IF FILE ARRAY NOT PASSED, INITIALIZE 101 . D INITFARY^C0CSOAP(UFARY) 100 102 D SETXPF(UFARY) ;SET FILE VARIABLES 101 B 103 I +TID=0 S INTID=$$RESTID^C0CSOAP(TID,UFARY) 104 E S INTID=TID 105 ;B 102 106 ;N C0CXML,C0CREDUX,C0CTEMP,C0CIDX 103 107 D GETXML("C0CXML",INTID,UFARY) -
ccr/trunk/p/C0CRIMA.m
r693 r713 459 459 N ZZGI 460 460 I WHICH="ALL" D ; VARIABLES FROM ALL SECTIONS 461 . F ZZGI="HEADER","PROBLEMS","VITALS","MEDS","ALERTS","RESULTS","IMMUNE" D ;461 . F ZZGI="HEADER","PROBLEMS","VITALS","MEDS","ALERTS","RESULTS","IMMUNE","PROCEDURES" D ; 462 462 . . D ZGVWRK(ZZGI) ; DO EACH SECTION 463 463 . . I $G(DEBUG)'="" W "DID ",ZZGI,!
Note:
See TracChangeset
for help on using the changeset viewer.