'});host.innerHTML=html}
build("pain-list",PAIN,"pain");build("stiff-list",STIFF,"stiff");build("func-list",FUNC,"func");function syncJoint(){var j=document.querySelector('input[name=joint]:checked').value;document.getElementById('joint-word').textContent=j;Array.prototype.forEach.call(document.querySelectorAll('.jword'),function(el){el.textContent=j})}
Array.prototype.forEach.call(document.querySelectorAll('input[name=joint]'),function(r){r.addEventListener('change',syncJoint)});syncJoint();(function(){var d=new Date(),p=function(n){return(n<10?'0':'')+n};document.getElementById('pdate').value=d.getFullYear()+'-'+p(d.getMonth()+1)+'-'+p(d.getDate())})();function sumGroup(prefix,count){var total=0,missing=[];for(var i=0;i