Enrollment numbers not available in Workbench

Open
#333 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
fastapi, python
Domain
backend, frontend

Research direction

Start by locating the Workbench screens and data flow for enrollment numbers, then compare their handling with the SubjectEnrollment entity and its required quantity and optional scope/cohort/site relationships described in the issue. The payload names no files or tests, so first identify where these values are entered or displayed; done means enrollment numbers are available in Workbench in a way consistent with the entity.

Written by the indexing model from the issue text.

Description

Additional details required enhancement

SubjectEnrollment class entity required in USDM.

SubjectEnrollment:
NCI C-Code: C37948
Preferred Term: Subject Enrollment
Definition: The act of enrolling subjects into a study. The subject will have met
the inclusion/exclusion criteria to participate in the trial and will have signed
an informed consent form. (CDISC Glossary)
Modifier: Concrete
Attributes:
id:
Type:
- $ref: '#/string'
Cardinality: '1'
Relationship Type: Value
Model Name: id
Model Representation: Attribute
name:
Type:
- $ref: '#/string'
NCI C-Code: C215540
Preferred Term: Subject Enrollment Name
Definition: The literal identifier (i.e., distinctive designation) of the subject
enrollment.
Cardinality: '1'
Relationship Type: Value
Model Name: name
Model Representation: Attribute
label:
Type:
- $ref: '#/string'
NCI C-Code: C215542
Preferred Term: Subject Enrollment Label
Definition: The short descriptive designation for the subject enrollment..
Cardinality: 0..1
Relationship Type: Value
Model Name: label
Model Representation: Attribute
description:
Type:
- $ref: '#/string'
NCI C-Code: C215541
Preferred Term: Subject Enrollment Description
Definition: A narrative representation of the subject enrollment.
Cardinality: 0..1
Relationship Type: Value
Model Name: description
Model Representation: Attribute
quantity:
Type:
- $ref: '#/Quantity'
NCI C-Code: C207573
Preferred Term: Subject Enrollment Quantity Value
Definition: The value representing the number of individuals enrolled in a study.
Cardinality: '1'
Relationship Type: Value
Model Name: quantity
Model Representation: Attribute
forGeographicScope:
Type:
- $ref: '#/GeographicScope'
Definition: A USDM relationship between the SubjectEnrollment and GeographicScope
classes which identifies the geographic scope to which the subject enrollment
applies.
Cardinality: 0..1
Relationship Type: Value
Model Name: forGeographicScope
Model Representation: Relationship
forStudyCohortId:
Type:
- $ref: '#/StudyCohort'
Definition: A USDM relationship between the SubjectEnrollment and StudyCohort
classes which identifies the study cohort to which the subject enrollment
applies.
Cardinality: 0..1
Relationship Type: Ref
Model Name: forStudyCohort
Model Representation: Relationship
forStudySiteId:
Type:
- $ref: '#/StudySite'
Definition: A USDM relationship between the SubjectEnrollment and StudySite
classes which identifies the study site to which the subject enrollment applies.
Cardinality: 0..1
Relationship Type: Ref
Model Name: forStudySite
Model Representation: Relationship
extensionAttributes:
Type:
- $ref: '#/ExtensionAttribute'
Cardinality: 0..*
Relationship Type: Value
instanceType:
Type:
- $ref: '#/string'
Cardinality: '1'
Relationship Type: Value

Dominant language
Python
Stars
7
Forks
2
Avg merge
3h 41m
Merged PRs (30d)
59

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pendingintent/soa-workbench

All issues in pendingintent/soa-workbench

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.