Showing posts with label XDW. Show all posts
Showing posts with label XDW. Show all posts

Monday, January 5, 2015

BPMN and XDW

Continuing my researches into representing IHE XDW profiles in BPMN:

The <collaboration> element in BPMN would represent the Workflow Profile.  That contains <participant> elements which would represent the Workflow Participants.  So far that makes sense. What isn't clear here is <messageFlow>, because XDW's notion of communication is through input and output documents, rather than explicit messages, but maybe there's a mapping here.

Each <participant> has a name, a description (in documentation), and references some processes. Essentially, we are putting the workflow participants in the collaboration as swim-lanes.  Again, this part makes sense to me.  I've seen at least one workflow where partnerMultiplicity is useful (an order placer for a read of an imaging study in which several order fillers could respond).

There's a few places where some routing logic needs to be explained, and where triggers and timeouts need to be addressed.  I'm looking for task transitions to be triggers for other workflow tasks.

I'm not entirely clear on the distinction between the terms task (in Human Task) and process (in BPMN), because task seems like it could be smaller or larger depending on context.

One of the places where it seems like there would need to be some refinement in ITI is in the DSUB profile, because I'd like to support DSUB style notifications of workflow participants when their created/owned tasks have been transitioned from one state to another (each task has an owner and a creator -- when the task has its state changed, both the owner and the creator may want to know about it).

I think these might be some additional DSUB-like queries, which might be addressed by the Workflow Monitor participant.




Wednesday, August 6, 2014

More on Designing IHE XDW Workflows

So, more on building XDW workflows: As I began working through how to get data out of the spreadsheet I discovered several things.

Counting

I need to count three different things:

  1. Steps in the workflow, 
  2. alternatives within a step, 
  3. and actions within an alternative. 

Once I have that numbering, building a BPMN diagram describing the workflow from the spreadsheet is basically automatic. This gives me a very good structure to use to generate the description of tasks, and the specific requirements of actors.

The steps are the point, not the triggers

In several cases I had different triggers doing the same pieces of work in the same workflow I was developing. So, I combined the triggers and merged the steps. For example, one actor in a referral would basically be doing the same work on evaluating a new referral as they would evaluating a referral that had additional data provided because it was requested. So, when the Request Information task completes, or a Respond to Referral request goes to IN_PROGRESS, those two triggers can start the same step (as far as the workflow is concerned).

Actions that Transition Tasks Generate new Triggers which should be Assigned to Steps

The nice thing about the spreadsheet is that whenever I transition a task to a status in the action row, I know there needs to be a trigger added so that some other task can act on that transition.  I discovered I had missed a bunch in the workflow I created, so I'm having to clean all of that up.

Proper use of Status

On the workflow statuses, I did a bit of digging into XDW and Human Task, and established some principles that I document only the required transitions and stay silent on the rest. That requires that I rework a number of transitions because having a common description for what these states means is very useful for dash-boarding (a key component of existing referral solutions they have):

CREATEDTask is Unassigned (has no owner) and is not ready to be acted upon.
READYTask is Assigned (has an owner) and is ready to be acted upon (but may not yet have been acted on by the task owner)
IN_PROGRESSTask is Assigned, is ready to be acted upon, and some work has been done by the task owner
COMPLETEDTask is done, usually by the task owner.
FAILURETask could not be completed, usually by the task owner, but perhaps by others.

So, Actor 1 executing Task A could certainly create Task B owned by Actor 2, but SHOULD NOT indicate that it is IN_PROGRESS, only that it is READY. It would be up to Task B to indicate that it is IN_PROGRESS. That requires a number of different changes in the spreadsheet and I have to go somewhat carefully.  However, in my original spreadsheet, I didn't start with those definitions. So now I have to go back through and change a bunch of things in the spreadsheet, and am about halfway through it.

Notification can be Automated

One thing that I discovered through all of this is that notifications should pretty much be automatic, with very view workflow dependent exceptions.

  1. Any "Workflow Manager" or "Workflow Monitor" participant dealing with the workflow should always be notified. 
  2. The task owner should always be notified whenever a task assigned to it has had its status changed by any workflow participant other than itself. 
  3. The task creator should always be notified whenever a task created by it has had its status changed by any workflow participant other than itself.

That leaves me only a few special cases to handle for notification in my complex workflow.  All other cases are handed by the above three rules.

Finishing the Workflow

I still have to figure out how to document that a workflow is completed.  There are at least three ways I can do that.  For now, I'm just going to use the notes for that.

Here are the column heads for my spreadsheet.

Workflow
Step #
Step Name
Trigger Events
Responsible Actor
Alternative
Conditions
Action #
Action
Workflow Task
Task Status
Task Owner
Input Documents
Output Documents
Notify
Notes

Wednesday, November 16, 2011

Update from IHE

Three IHE Domains meet this week to discuss work items to move forward:  IT Infrastructure, Patient Care Coordination, and Quality, Research and Public Health.

I put together a profile proposal now named "Documents for Mobile Health" which was submitted to IT Infrastructure.  I wrote about this back in September.  The updated detailed proposal (ftp to word document) is more simplified than the original proposal, and was recommended to move forward as a work item by that committee.

Patient Care Coordination reviewed four work items:

  1. Cross Enterprise eReferral Workflow
  2. Cross Enterprise Telehealth Monitoring Workflow
  3. Retrieve Clinical Knowledge (see this post)
  4. Nursing Whitepaper
The two workflow proposals overlap (they both require eReferral), and involve developing content profiles for Cross Enterprise Document Workflow (XDW) to support workflows.  One of the committee members pointed us to a great paper on Case Handling  (pdf) that seems to be really well aligned with the XDW Profile itself.  We (PCC) plans on producing a white paper for public comment in the February time frame to document how we plan on approaching XDW based workflow profiles.

Tomorrow I'll be teaching a customized CDA class to a number of IHE profile authors.  It covers the same material as I usually teach, but then adds in the IHE specific "how we do things", and references the IHE templates that are already developed.  I'm looking forward to it.







Thursday, October 13, 2011

IHE PCC Planning Week

This week really kicks off the 2012-2013 development cycle for three IHE Domains, Patient Care Coordination, IT Infrastructure, and Quality, Public Health and Research. I was in town for the ITI and PCC meetings. John Moerke already summarized the outcome of the ITI meeting here.

PCC met to review five profile proposals, one white-paper, and a major work item.  We came out with three profile proposals, two white-papers, and one work item to go to the technical committee for final evaluation.

Three of the profile proposals plan on using the new IHE Cross Enterprise Document Workflow profile to define workflows for eReferral, Telehealth Monitoring and Tumor Board scheduling.  Unfortunately, due to scheduling issues and deadlines, we weren't able to review the Tumor Board proposal, so it won't be going forward as a profile.  However, we did extract a white-paper from all the Workflow proposal submissions, and hopefully the authors of that proposal will contribute their knowledge to that white paper.  We also recommended that the Tumor Board profile be resubmitted to the Radiation Oncology domain in IHE, because we felt that they would better understand the requirements of a Tumor Board.

The Workflow white paper will describe the requirements of an XDW Workflow profile, and explain how to document it.  We hope to complete that activity (if approved next month) in time for the February IHE meeting in Paris, France (yes, next year I get to go to Paris), to help inform development of workflow profiles by PCC and other domains.

The Retrieval of Clinical Knowledge profile that I presented got support from a number of different folks, more than I had expected.   QRPH had originally developed the transaction for their EHDI profile, but when that got split into a number of separate content profiles, that transaction needed a new home.  I feel fairly confident that we can find one for it in PCC next month.

Of note, there are NO CDA based profiles in IHE PCC this year.  This is actually rather helpful, because we do have one major work item as a result of the CDA Consolidation Project that HL7, IHE and ONC worked on over the last year.  That work item is to try to figure out how to reinvent our profile documentation to take advantage of MDHT.  That will be a major project that will require transition over several years, I expect.  We will also have to address how to move from CCD Release 1.0 to CCD Release 1.1 and the other changes coming out of that project.  I suspect that there will have to be a transition period like there was in ITI for XDS.a and XDS.b, and given the amount of change, we expect that this will be a multi-year project.  Unfortunately, it will be difficult for us to start until next year because we are still waiting for final content from the CDA Consolidation ballot.  HL7 is still working through ballot reconciliation, and then we need to get the necessary modeling DATA into the tools that will generate the content.  This is absolutely critical for IHE adoption, because we want to move away from PDF and Word as the "source of truth" for the implementation guides.  We want our damn DATA!

Benefits to the International IHE community will be rather large once we get to that point.  Being able to work using model driven profile development tools lowers the bar for people to contribute to the development, makes open source testing and implementation materials more readily available, and means that IHE implementors could immediately at public comment, trial implementation and final text phases, have access to not just profile content, but also source code, testing tools, and schemas necessary to implement them.  Its absolutely critical then, that we get the data into the tools, and use them to generate the content.  I don't want to see another Word version or PDF that doesn't come out of a tool.

The IHE Nursing committee is also working on a white paper (for which they already have 20+ pages of content), explaining the need to get nursing documentation into interoperable exchanges.  The eventual goal here is that the collaborative care team documentation stop being seen as "nursing" vs. "physician" documentation.

We also approved moving forward four IHE profiles to final text.  The last profile PCC moved to final text was XPHR a couple of years ago.  The APS, IC, and two of the EDER profiles are now ready, and have also be not just implemented by products, but many are also being deployed in real world situations.  You should see a release from IHE on that in the coming days.

You can find links to all the presentations given this week top PCC, the minutes of the meeting and the final prioritization of the committee here.

   Keith

P.S.  I loved Bill Majurski's response to the Documents for mHealth profile proposal I submitted to ITI.  When he was asked his opinion on uptake at connectathon.  "All the cats, and all the dogs,..." he drawled, "will be chasing that squirrel!"

Wednesday, October 5, 2011

IHE ITI Publishes XDW Profile

The second of two releases... This one is the profile that I mentioned in yesterday's rant.



IHE Community,

IHE IT Infrastructure Technical Framework supplement published for Trial Implementation


The IHE IT Infrastructure Technical Committee has published the following Technical Framework supplement as of October 3, 2011:
·         Cross-Enterprise Document Workflow (XDW)

Note:  This supplement will be tested for the first time at the IHE Europe Connectathon in May 2012
 
The document is available for download at http://www.ihe.net/Technical_Framework.

Comments on this document can be submitted at http://www.ihe.net/iti/iticomments.cfm.

Tuesday, October 4, 2011

A Patient's Viewpoint of Provider Workflow

My wife is having surgery on her knee tomorrow -- we hope. Somewhere along the way, somebody dropped the ball. She was supposed to be called last week for a pre-surigical appointment and tests, and to get the schedule. That never happened. Friday was a bit crazy, so she didn't call the office then. When she called the office Monday morning, the person she talked to said that her surgery appointment hadn't been confirmed. She confirmed it face-to-face with the scheduler at her last appointment. I told her to call back and raise hell.

You see, my mother came here this week to help out, and won't be able to easily come back later because then she'd be coming from Florida. I'm glad I work from home because my wife volunteers at the local elementary school. While the surgeon's office is scrambling to correct their mistake (something that I do appreciate), I'm fielding calls and forwarding information to her when she's at school and cannot be reached (bad cell service). So, right now, she's dropping what she is doing to head over to the office to get her pre-surgical tests (a CBC [I get it] and an EKG [I don't get it because she had an EKG in June]), and go over meds, prep, et cetera.

As a patient, this situation sucks. There are at least four different ways that they can contact us, but it winds up that we seem to have to keep pestering them in order for this to happen in a way that works for us. We like the surgeon, and want to stick with him, but boy, if I was in the office, or my wife had to work, there would be no way we could easily get this done before November at this stage. While it could easily wait that long, because it's not urgent surgery, but what a royal pain it is to make it convenient for us. I also think about what it cost my mother to come make this visit.  It isn't terribly expensive, but it was already a sacrifice for her.  I know how lucky I am to be able to work with this provider and make sure that we get everything done, and I'm grateful that they are working with us.  I know of so many stories where it is so much harder.  We have three people to attack the problem from different sides, but so many have to go it alone.

My question to myself: Where could IT help to solve this problem? In this case, doing what it does best, which is simple, brainless work. There's a list of things that need to be done: Scheduling the CBC and EKG. Scheduling the pre-operative visit. Ensuring that the results of these tests are available a couple of days before the surgery. Making that information available both to the patient, and to the surgeon's staff.  This particular procedure is one the surgeon does quite often. There is probably an order set of these things that he wants to have done somewhere. Putting this list of things together, providing workflow automation to ensure that things happen on schedule, and ensuring that the patient is contacted are all things that workflow automation can really help with.

IHE PCC is looking at several profile proposals that involve workflow this year, and anticipate using Cross Enterprise Document Workflow (XDW). This is a perfect example of a use case that could be aided by XDW.  There are several others, most of which are more complicated.  We may need time to study XDW and figure out how to use it in a workflow profile.  We may have to try different approaches to see which works best.  We will almost certainly struggle with how to specify a workflow and what needs to be included, and make it easy for different systems to participate in one.

Another question:  How could this have been handled better by the surgeon's office?  A simple sheet of paper with the list of things that have to get done, given to the patient, along with orders for the necessary tests (which could be done anywhere).  No IT changes necessary, just enabling the patient to help.  For an office with low volume, this is the low-tech equivalent of what an XDW workflow profile would look like.  We'll need to keep that low-tech equivalent in mind when we design XDW-based profiles.