The identification of pregnancies within the general practice research database