In a medium saucepan, combine the pinto beans with the stock, chorizos, Classic Sofrito, ham, tomato, carrot, celery, onion, parsley and oregano and bring to a boil. Simmer over low heat, skimming occasionally, until the beans are tender, about 1 1/2 hours.
Remove the chorizos; slice them 1/4 inch thick and return to the stew. Remove the carrot, coarsely chop it and return to the stew. Discard the parsley and oregano and season the stew with salt and pepper. Serve the bean stew with the lime wedges.
The stew can be refrigerated for up to 3 days. Reheat gently.
A rustic red with enough fruit and spice will tame the chorizo in this stew. Look for an inexpensive Malbec from Argentina.