Versions Compared

Key

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

...

An MVP for Program Data with OpenLMIS and DHIS2, would require creating a new Program Data microservice. It would look as such:

  • This service would handle requests from
  • other services–Requisition
  • consumers–Requisition service for MVP, but other services in the future like stock management or informed push
    • Input: a program data composite (facility, program, processingPeriod, and possibly isEmergency)
    • Output: true/false depending on whether that program data is complete
  • To answer these requests, it would make an external call to DHIS2 to get relevant data (integration piece)
    • Authenticate with a DHIS2 "admin" user dedicated to OpenLMIS integration
    • Call to DHIS2 APIs, probably /api/<version>/dataValueSets
    • Input: a mapped program data composite (facility maps to orgUnit, program maps to program, processingPeriod maps to period)
    • Output: dataValueSet result, with completeDate if program data is complete)

...