(HETERO)ARYL-SULFONAMIDE DERIVATIVES, THEIR PREPARATION AND THEIR USE AS FACTOR XA INHIBITORS

Abstract: A compound of formula (I), or a pharmaceutically-acceptable salt thereof, wherein A is an optionally substituted 5- or 6-membered monocyclic aromatic ring containing 1, 2 or 3 ring heteroatoms selected from oxygen, nitrogen and sulphur; B is optionally substituted phenylene or a 6-membered heterocyclic ring containing 1, 2 or 3 nitrogen heteroatoms; R and R1 are independently selected from hydrogen and (1-4C)alkyl; n is 1 or 2; R2 and R3 are independently selected from hydrogen, (1-6C)alkyl, (4-7C)cycloalkyl, (2-6C)alkenyl or R2 and R3 may form along with the nitrogen to which they are attached a 5-, 6- or 7-membered heterocyclic ring which may contain in addition to the nitrogen atom present 1 or 2 additional heteroatoms selected from nitrogen, oxygen and sulphur, wherein each R2 or R3 group or any heterocyclic ring formed from R2 and R3 may be optionally substituted by hydroxy, amino, carboxy, (1-4C)alkoxycarbonyl, oxo, (1-4C)alkyl, hydroxy-(1-4C)alkyl, (1-4C)alkoxy-(1-4C)alkyl, carboxy-(1-4)alkyl, (1-4C)alkoxycarbonyl-(1-4C)alkyl, or carbamoyl-(1-4C)alkyl; Q is selected from phenyl, naphthyl, phenyl(1-4C)alkyl, phenyl(2-4C)alkenyl and a 5-, 6- or 7-membered heterocyclic ring containing up to 4 heteroatoms selected from nitrogen, oxygen and sulphur wherein Q may be optionally substituted by halo, halo(1-4C)alkyl, cyano, amino, hydroxy, carbamoyl, (1-4C)alkyl, (2-4C)alkenyl, (2-4C)alkynyl, (1-4C)alkoxy, (2-4C)alkenyloxy, (2-4C)alkynyloxy, (1-4C)alkylthio, (1-4C)alkylsulphinyl, (1-4C)alkylsulphonyl, (1-4C)alkylamino, di(1-4C)alkylamino, (1-4C)alkoxycarbonyl, <u>N</u>-(1-4C)alkylcarbonoyl, (2-6C)alkanoyl, (2-4C)alkanoylamino, hydroxy-(1-4C)alkyl, (1-4C)alkoxy-(1-4C)alkyl, carboxy-(1-4C)alkyl, (1-4C)alkoxycarbonyl-(1-4C)alkyl, carbamoyl-(1-4C)alkyl, <u>N</u>-(1-4C)alkylcarbamoyl-(1-4C)alkyl, <u>N,N</u>-di(1-4C)alkylcarbamoyl-(1-4C)alkyl, phenyl, phenoxy, phenylthio, phenylsulphinyl, phenylsulphonyl, benzyl, benzoyl wherein said phenyl, phenoxy, phenylthio, phenylsulphinyl, phenylsulphonyl, benzyl or benzoyl substituent bears 1, 2 or 3 substituents selected from halo, trifluoromethyl, cyano, hydroxy, amino, nitro, carboxy, carbamoyl, (1-4C)alkyl, (1-4C)alkoxy, (1-4C)alkylamino, di(1-4C)alkylamino, (1-4C)alkoxycarbonyl, <u>N</u>-(1-4C)alkylcarbamoyl, <u>N,N</u>-(1-4C)alkylcarbamoyl and (2-4C)alkenoylamino, which posseses antithrombotic and anticoagulant properties and are accordingly useful in methods of treatment of humans or animals. The invention relates to processes for the preparation of the heterocyclic derivative, to pharmaceutical compositions containing them and to their use in the manufacture of medicaments for use in the production of an antithrombotic or anticoagulant effect.

Description: (HETERO)ARYL-SULFONAMIDE DERIVATIVES, THEIR PREPARAΗON AND THEIR USE AS FACTOR XA INHIBITORS The invention relates to heterocyclic derivatives, or pharmaceutical ly-acceptable salts thereof, which possess antithrombotic and anticoagulant properties and are 5 accordingly useful in methods of treatment of humans or animals. The invention also relates to processes for the preparation of the heterocyclic derivatives, to pharmaceutical compositions containing them and to their use in the manufacture of medicaments for use in the production of an antithrombotic or anticoagulant effect. The antithrombotic and anticoagulant effect produced by the compounds of the 0 invention is believed to be attributable to their strong inhibitory effect against the activated coagulation protease known as Factor Xa. Factor Xa is one of a cascade of proteases involved in the complex process of blood coagulation. The protease known as thrombin is the final protease in the cascade and Factor Xa is the preceding protease which cleaves prothrombin to generate thrombin. 5 Certain compounds are known to possess Factor Xa inhibitory properties and the field has been reviewed by R.B. Wallis, Current Opinion in Therapeutic Patents, 1993, 1 173-1 179. Thus it is known that two proteins, one known as antistatin and the other known as tick anticoagulant protein (TAP), are specific Factor Xa inhibitors which possess antithrombotic properties in various animal models of thrombotic disease. 0 It is also known that certain non-peptidic compounds possess Factor Xa inhibitory properties. Of the low molecular weight inhibitors mentioned in the review by R.B. Wallis, all possessed a strongly basic group such as an amidinophenyl or amidinonaphthyl group. We have now found that certain heterocyclic derivatives possess Factor Xa 5 inhibitory activity. Many of the compounds of the present invention also possess the advantage of being selective Factor Xa inhibitors, that is the enzyme Factor Xa is inhibited strongly at concentrations of test compound which do not inhibit or which inhibit to a lesser extent the enzyme thrombin which is also a member of the blood coagulation enzymatic cascade. 0 The compounds of the present invention possess activity in the treatment or prevention of a variety of medical disorders where anticoagulant therapy is indicated, for example in the treatment or prevention of thrombotic conditions such as coronary artery and cerebro-vascular disease. Further examples of such medical disorders include various cardiovascular and cerebrovascular conditions such as myocardial infarction, the formation of atherosclerotic plaques, venous or arterial thrombosis, coagulation syndromes, vascular injury including reocclusion and restenosis following angioplasty and coronary artery bypass surgery, thrombus formation after the application of blood vessel operative techniques or after general surgery such as hip replacement surgery, the introduction of artificial heart valves or on the recirculation of blood, cerebral infarction, cerebral thrombosis, stroke, cerebral embolism, pulmonary embolism, ischaemia and angina (including unstable angina). The compounds of the invention are also useful as inhibitors of blood coagulation in an ex- vivo situation such as, for example, the storage of whole blood or other biological samples suspected to contain Factor Xa and in which coagulation is detrimental. Accordingly in one aspect the present invention provides compounds of formula I NR,R- I 2 3 O C=O I I A-B-C-NR-C-(CH 2 )rr-NR r SO 2 -Q H wherein: A is an optionally substituted 5- or 6-membered monocyclic aromatic ring containing 1 , 2 or 3 ring heteroatoms selected from oxygen, nitrogen and sulphur; B is optionally substituted phenylene or a 6-membered heterocyclic ring containing 1 , 2 or 3 nitrogen heteroatoms; R and R- are independently selected from hydrogen and (l-4C)alkyl; n is 1 or 2; R? and R 3 are independently selected from hydrogen, (l -6C)alkyl, (4-7C)cycloalkyl, (2-6C)alkenyl on R 2 and R 3 may form along with the nitrogen to which they are attached a 5-, 6- or 7- membered heterocyclic ring which may contain in addition to the nitrogen atom present 1 or 2 additional heteroatoms selected from nitrogen, oxygen and sulphur, wherein each R 2 or R 3 group or any heterocyclic ring formed from R 2 and R 3 may be optionally substituted by hydroxy. amino, carboxy. (l -4C)alkoxycarbonyl, oxo, (l -4C)alkyl, hydroxy-(l-4C)alkyl, (l -4C)alkoxy-(l -4C)alkyl, carboxy-(l -4C)alkyl, (l -4C)alkoxycarbonyl-(l -4C)alkyl, or carbamoyl-(l -4C)alkyl; Q is selected from phenyl, naphthyl, phenyl(l -4C)alkyl, phenyl(2-4C)alkenyl and a 5-. 6- or 7- membered heterocyclic ring containing up to 4 heteroatoms selected from nitrogen, oxygen and sulphur wherein Q may be optionally substituted by halo, halo(l -4C)alkyl, cyano. amino, hydroxy. carbamoyl, (l -4C)alkyl, (2-4C)alkenyl, (2-4C)alkynyl, ( l -4C)alkoxy, (2-4C)alkenyloxy, (2-4C)alkynyloxy, (l -4C)alkylthio, (l -4C)alkylsulphinyl, (l -4C)alkylsulphonyl, (l -4C)alkylamino, di(l -4C)alkylamino, (l -4C)alkoxycarbonyl, N-(l -4C)alkylcarbonoyl, (2-6C)alkanoyl, (2-4C)alkanoylamino, hydroxy-( 1 -4C)alkyl, ( 1 -4C)alkoxy-( 1 -4C)alkyl, carboxy-( 1 -4C)alkyl, ( 1 -4C)alkoxycarbonyl-( 1 -4C)alkyl, carbamoyl-( 1 -4C)alkyl, N-( 1 -4C)alkylcarbamoyl- (l -4C)alkyl, N,N-di(l -4C)alkylcarbamoyl-(l -4C)alkyl, phenyl, phenoxy, phenylthio, phenylsulphinyl, phenylsulphonyl, benzyl, benzoyl wherein said phenyl, phenoxy, phenylthio, phenylsulphinyl, phenylsulphonyl. benzyl or benzoyl substituent bears 1 , 2 or 3 substituents selected from halo, trifluoromethyl, cyano, hydroxy, amino, nitro, carboxy, carbamoyl, (l -4C)alkyl, (l -4C)alkoxy, ( l -4C)alkylamino, di(l -4C)alkylamino, (l -4C)alkoxycarbonyl, N,-(l -4C)alkylcarbamoyl, N,N,( 1 -4C)alkylcarbamoyl and (2-4C)alkenoylamino, or a pharmaceutically acceptable salt thereof. In this specification the term "alkyl " includes both straight and branched chain alkyl groups but references to individual alkyl groups such as "propyr are specific for the straight chain version only. An analogous convention applies to other generic terms. It is to be understood that certain heterocyclic derivatives of the present invention can exist in solvated as well as unsolvated forms such as, for example, hydrated forms. It is to be understood that the invention encompasses all such solvated forms which possess Factor Xa inhibitory activity. It is further to be understood that, insofar as certain of the compounds of the formula defined above may exist in optically active or racemic forms by virtue of one or more asymmetric carbon atoms, the invention encompasses any such optically active or racemic form which possesses Factor Xa inhibitory activity. The synthesis of optically active forms may be carried out by standard techniques of organic chemistry well known in the art, for example by synthesis from optically active starting materials or by resolution of a racemic form. Preferably A is a pyridyl, pyrimidinyl or pyridazinyl ring for example 4-pyridyl, 2-pyridyl, 4-pyridazinyl, 3-pyrimidinyl, 4-pyrimidinyl or 3-pyridyl. Of these 4-pyrimidinyl and 4-pyridyl are most preferred. In one aspect A is unsubstituted. In another aspect A is substituted by one, two or three atoms or groups selected from halo (for example fluoro, chloro or bromo). oxo. carboxy, trifluoromethyl, cyano, amino, hydroxy, nitro, (l -4C)alkyl (for example methyl or ethyl), (l -4C)alkoxy (for example methoxy or ethoxy), (l -4C)alkoxycarbonyl (l -4C)alkylamino (for example methylamino or ethylamino) or di-(l -4C)alkylamino (for example dimethylamino or diethylamino). For the avoidance of doubt susbstituents on A may also be present, where possible, on the heteroatom of the ring. Preferred substituents of A are halo, (l -4C)alkyl. amino and (l -4C)alkylamino. There are three preferred aspects of ring B: 1. In one aspect B is an optionally substituted 1 ,4-phenylene ring 2. In one aspect B is an optionally substituted 1 ,4-piperidinediyl ring, wherein A or the carbo yl group (-CO-) on either side of B is attached to the nitrogen atom of the ring or B is an optionally substituted 1 ,4-piperazinediyl ring, wherein both A and the carbonyl group (-CO-) on either side of B are attached to the nitrogen atoms atoms of the ring. 3. In one aspect B is a heterocyclic ring in which neither A nor the carbonyl group (-CO-) on either side of B are not attached to nitrogen atom(s) of B. In a preferred aspect heterocyclic rings formed from R and R include 1 -piperidino, 1 -piperazinyl, 4-morpholino, 4-thiomorpholino, 1 -imidazolidinyl and 1 -pyrrolidinyl; preferred substitutions include oxo, hydroxy, amino and carboxy and include substitutions on any of the additional heteroatoms, for example l-oxo-4- thiomorpholino and l ,l -dioxo-4-thiomorpholino. In a preferred aspect R and R| are both hydrogen. A suitable value for Q when it is naphthyl is, for example, 1-naphthyl or 2-naphthyl; when it is phenyl-(l -4C)alkyl is, for example, benzyl, phenylethyl and 3-phenylpropyl, when it is phenyl-(2-4C)alkenyl is, for example, styryl, cinnamyl or 3-phenylprop-2-enyl; and when it is phenyl-(2-4C)alkynyl is, for example, 2-phenylethynyl, 3-phenylprop-2-ynyl and 3-phenylprop-l -ynyl. A suitable value for Q when it is a heterocyclic moiety containing up to 4 heteroatoms selected from nitrogen, oxygen and sulphur is, for example, a 5- or 6-membered heterocyclic moiety which is a single ring or is fused to one or two benzo rings such as furyl, benzofuranyl, tetrahydrofuryl, chromanyl, thienyl, benzothienyl, pyridyl, piperidinyl, quinolyl, 1 ,2,3,4-tetrahydroquinolinyl, isoquinolyl, 1 ,2,3,4- tetrahydroisoquinolinyl, pyrazinyl, piperazinyl, pyrimidinyl, pyridazinyl, quinoxalinyl, quinazolinyl, cinnolinyl, pyrrolyl, pyrrolidinyl, indolyl, indolinyl, imidazolyl, benzimidazolyl, pyrazolyl, indazolyl, oxazolyl, benzoxazolyl, isoxazolyl, thiazolyl, benzothiazolyl, isothiazolyl. morpholinol, 4H-l ,4-benzoxazinyl, 4H-l ,4-benzothiazinyl, 1,2,3-triazolyl, 1 ,2,4-triazolyl, oxadiazolyl, furazanyl, thiadiazolyl, tetrazolyl, dibenzofuranyl and dibenzothienyl, which may be attached through any available position including, for an appropriate X 2 group such as, for example, S0 2 , C(R 5 ) 2 or CO, through any available nitrogen atom and which may bear up to three substituents including a substituent on any available nitrogen atom. A suitable value for the heteroaryl substituent on Q or the heteroaryl group in a heteroaryl-containing substituent on Q which comprises a 5- or 6-membered monocyclic heteroaryl ring containing up to 3 heteroatoms selected from oxygen, nitrogen and sulphur is, for example, furyl, thienyl, pyridyl, pyrazinyl, pyrimidinyl, pyridazinyl, pyrrolyl, imidazolyl, pyrazolyl, oxazolyl, isoxazolyl, thiazolyl, isothiazolyl, 1 ,2,3-triazolyl, 1 ,2,4- triazolyl, oxadiazolyl, furazanyl and thiadiazolyl which may be attached through any available position including through any available nitrogen atom. Particularly preferred substituents of Q are selected from halo (ideally chloro or bromo) and C] -4 alkyl (ideally methyl). Suitable values for optional substituents for B, Q and for R 2 and R-, are: for (1 -4C)alkyl: methyl, ethyl and propyl; for ( l -4C)alkoxycarbonyl: methoxycarbonyl, ethoxy carbonyl, propoxycarbonyl and tert-butoxy carbonyl; or hydroxy-(l-4C)alkyl: hydroxymethyl, 1 -hydroxyethyl, 2-hydroxyethyl and 3-hydroxypropyl; or ( 1 -4C)alkoxy-( 1 -4C)alkyl : methoxymethyl, ethoxymethyl, 1 -methoxymethyl, 2-methoxyethyl, 2-ethoxyethyl and 3-methoxypropyl; or carboxy-(l -4C)alkyl: carboxymethyl, 1 -carboxyethyl, 2-carboxyethyl and 3-carboxypropyl; or (l -4C)alkoxycarbonyl-(l -4C)alkyl: methoxycarbonylmethyl, ethoxycarbonylmethyl, tert-butoxy- carbonylmethyl, 1 -methoxycarbonylethyl, 1 -ethoxycarbonylethyl, 2-methoxycarbonylethyl, 2-ethoxycarbonylethyl, 3-methoxycarbonylpropyl and 3 -ethoxycarbonylpropy 1 ; for carbamoyl-(l -4C)alkyl: carbamoylmethyl, 1 -carbamoylethyl, 2-carbamoylethyl and 3 -carbamoy lpropy 1 ; Suitable values for substituents (where applicable) which may be present on B, on a heterocyclic or phenyl group within a substituent on Ar, on Q or on a phenyl- or heteroaryl-containing substituent on Q include, for example:- for halo: fluoro, chloro, bromo; for (l -4C)alkyl: methyl, ethyl, propyl, butyl; for (l -4C)alkoxy: methoxy, ethoxy; for (l -4C)alkylamino: methylamino, ethylamino; for di-(l -4C)alkylamino: dimethylamino, diethylamino; for (2-4C)alkenyl: vinyl and allyl; for (2-4C)alkynyl: ethynyl and prop-2-ynyl; for (2-4C)alkenyloxy: vinyloxy and allyloxy; for (2-4C)alkynyloxy: ethynyloxy and prop-2-ynyloxy; for 4-( 1 -4C)alkylpiperazin- 1 -yl : 4-methylpiperazin-l -yl and 4-ethy lpiperazin- 1 -y 1 ; for (l -4C)alkylthio: methylthio, ethylthio and propylthio; 5 for (l -4C)alkylsulphinyl: methylsulphinyl, ethylsulphinyl and propylsulphinyl; for ( l -4C)alkylsulphonyl: methylsulphonyl, ethylsulphonyl and propylsulphonyl; for (2-4C)alkanoylamino: acetamido, propionamido and butyramido; 10 for ( 1 -4C)alkanesulphonamido: methanesulphonamido and ethanesulphonamido; for ( 1 -4C)alkoxycarbonyl: methoxycarbonyl, ethoxycarbonyl, propoxycarbonyl and tert-butoxycarbony 1 ; for N-(l -4C)alkylcarbamoyl: N-methylcarbamoyl, N-ethylcarbamoyl and 15 N-propylcarbamoyl; for N,N-di-[( l -4C)alkyl]carbamoyl: N,N-dimethylcarbamoyl, N-ethyl-N-methylcarbamoyl and N,N-diethylcarbamoyl; for 4-( 1 -4C)alkylpiperazin- 1 -y lcarbonyl : 4-methy lpiperazin- 1 -y lcarbonyl and 20 4-ethy lpiperazin- 1 -ylcarbonyl; for ( 1 -4C)alkanesulphonamidocarbonyl: methanesulphonamidocarbonyl and ethanesulphonamidocarbony 1 ; for (2-4C)alkanoyl: acetyl, propionyl and butyryl; for hydroxy-(l -4C)alkyl: hydroxymethyl, 1 -hydroxyethyl, 25 2-hydroxyethyl and 3-hydroxypropyl; for (l -4C)alkoxy-(l -4C)alkyl: methoxymethyl, ethoxymethyl, 1 -methoxymethyl, 2-methoxyethyl, 2-ethoxyethyl and 3-methoxypropyl; for carboxy-(l -4C)alkyl: carboxymethyl, 1 -carboxyethyl, 2-carboxyethyl and 3-carboxypropyl; for (l -4C)alkoxycarbonyl- (l -4C)alkyl: methoxycarbonylmethyl, ethoxycarbonylmethyl, tert-butoxy- carbonylmethyl, 1 -methoxycarbonylethyl, 1 -ethoxycarbonylethyl, 2-methoxycarbonylethyl, 2-ethoxycarbonylethyl, 3-methoxycarbonylpropyl and 3 -ethoxycarbony lpropy 1 ; for carbamoyl-(l -4C)alkyl: carbamoylmethyl, 1 -carbamoylethyl, 2-carbamoylethyl and 3 -carbamoy lpropy 1; for N-( 1 -4C)alkylcarbamoyl-( 1 -4C)alkyl N -methyl carbamoylmethyl , N-ethylcarbamoylmethyl, N-propylcarbamoylmethyl, 1 -(N-methylcarbamoyl)ethyl, 1 -(N-ethylcarbamoyl)ethyl, 2-(N-methylcarbamoyl)ethyl, 2-(N-ethylcarbamoyl)ethyl and 3-(N-methylcarbamoyl)propyl; for N,N-di-[(l -4C)alkyl]carbamoyl- (l -4C)alkyl: N.N-dimethylcarbamoylmethyl, N-ethyl-N-methylcarbamoylmethyl, N,N-diethylcarbamoylmethyl, 1 -(N,N-dimethylcarbamoyl)ethyl, 1 -(N,N-diethylcarbamoyl)ethyl, 2-(N,N-dimethylcarbamoyl)ethyl, 2-(N,N-diethylcarbamoyl)ethyl and 3-(N.N-dimethylcarbamoyl)propyl; A preferred class of compounds of the present invention is that wherein: A is pyridyl, pyrimidinyl or pyridazinyl; B is 1 ,4-piperidinediyl, 1 ,4-piperazinediyl or para-phenylene; R and R 3 are joined together to form a 6-membered heterocyclic ring, preferably substituted; Q is styryl or naphthyl optionally substituted by fluoro, chloro or bromo or is phenyl optionally substituted by fluoro, chloro or bromo; and pharmaceutically-acceptable salts thereof. Particular compounds of the invention are those listed as Examples below. A heterocyclic derivative of formula I, or pharmaceutically-acceptable salt thereof, may be prepared by any process known to be applicable to the preparation of related compounds. Such procedures are provided as a further feature of the invention and are illustrated by the following representative processes in which, unless otherwise stated A, B, X | , R, R,, R 2 , R and Q have any of the meanings defined hereinbefore wherein any functional group, for example amino, alkylamino, carboxy or hydroxy, is optionally protected by a protecting group which may be removed when necessary. Compounds of formula I may be prepared by: (a) Reacting an acid of formula (II) , or a reactive derivative thereof, with an amine of formula (III) R 2 R 3 NH A suitable reactive derivative of an acid of the formula (III) is, for example, an acyl halide, for example an acyl chloride formed by the reaction of the acid and an inorganic acid chloride, for example thionyl chloride; a mixed anhydride, for example an anhydride formed by the reaction of the acid with a chloroformate such as isobutyl chloroformate or with an activated amide such as 1 ,1 '-carbonyldiimidazole; an active ester, for example an ester formed by the reaction of the acid and a phenol such as pentafluorophenol, an ester such as pentafluorophenyl trifluoroacetate or an alcohol such as N-hydroxybenzotriazole or N-hydroxysuccinimide; an acyl azide, for example an azide formed by the reaction of the acid and an azide such as diphenylphosphoryl azide; an acyl cyanide, for example a cyanide formed by the reaction of an acid and a cyanide such as diethylphosphoryl cyanide; or the product of the reaction of the acid and a carbodiimide such as N,N'-dicyclohexylcarbodiimide or N-(3-dimethylaminopropyl)-N'-ethyl- carbodiimide. The reaction is conveniently carried out in the presence of a suitable base such as, for example, an alkali or alkaline earth metal carbonate, alkoxide, hydroxide or hydride, for example sodium carbonate, potassium carbonate, sodium ethoxide, potassium butoxide, sodium hydroxide, potassium hydroxide, sodium hydride or potassium hydride, or an organometallic base such as an alkyl-lithium, for example n-butyl-lithium, or a dialkylamino-lithium, for example lithium di-isopropylamide, or, for example, an organic amine base such as, for example, pyridine, 2,6-lutidine, collidine, 4-dimethylaminopyridine, triethylamine, morpholine or diazabicyclo[5.4.0]undec-7-ene. The reaction is also preferably carried out in a suitable inert solvent or diluent, for example methylene chloride, chloroform, carbon tetrachloride, tetrahydrofuran, 1 ,2-dimethoxyethane, N,N-dimethylformamide, N,N-dimethylacetamide, N-methylpyrrolidin-2-one, dimethylsulphoxide or acetone, and at a temperature in the range, for example, -78° to 150°C, conveniently at or near ambient temperature. A suitable protecting group for an amino or alkylamino group is, for example, an acyl group, for example an alkanoyl group such as acetyl, an alkoxycarbonyl group, for example a methoxycarbonyl, ethoxycarbonyl or tert-butoxycarbonyl group, an arylmethoxycarbonyl group, for example benzyloxycarbonyl. or an aroyl group, for example benzoyl. The deprotection conditions for the above protecting groups necessarily vary with the choice of protecting group. Thus, for example, an acyl group such as an alkanoyl or alkoxycarbonyl group or an aroyl group may be removed for example, by hydrolysis with a suitable base such as an alkali metal hydroxide, for example lithium or sodium hydroxide. Alternatively an acyl group such as a tert- butoxycarbonyl group may be removed, for example, by treatment with a suitable acid such as hydrochloric, sulphuric or phosphoric acid or trifluoroacetic acid and an arylmethoxycarbonyl group such as a benzyloxycarbonyl group may be removed, for example, by hydrogenation over a catalyst such as palladium-on-carbon, or by treatment with a Lewis acid for example boron tris(trifluoroacetate). A suitable alternative protecting group for a primary amino group is, for example, a phthaloyl group which may be removed by treatment with an alkylamine, for example dimethylaminopropylamine, or with hydrazine. A suitable protecting group for a hydroxy group is, for example, an acyl group, for example an alkanoyl group such as acetyl, an aroyl group, for example benzoyl, or an arylmethyl group, for example benzyl. The deprotection conditions for the above protecting groups will necessarily vary with the choice of protecting group. Thus, for example, an acyl group such as an alkanoyl or an aroyl group may be removed, for example, by hydrolysis with a suitable base such as an alkali metal hydroxide, for example lithium or sodium hydroxide. Alternatively an arylmethyl group such as a benzyl group may be removed, for example, by hydrogenation over a catalyst such as palladium-on-carbon. A suitable protecting group for a carboxy group is, for example, an esterifying group, for example a methyl or an ethyl group which may be removed, for example, by hydrolysis with a base such as sodium hydroxide, or for example a tert-butyl group which may be removed, for example, by treatment with an acid, for example an organic acid such as trifluoroacetic acid, or for example a benzyl group which may be removed, for example, by hydrogenation over a catalyst such as palladium-on-carbon. (b) Reacting an acid of formula (IV), or a reactive derivative thereof, A-B-COOH (IV) with an amine of formula (V) R 2 R 3 (V) C=O I HNR— C-(CH 2 )ΓHNR Γ SO 2 -Q H Suitable reactive derivatives of an acid of the formula (IV) and conditions are described in process method (a) above. (c) Coupling a compound of formula (VI) with a compound of formula (VII) Z-S0 2 -Q wherein Z is a displaceable group such as halo, in conditions similar to those described in process method (a) above. (d) For compounds of formula I, wherein A is attached to B by an alkyl bond, by coupling a compound of formula (VIII) ^ R 2 R 3 (VIM) O C=O II I z— B-C-NR-C-(CH 2 )n-NR SO 2 -Q H wherein Z is a displaceable group such as halo, with an activated derivative of heterocyclic ring A. Suitable activated derivatives include metalised derivatives such as with zinc or tin and borane derivatives. The activated derivative of heterocyclic ring A is reacted with a compound of formula (VII) to effect cross coupling where Z is a halo group, such as iodo, bromo or chloro, or triflate. Suitably the reaction is catalysed by use of a transition state metal catalyst, such as palladium, e.g. tetrakis (triphenylphosphine) palladium (0). Alternatively it is possible that ring A contains the displaceable group Z and ring B is activated and the reaction performed as described above. (e) For compounds of formula I, wherein A is attached to B by an alkyl bond, by forming A ring on compounds of formula (VIII), wherein Z is a functional group capable of cyclisatio . Suitable reagents and conditions are described below in the preparation of compounds of formula (IV) by cyclisation. (f) For compounds of formula I, wherein A is attached to B by an amide bond, by reacting an amine of formula (VIII). wherein Z is hydrogen, with a derivative of heterocyclic ring A containing a suitable displaceable group, such as halo, in the presence of a base in conditions similar to those described in process method (a) above. (g) Oxidation of a compound of formula (IX) wherein Y is S or SO. A suitable oxidising agent is, for example, any agent known in the art for the oxidation of thio to sulphinyl and/or sulphonyl, for example, hydrogen peroxide, a peracid (such as 3-chloroperoxybenzoic or peroxyacetic acid), an alkali metal peroxysulphate (such as potassium peroxymonosulphate). chromium trioxide or gaseous oxygen in the presence of platinum. The oxidation is generally carried out under as mild conditions as possible and with the required stoichiometric amount of oxidising agent in order to reduce the risk of over oxidation and damage to other functional groups. In general the reaction is carried out in a suitable solvent or diluent such as methylene chloride, chloroform, acetone, tetrahydrofuran or tert-butyl methyl ether and at a temperature, for example, at or near ambient temperature, that is in the range 15 to 35°C. Those compounds of formula (IX) which contain oxygen labile groups (such as A ring is pyridyl) are probably not suitable intermediates for this process step, unless oxidation of such groups is desired. Compounds of formula (II) may be prepared by reacting an acid of formula (IV), as defined above, with an amine of formula (X) wherein P, including the carboxy group to which it is attached, is a suitable protecting group such as an alkoxy ester, for example ethoxycarbony; in an analogous method as described in process method (b) above, and subsequently conversion to the acid compound of formula (II) by deesterification. Compounds of formula (IV) may be prepared by coupling of the B ring to the A ring as described in alternative process steps (d) and (f). For a coupling of A to B, via an alkyl bond, one ring is activated and the other contains a suitable displaceable group. Ideally the reaction is catalysed, such as with a palladium catalyst. Suitable reagents and conditions are described in a review article Harvey R.G. Organic Preparations and Procedures International, Vol.29,( 1997), 139. Activated derivatives of heterocyclic ring A or B include metalised derivatives, such as with zinc or tin, borane derivatives and stannyl derivatives. Formation of the activated form desired is typically by substitution reactions. The activating group is added to the ring in place of a suitable leaving group or atom, such as halo or triflate. Suitable reagents and conditions are described in Shikara M. et.al; Chem. Pharm. Bull.; 33(1 1), 4755-4763 (1985); Sandosham J. et.al.; Hetrerocycles, Vol.37, No. I, p501, (1994); and Salamoto T. et.al.; Tetrahedron; Vol.49, No.43, 9713-9720, (1993). Alternatively compounds of formula (IV) may be prepared as described in process variant (e) above by forming A rings on the B ring containing a suitable functional group for cyclisation. Suitable reagents and conditions are described in Bredereck H. Chem.Ber.; 96, 1505, (1963); Fuchigami, T., Bull. Chem. Soc. Jpn., 49, p3607, (1976); Huffman, K.R., J. Org. Chem., 28, pl812, (1963); Palusso, G., Gazz. Chim. Ital., 90, pl290, (1960) and Ainsworth C.J., Heterocycl. Chem., 3, p470, (1966). Processes suitable for synthesis of starting materials in such cyclisation reactions are described in Zhang M.Q. et.al; J. Heterocyclic. Chem.; 28, 673, (1991) and Kosugi. M. et al., Bull. Chem. Soc. Jpn., 60, 767-768 (1987). Compounds of formula (XII) may be prepared via ring formation, such as described in Church R. et.al; J.Org.Chem., 60, 3750-3758, (1995) and Falck-Penderson M.L. et.al; Acta Chem. Scand., 47, 63-67, (1993). Compounds formed by such reactions are also suitable starting materials for preparation of activated derivatives of the heterocyclic ring A by substitution reaction, as described above. Compounds of formula (V) may be prepared by reacting an acid of formula (XI) wherein P is a protecting group, with an amine of formula (III), as defined above, in an analogous manner as described in method (a) above, and subsequently removing the protecting group. Compounds of formula (VI) may be prepared from the amino acid of formula (XII) by performing both reactions (a) and (b) described above, in either order, with the use of suitable protecting groups as described above. Compounds of formula (VII) may be prepared by conversion of the thio analogue of the compound of formula (XIII), wherein Z is a dispaceable group Z-S-Q (XIII) to the sulphonic acid halide by reactions as described in Kharasch N. Et.al; J. Am. Chem. Soc., 73, p3240, 1951. Suitable reactions for the preparation of the thio analogues of compounds of formula (VII) are described in Newman M.S. et.al; Organic Synthesis. Vol. 51 , pl39. Compounds of formula (VIII) may be prepared from compounds of formula (XII), as defined above, by performing reaction (a) described above and reacting the product with an acid of formula (XIV) Z-B-COOH in conditions similar to those described for reaction (b) above. Compounds of formula (IX) may be prepared by an analagous reaction for the preparation of compounds of formula I using method (c) above, reacting a compound of formula (VI), as defined above, with a compound of formula (XIII), as defined above. When a pharmaceutically-acceptable salt of a compound of the formula I is required, it may be obtained, for example, by reaction of said compound with a suitable acid or base using a conventional procedure. When an optically active form of a compound of the formula I is required, it may be obtained, for example, by carrying out one of the aforesaid procedures using an optically active starting material or by resolution of a racemic form of said compound using a conventional procedure. As stated previously, the compounds of the formula I are inhibitors of the enzyme Factor Xa. The effects of this inhibition may be demonstrated using one or more of the standard procedures set out hereinafter:- a) Measurement of Factor Xa Inhibition An in vitro assay system is carried out based on the method of Kettner et al, J. Biol Chem., 1990. 265, 18289-18297, whereby various concentrations of a test compound are dissolved in a pH7.5 buffer containing 0.5% of a polyethylene glycol (PEG 6000) and incubated at 37°C with human Factor Xa (0.001 Units/ml, 0.3 ml) for 15 minutes. The chromogenic substrate S-2765 (KabiVitrum AB, 20 μM) is added and the mixture is incubated at 37°C for 20 minutes whilst the absorbance at 405 nni is measured. The maximum reaction velocity (Vmax) is determined and compared with that of a control sample containing no test compound. Inhibitor potency is expressed as an IC50 va lue. b) Measurement of Thrombin Inhibition The procedure of method a) is repeated except that human thrombin (0.005 Units/ml) and the chromogenic substrate S-2238 (KabiVitrum AB, 7 μM) are employed. c) Measurement of Anticoagulant Activity An in vitro assay whereby human, rat or rabbit venous blood is collected and added directly to a sodium citrate solution (3.2 g/100 ml, 9 parts blood to 1 part citrate solution). Blood plasma is prepared by centrifugation (1000 g, 15 minutes) and stored at 2-4°C. Conventional prothrombin time (PT) tests are carried out in the presence of various concentrations of a test compound and the concentration of test compound required to double the clotting time, hereinafter referred to as CT2. is determined. In the PT test, the test compound and blood plasma are incubated at 37°C for 10 minutes. Tissue thromboplastin with calcium (Sigma Limited. Poole, England) is added and fibrin formation and the time required for a clot to form are determined. (d) Rat Disseminated Intravascular Coagulation in vivo activity test Fasted male Alderley Park rats (300-450 g) are pre-dosed by oral gavage (5 mls/kg) with compound or vehicle (5% DMSO/PEG200) at various times before being anaesthetised with Intraval® (120 mg/kg i.p.). The left jugular vein and the right carotid artery are exposed and cannulated. A 1 mL blood sample is taken from the carotid canular into 3.2% trisodium citrate. 0.5 mL of the whole blood is then treated with EDTA and used for platelet count determination whilst the remainder is centrifuged (5 mins, 20000g) and the resultant plasma frozen for subsequent drug level, fibrinogen or thrombin antithrombin (TAT) complex determinations. Recombinant human tissue factor (Dade Innovin Cat.B4212-50), reconstituted to the manufacturers specification, is infused (2 mL/kg/hr) into the venous canular for 60 minutes. Immediately after the infusion is stopped a 2 mL blood sample is taken and platelet count, drug level, plasma fibrinogen concentration and TAT complex are determined as before. Platelet counting is performed using a Coulter T540 blood analyser. Plasma fibrinogen and TAT levels are dertermining using a clotting assay (Sigma Cat.880-B) and TAT ELISA (Behring) respectively. The plasma concentration of the compound is bioassayed using human Factor Xa and a chromogenic substrate S2765 (Kabi), extrapolated from a standard curve (Fragmin) and expressed in Anti-Factor Xa units. The data is analysed as follows; tissue factor-induced reductions in platelet count are normalised with respect to pre-dose platelet count and drug activity expressed as a percent inhibition of tissue factor- induced thrombocytopenia when compared to vehicle treated animals. Compounds are active if there is statistically significant (p <0.05) inhibition of TF-induced thrombocytopenia. e) An ex vivo Assay of Anticoagulant Activity The test compound is administered intravenously or orally to a group of Alderley Park Wistar rats. At various times thereafter animals are anaesthetised, blood is collected and PT coagulation assays analogous to those described hereinbefore are conducted. According to a further feature of the invention there is provided a pharmaceutical composition which comprises a heterocyclic derivative of the formula I, or a pharmaceutically-acceptable salt thereof, in association with a pharmaceutically-acceptable diluent or carrier. The composition may be in a form suitable for oral use, for example a tablet, capsule, aqueous or oily solution, suspension or emulsion; for topical use, for example a cream, ointment, gel or aqueous or oily solution or suspension; for nasal use, for example a snuff, nasal spray or nasal drops; for vaginal or rectal use, for example a suppository; for administration by inhalation, for example as a finely divided powder such as a dry powder, a microcrystalline form or a liquid aerosol; for sub-lingual or buccal use, for example a tablet or capsule; or for parenteral use (including intravenous, subcutaneous, intramuscular, intravascular or infusion), for example a sterile aqueous or oily solution or suspension. In general the above compositions may be prepared in a conventional manner using conventional excipients. The amount of active ingredient (that is a heterocyclic derivative of the formula I, or a pharmaceutically-acceptable salt thereof) that is combined with one or more excipients to produce a single dosage form will necessarily vary depending upon the host treated and the particular route of administration. For example, a formulation intended for oral administration to humans will generally contain, for example, from 0.5 mg to 2 g of active agent compounded with an appropriate and convenient amount of excipients which may vary from about 5 to about 98 percent by weight of the total composition. Dosage unit forms will generally contain about 1 mg to about 500 mg of an active ingredient. According to a further feature of the invention there is provided a heterocyclic derivative of formula I, or a pharmaceutically acceptable salt thereof, for use in medical therapy. According to a further feature of the invention there is provided a heterocyclic derivative of formula I, or a pharmaceutically-acceptable salt thereof, for use in a method of treatment of the human or animal body by therapy. The invention also includes the use of such an active ingredient in the production of a medicament for use in:- (i) producing a Factor Xa inhibitory effect; (ii) producing an anticoagulant effect; (iii) producing an antithrombotic effect; (iv) treating a Factor Xa mediated disease or medical condition; (v) treating a thrombosis mediated disease or medical condition; (vi) treating coagulation disorders; and/or (vii) treating thrombosis or embolism involving Factor Xa mediated coagulation. The invention also includes a method of producing an effect as defined hereinbefore or treating a disease or disorder as defined hereinbefore which comprises administering to a warm-blooded animal requiring such treatment an effective amount of an active ingredient as defined hereinbefore. The size of the dose for therapeutic or prophylactic purposes of a compound of the formula I will naturally vary according to the nature and severity of the medical condition, the age and sex of the animal or patient being treated and the route of administration, according to well known principles of medicine. As mentioned above, compounds of the formula I are useful in the treatment or prevention of a variety of medical disorders where anticoagulant therapy is indicated. In using a compound of the formula I for such a purpose, it will generally be administered so that a daily dose in the range, for example, 0.5 to 500 mg/kg body weight is received, given if required in divided doses. In general lower doses will be administered when a parenteral route is employed, for example a dose for intravenous administration in the range, for example, 0.5 to 50 mg/kg body weight will generally be used. For preferred and especially preferred compounds of the invention, in general, lower doses will be employed, for example a daily dose in the range, for example, 0.5 to 10 mg/kg body weight. Although the compounds of the formula I are primarily of value as therapeutic or prophylactic agents for use in warm-blooded animals including man, they are also useful whenever it is required to produce an anticoagulant effect, for example during the ex-vivo storage of whole blood or in the development of biological tests for compounds having anticoagulant properties. The compounds of the invention may be administered as a sole therapy or they may be administered in conjunction with other pharmacologically active agents such as a thrombolytic agent, for example tissue plasminogen activator or derivatives thereof or streptokinase. The compounds of the invention may also be administered with, for example, a known platelet aggregation inhibitor (for example aspirin, a thromboxane antagonist or a thromboxane synthase inhibitor), a known hypolipidaemic agent or a known anti-hypertensive agent. Example 1 1 -( 1 .1 -Dioxothiomorpholino-4-carbonyl)- 1 -[ 1 -(4-pyridyl)piperazin-4- ylcarbamoyl]-2-(bromonaphth-2-ylsulphonamido)ethane Method 1 A To a stirred suspension of A, prepared as in Example 2, (l .OOg, 1.548mmole) in chloroform (50ml) at room temperature was added metachloroperbenzoic acid (1.597g, 4.644mmole. 3 equivalents). A yellow gum formed. This gum was washed with dichloromethane (150 ml) and then with water (100ml). The resulting yellow solid was triturated with ether and was dried in vacuo to give a pale yellow solid. This material was chromatographed on an alumina bond elute column, eluting with dichloromethane with increasing concentrations of methanol from 0% to 5%. The required product was eluted with 2% to 3%o methanol in dichloromethane. Evaporation of these fractions yielded the product as a colourless solid (0.30g, 28%). NMR (300MHz,DMSO) 1.4-1.6(m,2H); 1.6-1.7(m,2H); 2.3-2.4(m,lH); 2.7-2.8(m2H); 2.9-3.3(m,5H); 3.7-4.0(m.6H); 4.7-4.9(m,lH); 6.7-6.8(m,2H); 7.7-7.9(m,3H); 8.0- 8.2(m,5H); 8.3(s,lH); 8.5(s,lH) MS ES+ (mH)+ 678 Method 2 EDAC (10.283g. 53.6mmole) was added to a solution of B (35g, 44.7mmole), thiomorpholine sulphone trifluoroacetate (13.36g, 53.6mmole), n-hydroxybenztriazole (9.052g, 67mmole) and triethylamine(6.94ml) in DMF (500ml). Stirring was continued overnight. The mixture was poured into water (3.5 litres) and basified to pH8 with aqueous sodium hydroxide (2M). A white solid precipitated which was filtered off. The solid was dissolved in a mixture of dichloromethane and methanol (1 : 1 by volume). The resulting solution was boiled on the steam bath to reduce the volume until the solution became slightly cloudy. On cooling the required product separated as colourless crystals. The product was filtered off, washed with ether and dried. The starting materials were prepared as follows; Sodium hydroxide (1 M, 38.7ml, 38.7mmole) was added to a stirred solution of C (7.42g, 12.9mmole) in methanol (77ml). After 1 hour the resulting solution was warmed and boiled under reflux for 0.75 hour, and then was allowed to cool to room temperature and stirred for a further 1 hour. The solution was acidified with 2M hydrochloric acid, and was evaporated in vacuo to yield B as a colourless solid (8.83g, 82%). MS ESP- (m-H)- 559 Thionyl chloride (10.54ml, 144.6mmole) was added to a stirred suspension of N- (4-pyridyl)piperidine-4-carboxylic acid (3.7245g, 18.08mmole) in dichloromethane (50ml). Stirring was continued for 2 hours. The solvent was evaporated in vacuo and the residue re-evaporated from dichloromethane (3X50ml) to leave the product E. A solution of this acid chloride in dichloromethane (50ml) was added slowly to a stirred solution D chloride (7.0g, 18.08mmole) and triethylamine (7.546ml, 54.2mmole) in dichloromethane, and the resulting mixture was stirred overnight. The solution was poured into water (500ml) and the resulting mixture was extracted with dichloromethane (3X100ml). The combined extracts were dried over magnesium sulphate, and evaporated to leave a yellow oil. This was chromatographed on a column of deactivated alumina (l OOg), eluting with dichloromethane containing 1%, 2% and finally 3% methanol by volume. The fractions containing the required product C were evaporated in vacuo to afford a pale yellow foam (7.42g, 71%). NMR (300MHz,DMSO) 1.4-1.5(m,2H); 1.6-1.7(m,2H); 2.3-2.4(m,lH); 2.7-2.9(m,2H); 3.1 -3.2(m,2H); 3.55(s,3H); 3.8-3.9(m,2H); 4.3-4.4(m,lH); 6.75(d,2H); 7.75-7.85(m,2H); 7.9-8.0(m,lH); 8.1-8.2(m,5H); 8.35(s,lH); 8.45(s,lH) MS ESP+ (mH)+ 575 Br λΛrγ sθ2CI D A solution of 6-bromonaphthalene-2-sulphonyl chloride (19.17g, 71mmole) in dichloromethane (150ml) was added over 0.5 hour to a stirred mixture of methyl 2,3- diaminopropionate dihydrochloride (13.561g, 71 mmole) and triethylamine 29.63ml, 213mmole) in dichloromethane (400ml) at OC. The solid gradually dissolved. The mixture was stirred at 0°C for 1 hour and overnight at room temperature. The yellow solution was washed with water (2x350ml). The combined extracts were dried over magnesium sulphate, and the solvent evaporated in vacuo to leave a brown residue. This was dissolved in methanol (500ml) and hydrogen chloride in ether (100ml, IM) was added. The solution was stirred for 1 hour, and was then evaporated in vacuo to leave a brown solid. Ethyl acetate (300ml) was added and the mixture warmed to reflux. The brown solid changed in appearance to a colourless solid. The suspension was cooled and stirred at 0 ° C for 10 minutes. The required product D was filtered off (16.26g, 54%). NMR (300MHz, DMSO) 3.2-3.3(m,2H); 3.7(s,3H); 4.1(t,lH); 7.8(dd,lH); 7.9(dd,lH); 8.15(d,2H); 8.35(s,lH): 8.5(s,lH); 8.6-8.8(m,3H) MS ESP+ (mH)+ 387 j Thionyl chloride (22ml) was added over 10 minutes to methanol (360ml) at -5 ° C with stirring. After stirring for a further 5 minutes at -5 °C, 2,3-diaminopropionic acid monohydrochloride (lOg, 71mmole) was added. The mixture was stirred at -5 °C for 3 hours, at which time all of the solid had dissolved. After stirring at room temperature for 2 hours, the solution was boiled under reflux for 1.5 hours, and was stood at room temperature overnight. Evaporation of the solvent in vacuo afforded the required product as colourless crystals (13.561 , 100%). NMR (300MHz, DMSO) 3.2-3.4(m.2H); 3.7(s,3H); 4.4(t,l H); 8.6-9.2(m,6H) MS ESP+ (mH)+ 119 A solution of N-tert-butyloxycarbonyl thiomorpholine sulphone (14.805g, 63mmole) in trifluoroacetic acid (100ml) was stirred at room temperature for 45 minutes. Evaporation of the solvent in vacuo afforded a yellow oil, which was dissolved in ether (500ml). The required product separated as colourless crystals, which were filtered off, washed with ether (75ml) and dried in vacuo. The yield was 17.55g, 100%). NMR (300MHz,CDC13) 3.4-3.5(m,4H); 3.5-3.6(m,4H) BOC — S ^ A solution of metachlorobenzoic acid (55%, 21.7g) in chroroform (100ml) and dichloromethane (100ml) was added gradually over 40 minutes to a stirred solution of N-tert-butyloxycarbonyl thiomorpholine (6.4g, 31.5mmole) in chloroform (500ml) kept below 20 °C. The cooling bath was removed and the mixture was stirred at room temperature for 1 hour. The mixture was washed with aqueous sodium hydroxide(2M, 2X300ml) and water (300ml). The organic solution was dried over magnesium sulphate and the solvent evaporated in vacuo to yield the required product as a colourless solid (7.50g, 100%). NMR (300MHz,CDC13) 1.5(s,9H); 2.9-3. l(m,4H); 3.8-4.0(m,4H) HN BOC-O-BOC BOC - N A solution of BOC-O-BOC (28.34g, 0.13Mole) in dichloromethane (100ml) was added over 15 minutes to a solution thiomorpholine (13.05ml, 0.13Mole) and triethylamine (20.87ml, 0.15Mole) in dichloromethane (600ml). The mixture was stirred for 1 hour. Vigorous evolution of carbon dioxide occured. Ether (600ml) was added and the organic solution was washed with citric acid (3X300ml, IM), water (3X300ml), brine (300ml), dried over magnesium sulphate, and evaporated in vacuo to give N-tert-butyloxycarbonyl thiomorpholine as a colourless solid (26.5g, 100%). NMR (300MHz,CDC13) 1.4(s,9H); 2.5-2.6(m,4H); 3.6-3.65(m,4H) MS ESP+ (mH)+ 204 Example 2 1 -(Thiomorpholino-4-carbonyl)-l - 1 -(4-pyridyl)piperazin-4-ylcarbamoyll-2- (bromonaphth-2-ylsulphonamido)ethane jyy To a stirred solution of B (2.5g, 3.652 mmole), thiomorpholine (0.442ml, 4.38mmole) and N-hydroybenztriazole (0.7395g, 5.478mmole) in DMF (20ml) was added EDAC (0.840g, 4.38mmole). The solution was stirred overnight, and was then was poured into water (300ml). This aqueous solution was adjusted to pH12 by the addition of aqueous sodium hydroxide, and extracted with ethyl acetate (3X200ml). The combined organic extracts were washed with water (300ml), brine (100ml), dried with magnesium sulphate, and the solvent evaporated to yield the required product as a pale yellow solid (2.2 lg, 94%). NMR (300MHz, DMSO) 1.4-1.5(m,2H); 1.6-1.7(m,2H); 2.3-2.5(m,2H); 2.7-2.9(m,3H); 3.0-3. l(m,lH); 3.6-3.9(m,8H); 4.7-4.8(m,lH); 6.75(d,2H); 7.8(d,lH); 7.85(d,lH); 8.1- 8.2(m,5H); 8.3(s,lH); 8.5(s,lH) MS ESP+ (mH)+ 646 Example 3 Using similar procedures as described in Example 2 the following were prepared, but starting with piperidine and morpholine respectively in place of thiomorpholine.

Claims: CLAIMS 1. A compound of formula I, or a pharmaceutically-acceptable salt thereof, NR 2 R 3 O C=O A-B-C-NR-C-(CH 2 )n-NR r SO 2 -Q H wherein: A is an optionally substituted 5- or 6-membered monocyclic aromatic ring containing 1 , 2 or 3 ring heteroatoms selected from oxygen, nitrogen and sulphur; B is optionally substituted phenylene or a 6-membered heterocyclic ring containing 1 , 2 or 3 nitrogen heteroatoms; R and R \ are independently selected from hydrogen and (1 -4C)alkyl; n is 1 or 2; R and R 3 are independently selected from hydrogen. (l -6C)alkyl, (4-7C)cycloalkyl, (2-6C)alkenyl on R 2 and R 3 may form along with the nitrogen to which they are attached a 5-, 6- or 7- membered heterocyclic ring which may contain in addition to the nitrogen atom present 1 or 2 additional heteroatoms selected from nitrogen, oxygen and sulphur, wherein each R 2 or R 3 group or any heterocyclic ring formed from R and R 3 may be optionally substituted by hydroxy, amino, carboxy, (l -4C)alkoxycarbonyl oxo, (l -4C)alkyl, hydroxy-(l -4C)alkyl, (l -4C)alkoxy-(l -4C)alkyl, carboxy-(l -4C)alkyl, ( l -4C)alkoxycarbonyl- (l -4C)alkyl, or carbamoyl-(l -4C)alkyl; Q is selected from phenyl, naphthyl, phenyl(l -4C)alkyl, phenyl(2-4C)alkenyl and a 5-, 6- or 7-membered heterocyclic ring containing up to 4 heteroatoms selected from nitrogen, oxygen and sulphur wherein Q may be optionally substituted by halo, halo(l -4C)alkyl, cyano, amino, hydroxy, carbamoyl, (l -4C)alkyl, (2-4C)alkenyl, (2-4C)alkynyl, (l -4C)alkoxy, (2-4C)alkenyloxy, (2-4C)alkynyloxy, (l -4C)alkylthio, (l -4C)alkylsulphinyl, (l -4C)alkylsulphonyl, (l -4C)alkylamino, di(l -4C)alkylamino, (l -4C)alkoxycarbonyl, N-(l -4C)alkylcarbonoyl (2-6C)alkanoyl, (2-4C)alkanoylamino, hydroxy-(l -4C)alkyl, ( 1 -4C)alkoxy-( 1 -4C)alkyl, carboxy-( 1 -4C)alky 1, ( 1 -4C)alkoxycarbonyl-( 1 -4C)alky 1, carbamoy l-( 1 -4C)alkyl, N-( 1 -4C)alkylcarbamoyl-( 1 -4C)alky 1, N,N-di( 1 -4C)alkylcarbamoyl- (l-4C)alkyl, phenyl, phenoxy, phenylthio, phenylsulphinyl, phenylsulphonyl, benzyl, benzoyl wherein said phenyl, phenoxy, phenylthio, phenylsulphinyl, phenylsulphonyl, benzyl or benzoyl substituent bears 1 , 2 or 3 substituents selected from halo, trifluoromethyl, cyano, hydroxy, amino, nitro, carboxy, carbamoyl, (l-4C)alkyl, (l-4C)alkoxy, (l -4C)alkylamino, di(l-4C)alkylamino, (l-4C)alkoxycarbonyl, N,-(l -4C)alkylcarbamoyl, N,N,(l-4C)alkylcarbamoyl and (2-4C)alkenoylamino. 2. A compound of formula I as claimed in claim 1 wherein B is a 1 ,4-piperidinediyl or 1 ,4-piperazinediyl ring. 3. A compound of formula I as claimed in either claim 1 or 2 wherein Q is naphthyl 4. A compound of formula 1 as claimed in claim 3 wherein Q is substituted by halo or (l -4C)alkyl . 5. A compound of formula 1 as claimed in any claim preceding claim wherein A is 4-pyrimidinyl or 4-pyridyl. 6. A compound of formula I as claimed in claim 5 wherein A is substituted by a substituent selected from halo, (l-4C)alkyl, amino and (l-4C)alkylamino. 7. A compound of formula I, as defined in any of the preceding claims, for use in medical therapy. 8. A pharmaceutical composition comprising a compound of formula I, as defined in any claim from 1 to 6, and a pharmaceutically acceptable diluent or carrier thereto. 9. Use of a compound of formula I, as defined in any claim from 1 to 6, in the manufacture of a medicament for use in treating a Factor Xa mediated disease or medical condition. 10. A method of treating a FXa mediated disease or medical condition which comprises administering to a warm-blooded animal requiring such treatment an effective amount of a compound of formula as claimed in any claim form 1 to 6.

Inventors: PRESTON JOHN, STOCKER ANDREW, PRESTON, JOHN, STOCKER, ANDREW
Applicants: PRESTON JOHN, STOCKER ANDREW, ZENECA LTD, PRESTON, JOHN, STOCKER, ANDREW, ZENECA LIMITED
Application year: 1998
Main classification: C07D417
IPC codes: A61K31, A61P7, A61P9, A61P43, C07D401