Skip to content

Commit

Permalink
Updated Clinical Trial label, removed immunology and epidemiologic sw…
Browse files Browse the repository at this point in the history
…itches in Section D
  • Loading branch information
Alejandro-Vega committed Feb 22, 2024
1 parent 6b98db6 commit b005572
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/config/DataTypesConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
const DataTypes = {
clinicalTrial: {
name: "clinicalTrial",
label: "Clinical Trial"
label: "Clinical"
},
immunology: {
name: "immunology",
Expand Down
20 changes: 1 addition & 19 deletions src/content/questionnaire/sections/D.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,22 +263,13 @@ const FormSectionD: FC<FormSectionProps> = ({ SectionOption, refs }: FormSection
<InvisibleInput ref={dataTypesInputRef} aria-label={SectionDMetadata.sections.DATA_TYPES.title} />
<SwitchInput
id="section-d-clinical-trial"
label="Clinical Trial"
label="Clinical"
name="dataTypes[]"
graphQLValue="clinicalTrial"
value={dataTypes.includes("clinicalTrial")}
tooltipText="A research study in which one or more subjects are prospectively assigned to one or more interventions (which may include placebo or other control) to evaluate the effects of those interventions on health-related biomedical outcomes."
readOnly={readOnlyInputs}
/>
<SwitchInput
id="section-d-immunology"
label="Immunology"
name="dataTypes[]"
graphQLValue="immunology"
value={dataTypes.includes("immunology")}
tooltipText="Data from experiments studying the function of a body's immune system. Experiments that focus primarily on genomic or imaging approaches should be classified in those areas as well."
readOnly={readOnlyInputs}
/>
<SwitchInput
id="section-d-genomics"
label="Genomics"
Expand Down Expand Up @@ -321,15 +312,6 @@ const FormSectionD: FC<FormSectionProps> = ({ SectionOption, refs }: FormSection
readOnly={readOnlyInputs}
sx={{ paddingBottom: "8px" }}
/>
<SwitchInput
id="section-d-epidemiologic-or-cohort"
label="Epidemiologic or Cohort"
graphQLValue="epidemiologicOrCohort"
name="dataTypes[]"
value={dataTypes.includes("epidemiologicOrCohort")}
tooltipText="Data related to the incidence and distribution of disease across populations."
readOnly={readOnlyInputs}
/>
<TextInput
id="section-d-other-data-types"
label="Other Data Type(s)"
Expand Down

0 comments on commit b005572

Please sign in to comment.