Using the service for two DiGAs
Closed this issue · 2 comments
sergiivorobei commented
Hi!
First of all thanks for this project, it helped us a lot.
We would like to use the service to validate the codes for two DiGAs in the future. As far as I see this might not be possible with the current implementation. I see two possible ways at this point:
- Run a separate instance of this service with a different configuration.
- Add two additional endpoints (e.g.
validate_diga2
andbill_diga2
) for the second DiGA and implement some way to switch between the configurations.
Am I going in the right direction or am I missing something?
Thanks!
fongie commented
I think youre going in the right direction :) at least the https://github.com/alex-therapeutics/diga-api-client does not support any kind of switching right now. If you have this working for one diga, I would suggest the simplest is running another instance of the service for the other diga
sergiivorobei commented
Ok, thanks a lot for the quick answer.