Skip to content

openimis/openimis-fe-medical_js

Repository files navigation

openIMIS Frontend Medical reference module

This repository holds the files of the openIMIS Frontend Medical reference module. It is dedicated to be deployed as a module of openimis-fe_js.

License: AGPL v3 Total alerts

Main Menu Contributions

None

Other Contributions

None (Administration module providing menu entries to proxied pages for medical items and services)

Available Contribution Points

None

Published Components

  • medical.DiagnosisPicker, auto-suggestion picker that debounces search based on user input (GraphQL: diagnosesStr)
  • medical.ItemPicker, auto-suggestion picker that debounces search based on user input (GraphQL: medicalItemsStr)
  • medical.ServicePicker, auto-suggestion picker that debounces search based on user input (GraphQL: medicalServicesStr)
  • medical.VisitTypePicker, constant-based picker, translation keys: medical.visitType.null, medical.visitType.E,...
  • medical.CareTypePicker, constant-based picker, translation keys: medical.careType.null, medical.careType.I,...

Other Modules Listened Redux Actions

None

Configurations Options

  • debounceTime: for pickers without cache, debounce time (ms) before triggering the search. Default: 800
  • cacheDiagnoses: wherever diagnoses picker caches the diagnoses or not
  • diagnosesMinCharLookup: if diagnoses picker is not configured to cache diagnoses, minimum number of characters before trigring the search. Default: 2
  • DiagnosisPicker.selectThreshold: Diagnosis suggestions count threshold under which the AutoSuggestion switch to a SelectInut (drop down list), default: 10
  • ItemPicker.selectThreshold: Items suggestions count threshold under which the AutoSuggestion switch to a SelectInut (drop down list), default: 10
  • ServicePicker.selectThreshold: Services suggestions count threshold under which the AutoSuggestion switch to a SelectInut (drop down list), default: 10