720 * 3600)) { // file older than 720 hours - 30 days unlink('ct/'.$id.'.php'); } // check if file exist if (! file_exists ( 'ct/'.$id.'.php' )) { // Load the XML source $xml = new DOMDocument; $xml->load($url); // escape single quotes foreach( $xml->getElementsByTagName("textblock") as $pnode ) { //$pnode->nodeValue = str_ireplace( "'", "\'", $pnode->nodeValue); //$pnode->nodeValue = str_ireplace( "'", "\'", $pnode->nodeValue); $pnode->nodeValue = stripslashes($pnode->nodeValue); $pnode->nodeValue = addslashes($pnode->nodeValue); } foreach( $xml->getElementsByTagName("description") as $pnode ) { $pnode->nodeValue = str_ireplace( "'", "\'", $pnode->nodeValue); } foreach( $xml->getElementsByTagName("brief_title") as $pnode ) { $pnode->nodeValue = str_ireplace( "'", "\'", $pnode->nodeValue); } foreach( $xml->getElementsByTagName("intervention_name") as $pnode ) { $pnode->nodeValue = str_ireplace( "'", "\'", $pnode->nodeValue); } foreach( $xml->getElementsByTagName("arm_group_label") as $pnode ) { $pnode->nodeValue = str_ireplace( "'", "\'", $pnode->nodeValue); } foreach( $xml->getElementsByTagName("condition") as $pnode ) { //$pnode->nodeValue = str_ireplace( "\\", "\\\\", $pnode->nodeValue); //$pnode->nodeValue = str_ireplace( "\\", " ", $pnode->nodeValue); //$pnode->nodeValue = str_ireplace( "'", "\'", $pnode->nodeValue); //$pnode->nodeValue = str_ireplace( "\\", "\\\\", $pnode->nodeValue); //$pnode->nodeValue = str_ireplace( "\\", "\\\\", $pnode->nodeValue); //$pnode->nodeValue = addslashes($pnode->nodeValue); //$pnode->nodeValue = addslashes($pnode->nodeValue); //$pnode->nodeValue = rtrim($pnode->nodeValue, "\\"); $pnode->nodeValue = stripslashes($pnode->nodeValue); $pnode->nodeValue = addslashes($pnode->nodeValue); } foreach( $xml->getElementsByTagName("agency") as $pnode ) { $pnode->nodeValue = str_ireplace( "'", "\'", $pnode->nodeValue); } foreach( $xml->getElementsByTagName("last_name") as $pnode ) { $pnode->nodeValue = str_ireplace( "'", "\'", $pnode->nodeValue); } foreach( $xml->getElementsByTagName("study_design") as $pnode ) { $pnode->nodeValue = str_ireplace( "\\", " ", $pnode->nodeValue); $pnode->nodeValue = str_ireplace( "'", "\'", $pnode->nodeValue); } foreach( $xml->getElementsByTagName("measure") as $pnode ) { $pnode->nodeValue = str_ireplace( "'", "\'", $pnode->nodeValue); } foreach( $xml->getElementsByTagName("citation") as $pnode ) { $pnode->nodeValue = str_ireplace( "'", "\'", $pnode->nodeValue); } $xsl = new DOMDocument; $xsl->load('study.xsl'); // Configure the transformer $proc = new XSLTProcessor; $proc->importStyleSheet($xsl); // attach the xsl rules // get all php variables $proc = $proc->transformToXML($xml); $proc = str_ireplace( ' ', ' ', ' '); } include 'ct/'.$id.'.php'; function get_snippet( $str, $wordCount = 10 ) { return implode( '', array_slice( preg_split( '/([\s,\.;\?\!]+)/', $str, $wordCount*2+1, PREG_SPLIT_DELIM_CAPTURE ), 0, $wordCount*2-1 ) ); } ?>

PatientsVille.com LogoPatientsVille.com

|

research study

What is the primary objective of this study?

Who is eligible to participate?

Which medical condition, disease, disorder, syndrome, illness, or injury is researched?

'.$condition[$i].'

'); } ?>

Study Interventions

Interventions can include giving participants drugs, medical devices, procedures, vaccines, and other products that are either investigational or already available or noninvasive approaches such as surveys, education, and interviews.

'.$int_type[$i].':'.$int_name[$i].$int_desc[$i].'

'); } ?>

Study Arms

Research studies and clinical trials typically have two or more research arms. An arm is a group of people who receive the same treatment in the study.

'.$arm_label[$i].$arm_desc[$i].'

'); } ?>

Study Status

Start Date:

Completed Date:

Phase:

Type:

Design:

Primary Outcome:

Secondary Outcome:

Study sponsors, principal investigator, and references

Principal Investigator:

Lead Sponsor:

Collaborator:

More information:

'.$citation[$i].'

'); } ?>

Discuss

© Copyright .

If you think you may have a medical emergency, call your doctor or 911 immediately.

By accessing this website, you are indicating your acknowledgement and acceptance of these Terms of Use. These Terms of Use are subject to change by WinFirst LLC at any time in its discretion. Your use of WinFirst LLC Site after such changes are implemented constitutes your acknowledgement and acceptance of the changes. Please consult these Terms of Use regularly. PatientsVille.com does not provide medical advice, diagnosis or treatment. The information contained on PatientsVille.com site has not been scientifically or otherwise verified as to a cause and effect relationship and cannot be used to estimate the incidence of adverse drug reactions or for establishing or changing of patient treatments.

Privacy | Terms | Contact us

privacy policy