Added null check in query
PLUS-1094

PLUS-1094 and clinical diagnosis change on SCG page
Changes are made to improve performace of opening tabs after creating new specimen