@smals-belgium-shared/vidis-delivered-medication-detail 2.0.0 → 2.0.1-snapshot.3
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 +14 -0
- package/README.md +8 -6
- package/assets/main-Cg2pNSov.js +37 -0
- package/delivered-medication-detail.js +1 -1
- package/package.json +1 -1
- package/assets/main-BtphuQrf.js +0 -37
package/CHANGELOG.md
CHANGED
|
@@ -54,5 +54,19 @@
|
|
|
54
54
|
### vidis-prescription-detail
|
|
55
55
|
* Change `onPrintDetail` output to `onPrint` and type from `{base64Pdf: string, printOptions: {filename: string, orientation: 'portrait'}}` to `{title: string, content: string}`
|
|
56
56
|
|
|
57
|
+
## v2.1.0
|
|
58
|
+
|
|
59
|
+
### vidis-delivered-medication-list:
|
|
60
|
+
* Support professional. If professional add 2 params : key 'professional' = 'true' and 'ssin'= ssinPatient
|
|
61
|
+
|
|
62
|
+
### vidis-delivered-medication-detail:
|
|
63
|
+
* Support professional. If professional add 2 params : key 'professional' = 'true' and 'ssin'= ssinPatient
|
|
64
|
+
|
|
65
|
+
## v2.0.1-snapshot.0 (2025-06-20)
|
|
66
|
+
* BugFix
|
|
67
|
+
|
|
68
|
+
## v2.0.1-snapshot.1 (2025-06-20)
|
|
69
|
+
* BugFix
|
|
57
70
|
|
|
58
71
|
## __RELEASE_VERSION__ (__RELEASE_DATE__)
|
|
72
|
+
* Technical snapshot release. No new features or bug fixes.
|
package/README.md
CHANGED
|
@@ -34,12 +34,14 @@ This web component provides users with a comprehensive prescription details. The
|
|
|
34
34
|
|
|
35
35
|
## Inputs
|
|
36
36
|
|
|
37
|
-
| Name
|
|
38
|
-
|
|
39
|
-
| `language`
|
|
40
|
-
| `configName`
|
|
41
|
-
| `services`
|
|
42
|
-
| `dguid`
|
|
37
|
+
| Name | Mandatory | Possible values | Description |
|
|
38
|
+
|----------------|-----------|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
39
|
+
| `language` | true | `en`, `de`, `fr`, `nl` | The language holds the current language as a value, which means it can change over time if the user changes his/her preferred language. The web component adapts the translations based on the value set. The values of the language property are defined in the Language enum. |
|
|
40
|
+
| `configName` | true | `acc`, `prod` | Name of the configuration the application and the components are being deployed to. |
|
|
41
|
+
| `services` | true | N/A | Set of services to be consumed by the component. see [USAGE](#Usage). |
|
|
42
|
+
| `dguid` | true | N/A | Delivered medication dguid to display. |
|
|
43
|
+
| `professional` | false | `true`, `false` | Indicates whether the component is being used in a professional context. If set to `true`, the `ssin` input must be provided and will be used to identify the patient. If `false` or not set, the SSIN will be retrieved automatically from the authentication token. |
|
|
44
|
+
| `ssin` | true | N/A | The patient's SSIN. Required **only** if `professional` is set to `true`. When `professional` is `false`, this value is ignored and the SSIN is extracted from the authentication token. |
|
|
43
45
|
|
|
44
46
|
|
|
45
47
|
|