@claudebernard/medication-request-editor-element
TypeScript icon, indicating that this package has built-in type declarations

0.0.16 • Public • Published

<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.

Package Sidebar

Install

npm i @claudebernard/medication-request-editor-element

Weekly Downloads

83

Version

0.0.16

License

none

Unpacked Size

798 kB

Total Files

10

Last publish

Collaborators

  • tdeltour
  • gdrouet
  • sclerbout
  • claudebernard_tcaillier
  • tpoutrain_resip