The NBME has been working for several years on a project for the "Flexible Blueprinting" of customized subject exams. Questions can be incorporated from any topic of medical study.
http://www.nbme.org/programs-services/medical-schools/customized-assessment.html