Versions Compared

Key

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

...

  • This service would handle requests from 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
      • NOTE: this "admin" user does not have to be an admin of the system, but has the correct DHIS2 permissions to return data required by OpenLMIS
    • Call to DHIS2 APIs, /api/<version>/dataValueSets
    • Input: a mapped program data composite (facility between OpenLMIS and DHIS2
      • An OpenLMIS Facility maps to a DHIS2 orgUnit
      ,
      • An OpenLMIS program maps to a DHIS2 program
      ,
      • An OpenLMIS processingPeriod maps to a DHIS2 period)
    • Output: dataValueSet result, with completeDate if program data is complete)

...