@claudebernard/medication-request-editor-element
v0.0.16
Published
An element which permit to edit a medication request.
Downloads
383
Readme
<bcb-medication-request-editor> element
An element which permit to edit a medication request.
Installation
npm install --save @claudebernard/medication-request-editor-element
Usage
Script
Import as ES modules:
import "@claudebernard/medication-request-editor-element";
HTML
<bcb-medication-request-editor
></bcb-medication-request-editor>
Attributes
| Name | Type | Default | Description |
|----------|----------|--------------------------------|--------------------------------------------------------------------------------------|
| medicationRequest
| MedicationRequest
| `` | MedicationRequest for a medication |
| lang
| String
| fr-FR
| UI display locale. Available : - French (France) : fr-FR
- English: en
|
Events
| Name | Type | Format | Description |
|----------------|----------------|-------------------------------------------|----------------------------|
| medication-request-updated
| MedicationRequest
| {id: string; resourceType: string; medication: CodeableReference; dosageInstruction: Dosage[]; reason: CodeableReference[];}
| User got a medication request |
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.