@claudebernard/side-effects-element
v0.0.20
Published
An element providing a list of side effects caused by a medication.
Downloads
328
Readme
<bcb-side-effects> element
An element providing a list of side effects caused by a medication.
Installation
npm install --save @claudebernard/side-effects-element
Usage
Script
Import as ES modules:
import '@claudebernard/side-effects-element';
HTML
<bcb-side-effects apiurl="https://api.claudebernard.fr"></bcb-side-effects>
Attributes
| Name | Type | Default | Description |
|----------|----------|--------------------------------|--------------------------------------------------------------------------------------|
| apiurl
| URL
| https://api.claudebernard.fr
| API base URL to call to do some stuff |
| lstProducts
| IProduct[]
| []
| All the products to check before display potentials side effects |
| sideEffectsTitle
| String
| Effets indésirables de l'ordonnance
| The title of the component |
| lang
| String
| fr-FR
| UI display locale. Available : - French (France) : fr-FR
- English: en
|
Browser support
Browsers without native custom element support require a polyfill.
- [x] Chrome
- [x] Firefox
- [x] Safari
- [x] Microsoft Edge
Custom element checklist
- [ ] Public documentation (docs portal)
- [ ] Functional on Angular, React, Vue
- [ ] Unit tested
- [ ] Code quality
- [ ] Changelog with semantic release
- [ ] Available in offline mode
- [ ] Best practices compliant
- [ ] Validated by QA
- [ ] Publicly available
- [ ] Based on FHIR
- [ ] Example on storybook
- [ ] Available demo
- [x] i18n
- [x] Browser support section
- [ ] EOL section
License
Copyright of Cegedim. See LICENSE for details.