Donald Trump took time out of seeing wife Melania to visit veterans at the Walter Reed Medical Center on Wednesday.

The president snapped photos with members of the US Army and Navy and hailed them as 'heroes'.

'It was my great honor to visit with our HEROES last night at Walter Reed Medical Center,' he tweeted. 'There is nobody like them!'

Trump has traveled to the military medical center throughout the week to visit Melania, who underwent a kidney procedure on Monday.

Donald Trump took time out of visiting wife Melania to visit veterans at the Walter Reed Medical Center on Thursday

The president snapped photos with members of the US Army and Navy and hailed them as 'heroes'

The first lady tweeted her thanks to the hospital on Wednesday, writing: 'A sincere thank you to Walter Reed Medical Unit @WRBethesda & to all who have send good wishes & prayers! I am feeling great & look forward to getting back home soon.'

Melania's comments on Twitter were her first since she was taken to hospital for an embolization.

Earlier this week Trump said Mealnia would be leaving the hospital in two or three days – a time frame consistent with what her office said Monday when it announced she would remain under observation through the week.

'Our great First Lady is doing really well. Will be leaving hospital in 2 or 3 days. Thank you for so much love and support!' Trump wrote on Twitter.

Trump has traveled to the military medical center throughout the week to visit Melania, who underwent a kidney procedure on Monday

Trump is pictured here with a veteran family at the Walter Reed Medical Center on Wednesday

The president tweeted out the slew of photos on Thursday and hailed the 'heroes' he met

He had earlier used the medium to say she was in 'good spirits' after a 'successful procedure'.

Melania underwent an embolization procedure, likely to remove a cyst from her kidney. Her office said it was benign, or non-cancerous.

A senior administration official told ABC News Trump spoke to his wife before the procedure and talked to her doctor afterward.

The president flew via Marine One on Monday afternoon to visit the flagship military hospital in Bethesda, Maryland from the White House.

First Lady Melania Trump underwent surgery at Walter Reed National Military Medical Center for a kidney procedure on Monday

The first lady tweeted her thanks to the hospital on Wednesday, her first comments since the procedure took place

He spent about an hour there before returning to 1600 Pennsylvania Avenue via motorcade while a powerful thunderstorm approached the region.

Trump tweeted about the visit while he was en route: 'Heading over to Walter Reed Medical Center to see our great First Lady, Melania. Successful procedure, she is in good spirits. Thank you to all of the well-wishers!'

According to CNN, Melania is the first first lady to have such a serious operation since Nancy Reagan had a mastectomy in 1987 while her husband was in office.

Dr. Sanjay Gupta spoke about the procedure on CNN as the news first broke. He had been on air already to talk about former Senate Majority Leader Harry Reid's treatment for pancreatic cancer at Johns Hopkins University on Monday.

President Trump flew to Walter Reed to visit his wife for a second day in a row Tuesday

Trump tweeted on Tuesday that the first lady is 'doing really well' and would be back in the White House in 'two to three days'

The president flew via Marine One Monday afternoon to visit the flagship military hospital (pictured) in Bethesda, Maryland hours after Melania's procedure

'[It's] unclear exactly what she had done. An embolization procedure is typically done for cancer, although it's very clear in this statement that this was a benign condition,' said Gupta.

'That's how they've framed it. So it doesn't sound like it's any type of cancer,' he added.

'Sometimes thyroids, or cysts, or something like that, can be treated as well [through embolization],' Gupta said.

The news comes just a week after Melania took on a high-profile role by announcing the 'Be Best' initiatives she would carry on in her post as first lady.

She said she wanted to focus on children's health, opioid abuse, and preventing bullying online.

Trump arrives on Marine One at Walter Reed National Military Medical Center on Monday