@smals-belgium-shared/vidis-medication-scheme-list 1.1.3 → 2.0.0
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 +20 -0
- package/MatSymbols-Rounded.woff2 +0 -0
- package/OpenSans-Bold.ttf +0 -0
- package/OpenSans-ExtraBold.ttf +0 -0
- package/OpenSans-Italic.ttf +0 -0
- package/OpenSans-Light.ttf +0 -0
- package/OpenSans-Medium.ttf +0 -0
- package/OpenSans-Regular.ttf +0 -0
- package/OpenSans-SemiBold.ttf +0 -0
- package/README.md +50 -2
- package/assets/main-YFHQ867I.js +73 -0
- package/assets/polyfills-CGYnV-49.js +2 -0
- package/medication-scheme-list.css +1 -1
- package/medication-scheme-list.js +1 -1
- package/package.json +1 -1
- package/assets/main-CsLar-cZ.js +0 -33
- package/assets/polyfills-C4iAblqc.js +0 -2
package/CHANGELOG.md
CHANGED
@@ -35,4 +35,24 @@
|
|
35
35
|
## v1.1.3 (2025-05-16)
|
36
36
|
* Bugfixes
|
37
37
|
|
38
|
+
## v2.0.0 (2025-06-06)
|
39
|
+
* Update to Angular v19
|
40
|
+
* Update Design Kit to v2.5
|
41
|
+
* Remove title and back button
|
42
|
+
|
43
|
+
### vidis-medication-scheme-list:
|
44
|
+
* Label correction
|
45
|
+
* Your filtering is saved when you go back from an other component
|
46
|
+
|
47
|
+
### vidis-diarynote-list
|
48
|
+
* Add getTotalItems output
|
49
|
+
|
50
|
+
### vidis-prescription-list
|
51
|
+
* Add getTotalItems output
|
52
|
+
* Change `onPrintPrescriptions` output to `onPrint` and type from `{base64Pdf: string, printOptions: {filename: string, orientation: 'portrait'}}` to `{title: string, content: string}`
|
53
|
+
|
54
|
+
### vidis-prescription-detail
|
55
|
+
* Change `onPrintDetail` output to `onPrint` and type from `{base64Pdf: string, printOptions: {filename: string, orientation: 'portrait'}}` to `{title: string, content: string}`
|
56
|
+
|
57
|
+
|
38
58
|
## __RELEASE_VERSION__ (__RELEASE_DATE__)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
package/README.md
CHANGED
@@ -14,6 +14,9 @@ The container application will have to provide the input parameters to provision
|
|
14
14
|
|
15
15
|
- A supported browser [by our Web Components](https://angular.dev/reference/versions#browser-support) AND [by eHealth][Supported browsers]
|
16
16
|
- A valid VIDIS token. It could be obtained from [eHealth Token eXchange][eHealth IAM] service. This token must be refreshed periodically in order to be used by VIDIS
|
17
|
+
- Notify partners that are using REST APIs so your VIDIS tokens & clients will be trusted :
|
18
|
+
- [Vitalink][Vitalink] & their Apigee service – Contact: vitalink-support@smals.be
|
19
|
+
- [Farmaflux][Farmaflux] – Contact: vidis@farmaflux.be
|
17
20
|
|
18
21
|
⚠️ IE (internet explorer) is not supported. You can include [polyfill scripts ("polyfills")](https://www.webcomponents.org/polyfills) for the browsers that you must support.
|
19
22
|
|
@@ -21,6 +24,7 @@ The container application will have to provide the input parameters to provision
|
|
21
24
|
## Features
|
22
25
|
|
23
26
|
This web component offers a versatile and user-friendly way for patients to manage their medication schedule through three distinct views: **list view**, **weekly view**, and **daily view**. Each view provides a different perspective on the medication regimen, offering flexibility to help users track their medications according to their preferences and needs. The component also includes key information that is consistent across all views to ensure transparency and accuracy.
|
27
|
+
Your view and filters are saved in the cache so you keep them when you come back to the medication scheme from another webcomponent
|
24
28
|
|
25
29
|
### List view
|
26
30
|
|
@@ -94,12 +98,12 @@ The **daily view** is tailored for those who need a more specific, day-to-day br
|
|
94
98
|
})
|
95
99
|
|
96
100
|
// Example on how to listen to output parameter(s), for printing
|
97
|
-
wc.addEventListener("
|
101
|
+
wc.addEventListener("onPrint", (event) => {
|
98
102
|
console.log(`event:`, event)
|
99
103
|
const params = event.detail;
|
100
104
|
console.log('param:', params);
|
101
105
|
|
102
|
-
const byteArray = new Uint8Array(atob(params.
|
106
|
+
const byteArray = new Uint8Array(atob(params.content).split('').map(char => char.charCodeAt(0)))
|
103
107
|
const blob = new Blob([byteArray], {type: 'application/pdf'})
|
104
108
|
const url = window.URL.createObjectURL(blob)
|
105
109
|
window.open(url, '_blank').print()
|
@@ -111,3 +115,47 @@ The **daily view** is tailored for those who need a more specific, day-to-day br
|
|
111
115
|
</html>
|
112
116
|
```
|
113
117
|
|
118
|
+
|
119
|
+
## Versioning
|
120
|
+
|
121
|
+
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.
|
122
|
+
|
123
|
+
## Accessibility
|
124
|
+
|
125
|
+
We are committed to making our web components accessible to all users. Our components are:
|
126
|
+
- Screen reader friendly : Designed to work well with popular screen readers (Talkback / VoiceOver / ...)
|
127
|
+
- Responsive : Adapt to various screen sizes (desktop / mobile).
|
128
|
+
- Compliant: Meet [accessibility criteria][OFAC], including ARIA labels and keyboard navigation
|
129
|
+
|
130
|
+
## Customizations
|
131
|
+
|
132
|
+
The web components are build with [Angular Material][Angular Material]. The styling of it is overwritten by the “My Health” portal, by there [design kit][MHDK].
|
133
|
+
|
134
|
+
## Troubleshoots
|
135
|
+
|
136
|
+
If you encounter issues while using the web components :
|
137
|
+
|
138
|
+
- Ensure that your token is valid and hasn't expired. For assistance, contact [eHealth][eHealth IAM].
|
139
|
+
- Ensure you are using the latest version of the web components
|
140
|
+
- Ensure you are using a supported browser and that you have cleared your cache if issues persist.
|
141
|
+
- Ensure your organization, browser or device don't block calls to VIDIS API by any way.
|
142
|
+
- If none of the above, please contact mijngeneesmiddelen@riziv-inami.fgov.be / mesmedicaments@riziv-inami.fgov.be
|
143
|
+
|
144
|
+
## License
|
145
|
+
|
146
|
+
[GNU Lesser General Public License v3.0 or later](https://spdx.org/licenses/LGPL-3.0-or-later.html)
|
147
|
+
|
148
|
+
[Recip-e]: https://recip-e.be/
|
149
|
+
[Vitalink]: https://www.vitalink.be/
|
150
|
+
[RSW]: https://www.reseausantewallon.be/
|
151
|
+
[RSB]: https://brusselshealthnetwork.be/
|
152
|
+
[Farmaflux]: https://www.farmaflux.be/
|
153
|
+
[Web component explanations]: https://www.webcomponents.org/introduction
|
154
|
+
[eHealth IAM]:https://www.ehealth.fgov.be/ehealthplatform/nl/service-i.am-identity-access-management
|
155
|
+
[MHDK]: https://www.npmjs.com/package/@myhealth-belgium/design-kit
|
156
|
+
[Angular Material]: https://material.angular.io/
|
157
|
+
[OFAC]: https://openfed.github.io/AccessibilityCheck/
|
158
|
+
[Semver]: https://docs.npmjs.com/about-semantic-versioning
|
159
|
+
[MHWCI]: https://www.npmjs.com/package/@myhealth-belgium/webcomponent-integration
|
160
|
+
[Supported browsers]: https://www.ehealth.fgov.be/nl/page/hoe-toegang-krijgen-tot-applicaties
|
161
|
+
|