Changes between Version 13 and Version 14 of Onyx to CiviCRM


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Onyx to CiviCRM

    v13 v14  
    2424 - CANCELLED
    2525 - COMPLETED
    26 - [ ] Title (participant_attribute_value.pat_title)
     26- [x] Title (participant_attribute_value.pat_title)
    2727- [x] First Name (Participant.firstName)
    2828- [x] Surname (Participant.lastName)
    29 - [ ] Address
     29- [x] Address
    3030 - participant_attribute_value.pat_address1
    3131 - participant_attribute_value.pat_address2
     
    6464    , p.first_name
    6565    , p.last_name
     66    , pa.address_1
     67    , pa.address_2
     68    , pa.address_3
     69    , pa.address_4
     70    , pa.address_5
     71    , pa.postcode
    6672    , p.birth_date
    6773    , p.gender
     
    9298        pa.participant_id
    9399      , GROUP_CONCAT(if(pa.attribute_name = 'pat_title', pa.text_value, NULL)) AS title
     100      , GROUP_CONCAT(if(pa.attribute_name = 'pat_address1', pa.text_value, NULL)) AS address_1
     101      , GROUP_CONCAT(if(pa.attribute_name = 'pat_address2', pa.text_value, NULL)) AS address_2
     102      , GROUP_CONCAT(if(pa.attribute_name = 'pat_address3', pa.text_value, NULL)) AS address_3
     103      , GROUP_CONCAT(if(pa.attribute_name = 'pat_address4', pa.text_value, NULL)) AS address_4
     104      , GROUP_CONCAT(if(pa.attribute_name = 'pat_postcode', pa.text_value, NULL)) AS postcode
     105      , GROUP_CONCAT(if(pa.attribute_name = 'pat_ethnicity', pa.text_value, NULL)) AS ethnicity
     106      , GROUP_CONCAT(if(pa.attribute_name = 'pat_gp', pa.text_value, NULL)) AS gp
     107      , GROUP_CONCAT(if(pa.attribute_name = 'pat_nhsnumber', pa.text_value, NULL)) AS nhsNumber
     108      , GROUP_CONCAT(if(pa.attribute_name = 'pat_telephone', pa.text_value, NULL)) AS telephone
     109      , GROUP_CONCAT(if(pa.attribute_name = 'pat_workphone', pa.text_value, NULL)) AS workphone
    94110    FROM participant_attribute_value pa
    95111    GROUP BY pa.participant_id