Case 3
A 16 year old female presents to your office for a well-child exam. She has a history of peanut allergy but admits that she does not carry her epinephrine autoinjector. She feels that she is always careful in avoiding food with peanuts.
(function() { var divs = document.getElementById('ss-form'). getElementsByTagName('div'); var numDivs = divs.length; for (var j = 0; j < numDivs; j++) { if (divs[j].className == 'errorbox-bad') { divs[j].lastChild.firstChild.lastChild.focus(); return; } } for (var i = 0; i < numDivs; i++) { var div = divs[i]; if (div.className == 'ss-form-entry' && div.firstChild && div.firstChild.className == 'ss-q-title') { div.lastChild.focus(); return; } } })();