@leafnet/calculatorview v0.5.21
Introduction
This is a stencil developed library with web components.
Collection
- Calculators
- Mortality Scores
- Drugs
Calculators
They provide a UX of elements that can create a mathematical equation or a conversion.
All operators are sequential.
Operators are displayed, except if are set hidden, at the left of each parameter.
Input: Javascript object with parameters
Output: An complex element. On every modification it sends and Event of name resultUpdated
Types
- Calculation: e.g.
A + B / C
.B
will be added toA
and the result will be devided withC
- Conversion: Miles to Km. The second parameter is just a coefficient to the first parameter. For this 0.2.xxx versions it just adds,subs,div,mult.
- MultiConversion: Miles to Km to m etc. When ever a parameter is changed all others do get updated.
Calculators List
A collection of Calculators. It draws them as a list. Input: A valid url that contains the JSON File with settings. Output: An complex element list
Mortality Scores
It provides an element to present a mortality score such as APACHEII or SOFA. Input: A valid url that contains the JSON File with settings (ex. apacheii.json, sofa.json). Output: A score with input parameters, result, references etc.
Mortality Scores List
It provides a collection of mortality scores. Input: A valid url that contains the JSON File with all the scores. Output: a) a toolbar to select the score, b) the score list with only selected visible
Mortality Scores Simple Addition
It provides a collection of mortality scores. It uses the Step Progress
element.
Input: An object with settings
Output: A progress bar with steps.
Event: type scoreValueEvent
Step Progress
It provides a collection of mortality scores.
Input: An object with settings
Output: A progress bar with steps.
Event: type scoreValueEvent
Drugs
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago