source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/IHS BMX Framework/IndianHealthService.BMXNet.Doc/Help/html/967b19db-76c2-6522-a316-b5c445dc4f22.htm@ 1187

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

Initial Import of BMX4

File size: 15.2 KB
Line 
1<html xmlns:MSHelp="http://msdn.microsoft.com/mshelp" xmlns:mshelp="http://msdn.microsoft.com/mshelp" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><META NAME="save" CONTENT="history" /><title>IndianHealthService.BMXNet.Model Namespace</title><link rel="stylesheet" type="text/css" href="../styles/presentation.css" /><link rel="stylesheet" type="text/css" href="ms-help://Hx/HxRuntime/HxLink.css" /><link rel="stylesheet" type="text/css" href="ms-help://Dx/DxRuntime/DxLink.css" /><script type="text/javascript" src="../scripts/EventUtilities.js"> </script><script type="text/javascript" src="../scripts/SplitScreen.js"> </script><script type="text/javascript" src="../scripts/Dropdown.js"> </script><script type="text/javascript" src="../scripts/script_manifold.js"> </script><script type="text/javascript" src="../scripts/LanguageFilter.js"> </script><script type="text/javascript" src="../scripts/DataStore.js"> </script><script type="text/javascript" src="../scripts/CommonUtilities.js"> </script><script type="text/javascript" src="../scripts/MemberFilter.js"> </script><meta name="guid" content="967b19db-76c2-6522-a316-b5c445dc4f22" /></head><body><input type="hidden" id="userDataCache" class="userDataStyle" /><input type="hidden" id="hiddenScrollOffset" /><img id="collapseImage" style="display:none; height:0; width:0;" src="../icons/collapse_all.gif" title="Collapse image" /><img id="expandImage" style="display:none; height:0; width:0;" src="../icons/expand_all.gif" title="Expand Image" /><img id="collapseAllImage" style="display:none; height:0; width:0;" src="../icons/collall.gif" title="CollapseAll image" /><img id="expandAllImage" style="display:none; height:0; width:0;" src="../icons/expall.gif" title="ExpandAll image" /><img id="dropDownImage" style="display:none; height:0; width:0;" src="../icons/twirl_unselected.gif" title="DropDown image" /><img id="dropDownHoverImage" style="display:none; height:0; width:0;" src="../icons/twirl_unselected_hover.gif" title="DropDownHover image" /><img id="copyImage" style="display:none; height:0; width:0;" src="../icons/copycode.gif" title="Copy image" /><img id="copyHoverImage" style="display:none; height:0; width:0;" src="../icons/copycodeHighlight.gif" title="CopyHover image" /><img id="checkBoxSelectImage" style="display:none; height:0; width:0;" src="../icons/ch_selected.gif" /><img id="checkBoxUnSelectImage" style="display:none; height:0; width:0;" src="../icons/ch_unselected.gif" /><img id="checkBoxSelectHoverImage" style="display:none; height:0; width:0;" src="../icons/ch_selected_hover.gif" /><img id="checkBoxUnSelectHoverImage" style="display:none; height:0; width:0;" src="../icons/ch_unselected_hover.gif" /><img id="radioSelectImage" style="display:none; height:0; width:0;" src="../icons/r_select.gif" /><img id="radioUnSelectImage" style="display:none; height:0; width:0;" src="../icons/r_unselect.gif" /><img id="radioSelectHoverImage" style="display:none; height:0; width:0;" src="../icons/r_select_hover.gif" /><img id="radioUnSelectHoverImage" style="display:none; height:0; width:0;" src="../icons/r_unselect_hover.gif" /><img id="curvedLeftSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_sel_lft_cnr.gif" /><img id="curvedRightSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_sel_rt_cnr.gif" /><img id="curvedLeftUnSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_unsel_lft_cnr.gif" /><img id="curvedRightUnSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_unsel_rt_cnr.gif" /><img id="gradLeftSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_sel_lft_grad.gif" /><img id="gradRightSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_sel_rt_grad.gif" /><img id="gradLeftUnSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_unsel_lft_grad.gif" /><img id="gradRightUnSelectImage" style="display:none; height:0; width:0;" src="../icons/tab_unsel_rt_grad.gif" /><img id="twirlSelectImage" style="display:none; height:0; width:0;" src="../icons/twirl_selected.gif" /><img id="twirlUnSelectImage" style="display:none; height:0; width:0;" src="../icons/twirl_unselected.gif" /><img id="twirlSelectHoverImage" style="display:none; height:0; width:0;" src="../icons/twirl_selected_hover.gif" /><img id="twirlUnSelectHoverImage" style="display:none; height:0; width:0;" src="../icons/twirl_unselected_hover.gif" /><img id="NSRBottomImage" style="display:none; height:0; width:0;" src="../icons/NSRbottomgrad.gif" /><div id="header"><table id="topTable"><tr id="headerTableRow3"><td><span onclick="ExpandCollapseAll(toggleAllImage)" style="cursor:default;" onkeypress="ExpandCollapseAll_CheckKey(toggleAllImage, event)" tabindex="0"><img ID="toggleAllImage" class="toggleAll" src="../icons/collall.gif" title="CollapseAll image" /><label id="collapseAllLabel" for="toggleAllImage" style="display: none;">Collapse All</label><label id="expandAllLabel" for="toggleAllImage" style="display: none;">Expand All</label> </span> | <span id="languageFilterToolTip" style="cursor:default;" onmouseover="languageFilterImage.src=dropDownHoverImage.src;" onmouseout="languageFilterImage.src=dropDownImage.src;" tabindex="0"><img id="languageFilterImage" src="../icons/twirl_unselected.gif" title="DropDown image" /><label id="VisualBasicLabel" for="languageFilterImage" style="display: none;">Language Filter: Visual Basic</label><label id="CSharpLabel" for="languageFilterImage" style="display: none;">Language Filter: C#</label><label id="ManagedCPlusPlusLabel" for="languageFilterImage" style="display: none;">Language Filter: Visual C++</label><label id="JavaScriptLabel" for="languageFilterImage" style="display: none;">Language Filter: JavaScript</label></span><div id="languageSpan"><div id="VisualBasic" onclick="changeLanguage(data, 'VisualBasic', 'vb');"><img id="VisualBasicImage" onmouseover="mouseOverCheck(VisualBasicImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" onmouseout="mouseOutCheck(VisualBasicImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" src="../icons/r_unselect.gif" /> Visual Basic</div><br /><div id="CSharp" onclick="changeLanguage(data, 'CSharp', 'cs');"><img id="CSharpImage" onmouseover="mouseOverCheck(CSharpImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" onmouseout="mouseOutCheck(CSharpImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" src="../icons/r_unselect.gif" /> C#</div><br /><div id="ManagedCPlusPlus" onclick="changeLanguage(data, 'ManagedCPlusPlus', 'cpp');"><img id="ManagedCPlusPlusImage" onmouseover="mouseOverCheck(ManagedCPlusPlusImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" onmouseout="mouseOutCheck(ManagedCPlusPlusImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" src="../icons/r_unselect.gif" /> Visual C++</div><br /><div id="JavaScript" onclick="changeLanguage(data, 'JavaScript', 'cs');"><img id="JavaScriptImage" onmouseover="mouseOverCheck(JavaScriptImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" onmouseout="mouseOutCheck(JavaScriptImage,radioSelectImage,radioUnSelectImage,radioSelectHoverImage,radioUnSelectHoverImage)" src="../icons/r_unselect.gif" /> JavaScript</div><br /></div></td></tr><tr id="headerTableRow1"><td align="left"><span id="runningHeaderText">.NET Framework Class Library</span></td></tr><tr id="headerTableRow2"><td align="left"><span id="nsrTitle">IndianHealthService.BMXNet.Model Namespace</span></td></tr><tr><td class="nsrBottom" background="../icons/NSRbottomgrad.gif" /></tr></table></div><div id="mainSection"><div id="mainBody"><div id="allHistory" class="saveHistory" onsave="saveAll()" onload="loadAll()" /><div class="header"><font color="darkgray" /><p><font color="#a9a9a9">BMXNET 4.0 Developer API</font></p></div><h1 class="heading"><span onclick="ExpandCollapse(typesToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(typesToggle, event)" tabindex="0"><img id="typesToggle" class="toggle" name="toggleSwitch" src="../icons/collapse_all.gif" />Types</span></h1><div id="typesSection" class="section" name="collapseableSection" style=""><div id="typeSection"><table class="filter" cellspacing="0" cellpadding="0"><tr id="curvedTypeTabs"><td class="leftTab" value="all"> </td><td class="middleTab" value="all"> </td><td class="rightTab" value="all"> </td><td class="leftTab" value="class"> </td><td class="middleTab" value="class"> </td><td class="rightTab" value="class"> </td><td class="leftTab" value="interface"> </td><td class="middleTab" value="interface"> </td><td class="rightTab" value="interface"> </td></tr><tr class="tabs" id="typeFilter"><td class="leftGrad" value="all"> </td><td class="tab" value="all" onclick="toggleClass('typeFilter','value','all','activeTab','tab'); curvedToggleClass('curvedTypeTabs','value','all');processSubgroup('all', 'type'); process('typeList','filterElement','type');">All Types</td><td class="rightGrad" value="all"> </td><td class="leftGrad" value="class"> </td><td class="tab" value="class" onclick="toggleClass('typeFilter','value','class','activeTab','tab'); curvedToggleClass('curvedTypeTabs','value','class'); processSubgroup('class', 'type'); process('typeList','filterElement','type');">Classes <img src="../icons/pubclass.gif" title="Public class" /></td><td class="rightGrad" value="class"> </td><td class="leftGrad" value="interface"> </td><td class="tab" value="interface" onclick="toggleClass('typeFilter','value','interface','activeTab','tab'); curvedToggleClass('curvedTypeTabs','value','interface'); processSubgroup('interface','type'); process('typeList','filterElement','type');">Interfaces<img src="../icons/pubinterface.gif" title="Public interface" /></td><td class="rightGrad" value="interface"> </td></tr></table><div class="memberSection"><table id="typeList" class="members" cellspacing="0"><tr><th class="iconColumn"> </th><th class="nameColumn">Name</th><th class="descriptionColumn">Description</th></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" title="Public interface" /></td><td><a href="b341d542-b478-5f92-f3a5-daa4de7e7739.htm">Context</a></td><td><div class="summary">
2 Context interface provides the current status and related events of the
3 patient/visit context within an application, or the EHR.
4 </div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" title="Public class" /></td><td><a href="9b97f7ac-97ff-0d7c-df88-839a87778b8f.htm">ContextChangedArgs</a></td><td><div class="summary">
5 The argument to the ContextChanged method. This event has methods that allow you
6 to detect which aspects of the context have changed and what the new context is.
7 </div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" title="Public class" /></td><td><a href="6e814fb8-fe0b-6640-8f84-8f248f31affc.htm">ContextChangingArgs</a></td><td><div class="summary">
8 An instance of these args are included with the ContextChanging event and this event
9 is a CancelEventArgs subclass. The Cancel property being set to True represents the desire
10 to Veto the change so the patient (and potentially visit) does not change. The Veto can be
11 overriden by the framework so be prepared for the context to change even if you don't want it
12 to.
13 </div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" title="Public interface" /></td><td><a href="5e5bd47b-b336-0a7a-4b72-c3cda30f2a2b.htm">Division</a></td><td><div class="summary">
14 This object represents the RPMS Division.
15 </div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" title="Public interface" /></td><td><a href="1668cc61-ac9e-4407-114d-ce8158efa14c.htm">Patient</a></td><td><div class="summary">
16 The Patient object is a read-only object used for patient context.
17 </div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" title="Public interface" /></td><td><a href="674043a8-9c66-58dc-d794-a847997c3652.htm">User</a></td><td><div class="summary">
18 The user that established the connection to BMX either through the WinFramework dialogs or access/verify codes, or
19 a user established through attach tho the EHR/VueCentric with the EhrFramework.
20 <p>The user breaks down into who is it and what can they do with some identify and security key checing.</p>
21 </div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" title="Public interface" /></td><td><a href="205823e9-da56-b0ea-095c-98587ebbdc5c.htm">Visit</a></td><td><div class="summary">
22 The visit object is used to determine the current context of the application. The key wrinkle in the visit
23 class relates to create a common interface for EHR/VueCentric and WinForm applications. The EHR/VueCentric supports
24 visit stubs by default and the WinFramework does not. If the consumer of the visit object is going to use
25 it to make changes to RPMS then the visit can not be a stub and must the visit must be created.
26 <h1 class="heading"><span onclick="ExpandCollapse(exampleToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(exampleToggle, event)" tabindex="0"><img id="exampleToggle" class="toggle" name="toggleSwitch" src="../icons/collapse_all.gif" />Examples</span></h1><div id="exampleSection" class="section" name="collapseableSection" style="">
27 In either EHR or WinForm applications, always check for a stub before you call RPC's to update RPMS. If you
28 do not, the visit may not have been created on RPMS and the visit id will be null.
29 <div class="code"><table width="100%" cellspacing="0" cellpadding="0"><tr><th><span class="copyCode" onclick="CopyCode(this)" onkeypress="CopyCode_CheckKey(this, event)" onmouseover="ChangeCopyCodeIcon(this)" onmouseout="ChangeCopyCodeIcon(this)" tabindex="0"><img class="copyCodeImage" name="ccImage" align="absmiddle" title="Copy image" src="../icons/copycode.gif" />Copy Code</span></th></tr><tr><td colspan="2"><pre>
30 if (this.Context.HasVisit)
31 {
32 if (this.Context.Visit.IsStub &amp;&amp; !this.Context.Visit.Create())
33 {
34 MessageBox.Show("Unable to establish visit.","Editing Disabled");
35 return;
36 }
37
38 //Call RPC to update RPMS with current visit ien
39 }
40 </pre></td></tr></table></div>
41 </div>
42 </div></td></tr></table></div></div></div><div id="footer"><div class="footerLine"><img width="100%" height="3px" src="../icons/footer.gif" title="Footer image" /></div>
43 <p />
44 <span>
45 Send
46 <a href="javascript:sendfeedback('Documentation Feedback (Sandcastle CTP): ', 'IndianHealthService.BMXNet.Model Namespace', '');">
47
48 comments
49 </a>
50 about this topic to Microsoft.
51 </span>
52 </div></div></div></body></html>
Note: See TracBrowser for help on using the repository browser.