Please join your peers on either March 26 (8pm GMT) or March 28 (8am GMT) to watch as user extraordinaire and forum legend @"lindsay.stevens" demonstrates OpenClinica Insight.

See preview and register at https://openclinica.com/insight-webinar

Insight makes it easy to ask questions of ALL of your clinical and operational data and visualize answers via interactive reports and dashboards. The idea is simple, but the results are powerful: ask your questions, choose your visualizations, then return often for updated, interactive results that link you to all of the underlying data.

One more token, please?

Hi Developers,
Could we have one more token please, for StudySubjectOID? With that we can add javascript to display in a CRF the value of items of other CRFs in other Events.
I'm thinking of :
<div id="ValueFromOtherEvent">&nbsp;</div>
<script src="includes/jmesa/jquery.min.js"></script>
<script>
$.noConflict();
jQuery(document).ready(function($) { 
$.ajax({
         type: "GET",
         dataType: "xml",
         success: parseXML
      });
      function parseXML(xml){
var OtherValue;
         $(xml).find("ItemData").each(function(){
if($(this).attr("ItemOID") == "I_TDSGE_ITEM1"){
OtherValue = $(this).attr("Value");
         }
else
{OtherValue = "Not available";}
})
$("#ValueFromOtherEvent").html(OtherValue); 
      }; 
function getValue(){
$("#ValueFromOtherEvent").html("waarde");
};
getValue();
})
</script>
Many thanks,
Gerben Rienk
Tagged:

Comments

This discussion has been closed.