Patent ID: 7795426

Claim:
A process for the preparation of a compound of formula (II) or an enantiomer, diastereomer, hydrate, or pharmaceutically acceptable salt, ester or amide thereof; wherein p is an integer selected from 1 or 2; R 14 is selected from the group consisting of —H and —C 1-6 alkyl; q is an integer selected from 0, 1 or 2; each R 13 is independently selected from the group consisting of —C 1-6 alkyl, —OC 1-6 alkyl, and halo; R 11 is —H or is independently selected from the group consisting of —C 1-6 alkyl, —C 3-8 cycloalkyl, and 4- to 8-membered heterocycloalkyl ring; wherein each alkyl, cycloalkyl, and heterocycloalkyl is optionally substituted with one, two, or three substituents R a ; each R a substituent is independently selected from the group consisting of —C 1-6 alkyl, fluoro, —OH, —OC 1-6 alkyl, and —NR b R c ; R b and R c are each independently —H or —C 1-6 alkyl, or R b and R c taken together with their nitrogen of attachment form a 5- to 7-membered heterocycloalkyl ring, said ring optionally substituted with halo, —C 1-4 alkyl, —OH, or —OC 1-6 alkyl; R 12 is independently selected from the group consisting of —C 1-6 alkyl, —C 3-8 cycloalkyl, and 4- to 8-membered heterocycloalkyl ring; wherein each alkyl, cycloalkyl, and heterocycloalkyl is optionally substituted with one, two, or three substituents R a ; alternatively, R 11 and R 12 taken together with their nitrogen of attachment form a 5- to 7-membered heterocycloalkyl ring; wherein the heterocycloalkyl ring is optionally substituted with one, two, or three substituents R d ; each R d substituent is independently selected from the group consisting of —C 1-4 alkyl, halo, —CH 2 F, —CHF 2 , —CF 3 , —OH, —OC 1-6 alkyl, —C 1-4 alkylOH, and —NR e R f ; wherein R e and R f are independently —H or —C 1-6 alkyl ; comprising reacting a compound of formula (XX); in a first organic solvent; to yield the corresponding compound of formula (XXI), wherein L is a leaving group; and wherein the compound of formula (XXI) is not isolated; reacting the compound of formula (XXI) with a compound of formula (XXII); in the presence of an organic or inorganic base; in a second organic solvent; to yield the corresponding compound of formula (XXIII); wherein the compound of formula (XXIII) is not isolated; and reacting the compound of formula (XXIII) with a compound of formula (XXIV); in the presence of a reducing agent; in a third organic solvent; to yield the corresponding compound of formula (II); wherein the first organic solvent, the second organic solvent and the third organic solvent are the same and optionally reacting the compound of formula (II) to yield the corresponding hydrate or pharmaceutically acceptable salt, ester or amide of the compound of formula (II).