@smals-belgium-shared/vidis-medication-scheme-detail 3.4.2-snapshot.6 → 3.4.2-snapshot.8
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 +8 -0
- package/README.md +11 -16
- package/assets/{main-CzI5NpAf.js → main-DNVj_wAf.js} +35 -35
- package/medication-scheme-detail.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -171,3 +171,11 @@
|
|
|
171
171
|
### vidis-delivered-medication-list
|
|
172
172
|
* redesign of information banner, aligned to design kit
|
|
173
173
|
* make banner expanded by default for desktop view and collapsed for mobile view
|
|
174
|
+
|
|
175
|
+
### vidis-medication-scheme-list:
|
|
176
|
+
* Change the type of `onSelectMedication` output : new type `{ id: string; date?: string; }`, old type : `id: string`.
|
|
177
|
+
|
|
178
|
+
### vidis-medication-scheme-detail:
|
|
179
|
+
* Mobile view : Redesign the Medicationscheme details page to provide a more structured overview.
|
|
180
|
+
* Remove of `id` input.
|
|
181
|
+
* Add of `detail` input, with the type : `{ id: string; date?: string; }`
|
package/README.md
CHANGED
|
@@ -39,22 +39,17 @@ The **daily view** is tailored for those who need a more specific, day-to-day br
|
|
|
39
39
|
|
|
40
40
|
## Inputs
|
|
41
41
|
|
|
42
|
-
| Name | Mandatory | Possible values
|
|
43
|
-
|
|
44
|
-
| `language` | true | `en`, `de`, `fr`, `nl`
|
|
45
|
-
| `configName` | true | `acc`, `prod`
|
|
46
|
-
| `services` | true | N/A
|
|
47
|
-
| `professional` | true | `true`, `false`
|
|
48
|
-
| `ssin` | true | N/A
|
|
49
|
-
| `offlineDataStorageEnabled` | true | `true`, `false`
|
|
50
|
-
| `isOfflineAuthenticated` | true | `true`, `false`
|
|
51
|
-
| `exchangeClientId` | true | N/A
|
|
52
|
-
|
|
53
|
-
## Outputs
|
|
54
|
-
|
|
55
|
-
| Name | Type | Description |
|
|
56
|
-
|------------------------|--------|-----------------------------------------------|
|
|
57
|
-
| `onSelectMedication` | string | Notified with the selected ID code as string |
|
|
42
|
+
| Name | Mandatory | Possible values | Description |
|
|
43
|
+
|-----------------------------|-----------|-----------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
44
|
+
| `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. |
|
|
45
|
+
| `configName` | true | `acc`, `prod` | Name of the configuration the application and the components are being deployed to. |
|
|
46
|
+
| `services` | true | N/A | Set of services to be consumed by the component. see [USAGE](#Usage). |
|
|
47
|
+
| `professional` | true | `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`, the SSIN will be retrieved automatically from the authentication token. |
|
|
48
|
+
| `ssin` | true | N/A | The patient's SSIN. When `professional` is `false`, this value is ignored and the SSIN is extracted from the authentication token. |
|
|
49
|
+
| `offlineDataStorageEnabled` | true | `true`, `false` | A boolean flag indicating whether offline data storage has been enabled by the user. When true, the web component can store and retrieve data locally for offline access. |
|
|
50
|
+
| `isOfflineAuthenticated` | true | `true`, `false` | A boolean flag indicating whether the web component is being accessed from an offline state. |
|
|
51
|
+
| `exchangeClientId` | true | N/A | The client id used for the token exchange |
|
|
52
|
+
| `detail` | true | N/A | the id of medicationscheme + the date of the details to display (format : yyyy-MM-dd). The date is optional. | |
|
|
58
53
|
|
|
59
54
|
|
|
60
55
|
## Usage
|