MediSurv-Prototype is a project mainly written in PHP, it's free.
UI Prototype for Medical Questionnaire
Simple HTML UI for questionnaire