Merge branch '172-add-unprotected-to-contraceptives' into 'master'
Add 'unprotected' and 'diaphragm" to contraceptives Closes #172 See merge request bloodyhealth/drip!81
This commit is contained in:
@@ -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 = [{
|
|||||||
}, {
|
}, {
|
||||||
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 = {
|
|||||||
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 }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user