Patent ID: 7795247

Claim:
A compound of formula (Ii) or a pharmaceutically acceptable salt thereof: wherein X is —CHR 14 —; Y is —CH 2 —; Z is O; Q 1 is absent or is halogen, hydroxy, C 1-6 alkyl, C 1-6 alkoxy, (CH 2 ) 0-3 aryl, heteroaryl, CONR c R d , (CH 2 ) 0-3 NR c R d , O(CH 2 ) 0-3 C 3-8 cycloalkyl, O(CH 2 ) 1-3 NR c R d , O(CH 2 ) 0-3 CONR c R d , O(CH 2 ) 0-3 CO 2 H, O(CH 2 ) 0-3 aryl, O(CH 2 ) 0-3 heteroaryl, OCHR e R f or O(CH 2 ) 0-3 S(O) 2 (CH 2 ) 0-3 NR c R d ; R 14 is NR 16 R 17 ; R c and R d are independently selected from hydrogen, C 1-6 alkyl and C(O)C 1-6 alkyl; or R c and R d , together with the nitrogen atom to which they are attached, form a heteroaliphatic ring of 4 to 7 ring atoms, optionally containing 1 or 2 more heteroatoms independently selected from O and S and/or 1 or 2 groups independently selected from NH and NC 1-4 alkyl, where said ring is optionally substituted by halogen, hydroxy, C 1-4 alkyl or C 1-4 alkoxy; R e and R f are independently selected from hydrogen, C 1-4 alkyl and C 1-4 alkoxy; or R e and R f are linked by a heteroatom selected from N, O and S to form a heteroaliphatic ring of 4 to 7 ring atoms, where said ring is optionally substituted by halogen, hydroxy, C 1-4 alkyl or C 1-4 alkoxy; R 16 and R 17 are independently selected from hydrogen, C 1-6 alkyl, and (CH 2 ) 0-4 NR 18 R 19 , (CH 2 ) 0-3 Het, (CH 2 ) 0-3 heteroaryl, (CH 2 ) 0-3 C(O)(CH 2 ) 0-3 NR 18 R 19 or (CH 2 ) 0-3 C 3-8 cycloalkyl, optionally substituted by C 1-6 alkyl, (CH 2 ) 0-3 OH or (CH 2 ) 0-3 C 1-6 alkoxy; or R 16 and R 17 , together with the nitrogen atom to which they are attached, form a heteroaliphatic ring of 4 to 7 ring atoms, which ring may optionally contain 1 or 2 more heteroatoms selected from O and S and/or 1 or 2 groups independently selected from S(O), S(O) 2 , NH, NC 1-4 alkyl and N(CH 2 ) 0-3 C 1-4 alkoxy, and which ring is optionally substituted by halogen, hydroxy, C 1-4 alkyl or C 1-4 alkoxy; R 18 and R 19 are independently selected from hydrogen, and C 1-6 alkyl and heteroaryl; or R 18 and R 19 , together with the nitrogen atom to which they are attached, form a heteroaliphatic ring of 4 to 7 ring atoms, which ring may optionally contain 1 or 2 more heteroatoms selected from O and S and/or 1 or 2 groups selected from S(O), S(O) 2 , NH and NC 1-4 alkyl, and which ring is optionally substituted by halogen, hydroxy, C 1-4 alkyl or C 1-4 alkoxy.