Skip to content

Commit

Permalink
Merge pull request #4344 from ebmdatalab/evansd/fix-ncso-report
Browse files Browse the repository at this point in the history
Update withdrawn concession rather than appending
  • Loading branch information
evansd authored Sep 28, 2023
2 parents bf41a1d + 8deb390 commit 64be42c
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,19 +352,19 @@ def add_manual_corrections(items):
"price_pence": 448,
}
)
if any(i["date"] == datetime.date(2023, 8, 1) for i in items):
items.append(
{
"url": "https://mailchi.mp/cpe/atomoxetine-18mg-capsules-updated-reimbursement-price-for-august-2023",
"publish_date": datetime.date(2023, 8, 31),
"date": datetime.date(2023, 8, 1),
"vmpp_id": 7649311000001108,
"supplied_vmpp_id": 7649311000001108,
"drug": "Atomoxetine 18mg capsules",
"pack_size": "28",
"price_pence": WITHDRAWN,
}
)
for item in items:
if (
item["date"] == datetime.date(2023, 8, 1)
and item["vmpp_id"] == 7649311000001108
):
item.update(
{
"url": "https://mailchi.mp/cpe/atomoxetine-18mg-capsules-updated-reimbursement-price-for-august-2023",
"publish_date": datetime.date(2023, 8, 31),
"price_pence": WITHDRAWN,
}
)

return items


Expand Down

0 comments on commit 64be42c

Please sign in to comment.