fhirbuffer is a gRPC service to export data from Fhirbase. The one thing we want it to do well is talk gRPC. So a downstream process isn't aware of the database, SQL, and ultimately even Go.
For a prototype of the end-to-end flow, see fhirping app hosted on Glitch. Read the summary blog post.
- Install Fhirbase (see their Get Started steps)
- Git clone repo
- Docker build
git clone https://github.com/patterns/fhirbuffer
docker build -f fhirbuffer/Dockerfile.template -t fhirbuffer fhirbuffer
docker run -ti --rm -e DATABASE_URL="postgres://postgres:postgres@localhost:5432/fhirbase" fhirbuffer
Health Samurai's Fhirbase (LICENSE)
gRPC Basics for Go
Jack Christensen's PGX (LICENSE)
Johan Brandhorst's gRPC Client Authentication (LICENSE)