move case status constants to casexml app
move hqcase query to hqcase app