Sources familiar with the situation tell TMZ ... several days ago Kim called her doctor in the middle of the night to come to the house because she was having severe pains. The doctor examined her, but then warned he believed the problems were largely stress-related.
Sources say ... the only significant stress in her life right now is the divorce. And hours before her meeting Tuesday with her lawyer, disso-queen Laura Wasser, Kim's pains returned in full force.
The doctor warned Kim she needs to handle the stress or else there could be "long-term effects." The doctor did not elaborate, but we're told Kim is freaked out her baby may be at risk.
Here's a novel idea, get divorced before you get knocked up by someone else.