@smals-belgium-shared/vidis-delivered-medication-detail 3.0.1-snapshot.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/CHANGELOG.md CHANGED
@@ -81,11 +81,15 @@
81
81
  ### vidis-diary-note:
82
82
  * Support offline mode.
83
83
 
84
- ## __RELEASE_VERSION__ (__RELEASE_DATE__)
84
+ ## v3.0.1 (2025-08-19)
85
85
 
86
+ * Fix demo mode + updating documentation
86
87
  * Bugfix offline mode
88
+
87
89
  ### vidis-medication-scheme-detail:
88
90
  * Support offline mode.
89
91
 
90
92
  ### vidis-medication-scheme-list:
91
93
  * Support offline mode.
94
+
95
+ ## __RELEASE_VERSION__ (__RELEASE_DATE__)
package/README.md CHANGED
@@ -110,6 +110,36 @@ This web component provides users with a comprehensive prescription details. The
110
110
  ```
111
111
 
112
112
 
113
+ # Demo Mode Setup
114
+
115
+ To use the demo mode, ensure demo assets are accessible at _http(s)://[web-component-host]/assets_.
116
+
117
+ ## Angular Configuration
118
+
119
+ To incorporate demo assets into your Angular application, modify your _angular.json_ file as follows:
120
+
121
+ ```json
122
+ {
123
+ "projects": {
124
+ "your-angular-app": {
125
+ "architect": {
126
+ "build": {
127
+ "options": {
128
+ "assets": [
129
+ {
130
+ "glob": "**/*",
131
+ "input": "./node_modules/[package-name]/assets/demo",
132
+ "output": "/assets/"
133
+ }
134
+ ]
135
+ }
136
+ }
137
+ }
138
+ }
139
+ }
140
+ }
141
+ ```
142
+
113
143
  ## Versioning
114
144
 
115
145
  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,46 @@
1
+ {
2
+ "items": [
3
+ {
4
+ "person": {
5
+ "ssin": "00000000097 ",
6
+ "name": "John Doe"
7
+ },
8
+ "pharmacy": {
9
+ "nihdi": "80000551",
10
+ "name": [
11
+ {
12
+ "lang": "fr",
13
+ "value": "Pharmacie Sans Soucis"
14
+ }
15
+ ]
16
+ },
17
+ "medication": {
18
+ "identifier": {
19
+ "value": "0589028",
20
+ "type": "compound"
21
+ },
22
+ "name": [
23
+ {
24
+ "value": "ERYTHROMYCINE SOL. HYDRO-ALC. 4% FTM2"
25
+ }
26
+ ],
27
+ "quantity": {
28
+ "value": -1
29
+ },
30
+ "instructions": [
31
+ {
32
+ "lang": "fr",
33
+ "value": "magistralPreparation - formularyReference"
34
+ }
35
+ ]
36
+ },
37
+ "deliveryDate": "2025-04-09T13:23:03+02:00",
38
+ "dguid": "5d5b8138-4941-8359-de2f-77d560f6f0ef",
39
+ "sguid": "85facbfb-5f24-2b4f-4568-e671a81855a7",
40
+ "dosageInstruction": {
41
+ "text": "Posology free text"
42
+ },
43
+ "isPrescribed": true
44
+ }
45
+ ]
46
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smals-belgium-shared/vidis-delivered-medication-detail",
3
- "version": "3.0.1-snapshot.0",
3
+ "version": "3.0.1",
4
4
  "description": "Delivered medication details web component",
5
5
  "main": "delivered-medication-detail.js",
6
6
  "author": "smals",