Z87: Personal history of other diseases and conditions

Z87.5: Personal history of complications of pregnancy, childbirth and the puerperium

Sometimes symptoms remained in the past because of the problems. But symptoms can also still develop later.