What do they do to the baby ?

When you have a miscarriage here in California and the babies 18 or more weeks and u decide to leave it in the hospital what do they do with their body ?