Skip to content

lrasmus/FHIR-Genomics

 
 

Repository files navigation

Reference API server of SMART Genomics

How to use it

  • Change the application settings in config.py (currently the server supports SQLite3 and PostgreSQL, MySQL is however not supported because SQLAlchemy currently fails to generate correct query on complex scenario. Helps on adding support fo MySQL will be welcomed).
  • Optional: load your version of FHIR spec with the script load_spec.py, which will update fhir_spec.py.
  • Setup database and load sample data with
# note that this will also clear the database
$ python fhir_genomics.py reload
  • Run the server locally with
$ python fhir_genomics.py
  • The WSGI objct is located in server.py, which you can use like this
$ gunicorn server:app 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • Other 0.5%