Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MedMe Health importer #2

Open
goatandsheep opened this issue Dec 28, 2021 · 7 comments
Open

MedMe Health importer #2

goatandsheep opened this issue Dec 28, 2021 · 7 comments

Comments

@goatandsheep
Copy link

I see that PR #1 is a fantastic initial step towards MedMe Health imports

If this is accepted, we could duplicate this for a couple places. I know PharmaPlus uses MedMe. One of my stores (Total Health Pharmacy tech here) uses MedMe. However, the gql values are:

enterprise: ""
id: "984a0c74-b3f5-4cb5-b363-5a9c8872b5f6"
@pleckey
Copy link
Contributor

pleckey commented Dec 31, 2021

We've merged the SDM importer - will take a look at this too, thanks!

@ryanwilsonperkin
Copy link
Contributor

Happy to add support for multiple pharmacies to this. Should just be a matter of calling with different "enterprise" ID values and customizing a couple other things (like website url template). Rexall also uses medme

@pleckey
Copy link
Contributor

pleckey commented Dec 31, 2021 via email

@goatandsheep
Copy link
Author

goatandsheep commented Dec 31, 2021

  • Rexall is enterprise: "REXALL"
  • Metro / Food Basics is enterprise: "METRO"
  • Save-On-Foods is enterprise: "SOF"

There's a long list of pharmacies using MedMe: https://www.google.com/search?q=site%3Amedmeapp.ca+vaccine

I'm not sure if there's an API...

What happens if you put empty string for enterprise?

@ryanwilsonperkin
Copy link
Contributor

Haven't tried putting an empty string for enterprise yet, but adding support for Rexall pushed me to generalize the interface which we should now be able to use for other pharmacies like the PharmaPlus one that you mention @goatandsheep

I've just opened #5 to add support for Rexall and generalize the MedMe interface, I'd suggest we might want to go with that approach and adapt it to work with the other pharmacies, rather than the duplication in #3

@goatandsheep
Copy link
Author

I'm excited for this!

@goatandsheep
Copy link
Author

Thanks @ryanwilsonperkin !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants