API changes for associating emergency requisitions with a processing period

Description

This sub-task is for the Requisition Service API changes.

Tech Questions:

  • What API changes are needed? Any new endpoints or is this just about adding logic inside the /requisitions/initiate endpoint?

  • Is there any validation about which periods can have an emergency requisition (like can I make one for periods already in the past, or partially complete, or months or years into the future, or perhaps only for the current period?)

  • Does the API have different rules for deleting or re-creating emergency requisitions than regular ones?

Acceptance Criteria

  • The Requisitions service API supports initiating an emergency requisition associated with a processing period.

  • Emergency requisitions still enforce the same permissions checks about facility and user role as regular requisitions.

  • Each processing period can have multiple emergency requisitions (zero, one or multiple).

Assignee

Sebastian Brudziński

Reporter

Brandon Bowersox-Johnson

Labels

None

Sprint

None

Fix versions

Priority

Major
Configure