Changes between Version 12 and Version 13 of Onyx to CiviCRM


Ignore:
Timestamp:
12/13/13 08:52:36 (11 years ago)
Author:
Richard Bramley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Onyx to CiviCRM

    v12 v13  
    1919- [x] Date and Time of Interview {Interview.start_date}
    2020- [x] Partiticant Number (Participant.barcode)
    21 - [ ] Interview Status (Interview.status) Values of
     21- [x] Interview Status (Interview.status) Values of
    2222 - IN_PROGRESS
    2323 - CLOSED
     
    6060    , i.start_date AS interviewDate
    6161    , p.barcode AS StudyID
     62    , i.status AS interviewStatus
     63    , pa.title
    6264    , p.first_name
    6365    , p.last_name
     
    8688    GROUP BY qp.participant_id
    8789    ) consent ON consent.participant_id = p.id
     90LEFT JOIN (
     91    SELECT
     92        pa.participant_id
     93      , GROUP_CONCAT(if(pa.attribute_name = 'pat_title', pa.text_value, NULL)) AS title
     94    FROM participant_attribute_value pa
     95    GROUP BY pa.participant_id
     96    ) pa ON pa.participant_id = p.id
    8897;
    8998