| demos\medical\patient_lookup_window.sdf |
1 Form { 2 rows: "9" 3 contentPadding { top: "4"; left: "4"; bottom: "4"; right: "4" } 4 widgets { 5 { 6 Line { leftLabel: "Browse/Search" } 7 } 8 { 9 GroupBox { 10 title: "Search" 11 columns: "6" 12 rows: "2" 13 contentPadding { top: "4"; left: "4"; bottom: "4"; right: "4" } 14 widgets { 15 { 16 TextField { 17 name: "lastName" 18 title: "Last Name" 19 minCharacters: "2" 20 maxCharacters: "30" 21 bounds { width: "12ch"; x: "1"; y: "0" } 22 } 23 } 24 { 25 TextField { 26 name: "firstName" 27 title: "First Name" 28 minCharacters: "1" 29 maxCharacters: "20" 30 bounds { width: "12ch"; x: "3"; y: "0" } 31 } 32 } 33 { 34 TextField { 35 name: "memberID" 36 title: "Member ID" 37 bounds { x: "1"; y: "1"; width: "12ch" } 38 } 39 } 40 { 41 TextField { 42 name: "accountNumber" 43 title: "Account #:" 44 bounds { x: "3"; y: "1"; width: "12ch" } 45 } 46 } 47 { 48 PushButton { 49 value: "Search" 50 icon: "resource:Sage.icon.search" 51 buttonStyle: "toolbox" 52 horizontalAlign: "full" 53 bounds { x: "5"; y: "0" } 54 } 55 } 56 { 57 PushButton { 58 value: "Clear" 59 icon: "resource:Sage.icon.delete" 60 horizontalAlign: "full" 61 buttonStyle: "toolbox" 62 bounds { x: "5"; y: "1" } 63 } 64 } 65 } 66 } 67 } 68 { 69 GroupBox { 70 contentPadding { top: "4"; left: "4"; bottom: "4"; right: "4" } 71 title: "Browse by last initial" 72 widgets { 73 { 74 ToolBar { 75 buttonShowTextDefault: true 76 widgets { 77 { 78 PushButton { value: "a"} 79 } 80 { 81 PushButton { value: "b"} 82 } 83 { 84 PushButton { value: "c"} 85 } 86 { 87 PushButton { value: "d"} 88 } 89 { 90 PushButton { value: "e"} 91 } 92 { 93 PushButton { value: "f"} 94 } 95 { 96 PushButton { value: "g"} 97 } 98 { 99 PushButton { value: "h"} 100 } 101 { 102 PushButton { value: "i"} 103 } 104 { 105 PushButton { value: "j"} 106 } 107 { 108 PushButton { value: "k"} 109 } 110 { 111 PushButton { value: "l"} 112 } 113 { 114 PushButton { value: "m" } 115 } 116 { 117 PushButton { value: "n"} 118 } 119 { 120 PushButton { value: "o"} 121 } 122 { 123 PushButton { value: "p"} 124 } 125 { 126 PushButton { value: "q"} 127 } 128 { 129 PushButton { value: "r"} 130 } 131 { 132 PushButton { value: "s"} 133 } 134 { 135 PushButton { value: "t"} 136 } 137 { 138 PushButton { value: "u"} 139 } 140 { 141 PushButton { value: "v"} 142 } 143 { 144 PushButton { value: "w"} 145 } 146 { 147 PushButton { value: "x"} 148 } 149 { 150 PushButton { value: "y"} 151 } 152 { 153 PushButton { value: "z"} 154 } 155 } 156 horizontalAlign: "full" 157 borders: "etched_lowered" 158 } 159 } 160 } 161 } 162 } 163 { 164 Line { leftLabel: "Results" } 165 } 166 { 167 Table { 168 bounds { height: "20ln" } 169 alternatingHighlightType: "row" 170 alternatingHighlightColor: "defaultBackground+18" 171 borders: "shadow" 172 gridLineType: "both" 173 autoResizeMode: "resize_last_column" 174 selectionMode: "single" 175 boldColumnHeaders: "true" 176 columns { 177 {title: "Patient Name"; width: "25ch" } 178 {title: "Member ID"; width: "10ch" } 179 { 180 title: "Date of Birth" 181 width: "11ch" 182 valueType: "date_time_type" 183 valueContext: "MM/dd/yyyy" 184 } 185 } 186 scrollPane { 187 fixedColumnFooter { 188 ToolBar { 189 contentPadding { top: "4"; left: "4"; bottom: "4"; right: "4" } 190 widgets { 191 { 192 TextField { 193 bounds { x: "1"; width: "30ch" } 194 titleLocation: "center_left" 195 title: "Filter:" 196 } 197 } 198 } 199 } 200 } 201 } 202 } 203 } 204 { 205 GroupBox { 206 borders: "none" 207 columns: "2" 208 horizontalAlign: "center" 209 widgets { 210 { 211 PushButton { 212 name: "okButton" 213 value: "Ok" 214 bounds { width: "55dlu"; x: "0" } 215 } [ onAction="window.close()" ] 216 } 217 { 218 PushButton { 219 name: "cancelButton" 220 value: "Cancel" 221 bounds { width: "55dlu"; x: "1" } 222 } [ onAction="window.close()" ] 223 } 224 } 225 } 226 } 227 } 228 } 229 230 231 232