<h3>Managing physician report</h3>

<table>
<tr>
<th width="100" id="participantField">patientCode</th>
<td id="participantCode">Loading1b</td>
</tr>
<tr>
<th id="visitField">visitCode</th>
<td id="visitCode">Loading2</td>
</tr>
</table>

<div id="reportDiv"></div>
<div id="debugDiv">
	<textarea id="debugCode"></textarea>
</div>

<script type="text/javascript">

let searchParams = new URLSearchParams(window.location.search);

//update this to pick crfRef from url
let participantCode=searchParams.get('participantCode');
let visitCode=searchParams.get('visitCode');
document.getElementById("participantCode").innerHTML=participantCode;
document.getElementById("visitCode").innerHTML=visitCode;

config.document=document;
config.debugId="debugCode";
print('Test');
generateReviewSection("reviewMP","reportDiv",pickParticipantCodeFromPage);

</script>