Hi folks, I'm exploring an idea in the health tech space and came upon Medplum as a promising option with its Typescript SDK for CRUD operation on FHIR resources. The documentation so far has been helpful; I had a few questions (a bit engineering focused) if someone has time to help out:
1. My goal is to store the FHIR data in a Postgres database I own via Supabase. I was looking into the self hosted option but it seems like there is a reliance on either running Postgres locally or using an AWS offering. What is the recommended path here?
2. When creating the MedplumClient, is it possible to connect directly to a Postgres server? My read of this is a no since it needs to connect to a FHIR server
3. I was looking at the self hosting option, but it seems like overkill since I don't really need to self host the whole Medplum application. I just need the FHIR api endpoint; is there a lightweight way of doing this with just a link to a Postgres db with creds?
4. Where does the parsing from a raw Postgres query response happen in the code? I've been searching the medplum repo but haven't seen it yet