Versions Compared

Key

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

...

  • Return only relevant information about a requisition to the client: Do we really need to return non full supply products in the response of authorize endpoint? Perhaps we could keep this as a set of UUIDs instead of calling orderableReferenceDataService.findOne for each one of themor, if really needed, create a batch endpoint that returns all of them at once
  • Another solution would be to reuse products that were previously retrieved in RequisitionController. 
  • Try not to fetch all the orderables, search them by facility/program instead.