An implementation for the hl7 fhir specifications as defined here HL7 FHIR
Server is currently implementing the following resources:
- Patient
- ValueSet
- Practitioner
- RelatedPerson
- Encounter (Still in progress)
For more details check the roadmap
- Uses JSON Structure definition converter to create GraphQL schema
- Live editing inside electron
- Webpack for bundling both backend and frontend
- React.js for the frontend
- Graphql & MongoDB using mongoose on the backend
Graphql has a very flexible type definition system, where HL7 FHIR specifications can fit right into.
- nodejs and npm package manager
- MongoDB
- Clone the repository:
git clone git@github.com:shalkam/gql-fhir.git your-project-name
- Change directory
cd your-project-name
- Install dependencies
npm install
- make sure you have MongoDB running (you can configure db connection inside
config.js
file) - Start app development
npm start
this will start server using electron.js
- To start the server only using nodemon:
npm run dev-server
- By default the server port is
3000
- You can browse to graphiql on
http://localhost:3000/graphiql
To build the app run npm run build