Enable Adjusted consumption and Additional Quantity columns for SBR

Description

As a user I want to see calculated Adjusted Consumption column for Stock Based requisitions that will be used for Average Consumption column. All calculations should be the same as for non Stock Based requisitions. Most of needed columns for those calculations are populated for SBR:

  • We are retrieving total consumed quantity (C) from Stock Management

  • We are retrieving Total Stockout Days (X) from Stock mgmt

  • We must handle a scenario with and without Number of news patients added (take from requisition itself)

  • Months (M) is based on previous requistion periods duration
    We need also enable Additional Quantity column which can be used in those calculations.

ACC:

  • Additional Quantity column is enabled for SBR

  • Adjusted Consumption column is enabled for SBR and is displayed by default in demo data templates

  • calculations for Adjusted Consumption column are working the same as for regular requisitions (should be reused)

Status

Assignee

Mateusz Kwiatkowski

Reporter

Sebastian Brudziński

Labels

None

Story Points

5

Time tracking

32h

Components

Sprint

None

Fix versions

Priority

Critical