This patient had a finger fracture and was treated with a technique called closed reduction and percutaneous pinning. It’s a surgery where the broken bone is fixed with two wires inserted through the skin and into the bone to keep the pieces from moving. Sometimes the surgery can be done with just local anesthesia in the operating room.
The ends of each pin are covered with a pin ball to protect the surrounding fingers and to keep the patient from snagging the pin on things.
Many finger injuries can be treated like this, including fractures, dislocations, and some tendon injuries (like mallet finger). The percutaneous pins can usually be removed in the office without anesthesia.