Changeset 666 for ccr/trunk/p/C0CRNF.m


Ignore:
Timestamp:
Jan 10, 2010, 1:13:34 PM (15 years ago)
Author:
George Lilly
Message:

updates to ALERT AND RNF for eRx

File:
1 edited

Legend:

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

    r662 r666  
    340340 ; ZOUT IS NOT INITIALIZED, SO THE TABLE WILL GO AT THE END
    341341 ; THE TABLE WILL BE IN NV FORMAT, ROWS ARE NAMES COLUMNS ARE VALUES
    342  D PUSH^C0CXPATH(ZOUT,"<table>")
     342 D PUSH^C0CXPATH(ZOUT,"<table border=""1"">")
    343343 N ZI,ZJ,ZV,ZN S ZI="" S ZJ=0
    344344 D PUSH^C0CXPATH(ZOUT,"<tr><td></td>") ;begin row and leave a blank col
    345345 F  S ZJ=$O(@ZIN@("V",ZJ)) Q:+ZJ=0  D  ; FOR EACH OCCURANCE
    346346 . S ZV="<td>"_ZJ_"</td>" ; OCCURANCE AS COLUMNS HEADER
     347 . D PUSH^C0CXPATH(ZOUT,ZV)
    347348 D PUSH^C0CXPATH(ZOUT,"</tr>") ;end of first row
     349 S ZI=""
    348350 F  S ZI=$O(@ZIN@("F",ZI)) Q:ZI=""  D  ; FOR EACH VARIABLE
    349351 . S ZN="<tr><td>"_ZI_"</td>" ; VARIABLE NAME IN FIRST COLUMN
     352 . D PUSH^C0CXPATH(ZOUT,ZN)
    350353 . S ZJ=0 ;RESET TO DO IT AGAIN
    351354 . F  S ZJ=$O(@ZIN@("V",ZJ)) Q:+ZJ=0  D  ; FOR EACH OCCURANCE
     
    360363 ; ZOUT IS NOT INITIALIZED, SO THE TABLE WILL GO AT THE END
    361364 ; THE TABLE WILL BE IN VN FORMAT, ROWS ARE VALUES COLUMNS ARE NAMES
    362  D PUSH^C0CXPATH(ZOUT,"<table>")
     365 D PUSH^C0CXPATH(ZOUT,"<table border=""1"">")
    363366 N ZI,ZJ S ZI="" S ZJ=0
    364367 D PUSH^C0CXPATH(ZOUT,"<tr>") ;new row for column headers
Note: See TracChangeset for help on using the changeset viewer.