[Cl:1][C:2]1[CH:3]=[C:4]([CH:21](O)[CH3:22])[C:5]2[O:11][CH2:10][CH2:9][N:8]([C:12]([O:14][C:15]([CH3:18])([CH3:17])[CH3:16])=[O:13])[CH2:7][C:6]=2[C:19]=1[CH3:20].CN(C)C=O.S(Cl)([Cl:31])=O>C(Cl)Cl>[Cl:1][C:2]1[CH:3]=[C:4]([CH:21]([Cl:31])[CH3:22])[C:5]2[O:11][CH2:10][CH2:9][N:8]([C:12]([O:14][C:15]([CH3:18])([CH3:17])[CH3:16])=[O:13])[CH2:7][C:6]=2[C:19]=1[CH3:20]A mixture of tert-butyl 7-chloro-9-(1-hydroxyethyl)-6-methyl-2,3-dihydro-1,4-benzoxazepine-4(5H)-carboxylate (280 mg, 0.82 mmol) and N,N-dimethylformamide (30 μL) in methylene chloride (6 mL) was stirred and thionyl chloride (120 μL, 1.7 mmol) was added dropwise. The mixture was stirred at room temperature for 20 minutes. The mixture was diluted with methylene chloride, washed with saturated sodium bicarbonate, water, brine, dried over sodium sulfate, filtered and concentrated to give the desired product (295 mg, 100%).