@smals-belgium-shared/vidis-diarynote 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/assets/demo/deleteDiaryNote.json +27 -0
- package/assets/demo/fetchSpecificDiaryNote.json +25 -0
- package/assets/demo/mydiarynotes.json +337 -0
- package/assets/demo/postDiaryNote.json +1 -0
- package/assets/{main-B2oESH6p.js → main-B_GYZDVv.js} +39 -39
- package/diarynote.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -128,6 +128,36 @@ The main view displays a list of all diary notes that have been created by the p
|
|
|
128
128
|
```
|
|
129
129
|
|
|
130
130
|
|
|
131
|
+
# Demo Mode Setup
|
|
132
|
+
|
|
133
|
+
To use the demo mode, ensure demo assets are accessible at _http(s)://[web-component-host]/assets_.
|
|
134
|
+
|
|
135
|
+
## Angular Configuration
|
|
136
|
+
|
|
137
|
+
To incorporate demo assets into your Angular application, modify your _angular.json_ file as follows:
|
|
138
|
+
|
|
139
|
+
```json
|
|
140
|
+
{
|
|
141
|
+
"projects": {
|
|
142
|
+
"your-angular-app": {
|
|
143
|
+
"architect": {
|
|
144
|
+
"build": {
|
|
145
|
+
"options": {
|
|
146
|
+
"assets": [
|
|
147
|
+
{
|
|
148
|
+
"glob": "**/*",
|
|
149
|
+
"input": "./node_modules/[package-name]/assets/demo",
|
|
150
|
+
"output": "/assets/"
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
```
|
|
160
|
+
|
|
131
161
|
## Versioning
|
|
132
162
|
|
|
133
163
|
This project follows [Semantic Versioning][Semver]. Each release is categorized by major, minor, and patch updates. Significant changes that may break existing integrations will be introduced with major versions. Please check [CHANGELOG.md](CHANGELOG.md) file for more info.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{ "diaryNote": {
|
|
2
|
+
"note": {
|
|
3
|
+
"id": "7530f63b-7e82-4884-8ddd-fa137e0a9b42",
|
|
4
|
+
"creation": "2021-03-10T15:38:16.176194+02:00",
|
|
5
|
+
"version": 1,
|
|
6
|
+
"source": "vitalink",
|
|
7
|
+
"status": "completed",
|
|
8
|
+
"author": {
|
|
9
|
+
"firstName": "Nadia",
|
|
10
|
+
"lastName": "Hassan",
|
|
11
|
+
"ssin": "82012419934",
|
|
12
|
+
"nihdi": "10025840123",
|
|
13
|
+
"role": "persorthopedist"
|
|
14
|
+
},
|
|
15
|
+
"subject": {
|
|
16
|
+
"ssin": "80120532330",
|
|
17
|
+
"firstName": "Benjamin",
|
|
18
|
+
"lastName": "Van Rietvelde"
|
|
19
|
+
},
|
|
20
|
+
"content": "Fis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Lorem ipsum dolor si amet. fsdfdsfdsfdsfsdfdsfdsfsdfsdfsdfsdfsfsd èèéààà-~~#§!",
|
|
21
|
+
"contentType": "plaintext",
|
|
22
|
+
"tags": []
|
|
23
|
+
},
|
|
24
|
+
"attachments": []
|
|
25
|
+
},
|
|
26
|
+
"statusCode": 200
|
|
27
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"note": {
|
|
3
|
+
"id": "7530f63b-7e82-4884-8ddd-fa137e0a9b42",
|
|
4
|
+
"creation": "2021-03-10T15:38:16.176194+02:00",
|
|
5
|
+
"version": 1,
|
|
6
|
+
"source": "vitalink",
|
|
7
|
+
"status": "completed",
|
|
8
|
+
"author": {
|
|
9
|
+
"firstName": "Nadia",
|
|
10
|
+
"lastName": "Hassan",
|
|
11
|
+
"ssin": "82012419934",
|
|
12
|
+
"nihdi": "10025840123",
|
|
13
|
+
"role": "persorthopedist"
|
|
14
|
+
},
|
|
15
|
+
"subject": {
|
|
16
|
+
"ssin": "80120532330",
|
|
17
|
+
"firstName": "Benjamin",
|
|
18
|
+
"lastName": "Van Rietvelde"
|
|
19
|
+
},
|
|
20
|
+
"content": "Fis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Lorem ipsum dolor si amet. fsdfdsfdsfdsfsdfdsfdsfsdfsdfsdfsdfsfsd èèéààà-~~#§!",
|
|
21
|
+
"contentType": "plaintext",
|
|
22
|
+
"tags": []
|
|
23
|
+
},
|
|
24
|
+
"attachments": []
|
|
25
|
+
}
|
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
{
|
|
2
|
+
"items": [
|
|
3
|
+
{
|
|
4
|
+
"id": "7530f63b-7e82-4884-8ddd-fa137e0a9b42",
|
|
5
|
+
"creation": "2021-03-10T15:38:16.176194+02:00",
|
|
6
|
+
"version": 1,
|
|
7
|
+
"source": "vitalink",
|
|
8
|
+
"status": "completed",
|
|
9
|
+
"author": {
|
|
10
|
+
"firstName": "Nadia",
|
|
11
|
+
"lastName": "Hassan",
|
|
12
|
+
"ssin": "82012419934",
|
|
13
|
+
"nihdi": "10025840123",
|
|
14
|
+
"role": "persorthopedist"
|
|
15
|
+
},
|
|
16
|
+
"subject": {
|
|
17
|
+
"ssin": "80120532330",
|
|
18
|
+
"firstName": "Benjamin",
|
|
19
|
+
"lastName": "Van Rietvelde"
|
|
20
|
+
},
|
|
21
|
+
"content": "Fis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Lorem ipsum dolor si amet. fsdfdsfdsfdsfsdfdsfdsfsdfsdfsdfsdfsfsd èèéààà-~~#§!",
|
|
22
|
+
"contentType": "plaintext",
|
|
23
|
+
"attachments": [],
|
|
24
|
+
"tags": []
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "f604c7b8-ef49-495c-ba5e-120dca8cc461",
|
|
28
|
+
"creation": "2021-01-19T15:38:16.176194+02:00",
|
|
29
|
+
"version": 1,
|
|
30
|
+
"source": "vitalink",
|
|
31
|
+
"status": "completed",
|
|
32
|
+
"author": {
|
|
33
|
+
"firstName": "Karin",
|
|
34
|
+
"lastName": "Jong",
|
|
35
|
+
"ssin": "82012419934",
|
|
36
|
+
"nihdi": "10025840123",
|
|
37
|
+
"role": "persnurse"
|
|
38
|
+
},
|
|
39
|
+
"subject": {
|
|
40
|
+
"ssin": "80120532330",
|
|
41
|
+
"firstName": "Benjamin",
|
|
42
|
+
"lastName": "Van Rietvelde"
|
|
43
|
+
},
|
|
44
|
+
"content": "Another note dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Lorem ipsum dolor si amet. fsdfdsfdsfdsfsdfdsfdsfsdfsdfsdfsdfsfsd èèéààà-~~#§!",
|
|
45
|
+
"contentType": "plaintext",
|
|
46
|
+
"attachments": [],
|
|
47
|
+
"tags": []
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"id": "20efe9c2-3e30-4405-b77d-dc7a6b9a9098",
|
|
51
|
+
"creation": "2021-01-19T15:38:16.176194+02:00",
|
|
52
|
+
"version": 1,
|
|
53
|
+
"source": "vitalink",
|
|
54
|
+
"status": "completed",
|
|
55
|
+
"author": {
|
|
56
|
+
"firstName": "Eleonor",
|
|
57
|
+
"lastName": "Krakwaer",
|
|
58
|
+
"ssin": "82012419934",
|
|
59
|
+
"nihdi": "10025840123",
|
|
60
|
+
"role": "perslogopedist"
|
|
61
|
+
},
|
|
62
|
+
"subject": {
|
|
63
|
+
"ssin": "80120532330",
|
|
64
|
+
"firstName": "Benjamin",
|
|
65
|
+
"lastName": "Van Rietvelde"
|
|
66
|
+
},
|
|
67
|
+
"content": "Natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Lorem ipsum dolor si amet. fsdfdsfdsfdsfsdfdsfdsfsdfsdfsdfsdfsfsd èèéààà-~~#§!",
|
|
68
|
+
"contentType": "plaintext",
|
|
69
|
+
"attachments": [],
|
|
70
|
+
"tags": []
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "143a5f94-ada5-4657-8dc1-1c39aac5f0dc",
|
|
74
|
+
"creation": "2021-01-19T15:38:16.176194+02:00",
|
|
75
|
+
"version": 1,
|
|
76
|
+
"source": "vitalink",
|
|
77
|
+
"status": "completed",
|
|
78
|
+
"author": {
|
|
79
|
+
"firstName": "Gael",
|
|
80
|
+
"lastName": "Londero",
|
|
81
|
+
"ssin": "82012419934",
|
|
82
|
+
"role": "persnurse"
|
|
83
|
+
},
|
|
84
|
+
"subject": {
|
|
85
|
+
"ssin": "80120532330",
|
|
86
|
+
"firstName": "Benjamin",
|
|
87
|
+
"lastName": "Van Rietvelde"
|
|
88
|
+
},
|
|
89
|
+
"content": "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Lorem ipsum dolor si amet. fsdfdsfdsfdsfsdfdsfdsfsdfsdfsdfsdfsfsd èèéààà-~~#§!",
|
|
90
|
+
"contentType": "plaintext",
|
|
91
|
+
"attachments": [],
|
|
92
|
+
"tags": []
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "dfb5c68a-a975-42c4-aba3-f770440d388a",
|
|
96
|
+
"creation": "2021-01-19T15:38:16.176194+02:00",
|
|
97
|
+
"version": 1,
|
|
98
|
+
"source": "vitalink",
|
|
99
|
+
"status": "completed",
|
|
100
|
+
"author": {
|
|
101
|
+
"firstName": "Greta",
|
|
102
|
+
"lastName": "Manfield",
|
|
103
|
+
"ssin": "82012419934",
|
|
104
|
+
"nihdi": "10025840123",
|
|
105
|
+
"role": "perslogopedist"
|
|
106
|
+
},
|
|
107
|
+
"subject": {
|
|
108
|
+
"ssin": "80120532330",
|
|
109
|
+
"firstName": "Benjamin",
|
|
110
|
+
"lastName": "Van Rietvelde"
|
|
111
|
+
},
|
|
112
|
+
"content": "Patient registered a certain intolerance to the medication Misodrol during the first doses (hives, redness). After a week of application, the allergic reaction subsided and the results looked good, but the redness appeared again in the neck region.",
|
|
113
|
+
"contentType": "plaintext",
|
|
114
|
+
"attachments": [],
|
|
115
|
+
"tags": []
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "091b70a0-9b17-448e-99ee-478baaac8779",
|
|
119
|
+
"creation": "2020-12-31T15:38:16.176194+02:00",
|
|
120
|
+
"version": 1,
|
|
121
|
+
"source": "vitalink",
|
|
122
|
+
"status": "completed",
|
|
123
|
+
"author": {
|
|
124
|
+
"firstName": "Marie",
|
|
125
|
+
"lastName": "Van Rietvelde",
|
|
126
|
+
"ssin": "92061925582",
|
|
127
|
+
"role": "patient"
|
|
128
|
+
},
|
|
129
|
+
"subject": {
|
|
130
|
+
"ssin": "80120532330",
|
|
131
|
+
"firstName": "Benjamin",
|
|
132
|
+
"lastName": "Van Rietvelde"
|
|
133
|
+
},
|
|
134
|
+
"content": "The new dosage of Parspirin makes me drowsy all day and takes away my appetite. The previous dosage left me in a better mood and with an appetite, in addition to showing better results against pain.",
|
|
135
|
+
"contentType": "plaintext",
|
|
136
|
+
"attachments": [],
|
|
137
|
+
"tags": []
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"id": "7a82de0a-ab8e-4985-bb3d-6aed1c8e7894",
|
|
141
|
+
"creation": "2020-12-31T15:38:16.176194+02:00",
|
|
142
|
+
"version": 1,
|
|
143
|
+
"source": "vitalink",
|
|
144
|
+
"status": "deleted",
|
|
145
|
+
"author": {
|
|
146
|
+
"firstName": "Marie",
|
|
147
|
+
"lastName": "Van Rietvelde",
|
|
148
|
+
"ssin": "92061925582",
|
|
149
|
+
"role": "patient"
|
|
150
|
+
},
|
|
151
|
+
"subject": {
|
|
152
|
+
"ssin": "80120532330",
|
|
153
|
+
"firstName": "Benjamin",
|
|
154
|
+
"lastName": "Van Rietvelde"
|
|
155
|
+
},
|
|
156
|
+
"content": "Ceci est une note supprimée",
|
|
157
|
+
"contentType": "plaintext",
|
|
158
|
+
"attachments": [],
|
|
159
|
+
"tags": []
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"id": "e82a0a8c-e30d-40df-938b-b39fa162c1f3",
|
|
163
|
+
"creation": "2020-12-15T15:38:16.176194+02:00",
|
|
164
|
+
"version": 1,
|
|
165
|
+
"source": "vitalink",
|
|
166
|
+
"status": "completed",
|
|
167
|
+
"author": {
|
|
168
|
+
"firstName": "Peter",
|
|
169
|
+
"lastName": "Hoffmann",
|
|
170
|
+
"ssin": "82012419934",
|
|
171
|
+
"nihdi": "10025840123",
|
|
172
|
+
"role": "perspharmacist"
|
|
173
|
+
},
|
|
174
|
+
"subject": {
|
|
175
|
+
"ssin": "80120532330",
|
|
176
|
+
"firstName": "Benjamin",
|
|
177
|
+
"lastName": "Van Rietvelde"
|
|
178
|
+
},
|
|
179
|
+
"content": "Magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Lorem ipsum dolor si amet. fsdfdsfdsfdsfsdfdsfdsfsdfsdfsdfsdfsfsd èèéààà-~~#§!",
|
|
180
|
+
"contentType": "plaintext",
|
|
181
|
+
"attachments": [],
|
|
182
|
+
"tags": []
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"id": "d5aa2933-2066-4b0c-9130-ea850e9b0252",
|
|
186
|
+
"creation": "2020-12-05T15:38:16.176194+02:00",
|
|
187
|
+
"version": 1,
|
|
188
|
+
"source": "vitalink",
|
|
189
|
+
"status": "completed",
|
|
190
|
+
"author": {
|
|
191
|
+
"firstName": "Marie",
|
|
192
|
+
"lastName": "Van Rietvelde",
|
|
193
|
+
"ssin": "92061925582",
|
|
194
|
+
"role": "patient"
|
|
195
|
+
},
|
|
196
|
+
"subject": {
|
|
197
|
+
"ssin": "80120532330",
|
|
198
|
+
"firstName": "Benjamin",
|
|
199
|
+
"lastName": "Van Rietvelde"
|
|
200
|
+
},
|
|
201
|
+
"content": "Ceci est une note active avec 1 pièce jointe invalide.",
|
|
202
|
+
"contentType": "plaintext",
|
|
203
|
+
"attachments": [
|
|
204
|
+
{
|
|
205
|
+
"type": "multimedia"
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
"tags": []
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "6601d94c-b91d-4d48-8cbe-bb7e350ef858",
|
|
212
|
+
"creation": "2020-08-19T15:38:16.176194+02:00",
|
|
213
|
+
"version": 1,
|
|
214
|
+
"source": "vitalink",
|
|
215
|
+
"status": "completed",
|
|
216
|
+
"author": {
|
|
217
|
+
"firstName": "Emmanuel",
|
|
218
|
+
"lastName": "Dhont",
|
|
219
|
+
"ssin": "90021345985",
|
|
220
|
+
"role": "patient"
|
|
221
|
+
},
|
|
222
|
+
"subject": {
|
|
223
|
+
"ssin": "80120532330",
|
|
224
|
+
"firstName": "Benjamin",
|
|
225
|
+
"lastName": "Van Rietvelde"
|
|
226
|
+
},
|
|
227
|
+
"content": "DIarynote van persphysician Nicolas SLEGERS.",
|
|
228
|
+
"contentType": "plaintext",
|
|
229
|
+
"attachments": [],
|
|
230
|
+
"tags": []
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"id": "ddb05ab0-58db-446a-8088-e153342aecab",
|
|
234
|
+
"creation": "2019-01-19T15:38:16.176194+02:00",
|
|
235
|
+
"version": 1,
|
|
236
|
+
"source": "vitalink",
|
|
237
|
+
"status": "completed",
|
|
238
|
+
"author": {
|
|
239
|
+
"firstName": "Philippe",
|
|
240
|
+
"lastName": "Laurent",
|
|
241
|
+
"ssin": "82012419934",
|
|
242
|
+
"nihdi": "10025840123",
|
|
243
|
+
"role": "persdentist"
|
|
244
|
+
},
|
|
245
|
+
"subject": {
|
|
246
|
+
"ssin": "80120532330",
|
|
247
|
+
"firstName": "Benjamin",
|
|
248
|
+
"lastName": "Van Rietvelde"
|
|
249
|
+
},
|
|
250
|
+
"content": "Be test note. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Lorem ipsum dolor si amet. fsdfdsfdsfdsfsdfdsfdsfsdfsdfsdfsdfsfsd èèéààà-~~#§!",
|
|
251
|
+
"contentType": "plaintext",
|
|
252
|
+
"attachments": [],
|
|
253
|
+
"tags": []
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"id": "b394a649-c91c-4088-a2d1-45e2f54cf071",
|
|
257
|
+
"creation": "2018-04-13T15:38:16.176194+02:00",
|
|
258
|
+
"version": 1,
|
|
259
|
+
"source": "vitalink",
|
|
260
|
+
"status": "completed",
|
|
261
|
+
"author": {
|
|
262
|
+
"firstName": "Rémy",
|
|
263
|
+
"lastName": "Drijkoningen",
|
|
264
|
+
"ssin": "82012419934",
|
|
265
|
+
"nihdi": "10025840123",
|
|
266
|
+
"role": "perspharmacist"
|
|
267
|
+
},
|
|
268
|
+
"subject": {
|
|
269
|
+
"ssin": "80120532330",
|
|
270
|
+
"firstName": "Benjamin",
|
|
271
|
+
"lastName": "Van Rietvelde"
|
|
272
|
+
},
|
|
273
|
+
"content": "Inhoud van het journaal item, in Vitalink beperkt tot maximaal 320 karakters.",
|
|
274
|
+
"contentType": "plaintext",
|
|
275
|
+
"attachments": [],
|
|
276
|
+
"tags": []
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"id": "00ea0024-ff18-46be-87ee-68fc48528411",
|
|
280
|
+
"creation": "2018-04-06T15:38:16.176194+02:00",
|
|
281
|
+
"version": 1,
|
|
282
|
+
"source": "vitalink",
|
|
283
|
+
"status": "completed",
|
|
284
|
+
"author": {
|
|
285
|
+
"firstName": "Paul",
|
|
286
|
+
"lastName": "Lindemens",
|
|
287
|
+
"ssin": "90021345985",
|
|
288
|
+
"nihdi": "13700061001",
|
|
289
|
+
"role": "persphysician"
|
|
290
|
+
},
|
|
291
|
+
"subject": {
|
|
292
|
+
"ssin": "80120532330",
|
|
293
|
+
"firstName": "Benjamin",
|
|
294
|
+
"lastName": "Van Rietvelde"
|
|
295
|
+
},
|
|
296
|
+
"content": "Ce matin, après la prise de son médicament, le patient avait le ventre gonflé.",
|
|
297
|
+
"contentType": "plaintext",
|
|
298
|
+
"attachments": [
|
|
299
|
+
{
|
|
300
|
+
"contentType": "image/jpeg"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"contentType": "image/png"
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"tags": []
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"availableFilters": {
|
|
310
|
+
"authors": [
|
|
311
|
+
"Eleonor Krakwaer",
|
|
312
|
+
"Emmanuel Dhont",
|
|
313
|
+
"Gael Londero",
|
|
314
|
+
"Greta Manfield",
|
|
315
|
+
"Karin Jong",
|
|
316
|
+
"Marie Van Rietvelde",
|
|
317
|
+
"Nadia Hassan",
|
|
318
|
+
"Paul Lindemens",
|
|
319
|
+
"Peter Hoffmann",
|
|
320
|
+
"Philippe Laurent",
|
|
321
|
+
"Rémy Drijkoningen"
|
|
322
|
+
],
|
|
323
|
+
"roles": [
|
|
324
|
+
"patient",
|
|
325
|
+
"dentist",
|
|
326
|
+
"logopedist",
|
|
327
|
+
"nurse",
|
|
328
|
+
"orthopedist",
|
|
329
|
+
"pharmacist",
|
|
330
|
+
"physician"
|
|
331
|
+
]
|
|
332
|
+
},
|
|
333
|
+
"errors": [],
|
|
334
|
+
"page": 0,
|
|
335
|
+
"totalItems": 13,
|
|
336
|
+
"totalPages": 2
|
|
337
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|