0.0.16 • Published 1 year ago
@claudebernard/medication-request-editor-element v0.0.16
\ 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.
- Chrome
- Firefox
- Safari
- 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
- i18n
- Browser support section
- EOL section
License
Copyright of Cegedim. See LICENSE for details.