@smals-belgium-shared/vidis-prescription-detail 3.4.4-snapshot.1 → 3.4.4-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 +7 -0
- package/README.md +26 -1
- package/assets/main-Bl9hotLU.js +311 -0
- package/package.json +1 -1
- package/prescription-detail.css +1 -1
- package/prescription-detail.js +1 -1
- package/assets/main-NrE5xGaA.js +0 -310
package/CHANGELOG.md
CHANGED
|
@@ -184,6 +184,13 @@
|
|
|
184
184
|
## __RELEASE_VERSION__ (__RELEASE_DATE__)
|
|
185
185
|
### vidis-prescription-detail
|
|
186
186
|
* Masanté Demo mode data: Modify instructions in 2 languages
|
|
187
|
+
* Bugfix: hide reservation button when prescription is already reserved
|
|
188
|
+
* Add 2 new outputs navigate to the new components in mobile view, both have the data for the `info` input:
|
|
189
|
+
* `clickReserve` to navigate to the new reservation component
|
|
190
|
+
* `clickVisibility` to navigate to the new visibility component
|
|
191
|
+
* Add 2 new components for reservation and changing visibility of a prescription for mobile view:
|
|
192
|
+
* `vidis-pharmacy-reservation` with input `info` and output `finishReservation`
|
|
193
|
+
* `vidis-prescription-visibility` with input `info` and output `finishVisibility`
|
|
187
194
|
|
|
188
195
|
### vidis-diarynote
|
|
189
196
|
* Add snackbar confirmation when a note is created
|
package/README.md
CHANGED
|
@@ -44,12 +44,37 @@ Moreover, the prescription detail page includes a variety of helpful features fo
|
|
|
44
44
|
| `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. |
|
|
45
45
|
| `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. |
|
|
46
46
|
| `isOfflineAuthenticated` | true | `true`, `false` | A boolean flag indicating whether the web component is being accessed from an offline state. |
|
|
47
|
-
|
|
48
47
|
## Outputs
|
|
49
48
|
|
|
50
49
|
| Name | Type | Description |
|
|
51
50
|
|------------------|------|----------------------------------------------|
|
|
52
51
|
| `onPrint` | {title: string, content: string, mimeType: 'application/base64'} | Notified with the selected detail as base64 pdf and title. The pdf is created for portrait printing |
|
|
52
|
+
| `clickReserve` | {id: string, ssin: string} | ***MOBILE ONLY*** Emitted when a user wants to reserve the prescription. Needs to navigate to web component `vidis-pharmacy-reservation` with input `info` that comes from this event. |
|
|
53
|
+
| `clickVisibility` | {id: string, ssin: string} | ***MOBILE ONLY*** Emitted when a user wants to change the visibility for the prescription. Needs to navigate to web component `vidis-prescription-visibility` with input `info` that comes from this event. |
|
|
54
|
+
|
|
55
|
+
## Reservation component
|
|
56
|
+
tagName: `<vidis-pharmacy-reservation />`
|
|
57
|
+
|
|
58
|
+
| Property | Type | Required | Description |
|
|
59
|
+
|------------------|----------------------------|----------|----------------------------------------------|
|
|
60
|
+
| info | {id: string, ssin: string} | Yes | Recieved from the prescription detail component and needs to be passed to the reservation component for correct rendering |
|
|
61
|
+
|
|
62
|
+
| Event | Type | Required | Description |
|
|
63
|
+
|------------------|-------------|----------|----------------------------------------------|
|
|
64
|
+
| finishReservation | customEvent | Yes | Event emitted when the user has finished or canceled the reservation flow. Host application should handle the navigation back to the prescription detail component |
|
|
65
|
+
|
|
66
|
+
## Visibility component
|
|
67
|
+
tagName: `<vidis-prescription-visibility />`
|
|
68
|
+
|
|
69
|
+
| Property | Type | Required | Description |
|
|
70
|
+
|------------------|----------------------------|----------|----------------------------------------------|
|
|
71
|
+
| info | {id: string, ssin: string} | Yes | Recieved from the prescription detail component and needs to be passed to the visibility component for correct rendering |
|
|
72
|
+
|
|
73
|
+
| Event | Type | Required | Description |
|
|
74
|
+
|------------------|-------------|----------|----------------------------------------------|
|
|
75
|
+
| finishVisibility | customEvent | Yes | Event emitted when the user has finished or canceled the visibility flow. Host application should handle the navigation back to the prescription detail component |
|
|
76
|
+
|
|
77
|
+
|
|
53
78
|
|
|
54
79
|
|
|
55
80
|
## Usage
|