Provided both folks are working together, yes, two people are a team. In the example, it may help to expound upon a mutual agenda for "group effort."
"The doctor and patient needed each other to concentrate on the procedure; a group effort was essential for success."