Import Standard Tables

From OpenEMR Project Wiki

Overview

The ICD9, ICD10, SNOMED and RxNorm standardized data sets can be easily imported (and upgraded) into OpenEMR. See below for specific instructions. (Note this feature is available in OpenEMR version 4.1.1 and higher.)

Import/Upgrade and activate ICD9

  • Go to Administration->Other->'External Data Loads'
  • Click ICD9
  • Follow the instructions (click the '?' for detailed instructions)
  • If you get the following sql error after you click INSTALL ("Error: The used command is not allowed with this MySQL version"), then you can instead upload the code set by downloading this file and importing at Administration->Database->Import. (Warning: Only do this if you get an error using the standard import mechanism.)
  • ICD9 diagnosis (and service) codes can be activated at Administration->Lists->Code Types
  • Toggle on Active in row where Key is ICD9
  • Set External to 'ICD9 Diagnosis' in row where Key is ICD9
  • Note the above is the recommended way to use ICD9 codes, which will include all ICD9 codes during searching. You also have the option of only placing a limited set of ICD9 codes/description manually in the mysql 'codes' table (then would set the External to 'No').
  • Codes can be customized at Administration->Services (or Administration->Codes for OpenEMR versions 4.1.3 and higher)

Import/Upgrade and activate ICD10

  • Go to Admin->Coding->'External Data Loads'
  • Click ICD10
  • Follow the instructions (click the '?' for detailed instructions)
  • ICD10 diagnosis (and service) codes can be activated at Admin->Forms->Lists->Code Types
  • Toggle on Active in row where Key is ICD10 (if want to actively use ICD10 codes)
  • Set External to 'ICD10 Diagnosis' in row where Key is ICD10
  • Note the above is the recommended way to use ICD10 codes, which will include all ICD10 codes during searching. You also have the option of only placing a limited set of ICD10 codes/description manually in the mysql 'codes' table (then would set the External to 'No').
  • Codes can be customized at Admin->Coding->Codes

Import/Upgrade and activate SNOMED

  • Go to Administration->Other->'External Data Loads'
  • Click SNOMED
  • Follow the instructions (click the '?' for detailed instructions)
  • SNOMED diagnosis codes can be activated at Administration->Lists->Code Types
  • Note that since OpenEMR 4.1.2, in addition to the diagnosis codes, there is also a general SNOMED Clinical Terms code type that can be activated here, which can be used to map items in Administration->lists with SNOMED terms
  • Note that since OpenEMR 4.1.2, in addition to the diagnosis codes, there is also a SNOMED Procedure code type that can be activated here
  • Codes can be customized at Administration->Services (or Administration->Codes for OpenEMR versions 4.1.3 and higher)
  • Note that since OpenEMR 4.1.2, you can also install the SNOMED US Extension Pack after you install the SNOMED International Pack. You first install the International pack, then remove it from the contrib/snomed directory. Then you place the US extension pack in the contrib/snomed directory and install it.
  • Note that since OpenEMR 4.1.2, you can also install the SNOMED Spanish pack.

Import/Upgrade RxNorm

  • Go to Administration->Other->'External Data Loads'
  • Click RXNORM
  • Follow the instructions (click the '?' for detailed instructions)

As of OpenEMR 4.2.0: If you just need RxNorm concept identifiers (RXCUI codes) and their names, they can be easily imported into the "codes" table like this:

  • Go to Administration->Other->'Native Data Loads'
  • Select RXCUI
  • Follow the instructions on the page