i2b2 Web Client Directory Structure
Once you have extracted the i2b2 Web Client code you will notice the following directory structure in your i2b2 Web Client directory:
Main Directory: YOUR_I2B2_WC_DIR\webclient\
Directory / Files
Directory containing the CSS files and images for the i2b2 Web Client.
Directory containing the "on-line help" files.
Web Client "Framework" Directory: YOUR_I2B2_WC_DIR\webclient\js-i2b2
Directory containing the implementation code for each cell.
Directory containing the generalized web client framework.
Cells Directory: YOUR_I2B2_WC_DIR\webclient\js-i2b2\cells
Root directory for the Data Repository (CRC) Cell; contains controllers and Ajax code for the views.
Root directory for the Ontology Management (ONT) Cell; contains controllers and Ajax code for the views.
Root directory for the plug-in manager in the web client; contains controllers and Ajax code for the view.
Contains the plug-ins created for the web client.
Root directory for the Project Management (PM) Cell; contains controllers and Ajax code for the views.
Root directory for the Workplace Framework (WORK) Cell; contains controllers and Ajax code for the views.
Within each of the above cell directories is an assets folder that contains the images, HTML templates and other non-code files that are needed by the cell.
Working Directories for i2b2 Web Client Installation
Similar to the i2b2 Administration installation we will be copying the Web Client directory to your web server directory. We will be working with the Web Client files within the web server directory and not YOUR_I2B2_WC_DIR.
i2b2 Web Client Directory:
The i2b2 Web Client directory is the location in which you extracted the web client files into during the previous section on extracting the source code. In this document the i2b2 Web Client directory is referred to as YOUR_I2B2_WC_DIR.
Web Server Directory:
Depending on your operating system and machine configuration the location of your web server (httpd) directory may reside in a different location than the examples provided. These examples are based on the most common default paths for a Windows Server and a Linux Machine.