source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/IHS BMX Framework/IndianHealthService.BMXNet/bmxnet.xml@ 1172

Last change on this file since 1172 was 1146, checked in by Sam Habiel, 14 years ago

Initial Import of BMX4

File size: 112.2 KB
Line 
1<?xml version="1.0"?>
2<doc>
3 <assembly>
4 <name>BMXNET40</name>
5 </assembly>
6 <members>
7 <member name="T:IndianHealthService.BMXNet.Ado.DataTableFuture">
8 <summary>
9 DataTableFutures are created synchrounously when Async calls are made on a RemoteSession.
10 A DataTabelFuture is used to manage each async call and has a variety of methods to support
11 the relativelty long and dynamic lifecycle and an Async call.
12 </summary>
13 <remarks>
14 Beware that all return communications are not on the UI thread unless an InvokedControl
15 is specify.
16 </remarks>
17 </member>
18 <member name="M:IndianHealthService.BMXNet.Ado.DataTableFuture.Cancel">
19 <summary>
20 Method to cancel the Async call. This does not stop the server-side processing. The Aborted event
21 will be called immediately.
22 </summary>
23 </member>
24 <member name="M:IndianHealthService.BMXNet.Ado.DataTableFuture.PostFetch">
25 <summary>
26 If IsAutoFetchEnabled is false, then the results must be fetched synchrounously useding PostFetch().
27 Call PostFetch() once and check if HasData is true. If not true, there is was error related to the
28 async call.
29 </summary>
30 </member>
31 <member name="E:IndianHealthService.BMXNet.Ado.DataTableFuture.Returned">
32 <summary>
33 Triggered with the async returns, see DataTableFutureEventArgs to know if there
34 is a result waiting. It's very common to hook the Returned event after each Async call and
35 then unhook it when the Returned or Aborted calls return.
36 </summary>
37 </member>
38 <!-- Badly formed XML comment ignored for member "E:IndianHealthService.BMXNet.Ado.DataTableFuture.Aborted" -->
39 <member name="P:IndianHealthService.BMXNet.Ado.DataTableFuture.InvokedControl">
40 If the InvokedControl is set to a valid Form or Control object (non-displosed), the
41 DataTabletFuture will trigger events on the UI thread using Invoke()
42 </member>
43 <member name="P:IndianHealthService.BMXNet.Ado.DataTableFuture.IsAutoFetchEnabled">
44 <summary>
45 If set to true the result will be fetched before the Returned event is called, otherwise
46 the Returned event will be triggered and the application code needs to call PostFetch() to retrieve
47 the result. True by default.
48 </summary>
49 </member>
50 <member name="P:IndianHealthService.BMXNet.Ado.DataTableFuture.ErrorException">
51 <summary>
52 Access to any exceptions that occur during Async call.
53 </summary>
54 </member>
55 <member name="P:IndianHealthService.BMXNet.Ado.DataTableFuture.Result">
56 <summary>
57 The result table if any, or null.
58 </summary>
59 </member>
60 <member name="P:IndianHealthService.BMXNet.Ado.DataTableFuture.WasCancelled">
61 <summary>
62 Answer true if canceled. It's common that a dialog would allow the user to cancel the
63 Async call and the Dialog that is holding on the the Future will cancel the Future. Cancelling
64 the Future does not stop the server-side processing but when the server returns nothing will happen.
65 </summary>
66 </member>
67 <member name="P:IndianHealthService.BMXNet.Ado.DataTableFuture.HasTimedOut">
68 <summary>
69 Answer true if the Async call has timeed-out (a time-based version of Cancel)
70 </summary>
71 </member>
72 <member name="P:IndianHealthService.BMXNet.Ado.DataTableFuture.HasReturned">
73 <summary>
74 Answer true if the Async call has completed on the server and that a result is ready.
75 </summary>
76 </member>
77 <member name="P:IndianHealthService.BMXNet.Ado.DataTableFuture.HasData">
78 <summary>
79 Answer true if the data has been fetched from the server and is ready to be used by the application.
80 </summary>
81 </member>
82 <member name="P:IndianHealthService.BMXNet.Ado.DataTableFuture.PresentTime">
83 <summary>
84 The time the Future was created.
85 </summary>
86 </member>
87 <member name="P:IndianHealthService.BMXNet.Ado.DataTableFuture.FutureTime">
88 <summary>
89 The time the async call returned (the future)
90 </summary>
91 </member>
92 <member name="P:IndianHealthService.BMXNet.Ado.DataTableFuture.WaitTime">
93 <summary>
94 How long in milliseconds the Async call took to complete.
95 </summary>
96 </member>
97 <member name="P:IndianHealthService.BMXNet.Ado.DataTableFuture.MaxWaitTime">
98 <summary>
99 Number of seconds to wait for an async response before returning without a response.
100 </summary>
101 </member>
102 <member name="P:IndianHealthService.BMXNet.Ado.DataTableFuture.ResultDataSet">
103 <summary>
104 The data set the result data table is in.
105 </summary>
106 </member>
107 <member name="P:IndianHealthService.BMXNet.Ado.DataTableFuture.ResultAppContext">
108 <summary>
109 The AppContext that the async call was made with
110 </summary>
111 </member>
112 <member name="T:IndianHealthService.BMXNet.Services.BMXNetSessionConnectionOverAnotherSessionConnection">
113 <summary>
114 To test the BMXNetBroker class, we can use one instance of BMXNetBroker
115 to be the authenicated transport and use the receiver to be the
116 encapsulated BMX interaction.
117 </summary>
118 </member>
119 <member name="T:IndianHealthService.BMXNet.BMXNetSessionConnection">
120 <summary>
121 BMXNetSessionConnection implements low-level connectivity to RPMS databases.
122 </summary>
123 </member>
124 <member name="M:IndianHealthService.BMXNet.BMXNetSessionConnection.ADEBLDPadString(System.String)">
125 <summary>
126 Given strInput = "13" builds "013" if nLength = 3. Default for nLength is 3.
127 </summary>
128 <param name="strInput"></param>
129 <returns></returns>
130 </member>
131 <member name="M:IndianHealthService.BMXNet.BMXNetSessionConnection.ADEBLDPadString(System.String,System.Int32)">
132 <summary>
133 Given strInput = "13" builds "013" if nLength = 3 Default for nLength is 3.
134 </summary>
135 <param name="strInput"></param>
136 <param name="nLength">Default = 3</param>
137 <returns></returns>
138 </member>
139 <member name="M:IndianHealthService.BMXNet.BMXNetSessionConnection.ADEBLDB(System.String)">
140 <summary>
141 Concatenates zero-padded length of sInput to sInput
142 Given "Hello" returns "004Hello"
143 If nSize = 5, returns "00004Hello"
144 Default for nSize is 3.
145 </summary>
146 <param name="sInput"></param>
147 <returns></returns>
148 </member>
149 <member name="M:IndianHealthService.BMXNet.BMXNetSessionConnection.ADEBLDB(System.String,System.Int32)">
150 <summary>
151 Concatenates zero-padded length of sInput to sInput
152 Given "Hello" returns "004Hello"
153 If nSize = 5, returns "00004Hello"
154 Default for nSize is 3.
155 </summary>
156 <param name="sInput"></param>
157 <param name="nSize"></param>
158 <returns></returns>
159 </member>
160 <member name="M:IndianHealthService.BMXNet.BMXNetSessionConnection.ADEBHDR(System.String,System.String,System.String,System.String)">
161 <summary>
162 Build protocol header
163 </summary>
164 <param name="sWKID"></param>
165 <param name="sWINH"></param>
166 <param name="sPRCH"></param>
167 <param name="sWISH"></param>
168 <returns></returns>
169 </member>
170 <member name="M:IndianHealthService.BMXNet.BMXNetSessionConnection.FindSubString(System.String,System.String)">
171 <summary>
172 Returns index of first instance of sSubString in sString.
173 If sSubString not found, returns -1.
174 </summary>
175 <param name="sString"></param>
176 <param name="sSubString"></param>
177 <returns></returns>
178 </member>
179 <member name="M:IndianHealthService.BMXNet.BMXNetSessionConnection.Lock(System.String,System.String,System.String)">
180 <summary>
181 Lock a local or global M variable
182 Returns true if lock is obtained during TimeOut seconds
183 Use + to increment, - to decrement lock.
184 </summary>
185 <param name="Variable"></param>
186 <param name="Increment"></param>
187 <param name="TimeOut"></param>
188 <returns></returns>
189 </member>
190 <member name="M:IndianHealthService.BMXNet.BMXNetSessionConnection.TransmitRPC(System.String,System.String)">
191 <remarks>
192 AppContext is managed an client and server with c/s calls to change
193 appContext on the server. There is no use for AppContext on the client
194 so recommend integrated AppContext into BMX Protocol so always passing
195 it and managing switching it on the server.
196 </remarks>
197 </member>
198 <member name="P:IndianHealthService.BMXNet.BMXNetSessionConnection.BMXRWL">
199 <summary>
200 Returns a reference to the internal ReaderWriterLock member.
201 </summary>
202 </member>
203 <member name="P:IndianHealthService.BMXNet.BMXNetSessionConnection.AppContext">
204 <summary>
205 Gets/sets the Kernel Application context
206 Throws an exception if unable to set the context.
207 </summary>
208 </member>
209 <member name="T:IndianHealthService.BMXNet.Net.BMXAdeCrypto">
210 <summary>
211 This implementation EncryptionProvider is the crypto used for the standard Indian Health Service socket-based BMXNET Broker.
212 </summary>
213 </member>
214 <member name="T:IndianHealthService.BMXNet.Net.EncryptionProvider">
215 <summary>
216 The crypto used to implement the socket-based BMXNET Broker. Any crypto can be used if a new
217 .NET EncryptionProvider is written and a corresponding modification to the RPMS-side is done.
218 </summary>
219 <remarks>
220 An quick experiment can be done by implementing the following ClearText EncryptionProvider and
221 modifying the RPMS-side encryption routines to do nothing.
222 <code>
223 public class ClearText : EncryptionProvider
224 {
225 public string Encrypt(string aString)
226 {
227 return aString;
228 }
229
230 public string Decrypt(string aString)
231 {
232 return aString;
233 }
234 }
235 </code>
236 </remarks>
237 </member>
238 <member name="M:IndianHealthService.BMXNet.Net.EncryptionProvider.Encrypt(System.String)">
239 <summary>
240 Encrypt aString
241 </summary>
242 <param name="aString">The string to be encrypted</param>
243 <returns>An ASCII encrypted string</returns>
244 </member>
245 <member name="M:IndianHealthService.BMXNet.Net.EncryptionProvider.Decrypt(System.String)">
246 <summary>
247 Decrypt aString
248 </summary>
249 <param name="aString">The ASCII string to be decrypted</param>
250 <returns>An ASCII decrypted string</returns>
251 </member>
252 <member name="M:IndianHealthService.BMXNet.Net.BMXAdeCrypto.SetKey(System.String[])">
253 <summary>
254 Set a site specific key
255 </summary>
256 <param name="aKey">The required key for BMX Ade</param>
257 </member>
258 <member name="M:IndianHealthService.BMXNet.Net.BMXAdeCrypto.Encrypt(System.String)">
259 <summary>
260 BMXAde Implementation
261 </summary>
262 <param name="aString">String to encrypt</param>
263 <returns>Encrypt string</returns>
264 </member>
265 <member name="M:IndianHealthService.BMXNet.Net.BMXAdeCrypto.Decrypt(System.String)">
266 <summary>
267 BMXAde Implementation
268 </summary>
269 <param name="aString">String to decrypt</param>
270 <returns>Decrypted string</returns>
271 </member>
272 <member name="T:IndianHealthService.BMXNet.M">
273 <summary>
274 Common M[umps] related function libraries implemented with static members.
275 </summary>
276 </member>
277 <member name="M:IndianHealthService.BMXNet.M.PieceLength(System.String,System.String)">
278 <summary>
279 M-like utility method to answer the number of pieces limited by aDelimiter. Corresponds to M's $L(STRING,DELIMITER)
280 </summary>
281 <param name="thePieces">Delimited input string e.g. one^two^three</param>
282 <param name="aDelimiter">Delimiter character or string, commonly ~ ^ or |</param>
283 <returns>Count of pieces in thePieces delimited by aDelimiter</returns>
284 <example>
285 <code>
286 String team="DOE,JOHN^SMITH, PETER^JONES, SALLY";
287 if (M.PieceLength(team,"~") >=5 ) {
288 this.PlayBasketBall();
289 }
290 else
291 {
292 this.PlayTrackAndField();
293 }
294 </code>
295 </example>
296 </member>
297 <member name="M:IndianHealthService.BMXNet.M.Piece(System.String,System.String,System.Int32)">
298 <summary>
299 M-like utility method to answer the piece at a 1-based offset. Corresponds to M's $$Piece function
300 </summary>
301 <param name="thePieces">Delimited input string e.g. one^two^three</param>
302 <param name="aDelimiter">Delimiter character or string, commonly ~ ^ or |</param>
303 <param name="nthPiece">The 1-based index of the piece</param>
304 <returns>The piece at the index, or an empty string if the index is higher than the explicit number of pieces</returns>
305 <example>
306 <code>
307 String demographics="DOE,JOHN~555-55-5555~34~M";
308 int age=0;
309 if (int.TryParse(M.Piece(demographics,"~",3), out age)) {
310 System.Console.Writeln(M.Piece(demographics,"~",1)+" is "+ (age >= 18 ) ? "an adult" : "a child");
311 }
312 </code>
313 </example>
314 </member>
315 <member name="M:IndianHealthService.BMXNet.M.Piece(System.String,System.String,System.Int32,System.Int32)">
316 <summary>
317 M-like utility method to answer a delimited string of pieces between two 1-based offsets
318 </summary>
319 <param name="thePieces">Delimited input string e.g. one^two^three</param>
320 <param name="aDelimiter">Delimiter character or string, commonly ~ ^ or |</param>
321 <param name="nthStart">Starting 1-based index of the pieces to copy from</param>
322 <param name="mthEnd">Ending 1-based index of the pieces to copy to</param>
323 <returns>The delimited string from start to end, including delimitered blanks for indexes higher than the explicit number of pieces</returns>
324 </member>
325 <member name="M:IndianHealthService.BMXNet.M.DateToFileMan(System.DateTime)">
326 <summary>
327 M-like utility method to convert from a DateTime to the FileMan data/time format
328 </summary>
329 <param name="aDateTime">DateTime to convert</param>
330 <returns>String representing aDateTime in FileMan format</returns>
331 <exception cref="T:System.Exception">Exception thrown in conversion fails</exception>
332 </member>
333 <member name="M:IndianHealthService.BMXNet.M.DateFromFileMan(System.String)">
334 <summary>
335 M-like utility method to convert from a FileMan date/time formatted String to a .NET DateTime
336 </summary>
337 <param name="aString">date/time formated FileMan string</param>
338 <returns>.NET DateTime object from parsing input FileMan string</returns>
339 <exception cref="T:System.Exception">Exception thrown in conversion fails</exception>
340 </member>
341 <member name="T:IndianHealthService.BMXNet.Model.ContextChangingArgs">
342 <summary>
343 An instance of these args are included with the ContextChanging event and this event
344 is a CancelEventArgs subclass. The Cancel property being set to True represents the desire
345 to Veto the change so the patient (and potentially visit) does not change. The Veto can be
346 overriden by the framework so be prepared for the context to change even if you don't want it
347 to.
348 </summary>
349 </member>
350 <member name="P:IndianHealthService.BMXNet.Model.ContextChangingArgs.IsVisitChange">
351 <summary>
352 Answer True if the visit is about to be changed.
353 </summary>
354 </member>
355 <member name="P:IndianHealthService.BMXNet.Model.ContextChangingArgs.IsPatientChange">
356 <summary>
357 Answer True if the visit is about to be changed.
358 </summary>
359 </member>
360 <member name="P:IndianHealthService.BMXNet.Model.ContextChangingArgs.BeforeContext">
361 <summary>
362 The current state of the Context.
363 </summary>
364 </member>
365 <member name="T:IndianHealthService.BMXNet.Model.ContextChangedArgs">
366 <summary>
367 The argument to the ContextChanged method. This event has methods that allow you
368 to detect which aspects of the context have changed and what the new context is.
369 </summary>
370 </member>
371 <member name="P:IndianHealthService.BMXNet.Model.ContextChangedArgs.IsVisitChange">
372 <summary>
373 Answer if the visit had changed. When the patient changes and a visit had been selected, the
374 visit will change to null.
375 </summary>
376 <example>
377 In the following example, the first tab of a notebook is selected whenever the patient changes.
378 <code>
379 void Context_Changed(object sender, ContextChangedArgs e)
380 {
381 if (e.IsPatientChange)
382 {
383 this.SelectedIndex = 1;
384 this.RefreshAll();
385 }
386 }
387 </code>
388 </example>
389 </member>
390 <member name="P:IndianHealthService.BMXNet.Model.ContextChangedArgs.IsPatientChange">
391 <summary>
392 Answer if the patient had changed.
393 </summary>
394 </member>
395 <member name="P:IndianHealthService.BMXNet.Model.ContextChangedArgs.AfterContext">
396 <summary>
397 The current state of the context. This context object is that same instance used for the
398 life of the LocalSession
399 </summary>
400 </member>
401 <member name="T:IndianHealthService.BMXNet.Util.EntryAssemblyInfo">
402 <summary>
403 Convienence class to provide information from the AssembleInfo
404 <code>
405 [assembly: AssemblyTitle("IndianHealthService.BMXNet.Test")]
406 [assembly: AssemblyDescription("A test application")]
407 [assembly: AssemblyCompany("IHS")]
408 [assembly: AssemblyProduct("IndianHealthService.BMXNet.Test")]
409 [assembly: AssemblyCopyright("IHS 2009")]
410 [assembly: AssemblyVersion("2.0.0.0")]
411 </code>
412 </summary>
413 </member>
414 <member name="P:IndianHealthService.BMXNet.Util.EntryAssemblyInfo.AssemblyTitle">
415 <summary>
416 Convienence method to provide information from the AssembleInfo
417 <code>
418 [assembly: AssemblyTitle("IndianHealthService.BMXNet.Test")]
419 </code>
420 </summary>
421 </member>
422 <member name="P:IndianHealthService.BMXNet.Util.EntryAssemblyInfo.AssemblyVersion">
423 <summary>
424 Convienence method to provide information from the AssembleInfo
425 <code>
426 [assembly: AssemblyVersion("2.0.0.0")]
427 </code>
428 </summary>
429 </member>
430 <member name="P:IndianHealthService.BMXNet.Util.EntryAssemblyInfo.AssemblyDescription">
431 <summary>
432 Convienence method to provide information from the AssembleInfo
433 <code>
434 [assembly: AssemblyDescription("A test application")]
435 </code>
436 </summary>
437 </member>
438 <member name="P:IndianHealthService.BMXNet.Util.EntryAssemblyInfo.AssemblyProduct">
439 <summary>
440 Convienence method to provide information from the AssembleInfo
441 <code>
442 [assembly: AssemblyProduct("IndianHealthService.BMXNet.Test")]
443 </code>
444 </summary>
445 </member>
446 <member name="P:IndianHealthService.BMXNet.Util.EntryAssemblyInfo.AssemblyCopyright">
447 <summary>
448 Convienence method to provide information from the AssembleInfo
449 <code>
450 [assembly: AssemblyCopyright("IHS 2009")]
451 </code>
452 </summary>
453 </member>
454 <member name="P:IndianHealthService.BMXNet.Util.EntryAssemblyInfo.AssemblyCompany">
455 <summary>
456 Convienence method to provide information from the AssembleInfo
457 <code>
458 [assembly: AssemblyCompany("IHS")]
459 </code>
460 </summary>
461 </member>
462 <member name="T:IndianHealthService.BMXNet.RemoteSession">
463 <summary>
464 All server-side RPMS RPC calls are performed through this interface. Each instance of RemoteSession corresponds to a single job (e.g. Cache process) on RPMS. There is always one primary RemoteSession and potentially more when using RemoteSessionPool. When the primary RemoteSession is closed all secondary pooled sessions are also closed and the server broker connection is terminated.
465 </summary>
466 </member>
467 <member name="M:IndianHealthService.BMXNet.RemoteSession.TransmitRPC(System.String,System.String)">
468 <summary>
469 Calls a remote procedure on the RPMS server and returns the result as a String.
470 </summary>
471 <remarks>
472 Presumes that the AppContext was set prior to the call.
473 </remarks>
474 <example>
475 <code>
476 ...
477 this.RemoteSession.AppContext="VEN RPC";
478 ...
479 String asqThreadholds= this.RemoteSession.TransmitRPC("VEN ASQ GET DATA", this.Context.Patient.Ien);
480 </code>
481 </example>
482 <param name="rpcCommand">The remote procedure call name </param>
483 <param name="rpcParameter">A carrot ^ delimited string of input parameters</param>
484 <returns>The result of the RPC call</returns>
485 </member>
486 <!-- Badly formed XML comment ignored for member "M:IndianHealthService.BMXNet.RemoteSession.TransmitRPC(System.String,System.String,System.String)" -->
487 <member name="M:IndianHealthService.BMXNet.RemoteSession.SafelyTransmitRPC(System.String,System.String)">
488 <summary>
489 Calls a remote procedure on the RPMS server and returns the result as a String. If there are any exceptions a
490 colon delimited string in the format Exception:Message is returned.
491 </summary>
492 <remarks>
493 Presumes that the AppContext was set prior to the call.
494 </remarks>
495 <example>
496 <code>
497 ...
498 this.RemoteSession.AppContext="VEN RPC";
499 ...
500 String asqThreadholds= this.RemoteSession.SafelyTransmitRPC("VEN ASQ GET DATA", this.Context.Patient.Ien);
501 </code>
502 </example>
503 <param name="rpcCommand">The remote procedure call name </param>
504 <param name="rpcParameter">A carrot ^ delimited string of input parameters</param>
505 <returns>The result of the RPC call. If there are any exceptions a colon delimited string in the format Exception:Message is returned.</returns>
506 </member>
507 <member name="M:IndianHealthService.BMXNet.RemoteSession.SafelyTransmitRPC(System.String,System.String,System.String)">
508 <summary>
509 Calls a remote procedure on the RPMS server and returns the result as a String. If there are any exceptions a
510 colon delimited string in the format Exception:Message is returned.
511 </summary>
512 <remarks>
513 Presumes that the AppContext was set prior to the call.
514 </remarks>
515 <example>
516 <code>
517 ...
518 this.RemoteSession.AppContext="VEN RPC";
519 ...
520 String asqThreadholds= this.RemoteSession.SafelyTransmitRPC("VEN ASQ GET DATA", this.Context.Patient.Ien);
521 </code>
522 </example>
523 <param name="rpcCommand">The remote procedure call name </param>
524 <param name="rpcParameter">A carrot ^ delimited string of input parameters</param>
525 <param name="aContext">The AppContext (OPTION) to be set prior to the call(</param>
526 <returns>The result of the RPC call. If there are any exceptions a colon delimited string in the format Exception:Message is returned.</returns>
527 </member>
528 <member name="M:IndianHealthService.BMXNet.RemoteSession.SaveChanges(System.Data.DataTable)">
529 <summary>
530
531 <example>
532
533 <code>
534
535 this.Context.Visit.Create();
536 if (this.Context.Visit.IsStub)
537 {
538 if (!this.Context.Visit.Create())
539 {
540 return false;
541 }
542 }
543 this.RemoteSession.SaveChanges(this.ScoreTable);
544 </code>
545 </example>
546 </summary>
547 <param name="aDataTable"></param>
548 <returns></returns>
549 </member>
550 <member name="M:IndianHealthService.BMXNet.RemoteSession.TableFromCommand(System.String)">
551 <summary>
552 Calling a Custom Remote Procedure call (RPC) registered in VA FileMan’s REMOTE PROCEDURE file that results in a DataTable. You must design your remote procedure’s M routine to build its result its data in the specific format described later in this document.
553 </summary>
554 <param name="aCommand">The co /// </param>
555 <remarks>
556 Normally the AppContext is set once, after logging into the BMX, with a
557 single AppContext for the current applications or specified in every RPC call.
558 </remarks>
559 <example>
560 The VEN namespace is for PCC+ and the example below would be used at the beginning
561 of a PCC+ application.
562 <code>
563 aRemoteSession.AppContext = "VEN RPC";
564 </code>
565 The M code for a simple remote procedure call (BMX PATIENT DEMO) with two parameters to return a list of patients. See the following example. Note the inclusion of an error trap in the routine; BMXNet RPC routines must contain a functional error trap.
566 <code>
567 Figure 5 2 shows the M code for a simple remote procedure call (BMX PATIENT DEMO) with two parameters to return a list of patients. See the following example. Note the inclusion of an error trap in the routine; BMXNet RPC routines must contain a functional error trap.
568 PDEMO(BMXY,BMXPAT,BMXCOUNT) ;EP
569 ;This simple RPC demonstrates how to format data
570 ;for the BMXNet ADO.NET data provider
571 ;
572 ;Returns a maximum of BMXCOUNT records from the
573 ;VA PATIENT file whose names begin with BMXPAT
574 ;
575 N BMXI,BMXD,BMXC,BMXNODE,BMXDOB
576 ;
577 ; BMXY is passed in by reference. Set it to
578 ;the value of the variable in which we will return our data:
579 S BMXY="^TMP(BMX,"_$J_")"
580 ;
581 ;The first subnode of the data global contains the column header information
582 ;in the form "txxxxxCOLUMN1NAME^txxxxxCOLUMN2NAME"_$C(30)
583 ;where t is the column data type:
584 ; T for text
585 ; I for integer
586 ; N for floating point number
587 ; D for date/time.
588 ;xxxxx is the length of the column in characters.
589 ;
590 S BMXI=0,BMXC=0
591 S ^ TMP(BMX,$J,BMXI)="T00030NAME^T00010SEX^D00020DOB"_$C(30)
592 ;
593 ;You MUST set an error trap:
594 S X="PDERR^BMXRPC6",@^%ZOSF("TRAP")
595 ;
596 ;Strip CR, LF, TAB from BMXCOUNT parameter
597 S BMXCOUNT=$TR(BMXCOUNT,$C(13),"")
598 S BMXCOUNT=$TR(BMXCOUNT,$C(10),"")
599 S BMXCOUNT=$TR(BMXCOUNT,$C(9),"")
600 ;
601 ;Iterate through the global and set the data nodes:
602 S:BMXPAT="" BMXPAT="A"
603 S BMXPAT=$O(^DPT("B",BMXPAT),-1)
604 S BMXD=0
605 F S BMXPAT=$O(^DPT("B",BMXPAT)) Q:BMXPAT="" S BMXD=$O(^DPT("B",BMXPAT,0)) I +BMXD S BMXC=BMXC+1 Q:(BMXCOUNT)BMXC BMXCOUNT) D
606 . Q:'$D(^DPT(BMXD,0))
607 . S BMXI=BMXI+1
608 . S BMXNODE=^DPT(BMXD,0)
609 . ;Convert the DOB from FM date to external form
610 . S Y=$P(BMXNODE,U,3)
611 . I +Y X ^DD("DD")
612 . S BMXDOB=Y
613 . ;The data node fields are in the same order as the column header, i.e. NAME^SEX^DOB
614 . ;and terminated with a $C(30)
615 . S ^ TMP(BMX,$J,BMXI)=$P(BMXNODE,U)_U_$P(BMXNODE,U,2)_U_BMXDOB_$C(30)
616 ;
617 ;After all the data nodes have been set, set the final node to $C(31) to indicate
618 ;the end of the recordset
619 S BMXI=BMXI+1
620 S ^ TMP(BMX,$J,BMXI)=$C(31)
621 Q
622 ;
623 PDERR ;Error trap for PDEMO
624 ;
625 S ^ TMP(BMX,$J,BMXI+1)=$C(31)
626 Q
627 </code>
628 Register as an RPC
629 <para>
630 NAME: BMX DEMO TAG: PDEMO
631 ROUTINE: BMXRPC6 RETURN VALUE TYPE: GLOBAL ARRAY
632 </para>
633 Call using a RemoteSession
634 <code>
635 DataTable demoTable=aRemoteSession.TableFromCommand("BMX DEMO^S^10");
636 </code>
637 </example>
638 <param name="aCommand">The name of the RPC </param>
639 <returns>The resulting DataTable</returns>
640 </member>
641 <member name="M:IndianHealthService.BMXNet.RemoteSession.TableFromCommand(System.String,System.String)">
642 <summary>
643 Calling a Custom Remote Procedure call (RPC) registered in VA FileMan’s REMOTE PROCEDURE file that results in a DataTable. You must design your remote procedure’s M routine to build its result its data in the specific format described later in this document.
644 </summary>
645 <param name="aCommand">The co /// </param>
646 <remarks>
647 Normally the AppContext is set once, after logging into the BMX, with a
648 single AppContext for the current applications or specified in every RPC call.
649 </remarks>
650 <example>
651 The VEN namespace is for PCC+ and the example below would be used at the beginning
652 of a PCC+ application.
653 <code>
654 aRemoteSession.AppContext = "VEN RPC";
655 </code>
656 The M code for a simple remote procedure call (BMX PATIENT DEMO) with two parameters to return a list of patients. See the following example. Note the inclusion of an error trap in the routine; BMXNet RPC routines must contain a functional error trap.
657 <code>
658 Figure 5 2 shows the M code for a simple remote procedure call (BMX PATIENT DEMO) with two parameters to return a list of patients. See the following example. Note the inclusion of an error trap in the routine; BMXNet RPC routines must contain a functional error trap.
659 PDEMO(BMXY,BMXPAT,BMXCOUNT) ;EP
660 ;This simple RPC demonstrates how to format data
661 ;for the BMXNet ADO.NET data provider
662 ;
663 ;Returns a maximum of BMXCOUNT records from the
664 ;VA PATIENT file whose names begin with BMXPAT
665 ;
666 N BMXI,BMXD,BMXC,BMXNODE,BMXDOB
667 ;
668 ; BMXY is passed in by reference. Set it to
669 ;the value of the variable in which we will return our data:
670 S BMXY="^TMP(BMX,"_$J_")"
671 ;
672 ;The first subnode of the data global contains the column header information
673 ;in the form "txxxxxCOLUMN1NAME^txxxxxCOLUMN2NAME"_$C(30)
674 ;where t is the column data type:
675 ; T for text
676 ; I for integer
677 ; N for floating point number
678 ; D for date/time.
679 ;xxxxx is the length of the column in characters.
680 ;
681 S BMXI=0,BMXC=0
682 S ^ TMP(BMX,$J,BMXI)="T00030NAME^T00010SEX^D00020DOB"_$C(30)
683 ;
684 ;You MUST set an error trap:
685 S X="PDERR^BMXRPC6",@^%ZOSF("TRAP")
686 ;
687 ;Strip CR, LF, TAB from BMXCOUNT parameter
688 S BMXCOUNT=$TR(BMXCOUNT,$C(13),"")
689 S BMXCOUNT=$TR(BMXCOUNT,$C(10),"")
690 S BMXCOUNT=$TR(BMXCOUNT,$C(9),"")
691 ;
692 ;Iterate through the global and set the data nodes:
693 S:BMXPAT="" BMXPAT="A"
694 S BMXPAT=$O(^DPT("B",BMXPAT),-1)
695 S BMXD=0
696 F S BMXPAT=$O(^DPT("B",BMXPAT)) Q:BMXPAT="" S BMXD=$O(^DPT("B",BMXPAT,0)) I +BMXD S BMXC=BMXC+1 Q:(BMXCOUNT)BMXC BMXCOUNT) D
697 . Q:'$D(^DPT(BMXD,0))
698 . S BMXI=BMXI+1
699 . S BMXNODE=^DPT(BMXD,0)
700 . ;Convert the DOB from FM date to external form
701 . S Y=$P(BMXNODE,U,3)
702 . I +Y X ^DD("DD")
703 . S BMXDOB=Y
704 . ;The data node fields are in the same order as the column header, i.e. NAME^SEX^DOB
705 . ;and terminated with a $C(30)
706 . S ^ TMP(BMX,$J,BMXI)=$P(BMXNODE,U)_U_$P(BMXNODE,U,2)_U_BMXDOB_$C(30)
707 ;
708 ;After all the data nodes have been set, set the final node to $C(31) to indicate
709 ;the end of the recordset
710 S BMXI=BMXI+1
711 S ^ TMP(BMX,$J,BMXI)=$C(31)
712 Q
713 ;
714 PDERR ;Error trap for PDEMO
715 ;
716 S ^ TMP(BMX,$J,BMXI+1)=$C(31)
717 Q
718 </code>
719 Register as an RPC
720 <para>
721 NAME: BMX DEMO TAG: PDEMO
722 ROUTINE: BMXRPC6 RETURN VALUE TYPE: GLOBAL ARRAY
723 </para>
724 Call using a RemoteSession
725 <code>
726 DataTable demoTable=aRemoteSession.TableFromCommand("BMX DEMO^S^10");
727 </code>
728 </example>
729 <param name="aCommand">The name of the RPC </param>
730 <param name="aContext">The AppContext to set prior to the call</param>
731 <returns>The resulting DataTable</returns>
732 </member>
733 <member name="M:IndianHealthService.BMXNet.RemoteSession.TableFromCommand(System.String,System.Data.DataSet,System.String)">
734 <summary>
735 Calling a Custom Remote Procedure call (RPC) registered in VA FileMan’s REMOTE PROCEDURE file that results in a DataTable. You must design your remote procedure’s M routine to build its result its data in the specific format described later in this document.
736 </summary>
737 <param name="aCommand">The co /// </param>
738 <remarks>
739 Normally the AppContext is set once, after logging into the BMX, with a
740 single AppContext for the current applications or specified in every RPC call.
741 </remarks>
742 <example>
743 The VEN namespace is for PCC+ and the example below would be used at the beginning
744 of a PCC+ application.
745 <code>
746 aRemoteSession.AppContext = "VEN RPC";
747 </code>
748 The M code for a simple remote procedure call (BMX PATIENT DEMO) with two parameters to return a list of patients. See the following example. Note the inclusion of an error trap in the routine; BMXNet RPC routines must contain a functional error trap.
749 <code>
750 Figure 5 2 shows the M code for a simple remote procedure call (BMX PATIENT DEMO) with two parameters to return a list of patients. See the following example. Note the inclusion of an error trap in the routine; BMXNet RPC routines must contain a functional error trap.
751 PDEMO(BMXY,BMXPAT,BMXCOUNT) ;EP
752 ;This simple RPC demonstrates how to format data
753 ;for the BMXNet ADO.NET data provider
754 ;
755 ;Returns a maximum of BMXCOUNT records from the
756 ;VA PATIENT file whose names begin with BMXPAT
757 ;
758 N BMXI,BMXD,BMXC,BMXNODE,BMXDOB
759 ;
760 ; BMXY is passed in by reference. Set it to
761 ;the value of the variable in which we will return our data:
762 S BMXY="^TMP(BMX,"_$J_")"
763 ;
764 ;The first subnode of the data global contains the column header information
765 ;in the form "txxxxxCOLUMN1NAME^txxxxxCOLUMN2NAME"_$C(30)
766 ;where t is the column data type:
767 ; T for text
768 ; I for integer
769 ; N for floating point number
770 ; D for date/time.
771 ;xxxxx is the length of the column in characters.
772 ;
773 S BMXI=0,BMXC=0
774 S ^ TMP(BMX,$J,BMXI)="T00030NAME^T00010SEX^D00020DOB"_$C(30)
775 ;
776 ;You MUST set an error trap:
777 S X="PDERR^BMXRPC6",@^%ZOSF("TRAP")
778 ;
779 ;Strip CR, LF, TAB from BMXCOUNT parameter
780 S BMXCOUNT=$TR(BMXCOUNT,$C(13),"")
781 S BMXCOUNT=$TR(BMXCOUNT,$C(10),"")
782 S BMXCOUNT=$TR(BMXCOUNT,$C(9),"")
783 ;
784 ;Iterate through the global and set the data nodes:
785 S:BMXPAT="" BMXPAT="A"
786 S BMXPAT=$O(^DPT("B",BMXPAT),-1)
787 S BMXD=0
788 F S BMXPAT=$O(^DPT("B",BMXPAT)) Q:BMXPAT="" S BMXD=$O(^DPT("B",BMXPAT,0)) I +BMXD S BMXC=BMXC+1 Q:(BMXCOUNT)BMXC BMXCOUNT) D
789 . Q:'$D(^DPT(BMXD,0))
790 . S BMXI=BMXI+1
791 . S BMXNODE=^DPT(BMXD,0)
792 . ;Convert the DOB from FM date to external form
793 . S Y=$P(BMXNODE,U,3)
794 . I +Y X ^DD("DD")
795 . S BMXDOB=Y
796 . ;The data node fields are in the same order as the column header, i.e. NAME^SEX^DOB
797 . ;and terminated with a $C(30)
798 . S ^ TMP(BMX,$J,BMXI)=$P(BMXNODE,U)_U_$P(BMXNODE,U,2)_U_BMXDOB_$C(30)
799 ;
800 ;After all the data nodes have been set, set the final node to $C(31) to indicate
801 ;the end of the recordset
802 S BMXI=BMXI+1
803 S ^ TMP(BMX,$J,BMXI)=$C(31)
804 Q
805 ;
806 PDERR ;Error trap for PDEMO
807 ;
808 S ^ TMP(BMX,$J,BMXI+1)=$C(31)
809 Q
810 </code>
811 Register as an RPC
812 <para>
813 NAME: BMX DEMO TAG: PDEMO
814 ROUTINE: BMXRPC6 RETURN VALUE TYPE: GLOBAL ARRAY
815 </para>
816 Call using a RemoteSession
817 <code>
818 DataTable demoTable=aRemoteSession.TableFromCommand("BMX DEMO^S^10");
819 </code>
820 </example>
821 <param name="aCommand">The name of the RPC </param>
822 <param name="aDataSet">The DataSet to be populated with a resulting DataTable named aTableNAme</param>
823 <param name="aTableName">The name of the DataTable in the DataSet to populate or to create</param>
824 <returns>The resulting DataTable</returns>
825 </member>
826 <member name="M:IndianHealthService.BMXNet.RemoteSession.TableFromCommand(System.String,System.Data.DataSet,System.String,System.String)">
827 <summary>
828 Calling a Custom Remote Procedure call (RPC) registered in VA FileMan’s REMOTE PROCEDURE file that results in a DataTable. You must design your remote procedure’s M routine to build its result its data in the specific format described later in this document.
829 </summary>
830 <param name="aCommand">The co /// </param>
831 <remarks>
832 Normally the AppContext is set once, after logging into the BMX, with a
833 single AppContext for the current applications or specified in every RPC call.
834 </remarks>
835 <example>
836 The VEN namespace is for PCC+ and the example below would be used at the beginning
837 of a PCC+ application.
838 <code>
839 aRemoteSession.AppContext = "VEN RPC";
840 </code>
841 The M code for a simple remote procedure call (BMX PATIENT DEMO) with two parameters to return a list of patients. See the following example. Note the inclusion of an error trap in the routine; BMXNet RPC routines must contain a functional error trap.
842 <code>
843 Figure 5 2 shows the M code for a simple remote procedure call (BMX PATIENT DEMO) with two parameters to return a list of patients. See the following example. Note the inclusion of an error trap in the routine; BMXNet RPC routines must contain a functional error trap.
844 PDEMO(BMXY,BMXPAT,BMXCOUNT) ;EP
845 ;This simple RPC demonstrates how to format data
846 ;for the BMXNet ADO.NET data provider
847 ;
848 ;Returns a maximum of BMXCOUNT records from the
849 ;VA PATIENT file whose names begin with BMXPAT
850 ;
851 N BMXI,BMXD,BMXC,BMXNODE,BMXDOB
852 ;
853 ; BMXY is passed in by reference. Set it to
854 ;the value of the variable in which we will return our data:
855 S BMXY="^TMP(BMX,"_$J_")"
856 ;
857 ;The first subnode of the data global contains the column header information
858 ;in the form "txxxxxCOLUMN1NAME^txxxxxCOLUMN2NAME"_$C(30)
859 ;where t is the column data type:
860 ; T for text
861 ; I for integer
862 ; N for floating point number
863 ; D for date/time.
864 ;xxxxx is the length of the column in characters.
865 ;
866 S BMXI=0,BMXC=0
867 S ^ TMP(BMX,$J,BMXI)="T00030NAME^T00010SEX^D00020DOB"_$C(30)
868 ;
869 ;You MUST set an error trap:
870 S X="PDERR^BMXRPC6",@^%ZOSF("TRAP")
871 ;
872 ;Strip CR, LF, TAB from BMXCOUNT parameter
873 S BMXCOUNT=$TR(BMXCOUNT,$C(13),"")
874 S BMXCOUNT=$TR(BMXCOUNT,$C(10),"")
875 S BMXCOUNT=$TR(BMXCOUNT,$C(9),"")
876 ;
877 ;Iterate through the global and set the data nodes:
878 S:BMXPAT="" BMXPAT="A"
879 S BMXPAT=$O(^DPT("B",BMXPAT),-1)
880 S BMXD=0
881 F S BMXPAT=$O(^DPT("B",BMXPAT)) Q:BMXPAT="" S BMXD=$O(^DPT("B",BMXPAT,0)) I +BMXD S BMXC=BMXC+1 Q:(BMXCOUNT)BMXC BMXCOUNT) D
882 . Q:'$D(^DPT(BMXD,0))
883 . S BMXI=BMXI+1
884 . S BMXNODE=^DPT(BMXD,0)
885 . ;Convert the DOB from FM date to external form
886 . S Y=$P(BMXNODE,U,3)
887 . I +Y X ^DD("DD")
888 . S BMXDOB=Y
889 . ;The data node fields are in the same order as the column header, i.e. NAME^SEX^DOB
890 . ;and terminated with a $C(30)
891 . S ^ TMP(BMX,$J,BMXI)=$P(BMXNODE,U)_U_$P(BMXNODE,U,2)_U_BMXDOB_$C(30)
892 ;
893 ;After all the data nodes have been set, set the final node to $C(31) to indicate
894 ;the end of the recordset
895 S BMXI=BMXI+1
896 S ^ TMP(BMX,$J,BMXI)=$C(31)
897 Q
898 ;
899 PDERR ;Error trap for PDEMO
900 ;
901 S ^ TMP(BMX,$J,BMXI+1)=$C(31)
902 Q
903 </code>
904 Register as an RPC
905 <para>
906 NAME: BMX DEMO TAG: PDEMO
907 ROUTINE: BMXRPC6 RETURN VALUE TYPE: GLOBAL ARRAY
908 </para>
909 Call using a RemoteSession
910 <code>
911 DataTable demoTable=aRemoteSession.TableFromCommand("BMX DEMO^S^10");
912 </code>
913 </example>
914 <param name="aCommand">The name of the RPC </param>
915 <param name="aDataSet">The DataSet to be populated with a resulting DataTable named aTableNAme</param>
916 <param name="aTableName">The name of the DataTable in the DataSet to populate or to create</param>
917 <param name="aContext">The AppContext to set prior to the call</param>
918 <returns>The resulting DataTable</returns>
919 </member>
920 <member name="M:IndianHealthService.BMXNet.RemoteSession.TableFromSQL(System.String,System.Data.DataSet,System.String,System.String)">
921 <summary>
922 SELECT VA_PATIENT.NAME, VA_PATIENT.SSN, PATIENT.CURRENT_COMMUNITY FROM VA_PATIENT, PATIENT WHERE VA_PATIENT.BMXIEN =* INTERNAL[PATIENT.NAME] AND VA_PATIENT.NAME LIKE 'DEMO%' AND VA_PATIENT.AGE BETWEEN 15 AND 24 SHOWPLAN
923 </summary>
924 <param name="anSqlStatement"></param>
925 <param name="aDataSet"></param>
926 <param name="aTableName"></param>
927 <param name="aContext"></param>
928 <returns></returns>
929 </member>
930 <member name="M:IndianHealthService.BMXNet.RemoteSession.TableFromRPC(System.String,System.String)">
931 <summary>
932 TabletFromRpc is a double-dispatch method that is used by some developers. Developers create an RPC
933 call the returns a properly format BMX command (custom or BMX SS ADO) that is then transmitted back to RPMS to retrieve the Data Table.
934 </summary>
935 <param name="rpcCommand">The remote procedure call name </param>
936 <param name="rpcParameter">A carrot ^ delimited string of input parameters</param>
937 <returns>The resulting DataTable</returns>
938 </member>
939 <member name="M:IndianHealthService.BMXNet.RemoteSession.TableFromRPC(System.String,System.String,System.String)">
940 <summary>
941 TabletFromRpc is a double-dispatch method that is used by some developers. Developers create an RPC
942 call the returns a properly format BMX command (custom or BMX SS ADO) that is then transmitted back to RPMS to retrieve the Data Table.
943 </summary>
944 <param name="rpcCommand">The remote procedure call name </param>
945 <param name="rpcParameter">A carrot ^ delimited string of input parameters</param>
946 <param name="aContext">The AppContext to set prior to the call</param>
947 <returns>The resulting DataTable</returns>
948 </member>
949 <member name="M:IndianHealthService.BMXNet.RemoteSession.TableFromRPC(System.String,System.String,System.Data.DataSet,System.String)">
950 <summary>
951 TabletFromRpc is a double-dispatch method that is used by some developers. Developers create an RPC
952 call the returns a properly format BMX command (custom or BMX SS ADO) that is then transmitted back to RPMS to retrieve the Data Table.
953 </summary>
954 <param name="rpcCommand">The remote procedure call name </param>
955 <param name="rpcParameter">A carrot ^ delimited string of input parameters</param>
956 <param name="aDataSet">The DataSet to be populated with a resulting DataTable named aTableNAme</param>
957 <param name="aTableName">The name of the DataTable in the DataSet to populate or to create</param>
958 <returns>The resulting DataTable</returns>
959 </member>
960 <member name="M:IndianHealthService.BMXNet.RemoteSession.TableFromRPC(System.String,System.String,System.Data.DataSet,System.String,System.String)">
961 <summary>
962 TabletFromRpc is a double-dispatch method that is used by some developers. Developers create an RPC
963 call the returns a properly format BMX command (custom or BMX SS ADO) that is then transmitted back to RPMS to retrieve the Data Table.
964 </summary>
965 <param name="rpcCommand">The remote procedure call name </param>
966 <param name="rpcParameter">A carrot ^ delimited string of input parameters</param>
967 <param name="aDataSet">The DataSet to be populated with a resulting DataTable named aTableNAme</param>
968 <param name="aTableName">The name of the DataTable in the DataSet to populate or to create</param>
969 <param name="aContext">The AppContext to set prior to the call</param>
970 <returns>The resulting DataTable</returns>
971 </member>
972 <member name="M:IndianHealthService.BMXNet.RemoteSession.AsyncTableFromCommand(System.String)">
973 <summary>
974 Same as the corresponding TableFromCommand call except a DataTableFuture is returned. See <see cref="T:IndianHealthService.BMXNet.Ado.DataTableFuture"/> on how to use a 'Future
975 </summary>
976 <param name="aCommand">The name of the RPC </param>
977 <returns>A DataTableFuture</returns>
978 </member>
979 <member name="M:IndianHealthService.BMXNet.RemoteSession.AsyncTableFromCommand(System.String,System.String)">
980 <summary>
981 Same as the corresponding TableFromCommand call except a DataTableFuture is returned. See <see cref="T:IndianHealthService.BMXNet.Ado.DataTableFuture"/> on how to use a 'Future
982 </summary>
983 <param name="aCommand">The name of the RPC </param>
984 <param name="aContext">The AppContext to set prior to the call</param>
985 <returns>A DataTableFuture</returns>
986 </member>
987 <member name="M:IndianHealthService.BMXNet.RemoteSession.AsyncTableFromCommand(System.String,System.Data.DataSet,System.String)">
988 <summary>
989 Same as the corresponding TableFromCommand call except a DataTableFuture is returned. See <see cref="T:IndianHealthService.BMXNet.Ado.DataTableFuture"/> on how to use a 'Future
990 </summary>
991 <param name="aCommand">The name of the RPC </param>
992 <param name="aDataSet">The DataSet to be populated with a resulting DataTable named aTableNAme</param>
993 <param name="aTableName">The name of the DataTable in the DataSet to populate or to create</param>
994 <returns>A DataTableFuture</returns>
995 </member>
996 <member name="M:IndianHealthService.BMXNet.RemoteSession.AsyncTableFromCommand(System.String,System.Data.DataSet,System.String,System.String)">
997 <summary>
998 Same as the corresponding TableFromCommand call except a DataTableFuture is returned. See <see cref="T:IndianHealthService.BMXNet.Ado.DataTableFuture"/> on how to use a 'Future
999 </summary>
1000 <param name="aCommand">The name of the RPC </param>
1001 <param name="aDataSet">The DataSet to be populated with a resulting DataTable named aTableNAme</param>
1002 <param name="aTableName">The name of the DataTable in the DataSet to populate or to create</param>
1003 <param name="aContext">The AppContext to set prior to the call</param>
1004 <returns>A DataTableFuture</returns>
1005 </member>
1006 <member name="M:IndianHealthService.BMXNet.RemoteSession.AsyncTableFromRPC(System.String,System.String)">
1007 <summary>
1008 Same as the corresponding TableFromRPC call except a DataTableFuture is returned. See <see cref="T:IndianHealthService.BMXNet.Ado.DataTableFuture"/> on how to use a 'Future
1009 </summary>
1010 <param name="rpcCommand">The remote procedure call name </param>
1011 <param name="rpcParameter">A carrot ^ delimited string of input parameters</param>
1012 <returns>A DataTableFuture</returns>
1013 </member>
1014 <member name="M:IndianHealthService.BMXNet.RemoteSession.AsyncTableFromRPC(System.String,System.String,System.String)">
1015 <summary>
1016 Same as the corresponding TableFromRPC call except a DataTableFuture is returned. See <see cref="T:IndianHealthService.BMXNet.Ado.DataTableFuture"/> on how to use a 'Future
1017 </summary>
1018 <param name="rpcCommand"></param>
1019 <param name="rpcParameter"></param>
1020 <param name="aContext"></param>
1021 <returns>A DataTableFuture</returns>
1022 </member>
1023 <member name="M:IndianHealthService.BMXNet.RemoteSession.AsyncTableFromRPC(System.String,System.String,System.Data.DataSet,System.String)">
1024 <summary>
1025 Same as the corresponding TableFromRPC call except a DataTableFuture is returned. See <see cref="T:IndianHealthService.BMXNet.Ado.DataTableFuture"/> on how to use a 'Future
1026 </summary>
1027 <param name="rpcCommand">The remote procedure call name </param>
1028 <param name="rpcParameter">A carrot ^ delimited string of input parameters</param>
1029 <param name="aDataSet">The DataSet to be populated with a resulting DataTable named aTableNAme</param>
1030 <param name="aTableName">The name of the DataTable in the DataSet to populate or to create</param>
1031 <returns>A DataTableFuture</returns>
1032 </member>
1033 <member name="M:IndianHealthService.BMXNet.RemoteSession.AsyncTableFromRPC(System.String,System.String,System.Data.DataSet,System.String,System.String)">
1034 <summary>
1035 Same as the corresponding TableFromRPC call except a DataTableFuture is returned. See <see cref="T:IndianHealthService.BMXNet.Ado.DataTableFuture"/> on how to use a 'Future
1036 </summary>
1037 <param name="rpcCommand">The remote procedure call name </param>
1038 <param name="rpcParameter">A carrot ^ delimited string of input parameters</param>
1039 <param name="aDataSet">The DataSet to be populated with a resulting DataTable named aTableNAme</param>
1040 <param name="aTableName">The name of the DataTable in the DataSet to populate or to create</param>
1041 <param name="aContext">The AppContext to set prior to the call</param>
1042 <returns>A DataTableFuture</returns>
1043 </member>
1044 <member name="M:IndianHealthService.BMXNet.RemoteSession.IsBmxAdoCommand(System.String)">
1045 <summary>
1046 Answer True if aString is a standard BMX ADO SS command that uses the BMX ADO SCHEMA files
1047 </summary>
1048 <remarks>
1049 This is mostly used by the framework but exposed for potential use.
1050 </remarks>
1051 <param name="aString">The command to be examined</param>
1052 <returns>True if it complied, otherwise false</returns>
1053 </member>
1054 <member name="M:IndianHealthService.BMXNet.RemoteSession.Close">
1055 <summary>
1056 When done with session it should be closed. Once closed it is unusable.
1057 </summary>
1058 <remarks>Internally the session is a lightweight object and when using multiple sessions internal RPMS connections are pooled . Close sessions when finished</remarks>
1059 <remarks>Closing the primary session closes all sessions and shuts down the RPMS connection</remarks>
1060 </member>
1061 <member name="P:IndianHealthService.BMXNet.RemoteSession.HostAddress">
1062 <summary>
1063 BMX Broker's host address name or IP Address
1064 </summary>
1065 </member>
1066 <member name="P:IndianHealthService.BMXNet.RemoteSession.User">
1067 <summary>
1068 Authenticated user associated with this remote session
1069 </summary>
1070 <example>
1071 this.StatusLabel.Text="Logged in: "+ aRemoteSession.User.Name;
1072 </example>
1073 /// <remarks>
1074 If there is a remoteSession user, it will be the same as the localSession User object
1075 </remarks>
1076 </member>
1077 <member name="P:IndianHealthService.BMXNet.RemoteSession.AppContext">
1078 <summary>
1079 The active AppContext (OPTION) of this remote session.
1080 </summary>
1081 <remarks>
1082 Normally the AppContext is set once, after logging into the BMX, with a
1083 single AppContext for the current applications. The AppContext can also be set in every RPC call. If the AppContext
1084 is the same as the currently set AppContext, the AppContext will not be re-set.
1085 </remarks>
1086 <example>
1087 The VEN namespace is for PCC+ and the example below would be used at the beginning
1088 of a PCC+ application.
1089 <code>
1090 aRemoteSession.AppContext = "VEN RPC";
1091 </code>
1092 </example>
1093 </member>
1094 <member name="P:IndianHealthService.BMXNet.RemoteSession.EventServices">
1095 <summary>
1096 Access the session's RemoteEventServices service provider to configure receiving
1097 remote events and to source new events.
1098 </summary>
1099 </member>
1100 <member name="P:IndianHealthService.BMXNet.RemoteSession.Job">
1101 <summary>
1102 Job number of server-side Cache/MDB process. Very useful for debugging.
1103 </summary>
1104 </member>
1105 <member name="P:IndianHealthService.BMXNet.RemoteSession.DebugLastRpcSignature">
1106 <summary>
1107 String describing RPC call and input parameters of last non-DataTable RPC call
1108 </summary>
1109 </member>
1110 <member name="P:IndianHealthService.BMXNet.RemoteSession.RpcResult">
1111 <summary>
1112 String value of last successful non-DataTable RPC call
1113 </summary>
1114 </member>
1115 <member name="P:IndianHealthService.BMXNet.RemoteSession.DebugLastRpcResult">
1116 <summary>
1117 String value of last successful non-DataTable RPC call
1118 </summary>
1119 </member>
1120 <member name="P:IndianHealthService.BMXNet.RemoteSession.DebugLastTableResult">
1121 <summary>
1122 Last DataTable retrieved by non-async calls
1123 </summary>
1124 </member>
1125 <member name="P:IndianHealthService.BMXNet.RemoteSession.ReceiveTimeout">
1126 <summary>
1127 The networking data receive timeout (in milliseconds). This value can be changed if the developer finds it neccessary
1128 to extend the time after login.
1129 </summary>
1130 <remarks>
1131 Only applicable for the WinFramework
1132 </remarks>
1133 </member>
1134 <member name="P:IndianHealthService.BMXNet.RemoteSession.SendTimeout">
1135 <summary>
1136 The networking data send timeout (in milliseconds). This value can be changed if the developer finds it neccessary
1137 to extend the time after login but normally the send timeout should be kept short unless network conditions are poor.
1138 </summary>
1139 <remarks>
1140 Only applicable for the WinFramework
1141 </remarks>
1142 </member>
1143 <member name="P:IndianHealthService.BMXNet.RemoteSession.IsPrimary">
1144 <summary>
1145 The primary session has the unique in that it holds the authenication privileges for all sessions. If you close the primary session, then all will close.
1146 </summary>
1147 </member>
1148 <member name="T:IndianHealthService.BMXNet.Model.Division">
1149 <summary>
1150 This object represents the RPMS Division.
1151 </summary>
1152 <remarks>
1153 All BMX Broker connections must have an estalibshed Division</remarks>
1154 </member>
1155 <member name="T:IndianHealthService.BMXNet.RemoteEventService">
1156 <summary>
1157 All async communications with RPMS is performed through the RemoteEventService which
1158 is found by calling aRemoteSession.EventServices.
1159 </summary>
1160 <remarks>
1161 <list>
1162 <para>By default remote events are asynchronous and are not on the UI thread. The development
1163 must handed the events propertly and if interacting with a user interface control must use
1164 Invoke(). As a convinenence, InvokedControl can be set to any non-disposed Control and the
1165 event service is use Invoke() so that the event is triggered on the UI thread</para>
1166 <para>The Event timer, IsEventPollingEnabled and EventPollingInterval, is used by the Async RPC calls
1167 and is automattically turned on with IsEventPollingEnabled. If the developer turns on polling or
1168 changes the EventPollingInterval to be a long period, then the Async RPC calls will not respond in
1169 a timely manner if at all.
1170 </para>
1171 </list>
1172 </remarks>
1173 </member>
1174 <member name="M:IndianHealthService.BMXNet.RemoteEventService.Subscribe(System.String)">
1175 <summary>
1176 Subscribe to an event named anEventType. These events are trigger exclusivley by other BMXNet remote services and
1177 travel from client-to-server-to-client. Once subscribed, the RemoteSession will poll based on the EventPollingInterval to
1178 see if a server-side event is waiting to be triggered on the client.
1179 </summary>
1180 <param name="anEventType">The name of the event to subscribe to</param>
1181 <returns>1 if successful, otherwise it's an error. Refer to KIDS source for error codes.</returns>
1182 </member>
1183 <member name="M:IndianHealthService.BMXNet.RemoteEventService.Unsubscribe(System.String)">
1184 <summary>
1185 Unsubscribe from an event named anEventType. Once unsubscribed, published events named anEventType will no longer
1186 trigger an event for this RemoteSession.
1187 </summary>
1188 <param name="anEventType">The name of the event to unsubscribe from</param>
1189 <returns>1 if successful, otherwise it's an error. Refer to KIDS source for error codes.</returns>
1190 </member>
1191 <member name="M:IndianHealthService.BMXNet.RemoteEventService.TriggerEvent(System.String,System.String,System.Boolean)">
1192 <summary>
1193 Access to a RemoteEventService also allows you to publish your own events. Publishing is done through design and
1194 documentation to notify other developers what events you will trigger. An event is published, or triggered, by using TriggerEvent
1195 with the name of the event, an optional event specific string with data, and whether or not the publisher, if subsubscribed,
1196 wants the event published to them.
1197 </summary>
1198 <param name="anEventType">Name of the event to publish</param>
1199 <param name="aParameter">An optional string with event specific data</param>
1200 <param name="raiseBack">Set to True if the publisher of anEventType, that is also a subscriber to anEventType,
1201 also wants the event to be triggered back to them</param>
1202 <returns></returns>
1203 </member>
1204 <member name="E:IndianHealthService.BMXNet.RemoteEventService.RpmsEvent">
1205 <summary>
1206 This event is triggered when an event named anEventType is published and the
1207 receiver has a subscription. Remember that this event is not on the UI-thread unless InvokedControl is properly set.
1208 </summary>
1209 </member>
1210 <member name="E:IndianHealthService.BMXNet.RemoteEventService.TimerEvent">
1211 <summary>
1212 This event is triggered every time the event timer is triggered, based on the EventPollingInterval.
1213 Remember that this event is not on the UI-thread unless InvokedControl is properly set.
1214 </summary>
1215 <remarks>
1216 Respond quickly to this event.
1217 </remarks>
1218 </member>
1219 <member name="P:IndianHealthService.BMXNet.RemoteEventService.InvokedControl">
1220 <summary>
1221 Set InvokedControl to a form or control of your WinForm application or EHR/VueCentric component that
1222 will live the lifetime of your RemoteSession. The RemoteEventServices will Invoke() on the InvokedControl
1223 to ensure all events are triggered on the UI thread.
1224 </summary>
1225 </member>
1226 <member name="P:IndianHealthService.BMXNet.RemoteEventService.IsEventPollingEnabled">
1227 <summary>
1228 EventPolling is used for RemoteService events and Async RPC calls. IsEventPollingEnabled is used
1229 to turn polling on and off: True for on and False for off. The Async RPC framework and remote event service
1230 needs polling to be turned on.
1231 </summary>
1232 <remarks>
1233 If Async RPC's or remote events are not working debug the RemoteEventService to verify polling is enabled
1234 and configured.
1235 </remarks>
1236 <example>
1237 If using Async RPC or remote service events activate and configure the timer when your applications starts
1238 <code>
1239 ... //Poll every 10000 ms, or 10 seconds
1240 this.RemoteSession.EventServices.EventPollingInterval=10000;
1241 this.RemoteSession.EventServices.IsEventPollingEnabled=True;
1242 ...
1243 ... //Perhaps in another part of your application you have a small active Chat Window
1244 ... //Increase the frequency of polling by decreasing the EventPollingInterval to every 2 seconds
1245 this.RemoteSession.EventServices.EventPollingInterval=2000;
1246 </code>
1247 </example>
1248 </member>
1249 <member name="P:IndianHealthService.BMXNet.RemoteEventService.EventPollingInterval">
1250 <summary>
1251 The number of milliseconds (ms) to wait before polling. If a polling event is currently being processed
1252 when a second event is trigger, the second event is skipped. It's recommended to keep this interval at
1253 5000 (5 seconds) or higher.
1254 </summary>
1255 </member>
1256 <member name="T:IndianHealthService.BMXNet.RemoteSessionPool">
1257 <summary>
1258 <para>
1259 Each BMX connection to RPMS contains a single RemoteSessionPool with at least
1260 one Session, the primary session. Applications that need additional server processes
1261 beyond what can be done with async commands can used the RemoteSessionPool.
1262 </para>
1263 <para>
1264 Access to the RemoteSessionPool is accomplished by implementing the RemoteSessionPoolConsumer
1265 interface on your component/control. Secondary sessions can be opened and closed as they
1266 are needed. If the AvailableSessionCount is zero then a null RemoteSession is returned so it
1267 is recommend to first check the if a pool HasAvailableSessions before an OpenSession() request.
1268 </para>
1269 <para>
1270 RemoteSessionPool high-performance can be achieved by keeping RPMS server jobs alive even after
1271 secondary sessions are closed. The pool will maintain MaxSessions - 1 number of jobs alive on the
1272 server. If the application is finished for awhile needing IdleSessionCount idle jobs, then
1273 TerminateIdleSessions() will release those resources on the server. New jobs will then be created
1274 on demand.
1275 </para>
1276
1277 </summary>
1278 </member>
1279 <member name="M:IndianHealthService.BMXNet.RemoteSessionPool.OpenSession">
1280 <summary>
1281 Open a RemoteSession and answer it. If an idle Session exists, it will be recycled
1282 and answered. Use Close() on the RemoteSession to release this secondary RemoteSession
1283 back to the pool.
1284 </summary>
1285 <returns>A newly created or recycled RemoteSession or null if the number of RemoteSessions has reach the MaxSessions count</returns>
1286 </member>
1287 <member name="M:IndianHealthService.BMXNet.RemoteSessionPool.OpenSession(IndianHealthService.BMXNet.Log)">
1288 <summary>
1289 Open a new RemoteSession and answer it. If an idle Session exists, it will be recycled
1290 and answered. Use Close() on the RemoteSession to release this secondary RemoteSession
1291 back to the pool. An implementation of Log can be included to trace RPC execution.
1292 </summary>
1293 <remarks>
1294 Logging is not heavily used in BMXNET40
1295 </remarks>
1296 <returns>A newly created or recycled RemoteSession or null if the number of RemoteSessions has reach the MaxSessions count</returns>
1297 </member>
1298 <member name="P:IndianHealthService.BMXNet.RemoteSessionPool.HasAvailableSession">
1299 <summary>
1300 True if another secondary session can be opened.
1301 </summary>
1302 <remarks>
1303 For this version of BMX, the EHR does not support secondary RemoteSessions and this
1304 method always returns false. If possible, develop your software using the API so when
1305 secondary RemoteSessions are supported your application will work.
1306 </remarks>
1307 </member>
1308 <member name="P:IndianHealthService.BMXNet.RemoteSessionPool.AvailableSessionCount">
1309 <summary>
1310 The number of additional secondary RemoteSessions that can be opened.
1311 </summary>
1312 </member>
1313 <member name="P:IndianHealthService.BMXNet.RemoteSessionPool.MaxSessions">
1314 <summary>
1315 The maximum number of RemoteSessions than can be opened
1316 </summary>
1317 </member>
1318 <member name="T:IndianHealthService.BMXNet.Services.BMXNetRemoteSession">
1319 <summary>
1320 Extends BMX functionality for easier development and debugging.
1321 Copied from Component Framework project IndianHealthService.Xo.Framework.Rpms
1322 </summary>
1323 </member>
1324 <member name="T:IndianHealthService.BMXNet.Net.BMXNetSocketBroker">
1325 <summary>
1326 BMXNetBroker implements low-level socket connectivity to RPMS databases.
1327 The VA RPC Broker must be running on the RPMS server in order for
1328 BMXNetBroker to connect.
1329 </summary>
1330 </member>
1331 <member name="T:IndianHealthService.BMXNet.BMXNetBroker">
1332 <summary>
1333 BMXNetBroker implements low-level socket connectivity to RPMS databases.
1334 The VA RPC Broker must be running on the RPMS server in order for
1335 BMXNetBroker to connect.
1336 </summary>
1337 </member>
1338 <member name="M:IndianHealthService.BMXNet.BMXNetBroker.PieceLength(System.String,System.String)">
1339 <summary>
1340 Corresponds to M's $L(STRING,DELIMITER)
1341 </summary>
1342 <param name="sInput"></param>
1343 <param name="sDelim"></param>
1344 <returns></returns>
1345 </member>
1346 <member name="M:IndianHealthService.BMXNet.BMXNetBroker.Piece(System.String,System.String,System.Int32)">
1347 <summary>
1348 Corresponds to M's $$Piece function
1349 </summary>
1350 <param name="sInput"></param>
1351 <param name="sDelim"></param>
1352 <param name="nNumber"></param>
1353 <returns></returns>
1354 </member>
1355 <member name="M:IndianHealthService.BMXNet.BMXNetBroker.ADEBLDPadString(System.String)">
1356 <summary>
1357 Given strInput = "13" builds "013" if nLength = 3. Default for nLength is 3.
1358 </summary>
1359 <param name="strInput"></param>
1360 <returns></returns>
1361 </member>
1362 <member name="M:IndianHealthService.BMXNet.BMXNetBroker.ADEBLDPadString(System.String,System.Int32)">
1363 <summary>
1364 Given strInput = "13" builds "013" if nLength = 3 Default for nLength is 3.
1365 </summary>
1366 <param name="strInput"></param>
1367 <param name="nLength">Default = 3</param>
1368 <returns></returns>
1369 </member>
1370 <member name="M:IndianHealthService.BMXNet.BMXNetBroker.ADEBLDB(System.String)">
1371 <summary>
1372 Concatenates zero-padded length of sInput to sInput
1373 Given "Hello" returns "004Hello"
1374 If nSize = 5, returns "00004Hello"
1375 Default for nSize is 3.
1376 </summary>
1377 <param name="sInput"></param>
1378 <returns></returns>
1379 </member>
1380 <member name="M:IndianHealthService.BMXNet.BMXNetBroker.ADEBLDB(System.String,System.Int32)">
1381 <summary>
1382 Concatenates zero-padded length of sInput to sInput
1383 Given "Hello" returns "004Hello"
1384 If nSize = 5, returns "00004Hello"
1385 Default for nSize is 3.
1386 </summary>
1387 <param name="sInput"></param>
1388 <param name="nSize"></param>
1389 <returns></returns>
1390 </member>
1391 <member name="M:IndianHealthService.BMXNet.BMXNetBroker.ADEBHDR(System.String,System.String,System.String,System.String)">
1392 <summary>
1393 Build protocol header
1394 </summary>
1395 <param name="sWKID"></param>
1396 <param name="sWINH"></param>
1397 <param name="sPRCH"></param>
1398 <param name="sWISH"></param>
1399 <returns></returns>
1400 </member>
1401 <member name="M:IndianHealthService.BMXNet.BMXNetBroker.FindSubString(System.String,System.String)">
1402 <summary>
1403 Returns index of first instance of sSubString in sString.
1404 If sSubString not found, returns -1.
1405 </summary>
1406 <param name="sString"></param>
1407 <param name="sSubString"></param>
1408 <returns></returns>
1409 </member>
1410 <member name="T:IndianHealthService.BMXNet.LocalSession">
1411 <summary>
1412 The LocalSession is scoped to the client, whether EHR/VueCentric or a WinForm application.
1413 User management, patient/visit context, and local events are the key services. Components/controls that are programmed
1414 against this API will work within both the EhrFramework and WinFramework environments.
1415 </summary>
1416 </member>
1417 <member name="T:IndianHealthService.BMXNet.Log">
1418 <summary>
1419 Current Logging facility for BMXNet. This facility conforms to the EHR/VueCentric
1420 method of logging. Logging is either on or off, there is no scale from Info to Fatal to
1421 turn off and on.
1422 </summary>
1423 <remarks>
1424 Logging is not heavily used in BMXNET40. In the EHR/VueCentric, the VIM.exe can be
1425 started on the command-line with the /trace option to see RPC calls.
1426 </remarks>
1427 </member>
1428 <member name="M:IndianHealthService.BMXNet.Log.Log(System.String,System.String,System.String[])">
1429 <summary>
1430 Call to send information to the log.
1431 </summary>
1432 <param name="aClass">A grouping of log entries</param>
1433 <param name="aCategory">A sub-grouping of log entries</param>
1434 <param name="lines">Lines of text to write to the log</param>
1435 </member>
1436 <member name="M:IndianHealthService.BMXNet.Log.Log(System.String,System.String,System.Exception,System.String[])">
1437 <summary>
1438 Call to send information to the log where an exception occured.
1439 </summary>
1440 <param name="aClass">A grouping of log entries</param>
1441 <param name="aCategory">A sub-grouping of log entries</param>
1442 <param name="anException">An exception to write to the log</param>
1443 <param name="lines">Lines of text to write to the log</param>
1444 </member>
1445 <member name="P:IndianHealthService.BMXNet.Log.IsLogging">
1446 <summary>
1447 True if logging is currently enabled. It's recommend to turn logging off
1448 except for diagnositics.
1449 </summary>
1450 </member>
1451 <member name="M:IndianHealthService.BMXNet.LocalSession.NewUser(System.String,System.String,IndianHealthService.BMXNet.Model.Division)">
1452 <summary>
1453 Create a new user object.
1454 </summary>
1455 <remarks>
1456 Instances of user are used by Frameworks or for configuration/comparisons.
1457 </remarks>
1458 <param name="aName">Display name of the user</param>
1459 <param name="anIen">IEN or DUZ of the User</param>
1460 <param name="aDivision">Currently set division of the user</param>
1461 <returns></returns>
1462 </member>
1463 <member name="M:IndianHealthService.BMXNet.LocalSession.Notify(System.String,System.Exception)">
1464 <summary>
1465 Simple uniform call for local notifications to the user when an exception occurs.
1466 </summary>
1467 <remarks>
1468 API is not commonly used
1469 </remarks>
1470 <param name="aTitle">Title of the dialog</param>
1471 <param name="anException">Exception to be displayed</param>
1472 </member>
1473 <member name="M:IndianHealthService.BMXNet.LocalSession.Notify(System.String,System.String)">
1474 <summary>
1475 Simple uniform call for local notifications to the user.
1476 </summary>
1477 <remarks>
1478 API is not commonly used.
1479 </remarks>
1480 <param name="aTitle">Title of the dialog</param>
1481 <param name="aMessage">Message to be displayed</param>
1482 </member>
1483 <member name="M:IndianHealthService.BMXNet.LocalSession.Close">
1484 <summary>
1485 Call to close the LocalSession which is the last action to take when
1486 shutdown down your application.
1487 </summary>
1488 <remarks>
1489 In the EHR this call does nothing because each instance of BMX EhrFramework manages
1490 a single component within the greater EHR/VueCentric framework.
1491 In a WinForm application this call shuts down the WinFramework, closes all RemoteSessions,
1492 and closes the LocalSession and disconnects from RPMS.
1493 </remarks>
1494 </member>
1495 <member name="P:IndianHealthService.BMXNet.LocalSession.Context">
1496 <summary>
1497 The current patient and visit context.
1498 </summary>
1499 <example>
1500 The context object is access exclusively through the LocalSession and LocalSession
1501 events. The context can be obtained if your control or component is a LocalSessionConsumer and if so then
1502 define the Context property as follows:
1503 <code>
1504 public Context Context
1505 {
1506 get { return this.LocalSession == null ? null : this.LocalSession.Context; }
1507 }
1508 </code>
1509 </example>
1510 </member>
1511 <member name="P:IndianHealthService.BMXNet.LocalSession.User">
1512 <summary>
1513 Authenticated user associated with LocalSession
1514 </summary>
1515 <remarks>
1516 If there are also RemoteSessions, the RemoteSessions will have the same User object
1517 </remarks>
1518 <example>
1519 <code>
1520 this.StatusLabel.Text= aLocalSession.User == null ? "No user" : aLocalSession.User.Name;
1521 </code>
1522 </example>
1523 </member>
1524 <member name="P:IndianHealthService.BMXNet.LocalSession.EventServices">
1525 <summary>
1526 Access to the LocalSessions EventServices
1527 </summary>
1528 </member>
1529 <member name="T:IndianHealthService.BMXNet.Net.EncryptionKeyProvider">
1530 <summary>
1531 A provider of the BMX Ade encryption key
1532 </summary>
1533 </member>
1534 <member name="T:IndianHealthService.BMXNet.Ado.BMXNetCommand">
1535 <summary>
1536 BMXNET implementaiton of DbCommand. This class can be used like
1537 any ADO.NET DbCommand implementation or the suggested RemoteSession API's can
1538 be used.
1539
1540 See ADO.NET documentation for details of this class.
1541 </summary>
1542 </member>
1543 <member name="T:IndianHealthService.BMXNet.Ado.BMXNetDataAdapter">
1544 <summary>
1545 BMXNET implementaiton of DbDataAdaptor. This class can be used like
1546 any ADO.NET DbDataAdaptor implementation or the suggested RemoteSession API's can
1547 be used.
1548
1549 See ADO.NET documentation for details of this class.
1550 </summary>
1551 </member>
1552 <member name="T:IndianHealthService.BMXNet.Model.Visit">
1553 <summary>
1554 The visit object is used to determine the current context of the application. The key wrinkle in the visit
1555 class relates to create a common interface for EHR/VueCentric and WinForm applications. The EHR/VueCentric supports
1556 visit stubs by default and the WinFramework does not. If the consumer of the visit object is going to use
1557 it to make changes to RPMS then the visit can not be a stub and must the visit must be created.
1558 <example>
1559 In either EHR or WinForm applications, always check for a stub before you call RPC's to update RPMS. If you
1560 do not, the visit may not have been created on RPMS and the visit id will be null.
1561 <code>
1562 if (this.Context.HasVisit)
1563 {
1564 if (this.Context.Visit.IsStub &amp;&amp; !this.Context.Visit.Create())
1565 {
1566 MessageBox.Show("Unable to establish visit.","Editing Disabled");
1567 return;
1568 }
1569
1570 //Call RPC to update RPMS with current visit ien
1571 }
1572 </code>
1573 </example>
1574 </summary>
1575 </member>
1576 <member name="M:IndianHealthService.BMXNet.Model.Visit.Create">
1577 <summary>
1578 If the receiver is a stub, then call Create() to create a visit in RPMS and
1579 then new data can be added in the context of a created visit. In the WinForm
1580 edition, this all Visits are created to the method will do nothing yet you should
1581 call it to be consistent.
1582 </summary>
1583 <returns>True if the visit has been created (always True for WinForm)</returns>
1584 </member>
1585 <member name="M:IndianHealthService.BMXNet.Model.Visit.Create(System.Boolean)">
1586 <summary>
1587 In the EHR some visits need user interaction to change from a stub to a created visit.
1588 </summary>
1589 <param name="showGuiToCreateVisit"></param>
1590 <returns></returns>
1591 </member>
1592 <member name="P:IndianHealthService.BMXNet.Model.Visit.Ien">
1593 <summary>
1594 This will be non-null if the visit has been created in RPMS, otherwise
1595 it is null and the receiver in considered a stub.
1596 </summary>
1597 </member>
1598 <member name="P:IndianHealthService.BMXNet.Model.Visit.ProviderName">
1599 <summary>
1600 Primary provider of the visit
1601 </summary>
1602 </member>
1603 <member name="P:IndianHealthService.BMXNet.Model.Visit.LocationName">
1604 <summary>
1605 Hospital Location of the visit
1606 </summary>
1607 </member>
1608 <member name="P:IndianHealthService.BMXNet.Model.Visit.DateTime">
1609 <summary>
1610 Official timetamp of the visit
1611 </summary>
1612 </member>
1613 <member name="P:IndianHealthService.BMXNet.Model.Visit.IsStub">
1614 <summary>
1615 If a visit is transient in the client memory space, it is a stub.
1616 In the EHR visits are often created as stubs (Create New is not checked)
1617 Once data is entered, the visit is created.
1618 The WinForm only supports full created visits therefore IsStub is always false
1619 </summary>
1620 </member>
1621 <member name="P:IndianHealthService.BMXNet.Model.Visit.IsFutureAppointment">
1622 <summary>
1623 Answer true if a future appointment.
1624 </summary>
1625 </member>
1626 <member name="P:IndianHealthService.BMXNet.Model.Visit.IsLocked">
1627 <summary>
1628 If a visit can not be added to if it is locked. In the WinForm edition, all
1629 visits answered by BMX FIND VISIT are considered unlocked.
1630 </summary>
1631 </member>
1632 <member name="T:IndianHealthService.BMXNet.RemoteEventArgs">
1633 <summary>
1634 The event args used by the RemoteEventService
1635 </summary>
1636 </member>
1637 <member name="P:IndianHealthService.BMXNet.RemoteEventArgs.EventType">
1638 <summary>
1639 This string corresponds to well-known/shared EventTypes used to identify
1640 different events published and subscribed between BMX implementations using RemoteSessions.
1641 </summary>
1642 </member>
1643 <member name="P:IndianHealthService.BMXNet.RemoteEventArgs.Details">
1644 <summary>
1645 This is an optional peice of data with some event-specific details.
1646 </summary>
1647 </member>
1648 <member name="T:IndianHealthService.BMXNet.Ado.BMXNetTransaction">
1649 <summary>
1650 BMXNET implementaiton of IDbTransaction. This class can be used like
1651 any ADO.NET IDbTransaction implementation or the suggested RemoteSession API's can
1652 be used.
1653
1654 See ADO.NET documentation for details of this class.
1655 </summary>
1656 </member>
1657 <member name="M:IndianHealthService.BMXNet.Services.BMXRemoteSessionPool.TerminateIdleSessions">
1658 <summary>
1659 Note: idle session connections are really being terminated. We
1660 do not re-use BMXNetRemoteSession objects that wrap the session connection
1661 </summary>
1662 </member>
1663 <member name="T:IndianHealthService.BMXNet.Model.Patient">
1664 <summary>
1665 The Patient object is a read-only object used for patient context.
1666 </summary>
1667 </member>
1668 <member name="P:IndianHealthService.BMXNet.Model.Patient.Ien">
1669 <summary>
1670 The RPMS intenal entry number for the patient
1671 </summary>
1672 </member>
1673 <member name="P:IndianHealthService.BMXNet.Model.Patient.HealthRecordNumber">
1674 <summary>
1675 The RPMS HRN or chart number
1676 </summary>
1677 </member>
1678 <member name="P:IndianHealthService.BMXNet.Model.Patient.PatientName">
1679 <summary>
1680 The default displayable version of the patient's name
1681 </summary>
1682 </member>
1683 <member name="P:IndianHealthService.BMXNet.Model.Patient.AdmitDate">
1684 <summary>
1685 The current admission date of the user. This is a nullable bool for the cases that
1686 the patient is not currently admitted.
1687 </summary>
1688 </member>
1689 <member name="P:IndianHealthService.BMXNet.Model.Patient.Age">
1690 <summary>
1691 The current age of the patient.
1692 </summary>
1693 </member>
1694 <member name="P:IndianHealthService.BMXNet.Model.Patient.Dob">
1695 <summary>
1696 If knownn, the DOB of the patient
1697 </summary>
1698 </member>
1699 <member name="P:IndianHealthService.BMXNet.Model.Patient.PrimaryProvider">
1700 <summary>
1701 The displayable name (external value) of the patient's primary provider.
1702 </summary>
1703 </member>
1704 <member name="P:IndianHealthService.BMXNet.Model.Patient.Sex">
1705 <summary>
1706 The sex of the patient
1707 </summary>
1708 </member>
1709 <member name="P:IndianHealthService.BMXNet.Model.Patient.Ssn">
1710 <summary>
1711 The patient's SSN or an abbrievation of the SSN
1712 </summary>
1713 </member>
1714 <member name="T:IndianHealthService.BMXNet.BMXNetException">
1715 <summary>
1716 This simple exception wrapper is used for Exceptions thrown by umknown sources and
1717 by the BMX library. Check the InnerException for details.
1718 </summary>
1719 </member>
1720 <member name="T:IndianHealthService.BMXNet.Ado.BMXNetConnection">
1721 <summary>
1722 BMXNET implementaiton of DbConnection. This class can be used like
1723 any ADO.NET DbConnection implementation or the suggested RemoteSession API's can
1724 be used.
1725
1726 See ADO.NET documentation for details of this class.
1727 </summary>
1728 </member>
1729 <member name="T:IndianHealthService.BMXNet.Model.User">
1730 <summary>
1731 The user that established the connection to BMX either through the WinFramework dialogs or access/verify codes, or
1732 a user established through attach tho the EHR/VueCentric with the EhrFramework.
1733 <para>The user breaks down into who is it and what can they do with some identify and security key checing.</para>
1734 </summary>
1735 </member>
1736 <member name="M:IndianHealthService.BMXNet.Model.User.HasSecurityKey(System.String)">
1737 <summary>
1738 Check aKey against the active RPMS keys for the user. If the user has the PROGMODE key this
1739 method will always return true.
1740 </summary>
1741 <param name="aKey">The key name that is compared against the keys on the server</param>
1742 <returns>Return true if the user has the key</returns>
1743 </member>
1744 <member name="M:IndianHealthService.BMXNet.Model.User.RequestKeys">
1745 <summary>
1746 Fetch from RPMS the user's current keys. The user's
1747 division must be set before calling this metohd.
1748 </summary>
1749 <returns></returns>
1750 </member>
1751 <member name="M:IndianHealthService.BMXNet.Model.User.HasSecurityKeys(System.String[])">
1752 <summary>
1753 Return a list of keys that the user does NOT have. If the user has all of
1754 the keys then an empty list is returned
1755 </summary>
1756 <example>
1757 List&lt;String&gt; missingKeys=aUser.HasSecurityKeys(new string[] { "Key1","Key2" });
1758 if (missingKeys.Count==0) {
1759 //Take a secured path
1760 } else {
1761 MessageBox.Show(missingKeys);
1762 }
1763 </example>
1764 <remarks>
1765 The HasSecurityKeys appraoch does not give those with PROGMODE a free-pass since it compares
1766 the actual keys. HasSecurityKeys uses RequestKeys
1767 </remarks>
1768 <param name="keys">a list of keys to compare against the user's keys</param>
1769 <returns>A list of keys the user does not have, empty of the user has them all</returns>
1770 </member>
1771 <member name="P:IndianHealthService.BMXNet.Model.User.Duz">
1772 <summary>
1773 The DUZ aka IEN of the NEW Person File of this user
1774 </summary>
1775 </member>
1776 <member name="P:IndianHealthService.BMXNet.Model.User.Name">
1777 <summary>
1778 A displayable name of the user
1779 </summary>
1780 </member>
1781 <member name="P:IndianHealthService.BMXNet.Model.User.Division">
1782 <summary>
1783 The division that this user to currently operating within
1784 </summary>
1785 </member>
1786 <member name="T:IndianHealthService.BMXNet.RemoteSessionConsumer">
1787 <summary>
1788 This interface is used on an UserControl-based components that are designed to work both inside
1789 the EHR and inside a WinForm application. The "Consumer" interfaces basically tell Frameworks
1790 that "Consumer" implementating objects need an specific service.
1791 </summary>
1792 <remarks>
1793 If your component doesn't implement RemoteConsumer you can still user your component. Implementing
1794 RemoteConsumer is very common and is essential for communicating with the RPMS server.
1795 </remarks>
1796 </member>
1797 <member name="P:IndianHealthService.BMXNet.RemoteSessionConsumer.RemoteSession">
1798 <summary>
1799 This property will be set with the primary RemoteSession that the interface implementer can use for communicating
1800 with the RPMS server.
1801 </summary>
1802 <remarks>
1803 If also using a RemoteSessionPool, it's important to realize the if the primary RemoteSession that is set through
1804 this interface is closed then every session in the RemoteSessionPool is also clsoed as well as the broker connection
1805 to RPMS.
1806 </remarks>
1807 </member>
1808 <member name="T:IndianHealthService.BMXNet.Model.Context">
1809 <summary>
1810 Context interface provides the current status and related events of the
1811 patient/visit context within an application, or the EHR.
1812 </summary>
1813 <remarks>
1814 Application developers use the WinFramework and ChangableContext to modify the context. Within
1815 the EHR/VueCentric framework, the Context interface is a basic wrapper of some of the EHR facilties.
1816 </remarks>
1817 </member>
1818 <member name="E:IndianHealthService.BMXNet.Model.Context.Changed">
1819 <summary>
1820 The most important aspect of the Context interface is the Changed event that allows
1821 the receiver of the event know when the user is changing patient and visit. Applications
1822 need to change the data displayed to represent the currnet Patient and optional visit. The
1823 Changed event occurs after there is confirmation that the change has not been vetoed or the
1824 veto has been overridden. See Changing event.
1825 </summary>
1826 <example>
1827 Users of the Context object should hook the event ASAP. The
1828 <code>
1829 public void Startup()
1830 {
1831 if (this.Context != null)
1832 {
1833 this.Context.Changed += new EventHandler&lt;ContextChangedArgs&gt;(Context_Changed);
1834 }
1835 </code>
1836 The context can be obtained if your control or component is a LocalSessionConsumer and if so then
1837 define the Context property as follows:
1838 <code>
1839 public Context Context
1840 {
1841 get { return this.LocalSession == null ? null : this.LocalSession.Context; }
1842 }
1843 </code>
1844 </example>
1845 </member>
1846 <member name="E:IndianHealthService.BMXNet.Model.Context.Changing">
1847 <summary>
1848 When the current patient or visit is being changed by the user, every subscriber to the
1849 Changing method has the option to "Veto" the event by Cancelling it:
1850 <code>
1851 public void Startup()
1852 {
1853 if (this.Context != null)
1854 {
1855 this.Context.Changed += new EventHandler&lt;ContextChangedArgs&gt;(Context_Changed);
1856 this.Context.Changing += new EventHandler&lt;ContextChangedArgs&gt;(Context_Changing);
1857 }
1858
1859 void Context_Changing(object sender, ContextChangingArgs e)
1860 {
1861 e.Cancel = needToFinishSomethingElseBeforeChangingContext;
1862 }
1863 </code>
1864 However, a Veto is like a U.S. presential Veto and that it can be overridden. The WinFramework
1865 or EHR can override any Veto so all components (even if they veto changes) must be prepared to
1866 have the context changed at anytime.
1867 </summary>
1868 </member>
1869 <member name="P:IndianHealthService.BMXNet.Model.Context.Patient">
1870 <summary>
1871 The currently selected patient, or null. The value of the current patient is also in <seealso cref="T:IndianHealthService.BMXNet.Model.ContextChangedArgs"/>.
1872 The concept is that the context is set by external forces, ususally the user. Therefore there is no
1873 way to set the patient here.
1874 </summary>
1875 <remarks>
1876 Remember to refresh your user interface based on the new selection to the information your application displays
1877 or edits is that same as the current context.
1878 </remarks>
1879 </member>
1880 <member name="P:IndianHealthService.BMXNet.Model.Context.Visit">
1881 <summary>
1882 The currently selected visit, or null. The value of the current visit is also in ContextChangedArgs.
1883 The concept is that the context is set by external forces, ususally the user. Therefore there is no
1884 way to set the visit here.
1885 </summary>
1886 <remarks>
1887 In the EHR, a visit stub can be created. A visit stub does not create a visit in RPMS until some data
1888 is entered. IsVisit will return true for a visit stub but is it your responbilty to use HasUnlockedVisit or IsStub
1889 on the Visit to make sure you have a visit to edit with.
1890 Remember to refresh your user interface based on the new selection to the information your application displays
1891 or edits is that same as the current context.
1892 </remarks>
1893 </member>
1894 <member name="P:IndianHealthService.BMXNet.Model.Context.HasPatient">
1895 <summary>
1896 Answer true/false if there is a patient currently selected. This is a convenience method.
1897 </summary>
1898 </member>
1899 <member name="P:IndianHealthService.BMXNet.Model.Context.HasVisit">
1900 <summary>
1901 Answer true/false if there is a patient currently selected. This is a convenience method.
1902 </summary>
1903 </member>
1904 <member name="P:IndianHealthService.BMXNet.Model.Context.HasUnlockedVisit">
1905 <summary>
1906 Answer true if there is a visit and if it is unlocked. The EHR/VueCentric has a notion of the
1907 locked visit, a visit that can no longer be visited. The EHR/VueCetnric has has a visit stub, a visit that
1908 has been create on the desktop but not in RPMS. If a visit is a visit stub, it is not considered unlocked.
1909 </summary>
1910 </member>
1911 <member name="P:IndianHealthService.BMXNet.Model.Context.User">
1912 <summary>
1913 The user that established the connection to BMX either through the WinFramework dialogs or access/verify codes, or
1914 a user established through attach tho the EHR/VueCentric with the EhrFramework.
1915 </summary>
1916 </member>
1917 <member name="P:IndianHealthService.BMXNet.Ado.RPMSDb.ResultSets">
1918 <summary>
1919 Returns the array of RMPSResultSets retrieved from RPMS
1920 </summary>
1921 </member>
1922 <member name="P:IndianHealthService.BMXNet.Ado.RPMSDb.CurrentRecordSet">
1923 <summary>
1924 Sets and Returns the current recordset
1925 </summary>
1926 </member>
1927 <member name="T:IndianHealthService.BMXNet.Ado.DataTableFutureEventArgs">
1928 <summary>
1929 The event args for all DataTableFuture events.
1930 </summary>
1931 <remarks>
1932 The DataTableFuture events are trigger in the non-UI thread and will break any application that is not managing it's
1933 UI calls properly. If implementing a basic GUI-based application, it's recommended to set the InvokedControl on
1934 every DataTableFuture you created.
1935 This EventArgs provides the future, which is the same instance created when the Async call was made.
1936 </remarks>
1937 </member>
1938 <member name="P:IndianHealthService.BMXNet.Ado.DataTableFutureEventArgs.Future">
1939 <summary>
1940 The future object that can be used to determine the state of the future, cancel the future, and perform
1941 some post future processing.
1942 </summary>
1943 </member>
1944 <member name="T:IndianHealthService.BMXNet.RemoteSessionPoolConsumer">
1945 <summary>
1946 This interface is used on an UserControl-based components that are designed to work both inside
1947 the EHR and inside a WinForm application. The "Consumer" interfaces basically tell Frameworks
1948 that "Consumer" implementating objects need an specific service.
1949 </summary>
1950 <remarks>
1951 This interface is rarely used but is essential for application needing multiple server-side
1952 jobs.
1953 </remarks>
1954 </member>
1955 <member name="P:IndianHealthService.BMXNet.RemoteSessionPoolConsumer.RemoteSessionPool">
1956 <summary>
1957 This property will be set with the RemoteSessionPool that is used by the Framework.
1958 </summary>
1959 <remarks>
1960 If you only need one RemoteSession, the most common usage pattern, you do not need the RemoteSessionPoolConsumer
1961 and should use <see cref="T:IndianHealthService.BMXNet.RemoteSessionConsumer"/>.
1962 </remarks>
1963 </member>
1964 <member name="T:IndianHealthService.BMXNet.LocalEventArgs">
1965 <summary>
1966 The event args used by the LocalEventService.
1967 </summary>
1968 </member>
1969 <member name="P:IndianHealthService.BMXNet.LocalEventArgs.EventType">
1970 <summary>
1971 This string corresponds to well-known/shared EventTypes used to identify
1972 different events published and subscribed within a local desktop application (WinFramework)
1973 or in the EHR.
1974 </summary>
1975 <example>
1976 The framewrk implements LocalSession.EventServices.RefreshRequested by sending or receiving
1977 the LocalEvent with the EventType=="REFRESH".
1978 </example>
1979 <example>
1980 The Well Child Module growth chart displays Height and Weight. When the EHR vitals component adds
1981 new Heights and Weights it publishes a LocalEvent with an EventType PCC*MSR. If the growth chart detects
1982 the Vitals update event it then refreshes the growth chart:
1983 <code>
1984 void Session_ApplicationEvent(object sender, LocalEventArgs e)
1985 {
1986 if (this.IsVitalsUpdatedEvent(e))
1987 {
1988 this.RefreshAll();
1989 }
1990 }
1991
1992 protected bool IsVitalsUpdatedEvent(LocalEventArgs anEvent)
1993 {
1994 return anEvent.EventType.StartsWith("PCC") &amp;&amp; anEvent.EventType.EndsWith("MSR");
1995 }
1996 </code>
1997 </example>
1998 </member>
1999 <member name="P:IndianHealthService.BMXNet.LocalEventArgs.Details">
2000 <summary>
2001 This is an optional peice of data with some event-specific details.
2002 </summary>
2003 </member>
2004 <member name="T:IndianHealthService.BMXNet.LocalConsumer">
2005 <summary>
2006 This interface is used on UserControl-based components which are designed to work both inside
2007 the EHR and inside a WinForm application. "Consumer" interfaces basically tell Frameworks
2008 that a "Consumer"-implementating object need a specific service, versus the service being queried.
2009 </summary>
2010 <remarks>
2011 If your component doesn't implement LocalConsumer you can still have a user-control. However, implementing
2012 LocalConsumer is very common because of exclusive access to the patient/visit Context.
2013 </remarks>
2014 </member>
2015 <member name="P:IndianHealthService.BMXNet.LocalConsumer.LocalSession">
2016 <summary>
2017 This property is set with a LocalSession by the framework. The receiver uses it for Context,
2018 local Events, and other services.
2019 </summary>
2020 </member>
2021 <member name="T:IndianHealthService.BMXNet.LocalEventService">
2022 <summary>
2023 Access to local services are access through this interface.
2024 </summary>
2025 </member>
2026 <member name="M:IndianHealthService.BMXNet.LocalEventService.Subscribe(System.String)">
2027 <summary>
2028 Subscribe to the local event named anEventName.
2029 </summary>
2030 <remarks>
2031 To receive published events, handle the ApplicationEvent. If you explicity subscript
2032 to the "REFRESH" event then both RefreshRequested and ApplicationEvent will be triggers.
2033 </remarks>
2034 <param name="anEventName">The name of the event. This name should be shared and wellknown between many components.</param>
2035 </member>
2036 <member name="M:IndianHealthService.BMXNet.LocalEventService.HasSubscribers(System.String)">
2037 <summary>
2038 Checks to see there are any subscriptions for this event.
2039 </summary>
2040 <remarks>
2041 If publishing an event, there is no need to first check if there are subscribers unless there is a
2042 performance hit for the application to Trigger the event.
2043 </remarks>
2044 <param name="anEventName">The name of the event checking to see if it's been subscribed already.</param>
2045 <returns></returns>
2046 </member>
2047 <member name="M:IndianHealthService.BMXNet.LocalEventService.Unsubscribe(System.String)">
2048 <summary>
2049 Unscribe scribes from the event. It is not mandatory to unsubscribe from this event at the end of
2050 your object's lifecycle but you should either subsubscribe or remote the event handler.
2051 </summary>
2052 <param name="anEventName">The name of the event unsubscribing from.</param>
2053 <returns></returns>
2054 </member>
2055 <member name="M:IndianHealthService.BMXNet.LocalEventService.TriggerEvent(System.String,System.String)">
2056 <summary>
2057 To publish an event call TriggerEvent with the event name and optional details. There is no
2058 restriction on what local events that can be triggered. A "REFRESH" event can be broadcast as
2059 well as any other application specific or well-known loal event.
2060 </summary>
2061 <param name="anEventName">The event name. This is normally a well-known event that multiple components used for event-driven communications.</param>
2062 <param name="someDetails">An arbitrary string containing event specific data</param>
2063 </member>
2064 <member name="E:IndianHealthService.BMXNet.LocalEventService.RefreshRequested">
2065 <summary>
2066 This commonly broadcasted event is request to refresh content.
2067 </summary>
2068 <remarks>
2069 In the EHR, this is equivalent to the "REFRESH" event. The WinFramework also uses "REFRESH" as the
2070 event name for triggering a refresh request.
2071 </remarks>
2072 <example>
2073 The following code from Well Child Module's Growth Chart shows registering for the Refresh event
2074 at startup:
2075 <code>
2076 public void Startup()
2077 {
2078 this.LocalSession.EventServices.RefreshRequested += new EventHandler(Session_RefreshRequested);
2079 }
2080
2081 void Session_RefreshRequested(object sender, EventArgs e)
2082 {
2083 this.RefreshAll();
2084 }
2085 </code>
2086
2087 </example>
2088 </member>
2089 <member name="E:IndianHealthService.BMXNet.LocalEventService.ApplicationEvent">
2090 <summary>
2091 Local event subscribers will have this event triggered.
2092 </summary>
2093 <remarks>
2094 The "REFRESH" event is filtered out and is triggered using the RefreshRequested event
2095 </remarks>
2096 <example>
2097 The Well Child Module growth chart displays Height and Weight. When the EHR vitals component adds
2098 new Heights and Weights it publishes a LocalEvent with an EventType PCC*MSR. If the growth chart detects
2099 the Vitals update event it then refreshes the growth chart:
2100 <code>
2101 public void Startup()
2102 {
2103 this.LocalSession.EventServices.ApplicationEvent+= new EventHandler&lt;LocalEventArgs&gt;(Session_ApplicationEvent);
2104 }
2105
2106
2107 void Session_ApplicationEvent(object sender, LocalEventArgs e)
2108 {
2109 if (this.IsVitalsUpdatedEvent(e))
2110 {
2111 this.RefreshAll();
2112 }
2113 }
2114
2115 protected bool IsVitalsUpdatedEvent(LocalEventArgs anEvent)
2116 {
2117 return anEvent.EventType.StartsWith("PCC") &amp;&amp; anEvent.EventType.EndsWith("MSR");
2118 }
2119 </code>
2120 </example>
2121 </member>
2122 <member name="T:IndianHealthService.BMXNet.Net.BMXNetSessionSocketConnection">
2123 <summary>
2124 BMXNetBroker implements low-level socket connectivity to RPMS databases.
2125 The VA RPC Broker must be running on the RPMS server in order for
2126 BMXNetBroker to connect.
2127 </summary>
2128 </member>
2129 <member name="M:IndianHealthService.BMXNet.Net.BMXNetSessionSocketConnection.OpenConnectionCommon">
2130 <summary>
2131 Returns index of first instance of sSubString in sString.
2132 If sSubString not found, returns -1.
2133 </summary>
2134 <returns></returns>
2135 </member>
2136 <member name="M:IndianHealthService.BMXNet.Net.BMXNetSessionSocketConnection.ImHereServer">
2137 <summary>
2138 Ping the server, will reset read-timeout
2139 </summary>
2140 <returns>Answer the #milliseconds to run or -1 if theres an issue</returns>
2141 </member>
2142 <member name="P:IndianHealthService.BMXNet.Net.BMXNetSessionSocketConnection.ReceiveTimeout">
2143 <summary>
2144 Set and retrieve the timeout, in milliseconds, to receive a response from the RPMS server.
2145 If the retrieve time exceeds the timeout, an exception will be thrown and the connection will be closed.
2146 The default is 30 seconds.
2147 </summary>
2148 </member>
2149 <member name="T:IndianHealthService.BMXNet.Ado.BMXNetDataReader">
2150 <summary>
2151 BMXNET implementaiton of IDataReader. This class can be used like
2152 any ADO.NET IDataReader implementation or the suggested RemoteSession API's can
2153 be used.
2154
2155 See ADO.NET documentation for details of this class.
2156 </summary>
2157 </member>
2158 </members>
2159</doc>
Note: See TracBrowser for help on using the repository browser.