Patient is primigravida and also wants to know how to differentiate jaundice from cholestasis of pregnancy or is it from surgical cause. What is the management of choledocholithiasis in pregnancy? When is it safe to use ERCP?

The patient has bilirubin raised and derange lft with dilated CBD. Is there any risk associated with ERCP during pregnancy?