45
Applying Business Process Modeling Notation (BPMN) in Healthcare International Workshop on Ubiquitous Healthcare International Workshop on Ubiquitous Healthcare and Supporting Technologies 2010 31.5 – 2.6.2010 Shanghai Timo Itälä M.Sc. Aalto University

Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Embed Size (px)

Citation preview

Page 1: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Applying Business Process Modeling Notation (BPMN) in Healthcare

International Workshop on Ubiquitous Healthcare International Workshop on Ubiquitous Healthcare and Supporting Technologies 2010

31.5 – 2.6.2010 Shanghai

Timo Itälä M.Sc.Aalto University

Page 2: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

About the presenter

� Aalto University School of Science and Technology� Department of Computer Science and Engineering� Software Business and Engineering Institute� Information Systems and Services Engineering

Group� The team here:

� Professor Matti Hämäläinen� Researcher Timo Itälä� Researcher Timo Itälä� Research Assistant Yong Han

2

Page 3: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Content

• In this tutorial the concepts of business processes are explained and business process modeling using the global standard notation BPMN (Business Process Modeling Notation) is introduced.

• The approach on how to identify services and design business processes based on Service Oriented business processes based on Service Oriented Architecture (SOA) is explained.

• Concepts of data modeling related to business process and service modeling are introduced.

• A practical case study related to health care processes and integration of hospital information systems is given.

3

Page 4: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

What is a Business Process?

Our organization produces products and services for our customers .

The products and services are results of our core business processes.Support processes give support to

Organization

Core Business Processes

Customers

Products and

Resources

Suppliers

4

Support processes give support to the core processes.Management processes govern the operation of the system.

The processes need informationwhich can be processed by our applications which run on our infrastructure .

Support and Management Processes

Products and services

Information

Applications

Infrastructure

Page 5: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

A definition of a Business Process

� A business process or business method is a collection of related, structured activities or tasks that produce a specific service or product (serve a particular goal) for a particular customer or customers. It often can be

flowchartvisualized with a flowchart as a sequence of activities . (Wikipedia)

5

Page 6: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Types of processes and flows

�Real process�Flow of material, people, products,

services etc.

�Financial process�Flow of money

� Information flow�Flow of data

�Business process�Flow of tasks and messages

6

Page 7: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Business processes within healthcare

� Clinical process� How the patient is treated� Diagnosis – treatment� Observations, tests, operations, medication� Executed by doctors: Give orders

� Nursing process� How the patient is taken care� Executed by nurses: Carry out orders

�� Financial process� Collection of payments� The cashiers

� Scheduling process� Scheduling appointments� The assistants

� Patient record process� Doctors, Patients, other staff

7

Page 8: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Functions, processes and (departmental) applications

SchedulingPersonnellMaterial

Patient Admin: MUSTI, Seniori

ArchiveVos

VosPkl

PklOutpatientClinic

Inpatientward

Lab Radiology Operatingtheatre

MaternityCare

Patient Care Process

Resourcing Process

Pharmacy.

Patient Record:WebKert, Seniori

8

MLIIWebLAbSambaQPAti

Outpatients InpatientsRaduWinRadu

TOTI

Material

Reporting, BIManagement, Planning and Control Process

YKert HAIKARA Etc.

Departmentalapplications

Departmentalapplications

Departmentalapplications

Page 9: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

A Model and an Instance of a Business Process

A Model of a business process describes how product and services are produced

An Instance of a business process produces an uniquely identifiable

Organization

Core Business Processes

Customers

Products and

Resources

Suppliers

9

produces an uniquely identifiable product or service to an uniquely identifiable customer

Business process modeling and information modeling go hand-in-hand

Support and Management Processes

Products and services

Information

Applications

Infrastructure

Page 10: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

The practice of business process modelingIf we want to improve how we do things we must first understand how we do things today

�First we model as-is�First we model as-is

�Then we look at the problems or opportunities for improvement

�Then we choose the most important improvements

�Then we model the to-be

10

Page 11: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

1. Starting with a customer placing an order (the customer need)2. send IT-based information to the warehouse3. stock picking4. packing and recording5. sending the appropriate IT-based information to the distribution hub6. sending IT-based information to the accounts department7. generation of an invoice8. allocation and organisation of shipment for the vehicle drivers 9. delivery of the item and invoicing (the customer need fulfilled).

Representing business processes

How to model and represent business processes?

�Verbal, textual descriptions

�Visual diagrams

�Execution instructions

11

Page 12: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Business Process Modeling Notation (BPMN)�BPMN is a grphical representation for specifying

business processes in a workflow

�BPMN was developed by Business Process Management Initiative (BPMI)

�BPMN is currently maintained by the Object �BPMN is currently maintained by the Object Management Group (OMG) since 2005

�BPMN 2.0 published recently

�Tool support: (62 listed)�Drawing tools�Repository based modeling tools

12

Page 13: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Level of Detail?

Business Process Redesign

�EffectivenessLevel 1: Conceptual, Descriptive

Dat

a, M

essa

ges

Pro

cess

es, S

ervi

ces,

O

pera

tions

Poo

ls, L

anes

, P

artn

ers

Pro

blem

s, S

olut

ions

Cho

reog

raph

y

� To do the right things

�Efficiency� To do things right

13http://apps.adcom.uci.edu/EnterpriseArch/Zachman/zachman.jpg

DescriptiveBPMN

Level 2: Logical, Analytical, BPMN

Level 3: Physical, Executable,BPEL

Page 14: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

BPMN Elements

14

Page 15: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Example: The patient visit in the “Happy Hospital”Business Process Steps� Pay for the book, if you don´t have one� Pay for the visit� Choose the department� Wait in the line� Meet the doctor� Go to the lab� Pay for the test� Pay for the test� Give the sample� Get the results form� Wait in the line� Meet the doctor again� The doctor writes the observations and the medication in the book� Pay for the medicine� Get the medicine

15

Page 16: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Example: Hospital visit as a BPMN diagram

�Flow objects: Events, Tasks, Gateways

�Connecting Objects: Sequence Flow, Annotation

�Data Objects: Data and Documents in the Process

�Hiding details: Sub-Process

16

Page 17: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Hiding details: Sub -Process

Sub-Processes are used to hide and show necessary level of detail

17

Page 18: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Participants in the processes

Participants �Organizations or departments

�The Hospital�The Pharmacy

�Roles of persons�The Patient�The Patient�The Doctor�The Nurse�The Receptionist

�How do we represent participants in the processes?

18

Page 19: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Participants: Swimlanes, Pools and Lanes�A Pool represents a process of

one participant

�A Pool can contain sub-partitions to show different roles within a participantroles within a participant

�Possible roles�The Pharmacy�The Office

�The Cashier�The Assistant

19

Page 20: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Processes within Pools

�A Business Process is always within one Pool

�The Patient Pool: White-Box pool

�The Hospital Pool: �The Hospital Pool: Black-Box Pool

�Participants and their processes can collaborate with each other. How?

20

Page 21: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Collaboration with messages between processes�The participant´s

processes can collaborate using messages

�Message flow always �Message flow always between pools

�Sequence flow always within a pool

21

Page 22: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

The Core Process of an organization

Core Process characteristics�The doctor´s process gives a service to the patient�Volumes in Happy Hospital

� 1000 visits/day� 600 beds� 10 000 employees� 10 000 employees

�What could be other core processes?

22

Page 23: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Business Process Modeling Method steps1. Define Process Scope2. Create the Top Level diagram for the Happy Path3. Add top-level exception paths4. Expand sub-processes to show detail at child level5. Add intermediate message flows to external pools

23

Page 24: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Discovering the processes

�What are the core processes?

�What are the support processes?

�Service orientation�Support processes give services to the �Support processes give services to the

core processes

24

Page 25: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

What to improve? Process Orientation

�Clinical Process?

�Scheduling Process?

�Financial Process?

�Pharmacy Process?

�Other Processes?�Other Processes?

�Health Record Management Process?�As-Is: Health Records are written in the book owned by the

patient�Problems: A book can be in one place only. Other problems...

25

Page 26: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

How to improve? Service Orientation

�Business Processes are composed of business services�Examples: Payment service, Patient record service

�Business Services are reusable components which can be used in many business processess

�Business Services can be implemented using software components, often web servicescomponents, often web services

�The Benefits of using reusable components�Cost savings: Build once, use many times�Time savings: Use ready components instead of building from

scratch�Risk management: Using ready components helps to control the

risks

26

Page 27: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Discovering services

serviceservice serviceservice

Task

Pay and get the medicine

Retrieve Patient Data

SOA

27

serviceservice

Sub-process

Process

A service can be a task, a sub-process or a process

Thomas Erl: Service-Oriented Architecture

Make the Laboratory tests

Page 28: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

From As -Is to To -Be process

�Discussion about services�How to identify services�SOA Principles

�How the processes and services could be identified�Data oriented services (patient record)�Data oriented services (patient record)�Function oriented services (laboratory)�Process oriented services (the doctors workstation)�Notification oriented services (do we have any?..)

�Who is asking for the service, who is delivering the service?

28

Page 29: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

The Patient and the Doctor� The doctor gives a

service to a patient

� The result of that service is better health for the patient

� The documentation � The documentation of the service is the book which contains the patient record

29

Page 30: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Laboratory included as a business service�The laboratory gives a

service to the doctor

�The Laboratory orders and results are on a separate paper formseparate paper form

�The doctor receives the results

�The patient pays for the laboratory and receives the results

30

Page 31: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Ideas for improvement regarding Patient Health Record�Electronic Health Record?�Discussion and collection of improvement ideas

�What problems it could solve?�The patient could forget the paper book at home or lose it�The doctor has a bad handwriting�The laboratory results and other documents are on separate papers�The laboratory results and other documents are on separate papers

�What other opportunities EHR would give �The hospitals could share the patient records

�Other requirements�Privacy, Confidentiality, Authenticity and other security aspects�Support to other processes: Scheduling, Financial, etc... �Availability, Usability, Performance

31

Page 32: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Electronic Health Record as a service

� EHR could store all the doctors notes in a similar way as the patient record book

� It could store also the lab results and other information

� It could be accessible for the � It could be accessible for the doctor and other professionals when needed

� It could also be accessible within the hospital and also outside the hospital like regional level

32

� It must guarantee the privacy, confidentiality and authenticity of the notes

Page 33: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

How EHR service could be used?

�The doctor would start looking at the patient´s EHR

�The lab results would be collected into the EHR

33

collected into the EHR

�The doctor would write all notes into the EHR

�The patient would get a paper copy or could also look at the EHR

Page 34: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

How EHR could be implemented?

Option 1

EHR

Option 1

Stand alone system

34

Page 35: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

How EHR could be implemented?

EHR

Option 2

An application service which would offer services to other

Doctor ´́́́s System

LIS

35

services to other applications

Page 36: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Identifying Application Services� EHR

� Patient record management

� LIS

� Laboratory order entry and results rdelivery

� Pharmacy system

� Delivery of the medicine

EHR

� Doctor´s systems� Coordination of the

collaboration

� The Patient

� Collaboration with the professionals

36

Doctor ´́́́s System

LIS

Page 37: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Implementing services as web services

� A service consists of one or multiple operations� A Message Exchange Pattern (MEP) is related to an operation� Request-Response operation

� A service receives a request message and sends a reply message� Solicit-Response operation

� A service sends a request message and waits for a reply message

� One-way operation� A service receives a message� A service receives a message

� Notification operation� A service sends a message

� A fault message can be replied (Fault)� Applies to any programming language� Services are synchronous or

asynchronous

37

Page 38: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Implementing services as web servicesService: Electronic Patient Record

�Operations and messages�EPRQuery

�In: EPR-QueryMessage�Out: EPR-ReplyMessage

�EPRStore�In: EPR-StoreMessage

38

�In: EPR-StoreMessage

�Web services are defined using web services definition language (WSDL)

Page 39: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

The data model for the messages� How do we define the messages in

WSDL documents?

� We need a data model

� Transactional data�What happened�Encounter and Notes...

� Master Data� Master Data�The “static data” that is referenced

from the transactional data that describes business events

�Hospital, Department, Doctor, Patient, Encounter Type...

39

WSDL

WSDL

WSDL

Page 40: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Healthcare Information Model HL7 RIM

WhoWhereWhat

Business Events

� RIM (Reference Information Model) is a generic health care data model

� HL7 CDA (Clinical Document Architecture) is a RIM based standard for exchange of clinical records

Master Data Transactional Data

Entities and their attributes

StructuresInstances of

Business Processes

Business Services

What

Vocabularies and codes

Reference Data

clinical records

40

Page 41: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

A standard for clinical documents

�HL7 CDA (Clinical Document Architecture) is a RIM based standard for exchange of clinical records

�EHR service can have the CDA documents as the payload in documents as the payload in the messages

41

Page 42: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Extending the local EHR into regional EHR

A Regional EHR service could help in data exchange data exchange between hospitals

42

Page 43: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Automating BPMN processes

EHR

BPMN diagram

WSDL definitions

�BPEL (Business Process Execution

Doctor ´́́́s System

LIS

43

Process Execution Language)

BPEL Engine

Page 44: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Summary: How BPMN helps in improving the processes�Modeling the As-Is business processes

� Identifying areas of improvement

�Discovering reusable business services

�Modeling the To-Be business processes

�Discovering web services�Discovering web services

�Helping in implementation of the web services

�Automating the web services

44

Page 45: Applying Business Process Modeling Notation (BPMN) in ...tmokor.mbnet.fi/tutkey/3105_Tutorial_Timo_Itala.pdf · global standard notation BPMN ... • A practical case study related

Thank you!

Questions?

Contacttimo.itala(at)tkk.fi

45