188 lines
3.9 KiB
JavaScript
188 lines
3.9 KiB
JavaScript
export default {
|
|
steps: {
|
|
page0: {
|
|
elements: [
|
|
'h4',
|
|
'instaiable_hunger',
|
|
],
|
|
},
|
|
page1: {
|
|
elements: [
|
|
'h4_1',
|
|
'genital_pain',
|
|
],
|
|
},
|
|
page2: {
|
|
elements: [
|
|
'h4_2',
|
|
'sensation_of_pain_burning',
|
|
],
|
|
},
|
|
page3: {
|
|
elements: [
|
|
'h4_3',
|
|
'urinary_incontinence_problem?',
|
|
],
|
|
},
|
|
page4: {
|
|
elements: [
|
|
'h4_4',
|
|
'genital_sore',
|
|
],
|
|
},
|
|
page5: {
|
|
elements: [
|
|
'h4_5',
|
|
'sexual_active',
|
|
'container',
|
|
],
|
|
},
|
|
},
|
|
schema: {
|
|
h4: {
|
|
type: 'static',
|
|
tag: 'h4',
|
|
content: 'Extreme and insatiable hunger',
|
|
},
|
|
instaiable_hunger: {
|
|
type: 'radiogroup',
|
|
items: [
|
|
{
|
|
value: 'yes',
|
|
label: 'Yes',
|
|
},
|
|
{
|
|
value: 'no',
|
|
label: 'No',
|
|
},
|
|
],
|
|
},
|
|
h4_1: {
|
|
type: 'static',
|
|
tag: 'h4',
|
|
content: 'genital pain',
|
|
},
|
|
genital_pain: {
|
|
type: 'radiogroup',
|
|
items: [
|
|
{
|
|
value: 'yes',
|
|
label: 'Yes',
|
|
},
|
|
{
|
|
value: 'no',
|
|
label: 'No',
|
|
},
|
|
],
|
|
},
|
|
h4_2: {
|
|
type: 'static',
|
|
tag: 'h4',
|
|
content: 'The sensation of pain and/or burning',
|
|
},
|
|
sensation_of_pain_burning: {
|
|
type: 'radiogroup',
|
|
items: [
|
|
{
|
|
value: 'yes',
|
|
label: 'Yes',
|
|
},
|
|
{
|
|
value: 'no',
|
|
label: 'No',
|
|
},
|
|
],
|
|
},
|
|
h4_3: {
|
|
type: 'static',
|
|
tag: 'h4',
|
|
content: 'Urinary incontinence problem?',
|
|
},
|
|
'urinary_incontinence_problem?': {
|
|
type: 'radiogroup',
|
|
items: [
|
|
{
|
|
value: 'yes',
|
|
label: 'Yes',
|
|
},
|
|
{
|
|
value: 'no',
|
|
label: 'No',
|
|
},
|
|
],
|
|
},
|
|
h4_4: {
|
|
type: 'static',
|
|
tag: 'h4',
|
|
content: 'Genital Sore?',
|
|
},
|
|
genital_sore: {
|
|
type: 'radiogroup',
|
|
items: [
|
|
{
|
|
value: 'yes',
|
|
label: 'Yes',
|
|
},
|
|
{
|
|
value: 'no',
|
|
label: 'No',
|
|
},
|
|
],
|
|
},
|
|
h4_5: {
|
|
type: 'static',
|
|
tag: 'h4',
|
|
content: 'Are you Sexual active ?',
|
|
},
|
|
sexual_active: {
|
|
type: 'radiogroup',
|
|
items: [
|
|
{
|
|
value: 'yes',
|
|
label: 'Yes',
|
|
},
|
|
{
|
|
value: 'no',
|
|
label: 'No',
|
|
},
|
|
],
|
|
},
|
|
container: {
|
|
type: 'group',
|
|
schema: {
|
|
h4_6: {
|
|
type: 'static',
|
|
tag: 'h4',
|
|
content: 'Your Partner?\n',
|
|
},
|
|
sexual_partner: {
|
|
type: 'radiogroup',
|
|
items: [
|
|
{
|
|
value: 'male',
|
|
label: 'Male',
|
|
},
|
|
{
|
|
value: 'female',
|
|
label: 'Female',
|
|
},
|
|
{
|
|
value: 'both',
|
|
label: 'Both',
|
|
},
|
|
],
|
|
},
|
|
},
|
|
conditions: [
|
|
[
|
|
'sexual_active',
|
|
'in',
|
|
[
|
|
'yes',
|
|
],
|
|
],
|
|
],
|
|
},
|
|
},
|
|
}
|