An interesting situation (an amalgamation of the two stories). A history of past adverse reactions and guidance not to receive the vaccine. However, a vaccine is required to have custody of an immune compromised child. Sounds like either you lose custody, or role the dice on having another reaction.