Digging into Sunrise Clinical Manager 5.5 FP1 …

May 16th, 2012

I am migrating some code to work in FP1, and will use this post to share my insights as things move along. I don’t intend for this to be comprehensive, but I will use it to document things that are not clearly explained in the Release Guide and other product manuals.

5.5 FP1 Login Screen

  1. (2012-05-16) The file system path has changed. It is now “C:\Program Files (x86)\Allscripts Sunrise\Clinical Manager Client\5.10.3059.0″ by default. This won’t affect most things, but I do have a couple of customizations (especially for file deployment from my development machine up to a Citrix farm) that rely on the installation point. That said, when I make this edit I will likely just code to pull the proper path instead of depending on it being in a certain place.
  2. (2012-05-16) The application is now using Infragistics controls at version 10.3. So to build against these, you’ll need to go get the new DLLs from the c:\windows\assembly directory – and recall that you have to rename the hidden, read-only, system file Desktop.ini in order to be able to browse that directory.

http://t.co/c127NyOi Info on t…

January 27th, 2012

http://t.co/c127NyOi Info on the Health IT competency exams

Will our future be shaped by “…

December 30th, 2011

Will our future be shaped by “polyglot” programmers? – CWDN: http://t.co/C8IzrMGl

Corrected link for inheritance…

December 14th, 2011

Corrected link for inheritance: http://t.co/OppMxdcE

Digging into object inheritanc…

December 14th, 2011

Digging into object inheritance to customize UX for a Objects+ work – good explanation: http://t.co/gVxd3yM6

Accessing the Patient List grid datasource in 5.5

July 19th, 2011

When writing a custom tab for Sunrise 5.5, if you want to instantiate the patient list grid from the Patient List tab, it turns out it is an Infragistics UltraWinGrid control, version 9.2. Which is tricky, since the only DLL’s in the application folder reference version 7.1.

The app is actually pulling the 9.2 version from the GAC, which is in c:\windows\assembly, but to get to the DLL’s there you have to rename the desktop.ini so Explorer won’t override the default view.

Once you have a copy of the patient list grid control in memory, access its DataSource property to get a DataSet that contains all the data on the grid, including several hidden columns – the first of which is the ClientVisitGUID. :-)

FYI – In 5.0, the grid was a 6.x version of the control, and worked with the DLL’s in the application directory.

In the code snippet below, I’m using the AutoITX library to easily get me a handle (retval) to the PatientListTab control. Then I iterate through the child controls of the PatientListTab until I find the one that is an UltraGrid, and return its DataSource (which is a DataSet).

Dim retval As New StringBuilder
Dim ctrlPtListTab As Eclipsys.Clinicals.PatientList.Windows.PatientListTab = Nothing
retval.Length = 2000
AutoItX3Declarations.AU3_AutoItSetOption("WinTitleMatchMode", 2)
AutoItX3Declarations.AU3_ControlGetHandle("Eclipsys Gateway", "", "[NAME:PatientListTab]", retval, retval.Length)
ctrlPtListTab = Eclipsys.Clinicals.PatientList.Windows.PatientListTab.FromHandle(Convert.ToInt64(retval.ToString, 16))
For Each uc As Control In ctrlPtListTab.Controls
   Dim c As Infragistics.Win.UltraWinGrid.UltraGrid = TryCast(uc, Infragistics.Win.UltraWinGrid.UltraGrid)
   If c IsNot Nothing Then
      Return c.DataSource
   End If
Next

RT @ehrandhit: EMR and EHR: HL…

November 17th, 2010

RT @ehrandhit: EMR and EHR: HL7 Interface Lady Gaga Pokerface Parody by EMR Vendor Nuesoft: http://bit.ly/c3JvSB

Just started using #Swype inpu…

November 12th, 2010

Just started using #Swype input on my new Samsung Galaxy S phone. Awesome! Want to start using this on Windows development projects asap!

The New Allscripts (video)

November 9th, 2010

Allscripts and Eclipsys have merged, launching a new era of health. By connecting healthcare communities, we help providers collaborate for a team approach that simplifies care and improves outcomes. For more information, go to www.allscripts.com.

[via Youtube]

Paul Ravetz: Can the art of me…

November 4th, 2010

Paul Ravetz: Can the art of medicine exist in the computer age? http://t.co/Huo0vsm via @kevinmd