|
@@ -42,7 +42,7 @@ discard block |
|
|
block discarded – undo |
|
42
|
42
|
$studyName=$_POST['studyName']; |
|
43
|
43
|
$visitsGroupArray=$_POST['visitsData']; |
|
44
|
44
|
$patientCodePrefix=$_POST['patientCodePrefix']; |
|
45
|
|
- if(empty($patientCodePrefix)) $patientCodePrefix = null; |
|
|
45
|
+ if (empty($patientCodePrefix)) $patientCodePrefix=null; |
|
46
|
46
|
//Add the new study as an active study |
|
47
|
47
|
Study::createStudy($studyName, $patientCodePrefix, $linkpdo); |
|
48
|
48
|
|
|
@@ -58,10 +58,10 @@ discard block |
|
|
block discarded – undo |
|
58
|
58
|
$qc=$visit['qc'] === 'true'; |
|
59
|
59
|
$review=$visit['review'] === 'true'; |
|
60
|
60
|
$optional=$visit['optional'] === 'true'; |
|
61
|
|
- $dicomConstraints = $visit['dicomConstraints'] ; |
|
|
61
|
+ $dicomConstraints=$visit['dicomConstraints']; |
|
62
|
62
|
//Create Visit Type |
|
63
|
63
|
Visit_Type::createVisitType($studyName, $visitGroup, $visit['name'], $visit['order'], $visit['dayMin'], $visit['dayMax'], $localForm, |
|
64
|
|
- $qc, $review, $optional, $visit['anonProfile'], $dicomConstraints , $linkpdo); |
|
|
64
|
+ $qc, $review, $optional, $visit['anonProfile'], $dicomConstraints, $linkpdo); |
|
65
|
65
|
|
|
66
|
66
|
$rootSpecificModelsFolder=$_SERVER["DOCUMENT_ROOT"].'/data/form/'.$studyName.'/Poo'; |
|
67
|
67
|
$rootSpecificScriptFolder=$_SERVER["DOCUMENT_ROOT"].'/data/form/'.$studyName.'/scripts'; |