Medical pumps may obtain programming data from a database through the use of a remote query process which allows the individual pump to flexibly request data from existing hospital databases, to identify the necessary information in those databases, and to convert that data for use without the need for manual programming or a centralized pump control system.