DREAM Study: DREAM.xml

File DREAM.xml, 2.8 KB (added by Richard Bramley, 11 years ago)

CiviCRM Case Definition

Line 
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<CaseType>
4 <name>DREAM</name>
5 <ActivityTypes>
6 <ActivityType>
7 <name>Open Case</name>
8 <max_instances>1</max_instances>
9 </ActivityType>
10 <ActivityType>
11 <name>Recruit to study</name>
12 <max_instances>1</max_instances>
13 </ActivityType>
14 <ActivityType>
15 <name>Inform GP practice</name>
16 </ActivityType>
17 <ActivityType>
18 <name>MRI</name>
19 <max_instances>2</max_instances>
20 </ActivityType>
21 <ActivityType>
22 <name>Follow up</name>
23 <max_instances>1</max_instances>
24 </ActivityType>
25 <ActivityType>
26 <name>Check study consent</name>
27 <max_instances>1</max_instances>
28 </ActivityType>
29 <ActivityType>
30 <name>Withdraw from study</name>
31 <max_instances>1</max_instances>
32 </ActivityType>
33 <ActivityType>
34 <name>Change Case Status</name>
35 </ActivityType>
36 <ActivityType>
37 <name>Change Case Start Date</name>
38 </ActivityType>
39 </ActivityTypes>
40 <ActivitySets>
41 <ActivitySet>
42 <name>standard_timeline</name>
43 <label>Standard Timeline</label>
44 <timeline>true</timeline>
45 <ActivityTypes>
46 <ActivityType>
47 <name>Open Case</name>
48 <status>Completed</status>
49 </ActivityType>
50 <ActivityType>
51 <name>Recruit to study</name>
52 <reference_activity>Open Case</reference_activity>
53 <reference_offset>0</reference_offset>
54 <reference_select>newest</reference_select>
55 </ActivityType>
56 <ActivityType>
57 <name>Inform GP practice</name>
58 <reference_activity>Open Case</reference_activity>
59 <reference_offset>0</reference_offset>
60 <reference_select>newest</reference_select>
61 </ActivityType>
62 <ActivityType>
63 <name>MRI</name>
64 <reference_activity>Open Case</reference_activity>
65 <reference_offset>5</reference_offset>
66 <reference_select>newest</reference_select>
67 </ActivityType>
68 <ActivityType>
69 <name>Follow up</name>
70 <reference_activity>Open Case</reference_activity>
71 <reference_offset>112</reference_offset>
72 <reference_select>newest</reference_select>
73 </ActivityType>
74 <ActivityType>
75 <name>MRI</name>
76 <reference_activity>Open Case</reference_activity>
77 <reference_offset>112</reference_offset>
78 <reference_select>newest</reference_select>
79 </ActivityType>
80 </ActivityTypes>
81 </ActivitySet>
82 </ActivitySets>
83 <CaseRoles>
84 <RelationshipType>
85 <name>Study Administrator</name>
86 <creator>1</creator>
87 </RelationshipType>
88 <RelationshipType>
89 <name>Study Manager</name>
90 <manager>1</manager>
91 </RelationshipType>
92 </CaseRoles>
93</CaseType>
94
95