A collection device for performing a structured collection procedure for diagnosis or therapy optimization, said device comprising: memory ; a processor connected to the memory ; and program instructions which when executed by the processor causes the processor to: initiate automatically a schedule of events of the structured collection procedure upon one or more entry criterions being met, store in the memory patient data (256, 170 145) collected in accordance to the schedule of events , end automatically the structured collection procedure upon one or more exit criterions being met, and mark the structure collection procedure as completed if no exception occurred during performance of an event in the schedule of events and the processor provides a completion flag in the memory to indicate completion of the structured collection procedure and the program instructions further cause the processor to try to resolve exceptions and mark the completion flag as completed if the exceptions are resolved characterized in that processor tries to resolve the exceptions by the program instructions further causing the processor to scan the patient data and substitute similar data in the patient data that meets the requirements of the events which caused the exceptions to clear the exceptions. memory ; a processor connected to the memory ; and program instructions which when executed by the processor causes the processor to: initiate automatically a schedule of events of the structured collection procedure upon one or more entry criterions being met, store in the memory patient data (256, 170 145) collected in accordance to the schedule of events , end automatically the structured collection procedure upon one or more exit criterions being met, and mark the structure collection procedure as completed if no exception occurred during performance of an event in the schedule of events and the processor provides a completion flag in the memory to indicate completion of the structured collection procedure and the program instructions further cause the processor to try to resolve exceptions and mark the completion flag as completed if the exceptions are resolved characterized in that processor tries to resolve the exceptions by the program instructions further causing the processor to scan the patient data and substitute similar data in the patient data that meets the requirements of the events which caused the exceptions to clear the exceptions. initiate automatically a schedule of events of the structured collection procedure upon one or more entry criterions being met, store in the memory patient data (256, 170 145) collected in accordance to the schedule of events , end automatically the structured collection procedure upon one or more exit criterions being met, and mark the structure collection procedure as completed if no exception occurred during performance of an event in the schedule of events and the processor provides a completion flag in the memory to indicate completion of the structured collection procedure and the program instructions further cause the processor to try to resolve exceptions and mark the completion flag as completed if the exceptions are resolved characterized in that processor tries to resolve the exceptions by the program instructions further causing the processor to scan the patient data and substitute similar data in the patient data that meets the requirements of the events which caused the exceptions to clear the exceptions. <EOS>