Changes between Version 11 and Version 12 of Onyx to CiviCRM
- Timestamp:
- 12/13/13 08:40:15 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Onyx to CiviCRM
v11 v12 17 17 The following data will be copied from the Onyx database to CiviCRM (the question name within Onyx is shown in brackets): 18 18 19 - Date and Time of Interview {Interview.start_date}20 - Partiticant Number (Participant.barcode)21 - Interview Status (Interview.status) Values of19 - [x] Date and Time of Interview {Interview.start_date} 20 - [x] Partiticant Number (Participant.barcode) 21 - [ ] Interview Status (Interview.status) Values of 22 22 - IN_PROGRESS 23 23 - CLOSED 24 24 - CANCELLED 25 25 - COMPLETED 26 - Title (participant_attribute_value.pat_title)27 - First Name (Participant.firstName)28 - Surname (Participant.lastName)29 - Address26 - [ ] Title (participant_attribute_value.pat_title) 27 - [x] First Name (Participant.firstName) 28 - [x] Surname (Participant.lastName) 29 - [ ] Address 30 30 - participant_attribute_value.pat_address1 31 31 - participant_attribute_value.pat_address2 … … 33 33 - participant_attribute_value.pat_address4 34 34 - participant_attribute_value.pat_postcode 35 - Date of Birth (Participant.birthDate)36 - Gender (Participant.gender)35 - [x] Date of Birth (Participant.birthDate) 36 - [x] Gender (Participant.gender) 37 37 - FEMALE or MALE 38 - Participant NHS Number {participant_attribute_value.pat_nhsnumber}39 - Participant UHL System Number {Participant.enrollmentId}40 - Consent Values38 - [ ] Participant NHS Number {participant_attribute_value.pat_nhsnumber} 39 - [x] Participant UHL System Number {Participant.enrollmentId} 40 - [x] Consent Values 41 41 - Understands the request for consent (question_answer.question_name="consent_q1") 42 42 - Consents to donate blood and urine (question_answer.question_name="consent_q2") … … 58 58 SELECT 59 59 p.id AS ParticipantID 60 , i.start_date AS interviewDate 60 61 , p.barcode AS StudyID 61 62 , p.first_name … … 64 65 , p.gender 65 66 , p.enrollment_id AS UhlSystemNumber 66 , consent.q1 67 , consent.q2 68 , consent.q3 69 , consent.q4 70 , consent.q5 67 , consent.q1 AS consent_understandsConsent 68 , consent.q2 AS consent_bloodAndUrine 69 , consent.q3 AS consent_briccsDatabase 70 , consent.q4 AS consent_furtherContact 71 , consent.q5 AS consent_understandsWithdrawal 71 72 FROM participant p 73 JOIN interview i ON i.participant_id = p.id 72 74 LEFT JOIN ( 73 75 SELECT