(EN) A compiler system and method for providing a drug library to patient devices includes a memory and a processing circuit. The memory stores a drug library in a first format, the drug library comprising drug data to be used by software on the patient devices to program the patient devices to administer a drug to a patient according to a protocol determined at least in part by a user. The processing circuit configured to identify a type of patient device from prestored patient device types and select a compiler program from prestored compiler programs. The selected program is used translate the drug library from the first format into a selected second format. The translated drug library is stored in the second format and distributed to a patient device of the identified type.