Anaesthesia and pain, Planning