Hi Mark, thank you very much for your api based PHQ9 form. I tried it out over the weekend and found a bug on line 95 of the file phq9_javasrc.js which affects displaying the total and question 10 in the form. you may well have found it yourself by now.
phq9_javasrc.js (6.5 KB)
also a bug which was in my original code, it has no adverse affect other than to generate a php error in the logs - in the files new.php and view.php the string $string_form_title should be $str_form_title as declared in phq9.inc.php
we would like to use your form in our live system so would like to know itās current status, weād like to see it incorporated in release versions of OpenEMR
best wishes, ruth