concerned with the whole process, not just drafting ... · group (omg) to modeling system, divided...

25
Modeling Clinical Information Using UML (Unified Modeling Language) Sakda Arj-ong Vallipakorn, MD, Ph.D. MSIT, MAIS.(Information Science) Section For Clinical Epidemiology and Biostatistics, Faculty of Medicine Ramathibodi Hospital, Mahidol University Software Development Concerned with the whole process, not just drafting documents SDLC (Software Develop Life Cycle) Objectives Requirements Setting, Method Variables Development Conduct and Analysis Implement Productivity Maintain & Improve Gap Analysis-Future Research Waterfall : SDLC

Upload: others

Post on 09-May-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Modeling Clinical Information Using UML (Unified Modeling Language)

Sakda Arj-ong Vallipakorn, MD, Ph.D.MSIT, MAIS.(Information Science)

Section For Clinical Epidemiology and Biostatistics, Faculty of Medicine

Ramathibodi Hospital, Mahidol University

Software Development

• Concerned with the whole process, not just drafting documents

SDLC (Software Develop Life Cycle)

Objectives

RequirementsSetting, MethodVariables

DevelopmentConduct andAnalysis

ImplementProductivityMaintain & ImproveGap Analysis-Future Research

Waterfall : SDLC

Page 2: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Spiral model : SDLC2 Loops Development

M

Models VS. Diagrams

• “Model” is all information in a project• “Model” may include glossary, data dictionary etc.• “Model” is much more than a collection of diagrams• Each diagram is just one view on a “Model” • Most “Model” contain dozens of diagram

Diagrams

Model

• Pictorial language => common symbols + relationships which have one common meaning.

• Represents a formalization of analysis and design.

Page 3: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Background• 1970 – Object-oriented modeling languages (OOL)

began to appear.• 1996 – Release of UML 0.9 by by Grady Booch, Jim

Rumbaugh of Rational Software Corporation, IvarJacobson of Objectory company.

• 1996 – Release of UML 1.0 by Digital Equipment, HP, ILogix, IntelliCorp, IBM, ICON, MCI, Microsoft, Oracle, Rational, TI and Unisys.

• 1997 – Release of UML 1.1 by IBM, ObjecTime,• Platinum, Ptech, Taskon, Reich and Softeam• 2001 – Work on UML 2.0 specifications and later version

2.1-2.2

Thingsor Elements

• Smallest in model

Relationships• Thing –Thing• Element--Element

Diagrams

• Grouping• Same

properties

The basic building block of UML

Element

Page 4: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Usefulness of UML • Pictorial Modeling Language to simulate

system of understanding between elements and associations

• UML use simple to complex diagram to describe a system working before real development

• UML use to tell system specification, requirement, analysis and how to develop system

• UML work as storages of system documentations, glossary, data dictionary in each step.

• Generate roughly idea of SOP, Conceptual model & frame work in research

• Software/Web Application development in Healthcare Research– CPG/Guideline– Data Registry/ Data Warehouse and mining

• Clinical Research• Medical Informatics Research• Information Technology Research

Usefulness of UMLIn Medical informatics

Usefulness of UML

Page 5: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Usefulness of UML Usefulness of UML

Usefulness of UML Usefulness of UML

Page 6: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Usefulness of UML

Usefulness of UML

Usefulness of UML

Asian Pacific J Cancer Prev, 9, 789-796

Page 7: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Asian Pacific J Cancer Prev, 9, 789-796

Usefulness of UML

Example Elements : YesBehaviors : No

Example : Taxonomy

Page 8: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

UML

Elements(Things) Relationships Diagrams

UML• UML (Unified Modeling Language) is graphical

notation standardization by Object Management Group (OMG) to modeling system, divided to 3 groups• 1.Structural Diagram

Class Diagram, Object Diagram, Component Diagram, and Deployment Diagram

• 2. Behavioral DiagramUse Case Diagram, Sequence Diagram, Activity Diagram, Collaboration Diagram, and State chart Diagram

• 3. Grouping Diagram Packages, Subsystems, and Models

Page 9: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

3 model axes

• Functional Axis– Use Case Diagram *– System Sequence Diagram– (Activity Diagram) *

Use case diagram(cont)

• Use Case Diagram : Pictorial showing process of user interacting with subsystem within whole system ( Macro requirement of system).

• Showing list of capabilities the system must provide.

Use case diagram (cont)• Represent totality of system in the form of

entities, processes and their interactions• Captures the system as snapshot of its

organizational and behavioral elements

Page 10: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

• <<Extend Relationship>>Actor Use case

Association

Boundary

Epidemiology RACE 615

• Known overall ability of system• Known subsystem users and behaviors• Easy to communicate between developer

and users• Acting as preliminary test of system tailor made

to requirement • Help developer to classify activities or processes

in system• Act as basic diagram explained as non-complicated

pictures

Page 11: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

• Actor : who acting with system, send-receive or exchange task of data/information e.g., ordering of customer by phone

• Use Case : function or task of work in system e.g., storage checking, ordering etc.

• Relationship is relation or association between Use Case and Actor

• System boundary

Page 12: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Try to write Use case ?

Try to write Use case of ATM withdrawal

Try to write Use case of OPD Services

Page 13: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Try to write Use case of DM Clinic

• Static Axis– Class Diagram (Object Diagram)*– Component Diagram (Deployment Diagram)

• Is the description of a set of objects• Defines the structure of the states and thebehaviors shared by all the objects of theclass (called instances)• Defines a template for creating instances– Names and types of all fields– Names, signatures, and implementations of allmethods

Class 2.Class diagram(cont)Class Diagram

Page 14: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Notation of classNotation for classes

Name

Attributes

Method

Class diagram example

Class diagram• Class Diagram show a Static Relationship

(not Dynamic Relationship) • Class Diagram show the grouping of each

classes and their relations• Component of Class(Name-Attribute-Method)

and Relationship of Classes and function will show in Class Diagram

Class (Relationship)• Dependency Relationship :

e.g. “Class Customer” and “Class Order”“Class Order” depend on “Class Customer” because when customer change the request of order, or increase amount of production the ordering will be update directly base on customer

• Inheritance Relationships:e.g. Super class will inherit property of class through Sub class (mother daughter)

• Association Relationships:“Class student” association with “Class RACE615” in aspect of study registration

Page 15: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

• Dynamic Axis– State Diagram *– Collaborative Diagram– (Sequential Diagram)– (Activity Diagram)

State DiagramState Diagram

Start

Stop

Stop

State Diagram : Elements

Page 16: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Example Example

Example Composite states

Page 17: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Activity DiagramActivity Diagram : Elements

Activity control nodes Example

Study Research

Brief in Study Research

In Depth Interviewing &Answer the questionnaire

Computerized Tomography Scan Head

Page 18: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Example Example

Example Example : Hotel reservation

Page 19: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Example

Example

State Diagram VS. Activity Diagram State Diagram VS. Activity Diagram

Page 20: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Interaction Diagram Sequence Diagram : main entities

Sequence Diagram Components Sequence Diagram : elements

Page 21: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Sequence Diagram Message between objects

Sequence Diagram : FlowExample

Page 22: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Example Example

ExampleExample Communication(Collaboration) Diagram

Page 23: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Communication Diagram

Communication Diagram

Example

Page 24: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Sequential Diagram VS. Communication Diagram

Main Diagrams Diagrams in lifecycle (SDLC)

Page 25: Concerned with the whole process, not just drafting ... · Group (OMG) to modeling system, divided to 3 groups • 1.Structural Diagram Class Diagram, Object Diagram, Component Diagram,

Different of objectives of design Diagram Conclusions

Summary

Thank Youfor

Attention