22
IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Embed Size (px)

Citation preview

Page 1: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

IBM Rhapsody Simulation of Distributed PACS and DIR systems

Krupa Kuriakose, MASc Candidate

Page 2: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Retrieving Images using XDS-I Technology

Authenticating and Authorising the user using

OpenID and OAuth technologies respectively

System Behavior is simulated using

Rhapsody

System ArchitectureAll Registries and

Repositories are represented in MySQL DB

Page 3: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Main functionalities of the system• Each PACS is integrated with the common infrastructure for access

control

• PACS users are authenticated against the common infrastructure using OpenID protocol

• Access to patient medical images within the DIR is controlled based on consent directives and other user access controls policies defined in the common infrastructure

• Images are retrieved by using XDS-I profile proposed by IHE

Page 4: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Thesis ContributionSimulation in Rhapsody to verify the following functionalities of the system:

1. User Authentication using OpenID

2. Looking into the consent repository to make consent decision

3. Based on the consent decision, looking into the system security policy to make authorisation grant decision

4. Once the user is granted access permission, retrieving the image details from XDS document registry and XDS document repository and later access the image from DIR

Page 5: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Thesis contribution contd..

5. Limiting the number of access allowed for a user per day

Scenario : Initially we set a threshold value to 3

Each time the user sends access request to the system, attribute values submitted by the user is recorded in MySQL Database.

If the system finds that the user is trying to access the same image of the same patient for more than 3 times a day, system will deny the user from further accessing the image.

Page 6: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Thesis contribution contd..

6. Tracking the behavior of the user from the access pattern

Scenario :

The system keep track of the access requests made by the user. We analyze the data recorded for a period of time ( a week or two) in the MySQL DB

We find out the most frequently occurred attribute values in the tuple to figure out the behavior of the user

Page 7: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Overview of Rhapsody Tool• Rational Rhapsody implements solution from design diagrams

• Automatically generates code that is optimized for target environment and thereby help the user to analyze the intended behavior of the application

• In Rhapsody we can draw UML diagrams that provide Structure and Dynamic behavior views of the system

Structure views:Use case diagramObject model diagramStructure diagramsComponent diagramDeployment diagram

Dynamic behavior views:

StatechartActivity diagramSequence diagramCollaboration diagram

Page 8: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

PACS

itsCache:Cache1

cache

itsProxy:Proxy1

scheduleWorkFlow

itsUser:User1

UserInfo

AccessToken

user

itsUserService:UserService1

UI_PID

UI_3

UI_ImageRetreive

«flow»

AccessToken, PACS_ID UI

UserCredentials

UserInfo

CollectInfo

PACS_ID

Access_Control

itsActionAgent:ActionAgent1

AuthGrantApproval

UserAction, SystemSecurityPoliciesAA

itsAuthorisatrionServer:AuthorisatrionServer1

AccessToken

AT

«flow»AuthGrantApproval

AS

«flow»

itsConsentAgent:ConsentAgent1

AuthGrantApproval

ConsentDetails

CA

«flow»AC1

«flow»

AccessRequest

WebAdd_OpenIDProvider, User_infoAC

Repositories

itsXDSDocumentRepository:XDSDocumentRepository1

ImageManifest

XDSPatientIDX

«flow»

«flow»

itsSystemPolicyRepository:SystemPolicyRepository1 P

SystemSecurityPolicies

S

«flow»

itsBehaviorRepository:BehaviorRepository1 B

itsActionRepository:ActionRepository1

UserAction

A

User_action

«flow»itsConsentRepository:ConsentRepository1

ConsentDetails

PatientConsentC

«flow»

Registries

itsXDS_DocumentRegistry:XDS_DocumentRegistry1

XDSPatientID

AccessToken

XDS_ID

«flow»

«flow»

itsPatient_Identity_Registry:Patient_Identity_Registry1

PatientID

PID

itsDIRUserRegistry:DIRUserRegistry1

DIR_UserID

DR

itsDIRProvideRegistry:DIRProvideRegistry1

PACS_ID

ID

«flow»

PACS_ID

itsConsentRegistry:ConsentRegistry1

Consent_PatientID

CR

BehaviorAgentFeedback_Signal

UserBehav

Ag

«flow»

«flow»

OpenID

WebAdd_OpenIDProvider

OpID

«flow»

User_info

Authenticate

«flow»

UserInfo

SysAdmin

SA

«flow»

SysPoliciesUserBehav

Interface

«flow»

«flow»

Repositories.itsDIR:DIR1

Images

ImageManifestDIR

«flow»

«flow»

Structure Diagram

Page 9: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Rhapsody working Environment

Page 10: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Rhapsody Browser

Page 11: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Example to show Classes and associated State Chart

Page 12: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Object Model Diagram

Page 13: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Sequence Diagram

Page 14: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Sequence Diagram Continued

Page 15: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Current Status of Thesis

• Recreating the state chart in Rhapsody Java Version

• Creating classes and associated state charts for the major modules in the architecture

• Creating API using Java codes to connect Rhapsody with the all registries and repositories in MySQL Database to do the necessary functionalities of the system

Page 16: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

MySQL Database

System Policy

Repository

XDS Document Repositor

yDIR UserRegistry

DIR Provider Registry

ConsentRegistry

XDS Documen

t Registry

Patient IdentityRegistry

Consent Repository

DiagnosticImaging

Repository(DIR)

User Service

OpenIDAuthorisation

Server

Action AgentPatient Agent

User

Rhapsody Classes DB connections

Page 17: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

MySQL Database : repositories

Page 18: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Patient Consent Table

Page 19: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

System Policy defined for various participating “roles” and “hospitals”

DIR Provider Registry

XDS Document Registry

Patient Identity + Consent ID Registry

XDS Document Repository

Page 20: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

XDS Document Repository ( Contains Meta Data of Images)

DIR

Page 21: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Scenario

Access Request :

User : Jesse RoyRole : PhysicianLocation: SMH

Patient Name : Adhikary JesseyDate of Birth : 04-04-87Health Card No: 100485632Type of Image : MRIPurpose : Diagnosis

1. Patient Consent Table --

4. XDS Document Repository

5. DIR

DIR Provider Registry

2. System Policy

3. XDS Document Registry

Page 22: IBM Rhapsody Simulation of Distributed PACS and DIR systems Krupa Kuriakose, MASc Candidate

Thank You