A Simple Express-NodeJS Personal FHIR Server that reads and writes data to a local gitFHIR filesystem. This Personal FHIR Server is meant for deployment to a Pesonal Computer or a small server. The server supports CREATE READ UPDATE and DELETE of all 152 FHIR resources. yarn install
yarn run start
; The FHIR resource files in your gitfhir directory will be available via fhir (http) on port 3000.
- You have to use node >=20
nvm use 20.11.1
- Load the sea config and create a blob
node --experimental-sea-config sea-config.json
- create a shell executable called directfhir with just the node command
cp $(command -v node) directfhir
- inject the blob into the server
npx postject server NODE_SEA_BLOB sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2
- Now you cn run the server
$ ./directfhir