GithubHelp home page GithubHelp logo

node-fhir-es's Introduction

FHIR API Server + Elasticsearch Initial Implementation

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.

Current implementation status

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

Getting Started with Docker

  1. Install the latest Docker Community Edition for your OS if you do not already have it installed.
  2. Run docker-compose up.

Getting Started with Node

  1. Install the latest LTS for Node.js if you do not already have it installed.
  2. Run elasticsearch: docker-compose up -d elasticsearch
  3. Make sure the default values defined in env.json are valid.
  4. Run yarn or npm install.
  5. Run yarn start or npm run start.

(Optional)6. Run yarn debug or npm run debug for enabled debugger.

Next Steps

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!

Loading indices and data

  1. Load example indices cd fhir/elasticsearch/mappings/STU3/ && python python load_mappings.py && cd -
  2. Load demo data cd scripts && python load_synthea_data.py && cd -

Original elasticsearch mappings taken from fhirpath and added several missing fields for STU3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.