Changeset 713 for ccr/trunk


Ignore:
Timestamp:
Feb 26, 2010, 9:53:06 AM (15 years ago)
Author:
George Lilly
Message:

updates to web services support

Location:
ccr/trunk/p
Files:
2 added
3 edited

Legend:

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

    r690 r713  
    8484 I '$D(C0CNRPC) S ^TMP("C0CRPC",$H,"CALL",DFN)=""
    8585 D SET^C0CPARMS(CCRPARMS) ;SET PARAMETERS WITH CCRPARMS AS OVERRIDES
     86 I '$D(TESTVIT) S TESTVIT=0 ; FLAG FOR TESTING VITALS
    8687 I '$D(TESTLAB) S TESTLAB=0 ; FLAG FOR TESTING RESULTS SECTION
    8788 I '$D(TESTALERT) S TESTALERT=1 ; FLAG FOR TESTING ALERTS SECTION
     
    149150 D PUSH^C0CXPATH(TAB,"EXTRACT;C0CMED;//ContinuityOfCareRecord/Body/Medications;^TMP(""C0CCCR"",$J,DFN,""MEDICATIONS"")")
    150151 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"")")
    152154 D PUSH^C0CXPATH(TAB,"MAP;C0CLABS;//ContinuityOfCareRecord/Body/Results;^TMP(""C0CCCR"",$J,DFN,""RESULTS"")")
    153155 D PUSH^C0CXPATH(TAB,"EXTRACT;C0CPROC;//ContinuityOfCareRecord/Body/Procedures;^TMP(""C0CCCR"",$J,DFN,""PROCEDURES"")")
  • ccr/trunk/p/C0CMXP.m

    r653 r713  
    2121 ;
    2222INITXPF(ARY) ;INITIAL XML/XPATH FILE ARRAY
    23  ;
     23 ; DON'T USE THIS ONE ... USE INITFARY^C0CSOAP("FARY") INSTEAD
     24 D INITFARY^C0CSOAP(ARY) ;
    2425 S @ARY@("XML FILE NUMBER")=178.101
    2526 S @ARY@("XML SOURCE FIELD")=2.1
     
    3233 ;
    3334 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")
    3839 Q
    3940 ;
     
    8990 Q
    9091 ;
    91 COMPILE(INTID,UFARY) ; COMPILES AN XML TEMPLATE AND GENERATES XPATH BINDINGS
     92COMPILE(TID,UFARY) ; COMPILES AN XML TEMPLATE AND GENERATES XPATH BINDINGS
    9293 ; UFARY IF SPECIFIED WILL REDIRECT THE XML FILE TO USE
    9394 ; INTID IS THE IEN OF THE RECORD TO USE IN THE XML FILE
     
    9697 ; WILL BE POPULATED TO THE XPATH BINDINGS SUBFILE AS .01
    9798 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)
    100102 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
    102106 ;N C0CXML,C0CREDUX,C0CTEMP,C0CIDX
    103107 D GETXML("C0CXML",INTID,UFARY)
  • ccr/trunk/p/C0CRIMA.m

    r693 r713  
    459459 N ZZGI
    460460 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  ;
    462462 . . D ZGVWRK(ZZGI) ; DO EACH SECTION
    463463 . . I $G(DEBUG)'="" W "DID ",ZZGI,!
Note: See TracChangeset for help on using the changeset viewer.