The advent of computerized medical devices has resulted in better accuracy and increased safety for patients and clinicians, yet medical accidents are still not uncommon. With the computerized medical devices and their technical complexity, any given clinical environment is a composition of complex com- puter systems. This introduces new form of risks, not only with the usage of a single device but with the interactions of multiple devices, which increase exponentially with respect to the number of devices. Even the most advanced medical devices fail to serve their purpose if their users cannot effectively use them, or if their complexity deters the users.This thesis presents an English-like configuration language for defining device interactions rules, which makes it easier for non-programmers like clinicians and surgeons to configure a complex medical system. The user- defined rules are then automatically and formally proven for its safety, by means of a state machine and the reachability of safe states within it. The automatic checker ensures that there is no error-by-omissions and conflicts between the rules.