The occurrence and the fate of pharmaceuticals in the environment is a growing concern, especially since the consumption of pharmaceuticals is increasing due to the growth in the number of people being infected and diagnosed with various chronical diseases (Kalyva 2017). Pharmaceuticals are not completely digested in the body, therefore their residues are excreted from the body (as metabolites or parent compounds), through urine and feces. Thus they enter the sewer system and hence transported to the wastewater treatment plants (WWTPs), (Madikizela 2017). Studies have shown that WWTPs do not completely remove these residues during the treatment processes and thus they are released into the environment with the treated effluent. Some pharmaceutical compounds get adsorbed into sludge, which is thereafter used as fertilizer in agricultural lands and hence the pharmaceuticals end up entering the biosphere. Other sources of pharmaceuticals in the environment include direct disposal of unused and expired drugs, hospital discharge, pharmaceutical manufacturing industries, lack of sanitation in rural areas, leaching into the soil during heavy rainfall, agricultural irrigation, sorption, human and veterinary use (Vonkeman and van der Laar 2010; Kermia et al. 2016).

A lot of emphasis and studies have been made on the fate of pharmaceutical compounds in the water bodies, and little interest has been placed on their occurrence and fate in the terrestrial environment (soil, sediment, and sludge). Similar to the aqueous environment, pharmaceutical compounds interact with the soil and sediment depending on their physicochemical properties, and also on the environmental chemical and biological processes. Once pharmaceuticals reach the environment they tend to undergo processes such as biodegradation, biotransformation, hydrolysis and also adsorption into soil particles (Caldwel et al. 2016). Exposure to pharmaceuticals has negative effects on the aquatic and terrestrial organisms as well as the environment. The effects include hormone disruption to the aquatic organisms, the feminization of male fish, the inhibition of the cyclooxygenase in population, the adsorption into plant species and thus the uptake by terrestrial animals such as earthworm, they also affect algae and bacteria (Białk-bielińs et al. 2016). Due to the effect that pharmaceuticals have, it is important that they are investigated in various environmental matrices.

The detection and quantification of pharmaceuticals at trace levels in complex environmental samples poses an analytical problem. This is due to the lack of sensitivity in the current methods used to detect them at such low levels. Thus, sample preparation step is very important before the analysis of environmental samples for extraction and pre-concentration of the analytes of interest and also the removal of matrix interferences, which results in improved selectivity and sensitivity of the analytical method (Białk-bieliń et al. 2016; Shraim et al. 2017).

Therefore, in this work, an ultrasonic extraction (UE) method has been optimised followed by pre-concentration by solid phase extraction (SPE) for the extraction of pharmaceutical drugs in soil and sediment samples. The pharmaceutical drugs studied in this work were the non-steroidal anti-inflammatory drug (NSAIDs) which include naproxen, fenoprofen, diclofenac and ibuprofen and also an anti-epileptic drug, carbamazepine. NSAIDs have anti-inflammatory, analgesic and antipyretic properties and they are considered the most widely used drugs for the relief of chronical pain and fever (Madikizela 2017). Carbamazepine drug is used to treat epilepsy which is a neurological disease that affects the brain and causes seizes that have affected about 50 million people worldwide (Gracia-Lor 2012).

Ibuprofen (98%), fenoprofen (97%), naproxen (98%), diclofenac (98%) and carbamazepine (98%), acetonitrile (99.9%), methanol (99.9%), dichloromethane (99.9%), acetone (99.9%) and ethyl acetate (99.9%) were all purchased from Sigma Aldrich (Johannesburg, South Africa).

LC-2020 equipped with Shim-Pack GIST C18-HP column (4.6 × 150 mm, 3 µm) and LC-2030/2040 PDA detector used for the analysis of the compounds was purchased from Shimadzu (Europe, Germany). The mobile phase composition of 60:40 (acetonitrile: water) and a flow rate of 0.5 mL/min were used and the data were acquired at 229 nm. Cavitek digital controlled ultrasonic water bath purchased from Science Tech (Durban, South Africa) was used for analytes extraction. The SPE bought from Sigma Aldrich (Steinheim, Germany) was used for the cleaning up of the extracts. SPE was connected to a pump manifold from Edwards (Munich, Germany). Oasis Hydrophobic-Lipophilic Balance, HLB (60 mg, 3 mL) purchased from Biotage (Uppsala, Sweden) were used as SPE sorbents.

A standard solution (100 mg/L) containing all analytes of interests (carbamazepine, naproxen, fenoprofen, diclofenac, and ibuprofen) was prepared by transferring 10 mg of each compound in a 100 mL volumetric flask and dissolved in acetonitrile. The calibration curve of each compound was obtained by analyzing the concentration of the standard solution (0.2–1 mg/L) and analyzed using liquid chromatography coupled with photodiode array (LC-PDA). All the standards were kept in the refrigerator at 4°C until used.

Soil samples were collected in farmlands and along the Msunduzi River in the Pietermaritzburg area, KwaZulu-Natal (South Africa). These included Richmond, Cedara, Donnybrook, Mngeni Valley and in four sampling points along the Msunduzi River (College Road, Camps Drift and Woodhouse). The sediment samples were collected in Pietermaritzburg along the Msunduzi River and uMngeni and Amanzimtoti Rivers. The sediments and soil samples were collected using a stainless soil auger in about 0–20 cm depth. The samples were collected in brown bottles and placed in a cooler box and then transported to the laboratory.

The soil and sediment samples were air-dried at room temperature in a fume hood. After drying they were ground and sieved prior to extraction with UE and then clean- up and pre-concentration by SPE. The optimum UE procedure was 5 g of sample spiked with pharmaceutical standards mixture to make the final concentration of 1 mg/kg. 5 mL of distilled water was added to the sample to ensure even the distribution of the analyte on the soil and then ultra-sonicated for 15 min. Thereafter, 20 mL acetonitrile: methanol (1:1, v/v) was added to the samples and further ultra-sonicated for 20 min. The samples were left to settle and the supernatant was collected and centrifuged for 10 min, in order to remove any soil traces left. The extract was then reduced to 1 mL using a rotavapor which was then reconstituted to 50 mL with distilled water. The 50 mL sample was then passed through the SPE cartridge conditioned with 2 mL acetonitrile. It was then washed with 2 mL of distilled water to remove impurities and the adsorbed analytes were eluted with 2 mL of methanol. The analytes were then concentrated to 1 mL under nitrogen and analyzed using LC-PDA.

The extraction procedure reported by Gumbi et al. (2017) was initially used and further optimized to obtain optimum extraction conditions that will give high recoveries for all analytes of interest from soil/sediment samples. The UE parameters investigated were extraction solvent, solvent volume, extraction time and sample mass.

The optimized method was validated in terms of the limit of detection (LOD), limit of quantification (LOQ), precision, linearity and percentage recoveries. The LOD and LOQ were calculated as 3 and 10 times the signal to noise ratio, respectively, using the equation, LOD = s × 3.3, where ‘s’ is the standard deviation of the replicates (Carlson et al. 2014). The precision of the method was validated in terms of reproducibility and repeatability represented as relative standard deviation (RSDs). The linearity of the method was studied using five standard point calibration ranging from 0.1 to 1.0 mg/L. The percentage recoveries were determined using 5 g of soil sample spiked with the mixture of the analytes of interest (carbamazepine, naproxen, fenoprofen, diclofenac and ibuprofen) to make the final concentration of 1 mg/kg. Concentrations of 0.01 and 0.1 mg/kg were then analysed under optimum conditions for soil and sediment samples to assess the effect of concentration on the percentage recoveries of the analytes. All the extractions were done in triplicates.

Results and Discussion

Investigating the effect of the extraction solvent is an important step because the effectiveness of the UE procedure depends on the extraction solvents capacity to absorb and transmit the energy of the ultrasound onto the soil sample to be extracted (Kong et al. 2014). The effect of extraction solvents was examined using methanol, acetone, methanol: acetonitrile (1:1), methanol: acetonitrile: ethyl acetate (1:1:1) and methanol: acetonitrile: water (1:1:1), methanol: acetonitrile: acetone (1:1:1).

Acetonitrile showed the lowest recoveries for all the analytes and fenoprofen, diclofenac and ibuprofen were not extracted (Fig. 1). When methanol and acetonitrile were mixed, they produced similar results as those obtained with methanol alone. This further indicated that acetonitrile does not have much effect on the extraction of the analytes. The mixture of methanol, acetonitrile and ethyl acetate or acetone showed an improvement in the percentage recoveries for all analytes, however, they were still below 70% except carbamazepine. The mixture of water + methanol + acetonitrile gave the highest recoveries (74%–112%). This indicated that mixing these solvents enhanced their penetration into the sample matrix which resulted in the efficient diffusion of the analyte from the soil core to the extraction solvent (Kong et al. 2014). Therefore, a mixture of water + methanol + acetonitrile was taken as the optimum extraction solvent.

Fig. 1
figure 1

The influence of extraction solvent on the pharmaceuticals recoveries. Extraction conditions were – extraction mass: 5 g of soil was spiked with 1 ppm of the pharmaceuticals mixture, extraction time: 40 min, extraction solvent volume: 20 mL. ACN acetonitrile, MeOH: methanol, ACT acetone, EA ethyl acetate, H2O water

The effect of extraction time was investigated at 10, 20 and 40 min, using water + methanol + acetonitrile as the extraction solvents. The recoveries showed an increase as the extraction time increases and 40 min gave the recoveries ranging from 74% to 112% (Fig. 2). The reason for the increase in recoveries could be due to that the longer extraction time results in more time available for the extraction solvent to penetrate the soil matrix and thus break the bonds between the soil and the analyte resulting to effective extraction and hence higher analyte recoveries. This also indicated that 40 min was not too long to results in the degradation of the analytes (Ntombela and Mahlambi 2019) and hence it was adopted as the efficient extraction time.

Fig. 2
figure 2

The influence of the extraction time on the analytes recoveries. Extraction conditions were – extraction mass: 5 g of soil was spiked with 1 ppm of the analytes mixture, extraction solvent: 20 mL of acetonitrile: methanol: water

The sample mass was investigated by extracting 1, 3 and 5 g of sediment sample using water + methanol + acetonitrile and the extraction time of 40 min. From the results obtained it was observed that the recoveries increased with the increase in sample mass and 5 g sample gave the recoveries which ranged from 74% to 112% (Fig. 3). The increase in the recoveries could be due to that as the mass increases the amount of analytes available to dissolve into the extraction solvent also increases thus resulting in more analytes to be recovered (Ntombela and Mahlambi 2019). Therefore 5 g was taken as the optimum sample mass.

Fig. 3
figure 3

The influence of sample mass on the pharmaceuticals recoveries. Extraction conditions were – extraction time: 40 min, extraction solvent: 20 mL of acetonitrile: methanol: water

The performance of the UE-LC-PDA method was inspected based on LODs, LOQs, %recoveries, and precision. The LOQs obtained ranged between 0.025 and 0.049 µg/kg and the LODs were between 0.010 and 0.027 µg/kg (Table 1). The recoveries ranged between 74% and 112%. The RSDs obtained for all the analytes ranged between 1% and 3% which indicated good precision of the optimized method (Table 2). The recoveries obtained were almost similar in different spike concentrations used which shows that they are independent of the concentration present in the samples. This indicate the direct proportionality of the amount extracted to that in the sample which is important for accurate quantification.

Table 1 Linear range, R2, LODs and LOQs of target compounds
Table 2 Recoveries (%) of target compounds in soil and sediment and various concentration levels

The LOD and LOQ results obtained in this work are lower than those reported by Matongo et al. (2015) on the analysis of pharmaceuticals in sediments where LODs, LOQs and RSDs ranging between 0.054–0.49 µg/kg, 1.8–1.6 µg/kg and 0.82%–6.8%, respectively. They are also lower than those obtained by Gumbi et al. (2017) where LODs ranged from 0.30 to 1.03 µg/kg, LOQs were 0.048–0.092 µg/kg and RSDs were 7%–20%. The recoveries obtained in this work are that higher than those obtained by Gumbi et al. (2017), (66%–103%). This indicates the good precision and accuracy of the optimized method.

The optimized UE-LC-PDA method was then applied to soil and sediment samples obtained around KwaZulu-Natal. The soil samples were collected from Richmond, Cedara, Donny Brook and Mngeni Valley, Woodhouse, Bishopstowe, Camps Drift. Sediment samples were collected along with the Msunduzi River (Camps Drift, Woodhouse and College Road).

The effect of seasonal variation was investigated using sediment samples collected in Woodhouse and Bishopstowe during the winter and spring season (Table 3). In Woodhouse, naproxen was detected in both seasons and the concentrations obtained are comparable. In Bishopstowe carbamazepine and diclofenac were detected in both seasons with higher concentrations detected in the winter season, and in spring they were detected below the quantification limits. Diclofenac was detected with the highest concentration of 0.426 µg/kg in Bishopstowe during the winter season. Diclofenac has a high adsorption coefficient (Koc) of 830, which means that it has a high affinity for sediment hence it is captured by the sediment pores thus reducing its solubility in water (Díaz and Pena 2017). The reason for higher concentrations being detected in winter could be due to lower temperatures which results in the decrease or stop of the reproduction of micro-organisms, therefore, the bio-degradation and photo-degradation of these compounds are decreased resulting in higher concentrations to be detected in the sediments. Similar findings were reported by Varga et al. (2010), where higher concentrations of ibuprofen, diclofenac, and naproxen were detected during the winter season in sediment samples collected in the Danube River in Budapest (Hungary) with maximum concentration (29–38 µg/kg) which are higher than those obtained in this study. Gumbi et al. (2017), also investigated the occurrence of naproxen and ibuprofen pharmaceuticals in the Mgeni River (KwaZulu Natal), and higher concentrations of ibuprofen (4.31–13.4 µg/kg) were obtained during the winter season.

Table 3 Concentrations of pharmaceuticals obtained in sediment samples collected along the Msunduzi River during winter and spring seasons, n = 3

Ibuprofen was only detected in Woodhouse in spring with a concentration of 0.128 µg/kg, which could be due to its high water solubility and low affinity for sediment matrices because of its moderate octanol–water coefficient (Kow) (3.97), (Madikizela 2017). Bishopstowe was the most polluted site which could be due to that it is situated just after the Darvill WWTP, therefore the treatment plant could be the possible source of contamination when it discharges its treated effluent into the river.

The concentration of pharmaceuticals obtained in soil ranged from 0.044 to 0.567 µg/kg (Table 4). Diclofenac was detected with the highest concentrations of 0.567 µg/kg in Donny Brook and 0.557 µg/kg in Cedara samples. Detection of diclofenac could be due to its high affinity for the soil matrices and hence it easily gets absorbed into the soil matrix. Naproxen was detected with the lowest concentrations compared to other analytes in most of the samples which could mean that it has low affinity for the soil matrix and hence poorly absorbed into the soil. However, naproxen was the only detected analyte in Bishopstowe but below the quantification limits. Soil samples obtained from Richmond, Cedara and Curry Post were found to be contaminated with all the analytes of interest. Sources of pharmaceutical residues mainly in the soil are sewage sludge as it used as manure as well as irrigation using treated wastewater which may contain pharmaceutical contaminants, also animal manure if it is applied in the land (Białk-bielińs et al. 2016). These sampling areas can also be contaminated due to illegal dumping on or near the sampling site, which could be the point source of pharmaceuticals. In Woodhouse, none of the analytes were detected. The factors that may contribute to the absence of pharmaceuticals in the environment are if they undergo the processes of biodegradation and photodegradation.

Table 4 Concentrations pharmaceuticals obtained in soil samples collected during the spring season

The maximum concentrations obtained in this study are lower than those obtained by Gibson et al. (2010), on the analysis of pharmaceuticals in soil samples obtained from Mexico which were (0.3–16.4 µg/kg) as well as those obtained in Spain farmers for ibuprofen (1.5–3.2 µg/kg), naproxen (nd-5.9 µg/kg), fenoprofen (nd-3.2 µg/kg) and carbamazepine (nd-2.8 µg/kg), (Roca, 2016). However, the concentrations obtained in this study raise the concern due to the ecological and environmental effects that pharmaceutical compounds have.

UE-LC-PDA method has been successfully developed and applied for the analysis of pharmaceutical compounds in soil and sediments. The LODs and LOQs ranged from 0.025 to 0.049 µg/kg and 0.010 to 0.027 µg/kg respectively. The percentage of recoveries ranged from 74% to 112%.

The concentrations obtained in sediment ranged from 0.055 to 0.426 µg/kg and in the soil they ranged from 0.044 to 0.567 µg/kg. The highest concentration (0.567 µg/kg) was detected for diclofenac in the Donny Brook soil sample. Higher concentrations were obtained during winter (0.055–0.426 µg/kg) compared to spring season (0.075–0.128 µg/kg), however, the highest number of pharmaceuticals were detected in the spring season. This is due to that photo-degradation is higher during the hot season which results in lower concentrations of pharmaceuticals being found in environmental samples. The concentrations detected in this study were higher than those detected from previous studies, which is a great concern, because of ecological, biological effect and health risks associated with pharmaceuticals in the environment. Also, there are no set allowable concentrations for pharmaceuticals in the environment. Therefore, this research will contribute to the knowledge of the concentration of pharmaceuticals being detected in the South African environment and thus enable the policymakers to set the allowable concentrations for the South African environment.