Step 1: Change Working Directory 

During the Ontology Metadata Installation we will be working with the metadata directory. Within this directory are the files we will be editing to define the database properties, create the metadata tables and load the sample data provided with the i2b2 on OMOP data package.

To change your working directory to the metadata directory enter the following command:

CD YOUR_I2B2_DATA_DIR\i2b2_omop_data\{oracle|sqlserver}\metadata

<div class="i2b2-panel">
    <table class="i2b2-important">
        <colgroup>
            <col width="24">
            <col>
        </colgroup>
        <tbody>
            <tr>
                <td>
                    <img src="https://community.i2b2.org/wiki/download/attachments/14091764/icon_important.png" width="16" height="16" align="absmiddle" alt="info" border="0">
                </td>
                <td>
                    <b>Important</b>
                    <br>The change directory command shown above is written for Windows. The command itself is the same for both Linux and Windows with the only exceptions being the slashes in the path name and Linux does not include the "drive".
					<br>
					<ul>
						<li><i>Linux Path:</i> use a forward slash.</li>
						<li><i>Windows Path:</i> use a backward slash.</li>
					</ul>
                </td>
            </tr>
        </tbody>
    </table>
</div>


EXAMPLES:

Linux Command: CD /opt/data/i2b2_omop_data/oracle/metadata

Windows Command: CD C:\opt\data\i2b2_omop_data\oracle\metadata