Mother loses custody of children because of cancer diagnosis