Microsoft, NextGen team up on medication-record application