Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
anngvu committed Feb 9, 2024
1 parent c93c709 commit f520f4a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
13 changes: 13 additions & 0 deletions modules/classes/patient_and_specimen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,19 @@ classes:
- SampleCollectionCenter
- SampleCollectionYear

BreastAtlasCohort:
title: Breast Atlas Cohort
required: false
description: Group of individuals featured in the breast precancer atlas.
slots:

OvarianAtlasCohort:
title: Ovarian Atlas Cohort
required: false
description: Group of individuals featured in the ovarian precancer atlas.
slots:
- MenstrualCyclePhase
- TypeContraceptiveUse

PatientExtended:
is_a: Patient
Expand Down
12 changes: 0 additions & 12 deletions modules/slots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -450,16 +450,6 @@ slots:
- Breast Atlas Cohort
- Ovarian Atlas Cohort
annotations:
BreastAtlasCohort:
title: Breast Atlas Cohort
required: false
description: Group of individuals featured in the breast precancer atlas.
annotations:
OvarianAtlasCohort:
title: Ovarian Atlas Cohort
required: false
description: Group of individuals featured in the ovarian precancer atlas.
annotations:
Comment:
title: Comment
required: false
Expand Down Expand Up @@ -1038,7 +1028,6 @@ slots:
description: Phase of the menstrual cycle at patient sample collection.
range: MenstrualCyclePhaseEnum
annotations:
requiresDependency: Ovarian Atlas Cohort
MetalIsotopeElement:
title: Metal Isotope Element
required: false
Expand Down Expand Up @@ -1843,7 +1832,6 @@ slots:
description: Type of contraceptive(s) used within the individual's history.
range: Contraceptive
annotations:
requiresDependency: Ovarian Atlas Cohort
TypeofSmokeExposure:
title: Type of Smoke Exposure
required: false
Expand Down

0 comments on commit f520f4a

Please sign in to comment.