Diagnosis of immune thrombocytopenic purpura in children