Foreign nationals who recently visited China will be barred and some US citizens will be quarantined.