Dems writing compromise healthcare bill