@stssocialst-stp/fe-medical 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md ADDED
@@ -0,0 +1,13 @@
1
+ The program users must agree to the following terms:
2
+
3
+ License notices
4
+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU AGPL v3 License as published by the Free Software Foundation, version 3 of the License.
5
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU AGPL v3 License for more details www.gnu.org.
6
+
7
+ Disclaimer of Warranty
8
+ There is no warranty for the program, to the extent permitted by applicable law; except when otherwise stated in writing the copyright holders and/or other parties provide the program "as is" without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the program is with you. Should the program prove defective, you assume the cost of all necessary servicing, repair or correction.
9
+
10
+ Limitation of Liability
11
+ In no event unless required by applicable law or agreed to in writing will any copyright holder, or any other party who modifies and/or conveys the program as permitted above, be liable to you for damages, including any general, special, incidental or consequential damages arising out of the use or inability to use the program (including but not limited to loss of data or data being rendered inaccurate or losses sustained by you or third parties or a failure of the program to operate with any other programs), even if such holder or other party has been advised of the possibility of such damages.
12
+
13
+ In case of dispute arising out or in relation to the use of the program, it is subject to the public law of Switzerland. The place of jurisdiction is Berne.
package/README.md ADDED
@@ -0,0 +1,34 @@
1
+ # openIMIS Frontend Medical reference module
2
+ This repository holds the files of the openIMIS Frontend Medical reference module.
3
+ It is dedicated to be deployed as a module of [openimis-fe_js](https://github.com/openimis/openimis-fe_js).
4
+
5
+ [![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
6
+ [![Total alerts](https://img.shields.io/lgtm/alerts/g/openimis/openimis-fe-medical_js.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/openimis/openimis-fe-medical_js/alerts/)
7
+
8
+ ## Main Menu Contributions
9
+ None
10
+
11
+ ## Other Contributions
12
+ None (Administration module providing menu entries to proxied pages for medical items and services)
13
+
14
+ ## Available Contribution Points
15
+ None
16
+
17
+ ## Published Components
18
+ * `medical.DiagnosisPicker`, auto-suggestion picker that debounces search based on user input (GraphQL: `diagnosesStr`)
19
+ * `medical.ItemPicker`, auto-suggestion picker that debounces search based on user input (GraphQL: `medicalItemsStr`)
20
+ * `medical.ServicePicker`, auto-suggestion picker that debounces search based on user input (GraphQL: `medicalServicesStr`)
21
+ * `medical.VisitTypePicker`, constant-based picker, translation keys: `medical.visitType.null`, `medical.visitType.E`,...
22
+ * `medical.CareTypePicker`, constant-based picker, translation keys: `medical.careType.null`, `medical.careType.I`,...
23
+
24
+
25
+ ## Other Modules Listened Redux Actions
26
+ None
27
+
28
+ ## Configurations Options
29
+ * `debounceTime`: for pickers without cache, debounce time (ms) before triggering the search. Default: `800`
30
+ * `cacheDiagnoses`: wherever diagnoses picker caches the diagnoses or not
31
+ * `diagnosesMinCharLookup`: if diagnoses picker is not configured to cache diagnoses, minimum number of characters before trigring the search. Default: 2
32
+ * `DiagnosisPicker.selectThreshold`: Diagnosis suggestions count threshold under which the AutoSuggestion switch to a SelectInut (drop down list), default: 10
33
+ * `ItemPicker.selectThreshold`: Items suggestions count threshold under which the AutoSuggestion switch to a SelectInut (drop down list), default: 10
34
+ * `ServicePicker.selectThreshold`: Services suggestions count threshold under which the AutoSuggestion switch to a SelectInut (drop down list), default: 10