From fc5933944dc216ea6ca02df0a4c348c3b82010dc Mon Sep 17 00:00:00 2001 From: Anh Nguyet Vu Date: Fri, 9 Feb 2024 16:22:10 -0700 Subject: [PATCH] Allow multiple contraceptive use and not documented values --- modules/classes/patient_and_specimen.yaml | 1 + modules/enums/Device.yaml | 2 +- modules/enums/Thing.yaml | 1 + modules/slots.yaml | 7 +++++++ 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/classes/patient_and_specimen.yaml b/modules/classes/patient_and_specimen.yaml index 933cd8f..dd19c86 100644 --- a/modules/classes/patient_and_specimen.yaml +++ b/modules/classes/patient_and_specimen.yaml @@ -59,6 +59,7 @@ classes: description: Group of individuals featured in the ovarian precancer atlas. slots: - MenstrualCyclePhase + - ContraceptiveUseIndicator - TypeContraceptiveUse PatientExtended: diff --git a/modules/enums/Device.yaml b/modules/enums/Device.yaml index 73bf6ba..c2885c7 100644 --- a/modules/enums/Device.yaml +++ b/modules/enums/Device.yaml @@ -51,5 +51,5 @@ enums: Injection (progesterone): Bilateral tubal ligation: Natural family planning: - Unknown: + Not Documented: diff --git a/modules/enums/Thing.yaml b/modules/enums/Thing.yaml index d865771..d45f352 100644 --- a/modules/enums/Thing.yaml +++ b/modules/enums/Thing.yaml @@ -3,6 +3,7 @@ enums: permissible_values: 'Yes': 'No': + Not Documented: FileFormatEnum: permissible_values: diff --git a/modules/slots.yaml b/modules/slots.yaml index 9ef6f73..05e8369 100644 --- a/modules/slots.yaml +++ b/modules/slots.yaml @@ -470,6 +470,12 @@ slots: required: false description: TBD annotations: + ContraceptiveUseIndicator: + title: Contraceptive Use Indicator + required: false + description: Indicates whether individual has used some type of contraception. + range: BooleanEnum + annotations: CopyNumber: title: Copy Number required: false @@ -1832,6 +1838,7 @@ slots: description: Type of contraceptive(s) used within the individual's history. range: Contraceptive annotations: + validationRules: 'list like' TypeofSmokeExposure: title: Type of Smoke Exposure required: false