Created patient queue, Fixed bug