In your FragmentA fragment set the bundle as the argument.
Bundle args = new Bundle();
args.putInt("doctor_id",value);
ListFrag newFragment = new ListFrag ();
newFragment.setArguments(args);
In your ListFrag fragment get the bundle as
Bundle b = getArguments();
int s = b.getInt("doctor_id");