For the pie: Place a rack in the center of the oven and preheat to 400 degrees F. Line a half-sheet pan with parchment paper. Set aside.
Unfold or unroll one sheet of the puff pastry on a lightly floured surface. Gently roll with a rolling pin until each side is increased by about 1/2-inch. Place the pastry on the prepared baking sheet and brush the pastry from edge to edge with prepared egg wash. Combine the mustard, apricot jam and a generous amount of black pepper in a small bowl, and spread over the egg wash, leaving about an inch border between the mustard and the edge of pastry. Place the ham evenly over the mustard and then evenly spread the cheese over the ham.
Roll out the second piece of puff pastry as the first, increasing the size by about 1/2-inch on each side. Gently place it on top of the ham and cheese and press the edges together with your fingers. Gently fold about 1/2-inch of the edges over, creating a thick crust. Press the edges with the tines of a fork. Dip the fork in flour if it sticks to the puff pastry during pressing. Lightly brush a layer of egg wash over the top and edges of the pie. Cut a few small slits into the top of the pie and bake until cooked through and golden brown, 30 minutes.
For the greens: Whisk together the vinegar and jam in a small bowl, and season with salt and pepper. Slowly whisk in the oil until emulsified. Put the greens in large bowl, toss with the vinaigrette, divide among the plates and top with the almonds.
Recipe courtesy of Bobby Flay