Recovery of an antidepressant from pharmaceutical wastes using ionic liquid-based aqueous biphasic systems

This study is aimed at developing a sustainable process for the recovery of valuable drugs from pharmaceutical wastes using ionic liquid (IL)-based aqueous biphasic systems (ABS). Because in pharmaceutical wastes, excipients represent the major contaminants, the search for selective routes for their elimination is of primordial relevance and for that purpose IL-based ABS were evaluated. The effects of different process parameters, namely the IL nature, pH and mixture composition used in the extraction system, were studied and the process was optimized to maximize the extraction of the antidepressant from pharmaceutical wastes. Moreover, the maximum amount of amitriptyline able to be processed using such systems was assessed. The set of ABS investigated herein revealed a high extraction performance, as indicated by the outstanding logarithmic functions of the amitriptilyne partition coefficients ranging from 2.41 ± 0.05 to >2.5 and extraction efficiencies between 66% ± 1% and 100%. The best ABS and conditions were considered in the development of an integrated multi-step purification process. The process here proposed comprises three main stages as follows: the solid–liquid extraction of the antidepressant from ADT 25 pills, its purification using the optimal IL-based ABS and the antidepressant isolation by precipitation with anti-solvent. After the removal of most water insoluble excipients in the first step, with the selected IL-based ABS, it was possible to further eliminate water soluble contaminants. A high capability of extraction and purification, leading to the selective separation of amitriptyline hydrochloride from the main contaminants contained in solid pharmaceutical wastes was achieved. Finally, the isolation of the amitriptilyne in a pure state was successfully accomplished through precipitation with the anti-solvent.


Introduction
The growing production and consumption of pharmaceuticals worldwide is responsible for large levels of waste generated both in their production and final disposal and their occurrence in natural ecosystems. 1 The household disposal of drugs, the expiration date and the excessive package size are the main reasons behind such waste production. 2 Currently, wastes are mainly incinerated, providing the complete disintegration of the active compounds and preventing their entry in the environment. 2Beyond its inherent hazardous nature and high cost, there are valuable active pharmaceutical ingredients being completely destroyed, because circa 90% of the active ingredients is still in its active form past the expiration date. 3ntidepressants are one of the most intensively prescribed pharmaceutical classes throughout the globe. 4The prescription of antidepressants was around 300 000 packages in Portugal in 2001 and this number is growing. 5This group of drugs has been detected in surface and treated drinking water, wastewater treatment plants and aquatic organisms' tissues, showing a huge environmental persistency and signs of possible bioaccumulation. 6In addition, this class of pharmaceuticals is one of the hottest considering their market price.The free access data available are representative of their global market, revealing a total revenue of 8.7 billion U.S. dollars, considering the top antidepressant drugs sold in the United States between July of 2011 and June of 2012. 7The large amount of pharmaceutical waste that this creates, together with the idea behind the Horizon 2020 societal challenge, "Waste is a resource to recycle, reuse and recover raw materials", 8 drives the challenge to develop processes to use pharmaceutical wastes as a source of active ingredients, and particu- † Electronic supplementary information (ESI) available: Equations for tie-lines' determination, validation parameters for the HPLC method, weight fraction data of the phase diagrams, tie-lines and tie-line lengths, correlation parameters of the phase diagrams, weight fraction data and extraction parameters of the systems employed in assessing the maximum capacity, speciation curves of amitriptyline hydrochloride.See DOI: 10.1039/c5gc03052h larly antidepressant chemicals, which can be applied either as starting materials for other chemicals or as industrial or commercial standards.Thus, the development of strategic technologies to recover and purify these antidepressant ingredients of high value from waste-based matrices is of high relevance.
Liquid-liquid extraction (LLE) is an important separation and purification process in several industrial domains due to its benefits regarding energetic and operational costs and easy scale-up. 9As substitutes with outstanding potential for the traditional LLE processes, aqueous biphasic systems (ABS) gained favor across academia and industry. 10They can replace LLE processes constituted by volatile organic solvents, because ABS are formed by two aqueous-rich phases of incompatible and structurally different polymers, 11 salts 12 or a polymer and a salt, 13 therefore creating milder conditions for biomolecules.In this study, ABS composed of two salts, one of those belonging to the ionic liquids (ILs) class, are applied.
ILs have emerged as promising solvents to be used in LLE processes, 14 and particularly in ABS, 15 due to their unique properties 16 (e.g.negligible vapor pressure, high chemical and thermal stabilities and good solvation ability) and tunable characteristics 17 (meaning that different combinations of cations, anions and alkyl chains allow the preparation of a specific IL with controlled properties for a desired final application).A wide variety of IL-based ABS have been reported, based on an IL and inorganic or organic salts, polymers, carbohydrates and amino-acids, or even being used as additives, e.g.adjuvants, electrolytes and co-surfactants. 15,18,19ctually, this versatility plays an important role in the creation of ABS for specific applications, allowing the manipulation of the phases' polarities and affinities for different molecules/ compounds. 15,20The wide range of results reported in literature suggests that these systems present high effectiveness and selectivity if properly designed and optimized. 15ecently, the successful use of ABS to recover paracetamol from pharmaceutical wastes was reported. 21Following the same line of study, the main objective of this work was to recover and purify an antidepressant from its solid wastes through the application of IL-based ABS for its purification, thus enlarging the spectrum of active pharmaceutical ingredients recovered by this approach.ABS composed of phosphoniumand quaternary ammonium-based ILs together with distinct phosphate-based salts and buffers were selected to ascertain the partitioning behavior of amitriptyline hydrochloride (herein used as an antidepressant model compound).Finally, the best systems were integrated in a multi-stage process for the extraction, purification and isolation (or polishing) of amitriptyline hydrochloride directly from the pharmaceutical waste.1B.The purity of each IL was further checked through 1 H and 13 C NMR spectroscopy and found to match the purity levels given by the suppliers.The salts used were potassium phosphate tribasic, K 3 PO 4 ( purity ≥ 98 wt%) and potassium phosphate monobasic, KH 2 PO 4 ( purity ≥ 99.5 wt%), both from Sigma-Aldrich and potassium phosphate dibasic, K 2 HPO 4 ( purity ≥ 98 wt%), purchased from JMVP, Portugal.For the HPLC-UV-Vis mobile phase, the ammonium acetate ( purity ≥ 99.99%) and acetic acid ( purity ≥ 99.99%) were acquired from Sigma-Aldrich, the triethylamine (HPLC grade) was acquired from Fischer Chemical and the acetonitrile (HPLC grade) was purchased from HiPer-Solv CHROMANORM.Potassium hydroxide (KOH, pure) was supplied by Pronalab.The water used was double distilled, passed through a reverse osmosis system and further treated with a Milli-Q plus 185 water purification apparatus.

Materials
The pharmaceutical drug ADT 25 mg was produced in Portugal by Wynn Industrial Pharma, S. A. and obtained from a local pharmacy (Aveiro, Portugal).

Phase diagrams and tie-lines
The ternary phase diagrams for the systems [  24 at 298 (±1) K and atmospheric pressure.The experimental binodal curves were correlated using the Merchuk equation 25 (eqn (S1) provided in ESI †).
2][23][24] A ternary mixture of IL + salt + H 2 O at the biphasic region was prepared, stirred vigorously and allowed to reach thermodynamic equilibrium by the separation of phases for at least 18 hours at 298 (±1) K.After separation of the coexisting phases, they were separated carefully and weighed with a precision of ±10 −4 g.The TLs were determined by the application of the lever-arm rule through the relationship between the weight of the top (IL-rich) phase and that of the overall system.For the calculation of each TL, a system of four equations and four unknown variables was solved (eqn (S2)-(S5) described in more detail in the ESI †).The tie-line length (TLL) was determined as the Euclidean distance between the IL-rich (top) and salt-rich (bottom) phases compositions (eqn (S6) of the ESI †).

Quantification of amitriptyline hydrochloride
The liquid chromatograph HPLC Gilson was equipped with a UV-Vis detector 156 and a pump 321.The analytical column (100 × 4.6 mm) and precolumn were composed of a LiChrosphere 100 RP-C18 (5 μm) sorbent and were acquired from Merck.The mobile phase consisted of an aqueous phase (A) containing 21.5 mM acetic acid, 5 mM ammonium acetate buffer, 0.1 wt% pf trimethylamine ( pH 4.8) and 5 wt% acetonitrile (to prevent bacteria growth), and an organic phase (B) composed of pure acetonitrile.Separation was carried out under isocratic conditions with a mobile phase ratio of 50% of phase B, using a flow rate of 1 mL•min −1 .Quantification was based on the internal calibration using the respective peak areas, being two calibration curves prepared for higher and lower concentration regimes.The injection volume was 20 μL and the UV-Vis detector was set to measure at 240 nm.The validation parameters of the analytical method prepared are given in ESI Table S1.† The retention time of amitriptyline depends on the type of IL employed, being those with the bromide anion responsible for lower values (5.3 min for chloride-based vs. 3.4 min for bromide-based).

Optimization study of amitriptyline hydrochloride partition
Optimization of the extraction of amitriptyline hydrochloride from aqueous solution was carried using three variables as follows: the ionic liquid, the pH (by varying the salt) and the mixture point compositions (along the same tie line).For each optimization assay, 5 g total mixtures of IL + salt + water + ami-triptyline hydrochloride (≈10 −3 g) were prepared by weighing the appropriate amounts of each component (within an uncertainty of 10 −4 g).The mixtures were stirred vigorously and the systems were placed at 298 (±1) K for at least 18 hours to ensure complete separation of the two aqueous phases.Those were separated and collected for the measurement of weight (with an uncertainty of 10 −4 g) and volume (with an uncertainty of 0.1 mL) and for amitriptyline quantification.Under these conditions, the top and bottom phases correspond to an IL-rich and a salt-rich layer, respectively.Each system was carried out in triplicate (the standard deviations are reported along with the extraction parameters determined) and at least three injections per sample were performed.Moreover, the maximum amount of antidepressant to be processed by this technology was assessed using the same procedure described above with few modifications.Mixtures composed of 10 wt% [N 4444 ]Br + 25 wt% K 3 PO 4 and varying amounts of amitriptyline hydrochloride, from 2.53 up to 100.6 mg (which correspond to 0.51 up to 20.9 mg per gram of ABS), were added.
The extraction efficiency (EE Ami , %) was calculated using eqn (1) as follows: where m Ami is the mass of amitriptyline hydrochloride initially added to prepare the ABS and [Ami] IL and V IL are the amitriptyline hydrochloride concentration and the volume of the IL-rich (top) phase, respectively.The logarithmic functions of the partition coefficients, log K Ami , were calculated as the ratio between the concentration of amitriptyline hydrochloride found in the IL-rich (top), [Ami] IL , and in the salt-rich (bottom) phases, [Ami] Salt , represented by eqn (2) as follows: Recovery and isolation of amitriptyline hydrochloride from

ADT 25 mg
The extraction of amitriptyline hydrochloride from ADT 25 mg was carried out in a multi-stage process designed specifically for that purpose.In the first step, a solid-liquid extraction with water was performed, wherein amitriptyline hydrochloride was recovered from powdered ADT 25 mg tablets (under constant stirring, for 24 hours).The liquid solution (ADT pill solution) was then centrifuged and filtered (diameter of the pore 0.45 µm), to remove any insoluble excipients from the drug.The amitriptyline hydrochloride solution previously filtered was subsequently used in the preparation of the IL-based ABS selected previously from the optimization data as the best extraction systems.
pH assessment The pH of the salt solutions was monitored at 298 (±1) K using a Mettler Toledo S47 SevenMulti™ dual meter pH equipment with an uncertainty of ±0.02.

Results and discussion
The main objective of this study was the development of a new process based on IL-based ABS for the recovery of amitriptyline hydrochloride from pharmaceutical residues (ADT 25 mg).In this context, this study starts with an initial optimization of ABS (carried out with a commercial standard of the antidepressant), aiming at the analysis and interpretation of the extraction results and driving forces behind the partition of the antidepressant drug.From the insights gathered in the optimization task, the best systems will be further studied in the definition of an integrated process of purification, which will contemplate the extraction of the active drug from the solid pharmaceutical wastes, its purification using the most efficient ABS in terms of the extraction efficiency and purification performance and then the isolation of the antidepressant compound from the solvents used in the ABS preparation.

Partition of amitriptyline hydrochloride with ABS
The applicability of the IL-based ABS to the recovery of amitriptyline hydrochloride was investigated by the optimization of several parameters, namely, the IL structure, pH and mixture composition.An overview of the results obtained for the extraction parameters along with the conditions tested is reported in Table 1.The results indicate the complete partition of amitriptyline hydrochloride for the IL-rich phase, as confirmed by the large partition coefficients logarithmic functions obtained, generally higher than 2.5.This excellent capability to extract amitriptyline hydrochloride is corroborated by the remarkable extraction efficiency data obtained, which varied between 93% ± 3% and 100%.Its preferential distribution towards the IL-top phase, the most hydrophobic layer in these systems, is related to the lipophilic nature of this tricyclic antidepressant, in accordance with its high octanol-water partition coefficient (log K o/w of 4.85 26 ).To facilitate the analysis of each experiment, the results are represented in Fig. 2-4, which are organized according to the effect of ILs' structural features (Fig. 2), pH (Fig. 3) and mixture composition (Fig. 4).
The study of the IL structure effect on the extractive performance of amitriptyline hydrochloride was carried using ABS composed of circa 30 wt% of IL + 15 wt% of K 2 HPO 4 /KH 2 PO 4 ( pH 6.6).The results presented in Fig. 2 indicate that [N 4444 ]Cl is the best choice to efficiently extract this drug (EE Ami of 100% and log K Ami > 2.5).When comparing the influence of the cation structure, based on two ILs sharing the Br − anion, [P 4444 ]Br and [N 4444 ]Br, it is possible to observe a slightly     congeners is both their lower cost 27 and toxicity. 29ILs based on ammonium cations and halide anions were thus selected.The effect of pH on the extraction process was conducted using systems composed of [N 4444 ]Br or [N 4444 ]Cl, by varying the salting-out species, K 3 PO 4 at pH 13.2, K 2 HPO 4 at pH 9.6 and K 2 HPO 4 /KH 2 PO 4 at pH 6.6.For this purpose, additional binodal curves for the systems composed of [N 4444 ]Br + K 2 HPO 4 , [N 4444 ]Br + K 3 PO 4 and [N 4444 ]Cl + K 2 HPO 4 were determined to fulfill the series of ABS at distinct pH values.The data in mass fraction units of the ternary phase diagrams (Tables S2-S4), Merchuk parameters (Table S5) and information on the TLs and TLLs (Table S6) are provided in ESI.† It was verified that the main effects induced by the changes at the level of the IL's structural features and "salting-out" agents were in agreement with those well-described in the literature (decreasing order of ABS formation ability: K 3 PO 4 > K 2 HPO 4 and [N 4444 ]Br > [N 4444 ]Cl). 15The influence of pH on the charge of amitriptyline and on its subsequent extraction partition was also analyzed.Speciation of this molecule as a function of pH is presented in Fig. S1 in the ESI.† 30 Amitriptyline has an amine group in its structure that can become protonated and change its hydrophilicity ( pK a = 9.41 31 ).The three salts investigated herein provided a totally different pH to this heterocyclic drug: pH 6.6, where amitriptyline is in its ionized form, pH 9.6 in which only around of 60% of the species in solution are in their protonated form and pH 13.2, wherein amitriptyline is its neutral form. 30It is known that these charge modifications can affect the partitioning on the ABS, as the solubility in water of amitriptyline in its non-ionized form decreases drastically compared to the charged form. 32The results related to the pH effect on the extraction efficiencies of this antidepressant are presented in Fig. 3.The pH does not affect the extraction performance of [N 4444 ]Cl-based ABS, being constant at values of 100% and has a small effect for the systems based on the [N 4444 ]Br, in which this value increases slightly from 93% ± 3% (at pH 6.6) to 97% ± 3% (at pH 9.6) closer to 97.5% ± 0.6% (at pH 13.2).Moreover, from the partition coefficients results, wherein their logarithmic functions were larger than 2.5, it was observed that even changing the pH, the antidepressant always migrates extensively towards the top phase.This can only be explained by a process dominated by the salting-out from the salt-rich phase induced by the phosphate salts, coupled with the change in solvation resulting from the loss of electrostatic interactions as the drug with increasing pH becomes neutral, decreasing its solubility in water and increasing its lipophilicity.Moreover, the extraction performance achieved for the [N 4444 ]Clbased ABS (pH 6.6) is higher than that obtained for the [N 4444 ] Br-based ABS (pH 6.6); however, this tendency is attenuated at higher pH.This may be a direct consequence of the higher lipophilic character of [N 4444 ]Br compared to [N 4444 ]Cl, conjugated with the poorer water content in the [N 4444 ]Br-rich phase.Indeed, a longer TLL was achieved for [N 4444 ]Br than for [N 4444 ]Cl, taking into account the results for the same mixture point composition, i.e., larger amounts of IL and lower water contents in the IL-rich phase (for more details in the TLs see Table S6 in ESI †).
The influence of different mixture points, along the same TL, on the partitioning behavior of amitriptyline hydrochloride was also investigated.Herein, the main objective was to tune the volume ratio of the coexisting aqueous phases by reducing the IL-rich phase volume as much as possible to yield an as high as possible concentration of amitriptyline.For this purpose, mixture compositions laying on the same TL for [N 4444 ]Br + K 2 HPO  O and log K Ami > 2.5 for the entire set of systems).Systems composed of smaller top phases are better alternatives, not only from an operational point of view (improved extractive performances at the same time that facilitate further isolation strategies), but also from an economic perspective because the amounts of the IL used are minimized.
Given the promising extraction results afforded by the use of alkaline pH environments and the lower IL-rich phase volumes, systems composed of circa 10 wt% [N 4444 ]Br + 25 wt% K 3 PO 4 + 65 wt% H 2 O + distinct concentrations of antidepressant, were chosen to evaluate the maximum capacity of the present technology.The results in Fig. 5 show that the extraction efficiency increases with the amitriptyline concentration in the ABS (the detailed conditions and data are provided in ESI Table S7 †).A maximum EE Ami = 97% ± 3% is then reached at circa 50 mg of amitriptyline fed in the ABS, followed by a significant decrease (down to 66% ± 1%) -Fig.5A.In contrast, the logarithmic function of the partition coefficients does not depend on the amitriptyline concentration, being >2.5 (strong tendency to partition towards the IL-rich phase).The increase in the amitriptyline hydrochloride concentration in the ABS leads to its accumulation in the IL-rich phase, until saturation (C Ami = 93.5 mg of amitriptyline hydrochloride per g of IL-rich phase, as shown in Fig. 5B).As the amitriptyline hydrochloride concentration is increased further in the system, the formation of a third layer between the IL-rich phase and salt-rich phase is observed, which is likely the reason for the decrease in the extraction efficiencies (due to drug precipitation/losses) and thus can be considered an indication of the maximum capacity of the current technology.

Recovery and isolation of amitriptyline hydrochloride from ADT 25 mg
After the development of the amitriptyline hydrochloride purification process by the refinement of several IL-based ABS, their application to a real pharmaceutical waste-based matrix, i.e.ADT 25 mg pills, was carried out.A multi-stage process was set up including a solid-liquid extraction step followed by the physical separation of insoluble excipients, a purification stage involving the use of the best IL-based ABS selected in the optimization step and finally the isolation of the target drug.The proposed process diagram is depicted in Fig. 6.The solid-liquid extraction was performed using water as the principal solvent, in which amitriptyline hydrochloride is highly soluble.The ground pills were added to water and kept stirring for 24 hours to extract the total amount of the antidepressant.Subsequently, the resulting extract was submitted to two physical separation methods (filtration and centrifugation) to remove any insoluble excipients present in the aqueous extract rich in the antidepressant.At the end of these steps, the expected final concentration of amitriptyline hydrochloride (circa 31 g•dm −3 ) was determined theoretically based on the total amount of active ingredient in each pill (information retrieved from medicine flyers) and the number of pills added to the solid-liquid extracting agent.The actual concentration attained was confirmed by HPLC-UV-Vis, which was then regularly considered during the calculations of the efficiencies in the following steps.
The filtered aqueous extract obtained from the solid-liquid extraction is rich in amitriptyline and other compounds, namely, calcium hydrogenophosphate dehydrate and tartrazine, two of the excipients used in ADT 25 mg formulation with high solubility in water (information detailed by Infarmed for the medicine used in this study).Thus, the purification task was developed taking into account the most efficient IL-based ABS (considering the extraction efficiency results) according to optimization studies (  2 show that the extraction efficiency and the logarithmic function of the partition coefficients always exceed 92% ± 1% and 2.5, respectively; the results also consistent with those assessed in the optimization step using the commercial standard. During the purification of the antidepressant from the medicine ADT 25 mg using the [N 4444 ]Br and [N 4444 ]Cl + K 3 PO 4 + H 2 O systems, a white precipitate was formed in the interphase, which is in contrast to what was observed during the optimization studies with the pure standard (formation of two clear phases).In this context and to exclude any possibility of amitriptyline losses, the aqueous phases were separated and its concentration assessed by HPLC-UV-Vis.The extraction efficiency was 95% or 100%, respectively, meaning that this technology maintains its high performance and that the precipitate is not significantly composed by amitriptyline hydrochloride.This probably means that at this pH, some soluble excipients (simultaneously extracted during the solid-liquid extraction step) precipitate, allowing for a first step of purification considering the physical elimination of some of the contaminants from the amitriptyline rich-phase.
The final step consisted in the isolation of the target antidepressant from the top (IL-rich) phase, through the manipulation of the pH to cause an inherent decrease in the solubility of the antidepressant, when it is present in its neutral form.For that purpose, an aqueous solution of KOH was added to the ILrich phase in the case of the K 2 HPO 4 /KH 2 PO 4 (pH 6.6)-based systems or only water in the K 3 PO 4 -based ABS (as the inherent pH of these systems guarantees the presence of amitriptyline hydrochloride as a neutral species).This pH-driven isolation was conducted at a low temperature of 277 (±1) K, a suitable way to further decrease the solubility of the antidepressant, thus enhancing its crystallization.In general, the isolation step was developed successfully as the isolation efficiencies (IE Ami ) obtained for the three systems were higher than 95% ± 2%.
At the end, the highest extraction and isolation efficiencies were observed for the ABS composed of

Green Chemistry Paper
This journal is © The Royal Society of Chemistry 2016 Green Chem., 2016, 18, 3527-3536 | 3533 K 3 PO 4 + H 2 O should be highlighted as it allows an "extra" purification step ( precipitation of excipients extracted along with the target antidepressant during the solid-liquid extraction) and a simpler precipitation procedure (no need for additional species in solution, which is in contrast to the remaining systems that required the addition of KOH).
For the proposed process to be of industrial relevance, the recovery and reuse of the main phase components must be considered after the purification and polishing steps.It is pro-posed that the two phases are recycled by the application of H 3 PO 4 for the neutralization of the phase (from which the amitriptyline hydrochloride was isolated) to neutralize the small amount of KOH added in the polishing step and then the phase can be re-introduced in the preparation of the ABS, as described in the process diagram of Fig. 6.The other phase, which is practically free of amitriptyline hydrochloride and rich in excipients, can be treated by ultrafiltration to remove the high molecular weight excipients and then reused directly Fig. 6 Schematic of the integrated process diagram comprising the steps as follows: solid-liquid extraction of the antidepressant from the pharmaceutical pills, purification of amitriptyline hydrochloride from the antidepressant drug ADT 25 mg considering the excipients used in its formulation as the main contaminants and polishing process of the antidepressant; herein, we are describing the process of isolation of the antidepressant from the presence of the phase components of the ABS.The recovery and reuse of the main phase components is also represented.in the preparation of ABS.It is also highlighted that the concentration of excipients/contaminants is residual at this stage; thus, the reuse of the phase components is facilitated.

Conclusions
A novel process for the extraction of amitriptyline hydrochloride able to selectively separate it from its main contaminants (i.e.ADT 25 pills' excipients) present in the pharmaceutical wastes was successfully developed.It comprises a solid-liquid extraction step (wherein most of the water insoluble excipients were removed), purification using ILbased ABS (wherein the water soluble excipients were eliminated), and isolation of the target antidepressant (wherein the amitriptyline hydrochloride was recovered from the solvent matrix).The extraction step was optimized using various IL + phosphate salts-based ABS, wherein the IL nature, the type of phosphate salt (which induced distinct pH media) and the mixture composition were varied.During this task, it was concluded that the antidepressant partition occurs towards the top (IL-rich) phase (log K Ami > 0) with very high extraction efficiencies, ranging from 66% ± 1% to 100%.The most appropriate conditions for the partition phenomenon were selected based not only on the extractive performances, but also on the predicted cost and environmental impact of the ABS formation agents.In this context, the halide-based ILs, two extreme pH environments (K 2 HPO 4 /KH 2 PO 4 and K 3 PO 4 ) and mixture compositions containing low quantities of at circa 10 wt% of IL corresponding to short volume top phases, were selected as the best solvents and conditions to be adopted in the development of the process of purification considering the use of a multi-step process comprising the extraction, purification and isolation of amitriptyline hydrochloride from the pharmaceutical residues of ADT 25.At the end, the process herein designed was shown to be efficient for both extraction (92% ± 1% < EE AMI < 100%) and isolation (95% ± 2% < IE AMI < 98.73% ± 0.07%) steps regarding the recovery of amitriptyline hydrochloride.The essential role of pH (above amitriptyline hydrochloride's pK a -9.41) in both the purification and isolation stages is shown in this study.In the first stage, some water soluble excipients are precipitated, while in the second stage, a simple isolation procedure of amitriptyline hydrochloride from the top (IL-rich) phase is obtained.With this study, new perspectives for the recovery of valuable drugs from pharmaceutical wastes (very low cost raw materials) are being created, converting them from toxic liabilities into a source of valuable chemicals, thus minimizing the life cycle impact of these compounds.
higher ability of the [P 4444 ] + (which is more hydrophobic than [N 4444 ] + ) to extract the antidepressant (again, the partition phenomenon seems to be controlled by the relative lipophilic/ hydrophilic nature of the phases).The other phosphoniumbased ILs ([P 4441 ][MeSO 4 ] and [P i(444)1 ][Tos]) display extraction efficiencies similar to those of [P 4444 ]Br.These results indicate that although the phosphonium-based compounds appear to be better candidates, careful optimization of the cation/anion combination is a key issue in the successful preparation of an adequate extraction system as gauged from the enhanced results obtained by applying the [N 4444 ]Cl.Moreover, it is not only the extraction and partition parameters obtained that should be taken into account, but also the cost, environmental impact and chemical characteristics of the ILs involved in these systems.Although slightly more corrosive, the halidebased compounds ([N 4444 ]Br, [N 4444 ]Cl and [P 4444 ]Br) are cheaper 27 and less toxic 28 (especially when compared with the [P i(444)1 ][Tos]).An additional benefit of ammonium-based cations utilization compared to their phosphonium-based

Fig. 2
Fig. 2 Effect of the structural features of the ILs on the extraction efficiencies (EE Amiblue bars) and logarithmic function of the partition coefficients (log K Amigreen bars) of amitriptyline hydrochloride using IL-based ABS composed of around 30 wt% of IL + 15 wt% of K 2 HPO 4 / KH 2 PO 4 ( pH 6.6).In the case of [N 4444 ]Cl-based ABS, the composition considered was 27.4 wt% IL + 13.7 wt% of K 2 HPO 4 /KH 2 PO 4 and water, due to experimental restrictions occurring at higher concentrations.The error bars correspond to standard deviations (σ).

Fig. 3
Fig. 3 Effect of pH on the extraction efficiencies (EE Amibars) and logarithmic function of the partition coefficient (log K Amisymbols) of amitriptyline hydrochloride using IL-based ABS composed of 30 wt% of [N 4444 ]Br (green bars and triangles) or 27 or 30 wt% of [N 4444 ]Cl (blue bars and diamonds) + 14 or 15 wt% of phosphate-based salts.The error bars correspond to the standard deviations (σ).

Fig. 5
Fig. 5 Influence of the amitriptyline hydrochloride amount on the (A) extraction efficiency (EE Ami , blue circles) and logarithmic function of the partition coefficient (log K Ami , green diamonds) and (B) amount of the antidepressant included in the IL-rich (top) phase (blue triangle) and salt-rich (bottom) phase (green square), using the system [N 4444 ]Br + K 3 PO 4 + H 2 O.The lines are only a guide for the eye.

Table 2
Mixture compositions of the IL-based ABS, extraction efficiencies (EE Ami ) and isolation efficiencies (IE Ami ) attained during the multi-stage process developed, aiming at the recovery of amitriptyline hydrochloride from the drug ADT 25 mg