ARCH-commons / i2p-transform

i2b2 to PCORnet Common Data Model Transformation - requires i2b2 PCORnet ontology
Other
3 stars 16 forks source link

SPECIMEN_SOURCE is showing invalid value in DCQ #66

Closed jklann closed 6 years ago

jklann commented 6 years ago

SPECIMEN_SOURCE is showing invalid value in DCQ

NI appears to be legal and so it should be changed to this, but Galina might have done this on her data and it didn't work?

galozins commented 6 years ago

We had blank (not 'NI' or NULL) entries in the SPECIMEN_SOURCE column after the transform. This is most likely what has caused the error. I have changed the blank values to 'NI' but have not re-run the transform yet, wanted to fix all errors before the next run.

jklann commented 6 years ago

Ok, we need to update the transform to make NI the default value in specimen_source

jklann commented 6 years ago

Commit c346afa75cb64fad36050557a70bad93e00fe194 fixes this in MSSQL, though DCQ still needs to be rerun. The problem seems to be that sometimes the ontology is imported with a blank value in the specimen_source column when it should be null.

jklann commented 6 years ago

Matt fixed in Oracle 90090467b6d7460644af2e11486d9ed16cb48561