<h3>Nuclear medicine specialist's report</h3>
<table>
<tr>
<th width="100" id="participantField">patientCode</th>
<td id="participantCode">Loading</td>
</tr>
<tr>
<th id="visitField">visitCode</th>
<td id="visitCode">Loading</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("reviewNM","reportDiv",pickParticipantCodeFromPage);
</script>