| 1 | = OpenClinica HowTo Import Data |
| 2 | |
| 3 | Tags: [[OpenClinica]] [[Odin]] [[Data Integration]] |
| 4 | |
| 5 | == Process |
| 6 | |
| 7 | 1. Convert a CSV file into a CDSIC XML file using [[Odin]] |
| 8 | 2. If importing data for patients at a site level, choose the site in [[Odin]], but always import into [[OpenClinica]] from within the study level. |
| 9 | 3. Select the {{{Import}}} option from the {{{Tasks}}} menu. |
| 10 | 4. Select the [[Odin]] output file. |
| 11 | 5. Error messages are displayed in red. If you get an error, correct the data in the CSV file and redo the [[Odin]] transformation, reusing the mapping file. |
| 12 | 6. Error messages are not always shown, but you can tell if the import has not worked because it will ask you to upload a file at the bottom of the screen. |
| 13 | 7. Errors often occur in look ups, which it calls {{{Response Sets}}}, because the data contains an invalid option. |
| 14 | 8. Data can be imported into the same event / events multiple times, with the values overwriting the existing data. If the column does not exist in the new data set, the value will not be overwritten. |
| 15 | |
| 16 | == Gotchas |
| 17 | |
| 18 | 1. Do not include semicolons in CRF field names, because they break OpenClinica. I wonder why? |
| 19 | |
| 20 | == Alternative |
| 21 | |
| 22 | There is a OCDataImporter desktop client that is hard to use, does not import repeating values, but does give better error messages than Odin. |
| 23 | |
| 24 | [[BackLinks]] |