Gordon and Sarah Brown will be offered counselling sessions after the loss of their prematurely born baby daughter.
The neo-natal unit where baby Jennifer Brown lost her battle for life is staffed by more than 100 nurses - all specially trained to deal with bereaved parents.
The Simpson Memorial Maternity Pavilion, at Edinburgh's Royal Infirmary, is a referral centre for seriously ill infants.
Its nurses are taught counselling as part of their core neo-natal training and many have professional counselling qualifications, including diplomas and degrees.
Formal counselling sessions are offered to those who have lost their child but parents are also counselled throughout their infant's sickness.
In the case of very serious illness they are offered the chance to be close to their baby in its final hours.
In the case of the Browns, the couple were able to hold Jennifer Jane as she passed away.
A senior nurse at the unit said the Chancellor and his wife would also be invited to a special religious service for bereaved parents.