forked from ctsit/redcap_oncore_client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
requests_examples.txt
66 lines (63 loc) · 2.22 KB
/
requests_examples.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// getProtocol
$input = array('protocolNo' => 'OCR20002');
// getProtocolSubjects
$input = array('ProtocolNo' => 'OCR20002');
// createProtocol
$input = array(
'ProtocolImportData' => array(
'ProtocolNo' => 'OCR20004',
'IrbNo' => '',
'Library' => 'Academic Health Center',
'Department' => 'MD-CTSI',
'OrganizationalUnit' => 'Academic Health Center',
'Title' => 'Send Rx',
'ShortTitle' => 'Send Rx',
'ProtocolType' => 'Other',
'EstimatedCompletionDate' => '2018-07-01',
),
);
// registerNewSubjectToProtocol
$input = array(
'ProtocolSubjectRegistrationData' => array(
'Context' => 'CRM',
'ProtocolSubject' => array(
'ProtocolNo' => 'OCR20002',
'StudySite' => 'UF Gainesville',
'status' => 'On Study',
'Subject' => array(
'PrimaryIdentifier' => 'E0599913',
'FirstName' => 'John',
'LastName' => 'Smith',
'Gender' => 'Male',
'BirthDate' => '1980-07-20',
'Ethnicity' => 'Non-Hispanic',
'Race' => 'Asian',
'ContactInfo' => array(
'AddressLine' => '123 Main St.',
'City' => 'Gainesville',
'State' => 'FL',
'County' => 'Alachua',
'Country' => 'United States',
'EmailAddress' => '[email protected]',
),
'ExpiredDate' => '2018-07-20',
'LastKnownAliveDate' => '2017-12-13',
'Comments' => 'No comments.',
),
'ConsentData' => array(
'Type' => 'Informed Consent',
'Description' => 'Informed Consent',
'VersionDate' => '2017-07-20',
'ApprovedDate' => '2017-07-20',
'ExpirationDate' => '2018-07-20',
'SignedDate' => '2017-12-13',
'Status' => 'Consent Waived',
),
'OnStudyData' => array(
'OnStudyDate' => '2017-12-01',
'StudySite' => 'UF Gainesville',
'ZipAtRegistration' => '32608',
),
),
),
);