MIT-LCP / physionet-build

The new PhysioNet platform.
https://physionet.org/
BSD 3-Clause "New" or "Revised" License
55 stars 20 forks source link

Creating and publishing a "self-managed" project #1062

Closed tompollard closed 4 years ago

tompollard commented 4 years ago

We plan to release our first "self-managed" dataset shortly. For self-managed projects, data contributors are directly responsible for granting and denying access requests.

If the contributor does not respond to a request within 2 weeks, access will be granted automatically.

There are no tools in the console to create a self-managed project, so we need to use the manage.py shell. For reference, here are the steps for setting a project as self-managed:

from project.models import ActiveProject

# get the project
slug = "the-slug"
p = ActiveProject.objects.get(slug=slug)

# set self-managed access flag
p.is_self_managed_access = True
p.save()

# add a data use agreement
dua = """<h3>Data Use Agreement</h3>
<p>The Department for Intensive Care Medicine of the University Hospital of Bern, Bern, Switzerland (ICU) and the Department of Computer Science, ETH Zurich, Zurich, Switzerland (ETHZ) grant access to the HiRID patient database to make data available for research purposes, but only if the data are used and protected in accordance with the terms and conditions stated in this License. It is hereby agreed between the data requestor, hereinafter referred to as the "LICENSEE", and ICU / ETHZ, that:</p>

<ol>
<li>The LICENSEE will not share access to HiRID data with anyone else.</li>
<li>The LICENSEE will exercise all reasonable and prudent care to maintain the physical and electronic security of HiRID data.</li>
<li>The LICENSEE will use the data for the sole purpose of lawful use in scientific research.</li>
<li>The LICENSEE will not attempt to identify any individual referenced in the HiRID data.</li>
<li>The LICENSEE will exercise all reasonable and prudent care to avoid disclosure of the identity of any individual referenced in HiRID data in any publication or other communication.</li> 
<li>If the LICENSEE finds information within HiRID data that he or she believes might permit the identification of any </li>individual or institution, the LICENSEE will report the location of this information promptly by email to hirid@intensivecare.ai citing the location of the specific information in question. 
<li>The LICENSEE agrees to share any code associated with publications arising from this data on a defined HiRID repository (https://github.com/HIRID/HiRID_v1).</li>
<li>The LICENSEE will be responsible for ensuring that he or she maintains up to date certification of training in Good Clinical Practice (GCP) according to ICH-GCP international guidelines. Training in GCP may be achieved through a class or course, academic training program, or certification from a recognized clinical research professional organization.</li>
<li>This agreement may be terminated by either party at any time, but the LICENSEE's obligations with respect to HRID data shall continue after termination.</li>
</ol>

<p>The data are provided without any warranty of any kind, expressed or implied. In no event shall the ICU or ETHZ be liable for any claim, damages or other liability arising from, out of or in connection with HiRID or the use or other dealing with HiRID.</p>
"""

p.self_managed_dua = dua
p.save()

# Add a template for the "Research Project Details" section
template = """<h3>Background</h3>
<p>Add some context on your project here.</p>
<h3>Purpose</h3>
<p>Describe the aims of the project here.</p>"""

p.self_managed_request_template = template
p.save()
tompollard commented 4 years ago

@izcram let me know if I've missed anything above.

izcram commented 4 years ago

@tompollard that looks good to me!