{"version":3,"sources":["webpack:///./src/components/inputs/InputSelect/InputSelect.scss?f328","webpack:///./src/components/ProInclusion/ProInclusion.scss?11ba","webpack:///./src/views/Questionnary/Questionnary.scss?399e","webpack:///./node_modules/core-js/modules/es6.array.find-index.js","webpack:///./src/components/ProInclusion/ProInclusion.vue?594d","webpack:///./src/components/ProInclusion/ProInclusion.ts","webpack:///./src/components/ProInclusion/ProInclusion.ts?c038","webpack:///./src/components/ProInclusion/ProInclusion.vue","webpack:///./node_modules/core-js/modules/es6.array.find.js","webpack:///./src/components/InformationBlock/InformationBlock.vue?32e1","webpack:///./src/components/InformationBlock/InformationBlock.ts","webpack:///./src/components/InformationBlock/InformationBlock.ts?726d","webpack:///./src/components/InformationBlock/InformationBlock.vue","webpack:///./src/components/inputs/InputSelect/InputSelect.vue?f3b2","webpack:///./src/components/inputs/InputSelect/InputSelect.ts","webpack:///./src/components/inputs/InputSelect/InputSelect.ts?dab5","webpack:///./src/components/inputs/InputSelect/InputSelect.vue","webpack:///./src/components/RenounceButton/RenounceButton.vue?6e6e","webpack:///./src/components/RenounceButton/RenounceButton.ts","webpack:///./src/components/RenounceButton/RenounceButton.ts?1a6e","webpack:///./src/components/RenounceButton/RenounceButton.vue","webpack:///./src/services/question.service.ts","webpack:///./src/views/Questionnary/Questionnary.vue?3cb9","webpack:///./src/views/Questionnary/Questionnary.ts","webpack:///./src/views/Questionnary/Questionnary.ts?f649","webpack:///./src/views/Questionnary/Questionnary.vue","webpack:///./src/components/InformationBlock/InformationBlock.scss?1114"],"names":["$export","$find","KEY","forced","Array","P","F","findIndex","callbackfn","this","arguments","length","undefined","render","_vm","_h","$createElement","_c","_self","staticClass","directives","name","rawName","value","expression","_v","_s","$t","proInclusion","choice","attrs","readonly","model","callback","$$v","$set","_e","consultationType","consultationTypes","long","short","selected","longConsultationOptions","on","onSelectChange","longConsultationReasons","otherReason","adviceChoiceKey","pharmacistOrderFITActivated","fitOnly","bmi","class","free","_l","advice","key","text","staticRenderFns","ProInclusion","_Vue","_this","_classCallCheck","ConsultationTypes","LongConsultationReasons","rolePharmacist","McsisRole","Pharmacist","roleDoctor","Doctor","displayCanSeeFitResult","advices","isAdviceActivated","_inherits","_createClass","_mounted","_asyncToGenerator","regeneratorRuntime","mark","_callee","_this2","wrap","_context","prev","next","Object","keys","InclusionAdvice","map","option","$i18n","t","concat","toString","push","adviceChoice","isPharmacistFitOrderActivated","suName","t0","isAdviceModeActivatedFromSU","$route","params","screening","hasInclusionAdvice","sent","reasonLong","mustDisplaySendResultsToPharmacy","mutations","setIsProFit","initSelect","stop","mounted","apply","_hasInclusionAdvice","_callee2","resp","_context2","ParticipantService","hasParticipantInclusionAdvice","Number","partId","abrupt","_this3","reason","selectedValue","oldValue","get","displayFitOnlyForDoctors","weight","height","Math","pow","toFixed","Vue","__decorate","Prop","default","Watch","deep","Component","components","InputRadioButton","InputText","InputNumber","InputSelect","InputCheckbox","component","find","isContentEmpty","domProps","contentKey","InformationBlock","_possibleConstructorReturn","_getPrototypeOf","translation","required","label","randomId","$event","$$selectedVal","prototype","filter","call","target","options","o","val","_value","multiple","$emit","opt","floor","random","setText","selectedOption","x","renounce","RenounceButton","$router","String","QuestionService","_fetchQuestions","alternativeQuestionnaire","url","process","ApiService","then","response","data","fetchQuestions","_x","_fetchProQuestions","fetchProQuestions","_x2","_x3","_postQuestions","_callee3","questions","isRefusal","isSimpleConsent","isExclusion","isInclusion","participantInclusionType","_args3","_context3","post","postQuestions","_x4","_x5","_x6","_x7","_x8","_x9","_postProQuestions","_callee4","_context4","postProQuestions","_x10","_x11","_x12","_x13","preventDefault","onSubmit","errorMessage","question","index","showQuestion","showProInclusion","error","showNextButton","showNextButtonOnFirstLoad","Questionnary","isAuthenticated","followUpPrinted","store","state","previousQuestions","slice","q","every","answer","$isInRole","Participant","isInRole","_this4","sendToQueue","LocalStoreService","setItem","localItemKeys","inclusionType","_this5","isSimpleConsentUsedFromSU","showValidateButton","DocumentService","preparePDF","locale","_this6","testFitNumber","printDateTime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od from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./InputSelect.scss?vue&type=style&index=0&id=dcc0d6a6&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./InputSelect.scss?vue&type=style&index=0&id=dcc0d6a6&scoped=true&lang=scss&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./ProInclusion.scss?vue&type=style&index=0&id=463ef0f5&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./ProInclusion.scss?vue&type=style&index=0&id=463ef0f5&scoped=true&lang=scss&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./Questionnary.scss?vue&type=style&index=0&id=7cd52434&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./Questionnary.scss?vue&type=style&index=0&id=7cd52434&scoped=true&lang=scss&\"","'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(6);\nvar KEY = 'findIndex';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.readonly)?_c('div',{staticClass:\"recap\"},[_c('div',{directives:[{name:\"show-by-role\",rawName:\"v-show-by-role\",value:(_vm.roleDoctor),expression:\"roleDoctor\"}]},[_c('fieldset',[_c('legend',[_vm._v(_vm._s(_vm.$t('proInclusion.inclusionType')))]),_c('div',[(_vm.proInclusion.choice === 'fit')?_c('strong',[_vm._v(_vm._s(_vm.$t('proInclusion.fit')))]):_c('strong',[_vm._v(_vm._s(_vm.$t('proInclusion.colo')))])]),(_vm.proInclusion.choice === 'colo')?_c('InputNumber',{attrs:{\"name\":\"weight\",\"label\":_vm.$t('proInclusion.weight'),\"readonly\":_vm.readonly,\"required\":_vm.proInclusion.choice === 'colo'},model:{value:(_vm.proInclusion.weight),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"weight\", $$v)},expression:\"proInclusion.weight\"}}):_vm._e(),(_vm.proInclusion.choice === 'colo')?_c('InputNumber',{attrs:{\"name\":\"height\",\"label\":_vm.$t('proInclusion.height'),\"readonly\":_vm.readonly,\"required\":_vm.proInclusion.choice === 'colo'},model:{value:(_vm.proInclusion.height),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"height\", $$v)},expression:\"proInclusion.height\"}}):_vm._e()],1),_c('fieldset',[_c('legend',[_vm._v(_vm._s(_vm.$t(\"proInclusion.consultationType\")))]),(_vm.proInclusion.consultationType === _vm.consultationTypes.long)?_c('strong',[_vm._v(_vm._s(_vm.$t('proInclusion.consultationTypes.long')))]):(_vm.proInclusion.consultationType === _vm.consultationTypes.short)?_c('strong',[_vm._v(_vm._s(_vm.$t('proInclusion.consultationTypes.short')))]):_c('div',[_vm._v(_vm._s(_vm.$t('proInclusion.consultationTypes.free')))]),(_vm.proInclusion.consultationType === _vm.consultationTypes.long)?_c('InputSelect',{attrs:{\"value\":_vm.selected,\"options\":_vm.longConsultationOptions,\"label\":_vm.$t('proInclusion.reason'),\"name\":\"consultationType2\",\"readonly\":_vm.readonly,\"required\":true},on:{\"change\":_vm.onSelectChange}}):_vm._e(),(_vm.proInclusion.consultationType === _vm.consultationTypes.long && _vm.selected === _vm.longConsultationReasons.otherReason)?_c('InputText',{attrs:{\"name\":\"reason\",\"label\":_vm.$t('proInclusion.reason'),\"readonly\":_vm.readonly,\"required\":true},model:{value:(_vm.proInclusion.reasonLongOther),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"reasonLongOther\", $$v)},expression:\"proInclusion.reasonLongOther\"}}):_vm._e()],1)]),_c('div',{directives:[{name:\"show-by-role\",rawName:\"v-show-by-role\",value:(_vm.rolePharmacist),expression:\"rolePharmacist\"}]},[(_vm.proInclusion.choice === 'advice')?_c('fieldset',{staticClass:\"advice\"},[_c('legend',[_c('strong',[_vm._v(_vm._s(_vm.$t('proInclusion.adviceChoice')))])]),_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.adviceChoiceKey)+\"\\n \")])]):(!_vm.pharmacistOrderFITActivated)?_c('fieldset',[_c('legend',[_c('strong',[_vm._v(_vm._s(_vm.$t(\"proInclusion.testFitInfo\")))])]),_c('InputText',{attrs:{\"name\":\"reason\",\"label\":_vm.$t('proInclusion.testFitNumber'),\"readonly\":_vm.readonly,\"required\":true},model:{value:(_vm.proInclusion.testFitNumber),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"testFitNumber\", $$v)},expression:\"proInclusion.testFitNumber\"}}),(_vm.displayCanSeeFitResult)?_c('InputCheckbox',{attrs:{\"label\":_vm.$t('proInclusion.canSeeFitResult'),\"name\":\"proInclusion.canSeeFitResult\",\"readonly\":_vm.readonly},model:{value:(_vm.proInclusion.canSeeFitResult),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"canSeeFitResult\", $$v)},expression:\"proInclusion.canSeeFitResult\"}}):_vm._e()],1):_vm._e()])]):_c('div',[_c('div',{directives:[{name:\"show-by-role\",rawName:\"v-show-by-role\",value:(_vm.roleDoctor),expression:\"roleDoctor\"}]},[_c('fieldset',{staticClass:\"fit-or-colo\"},[_c('legend',[_c('strong',[_vm._v(_vm._s(_vm.$t('proInclusion.inclusionType')))])]),_c('div',{staticClass:\"radio-button-group\"},[_c('InputRadioButton',{attrs:{\"label\":_vm.$t('proInclusion.fit'),\"name\":\"proInclusion.choice\",\"required\":\"\",\"option\":\"fit\",\"readonly\":_vm.readonly},model:{value:(_vm.proInclusion.choice),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"choice\", $$v)},expression:\"proInclusion.choice\"}}),(!_vm.fitOnly)?_c('InputRadioButton',{attrs:{\"label\":_vm.$t('proInclusion.colo'),\"name\":\"proInclusion.choice\",\"required\":\"\",\"option\":\"colo\",\"readonly\":_vm.readonly},model:{value:(_vm.proInclusion.choice),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"choice\", $$v)},expression:\"proInclusion.choice\"}}):_vm._e()],1),_c('transition',{attrs:{\"name\":\"fade\"}},[_c('div',{staticClass:\"poids-taille\"},[(_vm.proInclusion.choice === 'colo')?_c('InputNumber',{attrs:{\"name\":\"weight\",\"label\":_vm.$t('proInclusion.weight'),\"readonly\":_vm.readonly,\"required\":_vm.proInclusion.choice === 'colo'},model:{value:(_vm.proInclusion.weight),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"weight\", $$v)},expression:\"proInclusion.weight\"}}):_vm._e(),(_vm.proInclusion.choice === 'colo')?_c('InputNumber',{attrs:{\"name\":\"height\",\"label\":_vm.$t('proInclusion.height'),\"readonly\":_vm.readonly,\"required\":_vm.proInclusion.choice === 'colo'},model:{value:(_vm.proInclusion.height),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"height\", $$v)},expression:\"proInclusion.height\"}}):_vm._e(),(_vm.proInclusion.choice === 'colo' && _vm.bmi > 0)?_c('InputNumber',{class:_vm.bmi > 35 ? 'big-bmi' : '',attrs:{\"name\":\"bmi\",\"label\":_vm.$t('proInclusion.bmi'),\"readonly\":true,\"value\":_vm.bmi}}):_vm._e()],1)])],1),_c('fieldset',{staticClass:\"consultation-type\"},[_c('legend',[_c('strong',[_vm._v(_vm._s(_vm.$t(\"proInclusion.consultationType\")))])]),_c('div',{staticClass:\"radio-button-group\"},[_c('InputRadioButton',{attrs:{\"label\":_vm.$t('proInclusion.consultationTypes.short'),\"name\":\"consultationType\",\"option\":_vm.consultationTypes.short,\"required\":\"\",\"readonly\":_vm.readonly},model:{value:(_vm.proInclusion.consultationType),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"consultationType\", $$v)},expression:\"proInclusion.consultationType\"}}),_c('InputRadioButton',{attrs:{\"label\":_vm.$t('proInclusion.consultationTypes.long'),\"name\":\"consultationType\",\"option\":_vm.consultationTypes.long,\"required\":\"\",\"readonly\":_vm.readonly},model:{value:(_vm.proInclusion.consultationType),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"consultationType\", $$v)},expression:\"proInclusion.consultationType\"}}),_c('InputRadioButton',{attrs:{\"label\":_vm.$t('proInclusion.consultationTypes.free'),\"name\":\"consultationType\",\"option\":_vm.consultationTypes.free,\"required\":\"\",\"readonly\":_vm.readonly},model:{value:(_vm.proInclusion.consultationType),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"consultationType\", $$v)},expression:\"proInclusion.consultationType\"}})],1),_c('div',{staticClass:\"long-reason\"},[_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.proInclusion.consultationType === _vm.consultationTypes.long)?_c('InputSelect',{attrs:{\"value\":_vm.selected,\"options\":_vm.longConsultationOptions,\"label\":_vm.$t('proInclusion.reason'),\"name\":\"consultationType2\",\"readonly\":_vm.readonly,\"required\":true},on:{\"change\":_vm.onSelectChange}}):_vm._e()],1),_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.proInclusion.consultationType === _vm.consultationTypes.long && _vm.selected === _vm.longConsultationReasons.otherReason)?_c('InputText',{attrs:{\"name\":\"reason\",\"label\":_vm.$t('proInclusion.reason'),\"readonly\":_vm.readonly,\"required\":true},model:{value:(_vm.proInclusion.reasonLongOther),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"reasonLongOther\", $$v)},expression:\"proInclusion.reasonLongOther\"}}):_vm._e()],1)],1)])]),_c('div',{directives:[{name:\"show-by-role\",rawName:\"v-show-by-role\",value:(_vm.rolePharmacist),expression:\"rolePharmacist\"}]},[(_vm.isAdviceActivated)?_c('fieldset',{staticClass:\"fit-or-advice\"},[_c('legend',[_c('strong',[_vm._v(_vm._s(_vm.$t('proInclusion.inclusionType')))])]),_c('div',{staticClass:\"radio-button-group\"},[_c('InputRadioButton',{attrs:{\"label\":_vm.$t('proInclusion.fit'),\"name\":\"proInclusion.choice\",\"required\":\"\",\"option\":\"fit\",\"readonly\":_vm.readonly},model:{value:(_vm.proInclusion.choice),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"choice\", $$v)},expression:\"proInclusion.choice\"}}),_c('InputRadioButton',{attrs:{\"label\":_vm.$t('proInclusion.advice'),\"name\":\"proInclusion.choice\",\"required\":\"\",\"option\":\"advice\",\"readonly\":_vm.readonly},model:{value:(_vm.proInclusion.choice),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"choice\", $$v)},expression:\"proInclusion.choice\"}})],1)]):_vm._e(),(_vm.proInclusion.choice === 'advice')?_c('fieldset',{staticClass:\"advice\"},[_c('legend',[_c('strong',[_vm._v(_vm._s(_vm.$t('proInclusion.adviceChoice')))])]),_c('div',{staticClass:\"radio-button-group\"},_vm._l((_vm.advices),function(advice){return _c('InputRadioButton',{key:advice.value,attrs:{\"label\":advice.text,\"name\":\"proInclusion.adviceChoice\",\"required\":\"\",\"option\":advice.value,\"readonly\":_vm.readonly},model:{value:(_vm.proInclusion.adviceChoice),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"adviceChoice\", $$v)},expression:\"proInclusion.adviceChoice\"}})}),1)]):(!_vm.pharmacistOrderFITActivated)?_c('fieldset',[_c('legend',[_c('strong',[_vm._v(_vm._s(_vm.$t(\"proInclusion.testFitInfo\")))])]),_c('InputText',{attrs:{\"name\":\"reason\",\"label\":_vm.$t('proInclusion.testFitNumber'),\"readonly\":_vm.readonly,\"required\":true},model:{value:(_vm.proInclusion.testFitNumber),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"testFitNumber\", $$v)},expression:\"proInclusion.testFitNumber\"}}),(_vm.displayCanSeeFitResult)?_c('InputCheckbox',{attrs:{\"label\":_vm.$t('proInclusion.canSeeFitResult'),\"name\":\"proInclusion.canSeeFitResult\",\"readonly\":_vm.readonly},model:{value:(_vm.proInclusion.canSeeFitResult),callback:function ($$v) {_vm.$set(_vm.proInclusion, \"canSeeFitResult\", $$v)},expression:\"proInclusion.canSeeFitResult\"}}):_vm._e()],1):_vm._e()])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\nimport { WatchOptions } from 'vue';\r\nimport InputRadioButton from '@/components/inputs/InputRadioButton/InputRadioButton';\r\nimport InputText from '@/components/inputs/InputText/InputText';\r\nimport { ProInclusionDTO } from '@/models/ProInclusionDTO';\r\nimport InputNumber from '@/components/inputs/InputNumber/InputNumber';\r\nimport InputSelect from '@/components/inputs/InputSelect/InputSelect';\r\nimport { ConsultationTypes, InclusionAdvice, LongConsultationReasons } from '@/models/VariousEnum';\r\nimport { SelectOptionDTO } from '@/models/SelectOptionDTO';\r\nimport { McsisRole } from '@/models/constants/McsisRole';\r\nimport { displayFitOnlyForDoctors, isAdviceModeActivatedFromSU, mustDisplaySendResultsToPharmacy } from '@/config/app.config';\r\nimport { mutations } from '@/store/store';\r\nimport InputCheckbox from '@/components/inputs/InputCheckbox/InputCheckbox';\r\nimport { isPharmacistFitOrderActivated } from '@/config/app.config';\r\nimport ParticipantService from '@/services/participant.service';\r\n\r\n@Component({\r\n components: {\r\n InputRadioButton,\r\n InputText,\r\n InputNumber,\r\n InputSelect,\r\n InputCheckbox,\r\n },\r\n})\r\nexport default class ProInclusion extends Vue {\r\n @Prop() public value!: ProInclusionDTO;\r\n @Prop({ default: false }) public readonly?: boolean;\r\n public proInclusion: ProInclusionDTO = {} as ProInclusionDTO;\r\n public pharmacistOrderFITActivated: boolean = false;\r\n public consultationTypes: any = ConsultationTypes;\r\n public longConsultationReasons: any = LongConsultationReasons;\r\n public longConsultationOptions: SelectOptionDTO[] = [];\r\n public selected = '';\r\n public rolePharmacist: string = McsisRole[McsisRole.Pharmacist];\r\n public roleDoctor: string = McsisRole[McsisRole.Doctor];\r\n public displayCanSeeFitResult: boolean = false;\r\n public advices: SelectOptionDTO[] = [];\r\n public isAdviceActivated = false;\r\n public adviceChoiceKey = '';\r\n\r\n private get suName() { return this.$route.params.screening; }\r\n\r\n public get fitOnly() {\r\n return displayFitOnlyForDoctors(this.$route.params.screening);\r\n }\r\n\r\n protected async mounted(): Promise {\r\n Object.keys(InclusionAdvice).map( (advice: any) => {\r\n const option: SelectOptionDTO = {} as SelectOptionDTO;\r\n option.text = this.$i18n.t(`proInclusion.advices.${advice}`).toString();\r\n option.value = InclusionAdvice[advice as keyof typeof InclusionAdvice];\r\n this.advices.push(option);\r\n\r\n if (option.value === this.value.adviceChoice) {\r\n this.adviceChoiceKey = option.text;\r\n }\r\n });\r\n\r\n // Check if pharmacists make FIT orders instead of giving test directly\r\n this.pharmacistOrderFITActivated = isPharmacistFitOrderActivated(this.suName);\r\n this.isAdviceActivated = isAdviceModeActivatedFromSU(this.$route.params.screening)\r\n && !(await this.hasInclusionAdvice());\r\n\r\n this.proInclusion = this.value;\r\n\r\n this.selected = this.value.reasonLong;\r\n this.displayCanSeeFitResult = mustDisplaySendResultsToPharmacy(this.$route.params.screening);\r\n mutations.setIsProFit(this.proInclusion.choice === 'fit');\r\n this.initSelect();\r\n }\r\n\r\n protected async hasInclusionAdvice(): Promise {\r\n const resp = await ParticipantService.hasParticipantInclusionAdvice(Number(this.$route.params.partId));\r\n return resp !== undefined ? resp : false;\r\n }\r\n\r\n protected initSelect() {\r\n Object.keys(LongConsultationReasons).map((reason: any) => {\r\n const option: SelectOptionDTO = {} as SelectOptionDTO;\r\n option.text = this.$i18n.t(`proInclusion.longConsultationReasons.${reason}`).toString();\r\n option.value = LongConsultationReasons[reason as keyof typeof LongConsultationReasons];\r\n this.longConsultationOptions.push(option);\r\n });\r\n }\r\n\r\n protected onSelectChange(selectedValue: string) {\r\n this.selected = selectedValue;\r\n this.proInclusion.reasonLong = selectedValue;\r\n }\r\n\r\n // Computed property\r\n get bmi(): number {\r\n if (this.proInclusion.weight && this.proInclusion.height) {\r\n if (this.proInclusion.weight > 0 && this.proInclusion.height > 0) {\r\n // The formula for BMI is weight in kilograms divided by height in meters squared.\r\n // As height is measured in centimeters, we divide by 100 to convert this to meters.\r\n return Number((this.proInclusion.weight / Math.pow(this.proInclusion.height / 100, 2))\r\n .toFixed(1));\r\n }\r\n }\r\n // default when no valid weight/height values typed\r\n return 0;\r\n }\r\n\r\n @Watch('value', { deep: true } as WatchOptions)\r\n protected onValueChanged(value: ProInclusionDTO, oldValue: ProInclusionDTO) {\r\n mutations.setIsProFit(this.proInclusion.choice === 'fit');\r\n if (oldValue !== value) {\r\n this.proInclusion = value;\r\n this.selected = this.value.reasonLong;\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!./ProInclusion.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!./ProInclusion.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProInclusion.vue?vue&type=template&id=463ef0f5&scoped=true&\"\nimport script from \"./ProInclusion.ts?vue&type=script&lang=ts&\"\nexport * from \"./ProInclusion.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./ProInclusion.scss?vue&type=style&index=0&id=463ef0f5&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"463ef0f5\",\n null\n \n)\n\nexport default component.exports","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export');\nvar $find = require('./_array-methods')(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.isContentEmpty)?_c('div',[(_vm.isHtml)?_c('div',{staticClass:\"information-label\"},[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.$t(_vm.contentKey))}})]):_c('div',{staticClass:\"information-label\"},[_c('p',[_vm._v(_vm._s(_vm.$t(_vm.contentKey)))])])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class InformationBlock extends Vue {\r\n @Prop({ default: false }) public isHtml?: boolean;\r\n @Prop({ required: true }) public contentKey!: string;\r\n\r\n public get isContentEmpty(): boolean {\r\n const translation = this.$t(this.contentKey).toString();\r\n return (translation === '' || translation === this.contentKey) ? true : false;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!./InformationBlock.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!./InformationBlock.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InformationBlock.vue?vue&type=template&id=270beb42&scoped=true&\"\nimport script from \"./InformationBlock.ts?vue&type=script&lang=ts&\"\nexport * from \"./InformationBlock.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./InformationBlock.scss?vue&type=style&index=0&id=270beb42&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"270beb42\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-base\",class:[ _vm.required === false ? '' : 'input-required']},[(_vm.label && _vm.label.length > 0)?_c('label',{attrs:{\"for\":_vm.randomId}},[_vm._v(_vm._s(_vm.$t(_vm.label)))]):_vm._e(),_c('div',[(_vm.readonly)?_c('span',[_vm._v(_vm._s(_vm.text))]):_vm._e(),(!_vm.readonly)?_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected),expression:\"selected\"}],attrs:{\"id\":_vm.randomId,\"name\":_vm.name},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selected=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.$emit('change', $event.target.value)}]}},[_c('option',{attrs:{\"disabled\":\"\",\"value\":\"\"}},[_vm._v(_vm._s(_vm.$t('input.selectOption')))]),_vm._l((_vm.options),function(opt){return _c('option',{key:opt.value,domProps:{\"value\":opt.value}},[_vm._v(_vm._s(opt.text))])})],2):_vm._e(),_c('span',{staticClass:\"validity\"})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Component, Prop, Watch } from 'vue-property-decorator';\r\nimport Vue, { WatchOptions } from 'vue';\r\nimport { SelectOptionDTO } from '@/models/SelectOptionDTO';\r\n\r\n@Component\r\nexport default class InputSelect extends Vue {\r\n @Prop({ required: true }) public name?: string;\r\n @Prop() public label?: string;\r\n @Prop({ default: false }) public required?: boolean;\r\n @Prop({ default: false }) public disabled?: boolean;\r\n @Prop({ default: false }) public readonly?: boolean;\r\n @Prop() public value?: string;\r\n @Prop({ required: true }) public options?: SelectOptionDTO[];\r\n protected randomId: string = Math.floor(Math.random() * Math.floor(100000000)).toString();\r\n private selected?: string = '';\r\n private text: string = '';\r\n\r\n protected mounted() {\r\n // this.inputType = 'select';\r\n if (this.value !== undefined) {\r\n this.selected = this.value;\r\n this.setText();\r\n }\r\n }\r\n\r\n protected setText() {\r\n const selectedOption = (this.options as SelectOptionDTO[]).find((x: SelectOptionDTO) => x.value === this.value);\r\n if (selectedOption) {\r\n this.text = selectedOption.text;\r\n } else {\r\n this.text = '';\r\n }\r\n }\r\n\r\n @Watch('value', { deep: true } as WatchOptions)\r\n protected onValueChanged(value: string, oldValue: string) {\r\n if (oldValue !== value && value !== undefined) {\r\n this.selected = this.value;\r\n this.setText();\r\n }\r\n }\r\n}\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!./InputSelect.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!./InputSelect.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./InputSelect.vue?vue&type=template&id=dcc0d6a6&scoped=true&\"\nimport script from \"./InputSelect.ts?vue&type=script&lang=ts&\"\nexport * from \"./InputSelect.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./InputSelect.scss?vue&type=style&index=0&id=dcc0d6a6&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"dcc0d6a6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{staticClass:\"button-renounce reversed\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.renounce}},[_vm._v(_vm._s(_vm.$t('buttons.renounce')))])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Component, Vue } from 'vue-property-decorator';\r\n\r\n@Component\r\nexport default class RenounceButton extends Vue {\r\n /**\r\n * Redirect the user to the alternative questionnaire\r\n */\r\n protected renounce(): void {\r\n this.$router.push({\r\n name: 'alternativeQuestionnaire',\r\n params: {\r\n screening: this.$route.params.screening,\r\n partId: String(this.$route.params.partId),\r\n },\r\n });\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!./RenounceButton.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!./RenounceButton.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RenounceButton.vue?vue&type=template&id=2b8b312c&\"\nimport script from \"./RenounceButton.ts?vue&type=script&lang=ts&\"\nexport * from \"./RenounceButton.ts?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import ApiService from './api.service';\r\nimport { QuestionDTO } from '../models/QuestionDTO';\r\nimport { ProInclusionDTO } from '../models/ProInclusionDTO';\r\nimport { ProQuestionDTO } from '@/models/ProQuestionDTO';\r\nimport LocalStoreService from '@/store/local.store';\r\n\r\nexport default class QuestionService {\r\n\r\n /**\r\n * Get the questions configuration\r\n * @param {boolean} alternativeQuestionnaire - Flag to get configuration for alternative questionnaire\r\n * @returns {QuestionDTO[]} a list of QuestionDTO object\r\n */\r\n public static async fetchQuestions(alternativeQuestionnaire: boolean): Promise {\r\n let url = `${process.env.VUE_APP_PUBLIC_ROOT_API}/questions`;\r\n if (alternativeQuestionnaire) {\r\n url = url + `/alternatives`;\r\n }\r\n return await ApiService.get(url)\r\n .then((response: any) => {\r\n return response.data as QuestionDTO[];\r\n });\r\n }\r\n\r\n /**\r\n * Get the questions configuration for a pro user\r\n * @param {number} partId - The participant ID\r\n * @param {boolean} alternativeQuestionnaire - Flag to get configuration for alternative questionnaire\r\n * @returns {ProQuestionDTO} a list of QuestionDTO object and the pro inclusion\r\n */\r\n public static async fetchProQuestions(partId: number, alternativeQuestionnaire: boolean): Promise {\r\n let url = `${process.env.VUE_APP_PUBLIC_ROOT_API}/questions/${partId}`;\r\n if (alternativeQuestionnaire) {\r\n url = url + `/alternatives`;\r\n }\r\n\r\n return await ApiService.get(url)\r\n .then((response: any) => {\r\n return response.data as ProQuestionDTO;\r\n });\r\n }\r\n\r\n\r\n /**\r\n * Save inclusion data depending on the answered questions\r\n * @param {QuestionDTO[]} questions The list of questions to save\r\n * @param {number} partId The participant ID\r\n * @param {boolean} isRefusal Flag to indicate the type of questionnaire we are saving\r\n * (true for the alternative questionnaire)\r\n */\r\n public static async postQuestions(\r\n questions: QuestionDTO[],\r\n partId: number,\r\n isRefusal: boolean,\r\n isSimpleConsent: boolean,\r\n isExclusion: boolean,\r\n isInclusion: boolean,\r\n participantInclusionType: string = '') {\r\n await ApiService.post(`${process.env.VUE_APP_PUBLIC_ROOT_API}/questions`,\r\n {\r\n partId,\r\n questions,\r\n isRefusal,\r\n participantInclusionType,\r\n isSimpleConsent: !isRefusal && !isExclusion && isInclusion && isSimpleConsent,\r\n })\r\n // tslint:disable-next-line: no-empty\r\n .then((response: any) => {});\r\n }\r\n\r\n /**\r\n * Save inclusion data depending on the answered questions (for pro user)\r\n * @param {QuestionDTO[]} questions The list of questions to save\r\n * @param {number} partId The participant ID\r\n * @param {boolean} isRefusal Flag to indicate the type of questionnaire we are saving\r\n * (true for the alternative questionnaire)\r\n * @param {ProInclusionDTO} proInclusion contains the data such as weight, height, consultation type..\r\n */\r\n public static async postProQuestions(\r\n questions: QuestionDTO[], partId: number, isRefusal: boolean,\r\n proInclusion: ProInclusionDTO|null) {\r\n await ApiService.post(`${process.env.VUE_APP_PUBLIC_ROOT_API}/questions/${partId}`,\r\n {\r\n partId,\r\n questions,\r\n isRefusal,\r\n proInclusion,\r\n isSimpleConsent: false,\r\n })\r\n // tslint:disable-next-line: no-empty\r\n .then((response: any) => { });\r\n }\r\n}\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"regular-wrapper\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit($event)}}},[_c('h1',[_vm._v(\"2. \"+_vm._s(_vm.$t('pages.questionnary')))]),_c('p',{staticClass:\"error\"},[_vm._v(_vm._s(_vm.errorMessage))]),_c('InformationBlock',{directives:[{name:\"hide-by-role\",rawName:\"v-hide-by-role\",value:(_vm.rolePharmacist),expression:\"rolePharmacist\"}],attrs:{\"is-html\":true,\"content-key\":'questionnary.questionnaryHelp'}}),_vm._l((_vm.questions),function(question,index){return _c('div',{key:index},[_c('transition',{attrs:{\"name\":\"fade\"}},[(_vm.showQuestion(question))?_c('Question',{attrs:{\"question\":question,\"boolean-type\":\"radioButton\"}}):_vm._e()],1)],1)}),(_vm.showProInclusion() && !_vm.error)?_c('ProInclusion',{model:{value:(_vm.proInclusion),callback:function ($$v) {_vm.proInclusion=$$v},expression:\"proInclusion\"}}):_vm._e(),(!_vm.error)?_c('div',{staticClass:\"bottom-buttons\"},[_c('RenounceButton'),_c('div',{staticClass:\"bottom-buttons__prev-next\"},[_c('router-link',{staticClass:\"button button-prev\",attrs:{\"to\":{ name: 'inclusion' }}},[_vm._v(_vm._s(_vm.$t('buttons.back')))]),(_vm.showValidateButton)?_c('button',{attrs:{\"type\":\"submit\"}},[_vm._v(_vm._s(_vm.$t('buttons.sendForm')))]):_vm._e(),(_vm.showNextButton && _vm.showNextButtonOnFirstLoad)?_c('button',{staticClass:\"button-next\",attrs:{\"type\":\"submit\"}},[_vm._v(_vm._s(_vm.$t('buttons.next')))]):_vm._e()],1)],1):_vm._e()],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { Component, Vue } from 'vue-property-decorator';\r\nimport Question from '@/components/Question/Question';\r\nimport { QuestionDTO } from '@/models/QuestionDTO';\r\nimport QuestionService from '@/services/question.service';\r\nimport RenounceButton from '@/components/RenounceButton/RenounceButton';\r\nimport LocalStoreService from '@/store/local.store';\r\nimport ParticipantService from '@/services/participant.service';\r\nimport { ProInclusionDTO } from '@/models/ProInclusionDTO';\r\nimport ProInclusion from '@/components/ProInclusion/ProInclusion';\r\nimport { store } from '@/store/store';\r\nimport { ProQuestionDTO } from '@/models/ProQuestionDTO';\r\nimport { McsisRole } from '@/models/constants/McsisRole';\r\nimport { ConsultationTypes } from '@/models/VariousEnum';\r\nimport DocumentService from '@/services/documentService';\r\nimport InformationBlock from '@/components/InformationBlock/InformationBlock';\r\nimport { isSimpleConsentUsedFromSU } from '@/config/app.config';\r\n\r\n@Component({\r\n components: {\r\n Question,\r\n RenounceButton,\r\n ProInclusion,\r\n InformationBlock,\r\n },\r\n})\r\nexport default class Questionnary extends Vue {\r\n public questions: QuestionDTO[] = [];\r\n public partId!: number;\r\n public showNextButtonOnFirstLoad: boolean = false;\r\n public errorMessage: string = '';\r\n public error: boolean = false;\r\n public proInclusion: ProInclusionDTO = {} as ProInclusionDTO;\r\n public isAuthenticated: boolean = false;\r\n public followUpPrinted: boolean = false;\r\n public rolePharmacist: string = McsisRole[McsisRole.Pharmacist];\r\n\r\n get showValidateButton(): boolean {\r\n return this.questions.length > 0\r\n && (this.questions.some((x) => x.answer === '1'));\r\n }\r\n\r\n get showNextButton(): boolean {\r\n return this.questions.length > 0\r\n && (this.questions.every((x) => x.answer === '0'));\r\n }\r\n\r\n protected mounted() {\r\n this.partId = Number(this.$route.params.partId);\r\n\r\n this.isAuthenticated = store.state.isAuthenticated;\r\n if (store.state.isAuthenticated) {\r\n QuestionService.fetchProQuestions(this.partId, false)\r\n .then((response: ProQuestionDTO) => {\r\n this.questions = response.questions;\r\n this.proInclusion = response.proInclusion;\r\n\r\n if (this.proInclusion.choice === null) {\r\n // Initialize component with default data\r\n this.proInclusion.choice = 'fit';\r\n this.proInclusion.consultationType = ConsultationTypes.short;\r\n }\r\n });\r\n } else {\r\n QuestionService.fetchQuestions(false)\r\n .then((response) => {\r\n this.questions = response;\r\n });\r\n }\r\n }\r\n\r\n protected showQuestion(question: QuestionDTO): boolean {\r\n const previousQuestions = this.questions.slice(0, this.questions.findIndex((q) => q === question));\r\n this.showNextButtonOnFirstLoad = true;\r\n return previousQuestions.every((x) => x.answer === '0');\r\n }\r\n\r\n protected showProInclusion(): boolean {\r\n return this.questions.every((x) => x.answer === '0') && this.isAuthenticated;\r\n }\r\n\r\n protected onSubmit(): void {\r\n this.$isInRole(McsisRole.Participant).then((isInRole: boolean) => {\r\n if (isInRole) {\r\n this.postQuestions();\r\n } else {\r\n this.postProQuestions();\r\n }\r\n });\r\n }\r\n\r\n protected sendToQueue(): void {\r\n ParticipantService.sendToQueue(this.partId)\r\n .then(() => {\r\n // Set type of inclusion: 'Inclusion' / 'Exclusion' / 'Refusal'\r\n LocalStoreService.setItem(LocalStoreService.localItemKeys.inclusionType, 'Exclusion');\r\n this.$router.push({\r\n name: 'confirmation',\r\n params: {\r\n screening: this.$route.params.screening,\r\n },\r\n });\r\n });\r\n }\r\n\r\n protected async postQuestions(): Promise {\r\n QuestionService.postQuestions(\r\n this.questions,\r\n this.partId,\r\n false,\r\n isSimpleConsentUsedFromSU(this.$route.params.screening),\r\n this.showValidateButton,\r\n !this.showValidateButton,\r\n store.state.inclusionType)\r\n .then(async () => {\r\n if (this.showValidateButton) {\r\n await DocumentService.preparePDF(this.partId, this.$i18n.locale, true, this.$route.params.screening);\r\n this.sendToQueue();\r\n } else {\r\n this.$router.push({\r\n name: 'medicalcontent',\r\n params: {\r\n screening: this.$route.params.screening,\r\n partId: String(this.partId),\r\n },\r\n });\r\n }\r\n });\r\n }\r\n\r\n protected postProQuestions(): void {\r\n\r\n if (this.proInclusion.choice === 'colo') {\r\n this.proInclusion.height = Number(this.proInclusion.height);\r\n this.proInclusion.weight = Number(this.proInclusion.weight);\r\n\r\n } else {\r\n this.proInclusion.height = null;\r\n this.proInclusion.weight = null;\r\n }\r\n\r\n if (this.proInclusion.choice !== 'fit') {\r\n this.proInclusion.testFitNumber = '';\r\n }\r\n\r\n if (this.proInclusion.choice !== 'advice') {\r\n this.proInclusion.adviceChoice = '';\r\n }\r\n\r\n if (this.proInclusion.choice === null || this.proInclusion.choice === undefined) {\r\n this.proInclusion.choice = 'fit';\r\n }\r\n\r\n this.proInclusion.printDateTime = new Date();\r\n\r\n QuestionService.postProQuestions(this.questions, this.partId, false, this.proInclusion)\r\n .then(() => {\r\n if (this.showValidateButton) {\r\n this.sendToQueue();\r\n } else {\r\n this.$router.push({\r\n name: 'medicalcontent',\r\n params: {\r\n screening: this.$route.params.screening,\r\n partId: String(this.partId),\r\n },\r\n });\r\n }\r\n });\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!./Questionnary.ts?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!./Questionnary.ts?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Questionnary.vue?vue&type=template&id=7cd52434&scoped=true&\"\nimport script from \"./Questionnary.ts?vue&type=script&lang=ts&\"\nexport * from \"./Questionnary.ts?vue&type=script&lang=ts&\"\nimport style0 from \"./Questionnary.scss?vue&type=style&index=0&id=7cd52434&scoped=true&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7cd52434\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./InformationBlock.scss?vue&type=style&index=0&id=270beb42&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!./InformationBlock.scss?vue&type=style&index=0&id=270beb42&scoped=true&lang=scss&\""],"sourceRoot":""}