/sage/demos/medical/documents.sdf
 1 SplitPane {
 2   name: "documentsPane"
 3   splitProportions { 0.33 }
 4   splitOrientation: "left_to_right"
 5   regions {
 6     {
 7       name: "documentsPaneTop"
 8       viewer {
 9         SplitPane {
10           splitOrientation: "top_to_bottom"
11           regions {
12             {
13               viewer {
14                 Table {
15                   titleLocation: "top_left"
16                   alternatingHighlightType: "row"
17                   alternatingHighlightColor: "clinicalBackground+18"
18                   headerBgColor: "clinicalBackground"
19                   border: "shadow" [ thickness="7" ]
20                   gridLineType: "both"
21                   selectionMode: "single"
22                   boldColumnHeaders: "true"
23                   name: "documentsTable"
24                   columns {
25                     {width: 20!; headerIcon: "resource:Sage.icon.paperclip" }
26                     {
27                       title: "Reference Date"
28                       valueType: "date_time_type"
29                       width: "10ch"
30                       valueContext: "MMM dd, yyyy HH:mm"
31                     }
32                     {title: "Description" }
33                   }
34                   dataURL: "data/documents_list.txt"
35                 }
36               }
37             }
38             {
39               viewer {
40                 TabPane {
41                   name: "documentsTabPane"
42                   tabPosition: "top"
43                   closeButton: "none"
44                   selectedIndex: 3
45                   border: "shadow"
46                   bgColor: "clinicalBackground+10|clinicalBackground+5"
47                   tabBgColor: "clinicalBackground+10|clinicalBackground+5"
48                   tabStyle: "office2003"
49                   tabAreaMargin { top: 2; left: 0; bottom: 0; right: 0 }
50                   tabs {
51                     {
52                       name: "documentsCompose"
53                       title: "Compose"
54                       dataURL: "documents/compose.sdf"
55                     }
56                     {name: "documentsProblems"; title: "Problems" }
57                     {name: "documentsOrders"; title: "Orders" }
58                     {
59                       name: "documentsQref"
60                       title: "QRef"
61                       dataURL: "documents/qref.sdf"
62                     }
63                   }
64                 }
65               }
66             }
67           }
68         }
69       }
70     }
71     {name: "documentsPaneBottom"; dataURL: "documents/reader.sdf" }
72   }
73 }
74
75
76