add DIAGNOSIS_SCOPE constants and bump version