We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

how to write rule for ITEM_DISPLAY_STATUS based on login user?

I am new to OpenClinica. I have 2 items in CRF that only a person who is in charge on reviewing data can see and enter. Is there a way to do this? Is ITEM_DISPLAY_STATUS the right way to go? I can't find any example from the web. Please help!!


  • lindsay.stevenslindsay.stevens Posts: 404 ✭✭✭
    via Email
    The only way to control CRF item visibility by user role is to use site

    Put your secret items in a separate CRF. In the study build page for
    individual sites, set that CRF to hidden.

    This will allow users with a study level role (data manager, monitor, etc)
    to see it.

    Users with a site level role (CRC, monitor, data entry person, etc) at the
    site you've hidden it from will not be able to see it.
  • peichenpeichen Posts: 5
    Thank for the reply!!
    This is the details of what I am looking for: There are 2 data fields (say A & B ) that coordinators will enter. A pathologist will come in, review A & B, and leave comments on 2 separate data fields (say C & D). If I put the data fields (C & D) in different CFR, the pathologist won't have easy way to see A & B, and I won't have relationship among 4 data fields. Am I correct?
  • lindsay.stevenslindsay.stevens Posts: 404 ✭✭✭
    via Email
    The data will be related by study id, subject id, and event id. It is easy
    to combine or merge the extracted data sets using these fields.

    For the pathologist review, there are a few options.

    1. They can see both CRFs if they have a study level role, so they could
    open both in separate browser tabs.

    2. You could use JavaScript and the REST API to display data from CRF 1 on
    CRF 2. There are examples of this on this forum and elsewhere online.

    3. Put a copy of fields C and D on CRF 2. Since your CRFs are in the same
    event, you can use an insertaction rule to copy the data from CRF 2. This
    has the potential issue that if the pathologist changes their copy, it
    won't be updated in CRF 1, unless you have another rule to copy the data
    back over. Then there is the problem that if you have discrepancy note
    rules on these items on CRF 1, the insertaction from CRF 2 won't trigger
    them. So you'd need to periodically run the CRF 1 discrepancy note rules in
    batch mode.
  • peichenpeichen Posts: 5
    Thank you!! I will try them out.
This discussion has been closed.