According to one aspect of the disclosure, a control device for a medical ventilator is disclosed. The control device has a user definable medical ventilator protocol and the control device includes means for selecting a plurality of objects from a group of objects, wherein each of the objects are segments of the ventilator protocol, and each of the objects have at least one attribute. Further, the control device includes means for arranging the plurality of objects in a sequence, means for initiating the at least one attribute to define a property for each object in the plurality of objects and a processor unit configured to execute the sequence. The medical control device gives the user flexibility to define and implement a medical ventilator protocol in a faster way than possible today and for different patients and/or ventilator situations.