protocol-builder-mock/pb/api.yml

641 lines
21 KiB
YAML
Raw Normal View History

2020-01-08 20:57:00 +00:00
openapi: "3.0.2"
info:
description: Provides access to detailed information about a protocol under definition within the IRB's Protocol Builder Application at the University of Virginia.
2020-02-11 19:50:32 +00:00
version: 2.0.0
2020-01-08 20:57:00 +00:00
title: Protocol Builder API
# put the contact info for your development or API team
contact:
email: dan@sartography.com
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
# Added by API Auto Mocking Plugin
# tags are used for organizing operations
tags:
- name: CR-Connect
description: Operations that will be available to CR Connect
paths:
2020-02-11 19:50:32 +00:00
/user_studies:
2020-01-08 20:57:00 +00:00
get:
tags:
- CR-Connect
2020-02-11 19:50:32 +00:00
summary: A list of all studies related to a given UVA ID
operationId: pb.api.get_user_studies
2020-02-11 19:50:32 +00:00
description: "By passing in a valid UVA Id (ex: dhf8r) it will return a list of all studies that exist for that user in Protocol Builder"
2020-01-08 20:57:00 +00:00
parameters:
- in: query
name: uva_id
description: A valid user id for the University of Virginia.
required: true
schema:
type: string
- in: query
name: after_date
2020-02-11 19:50:32 +00:00
description: Restrict the studies to only those that were modified after the given date. Date format is yyyy-mm-dd (2019-12-25)
2020-01-08 20:57:00 +00:00
schema:
type: string
format: date
responses:
'200':
2020-02-11 19:50:32 +00:00
description: A list of study details
2020-01-08 20:57:00 +00:00
content:
application/json:
schema:
type: array
items:
2020-02-11 19:50:32 +00:00
$ref: "#/components/schemas/Study"
/required_docs:
2020-01-08 20:57:00 +00:00
get:
tags:
2020-02-11 19:50:32 +00:00
- CR-Connect
summary: Required documents
operationId: pb.api.required_docs
2020-02-11 19:50:32 +00:00
description: A list of all documents Protocol Builder considers required, given input from the PI
parameters:
- in: query
name: studyid
description: A valid studyid, as provided in the call to list all studies.
required: true
schema:
type: string
2020-01-08 20:57:00 +00:00
responses:
2020-02-11 19:50:32 +00:00
'200':
description: A list of required documents
2020-01-08 20:57:00 +00:00
content:
application/json:
schema:
2020-02-11 19:50:32 +00:00
type: array
items:
$ref: "#/components/schemas/RequiredDocument"
/investigators:
2020-01-08 20:57:00 +00:00
get:
tags:
2020-02-11 19:50:32 +00:00
- CR-Connect
summary: Personnel associated with this study.
operationId: pb.api.investigators
2020-02-11 19:50:32 +00:00
description: A list of everyone that is associated with the study, including the PI, Study Coordinator, etc... This is currently returned on the "study" endpoint with other information.
parameters:
- in: query
name: studyid
description: A valid studyid, as provided in the call to list all studies.
required: true
schema:
type: string
2020-01-08 20:57:00 +00:00
responses:
2020-02-11 19:50:32 +00:00
'200':
description: A list of personnel
2020-01-08 20:57:00 +00:00
content:
2020-02-11 19:50:32 +00:00
application/json:
2020-01-08 20:57:00 +00:00
schema:
2020-02-11 19:50:32 +00:00
type: array
items:
$ref: "#/components/schemas/Investigator"
2020-08-25 14:26:29 +00:00
/sponsors:
get:
tags:
- CR-Connect
summary: Sponsors associated with a study.
operationId: pb.api.sponsors
2020-08-25 14:26:29 +00:00
description: A list of all the sponsors related to a study
parameters:
- in: query
name: studyid
description: A valid studyid, as provided in the call to list all studies.
required: true
schema:
type: string
responses:
'200':
description: A list of sponsors
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Sponsor"
2020-02-11 19:50:32 +00:00
/study:
2020-01-08 20:57:00 +00:00
parameters:
2020-02-11 19:50:32 +00:00
- in: query
name: studyid
description: A valid studyid, as provided in the call to list all studies.
required: true
2020-01-08 20:57:00 +00:00
schema:
type: string
get:
tags:
2020-02-11 19:50:32 +00:00
- CR-Connect
operationId: pb.api.get_study_details
2020-02-11 19:50:32 +00:00
summary: Details about a specific protocol.
2020-01-08 20:57:00 +00:00
responses:
200:
description: Details about the protocol
content:
2020-02-11 19:50:32 +00:00
application/json:
2020-01-08 20:57:00 +00:00
schema:
2020-02-11 19:50:32 +00:00
$ref: "#/components/schemas/StudyDetail"
/check_study/{studyid}:
parameters:
- name: studyid
in: path
required: true
description: The id of the study.
schema:
type: integer
format: int32
get:
tags:
- CR-Connect
operationId: pb.api.check_study
summary: IRB Status about a particular study.
responses:
200:
description: Details about the protocol
content:
application/json:
schema:
$ref: "#/components/schemas/IRBStatus"
/current_irb_info/{studyid}:
parameters:
- name: studyid
in: path
required: true
description: The id of the study
schema:
type: integer
format: int32
get:
tags:
- CR-Connect
operationId: pb.api.current_irb_info
summary: IRB Info about a particular study
responses:
200:
description: IRB Info about the study
content:
application/json:
schema:
$ref: "#/components/schemas/IRBInfo"
2020-01-08 20:57:00 +00:00
components:
schemas:
2020-02-11 19:50:32 +00:00
Study:
2020-01-08 20:57:00 +00:00
type: object
properties:
2020-02-11 19:50:32 +00:00
STUDYID:
type: number
example: 11770
description: The unique id of the study in Protocol Builder. Sometimes referenced as the "HSR Submission number" if you are looking at Protocol Builder
HSRNUMBER:
type: number
2020-01-08 20:57:00 +00:00
example: 15378
2020-02-11 19:50:32 +00:00
description: This is the number users use to lookup and reference when talking about non SOM protocols in IRB Online and displayed in more documentation. Its only used in IRB Online. Its not an auto increment.
TITLE:
2020-01-08 20:57:00 +00:00
type: string
2020-02-11 19:50:32 +00:00
format: string
2020-01-08 20:57:00 +00:00
example: The impact of fried pickles on beer consumption in bipedal software developers.
2020-02-11 19:50:32 +00:00
description: The title of the study, as set in the Protocol Builder.
NETBADGEID:
2020-01-08 20:57:00 +00:00
type: string
format: string
2020-02-11 19:50:32 +00:00
example: jfg6n
description: The UVA Id of of the principle investigator for the study.
DATE_MODIFIED:
2020-01-08 20:57:00 +00:00
type: string
format: date_time
example: "2019-12-25T09:12:33.001Z"
2020-02-11 19:50:32 +00:00
description: The last time this study was modified or updated.
RequiredDocument:
type: object
properties:
AUXDOCID:
type: number
example: 32
description: The unique and permiment id of the required document.
AUXDOC:
2020-01-08 20:57:00 +00:00
type: string
2020-02-11 19:50:32 +00:00
format: string
example: IDS - Investigational Drug Service Approval
description: A descriptive name of the required dcoument.
2020-08-25 14:26:29 +00:00
Sponsor:
properties:
SP_NAME:
type: string
example: "AstraZeneca Pharmaceuticals LP (Wilmington, DE)"
description: A descriptive name
SP_TYPE:
type: string
example: "Industry"
description: the type of sponsor
SP_TYPE_GROUP_NAME:
type: string
example: "Industry"
description: The category of the type of sponsor
SS_STUDY:
type: number
example: 15333
description: The unqiue id of the associated study
COMMONRULEAGENCY:
type: boolean
example: true
description: Is this a common rule agency
SPONSOR_ID:
type: number
example: 1022
description: The unique id of the sponsor
2020-02-11 19:50:32 +00:00
Investigator:
properties:
STUDYID:
2020-01-08 20:57:00 +00:00
type: number
2020-02-11 19:50:32 +00:00
example: 11770
description: The unique id of the study in Protocol Builder.
NETBADGEID:
2020-01-08 20:57:00 +00:00
type: string
2020-02-11 19:50:32 +00:00
example: jfg6n
description: The UVA NetBadge Id of the user.
INVESTIGATORTYPE:
2020-01-08 20:57:00 +00:00
type: string
2020-02-11 19:50:32 +00:00
example: PI
enum: [PI, SI, DC, SC_I, SC_ii, AS_C, DEPT_CH, IRBC, SCI]
2020-01-08 20:57:00 +00:00
description: >
2020-02-11 19:50:32 +00:00
Personnel Type:
* `PI` - Primary Investigator
* `SI` - Sub Investigator
* `DC` - Department Contact
* `SC_I` - Study Coordinator 1
* `SC_II` - Study Coordinator 2
* `AS_C` - Additional Study Coordinators
* `DEPT_CH` - Department Chair
* `IRBC` - IRB Coordinator
* `SCI` - Scientific Contact (NOT SURE IF THIS IS CORRECT!)
INVESTIGATORTYPEFULL:
2020-01-08 20:57:00 +00:00
type: string
2020-02-11 19:50:32 +00:00
example: Principal Investigator
description: A human readable descriptive string of the INVESTIGATORTYPE.
IRBStatus:
type: object
properties:
STUDYID:
type: number
example: 12345
description: The study id from the Protocol Builder
STATUS:
type: string
example: No Error
description: The study status
DETAIL:
type: string
example: Passed Validation
description: Detail about the study status
IRBInfo:
type: object
properties:
SS_STUDY_ID:
type: number
example: 12345
description: The study id from Protocol Builder
UVA_STUDY_TRACKING:
type: string
example: HSR170023
description: Unknown
DATE_MODIFIED:
type: string
example: 2021-04-20T00:00:00+00:00
description: Unknown
IRB_ADMINISTRATIVE_REVIEWER:
type: string
description: Unknown
AGENDA_DATE:
type: string
example: 2021-04-20T00:00:00+00:00
description: Unknown
IRB_REVIEW_TYPE:
type: string
example: Full Committee
description: Unknown
IRBEVENT:
type: string
example: Receipt of Protocol Continuation
description: Unknown
IRB_STATUS:
type: string
example: Closed to enrollment, follow-up only
description: Unknown
IRB_OF_RECORD:
type: string
example: IRB-HSR
description: Unknown
UVA_IRB_HSR_IS_IRB_OF_RECORD_FOR_ALL_SITES:
type: integer
example: 0
description: Unknown
STUDYIRBREVIEWERADMIN:
type: string
description: Unknown
2020-02-11 19:50:32 +00:00
StudyDetail:
type: object
properties:
STUDYID:
type: number
example: 11536
description: The study id from the Protocol Builder
IS_IND:
type: number
enum: [0,1,null]
example: 0
description: Does the study involve a new drug?
IND_1:
type: string
description: Investigational New Drug Number, may be several
IND_2:
type: string
description: Investigational New Drug Number, may be several
IND_3:
type: string
description: Investigational New Drug Number, may be several
2020-02-11 19:50:32 +00:00
IS_UVA_IND:
type: number
enum: [0,1,null]
example: 1
description: Was the investigational new drug developed at UVa?
2020-02-11 19:50:32 +00:00
IS_IDE:
type: number
enum: [0,1,null]
example: true
description: Does the study involve a new device?
IS_UVA_IDE:
type: number
enum: [0,1,null]
example: 1
description: Was the investigational device developed at UVa?
IDE:
type: string
description: Investigational Device Number.
2020-02-11 19:50:32 +00:00
IS_CHART_REVIEW:
type: number
enum: [0,1,null]
example: 1
description: Does this include chart reviews which do not requre the consent of the Study group?
2020-02-11 19:50:32 +00:00
IS_RADIATION:
type: number
enum: [0,1,null]
example: true
description: Does the Study include radiation treatment?
2020-02-11 19:50:32 +00:00
GCRC_NUMBER:
2020-01-08 20:57:00 +00:00
type: string
description: The General Clinical Research Center number, if funded by GCRC
2020-02-11 19:50:32 +00:00
IS_GCRC:
type: number
enum: [0,1,null]
example: true
description: Will any part of this study take place in or be funded by the General Clinical Research Center?
2020-02-11 19:50:32 +00:00
IS_PRC_DSMP:
type: number
enum: [0,1,null]
example: true
description: Does this protocol involve the testing of a new device or improvement of a method of detection or diagnosis for cancer?
2020-02-11 19:50:32 +00:00
IS_PRC:
type: number
enum: [0,1,null]
example: true
description: Does the Study require Cancer Center Protocol Review Committee oversight?
2020-02-11 19:50:32 +00:00
PRC_NUMBER:
2020-01-08 20:57:00 +00:00
type: string
description: Cancer Center Protocol Review Committee number
2020-02-11 19:50:32 +00:00
IS_IBC:
type: number
enum: [0,1,null]
example: true
description: Will this Study need the approval of the Institutional Biosafety Committee?
2020-02-11 19:50:32 +00:00
IBC_NUMBER:
type: number
enum: [0,1,null]
example: true
description: Site identifier that the location has been approved to handle biological agents by the Institutional Biosafety Committee.
2020-02-11 19:50:32 +00:00
SPONSORS_PROTOCOL_REVISION_DATE:
type: number
enum: [0,1,null]
example: true
description: Will the study be part of a UVA faculty member's-sponsored Investigational Device application?
2020-02-11 19:50:32 +00:00
IS_SPONSOR_MONITORING:
type: number
enum: [0,1,null]
example: true
description: Will the Sponsor monitor the Study?
2020-02-11 19:50:32 +00:00
IS_AUX:
type: number
enum: [0,1,null]
example: true
description: Is Auxilliary Info needed?
2020-02-11 19:50:32 +00:00
IS_SPONSOR:
type: number
enum: [0,1,null]
example: true
description: Is there an outside sponsor involved?
2020-02-11 19:50:32 +00:00
IS_GRANT:
type: number
enum: [0,1,null]
example: true
description: Is grant money funding all or part of the Study?
2020-02-11 19:50:32 +00:00
IS_COMMITTEE_CONFLICT:
type: number
enum: [0,1,null]
example: true
description: Does someone on the IRB Review Committee have a conflict of interest?
2020-02-11 19:50:32 +00:00
DSMB:
type: number
enum: [0,1,null]
example: true
description: Will this study be monitored by a Data and Safety Monitoring Board?
2020-02-11 19:50:32 +00:00
DSMB_FREQUENCY:
type: string
example: A lot
description: UNDOCUMENTED.
2020-02-11 19:50:32 +00:00
IS_DB:
type: number
enum: [0,1,null]
example: true
description: Is the ONLY intent of this protocol to establish a research database (repository)?
2020-02-11 19:50:32 +00:00
IS_UVA_DB:
type: number
enum: [0,1,null]
example: true
description: Will any of the data be kept at UVA outside of the official medical record or will specimens be kept at UVA outside of clinical labs?
2020-02-11 19:50:32 +00:00
IS_CENTRAL_REG_DB:
type: number
enum: [0,1,null]
example: true
description: Will any data from UVA subjects be sent to a central registry or database outside of UVA?
2020-02-11 19:50:32 +00:00
IS_CONSENT_WAIVER:
type: number
enum: [0,1,null]
example: true
description: Will there be a consent waiver?
2020-02-11 19:50:32 +00:00
IS_HGT:
type: number
enum: [0,1,null]
example: true
description: Are you storing specimens, sequences analysis of DNA/RNA for an unspecified future use.
2020-02-11 19:50:32 +00:00
IS_GENE_TRANSFER:
type: number
enum: [0,1,null]
example: true
description: Will the Study involve gene transfer?
2020-02-11 19:50:32 +00:00
IS_TISSUE_BANKING:
type: number
enum: [0,1,null]
example: true
description: Will the Study involve tissue banking?
2020-02-11 19:50:32 +00:00
IS_SURROGATE_CONSENT:
type: number
enum: [0,1,null]
example: true
description: Will the Study require the consent of a surrogate?
2020-02-11 19:50:32 +00:00
IS_ADULT_PARTICIPANT:
type: number
enum: [0,1,null]
example: true
description: Will the Study group include adults?
2020-02-11 19:50:32 +00:00
IS_MINOR_PARTICIPANT:
type: number
enum: [0,1,null]
example: true
description: Are any of the subjects between the ages of 15 and < 18?
2020-02-11 19:50:32 +00:00
IS_MINOR:
type: number
enum: [0,1,null]
example: true
description: Does the study enroll subjects under the age of 18?
2020-02-11 19:50:32 +00:00
IS_BIOMEDICAL:
type: number
enum: [0,1,null]
example: true
description: Will this study involve biomedical research?
2020-02-11 19:50:32 +00:00
IS_QUALITATIVE:
type: number
enum: [0,1,null]
example: true
description: Will this study involve only qualitative research?
2020-02-11 19:50:32 +00:00
IS_PI_SCHOOL:
type: number
enum: [0,1,null]
example: true
description: Will this study be submitted through the PI's current primary school and department appointment?
2020-02-11 19:50:32 +00:00
IS_PRISONERS_POP:
type: number
enum: [0,1,null]
example: true
description: Will the Study group include prisoners?
2020-02-11 19:50:32 +00:00
IS_PREGNANT_POP:
type: number
enum: [0,1,null]
example: true
description: Will the Study group include pregnant women?
2020-02-11 19:50:32 +00:00
IS_FETUS_POP:
type: number
enum: [0,1,null]
example: true
description: Will the Study be done on fetuses?
2020-02-11 19:50:32 +00:00
IS_MENTAL_IMPAIRMENT_POP:
type: number
enum: [0,1,null]
example: true
description: Will the Study group include anyone who is mentally impaired?
2020-02-11 19:50:32 +00:00
IS_ELDERLY_POP:
type: number
enum: [0,1,null]
example: true
description: Will the Study group include the elderly?
2020-02-11 19:50:32 +00:00
IS_OTHER_VULNERABLE_POP:
type: number
enum: [0,1,null]
example: true
description: Will the Study group include other vulnerable populations?
2020-02-11 19:50:32 +00:00
OTHER_VULNERABLE_DESC:
type: string
example: homeless people
description: Other vulnerable population description
2020-02-11 19:50:32 +00:00
IS_MULTI_SITE:
type: number
enum: [0,1,null]
example: true
description: Will the Study be conducted at multiple sites?
2020-02-11 19:50:32 +00:00
IS_UVA_LOCATION:
type: number
enum: [0,1,null]
example: true
description: Will the Study be done at UVa?
2020-02-11 19:50:32 +00:00
NON_UVA_LOCATION:
2020-01-08 20:57:00 +00:00
type: string
description: Will the Study be done at non-UVa sites?
2020-02-11 19:50:32 +00:00
MULTI_SITE_LOCATIONS:
2020-01-08 20:57:00 +00:00
type: string
description: List if other sites involved.
2020-02-11 19:50:32 +00:00
IS_OUTSIDE_CONTRACT:
type: number
enum: [0,1,null]
example: true
description: Will the Study be funded by an outside contract?
2020-02-11 19:50:32 +00:00
IS_UVA_PI_MULTI:
type: number
enum: [0,1,null]
example: true
description: Will the PI be from UVa for multi-site study?
2020-02-11 19:50:32 +00:00
IS_NOT_PRC_WAIVER:
type: number
enum: [0,1,null]
example: true
description: Have you received notification from the Cancer Center Protocol Review Committee (PRC) that this protocol does not need approval from the PRC?
2020-02-11 19:50:32 +00:00
IS_CANCER_PATIENT:
type: number
enum: [0,1,null]
example: true
description: Will the Study involve cancer patients?
2020-02-11 19:50:32 +00:00
UPLOAD_COMPLETE:
type: number
enum: [0,1,null]
example: true
description: bit indicating that the study was moved to IRB online
2020-02-11 19:50:32 +00:00
IS_FUNDING_SOURCE:
type: number
enum: [0,1,null]
example: true
description: Is there an outside supply source other than the sponsor/funding source supporting this study?
2020-02-11 19:50:32 +00:00
IS_PI_INITIATED:
type: number
enum: [0,1,null]
example: true
description: Was the Study initiated by the Principal Investigator?
2020-02-11 19:50:32 +00:00
IS_ENGAGED_RESEARCH:
type: number
enum: [0,1,null]
example: true
description: Will the Study group be contacted by UVa employees or agents or obtain personnally identifiable information about them?
2020-02-11 19:50:32 +00:00
IS_APPROVED_DEVICE:
type: number
enum: [0,1,null]
example: true
description: Has the device in the Study been approved by the FDA?
2020-02-11 19:50:32 +00:00
IS_FINANCIAL_CONFLICT:
type: number
enum: [0,1,null]
example: true
description: Has the Conflict of Interest Committee provided a COI Management Plan?
2020-02-11 19:50:32 +00:00
IS_NOT_CONSENT_WAIVER:
type: number
enum: [0,1,null]
example: true
description: Do you plan on getting VERBAL CONSENT for ONLY a PART of this study (waiver of documentation of consent) and getting WRITTEN CONSENT for another part of the study?
2020-02-11 19:50:32 +00:00
IS_FOR_CANCER_CENTER:
type: number
enum: [0,1,null]
example: true
description: Will the Study involve the UVa Cancer Center?
2020-02-11 19:50:32 +00:00
IS_REVIEW_BY_CENTRAL_IRB:
type: number
enum: [0,1,null]
example: true
description: Will the Study require review by the Central IRB?
2020-02-11 19:50:32 +00:00
IRBREVIEWERADMIN:
type: string
example: "dhf8r"
description: Netbadge id of IRB staff assinged to do the review