Coding for Issue Item to Patient function: fix bug of cannot issue multiple items