Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

User can re-activate deleted / disabled participant by changing status in participant related tables. 

OpenSpecimen stores participant registration details in 'catissue_coll_prot_reg' table, participant details in 'catissue_participant' table and participant MRN details in 'catissue_part_medical_id' table.

Follow the below mentioned steps to re-activate participant: 

User should know the participant id or participant registration id to make changes in database.

Run following command to re-activate participant 


  1. Update catissue_coll_prot_reg set activity_status = 'Active' where identifier = <participant registration id>

     OR

    Update catissue_coll_prot_reg set activity_status = 'Active' where participant_id = <participant id>

  2. Select participant_id from catissue_coll_prot_reg where identifier = <participant registration id>;
    Update catissue_participant set  activity_status = 'Active' where identifier = <participant id from above query>

    OR

    Update catissue_participant set  activity_status = 'Active' where identifier = <participant id>

 Remove appended timestamp and update below columns: 

TableColumnCommand
catissue_coll_prot_regbarcodeupdate catissue_coll_prot_reg set barcode = <barcode> where identifier = <collection_protocol_registration_id>
catissue_coll_prot_regprotocol_participant_idupdate catissue_coll_prot_reg set protocol_participant_id = <protocol_participant_id> where identifier = <collection_protocol_registration_id>
catissue_participantsocial_security_numberupdate catissue_participant set social_security_number = <social_security_number> where identifier = <participant_id>;
catissue_participantempi_idupdate catissue_participant set empi_id = <empi_id> where identifier = <participant_id>;
catissue_part_medical_idmedical_record_numberupdate catissue_part_medical_id set medical_record_number = <medical_record_number> where participant_id = <participant_id>;


  • No labels