The Peel Health Campus has helped to give local businesses a boost while also recognising the hard work of staff.
The hospital made an order for hundreds of custom-made cupcakes, biscuits and cakes from Mandurah-based cafes Sky Bakery and Decadent C to celebrate International Day of the Midwife on May 5 and International Nurses Day on May 12.
Clinical services director, Karol Edge, said the nurses and midwives were "absolutely thrilled" by the gesture.
"It was really important for us to recognise the hard work and contribution our nurses and midwives make to the hospital and the community," she said.
"The compassion and dedication they show on a daily basis is exceptional."
Ms Edge said the hospital had spent weeks coming up with an idea that would give nurses and midwives the recognition they deserved while also providing support to local businesses hit hard by the pandemic.
"The celebrations could not involve gatherings because of COVID-19 restrictions, so we took the festivities to the wards instead where everyone enjoyed the treats," she said.
Decadent C's Natarlie Woodman said her family business had experienced a downturn of 90 per cent during the pandemic.
Ms Woodman said she had been forced to rethink her entire business plan, leading to an expansion in products to include condiments and hampers, as well as the establishment of a drive through service.
Ms Woodman said the support from Peel Health Campus was greatly appreciated.
"A significant portion of our work has been supplying wholesale cakes to cafes so between that and people no longer going out, we have been very badly affected," she said.
Julie Nguyen from Sky Bakery said they had experienced similar problems, but were grateful to produce more than 400 cupcakes for the hospital.
"When the call came through from Peel Health Campus, we were over the moon," she said.
"We had been desperate for some support and we are hopeful that with restrictions starting to ease we will pick up extra work and get our business back on track."