reviewMP.html 854 B

12345678910111213141516171819202122232425262728293031323334
  1. <h3>Managing physician report</h3>
  2. <table>
  3. <tr>
  4. <th width="100" id="participantField">patientCode</th>
  5. <td id="participantCode">Loading1b</td>
  6. </tr>
  7. <tr>
  8. <th id="visitField">visitCode</th>
  9. <td id="visitCode">Loading2</td>
  10. </tr>
  11. </table>
  12. <div id="reportDiv"></div>
  13. <div id="debugDiv">
  14. <textarea id="debugCode"></textarea>
  15. </div>
  16. <script type="text/javascript">
  17. let searchParams = new URLSearchParams(window.location.search);
  18. //update this to pick crfRef from url
  19. let participantCode=searchParams.get('participantCode');
  20. let visitCode=searchParams.get('visitCode');
  21. document.getElementById("participantCode").innerHTML=participantCode;
  22. document.getElementById("visitCode").innerHTML=visitCode;
  23. config.document=document;
  24. config.debugId="debugCode";
  25. print('Test');
  26. generateReviewSection("reviewMP","reportDiv",pickParticipantCodeFromPage);
  27. </script>