Commit 6791d4ef authored by R.W.Majeed's avatar R.W.Majeed

comments

parent e30582c8
...@@ -150,6 +150,7 @@ public class Concept{ ...@@ -150,6 +150,7 @@ public class Concept{
concept = mf.getConceptOverride(); concept = mf.getConceptOverride();
} }
// or drop the modifier // or drop the modifier
// TODO how to specify that a modifier should be dropped (e.g. if the value is NA)???
if( mf.isActionDrop() ){ if( mf.isActionDrop() ){
continue; // ignore this modifier continue; // ignore this modifier
} }
......
...@@ -75,6 +75,10 @@ public class EavTable extends Table<EavRow> { ...@@ -75,6 +75,10 @@ public class EavTable extends Table<EavRow> {
ColumnMap map = new ColumnMap(headers); ColumnMap map = new ColumnMap(headers);
if( idat.patientId == null ){ if( idat.patientId == null ){
throw new ParseException("datasource/eav-table/idat/patient-id column not specified"); throw new ParseException("datasource/eav-table/idat/patient-id column not specified");
// TODO allow missing patient id, similar to WideTable.java
// missing patient id is allowed, for cases
// when the visit id is unique and sufficient for matching
} }
if( idat.visitId == null ){ if( idat.visitId == null ){
throw new ParseException("datasource/eav-table/idat/visit-id column not specified"); throw new ParseException("datasource/eav-table/idat/visit-id column not specified");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment