Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A lot happens when you startup KenyaEMR so this page is an attempt to explain the details to help developers and admins debug any problems that might arise.

...

  • KenyaEMR is still operational (i.e. we don't prevent the KenyaEMR module from loading)
  • A warning message is displayed to users to tell them to contact an admin 
  • Admins can login see information relating to the problem
    • If problem is a missing requirement (e.g. CIEL) they'll see this on the home page of the Admin app
    • Due to When TRUNK-4267 is fixed, we haven't yet implemented a way to display any exception thrown, so they may 'll send admins an alert with whatever exception occurred. For now they have to consult the log files

...

The existing content managers are as follows (listed in the order in which they are refreshed)

ManagerPriorityManagesOn refresh
RequirementManager0External requirementsChecks each requirement, throws UnsatisfiedRequirementException if one fails
MetadataManager10Metadata bundlesInstalls all registered bundles
LabManager20Lab test catalogsLoads all lab test catalogs
RegimenManager30Regimen definitionsLoads all regimen definitions from XML resource
IdentifierManager40Identifiers 
CalculationManager50Calculation classes and patient flags 
ProgramManager60Programs 
FormManager70FormsSaves form resources for XML content of all forms
ReportManager80Reports and their buildersBuilds and persists all report definitions
ChoreManager90ChoresPerforms all chores not already performed

Performance

Startup time is dependent on the state and size of the database.

...