-
Notifications
You must be signed in to change notification settings - Fork 1
/
workspace.dsl
222 lines (186 loc) · 6.8 KB
/
workspace.dsl
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
workspace {
model {
!identifiers hierarchical
properties {
"structurizr.groupSeparator" "/"
}
group "Generic Function Modules" {
prs = softwareSystem "Pseudonym Reference Service" {
tags "Generic Function Modules"
}
ads = softwareSystem "Adressing Service" {
tags "Generic Function Modules"
}
nri = softwareSystem "National Referral Index" {
tags "Generic Function Modules"
localize = container "Localize API"
update = container "Update API"
}
}
group "Healthcare Provider domain" {
epdUser = person "Healthcare Professional"
epd = softwareSystem "EPD/PACS" {
tags "Healthcare Application"
timelineModule = container "Timeline Module"
}
adminPortal = softwareSystem "Admin Portal"
admin = person "Administrator"
localAds = softwareSystem "Local Addressing Register" {
tags "Healthcare Application"
}
lmr = softwareSystem "Localization Metadata Register" {
tags "Reference Implementation"
api = container "API"
db = container "Database"
}
sourceLmr = softwareSystem "Localization Metadata Register (Source)" {
tags "Reference Implementation"
}
lrs = softwareSystem "Localization Register Service" {
tags "Reference Implementation"
api = container "LRS API"
}
}
lmr -> nri "Update localization data"
epdUser -> epd
epdUser -> epd "Find Healthcare data provider endpoints"
nri -> prs "Request NRI Pseudonym"
lmr -> prs
lrs.api -> prs "Request Pseudonym"
lrs.api -> nri "Localize health data with Pseudonym"
lrs.api -> ads "Find endpoints [ITI-90]"
lrs.api -> lmr "Fetch metadata [FHIR]"
epd -> nri.localize "Localize health data with Pseudonym"
epd -> nri.update "Update localization data"
epd -> ads "Find endpoints [ITI-90]"
epd -> lmr "Fetch metadata [FHIR]"
epd -> prs "Request Pseudonym"
epd -> lrs "Request timeline"
admin -> adminPortal
adminPortal -> ads
adminPortal -> localAds
localAds -> ads
}
views {
terminology {
person "Person"
softwareSystem "System"
container "Container"
component "Component"
deploymentNode "Deployment node"
infrastructureNode "Infrastructuur"
relationship "Relation"
}
systemContext lrs "Architecture" {
include *
}
dynamic * "LocalizeHealthData" {
title "Localize Health Data"
epdUser -> epd "Request patient overview"
epd -> prs "Request Pseudonym"
epd -> nri "Localize health data with Pseudonym"
nri -> prs
}
dynamic * "FindEndpoints" {
title "Find Endpoints"
epdUser -> epd "Find Healthcare data provider endpoints"
epd -> ads
}
dynamic * "FetchMetadata" {
title "Fetch Metadata"
epdUser -> epd "Request metadata"
epd -> prs "Request Pseudonym"
epd -> lmr
lmr -> prs "Lookup LMR pseudonym"
}
dynamic * "UpdateLocalization" {
title "Update Localization without a Localization Metadata Register"
epdUser -> epd "Add or update health data for a patient"
{
}
epd -> prs "Create and request Pseudonym"
epd -> nri "Update localization data"
nri -> prs "Lookup NRI pseudonym"
}
dynamic * "UpdateLocalizationWithMetadataRegister" {
title "Update Localization with a Localization Metadata Register"
epdUser -> epd "Add or update health data for a patient"
epd -> lmr "Add or update metadata for a patient"
lmr -> prs "Request Pseudonym"
lmr -> nri "Update localization data"
nri -> prs "Lookup NRI pseudonym"
}
dynamic * "UpdateAddressbookReferrals" {
title "Update Addressbook Referrals"
admin -> adminPortal "Change addressbook registration"
adminPortal -> ads "Update addressbook referrals"
}
dynamic * "UpdateAddressbook" {
title "Update Addressbook"
ads -> localAds "Request Care Services Updates [ITI-91]"
}
dynamic * "UpdateAddressbookExample" {
title "Update Addressbook (Example flow)"
admin -> adminPortal "Change endpoint address"
adminPortal -> localAds "Change endpoint address"
ads -> localAds "Request Care Services Updates [ITI-91]"
}
dynamic * "RequestTimeline" {
title "Request timeline"
epdUser -> epd "Lookup timeline"
epd -> lrs "Request timeline"
lrs -> prs "Request Pseudonym"
lrs -> nri
nri -> prs "Lookup NRI pseudonym"
lrs -> ads
lrs -> lmr
lmr -> prs "Lookup LMR pseudonym"
}
dynamic * "LocalizeInterface" {
title "Localize health data interface"
epd -> nri "Localize health data with Pseudonym"
}
dynamic * "UpdateLocalizationDataInterface" {
title "Update localization data interface"
lmr -> nri "Update localization data"
}
dynamic * "FetchMetadataInterface" {
title "Fetch metadata interface"
epd -> lmr "Fetch metadata [FHIR]"
}
systemLandscape "Components" {
title "Architecture"
include *
exclude "* -> *"
exclude "adminPortal" "admin" "epd" "epdUser"
}
styles {
element Element {
stroke "#000000"
properties {
plantuml.shadow true
}
}
element "Healthcare Application" {
background "#c5c5c5"
color "#000000"
}
element "Generic Function Modules" {
background "#ecc22e"
color "#000000"
}
element "Reference Implementation" {
background "#7785d1"
color "#000000"
}
element "stub" {
background "#77d1a6"
color "#000000"
}
element "Bronsystemen" {
background "#c5c5c5"
color "#000000"
}
}
}
}