datasource drivers, e.g. REDCap and Nautilus, that can be plugged into the Biorepository Portal
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

eHB Datasources

Circle CI

eHB Datasources provides a set of drivers or plugins for DBHi's Biorepository Portal (BRP).

There are currently four available drivers for the BRP:

  • REDCap
  • ThermoFisher's Nautilus
  • DBHi's Phenotype Capture Application
  • External Identifier Management (No external system interaction)

BRP drivers provide an interface to the eHB. Drivers should generate HTML to facilitate the creation and update of records in external systems. Drivers should have the following HTML generating functions:

  • recordListForm: Should return a string representation of an html element that allows the user to select a record to work with if allowed, Otherwise an appropriate html element indicating this is restricted should be shown.
  • subRecordForm: Should return a string representation of an html form to be used as data entry for a specific record (or portion of the record).
  • subRecordSelectionForm: Should return a string representation of an html form to be used to select additional input data forms for a specific record (i.e. form selection for REDCap). If there is only a top level form this method can just return the single form (i.e. Nautilus sample association)


eHB Datasources is a dependency of the Biorepository Portal and should be installed in the context of that application.

eHB Datasources does have a dependency on Jinja for templating. Otherwise, if you'd like to test the package run:

pip install -r requirements-dev.txt

Which will install the following dependencies:

  • pytest>=3,<4
  • pytest-cov>=2.3,<3
  • pytest-mock>=1.2,<2
  • nose-timer>=0.5.0,<1
  • mock>=1.3,<2

pip install -e .

Run make to run tests for this module.


  • Documentation on specific drivers
  • Nautilus driver tests