Changes between Version 4 and Version 5 of OpenSpecimen HowTo Use Expedited Entry for a Study


Ignore:
Timestamp:
03/21/16 14:32:20 (9 years ago)
Author:
Richard Bramley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OpenSpecimen HowTo Use Expedited Entry for a Study

    v4 v5  
    33Tags: [[OpenSpecimen]] [[HowTo]]
    44
    5 == Procedure
     5== Procedure 1
     6
     7- Find the `cp_id` of the protocal to use the expedited method.  This can be obtained from the URL when viewing the protocol or its participants.  For example `https://www15.lamp.le.ac.uk/openspecimen/#/cp-view/12/participants`
     82. Log into the database and select the record from the `os_cp_workflows` table:
     9
     10{{{
     11#!sql
     12SELECT * FROM os_cp_workflows;
     13}}}
     14
     153. Take note of the `CP_ID` of a process that currently uses the expedited method.
     164. Duplicate the existing record with the new ID:
     17
     18{{{
     19#!sql
     20INSERT INTO os_cp_workflows SELECT {new_cp_id}, WORKFLOW FROM os_cp_workflows WHERE CP_ID = {old_cp_id};
     21}}}
     22
     23== Procedure 2
    624
    725The settings are set using the REST API. See [[https://openspecimen.atlassian.net/wiki/display/CAT/UK+configuration;jsessionid=DAE0BD2C084248321CE32F05F0966221|OpenSpecimen REST API Documentation]].