The doctor could be looking for something else in your urine, but if he is looking to see if you're passing potassium this information might help.
A urine test to check potassium levels is done to:
Check levels in people being treated with medicines, such as diuretics and for people having kidney dialysis.
Check how well the kidneys are working.
Check to see whether treatment for low or high potassium levels is working.
Check people with high blood pressure who may have a problem with their kidneys or adrenal glands.
Check the effects of extra nutrition (total parenteral nutrition [TPN]) on potassium levels.
Check to see whether certain cancer treatments are causing too many cells to be destroyed (cell lysis). Cell lysis syndrome causes very high levels of some electrolytes, including potassium.