[934] | 1 | Release notes for BMX 2.2 - released September 7, 2010
|
---|
| 2 |
|
---|
| 3 | *** IMPORTANT ***
|
---|
| 4 | DO NOT INSTALL ON RPMS. THIS RELEASE IS FOR VISTA SYSTEMS!
|
---|
| 5 | *****************
|
---|
| 6 |
|
---|
| 7 | BMX.net is a broker and a software library that allows programs in .net to communicate with Vista. BMX.net support regular RPC's, SQL statements, and ADO.net updatable datasets. The user is referred to Indian Health Service's documentation for BMX:
|
---|
| 8 |
|
---|
| 9 | - Installation manual for Cache 5.x and above: http://www.ihs.gov/Cio/RPMS/PackageDocs/bmx/bmx_020i.pdf
|
---|
| 10 | - Programming manual: http://www.ihs.gov/Cio/RPMS/PackageDocs/bmx/bmx_020u.pdf
|
---|
| 11 | - Technical manual: http://www.ihs.gov/Cio/RPMS/PackageDocs/bmx/bmx_020t.pdf
|
---|
| 12 |
|
---|
| 13 | Release 2.1 adds support for GT.M.
|
---|
| 14 | Release 2.2 fixes several bugs:
|
---|
| 15 | - Selection of division works properly now with BMXNet22.dll
|
---|
| 16 | - Timeouts are better now so it won't leave processes hanging
|
---|
| 17 | - Process name is now set upon connection
|
---|
| 18 |
|
---|
| 19 | *** IMPORTANT ***
|
---|
| 20 | BMX support for GT.M uses xinetd listeners; not listeners managed by the Mumps environment. As such, the installation instructions provided by IHS won't work for GT.M.
|
---|
| 21 | *****************
|
---|
| 22 |
|
---|
| 23 | Pre-requisites:
|
---|
| 24 | Fileman v22
|
---|
| 25 | Kernel v8
|
---|
| 26 | XB/ZIB v3 or above
|
---|
| 27 | XWB 1.1 patch 100001 (optional - to enable a unified listener for all brokers)
|
---|
| 28 |
|
---|
| 29 | Pre-requisites are examined by the environment check routine.
|
---|
| 30 |
|
---|
| 31 | Installation Instructions
|
---|
| 32 | =========================
|
---|
| 33 | Installation of BMX.net 2.2 consists of 6 steps.
|
---|
| 34 | 1. Install BMX in Vista
|
---|
| 35 | 2. Install Xinetd
|
---|
| 36 | 3. Configure listener in Xinetd
|
---|
| 37 | 4. Configure shell script that that is called by Xinetd
|
---|
| 38 | 5. Users who don't hold XUPROGMODE will need BMXPRC assigned as an option. If you assign it as part of their primary menu, make sure to rebuild the menu before proceeding.
|
---|
| 39 | 6. (optional) Install XWB 1.1 patch 100001
|
---|
| 40 |
|
---|
| 41 | 1. Install BMX in Vista (example; actual version will differ)
|
---|
| 42 | =========================
|
---|
| 43 | GTM>s DUZ=9 D ^XUP
|
---|
| 44 |
|
---|
| 45 | Setting up programmer environment
|
---|
| 46 | This is a TEST account.
|
---|
| 47 |
|
---|
| 48 | Terminal Type set to: C-VT100
|
---|
| 49 |
|
---|
| 50 | You have 46 new messages.
|
---|
| 51 | Select OPTION NAME: xpd main Kernel Installation & Distribution System
|
---|
| 52 |
|
---|
| 53 |
|
---|
| 54 | Edits and Distribution ...
|
---|
| 55 | Utilities ...
|
---|
| 56 | Installation ...
|
---|
| 57 | Patch Monitor Main Menu ...
|
---|
| 58 |
|
---|
| 59 | Select Kernel Installation & Distribution System Option: INStallation
|
---|
| 60 |
|
---|
| 61 |
|
---|
| 62 | 1 Load a Distribution
|
---|
| 63 | 2 Verify Checksums in Transport Global
|
---|
| 64 | 3 Print Transport Global
|
---|
| 65 | 4 Compare Transport Global to Current System
|
---|
| 66 | 5 Backup a Transport Global
|
---|
| 67 | 6 Install Package(s)
|
---|
| 68 | Restart Install of Package(s)
|
---|
| 69 | Unload a Distribution
|
---|
| 70 | Checksum/2nd Line Lists
|
---|
| 71 | Directory Listing to MailMan
|
---|
| 72 | Find/Delete File in Download Directory
|
---|
| 73 |
|
---|
| 74 |
|
---|
| 75 | Select Installation Option: 1 Load a Distribution
|
---|
| 76 | Enter a Host File: /opt/wv/k/bmx0210.k
|
---|
| 77 |
|
---|
| 78 | KIDS Distribution saved on Jul 22, 2009@13:07:52
|
---|
| 79 | Comment: BMX.net 2.1; add support for GT.M
|
---|
| 80 |
|
---|
| 81 | This Distribution contains Transport Globals for the following Package(s):
|
---|
| 82 | BMX 2.1
|
---|
| 83 | Distribution OK!
|
---|
| 84 |
|
---|
| 85 | Want to Continue with Load? YES//
|
---|
| 86 | Loading Distribution...
|
---|
| 87 |
|
---|
| 88 | Build BMX 2.1 has an Enviromental Check Routine
|
---|
| 89 | Want to RUN the Environment Check Routine? YES//
|
---|
| 90 | BMX 2.1
|
---|
| 91 | Will first run the Environment Check Routine, BMXE01
|
---|
| 92 |
|
---|
| 93 |
|
---|
| 94 | Hello, FIVE COORDINATOR
|
---|
| 95 |
|
---|
| 96 | Checking Environment for Install of Version 2.0 of BMX.
|
---|
| 97 |
|
---|
| 98 | Need at least FileMan 22.....FileMan 22.0 Present
|
---|
| 99 |
|
---|
| 100 | Need at least Kernel 8.0.....Kernel 8.0 Present
|
---|
| 101 |
|
---|
| 102 | Need at least XB/ZIB 3.....XB/ZIB 4.0 Present
|
---|
| 103 | Use INSTALL NAME: BMX 2.1 to install this Distribution.
|
---|
| 104 |
|
---|
| 105 |
|
---|
| 106 |
|
---|
| 107 | 1 Load a Distribution
|
---|
| 108 | 2 Verify Checksums in Transport Global
|
---|
| 109 | 3 Print Transport Global
|
---|
| 110 | 4 Compare Transport Global to Current System
|
---|
| 111 | 5 Backup a Transport Global
|
---|
| 112 | 6 Install Package(s)
|
---|
| 113 | Restart Install of Package(s)
|
---|
| 114 | Unload a Distribution
|
---|
| 115 | Checksum/2nd Line Lists
|
---|
| 116 | Directory Listing to MailMan
|
---|
| 117 | Find/Delete File in Download Directory
|
---|
| 118 |
|
---|
| 119 | Select Installation Option: 6 Install Package(s)
|
---|
| 120 | Select INSTALL NAME: BMX 2.1 Loaded from Distribution Loaded from Dis
|
---|
| 121 | tribution 7/22/09@13:22:57
|
---|
| 122 | => BMX.net 2.1; add support for GT.M ;Created on Jul 22, 2009@13:07:52
|
---|
| 123 |
|
---|
| 124 | This Distribution was loaded on Jul 22, 2009@13:22:57 with header of
|
---|
| 125 | BMX.net 2.1; add support for GT.M ;Created on Jul 22, 2009@13:07:52
|
---|
| 126 | It consisted of the following Install(s):
|
---|
| 127 | BMX 2.1
|
---|
| 128 |
|
---|
| 129 | Checking BMX 2.1 for overlap with VOE 1.0 ...... OK
|
---|
| 130 | No overlap found
|
---|
| 131 |
|
---|
| 132 |
|
---|
| 133 | Checking BMX 2.1 for overlap with VOE 1.1 ...... OK
|
---|
| 134 | No overlap found
|
---|
| 135 |
|
---|
| 136 |
|
---|
| 137 | Checking BMX 2.1 for overlap with NO HOME 1.0 ...... OK
|
---|
| 138 | No overlap found
|
---|
| 139 |
|
---|
| 140 | Checking Install for Package BMX 2.1
|
---|
| 141 | Will first run the Environment Check Routine, BMXE01
|
---|
| 142 |
|
---|
| 143 |
|
---|
| 144 | Hello, FIVE COORDINATOR
|
---|
| 145 |
|
---|
| 146 | Checking Environment for Install of Version 2.0 of BMX.
|
---|
| 147 |
|
---|
| 148 | Need at least FileMan 22.....FileMan 22.0 Present
|
---|
| 149 |
|
---|
| 150 | Need at least Kernel 8.0.....Kernel 8.0 Present
|
---|
| 151 |
|
---|
| 152 | Need at least XB/ZIB 3.....XB/ZIB 4.0 Present
|
---|
| 153 |
|
---|
| 154 | Install Questions for BMX 2.1
|
---|
| 155 |
|
---|
| 156 | Incoming Files:
|
---|
| 157 |
|
---|
| 158 |
|
---|
| 159 | 90093.1 BMX USER
|
---|
| 160 |
|
---|
| 161 |
|
---|
| 162 | 90093.2 BMX APPLICATION
|
---|
| 163 |
|
---|
| 164 |
|
---|
| 165 | 90093.5 BMXNET MONITOR
|
---|
| 166 |
|
---|
| 167 |
|
---|
| 168 | 90093.9 BMX GUI REPORT
|
---|
| 169 |
|
---|
| 170 |
|
---|
| 171 | 90093.98 BMX ADO LOG
|
---|
| 172 |
|
---|
| 173 |
|
---|
| 174 | 90093.99 BMX ADO SCHEMA (including data)
|
---|
| 175 |
|
---|
| 176 | Want KIDS to Rebuild Menu Trees Upon Completion of Install? NO//
|
---|
| 177 |
|
---|
| 178 |
|
---|
| 179 | Want KIDS to INHIBIT LOGONs during the install? NO//
|
---|
| 180 | Want to DISABLE Scheduled Options, Menu Options, and Protocols? NO//
|
---|
| 181 |
|
---|
| 182 | Enter the Device you want to print the Install messages.
|
---|
| 183 | Enter a '^' to abort the install.
|
---|
| 184 |
|
---|
| 185 | DEVICE: HOME// ;80;999999
|
---|
| 186 |
|
---|
| 187 | <compilation errors pass by -- that's normal>
|
---|
| 188 |
|
---|
| 189 | Install Completed
|
---|
| 190 |
|
---|
| 191 | 2. Install Xinetd
|
---|
| 192 | =================
|
---|
| 193 | User is referred to their OS's documentation
|
---|
| 194 |
|
---|
| 195 | 3. Configure listener in Xinetd
|
---|
| 196 | ===============================
|
---|
| 197 | Create a file in /etc/xinetd.d, with whatever name you like. I called mine BMX10502, because that's the port I am going to use. Here are the contents (don't include my comments)
|
---|
| 198 |
|
---|
| 199 | service BMX10502
|
---|
| 200 | {
|
---|
| 201 | socket_type = stream
|
---|
| 202 | type = UNLISTED
|
---|
| 203 | port = 10502 (that can be whatever you want it to be)
|
---|
| 204 | protocol = tcp
|
---|
| 205 | user = xxxxxxxx (that's a unix user who has access to run GT.M)
|
---|
| 206 | wait = no
|
---|
| 207 | disable = no
|
---|
| 208 | server = /bin/sh
|
---|
| 209 | server_args = /opt/wv2/BMX10502 (that's the location of the script that this listener will launch when it gets a TCP call on 10502)
|
---|
| 210 | }
|
---|
| 211 |
|
---|
| 212 | 4. Configure shell script that that is called by Xinetd
|
---|
| 213 | =======================================================
|
---|
| 214 | Create a script that looks like this.
|
---|
| 215 | The essential lines are the ones defining gtm_dist, gtmgbldir, gtmroutines, and $gtm_dist/mumps - run XINETD^BMXMON. XINETD^BMXMON is the entry point responsible for receiving TCP calls from XINETD.
|
---|
| 216 |
|
---|
| 217 | #!/bin/bash
|
---|
| 218 | # BMX Broker started by Xinet.d
|
---|
| 219 | cd /opt/wv2
|
---|
| 220 | date >> /opt/wv2/bmx.log
|
---|
| 221 |
|
---|
| 222 | # Get GT.M profile
|
---|
| 223 | export vista_home="/opt/wv2"
|
---|
| 224 | export gtm_dist="/opt/gtm"
|
---|
| 225 | export gtmgbldir="$vista_home/g/mumps.gld"
|
---|
| 226 | export gtmroutines="$vista_home/o($vista_home/p) $vista_home/o($vista_home/r) $gtm_dist"
|
---|
| 227 |
|
---|
| 228 | # Run
|
---|
| 229 | $gtm_dist/mumps -run XINETD^BMXMON 2>>/opt/wv2/bmx.log
|
---|
| 230 | exit
|
---|
| 231 |
|
---|
| 232 | Note: If you install XWB 1.1 patch 100001, you can use the CPRS listener. XWBTCPM will decide which protocol it is and route it accordingly.
|
---|
| 233 |
|
---|
| 234 | 5. Add BMXRPC to the user's menu
|
---|
| 235 | ================================
|
---|
| 236 | GTM>D P^DI
|
---|
| 237 |
|
---|
| 238 |
|
---|
| 239 | VA FileMan 22.0
|
---|
| 240 |
|
---|
| 241 |
|
---|
| 242 | Select OPTION: ENTER OR EDIT FILE ENTRIES
|
---|
| 243 |
|
---|
| 244 |
|
---|
| 245 |
|
---|
| 246 | INPUT TO WHAT FILE: PACKAGE// 200 NEW PERSON (77 entries)
|
---|
| 247 | EDIT WHICH FIELD: ALL// SECONDARY MENU OPTIONS (multiple)
|
---|
| 248 | EDIT WHICH SECONDARY MENU OPTIONS SUB-FIELD: ALL// .01 SECONDARY MENU OPTION
|
---|
| 249 | S
|
---|
| 250 | THEN EDIT SECONDARY MENU OPTIONS SUB-FIELD:
|
---|
| 251 | THEN EDIT FIELD:
|
---|
| 252 |
|
---|
| 253 |
|
---|
| 254 | Select NEW PERSON NAME: CLERK,EIGHT Medical Clerk
|
---|
| 255 | Select SECONDARY MENU OPTIONS: OR CPRS GUI CHART//
|
---|
| 256 | SECONDARY MENU OPTIONS: OR CPRS GUI CHART//
|
---|
| 257 | Select SECONDARY MENU OPTIONS: BMXRPC BMX Procedure Calls
|
---|
| 258 | Are you adding 'BMXRPC' as a new SECONDARY MENU OPTIONS (the 2ND for this NEW
|
---|
| 259 | PERSON)? No// Y (Yes)
|
---|
| 260 | Select SECONDARY MENU OPTIONS:
|
---|
| 261 |
|
---|
| 262 | 6. (optional) Install XWB 1.1 patch 100001
|
---|
| 263 | ==========================================
|
---|
| 264 | This patch allows you to use the CPRS listener for BMX.
|
---|
| 265 |
|
---|
| 266 | GTM>d ^XPDIL
|
---|
| 267 |
|
---|
| 268 | Enter a Host File: /opt/wv/k/xwb0110_100001.k
|
---|
| 269 |
|
---|
| 270 | KIDS Distribution saved on Jul 22, 2009@13:55:06
|
---|
| 271 | Comment: XWB patch to support BMX.net calls
|
---|
| 272 |
|
---|
| 273 | This Distribution contains Transport Globals for the following Package(s):
|
---|
| 274 | XWB*1.1*100001
|
---|
| 275 | Distribution OK!
|
---|
| 276 |
|
---|
| 277 | Want to Continue with Load? YES//
|
---|
| 278 | Loading Distribution...
|
---|
| 279 |
|
---|
| 280 | XWB*1.1*100001
|
---|
| 281 | Use INSTALL NAME: XWB*1.1*100001 to install this Distribution.
|
---|
| 282 |
|
---|
| 283 | GTM>d ^XPDI
|
---|
| 284 |
|
---|
| 285 | Select INSTALL NAME: XWB*1.1*100001 Loaded from Distribution Loaded f
|
---|
| 286 | rom Distribution 7/22/09@13:56:39
|
---|
| 287 | => XWB patch to support BMX.net calls ;Created on Jul 22, 2009@13:55:06
|
---|
| 288 |
|
---|
| 289 | This Distribution was loaded on Jul 22, 2009@13:56:39 with header of
|
---|
| 290 | XWB patch to support BMX.net calls ;Created on Jul 22, 2009@13:55:06
|
---|
| 291 | It consisted of the following Install(s):
|
---|
| 292 | XWB*1.1*100001
|
---|
| 293 |
|
---|
| 294 | Checking XWB*1.1*100001 for overlap with VOE 1.0 .. OK
|
---|
| 295 | No overlap found
|
---|
| 296 |
|
---|
| 297 | Install Completed.
|
---|
| 298 |
|
---|
| 299 | TESTING BMX.net
|
---|
| 300 | ===============
|
---|
| 301 | In the package, there is a C# file called bmxTesterForVista_0200.cs and a .Net dll called BMXNet20.dll.
|
---|
| 302 | To compile the file on Mono, use the generics Mono C# compiler (gmcs), referencing BMXNet20.dll and System.Data.dll. To compile on Windows, use csc with the same arguments.
|
---|
| 303 |
|
---|
| 304 | gmcs /r:BMXNet20.dll,System.Data.dll bmxTesterForVista_0200.cs
|
---|
| 305 |
|
---|
| 306 | Then you can execute it:
|
---|
| 307 |
|
---|
| 308 | mono bmxTesterForVista_0200.exe
|
---|
| 309 | Enter IP Address of Server: 127.0.0.1
|
---|
| 310 | Enter the listener port: 9260
|
---|
| 311 | Enter your Access Code: vistais#1
|
---|
| 312 | Enter your Verify Code: catdog.22
|
---|
| 313 | Connected: True DUZ: 47
|
---|
| 314 | Simple RPC: User Name: CLERK,EIGHT
|
---|
| 315 | CPRS RPC with Parameters:
|
---|
| 316 | 14^Administrator,System
|
---|
| 317 | 65^Analyst,One^- ANALYST
|
---|
| 318 | 66^Analyst,Three^- ANALYST
|
---|
| 319 | 69^Analyst,Two^- ANALYST
|
---|
| 320 | 47^Clerk,Eight^- Medical Clerk
|
---|
| 321 | 50^Clerk,Eleven^- Medical Clerk
|
---|
| 322 | 54^Clerk,Fifteen^- Medical Clerk
|
---|
| 323 | 44^Clerk,Five^- Medical Clerk
|
---|
| 324 | 43^Clerk,Four^- Medical Clerk
|
---|
| 325 | 53^Clerk,Fourteen^- Medical Clerk
|
---|
| 326 | 48^Clerk,Nine^- Medical Clerk
|
---|
| 327 | 46^Clerk,Seven^- Medical Clerk
|
---|
| 328 | 45^Clerk,Six^- Medical Clerk
|
---|
| 329 | 49^Clerk,Ten^- Medical Clerk
|
---|
| 330 | 52^Clerk,Thirteen^- Medical Clerk
|
---|
| 331 | 42^Clerk,Three^- Medical Clerk
|
---|
| 332 | 51^Clerk,Twelve^- Medical Clerk
|
---|
| 333 | 41^Clerk,Two^- Medical Clerk
|
---|
| 334 | 58^Coordinator,Clinical^- CLINICAL COORDINATOR
|
---|
| 335 | 9^Coordinator,Five^- ANALYST
|
---|
| 336 | 3^Coordinator,Four
|
---|
| 337 | 2^Coordinator,Nine
|
---|
| 338 | 63^Coordinator,One^- ANALYST
|
---|
| 339 | 64^Coordinator,Seven
|
---|
| 340 | 60^Coordinator,Six^- CLINICAL COORDINATOR
|
---|
| 341 | 67^Coordinator,Three^- ANALYST
|
---|
| 342 | 68^Coordinator,Two^- ANALYST
|
---|
| 343 | 21^Doctor,Eight^- Physician
|
---|
| 344 | 24^Doctor,Eleven^- Physician
|
---|
| 345 | 18^Doctor,Five^- Physician
|
---|
| 346 | 17^Doctor,Four^- Physician
|
---|
| 347 | 22^Doctor,Nine^- Physician
|
---|
| 348 | 11^Doctor,One^- Physician
|
---|
| 349 | 20^Doctor,Seven^- Physician
|
---|
| 350 | 19^Doctor,Six^- Physician
|
---|
| 351 | 23^Doctor,Ten^- Physician
|
---|
| 352 | 16^Doctor,Three^- Physician
|
---|
| 353 | 26^Doctor,Twelve^- Physician
|
---|
| 354 | 15^Doctor,Two^- Physician
|
---|
| 355 | 62^Lab,Superuser^- ANALYST
|
---|
| 356 | 8^Manager,System^- System Manager
|
---|
| 357 | 33^Nurse,Eight^- Nurse
|
---|
| 358 | 36^Nurse,Eleven^- Nurse
|
---|
| 359 | 40^Nurse,Fifteen^- Nurse
|
---|
| 360 |
|
---|
| 361 |
|
---|
| 362 | SQL Statement
|
---|
| 363 | ZZ PATIENT,TEST ONE
|
---|
| 364 | FEMALE
|
---|
| 365 | 1/24/1945 12:00:00 AM
|
---|
| 366 | ZZ PATIENT,TEST THREE
|
---|
| 367 | MALE
|
---|
| 368 | 1/15/1968 12:00:00 AM
|
---|
| 369 | ZZ PATIENT,TEST TWO
|
---|
| 370 | MALE
|
---|
| 371 | 12/25/1957 12:00:00 AM
|
---|
| 372 |
|
---|
| 373 | BMX Schema RPC
|
---|
| 374 |
|
---|
| 375 | ZZ PATIENT,TEST ONEF1/24/1945 12:00:00 AM
|
---|
| 376 | ZZ PATIENT,TEST THREEM1/15/1968 12:00:00 AM
|
---|
| 377 | ZZ PATIENT,TEST TWOM12/25/1957 12:00:00 AM
|
---|
| 378 |
|
---|
| 379 | More complicated SQL
|
---|
| 380 |
|
---|
| 381 | NAMESTATEABBRAGE
|
---|
| 382 | ZZ PATIENT,TEST ONENEW YORKNY64
|
---|
| 383 | ZZ PATIENT,TEST THREEINDIANAIN41
|
---|
| 384 | ZZ PATIENT,TEST TWOKANSASKS51
|
---|
| 385 |
|
---|
| 386 | If this doesn't work, you will get error messages like this:
|
---|
| 387 | Unhandled Exception: IndianHealthService.BMXNet.BMXNetException: Connection refused at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remote_end) [0x00000]
|
---|
| 388 | at System.Net.Sockets.TcpClient.Connect (System.Net.IPEndPoint remote_end_point) [0x00000]
|
---|
| 389 | at System.Net.Sockets.TcpClient.Connect (System.Net.IPAddress[] ipAddresses, Int32 port) [0x00000]
|
---|
| 390 | at IndianHealthService.BMXNet.BMXNetLib.a (System.String A_0) [0x00000]
|
---|
| 391 |
|
---|
| 392 | You may get Connection refused; connection timed out, not a valid access/verify code, verify code must be changed now, and User doesn't have access to Context BMXRPC, etc.
|
---|
| 393 |
|
---|