10 Medical devices with integrated recorded operating systems for use in treating or diagnosing mental disorders, addiction, personality disorders, neurological conditions; portable medical devices with sensors to monitor the physical movements of a patient wearing or carrying the device