bluehalo / graphql-fhir

A secure GraphQL implementation for the HL7 FHIR specification based on the current implementation guide for GraphQL with FHIR and developed with Node.js and Express.
MIT License
166 stars 49 forks source link

Is the database used for persisting the responses from FHIR calls? [Question] #37

Closed Matt2012 closed 3 years ago

Matt2012 commented 4 years ago

We are looking to at graphql-fhir as a way of acting as a middleware so that we can developers can write graphql to query out platform and return FHIR resources from a third party server. In this use case would we need a database? We don't want to store the results of the api calls.

question

Robert-W commented 4 years ago

No you shouldn't need a database for that purpose. The necessity for a database really depends on your overall system. Some cases where you may want a database could be:

We tried to develop this to be a simple lightweight middleware so that you won't need a database, and can connect to 3rd party servers easily, and authentication servers. However, if you want to turn this into something more, it can support that as well by simply forking it and adding any capabilities you want.