Skip to content
Snippets Groups Projects
Commit d93e91f3 authored by bl00dymarie's avatar bl00dymarie
Browse files

Merge branch '172-add-unprotected-to-contraceptives' into 'master'

Add 'unprotected' and 'diaphragm" to contraceptives

Closes #172

See merge request bloodyhealth/drip!81
parents e9af1acc fc514a79
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,8 @@ export const sex = { ...@@ -43,6 +43,8 @@ export const sex = {
patch: 'Patch', patch: 'Patch',
ring: 'Ring', ring: 'Ring',
implant: 'Implant', implant: 'Implant',
diaphragm: 'Diaphragm',
none: 'None',
other: 'Other', other: 'Other',
activityExplainer: 'Were you sexually active today?', activityExplainer: 'Were you sexually active today?',
contraceptiveExplainer: 'Did you use contraceptives?' contraceptiveExplainer: 'Did you use contraceptives?'
......
...@@ -37,6 +37,12 @@ const contraceptiveBoxes = [{ ...@@ -37,6 +37,12 @@ const contraceptiveBoxes = [{
}, { }, {
label: labels.implant, label: labels.implant,
stateKey: 'implant' stateKey: 'implant'
}, {
label: labels.diaphragm,
stateKey: 'diaphragm'
}, {
label: labels.none,
stateKey: 'none'
}, { }, {
label: labels.other, label: labels.other,
stateKey: 'other' stateKey: 'other'
......
...@@ -67,6 +67,8 @@ const SexSchema = { ...@@ -67,6 +67,8 @@ const SexSchema = {
patch: { type: 'bool', optional: true }, patch: { type: 'bool', optional: true },
ring: { type: 'bool', optional: true }, ring: { type: 'bool', optional: true },
implant: { type: 'bool', optional: true }, implant: { type: 'bool', optional: true },
diaphragm: { type: 'bool', optional: true },
none: { type: 'bool', optional: true },
other: { type: 'bool', optional: true }, other: { type: 'bool', optional: true },
note: { type: 'string', optional: true } note: { type: 'string', optional: true }
} }
...@@ -137,4 +139,4 @@ export default [ ...@@ -137,4 +139,4 @@ export default [
DesireSchema, DesireSchema,
SexSchema, SexSchema,
PainSchema PainSchema
] ]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment