alex-therapeutics / diga-api-client

Production-ready java library for DiGA (Digital Health Application) manufacturers to integrate with DiGA API endpoints for code validation and billing.
https://github.com/alex-therapeutics/diga-api-client
Apache License 2.0
32 stars 13 forks source link

Question: Reactivation flow for users who received a second diga prescription code #67

Closed SebastianRehfeldt closed 2 years ago

SebastianRehfeldt commented 2 years ago

Problem

DiGA prescriptions are only valid for a specific amount of days. Ideally, users want to continue using the app and receive a second prescription code by their insurance. Do you or @gtuk have any experience on how the validation and billing apis handle DiGA codes for users who have already entered a code? Can they enter the new code before the existing one expires?

Would be grateful if you already have some experience with this topic and can share it :)

fongie commented 2 years ago

We dont have any experience with this unfortunately. Would be good to know though!

gtuk commented 2 years ago

Based on what we observed:

SebastianRehfeldt commented 2 years ago

Thanks, that's very helpful :)

000 is a first prescription and 001 indicates a follow up prescription

Yep, I don't have a link to the documentation either but this is also how we understand the digavid. In the initial PR for the documentation I added the question to the FAQ section. I can open a PR to clarify it there based on your response.