SMART
Space shortcuts
Space Tools

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

The SMART Cell Overview

The SMART i2b2 cell's main purpose is to serve patient data stored in i2b2 as SMART RDF/XML messages. This will allow SMART apps to run against an i2b2 instance. Additionally, each implemented API call (as described below) is protected by OAuth and i2b2 user authentication. The SMART cell also optionally coordinates with the Mapper cell if various codes need to be mapped into a SMART designated coding system, such as SNOMED or RxNorm.


API Calls

The SMART i2b2 cell currently exposes a "Get Medications" function that returns the entire graph of stored medications in RDF/XML format for a single patient record via a REST call.

Get Medications

Code Block
GET http://i2b2_server/records/{record id}/medications/

will return a list of medications in RDF/XML for a specific patient based on the record_id passed 

Get Demographics

Code Block
GET http://i2b2_server/records/{record id}/demographics/

will return the demographic information in RDF/XML for a specific patient based on the record_id passed

Get Problems

Code Block
GET http://i2b2_server/records/{record id}/problems/

will return a list of problems in RDF/XML for a specific patient based on the record_id passed

Get Allergies

Code Block
GET http://i2b2_server/records/{record id}/allergies/

will return a list of allergies in RDF/XML for a specific patient based on the record_id passed