This project is fork of @asymetrik/node-fhir-server mongo implementation, with several new functions and backend supported by elasticsearch. Please read about asymetrik/node-fhir-server before.
Work in progress, not a production ready system.
ES version: 7.6
FHIR version: 3.0.1
Resource:
Encounter
* create, delete, everything, update, search, searchById
* search support:
* all object fields including search on references based on FHIR specification
* _id, _text, _content, _sort
Patient
* create, delete, everything, update, search, searchById
* search param support:
* all object fields including search on references based on FHIR specification
* _id, _text, _content, _sort
Observation
* create, delete, update, search, searchById
* search param support:
* all object fields including search on references based on FHIR specification
* _id, _text, _content, _sort
Procedure
* create, delete, update, search, searchById
* search param support:
* all object fields including search on references based on FHIR specification
* _id, _text, _content, _sort
Condition
* create, delete, update, search, searchById
* search param support:
* all object fields including search on references based on FHIR specification
* _id, _text, _content, _sort
MedicationAdministration
* create, delete, update, search, searchById
* search param support:
* all object fields including search on references based on FHIR specification
* _id, _text, _content, _sort
DiagnosticReport
* create, delete, update, search, searchById
* search param support:
* all object fields including search on references based on FHIR specification
* _id, _text, _content, _sort
Questionnaire
* create, delete, update, search. searchById
- Install the latest Docker Community Edition for your OS if you do not already have it installed.
- Run
docker-compose up
.
- Install the latest LTS for Node.js if you do not already have it installed.
- Run
elasticsearch
:docker-compose up -d elasticsearch
- Make sure the default values defined in
env.json
are valid. - Run
yarn
ornpm install
. - Run
yarn start
ornpm run start
.
(Optional)6. Run yarn debug
or npm run debug
for enabled debugger.
The server should now be up and running on the default port 3000. You should see the following output:
... - verbose: Server is up and running!
- Load example indices
cd fhir/elasticsearch/mappings/STU3/ && python python load_mappings.py && cd -
- Load demo data
cd scripts && python load_synthea_data.py && cd -
Original elasticsearch mappings taken from fhirpath and added several missing fields for STU3