# US 2023/0069174 A1 · Nitrogen-containing heterocyclic autotaxin inhibitor, and composition containing same and use thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0069174 A1
- Document ID: US20230069174A1
- Status: Published application
- Kind: A1
- Application number: 17/784,405
- Filed: 2020-12-10
- Published: 2023-03-02
- Earliest claimed: 2019-12-11
- Assignees: Sichuan Haisco Pharmaceutical Co., Ltd.
- Applicants: Sichuan Haisco Pharmaceutical Co., Ltd.
- Inventors: Yao LI; Zongjun SHI; Wenjing WANG; Yongli WANG; Yunpeng PEI; Changwei SONG; Yonghong LI; Pingming TANG; Yan YU; Chen ZHANG; Jia NI; Pangke YAN
- Web page: https://patentgrep.com/patent/US20230069174A1

## CPC

- A61P 39/00: General protective or antinoxious agents
- C07D 471/04: Ortho-condensed systems
- A61K 31/437: the heterocyclic ring system containing a five-membered ring having nitrogen as a ring hetero atom, e.g. indolizine, beta-carboline
- A61K 31/506: not condensed and containing further heterocyclic rings
- A61P 1/16: for liver or gallbladder disorders, e.g. hepatoprotective agents, cholagogues, litholytics
- A61P 3/00: Drugs for disorders of the metabolism (of the blood or the extracellular fluid A61P7/00)
- A61P 9/02: Non-specific cardiovascular stimulants, e.g. drugs for syncope, antihypotensives
- A61P 11/00: Drugs for disorders of the respiratory system
- A61P 13/12: of the kidneys
- A61P 25/00: Drugs for disorders of the nervous system
- A61P 27/02: Ophthalmic agents
- A61P 29/00: Non-central analgesic, antipyretic or antiinflammatory agents, e.g. antirheumatic agents; Non-steroidal antiinflammatory drugs [NSAID]
- A61P 35/00: Antineoplastic agents
- A61P 37/06: Immunosuppressants, e.g. drugs for graft rejection
- C07D 401/12: linked by a chain containing hetero atoms as chain links
- C07D 413/14: containing three or more hetero rings
- C07D 491/147: the condensed system containing one ring with oxygen as ring hetero atom and two rings with nitrogen as ring hetero atom
- C07D 519/00: Heterocyclic compounds containing more than one system of two or more relevant hetero rings condensed among themselves or condensed with a common carbocyclic ring system not provided for in groups C07D453/00 or C07D455/00
- A61P: SPECIFIC THERAPEUTIC ACTIVITY OF CHEMICAL COMPOUNDS OR MEDICINAL PREPARATIONS
- C07D: HETEROCYCLIC COMPOUNDS (macromolecular compounds C08)
- A61K: PREPARATIONS FOR MEDICAL, DENTAL OR TOILETRY PURPOSES (devices or methods specially adapted for bringing pharmaceutical products into particular physical or administering forms A61J3/00; chemical aspects of, or use of materials for deodorisation of air, for disinfection or sterilisation, or for bandages, dressings, absorbent pads or surgical articles A61L; soap compositions C11D)

## Abstract

Disclosed are a nitrogen-containing heterocyclic compound as shown in formula (I), or a stereoisomer, a solvate, a deuterated form, a pharmaceutically acceptable salt, or a cocrystal thereof or a pharmaceutical composition containing same, and the use thereof in the preparation of a drug for treating/preventing diseases mediated by autotaxin. Each group in formula (I) is as defined in the description.

## Claims

### Claim 1

A nitrogen-containing heterocyclic compound as shown in formula (I), or a stereoisomer, a solvate, a deuterated form, a pharmaceutically acceptable salt or a cocrystal thereof,
wherein M1 is
L1 is a bond, —(CR1R2)a—(NR7)b—W—(CR3R4)c—(NR8)d—(CR5R6)e— or —C(O)—(CR3R4)c—C═CR7—;
W is —C(═X)— or a 3-6 membered heterocyclene containing 1-3 heteroatoms selected from N, O or S;
X is O, S or NRx, wherein Rx is H or cyano;
each of R1 to R6 is independently selected from H, halogen, C1-4 alkyl or C3-6 cycloalkyl;
R7 and R8 are each independently selected from H, C1-4 alkyl or C3-6 cycloalkyl;
alternatively, R1 and R2 on the same carbon atom, R3 and R4 on the same carbon atom, or R5 and R6 on the same carbon atom together with the carbon atom to which they are attached form a 3-6-membered carbocyclic ring, wherein the carbocyclic ring is optionally substituted with 1-4 substituents selected from halogen or C1-4 alkyl;
a, c and e are independently selected from an integer of 0-5, and b and d are independently 0 or 1;
A is C3-6 cycloalkylene,
C2-4 alkynylene, —RaC(O)NRa′—, —RaNRa′C(O)—, —RaNRa′—, —RaC(O)—, —Ra(CRa′Ra″)n— or a bond;
Ra is
Ra′ and Ra″ are independently H or C1-4 alkyl;
n is an integer of 1-2;
X1 and X2 are independently N or CRA1, and are not both CRA1 at the same time, and X3 is S, O or NRA1;
X4, X5 and X6 are independently N, NRA1, S, O or CRA1, and are not all CRA1 at the same time;
each RA1 is independently H, cyano, —RA, halogen, —C1-4 alkyl RA, —NHC(O)RA, —C(O)RA, —C1-4 alkyl-O—C1-4 alkyl, —NHRA, —C(O)NHRA or —ORA;
RA is C1-4 alkyl, C3-6 cycloalkyl, C3-6 cycloalkyloxy, C1-4 alkoxy, C1-4 haloalkyl, C1-4 haloalkoxy or a 3-6 membered heterocyclyl containing 1-3 heteroatoms selected from N, O or S, wherein the alkyl, cycloalkyl, cycloalkyloxy, alkoxy, haloalkyl, haloalkoxy and heterocyclyl are optionally further substituted with 1-6 groups selected from C3-6 cycloalkyl, C1-4 alkyl, halogen, —S(O)2C1-4 alkyl, —OC1-4 alkyl or cyano;
B is
Y1 is O, S or NRB3;
Cy has a structure:
wherein, represents a single bond or a double bond, Z1 is C or N, ring E is a 5-membered heterocycle containing 1-3 heteroatoms selected from N, O or S, and ring D is a 6-membered ring containing 0-3 heteroatoms selected from N, O or S; the 5-membered heterocycle and the 6-membered ring are independently and optionally substituted with 1-3 RB2;
RB1 and RB2 are each independently selected from H, oxo, OH, halogen, cyano, C1-4 alkyl, halo C1-4 alkyl, C1-4 alkyloxy or C3-6 cycloalkyl; RB3 is selected from H, C1-4 alkyl or C3-6 cycloalkyl;
alternatively, group RA1 on A and group RB1 on B together with the atoms to which they are attached form a 6-10-membered heterocycle containing 1-3 heteroatoms selected from N, S, and O;
f is an integer of 0-3;
L2 is —O—, —NR9—, —C(O)NR9—, —NR9C(O)NR9—, —(CR10R11)g—, —NR9—(CR10R11)g— or a bond, wherein g is an integer of 1-3;
R9 is H or C1-4 alkyl;
R10 and R11 are each independently H, halogen, C1-4 alkyl or C3-6 cycloalkyl; alternatively, R10 and R11 on the same carbon atom together with the carbon atom to which they are attached form a 3-6 membered carbocyclic ring;
M2 is
Z2 and Z3 are each independently CRM or N, and Z4 is O, S or NRM1;
each RM is independently H, C1-4 alkyl, C1-4 alkoxyalkyl, cyano, C3-6 cycloalkyl, C3-6 cycloalkyloxy, —SRm′, —S(O)2Rm′, —C(O)NRmRm′, —NRmC(O)Rm′, C2-6 alkenyl, C2-6 alkynyl, —NRM1, 3-6 membered heterocyclyl containing 1-3 heteroatoms selected from N, O or S or halogen, wherein the alkyl, alkenyl, alkynyl and cycloalkyl are each optionally substituted with 1-3 groups selected from halogen, cyano, C1-4 alkoxy, halo C1-4 alkyl or halo C1-4 alkoxy, and the heterocyclyl is optionally substituted with 1-3 groups selected from halogen, oxo or C1-4 alkyl;
alternatively, two RM on adjacent ring carbon atoms in M2 together with the carbon atom to which they are attached form a 3-6 membered carbocyclic ring or a 3-6 membered heterocyclyl containing 0-3 heteroatoms selected from N, O or S;
Rm is H, C1-4 alkyl or halo C1-4 alkyl;
Rm′ is C1-4 alkyl or halo C1-4 alkyl;
RM1 is H, C1-4 alkyl, C3-6 cycloalkyl, C1-4 haloalkyl or C1-4 alkoxyalkyl;
RM2 is halo C1-4 alkoxy;
each R12 is independently H, halogen, C1-4 alkyl, C3-6 cycloalkyl or halo C1-4 alkyl;
h is an integer of 0-3;
i is 0, 1 or 2;
provided that: when M1 is
L1 is —C(O)—CH2—, A is
B is
L2 is —NH—, and M2 is
RB1 and RB2 are not both H at the same time;
when M1 is
L1 is —C(O)—CH2—, A is
B is
and L2 is —NH—CH2—, M2 is not
when M1 is
L1 is —C(O)—CH2—, A is
B is
L2 is —NH—, and M2 is
at least one substituent RA1 in A is selected from cyano, halogen, C3-4 cycloalkyloxy, cyclopropylmethyloxy, C1-4 haloalkoxy, cyclopropylmethyl, —C1-4 alkyl-O—C1-4 alkyl, —NHC(O) RA, —C(O)NHRA, —C(O)—C3-6 cycloalkyl,
and when M1 is
L1 is —C(O)—CH2—, A is
B is
L2 is —NH—, and M2 is
RA1 is not methyl, ethyl or cyclopropyl.

### Claim 2

(canceled)

### Claim 3

(canceled)

### Claim 4

(canceled)

### Claim 5

(canceled)

### Claim 6

(canceled)

### Claim 7

(canceled)

### Claim 8

(canceled)

### Claim 9

(canceled)

### Claim 10

(canceled)

### Claim 11

(canceled)

### Claim 12 (depends on 1)

The nitrogen-containing heterocyclic compound according to claim 1, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof, wherein:
B is
at least one of RB1 and RB2 is selected from OH, halogen, cyano, halo C1-4 alkyl, C1-4 alkyloxy or C3-6 cycloalkyl, or group RA1 on A and group RB1 on B together with the atoms to which they are attached form a 6-8-membered heterocycle containing 1 O atom; or
B is
wherein RB2 is halogen or cyano, and f is 1, 2 or 3; or
B is
Y1 is O, S or NRB3, f is an integer of 0-3, and RB1 and RB2 are each independently selected from H, oxo, OH, halogen, cyano, C1-4 alkyl, halo C1-4 alkyl, C1-4 alkyloxy or C3-6 cycloalkyl; RB3 is selected from H, C1-4 alkyl or C3-6 cycloalkyl.

### Claim 13 (depends on 12)

The nitrogen-containing heterocyclic compound according to claim 12, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof, wherein the compound has a structure as shown in formula (V)
wherein B is
and at least one of RB1 and RB2 is selected from OH, halogen, cyano, halo C1-4 alkyl, C1-4 alkyloxy or C3-6 cycloalkyl; or
B is
wherein RB2 is halogen or cyano, and f is 1, 2 or 3; or
B is
Y1 is O, S or NRB3, f is an integer of 0-3, and RB1 and RB2 are each independently selected from H, oxo, OH, halogen, cyano, C1-4 alkyl, halo C1-4 alkyl, C1-4 alkyloxy or C3-6 cycloalkyl; RB3 is selected from H, C1-4 alkyl or C3-6 cycloalkyl.

### Claim 14

(canceled)

### Claim 15 (depends on 1)

The nitrogen-containing heterocyclic compound according to claim 1, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof, wherein
is selected from one of the following structures:

### Claim 16 (depends on 1)

The nitrogen-containing heterocyclic compound according to claim 1, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof, wherein:
when M2 is
h is not 0, and at least one RM is halo C1-4 alkyl, cyano, C3-6 cycloalkyl, C2-6 alkynyl or a 3-6 membered heterocyclyl containing 1-3 heteroatoms selected from N, O or S, the alkyl is optionally substituted with 1-3 groups selected from halogen or cyano, and the heterocyclyl is optionally substituted with 1-3 groups selected from halogen, oxo or C1-4 alkyl; or, alternatively, two RM on adjacent ring carbon atoms in M2 together with the carbon atoms to which they are attached form a 3-6 membered carbocyclic ring or a 3-6 membered heterocyclyl containing 0-3 heteroatoms selected from N, O or S;
and when M2 is
Z3 is CRM or N, Z4 is O, S or NRM1, each RM is independently H or C1-4 alkyl, RM1 is H or C1-4 alkyl, and h is 0, 1, 2 or 3.

### Claim 17 (depends on 16)

The nitrogen-containing heterocyclic compound according to claim 16, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof, wherein the compound has a structure as shown in formula (VII)

### Claim 18 (depends on 1)

The nitrogen-containing heterocyclic compound according to claim 1, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof, wherein,
M1 is
L1 is —(CR1R2)a—(NR7)b—W—(CR3R4)c—(NR8)d—(CR5R6)e;
W is —C(═X)—, and X is O or S;
a and b are 0, c is 1 or 2, and d and e are 0;
R3 and R4 are each independently selected from H, halogen or C1-4 alkyl, and are not both H at the same time;
A is
B is
wherein both RB1 and RB2 are H;
L2 is —NR9—, and R9 is H;
M2 is
both Z2 and Z3 are CRM, and Z4 is O or S;
each R12 is independently H, halogen, C1-4 alkyl, C3-6 cycloalkyl or halo C1-4 alkyl;
h is 0, 1 or 2;
and each RM is independently H or C1-4 alkyl, the alkyl is optionally substituted with 1-3 halogens.

### Claim 19 (depends on 1)

The nitrogen-containing heterocyclic compound of formula (I) according to claim 1, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof,
wherein, M1 is
L1 is a bond or —(CR1R2)a—(NR7)b—W—(CR3R4)c—(NR8)d—(CR5R6)e—;
W is —C(═X)—;
X is O, S or NRx, and Rx is H or cyano;
each of R1 to R6 is independently selected from H, halogen, C1-4 alkyl or C3-6 cycloalkyl;
R7 and R8 are each independently selected from H, C1-4 alkyl or C3-6 cycloalkyl;
alternatively, R1 and R2 on the same carbon atom, R3 and R4 on the same carbon atom, or R5 and R6 on the same carbon atom together with the carbon atom to which they are attached form a 3-6-membered carbocyclic ring, wherein the carbocyclic ring is optionally substituted with 1-4 substituents selected from halogen or C1-4 alkyl;
a, c and e are independently selected from 0, 1, 2 and 3, and b and d are independently 0 or 1;
A is
—RaC(O)NRa′—, —RaNRa′C(O)—, —RaNRa′—, —RaC(O)—, or —Ra(CRa′Ra″)n—;
Ra is
Ra′ and Ra″ are independently H or C1-4 alkyl;
n is 1 or 2;
X1 and X2 are independently N, NRA1 or CRA1, and are not both CRA1 at the same time;
X4, X5 and X6 are independently N, NRA1, S, O or CRA1, and are not all CRA1 at the same time;
each RA1 is independently substituted with substituents of H, cyano, —RA, halogen, —C1-4 alkyl RA, —NHC(O)RA, —C(O)RA, —C1-4 alkyl-O—C1-4 alkyl, —NHRA, —C(O)NHRA, and —ORA;
RA is C1-4 alkyl, C3-6 cycloalkyl or a 3-6 membered heterocyclyl containing 1-3 heteroatoms selected from N, O or S, wherein the alkyl, cycloalkyl, and heterocyclyl are optionally further substituted with 1-6 groups selected from C3-6 cycloalkyl, C1-4 alkyl, halogen, —S(O)2C1-4 alkyl, —OC1-4 alkyl or cyano;
B is
RB1 and RB2 are each independently selected from H, OH, halogen, cyano, C1-4 alkyl, halo C1-4 alkyl, C1-4 alkyloxy or C3-6 cycloalkyl;
L2 is —O—, —NR9—, —(CR10R11)g—, —NR9—(CR10R11)g— or a bond, wherein g is an integer of 1-3;
R9 is H or C1-4 alkyl;
R10 and R11 are each independently H, halogen, C1-4 alkyl or C3-6 cycloalkyl; alternatively, R10 and R11 on the same carbon atom together with the carbon atom to which they are attached form a 3-6 membered carbocyclic ring;
M2 is
Z2 and Z3 are CRM or N, and Z4 is O, S or NRM1;
each RM is independently H, C1-4 alkyl, cyano, C3-6 cycloalkyl, —SRm′, —S(O)2Rm′, —C(O)NRmRm′, —NRmC(O)Rm′, C2-6 alkynyl, a 3-6 membered heterocyclyl containing 1-3 heteroatoms selected from N, O or S, or halogen, the alkyl, alkynyl, and cycloalkyl are optionally substituted with 1-3 groups selected from halogen, cyano, C1-4 alkoxy, halo C1-4 alkyl or halo C1-4 alkoxy, the heterocyclyl is optionally substituted with 1-3 groups selected from halogen, oxo, and C1-4 alkyl;
Rm is H, C1-4 alkyl, and halo C1-4 alkyl, Rm′ is C1-4 alkyl and halo C1-4 alkyl;
alternatively, two RM on adjacent ring carbon atoms in M2 together with the carbon atom to which they are attached form a 3-6 membered carbocyclic ring or a 3-6 membered heterocyclyl containing 0-2 heteroatoms selected from N, O or S;
RM1 is H, C1-4 alkyl or C3-6 cycloalkyl;
RM2 is halo C1-4 alkoxy;
each R12 is independently H, halogen, C1-4 alkyl, C3-6 cycloalkyl or halo C1-4 alkyl;
h is an integer of 0-3; i is 0, 1 or 2;
provided that, the compound is not:

### Claim 20 (depends on 19)

The nitrogen-containing heterocyclic compound according to claim 19, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof,
wherein, L1 is a bond or —W—(CR3R4)c—;
W is —C(═X)—;
X is O or S;
R3 and R4 are each independently selected from H, halogen or C1-4 alkyl;
alternatively, R3 and R4 on the same carbon atom together with the carbon atom to which they are attached form a 3-6 membered carbocyclic ring;
c is selected from 0, 1 and 2;
A is
—RaC(O)NRa′—, —RaNRa′C(O)—, —RaC(O)— or —Ra(CRa′Ra″)n—;
Ra is
Ra′ and Ra″ are H or C1-4 alkyl;
n is 1 or 2;
X1 and X2 are independently N, NRA1 or CRA1, and are not both CRA1 at the same time;
X4, X5 and X6 are independently N, NRA1, S, O or CRA1, and are not all CRA1 at the same time;
each RA1 is independently H;
B is
both RB1 and RB2 are H;
L2 is —NR9— or —NR9—(CR10R11)g—, wherein g is an integer of 1-3;
R9 is H;
R10 and R11 are each independently H;
M2 is
Z2 and Z3 are CRM, and Z4 is O or S;
each RM is independently H, C1-4 alkyl, C3-6 cycloalkyl, —SRm′, —S(O)2Rm′, —C(O)NRmRm′, —NRmC(O)Rm′, C2-6 alkynyl, a 3-6 membered heterocyclyl containing 1-3 heteroatoms selected from N, O or S, or halogen, the alkyl, alkynyl, and cycloalkyl are optionally substituted with 1-3 groups selected from halogen, C1-4 alkoxy, halo C1-4 alkyl or halo C1-4 alkoxy, the heterocyclyl is optionally substituted with 1-3 groups selected from halogen, oxo, and C1-4 alkyl;
Rm is H or C1-4 alkyl, and Rm′ is C1-4 alkyl;
alternatively, two RM on adjacent ring carbon atoms in M2 together with the carbon atom to which they are attached form a 3-6 membered carbocyclic ring or a 3-6 membered heterocyclyl containing 0-2 heteroatoms selected from N, O or S;
RM2 is halo C1-4 alkoxy;
h is 0, 1 or 2;
and i is 0, 1 or 2.

### Claim 21 (depends on 20)

The nitrogen-containing heterocyclic compound according to claim 20, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof,
wherein, M2 is
h is 1 or 2,
RM is C1-4 alkyl, C3-6 cycloalkyl, —SRm′, —S(O)2Rm′, —C(O)NRmRm′, —NRmC(O)Rm′, C2-6 alkynyl or a 3-6 membered heterocyclyl containing 1-3 heteroatoms selected from N, O or S the alkyl is optionally substituted with 1-3 groups selected from halogen, C1-4 alkoxy or halo C1-4 alkoxy, and the heterocyclyl is optionally substituted with 1-3 groups selected from halogen, oxo, and C1-2 alkyl;
alternatively, two RM on adjacent ring carbon atoms in M2 together with the carbon atoms to which they are attached form a 3-6 membered carbocyclic ring or a 3-6 membered heterocyclyl containing 0-2 heteroatoms selected from N, O or S.

### Claim 22

(canceled)

### Claim 23

(canceled)

### Claim 24 (depends on 1)

The nitrogen-containing heterocyclic compound according to claim 1, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof, wherein,
M1 is
L1 is —W—(CR3R4)c— or —W—(NR8)d—(CR5R6)e—;
W is —C(═X)—;
X is O or S;
R3, R4, R5 and R6 are each independently selected from H, halogen or C1-4 alkyl;
each R8 is independently selected from H, C1-4 alkyl or C3-6 cycloalkyl;
alternatively, R3 and R4 on the same carbon atom, or R5 and R6 on the same carbon atom together with the carbon atom to which they are attached form a 3-6 membered carbocyclic ring;
c and e are selected from 0 or 1, and d is 1;
A is
X1 and X2 are independently N or CRA1, and are not both CRA1 at the same time;
RA1 is cyano, C1-4 alkyl, —RA or halogen;
RA is C3-6 cycloalkyl, C3-6 cycloalkyloxy, C1-4 alkoxy, C1-4 haloalkyl, and C1-4 haloalkoxy, wherein the cycloalkyl, cycloalkyloxy, alkoxy, haloalkyl, and haloalkoxy are optionally further substituted with 1-3 groups selected from C1-4 alkyl, halogen and cyano;
B is
both RB1 and RB2 are H;
L2 is —NR9—;
R9 is H or C1-4 alkyl;
M2 is
Z2 and Z3 are CRM or N, and Z4 is O or S;
each RM is independently H, C1-4 alkyl, C1-4 alkoxyalkyl, cyano, C3-6 cycloalkyl, C3-6 cycloalkyloxy, C2-6 alkenyl, C2-6 alkynyl, —NRM1, or a 3-6 membered heterocyclyl containing 1-3 heteroatoms selected from N, O or S, wherein the alkyl, alkenyl, alkynyl, and cycloalkyl are optionally substituted with 1-3 groups selected from halogen and cyano, and the heterocyclyl is optionally substituted with 1-3 groups selected from halogen or C1-4 alkyl;
alternatively, two RM on adjacent ring carbon atoms in M2 together with the carbon atoms to which they are attached form a 3-6 membered carbocyclic ring or a 3-6 membered heterocyclyl containing 0-3 heteroatoms selected from N, O or S;
RM1 is H, C1-4 alkyl, C3-6 cycloalkyl, C1-4 haloalkyl or C1-4 alkoxyalkyl;
each R12 is independently H, halogen or C1-4 alkyl;
h is an integer of 0-3;
and i is 0, 1 or 2.

### Claim 25 (depends on 17)

The nitrogen-containing heterocyclic compound according to claim 17, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof, wherein,
M2 is
Z2 is CRM;
each RM is independently H, C1-4 alkyl, C1-4 alkoxyalkyl, C3-6 cycloalkyloxy, C2-6 alkenyl, C2-4 alkynyl, —NRM1, or a 3-6 membered heterocyclyl containing 1-3 heteroatoms selected from N, O or S, the alkyl, alkenyl and alkynyl are optionally substituted with 1-3 halogens and cyano;
alternatively, two RM on adjacent ring carbon atoms in M2 together with the carbon atoms to which they are attached form a 3-6 membered carbocyclic ring or a 3-6 membered heterocyclyl containing 0-3 heteroatoms selected from N, O or S;
RM1 is H, C1-4 alkyl or C3-6 cycloalkyl;
and h is 1 or 2.

### Claim 26 (depends on 24)

The nitrogen-containing heterocyclic compound according to claim 24, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof, wherein,
L1 is —C(O)CR3R4—;
R3 and R4 are independently selected from H, halogen and C1-4 alkyl;
A is
B is
L2 is NH;
M2 is
h is 1 or 2;
each RM is independently H, C1-4 alkyl or C2-4 alkynyl; the alkyl or alkynyl is optionally substituted with 1-3 groups selected from halogen and cyano;
and R3, R4 and RM are not all H at the same time.

### Claim 27 (depends on 1)

The nitrogen-containing heterocyclic compound according to claim 1, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof, wherein the compound is selected from one of the following structures:

### Claim 28 (depends on 1)

A pharmaceutical composition, comprising a pharmaceutically effective amount of the nitrogen-containing heterocyclic compound of claim 1, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof, and a pharmaceutically acceptable adjuvant and/or carrier.

### Claim 29

(canceled)

### Claim 30 (depends on 1, 28)

A method for treating or preventing a disease mediated by autotaxin, comprising administering the nitrogen-containing heterocyclic compound of claim 1, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof, or the composition of claim 28 for treating or preventing diseases mediated by autotaxin.

### Claim 31 (depends on 30)

The method of claim 30, wherein the disease mediated by autotaxin is selected from cardiovascular conditions, cancers, metabolism disorders, kidney conditions, hepatic conditions, inflammatory conditions, nervous system conditions, respiratory system conditions, fibrotic diseases, ophthalmic conditions, cholestasis and other forms of chronic itch and acute or chronic organ-graft rejection.

### Claim 32 (depends on 31)

The method of claim 31, wherein the inflammatory conditions are selected from arthritis, atopic dermatitis, arthritis and asthma.

### Claim 33 (depends on 1)

The nitrogen-containing heterocyclic compound according to claim 1, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof, wherein
a, c and e are independently selected from an integer of 0-3, and b and d are independently 0 or 1;
W is —C(═X)— or a 5-membered heterocyclene containing 1-2 heteroatoms selected from N and O, wherein X is O, S or NRx, and Rx is cyano;
each of R1 to R6 is independently selected from H, halogen, and C1-4 alkyl, and R7 and R8 are independently selected from H or C1-4 alkyl;
alternatively, R3 and R4 on the same carbon atom, or R5 and R6 on the same carbon atom together with the carbon atom to which they are attached form a 3-4-membered carbocyclic ring, wherein the carbocyclic ring is optionally substituted with 1-2 substituents selected from halogen or C1-2 alkyl;
A is C3-6 cycloalkylene,
C2-4 alkynylene or a bond;
RA is C1-4 alkyl, C3-4 cycloalkyl or a 4-6-membered heterocyclyl containing 1-2 heteroatoms selected from N and O, wherein the alkyl and heterocyclyl are each optionally further substituted with 1-5 groups selected from C3-4 cycloalkyl, C1-4 alkyl, halogen, —S(O)2C1-2 alkyl, —OC1-2 alkyl or cyano; or
L1 is —C(═O)—(NH)d—CR3R4—, d is 0 or 1, at least one of R3 and R4 is halogen, or R3 and R4 and the carbon atom to which they are attached form a 3-4-membered carbocyclic ring; or
L1 is —C(═S)—CR3R4—, wherein R3 and R4 are independently selected from H, halogen or C1-4 alkyl; or
L1 is —C(═N—CN)—CR3R4—, wherein R3 and R4 are independently selected from H, halogen or C1-4 alkyl; or
L1 is —C(O)—CR3R4—C═CR7—, wherein R3 and R4 are independently selected from H, halogen or C1-4 alkyl, and R7 is H or C1-4 alkyl; or
L1 is —W—(CR3R4)c—, wherein W is a 5-membered heterocyclene containing 1-2 heteroatoms selected from N and O, and c is an integer of 0-3.

### Claim 34 (depends on 1, 3)

The nitrogen-containing heterocyclic compound according to claim 3, or the stereoisomer, the solvate, the deuterated form, the pharmaceutically acceptable salt or the cocrystal thereof, wherein the compound has a structure as shown in formula (II), (III) or (IV):
wherein L1 is as defined in formula (I) of claim 1;
wherein L2 is as defined in formula (I) of claim 1; or
wherein L1 is —C(O)—(CR5R6)e—, R5 and R6 are defined as in claim 1.
