added checking for the data type id

reviewer: tiff Go

Issue: none
Merge branch 'master' of https://github.com/digitalabs/IBPMiddleware