Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

pha stats: expired claim attempt #1232

Closed
mikehelmick opened this issue Dec 2, 2020 · 2 comments · Fixed by #1646
Closed

pha stats: expired claim attempt #1232

mikehelmick opened this issue Dec 2, 2020 · 2 comments · Fixed by #1646
Labels
kind/enhancement New feature or feature request.

Comments

@mikehelmick
Copy link
Contributor

TL;DR

Number of times that expired (not invalid) codes were attempted to be claimed.

ideally an indicator of someone who go a real code but tried to use it too late.

@mikehelmick mikehelmick added the kind/enhancement New feature or feature request. label Dec 2, 2020
@sethvargo
Copy link
Member

I see two use cases here:

  1. You issued a code to one person and that one person did not claim it in time.

    I think this use case isn't solved by stats. The stats won't tell you which user expired, and we intentionally don't have that data link.

  2. You issued a bunch of codes that expired before they were claimed.

    While this data might be useful, it's not actionable. You can't re-issue the codes because there's no link back to the patient (by design).

@sethvargo
Copy link
Member

The backend piece of this is done. We opted to go for "failed" instead of "expired" which encompasses:

  • codes that were definitely expired
  • codes that don't exist in the database (could be super-expired or a typo)

@mikehelmick mikehelmick added this to the v0.20.0 milestone Jan 8, 2021
@mikehelmick mikehelmick modified the milestones: v0.20.0, v0.21.0 Jan 19, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/enhancement New feature or feature request.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants