This repository has been archived by the owner on Oct 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sequence.puml
79 lines (75 loc) · 2.44 KB
/
sequence.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
@startuml
header
Thairod Sequences %date("yyyy.MM.dd' at 'HH:mm")
end header
autonumber
skinparam sequence {
GroupBodyBackgroundColor Transparent
}
skinparam sequenceMessageAlign center
actor Patient as patient
participant LineOA as line
box "Frappet" #44c9c1
participant Registration as regis
participant "Telemed System" as telemed
end box
box "The Gang" #3d91ff
participant "Thariod\nMall" as mall
end box
actor "Volunteer\nDoctor" as doctor
box "Reinfinitiv" #f7abff
participant "Volunteer\nRegistration\nSystem" as vregis
end box
actor "Thairod\nLogistics\nStaff" as logistic
participant Shippop as shippop
==Big Picture==
patient -> line: Fill form on Line OA
line -> regis: Send registration info
regis-> regis: Triage
regis -> patient: Registration Confirmation
note right
Correct this part for me
end note
regis -> telemed: Admit patient
telemed -> mall: Request Box\nAlong with other info.
mall -> mall: Create order flow
mall -> patient: Request for Address Confirmation via line.
patient -> mall: Confirm Address
mall -> mall: Check Stock and Duplication
mall -> shippop: Create and Confirm Shipment
shippop -> mall: Tracking Code
mall -> patient: Tracking Code and Order Number
==Volunteer Registration Flow==
doctor -> vregis: Volunteer Register
vregis -> telemed: Doctor Registration
telemed -> doctor: Some Registration Info??
==Doctor Follow Up Flow==
telemed -> doctor: Appointment
telemed -> patient: Appointment
doctor -> telemed: Follow Up
patient -> telemed: Come to the Appointment
group "Doctor Wants to Order Some Med"
doctor -> telemed: Med Ordering Request
telemed -> mall: Shopping Link Request
mall -> telemed: Secret Shopping Link
telemed -> doctor: Present Shopping Link
doctor -> mall: Use Secret Shopping Link
doctor -> doctor: Add med to cart.
doctor -> mall: Confirm Order
mall -> patient: Line message for Order Confirmation
patient -> mall: Confirm Order
mall -> mall: Check Stock and Duplication
mall -> shippop: Create and Confirm Shipment
shippop -> mall: Tracking Code
mall -> patient: Tracking Code via Line
end
==Logistics Team==
logistic -> mall: Shipping Label Print Request
mall -> shippop: Label Request for tracking Code
shippop -> mall: Shipping Label
mall -> mall: Add Order Summary Sheet
mall -> logistic: Shipping Labels with Order Summary Sheet
shippop -> logistic: Shippop arrive to pick up package
logistic -> shippop: Hand over the package
shippop -> patient: Deliver the package
@enduml