11
CSE2102 UML.1 Use Case Diagrams for PHA (1) Patient Person Provider MHSV PHA Logon Create New Med View Meds Medication List Track Patient Items Condition s ODLs Exercise <include> <include> <include> Display CDS Graph MSHV Logon <include>

CSE2102 UML.1 Use Case Diagrams for PHA (1) Patient Person Provider MHSV PHA Logon Create New Med View Meds Medication List Track Patient Items Conditions

Embed Size (px)

Citation preview

Page 1: CSE2102 UML.1 Use Case Diagrams for PHA (1) Patient Person Provider MHSV PHA Logon Create New Med View Meds Medication List Track Patient Items Conditions

CSE2102

UML.1

Use Case Diagrams for PHA (1)

Patient

Person

Provider

MHSV

PHA Logon

Create New Med

View Meds

Medication List

Track Patient Items

Conditions ODLs Exercise

<include><include>

<include>

Display CDS Graph

MSHV Logon<include>

Page 2: CSE2102 UML.1 Use Case Diagrams for PHA (1) Patient Person Provider MHSV PHA Logon Create New Med View Meds Medication List Track Patient Items Conditions

CSE2102

UML.2

Select NewMed

Store Med Info

Store Med Info

Sequence Diagram for PHA (2)

:MedicationGUI :MedicationCarl: Actor MSHV

Input Med Info

Success/Failure

Success/Failure

Success/Failure

Page 3: CSE2102 UML.1 Use Case Diagrams for PHA (1) Patient Person Provider MHSV PHA Logon Create New Med View Meds Medication List Track Patient Items Conditions

CSE2102

UML.3

View Patients

Select Carl

Get Meds

Sequence Diagram for PHA (3)

:PHAGUI :MedicationDr. D: Actor MSHV

Patient List

View Carl’s Meds

Request Carl’s Meds

Return Carl’s Meds

Carl:Patient

Page 4: CSE2102 UML.1 Use Case Diagrams for PHA (1) Patient Person Provider MHSV PHA Logon Create New Med View Meds Medication List Track Patient Items Conditions

CSE2102

UML.4

DisplayPatient

Main Menu

PHA Wait

Select patient

Patient ListFound

Select

Statechart Diagram for PHA

View demo

View MedsDisplayDemo

DisplayMeds

Done

Done

View NextPatientNext

Patient

Done

Page 5: CSE2102 UML.1 Use Case Diagrams for PHA (1) Patient Person Provider MHSV PHA Logon Create New Med View Meds Medication List Track Patient Items Conditions

CSE2102

UML.5

A Data Flow Diagram (DFD) for PHA

UserDBProvider

LogonResult

Logon

Name, Passwd

LoginOK?

ViewPatientMeds

Succ/Fail Msg

PatientDB

MedDB

Auth Patients

MedList

DisplayMeds

PatientID

Page 6: CSE2102 UML.1 Use Case Diagrams for PHA (1) Patient Person Provider MHSV PHA Logon Create New Med View Meds Medication List Track Patient Items Conditions

CSE2102

UML.6

Entity Relationship Diagram for PHA

Conditions

C_ID C_Type

Medications

Med_ID Med_Type

ODLs

ODL_ID ODL_Type

DiabetesTests

DT_D DT_Type

Meals

Meal_ID Meal_Type

Diet

D_ID D_Type

Page 7: CSE2102 UML.1 Use Case Diagrams for PHA (1) Patient Person Provider MHSV PHA Logon Create New Med View Meds Medication List Track Patient Items Conditions

CSE2102

UML.7

Entity Relationship Diagram for PHA

TI_ID

TrackedItems

TI_from TI_to TI_COM_ID

Conditions

CondID CondType

C1 DiabetesAsthmaCHFandHBPObesityOther

C3 C2

C4C5

TI_ID TI_to TI_from TI_COM_ID

TI1TI2TI3TI4.....TIxx

9/128/1110/136/13......

12/128/12---9/13......

C1C3C4M5......

TrackedItems

currentYMD currentYMDcurrentTime currentYMD currentYMDcurrentTime

Page 8: CSE2102 UML.1 Use Case Diagrams for PHA (1) Patient Person Provider MHSV PHA Logon Create New Med View Meds Medication List Track Patient Items Conditions

CSE2102

UML.8

ER for TrackPatient Data

Cond_ID

Condition

CurrentYMD myVitals myCondition

Pulse Resps PulseOx myBP

D_ID

Diabetes

myGlucose myInsulin myCarbs

Cond_ID

TI_ID

myTestType

Page 9: CSE2102 UML.1 Use Case Diagrams for PHA (1) Patient Person Provider MHSV PHA Logon Create New Med View Meds Medication List Track Patient Items Conditions

CSE2102

UML.9

ER for TrackPatient Data

A_ID

Asthma

myPeakFlow

Cond_ID

TI_IDCHF_ID

CHFandHPB

myPeakFlow

Cond_ID

TI_ID

O_ID

Obesity

myPeakFlow

Cond_ID

TI_ID

myMealType

Page 10: CSE2102 UML.1 Use Case Diagrams for PHA (1) Patient Person Provider MHSV PHA Logon Create New Med View Meds Medication List Track Patient Items Conditions

CSE2102

UML.10

ER for TrackPatient Data

Cond_ID

ODL

CurrentYMD myVitals myODL

myODLvalueTI_ID

Cond_ID

Medication

CurrentYMD myVitals myMed

nameTI_ID

note

Many AttributesOmitted

Page 11: CSE2102 UML.1 Use Case Diagrams for PHA (1) Patient Person Provider MHSV PHA Logon Create New Med View Meds Medication List Track Patient Items Conditions

CSE2102

UML.11

E-R Diagrams

Person

Per_ID myCreateTime

lastNamefirstName

Has Meds

birthDate

Patient

Pat_ID myCreateTime

myheight

Many AttributesOmitted

MSHVMeds

OpenEMRMeds

1

m

n

Medication

Has Conds

Condition

Has ODLs

ODL

n n

1 1