NHS worker cautioned over tweets