B. Consommation de drogues sur toute la durée de la cure

DEFINE RAPHERO Nombre moyen de prises d'héroïne par mois:

Raphero= TOTURPO : NBMOISANAL

C. Domaine socio-professionnel

DEFINE INSTPROF Instabilité professionnelle :

instprof = 0

if travcont = . then instprof = .

if age < 30 and travcont <> . and (sitprof = 3 or \

(travcont < 19 and nivscol < 17) or durinact > 12) then instprof = 1

if (age >= 30 and < 34) and travcont <> . and \

(travcont < 25 or durinact > 12 or sitprof = 3) then instprof = 1

if age >= 34 and travcont <> . and (sitprof = 3 or durinact > 12 or travcont < 31 or \

(travcont < 37 and sitprof = 2) then instprof = 1