Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@smals-belgium-shared/shared-nihdi-pss-web-components

jdsssmals227LGPL-3.0-or-later0.0.3

PSS web components

pss, web component, antimicrobials

readme

PSS Antimicrobials web components

Context

The web components developed for the PSS (Prescription Search Support) project, encompass both back-end and front-end functionalities. These components are designed to streamline the integration process by significantly reducing the development effort required by integrators. Notably, the solution does not require direct FHIR integration, which simplifies implementation within existing systems.

The container application will have to provide the input parameters to provision the web component with a working context.

Prerequisites

⚠️ IE (internet explorer) is not supported. You can include polyfill scripts ("polyfills") for the browsers that you must support.

Description

The provided web components address complex clinical scenarios related to patient situation definitions in the antimicrobial domain. While the components encapsulate much of the required logic, certain responsibilities still remain with the integrator beyond embedding the web components themselves

The following three web components will be provided:

  1. pss-amb-get-support-parameters
  2. pss-amb-summary
  3. pss-amb-recommendation

The same web components are utilized in the PSS stand-alone web app, designed for both professional and educational purposes. You can explore the integration of these components in the following environments:

This project supports three environment modes:

  • demo: Initializes the web component with mock data, without requiring a token or making any API requests. This mode is intended for integrators during development.
  • acc: Acceptance environment, also intended for integrators during development and testing.
  • prod: Production environment, used for the live deployment of the component.

Documentations, example, changelog

The documentation is accessible at:
Shared Prescription Search Support

The web components implement the contract (structure and naming of inputs and outputs):
@smals-belgium/myhealth-wc-integration v4.0.0

For styling, the components are defined in Storybook:
MyHealth Storybook Design Kit

The CHANGELOG.md are available directly in the artifact, along with an example (example_PSSa.html) of PSSa integration in a demo environment.

Versioning

This project follows Semantic Versioning. 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 file for more info.

Accessibility

We are committed to making our web components accessible to all users. Our components are:

  • Screen reader friendly : Designed to work well with popular screen readers (Talkback / VoiceOver / ...)
  • Responsive : Adapt to various screen sizes (desktop / mobile).
  • Compliant: Meet accessibility criteria, including ARIA labels and keyboard navigation

Customizations

The web components are build with Angular Material.

Troubleshoots

If you encounter issues while using the web components :

  • Ensure that your token is valid and hasn't expired. For assistance, contact eHealth.
  • Ensure you are using the latest version of the web components
  • Ensure you are using a supported browser and that you have cleared your cache if issues persist.
  • Ensure your organization, browser or device don't block calls to PSS API by any way.

License

GNU Lesser General Public License v3.0 or later