“…As independent/explanatory variables, those recognized by clinical practice and scientific literature were used 1,3,4,7,9,11 as factors that may interfere with the type of discharge: homelessness (yes or no), the substance used (alcohol, crack, cocaine and marijuana), the pattern of use (none, occasional, weekly or daily), medical and nursing evaluation for admission (yes or no), going to bed for detoxification (yes or no), length of stay proposed by the team and length of stay (numerical), need for hospital support during the night care embracement (yes or no), and hospitalization previous psychiatric (yes or no). It is worth mentioning that all these terms and criteria were reproduced following the template from paper records and patient documentation used in the CAPS.…”