From c968284feeac1ed980905f12cdba9d650211fa81 Mon Sep 17 00:00:00 2001 From: schuemie Date: Thu, 17 Aug 2017 14:56:09 +0200 Subject: [PATCH] Registered stem table 5.1.0 --- src/org/ohdsi/rabbitInAHat/dataModel/StemTableAdd.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/org/ohdsi/rabbitInAHat/dataModel/StemTableAdd.java b/src/org/ohdsi/rabbitInAHat/dataModel/StemTableAdd.java index 55dffcfc..28f0b38f 100644 --- a/src/org/ohdsi/rabbitInAHat/dataModel/StemTableAdd.java +++ b/src/org/ohdsi/rabbitInAHat/dataModel/StemTableAdd.java @@ -21,6 +21,9 @@ public static void addStemTable(ETL etl) { if (targetDatabase.getDbName().toLowerCase().equals("cdmv5.0.1")) { tableStream = StemTableAdd.class.getResourceAsStream("StemTableV5.0.1.csv"); mappingStream = StemTableAdd.class.getResourceAsStream("StemTableDefaultMappingV5.0.1.csv"); + } else if (targetDatabase.getDbName().toLowerCase().equals("cdmv5.1.0")) { + tableStream = StemTableAdd.class.getResourceAsStream("StemTableV5.1.0.csv"); + mappingStream = StemTableAdd.class.getResourceAsStream("StemTableDefaultMappingV5.1.0.csv"); } else { JOptionPane.showMessageDialog(null, "No stem table definition available for " + targetDatabase.getDbName(), "Error", JOptionPane.ERROR_MESSAGE); return;