Here it is included the pseudocode for the Decision Support System for assessing management interventions in a Mental Health ecosystem. This pseudocode can be used to reproduce the experiments that we have carried out in Bizkaia (Basque Country, Spain).1: DSS procedure2: The solution pool (SP) is cleaned3: Forj=1 to do → being j the simulation number and the maximum number of simulations4: For i=1 to do → being i the scenario number and the maximum number of scenarios5: Fork=1 to do → being k the SHA (DMU) number and the number of SHA6: Original dataset Sijk → the Monte-Carlo simulation engine selects at random a value for each simulation, variable and SHA k according to their specific statistical distributions.7: Calculate Dijk and Oijk → the fuzzy inference engine determines the day care and outpatient care fuzzy sets and membership degrees for each SHA8: Calculate and → the fuzzy inference engine determines the range for variable value interpretation according to the B-MHCCM9: Interpreted dataset Iijk → the original dataset Sijk are interpreted by the fuzzy inference engine according to the B-MHCCM10: Calculate RTEijkscores → variable returns to scale Data Envelopment Analysis (DEA) model (both input and output-oriented) 11: Save RTEijk scores in the solution pool12: end for13: end for14: end for15: end procedure