There is provided a tryptophan-2,3-dioxygenase (TDO) and / or indoleamine-2,3-dioxygenase (IDO) inhibitor compound for use in medicine, said compound having the formula (I) Medium, X1And X2Are the same or different and are independently selected from C, N, O and S; X3, X4, X5And X6Are the same or different and independently selected from C and N; each bond represented by a dotted line is present or absent, provided that at least one bond is present; R1, R2, R3, R4, R5And R6Are present or absent and are the same or different and are independently selected from H and substituted or unsubstituted organic groups and the existing R1, R2, R3, R4, R5And R6The number of groups is X1, X2, X3, X4, X5And X6Individual valences of R are maintained; R5And R6At least one of which contains a group Y and Y is a group having a formula selected from (II), (III), (IV), (V), (VI), (VII) Which may be a substituted or unsubstituted organic linking group; R31And R32Are the same or different and are selected from H and a substituted or unsubstituted organic group; each R34Are the same or different and are selected from H and substituted or unsubstituted organic groups; R35Is selected from substituted or unsubstituted alcohol groups or ether groups; each R36Are the same or different and are selected from H and substituted or unsubstituted organic groups; X7Is selected from C and N; X8, X9, X10, X11, X12, X13, X14, X15And X16Are the same or different and independently selected from C, N, O and S; each bond represented by a dotted line is present or absent; each R313Are the same or different and are selected from H and substituted or unsubstituted organic groups. Embedded image医療で使用されるトリプトファン-2,3-ジオキシゲナーゼ(TDO)及び/又はインドールアミン-2,3-ジオキシゲナーゼ(IDO)阻害剤化合物が提供され、該化合物は式(I)を有し、式中、X1及びX2は同一又は異なって、独立にC、N、O及びSから選択され;X3、X4、X5及びX6は同一又は異なって、独立にC及びNから選択され;点線で表される各結合は、存在又は非存在であり、但し少なくとも一の結合が存在し;R1、R2、R3、R4、R5及びR6は、存在又は非存在であり、同一又は異なって、独立にH及び置換又は未置換の有機基から選択され、存在するR1、R2、R3、R4、R5及びR6基の数は、X1、X2、X3、X4、X5及びX6の個々の価数が維持