{"version":3,"sources":["webpack:///./src/js/components/shared/FormolViewer/FormolViewer.style.scss","webpack:///./src/styles/main.scss?c1a5","webpack:///./src/js/components/forms/PATIENT/form/components/Recipients/AccountNotConfirmed.style.scss","webpack:///./src/js/helpers/autoSave.js","webpack:///./src/styles/theme/main/tooltip.scss?76f2","webpack:///./src/js/components/forms/GENERICv2/additionalInformation/style.scss?2539","webpack:///./src/js/PropTypes/Case/RelationshipTypePropTypes.js","webpack:///./src/js/components/forms/ECONSULT/requestClinicianConversationConsultRedispatchMutation.js","webpack:///./src/js/components/forms/ECONSULT/ECONSULT_request_redispatch.js","webpack:///./src/js/components/attachments/bodyPartPicker.style.scss?c384","webpack:///./src/js/PropTypes/Case/CarerPropTypes.js","webpack:///./src/js/PropTypes/Case/PatientPropTypes.js","webpack:///./src/js/components/shared/genderAvatar.style.scss?ad81","webpack:///./src/js/PropTypes/GenericReport/GenericReportPropTypes.js","webpack:///./src/js/PropTypes/GenericDestination/GenericDestinationPropTypes.js","webpack:///./src/js/PropTypes/GenericDestination/index.js","webpack:///./src/js/components/patients/information/PatientHospitals/AddPatientHospitalForms/AddPatientHospitalForm.style.scss","webpack:///./src/js/components/shared/splashScreen.js","webpack:///./src/js/stores/forms/types.js","webpack:///./src/js/components/shared/inputs/InputLabel/InputLabel.js","webpack:///./src/js/components/shared/inputs/InputLabel/index.js","webpack:///./src/js/components/shared/VideoConference/VideoConferenceHistory/VideoConferenceHistoryItem.styles.scss?7723","webpack:///./src/styles/theme/main/card.scss","webpack:///./src/js/components/layout/BrowserWarning/BrowserWarning.style.scss?3543","webpack:///./src/styles/navigation.scss","webpack:///./src/styles/warningChip.theme.scss?f66d","webpack:///./src/js/components/patients/updatePatientDemographicMutation.js","webpack:///./src/js/components/shared/Nav/Nav.style.scss","webpack:///./src/js/components/attachments/updateAttachmentDescriptionMutation.js","webpack:///./src/styles/errors.scss?bc7e","webpack:///./src/js/components/cases/cases.i18n.js","webpack:///./src/js/components/shared/Urls/UrlAnchor.style.scss?c387","webpack:///./config/relay-patch.js","webpack:///./src/js/components/forms/PATIENT/form/components/CompleteConversationDialog/CompleteConversationDialog.style.scss","webpack:///./src/js/components/cases/CaseSortDropdown/CaseSortDropdown.style.scss?f0b3","webpack:///./src/js/components/shared/DisplayOnlyOnPrint/DisplayOnlyOnPrint.style.scss?9678","webpack:///./src/js/components/accounts/personPictureUrlForm.style.scss","webpack:///./src/js/components/forms/PATIENT/PatientConversationPage.style.scss","webpack:///./src/js/components/shared/inputs/textInput.style.scss?75cc","webpack:///./src/js/components/attachments/updateAttachmentBodyPartsMutation.js","webpack:///./src/js/components/attachments/bodyPartPicker.js","webpack:///./src/js/components/shared/inputs/textAreaInput.style.scss","webpack:///./src/js/components/SubformTable/SubformTable.style.scss?7675","webpack:///./src/js/PropTypes/Case/RequesterPropTypes.js","webpack:///./src/js/components/shared/ErrorsContainer/style.scss","webpack:///./src/js/components/shared/header/caseStatusUpdate.js","webpack:///./src/js/components/shared/Print/PrintCaseButton.style.scss","webpack:///./src/js/components/shared/Signatures/HandWrittenSignatureFooter.styles.scss?8437","webpack:///./src/styles/theme/main/akAutocomplete.scss","webpack:///./src/js/components/shared/Signatures/libs/Signatures/SignatureInput/SignatureInput.styles.scss?0ff5","webpack:///./src/js/components/shared/Signatures/libs/Signatures/Signature/Signature.styles.scss","webpack:///./src/js/components/shared/inputs/filesInput.style.scss?8b5e","webpack:///./src/js/components/accounts/themes.js","webpack:///./src/js/components/accounts/personProfile/personProfileFields.js","webpack:///./src/styles/navigation.scss?316a","webpack:///./src/js/components/shared/Notes/Note/Titles/NoteTitleWithCount.style.scss?dea5","webpack:///./src/js/components/cases/cancelCaseMutation.js","webpack:///./src/js/components/cases/caseCancelDialog.js","webpack:///./src/styles/theme/main/list.scss?9e54","webpack:///./src/js/components/forms/shared/assignTreatingPhysicianMutation.js","webpack:///./src/js/components/forms/ECONSULT/changeConversationConsultRequesterMutation.js","webpack:///./src/js/components/forms/ECONSULT/contributeToConversationConsultMutation.js","webpack:///./src/js/components/forms/ECONSULT/contributeToConversationConsultReportMutation.js","webpack:///./src/js/components/forms/ECONSULT/ECONSULT_pdfReportHeader.js","webpack:///./src/js/components/shared/inputs/ratingInput.js","webpack:///./src/js/components/forms/ECONSULT/ECONSULT_survey.js","webpack:///./src/js/components/forms/ECONSULT/reopenConversationConsultMutation.js","webpack:///./src/js/components/forms/ECONSULT/submitConversationConsultMutation.js","webpack:///./src/js/components/forms/ECONSULT/submitConversationConsultReportMutation.js","webpack:///./src/js/components/forms/ECONSULT/ECONSULT_form.js","webpack:///./src/js/helpers/functions.js","webpack:///./src/js/helpers/index.js","webpack:///./src/js/components/accounts/sessions/loginPage.js","webpack:///./src/js/components/shared/inputs/ratingInput.style.scss","webpack:///./src/styles/app.scss","webpack:///./src/js/components/forms/shared/PatientAssementForm/patientAssessmentForm.style.scss?c65a","webpack:///./src/public/assets/images/icons/priority-3.png","webpack:///./src/public/assets/images/icons/drag.png","webpack:///./src/js/components/shared/inputs/textInput.js","webpack:///./src/js/helpers/staticData.js","webpack:///./src/styles/cardList.scss?5bcd","webpack:///./src/js/components/SubformTable/SubformTable.style.scss","webpack:///./src/js/components/clinicalPractice/calendar/Calendar.style.scss?66a6","webpack:///./src/public/assets/images/body-part-picker/female-front.png","webpack:///./src/styles/cases.scss?59ff","webpack:///./src/styles/theme/main/autocomplete.scss","webpack:///./node_modules/moment/locale sync ^\\.\\/(en-ca|fr-ca)$","webpack:///./src/js/components/patients/addPatient.style.scss?a811","webpack:///./src/js/components/patients/patientExternalSourceWarning.js","webpack:///./src/js/PropTypes/DateTime/DateTimePropTypes.js","webpack:///./src/js/PropTypes/DateTime/index.js","webpack:///./src/js/components/shared/inputs/passwordInput.style.scss?f4a4","webpack:///./src/js/components/forms/shared/muhc/LocalizedRUISSSMcGillLogo.js","webpack:///./src/js/components/shared/Metadata/MetadataContainer.style.scss","webpack:///./src/js/components/shared/inputs/custom/maskedInputWrapper.js","webpack:///./src/js/components/patients/information/patientCases.js","webpack:///./src/js/components/forms/ECONSULT/ECONSULT_form_request.js","webpack:///./src/js/components/users/physicians/physicianInput.styles.scss?32cf","webpack:///./src/js/components/attachments/UploadAndList/propTypes/FilePropTypes.js","webpack:///./src/js/components/accounts/personProfile/personProfile.style.scss","webpack:///./src/js/components/forms/GENERICv2/destination/Destination.style.scss","webpack:///./src/js/components/forms/ECONSULT/ECONSULT_form_report.js","webpack:///./src/js/components/forms/SURVEY/SURVEY_form.style.scss?9cf3","webpack:///./src/js/components/invitations/revokePatientDepartmentInvitationMutation.js","webpack:///./src/js/components/patients/information/patientDepartments.js","webpack:///./src/js/components/patients/information/PatientHospitals/HospitalDropdown/HospitalDropdown.js","webpack:///./src/js/components/patients/linkPatientMutation.js","webpack:///./src/js/components/patients/information/PatientHospitals/AddPatientHospitalForms/AddPatientHospitalForm.i18n.js","webpack:///./src/js/components/patients/information/PatientHospitals/AddPatientHospitalForms/AddPatientHospitalForm.js","webpack:///./src/js/components/patients/information/PatientHospitals/AddPatientHospital/AddPatientHospital.js","webpack:///./src/js/components/patients/information/PatientHospitals/MobilePatientHospitals/MobilePatientEditMRNAction/MobilePatientEditMRNAction.js","webpack:///./src/js/components/patients/information/PatientHospitals/MobilePatientHospitals/MobilePatientHospitals.js","webpack:///./src/js/components/patients/information/PatientHospitals/PatientHospitals.i18n.js","webpack:///./src/js/components/patients/information/PatientHospitals/patientHospitals.js","webpack:///./src/js/components/patients/information/carerEditDialog.js","webpack:///./src/js/components/invitations/updatePatientCarerRelationshipTypeMutation.js","webpack:///./src/js/components/patients/information/carerRelationshipTypeEditDialog.js","webpack:///./src/js/components/patients/information/patientUser.js","webpack:///./src/js/components/patients/information/PatientInformation/HealthInsuranceDisplay.js","webpack:///./src/js/components/patients/information/PatientInformation/AddressDisplay.js","webpack:///./src/js/components/patients/information/PatientInformation/DemographicDisplay.js","webpack:///./src/js/components/shared/sparkline.js","webpack:///./src/js/components/patients/information/PatientInformation/PatientName.js","webpack:///./src/js/components/patients/information/PatientInformation/PatientInformation.js","webpack:///./src/js/components/patients/information/PatientInformation/index.js","webpack:///./src/js/components/shared/patientInformation.js","webpack:///./src/styles/theme/main/layout.scss","webpack:///./src/styles/main.scss","webpack:///./src/js/components/forms/shared/formDispatch.js","webpack:///./src/js/components/forms/ECONSULT/dispatchConversationConsultMutation.js","webpack:///./src/js/components/forms/ECONSULT/ECONSULT_dispatch.js","webpack:///./src/styles/theme/main/input.scss?4457","webpack:///./src/js/components/forms/GENERICv2/history/History.style.scss","webpack:///./src/js/components/shared/genderAvatar.js","webpack:///./src/styles/theme/main/snackbar.scss","webpack:///./src/js/hooks/useIsFormValid.js","webpack:///./src/js/hooks/useFormsySubmit.js","webpack:///./src/js/hooks/useToggle.js","webpack:///./src/js/hooks/useFading.js","webpack:///./src/js/hooks/useSignalrRelayForceFetch.js","webpack:///./src/js/hooks/Files/useUploadXlsxFilesToDataModel.js","webpack:///./src/js/hooks/Relay/useRelayLoading.js","webpack:///./src/js/hooks/Equals/useOptionsValuesEqualsEffect.js","webpack:///./src/js/hooks/useStepper.js","webpack:///./src/js/hooks/Events/Click/useClickOutside.js","webpack:///./src/js/hooks/Draft/useDraft.js","webpack:///./src/js/hooks/useSubmitMutation.js","webpack:///./src/js/hooks/index.js","webpack:///./src/public/assets/images/icons/priority-1.png","webpack:///./src/js/components/patients/information/PatientHospitals/AddPatientHospitalForms/AddPatientHospitalForm.style.scss?c1e5","webpack:///./src/js/components/patients/patients.i18n.js","webpack:///./src/js/components/shared/ErrorsContainer/ErrorsContainer.js","webpack:///./src/js/components/forms/GENERICv2/destinationReadOnly/style.scss?4d25","webpack:///./src/js/components/forms/PATIENT/form/components/CompleteConversationDialog/CompleteConversationDialog.style.scss?e626","webpack:///./src/js/components/shared/inputs/hiddenInput.style.scss?213b","webpack:///./src/js/components/shared/ErrorLayout/ErrorLayout.style.scss","webpack:///./src/styles/theme/main/layout.scss?a368","webpack:///./src/public/assets/images/body-part-picker/female-back.png","webpack:///./src/js/components/shared/inputs/passwordInput.style.scss","webpack:///./src/styles/theme/main/checkbox.scss","webpack:///./src/js/components/users/importUsers.style.scss","webpack:///./src/js/components/shared/Notes/Notes.style.scss","webpack:///./src/js/components/forms/THORSURG/ThoracicSurgeryModalForm.style.scss?6794","webpack:///./src/js/components/shared/Nav/NavItem.style.scss?676c","webpack:///./src/js/components/shared/Signatures/libs/Signatures/Signature/Signature.styles.scss?25e6","webpack:///./src/js/components/forms/THORSURG/steps/TransfusionConsent/TransfusionConsent.styles.scss","webpack:///./src/js/helpers/passwords.js","webpack:///./config/react-patch.js","webpack:///./src/js/components/shared/PersonInformation/PersonInformation.style.scss","webpack:///./src/js/components/shared/ErrorLayout/ErrorLayout.style.scss?c493","webpack:///./src/styles/theme/main/autocomplete.scss?dc2b","webpack:///./src/js/components/shared/Loading/SplashScreenLoader/SplashScreenLoader.js","webpack:///./src/js/components/shared/Loading/Skeleton/Skeleton.js","webpack:///./src/js/components/shared/Loading/Skeleton/SkeletonLoader.js","webpack:///./src/js/components/shared/Loading/index.js","webpack:///./src/js/components/shared/Departments/ClinicalDomain/Priorities/Priority.style.scss","webpack:///./src/js/components/shared/inputs/InputLabel/InputLabel.module.scss","webpack:///./src/js/components/shared/inputs/dropDownListInput.style.scss","webpack:///./src/js/components/shared/spinnerPlaceholder.style.scss?beb2","webpack:///./src/js/components/shared/header/style.scss?aa8c","webpack:///./src/js/components/shared/PersonInformation/SitesTable/SitesTable.js","webpack:///./src/js/components/shared/PersonInformation/PersonInformation.js","webpack:///./src/js/components/shared/PersonInformation/index.js","webpack:///./src/js/components/shared/inputs/custom/customSlider.theme.scss","webpack:///./src/js/helpers/features.js","webpack:///./src/js/components/users/physicians/physicianRow.js","webpack:///./src/js/components/users/physicians/addPhysicianMutation.js","webpack:///./src/js/components/users/physicians/physicianSearch.js","webpack:///./src/js/components/users/physicians/updatePhysicianMutation.js","webpack:///./src/js/components/users/physicians/PhysicianInputActions/PhysicianInputActions.js","webpack:///./src/js/components/users/physicians/physicians.i18n.js","webpack:///./src/js/components/users/physicians/physicianInput.js","webpack:///./src/js/components/shared/Alert/alert.styles.scss","webpack:///./src/styles/theme/main/slider.scss?0836","webpack:///./src/js/components/shared/VideoConference/ScheduleVideoConferenceDialog/ScheduleVideoConferenceDialog.style.scss","webpack:///./src/js/components/forms/THORSURG/steps/Consultation/Consultation.style.scss","webpack:///./src/js/PropTypes/Hospital/HospitalPatientPropTypes.js","webpack:///./src/js/PropTypes/Hospital/HospitalPropTypes.js","webpack:///./src/js/PropTypes/Hospital/index.js","webpack:///./src/js/components/patients/healthInsuranceFieldset.js","webpack:///./src/js/components/shared/StickyFooter/style.scss","webpack:///./src/js/components/accounts/updatePersonMutation.js","webpack:///./src/js/components/shared/formattedRelative.style.scss?e8a7","webpack:///./src/js/components/shared/index.js","webpack:///./src/js/components/shared/Notes/Note/Titles/NoteTitleWithCount.style.scss","webpack:///./src/styles/theme/main/tooltip.scss","webpack:///./src/js/components/forms/PATIENT/PropTypes/NotificationMethodPropTypes.js","webpack:///./src/js/components/forms/PATIENT/PropTypes/ParticipantPropTypes.js","webpack:///./src/js/components/forms/PATIENT/PropTypes/PatientConversationPropTypes.js","webpack:///./src/js/components/forms/PATIENT/PropTypes/index.js","webpack:///./src/js/components/shared/appBarIcons.style.scss","webpack:///./src/js/components/patients/healthInsurance.js","webpack:///./src/js/components/common/style.scss","webpack:///./src/js/components/patients/similarPatients.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/Procedures/Procedure/Procedure.style.scss?1ab6","webpack:///./src/js/PropTypes/Department/DepartmentPropTypes.js","webpack:///./src/js/PropTypes/Department/index.js","webpack:///./src/js/components/forms/GENERICv2/history/History.style.scss?279e","webpack:///./src/js/components/shared/inputs/custom/nativeDropDownList.js","webpack:///./src/js/components/shared/inputs/dropDownListInput.js","webpack:///./src/js/components/shared/Signatures/HandWrittenFormHeader.js","webpack:///./src/js/components/shared/Signatures/libs/Signatures/forks/SignaturePad/Point.js","webpack:///./src/js/components/shared/Signatures/libs/Signatures/forks/SignaturePad/Bezier.js","webpack:///./src/js/components/shared/Signatures/libs/Signatures/forks/SignaturePad/SignaturePad.js","webpack:///./src/js/components/shared/Signatures/libs/Signatures/forks/ReactSignatureCanvas/index.js","webpack:///./src/js/components/shared/Signatures/libs/Signatures/SignatureData.js","webpack:///./src/js/components/shared/Signatures/libs/Signatures/SignatureInput/SignatureInput.js","webpack:///./src/js/components/shared/Signatures/libs/Signatures/Signature/Signature.js","webpack:///./src/js/components/shared/Signatures/HandWrittenSignatureForm.i18n.js","webpack:///./src/js/components/shared/Signatures/HandWrittenSignatureForm.js","webpack:///./src/js/components/shared/Signatures/HandWrittenSignatureDialog.18n.js","webpack:///./src/js/components/shared/Signatures/HandWrittenSignatureDialog.js","webpack:///./src/js/components/shared/Signatures/PropTypes/HandWrittenSignatureShape.js","webpack:///./src/js/components/shared/Signatures/common.i18n.js","webpack:///./src/js/components/shared/Signatures/HandWrittenSignatureFooter.js","webpack:///./src/js/components/shared/Signatures/HandWrittenSignature.js","webpack:///./src/js/components/shared/Signatures/RecordSignature.18n.js","webpack:///./src/js/components/shared/Signatures/RecordSignature.js","webpack:///./src/js/components/shared/Signatures/LegalSignatoryText.js","webpack:///./src/js/components/shared/Signatures/LegalSignatoryLabel.js","webpack:///./src/js/components/shared/Signatures/index.js","webpack:///./src/js/components/shared/inputs/TextInput/TextInput.js","webpack:///./src/js/components/shared/inputs/hiddenInput.style.scss","webpack:///./src/js/components/shared/dropdownHelpers.js","webpack:///./src/public/assets/images/cqmf-logo.png","webpack:///./src/js/helpers/language.js","webpack:///./src/js/components/forms/PATIENT/form/components/Recipients/AccountNotConfirmed.style.scss?0711","webpack:///./src/js/components/shared/Notes/CaseAdminNotes/CaseAdminNotes.style.scss?05f9","webpack:///./src/js/routes/accountRoutes.js","webpack:///./src/js/components/shared/Nav/NavContent.style.scss?5b1d","webpack:///./src/styles/theme/inputs.shared.scss","webpack:///./src/js/components/savedItems/saveUserItemMutation.js","webpack:///./src/js/components/shared/Popover/Popover.style.scss","webpack:///./src/js/components/shared/Notes/AddNoteForm/style.scss?fd4c","webpack:///./src/js/components/forms/THORSURG/steps/GeneralConsent/Procedures/ProceduresTable.style.scss?a8c9","webpack:///./src/js/components/forms/viewCaseMutation.js","webpack:///./src/js/components/layout/notFoundPage.js","webpack:///./src/js/components/shared/PageTitle/PageTitle.js","webpack:///./src/js/components/shared/Urls/UrlAnchor.js","webpack:///./src/js/components/cases/creation/formCodes.js","webpack:///./src/js/components/shared/Notes/CaseAdminNotes/CaseAdminNotes.i18.js","webpack:///./src/js/components/shared/Notes/CaseAdminNotes/CaseAdminNoteTitle.js","webpack:///./src/js/components/shared/Notes/CaseAdminNotes/mutations/addAdminNoteToCaseMutation.js","webpack:///./src/js/components/shared/Notes/CaseAdminNotes/CaseAdminNotes.js","webpack:///./src/js/PropTypes/Permissions/PermissionsPropTypes.js","webpack:///./src/js/PropTypes/Attachments/AttachmentsPropTypes.js","webpack:///./src/js/components/attachments/UploadAndList/BodyParts/BodyPartsList.js","webpack:///./src/js/PropTypes/Attachments/BodyPartPropTypes.js","webpack:///./src/js/components/attachments/UploadAndList/InlineAttachment.js","webpack:///./src/js/components/attachments/UploadAndList/InlineAttachments.js","webpack:///./src/js/components/shared/CreationInformationHeader/CreationInformationHeader.js","webpack:///./src/js/components/shared/Notes/Note/propTypes/NotePropType.js","webpack:///./src/js/components/shared/Notes/Note/Note.js","webpack:///./src/js/components/shared/Notes/Note/Titles/NoteTitleWithCount.js","webpack:///./src/js/components/shared/Notes/CaseAdminNotes/CaseAdminNotesTitleAndCount.js","webpack:///./src/js/components/shared/Notes/CaseClinicalNotes/mutations/addClinicalNoteToCaseMutation.js","webpack:///./src/js/components/shared/Notes/CaseClinicalNotes/CaseClinicalNotes.js","webpack:///./src/js/components/attachments/updateAttachmentDocumentTypeMutation.js","webpack:///./src/js/components/attachments/UploadAndList/i18n.js","webpack:///./src/js/components/attachments/UploadAndList/ConfirmDeletionDialog.js","webpack:///./src/js/components/attachments/UploadAndList/UpdateDocumentTypeDialog.js","webpack:///./src/js/components/attachments/UploadAndList/Attachments.js","webpack:///./src/js/components/attachments/UploadAndList/filesInput.js","webpack:///./src/js/components/attachments/UploadAndList/AttachmentUploadAndList.js","webpack:///./src/js/components/shared/Notes/messages/index.js","webpack:///./src/js/components/shared/Notes/AddNoteForm/AddNoteForm.js","webpack:///./src/js/components/shared/Notes/Notes.js","webpack:///./src/js/components/shared/Notes/index.js","webpack:///./src/js/components/forms/GENERICv2/history/utils.js","webpack:///./src/js/components/forms/GENERICv2/history/History.i18n.js","webpack:///./src/js/components/forms/GENERICv2/history/MobileHistory.js","webpack:///./src/js/components/forms/GENERICv2/history/History.js","webpack:///./src/js/components/forms/GENERICv2/history/HistoryTypes.js","webpack:///./src/js/components/shared/Print/PropTypes/PrintCaseContainerActionsPropTypes.js","webpack:///./src/js/components/shared/Print/PrintCaseContainer.js","webpack:///./src/js/components/shared/Print/PrintCaseButton.js","webpack:///./src/js/components/shared/StickyFooter/StickyFooter.js","webpack:///./src/js/components/forms/GENERICv2/mutations/requestAdditionalInformationMutation.js","webpack:///./src/js/components/forms/GENERICv2/mutations/requestReportClarificationMutation.js","webpack:///./src/js/components/forms/GENERICv2/mutations/requestRedispatchMutation.js","webpack:///./src/js/components/forms/GENERICv2/mutations/submitAdditionalInformationMutation.js","webpack:///./src/js/components/forms/GENERICv2/mutations/submitReportClarificationMutation.js","webpack:///./src/js/components/forms/GENERICv2/mutations/submitCaseMutation.js","webpack:///./src/js/components/forms/GENERICv2/mutations/submitDestinationMutation.js","webpack:///./src/js/components/forms/GENERICv2/mutations/submitReportMutation.js","webpack:///./src/js/components/forms/GENERICv2/additionalInformation/i18n.js","webpack:///./src/js/components/forms/GENERICv2/additionalInformation/AnswerForm.js","webpack:///./src/js/components/forms/GENERICv2/additionalInformation/AdditionalInformation.js","webpack:///./src/js/components/forms/GENERICv2/helpers.js","webpack:///./src/js/components/shared/FormolViewer/FormolIframe.tsx","webpack:///./src/js/components/shared/FormolViewer/styles.js","webpack:///./src/js/components/shared/FormolViewer/FormolViewer.i18n.js","webpack:///./src/js/components/shared/FormolViewer/FormolViewer.js","webpack:///./src/js/components/shared/FormolViewer/CardFormolViewer.js","webpack:///./src/js/components/forms/GENERICv2/ClinicalDomainSubForm/ClinicalDomainSubForm.js","webpack:///./src/js/components/forms/GENERICv2/i18n.js","webpack:///./src/js/components/forms/GENERICv2/ClinicalDomainDropdown/ClinicalDomainDropdown.js","webpack:///./src/js/components/shared/Departments/ClinicalDomain/Priorities/Priority.js","webpack:///./src/js/components/forms/GENERICv2/PriorityDropdown/PriorityDropdown.js","webpack:///./src/js/components/forms/GENERICv2/DepartmentDropdown/DepartmentDropdown.js","webpack:///./src/js/hooks/useDidUpdateEffect.js","webpack:///./src/js/components/forms/GENERICv2/DepartmentReportersDropdown/DepartmentReportersDropdown.js","webpack:///./src/js/components/forms/GENERICv2/ModalityDropdown/ModalityDropdown.js","webpack:///./src/js/components/attachments/deleteAllAttachmentsMutation.js","webpack:///./src/js/components/forms/GENERICv2/destination/Destination.js","webpack:///./src/js/components/shared/Departments/ClinicalDomain/ClinicalDomain.i18n.js","webpack:///./src/js/components/shared/Departments/ClinicalDomain/ClinicalDomain.js","webpack:///./src/js/components/shared/Departments/DepartmentModal/DepartmentModal.i18n.js","webpack:///./src/js/components/shared/Departments/DepartmentModal/DepartmentModal.js","webpack:///./src/js/components/shared/Departments/DepartmentInformation/DepartmentInformation.js","webpack:///./src/js/components/forms/GENERICv2/mutations/updateDestinationPriorityMutation.js","webpack:///./src/js/components/forms/GENERICv2/updateDestinationPriorityDialog/UpdateDestinationPriorityDialog.i18n.js","webpack:///./src/js/components/forms/GENERICv2/updateDestinationPriorityDialog/UpdateDestinationPriorityDialog.js","webpack:///./src/js/PropTypes/VideoConference/Meeting/MeetingStatus.js","webpack:///./src/js/PropTypes/VideoConference/Meeting/MeetingPropTypes.js","webpack:///./src/js/components/shared/inputs/DateTime/index.js","webpack:///./src/js/components/shared/VideoConference/VideoconferenceAddToCalendar/VideoconferenceAddToCalendar.i18n.js","webpack:///./src/js/components/shared/VideoConference/VideoconferenceAddToCalendar/VideoconferenceAddToCalendar.js","webpack:///./src/js/components/shared/VideoConference/mutations/CancelVideoConferenceMeetingMutation.js","webpack:///./src/js/components/shared/VideoConference/VideoConferenceHistory/VideoConferenceStatusChip.js","webpack:///./src/js/components/shared/VideoConference/VideoConferenceHistory/VideoConferenceHistoryItem.i18n.js","webpack:///./src/js/components/shared/VideoConference/VideoConferenceHistory/VideoConferenceHistoryItem.js","webpack:///./src/js/components/shared/VideoConference/VideoConferenceHistory/VideoConferenceHistory.js","webpack:///./src/js/components/forms/GENERICv2/mutations/reassignProposedReporterMutation.js","webpack:///./src/js/components/forms/GENERICv2/ReassignProposedReporterDialog/ReassignProposedReporterDialog.i18n.js","webpack:///./src/js/components/forms/GENERICv2/ReassignProposedReporterDialog/ReassignProposedReporterDialog.js","webpack:///./src/js/components/shared/VideoConference/Inputs/UserVideoProvidersDropdown/UserVideoProvidersDropdown.js","webpack:///./src/js/components/shared/VideoConference/Inputs/AppointmentDurationDropdown/AppointmentDurationDropdown.i18n.js","webpack:///./src/js/components/shared/VideoConference/Inputs/AppointmentDurationDropdown/AppointmentDurationDropdown.js","webpack:///./src/js/components/shared/VideoConference/mutations/ScheduleVideoConferenceMeetingMutation.js","webpack:///./src/js/components/shared/VideoConference/ScheduleVideoConferenceDialog/ScheduleVideoConferenceDialog.i18n.js","webpack:///./src/js/components/shared/VideoConference/ScheduleVideoConferenceDialog/ScheduleVideoConferenceDialog.js","webpack:///./src/js/components/forms/GENERICv2/destinationReadOnly/i18n.js","webpack:///./src/js/components/forms/GENERICv2/additionalInformation/Request.js","webpack:///./src/js/components/forms/GENERICv2/mutations/dispatchDestinationMutation.js","webpack:///./src/js/components/forms/GENERICv2/dispatchDestinationDialog/DispatchDestinationDialog.i18n.js","webpack:///./src/js/components/forms/GENERICv2/dispatchDestinationDialog/DispatchDestinationDialog.js","webpack:///./src/js/components/forms/GENERICv2/mutations/forwardDispatchDestinationMutation.js","webpack:///./src/js/components/forms/GENERICv2/DispatcherDropdown/DispatcherDropdown.i18n.js","webpack:///./src/js/components/forms/GENERICv2/DispatcherDropdown/DispatcherDropdown.js","webpack:///./src/js/components/forms/GENERICv2/ForwardDispatchDestinationDialog/ForwardDispatchDestinationDialog.i18n.js","webpack:///./src/js/components/forms/GENERICv2/ForwardDispatchDestinationDialog/ForwardDispatchDestinationDialog.js","webpack:///./src/js/components/forms/GENERICv2/mutations/takeChargeOfDestinationMutation.js","webpack:///./src/js/components/forms/GENERICv2/takeChargeOfDestinationDialog/TakeChargeOfDestinationDialog.i18n.js","webpack:///./src/js/components/forms/GENERICv2/takeChargeOfDestinationDialog/TakeChargeOfDestinationDialog.js","webpack:///./src/js/components/forms/GENERICv2/destinationReadOnly/CloseDestinationDialog.js","webpack:///./src/js/components/forms/GENERICv2/destinationReadOnly/RedispatchRequest.js","webpack:///./src/js/components/shared/Signature/SignatureController.js","webpack:///./src/js/components/shared/Signature/Signature.i18n.js","webpack:///./src/js/components/shared/Signature/SignatureDialog.js","webpack:///./src/js/components/shared/YesNo/YesNo.js","webpack:///./src/js/components/shared/Alert/AlertColor.js","webpack:///./src/js/components/shared/Alert/Alert.js","webpack:///./src/js/components/forms/GENERICv2/ReportDropdown/ReportDropdown.js","webpack:///./src/js/components/forms/GENERICv2/destinationReadOnly/SendReportButton/SendReportButton.js","webpack:///./src/js/components/forms/GENERICv2/destinationReadOnly/Report.js","webpack:///./src/js/components/forms/GENERICv2/destinationReadOnly/helpers.js","webpack:///./src/js/components/forms/GENERICv2/destinationReadOnly/hooks/useSelectReporter.js","webpack:///./src/js/components/forms/GENERICv2/destinationReadOnly/ActionBlock.js","webpack:///./src/js/components/forms/GENERICv2/destinationReadOnly/DialogDelete.js","webpack:///./src/js/components/forms/GENERICv2/destinationReadOnly/RedispatchRequestedHeader.js","webpack:///./src/js/components/forms/GENERICv2/destinationReadOnly/ReportClarificationRequestedHeader.js","webpack:///./src/js/components/forms/GENERICv2/destinationReadOnly/DestinationReadOnly.js","webpack:///./src/js/components/forms/GENERICv2/requestInformation/i18n.js","webpack:///./src/js/components/forms/GENERICv2/requestInformation/ClinicalInformation.js","webpack:///./src/js/components/forms/GENERICv2/requestInformation/RequiredInformation.js","webpack:///./src/js/components/forms/GENERICv2/requestInformation/RequestInformation.js","webpack:///./src/js/components/forms/GENERICv2/genericRequest/CloseRequestDialog.js","webpack:///./src/js/components/forms/GENERICv2/genericRequest/components/GenericRequestNonRequesterView.js","webpack:///./src/js/components/forms/GENERICv2/genericRequest/components/GenericRequestRequesterView.js","webpack:///./src/js/components/forms/GENERICv2/genericRequest/GenericRequest.js","webpack:///./src/js/PropTypes/Case/SignaturePropTypes.js","webpack:///./src/js/components/forms/shared/printableComponent/ReportSignaturePrint.i18n.js","webpack:///./src/js/components/forms/shared/printableComponent/ReportSignaturePrint.js","webpack:///./src/js/components/shared/DisplayOnlyOnPrint/DisplayOnlyOnPrint.js","webpack:///./src/js/components/forms/shared/muhc/MUHCReportPrintHeader.js","webpack:///./src/js/components/forms/shared/print/PrintSection.js","webpack:///./src/js/components/forms/shared/print/PrintSubsection.js","webpack:///./src/js/components/forms/shared/print/TableSectionPrint.js","webpack:///./src/js/components/forms/shared/print/patient/PatientSectionPrint.i18n.js","webpack:///./src/js/components/forms/shared/print/patient/PatientSectionPrint.js","webpack:///./src/js/components/forms/GENERICv2/genericRequestPrint/GenericRequestPrint.i18n.js","webpack:///./src/js/components/forms/GENERICv2/genericRequestPrint/GenericRequestPrint.js","webpack:///./src/js/components/forms/GENERICv2/newGenericRequest/NewGenericRequest.js","webpack:///./src/js/components/shared/Nav/hooks/NavActionTypes.js","webpack:///./src/js/components/shared/Nav/hooks/navReducer.js","webpack:///./src/js/components/shared/Nav/NavProvider.js","webpack:///./src/js/components/shared/Nav/hooks/useNavReducer.js","webpack:///./src/js/components/shared/Nav/NavMenu.js","webpack:///./src/js/components/shared/Nav/NavItem.js","webpack:///./src/js/components/shared/Nav/propTypes/index.js","webpack:///./src/js/components/shared/Nav/NavContent.js","webpack:///./src/js/components/shared/Nav/Nav.js","webpack:///./src/js/components/forms/GENERICv2/genericRequest/components/menus/GenericRequestMenu.i18n.js","webpack:///./src/js/components/forms/GENERICv2/genericRequest/components/menus/GenericRequestMenu.js","webpack:///./src/js/components/forms/GENERICv2/GenericRequestPage.js","webpack:///./src/js/stores/forms/actions.js","webpack:///./src/js/components/shared/inputs/custom/customSlider.js","webpack:///./src/js/components/forms/forms.i18n.js","webpack:///./src/js/components/forms/RESP_EVA/RESP_EVA_form.i18n.js","webpack:///./src/js/components/forms/helpers.js","webpack:///./config/react-toolbox-patch.js","webpack:///./src/js/components/forms/completeCaseMutation.js","webpack:///./src/js/components/forms/formNavigation.js","webpack:///./src/js/components/forms/steps.js","webpack:///./src/js/components/forms/formStepper.js","webpack:///./src/js/components/forms/saveCaseFormMutation.js","webpack:///./src/js/components/forms/submitCaseFormMutation.js","webpack:///./src/js/components/shared/personSummaryCard.js","webpack:///./src/js/components/forms/shared/caseInformationCard.js","webpack:///./src/js/components/invitations/invitePersonToCaseMutation.js","webpack:///./src/js/components/accounts/basicPersonProfileFields.js","webpack:///./src/js/components/forms/shared/caseInvitationForm.js","webpack:///./src/js/components/invitations/sendCaseInvitationManualReminderMutation.js","webpack:///./src/js/components/forms/shared/caseInvitationsList.js","webpack:///./src/js/components/forms/shared/i18n.js","webpack:///./src/js/components/forms/shared/PatientAssementForm/patientAssessmentForm.js","webpack:///./src/js/components/forms/GER_FCGA/GER_FCGA_formIntroduction.js","webpack:///./src/js/components/forms/GER_FCGA/GER_FCGA_formRecommender.js","webpack:///./src/js/components/forms/GER_FCGA/GER_FCGA_helper.js","webpack:///./src/js/components/forms/GER_FCGA/GER_FCGA_formSummary.js","webpack:///./src/js/helpers/themes.js","webpack:///./src/js/components/forms/GER_FCGA/GER_FCGA_pdfReportHeader.js","webpack:///./src/js/components/forms/GER_FCGA/GER_FCGA_form.js","webpack:///./src/js/components/forms/PATIENT/form/components/Recipients/Recipients.i18n.js","webpack:///./src/js/components/forms/PATIENT/form/components/Recipients/AccountNotConfirmedTooltip.js","webpack:///./src/js/components/forms/PATIENT/form/components/Recipients/CarerRecipient.js","webpack:///./src/js/components/forms/PATIENT/form/components/Recipients/PatientRecipient.js","webpack:///./src/js/components/forms/PATIENT/form/components/Recipients/Recipient.js","webpack:///./src/js/Models/User/Carer.js","webpack:///./src/js/Models/User/User.js","webpack:///./src/js/components/forms/PATIENT/mutations/addPatientConversationParticipantsMutation.js","webpack:///./src/js/components/invitations/invitePatientUserToPortalMutation.js","webpack:///./src/js/components/shared/RelationshipDropdown/RelationshipDropdown.js","webpack:///./src/js/components/forms/shared/PatientUserPortalInvitationForm.i18n.js","webpack:///./src/js/components/forms/shared/PatientUserPortalInvitationForm.js","webpack:///./src/js/components/forms/PATIENT/PatientConversation.i18n.js","webpack:///./src/js/components/forms/PATIENT/form/components/AboutCommunication/AboutPatientCommunication.js","webpack:///./src/js/components/forms/PATIENT/mutations/completePatientConversationMutation.js","webpack:///./src/js/components/forms/PATIENT/form/components/CompleteConversationDialog/CompleteConversationDialog.js","webpack:///./src/js/components/shared/NoneSpecifiedFieldMessage/NoneSpecifiedFieldMessage.i18n.js","webpack:///./src/js/components/shared/NoneSpecifiedFieldMessage/NoneSpecifiedFieldMessage.js","webpack:///./src/js/components/forms/PATIENT/form/components/ConclusionHeader.js","webpack:///./src/js/components/forms/PATIENT/form/components/InviteToQuestionnaire/InviteToQuestionnaire.js","webpack:///./src/js/components/forms/PATIENT/mutations/addMessagePatientConversationMutation.js","webpack:///./src/js/components/forms/PATIENT/form/components/NewMessagePatientCommunication/NewMessagePatientCommunication.js","webpack:///./src/js/components/shared/Conversation/ConversationItem.js","webpack:///./src/js/components/shared/Conversation/Conversation.js","webpack:///./src/js/components/forms/PATIENT/PatientConversation.js","webpack:///./src/js/components/shared/VideoConference/VideoConferencesCard/VideoConferencesCard.i18n.js","webpack:///./src/js/components/shared/VideoConference/VideoConferencesCard/VideoConferencesCard.js","webpack:///./src/js/components/SubformTable/SubformTable.i18n.js","webpack:///./src/js/components/SubformTable/SubformTable.js","webpack:///./src/js/components/shared/Signature/ReportSignatureCard/ReportSignatureCard.i18n.js","webpack:///./src/js/components/shared/Signature/ReportSignatureCard/ReportSignatureCard.js","webpack:///./src/js/components/forms/PATIENT/PatientConversationPageClinician.js","webpack:///./src/js/components/forms/PATIENT/PatientConversationPagePatient.js","webpack:///./src/js/components/forms/PATIENT/PatientConversationPage.js","webpack:///./src/js/components/forms/emptyForm.js","webpack:///./src/js/components/forms/RESP_EVA/RESP_EVA_formScorer.js","webpack:///./src/js/components/forms/RESP_EVA/ScoreLegend/ScoreLegendsPropTypes.js","webpack:///./src/js/components/forms/RESP_EVA/ScoreLegend/ScoreLegend.js","webpack:///./src/js/components/forms/RESP_EVA/RESP_EVA_formSummary.i18n.js","webpack:///./src/js/components/forms/RESP_EVA/RESP_EVA_formSummary.js","webpack:///./src/js/components/forms/RESP_EVA/RESP_EVA_form.js","webpack:///./src/js/stores/thorsurg/actions.js","webpack:///./src/js/components/forms/THORSURG/StepPermission.js","webpack:///./src/js/components/forms/THORSURG/Footer/Footer.js","webpack:///./src/js/components/forms/THORSURG/Footer/index.js","webpack:///./src/js/components/shared/Labels/InputLabel/InputLabel.js","webpack:///./src/js/components/shared/Popover/Popover.js","webpack:///./src/js/components/forms/THORSURG/PropTypes/Step/StepDataPropTypes.js","webpack:///./src/js/components/forms/THORSURG/PropTypes/Lists/ListsPropTypes.js","webpack:///./src/js/components/forms/THORSURG/stepNames.js","webpack:///./src/js/components/forms/THORSURG/PropTypes/Step/StepPropTypes.js","webpack:///./src/js/components/forms/THORSURG/Stepper/Stepper.i18n.js","webpack:///./src/js/components/forms/THORSURG/Stepper/ActionItems.js","webpack:///./src/js/components/forms/THORSURG/Stepper/NavItems.js","webpack:///./src/js/components/forms/THORSURG/Stepper/Step.js","webpack:///./src/js/components/forms/THORSURG/Stepper/Stepper.js","webpack:///./src/js/components/forms/THORSURG/Stepper/index.js","webpack:///./src/js/components/forms/THORSURG/mutations/submitStepMutation.js","webpack:///./src/js/components/forms/THORSURG/mutations/updateStepMutation.js","webpack:///./src/js/components/forms/THORSURG/ThoracicSurgeryForm.i18n.js","webpack:///./src/js/components/forms/THORSURG/Toolbar/print.js","webpack:///./src/js/components/forms/THORSURG/Toolbar/Toolbar.js","webpack:///./src/js/components/forms/THORSURG/Toolbar/index.js","webpack:///./src/js/components/forms/THORSURG/ThoracicSurgeryModalActions.js","webpack:///./src/js/components/forms/THORSURG/steps/GeneralConsent/GeneralConsent.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/GeneralConsent/Procedures/Mobile/MobileProcedure.js","webpack:///./src/js/components/forms/THORSURG/steps/GeneralConsent/Procedures/Mobile/MobileProceduresTable.js","webpack:///./src/js/components/forms/THORSURG/steps/GeneralConsent/Procedures/ProceduresTable.js","webpack:///./src/js/components/forms/THORSURG/steps/GeneralConsent/GeneralConsent.js","webpack:///./src/js/components/forms/THORSURG/ThoracicSurgeryModalForm.js","webpack:///./src/js/components/forms/THORSURG/steps/InitialSorting/helpers.js","webpack:///./src/js/components/forms/THORSURG/steps/InitialSorting/InitialSorting.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/InitialSorting/InitialSorting.js","webpack:///./src/js/components/forms/THORSURG/steps/InitialSorting/index.js","webpack:///./src/js/components/forms/THORSURG/steps/DocumentsExams/DocumentsExams.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/DocumentsExams/DocumentsExams.js","webpack:///./src/js/components/forms/THORSURG/steps/DocumentsExams/index.js","webpack:///./src/js/components/forms/THORSURG/steps/ConsultationPlanning/Appointments.js","webpack:///./src/js/components/forms/THORSURG/steps/ConsultationPlanning/ConsultationPlanning.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/ConsultationPlanning/ConsultationPlanning.js","webpack:///./src/js/components/forms/THORSURG/steps/ConsultationPlanning/index.js","webpack:///./src/js/components/forms/THORSURG/steps/GeneralConsent/index.js","webpack:///./src/js/components/forms/THORSURG/steps/TransfusionConsent/TransfusionConsent.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/TransfusionConsent/TransfusionConsent.js","webpack:///./src/js/components/forms/THORSURG/steps/TransfusionConsent/index.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/AdditionalInfo/AdditionalInfo.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/AdditionalInfo/index.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/General/General.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/General/index.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/AdmissionSurgery.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/Procedures/Procedure/index.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/Procedures/index.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/MedicalServices/MedicalServices.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/MedicalServices/EstimatedLengthSurgery.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/MedicalServices/index.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/TestPreOp/TestPreOp.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/TestPreOp/index.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/AdmissionSurgery.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/index.js","webpack:///./src/js/components/forms/THORSURG/steps/PreopPlanning/PreopPlanning.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/PreopPlanning/PreopPlanning.js","webpack:///./src/js/components/forms/THORSURG/steps/PreopPlanning/index.js","webpack:///./src/js/components/forms/THORSURG/steps/PreopVisit/PreopVisit.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/PreopVisit/PreopVisit.js","webpack:///./src/js/components/forms/THORSURG/steps/PreopVisit/index.js","webpack:///./src/js/components/forms/THORSURG/History/History.i18n.js","webpack:///./src/js/components/forms/THORSURG/History/History.js","webpack:///./src/js/components/forms/THORSURG/History/index.js","webpack:///./src/js/components/forms/THORSURG/steps/SurgeryInformationCorb/SurgeryInformationCorb.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/SurgeryInformationCorb/SurgeryInformationCorb.js","webpack:///./src/js/components/forms/THORSURG/steps/SurgeryInformationCorb/index.js","webpack:///./src/js/components/forms/THORSURG/steps/DischargeReport/DischargeReport.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/DischargeReport/DischargeReport.js","webpack:///./src/js/components/forms/THORSURG/steps/DischargeReport/index.js","webpack:///./src/js/components/forms/THORSURG/steps/PhoneTeaching/PhoneTeaching.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/PhoneTeaching/PhoneTeaching.js","webpack:///./src/js/components/forms/THORSURG/steps/PhoneTeaching/index.js","webpack:///./src/js/components/forms/THORSURG/steps/DischargePatient/DischargePatient.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/DischargePatient/DischargePatient.js","webpack:///./src/js/components/forms/THORSURG/steps/DischargePatient/index.js","webpack:///./src/js/components/forms/THORSURG/steps/Consultation/Consultation.i18n.js","webpack:///./src/js/components/forms/THORSURG/Signature.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/Consultation/Consultation.js","webpack:///./src/js/components/forms/THORSURG/steps/Consultation/ConsultationPrint.i18n.js","webpack:///./src/js/components/forms/THORSURG/steps/Consultation/ConsultationPrint.js","webpack:///./src/js/components/forms/THORSURG/steps/Consultation/index.js","webpack:///./src/js/components/forms/THORSURG/helpers.js","webpack:///./src/js/components/forms/THORSURG/RenderPrintStep.js","webpack:///./src/js/components/forms/THORSURG/StepParameterResolver.js","webpack:///./src/js/components/forms/THORSURG/ThoracicSurgeryForm.js","webpack:///./src/js/components/forms/THORSURG/index.js","webpack:///./src/js/components/forms/DYNAMICFORM/mutations/completeDynamicFormCaseMutation.js","webpack:///./src/js/components/forms/DYNAMICFORM/mutations/submitDynamicFormDraftResultsMutation.js","webpack:///./src/js/components/forms/DYNAMICFORM/mutations/submitDynamicFormResultsMutation.js","webpack:///./src/js/components/forms/DYNAMICFORM/DynamicFormCaseFormolViewer.js","webpack:///./src/js/components/forms/DYNAMICFORM/DynamicFormPage.i18n.js","webpack:///./src/js/components/forms/DYNAMICFORM/DynamicFormPage.js","webpack:///./src/js/components/forms/resolver.js","webpack:///./src/js/components/forms/formWrapper.js","webpack:///./src/js/components/forms/formPage.js","webpack:///./src/js/components/clinicalDomains/ClinicalDomainAttachments/assignAttachmentsToClinicalDomainMutation.js","webpack:///./src/js/components/clinicalDomains/ClinicalDomainAttachments/ClinicalDomainAttachments.js","webpack:///./src/js/components/clinicalDomains/ClinicalDomainAttachments/index.js","webpack:///./src/js/components/printContainer.js","webpack:///./src/js/routes/printRoute.js","webpack:///./src/js/components/layout/headerSection.js","webpack:///./src/js/components/layout/layoutHelpers.js","webpack:///./src/js/components/layout/Snackbar/Snackbar.i18n.js","webpack:///./src/js/components/layout/Snackbar/Snackbar.js","webpack:///./src/js/components/layout/anonymousLayout.js","webpack:///./src/js/components/accounts/activity/activityRow.js","webpack:///./src/js/components/accounts/activity/activityStream.js","webpack:///./src/js/components/layout/BrowserWarning/BrowserWarning.i18n.js","webpack:///./src/js/components/layout/BrowserWarning/index.js","webpack:///./src/js/components/layout/loggedInLayout.js","webpack:///./src/js/components/cases/caseDispatchPage.js","webpack:///./src/js/components/cases/caseRequestRedispatchPage.js","webpack:///./src/js/components/cases/CaseSortDropdown/CaseSortDropdown.i18n.js","webpack:///./src/js/components/cases/CaseSortDropdown/CaseSortDropdown.js","webpack:///./src/js/components/cases/caseCard.js","webpack:///./src/js/components/cases/caseContainer.js","webpack:///./src/js/components/cases/caseTableHeader.js","webpack:///./src/js/components/cases/caseTable.js","webpack:///./src/js/components/cases/caseSearch.js","webpack:///./src/js/components/layout/searchToolbar.js","webpack:///./src/js/components/cases/header.js","webpack:///./src/js/components/cases/casesListPage.js","webpack:///./src/js/components/cases/caseTotalChip.js","webpack:///./src/js/components/cases/caseTabs.js","webpack:///./src/js/components/cases/casesTabsPage.js","webpack:///./src/js/components/patients/addPatientMutation.js","webpack:///./src/js/components/patients/addPatient.js","webpack:///./src/js/components/hospitals/hospitals.i18n.js","webpack:///./src/js/components/shared/patientSelector.js","webpack:///./src/js/components/cases/creation/addPatientCaseMutation.js","webpack:///./src/js/components/cases/creation/patientRequestFormPicker.js","webpack:///./src/js/components/cases/creation/carerNewRequestForm.js","webpack:///./src/js/components/cases/creation/addConversationConsultCaseMutation.js","webpack:///./src/js/components/cases/creation/addGenericConversationConsultCaseMutation.js","webpack:///./src/js/components/forms/THORSURG/Parameters/Parameters.i18n.js","webpack:///./src/js/components/forms/THORSURG/Parameters/Parameters.js","webpack:///./src/js/components/forms/THORSURG/Parameters/index.js","webpack:///./src/js/components/cases/creation/LegacyParameters/Parameters.i18n.js","webpack:///./src/js/components/cases/creation/LegacyParameters/Parameters.js","webpack:///./src/js/components/cases/creation/LegacyParameters/index.js","webpack:///./src/js/components/cases/creation/newRequestFormParameters.js","webpack:///./src/js/components/cases/creation/genericNewRequestForm.js","webpack:///./src/js/components/cases/creation/patientNewRequestForm.js","webpack:///./src/js/components/cases/creation/specialistNewRequestForm.js","webpack:///./src/js/components/cases/creation/newCasePage.js","webpack:///./src/js/components/forms/ECONSULT/ECONSULT_form_start.js","webpack:///./src/js/components/cases/creation/newEConsultPage.js","webpack:///./src/js/components/shared/genericHeader.js","webpack:///./src/js/routes/caseRoutes.js","webpack:///./src/js/components/forms/formHeader.js","webpack:///./src/js/components/forms/SURVEY/SURVEY_form.js","webpack:///./src/js/components/forms/SURVEY/surveyPage.js","webpack:///./src/js/routes/formRoutes.js","webpack:///./src/js/components/errors/errorsPage.tsx","webpack:///./src/js/components/general/helpPage.js","webpack:///./src/js/routes/generalRoutes.js","webpack:///./src/js/components/hospitals/showAndSearchPatients.js","webpack:///./src/js/components/patients/addPatientPage.js","webpack:///./src/js/components/patients/editPatientPage.js","webpack:///./src/js/components/patients/header.js","webpack:///./src/js/components/patients/my/myPatientInformationPage.js","webpack:///./src/js/components/patients/my/myPatientsHeader.js","webpack:///./src/js/components/patients/my/myPatientsList.js","webpack:///./src/js/components/patients/my/myPatientsListPage.js","webpack:///./src/js/components/patients/my/myPatientsTabs.js","webpack:///./src/js/components/patients/my/myPatientsTabsPage.js","webpack:///./src/js/components/patients/ImportPatients/ImportPatientsMutation.js","webpack:///./src/js/components/patients/ImportPatients/ImportPatients.i18n.js","webpack:///./src/js/components/patients/ImportPatients/ImportPatientsTable.js","webpack:///./src/js/components/patients/ImportPatients/FilesList.js","webpack:///./src/js/components/patients/ImportPatients/ImportPatients.js","webpack:///./src/js/components/patients/ImportPatients/ImportPatientsHeader.js","webpack:///./src/js/routes/patientRoutes.js","webpack:///./src/js/components/accounts/activity/activityHeader.js","webpack:///./src/js/components/accounts/activity/activityPage.js","webpack:///./src/js/components/hospitals/departmentForm.js","webpack:///./src/js/components/hospitals/departmentPicker.js","webpack:///./src/js/components/shared/inputs/checkboxListInput.js","webpack:///./src/js/components/accounts/addPersonMutation.js","webpack:///./src/js/components/accounts/personSettingsAuthentication.js","webpack:///./src/js/components/accounts/requestAccessMutation.js","webpack:///./src/js/components/accounts/personSettingsForm.js","webpack:///./src/js/components/accounts/quickInvitePersonMutation.js","webpack:///./src/js/components/accounts/quickInvitePersonForm.js","webpack:///./src/js/components/accounts/quickInvitePersonPage.js","webpack:///./src/js/components/accounts/userCreatePage.js","webpack:///./src/js/components/accounts/userEditPage.js","webpack:///./src/js/components/users/accessRequestHeader.js","webpack:///./src/js/components/users/accessRequestRow.js","webpack:///./src/js/components/users/AccessRequestSearch.js","webpack:///./src/js/components/users/accessRequestPage.js","webpack:///./src/js/components/users/confirmEmailAddressMutation.js","webpack:///./src/js/components/users/confirmEmailPage.js","webpack:///./src/js/components/users/importUsersHeader.js","webpack:///./src/js/components/users/importUsersMutation.js","webpack:///./src/js/components/users/importUsers.js","webpack:///./src/js/components/users/importUsersPage.js","webpack:///./src/js/components/users/requestAccessPage.js","webpack:///./src/js/components/shared/VideoConference/mutations/InstallVideoConferenceProviderMutation.js","webpack:///./src/js/components/accounts/VideoConferences/CallbackPage/CallbackPage.i18n.js","webpack:///./src/js/components/accounts/VideoConferences/CallbackPage/VideoConferenceCallBackPage.js","webpack:///./src/js/components/accounts/ZoomProviderCallbackPage/ZoomProviderCallbackPage.i18n.js","webpack:///./src/js/components/accounts/ZoomProviderCallbackPage/ZoomProviderCallbackPage.js","webpack:///./src/js/components/accounts/TeamsProviderCallbackPage/TeamsProviderCallbackPage.i18n.js","webpack:///./src/js/components/accounts/TeamsProviderCallbackPage/TeamsProviderCallbackPage.js","webpack:///./src/js/routes/userRoutes.js","webpack:///./src/js/components/clinicalPractice/events/EventInfoModal.i18n.js","webpack:///./src/js/components/clinicalPractice/events/EventInfoModal.js","webpack:///./src/js/components/clinicalPractice/calendar/Calendar.i18n.js","webpack:///./src/js/components/clinicalPractice/calendar/Calendar.js","webpack:///./src/js/components/clinicalPractice/calendarPage.js","webpack:///./src/js/components/hospitals/hospitalUserList/HospitalUserList.js","webpack:///./src/js/components/hospitals/hospitalsPage.js","webpack:///./src/js/routes/clinicRoutes.js","webpack:///./src/js/routes/routes.js","webpack:///./src/js/containers/root.prod.js","webpack:///./src/translations/flattenMessages.js","webpack:///./src/js/components/shared/Loading/Skeleton/Skeleton.styles.scss","webpack:///./src/js/components/forms/THORSURG/Parameters/Parameters.styles.scss?296d","webpack:///./src/js/helpers/files.js","webpack:///./src/styles/theme/main/appBar.scss?7d73","webpack:///./src/public/assets/images/body-part-picker/male-front.png","webpack:///./src/js/stores/app/actions.js","webpack:///./src/js/PropTypes/Case/ConclusionPropTypes.js","webpack:///./src/js/PropTypes/Case/ViewerPropTypes.js","webpack:///./src/js/helpers/authentication.js","webpack:///./src/js/components/shared/Nav/NavContent.style.scss","webpack:///./src/js/components/clinicalPractice/events/EventInfoModal.style.scss?5b68","webpack:///./src/styles/theme/main/radioButton.scss?deac","webpack:///./src/js/components/patients/addressFields.js","webpack:///./src/styles/theme/main/index.js","webpack:///./src/js/components/forms/THORSURG/Parameters/Parameters.styles.scss","webpack:///./src/js/components/patients/patientRow.js","webpack:///./src/js/components/shared/FormolViewer/FormolViewer.style.scss?f6e5","webpack:///./src/js/containers/root.js","webpack:///./src/js/components/attachments/messages.i18n.js","webpack:///./src/js/components/attachments/attachmentUploadAndList.js","webpack:///./src/js/components/cases/cases.style.scss?4086","webpack:///./src/js/components/shared/patientSelector.style.scss","webpack:///./src/js/helpers/dates.js","webpack:///./src/js/components/accounts/personSettingsForm.style.scss?df9d","webpack:///./src/js/components/patients/deceasedInformationFields.js","webpack:///./src/js/components/patients/deceasedInformationFieldset.js","webpack:///./src/js/components/patients/updatePatientAddressMutation.js","webpack:///./src/js/components/patients/updatePatientFamilyPhysicianMutation.js","webpack:///./src/js/components/patients/markPatientAsDeceasedMutation.js","webpack:///./src/js/components/patients/editPatient.js","webpack:///./src/js/components/forms/THORSURG/steps/TransfusionConsent/TransfusionConsent.styles.scss?6b8c","webpack:///./src/js/components/forms/GER_FCGA/GER_FCGA_formScorer.js","webpack:///./src/js/components/forms/GENERICv2/genericRequest/GenericRequest.style.scss?b13e","webpack:///./src/js/components/layout/searchToolbar.style.scss","webpack:///./src/styles/forms.scss","webpack:///./src/public/assets/images/body-part-picker/male-female-back.png","webpack:///./src/js/components/shared/MediaQuery/MobileMediaQuery/index.js","webpack:///./src/js/components/forms/PATIENT/form/components/AboutCommunication/AboutPatientCommunication.style.scss?025b","webpack:///./src/js/components/attachments/deleteAttachmentMutation.js","webpack:///./src/js/stores/thorsurg/types.js","webpack:///./src/js/components/forms/GENERICv2/genericRequestPrint/GenericRequestPrint.style.scss?f4dc","webpack:///./src/js/components/shared/Labels/InputLabel/InputLabel.style.scss?0beb","webpack:///./src/js/components/forms/ECONSULT/closeConversationConsultMutation.js","webpack:///./src/js/components/shared/Signatures/HandWrittenFormHeader.styles.scss","webpack:///./src/js/components/shared/inputs/passwordInput.js","webpack:///./src/messages/base.i18n.js","webpack:///./src/js/components/shared/ErrorLayout/ErrorLayout.i18n.js","webpack:///./src/js/components/shared/ErrorLayout/ErrorLayout.js","webpack:///./src/js/routes/routeHelpers.js","webpack:///./src/js/components/shared/Loading/SplashScreenLoader/SplashScreenLoader.style.scss","webpack:///./src/js/components/forms/THORSURG/Stepper/Stepper.style.scss?d324","webpack:///./src/js/components/attachments/uploadAttachmentsMutation.js","webpack:///./src/styles/theme/main/input.scss","webpack:///./src/js/components/layout/searchToolbar.style.scss?0284","webpack:///./src/js/components/shared/PersonInformation/PersonInformation.style.scss?7d3a","webpack:///./src/js/components/shared/collapsibleCard.style.scss?5247","webpack:///./src/js/components/forms/shared/PatientAssementForm/patientAssessmentForm.style.scss","webpack:///./src/styles/mobileList.theme.scss","webpack:///./src/js/components/shared/inputs/custom/customSlider.theme.scss?7397","webpack:///./src/js/components/shared/Notes/Note/Note.style.scss","webpack:///./src/styles/theme/main/tabs.scss","webpack:///./src/js/components/shared/inputs/filesInput.style.scss","webpack:///./src/js/components/shared/Signatures/RecordSignature.styles.scss","webpack:///./src/js/components/shared/Loading/SplashScreenLoader/SplashScreenLoader.style.scss?6360","webpack:///./src/js/components/shared/header/Mrn/index.js","webpack:///./src/js/components/accounts/personAvatar.style.scss","webpack:///./src/js/components/forms/PATIENT/form/components/NewMessagePatientCommunication/NewMessagePatientCommunication.style.scss?080c","webpack:///./src/styles/theme/main/dialog.scss","webpack:///./src/js/components/shared/inputs/DatePicker/DatePicker.js","webpack:///./src/js/components/shared/inputs/DatePicker/index.js","webpack:///./src/js/PropTypes/Case/DemographicPropTypes.js","webpack:///./src/js/components/forms/THORSURG/steps/GeneralConsent/Procedures/ProceduresTable.style.scss","webpack:///./src/js/components/cases/informationRequestStatusIcon.js","webpack:///./src/js/components/layout/avatarBlock.js","webpack:///./src/js/components/layout/mainNavigation.js","webpack:///./src/js/components/forms/PATIENT/form/components/AboutCommunication/AboutPatientCommunication.style.scss","webpack:///./src/js/PropTypes/Status/StatusCodes.js","webpack:///./src/js/components/shared/StickyFooter/style.scss?5389","webpack:///./src/js/components/shared/formattedDate.js","webpack:///./src/js/components/forms/shared/printableComponent/ReportSignaturePrint.style.scss","webpack:///./src/public/assets/images/econsult-logo.png","webpack:///./src/js/hooks/urls/useMenuUrlAnchors.js","webpack:///./src/js/hooks/urls/index.js","webpack:///./src/public/assets/images/brand.png","webpack:///./src/js/components/shared/inputs/textAreaInput.js","webpack:///./src/js/components/shared/inputs/TimePicker/TimePicker.js","webpack:///./src/js/components/shared/inputs/TextArea/TextArea.js","webpack:///./src/js/components/shared/inputs/Checkbox/Checkbox.js","webpack:///./src/js/components/shared/inputs/Checkbox/CheckboxGroup/CheckboxGroup.js","webpack:///./src/js/components/shared/inputs/RadioGroup/RadioGroup.js","webpack:///./src/js/components/shared/inputs/Button/Button.js","webpack:///./src/js/components/shared/inputs/Toggle/Toggle.js","webpack:///./src/js/components/shared/inputs/HandWrittenSignatureInput/HandWrittenSignatureInput.js","webpack:///./src/js/components/shared/retryableImage.js","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/style.scss?fcbe","webpack:///./src/js/components/shared/Signature/ReportSignatureCard/ReportSignatureCard.style.scss?c4e4","webpack:///./src/js/components/common/avatar.js","webpack:///./src/js/components/common/autocomplete.js","webpack:///./src/js/components/common/button.js","webpack:///./src/js/components/common/checkbox.js","webpack:///./src/js/components/common/dialog.js","webpack:///./src/js/components/common/dropdown.js","webpack:///./src/js/components/common/table.js","webpack:///./src/js/components/common/textInput.js","webpack:///./src/js/components/common/DynamicTable.js","webpack:///./src/js/components/common/index.js","webpack:///./src/js/components/shared/VideoConference/VideoConferencesCard/VideoConferencesCard.style.scss?c20e","webpack:///./src/js/components/forms/DYNAMICFORM/DynamicFormPage.style.scss","webpack:///./src/js/components/attachments/UploadAndList/style.scss","webpack:///./src/js/components/accounts/personPictureUrlForm.style.scss?61fa","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/Procedures/Procedure/Procedure.style.scss","webpack:///./src/public/assets/images/ceexlo-logo.png","webpack:///./src/js/components/shared/Nav/Nav.style.scss?a310","webpack:///./src/js/components/shared/inputs/custom/spinnerButton.js","webpack:///./src/js/components/shared/Alert/alert.styles.scss?7b10","webpack:///./src/js/components/invitations/invitations.i18n.js","webpack:///./src/js/components/patients/healthInsuranceFields.js","webpack:///./src/styles/mobileList.theme.scss?bab7","webpack:///./src/js/hooks/Menus/MenuActionTypes.js","webpack:///./src/js/hooks/Menus/menuReducer.js","webpack:///./src/js/components/shared/Menu/MenuProvider.js","webpack:///./src/js/hooks/Menus/useMenuReducer.js","webpack:///./src/js/components/shared/Menu/index.js","webpack:///./src/js/helpers/fileStorage.js","webpack:///./src/js/components/layout/BrowserWarning/BrowserWarning.style.scss","webpack:///./src/js/components/forms/THORSURG/Footer/Footer.style.scss","webpack:///./src/js/components/shared/Signatures/HandWrittenSignature.styles.scss?393c","webpack:///./src/js/components/shared/Labels/InputLabel/InputLabel.style.scss","webpack:///./src/js/components/cases/caseLabels.js","webpack:///./src/js/components/forms/ECONSULT/ECONSULT_requesterEdit.js","webpack:///./src/styles/successChip.theme.scss","webpack:///./src/js/components/accounts/personProfile/personProfile.style.scss?19e6","webpack:///./src/js/components/patients/birthdayAndAge.js","webpack:///./src/js/components/forms/ECONSULT/ECONSULT_form.style.scss","webpack:///./src/js/constants.js","webpack:///./src/js/components/shared/VideoConference/ScheduleVideoConferenceDialog/ScheduleVideoConferenceDialog.style.scss?da32","webpack:///./src/js/components/shared/spinnerPlaceholder.js","webpack:///./src/js/components/shared/inputs/dropDownListInput.style.scss?9c93","webpack:///./src/public/assets/images/RUISSSMcGill_en.svg","webpack:///./src/js/components/forms/THORSURG/steps/Consultation/Consultation.style.scss?38f7","webpack:///./src/js/components/shared/CreationInformationHeader/creationInformationHeader.style.scss?5abc","webpack:///./src/js/components/shared/inputs/radioButtonListInput.js","webpack:///./src/js/components/forms/GENERICv2/genericRequest/GenericRequest.style.scss","webpack:///./src/js/components/shared/Signature/Signature.style.scss?5e08","webpack:///./src/js/components/patients/addPatient.style.scss","webpack:///./src/public/assets/images/icons/gender-female.png","webpack:///./src/js/helpers/validations.js","webpack:///./src/js/stores/helpers.js","webpack:///./src/js/components/forms/GENERICv2/ReportDropdown/ReportDropdown.style.scss","webpack:///./src/js/components/forms/GENERICv2/requestInformation/style.scss?72b7","webpack:///./src/js/components/shared/Print/PrintCaseContainer.style.scss","webpack:///./src/public/assets/images/RUISSSMcGill_fr.svg","webpack:///./src/styles/search.scss","webpack:///./src/styles/components/commons.scss","webpack:///./src/js/components/shared/FadingContent/FadingContent.js","webpack:///./src/js/components/shared/FadingContent/index.js","webpack:///./src/public/assets/images/external-link.svg","webpack:///./src/js/components/invitations/invitePatientToDepartmentMutation.js","webpack:///./src/js/components/shared/invitePatientToDepartmentDialog.js","webpack:///./src/public/assets/themes/cevimac/logo.png","webpack:///./src/public/assets/images/icons/gender-other.png","webpack:///./src/js/components/shared/Signatures/libs/Signatures/SignatureInput/SignatureInput.styles.scss","webpack:///./src/js/components/cases/caseRowIcons.js","webpack:///./src/js/components/shared/errorCard.tsx","webpack:///./src/js/components/forms/SURVEY/SURVEY_form.style.scss","webpack:///./src/js/components/shared/HideOnPrint/HideOnPrint.js","webpack:///./src/js/components/shared/HideOnPrint/index.js","webpack:///./src/js/components/shared/inputs/SelectInput/SelectInput.js","webpack:///./src/js/components/shared/helpText.js","webpack:///./src/js/components/savedItems/savedItemHelpers.js","webpack:///./src/js/components/forms/RESP_EVA/ScoreLegend/ScoreLegend.styles.scss","webpack:///./src/js/components/shared/ErrorsContainer/style.scss?e3bb","webpack:///./src/js/PropTypes/Address/AddressPropTypes.js","webpack:///./src/js/PropTypes/Address/index.js","webpack:///./src/js/stores/app/reducers.js","webpack:///./src/js/stores/forms/reducers.js","webpack:///./src/js/stores/genericRequests/reducers.js","webpack:///./src/js/stores/genericRequests/types.js","webpack:///./src/js/stores/thorsurg/reducers.js","webpack:///./src/js/stores/store.js","webpack:///./src/js/components/accounts/personAvatar.style.scss?4534","webpack:///./src/js/components/shared/VideoConference/VideoConferenceHistory/VideoConferenceHistoryItem.styles.scss","webpack:///./src/js/components/common/chip.js","webpack:///./src/js/components/shared/genderAvatar.style.scss","webpack:///./src/js/components/forms/GENERICv2/ReportDropdown/ReportDropdown.style.scss?c833","webpack:///./src/js/components/shared/Signatures/HandWrittenFormHeader.styles.scss?3591","webpack:///./src/js/components/forms/GENERICv2/newGenericRequest/NewGenericRequest.style.scss?640f","webpack:///./src/js/components/shared/spinnerPlaceholder.style.scss","webpack:///./src/js/components/shared/helpText.style.scss?9090","webpack:///./src/js/components/forms/RESP_EVA/ScoreLegend/ScoreLegend.styles.scss?2538","webpack:///./src/js/components/patients/basicPatientForm.js","webpack:///./src/styles/successChip.theme.scss?645a","webpack:///./src/js/components/shared/Signatures/hooks/useAddHandWrittenSignature.js","webpack:///./src/js/components/shared/Signatures/hooks/useCancelHandWrittenSignature.js","webpack:///./src/js/components/shared/Signatures/hooks/index.js","webpack:///./src/js/components/shared/PriorityIcon/Icons/LowPriorityFlagIcon.js","webpack:///./src/js/components/shared/PriorityIcon/Icons/MediumPriorityFlagIcon.js","webpack:///./src/js/components/shared/PriorityIcon/Icons/HighPriorityFlagIcon.js","webpack:///./src/js/components/shared/PriorityIcon/Icons/HeartIcon.js","webpack:///./src/js/components/shared/PriorityIcon/Icons/SunIcon.js","webpack:///./src/js/components/shared/PriorityIcon/PriorityIcon.js","webpack:///./src/js/components/shared/PriorityIcon/index.js","webpack:///./src/js/components/shared/inputs/hooks/useFormsyInput.js","webpack:///./src/js/components/shared/inputs/hooks/index.js","webpack:///./src/js/components/forms/THORSURG/ThoracicSurgeryForm.style.scss","webpack:///./src/styles/forms.scss?4d9d","webpack:///./src/styles/theme/inputs.shared.scss?8f16","webpack:///./src/js/components/users/physicians/PhysicianInputActions/PhysicianInputActions.styles.scss?2a33","webpack:///./src/js/components/shared/inputs/checkboxListInput.style.scss?9237","webpack:///./src/js/components/shared/Print/PrintCaseContainer.style.scss?3f96","webpack:///./src/styles/theme/main/slider.scss","webpack:///./src/js/hooks/Prints/usePrint.js","webpack:///./src/js/hooks/Prints/index.js","webpack:///./src/js/components/users/resendUserInvitationDialog.js","webpack:///./src/js/components/patients/demographicFieldset.js","webpack:///./src/public/assets/images/body-part-picker/male-back.png","webpack:///./src/js/components/shared/FadingContent/fadingContent.styles.scss","webpack:///./src/js/components/users/confirmUserRegistrationMutation.js","webpack:///./src/js/components/users/confirmRegistrationPage.js","webpack:///./src/js/components/shared/HideOnPrint/HideOnPrint.style.scss?fb34","webpack:///./src/js/components/shared/inputs/inputHelpers.js","webpack:///./src/js/components/patients/ImportPatients/ImportPatients.styles.scss?6daf","webpack:///./src/js/components/shared/Metadata/MetadataContainer.js","webpack:///./src/js/components/cases/caseRow.js","webpack:///./src/js/components/shared/HideOnPrint/HideOnPrint.style.scss","webpack:///./src/js/components/forms/GENERICv2/GenericRequestPage.style.scss","webpack:///./src/js/components/forms/GENERICv2/destination/Destination.style.scss?f327","webpack:///./src/js/components/patients/patientSummaryCard.js","webpack:///./src/styles/theme/main/link.scss?08a3","webpack:///./src/js/components/shared/Features/FeatureFlagContainer/FeatureFlagContainer.js","webpack:///./src/js/components/shared/Features/FeatureFlagContainer/index.js","webpack:///./src/js/components/shared/Notes/CaseAdminNotes/CaseAdminNotes.style.scss","webpack:///./src/js/components/forms/THORSURG/Footer/Footer.style.scss?3970","webpack:///./src/js/components/shared/FadingContent/fadingContent.styles.scss?8fa2","webpack:///./src/js/components/shared/collapsibleCard.style.scss","webpack:///./src/js/components/forms/shared/muhc/MUHCReportPrintHeader.style.scss","webpack:///./src/js/components/patients/ImportPatients/ImportPatients.styles.scss","webpack:///./src/js/components/shared/patientSelector.style.scss?d5bf","webpack:///./src/js/components/shared/inputs/Wrappers/withRequiredMessage.js","webpack:///./src/js/components/cases/creation/genericNewRequestForm.style.scss","webpack:///./src/styles/theme/main/akAutocomplete.scss?d9eb","webpack:///./src/js/components/forms/GENERICv2/additionalInformation/style.scss","webpack:///./src/js/components/forms/THORSURG/ThoracicSurgeryModalForm.style.scss","webpack:///./src/js/PropTypes/Status/StatusPropTypes.js","webpack:///./src/js/PropTypes/Case/CasePropTypes.js","webpack:///./src/js/components/shared/Conversation/PropTypes/MessagePropTypes.js","webpack:///./src/js/components/shared/Conversation/PropTypes/index.js","webpack:///./src/styles/theme/main/dialog.scss?c829","webpack:///./src/js/components/shared/header/i18n.js","webpack:///./src/styles/theme/main/snackbar.scss?a326","webpack:///./src/styles/theme/main/card.scss?5735","webpack:///./src/js/components/shared/radioHelpers.js","webpack:///./src/js/shared.js","webpack:///./src/js/helpers/polyfills.js","webpack:///./src/js/app.js","webpack:///./src/js/components/shared/Signatures/RecordSignature.styles.scss?ec9e","webpack:///./src/js/components/shared/Urls/UrlAnchor.style.scss","webpack:///./src/js/components/forms/DYNAMICFORM/DynamicFormPage.style.scss?04d2","webpack:///./src/styles/theme/main/list.scss","webpack:///./src/styles/search.scss?9c3f","webpack:///./src/js/components/patients/patientSearch.js","webpack:///./src/js/components/shared/Notes/Note/Note.style.scss?d9da","webpack:///./src/js/components/patients/information/PatientHospitals/AddPatientHospital/AddPatientHospital.style.scss?ecc0","webpack:///./src/public/assets/images/spinner.svg","webpack:///./src/js/components/cases/cases.style.scss","webpack:///./src/js/components/shared/htmlElement.js","webpack:///./src/js/components/shared/inputs/telephoneInput.js","webpack:///./src/js/components/forms/PATIENT/form/components/InviteToQuestionnaire/InviteToQuestionnaire.style.scss?89cc","webpack:///./src/js/PropTypes/Case/HealthInsurancePropTypes.js","webpack:///./src/js/components/shared/appBarIcons.style.scss?58b6","webpack:///./src/js/components/shared/statisticsBarChart.js","webpack:///./src/js/components/shared/statisticsLineChart.js","webpack:///./src/js/components/patients/PatientStatistics/PatientStatistics.i18n.js","webpack:///./src/js/components/patients/PatientStatistics/PatientStatistics.js","webpack:///./src/js/components/patients/PatientStatistics/index.js","webpack:///./src/js/components/shared/DisplayOnlyOnPrint/DisplayOnlyOnPrint.style.scss","webpack:///./src/js/components/cases/CaseSortDropdown/CaseSortDropdown.style.scss","webpack:///./src/js/PropTypes/VideoConference/VideoConferencePropTypes.js","webpack:///./src/js/components/forms/PATIENT/form/components/ConclusionHeader.style.scss","webpack:///./src/js/components/shared/VideoConference/VideoConferencesCard/VideoConferencesCard.style.scss","webpack:///./src/styles/theme/main/link.scss","webpack:///./src/js/components/clinicalPractice/calendar/Calendar.style.scss","webpack:///./src/js/PropTypes/Case/GenderPropTypes.js","webpack:///./src/public/assets/images/icons/gender-male.png","webpack:///./src/public/assets/images/icons/priority-2.png","webpack:///./src/js/components/forms/GENERICv2/requestInformation/style.scss","webpack:///./src/js/components/patients/addressFieldset.js","webpack:///./src/js/helpers/localStorage.js","webpack:///./src/js/stores/app/types.js","webpack:///./src/js/helpers/support.js","webpack:///./src/js/components/shared/Conversation/Conversation.styles.scss?2019","webpack:///./src/js/components/forms/GENERICv2/GenericRequestPage.style.scss?4c68","webpack:///./src/js/components/patients/address.js","webpack:///./src/js/components/shared/Notes/AddNoteForm/style.scss","webpack:///./src/js/components/users/physicians/PhysicianInputActions/PhysicianInputActions.styles.scss","webpack:///./src/js/components/shared/formattedRelative.js","webpack:///./src/js/helpers/document.js","webpack:///./src/js/components/forms/PATIENT/PatientConversationPage.style.scss?e981","webpack:///./src/js/components/shared/Conversation/Conversation.styles.scss","webpack:///./src/js/components/shared/Loading/Skeleton/Skeleton.styles.scss?5011","webpack:///./src/js/components/forms/GENERICv2/genericRequestPrint/GenericRequestPrint.style.scss","webpack:///./src/js/components/shared/highlightedText.js","webpack:///./src/js/components/clinicalPractice/events/EventInfoModal.style.scss","webpack:///./src/js/components/patients/information/PatientHospitals/AddPatientHospital/AddPatientHospital.style.scss","webpack:///./src/styles/app.scss?0d3e","webpack:///./src/styles/theme/main/checkbox.scss?098c","webpack:///./src/styles/errors.scss","webpack:///./src/js/components/forms/RESP_EVA/RESP_EVA.style.scss?8bdc","webpack:///./src/styles/stepper.scss","webpack:///./src/js/components/shared/inputs/checkboxListInput.style.scss","webpack:///./src/js/components/shared/inputs/checkboxInput.js","webpack:///./src/js/components/users/importUsers.style.scss?0a43","webpack:///./src/js/components/forms/THORSURG/ThoracicSurgeryForm.style.scss?feae","webpack:///./src/js/components/shared/CreationInformationHeader/creationInformationHeader.style.scss","webpack:///./src/js/components/forms/THORSURG/steps/AdmissionSurgery/style.scss","webpack:///./src/js/components/shared/Notes/Notes.style.scss?022d","webpack:///./src/js/components/users/resendUserInvitationMutation.js","webpack:///./src/js/components/forms/GER_FCGA/GER_FCGA_form.i18n.js","webpack:///./src/js/components/forms/PATIENT/form/components/NewMessagePatientCommunication/NewMessagePatientCommunication.style.scss","webpack:///./src/js/components/attachments/bodyPartPicker.style.scss","webpack:///./src/js/PropTypes/Person/PersonPropTypes.js","webpack:///./src/js/PropTypes/Person/index.js","webpack:///./src/js/components/accounts/personProfile/personProfile.i18n.js","webpack:///./src/js/components/users/physicians/physicianInput.styles.scss","webpack:///./src/js/components/forms/shared/printableComponent/ReportSignaturePrint.style.scss?abbb","webpack:///./src/js/components/shared/formattedRelative.style.scss","webpack:///./src/js/components/forms/RESP_EVA/RESP_EVA.style.scss","webpack:///./src/js/helpers/crypto/md5.js","webpack:///./src/js/helpers/crypto/index.js","webpack:///./src/js/components/accounts/personPictureUrlForm.js","webpack:///./src/js/components/shared/inputs/ratingInput.style.scss?bbd1","webpack:///./src/styles/theme/main/button.scss","webpack:///./src/styles/theme/main/appBar.scss","webpack:///./src/js/components/shared/Departments/DepartmentInformation/DepartmentInformation.style.scss?b088","webpack:///./src/js/components/forms/THORSURG/Toolbar/Toolbar.style.scss?b0fa","webpack:///./src/js/components/forms/THORSURG/Toolbar/Toolbar.style.scss","webpack:///./src/js/components/shared/Signatures/HandWrittenSignature.styles.scss","webpack:///./src/js/PropTypes/Case/PatientConversationPermissionsPropTypes.js","webpack:///./src/js/PropTypes/Case/CaseExtraDataPropTypes.js","webpack:///./src/js/PropTypes/Case/CaseDataPropTypes.js","webpack:///./src/js/components/shared/inputs/monthPickerInput.js","webpack:///./src/styles/components/commons.scss?1968","webpack:///./src/styles/cases.scss","webpack:///./src/js/components/forms/PATIENT/form/components/InviteToQuestionnaire/InviteToQuestionnaire.style.scss","webpack:///./src/js/components/forms/shared/print/genericPrintContainer.style.scss?0c1e","webpack:///./src/styles/theme/main/tabs.scss?e1a6","webpack:///./src/js/components/shared/inputs/textAreaInput.style.scss?f8c8","webpack:///./config/react-toolbox-patch-list.js","webpack:///./src/js/components/shared/DynamicList/DynamicListHelper.js","webpack:///./src/js/components/shared/ErrorsContainer/index.js","webpack:///./src/js/components/shared/healthInsuranceChip.js","webpack:///./src/js/components/shared/Departments/ClinicalDomain/ClinicalDomain.style.scss","webpack:///./src/js/components/shared/inputs/datePickerInput.js","webpack:///./src/js/components/shared/Metadata/MetadataContainer.style.scss?0928","webpack:///./src/js/components/shared/Departments/DepartmentInformation/DepartmentInformation.style.scss","webpack:///./src/js/components/forms/GENERICv2/newGenericRequest/NewGenericRequest.style.scss","webpack:///./src/js/helpers/signalr.js","webpack:///./src/js/components/patients/familyPhysicianFields.js","webpack:///./src/js/components/patients/familyPhysicianFieldset.js","webpack:///./src/js/components/accounts/changePasswordMutation.js","webpack:///./src/js/components/accounts/resetPasswordMutation.js","webpack:///./src/js/components/accounts/changePasswordForm.tsx","webpack:///./src/js/components/errors/errors.i18n.ts","webpack:///./src/js/components/accounts/personSettingsForm.style.scss","webpack:///./src/js/components/attachments/UploadAndList/style.scss?76df","webpack:///./src/js/PropTypes/Case/PatientHospitalsPropTypes.js","webpack:///./src/js/PropTypes/Case/index.js","webpack:///./src/js/components/forms/THORSURG/Stepper/Stepper.style.scss","webpack:///./src/js/components/common/style.scss?4005","webpack:///./src/js/components/savedItems/resetUserItemMutation.js","webpack:///./src/js/components/shared/Departments/ClinicalDomain/Priorities/Priority.style.scss?9425","webpack:///./src/js/components/forms/ECONSULT/ECONSULT_form.style.scss?2821","webpack:///./src/js/components/shared/inputs/textInput.style.scss","webpack:///./src/js/components/shared/Signature/Signature.style.scss","webpack:///./src/js/components/shared/inputs/filesInput.js","webpack:///./src/js/helpers/errors.tsx","webpack:///./src/public/assets/images/body-part-picker/male-female-front.png","webpack:///./src/js/components/shared/Signatures/HandWrittenSignatureFooter.styles.scss","webpack:///./src/js/components/forms/ECONSULT/archiveConversationConsultReportMutation.js","webpack:///./src/js/components/forms/ECONSULT/archiveConversationConsultRequestMutation.js","webpack:///./src/js/components/cases/caseArchiveDialog.js","webpack:///./src/styles/warningChip.theme.scss","webpack:///./src/js/components/shared/Signatures/mutations/addHandWrittenSignatureMutation.js","webpack:///./src/js/components/shared/Signatures/mutations/cancelHandWrittenSignatureMutation.js","webpack:///./src/js/components/shared/Signatures/mutations/LegalSignatoryType.js","webpack:///./src/js/components/shared/Signatures/mutations/index.js","webpack:///./src/js/components/forms/formScorer.js","webpack:///./src/js/helpers/url.js","webpack:///./src/js/components/forms/GENERICv2/destinationReadOnly/style.scss","webpack:///./src/styles/cardList.scss","webpack:///./src/js/components/shared/header/patientHeader.js","webpack:///./src/js/components/shared/header/PreviousCases.js","webpack:///./src/js/components/shared/header/helpers.js","webpack:///./src/js/components/shared/header/clinicianHeader.js","webpack:///./src/js/components/shared/header/mobileCaseHeader.js","webpack:///./src/js/components/shared/header/index.js","webpack:///./src/js/components/shared/inputs/InputLabel/InputLabel.module.scss?64db","webpack:///./src/js/components/accounts/personAvatar.js","webpack:///./src/js/components/forms/ECONSULT/historyItem.js","webpack:///./src/js/components/forms/formHeader.style.scss?2cf9","webpack:///./src/js/components/shared/formattedDateTime.js","webpack:///./src/js/components/patients/updatePatientHealthInsuranceMutation.js","webpack:///./src/js/components/forms/formHeader.style.scss","webpack:///./src/js/components/shared/Signature/ReportSignatureCard/ReportSignatureCard.style.scss","webpack:///./src/js/components/shared/inputs/autocompleteInput.js","webpack:///./src/js/PropTypes/User/UserPropTypes.js","webpack:///./src/js/PropTypes/User/index.js","webpack:///./src/js/PropTypes/Person/UserLanguagesPropTypes.js","webpack:///./src/styles/theme/main/radioButton.scss","webpack:///./src/js/components/shared/helpText.style.scss","webpack:///./src/js/PropTypes/GenericReport/ReportTypes.js","webpack:///./src/js/components/forms/shared/print/genericPrintContainer.style.scss","webpack:///./src/js/components/shared/Nav/NavItem.style.scss","webpack:///./src/styles/stepper.scss?6fcf","webpack:///./src/js/components/shared/inputs/hiddenInput.js","webpack:///./src/js/components/cases/creation/genericNewRequestForm.style.scss?9035","webpack:///./src/js/components/shared/Popover/Popover.style.scss?cf45","webpack:///./src/js/components/shared/Departments/ClinicalDomain/ClinicalDomain.style.scss?0eb1","webpack:///./src/js/components/forms/PATIENT/form/components/ConclusionHeader.style.scss?047e","webpack:///./src/js/components/shared/header/style.scss","webpack:///./src/js/components/shared/inputs/custom/spinnerIcon.js","webpack:///./src/js/components/forms/ECONSULT/ECONSULT_logo.js","webpack:///./src/js/components/forms/shared/muhc/MUHCReportPrintHeader.style.scss?0511","webpack:///./src/js/components/shared/Print/PrintCaseButton.style.scss?4e69","webpack:///./src/js/helpers/strings.ts","webpack:///./src/js/components/shared/ConfirmDialog/ConfirmDialog.js","webpack:///./src/styles/theme/main/button.scss?bfc6"],"names":["exports","module","__webpack_require__","push","i","locals","isLoadingIFrame","iframe","version","content","options","hmr","transform","insertInto","undefined","tooltip","autoSaves","registerAutoSave","id","autoSaveFunc","unregisterAutoSave","executeAutoSaves","promises","_babel_runtime_corejs2_core_js_object_keys__WEBPACK_IMPORTED_MODULE_0___default","map","k","e","console","error","_babel_runtime_corejs2_core_js_promise__WEBPACK_IMPORTED_MODULE_1___default","a","resolve","all","window","addEventListener","length","Date","getTime","d","__webpack_exports__","RelationshipTypePropTypes","prop_types__WEBPACK_IMPORTED_MODULE_0__","prop_types__WEBPACK_IMPORTED_MODULE_0___default","n","PropTypes","shape","string","code","name","names","arrayOf","inverse","RequestClinicianConversationConsultRedispatchMutation","calls","kind","metadata","value","callVariableName","children","fieldName","isGenerated","isRequisite","type","inputType","responseType","caseId","this","props","reason","RQL_0","callValue","canHaveSubselections","isConnection","concat","apply","isPlural","relay_patch","QL","__id","isAbstract","__frag","inferredRootCallName","inferredPrimaryKey","getFragment","fieldIDs","case","parentName","parentID","viewer","__dataID__","connectionName","edgeName","rangeBehaviors","","Relay","Mutation","call","messages","defineMessages","requestRedispatchTitle","_requestRedispatchTit","defineProperty_default","requestRedispatchTitleCaseId","_requestRedispatchTit2","requestRedispatch","_requestRedispatch","requestRedispatchHelpSpecialist","_requestRedispatchHel","requestRedispatchHelpRequester","_requestRedispatchHel2","requestRedispatchSuccess","_requestRedispatchSuc","EConsultRequestRedispatch","_React$Component","inherits_default","_super","ECONSULT_request_redispatch_createSuper","_this","classCallCheck_default","_len","arguments","args","Array","_key","assertThisInitialized_default","mutating","errors","createClass_default","key","intl","formatMessage","_this2","controlSubmitExternally","form","submit","data","_this3","cas","params","onRedispatching","setState","Store","commitUpdate","onSuccess","dispatch","showDialogNotice","t","onRedispatch","onFailure","r","getErrors","then","state","onRedispatchError","_this4","_this$props","showCaseId","onCancel","isRequester","currentUser","asSpecialist","departments","filter","x","fromDepartment","react_patch_default","createElement","formsy_react_umd_default","noValidate","ref","f","onValidSubmit","redispatchRequest","onInvalidSubmit","handleFormsyInvalidSubmit","className","classnames","formStyle","style","card","legacyId","textInput","icon","label","dispatchMessages","redispatchReason","required","validationErrors","isDefaultRequiredValue","baseI18n","fieldRequired","spinnerButton","loading","raised","primary","button_default","global","cancel","onClick","errorCard","React","Component","propTypes","createContainer","connect","injectIntl","fragments","CarerPropTypes","createdAt","DateTimePropTypes","user","UserPropTypes","relationshipType","PatientPropTypes","address","AddressPropTypes","carers","demographic","DemographicPropTypes","healthInsurance","HealthInsurancePropTypes","GenericReportPropTypes","oneOf","values_default","ReportTypes","GenericDestinationPropTypes","reports","row","col","btn-group","_SplashScreen","_babel_runtime_corejs2_helpers_inherits__WEBPACK_IMPORTED_MODULE_3___default","_createSuper","_babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_1___default","_babel_runtime_corejs2_helpers_createClass__WEBPACK_IMPORTED_MODULE_2___default","react__WEBPACK_IMPORTED_MODULE_7___default","textAlign","react_toolbox_lib_progress_bar__WEBPACK_IMPORTED_MODULE_9___default","mode","message","splash","SET_FORM_PARAM","SET_FORM_PARAMS","SET_ALL_FORM_DATA","InputLabel","_ref2","isPristine","showRequiredLabel","errorMessage","horizontal","_getHelpParams","_ref","helpText","status","getHelpParams","dist","styles","validateStatus","help","marginBottom","inputs_InputLabel_InputLabel","cardActions","main-navigation","avatar-block","impersonation-block","portalSection","details","inputElement","appBar","leftIcon","UpdatePatientDemographicMutation","patientId","patient","isPartial","react_relay_classic__WEBPACK_IMPORTED_MODULE_7__","nav","column","UpdateAttachmentDescriptionMutation","attachmentId","description","react_relay_classic__WEBPACK_IMPORTED_MODULE_6__","archived","_archived","_babel_runtime_corejs2_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default","completed","_completed","eConsultFormName","_eConsultFormName","geriatrics","_geriatrics","headerTitle","_headerTitle","informationRequestStatusCanceled","_informationRequestSt","informationRequestStatusCompleted","_informationRequestSt2","informationRequestStatusPending","_informationRequestSt3","inProgress","_inProgress","newCaseTitle","_newCaseTitle","newPatientCaseDescription","_newPatientCaseDescri","noneFound","_noneFound","patientFormName","_patientFormName","priorityDue","_priorityDue","relevantClinicalDetails","_relevantClinicalDeta","searchLabel","_searchLabel","selfAssessmentFormName","_selfAssessmentFormNa","teleconsultFormName","_teleconsultFormName","thoracicSurgeryFormName","_thoracicSurgeryFormN","dynamicFormCaseFormName","_dynamicFormCaseFormN","waiting","_waiting","require","oldCreateContainer","container","prototype","form-container","inputs-row","item","half","communication-topic-details","inputs-container","checkbox-container","inline-files-container","questionnaire-item","questionnaire-text","contain-croppie","croppie-root","UpdateAttachmentBodyPartsMutation","bodyPartIds","title","_title","flip","_flip","defaultPanOptions","controlIconsEnabled","preventMouseEventsDefault","dblClickZoomEnabled","_BodyPartPicker","front","selectedParts","throttledDoResize","throttle","doResize","bind","leading","ids","currentBodyParts","nodes","nodeIds","bodyParts","querySelectorAll","toConsumableArray_default","reduce","b","panFront","createPanZoom","selector","svg","svgPanZoom","document","querySelector","setTimeout","updateBBox","resize","contain","center","destroy","panBack","removeEventListener","parts","p","index","self","indexOf","partNames","renderSvg","join","target","dataset","slice","forEach","findIndex","splice","desc","onBodyPartsChanged","getSelectedPartsIds","gender","clip","frontImg","frontImage","backImg","backImage","extraClassName","width","height","y","male","maleFrontImage","maleBackImage","female","femaleFrontImage","femaleBackImage","isFront","root","display","xmlns","viewBox","xmlSpace","clipPath","overflow","xlinkHref","data-value","data-desc","selected","InjectedBodyPartPicker","BodyPartPicker","BodyPartPickerDialog","_ref3","closeDialog","onBodyPartsUpdated","_useState","useState","_useState2","slicedToArray_default","setFront","_useState3","_useState4","selectedBodyParts","setSelectedBodyParts","bodyPartPickerRef","useRef","useEffect","onSubmitForm","_ref4","asyncToGenerator_default","regenerator_default","mark","_callee","wrap","_context","prev","next","promise_default","reject","fullParts","stop","_useFormsySubmit","useFormsySubmit","onSubmit","isSubmitting","formsyProps","actions","close","update","progress_bar_default","current","dialog_default","active","onEscKeyDown","onOverlayClick","theme","extends_default","ErrorsContainer","InjectedBodyPartPickerDialog","textarea_container","textarea","RequesterPropTypes","_Person__WEBPACK_IMPORTED_MODULE_1__","person","PersonPropTypes","errors-container","react__WEBPACK_IMPORTED_MODULE_1__","react__WEBPACK_IMPORTED_MODULE_1___default","_akinoxsolutions_gerudo_ui__WEBPACK_IMPORTED_MODULE_2__","_style_scss__WEBPACK_IMPORTED_MODULE_3__","_style_scss__WEBPACK_IMPORTED_MODULE_3___default","CaseStatusUpdate","button-print","has-icon","suggestions","signature","img","footer","more","themes","UserTypes","Full","ReferMd","buildPerson","licenseNumber","firstName","trim","lastName","birthday","serializeDate","Genders","OTHER","preferredLanguage","buildAddress","professionId","profession","clinicalDomainIds","clinicalDomains","isActive","isReferMD","userTypes","pictureUrl","buildPhysician","PersonProfileFields","physician","emails","onLanguageChange","relay","forceFetch","isPerson","__typename","edges","node","patients","onChange","v","datePickerInput","parseToCalendarDate","radioButtonListInput","inline","genderChoices","showLabel","paddingTop","permissions","canEditProfession","dropDownListInput","professionLabel","source","professionsDropdownSource","getProfessions","language","canEditLicenseNumber","autocompleteInput","specialties","selectedPosition","direction","suggestionMatch","keepFocusOnChange","addressFields","showTelephonePager","showTelephoneHome","showMessaging","emailRequired","telephoneWorkRequired","onEmailsChange","confirmationPageMessages","preferredCulture","isEnabled","features","featureKeys","PersonAvatars","personPictureUrlForm","email","extractEmail","renderTheme","includeActions","htmlType","saving","save","showTheme","appearanceTitle","themeLabel","settingsReducer","initialVariables","loadDomains","RQL_1","PersonPictureUrlForm","AddressFields","directives","CancelCaseMutation","destinationId","cancelTitle","_cancelTitle","deleteTitle","_deleteTitle","cancelDestinationTitle","_cancelDestinationTit","deleteDestinationTitle","_deleteDestinationTit","irreversibleAction","_irreversibleAction","caseDeleted","_caseDeleted","caseDestinationDeleted","_caseDestinationDelet","deletingCasePrompt","_deletingCasePrompt","deletingDestinationPrompt","_deletingDestinationP","deleteReason","_deleteReason","deleteReasonHint","_deleteReasonHint","caseCanceled","_caseCanceled","caseDestinationCanceled","_caseDestinationCance","cancelingCasePrompt","_cancelingCasePrompt","cancelingDestinationPrompt","_cancelingDestination","cancelReason","_cancelReason","cancelReasonHint","_cancelReasonHint","CancelCaseDialog","caseCancelDialog_createSuper","isDelete","isDraft","isDestination","Boolean","onCancelSuccess","onCancelError","_this$props2","c","cancelRequiresReason","destinationLabel","extraContext","requiresReason","disabled","abort","lookupId","handleCancelCase","hint","AssignTreatingPhysicianMutation","treatingPhysicianId","ChangeConversationConsultRequesterMutation","departmentId","requesterId","ContributeToConversationConsultMutation","contributionText","answersInformationRequest","fileIds","ContributeToConversationConsultReportMutation","contributorId","timeSpent","timeSpentOverrageReason","PdfReportHeader","ECONSULT_pdfReportHeader_createSuper","logo","hospitalPatient","padding","birthdayAndAge","includeAge","includeExpiration","multiline","includeCountry","ECONSULT_logo","position","top","left","flexDirection","RQL_2","Address","BirthdayAndAge","HealthInsurance","RatingInput","ratingInput_createSuper","labelMin","labelMax","ignoreRequiredSpan","otherProps","objectWithoutProperties_default","_excluded","newLabel","classNames","ThemedRatingInput","themr","q1o1","_q1o","q1o2","_q1o2","q1o3","_q1o3","q1o4","_q1o4","q2o1","_q2o","q2o2","_q2o2","q2o3","_q2o3","q2o4","_q2o4","q2o5","_q2o5","q2o6","_q2o6","q7o1","_q7o","q7o2","_q7o2","q7o3","_q7o3","q7o4","_q7o4","q7o5","_q7o5","EConsultSurvey","ECONSULT_survey_createSuper","avatar","avatar_default","index_es","defaultMessage","renderRequiredSpan","other","q1other","q1","marginTop","q2other","q2","ratingInput","likert","o1","o2","o3","o4","o5","q4","q7","comments","multilineRows","min","max","q5","ReopenConversationConsultMutation","text","SubmitConversationConsultMutation","clinicalDomainId","preferredDestinationDepartmentId","requestInformation","SubmitConversationConsultReportMutation","reporterId","reportText","isReferralRecommended","isMoreInformationRequired","purposes","RequestSubmit","RequestReport","RequestContribute","RequestFinalize","ECONSULT_form_title","requesterLabel","_requesterLabel","history","_history","_patient","emptyHistory","_emptyHistory","reopenRequest","_reopenRequest","dataSaved","_dataSaved","requestSubmitSuccess","_requestSubmitSuccess","dataSavedReport","_dataSavedReport","reportSubmitSuccess","_reportSubmitSuccess","reportContributionSuccess","_reportContributionSu","reportSubmitSuccessMoreInformationRequired","_reportSubmitSuccessM","reopenSuccess","_reopenSuccess","closeSuccess","_closeSuccess","contributeSuccess","_contributeSuccess","destinationDepartment","_destinationDepartmen","draftSavedOn","_draftSavedOn","filesNotReady","_filesNotReady","saveDataButtonLabel","_saveDataButtonLabel","sendReportButtonLabel","_sendReportButtonLabe","sendRequestButtonLabel","_sendRequestButtonLab","addInformation","_addInformation","forceCloseWarning","_forceCloseWarning","forceClose","_forceClose","forceCloseCancel","_forceCloseCancel","referral","_referral","EConsultForm","ECONSULT_form_createSuper","_objectSpread","mutatingPatient","editingPatient","mutatingRequester","editingRequester","fetchingRequester","showTimeSpentOverrage","mutatingSave","mutatingSubmit","filesToUpload","filesUploading","archiveConfirm","redispatching","checkProps","variables","entityId","setVariables","readyState","done","setTitle","canDispatch","showHidePatientCases","timeoutId","exiting","saveData","clearTimeout","preventAutoSave","canSave","newProps","items","savedItems","finalizeSavedItem","requestFinalizeSavedItem","hasData","finalizeData","JSON","parse","submitReportSavedItem","reportData","requestSubmitSavedItem","requestData","requestContributeSavedItem","contributeData","canClose","canContributeMoreInformation","canContribute","savedOn","isClientFeatureEnabled","clientFeatureKeys","V4Preview","referralData","localStorage","getItem","referralHistoryItems","caseData","eConsultFormStyle","ECONSULT_pdfReportHeader","ECONSULT_dispatch","onDispatch","router","renderRequesterSection","renderPatientSection","renderPatientCases","renderDestination","renderHistory","submitConversation","beginAutoSave","renderCurrentForm","renderRedispatch","renderRequestRedispatch","renderButtons","canReport","canReopen","canSubmit","isCompleted","contributeAfterClose","canContributeToReport","encodeURIComponent","jwt","getToken","fileName","normalizeFileName","fullName","uri","AppSettings","PdfRootUrl","downloading","downloadStarted","downloadFile","saveFile","downloadFailed","_this5","isRedispatching","redispatch","dispatchSubmitExternal","canRedispatch","onDispatching","onDispatchError","submitFunc","_this6","requestingRedispatch","isRequestingRedispatch","requestRedispatchMessages","requestRedispatchSubmitExternal","canRequestRedispatch","ECONSULT_request_redispatch","_this7","v4preview","disableButtons","printButton","print","submitLabel","redispatchButton","requestRedispatchButton","cancelButton","canCancel","isDraftStatus","cancelConfirm","forceCloseButton","lib_button","referButton","href","location","pathname","filesReady","margin","formattedRelative","parseToDate","renderArchiveConfirmDialog","renderCancelConfirmDialog","canArchiveRequest","canArchiveReport","archive","archiving","URLs","rootFormat","_this8","caseArchiveDialog","onArchiveSuccess","_this9","caseCancelDialog","isSubmitted","cardListStyle","formRequestMessages","clinicalDomain","colon","toDepartment","preferredDestinationDepartment","reporter","formReportMessages","PersonInformation","asLink","renderReport","renderRequestContinuation","renderSurvey","_this10","autoSave","formData","getModel","destinationUrl","saveMessage","purpose","permission","stringify_default","report","request","requestText","survey","reopenText","SaveUserItemMutation","onFailureHandler","_this11","ResetUserItemMutation","_this12","resetUserItem","mutation","CloseConversationConsultMutation","surveyData","pursuingReferral","notPursuingReferralReason","_this13","_this14","p1","requester","p2","params2","treatingPhysician","_this15","_v$case","requesterForm","updateRequester","requesterCardTitle","ECONSULT_requesterEdit","patientPhysician","canEditRequester","float","floating","mini","beginEditRequester","department","requestedBy","familyPhysician","_this16","NamePlaceholder","buildDemographic","UpdatePatientHealthInsuranceMutation","buildHealthInsurance","_this17","_this18","patientForm","updatePatient","patientCardTitle","basicPatientForm","patientSummaryCard","showGenderLetter","showPatientLabel","deselectPatient","canEditPatient","deselectPatientIcon","customContent","EConsultPreviousCases","preventDefault","font_icon_default","fontSize","loadingPatientCases","showCases","patientCasesMessages","hideCases","patientInformation","onDialogClose","_this19","patientCases","allowCreate","RequestCreate","allowCreateGeneric","RequestCreateGeneric","allowCreateEConsult","RequestEConsultCreate","_h","_this20","_this$props$viewer","h","showPersonAvatar","sort","date","react_toolbox_patch_list","historyItem","viewerUrl","links","dicomManifest","patientGender","isContinuation","_this21","ECONSULT_form_report","showCompletedWarning","onFilesChanged","files","mutateState","onFilesUploading","_this22","ECONSULT_form_request","_this23","savedData","ECONSULT_survey","YesNoOptions","extraData","renderReferralQuestion","_this24","withRouter","caseLegacyId","hasEntityId","prepareVariables","prevVariables","RQL_3","RQL_4","RQL_5","RQL_6","RQL_7","RQL_8","RQL_9","RQL_10","RQL_11","RQL_12","RQL_13","RQL_14","RQL_15","RQL_16","RQL_17","RQL_18","RQL_19","RQL_20","RQL_21","RQL_22","RQL_23","RQL_24","RQL_25","RQL_26","RQL_27","RQL_28","RQL_29","RQL_30","RQL_31","RQL_32","alias","EConsultRequesterEdit","BasicPatientForm","EConsultDispatch","EConsultFormRequest","EConsultFormReport","HistoryItem","CaseArchiveDialog","CaseCancelDialog","PatientInformation","PhysicianInput","PatientSummaryCard","PatientCases","isEmpty","obj","Object","includes","constructor","entries_default","functions_isEmpty","LoginPage","qs","queryString","setToken","replace","returnUrl","actuallyLoggedIn","token","sign","sub","aspNetUserId","userName","username","secret","expiresIn","setItem","hash","split","react__WEBPACK_IMPORTED_MODULE_8___default","formsy_react__WEBPACK_IMPORTED_MODULE_6___default","login","react_toolbox_lib_card__WEBPACK_IMPORTED_MODULE_10__","_shared_inputs_textInput__WEBPACK_IMPORTED_MODULE_16__","autoFocus","AuthSecret","react_toolbox_lib_button__WEBPACK_IMPORTED_MODULE_9__","rating-label","rating-radio-buttons","escape","predefinedMasks","northAmericanTelephone","mask","ramq","socialInsuranceNumber","postalCode","TextInput","_babel_runtime_corejs2_helpers_inherits__WEBPACK_IMPORTED_MODULE_13___default","_babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_10___default","throttledChange","_babel_runtime_corejs2_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_12___default","throttleTimeout","resized","throttledUpdateResized","_babel_runtime_corejs2_helpers_createClass__WEBPACK_IMPORTED_MODULE_11___default","_arguments","input","refs","wrappedInstance","instance","handleAutoresize","MutationObserver","resizeObserver","observe","attributes","attributeFilter","disconnect","newPropValue","currentInput","maskedInput","activeElement","immediate","lastValue","setValue","event","eventType","hasHint","showError","shouldShowError","_babel_runtime_corejs2_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_9___default","topClassNames","isRequired","onKeyPress","charCode","handleChange","handleMaskInputChange","onBlur","focused","onFocus","actualRows","_babel_runtime_corejs2_helpers_typeof__WEBPACK_IMPORTED_MODULE_8___default","nbLines","getComputedStyle","currentStyle","taLineHeight","_babel_runtime_corejs2_core_js_parse_float__WEBPACK_IMPORTED_MODULE_16___default","lineHeight","taHeight","scrollHeight","Math","floor","calculateHeight","react__WEBPACK_IMPORTED_MODULE_21___default","react__WEBPACK_IMPORTED_MODULE_21__","_akinoxsolutions_gerudo_ui__WEBPACK_IMPORTED_MODULE_25__","_custom_maskedInputWrapper__WEBPACK_IMPORTED_MODULE_26__","_babel_runtime_corejs2_helpers_extends__WEBPACK_IMPORTED_MODULE_7___default","react_toolbox_lib_input__WEBPACK_IMPORTED_MODULE_24___default","rows","paddingLeft","paddingBottom","renderRightIcon","rightIcon","alwaysShowClear","showClear","_this$state","actuallyShowClear","right","react_toolbox_lib_font_icon__WEBPACK_IMPORTED_MODULE_23___default","onMouseDown","focus","cursor","ThemedTextInput","textInputStyle","withFormsy","DOCUMENT_TYPES_FORM_IDS","PATIENT_MESSAGE","THORSURG","EmptyNode","downloadStaticData","_babel_runtime_corejs2_core_js_parse_int__WEBPACK_IMPORTED_MODULE_0___default","fetch","ApiRootUrl","method","body","_babel_runtime_corejs2_core_js_json_stringify__WEBPACK_IMPORTED_MODULE_1___default","query","headers","Content-Type","Accept","Authorization","json","countries","professions","relationshipTypes","documentTypes","inputAddressMetadata","inputHealthInsuranceMetadata","inputDemographicMetadata","inputRamqMetadata","inputDepartmentMetadata","err","warn","getTranslation","translation","lang","substr","fr","en","getCountries","cca2","provinces","getCountry","prefix","prefixes","suffix","suffixes","RELATIONSHIP_TYPES","unspecified","getRelationshipTypes","result","localeCompare","getBodyParts","getDocumentTypesForForm","formCode","getInputMetadata","questionnaire-link","responsive-attachments","autocomplete","suggestion","./en-ca","./fr-ca","webpackContext","req","webpackContextResolve","Error","keys","PatientExternalSourceWarning","_babel_runtime_corejs2_helpers_inherits__WEBPACK_IMPORTED_MODULE_5___default","_babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_3___default","showCard","_babel_runtime_corejs2_helpers_createClass__WEBPACK_IMPORTED_MODULE_4___default","hospital","others","_babel_runtime_corejs2_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default","isForHospital","hasExternalSource","react__WEBPACK_IMPORTED_MODULE_9___default","react_toolbox_lib_card__WEBPACK_IMPORTED_MODULE_12__","_babel_runtime_corejs2_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default","collapsibleCardStyle","react_toolbox_lib_font_icon__WEBPACK_IMPORTED_MODULE_13___default","color","i18n","hasExternalSourceTitleHospital","hasExternalSourceTitle","hasExternalSourceErrorHospital","hasExternalSourceError","react_relay_classic__WEBPACK_IMPORTED_MODULE_11__","react_redux__WEBPACK_IMPORTED_MODULE_2__","_hooks_Prints__WEBPACK_IMPORTED_MODULE_3__","_public_assets_images_RUISSSMcGill_en_svg__WEBPACK_IMPORTED_MODULE_4__","_public_assets_images_RUISSSMcGill_en_svg__WEBPACK_IMPORTED_MODULE_4___default","_public_assets_images_RUISSSMcGill_fr_svg__WEBPACK_IMPORTED_MODULE_5__","_public_assets_images_RUISSSMcGill_fr_svg__WEBPACK_IMPORTED_MODULE_5___default","LocalizedRUISSSMcGillLogo","_ref$showLogo","showLogo","URLSearchParams","search","currentLanguage","has","PRINT_QUERY_PARAMS_KEYS","get","src","logoFR","logoEN","visibility","important","Input","FontIcon","_babel_runtime_corejs2_helpers_inherits__WEBPACK_IMPORTED_MODULE_11___default","_babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_8___default","_babel_runtime_corejs2_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_14___default","_babel_runtime_corejs2_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_10___default","_babel_runtime_corejs2_helpers_createClass__WEBPACK_IMPORTED_MODULE_9___default","blur","_classnames2","labelText","maxLength","_babel_runtime_corejs2_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_7___default","labelClassName","fixed","errored","hidden","withIcon","valuePresent","_babel_runtime_corejs2_core_js_number_is_nan__WEBPACK_IMPORTED_MODULE_15___default","InputElement","MaskedInput","filled","handleFocus","handleBlur","inputRef","role","react__WEBPACK_IMPORTED_MODULE_18___default","data-react-toolbox","bar","counter","factory","InjectedFontIcon","INPUT","withRef","casesList","_casesList","_babel_runtime_corejs2_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_8___default","patientPreviousCasesList","_patientPreviousCases","_showCases","_hideCases","onCreateClicked","asPlain","withoutContext","react__WEBPACK_IMPORTED_MODULE_10___default","renderCases","_akinoxsolutions_gerudo_ui__WEBPACK_IMPORTED_MODULE_13__","react_toolbox_lib_progress_bar__WEBPACK_IMPORTED_MODULE_15___default","justifyContent","size","newCaseFormat","navigationMessages","newCase","newEConsultCaseFormat","newEConsultRequest","closeModal","hasCases","cases","_shared_MediaQuery_MobileMediaQuery__WEBPACK_IMPORTED_MODULE_16__","matches","react_toolbox_lib_list__WEBPACK_IMPORTED_MODULE_14__","mobileListTheme","caption","onClickCase","viewCaseFormat","_cases_caseLabels__WEBPACK_IMPORTED_MODULE_20__","formType","subFormType","legend","_shared_formattedDateTime__WEBPACK_IMPORTED_MODULE_22__","updatedAt","lastUpdatedAt","colSpan","deptFragment","react_relay_classic__WEBPACK_IMPORTED_MODULE_12__","continueRequest","_continueRequest","_babel_runtime_corejs2_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_6___default","requestMoreInformationDescriptionText","_requestMoreInformati","requestMoreInformationDescriptionTextHelp","_requestMoreInformati2","requestReopenDescriptionText","_requestReopenDescrip","requestReopenDescriptionTextHelp","_requestReopenDescrip2","requestDescriptionText","_requestDescriptionTe","requestDescriptionTextHelp","_requestDescriptionTe2","requestContinuationDescriptionTextHelp","_requestContinuationD","requestDescriptionTextHint","_requestDescriptionTe3","_preferredDestination","preferredDestinationDepartmentHint","_preferredDestination2","_request","_clinicalDomain","attachmentHelp","_attachmentHelp","requestCompletedRequestContributionWarning","_requestCompletedRequ","domains","currentDomain","selectedDomain","hospitals","departmentDropdownSource","savedItem","contributeSavedItem","finalizeSavedData","parsedData","requestTextHelp","requestTextLabel","react_toolbox_lib_avatar__WEBPACK_IMPORTED_MODULE_11___default","_shared_inputs_dropDownListInput__WEBPACK_IMPORTED_MODULE_19__","pref","optgroup","_shared_helpText__WEBPACK_IMPORTED_MODULE_17__","url","_shared_inputs_textInput__WEBPACK_IMPORTED_MODULE_20__","_shared_htmlElement__WEBPACK_IMPORTED_MODULE_18__","html","elementName","_attachments_attachmentUploadAndList__WEBPACK_IMPORTED_MODULE_15__","showUploadedViewerUrl","DicomViewer","bodyPartsEnabled","BodyPartsPicker","react_relay_classic__WEBPACK_IMPORTED_MODULE_10__","departmentDropdownFragment","FilePropTypes","_PropTypes_User__WEBPACK_IMPORTED_MODULE_1__","previewUrl","object","number","row-spacing","columns","delete","action-bar","templateValue","display-value","template-value","priority-display-container","priority-header-container","priority-name","priority-delay","priority-description","_report","reportContinuation","_reportContinuation","reportDescriptionText","_reportDescriptionTex","reportContinuationDescriptionText","_reportContinuationDe","reportDescriptionTextHelp","_reportDescriptionTex2","reportContinuationDescriptionTextHelp","_reportContinuationDe2","reportDescriptionTextInformationRequired","_reportDescriptionTex3","reportDescriptionTextInformationRequiredHelp","_reportDescriptionTex4","reportDescriptionTextReferralRecommended","_reportDescriptionTex5","reportDescriptionTextReferralRecommendedHelp","_reportDescriptionTex6","_timeSpent","_timeSpentOverrageRea","timeSpentOverrageReasonHelp","_timeSpentOverrageRea2","referralRecommended","_referralRecommended","_pursuingReferral","_notPursuingReferralR","_isMoreInformationReq","_reporter","administrative","_administrative","reportAttachmentHelp","_reportAttachmentHelp","timeSpentHelp","_timeSpentHelp","timeSpentMoreThan20","_timeSpentMoreThan","reportCompleteContributionWarning","_reportCompleteContri","specialists","currentUserId","reportTextLabel","reportTextHelp","_shared_inputs_dropDownListInput__WEBPACK_IMPORTED_MODULE_17__","_shared_inputs_radioButtonListInput__WEBPACK_IMPORTED_MODULE_18__","importantLabel","_shared_helpText__WEBPACK_IMPORTED_MODULE_16__","_shared_inputs_textInput__WEBPACK_IMPORTED_MODULE_19__","elementIsAbove","RevokePatientDepartmentInvitationMutation","PatientDepartments","patientDepartments_createSuper","revokingInvitation","allowInvite","onInviteClicked","onRevokeSuccess","onRevokeError","invitationsI18n","MobileMediaQuery","invitedByShort","inviter","invitedOnShort","formattedDateTime","invitedOn","rightActions","stopPropagation","revokeInvitation","invitedBy","invite","patientDepartment","HospitalDropdown","patientHospitals","patientHospitalsEdges","allHospitals","map_default","edge","values","getHospitalUniqueOptions","inputs","hospitalQuery","LinkPatientMutation","hospitalId","uniqueId","linkPatientMutation","resp","AddPatientHospitalForm","patientMrn","_x","xs","sm","PatientHospitals_HospitalDropdown_HospitalDropdown","common","mrn","AddPatientHospital","_useFading","useFading","isFading","isAddingPatientMrn","isContentToggled","toggleAddPatientForm","toggleContentAndFading","FadingContent","AddPatientHospitalForms_AddPatientHospitalForm","MobilePatientEditMRNAction","canEdit","featureFlag","iconOnly","MobilePatientHospitals","onEditHospital","canEditHospitals","PatientUniqueIdEdit","MobilePatientHospitals_MobilePatientEditMRNAction_MobilePatientEditMRNAction","onEdit","editUniqueId","_editUniqueId","PatientHospitals","patientHospitals_createSuper","editingUniqueId","mutatingUniqueId","patientHospitals_excluded","canCreatePatientMrn","CanCreatePatientMRN","listLabel","PatientHospitals_MobilePatientHospitals_MobilePatientHospitals","PatientHospitals_AddPatientHospital_AddPatientHospital","renderUniqueIdDialog","hospitalNode","isReactToolbox","destroyOnClose","closable","visible","hospitalName","updateUniqueId","validations","characters","updateCarerInformation","_updateCarerInformati","usernameWarning","_usernameWarning","CarerEditDialog","carerEditDialog_createSuper","mutatingCarer","onEditCancel","carer","updateCarer","userMessages","personProfileFields","personId","UpdatePersonMutation","onEditSuccess","s","onEditError","UpdatePatientCarerRelationshipTypeMutation","userId","relationshipTypeId","updateCarerRelationshipType","_updateCarerRelations","CarerRelationshipTypeEditDialog","carerRelationshipTypeEditDialog_createSuper","invitationInformation","patientNotConfirmed","_patientNotConfirmed","carerNotConfirmed","_carerNotConfirmed","patientAccountSettings","_patientAccountSettin","carerAccountSettings","_carerAccountSettings","portalAccounts","_portalAccounts","_self","PatientUser","patientUser_createSuper","resendingInvite","editingCarer","editingCarerInformation","renderUser","renderEditCarer","renderEditCarerInformation","renderTableLayout","u","isPatient","allowResend","onResendSuccess","onResendError","patientUser_excluded","getRelationshipType","canEditCarer","canEditCarerRelationshipType","acceptedOn","isConfirmed","chip_default","warningChipTheme","invitationMessages","resendInvitation","resendUserInvitationDialog","us","onClose","renderTableUser","accountMessages","_this$props3","carerRelationshipTypeEditDialog","carerEditDialog","ResendUserInvitationDialog","formatHealthInsuranceNumber","expiration","provinceCode","since","healthInsuranceNumber","provinceCodeLabel","AddressDisplay","telephoneHome","formatPhoneNumber","countryCode","telephoneCellular","telephoneWork","telephonePager","middleName","fatherFirstName","fatherLastName","motherFirstName","motherLastName","motherMaidenName","Sparkline","sparkline_createSuper","sets","labels","results","datasets","backgroundColor","mapResultsToColors","es","tooltips","enabled","scales","yAxes","xAxes","PatientName","clicked","hideStatistics","_ref$patient","deathInformation","statistics","nameClass","textOnly","genderAvatar","isDeceased","common_chip","deceaseInformation","deceased","evolution","sparkline","PatientInformation_createSuper","creatingCase","invitingPatient","loadingPopup","resendErrors","showDialog","showPopup","nextProps","checkActiveId","activeId","scrollToElementHelper","section","savingPatient","savePatient","sendingInvitation","sendInvite","react_patch","wrapClassName","renderCard","PatientInformation_PatientName","meta","alignItems","spinnerPlaceholder","renderLoaded","editPatient","showCancel","showTitle","onSave","onSaveError","invitePatientToDepartmentDialog","onInviteError","onInviteSent","renderInformation","PatientStatistics","edit","fieldsetHealthInsuranceLabel","HealthInsuranceDisplay","fieldsetLabel","PatientInformation_AddressDisplay","DemographicDisplay","renderOptionalValues","invitationsEnabled","PatientInvitations","PatientHospitals_patientHospitals","patientDepartments","patientUser","patientInvitationResent","DefaultPatientInformation","EditPatient","InvitePatientToDepartmentDialog","layout","nav-drawer","version-display","top-layout","menuless","notification-drawer","close-drawer","user-content","dispatchTitle","_dispatchTitle","redispatchTitle","_redispatchTitle","dispatchTitleCaseId","_dispatchTitleCaseId","redispatchTitleCaseId","_redispatchTitleCaseI","dispatchTo","_dispatchTo","_dispatch","_redispatch","_redispatchReason","redispatchReasonHint","_redispatchReasonHint","dispatchReason","_dispatchReason","dispatchSuccess","_dispatchSuccess","dispatchPreferredDestinationLabel","_dispatchPreferredDes","dispatchToClinicalDomain","_dispatchToClinicalDo","FormDispatch","toClinicalDomainId","requirePriority","priorityId","mutationFactory","priority","elements","priorities","valueFix","asDispatcher","dispatchableDepartments","currentDepartment","CardElement","Card","CardTitleElement","cardTitle","CardTitle","CardTextElement","cardText","CardText","CardActionsElement","CardActions","dispatchRequest","ECONSULT_historyItem","printAbsolute","spinnerIcon","htmlElement","specialty","customDisplay","PriorityIcon","eConsultOnly","formId","HistoryItemText","DispatchConversationConsultMutation","ECONSULT_dispatch_createSuper","formDispatch","no-print","responsive-table","GenderAvatar","maleIcon","femaleIcon","otherIcon","classes","avatarStyle","react_toolbox_lib_avatar__WEBPACK_IMPORTED_MODULE_10___default","image","getImage","snackbar","in-dialog","button","useIsFormValid","initialIsValid","isValid","setIsValid","setFormIsValid","setFormIsInvalid","onInvalid","onValid","defaultIsFormValid","_useIsFormValid","setIsSubmitting","setErrors","formRef","handleIsSubmitting","response","sent","t0","useToggle","initialToggle","isToggled","setIsToggled","_ref$isContentToggled","isContentToggledDefault","_useToggle","_useToggle2","toggleContent","toggleFading","useSignalrRelayForceFetch","subscriberName","subscribeToUpdates","evt","payload","unsubscribeFromUpdates","xlsxPopulateModule","getXlsxPopulate","catch","oe","MODEL_TYPES","array","useUploadXlsxFilesToDataModel","initialFiles","initialData","models","sheetName","templateFileUrl","templateName","addReferenceDataFunction","setFiles","uploading","setUploading","_useState5","_useState6","downloadingTemplate","setDownloadingTemplate","_useState7","_useState8","setData","_useState9","_useState10","getString","String","toString","handleModelValue","model","indexOfValue","excelSerialDate","test","serial","utcDays","dateInfo","fractionalDay","totalSeconds","seconds","newTotalSeconds","hours","minutes","getFullYear","getMonth","getDate","excelDateToJSDate","handleModel","workbook","filterData","sheet","usedRange","acc","currentModel","downloadTemplate","xlsx","file","fromDataAsync","getTemplate","outputAsync","blob","fileToDownload","isBinary","uploadFiles","newFiles","useRelayLoading","isLoadingDefault","isLoading","setIsLoading","inError","setInError","isAborted","setIsAborted","loadRelayVariables","onLoadData","aborted","useOptionsValuesEqualsEffectMemoize","signalRef","otherOptions","intersectionBy","optionsValueEqual","useOptionsValuesEqualsEffect","callBack","useClickOutside","handler","listener","element","contains","useDraft","draftSaveName","getCurrentData","onError","_ref$autoSaveDraftDeb","autoSaveDraftDebounce","isSaving","setIsSaving","handleSaveDraft","shouldMergeData","isTimedSave","_args","endAutoSave","saveUserItem","_ref5","_callee4","_context4","_callee2","_context2","abrupt","_callee3","_context3","_x2","_ref9","_callee5","_ref8","_context5","helperResetUserItem","_x3","useSubmitMutation","useFormsySubmit_useFormsySubmit","useToggle_useToggle","useFading_useFading","useSignalrRelayForceFetch_useSignalrRelayForceFetch","useUploadXlsxFilesToDataModel_useUploadXlsxFilesToDataModel","useRelayLoading_useRelayLoading","Prints","useOptionsValuesEqualsEffect_useOptionsValuesEqualsEffect","urls","useClickOutside_useClickOutside","useDraft_useDraft","useIsFormValid_useIsFormValid","useSubmitMutation_useSubmitMutation","similarPatientsHeader","_similarPatientsHeade","similarPatientsHeaderRequired","_similarPatientsHeade2","similarPatientDuplicate","_similarPatientDuplic","birthdayAbbreviation","_birthdayAbbreviation","addLabel","_addLabel","hospitalUniqueId","_hospitalUniqueId","_hasExternalSourceTit","_hasExternalSourceTit2","_hasExternalSourceErr","_hasExternalSourceErr2","patientDiscovered","_patientDiscovered","patientNotAdmissible","_patientNotAdmissible","patientNotDiscovered","_patientNotDiscovered","_babel_runtime_corejs2_core_js_array_is_array__WEBPACK_IMPORTED_MODULE_0___default","react__WEBPACK_IMPORTED_MODULE_2___default","_errorCard__WEBPACK_IMPORTED_MODULE_3__","error-card","button-group","animate-error","error-animation","strength-0","strength-1","direct","strength-2","strength-3","strength-4","password","tips","checkbox","error-text","preview-table","phone","row-error","row-warning","invalid","results-table","notes","fade-in","fade-in-hide","themed-card-title","subtitle","notes-container","record-signature","passwordStrength","generatePassword","_language__WEBPACK_IMPORTED_MODULE_0__","zxcvbn","loaded","frWarnings","Straight rows of keys are easy to guess","Short keyboard patterns are easy to guess","Repeats like 'aaa' are easy to guess","Repeats like 'abcabcabc' are only slightly harder to guess than 'abc'","Sequences like abc or 6543 are easy to guess","Recent years are easy to guess","Dates are often easy to guess","This is a top-10 common password","This is a top-100 common password","This is a very common password","This is similar to a commonly used password","A word by itself is easy to guess","Names and surnames by themselves are easy to guess","Common names and surnames are easy to guess","Capitalization doesn't help very much","All-uppercase is almost as easy to guess as all-lowercase","Reversed words aren't much harder to guess","Predictable substitutions like '@' instead of 'a' don't help very much","frSuggestions","Use a few words, avoid common phrases","No need for symbols, digits, or uppercase letters","Add another word or two. Uncommon words are better.","Use a longer keyboard pattern with more turns","Avoid repeated words and characters","Avoid sequences","Avoid recent years","Avoid years that are associated with you","Avoid dates and years that are associated with you","getLanguage","substring","strength","feedback","warning","translateFr","score","fromCharCode","getRandomByte","validPasswordCharacterPattern","crypto","getRandomValues","Uint8Array","msCrypto","random","person-information","patient-information","header","link-name","link-full-name","info-list","info-span","info-table","person-information-info-table","sub-info","action-button","mobile-list-buttons","small-button","wide-buttons","presence-indicator","offline","online","away","busy","invitation-list","decease-info","personal-info-name","name-and-death","SplashScreenLoader","Skeleton","SkeletonLoader","Loading_Skeleton_Skeleton","Loading_SplashScreenLoader_SplashScreenLoader","Skeleton_SkeletonLoader","labeled-input-hint","dropdown","with-icon","SitesTable","departmentsByHospitals","groupDepartmentsByHospitals","sites","VideoDialogModule","fakePresence","presences","videoDialogLoaded","asDialog","renderLanguages","PersonInformation_SitesTable_SitesTable","physicianName","shortName","charAt","renderPresence","withLabel","presence","includeHomePhone","showVideo","rel","getLanguageKey","roles","personAvatar","minHeight","lib_default","show","noDialog","_this$props4","userLanguages","languages","languageProficiencyLevel","PersonAvatar","shared_PersonInformation_PersonInformation","customSliderRoot","RequestEConsult","PatientList","PatientCreate","UserImport","PersonCreate","UserList","Statistics","WebRTC","VideoconferenceMeeting","PatientMessageSendToEmr","RespEvaSendToEmr","UserCalendar","CanSortCaseList","HospitalDirectory","GenericConsult","SideMenu","ThorSurg","HandWrittenSignature","NotificationApi","feature","FcgaVerticalMode","ActivityStream","CaseGrid","EConsultCreationPage","SignalR","BasicPersonProfile","CasesConfirmPatientAssessmentSubmit","ConsentLabels","hasOwnProperty","overwrittenFeatures","val","process","overwriteInitialState","initialState","overwrittenState","tableView","PhysicianRow","allowNull","selectUrl","onSelect","selectLabel","onEditClick","highlightResults","ageText","age","moreActions","menu","highlightedText","city","select","selectPhysician","getProfileUrl","renderActions","AddPhysicianMutation","physicianId","PhysicianSearch","searching","loadingMore","inputLabel","lib_input_default","setQuery","renderResults","physicians","hasNextPage","pageInfo","moreLabel","physicianRow","flat","loadMore","first","UpdatePhysicianMutation","PhysicianInputActions","allowClear","onClear","onDown","addPhysician","_addPhysician","editPhysician","_editPhysician","_selectPhysician","currentlySelected","_currentlySelected","physicianInput_createSuper","commonInputProps","isFormSubmitted","inputStyle","addonAfter","physicians_PhysicianInputActions_PhysicianInputActions","renderDialog","editingPhysician","physicianForm","dataTestId","renderEditForm","renderAddForm","allowCreation","physicianSearch","isEditing","updatePhysician","handleSave","alert","alert-warning","alert-info","dates-input-container","no-provider-message","consent-by-container","toggle","start-filling-form-button","send-oasis-alert","send-oasis-alert-content","send-oasis-alert-text","HospitalPatientPropTypes","externalIdentifier","HospitalPropTypes","bool","similarPatients","canQuickCreatePatient","build","parentData","checkPatientInformation","pi","foundPatient","hasChanged","isFound","isAdmissible","patientI18n","_HealthInsuranceFieldset","onPatientDiscovered","autoFocusNumber","overrideRequired","_akinoxsolutions_gerudo_ui__WEBPACK_IMPORTED_MODULE_11__","_healthInsuranceFields__WEBPACK_IMPORTED_MODULE_13__","onNumberFilled","patientIdentifier","hasPatientIdentifier","onProvinceChanged","HealthInsuranceFields","sticky-footer","updateUser","userPassword","inviteUser","invitationText","networkIds","_header__WEBPACK_IMPORTED_MODULE_1__","_formattedDate__WEBPACK_IMPORTED_MODULE_3__","_formattedDateTime__WEBPACK_IMPORTED_MODULE_4__","title-icon-container","chip","NotificationMethodPropTypes","EMAIL","SMS","ParticipantPropTypes","notificationMethod","participant","PatientConversationPropTypes","DepartmentPropTypes","allowPatientToRespond","createdOn","updatedOn","completedOn","completedBy","participants","MessagePropTypes","requestClassificationId","ramqCodes","communicationTopicId","communicationTopicDetails","completionReason","react_intl__WEBPACK_IMPORTED_MODULE_2__","react_relay_classic__WEBPACK_IMPORTED_MODULE_3__","_helpers_strings__WEBPACK_IMPORTED_MODULE_4__","table","with-actions","with-header","getSimilarPatientStatus","parameters","isUniqueId","isHealthInsuranceNumber","isDemographic","sp","toUpperCase","_SimilarPatients","canShow","react_toolbox_lib_list__WEBPACK_IMPORTED_MODULE_10__","patientTranslations","count","_shared_genderAvatar__WEBPACK_IMPORTED_MODULE_14__","_shared_formattedDate__WEBPACK_IMPORTED_MODULE_13__","react_toolbox_lib_button__WEBPACK_IMPORTED_MODULE_9___default","onSimilarPatientSelected","option","optionTags","getOptionTag","valueOptions","getOptgroupTags","getOptionTags","groups","group","is_nan_default","getOptions","_DropDownListInput","dropDownListInput_createSuper","prevProps","isEqual","renderCustom","nativeDropDownList","_classnames4","hideIcon","extraProps","allowBlank","shift","renderIcon","dropdown_default","template","ThemedDropDownListInput","HandWrittenFormHeader","Point","time","now_default","start","sqrt","pow","distanceTo","Bezier","startPoint","control2","control1","endPoint","startWidth","endWidth","px","py","cx","point","cy","xdiff","ydiff","c1","c2","end","points","widths","calculateControlPoints","c3","s1","s2","s3","dx1","dy1","dx2","dy2","m1","m2","l1","l2","cm","tx","ty","SignaturePad","canvas","which","_mouseButtonDown","_strokeBegin","_strokeMoveUpdate","_strokeEnd","targetTouches","touch","changedTouches","velocityFilterWeight","minWidth","maxWidth","minDistance","dotSize","penColor","onBegin","onEnd","_strokeUpdate","_ctx","getContext","clear","on","ctx","fillStyle","clearRect","fillRect","_data","_reset","_isEmpty","dataUrl","callback","Image","ratio","devicePixelRatio","xOffset","yOffset","onload","drawImage","onerror","crossOrigin","encoderOptions","svgPixelRatio","_toSVG","toDataURL","touchAction","msTouchAction","PointerEvent","_handlePointerEvents","_handleMouseEvents","_handleTouchEvents","_handleMouseDown","_handleMouseMove","_handleMouseUp","_handleTouchStart","_handleTouchMove","_handleTouchEnd","pointGroups","_fromData","curve","_drawCurve","_drawDot","newPointGroup","clientX","clientY","_createPoint","lastPointGroup","lastPoints","lastPoint","isLastPointTooClose","_addPoint","_lastPoints","_lastVelocity","_lastWidth","rect","getBoundingClientRect","unshift","_calculateCurveWidths","fromPoints","velocity","velocityFrom","newWidth","_strokeWidth","moveTo","arc","PI","widthDelta","drawSteps","ceil","beginPath","tt","ttt","uu","uuu","_drawCurveSegment","closePath","fill","drawCurve","drawDot","_step","_iterator","_createForOfIteratorHelper","j","basicPoint","pixelRatio","maxX","maxY","createElementNS","setAttribute","path","isNaN","attr","toFixed","appendChild","_ref6","circle","innerHTML","dummy","childNodes","cloneNode","btoa","SignatureCanvas","canvasProps","clearOnResize","_canvas","copy","trimCanvas","_sigPad","_resizeCanvas","offsetWidth","offsetHeight","scale","_checkClearOnResize","off","dataURL","fromDataURL","fromData","toData","_excludeOurProps","assign_default","ImageMimeType","imageUrl","base64","mimetype","SignatureInput","canvasStyle","svpPixelRatio","setSignature","canvasRef","containerRef","stateCanvasStyle","setStateCanvasStyle","newCanvasStyle","clientWidth","resizeCanvas","getCanvas","context","handleClear","CancelCircle","ReactSignatureCanvas_SignatureCanvas","splitImageUrl","formatDataFromImageUrl","Signature","signatureClassName","alt","HandWrittenSignatureForm","signatureInput","renderChildren","success","HandWrittenSignatureDialog","referenceId","legalSignatoryType","signerFullName","_useAddHandWrittenSig","useAddHandWrittenSignature","handleOnCancel","handleOnSave","Modal","Button","Signatures_HandWrittenSignatureForm","mapDispatchToProps","LegalSignatoryTypePropType","imageData","signedOn","legalRepresentative","resetSignature","LegalSignatoryTypeMap","_LegalSignatoryTypeMa","LegalSignatoryType","commonMessages","HandWrittenSignatureFooter","handWrittenSignature","onReset","readonly","newSignature","_useCancelHandWritten","useCancelHandWrittenSignatureMutation","isCancellingSignature","cancelSignatureErrors","cancelHandWrittenSignature","handleOnReset","Loading","borderRadius","Signature_Signature","Signatures_HandWrittenSignatureFooter","shared","MessagesMapper","_MessagesMapper","RecordSignature","consentBy","legalSignatureType","LegalSignatoryTypeMapper","LegalSignatoryText","_patient$demographic","commonValues","LegalSignatoryText_objectSpread","LegalSignatoryLabel_MessagesMapper","LegalSignatoryLabel","Signatures_HandWrittenFormHeader","Signatures_HandWrittenSignatureDialog","Signatures_HandWrittenSignature","SignatureInput_SignatureInput","Signatures_RecordSignature","Signatures_LegalSignatoryText","Signatures_LegalSignatoryLabel","addonBefore","labelStyle","_useFormsyInput","useFormsyInput","defaultValue","setFormsyValue","isFocused","commonProps","_InputLabel__WEBPACK_IMPORTED_MODULE_7__","react_input_mask__WEBPACK_IMPORTED_MODULE_5___default","_babel_runtime_corejs2_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","_akinoxsolutions_gerudo_ui__WEBPACK_IMPORTED_MODULE_4__","defaultProps","withRequiredMessage","includeSpecialistNames","includeEmptyChoice","res","dept","found","_stores_store__WEBPACK_IMPORTED_MODULE_0__","LANGUAGES","store","getState","func","layoutReducer","isChangingLanguage","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","react_router__WEBPACK_IMPORTED_MODULE_1__","_helpers_authentication__WEBPACK_IMPORTED_MODULE_2__","_routeHelpers__WEBPACK_IMPORTED_MODULE_3__","routes","getComponent","component","queries","getQueries","render","RenderWithSplashAndError","env","IS_LOCAL","loginPage","from","to","onEnter","redirectToLegacyPage","AdminUsers","nextState","popover","ViewCaseMutation","_NotFoundPage","notFoundPage_createSuper","pageNotFound","PageTitle","Helmet","UrlAnchor","menuName","innerHeight","pageHeight","setPageHeight","_useContext","useContext","MenuContext","getSelectedMenuItemFromMenuName","selectMenuItem","observerMargin","bottomMargin","observerConfig","rootMargin","observer","IntersectionObserver","entries","entry","isIntersecting","handleOnShow","pushState","menuItemNames","FORM_CODES","GEN_REQ","CaseAdminNoteTitle","lib_index_es","AddAdminNoteToCaseMutation","CaseAdminNotes","canAddAdministrativeNotes","resolvePermissions","shared_Notes_Notes","Urls_UrlAnchor","MenuAnchors","GenericRequestMenu","caseAdminNotes","MenuNames","CaseAdminNotes_CaseAdminNoteTitle","noteForm","addAdminNoteToCase","note","additionalClassName","canAddNotes","Notes","PermissionsPropTypes","canDelete","canEditBodyParts","canEditDocumentType","canEditDescription","AttachmentPropTypes","documentTypeId","oneOfType","uploadedOn","BodyPartsList","plural","InlineAttachment","documentType","documentTypeName","filesize","round","BodyParts_BodyPartsList","handleDownload","imageViewerFormat","InlineAttachments","attachments","formattedPreviewUrl","UploadAndList_InlineAttachment","CreationInformationHeader","creator","showMessageAuthorAsLink","author","Note","shared_CreationInformationHeader_CreationInformationHeader","UploadAndList_InlineAttachments","NoteTitleWithCount","CaseAdminNotesTitleAndCount","Titles_NoteTitleWithCount","AddClinicalNoteToCaseMutation","CaseClinicalNotes","canAddClinicalNotes","addClinicalNoteToCase","noteTypes","clinical","UpdateAttachmentDocumentTypeMutation","updateAttachmentDocumentTypeMutation","attachment","_delete","deleteConfirmationText","_deleteConfirmationTe","deleteConfirmationTitle","_deleteConfirmationTi","deleteConfirmationTooltip","_deleteConfirmationTo","documentName","_documentName","uploadedBy","_uploadedBy","sentToEmrOn","_sentToEmrOn","_documentType","documents","_documents","dropFiles","_dropFiles","duplicateFileError","_duplicateFileError","zeroFileSizeError","_zeroFileSizeError","rejectedFile","_rejectedFile","selectBodyParts","_selectBodyParts","updateModalDocumentType","_updateModalDocumentT","selectDocumentType","_selectDocumentType","uploadedImages","_uploadedImages","viewAllImages","_viewAllImages","viewAllUploadedImages","_viewAllUploadedImage","updateDocumentTypeSuccess","_updateDocumentTypeSu","ConfirmDeletionDialog","deleteFile","_baseI18n$global","del","setMutating","reinitState","UpdateDocumentTypeDialog","showNotification","documentTypeList","onSubmitFormsy","zIndex","baseMessages","getContainer","getElementById","retryableImage","alternateSrc","oldPreviewUrl","maxHeight","shared_inputs","ATTACHMENTS_COLUMNS","ATTACHMENTS_TABLE_ACTIONS","editDescription","editBodyParts","editDocumentType","Attachments","shouldConfirmDelete","deletingAttachment","editingBodyPartsAttachment","editingAttachment","editingDocumentType","updateDocumentType","isUploading","fileIsUploading","uploadProgress","uploadPercentage","HideOnPrint","percent","lib_menu","menuRipple","handleDelete","handleEditDescription","handleEditBodyParts","handleEditDocumentType","isInputVisible","showDocumentTypeDropdown","_file$documentTypeId","_file$fileName","_file$size","sentOnEmrParsed","sentToEmrMessage","stylesDropdown","selectedDocTypeId","handleEditDocType","getActions","_file$fileName2","_file$size2","onDocumentTypeUpdated","onErrors","graphqlUpdateDocumentType","onDescriptionUpdated","graphqlUpdateDescription","_this$props5","mapFilesResponsive","staticModel","getResponsiveModel","columnsShown","withActions","withHeader","mapFiles","UploadAndList_ConfirmDeletionDialog","bodyPartPicker","handleBodyPartsDialog","attachmentUploadAndList","updateDescription","UploadAndList_UpdateDocumentTypeDialog","_this$props6","onDelete","graphqlRemoveFile","is_array_default","DeleteAttachmentMutation","att","Attachments_actions","FilesInput","customUploadText","lightColors","onFilesChange","dist_es","onDrop","dropzone","isDragReject","AttachmentUploadAndList","AttachmentUploadAndList_createSuper","stopUpload","handleChanges","resumeUploads","moveUploadToBackground","onUploadIsLoading","newFile","clearErrors","emptyFiles","handleOnUploadIsLoading","graphqlUploadFiles","uploadedFiles","filesList","uploadedFile","existingFile","find","handleErrors","onUploadFiles","storeFileForUpload","getUploadableFiles","foundIds","_loop","uploadFileInBackground","uploadFile","cleanOnSuccess","onProgress","bytesUploaded","bytesTotal","percentage","newState","sameFiles","fileData","uuid","isDeferred","deferredSize","UploadAttachmentsMutation","uploadAttachments","isAttachmentVisible","attachmentsProps","filesInput","handleUploadFiles","UploadAndList_Attachments","titles","add","admin","AddNoteForm","addNote","actionsClassName","setIsUploading","AddNoteForm_objectSpread","UploadAndList_AttachmentUploadAndList","isAddingNote","toggleAddNoteForm","Notes_Note_Note","Notes_AddNoteForm_AddNoteForm","assembleHistoryItemText","historyItemWithReportType","dataItem","reportType","action","_action","dateAndTime","_dateAndTime","doneBy","_doneBy","requestHistory","_requestHistory","CANCELED","_CANCELED","CLOSED","_CLOSED","CREATED","_CREATED","DISPATCHED","_DISPATCHED","DISPATCHFORWARDED","REDISPATCHREQUESTED","_REDISPATCHREQUESTED","REOPENED","_REOPENED","REPORTED","_REPORTED","REPORTERASSIGNED","_REPORTERASSIGNED","REQUESTEDMOREINFORMATION","_REQUESTEDMOREINFORMA","CONTRIBUTEDMOREINFORMATION","_CONTRIBUTEDMOREINFOR","SUBMITTED","_SUBMITTED","REPORTCLARIFICATIONREQUESTED","_REPORTCLARIFICATIONR","REPORTCLARIFICATIONSUBMITTED","_REPORTCLARIFICATIONS","REPORTSIGNED","_REPORTSIGNED","DESTINATIONPRIORITYUPDATED","_DESTINATIONPRIORITYU","PROPOSEDREPORTERCHANGED","_PROPOSEDREPORTERCHAN","AMENDED","FINAL","PRELIMINARY","MobileHistory","mapHistory","history1","history2","History","destinationHistory","destinations","destination","history_MobileHistory","HistoryTypes","PrintCaseContainer","buttonText","downloadFileName","isSticky","setIsSticky","isStickyClassName","cardClassnames","react_intersection_visible_lib_default","onHide","onShow","Print_PrintCaseButton","PrintCaseButton","queryParams","step","_usePrint","usePrint","parseToIsoDate","downloadStartedMessage","downloadFailedMessage","isPrintDownloading","isDownloading","download","StickyFooter","RequestAdditionalInformationMutation","RequestReportClarificationMutation","RequestRedispatchMutation","SubmitAdditionalInformationMutation","informationRequestId","SubmitReportClarificationMutation","SubmitCaseMutation","formResult","formResults","formVersion","onSubmitCase","subFormsDataDestinations","subFormData","medicalReason","modality","externalConferenceNumber","requestDispatch","proposedReporterId","patientEmail","SubmitDestinationMutation","SubmitReportMutation","conclusionId","diagnosisIds","diagnosis","signatureToken","sendToEmr","additionalInformation","_additionalInformatio","reportClarification","_reportClarification","answer","_answer","answered","_answered","asked","_asked","askedAdditionalInformation","_askedAdditionalInfor","bytes","_bytes","_cancel","requestAdditionalInformation","_requestAdditionalInf","sendEnquiry","_sendEnquiry","sendInformation","_sendInformation","AnswerForm","submitting","setSubmitting","onSubmitAdditionalInformation","onSubmitReportClarification","AdditionalInformation","_classnames","displayMode","triggerAnswerForm","acknowledgeAnswerFormTriggerCallback","answering","setAnswering","_request$request","timestamp","hasAnswer","requestElement","displayForDestination","toLowerCase","displayHeader","handleAnswer","info","replaceLineBreaks","canAnswer","additionalInformation_AnswerForm","isEmptyDestination","startsWith","emptyDestination","editStatus","reasons","getDestinations","helpers_objectSpread","memo","frameId","formContainerRef","black","inputSelector","line-height","font-size","padding-left","genericStyle","h1","h2","h3","h4","h5",".ant-input[disabled]",".gerudo .ant-input.ant-input-disabled",".ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector",".ant-select-item-option-selected:not(.ant-select-item-option-disabled)","background-color","genericPrintStyle","@media print",".no-print","--padding-small","span","border-bottom","margin-top","border","div","background","break-inside",".ant-typography-secondary",".ant-checkbox-inner",".ant-radio-inner",".ant-form-item-control-input","min-height",".ant-radio-wrapper",".ant-checkbox-wrapper",".ant-picker",".ant-picker-input",".ant-select-selector","styles_objectSpread",".ant-input-number-input",".ant-input",".ant-select-arrow",".ant-radio-inner:after",".ant-checkbox-inner:after","border-color",".gerudo-datepicker","margin-left","#comments\\.traceDuration\\.minutes-wrapper","#comments\\.traceDuration\\.hours-wrapper","#outro\\.formresult\\.rcadsResult-property","border-top","#outro\\.formresult\\.rcadsResult\\.headers\\.word-property","#outro\\.formresult\\.rcadsResult\\.headers\\.rawScore-property","#outro\\.formresult\\.rcadsResult\\.headers\\.tScore-property","bottom","#outro\\.formresult\\.rcadsResult\\.SA\\.word-property","#outro\\.formresult\\.rcadsResult\\.SA\\.rawScore-property","#outro\\.formresult\\.rcadsResult\\.SA\\.tScore-property","#outro\\.formresult\\.rcadsResult\\.GA\\.word-property","#outro\\.formresult\\.rcadsResult\\.GA\\.rawScore-property","#outro\\.formresult\\.rcadsResult\\.GA\\.tScore-property","#outro\\.formresult\\.rcadsResult\\.panic\\.word-property","#outro\\.formresult\\.rcadsResult\\.panic\\.rawScore-property","#outro\\.formresult\\.rcadsResult\\.panic\\.tScore-property","#outro\\.formresult\\.rcadsResult\\.SP\\.word-property","#outro\\.formresult\\.rcadsResult\\.SP\\.rawScore-property","#outro\\.formresult\\.rcadsResult\\.SP\\.tScore-property","#outro\\.formresult\\.rcadsResult\\.OC\\.word-property","#outro\\.formresult\\.rcadsResult\\.OC\\.rawScore-property","#outro\\.formresult\\.rcadsResult\\.OC\\.tScore-property","#outro\\.formresult\\.rcadsResult\\.dep\\.word-property","#outro\\.formresult\\.rcadsResult\\.dep\\.rawScore-property","#outro\\.formresult\\.rcadsResult\\.dep\\.tScore-property","#outro\\.formresult\\.rcadsResult\\.totalA\\.word-property","#outro\\.formresult\\.rcadsResult\\.totalA\\.rawScore-property","#outro\\.formresult\\.rcadsResult\\.totalA\\.tScore-property","#outro\\.formresult\\.rcadsResult\\.totalAD\\.word-property","#outro\\.formresult\\.rcadsResult\\.totalAD\\.rawScore-property","#outro\\.formresult\\.rcadsResult\\.totalAD\\.tScore-property","#outro\\.formresult\\.FDIResult-property","#outro\\.formresult\\.FDIResult\\.headers\\.word-property","#outro\\.formresult\\.FDIResult\\.headers\\.score-property","#outro\\.formresult\\.FDIResult\\.form\\.word-property","#outro\\.formresult\\.FDIResult\\.form\\.score-property","#outro\\.formresult\\.thoughtsResult-property","#outro\\.formresult\\.thoughtsResult\\.headers\\.word-property","#outro\\.formresult\\.thoughtsResult\\.headers\\.score-property","#outro\\.formresult\\.thoughtsResult\\.child\\.word-property","#outro\\.formresult\\.thoughtsResult\\.child\\.score-property","#outro\\.formresult\\.thoughtsResult\\.parent\\.word-property","#outro\\.formresult\\.thoughtsResult\\.parent\\.score-property","#outro\\.formresult\\.pittsburghResult-property","#outro\\.formresult\\.pittsburghResult\\.headers\\.word-property","#outro\\.formresult\\.pittsburghResult\\.headers\\.score-property","#outro\\.formresult\\.pittsburghResult\\.PSQIHSE\\.word-property","#outro\\.formresult\\.pittsburghResult\\.PSQIHSE\\.score-property","#outro\\.formresult\\.pittsburghResult\\.PSQILATEN\\.word-property","#outro\\.formresult\\.pittsburghResult\\.PSQILATEN\\.score-property","#outro\\.formresult\\.pittsburghResult\\.PSQIDURAT\\.word-property","#outro\\.formresult\\.pittsburghResult\\.PSQIDURAT\\.score-property","#outro\\.formresult\\.pittsburghResult\\.PSQIDISTB\\.word-property","#outro\\.formresult\\.pittsburghResult\\.PSQIDISTB\\.score-property","#outro\\.formresult\\.pittsburghResult\\.PSQISLPQUAL\\.word-property","#outro\\.formresult\\.pittsburghResult\\.PSQISLPQUAL\\.score-property","#outro\\.formresult\\.pittsburghResult\\.PSQIMEDS\\.word-property","#outro\\.formresult\\.pittsburghResult\\.PSQIMEDS\\.score-property","#outro\\.formresult\\.pittsburghResult\\.PSQIDAYDYS\\.word-property","#outro\\.formresult\\.pittsburghResult\\.PSQIDAYDYS\\.score-property","#outro\\.formresult\\.pittsburghResult\\.PSQITOTAL\\.word-property","#outro\\.formresult\\.pittsburghResult\\.PSQITOTAL\\.score-property","#outro\\.formresult\\.IOFSResult-property","#outro\\.formresult\\.IOFSResult\\.headers\\.word-property","#outro\\.formresult\\.IOFSResult\\.headers\\.score-property","#outro\\.formresult\\.IOFSResult\\.form\\.word-property","#outro\\.formresult\\.IOFSResult\\.form\\.score-property","iframeUrl","FormolViewerUrl","DISPLAY_MODES","FormolViewer","idSuffix","formDefinition","uploadingData","readOnly","isPartialDisplay","onSubmitDraft","onIsValidChange","isSpecialist","remoteFormResults","Results","isReady","setIsReady","isSubmittingResults","setIsSubmittingResults","localFormResults","setLocalFormResults","lastUpdatedUid","setLastUpdatedUid","showVersion","resizeOptions","log","bodyMargin","iFrameResize","frame","iFrameResizer","refreshDFPayload","autosave","useDeepCompareEffect","handleDFMessage","_formDefinition$schem","FormolViewer_objectSpread","schemas","vars","apiUrl","getApiUrlUpload","apiToken","isDevEnv","NodeEnv","customStyle","contentWindow","postMessage","readOnlyMode","devMode","themeName","_eventData$context","_eventData$context2","_message$data","eventData","newWindow","containerId","handleStatusChanged","submitResults","onFormUpdateData","scrollIntoView","fileId","open","postMessageAction","saveButtonEnabled","dicomSaveHandlerCount","initiatingWindow","formPass","uid","_x4","FormolViewer_FormolIframe","CardFormolViewer","frameIdSuffix","shared_FormolViewer_FormolViewer","CLINICAL_DOMAIN_SUBFORM_TYPE","ClinicalDomainSubForm","_ref$relay","teleconsultation","_teleconsultation","requestInformationAction","_requestInformationAc","requestInformationTitle","_requestInformationTi","addDestination","_addDestination","additionalInformationEnquiry","i18n_additionalInformatio","_destination","closeAvailable","_closeAvailable","DEFERREDTIME","_DEFERREDTIME","VIDEOWITHOUTPATIENT","_VIDEOWITHOUTPATIENT","VIDEOWITHPATIENT","_VIDEOWITHPATIENT","speciality","_speciality","_priority","_department","_modality","departmentDispatch","_departmentDispatch","i18n_cancel","videoConferenceNumber","_videoConferenceNumbe","_reasons","updateDestination","_updateDestination","dispatchDepartmentByDispatcher","_dispatchDepartmentBy","dispatchReporterByDispatcher","_dispatchReporterByDi","saveAsDraft","_saveAsDraft","_submit","printRequestCompleted","_printRequestComplete","printRequestReport","_printRequestReport","printDownloadName","_printDownloadName","reportTypeFinal","reportTypePreliminary","reportTypeAmended","ClinicalDomainDropdown","defaultClinicalDomainId","clinicalDomainOptions","getClinicalDomainOptions","Priority","delayDescription","PriorityDropdown","defaultPriorityId","priorityOptions","domainId","Priority_Priority","getPriorityOptions","DepartmentDropdown","defaultDepartmentId","isDispatching","departmentOptions","getDepartmentOptions","setDepartmentId","fn","didMountRef","useDidUpdateEffect","getReporterDropdownOptions","reporters","DepartmentReportersDropdown","defaultReporterId","reporterOptions","getDepartmentReporterOptions","proposedReporter","setProposedReporterId","Modalities","modalityOptions","ModalityDropdown","defaultModalityId","DeleteAllAttachmentsMutation","sectionId","getSubFormData","defaultData","getSubFormVersion","FormVersion","Destination","showActionBar","handleCancelDestination","handleSaveDraftData","isSavingDraftData","onIsSubFormValidChange","handleChangeDestinationSubFormData","defaultValues","_destination$permissi","dispatchBehavior","canProposeReporter","canScheduleVideoConferenceMeetingFlagOnly","allowDispatch","forceDispatch","isDispatchChecked","setIsDispatchChecked","setClinicalDomainId","setModality","subFormVersion","setSubFormVersion","_useState11","_useState12","stateDefaultData","setStateDefaultData","_useState13","_useState14","isRequestSubFormValid","setIsRequestSubFormValid","_useState15","CaseId","hasDefaultData","applySubFormValidChange","isConferenceNumberVisible","isPatientEmailVisible","destinationStyles","data-id","gutter","GENERICv2_ClinicalDomainDropdown_ClinicalDomainDropdown","deleteAllAttachments","GENERICv2_PriorityDropdown_PriorityDropdown","GENERICv2_DepartmentDropdown_DepartmentDropdown","GENERICv2_DepartmentReportersDropdown_DepartmentReportersDropdown","CheckboxSizes","small","GENERICv2_ModalityDropdown_ModalityDropdown","isEmail","emailFormatError","GENERICv2_ClinicalDomainSubForm_ClinicalDomainSubForm","fillAllMandatoryFields","requiredInformation","ClinicalDomain","expandIconPosition","Priorities_Priority","departmentName","willReceiveNotifications","DepartmentModal","specialistsTitle","Departments_ClinicalDomain_ClinicalDomain","specialist","DepartmentInformation","modalIsOpen","setModalIsOpen","_useRelayLoading","openModal","isModalOpen","Departments_DepartmentModal_DepartmentModal","UpdateDestinationPriorityMutation","updateDestinationPriority","successNotification","_successNotification","UpdateDestinationPriorityDialog","onFormsySubmit","keys_default","MeetingStatusCodes","freeze_default","Scheduled","Canceled","Started","Ended","MeetingStatusPropTypes","MeetingParticipantsPropTypes","formatDateAndTimeToDate","meetingId","providerId","externalId","scheduledDate","scheduledDurationMinutes","topic","joinUrl","startUrl","actualStartDate","actualDuration","clonedDate","setHours","getHours","getMinutes","getSeconds","addMinutes","clinician","addToCalendar","VideoconferenceAddToCalendar","meeting","isClinician","providerName","provider","scheduledDateAsDate","patientName","clinicName","subject","startTime","toISOString","endTime","buttonLabel","buttonType","CancelVideoConferenceMeetingMutation","cancelVideoConferenceMeeting","VideoConferenceStatusChip","startVideoConference","joinVideoConference","cancelVideoConference","videoconferenceWith","VideoConferenceHistoryItem","isHost","_meeting$provider","emailAccount","videoConferenceUrl","linkMessage","canJoinMeetingStatusCodes","VideoConferenceHistory_VideoConferenceStatusChip","data-testid","VideoConference_VideoconferenceAddToCalendar_VideoconferenceAddToCalendar","VideoConferenceHistory","meetings","VideoConferenceHistory_VideoConferenceHistoryItem","ReassignReporterGenericConversationConsultCaseDestination","reassignProposedReporter","reassign","ReassignProposedReporterDialog","UserVideoProvidersDropdown","caseDepartmentLegacyId","UserVideoProvidersDropdown_excluded","providers","defaultOptions","min15","min30","min45","min60","AppointmentDurationDropdown","AppointmentDurationDropdown_excluded","ScheduleVideoConferenceMeetingMutation","duration","scheduleVideoConferenceMeeting","noProvider","appointmentDate","appointmentTime","appointmentDuration","appointmentTopic","appointmentDescription","pleaseInstalledAProvider","appointmentScheduled","scheduleVideoConference","goToInstallProvidersPage","ScheduleVideoConferenceDialog","videoConference","destinationDepartmentLegacyId","showForm","appointmentDateTime","userVideoProvider","Inputs_UserVideoProvidersDropdown_UserVideoProvidersDropdown","placeholder","DatePickerSizes","large","Inputs_AppointmentDurationDropdown_AppointmentDurationDropdown","autoSize","minRows","maxRows","answerEnquiry","_answerEnquiry","assignedTo","_assignedTo","destinationReadOnly_i18n_cancel","conclusion","_conclusion","i18n_delete","deleteDestination","_deleteDestination","deleteText","_deleteText","_diagnosis","forwardDispatch","_forwardDispatch","fillReport","_fillReport","fillAmendedReport","_fillAmendedReport","instruction","_instruction","reassignmentReason","_reassignmentReason","reassignmentRequested","_reassignmentRequeste","reportAcceptedOn","_reportAcceptedOn","reportClarificationRequested","_reportClarificationR","reportClarificationsTitle","_reportClarifications","i18n_reporter","requestReportClarification","_requestReportClarifi","scheduleVideoconference","_scheduleVideoconfere","acceptReport","_acceptReport","transferRequest","requestReassignment","_requestReassignment","i18n_saveAsDraft","sendFinalReport","_sendFinalReport","sendPreliminaryReport","_sendPreliminaryRepor","sendAmendedReport","_sendAmendedReport","takeCharge","_takeCharge","takeChargeBack","_takeChargeBack","tookChargeByCurrentUser","_tookChargeByCurrentU","tookChargeByOtherUser","_tookChargeByOtherUse","_text","_ramqCodes","updated","_updated","i18n_DEFERREDTIME","i18n_VIDEOWITHOUTPATIENT","i18n_VIDEOWITHPATIENT","signedBy","_signedBy","_licenseNumber","_signedOn","sendToEMR","preliminaryReportAlertTitle","preliminaryReportAlertDescription","preliminaryReportAlertDescriptionWithFurtherReports","videoConferenceRequestedByCurrentUser","videoConferenceWithPatientRequestedByCurrentUser","videoConferenceRequestedByRequester","videoConferenceWithPatientRequester","Request","onRequestReportClarification","onRequestAdditionalInformation","destinationMessages","DispatchGenericConversationConsultCaseDestinationMutation","dispatchDestination","dispatchSuccessNotification","_dispatchSuccessNotif","redispatchSuccessNotification","_redispatchSuccessNot","clinicalDomainLabel","_clinicalDomainLabel","departmentLabel","_departmentLabel","reasonLabel","_reasonLabel","dispatchReasonHint","_dispatchReasonHint","DispatchDestinationDialog","canUpdateClinicalDomain","notificationLabel","reset","dialogTitle","ForwardDispatchGenericConversationConsultCaseDestinationMutation","dispatcherId","forwardDispatchDestination","dispatcher","getSpecialistOptions","DispatcherDropdown","dispatcherOptions","allSpecialists","flatMap","uniqBy","getDispatcherOptions","saveButton","ForwardDispatchDestinationDialog","GENERICv2_DispatcherDropdown_DispatcherDropdown","TakeChargeOfGenericConversationConsultCaseDestination","takeChargeOfDestination","TakeChargeOfDestinationDialog_i18n_title","_details","accept","_accept","TakeChargeOfDestinationDialog_i18n_successNotification","TakeChargeOfDestinationDialog","closeDestinationTitle","_closeDestinationTitl","caseDestinationClosed","_caseDestinationClose","closingDestinationPrompt","_closingDestinationPr","closingLastDestinationWillCloseRequest","_closingLastDestinati","CloseDestinationDialog","allOtherDestinationsClosed","every","StatusCodes","ReportCompleted","ConfirmDialog","onDestinationClosed","confirmTitle","confirmMessage","additionalInfo","RedispatchRequest","setReason","onRequestRedispatch","confirm","SignatureController","getUrlSignatureApiEndpoint","fetchData","jsonbody","_args2","signatureMessages","signatureDescription","passwordLabel","signatureValidated","invalidPassword","signAndSendReport","submitSignatureForm","validateSignature","SignatureDialog","onCompleteSuccess","signatureReferenceId","_validateSignature","onCloseDialog","whiteSpace","YesNo","condition","labelYes","labelNo","AlertColor","Alert","colorStyle","ReportDropdownItem","GetReportTypeName","ReportDropdown","currentReportVersion","setVisible","Item","onReportClick","ReportDropdown_ReportDropdownItem","currentReport","overlay","onVisibleChange","SendReportButton","canSendPreliminaryReport","submitReport","Preliminary","Final","Amended","autoSaveName","getSavedItemSubFormData","parsed","Report","onReportVersionChange","showToastNotification","showSignatureDialog","setShowSignatureDialog","setSaving","filesHaveBeenModified","setFilesHaveBeenModified","setParsedData","_useState16","currentFormData","setCurrentFormData","_useState17","_useState18","currentSubFormData","setCurrentSubFormData","_useState19","_useState20","newReportType","setNewReportType","_useState21","_useState22","setCurrentReportVersion","_useState23","_useState24","savedItemSubFormData","setSavedItemSubFormData","_useState25","_useState26","_useState27","_useState28","isSubFormValid","setIsSubFormValid","_useState29","_useState30","isFormsyValid","setIsFormsyValid","conclusions","handleSaveData","initCurrentSubFormData","hasItem","availableReporters","lastReport","newSubFormData","_useSelectReporter","selectedReporter","setSelectedReporter","some","useSelectReporter","submitReportWithToken","fixedData","Report_objectSpread","onSubmitReport","appendedSubFormData","appendSubFormDataToDraftData","draftSaved","toggleSignatureDialog","GENERICv2_ReportDropdown_ReportDropdown","reportVersion","shared_Alert_Alert","shared_YesNo_YesNo","isSigned","conclusionOptions","newSubformData","destinationReadOnly_SendReportButton_SendReportButton","Signature_SignatureDialog","attachmentFragment","ActionBlock","isAddingAdditionalInformation","toggleIsAddingAdditionalInformation","_useToggle3","_useToggle4","isRedispatchingRequest","toggleIsRedispatchingRequest","_useToggle5","_useToggle6","isFillingReport","toggleIsFillingReport","_useToggle7","_useToggle8","isSchedulingVideoconference","toggleIsSchedulingVideoconference","_useToggle9","_useToggle10","isAddingReportClarification","toggleIsAddingReportClarification","_useToggle11","_useToggle12","isClosing","toggleIsClosing","_useToggle13","_useToggle14","toggleIsDispatching","_useToggle15","_useToggle16","isForwardingDispatch","toggleIsForwardingDispatch","_useToggle17","_useToggle18","isTakingCharge","toggleIsTakingCharge","_useToggle19","_useToggle20","isReassigningProposedReporter","toggleIsReassigningProposedReporter","canForwardDispatch","canRequestAdditionalInformation","canRequestReportClarification","canTakeChargeOfDestination","canChangeProposedReporter","canScheduleVideoConferenceMeeting","actionsAvailable","mustShowButtonGroup","isDispatcher","dispatchButtonMessage","hasReporterAssigned","isAmendedReport","hasReport","isVideoConferenceProposed","genericMessages","additionalInformation_Request","destinationReadOnly_RedispatchRequest","destinationReadOnly_Report","destinationReadOnly_CloseDestinationDialog","dispatchDestinationDialog_DispatchDestinationDialog","GENERICv2_ForwardDispatchDestinationDialog_ForwardDispatchDestinationDialog","takeChargeOfDestinationDialog_TakeChargeOfDestinationDialog","GENERICv2_ReassignProposedReporterDialog_ReassignProposedReporterDialog","VideoConference_ScheduleVideoConferenceDialog_ScheduleVideoConferenceDialog","AdditionalInformationRequest","considerReporterMayHaveStarted","_considerReporterMayH","DialogDelete","RedispatchRequestedHeader","isSelf","currentUserIsAuthor","ReportClarificationRequestedHeader","requesterPerson","canSubmitReportClarification","handleAnswerEnquiry","DestinationReadOnly","onSetReportVersion","reporterAssignedOn","_destination$request","canUpdatePriority","currentUserPersonId","isDeleting","setIsDeleting","isEditingPriority","setIsEditingPriority","handleUpdatePriority","isCurrentReportLastReportVersion","triggerReportClarificationAnswer","setTriggerReportClarificationAnswer","reportClarificationRequests","additionalInformationRequests","latestRedispatchHistoryItem","getLatestRedispatchHistoryItem","activeClarificationRequest","getActiveReportClarificationRequest","isCurrentUserReporter","destinationReadOnly_RedispatchRequestedHeader","destinationReadOnly_ReportClarificationRequestedHeader","videconferenceIcon","videoconferenceInfo","owner","Departments_DepartmentInformation_DepartmentInformation","reportClarifications","additionalInformation_AdditionalInformation","VideoConference_VideoConferenceHistory_VideoConferenceHistory","videoConferenceMeetings","destinationReadOnly_ActionBlock","videoconference","destinationReadOnly_DialogDelete","updateDestinationPriorityDialog_UpdateDestinationPriorityDialog","redispatchHistoryItems","ha","hb","getSortedRedispatchHistoryItems","activeReportClarificationRequest","getSortedReportClarificationRequests","addDocument","_addDocument","administrativeNotes","_administrativeNotes","clinicalInformation","_clinicalInformation","hideMoreInformation","_hideMoreInformation","moreInformation","_moreInformation","patientConsent","_patientConsent","patientConsentLink","_patientConsentLink","patientConsentError","_patientConsentError","_requiredInformation","specificInformation","_specificInformation","_required","ClinicalInformation","attachmentsCommonProps","isTrue","consent","link","getWebRootUrl","RequiredInformation","destinationDomainIds","showText","setShowText","selectedDomains","domain","RequestInformation","requestInformation_RequiredInformation","requestInformation_ClinicalInformation","closeRequestTitle","_closeRequestTitle","requestClosed","_requestClosed","closingRequestPrompt","_closingRequestPrompt","CloseRequestDialog","CloseRequestDialog_createSuper","onGenericCaseClosed","handleSubmit","handleSuccess","GenericRequestNonRequesterView","allDestinations","hasAdditionalInformationRequests","editDestinations","handleInvalidSubmit","handleRemoveDestination","handleEditDestination","Notes_CaseAdminNotes_CaseAdminNotes","requestInformation_RequestInformation","destination_Destination","showButtons","destinationReadOnly_DestinationReadOnly","GenericRequestRequesterView","canAddDestination","handleAddDestination","GenericRequest","setDestinations","setSubFormsDataDestinations","setEditDestinations","canceling","setCanceling","setIsClosing","showArchiveDialog","setShowArchiveDialog","setIsSavingDraftData","_cas$data$extraData$p","_cas$data$permissions","canPrint","canArchive","isGenericRequestSideMenuEnabled","hasReports","showPrintContainer","printCaseContainerMessage","handleCanceling","handleCloseCase","footerButtons","cancelCase","getDestination","onSubmitDestination","GenericRequest_objectSpread","newDestinations","dest","Print_PrintCaseContainer","isFromRequesterDepartment","components_GenericRequestRequesterView","components_GenericRequestNonRequesterView","history_History","shared_StickyFooter_StickyFooter","genericRequest_CloseRequestDialog","onArchiveError","ReportSignaturePrint","signedByFirstName","signedByLastName","DisplayOnlyOnPrint","getStringOrDefault","str","MUHCReportPrintHeader","barcode","patientLastName","patientFatherFirstName","patientFatherLastName","patientMotherFirstName","patientMotherLastName","shared_DisplayOnlyOnPrint_DisplayOnlyOnPrint","react_barcode_default","format","PrintSection","PrintSubsection","TableSectionPrint","printData","printDataKey","dateOfBirth","medicalInsuranceNumber","PatientSectionPrint","formattedDate","print_TableSectionPrint","requestNumber","requestDate","reportDate","requestingCenter","requestType","requestDetails","coordinationCenterComments","reportDetails","amended","reportSubForm","final","clarifications","watermark","preliminary","GenericRequestPrint","isPreliminaryReport","isFinalReport","printStyles","muhc_MUHCReportPrintHeader","print_PrintSubsection","print_PrintSection","printableComponent_ReportSignaturePrint","NewGenericRequest","setNewDestinations","setDestinationDomainIds","NewGenericRequest_objectSpread","NavActionTypes","navReducer","navReducer_objectSpread","NavContext","createContext","activeKey","NavProvider","_useReducer","useReducer","_useReducer2","changeDirection","useNavReducer","Provider","NavMenu","NavItem","disableNavStyling","NavItem_excluded","NavDirection","NavContent","Nav","Nav_NavProvider","hasHistory","hasAdditionalInformation","hasReportClarifications","_useMenuUrlAnchors","useMenuUrlAnchors","anchors","selectedAnchors","handleOnClickMenu","scrollToElement","commonNavProps","shared_Nav_Nav","Nav_NavMenu","Nav_NavItem","CaseAdminNotes_CaseAdminNotesTitleAndCount","GenericRequestPage","isMobile","setIsMobile","isNew","displayPrint","ReportAwaitingReview","ReportAwaitingInformation","isMenuEnabled","FeatureFlagContainer","featureKey","menus_GenericRequestMenu","shared_PageTitle_PageTitle","newGenericRequest_NewGenericRequest","genericRequest_GenericRequest","genericRequestPrint_GenericRequestPrint","ClinicianHeader","setFormParam","paramKey","paramValue","CustomSlider","customSlider_createSuper","showLabels","customSlider_excluded","slider","slider_default","forms_i18n","summaryPageTitle","_summaryPageTitle","formIncompleteMessage","_formIncompleteMessag","nextSectionClickedDisabled","_nextSectionClickedDi","formSubmitted","_formSubmitted","backToList","_backToList","forms","GER_MNA","_name","_description","_q","q1_s1","_q1_s","q1_s2","_q1_s2","q1_s3","_q1_s3","_q2","q2_s1","_q2_s","q2_s2","_q2_s2","q2_s3","_q2_s3","q2_s4","_q2_s4","q3","_q3","q3_s1","_q3_s","q3_s2","_q3_s2","q3_s3","_q3_s3","_q4","q4_s1","_q4_s","q4_s2","_q4_s2","sectionIntroductionStepName","_sectionIntroductionS","section1StepName","_section1StepName","section2StepName","_section2StepName","section3StepName","_section3StepName","RESP_EVA_form_i18n_title","downloadName","_downloadName","RESP_EVA_form_i18n_q","RESP_EVA_form_i18n_q2","RESP_EVA_form_i18n_q3","RESP_EVA_form_i18n_q4","_q5","q6","_q6","RESP_EVA_form_i18n_additionalInformatio","consentToSendingACopyOfTheResultsYesNo","_consentToSendingACop","_physicianName","_clinicName","clinicAddress","_clinicAddress","q00","_q7","q0a","_q0a","q0a_yes","_q0a_yes","q0b","_q0b","RESP_EVA_neither","_RESP_EVA_neither","RESP_EVA_tonsils","_RESP_EVA_tonsils","RESP_EVA_adenoids","_RESP_EVA_adenoids","RESP_EVA_both","_RESP_EVA_both","q0c","_q0c","q0c_option_nasal","_q0c_option_nasal","q0c_nasal_meds","_q0c_nasal_meds","q0c_nasal_length","_q0c_nasal_length","q0c_option_others","_q0c_option_others","q0c_others_meds","_q0c_others_meds","q0c2","_q0c2","q0c2_nasal_add","_q0c2_nasal_add","q0c2_nasal_name","_q0c2_nasal_name","q0c2_nasal_duration","_q0c2_nasal_duration","q0c2_nasal_duration_lessthanone","_q0c2_nasal_duration_","q0c2_nasal_duration_onetotwo","_q0c2_nasal_duration_2","q0c2_nasal_duration_twotosix","_q0c2_nasal_duration_3","q0c2_nasal_duration_morethansix","_q0c2_nasal_duration_4","q0c3","_q0c3","q0c3_names","_q0c3_names","q0d","_q0d","q0e","_q0e","q0f","_q0f","q0g","_q0g","q0h","_q0h","q0i","_q0i","q0j","_q0j","RESP_EVA_freq0","_RESP_EVA_freq","RESP_EVA_freq1","_RESP_EVA_freq2","RESP_EVA_freq2","_RESP_EVA_freq3","RESP_EVA_freq3","_RESP_EVA_freq4","RESP_EVA_freq4","_RESP_EVA_freq5","RESP_EVA_lessfreq0","_RESP_EVA_lessfreq","RESP_EVA_lessfreq1","_RESP_EVA_lessfreq2","RESP_EVA_lessfreq2","_RESP_EVA_lessfreq3","RESP_EVA_loud0","_RESP_EVA_loud","RESP_EVA_loud1","_RESP_EVA_loud2","RESP_EVA_loud2","_RESP_EVA_loud3","RESP_EVA_loud3","_RESP_EVA_loud4","RESP_EVA_loud4","_RESP_EVA_loud5","bindable","allBindables","h2Tag","txt","dangerouslySetInnerHTML","__html","gerFcgaI18n","respEvaI18n","_YesNo","radioValue","fieldKey","disableFormFields","showValidations","includeDontKnow","lib_radio","checked","labelDontKnow","inputTheme","fieldRequiredChoice","_RadioButtons","param","radioButtonStyle","RadioButtons","_TextField","optional","useInputLabel","divValue","helpers_DelayedInput","TextField","DelayedInput","_React$Component4","_super4","helpers_createSuper","doOnChange","newValue","helpers_excluded","input_default","throttledHandleChange","SortableComponent","_React$Component5","_super5","DragHandle","SortableHandle","sortableHandler","SortableItem","SortableElement","tabIndex","SortableList","SortableContainer","_excluded2","onSortEnd","_excluded3","oldIndex","newIndex","arrayMove","yesNoLabel","yesno","formVal","forms_helpers_YesNo","radio","newLabels","newValues","selectionKey","optionValue","minimumRequiredAnswers","maximumRequiredAnswers","checkboxVal","inputValue","errorKey","errorArgs","hasMin","hasMax","fieldRequiredChoiceMin","fieldRequiredChoiceMax","fieldRequiredChoiceExactly","fieldRequiredChoiceMinMax","optionDisabled","checkbox_default","formsReducer","numVal","Number","numberFormat","numberMin","numberMax","numberMinMax","textQuestion","freeText","answers","customSlider","pinned","snaps","throttleHandleChange","sortableList","typeof_default","sortedItems","helpers_SortableComponent","applyTheme","TABS","ThemedTabContent","TabContent","ThemedTab","Tab","ThemedTabs","tabsFactory","CompletePatientAssessmentMutation","atob","navbarHeader","_navbarHeader","FormNavigation","dialogActive","handleToggle","currentStep","totalSteps","isNextDisabled","onNextDisabledClick","isFullPage","isBeginning","submitForm","nextSection","isLastQuestion","saveForm","buttons","nextButtonProps","overrideNextButton","isEnd","formNavigation_objectSpread","formSubmittedNextAction","begin","showCompleteLater","onCompleteLaterClick","completeLater","previous","previousSection","onCompleteLaterLabel","snackbar_default","dismiss","timeout","onTimeout","Step","_Component","steps_createSuper","getStyles","after","marginLeft","available","squareClass","beforeClass","afterClass","ThemedStep","stepperStyle","Stepper","formStepper_createSuper","activeStep","steps","forms_steps","ThemedStepper","SavePatientAssessmentCaseFormMutation","jsonData","SubmitPatientAssessmentCaseFormMutation","PersonSummaryCard","customLabel","onNameClick","disableDeselectPerson","hideSubtitle","hideContactInformation","deselectPerson","deselectPersonIcon","data-type","RelayPersonSummaryCard","_React$Component2","_super2","personSummaryCard_createSuper","personSummaryCard_excluded","personSummaryCard_PersonSummaryCard","CaseInformationCard","caseInformationCard_createSuper","collapseInfoCard","parent","parentIdentifier","deselectPatientOptions","showPatient","fetchingPatient","shared_patientInformation","personSummaryCard","showRequesterDialog","showTreatingPhysicianDialog","InvitePersonToCaseMutation","carerId","inviteCarer","inviteCarerRelationshipTypeId","completeBy","personProfile","newFormDepartmentId","BasicPersonProfileFields","basicPersonProfileFields_createSuper","inputFields","getMetadata","vals","getAllValidations","Fragment","telephoneInput","invitationMustBeCompletedBy","_invitationMustBeComp","invitationSent","_invitationSent","newForm","_newForm","consentLabel","_consentLabel","CaseInvitationForm","caseInvitationForm_createSuper","setDate","requireNewFormDepartmentId","ignoreFormIds","caseInvitationForm_objectSpread","defaultRelationshipType","inviteMessages","patientThemself","invitationTypes","newCarerOfPatient","basicPersonProfile","inviteClicked","inviteWho","invitationType","patientEmailDescription","carerEmailDescription","patientEmailInvitationLabel","basicPersonProfileFields","asRequester","patientAdditionalTextLabel","patientAdditionalTextHint","minLength","additionalTextError","sendingInvite","telephone","SendCaseInvitationManualReminderMutation","caseInvitationId","caseInvitation","reminderSentNotification","_reminderSentNotifica","CaseInvitationsList","caseInvitationsList_createSuper","noCard","renderContent","invitations","CaseAborted","sendReminderButtonLabel","sendReminderClicked","remindersSent","reminderTitleLabel","sentOn","sentBy","typeLabel","sendingReminder","submittedFormNextMessage","_submittedFormNextMes","stepsTab","_stepsTab","fullPageTab","_fullPageTab","invitePatientToForm","_invitePatientToForm","fillFormWithPatient","_fillFormWithPatient","dataUnavailable","_dataUnavailable","confirmSubmissionTitle","_confirmSubmissionTit","confirmSubmission","_confirmSubmission","i18n_signedBy","i18n_licenseNumber","i18n_signedOn","PatientAssessmentForm","patientAssessmentForm_createSuper","hideFullPage","generateFormSteps","showFullPage","formSteps","failedSteps","cancelDialogToggled","FormHelpers","setAllFormData","hasMounted","canInvite","manuallyFill","formsI18n","skipJumpCheckTimeout","jumpCheck","hp","toDepartmentPatient","formName","stepIsValid","questionPacksCalculated","toggleCancelling","lastCompletedStep","lastValidStep","includePrefaceQuestion","stepUrl","autoSaveErrorCount","justSubmitted","progressionData","getProgressionData","SaveCaseFormMutation","patientAssessmentForm_objectSpread","progression","canComplete","complete","latestUrl","handleErrorWithoutComponent","submitFormInternal","total","getSubmitData","SubmitCaseFormMutation","getSubmitMetadata","parse_int_default","fullPageForm","jumpToSection","setCompleted","onNextSection","expectsRetrospective","skipPrefaceQuestion","validStep","allStepsAreValid","packs","stepIsValidOverride","stepQuestions","emt","bypassStep","_emt$props","allValid","formStepper","sharedInputsStyle","tab","appendQueryParameter","renderHeader","renderInfoCard","renderInvitable","renderForm","renderConfirmSubmission","renderSignatureDialog","renderCancelDialog","_classnames3","allErrors","handleTabChange","onActive","handleActive","stepper","renderBigStep","allSteps","formStep","canViewClinicalNotes","Notes_CaseClinicalNotes_CaseClinicalNotes","renderInvitations","formNavigation","currentStepIsValid","focusEmptyControl","resolveOverrideNextButton","canSendToEmr","completeForm","onSuccessCancelCase","_this$props7","isInvitingPatient","_this$props8","setInvitingPatient","renderInvitePatient","caseInvitationsList","caseInvitationForm","_this$props9","caseInformationCard","onInvalidNextSection","invalidSteps","failedStep","stepContainer","Introduction","introduction","FormRecommender","formValues","patientDemographic","scorer","FormScorer","totalScore","p7","er2","er2Total","frailtyLevel","pTag","patientMedicationSuggestion","patientAssistanceSuggestion","patientMobilitySuggestion","patientHomecareSuggestion","patientExerciseSuggestion","patientOtherAreasSuggestion","areaSuggestions","patientNutritionSuggestion","patientVisionSuggestion","patientHearingSuggestion","patientMemorySuggestion","patientIncontinenceSuggestion","patientMoodSuggestion","patientMobilityOtherSuggestion","translate","areas","MedicationQuantities","FiveNine","TenPlus","isNo","isYes","adlOrIadlValues","yesCount","renderPatientAlzheimerCaregiverSuggestion","recommendations","fontWeight","cols","lc","recommendation","summaryRow","testUrl","adlSpecialistRecommendationInternal","adlValues","adlScore","iadlValues","questionKey","questions","yesNoCount","nutritionScore","multimorbidityScore","communicationScore","cognitionScore","iadlScore","continenceScore","moodScore","mobilityScore","adlCount","iadlCount","frailtyScore","recommendationMedication","recommendationHomeCareSupportParentOrFriend","recommendationHomeCareSupportNoQ6","recommendationHomeCareSupportProfessional","recommendationExercise","recommendationVision","recommendationHearing","recommendationMemory","recommendationIncontinence","recommendationMood","recommendationMobility","recommendationCaregiverAlzheimer","patientAlzheimerCaregiverSuggestion","isClinicianPrintTab","Summary","onTabChange","recommender","patientTab","renderPatientSummary","clinicianTab","renderClinicianSummary","printForm","showPatientRecommendations","printing","patientSummaryOpener","patientOpener","patientSuggestions","patientSummaryAltenativeText","frailty","scoreFragility","specialistER2Definition","specialistP7Definition","table_default","loadCurrentTheme","attributeTheme","getAttribute","themeClone","themes_objectSpread","helpPage","normalizeUrl","loadTheme","GER_FCGA_pdfReportHeader_createSuper","loadingLogo","logoUrl","textDecoration","FORM_CODE","GerFcgaForm","GER_FCGA_form_createSuper","q25","getCaseMeta","_questionPacks","questionPacks","allQuestions","hasEQ5DQuestionnaire","eq5dQuestions","Zero","OneFour","s4","s5","GER_FCGA_formIntroduction","GER_FCGA_formSummary","GER_FCGA_pdfReportHeader","patientAssessmentForm","i18nMessages","AccountNotConfirmedTooltip","AccountNotConfirmedTooltip_objectSpread","CarerRecipient","relationshipTypeName","Recipients_AccountNotConfirmedTooltip","PatientRecipient","Recipient","recipient","Recipients_CarerRecipient","Recipients_PatientRecipient","Recipient_objectSpread","Carer","getFullName","User","_ref$isConfirmed","relation","InvitePersonToPortalMutation","patientConversationCaseId","participantIds","patientConversation","addParticipantToConversationMutation","InvitePatientUserToPortalMutation","AboutPatientCommunication","invitePatientUserToPortal","RelationshipDropdown","_ref$intl","locale","RelationshipDropdown_objectSpread","dropdownName","patientHimselfOption","newCarerOption","additionalText","INVITATION_TYPE","PatientUserPortalInvitationForm","setActions","setInvitationType","setCompleteBy","onSubmitMessage","userTypeOptions","vertical","shared_RelationshipDropdown_RelationshipDropdown","noneSpecified","scrollToConclusion","documentsWillBeSentToEmr","pdfHeaderTitle","conversationCompleted","printConversationCompleted","noUser","communication","newMessage","reply","requestClassification","specification","general","followUp","prescriptionRenewal","sendToArchive","questionnairesNotCompleted","about","recipients","communicationMethod","inviteSelectedParticipant","createNewParticipant","recipientAlreadyAdded","conclusionHeader","dialog","cannotRespondToMessage","sendMessage","writeMessage","completeRequest","subjectRePrefix","attachFiles","inviteToQuestionnaire","questionnaireToFill","questionnaireSection","showToast","showInviteDialog","toggleInviteDialog","canAddParticipants","AboutPatientCommunication_objectSpread","getRecipients","recipientOptions","getPersonId","getFullNameWithRelation","recipientI18nMessages","participantRecipient","foundRecipient","onChangeRecipient","formsyData","recipientId","align","Recipients_Recipient","shared_PatientUserPortalInvitationForm","PortalInvitationForm","CompletePatientConversationMutation","reasonOfCompletion","completePatientConversation","CompleteConversationDialog","_ref$viewer","requestClassifications","communicationTopics","requestClassificationOptions","mapDynamicList","communicationTopicOptions","hasEmrConnection","documentToSendToEmr","isSendableToEmr","filterAttachmentWithDocumentTypes","subformItems","subforms","subform","isCanceled","caseStatusUpdate","genericConsultMessages","dynamicListFragment","NoneSpecifiedFieldMessage","showField","ConclusionHeader","_ref$patientConversat","requestClassificationsDict","mapDynamicListToDict","communicationTopicsDict","shared_NoneSpecifiedFieldMessage_NoneSpecifiedFieldMessage","InviteToQuestionnaire","onClickInvite","showInviteToQuestionnaire","setShowInviteToQuestionnaire","subformOptions","AddMessagePatientConversationMutation","subformId","onAddMessagePatientConversation","NewMessagePatientCommunication","fromOptions","lastMessage","onSuccessSubmit","canAllowPatientToRespond","canAttachSubforms","patientFullName","subjectPrefix","getNewMessageSubject","components_InviteToQuestionnaire_InviteToQuestionnaire","updateInputsWithValue","ConversationItem","_ref$message","Conversation","Conversation_ConversationItem","PatientConversation","showNewMessageForm","_cas$data","_cas$data$patientConv","canAddMessages","isAddingMessage","toggleAddMessageForm","shared_Conversation_Conversation","components_NewMessagePatientCommunication_NewMessagePatientCommunication","completedByFullName","patientMustConfirmAppointment","patientMustConsent","recipientConfirmedAppointmentTime","recipientHasConsented","VideoConferencesCard","scheduleVideoConferenceModalIsToggled","toggleScheduleVideoConferenceModal","i18nMessage","subformName","SUBFORMS_COLUMNS","SubformTable","statusName","mapSubformItems","ReportSignatureCard","PatientConversationPageClinician","conclusionCardRef","showCancelDialog","toggleCancelDialog","showCompleteDialog","toggleCompleteDialog","toggleArchiveDialog","canViewPatientHeader","canViewConclusionHeader","defaultButtons","documentTypeListWithEmpty","none","customPrintHeader","AboutCommunication_AboutPatientCommunication","VideoConference_VideoConferencesCard_VideoConferencesCard","PATIENT_PatientConversation","components_SubformTable_SubformTable","components_ConclusionHeader","Signature_ReportSignatureCard_ReportSignatureCard","components_CompleteConversationDialog_CompleteConversationDialog","isArchived","redirectUrl","PatientConversationPagePatient","showCancelConfirmation","PatientHeader","PatientConversationPage","PATIENT_PatientConversationPageClinician","PATIENT_PatientConversationPagePatient","emptyForm_title","_warning","goNow","_goNow","EmptyForm","ms","timer","maxWait","redirectNow","SNORE_SCORE","lowThreshold","highThreshold","SLEEP_SCORE","BEHAVIOUR_SCORE","GerFcgaFormScorer","flagSrc","interpretation","ScoreLegend","legends","patientSummary","_patientSummary","generalInformation","_generalInformation","fatigueQualityOfSleep","_fatigueQualityOfSlee","hyperactivity","_hyperactivity","breathingDifficulties","_breathingDifficultie","importantInformation","_importantInformation","importantInformationProvidedByParent","_importantInformation2","consentToSendingACopyOfTheResultsInfo","RESP_EVA_formSummary_i18n_consentToSendingACop","parentalConsent","_parentalConsent","snoring","_snoring","sleep","_sleep","behavior","_behavior","snoringScore","_snoringScore","sleepScore","_sleepScore","behaviorScore","_behaviorScore","snoringScoreLowLegend","_snoringScoreLowLegen","snoringScoreMediumLegend","_snoringScoreMediumLe","snoringScoreHighLegend","_snoringScoreHighLege","sleepScoreLowLegend","_sleepScoreLowLegend","sleepScoreMediumLegend","_sleepScoreMediumLege","sleepScoreHighLegend","_sleepScoreHighLegend","behaviourScoreLowLegend","_behaviourScoreLowLeg","behaviourScoreMediumLegend","_behaviourScoreMedium","recommendationTitle","_recommendationTitle","recommendationIntro","_recommendationIntro","recommendationSleepScoreIntro2","_recommendationSleepS","recommendationSleepScoreLeft","_recommendationSleepS2","recommendationSleepScoreRight","_recommendationSleepS3","_interpretation","interpretationSleepLow","_interpretationSleepL","interpretationSleepMedium","_interpretationSleepM","interpretationSleepMedium2","_interpretationSleepM2","interpretationSleepHigh","_interpretationSleepH","interpretationBehaviorLow","_interpretationBehavi","interpretationBehaviorMedium","_interpretationBehavi2","interpretationBehaviorMedium2","_interpretationBehavi3","interpretationSnoringLow","_interpretationSnorin","interpretationSnoringMedium","_interpretationSnorin2","interpretationSnoringHigh","_interpretationSnorin3","RESP_EVA_formSummary_createSuper","componentDidUpdate","component1","getScore","getSleepScore","getBehaviorScore","renderClinicianSummaryWithData","replaceParentheses","replaceSmall","flagMedium","flagHigh","flagLow","RESP_EVA_ScoreLegend_ScoreLegend","threshold","RESP_EVA_QUESTIONS_KEY","YES_ANSWER","consentInfoKeys","_introduction","navbarHeaderOverride","_navbarHeaderOverride","consentToSendToPhysician","RespEvaForm","RESP_EVA_form_createSuper","isConsentToSendFormToPhysicianValid","RESP_EVA_form_objectSpread","q0c2_values","frequencyOptions","lessFrequencyOptions","shouldShowOldQuestion","renderAddNasalSprayForm","idx","handleAddNasalSprayForm","getErrorMessage","getValue","showRequired","renderIntro","renderSummary","guideUrl","freq0","freq1","freq2","freq3","freq4","RESP_EVA_formSummary","dispatchSelectedTags","arr","DISPATCH_SELECTED_TAGS","dispatchAnticipatedDate","newDate","DISPATCH_ANTICIPATED_DATE","dispatchLachineOnly","DISPATCH_LACHINE_ONLY","StepPermission","stepData","canUpdate","Footer","allowDraftSaving","secondaryBtnText","isEditable","secondaryOnClick","primaryOnClick","primaryBtnText","PopoverPlacement","Popover","modifiers","placement","sameWithAsRefElement","refElement","popoverRef","stateVisible","setStateVisible","handleOnClose","_usePopper","usePopper","newPopoverStyle","Popover_objectSpread","popper","popoverStyles","StepDataPropTypes","clinicalConditions","consentSignedByList","consultationResults","sortingResults","surgerySites","operaList","clinicalCondition","sortingResult","stepNames","stepId","tags","admissionAndSurgeryForm","_admissionAndSurgeryF","consentForm","_consentForm","clinicalOpinion","_clinicalOpinion","consultation","_consultation","consultationPlanning","_consultationPlanning","documentsExams","_documentsExams","discharge","_discharge","initialSorting","_initialSorting","phoneTeaching","_phoneTeaching","postDischargeReport","_postDischargeReport","preOperativeVisitPlanning","_preOperativeVisitPla","preOperativeVisit","_preOperativeVisit","surgeryInformationCorb","_surgeryInformationCo","transfusionConsentForm","_transfusionConsentFo","ActionItems","subItem","isDocuments","itemClass","itemIcon","mappedType","typeNameMaps","formatDate","_typeNameMaps","NavItems","itemIco","NavItems_typeNameMaps","navActivated","handleClick","Stepper_ActionItems","Stepper_NavItems","selectedTags","filterTag","Stepper_Step","SubmitThoracicSurgeryStepMutation","handWrittenSignatureId","handWrittenSignatureId2","submitStep","submitThoracicSurgeryStep","UpdateThoracicSurgeryStepMutation","updateStep","updateThoracicSurgeryStep","admissionSurgery","_admissionSurgery","ThoracicSurgeryForm_i18n_addDocument","consultationDate","_consultationDate","_clinicalCondition","clinicalConditionDropdown","_clinicalConditionDro","ThoracicSurgeryForm_i18n_clinicalOpinion","cnesstRelated","_cnesstRelated","consultationDelay","_consultationDelay","consultationNotePrintSuffix","_consultationNotePrin","ThoracicSurgeryForm_i18n_consultationPlanning","ThoracicSurgeryForm_i18n_consultation","consultationResult","_consultationResult","consultationPrep","_consultationPrep","ThoracicSurgeryForm_i18n_documentName","ThoracicSurgeryForm_i18n_documentsExams","ThoracicSurgeryForm_i18n_doneBy","estimatedDate","_estimatedDate","estimatedLengthSurgery","_estimatedLengthSurge","expectedOperativeProcedure","_expectedOperativePro","_fieldRequired","formsConsentTitle","formsConsent","_formsConsent","formsConsentSignedBy","formsConsentHeader","formsConsentLabel","formsConsentCompletionHeader","formsConsentCompletionText","ThoracicSurgeryForm_i18n_initialSorting","neededDocuments","_neededDocuments","preOpSite","_preOpSite","requiredExam","_requiredExam","_sortingResult","surgeon","_surgeon","surgery","_surgery","surgeryDate","_surgeryDate","surgeryToBeDetermined","_surgeryToBeDetermine","surgerySite","_surgerySite","suspectedCancer","_suspectedCancer","thoracicSurgery","_thoracicSurgery","thoracicSurgeryTitle","_thoracicSurgeryTitle","titleSection1","_titleSection","titleSection2","_titleSection2","titleSection3","_titleSection3","ThoracicSurgeryForm_i18n_admissionAndSurgeryF","ThoracicSurgeryForm_i18n_consentForm","ThoracicSurgeryForm_i18n_transfusionConsentFo","showAppointments","_showAppointments","appointmentsForPatient","_appointmentsForPatie","ThoracicSurgeryForm_i18n_preOperativeVisitPla","onlyPdfFiles","_onlyPdfFiles","lostOfDataWarning","printThorsurgForm","manageDownload","formCurrentStep","margins","fileNamePrefix","findStepById","urlFriendlyFileName","marginsParam","Toolbar","forwardedRef","useImperativeHandle","aria-label","ConnectedToolbar","downloadType","textDownload","forwardRef","ThoracicSurgeryModalActions","isSavingDraft","onSaveDraft","saveDisabled","showCancelButton","handleOnSaveAndClose","saveAndClose","procedures","_procedures","procedureName","_procedureName","anatomicalSite","_anatomicalSite","surgeryCodeOPERA","generalConsent","_generalConsent","generalConsentAuthorize","_generalConsentAuthor","generalConsentAllMd","_generalConsentAllMd","generalConsentMdTitle","_generalConsentMdTitl","generalConsentOrgans","_generalConsentOrgans","generalConsentOtherNecessaryIntervention","_generalConsentOtherN","generalConsentSection","_generalConsentSectio","generalConsentSideEffects","_generalConsentSideEf","generalConsentSubtitle","_generalConsentSubtit","generalConsentText","_generalConsentText","generalConsentText2","_generalConsentText2","generalConsentText3","_generalConsentText3","restrictions","_restrictions","otherRestrictions","_otherRestrictions","_signatureDescription","legalRepresentativeFullName","_legalRepresentativeF","MobileProcedure","procedure","surgeryCode","MobileProceduresTable","procedureModel","Node","proceduresList","Mobile_MobileProcedure","ProceduresTable","Mobile_MobileProceduresTable","SIGNATURE_PURPOSES","GeneralConsent","isRelayLoading","onSavedSignature","_ref$surgeonLastName","surgeonLastName","_ref$stepData","signerFullNameHack","statefulHandwrittenImageData","signatureModalOpen","setSignatureModalOpen","signaturePurpose","setSignaturePurpose","restrictionsUponAdmission","restrictionsSurgery","surgeonWithTitle","onClickRecordSignature","handleOnResetSignature","skeletonInputStyle","Signatures","Procedures_ProceduresTable","addHandWrittenSignatureMutation","legalSignatory","ThoracicSurgeryModalForm","stepType","isReadyToSubmit","parentStepId","setModalActions","printRef","isSignatureVisible","setSignatureVisible","_onSubmit","submitAction","isFormValid","_useDraft","autoDraftSaveName","draftErrors","getHandwrittenSignatureData","guid","customNotes","handwrittenSignaturesIds","toolbar","ThoracicSurgeryModalForm_excluded","ThoracicSurgeryModalForm_objectSpread","onFormSubmit","units","THORSURG_ThoracicSurgeryModalActions","THORSURG_Toolbar","_callee6","_context6","signatureInfoText","handleTags","withSurgeon","setTags","InitialSorting_i18n_initialSorting","InitialSorting_i18n_sortingResult","InitialSorting_i18n_surgeon","InitialSorting_i18n_clinicalConditionDro","InitialSorting","_ref$files","lists","dropdownSurgeon","initialSortingData","isSurgeon","isNotPrintable","isPrintable","thorSurgMessages","DocumentsExams_i18n_documentsExams","saveDocuments","_saveDocuments","DocumentsExams","allFiles","cur","Appointments","appointments","toggleShowAppointments","dataSource","dataIndex","canceled","appointmentId","startDate","endDate","ConsultationPlanning_i18n_consultationDate","ConsultationPlanning_i18n_consultationPlanning","ConsultationPlanning_i18n_consultation","ConsultationPlanning_i18n_fieldRequired","ConsultationPlanning","lastAppointment","canSubmitOrUpdate","ConsultationPlanning_Appointments","TransfusionConsent_i18n_patientConsent","physicianStatement","_physicianStatement","TransfusionConsent_i18n_transfusionConsentFo","transfusionConsentNoPatient","_transfusionConsentNo","transfusionConsentNoLegalRep","_transfusionConsentNo2","transfusionConsentYesPatient","_transfusionConsentYe","transfusionConsentYesLegalRep","_transfusionConsentYe2","transfusionConsentYesButPatient","_transfusionConsentYe3","transfusionConsentYesButLegalRep","_transfusionConsentYe4","transfusionConsentText","_transfusionConsentTe","transfusionProducts","_transfusionProducts","derivatives","_derivatives","signatureDescription1","TransfusionConsent_i18n_signatureDescription","signatureDescription2","_signatureDescription2","TransfusionConsent_i18n_legalRepresentativeF","TransfusionConsent","transfusionConsent","consentByPatient","thorsurgStyles","conditionalProduct","anesthesiaGeneralRegional","_anesthesiaGeneralReg","anesthesiaLocal","_anesthesiaLocal","anesthesiaNeuroleptic","_anesthesiaNeurolepti","anesthesiaSedation","_anesthesiaSedation","conditionAllergyLatex","_conditionAllergyLate","conditionAntibiotics","_conditionAntibiotics","conditionIsolation","_conditionIsolation","conditionOtherAllergy","_conditionOtherAllerg","lachineFrozenSection","_lachineFrozenSection","lachineGynecology","_lachineGynecology","lachineOnly","_lachineOnly","lachineOther","_lachineOther","lachineProne","_lachineProne","lachineSupine","_lachineSupine","specify","_specify","specifyAllergy","_specifyAllergy","AdditionalInfo_i18n_titleSection","typeAnesthesia","_typeAnesthesia","AdditionalInfo","setLachineOnly","lachineSelected","isOtherAllergy","setOtherAllergy","isOtherLachine","setOtherLachine","donnees","allergyLatex","antibiotics","anticipatedAdmission","frozenSection","gynecology","isolation","otherAllergy","prone","specifyLachine","supine","lachine","medicalCondition","skeletonStyle","thorsurg","_anticipatedAdmission","anticipatedSurgery","_anticipatedSurgery","_requestDate","siteLachine","_siteLachine","siteLaSalle","_siteLaSalle","siteRvh","_siteRvh","siteMnh","_siteMnh","siteMgh","_siteMgh","General_i18n_surgerySite","GeneralSection","setAnticipatedDate","today","anticipatedDate","dateSkeletonStyle","DatePicker","handleChangeDate","consentSignature","_consentSignature","addProcedure","_addProcedure","AdmissionSurgery_i18n_admissionSurgery","AdmissionSurgery_i18n_anatomicalSite","AdmissionSurgery_i18n_expectedOperativePro","AdmissionSurgery_i18n_procedureName","registerPatient","_registerPatient","searchButtonLabel","_searchButtonLabel","_surgeryCode","textButtonLabel","_textButtonLabel","AdmissionSurgery_i18n_titleSection","AdmissionSurgery_i18n_legalRepresentativeF","AdmissionSurgery_i18n_signatureDescription","changeToPatient","_changeToPatient","changeToLegalRepresentative","_changeToLegalReprese","Procedure","allowDelete","useReferenceList","uniqueKey","isSearchModeEnabled","toggleSearchMode","operaCode","setOperaCode","setProcedure","procList","mapProcList","codeList","mapCodeList","showSearch","proc","list","sortList","Procedures","genKey","setKeys","procedureNames","setProcedureNames","anatomicalSites","setAnatomicalSites","surgeryCodes","setSurgeryCodes","useReferenceLists","setUseReferenceLists","from_default","_","handleRemoveProcedure","removeIndex","instructions","Procedures_Procedure","newArray","admissionBeforeSurgery","_admissionBeforeSurge","admissionDaySurgery","_admissionDaySurgery","admissionPatientSDA","_admissionPatientSDA","caseReason","_caseReason","clinicalPriority","_clinicalPriority","clinicalPriorityP0","_clinicalPriorityP","clinicalPriorityP1","_clinicalPriorityP2","clinicalPriorityP2","_clinicalPriorityP3","clinicalPriorityP3","_clinicalPriorityP4","clinicalPriorityP4","_clinicalPriorityP5","clinicalPriorityP5","_clinicalPriorityP6","clinicalPriorityP6","_clinicalPriorityP7","MedicalServices_i18n_cnesstRelated","days","_days","destinationPostOp","_destinationPostOp","destinationICU","_destinationICU","destinationNursingUnit","_destinationNursingUn","destinationPACU","_destinationPACU","diagnosisAndSites","_diagnosisAndSites","_endDate","estimatedLengthStay","_estimatedLengthStay","MedicalServices_i18n_estimatedLengthSurge","locationRVHSouth","_locationRVHSouth","locationRVHNorth","_locationRVHNorth","locationMGHMain","_locationMGHMain","locationMGHDS","_locationMGHDS","oncology","_oncology","orLocation","_orLocation","orPriority","_orPriority","otherServicesSurgeon","_otherServicesSurgeon","patientOnHold","_patientOnHold","priorityAnytime","_priorityAnytime","priorityFirstCase","_priorityFirstCase","priorityPMCase","_priorityPMCase","priorityLastCase","_priorityLastCase","reasonHoldPersonal","_reasonHoldPersonal","reasonHoldPreTreatment","_reasonHoldPreTreatme","reasonHoldMedical","_reasonHoldMedical","_startDate","surgeryLengthRoutine","_surgeryLengthRoutine","surgeryLengthMore","_surgeryLengthMore","surgeryLengthLess","_surgeryLengthLess","MedicalServices_i18n_suspectedCancer","MedicalServices_i18n_titleSection","transplant","_transplant","_treatingPhysician","tumorSite","_tumorSite","typeAdmission","_typeAdmission","EstimatedLengthSurgery","setEstimatedLengthSurgery","isMoreThan","isLessThan","ref1","ref2","estimatedLengthOptions","moreMinutes","lessMinutes","MedicalServices","isAdmissionBefore","setIsAdmissionBefore","isCancer","setIsCancer","isOnHold","setOnHold","isReasonNeeded","setIsReasonNeeded","isTransplant","setIsTransplant","diagnosisAndSite","endDateHold","estimatedLength","medical","nbDaysBefore","otherServices","patientHold","personal","pmCaseReason","preTreatment","startDateHold","clinicalPriorityHold","yesNo","styleSkeletonSection","MedicalServices_EstimatedLengthSurgery","AdmissionSurgery_Procedures","marginRight","additionalTests","_additionalTests","serviceAutologousBloodDonor","_serviceAutologousBlo","serviceTypeScreen","_serviceTypeScreen","serviceBiometry","_serviceBiometry","TestPreOp_i18n_titleSection","_units","TestPreop","typeAndScreen","isTypeAndScreen","autologousBloodDonor","biometry","typeScreen","additionalService","ChangeToMessageMapper","_ChangeToMessageMappe","AdmissionSurgery","setSignerFullNameHack","toggleSignatoryType","handleOnToggleSignatoryType","General","AdmissionSurgery_MedicalServices","AdmissionSurgery_AdditionalInfo","TestPreOp","thorSurgStyle","clinicalNotes","_clinicalNotes","preopPlanningTitle","_preopPlanningTitle","preopVisitDate","_preopVisitDate","PreopPlanning","PreopVisit_i18n_clinicalNotes","preopPatientStatus","_preopPatientStatus","preopPatientReady","_preopPatientReady","preopPatientUnfit","_preopPatientUnfit","preopVisitTitle","_preopVisitTitle","PreopVisit_i18n_preopVisitDate","PreopVisit","preopPlanningStep","findLastStepByType","patientStatus","_anticipatedDate","anticipatedSurgeryTitle","_anticipatedSurgeryTi","specifiedBy","_specifiedBy","diffPropertyName","setIsModalOpen","historyColumns","historyModel","historyData","dataDiffs","diff","initialDiff","cloneDeep","historyDiff","lastDateIndex","lastDate","getHistoryData","onOk","ok","SurgeryInformationCorb_i18n_clinicalNotes","SurgeryInformationCorb_i18n_surgeryInformationCo","SurgeryInformationCorb_i18n_surgeryDate","SurgeryInformationCorb_i18n_surgeon","SurgeryInformationCorb","dropdownSurgeons","THORSURG_History","dischargeReportTitle","_dischargeReportTitle","dischargeSummary","_dischargeSummary","DischargeReport_i18n_neededDocuments","bypassRequiredDocuments","_bypassRequiredDocume","operativeReport","_operativeReport","pathologyReport","_pathologyReport","DischargeReport","PhoneTeaching_i18n_clinicalNotes","phoneTeachingTitle","_phoneTeachingTitle","phoneCallDate","_phoneCallDate","PhoneTeaching","delayOneWeek","_delayOneWeek","delayTwoWeeks","_delayTwoWeeks","delayThreeWeeks","_delayThreeWeeks","delayFourWeeks","_delayFourWeeks","delayUnnecessary","_delayUnnecessary","dischargePatientTitle","_dischargePatientTitl","orientationHouse","_orientationHouse","orientationHospitalized","_orientationHospitali","orientationRehabilitationCenter","_orientationRehabilit","orientationPalliativeCare","_orientationPalliativ","patientLeaveDate","_patientLeaveDate","postOpDelay","_postOpDelay","postOpOrientation","_postOpOrientation","DischargePatient","patientLeave","Consultation_i18n_clinicalCondition","Consultation_i18n_consultation","Consultation_i18n_consultationDate","Consultation_i18n_consultationDelay","consultationNotes","_consultationNotes","Consultation_i18n_consultationPlanning","Consultation_i18n_consultationPrep","Consultation_i18n_consultationResult","Consultation_i18n_formsConsent","Consultation_i18n_preOpSite","_header","fillTheForms","continueFillTheForms","doneFillTheForms","signAndPrintMessages","Signature_i18n_objectSpread","stepMessages","admissionAndSurgeryFormMessages","consentFormMessages","transfusionConsentFormMessages","bypassHeader","getSignature","deleted","getHandWrittenSignatureImageMapFromStepData","handWrittenSignatureImageMap","child","_handWrittenSignature","handWrittenSignature2","Consultation","setModalChildren","setShowModal","consultationId","onModalCancel","fillTheFormButtonRef","signedByOptions","Consultation_objectSpread","setHandWrittenSignatureImageMap","signatureData","handleSignatureChangeByStep","initialSortingStep","consultationPlanningStep","findNextStepId","currentStepId","setCurrentStepId","setSurgerySite","setConsultationResult","isConsentByModalVisible","setConsentByModalVisible","isAllSubFormsCompleted","setAllSubFormsCompleted","setConsentBy","nextSubStepId","resolveSubForm","launchLifecycle","patientDischargeStep","wrapOnModalCancel","onToggleSignatoryType","ConsentBy","openInReadOnly","subStep","stepHandwrittenSignatureData","stepPermissions","isStepFormValid","nullSafeStatefulHandwrittenImageData","bothSignatureFromData","firstSignatureFromDataAndSecondFromState","firstSignatureFromStateAndSecondFromData","bothSignatureFromState","stepProps","subForm","steps_AdmissionSurgery","steps_GeneralConsent","signedByClinician","steps_TransfusionConsent","THORSURG_ThoracicSurgeryModalForm","THORSURG_Stepper","showRequestedStep","consultationStyles","shared_Popover_Popover","offset","Labels_InputLabel_InputLabel","ConsultationPrint","patient_PatientSectionPrint","lookUpLabel","findArrayByValue","el","eChild","reverse","_step3","_iterator3","includeEmpty","relayQuery","THORSURG_helpers_objectSpread","RenderPrintStep","isConsultation","Consultation_ConsultationPrint","resolveStep","foundStep","stepParameter","page","isPrintRequired","displayFooter","hideOnPrint","cleanData","stayOnCurrentStep","validationDialog","signPrint","buildSignatureDialog","steps_InitialSorting","acknowledgeDialog","isValidationRequired","setAsSignAndPrint","steps_Consultation","steps_DocumentsExams","steps_ConsultationPlanning","steps_PreopPlanning","steps_PreopVisit","steps_SurgeryInformationCorb","setDialogText","missingDocTypes","currentCase","unsubmittedAttachments","mandatoryDocTypes","unsubmittedDocType","foundDocType","attAccumulator","mandatoryDoc","validateMandatoryAttachment","mList","steps_DischargeReport","steps_PhoneTeaching","steps_DischargePatient","okText","cancelText","dialogText","NavKeys","ThoracicSurgeryForm","InitialFilesState","InitialParsedDataState","isValidationDialogShowing","setShowValidationDialog","isShowModal","modalChildren","modalActions","isLoadingDraft","foundCondition","findLatestProperty","propName","_step2","_iterator2","nextStepId","admSurgery","findStepByType","innerSubmit","handleSaveWithFiles","ThoracicSurgeryForm_objectSpread","mergedData","getMergedData","newData","abortTransaction","partialData","ThoracicSurgeryForm_excluded","isPrinting","allowCancel","patientCustomLabel","showMrns","Nav_NavContent","THORSURG_Footer","saveDraft","THORSURG_RenderPrintStep","hasSavedData","notice","noticeType","CompleteDynamicFormCaseMutation","formCompletionDate","completeDynamicFormCase","submitDynamicFormDraftResultsMutation","submitDynamicFormDraftResults","SubmitDynamicFormResultsMutation","submitDynamicFormResults","DynamicFormCaseFormolViewer","FormolViewer_CardFormolViewer","pageTitle","questionnaire","invitePatientToCase","completeModalTitle","completedSuccessfully","acceptAndClose","questionnaireCompleted","completionDate","TabPane","Tabs","IsDynamicForm","DynamicFormPage","isCanceling","toggleIsCanceling","isCompleting","toggleIsCompleting","toggleIsInvitingPatient","setFormCompletionDate","_viewer$case$data$per","_onSubmitForm","_onSubmitFormDraft","defaultActiveKey","DYNAMICFORM_DynamicFormCaseFormolViewer","disabledDate","valueOf","formTypes","GER_FCGA","ECONSULT","PATIENT","RESP_EVA","DEFAULT","GENERICv2","DYNAMIC","_forms","IsGeriatricsForm","getFormTypeFromCode","caseNotFound","_caseNotFound","FormWrapper","skipView","notFoundPage","splashScreen","formComponent","activeCase","GeriatricsForm","FormResolver","formWrapper_objectSpread","FormPage","routeParams","route","changeSectionRoute","formWrapper","main","formPage_objectSpread","AssignAttachmentsToClinicalDomainMutation","attachmentIds","availableActions","_availableActions","ClinicalDomainAttachments","assignAttachmentsToClinicalDomain","hasId","ClinicalDomainAttachments_objectSpread","printContainer","classList","PrintRoute","Route","Header","displayName","getHeaderSection","childrenHeader","mainHeader","default","SNACK_BAR_NOTIFICATION_TYPES","mapToGerudoNotificationTypes","_mapToGerudoNotificat","mapNotificationTypeToMessageNotification","_mapNotificationTypeT","Snackbar","dialogNotice","dialogNoticeVisible","dialogNoticeType","hideDialogNotice","Snackbar_excluded","notification","AnonymousLayout","headerLogo","mainStyle","layout_headerSection","setLanguage","changeLanguage","hideNavDrawer","getElementsByTagName","headerSection","mainSection","navDrawerActive","permanentAt","toggleNavDrawerActive","navigationStyle","navigation_default","lib_link","isSupportAvailable","helpAndChat","changeLang","app_bar","onLeftIconClick","layout_Snackbar_Snackbar","eventMessages","eventTypeRequestCreated","_eventTypeRequestCrea","eventTypeRequestSubmitted","_eventTypeRequestSubm","eventTypeReportCompleted","_eventTypeReportCompl","eventTypeCaseClosed","_eventTypeCaseClosed","eventTypeCaseCanceled","_eventTypeCaseCancele","eventTypeCaseAborted","_eventTypeCaseAborted","eventTypeCaseViewed","_eventTypeCaseViewed","eventTypeCaseDispatched","_eventTypeCaseDispatc","eventTypeCaseRedispatchRequested","_eventTypeCaseRedispa","eventTypeInformationRequested","_eventTypeInformation","eventTypeRequestCanceled","_eventTypeRequestCanc","eventTypeRequestCompleted","_eventTypeRequestComp","eventTypeCaseReopened","_eventTypeCaseReopene","eventTypeRequestArchived","_eventTypeRequestArch","eventTypeReportArchived","_eventTypeReportArchi","eventTypeContributionAdded","_eventTypeContributio","eventTypeRequesterChanged","_eventTypeRequesterCh","eventTypeRequestModified","_eventTypeRequestModi","eventTypeUnknown","_eventTypeUnknown","eventTypeDestinationAdded","_eventTypeDestination","eventTypeDestinationCanceled","_eventTypeDestination2","eventTypeDestinationDispatched","_eventTypeDestination3","eventTypeDestinationRedispatchRequested","_eventTypeDestination4","eventTypeDestinationReportArchived","_eventTypeDestination5","eventTypeDestinationReporterAssigned","_eventTypeDestination6","eventTypeDestinationReportSubmitted","_eventTypeDestination7","eventTypeDestinationRequestArchived","_eventTypeDestination8","eventTypeDestinationRequesterChanged","_eventTypeDestination9","eventTypeDestinationRequestSubmitted","_eventTypeDestination10","eventTypeDestinationReportClarificationRequested","_eventTypeDestination11","ActivityRow","l","caseUrl","requestId","selectCase","messageKey","parseType","getCaseUrl","requestIdentifier","hasDepartment","hasClinicalDomain","hasDestination","childRequestIdentifier","delegateAuthor","historyMessages","onBehalfOf","currentUserIsDelegateAuthor","activity","renderMessages","eventTime","activityMessages","activityStream_headerTitle","allActivity","_allActivity","myActions","_myActions","recentCases","_recentCases","setActivityView","ActivityViews","ALL","userOnly","MY_ACTIONS","RECENT_CASES","loadNotifications","view","activityView","activityRow","activityStream_objectSpread","notifications","getTabIndex","renderRows","continue","_continue","warningTitle","_warningTitle","warningBrowser","_warningBrowser","browserVersionAsInt","browserVersionAsString","tryGetBrowserVersionAsInt","browserVersion","showWarning","browserName","isChrome","isChromium","isFirefox","isEdge","isSafari","isIOS","BrowserWarning","isShowingWarning","setIsShowingWarning","LoggedInLayout","drawerPinned","defaultPageTitle","currentPageTitle","dialogPresent","initSupport","logSupportUserIn","cloneElement","drawer_default","notificationDrawerActive","hideNotificationDrawer","activityStream","renderWithoutMenu","renderWithMenu","layout_BrowserWarning","mainNavigation","renderLogo","notificationDrawer","ruisIcon","MainNavigation","CasesDispatchPage","dispatching","dispatchSubmit","caseDispatchPage_objectSpread","CaseRequestRedispatchPage","caseRequestRedispatchPage_objectSpread","sortByUpdatedOn","sortByRemainingDays","CaseSortDropdown","setSortColumn","sortColumn","isVisible","setIsVisible","CaseColumns","UPDATED_ON","DUE_AT","trigger","renderDropdownMessage","headerReducer","CaseCard","flex","caseRowIcons","dueAt","informationRequestStatusIcon","informationRequestStatus","CaseContainer","caseComponent","dispatchAction","requestRedispatchAction","cancelCaseAction","archiveCaseAction","CaseTableHeader","caseStyle","filtering","ascending","ripple","columnUpdatedOn","_columnUpdatedOn","columnOriginDepartment","_columnOriginDepartme","columnDestinationDepartment","_columnDestinationDep","columnCaseType","_columnCaseType","columnAction","_columnAction","columnExtraAction","_columnExtraAction","columnStatus","_columnStatus","CaseTable","fetching","caseTableHeader","LEGACY_ID","ORIGIN_DEPT","DEST_DEPT","caseType","CASE_TYPE","patientFirstName","FIRST_NAME","LAST_NAME","GENDER","patientBirthday","BIRTHDAY","STATUS","PRIORITY","CLINICAL_DOMAIN","extraAction","caseEdges","caseLabels","getCaseLabels","renderText","getAction","columnName","setSortOrder","Orders","DESCENDING","ASCENDING","prevAction","casesTotals","nextAction","handleSelect","getRow","renderNavigation","eConsultFilterAll","_eConsultFilterAll","eConsultFilterDraft","_eConsultFilterDraft","eConsultFilterInformationRequested","_eConsultFilterInform","eConsultFilterWithReport","_eConsultFilterWithRe","eConsultFilterWithReferral","_eConsultFilterWithRe2","dispatchFilterAwaitingReport","_dispatchFilterAwaiti","dispatchFilterAwaitingInformation","_dispatchFilterAwaiti2","dispatchFilterAwaitingReview","_dispatchFilterAwaiti3","CaseSearch","caseSearch_createSuper","incrementation","eConsultFilterIndex","dispatchFilterIndex","tableFirst","tableOffset","sortOrder","forceFetchVariables","updateVariables","before","last","caseSearch","CaseTypes","IN_PROGRESS","WAITING","showEConsultFilter","renderEConsultFilter","showDispatchFilter","renderDispatchFilter","cases_CaseSortDropdown_CaseSortDropdown","renderCancelCaseDialog","renderArchiveCaseDialog","handleEConsultFilterChange","activeCaseArchive","handleDispatchFilterChange","showStartRequestLink","renderCaseTable","renderCaseRows","caseContainer","caseTable","nextPage","prevPage","ConnectedCaseSearch","isTableView","caseSearch_objectSpread","SearchToolbar","onQueryChange","queryValue","setQueryValue","onModalSearch","searchInput","enterButton","onSearch","setHeaderQuery","caseMap","COMPLETED","ARCHIVED","viewCasesAsRow","_viewCasesAsRow","viewCasesAsTable","_viewCasesAsTable","CasesHeader","disableTableView","isNewPage","getTitleText","appBarIconsStyle","enableTableView","toggleNotificationDrawerActive","searchToolbar","CasesListPage","checkEvent","onlyAffectsCase","cases_caseSearch","CaseRow","CaseTotalChip","caseTotalChip_excluded","CaseTabs","caseTabs_createSuper","reverseIndexMap","indexMap","onTypeChange","totals","originalTotals","originalCasesTotals","font_icon","typeUrl","getTabLabel","0","1","2","3","ConnectedCasesTabs","CasesTabsPage","renderPatientHelp","caseTabs","caseI18n","AddPatientMutation","PatientRow","switchToFullForm","_switchToFullForm","switchToShortForm","_switchToShortForm","_AddPatient","addPatient_createSuper","allowQuickAdd","isQuickAdd","findingSimilarPatients","findSimilarPatients","isValidDate","updateSimilarPatientErrors","calculateAge","hospitalLegacyId","mapped","switchAdd","patientExternalSourceWarning","randomPID","handleSimilarPatientSelect","renderQuickAdd","renderRegularAdd","renderSaveButton","renderCancel","nameRequired","merge","healthInsuranceFieldset","demographicFieldset","similarPatientsStatus","addressFieldset","familyPhysicianFieldset","updateInputsWithError","onFinish","buildFamilyPhysician","addPatient","HealthInsuranceFieldset","DemographicFieldset","AddressFieldset","FamilyPhysicianFieldset","_addPatient","hospitalCards","_hospitalCards","PatientSelector","selectedPatient","addPatientDialogActive","loadingHospital","handleDepartmentChange","_this$props$intl","disable","skipEvents","onDepartmentSelected","showRequester","requesterIsOptional","currentRequesterId","renderPatientSearch","renderCreateButton","patientSearch","selectPatient","addPatientSubmit","create","hospitalsI18n","onPatientSelected","AddPatient","PatientSearch","AddPatientCaseMutation","requesterDepartmentId","type(IN_PROGRESS)","PatientRequestFormPicker","creatingRequest","mutationParams","addPatientCase","newRequest","selectable","newCarerCaseDescription","_newCarerCaseDescript","newCarerCaseDepartmentsDescription","_newCarerCaseDepartme","CarerNewRequestForm","asCarer","patientRequestFormPicker","patientRow","contextInformation","AddConversationConsultCaseMutation","newPatient","submitData","AddGenericConversationConsultCaseMutation","requestWrittenOn","_requestWrittenOn","requestReceivedOn","_requestReceivedOn","_reason","Parameters","InjectedParameters","chooseDomain","_chooseDomain","redirectAlert","_redirectAlert","setSubForm","domainIds","hiddenInput","NewRequestFormParameters","THORSURG_Parameters","LegacyParameters","Parameters_objectSpread","buildThoracicSurgery","buildLegacy","activityTypeRequired","_activityTypeRequired","activityType","_activityType","onlineConsultation","_onlineConsultation","teleconsultationLegacy","_teleconsultationLega","GenericNewRequestForm","selectedPatientId","responseMutationName","buildParameters","renderRequest","genericNewRequestForm_objectSpread","currentDestination","currentDestinationData","getData","apss","renderEditableRequester","renderEditablePatient","eConsultStyle","formTypeText","newRequestFormParameters","refacStyles","onChangeDepartment","pickingPatient","patientSelector","choosePatient","choosePatientRequired","physicianInput","hasPatientId","PatientNewRequestForm","asPatient","newSpecialistCaseDescription","_newSpecialistCaseDes","SpecialistNewRequestForm","renderPatient","renderPicker","patientSelected","specialistNewRequestForm_objectSpread","NewCasePage","genericNewRequestForm","patientNewRequestForm","isCarer","carerNewRequestForm","newTitle","_newTitle","loadedDataFromPreviousRequest","_loadedDataFromPrevio","chooseExistingPatient","_chooseExistingPatien","tempItemKey","EConsultFormStart","ECONSULT_form_start_createSuper","depts","newRequestSavedItem","addRequest","formMessages","discard","removeAutoSavedItem","onDiscarded","actuallySubmit","invalidRequiredInputs","_isPristine","doneState","addClinicianConversationConsultCase","onCreated","createPatient","clientMutationId","onHospitalChanged","onPhysicianChanged","fromDept","allowPick","formsy","renderPickPatient","ECONSULT_form_start_objectSpread","EConsultHeader","NewEConsultPage","newEConsultPage_createSuper","ECONSULT_form_start","submitted","GenericHeader","prepareWidgetListParams","caseRoutes_objectSpread","defaultParams","ViewerQueries","VideoHeader","genericHeader","caseRoutes","components","prepareParams","CaseDispatchPage","FormHeader","_viewer$case","gerFcga","respEva","respEvaMessages","eConsult","eConsultMessages","patientMessages","genericFormMessages","thorsurgMessages","CalendarToday_default","ThemedFormHeader","formHeader_objectSpread","noSplash","SURVEY_form_name","SurveyForm","schema","$schema","actualSteps","click","advance","setFormParams","stepValues","fields","TitleField","TitleField_default","widgets","RadioWidget","enumOptions","TextWidget","uiSchema","getUISchema","react_jsonschema_form_lib_default","noHtml5Validate","showErrorList","liveValidate","properties","prop","scan","doFunc","cal","dependencies","order","ui:options","$id","testJsonSchemas","const","qd1","qd2","qd3","enum","SurveyPage","SURVEY_form","formRoutes","ErrorsHeader","ErrorsPage","errorsPage_createSuper","dismissGlobalErrors","atUrl","noErrors","liveSupport","_liveSupport","HelpPage","helpHtml","showSupportWidget","ThemedHelpPage","HelpHeader","generalRoutes","ShowAndSearchPatients","hospitalIdLabel","setHospitalLegacyId","renderHospital","selectPatientUrl","hospitalsTranslation","_AddPatientPage","patientSaved","back","EditPatientPage","PatientsHeader","MyPatientInformationPage","oldTitle","MyPatientsHeader","MyPatientsList","throttledUpdateVariables","onlyPendingInvitations","renderMobile","renderMobileCarer","showSelectButton","patientUrl","clickableChips","informationTextOnly","myPatients","MyPatientsFilter","myPatientsList_objectSpread","MyPatientsListPage","myPatientsList","filterAll","_filterAll","filterMyDepartments","_filterMyDepartments","filterMine","_filterMine","addPatientDescription","_addPatientDescriptio","_onlyPendingInvitatio","MyPatientsTabs","myPatientsTabs_createSuper","onFilterChange","filterUrl","allowOtherThanMine","renderFilters","MINE","MY_DEPARTMENTS","showOnlyPendingInvitations","renderAddDialog","onPatientCreated","MyPatientsTabsPage","myPatientsTabs","ImportPatientsMutation","importPatientsMutation","importWithSuccess","sex","birthDate","cellPhone","ImportPatientsTable","year","month","ImportPatientsTable_objectSpread","emptyText","FilesList","importPatientsModels","GENDER_TYPES_MAP","F","M","X","ImportPatients","_useUploadXlsxFilesTo","range","importedPatients","formattedData","importPatients","importedPatient","formsyErrors","inputs_filesInput","onFilesPicked","ImportPatients_FilesList","ImportPatients_ImportPatientsTable","ImportPatientsHeader","patientRoutes","exact","strict","AddPatientPage","ActivityHeader","ActivityPage","DepartmentForm","departmentForm_createSuper","nameEnglish","nameFrench","nameEnglishChanged","nameFrenchChanged","emailsChanged","searchingHospitals","throttledSearchHospitals","searchHospitals","departmentMetadata","getValidations","hospitalSource","networksSource","networks","formSource","availableForms","multiple","checkboxInput","q","DepartmentPicker","departmentPicker_createSuper","searchingDepartments","throttledSearchDepartments","searchDepartments","departmentSource","departmentQuery","CheckboxListInput","checkboxListInput_createSuper","currentValue","checkboxListStyle","renderLabel","radioTheme","getRequiredSpan","hasLabel","AddPersonMutation","PersonSettingsAuthentication","isAccessRequest","generatedPassword","authentication","renderAccessRequest","renderNewUser","renderAlreadyUser","isTwoFactorEnabled","enableTwoFactorAuthentication","renderLockedOut","checkboxListInput","oneRequired","passwordInput","showPasswordGeneration","accessRequestComments","profileMessages","activeHelp","userType","userTypeFull","userTypeReferMD","createPassword","setPassword","hasPendingInvitation","userIsConfirmed","userNotConfirmed","myInvitationMessages","changePasswordForm","buttonOnly","isLockedOut","userLockout","lastLockoutDate","unlockThisUser","unlocking","ChangePasswordForm","RequestAccessMutation","identification","_identification","_authentication","_enableTwoFactorAuthe","_unlockThisUser","_userType","_userTypeFull","_userTypeReferMD","_userLockout","userUpdated","_userUpdated","userCreated","_userCreated","userNameTaken","_userNameTaken","_roles","requestAccess","_requestAccess","_invitationType","_createPassword","_setPassword","_inviteUser","_userNotConfirmed","accessRequestSent","_accessRequestSent","accessRequestConfirmation","_accessRequestConfirm","acceptAccessRequest","_acceptAccessRequest","_accessRequestComment","PersonSettingsForm","isAnonymous","setUserNameError","userExists","lastUserNameTaken","onUserNameTaken","canEditUser","getPerson","requestComment","emailAddress","onPersonSaved","updatePerson","addPerson","canEditIsActive","renderAccessRequestSent","renderIdentification","renderAuthentication","accessRequest","approvedOn","checkingUserName","hasUserName","validateUserName","personSettingsAuthentication","QuickInvitePersonMutation","createDepartmentLabel","_createDepartmentLabe","assignDepartmentLabel","_assignDepartmentLabe","QuickInvitePersonForm","departmentValue","personMessages","splitEmails","isEConsultAllowed","quickInvitePerson","departmentForm","renderAssignDepartment","departmentPicker","QuickInvitePersonPage","quickInvitePersonForm","UserCreatePage","createUser","personSettingsForm","UserEditPage","AccessRequestHeader","accessRequests","AccessRequestRow","requestUrl","requestedOn","comment","getRequestUrl","noRequestFound","_noRequestFound","AccessRequestSearch","AccessRequestSearch_createSuper","renderAccessRequests","requestEdges","renderRequestRows","accessRequestRow","AccessRequestSearch_objectSpread","AccessRequestPage","users_AccessRequestSearch","ConfirmEmailAddressMutation","emailConfirmed","_emailConfirmed","emailConfirmationError","_emailConfirmationErr","confirmEmail","_confirmEmail","ConfirmEmailPage","confirmingEmail","userEmailIsConfirmed","renderUserConfirmed","renderEmailConfirmed","userIsAlreadyConfirmed","ImportUsersHeader","importUsers","ImportUsersMutation","users","onlyAddNewDepartments","updateExisting","importUsers_roles","userCount","_userCount","_departments","noUsers","_noUsers","tableLegend","_tableLegend","resultsLegend","_resultsLegend","_updateExisting","_onlyAddNewDepartment","_downloadTemplate","exportUsers","_exportUsers","ImportUsers","importing","exportingUsers","uploadingFiles","importUsers_objectSpread","beginImportUsers","filesInputStyle","errorCount","warningCount","renderUsers","renderOptions","passwordScore","formatAddress","invalidTelephoneNumber","invalidEmails","invalidRoles","invalidDepartments","created","stack","handleUsers","handleFile","newUsers","UserName","Password","FirstName","LastName","City","Country","Province","PostalCode","Phone","LicenseNumber","Birthday","Email","Comment","Roles","DepartmentIds","passwordInputTheme","getTooShortScore","departmentIds","isTelephoneNumber","_this9$props$viewer","allDepartments","allRoles","provinceName","country","province","getUsers","allCountries","_loop2","ThemedImportUsers","ImportUsersPage","_pageTitle","RequestAccessPage","InstallVideoConferenceProviderMutation","installVideoConferenceProvider","retry","VideoConferenceCallBackPage","codeQueryStringKey","setLoading","onCompleted","installProvider","onInstallProvider","ErrorsContainer_ErrorsContainer","zoomIsLinking","ZoomProviderCallbackPage","CallbackPage_VideoConferenceCallBackPage","teamsIsLinking","TeamsProviderCallbackPage","userRoutes","ConfirmRegistrationPage","EventInfoModal","_ref$event","extendedProps","requestLegacyId","requestLink","modalStyle","addToCalendarMessages","formatTime","calendar","schedule","Calendar","eventModalToggled","toggleEventModal","setEvent","events","m","dist_main","plugins","interactionPlugin","timeGridPlugin","listPlugin","daygridPlugin","headerToolbar","week","initialView","eventClick","setModal","slotMinTime","slotDuration","eventClassNames","calendarStyle","dayCellClassNames","isToday","isPast","locales","frLocale","firstDay","datesSet","fetchDates","events_EventInfoModal","CalendarPage","calendar_Calendar","HospitalUserList","fullname","pagination","HospitalsPage","setHospitals","setHospital","hasHospitalId","hospitalUserList_HospitalUserList","hospitalsPage_objectSpread","clinicRoutes","isLogIn","accountRoutes","NotFoundPage","ProdRoot","idleTimer","handleOnAction","handleOnActive","handleOnIdle","styleTheme","favicon","currentLang","flattenMessages","nestedMessages","prefixedKey","Menu","lib","react_redux_lib","getIdleTimeout","onIdle","onAction","debounce","stopOnIdle","setPrintLanguage","RootContainer","PrintContainer","applyRouterMiddleware","useRelay","onUpdate","environment","rootContainer","logout","skeleton","FileReader","readAsBinaryString","asBuffer","oReq","XMLHttpRequest","setRequestHeader","arraybuffer","lastIndexOf","dispo","getResponseHeader","match","exec","bstr","send","s2ab","buf","ArrayBuffer","charCodeAt","Blob","navigator","msSaveOrOpenBlob","URL","createObjectURL","revokeObjectURL","removeChild","setIsSupportAvailable","dismissChangingLanguage","setGlobalErrors","setAccountFormChangedStatus","setAccountFormSameStatus","_types__WEBPACK_IMPORTED_MODULE_1__","SHOW_ONLY_PENDING_INVITATIONS","SET_HEADER_QUERY","SET_SUPPORT_AVAILABLE","SET_SORT_ORDER","SET_SORT_COLUMN","SHOW_DIALOG_NOTICE","HIDE_DIALOG_NOTICE","TOGGLE_NAV_DRAWER_ACTIVE","TOGGLE_NOTIFICATION_DRAWER_ACTIVE","HIDE_NAV_DRAWER","HIDE_NOTIFICAITON_DRAWER","SHOW_FULLPAGE","HIDE_FULLPAGE","ENABLE_TABLE_VIEW","DISABLE_TABLE_VIEW","SET_ACTIVITY_VIEW","SET_LANGUAGE","DISMISS_CHANGING_LANGUAGE","SET_GLOBAL_ERRORS","ACCOUNT_FORM_CHANGED","ACCOUNT_FORM_IS_THE_SAME","ConclusionPropTypes","ViewerPropTypes","CasePropTypes","temporaryToken","decodeToken","jwtDecode","encodedToken","idleTimeout","getImpersonation","getAndDecodeToken","impersonatedBy","Login","Logout","anonymousUrls","tryLogin","getAtlasRootUrl","redirectToLogin","prefixOverride","assign","extraUrlParameters","removeItem","loggedIn","tokenData","exp","checkTokenRenewal","_babel_runtime_corejs2_core_js_promise__WEBPACK_IMPORTED_MODULE_0___default","newToken","responseText","JL","fatalException","msg","nav-content","messaging","_AddressFieldset","_babel_runtime_corejs2_helpers_inherits__WEBPACK_IMPORTED_MODULE_10___default","countriesList","showProvinceDropDown","isPostalCode","react__WEBPACK_IMPORTED_MODULE_14___default","react__WEBPACK_IMPORTED_MODULE_14__","_shared_inputs__WEBPACK_IMPORTED_MODULE_18__","react_intl__WEBPACK_IMPORTED_MODULE_15__","_shared_inputs_telephoneInput__WEBPACK_IMPORTED_MODULE_22__","react_relay_classic__WEBPACK_IMPORTED_MODULE_17__","RTAppBar","RTAutocomplete","RTButton","RTCard","RTCheckbox","RTDialog","RTInput","RTLayout","RTLink","RTList","RTSlider","RTSnackbar","RTTabs","RTTooltip","RTRadio","AKAutocompleteInput","date-inputs-container","date-inputs","_shared_patientInformation__WEBPACK_IMPORTED_MODULE_16__","_shared_highlightedText__WEBPACK_IMPORTED_MODULE_15__","_shared_healthInsuranceChip__WEBPACK_IMPORTED_MODULE_14__","patientProfileUrl","getPatientProfileUrl","react_toolbox_lib_button__WEBPACK_IMPORTED_MODULE_11___default","_editDescription","editDescriptionTooltip","_editDescriptionToolt","TooltipFontIcon","Tooltip","fileModifications","statePropertyName","doMutateStateAction","inserted","fm","filesChanged","doUploadFile","currentlyUploadingFiles","upload","_xhr","filesInserted","filesUpdated","preview","createThumbnail","dimensions","onDeleted","AttachmentListItem","progressPercentage","isTemporary","EditDescriptionDialog","_React$Component3","_super3","_len2","_key2","deleteCurrentFile","_AttachmentListItem","progress","itemProps","bodyPartPickerMessages","photoLibraryElement","filenameElement","renderEditDialog","renderDeleteDialog","renderBodyPartsDialog","attachmentUploadAndList_EditDescriptionDialog","attachmentUploadAndList_ConfirmDeletionDialog","dateOnly","_babel_runtime_corejs2_helpers_typeof__WEBPACK_IMPORTED_MODULE_0___default","setMinutes","getTimezoneOffset","isoDate","isInFuture","otherDate","toJSON","serializeDateTime","serializeTimeBySeconds","measuredTime","setSeconds","now","getYear","monthDifference","_DeceasedInformationFields","_this$props$patient","_this$props$patient$d","timeOfDeath","deceasedSince","_DeceasedInformationFieldset","deceasedInformationFieldset_createSuper","deceasedInformationFields","DeceasedInformationFields","UpdatePatientAddressMutation","UpdatePatientFamilyPhysicianMutation","until","MarkPatientAsDeceasedMutation","profileUpdated","_profileUpdated","_EditPatient","editPatient_createSuper","allowQuickEdit","demographicOverride","deceasedInformationFieldset","p3","p4","hasPhysician","p5","DeceasedInformationFieldset","Levels","Unknown","Severe","Moderate","Mild","None","calculateTotalScore","calculateP7Score","calculateER2Score","noCount","search-icon","search-button","search-bar","card-form","form-row","frailty-SEVERE","frailty-MILD","frailty-MODERATE","frailty-UNKNOWN","frailty-NONE","form-summary","left-leaning","condensed","summary-card","summary-title","print-button","form-table-ger-fcga","next-previous-navbar","next-previous-navbar-header","next-previous-actions","report-body","title-container","radio-container","text-container","number-container","slider-container","yesno-container","text-question-container","description-text","slider-element","checkbox-group","month-picker","year-input","month-input","bottom-align","fullpage-wrapper","display-tabs","report-body-big-step","pdf-report-header","form-header-information","form-header","footer-info","form-tabs","summary-wrapper","spinning-button-progress","as-icon","as-right-icon","spinning-button","icon-only","danger-button","danger-text","success-button","success-text","spaced-paragraph","showcase","showcase-handler","showcase-style-list","showcase-style-handle","question-title","investigation-cycle-name","consent-box","fully-width-button","material-icons","input-helper","react_responsive__WEBPACK_IMPORTED_MODULE_1__","react_responsive__WEBPACK_IMPORTED_MODULE_1___default","_ref$size","RELAY_TO_REDUX","react_relay_classic__WEBPACK_IMPORTED_MODULE_8__","_babel_runtime_corejs2_core_js_promise__WEBPACK_IMPORTED_MODULE_7___default","add-on","weak","_weak","_ok","good","_good","excellent","_excellent","short","_short","revealTooltip","_revealTooltip","_suggestions","hasScore","strengthClassName","PasswordInput","scoreTextMap","passwordVisible","oldPassword","react__WEBPACK_IMPORTED_MODULE_19___default","react_toolbox_lib_button__WEBPACK_IMPORTED_MODULE_22___default","passwordMessages","react_intl__WEBPACK_IMPORTED_MODULE_21__","generatedPasswordIs","4","passwordInputStyle","ThemedPasswordInput","french","english","unknown","_active","_none","_english","_french","_notes","_unknown","accounts","_accounts","_confirm","_canceled","sortBy","_sortBy","_score","_requestedBy","_preview","_url","_help","_helpAndChat","_previous","_completeLater","_print","_download","_downloadFailed","_downloadStarted","import","_import","_next","_labelYes","_labelNo","_labelDontKnow","_colon","_status","_select","_open","_dismiss","_discard","_draftSaved","_save","_saveAndClose","_saveDraft","_signPrint","_archive","_nameEnglish","_nameFrench","finish","_finish","_cancelCase","_abort","_begin","_close","_create","_created","_lastUpdatedAt","lastUpdated","_lastUpdated","_more","home","_home","_hospital","_age","ageLabel","_ageLabel","descriptionLabel","_descriptionLabel","_from","_to","_specialty","_specialties","_other","_update","_deleted","_calendar","_caseId","_communication","_complete","_completedOn","_comments","_error","_edit","_statistics","_date","_view","you","_you","_relationshipType","_show","hide","_hide","_email","new","_new","_version","_o","_o2","_o3","_o4","_o5","_loading","_retry","_pageNotFound","_maxLength","dateFormat","_dateFormat","_fieldRequiredChoice","_fieldRequiredChoiceM","_fieldRequiredChoiceM2","_fieldRequiredChoiceM3","_fieldRequiredChoiceE","_numberFormat","_numberMin","_numberMax","_numberMinMax","minValue","_minValue","maxValue","_maxValue","_listLabel","network","_network","_form","_patientId","_id","_listLabel2","_hospital2","_mrn","_carer","_uniqueId","fileLabel","_fileLabel","healthInsuranceLabelShort","_healthInsuranceLabel","_choosePatient","_choosePatientRequire","_label","_noneFound2","viewStatistics","_viewStatistics","_label2","_deceased","_deceasedSince","_label3","_since","sinceMonth","_sinceMonth","sinceYear","_sinceYear","_noneFound3","_fieldsetLabel","postalCodeFormatError","_postalCodeFormatErro","telephoneNumberFormatError","_telephoneNumberForma","_emailFormatError","_address","_city","_postalCode","_provinceCode","_provinceName","_countryCode","_telephoneHome","_telephoneWork","_telephoneCellular","_telephonePager","_messaging","_email2","_fieldsetLabel2","_fieldsetHealthInsura","_label4","healthInsuranceLabel","_healthInsuranceLabel2","_provinceCodeLabel","_number","_healthInsuranceNumbe","numberFormatError","_numberFormatError","expirationMonth","_expirationMonth","_expiration","expirationYear","_expirationYear","hl7RelationshipCode","_hl7RelationshipCode","_fieldsetLabel3","_socialInsuranceNumbe","socialInsuranceNumberFormatError","_socialInsuranceNumbe2","birthdayFormatError","_birthdayFormatError","_firstName","_lastName","lastNameShort","_lastNameShort","_middleName","_fatherFirstName","_fatherLastName","fatherName","_fatherName","_motherFirstName","_motherLastName","_motherMaidenName","motherName","_motherName","_gender","genderMale","_genderMale","genderFemale","_genderFemale","genderOther","_genderOther","notAvailable","_notAvailable","_age2","_birthday","birthdayFormat","_birthdayFormat","_sex","ErrorLayout","toggleShowError","primaryButton","level","shared_ErrorLayout_ErrorLayout","signature-container","signature-col","margin-bottom-footer","case-clinical-notes-container","itemContentRoot","itemText","note-container","note-files","tabs","dropzone-inner","dropzone-hovered","icon-whitespace","listItem","itemAction","record-signature-container","classnames__WEBPACK_IMPORTED_MODULE_0__","classnames__WEBPACK_IMPORTED_MODULE_0___default","react__WEBPACK_IMPORTED_MODULE_2__","react_intl__WEBPACK_IMPORTED_MODULE_3__","react_relay_classic__WEBPACK_IMPORTED_MODULE_4__","_i18n__WEBPACK_IMPORTED_MODULE_5__","_style_scss__WEBPACK_IMPORTED_MODULE_6__","_style_scss__WEBPACK_IMPORTED_MODULE_6___default","Mrn","_ref$case","_ref$case$data","mrnCISSO","mrnCUSM","person-avatar","no-picture","normal","navigation","medium","_ref$allowClear","momentValue","moment","formatValue","momentDate","toDate","inputs_DatePicker_DatePicker","_GenderPropTypes__WEBPACK_IMPORTED_MODULE_1__","GenderPropTypes","procedures-table","InformationRequestStatusIcon","getParams","react_toolbox_lib_font_icon__WEBPACK_IMPORTED_MODULE_9__","_impersonatedBy","AvatarBlock","link_default","renderImpersonation","clinic","_clinic","hospitalPatients","_hospitalPatients","_search","_logout","stopImpersonating","_stopImpersonating","_cases","_dialogTitle","_newCase","myCarers","_myCarers","support","_support","_patients","invitePatient","_invitePatient","patientInvitations","_patientInvitations","linkPatient","_linkPatient","profile","_profile","accountSettings","_accountSettings","_newEConsultRequest","administration","_administration","_importUsers","_createUser","_progression","_activity","recentActivity","_recentActivity","_accessRequests","_myPatients","_importPatients","manageUsers","_manageUsers","mainNavigation_createSuper","_UNSAFE_componentWillMount","avatarBlock","renderSpecialistMenu","renderPatientMenu","renderCarerMenu","renderOtherMenu","hasPatientFeature","hasCalendar","hasHospitalDirectory","hasPatientInvitationsFeature","hasActivityStream","about-container","about-child","_babel_runtime_corejs2_core_js_object_freeze__WEBPACK_IMPORTED_MODULE_0___default","Draft","AwaitingReport","RequestAccepted","ReportInProgress","RequestClosed","AwaitingDispatch","DispatchInProgress","IncompleteRequest","RequestInProgress","RequestAwaitingReporter","CustomFormattedDate","signature-print-container","anchorId","useMenuUrlAnchors_useMenuUrlAnchors","TextAreaInput","TimePicker","momentTime","defaultProp","TextArea","commonHandles","Checkbox","CheckboxGroup","RadioGroup","Toggle","HandWrittenSignatureInput","formsyHandleChange","RetryableImage","wait","stateSrc","errorSrc","spinnerImage","AvatarComponent","MaleAvatar","FemaleAvatar","OtherAvatar","AutocompleteComponent","mulitple","ButtonComponent","accent","CheckboxComponent","checkbox_excluded","DialogComponent","handleClose","dialog_excluded","DropdownComponent","auto","dropdown_excluded","TableComponent","_ref$bordered","bordered","TextInputComponent","textInput_excluded","autoComplete","DynamicTable","DynamicTable_objectSpread","common_avatar","common_checkbox","common_textInput","common_DynamicTable","dropzone-light","inline-file","only-pdf-files","procedure-row","anatomical","align-with-text","align-button-with-text","toggle-button","SpinnerButton","react__WEBPACK_IMPORTED_MODULE_11___default","react_toolbox_lib_button__WEBPACK_IMPORTED_MODULE_12__","react_toolbox_lib_progress_bar__WEBPACK_IMPORTED_MODULE_13___default","_invite","_invitedBy","_invitedOn","_completeBy","_acceptedOn","_invitedByShort","_invitedOnShort","_patientEmailDescript","_patientInvitationRes","_patientEmailInvitati","_patientAdditionalTex","_patientAdditionalTex2","_additionalTextError","_sentOn","_sentBy","_typeLabel","_sendReminderButtonLa","_reminderTitleLabel","reminderTypeManual","_reminderTypeManual","reminderTypeAutomatic","_reminderTypeAutomati","_HealthInsuranceFields","allMetadata","ramqMetadata","_ramqMetadata$inputFi","ramqNumber","ramqExpiration","_metadata$inputFields","healthInsuranceExpiration","_shared_inputs__WEBPACK_IMPORTED_MODULE_11__","react_intl__WEBPACK_IMPORTED_MODULE_8__","handleProvinceChange","handleNumberChange","_shared_inputs_monthPickerInput__WEBPACK_IMPORTED_MODULE_16__","labelMonth","labelYear","MenuActionTypes","menuReducer","_action$payload","MenuProvider","menuInitialState","debouncedSelectMenuItem","trailing","useMenuReducer","MenuProvider_MenuProvider","idb","currentUploads","currentUpload","onChunkComplete","chunkSize","bytesAccepted","markFileAsUploaded","tus","Upload","endpoint","retryDelays","removeFingerprintOnSuccess","filename","_stopUpload","db","foundRow","_babel_runtime_corejs2_regenerator__WEBPACK_IMPORTED_MODULE_7___default","_babel_runtime_corejs2_core_js_object_values__WEBPACK_IMPORTED_MODULE_10___default","getDB","getAllKeysFromIndex","_moveUploadToBackground","_storeFileForUpload","readFileAsync","lastModified","_babel_runtime_corejs2_core_js_promise__WEBPACK_IMPORTED_MODULE_8___default","reader","readAsArrayBuffer","_getUploadableFiles","getAll","File","_x5","_markFileAsUploaded","upgrade","upgradeDb","oldVersion","newVersion","transaction","createObjectStore","keyPath","autoIncrement","objectStore","createIndex","unique","_babel_runtime_corejs2_core_js_object_keys__WEBPACK_IMPORTED_MODULE_9___default","returnValue","warning-modal","browser-list","CaseLabels","CaseTypeLabel","react_toolbox_lib_button__WEBPACK_IMPORTED_MODULE_4__","iCaseTypeLabel","react_toolbox_lib_font_icon__WEBPACK_IMPORTED_MODULE_5___default","FORM_TYPES","conversationConsult","patientAssessment","requestReport","dynamicFormCase","_babel_runtime_corejs2_helpers_inherits__WEBPACK_IMPORTED_MODULE_4___default","_babel_runtime_corejs2_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_7___default","_babel_runtime_corejs2_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3___default","currentDepartmentId","_shared_inputs_dropDownListInput__WEBPACK_IMPORTED_MODULE_14__","_users_physicians_physicianInput__WEBPACK_IMPORTED_MODULE_15__","_babel_runtime_corejs2_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default","demographicOrPerson","ageString","react__WEBPACK_IMPORTED_MODULE_3___default","react_relay_classic__WEBPACK_IMPORTED_MODULE_5__","history-item-text","logos","pretend-icon","list-footnote","light-warning","light-warning-card","form-actions","form-root","presentation-card-title","dispatch-form","request-form","report-form","survey-form","APP_PORT","APP_HOST","GRAPHQL_HOST","WebRootUrl","ViewerRootUrl","AtlasRootUrl","MALE","FEMALE","viewCase","newEConsultCase","hostname","getApiRootUrl","errorsPage","merged","getUpdateHubUrl","_inputs_custom_spinnerIcon__WEBPACK_IMPORTED_MODULE_2__","_spinnerPlaceholder_style__WEBPACK_IMPORTED_MODULE_3__","_spinnerPlaceholder_style__WEBPACK_IMPORTED_MODULE_3___default","SpinnerPlaceholder","_RadioButtonListInput","_babel_runtime_corejs2_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default","react_toolbox_lib_radio__WEBPACK_IMPORTED_MODULE_14__","___WEBPACK_IMPORTED_MODULE_16__","react_toolbox_lib_font_icon__WEBPACK_IMPORTED_MODULE_12___default","requiredClassName","print-header","close-header","card-text","header-action","request-actions","unique-id","similar-patients-box","summary","supportedPhoneNumberCountryCodes","addValidationRule","emailRegex","typeMetadata","enhanceValidationFromDescription","typeName","newResult","_babel_runtime_corejs2_core_js_object_assign__WEBPACK_IMPORTED_MODULE_0___default","descriptionMetadata","_babel_runtime_corejs2_core_js_object_keys__WEBPACK_IMPORTED_MODULE_1___default","introspectionResult","handleNoKind","baseMetadata","ofType","handleNonNull","isScalar","handleScalar","isEnum","handleEnum","inputFieldsMap","handleInputObject","handleList","_babel_runtime_corejs2_core_js_json_stringify__WEBPACK_IMPORTED_MODULE_2___default","fixLang","children-container","children-container-icon","report-type","sticky","print-card","print-card-text","print-action","highlight","fadingClassName","shared_FadingContent_FadingContent","InvitePatientToDepartmentMutation","_inviteWho","_carerEmailDescriptio","_patientThemself","_newCarerOfPatient","invitePatientToDepartmentDialog_createSuper","currentDeptIds","CaseRowIcons","_babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_2___default","_babel_runtime_corejs2_helpers_createClass__WEBPACK_IMPORTED_MODULE_3___default","hasScheduledMeetings","renderCaseLabels","renderHasScheduledMeeting","renderPriority","renderDueAt","renderInformationRequestStatus","renderReferralRecommended","renderProgression","react_toolbox_lib_font_icon__WEBPACK_IMPORTED_MODULE_11__","_caseLabels__WEBPACK_IMPORTED_MODULE_16__","_shared_PriorityIcon__WEBPACK_IMPORTED_MODULE_12__","_informationRequestStatusIcon__WEBPACK_IMPORTED_MODULE_17__","getColor","_shared_formattedRelative__WEBPACK_IMPORTED_MODULE_15__","casesTranslation","ErrorCard","findDOMNode","react_toolbox_lib_card__WEBPACK_IMPORTED_MODULE_11__","errorsStyle","renderMultipleErrors","renderSingleError","react_toolbox_lib_button__WEBPACK_IMPORTED_MODULE_10__","renderErrorDiv","errorList","react_toolbox_lib_list__WEBPACK_IMPORTED_MODULE_13__","showStack","canShowAdvancedError","fieldMessage","stackTrace","shared_HideOnPrint_HideOnPrint","SelectInput","formsy_react__WEBPACK_IMPORTED_MODULE_3__","_hooks__WEBPACK_IMPORTED_MODULE_4__","_InputLabel_index__WEBPACK_IMPORTED_MODULE_5__","_Wrappers_withRequiredMessage__WEBPACK_IMPORTED_MODULE_6__","Option","Select","OptGroup","optionClassName","selectedOption","subOption","HelpText","noField","_babel_runtime_corejs2_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_5___default","_htmlElement__WEBPACK_IMPORTED_MODULE_6__","flag","settingsReducerDefaults","accountSettingsFormReducer","isFormChanged","drawerActive","SET_PAGE_TITLE","errorsReducer","reducers_objectSpread","preserveDestination","genericRequests","genericRequests_reducers_objectSpread","dataReceived","isFetching","thorsurg_reducers_objectSpread","store_objectSpread","createStore","combineReducers","routing","routerReducer","formsReducers","devToolsExtension","subscribe","status-chip","video-conference-item","meeting-info","meeting-topic-description","participants-box","participant-name","separator","meeting-metadata-container","meeting-provider","add-to-calendar","react_toolbox_lib_chip__WEBPACK_IMPORTED_MODULE_2__","react_toolbox_lib_chip__WEBPACK_IMPORTED_MODULE_2___default","ChipComponent","gender-avatar","spinner-container","ageCalculatedFromBirthday","_ageCalculatedFromBir","_babel_runtime_corejs2_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_12___default","_babel_runtime_corejs2_helpers_inherits__WEBPACK_IMPORTED_MODULE_9___default","_babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_7___default","disableAge","recordNumber","_babel_runtime_corejs2_helpers_createClass__WEBPACK_IMPORTED_MODULE_8___default","oldProps","newParams","finalParams","_similarPatients__WEBPACK_IMPORTED_MODULE_25__","_shared_inputs_radioButtonListInput__WEBPACK_IMPORTED_MODULE_23__","isDate","isBirthday","ageValue","_patients_healthInsuranceFields__WEBPACK_IMPORTED_MODULE_21__","addHandWrittenSignature","onFormsySuccess","tests","cancelHandWrittenSignatureMutation","signatureId","_useSubmitMutation","useAddHandWrittenSignature_useAddHandWrittenSignature","useCancelHandWrittenSignature_useCancelHandWrittenSignatureMutation","LowPriorityFlagIcon","Flag_default","green","MediumPriorityFlagIcon","yellow","HighPriorityFlagIcon","red","HeartIcon","Favorite_default","SunIcon","Brightness5_default","Icons_LowPriorityFlagIcon","Icons_MediumPriorityFlagIcon","Icons_HighPriorityFlagIcon","Icons_HeartIcon","Icons_SunIcon","shared_PriorityIcon_PriorityIcon","_ref$defaultValue","setIsFocused","handleAnyChange","changeFunction","formattedValue","useFormsyInput_useFormsyInput","nav-container","wrapper","form-active","dropdown-list-inline","forms-to-complete","general-admission","dropdown-input-fast-refac","disabled-coloured","general-form","refac-fast-textarea","physician-statement","admin-notes","innerknob","ring","_ref$queryParams","setIsDownloading","printUri","queryParam","usePrint_usePrint","_resendInvitation","resendInvitationFor","_resendInvitationFor","resendingInvitation","ResendUserInvitationMutation","react_toolbox_lib_dialog__WEBPACK_IMPORTED_MODULE_14___default","formsy_react__WEBPACK_IMPORTED_MODULE_8___default","_shared_errorCard__WEBPACK_IMPORTED_MODULE_19__","react_relay_classic__WEBPACK_IMPORTED_MODULE_13__","birthCity","birthProvinceCode","birthCountryCode","_DemographicFieldset","_babel_runtime_corejs2_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_13___default","_babel_runtime_corejs2_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_9___default","_babel_runtime_corejs2_core_js_object_assign__WEBPACK_IMPORTED_MODULE_14___default","react__WEBPACK_IMPORTED_MODULE_16___default","_akinoxsolutions_gerudo_ui__WEBPACK_IMPORTED_MODULE_19__","_shared_inputs__WEBPACK_IMPORTED_MODULE_24__","react_intl__WEBPACK_IMPORTED_MODULE_17__","_similarPatients__WEBPACK_IMPORTED_MODULE_27__","react_relay_classic__WEBPACK_IMPORTED_MODULE_18__","ConfirmUserRegistrationMutation","invitationId","_userName","_password","_preferredCulture","confirmRegistration","_confirmRegistration","termsTitle","_termsTitle","readAndAgree","_readAndAgree","termsAndConditions","_termsAndConditions","termsAndConditionsConfirm","_termsAndConditionsCo","confirmHi","_confirmHi","confirmIntro","_confirmIntro","confirmBase","_confirmBase","_userIsAlreadyConfirm","invalidTokenMessage","_invalidTokenMessage","invitationResentToYou","_invitationResentToYo","invitationNotFound","_invitationNotFound","termsDialogActive","confirmingRegistration","confirmUserRegistration","accessToken","invitation","_this$props$viewer$in","termsAndConditionsFR","termsAndConditionsEN","tokenInformation","renderInvalidToken","introText","departmentNames","inviterFullNames","inviterFullName","invitationCount","renderInformationFields","handleDialogToggle","firstNameField","lastNameField","telephoneHomeField","telephoneWorkField","licenseNumberField","hasUserId","isMobileDevice","isInputTypeSupported","react_toolbox_lib_input_theme__WEBPACK_IMPORTED_MODULE_2__","react_toolbox_lib_input_theme__WEBPACK_IMPORTED_MODULE_2___default","_styles_theme_main_input__WEBPACK_IMPORTED_MODULE_3__","_styles_theme_main_input__WEBPACK_IMPORTED_MODULE_3___default","orientation","userAgent","elem","MetadataContainer","traductionKey","viewedOn","flexWrap","paddingRight","healthInsuranceChip","Metadata_MetadataContainer","ThemedCaseRow","hide-on-print","mobile-form-container","disableDeselectPatient","actualDemographic","react_toolbox_lib_card__WEBPACK_IMPORTED_MODULE_14__","_babel_runtime_corejs2_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default","react__WEBPACK_IMPORTED_MODULE_10__","react_toolbox_lib_button__WEBPACK_IMPORTED_MODULE_13__","_akinoxsolutions_gerudo_ui__WEBPACK_IMPORTED_MODULE_15__","_birthdayAndAge__WEBPACK_IMPORTED_MODULE_18__","RelayPatientSummaryCard","Features_FeatureFlagContainer_FeatureFlagContainer","case-admin-notes","collapsed","collapsible","light-button","print-header-logo","print-header-demo","print-header-form-barcode","print-header-patient-barcode","print-header-patient-information-container","print-header-health-insurance","print-header-title","print-department-info-row","department-info-item","activity-types","patient-card","patient-summary","text-content","unanswered","answer-form","signature-alert","signature-alert-content","signature-alert-text","StatusPropTypes","CaseDataPropTypes","addCase","_addCase","PatientConversationConsultData","_PatientConversationC","GenericConversationConsultData","_GenericConversationC","PatientAssessmentData","_PatientAssessmentDat","RequestReportData","_RequestReportData","previousCases","_previousCases","_constants__WEBPACK_IMPORTED_MODULE_0__","_messages_base_i18n__WEBPACK_IMPORTED_MODULE_1__","lastCurrentLang","lastApiRootUrl","load","apiRootUrl","translations","getLangOverride","define_property_default","enumerable","injectNetworkLayer","DefaultNetworkLayer","resetNetworkLayer","loadWithMessages","callBackWithIntl","Intl","noVHSupport","init","force","VHFix","baseName","__webpack_public_path__","syncHistoryWithStore","browserHistory","useBasename","basename","startApp","addLocaleData","rootProps","ReactDOM","react_hot_loader","settings","alwaysApplyCardMargins","root_default","ctrlKey","metaKey","nodeName","parentNode","host","standalone","orig","customDefaultPrevented","setSupportLanguage","initSignalR","anchor","searchPatients","react_toolbox_lib_input__WEBPACK_IMPORTED_MODULE_13___default","react_toolbox_lib_progress_bar__WEBPACK_IMPORTED_MODULE_14___default","renderPatients","_patientRow__WEBPACK_IMPORTED_MODULE_16__","shrinkable","tab-label","case-total-chip","HtmlElement","_babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_9___default","_babel_runtime_corejs2_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_8___default","urlize","emailize","TelephoneInput","___WEBPACK_IMPORTED_MODULE_9__","StatisticsBarChart","timeRange","dates","getColon","dateLabel","borderColor","caseIds","callbacks","tooltipItems","datasetIndex","yLabel","beforeTitle","StatisticsLineChart","statisticsLineChart_createSuper","setDates","lineTension","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","pointBorderColor","pointBackgroundColor","pointBorderWidth","pointHoverRadius","pointHoverBackgroundColor","pointHoverBorderColor","pointHoverBorderWidth","pointRadius","pointHitRadius","statisticsLineChart_objectSpread","ticks","beginAtZero","stepSize","scoreEvolutionTitle","_scoreEvolutionTitle","frailtyEvolutionTitle","_frailtyEvolutionTitl","fcga","getLevel","level_SEVERE","level_MODERATE","level_MILD","level_NONE","caseResult","hasSpecialistValues","statisticsLineChart","tableColumnName","statisticsBarChart","mapFrailtyColors","mapFrailtyLevels","display-only-on-print","case-sort-dropdown","VideoConferenceProvidersPropTypes","installUrl","CurrentUserVideoConferenceProvidersPropTypes","licenseType","VideoConferenceCurrentsUserPropTypes","conclusion-header-container","conclusion-header-child","calendar-event","list-event","past","info-container","patient-consent","buildAddressFields","_akinoxsolutions_gerudo_ui__WEBPACK_IMPORTED_MODULE_10__","_addressFields__WEBPACK_IMPORTED_MODULE_11__","react_relay_classic__WEBPACK_IMPORTED_MODULE_9__","canUseLocalStorage","mustUseInMemoryStorage","inMemoryStorage","_babel_runtime_corejs2_core_js_object_define_property__WEBPACK_IMPORTED_MODULE_0___default","configurable","cookieStorage","sKey","unescape","cookie","RegExp","nKeyId","sValue","getStorage","showWidget","logUserIn","_authentication__WEBPACK_IMPORTED_MODULE_0__","_constants__WEBPACK_IMPORTED_MODULE_1__","_stores_app_actions__WEBPACK_IMPORTED_MODULE_2__","_stores_store__WEBPACK_IMPORTED_MODULE_3__","configPromise","supportConfiguration","script","async","fcWidget","siteId","config","hideFAQ","enableFaqs","headerProperty","hideChatButton","doInit","setLocale","restoreId","setProperties","supportEnabled","countryMultiline","_shared_htmlElement__WEBPACK_IMPORTED_MODULE_6__","form-title","add-file-container","actions-container","form-button","icons","TooltippedTime","FormattedRelativeWrapped","_babel_runtime_corejs2_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_9___default","absolute","react__WEBPACK_IMPORTED_MODULE_17___default","_formattedDateTime__WEBPACK_IMPORTED_MODULE_20__","_babel_runtime_corejs2_helpers_extends__WEBPACK_IMPORTED_MODULE_8___default","dateTime","tooltipDelay","react_intl__WEBPACK_IMPORTED_MODULE_18__","conversation-item","conversation-subject","conversation-content","conversation-files","preliminary-report-watermark","HighlightedText","data-search","searchStyle","patient-info","stepper-container","square","square-before","square-after","active-square","active-before","active-after","completed-square","completed-before","completed-after","available-square","available-before","available-after","step-index","step-icon","checkboxes","_CheckboxInput","resetValue","checkboxStyle","react_toolbox_lib_checkbox__WEBPACK_IMPORTED_MODULE_11___default","creation-information-header","larger","row-baseline","row-centered","row-wrap","special-section","special-section-input","admission","admission-days","days-estimated","additional-info","units-input","length-surgery","flex-two-column","inline-inner","inline-inner-msg","toggle-signatory-type-container","_patientSummaryOpener","_patientSummaryAltena","_scoreFragility","_level_MODERATE","recommendation_MODERATE","_recommendation_MODER","level_UNKNOWN","_level_UNKNOWN","recommendation_UNKNOWN","_recommendation_UNKNO","_level_NONE","recommendation_NONE","_recommendation_NONE","_level_MILD","recommendation_MILD","_recommendation_MILD","_level_SEVERE","recommendation_SEVERE","_recommendation_SEVER","scoreDomainNutrition","_scoreDomainNutrition","scoreDomainMultimorbidity","_scoreDomainMultimorb","scoreDomainCommunication","_scoreDomainCommunica","scoreDomainCognition","_scoreDomainCognition","scoreDomainAdl","_scoreDomainAdl","scoreDomainIadl","_scoreDomainIadl","scoreDomainContinence","_scoreDomainContinenc","scoreDomainMood","_scoreDomainMood","scoreDomainMobility","_scoreDomainMobility","scoreDomainSelfCare","_scoreDomainSelfCare","scoreDomainUsualActivities","_scoreDomainUsualActi","scoreDomainAnxietyDepression","_scoreDomainAnxietyDe","scoreDomainPainDiscomfort","_scoreDomainPainDisco","scoreTotal","_scoreTotal","tableColumnTest","_tableColumnTest","tableColumnRecommendation","_tableColumnRecommend","_tableColumnName","_frailtyLevel","_specialistP7Definiti","_specialistER2Definit","nutritionalTest","_nutritionalTest","cognitionTest","_cognitionTest","moodTest","_moodTest","mobilityTest","_mobilityTest","nutritionRecommendation","_nutritionRecommendat","multimorbidityRecommendation","_multimorbidityRecomm","adlRecommendation","_adlRecommendation","communicationRecommendation","_communicationRecomme","cognitionRecommendation","_cognitionRecommendat","moodRecommendation","_moodRecommendation","mobilityYesRecommendation","_mobilityYesRecommend","mobilityNoRecommendation","_mobilityNoRecommenda","patientQ2Recommendation","_patientQ2Recommendat","patientQ6Recommendation","_patientQ6Recommendat","patientQ6aRecommendation","_patientQ6aRecommenda","patientQ6bRecommendation","_patientQ6bRecommenda","patientQ19Recommendation","_patientQ19Recommenda","patientQ25s1Intro","_patientQ25s1Intro","patientQ25s1Recommendation1","_patientQ25s1Recommen","patientQ25s1Recommendation2","_patientQ25s1Recommen2","patientQ25s1Recommendation3","_patientQ25s1Recommen3","patientQ25s1Recommendation4","_patientQ25s1Recommen4","patientQ25s1Recommendation5","_patientQ25s1Recommen5","patientQ25s1RessourcesIntro","_patientQ25s1Ressourc","patientOtherRecommendation","_patientOtherRecommen","patientOtherNutrition","_patientOtherNutritio","patientOtherVision","_patientOtherVision","patientOtherHearing","_patientOtherHearing","patientOtherMemory","_patientOtherMemory","patientOtherIncontinence","_patientOtherIncontin","patientOtherMood","_patientOtherMood","patientOtherMobility","_patientOtherMobility","prefaceStepName","_prefaceStepName","_patientTab","_clinicianTab","q0aa","_q0aa","q0aa_s1","_q0aa_s","q0aa_s2","_q0aa_s2","q0ab","_q0ab","q0ab_s1","_q0ab_s","q0ab_s2","_q0ab_s2","q0ba","_q0ba","q0ba_s1","_q0ba_s","q0ba_s2","_q0ba_s2","q0baa","_q0baa","q1a","_q1a","q6a","_q6a","q6a_s1","_q6a_s","q6a_s2","_q6a_s2","q6a_s3","_q6a_s3","q8","_q8","q9","_q9","q10","_q10","q11","_q11","q12","_q12","q13","_q13","q14","_q14","q15","_q15","q16","_q16","q17","_q17","q17_s1","_q17_s","q17_s2","_q17_s2","q17_s3","_q17_s3","q18","_q18","q19","_q19","q20","_q20","q21","_q21","q22","_q22","q22_s1","_q22_s","q22_s2","_q22_s2","q22_s3","_q22_s3","q22a","_q22a","q22a_s1","_q22a_s","q22a_s2","_q22a_s2","q22a_s3","_q22a_s3","q23","_q23","q24","_q24","q24_s1","_q24_s","q24_s2","_q24_s2","q24_s3","_q24_s3","_q25","q25_s1","_q25_s","q25_s2","_q25_s2","q25a0","_q25a","q25a","_q25a2","q25a_s1","_q25a_s","q25a_s2","_q25a_s2","eq5dLabel","_eq5dLabel","eq5da_s1","_eq5da_s","eq5da_s2","_eq5da_s2","eq5da_s3","_eq5da_s3","eq5da_s4","_eq5da_s4","eq5da_s5","_eq5da_s5","eq5db_s1","_eq5db_s","eq5db_s2","_eq5db_s2","eq5db_s3","_eq5db_s3","eq5db_s4","_eq5db_s4","eq5db_s5","_eq5db_s5","eq5dc_sublabel","_eq5dc_sublabel","eq5dc_s1","_eq5dc_s","eq5dc_s2","_eq5dc_s2","eq5dc_s3","_eq5dc_s3","eq5dc_s4","_eq5dc_s4","eq5dc_s5","_eq5dc_s5","eq5dd_s1","_eq5dd_s","eq5dd_s2","_eq5dd_s2","eq5dd_s3","_eq5dd_s3","eq5dd_s4","_eq5dd_s4","eq5dd_s5","_eq5dd_s5","eq5de_s1","_eq5de_s","eq5de_s2","_eq5de_s2","eq5de_s3","_eq5de_s3","eq5de_s4","_eq5de_s4","eq5de_s5","_eq5de_s5","eq5df","_eq5df","eq5df_sublabel","_eq5df_sublabel","go","UserLanguagesPropTypes","_activeHelp","_appearanceTitle","_professionLabel","profilePicture","_profilePicture","statusTitle","_statusTitle","_themeLabel","with-absolute","relative","remove","score-row","patient-header","curly","additional-information","fatigue-header","hexcase","hex_md5","rstr2hex","rstr_md5","str2rstr_utf8","binl2rstr","binl_md5","rstr2binl","hex_tab","output","len","olda","oldb","oldc","oldd","md5_ii","md5_hh","md5_gg","md5_ff","safe_add","md5_cmn","num","cnt","bit_rol","lsw","md5","HexMd5","_default","_uploadFile","gravatar","_gravatar","whatIsGravatar","_whatIsGravatar","cropAndUpload","_cropAndUpload","croppieModule","getCroppie","EXIF","currentUrl","getType","editing","renderEditing","renderPreview","buildState","firstNameOverride","lastNameOverride","pictureUrlOverride","cancelEditing","setType","cropFile","fileToCrop","cancelCrop","uploadCropped","croppie","Croppie","customClass","enableExif","viewport","quality","lastModifiedDate","ext","pop","blobFileName","newUrl","startEditing","signed-on","reset-button-container","PatientConversationPermissionsPropTypes","CaseExtraDataPropTypes","isMonthInputSupported","_MonthPickerInput","maxDate","newMonth","getValidDateFromMonthAndYear","parsedDate","monthOptionsListName","yearOptionsListName","maxYear","maxMonth","commonPropsSelectProps","startDateForYearList","setFullYear","isMobileOverride","monthValue","monthString","react_toolbox_lib_input__WEBPACK_IMPORTED_MODULE_12___default","_SelectInput_SelectInput__WEBPACK_IMPORTED_MODULE_13__","setMonth","nowYear","selectedYear","months","getMonthOptions","setYear","startYear","numberOfYears","yearList","currentYear","getYearOptions","case-table-row","case-table-controls","cell-count","table-header","questionnaire-to-fill-container","invite-button","LIST","themedRippleFactory","centered","listItemIgnore","ThemedListItemAction","ListItemAction","ThemedListSubHeader","ListSubHeader","ThemedListItemText","ListItemText","ThemedListItemContent","ListDivider","listItemContentFactory","ThemedListItemActions","listItemActionsFactory","ThemedListItemLayout","listItemLayoutFactory","Avatar","FactoriedListItem","listCheckboxFactory","listItemFactory","ThemedList","listFactory","ThemedListItem","_babel_runtime_corejs2_core_js_object_assign__WEBPACK_IMPORTED_MODULE_2___default","_babel_runtime_corejs2_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_1___default","_ErrorsContainer__WEBPACK_IMPORTED_MODULE_0__","departmentCount","_departmentCount","caseCount","_caseCount","HealthInsuranceChip","showUniqueId","react_toolbox_lib_chip__WEBPACK_IMPORTED_MODULE_12___default","_highlightedText__WEBPACK_IMPORTED_MODULE_18__","renderMrns","renderDepartments","totalCount","successChipTheme","priority-item","isDateInputSupported","_DatePickerInput","datePickerDialog","asString","handleDismiss","dateValue","react_toolbox_lib_input__WEBPACK_IMPORTED_MODULE_14___default","asDate","_custom_maskedInputWrapper__WEBPACK_IMPORTED_MODULE_17__","react_toolbox_lib_date_picker__WEBPACK_IMPORTED_MODULE_12__","autoOk","minDate","onDismiss","ThemedDatePickerInput","connection","signalR","withUrl","accessTokenFactory","withAutomaticReconnect","dispatchEvent","updates","_babel_runtime_corejs2_core_js_object_values__WEBPACK_IMPORTED_MODULE_0___default","queued","_FamilyPhysicianFields","throttledSearchPhysicians","searchPhysicians","monthPickerInput","searchingPhysicians","physiciansQuery","_FamilyPhysicianFieldset","familyPhysicianFieldset_createSuper","familyPhysicianFields","FamilyPhysicianFields","ChangePasswordMutation","newPassword","ResetPasswordMutation","changePassword","_changePassword","_oldPassword","_newPassword","passwordUpdated","_passwordUpdated","_generatePassword","_generatedPasswordIs","changingPassword","canResetPassword","handleChangePassword","_notification","notificationLink","_notificationLink","_noErrors","_atUrl","unlock","radio-buttons","HospitalEdgePropTypes","inactive","sub-item","resetItem","with-hint","password-input","react_dropzone__WEBPACK_IMPORTED_MODULE_11__","isDragActive","react_intl__WEBPACK_IMPORTED_MODULE_12__","relayResponse","getError","firstInvalidInput","panel","getObjectPosition","offsetTop","elementY","startingY","scrollTop","abs","requestAnimationFrame","curleft","curtop","offsetParent","offsetLeft","full-name","ArchiveConversationConsultReportMutation","ArchiveConversationConsultRequestMutation","archiveTitle","_archiveTitle","archiveDestinationTitle","_archiveDestinationTi","requestArchivedSuccess","_requestArchivedSucce","reportArchivedSuccess","_reportArchivedSucces","archiveRequestConfirm","_archiveRequestConfir","archiveReportConfirm","_archiveReportConfirm","caseArchiveDialog_createSuper","handleArchive","isRequest","AddHandWrittenSignatureMutation","CancelHandWrittenSignatureMutation","addHandWrittenSignatureMutation_addHandWrittenSignature","cancelHandWrittenSignatureMutation_cancelHandWrittenSignatureMutation","_babel_runtime_corejs2_helpers_classCallCheck__WEBPACK_IMPORTED_MODULE_0___default","origin","parsedURL","action-container","action-container-fullwidth","form-field","edit-priority","edit-priority-button","header-container","header-icon","clarification","header-content","report-container","gerudo-labeled-input","send-report-dropdown-button","report-clarifications-container","additional-informations","can-cancel","report-accepted","report-accepted-icon","assigned-to","assignee-banner","current-user","assignee-banner-icon","report-header","report-dropdown","report-alert","report-alert-content","report-alert-text","sub-form","card-list","patient-row","case-row","viewed","not-viewed","case-title-section","insurance-no","data-block","action-block","left-block","right-block","menu-dropdown","action-open","action-open-full","insurance-chips","button-as-label","button-as-label-icon","from-to","case-body-section","status-request","last-update","new-request-button","more-cards","case-info","department-info","title-with-action","anonymous-patient","cardlist-icons","_ref$case$patient$dem","headerDepartment","mobileCaseHeader","PreviousCases","isOpen","handleAddCase","mapPatientCases","_ref$case$patient","hideDpt","hideRequester","setShowCases","showModalAbort","setShowModalAbort","hasMrn","setHasMrn","handleCases","toggleShowModalAbort","header_PreviousCases","MobileCaseHeader","patientHeader","clinicianHeader","hasPicture","initials","react__WEBPACK_IMPORTED_MODULE_12___default","react_toolbox_lib_avatar__WEBPACK_IMPORTED_MODULE_14___default","_babel_runtime_corejs2_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_15___default","_submitted","reported","_reported","requestedMoreInformation","_requestedMoreInforma","contributed","_contributed","contributedMoreInformation","_contributedMoreInfor","contributedToReport","_contributedToReport","reopened","_reopened","closed","_closed","dispatched","_dispatched","dispatchedToDepartment","_dispatchedToDepartme","dispatchedToClinicalDomain","_dispatchedToClinical","reporterAssigned","_reporterAssigned","redispatchRequested","_redispatchRequested","referred","_referred","redispatchedReason","_redispatchedReason","attachedFile","_attachedFile","_onBehalfOf","regarding","_regarding","notPursuingReferral","_notPursuingReferral","videoStarted","_videoStarted","videoEnded","_videoEnded","videoExternalCallEnded","_videoExternalCallEnd","videoStartTime","_videoStartTime","videoEndTime","_videoEndTime","videoDuration","_videoDuration","videoNumberOfParticipants","_videoNumberOfPartici","videoCallTopic","_videoCallTopic","_HistoryItemText","fallback","_babel_runtime_corejs2_helpers_extends__WEBPACK_IMPORTED_MODULE_9___default","_shared_PersonInformation__WEBPACK_IMPORTED_MODULE_30__","_shared_patientInformation__WEBPACK_IMPORTED_MODULE_29__","react_relay_classic__WEBPACK_IMPORTED_MODULE_19__","_babel_runtime_corejs2_helpers_inherits__WEBPACK_IMPORTED_MODULE_12___default","_babel_runtime_corejs2_helpers_assertThisInitialized__WEBPACK_IMPORTED_MODULE_8___default","fallbacks","iconValue","getItemIcon","itemMessages","react_toolbox_lib_list__WEBPACK_IMPORTED_MODULE_21__","_accounts_personAvatar__WEBPACK_IMPORTED_MODULE_24__","_shared_formattedRelative__WEBPACK_IMPORTED_MODULE_27__","reasonId","_shared_htmlElement__WEBPACK_IMPORTED_MODULE_28__","react_toolbox_lib_font_icon__WEBPACK_IMPORTED_MODULE_20___default","eConsultFormReportI18n","renderVideoFields","renderPreviewFields","renderPursuingReferral","_attachments_attachmentUploadAndList__WEBPACK_IMPORTED_MODULE_25__","_shared_formattedDateTime__WEBPACK_IMPORTED_MODULE_26__","participantsCount","isCrds","scheduledTime","room","FormattedDateTime","_formattedDate__WEBPACK_IMPORTED_MODULE_9__","header-status-container","thorsurg-container","thorsurg-date","date-label","thorsurg-left","signature-item","AutocompleteInput","isMultiple","react_toolbox_lib_autocomplete__WEBPACK_IMPORTED_MODULE_12___default","ThemedAutocompleteInput","itemPropTypes","field","with-label","important-label","inline-errored","other-option-input","questionnaire-error","help-text","no-field","element-above","print-container","nav-item","_HiddenInput","ThemedHiddenInput","patient-name","header-card","button-abort","mobile-header-card","mobile-header-status","case-id-form-type","header-card-text","SpinnerIcon","EConsultLogo","react__WEBPACK_IMPORTED_MODULE_4___default","eConsultLogo","cqmfLogo","regex","_x$match","resultParts","joinedMiddle","phoneNumber","decodeURIComponent","normalize","reasonHint","_akinoxsolutions_gerudo_ui__WEBPACK_IMPORTED_MODULE_8__","react_intl__WEBPACK_IMPORTED_MODULE_6__","formsy_react__WEBPACK_IMPORTED_MODULE_3___default","react_toolbox_lib_card__WEBPACK_IMPORTED_MODULE_7__","_inputs_textInput__WEBPACK_IMPORTED_MODULE_10__","_ErrorsContainer__WEBPACK_IMPORTED_MODULE_9__"],"mappings":"kFAAAA,EAAAC,EAAAD,QAA2BE,EAAQ,OAARA,EAAgE,IAK3FC,MAAcF,EAAAG,EAAS,0MAAwM,KAG/NJ,EAAAK,QACAC,gBAAA,8CACAC,OAAA,qCACAC,QAAA,+DCVA,IAAAC,EAAcP,EAAQ,QAEtB,iBAAAO,QAA4CR,EAAAG,EAASK,EAAA,MAOrD,IAAAC,GAAeC,KAAA,EAEfC,eAPAA,EAQAC,gBAAA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AeC,KAAA,EAEfC,eAPAA,EAQAC,gBAAAC,GAEaZ,EAAQ,OAARA,CAAiEO,EAAAC,GAE9ED,EAAAJ,SAAAJ,EAAAD,QAAAS,EAAAJ","file":"app_d7616449cbc29a207d9b.js","sourcesContent":["exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".FormolViewer-style__isLoadingIFrame___36wgr{visibility:hidden}.FormolViewer-style__iframe___JKKlY{width:100%;min-height:100px}.FormolViewer-style__version___1qQFh{text-align:right;font-size:small}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"isLoadingIFrame\": \"FormolViewer-style__isLoadingIFrame___36wgr\",\n\t\"iframe\": \"FormolViewer-style__iframe___JKKlY\",\n\t\"version\": \"FormolViewer-style__version___1qQFh\"\n};","\nvar content = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./main.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./main.scss\", function() {\n\t\tvar newContent = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./main.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".AccountNotConfirmed-style__tooltip___SvB7l{margin-left:1rem;vertical-align:middle;color:orange}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"tooltip\": \"AccountNotConfirmed-style__tooltip___SvB7l\"\n};","const autoSaves = {};\n\nexport function registerAutoSave(id, autoSaveFunc) {\n autoSaves[id] = autoSaveFunc;\n}\n\nexport function unregisterAutoSave(id) {\n delete autoSaves[id];\n}\n\nexport function executeAutoSaves() {\n const promises = Object.keys(autoSaves).map((k) => {\n try {\n return autoSaves[k]();\n } catch (e) {\n // eslint-disable-next-line no-console\n console.error(\"error running auto-save\", e);\n return Promise.resolve();\n }\n });\n\n return Promise.all(promises);\n}\n\nwindow.addEventListener(\"beforeunload\", () => {\n // If there are auto-saves pending, try to execute them within a second\n // Don't want to wait more because it affects browser performance!\n if (Object.keys(autoSaves).length > 0) {\n executeAutoSaves();\n const x = 1000;\n const a = new Date().getTime() + x;\n\n while (new Date().getTime() < a) {\n // Do nothing!\n }\n }\n\n return undefined;\n});\n","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./tooltip.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./tooltip.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./tooltip.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\n\nexport const RelationshipTypePropTypes = PropTypes.shape({\n id: PropTypes.string,\n code: PropTypes.string,\n name: PropTypes.string,\n names: PropTypes.arrayOf(PropTypes.string),\n inverse: PropTypes.shape({\n id: PropTypes.string,\n code: PropTypes.string,\n name: PropTypes.string,\n names: PropTypes.arrayOf(PropTypes.string),\n }),\n});\n","import Relay from \"react-relay/classic\";\n\nexport default class RequestClinicianConversationConsultRedispatchMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(\n RequestClinicianConversationConsultRedispatchMutation,\n name\n );\n }\n\n getMutation() {\n return Relay.QL`mutation { requestClinicianConversationConsultRedispatch }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n reason: this.props.reason,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on RequestClinicianConversationConsultRedispatchPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n data {\n ... on ConversationConsultData {\n permissions\n toDepartment\n history\n }\n }\n ${RequestClinicianConversationConsultRedispatchMutation.getFragment(\"case\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on ConversationConsultData {\n requester\n fromDepartment\n toDepartment\n }\n }\n }\n `,\n };\n}\n","import classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport Button from \"react-toolbox/lib/button\";\nimport { Card, CardTitle, CardText, CardActions } from \"react-toolbox/lib/card\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport { handleFormsyInvalidSubmit, getErrors } from \"../../../helpers/errors\";\nimport { showDialogNotice } from \"../../../stores/app/actions\";\nimport ErrorCard from \"../../shared/errorCard\";\nimport SpinnerButton from \"../../shared/inputs/custom/spinnerButton\";\nimport TextInput from \"../../shared/inputs/textInput\";\n\nimport { messages as dispatchMessages } from \"./ECONSULT_dispatch\";\nimport RequestClinicianConversationConsultRedispatchMutation from \"./requestClinicianConversationConsultRedispatchMutation\";\n\nimport style from \"./ECONSULT_form.style\";\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n requestRedispatchTitle: {\n id: \"forms.econsult.requestRedispatchTitle\",\n description: \"eConsult Dispatch card title\",\n defaultMessage: \"Request a re-assignment\",\n },\n requestRedispatchTitleCaseId: {\n id: \"forms.econsult.requestRedispatchTitleCaseId\",\n description: \"eConsult Dispatch card title with ID\",\n defaultMessage: \"Request a re-assignment for case #{caseId}\",\n },\n requestRedispatch: {\n id: \"forms.econsult.requestRedispatch\",\n description: \"eConsult Dispatch button label\",\n defaultMessage: \"Request re-assignment\",\n },\n requestRedispatchHelpSpecialist: {\n id: \"forms.econsult.requestRedispatchHelpSpecialist\",\n description: \"eConsult Dispatch help label for specialist\",\n defaultMessage:\n \"Use this if you think someone else would be more appropriate to answer the issue and specify why.\",\n },\n requestRedispatchHelpRequester: {\n id: \"forms.econsult.requestRedispatchHelpRequester\",\n description: \"eConsult Dispatch help label\",\n defaultMessage:\n \"This action will send a request to dispatch for a new specialist and specify why.\",\n },\n requestRedispatchSuccess: {\n id: \"forms.econsult.redispatchSuccess\",\n description: \"eConsult Redispatch request success\",\n defaultMessage: \"The request for a re-assignment was successfully processed.\",\n },\n});\n\nexport class EConsultRequestRedispatch extends React.Component {\n static propTypes = {\n viewer: PropTypes.any.isRequired,\n case: PropTypes.any.isRequired,\n dispatch: PropTypes.func.isRequired,\n onRedispatching: PropTypes.func,\n onRedispatch: PropTypes.func,\n onRedispatchError: PropTypes.func,\n controlSubmitExternally: PropTypes.func,\n showCaseId: PropTypes.bool,\n onCancel: PropTypes.func,\n intl: intlShape,\n };\n\n state = {\n mutating: false,\n errors: [],\n };\n\n t(key, args) {\n return this.props.intl.formatMessage(key, args);\n }\n\n componentDidMount() {\n if (this.props.controlSubmitExternally) {\n this.props.controlSubmitExternally(() => this.form.submit());\n }\n }\n\n redispatchRequest(data: any): void {\n const cas = this.props.case;\n const params = {\n viewer: this.props.viewer,\n case: cas,\n caseId: cas.id,\n reason: data.reason,\n };\n if (this.props.onRedispatching) {\n this.props.onRedispatching();\n }\n this.setState({ errors: [], mutating: true });\n Relay.Store.commitUpdate(new RequestClinicianConversationConsultRedispatchMutation(params), {\n onSuccess: () => {\n this.props.dispatch(showDialogNotice(this.t(messages.requestRedispatchSuccess), \"accept\"));\n if (this.props.onRedispatch) {\n this.props.onRedispatch();\n }\n this.setState({ mutating: false });\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({ errors: this.state.errors.concat(errors), mutating: false });\n if (this.props.onRedispatchError) {\n this.props.onRedispatchError(errors);\n }\n });\n },\n });\n }\n\n render() {\n const { case: cas, viewer, controlSubmitExternally, showCaseId, onCancel } = this.props;\n\n const isRequester =\n viewer.currentUser.asSpecialist.departments.filter((x) => x.id === cas.data.fromDepartment.id)\n .length > 0;\n return (\n (this.form = f)}\n onValidSubmit={(d) => this.redispatchRequest(d)}\n onInvalidSubmit={() => {\n handleFormsyInvalidSubmit(this.form);\n if (this.props.onRedispatchError) {\n this.props.onRedispatchError([]);\n }\n }}\n className={classnames(formStyle[\"card-form\"], style[\"dispatch-form\"])}>\n \n \n {showCaseId\n ? this.t(messages.requestRedispatchTitleCaseId, { caseId: cas.legacyId })\n : this.t(messages.requestRedispatchTitle)}\n \n \n

\n {this.t(\n isRequester\n ? messages.requestRedispatchHelpRequester\n : messages.requestRedispatchHelpSpecialist\n )}\n

\n
\n \n
\n
\n {!controlSubmitExternally && (\n \n \n {onCancel && (\n onCancel()}\n />\n )}\n \n )}\n
\n\n {this.state.errors && this.state.errors.length > 0 && (\n \n )}\n \n );\n }\n}\n\nexport default Relay.createContainer(connect()(injectIntl(EConsultRequestRedispatch)), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n currentUser {\n isSpecialist\n asSpecialist {\n departments(specialistType: REQUESTER) {\n id\n }\n }\n }\n }`,\n case: () => Relay.QL`\n fragment on Case {\n id\n legacyId\n\n data {\n ... on ConversationConsultData {\n fromDepartment {\n id\n }\n\n permissions {\n canDispatch\n canRedispatch\n }\n }\n }\n }`,\n },\n});\n","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./bodyPartPicker.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./bodyPartPicker.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./bodyPartPicker.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\n\nimport { DateTimePropTypes } from \"../DateTime/index\";\nimport { UserPropTypes } from \"../User\";\n\nimport { RelationshipTypePropTypes } from \"./RelationshipTypePropTypes\";\n\nexport const CarerPropTypes = PropTypes.shape({\n createdAt: DateTimePropTypes,\n user: UserPropTypes,\n relationshipType: RelationshipTypePropTypes,\n});\n","import PropTypes from \"prop-types\";\n\nimport { AddressPropTypes } from \"../Address\";\n\nimport { CarerPropTypes } from \"./CarerPropTypes\";\nimport { DemographicPropTypes } from \"./DemographicPropTypes\";\nimport { HealthInsurancePropTypes } from \"./HealthInsurancePropTypes\";\n\nexport const PatientPropTypes = PropTypes.shape({\n address: AddressPropTypes,\n carers: PropTypes.arrayOf(CarerPropTypes),\n demographic: DemographicPropTypes,\n healthInsurance: HealthInsurancePropTypes,\n id: PropTypes.string,\n});\n","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./genderAvatar.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./genderAvatar.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./genderAvatar.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\n\nimport { ReportTypes } from \"./ReportTypes\";\n\nexport const GenericReportPropTypes = PropTypes.shape({\n type: PropTypes.oneOf(Object.values(ReportTypes)),\n});\n","import PropTypes from \"prop-types\";\n\nimport { GenericReportPropTypes } from \"../GenericReport/index\";\n\nexport const GenericDestinationPropTypes = PropTypes.shape({\n reports: PropTypes.arrayOf(GenericReportPropTypes),\n});\n","export { GenericDestinationPropTypes } from \"./GenericDestinationPropTypes\";\n","exports = module.exports = require(\"../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".AddPatientHospitalForm-style__row___3VRyr{display:flex;align-items:center}.AddPatientHospitalForm-style__row___3VRyr .AddPatientHospitalForm-style__col___uXlJB{padding-right:5rem}.AddPatientHospitalForm-style__row___3VRyr .AddPatientHospitalForm-style__btn-group___2xG6C{display:flex;justify-content:flex-end}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"row\": \"AddPatientHospitalForm-style__row___3VRyr\",\n\t\"col\": \"AddPatientHospitalForm-style__col___uXlJB\",\n\t\"btn-group\": \"AddPatientHospitalForm-style__btn-group___2xG6C\"\n};","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport class _SplashScreen extends React.Component {\n static propTypes = {\n message: PropTypes.string,\n };\n render() {\n // See shell.css for loader class.\n return (\n
\n \n
{this.props.message || this.props.intl.formatMessage(baseI18n.splash.loading)}
\n
\n );\n }\n}\n\nexport default injectIntl(_SplashScreen);\n","export const SET_FORM_PARAM = \"SET_FORM_PARAM\";\nexport const SET_FORM_PARAMS = \"SET_FORM_PARAMS\";\nexport const SET_ALL_FORM_DATA = \"SET_ALL_FORM_DATA\";\nexport const SET_CURRENT_CASE_ID = \"SET_CURRENT_CASE_ID\";\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { LabeledInput } from \"@akinoxsolutions/gerudo-ui\";\n\nimport styles from \"./InputLabel.module.scss\";\n\nexport const getHelpParams = ({ isPristine, errorMessage }) => {\n if (!isPristine && errorMessage) {\n return {\n helpText: errorMessage,\n status: \"error\",\n };\n }\n\n return {\n helpText: null,\n status: null,\n };\n};\n\nconst InputLabel = ({\n className,\n label,\n name,\n isPristine,\n showRequiredLabel,\n errorMessage,\n children,\n horizontal,\n}) => {\n const { helpText, status } = getHelpParams({ isPristine, errorMessage });\n\n return (\n \n {children}\n \n );\n};\n\nInputLabel.propTypes = {\n className: PropTypes.string,\n label: PropTypes.node,\n hint: PropTypes.node,\n name: PropTypes.string,\n errorMessage: PropTypes.node,\n isPristine: PropTypes.bool,\n showRequiredLabel: PropTypes.bool,\n horizontal: PropTypes.bool,\n};\n\nexport default InputLabel;\n","export { default as InputLabel } from \"./InputLabel\";\n","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./VideoConferenceHistoryItem.styles.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./VideoConferenceHistoryItem.styles.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./VideoConferenceHistoryItem.styles.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".card__card___2UW86{overflow:visible;border:1px solid #e8e8e8;background-color:#fff;box-shadow:none;border-radius:4px;padding:1.5rem;margin:8px 0}.card__card___2UW86 h5{font-size:1.75rem !important}@media print{.card__card___2UW86{display:block !important}}.card__cardActions___1I8xk{flex-wrap:wrap}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"card\": \"card__card___2UW86\",\n\t\"cardActions\": \"card__cardActions___1I8xk\"\n};","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./BrowserWarning.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./BrowserWarning.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./BrowserWarning.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".navigation__main-navigation___3gc9N{overflow-y:auto}.navigation__main-navigation___3gc9N .navigation__avatar-block___1bpg5{height:80px;padding:0 1.2rem;background:#455a64;color:#b0bec5;display:flex;flex-direction:row;align-items:center}.navigation__main-navigation___3gc9N .navigation__avatar-block___1bpg5 a{min-width:0;color:#b0bec5}.navigation__main-navigation___3gc9N abbr{text-transform:none !important}.navigation__main-navigation___3gc9N [data-react-toolbox=\\\"chip\\\"]{margin-left:-0.15rem !important}.navigation__main-navigation___3gc9N .navigation__impersonation-block___QLAF8{padding:0 1.2rem 1.2rem;background:#455a64;font-weight:bold;color:#cc0000;text-align:center}.navigation__portalSection___2X7tG{background:#b0bec5}.navigation__details___2yyvj{overflow:hidden;text-overflow:ellipsis}.navigation__details___2yyvj em{font-size:1.2rem;font-weight:bold;font-style:normal;text-transform:uppercase}.navigation__details___2yyvj span{flex:0.8;font-size:1.2rem}.navigation__icon___2bbWX{min-width:45px;min-height:45px;line-height:7rem;color:#fff}.navigation__icon___2bbWX [data-react-toolbox=\\\"font-icon\\\"]{color:#fff !important}.navigation__inputElement___1S6uE{color:#fff !important;background-color:transparent !important}.navigation__appBar___2_Rib>div{align-items:center;display:flex;width:100%}.navigation__appBar___2_Rib>button>span,.navigation__appBar___2_Rib>div>div>button>span{font-size:3rem !important}.navigation__appBar___2_Rib>button:first-child{margin-right:2rem}@media screen and (max-width: 450px){.navigation__appBar___2_Rib>div>div:first-child{display:none}.navigation__appBar___2_Rib>img{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}}.navigation__leftIcon___BqsHG{color:#fff !important}@media screen and (min-width: 960px){.navigation__leftIcon___BqsHG{display:none !important}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"main-navigation\": \"navigation__main-navigation___3gc9N\",\n\t\"avatar-block\": \"navigation__avatar-block___1bpg5\",\n\t\"impersonation-block\": \"navigation__impersonation-block___QLAF8\",\n\t\"portalSection\": \"navigation__portalSection___2X7tG\",\n\t\"details\": \"navigation__details___2yyvj\",\n\t\"icon\": \"navigation__icon___2bbWX\",\n\t\"inputElement\": \"navigation__inputElement___1S6uE\",\n\t\"appBar\": \"navigation__appBar___2_Rib\",\n\t\"leftIcon\": \"navigation__leftIcon___BqsHG\"\n};","\nvar content = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./warningChip.theme.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./warningChip.theme.scss\", function() {\n\t\tvar newContent = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./warningChip.theme.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import Relay from \"react-relay/classic\";\n\nexport default class UpdatePatientDemographicMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(UpdatePatientDemographicMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { updatePatientDemographic }`;\n }\n\n getVariables() {\n return {\n patientId: this.props.patient.id,\n demographic: this.props.demographic,\n isPartial: this.props.isPartial || false,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on UpdatePatientDemographicPayload {\n patient {\n ${UpdatePatientDemographicMutation.getFragment(\"patient\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n patient: this.props.patient.id,\n },\n },\n ];\n }\n\n getOptimisticResponse() {\n const { patient, demographic } = this.props;\n\n return {\n patient: {\n id: patient.id,\n demographic,\n },\n };\n }\n\n static fragments = {\n patient: () => Relay.QL`\n fragment on Patient {\n id\n updatedAt\n demographic {\n socialInsuranceNumber\n firstName\n lastName\n middleName\n fullName\n gender\n birthday\n age\n birthCity\n birthProvinceCode\n birthCountryCode\n fatherFirstName\n fatherLastName\n motherFirstName\n motherLastName\n motherMaidenName\n preferredLanguage\n }\n }\n `,\n };\n}\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Nav-style__nav___30Fht{display:flex}.Nav-style__nav___30Fht.Nav-style__row___2488D{flex-direction:row}.Nav-style__nav___30Fht.Nav-style__column___3G7jL{flex-direction:column}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"nav\": \"Nav-style__nav___30Fht\",\n\t\"row\": \"Nav-style__row___2488D\",\n\t\"column\": \"Nav-style__column___3G7jL\"\n};","import Relay from \"react-relay/classic\";\n\nexport default class UpdateAttachmentDescriptionMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(UpdateAttachmentDescriptionMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { updateAttachmentDescription }`;\n }\n\n getVariables() {\n return {\n attachmentId: this.props.attachmentId,\n description: this.props.description || \"\",\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on UpdateAttachmentDescriptionPayload {\n updatedAttachment\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on UpdateAttachmentDescriptionPayload {\n updatedAttachment {\n id\n fileName\n extension\n url\n previewUrl\n size\n description\n }\n }\n `,\n ],\n },\n ];\n }\n}\n","\nvar content = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./errors.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./errors.scss\", function() {\n\t\tvar newContent = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./errors.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import { defineMessages } from \"react-intl\";\n\nexport default defineMessages({\n archived: {\n id: \"cases.archived\",\n description: \"Case type Archived\",\n defaultMessage: \"Archived\",\n },\n completed: {\n id: \"cases.completed\",\n description: \"Case type Completed\",\n defaultMessage: \"Completed\",\n },\n eConsultFormName: {\n id: \"cases.eConsultFormName\",\n description: \"eConsult Form Label\",\n defaultMessage: \"eConsult\",\n },\n geriatrics: {\n id: \"cases.geriatrics\",\n description: \"Geriatrics label\",\n defaultMessage: \"Geriatrics\",\n },\n headerTitle: {\n id: \"cases.headerTitle\",\n description: \"Title\",\n defaultMessage: \"Requests\",\n },\n informationRequestStatusCanceled: {\n id: \"cases.informationRequestStatusCanceled\",\n description: \"Information request status: CANCELED\",\n defaultMessage: \"Information request canceled\",\n },\n informationRequestStatusCompleted: {\n id: \"cases.informationRequestStatusCompleted\",\n description: \"Information request status: COMPLETED\",\n defaultMessage: \"Information request completed\",\n },\n informationRequestStatusPending: {\n id: \"cases.informationRequestStatusPending\",\n description: \"Information request status: PENDING\",\n defaultMessage: \"Information request pending\",\n },\n inProgress: {\n id: \"cases.inProgress\",\n description: \"Case type In Progress\",\n defaultMessage: \"Active\",\n },\n newCaseTitle: {\n id: \"cases.newCaseTitle\",\n description: \"New request title\",\n defaultMessage: \"New Request\",\n },\n newPatientCaseDescription: {\n id: \"cases.newPatientCaseDescription\",\n description: \"Help description for creating a new request by a patient\",\n defaultMessage: `Here is a list of questionnaires available for you to fill:`,\n },\n noneFound: {\n id: \"cases.noneFound\",\n description: \"Message when no cases were found\",\n defaultMessage: `No cases found...`,\n },\n patientFormName: {\n id: \"cases.patientFormName\",\n description: \"Patient Form Label\",\n defaultMessage: \"Patient Message\",\n },\n priorityDue: {\n id: \"cases.priorityDue\",\n description: \"Priority's due date\",\n defaultMessage: \"Due\",\n },\n relevantClinicalDetails: {\n id: \"cases.relevantClinicalDetails\",\n description: \"Relevant clinical details label\",\n defaultMessage: \"Relevant clinical details\",\n },\n searchLabel: {\n id: \"cases.searchLabel\",\n description: \"Search cases label\",\n defaultMessage: \"Search cases\",\n },\n selfAssessmentFormName: {\n id: \"cases.selfAssessmentFormName\",\n description: \"Self Assessment Form Label\",\n defaultMessage: \"Self Assessment\",\n },\n teleconsultFormName: {\n id: \"cases.teleconsultFormName\",\n description: \"Teleconsult form label\",\n defaultMessage: \"Teleconsult\",\n },\n thoracicSurgeryFormName: {\n id: \"cases.thoracicSurgeryFormName\",\n description: \"Thoracic surgery form label\",\n defaultMessage: \"Thoracic surgery\",\n },\n dynamicFormCaseFormName: {\n id: \"cases.dynamicFormCaseFormName\",\n description: \"Dynamic form case data form label\",\n defaultMessage: \"Patient questionnaire\",\n },\n waiting: {\n id: \"cases.waiting\",\n description: \"Case type Waiting\",\n defaultMessage: \"Waiting\",\n },\n});\n","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./UrlAnchor.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./UrlAnchor.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./UrlAnchor.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","const React = require(\"../node_modules/react\");\nconst Relay = require(\"../node_modules/react-relay/classic\");\n\n/*\nHack for bypassing new warning when upgrading to React v16\nWarning: The component appears to be a function component that returns a class instance. Change RouteContainer to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `RouteContainer.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.\n*/\nconst oldCreateContainer = Relay.createContainer;\nRelay.createContainer = function () {\n const container = oldCreateContainer.apply(null, arguments);\n container.prototype = React.Component.prototype;\n return container;\n};\n\nexport default Relay;\n","exports = module.exports = require(\"../../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".CompleteConversationDialog-style__form-container___1V5Ug{margin-bottom:10rem}.CompleteConversationDialog-style__inputs-row___2WioN{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;width:100%}.CompleteConversationDialog-style__inputs-row___2WioN .CompleteConversationDialog-style__item___36B3t{margin-right:2rem;flex:1;min-width:200px}.CompleteConversationDialog-style__inputs-row___2WioN .CompleteConversationDialog-style__item___36B3t:last-child{margin-right:0}.CompleteConversationDialog-style__half___1NHF-{width:45%;display:inline-block}.CompleteConversationDialog-style__communication-topic-details___26oeU{margin-left:5%}.CompleteConversationDialog-style__inputs-container___1BwSa{padding-bottom:2rem}.CompleteConversationDialog-style__checkbox-container___32Dws{padding-top:2rem}.CompleteConversationDialog-style__inline-files-container___3xasx{margin-top:2rem}.CompleteConversationDialog-style__inline-files-container___3xasx .CompleteConversationDialog-style__message___rkQ8V{font-size:16;margin-bottom:1rem}.CompleteConversationDialog-style__questionnaire-item___3NYI_{display:flex;align-items:center;justify-content:flex-start}.CompleteConversationDialog-style__questionnaire-text___xRB95{padding-right:1rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"form-container\": \"CompleteConversationDialog-style__form-container___1V5Ug\",\n\t\"inputs-row\": \"CompleteConversationDialog-style__inputs-row___2WioN\",\n\t\"item\": \"CompleteConversationDialog-style__item___36B3t\",\n\t\"half\": \"CompleteConversationDialog-style__half___1NHF-\",\n\t\"communication-topic-details\": \"CompleteConversationDialog-style__communication-topic-details___26oeU\",\n\t\"inputs-container\": \"CompleteConversationDialog-style__inputs-container___1BwSa\",\n\t\"checkbox-container\": \"CompleteConversationDialog-style__checkbox-container___32Dws\",\n\t\"inline-files-container\": \"CompleteConversationDialog-style__inline-files-container___3xasx\",\n\t\"message\": \"CompleteConversationDialog-style__message___rkQ8V\",\n\t\"questionnaire-item\": \"CompleteConversationDialog-style__questionnaire-item___3NYI_\",\n\t\"questionnaire-text\": \"CompleteConversationDialog-style__questionnaire-text___xRB95\"\n};","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./CaseSortDropdown.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./CaseSortDropdown.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./CaseSortDropdown.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./DisplayOnlyOnPrint.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./DisplayOnlyOnPrint.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./DisplayOnlyOnPrint.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".personPictureUrlForm-style__contain-croppie___1HwDx{height:250px}@media screen and (min-height: 400px){.personPictureUrlForm-style__contain-croppie___1HwDx{height:350px}}@media screen and (min-height: 550px){.personPictureUrlForm-style__contain-croppie___1HwDx{height:500px}}.personPictureUrlForm-style__croppie-root___1oSqT [class=\\\"cr-boundary\\\"]{height:90% !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"contain-croppie\": \"personPictureUrlForm-style__contain-croppie___1HwDx\",\n\t\"croppie-root\": \"personPictureUrlForm-style__croppie-root___1oSqT\"\n};","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".PatientConversationPage-style__form-container___2teNl{width:100%;margin-bottom:10rem}@media print{.PatientConversationPage-style__form-container___2teNl{margin:0}}@media print{.PatientConversationPage-style__form-container___2teNl [class*=\\\"PersonInformation-style__link-name\\\"]{color:black;font-weight:bold}}@media print{.PatientConversationPage-style__form-container___2teNl [class*=\\\"ant-card\\\"]{border-color:black !important;box-shadow:none;padding:0;margin:0}}@media print{.PatientConversationPage-style__form-container___2teNl [class*=\\\"ant-card-bordered\\\"]{border:none !important}}.PatientConversationPage-style__half___3wtdX{width:45%;display:inline-block}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"form-container\": \"PatientConversationPage-style__form-container___2teNl\",\n\t\"half\": \"PatientConversationPage-style__half___3wtdX\"\n};","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./textInput.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./textInput.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./textInput.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import Relay from \"react-relay/classic\";\n\nexport default class UpdateAttachmentBodyPartsMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(UpdateAttachmentBodyPartsMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { updateAttachmentBodyParts }`;\n }\n\n getVariables() {\n return {\n attachmentId: this.props.attachmentId,\n bodyPartIds: this.props.bodyPartIds,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on UpdateAttachmentBodyPartsPayload {\n updatedAttachment\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on UpdateAttachmentBodyPartsPayload {\n updatedAttachment {\n id\n fileName\n extension\n url\n previewUrl\n size\n description\n bodyParts {\n id\n code\n name\n }\n }\n }\n `,\n ],\n },\n ];\n }\n}\n","import classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport throttle from \"lodash.throttle\";\nimport PropTypes from \"prop-types\";\nimport React, { useState, useRef, useEffect } from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport Dialog from \"react-toolbox/lib/dialog\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\nimport svgPanZoom from \"svg-pan-zoom\";\n\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { useFormsySubmit } from \"~/src/js/hooks\";\n\nimport femaleBackImage from \"../../../public/assets/images/body-part-picker/female-back.png\";\nimport femaleFrontImage from \"../../../public/assets/images/body-part-picker/female-front.png\";\nimport maleBackImage from \"../../../public/assets/images/body-part-picker/male-back.png\";\nimport backImage from \"../../../public/assets/images/body-part-picker/male-female-back.png\";\nimport frontImage from \"../../../public/assets/images/body-part-picker/male-female-front.png\";\nimport maleFrontImage from \"../../../public/assets/images/body-part-picker/male-front.png\";\nimport formStyle from \"../../../styles/forms\";\nimport { getErrors } from \"../../helpers/errors\";\n\nimport UpdateAttachmentBodyPartsMutation from \"./updateAttachmentBodyPartsMutation\";\n\nimport style from \"./bodyPartPicker.style\";\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n title: {\n id: \"bodyPartPicker.title\",\n description: \"Title for body part picker dialog\",\n defaultMessage: \"Select body parts\",\n },\n flip: {\n id: \"bodyPartPicker.flip\",\n description: \"Label for flip button\",\n defaultMessage: \"Flip (Front/back)\",\n },\n});\n\nconst defaultPanOptions = {\n controlIconsEnabled: true,\n preventMouseEventsDefault: false,\n dblClickZoomEnabled: false,\n};\n\nclass _BodyPartPicker extends React.Component {\n static propTypes = {\n viewer: PropTypes.any,\n currentBodyParts: PropTypes.arrayOf(PropTypes.string),\n onBodyPartsChanged: PropTypes.func,\n gender: PropTypes.string,\n front: PropTypes.bool,\n intl: intlShape,\n };\n\n state = {\n front: true,\n description: \"\",\n selectedParts: [],\n };\n\n constructor() {\n super();\n\n this.throttledDoResize = throttle(this.doResize.bind(this), 500, {\n leading: false,\n });\n }\n\n componentDidMount() {\n const ids = this.props.currentBodyParts;\n const nodes = this.nodes;\n const nodeIds = ids\n .map((i) => {\n const code = this.props.viewer.bodyParts.filter((x) => x.id === i)[0].code;\n const f = nodes.querySelectorAll(\"[data-value='\" + code + \"']\");\n return [].concat(...f).map((x) => ({ id: x.id, value: code }));\n })\n .reduce((a, b) => a.concat(b), []);\n this.setState({ selectedParts: nodeIds });\n this.panFront = window.panFront = this.createPanZoom(\"#frt_base > svg\");\n\n window.addEventListener(\"resize\", this.throttledDoResize);\n }\n\n createPanZoom(selector: string) {\n const svg = svgPanZoom(document.querySelector(selector), defaultPanOptions);\n setTimeout(() => {\n svg.updateBBox().resize().contain().center();\n });\n\n return svg;\n }\n\n componentWillUnmount() {\n if (this.panFront) {\n this.panFront.destroy();\n }\n\n if (this.panBack) {\n this.panBack.destroy();\n }\n window.removeEventListener(\"resize\", this.throttledDoResize);\n }\n\n doResize() {\n if (this.panFront) {\n this.panFront.updateBBox().resize().contain().center();\n }\n\n if (this.panBack) {\n this.panBack.updateBBox().resize().contain().center();\n }\n }\n\n getSelectedPartsIds() {\n const parts = this.props.viewer.bodyParts;\n const partIds = this.state.selectedParts\n .map((x) => {\n return parts.filter((p) => p.code === x.value)[0].id;\n })\n .filter((value, index, self) => {\n return self.indexOf(value) === index;\n });\n\n return partIds;\n }\n\n render() {\n const parts = this.props.viewer.bodyParts;\n const partNames = this.state.selectedParts\n .map((x) => {\n return parts.filter((p) => p.code === x.value)[0].name;\n })\n .filter((value, index, self) => {\n return self.indexOf(value) === index;\n });\n return (\n
\n {this.renderSvg()}\n
{partNames.join(\", \")}
\n
\n );\n }\n\n onClick(e) {\n const id = e.target.id;\n const value = e.target.dataset.value;\n if (id === \"go_bck\") {\n this.setState({ front: false });\n } else if (id === \"go_frt\") {\n this.setState({ front: true });\n } else if (id.indexOf(\"frt_\") >= 0 || id.indexOf(\"bck_\") >= 0) {\n const parts = this.state.selectedParts.slice(0);\n\n const nodes = this.nodes;\n const f = nodes.querySelectorAll(\"[data-value='\" + value + \"']\");\n const found = [].concat(...f).map((x) => ({ id: x.id, value }));\n found.forEach((f) => {\n const i = parts.findIndex((x) => x.id === f.id);\n if (i >= 0) {\n parts.splice(i, 1);\n } else {\n parts.push(f);\n }\n });\n this.setState({ description: e.target.dataset.desc || id, selectedParts: parts }, () => {\n if (this.props.onBodyPartsChanged) {\n this.props.onBodyPartsChanged(this.getSelectedPartsIds());\n }\n });\n } else {\n this.setState({ description: \"\" });\n }\n }\n\n renderSvg() {\n const gender = this.props.gender;\n const p = this.state.selectedParts.map((x) => x.id);\n let clip = null,\n frontImg = frontImage,\n backImg = backImage,\n extraClassName = \"\";\n switch (gender) {\n case \"MALE\":\n clip = ;\n extraClassName = style.male;\n frontImg = maleFrontImage;\n backImg = maleBackImage;\n break;\n case \"FEMALE\":\n clip = ;\n extraClassName = style.female;\n frontImg = femaleFrontImage;\n backImg = femaleBackImage;\n break;\n default:\n break;\n }\n\n const isFront = this.props.front !== undefined ? this.props.front : this.state.front;\n\n if (!isFront && !this.panBack) {\n setTimeout(() => {\n this.panBack = this.createPanZoom(\"#bck_base > svg\");\n });\n }\n\n return (\n (this.nodes = r)}\n className={classnames(style.root, extraClassName)}\n onClick={(e) => this.onClick(e)}>\n
\n \n {clip && {clip}}\n \n \n = 0 })}\n d=\"M418.334,70C416.668,38,382,19,363,19c-30.833,0-50.167,31.5-53.167,44.5c-1.915,8.295-2.833,23.5-2.5,28.167s1,12.333,0.667,16.167c2.04,7.695,6.667,23,6.667,33c0.667,5.167,1.167,12.5,3.333,18.833c3,4,22.5,23.333,44.167,23.333s36.5-8.667,45.708-23c2.625-5.625,5-15.25,4.75-18.625c-0.708-5.125,4.708-28.042,5.709-32.708C419.001,101.334,420,102,418.334,70z\"\n />\n = 0 })}\n d=\"M340.5,102.25c8.561,0,14.5-4.197,14.5-9.375s-5.939-9.375-14.5-9.375S325,87.697,325,92.875S331.939,102.25,340.5,102.25z\"\n />\n = 0 })}\n d=\"M388.5,102.25c8.561,0,15.5-4.197,15.5-9.375s-6.939-9.375-15.5-9.375S374,87.697,374,92.875S379.939,102.25,388.5,102.25z\"\n />\n = 0 })}\n d=\"M299.833,106c-4,4-1.833,17-0.833,20.667s5.833,14.667,7.167,15.833s5.167,4.833,8.5-1.667c0-10-4.627-25.305-6.667-33C307,106,303.833,102,299.833,106z\"\n />\n = 0 })}\n d=\"M412.625,141.375c3.75,6.375,8.875,3.25,10-1.75s7.625-7.875,6.75-23.625s-8.041-11.667-11.041-7.333C417.333,113.333,411.917,136.25,412.625,141.375z\"\n />\n = 0 })}\n d=\"M355.375,105.25c-0.375,3.125-5,6.375-5.625,13.125c-0.438,4.731,6.25,7.5,10.25,6.5c5,2.625,6.75,0.625,9.875-0.625c5.75,0.875,8-3.25,8-7.75s-4.375-6.75-4.875-12.25s-3.375-7.625-3.125-13.5s-2.375-9.875-6.086-9.875c-5.21,0-6.289,7.875-5.914,10.625S355.75,102.125,355.375,105.25z\"\n />\n = 0 })}\n d=\"M374.25,133.25c-2.256-2.723-6.231-1.652-7.875-0.75c-0.882,0.484-3.5,0.875-5.125-0.375s-6.125-0.125-7.375,1.625s-11.75,5.125-12.625,8.125s8.625,3.25,11,4.125s4.5,3.75,13.125,3.75s10.966-2.787,13.25-3.25s8.125-1.125,8.5-3.5S377.875,137.625,374.25,133.25z\"\n />\n = 0 })}\n d=\"M307.667,244.167c15.667-0.833,41.167-2.166,45.333,3.667s15.834,6,19.667,0s38.028-6.245,50.833-4.333c4.95,0.739,9.833,0.81,14.438,0.363c10.976-1.066,20.373-5.078,25.342-10.017c-8.889,0.081-18.524-5.195-31.03-10.721C416.125,216,407.625,207.25,407,204.5s0.125-34.5,0.875-44.5c-9.208,14.333-24.041,23-45.708,23S321,163.667,318,159.667c2.167,6.333,1.5,29.833,0.75,45.333c-8.5,15.25-40,24-48,27.5c2.042,1.655,10.695,6.598,20.857,9.508C296.793,243.493,302.373,244.448,307.667,244.167z\"\n />\n = 0 })}\n d=\"M486.5,295c-2.018-20.749-37.75-48.25-48.562-51.137c-4.605,0.447-9.488,0.376-14.438-0.363c-12.805-1.911-47-1.667-50.833,4.333s-15.5,5.833-19.667,0s-29.667-4.5-45.333-3.667c-5.294,0.281-10.873-0.674-16.059-2.159c-8.004,3.48-46.033,26.426-52.127,58.308c-0.459,2.402-0.744,4.852-0.814,7.351c-1,35.667,0.003,72.11-0.165,85.722c0.383-0.096,9.666,25.111,12.166,30.778S255.75,442,259.25,448.75C267.5,456.5,306,474,332.5,467s36.5-6.244,65,0.128s52.668-2.794,73.084-27.211c1.25-3.25,4.75-11.75,5.333-15s2.667-6.999,4.084-9.749s7.455-21.675,8.005-21.176C488.678,380.65,487.667,307.001,486.5,295z\"\n />\n = 0 })}\n d=\"M397.5,467.128C369,460.756,359,460,332.5,467s-65-10.5-73.25-18.25c3.5,6.75,2,12,3.75,17.75s5,21.334,0.5,41.501s-1.667,35.666-0.5,40.166c0.785,3.029,2.326,5.001,1.419,8.813C276,568.5,294.834,591.5,364.917,591.5s86.417-20.498,98.75-33.499c-1.666-4.5-0.501-12,2.499-21.167s-3.499-44.667-3.833-52.833s2.501-21.5,2.751-27.584s4.25-13.25,5.5-16.5C450.168,464.334,426,473.5,397.5,467.128z\"\n />\n = 0 })}\n d=\"M364.917,591.5c-70.083,0-88.917-23-100.498-34.52c-0.44,1.852-1.458,4.137-3.419,7.188c-2.708,4.214-5.009,15.491-6.673,27.332c10.34,9.027,56.21,47.939,84.084,82.636c8.255-3.802,35.957-5.104,49.606-0.453c28.214-33.03,74.964-71.046,85.649-79.515c-1-13.666-8.334-31.667-10-36.167C451.334,571.002,435,591.5,364.917,591.5z\"\n />\n = 0 })}\n d=\"M338.412,674.136c7.636,9.505,13.921,18.693,17.755,26.864c1-2.167,2.75-2.833,6.833-3.167s5.75,0.834,6.917,1.584c3.8-7.69,10.229-16.519,18.101-25.734C374.368,669.031,346.667,670.334,338.412,674.136z\"\n />\n = 0 })}\n d=\"M239.48,300.316c6.094-31.882,44.123-54.828,52.127-58.308c-10.162-2.91-18.816-7.853-20.857-9.508c-8,3.5-15.5,2-26.75,4.25S202.5,250,190.5,274.5s-9.5,57-9.25,65.75c0.034,1.202,0.012,2.258-0.058,3.222C194.058,328.083,224.9,324.345,239.48,300.316z\"\n />\n = 0 })}\n d=\"M486.5,295c13.5,30.001,46.022,30.211,58.595,48.439c-0.768-3.438-1.004-7.947-0.345-14.439c1.931-19.007-4.875-52.125-17.875-68.5s-53.125-26.75-63.595-26.654c-4.969,4.939-14.366,8.951-25.342,10.017C448.75,246.75,484.482,274.251,486.5,295z\"\n />\n = 0 })}\n d=\"M238.667,307.667c0.07-2.499,0.354-4.949,0.814-7.351c-14.58,24.029-45.423,27.768-58.288,43.156c-0.437,6.049-2.914,8.093-7.442,14.778C168.5,366,158.5,397.5,155,409.5c-0.507,1.738-0.896,3.229-1.221,4.551c-1.413,17.735,10.718,25.876,24.421,31.618c11.394,4.774,24.501,8.306,33.45,1.543c0.711-1.544,1.634-3.368,2.85-5.712c3.5-6.75,23.363-47.953,24.001-48.111C238.669,379.777,237.667,343.334,238.667,307.667z\"\n />\n = 0 })}\n d=\"M549.573,445.669c14.284-5.985,25.869-14.57,23.177-33.919c-1.625-11.25-17.875-51.25-22-57.25c-2.265-3.294-4.53-6.027-5.655-11.061C532.522,325.211,500,325.001,486.5,295c1.167,12.001,2.178,85.65,1.506,98.992c0.108,0.098,20.827,42.675,23.494,48.175C520.012,455.281,536.009,451.353,549.573,445.669z\"\n />\n = 0 })}\n d=\"M178.2,445.669c-13.704-5.742-25.834-13.883-24.421-31.618c-1.917,7.803-1.51,9.506-8.779,18.699c-5.907,7.47-15.794,29.063-22.538,48.927c15.882-28.244,68.495,4.695,75.547,19.871c6.154-16.332,11.13-43.69,11.49-47.172c0.245-2.366,0.814-4.26,2.15-7.163C202.702,453.975,189.594,450.443,178.2,445.669z\"\n />\n = 0 })}\n d=\"M606,485.25c-2.028-7.858-4.954-16.438-9.03-24.074c-4.97-9.31-16.414-30.066-17.72-32.176c-3.25-5.25-5.336-9.194-6.5-17.25c2.692,19.349-8.893,27.934-23.177,33.919c-13.564,5.684-29.562,9.612-38.073-3.502c2.667,5.5,7,11.333,7,17.333c0,1.363,1.692,13.781,4.385,25.354c2.187,9.396,5.372,18.235,6.115,20.146C527.5,492,591.5,448,606,485.25z\"\n />\n = 0 })}\n d=\"M122.462,481.677c-2.96,8.722-5.318,17.111-6.462,23.823c-2.028,11.896-8.779,39.212-16.707,62.487c-1.735,5.094-3.563,9.992-5.337,14.495c1.722,9.015,32.508,23.476,42.632,18.606c1.457-2.714,2.764-5.01,3.745-6.587c4.667-7.5,11.917-19.251,24.917-35.251s25.5-39.75,32-55.75c0.255-0.629,0.508-1.285,0.76-1.953C190.958,486.372,138.345,453.433,122.462,481.677z\"\n />\n = 0 })}\n d=\"M632.833,581.061c-2.89-7.644-5.897-16.096-8.083-21.561c-4-10-12.75-51-18.75-74.25C591.5,448,527.5,492,529,505c7,18,35.75,60.25,40.375,65.875s16.49,23.007,19.5,28.25C595.414,609.279,634.667,590.667,632.833,581.061z\"\n />\n = 0 })}\n d=\"M93.956,582.482c-5.112,12.975-9.774,22.651-10.456,24.143c-0.886,1.939-1.456,3.337-2.977,4.62c9.057,0.416,28.988,8.686,43.015,19.44c2.127-7.809,8.37-20.88,13.05-29.598C126.464,605.958,95.678,591.497,93.956,582.482z\"\n />\n = 0 })}\n d=\"M648.75,611.25c-8.5-4-5.75-8.25-9.5-15c-1.7-3.061-4.019-8.847-6.417-15.189c1.834,9.606-37.419,28.219-43.958,18.064c1.544,2.689,5.188,10.48,8.506,17.668c3.15,6.824,6.007,13.104,6.494,13.957C618.75,618.834,640.333,610.666,648.75,611.25z\"\n />\n = 0 })}\n d=\"M67.75,616.375c-13.375,3.75-33.125,20.25-37.75,23.25s-7.75,8.375-11.875,10.5s-4.125,8.625,0,10.5s9.625,0.125,13-1.5s9.042-8.457,15.5-10.5c3.788-1.198,7.625-1.5,7.625,0.125s-8.5,22.375-9.125,25.5s-3.875,13.875-5.875,21.125s-5.5,21.25-6.75,29.25s0.875,11.75,5.125,12.625s7.875-7.625,8.646-10.625s2.854-12.75,3.979-15.5s6.625-18.75,8-22s2.375-8.625,4.375-7.75s-0.375,5.875-1.75,9.75S53.75,715.875,53,719.75s-5,19.75-5.25,22.5s-1.875,8.75,2.75,10.5s7.75-1.875,9.5-5.625S65.375,729.5,67.375,721s5.75-19.5,7.125-24s2.125-8,3.875-7.875s1.5,2.5,0.75,4.75S73,714.5,72,719.5s-4.25,16.125-5.375,20.375s-1.75,9.25,2.5,10.75s6.875-1.5,8.75-4.75s7.875-21.5,9.369-27.125s4.756-18.5,6.131-22.375s2.5-5.625,3.625-5.5s0.25,2.625-1.125,7s-5.375,18.5-7.125,25s-2.25,9.625,0,12s7.083-0.541,8.25-2.541s3-11,5.667-16.333c1.676-3.352,3.669-11.246,6.53-19.381c1.691-4.808,4.336-9.699,5.636-13.786c3.5-11,4.333-18.833,7-28.5s0.167-11.667,1-20.167c0.096-0.975,0.344-2.156,0.705-3.481c-14.027-10.755-33.958-19.024-43.015-19.44C78.612,612.857,75.198,614.287,67.75,616.375z\"\n />\n = 0 })}\n d=\"M702.25,641.25c-2.75-3.75-17.5-11.5-21.75-14.5c-2.125-1.5-7.938-4.375-14.281-7.375S653,613.25,648.75,611.25c-8.417-0.584-30,7.584-44.875,19.5c1,1.75-0.875,7.125,0.125,16.25s4.125,23.25,6.375,32.125s7,18.375,8.5,22.875s9.403,29.364,12.625,32c2.75,2.25,7.5,0.75,8.25-2.75s-1.625-10.875-2.5-14.125s-5.625-19.25-6.5-21.75s-2-5.125-0.25-5.125s2.125,2.75,3.25,5.625s5.875,19.5,6.875,24.125s4.5,17,6.25,21.75s5,10,9,9.75s4.875-4.75,5.125-8.375s-5.875-23.5-6.375-27.625s-5.375-19.25-6.125-21.25s-1.375-5,0.625-5.125s2.875,5.625,3.75,8.625s9.75,31.875,10.25,35.5s2.625,14.5,6,17.75c2.744,2.643,5.625,3.875,8.625,0.875s2.25-10,0.875-15.25s-4.625-21.125-5.5-25s-6.375-20.875-7.25-24s-2.125-5.375-1.125-5.75s2.25,1.125,3.5,5.25s6.625,20.5,8.375,25.5s1.5,11.625,4.125,17.375s7,7.625,10.625,7.125s4.277-7.391,4.375-10.125s-4.75-20.5-6.25-27.375s-5.25-16.625-6.5-23s-7.375-23.375-8.625-26s-0.625-4.75,2.5-3.875s9.25,2.625,13,7.625s10.875,6.75,13.375,7s8.5,0.375,9.25-6.375S705,645,702.25,641.25z\"\n />\n = 0 })}\n d=\"M254.327,591.5c-2.021,14.389-3.102,29.611-2.827,34c0.5,8-6.5,46-11.5,70c-3.981,19.107-12.131,56.915-14.375,92.478c-0.575,9.105,0.172,18.063,0.375,26.522c0.845,35.062,9.541,55.489,16.139,69.427c35.654,13.2,53.799,56.767,88.484,34.358c2.478-11.204,8.03-39.965,9.627-52.285c1.75-13.5,10.083-66.333,11.815-88.167s1.269-38.833,0.435-43.166s-0.167-12.667-0.417-21.334s3.083-10.166,4.083-12.333c-3.834-8.171-10.12-17.359-17.755-26.864C310.538,639.439,264.667,600.527,254.327,591.5z\"\n />\n = 0 })}\n d=\"M388.018,673.683c-7.872,9.216-14.301,18.044-18.101,25.734c1.167,0.75,3.083,5.083,4.333,8.083s1,20.75-0.25,31.5s1.5,59.75,3.75,71s8.417,55.334,10.084,67.001s5.166,31.5,7.166,39.833c36.334,25.833,52.479-20.023,89.334-33.168c5.667-10,13.999-27.333,15.999-52.333c0.874-10.926,1.603-27.168,0.824-43.078c-1.002-20.493-3.844-40.436-5.157-47.754c-2.333-13-14.834-82.834-17-92.667s-4.333-40-5.333-53.666C462.981,602.637,416.231,640.652,388.018,673.683z\"\n />\n = 0 })}\n d=\"M242.139,883.927c1.212,2.56,2.353,4.901,3.361,7.073c6.5,14,6,37.5,6.5,61c0.078,3.657,0.262,7.679,0.348,11.921c10.591,44.449,51.024,21.223,68.904,3.938c0.325-1.35,0.929-2.658,1.373-3.483c0.875-1.625,2.125-10.625,3.375-16.625s2-18.5,4-26.75c0.175-0.721,0.386-1.643,0.623-2.715C295.938,940.693,277.793,897.127,242.139,883.927z\"\n />\n = 0 })}\n d=\"M395,916.834c2,8.333,4.333,14.167,4.333,24s4,22.167,5.167,25c17.417,18.167,61,46.833,69.25-8.834c0-11.5,3.25-39.334,3.584-50.334s1.333-13,7-23C447.479,896.811,431.334,942.667,395,916.834z\"\n />\n = 0 })}\n d=\"M252.348,963.921c0.085,4.202,0.072,8.622-0.239,13.122c-1.393,20.15-4.799,41.913-4.109,52.957c1,16,4.5,62,7.5,83s6.875,83,7.125,87.5c0.06,1.082,0.008,2.26-0.107,3.478c6.992-11.484,36.463-9.869,44.754-6.101c-1.079-3.858-2.297-10.522-2.438-15.043c-0.167-5.333,7.5-47.167,8.333-58.333s3.667-29.5,4.333-33.333s5.75-17.168,9.5-25.918s3.5-20,2.5-27.25s-3.75-45.75-4.5-51.375s-2.25-13.125-3.5-15.125c-0.615-0.984-0.563-2.333-0.248-3.642C303.372,985.144,262.939,1008.37,252.348,963.921z\"\n />\n = 0 })}\n d=\"M404.5,965.834c1.167,2.833-1.25,16.416-4.25,33.916s-4.083,48.751-3.083,56.751s9.667,28.833,11.833,35s0.667,8.833,2,20.833s7.167,47.334,9,59s1.5,21-0.667,27.167C426,1194,462,1191.5,465.5,1207c-0.75-4.25-1.75-10-1-22.25s5-60.25,8.25-87.75s6.75-82,4.5-96.5s-3.5-32-3.5-43.5C465.5,1012.667,421.917,984.001,404.5,965.834z\"\n />\n = 0 })}\n d=\"M262.518,1203.978c-0.363,3.847-1.388,8.108-1.768,11.147c-0.5,4,2.125,8.625,1.375,15.875c-0.034,0.332-0.091,0.67-0.146,1.008c12.665-4.423,40.242,8.668,48.998,21.075c1.177-7.814,1.063-15.23-0.478-19.082c-1.667-4.166-2.167-7.167-0.833-12.5s-0.667-18.667-1.833-21.834c-0.178-0.482-0.368-1.097-0.562-1.79C298.981,1194.108,269.51,1192.493,262.518,1203.978z\"\n />\n = 0 })}\n d=\"M419.333,1198.501c-2.167,6.167-3.166,21-2.666,22.667s0.833,9.333-1,13.499s-1.667,13.334-0.667,21.5c6-13.583,37-29.917,50-23.667c-2-5.5-2.25-5.75-1-9.25s2.25-12,1.5-16.25C462,1191.5,426,1194,419.333,1198.501z\"\n />\n = 0 })}\n d=\"M261.979,1232.008c-1.15,7.047-6.68,15.393-10.854,23.742c-4.375,8.75-13,19.375-21,28.25s-10.375,26.375-10.125,29.5s3.125,5.875,6.125,5.5c0,1.125,1,2.875,4.25,2.5c0.25,2,0,6.25,8.25,5c4,4.875,7.875,4.625,10.75,1.75c5.292,6.314,10.383,6.492,15.75,5.809c4.375-0.558,11.125-7.809,12.25-10.559s2.25-3.875,5.875-6.75c1.972-1.563,3.795-4.086,5.156-8.824c1.141-3.973,1.957-10.098,2.261-12.758c0.667-5.833,0.667-10.834,4.5-21.334c8.667-3.667,14-10.333,15.5-18.833c0.113-0.642,0.215-1.28,0.311-1.918C302.221,1240.676,274.645,1227.585,261.979,1232.008z\"\n />\n = 0 })}\n d=\"M415,1256.167c1,8.166,12,15,15,16.5s3,4.167,3.833,7s2.834,10.667,3.834,21s6.25,15.749,8.666,17.666s2.834,3,3.667,4.667s3.417,6.083,11.167,9.75s14.999-1.167,16.749-4.75c4.5,4.5,11.084,0.416,12.25-2.084c4.916,1.416,7.834-3.25,7.917-5.166c1.583,0.334,3.584-1.082,4.25-2.582c0.833,0.334,2.5,0.666,5-3.334s-3-17.5-4.167-21.667s-9.666-14.833-16.333-21.833s-7.833-11.333-12.5-18.667S467,1238,465,1232.5C452,1226.25,421,1242.584,415,1256.167z\"\n />\n = 0 })}\n d=\"M1082.16,60.833c-25.906,0-43.826,13.667-50.414,35.475c-3.213,10.641-3.598,24.057-3.598,40.511c0,2.183,0.06,4.363,0.16,6.536c0.521,11.222,2.31,22.173,4.608,31.583c3.209,13.141,7.401,23.275,10.495,26.914c3.472,5.323,9.371,9.767,13.83,13.25c7.537,5.888,14.671,9.029,26.037,9.029c11.718,0,20.105-3.845,27.271-10.22c3.897-3.467,8.842-8.387,10.528-12.226c3.354-6.575,6.155-17.269,8.301-28.019c2.513-12.598,4.122-25.259,4.662-31.473c0.134-1.537,0.204-2.694,0.204-3.341C1134.245,123.727,1142.167,60.833,1082.16,60.833z\"\n />\n = 0 })}\n d=\"M1070.873,130.935c0-4.836-5.481-8.756-13.478-8.756c-7.995,0-14.477,3.92-14.477,8.756c0,4.836,6.481,8.756,14.477,8.756C1065.392,139.691,1070.873,135.771,1070.873,130.935z\"\n />\n = 0 })}\n d=\"M1106.229,139.691c7.995,0,14.477-3.92,14.477-8.756c0-4.836-6.481-8.756-14.477-8.756c-7.996,0-13.478,3.92-13.478,8.756C1092.751,135.771,1098.232,139.691,1106.229,139.691z\"\n />\n = 0 })}\n d=\"M1021.25,139.125c-2.875,0.625-4.125,8.25-3.125,13.625s3.909,14.25,6.455,18.75c2.336,4.131,4.846,9.557,8.337,3.438c-2.299-9.411-4.087-20.362-4.608-31.583C1025.986,141.067,1023.102,138.723,1021.25,139.125z\"\n />\n = 0 })}\n d=\"M1136,174.625c1.5-2.375,4.375-8.875,5.75-12.625s2.875-14.25,2.375-18.875s-4.75-4.875-6.5-2.25c-0.807,1.209-2.197,1.536-3.584,1.318c-0.54,6.214-2.149,18.875-4.662,31.473C1131.777,178.979,1134.818,176.495,1136,174.625z\"\n />\n = 0 })}\n d=\"M1068.035,158.752c-0.408,4.419,5.838,7.005,9.574,6.071c4.67,2.452,6.304,0.583,9.223-0.584c5.371,0.817,7.473-3.036,7.473-7.238c0-4.203-4.087-6.305-4.554-11.442s-3.152-7.122-2.919-12.609s-2.218-9.223-5.684-9.223c-4.866,0-5.874,7.355-5.524,9.924c0.351,2.568-1.984,9.924-2.335,12.843S1068.619,152.448,1068.035,158.752z\"\n />\n = 0 })}\n d=\"M1090.479,174.547c-2.009-2.389-5.549-1.449-7.013-0.658c-0.785,0.424-3.116,0.768-4.563-0.329s-5.454-0.109-6.567,1.426c-1.113,1.536-10.464,5.497-11.242,8.128c-0.778,2.632,7.681,3.851,9.795,4.619c2.115,0.768,4.008,3.29,11.688,3.29c7.682,0,9.765-2.445,11.799-2.851c2.035-0.406,7.235-1.987,7.569-4.071C1102.278,182.018,1093.708,178.386,1090.479,174.547z\"\n />\n = 0 })}\n d=\"M1055.245,277.186c7.666-1.333,14,3.667,18.333,7.667s11.666,4,15.333,0s12.001-9.333,24.334-7.333s16.333-1,26.333-6c13.203-6.602,19.454-9.105,36.681-14.544c-4.235-0.279-8.442-0.39-12.514-0.622c-17.5-1-38.957-4.63-42.5-13.333c-4.079-10.019-3.245-27.352-0.167-41.333c-1.687,3.839-6.631,8.759-10.528,12.226c-7.165,6.375-15.553,10.22-27.271,10.22c-11.366,0-18.5-3.142-26.037-9.029c-4.459-3.483-10.358-7.927-13.83-13.25c0.333,2.167,2.75,18.772,1.833,32.25c-0.911,13.398-10.762,16.644-31.612,20.584c-8.076,1.526-21.371,2.995-29.388,3.666c20.666,3.5,43.333,10.5,47.333,13.5S1047.579,278.519,1055.245,277.186z\"\n />\n = 0 })}\n d=\"M1183.389,362.851c-1.799-4.795-3.164-9.618-2.81-16c0.434-7.804,1.971-18.29,1.593-28.995c-0.712-20.142-8.204-41.059-42.594-46.337c-10,5-14,8-26.333,6s-20.667,3.333-24.334,7.333s-11,4-15.333,0s-10.667-9-18.333-7.667s-19.667-2.333-23.667-5.333c-32.877,3.202-47.718,24.43-48.082,49.281c-0.053,3.622,0.198,7.319,0.749,11.05c1.906,12.904-0.123,23.486-2.841,33.069c-3.46,12.201-7.175,14.914-7.034,34.474c1.25,8,5.125,16.75,8.875,21.25c0.494,4.944,3.648,20.29,5.687,28.839c0.539,2.259,1,4.043,1.313,5.036c0.467,1.478,1.176,8.086,1.885,16.806c2.263,3.992,7.449,32.313,48.83,14.238c12.048-5.262,24.116-13.146,41.201-13.146s30.371,8.46,41.064,13.26c40.021,17.962,46.986-6.785,50.044-16.517c0.871-10.137,1.665-17.716,1.976-18.765c1-3.375,5.166-24.208,5.833-30.042c3.333-4,7.917-15,8.333-19.417C1191.936,381.241,1186.857,372.096,1183.389,362.851z\"\n />\n = 0 })}\n d=\"M1183.389,362.851c-16.477-44.995-66.144-13.999-101.228-13.999s-84.915-32.333-100.757,16.401c-3.46,12.201-7.175,14.914-7.034,34.474c1.25,8,5.125,16.75,8.875,21.25c23,29.375,52.834,11.539,67-1c8.393-7.428,20.5-14.811,31.916-14.811c9.584,0,18.084,4.821,27.584,12.811c22,18.503,54,26.625,71.333,2.708c3.333-4,7.917-15,8.333-19.417C1191.936,381.241,1186.857,372.096,1183.389,362.851z\"\n />\n = 0 })}\n d=\"M1123.226,486.009c-10.693-4.799-23.979-13.26-41.064-13.26s-29.153,7.884-41.201,13.146c-41.381,18.075-46.567-10.247-48.83-14.238c1.571,19.306,3.148,48.961,2.115,56.194c-1.135,7.941-9.276,28.04-14.799,41.473c3.636,7.516,25.04,39.648,101.913,39.648s99.986-31.362,104.039-39.648c-2.226-5.323-4.486-11.973-5.403-14.723c-1.25-3.75-6.75-17-9.25-23.25c-1.723-4.308,0.592-39.376,2.524-61.86C1170.212,479.224,1163.246,503.971,1123.226,486.009z\"\n />\n = 0 })}\n d=\"M1081.359,608.973c-76.873,0-98.277-32.132-101.913-39.648c-1.779,4.327-3.287,7.963-4.201,10.277c-0.718,1.819-4.753,12.178-9.266,28.098c20.901,5.683,66.603,53.919,86.013,79.231c15.253-7.08,41.929-7.298,60.341-0.689c16.61-24.865,56.122-72.163,85.544-78.591c-4.775-18.663-9.193-31.593-10.132-33.299c-0.733-1.333-1.538-3.092-2.347-5.027C1181.346,577.611,1158.232,608.973,1081.359,608.973z\"\n />\n = 0 })}\n d=\"M1051.992,686.932c5.745,7.492,9.585,12.977,10.419,14.754c15.333,17.168,28.667,12.5,40.834-0.833c0.847-1.714,4.106-7.153,9.088-14.61C1093.921,679.633,1067.245,679.852,1051.992,686.932z\"\n />\n = 0 })}\n d=\"M983.496,321.133c0.364-24.852,15.205-46.08,48.082-49.281c-4-3-26.667-10-47.333-13.5c-8.017,0.671-36.833-0.833-45.5,44.5c-1.326,6.936-6.612,29.151-8.44,49.644C938.758,339.442,975.279,337.249,983.496,321.133z\"\n />\n = 0 })}\n d=\"M1182.172,317.855c5.073,20.997,49.579,18.889,52.073,36.997c0-5.5-5-59.75-19-79.25c-10.742-14.963-25.018-17.708-38.986-18.628c-17.227,5.439-23.478,7.943-36.681,14.544C1173.968,276.797,1181.46,297.713,1182.172,317.855z\"\n />\n = 0 })}\n d=\"M981.404,365.253c2.718-9.583,4.747-20.165,2.841-33.069c-0.551-3.731-0.802-7.429-0.749-11.05c-8.217,16.115-44.738,18.309-53.191,31.362c-0.269,3.007-0.464,5.978-0.56,8.856c-0.697,20.911-17.797,65.556-22.819,82.598c1.973,21.535,38.649,20.571,48.624,11.675c0.842-2.145,1.608-3.973,2.195-5.273c2.333-5.167,15.667-39.667,16.625-50.625C974.229,380.167,977.944,377.454,981.404,365.253z\"\n />\n = 0 })}\n d=\"M1257.359,443.382c-0.202-0.769-0.41-1.559-0.634-2.391c-2.22-8.277-5.535-19.675-10.48-34.389c-3.74-11.128-6.349-20.293-8.152-27.713c-1.16-4.771-1.988-8.82-2.571-12.207c-0.995-5.78-1.276-9.627-1.276-11.83c-2.494-18.108-47-16-52.073-36.997c0.378,10.705-1.159,21.191-1.593,28.995c-0.354,6.382,1.011,11.205,2.81,16c3.469,9.245,8.547,18.391,6.022,38.418c0.333,1.917,1.834,4.083,2.667,6.917s7.334,22.667,10.334,30.833c1.362,3.708,3.618,8.688,5.8,13.723C1213.072,465.191,1264.631,474.896,1257.359,443.382z\"\n />\n = 0 })}\n d=\"M906.926,443.95c-0.382,1.295-0.701,2.449-0.931,3.402c-3.25,13.5-5.75,23.5-9.5,29.75c-1.344,2.239-4.423,8.375-7.957,16.714c8.213-9.979,21.624-12.289,31.761-7.812c10.473,4.626,18.204,17.605,19.489,33.772c0.413-1.687,0.739-3.183,0.957-4.425c1.667-9.5,6.5-29,8-37.667c1.123-6.486,4.299-15.679,6.805-22.061C945.575,464.521,908.898,465.484,906.926,443.95z\"\n />\n = 0 })}\n d=\"M1244.594,486.005c11.671-5.155,25.484-5.065,32.105,9.867c-1.364-3.261-2.682-6.233-3.891-8.824c-1.132-2.424-2.169-4.515-3.063-6.196c-6.25-11.75-8-20-9-23.75c-0.469-1.759-1.437-6.279-3.386-13.72c7.271,31.514-44.287,21.81-49.147,9.359c2.623,6.052,5.139,12.183,5.866,16.277c0.87,4.895,2.834,15.833,4.5,21.333c0.842,2.78,2.11,9.819,3.504,17.005c1.362,7.03,2.845,14.2,4.163,17.662C1221.555,504.252,1231.784,491.663,1244.594,486.005z\"\n />\n = 0 })}\n d=\"M920.299,486.005c-10.137-4.478-23.548-2.167-31.761,7.812c-6.328,14.935-14.118,36.964-16.043,56.536c-4.38,44.525-10.921,61.208-15.92,74.535c1.766,4.367,7.198,6.687,12.375,8.934c5.517,2.395,14.79,4.127,20.007,3.178c2.049-4.53,4.271-9.329,6.538-13.397c8.5-15.25,21.75-43.417,28.75-59.083c6.085-13.618,12.796-33.527,15.543-44.742C938.503,503.61,930.771,490.631,920.299,486.005z\"\n />\n = 0 })}\n d=\"M1295.942,633.821c5.138-2.229,10.528-4.53,12.336-8.833c-0.175-0.452-0.352-0.911-0.533-1.386c-6.5-17-11.5-47.25-15-73.25c-2.464-18.305-9.761-39.461-16.046-54.48c-6.621-14.932-20.435-15.022-32.105-9.867c-12.81,5.658-23.039,18.248-18.349,39.014c2.667,7,11,35,20,52c7.483,14.136,23.78,47.339,29.779,59.996C1281.258,637.928,1290.457,636.202,1295.942,633.821z\"\n />\n = 0 })}\n d=\"M868.95,633.821c-5.177-2.247-10.609-4.566-12.375-8.934c-0.684,1.821-1.339,3.582-1.955,5.34c-2.742,7.825-5.627,12.177-8.157,14.688c6.81-0.805,13.795,1.275,19.601,4.923c6.229,3.915,11.636,4.602,13.336,9.767c1.026-3.539,3.603-9.493,6.953-16.841c0.824-1.808,1.699-3.763,2.604-5.765C883.74,637.948,874.467,636.215,868.95,633.821z\"\n />\n = 0 })}\n d=\"M1298.829,649.838c7.824-4.917,17.79-6.998,26.583-2.986c-9.072-4.698-11.06-6.172-17.134-21.864c-1.808,4.303-7.198,6.604-12.336,8.833c-5.485,2.381-14.685,4.107-19.918,3.194c1.216,2.565,2.01,4.29,2.221,4.837c1.25,3.25,5.625,12.75,5.75,15.5c0.057,1.237,0.467,4.698,1.117,9.02C1283.745,654.54,1290.563,655.033,1298.829,649.838z\"\n />\n = 0 })}\n d=\"M866.063,649.838c-5.806-3.648-12.791-5.729-19.601-4.923c-2.199,2.181-4.131,2.973-5.468,3.438c-2.875,1-20.625,11.625-26.375,15.25s-8.625,9.375-14.25,12.125s-8.5,6.875-10,8.625c-1.5,1.75-6.625,7.5-6.625,9.875s4.375,3.75,8,2.875s11.75-8.625,15.75-12.375c4-3.75,9.5-4.875,12.25-4.875s2.625,3.125,1.875,4.5s-2.875,8.25-4,13.625s-1,11.874-1.875,13.999s-5,19.375-5.625,23.625s-2.625,15.5,0,19s6,1.25,7.125-1.375s3.625-14.125,4.086-16.875s6.789-21.125,7.414-22.75s3.125,2.625,2.25,5.75s-2.375,11.75-4.75,18.5s-2.625,14.125-3.375,17.5s-1.75,8.125-1.5,11.5s3.125,5.875,5.5,4.625s4.875-9.5,5.5-12.5s4-14.375,5.625-18.375s3-20.5,4-23s1.875,1.125,1.25,2.75s-3.375,18-3.75,21.625s-3.5,14.875-2.625,19.125s5.125,3.5,6.75,1.75s2.5-7.125,3-9.75s4.125-13.375,5.427-17.5s3.448-16.25,4.073-20.25s2-1.625,1.125,1.75s-0.875,11.875-1.75,14.25s-1,8.125-1.75,9.625s-2.75,5.875-1,9s5,1.5,5.875,0.125s3.75-10.625,5-13.375s2.625-11,3.75-15.875s3.208-11,4.375-17.499c1.167-6.5,1.333-14,2.5-18.334c1.167-4.333,4.5-18.666,4.667-23c0.022-0.589,0.196-1.409,0.487-2.413C877.699,654.44,872.293,653.753,866.063,649.838z\"\n />\n = 0 })}\n d=\"M1369.578,677.019c-3.334-5.167-13.666-10-17-13.5s-17.833-11.833-27.166-16.667c-8.793-4.012-18.759-1.931-26.583,2.986c-8.266,5.195-15.084,4.702-13.717,16.534c0.795,5.289,1.951,11.865,3.258,17.23c2.375,9.75,2.125,16.25,3.5,22.375c1.375,6.124,4.875,14.499,5.75,21.249s3.375,7.25,5.5,15.25s6.875,8.375,8.125,6.125s0.375-7.5-0.375-8.5s-1.5-3.125-1.875-5.25s-1.625-8.375-2.125-11.5s-3.125-13.125-2.25-14.5s3.5,4,3.75,5.875s3,14.875,5,21.25s4,18.5,7.125,22.875s7.125,1.125,7.125-2.875s-3-17.125-3.25-20s-3.875-20-4.375-21.625s2.5-1.125,2.75,0.25s1.75,10.625,3,14.375s5,18.125,5.5,20.75s2,14.125,6.125,16.25s5.875-2.125,6.25-5.875s-5.5-30-6.375-34.5s-4.375-16.875-3-18.125c1.375-1.249,4.875,11.75,5.5,15.75s4.375,22.875,5.875,26.625s5.75,4.75,7.5,1.5s-1.5-24.375-1.875-31.375s-4.375-14.249-4.5-21.249s-5.25-20.5-4.834-22.708c0.499-2.646,9.167,0.333,12.167,2.667c3,2.333,8.5,8.5,11.5,10s8.833,3.834,10.167,0C1377.079,684.852,1372.912,682.186,1369.578,677.019z\"\n />\n = 0 })}\n d=\"M965.979,607.7c-8.939,31.535-19.757,84.918-10.4,137.151c1.925,10.749,29.666,157,32.416,171.75c0.446,2.395,1.164,5.843,2.017,10.031c54.813-4.183,72.883,49.144,80.68,10.055c-0.333-28.322-1.68-73.09-2.696-91.586c-0.494-9-1.657-28.941,3.583-60.582c2.38-14.367,13.417-54.918-9.167-82.834c-0.834-1.777-4.674-7.262-10.419-14.754C1032.582,661.62,986.881,613.383,965.979,607.7z\"\n />\n = 0 })}\n d=\"M1112.333,686.242c-4.981,7.457-8.241,12.896-9.088,14.61c-22,24.165-15.5,60.249-10.5,83.749s4,49.25,3.75,59.5c-0.192,7.873-2.694,56.297-3.015,88.533c7.488,47.217,22.265-11.783,80.561-5.816c0.635-3.859,1.253-7.717,1.87-11.301c1.666-9.666,18.001-92.666,21.001-108.666s14.579-62.191,14.583-105.25c0.003-32.74-7.137-68.624-13.618-93.95C1168.455,614.08,1128.943,661.377,1112.333,686.242z\"\n />\n = 0 })}\n d=\"M990.012,926.633c3.118,15.324,8.045,40.617,8.183,61.056c9.946,48.058,48.957,36.435,64.312,13.894c0.233-1.731,0.557-3.249,0.989-4.48c3.25-9.25,7-21.25,7.25-44c0.047-4.254,0.023-9.899-0.054-16.414C1062.895,975.776,1044.825,922.45,990.012,926.633z\"\n />\n = 0 })}\n d=\"M1093.48,932.635c-0.097,9.738,0.006,17.998,0.431,23.219c1.833,22.5,4.167,31.666,7.667,44.5c15.167,23.998,59.667,38.498,64.917-16.002c0-11.75,2.083-30.834,4.083-39.166c1.259-5.246,2.386-11.811,3.463-18.367C1115.745,920.852,1100.969,979.852,1093.48,932.635z\"\n />\n = 0 })}\n d=\"M998.194,987.688c0.057,8.378-0.69,15.94-2.699,21.663c-9.481,27.008-3.25,94.75,0,112s21.25,99.75,24.084,121.502c0.292,2.238,0.427,4.588,0.472,6.978c7.032-6.858,20.667-9.863,28.878-8.069c4.987,1.089,8.274,3.628,11.095,7.459c-2.394-9.663-1.716-19.744-1.028-34.869c0.75-16.5,6.75-83.5,9.75-105.25s0.75-46.25-2.5-62c-2.817-13.653-5.256-34.25-3.739-45.52C1047.151,1024.123,1008.141,1035.746,998.194,987.688z\"\n />\n = 0 })}\n d=\"M1101.578,1000.354c3.5,12.832-5.166,55.332-7,75.166c-1.834,19.832,5,54.5,5.167,66.334c0.167,11.832,3.166,42.5,4.833,56.832c1.667,14.334,2.333,41.168-0.667,53.5c3.302-5.502,5.874-9.074,12.053-10.424c8.796-1.922,21.821,0.66,28.281,8.59c0.5-9.5,5.25-38.25,14.75-79.25s12.75-69.75,14.5-100.5s-0.5-49.75-2.25-55s-4.75-19.5-4.75-31.25C1161.245,1038.852,1116.745,1024.352,1101.578,1000.354z\"\n />\n = 0 })}\n d=\"M1048.929,1241.762c-8.211-1.794-21.846,1.211-28.878,8.069c0.206,10.988-1.585,22.862,0.195,29.022c1.613,5.583,2.301,5.904,1.311,9.828c7.506-4.416,35.265-5.709,42.285,2.941c-0.564-3.49-1.649-7.012-2.347-9.521c-1.25-4.5,0.25-8.75,1.75-11.25s0.75-8.5-2.5-19c-0.271-0.875-0.505-1.752-0.722-2.631C1057.203,1245.39,1053.916,1242.851,1048.929,1241.762z\"\n />\n = 0 })}\n d=\"M1115.964,1241.762c-6.179,1.35-8.751,4.922-12.053,10.424c-3,12.334-3.166,15.168-1.166,22.334c2,7.168,0,8.5-1.833,18c4.667-11.668,38.198-9.256,42-3.5c-1.666-4.334,0.5-5.5,1.833-12.5s-1-16.668-0.5-26.168C1137.785,1242.422,1124.76,1239.84,1115.964,1241.762z\"\n />\n = 0 })}\n d=\"M1021.557,1288.682c-0.34,1.347-0.877,3.116-1.644,5.672c-3,10-9.334,16.832-12.5,22c-3.166,5.166-0.5,7.832,2.833,9.666c3.333,1.832,3.333-0.5,4.833,0.666c1.5,1.168,12.334,0.5,13.5,0.168c1.166-0.334,1.5-0.668,5.167,0.832s8.833-2.332,10.667-0.666s10,1.666,12.666,1.404s5.334-5.238,5.834-6.738s0.333-3,1-5s1.166-6.166-0.167-9c-1.333-2.832-1.5-3.332,0-8.332c0.663-2.211,0.543-4.961,0.096-7.73C1056.821,1282.973,1029.063,1284.266,1021.557,1288.682z\"\n />\n = 0 })}\n d=\"M1100.912,1292.52c-1.833,9.5,2.666,9.834,0.333,14.166c-2.333,4.334-1.333,10.5-0.167,11.5s-1.333,2.5,3,7.168c4.333,4.666,13.834,2.666,15.334,2.166s3-1,4,0.201c1,1.203,6.5,0.633,7.666,0c1.166-0.631,3.334-1.201,4-0.318s5.167-0.383,7.5-0.049s5.834-1.168,8.167-0.834c2.333,0.332,7.167-2,7-6.5s-2.833-6.166-4.833-9.166s-8.334-17.5-10-21.834C1139.11,1283.264,1105.579,1280.852,1100.912,1292.52z\"\n />\n\n \n \n \n
\n\n
\n \n {clip && {clip}}\n \n \n = 0 })}\n d=\"M412.806,156.076c3.058-18.988,9.442-66.107,10.527-83.743C424.666,50.667,394.333,17,362,17c-27.334,0-58.5,32-58,52.667c0.19,7.875,2,33,2.333,36.333c0.239,2.389,4.332,32.016,7.459,49.645C324,176.667,402.611,176.486,412.806,156.076z\"\n />\n = 0 })}\n d=\"M459.833,228c-28-9.5-48.999-27.333-49.999-29.5s0.166-30.667,1.5-34.5c0.248-0.713,0.773-3.584,1.472-7.924c-10.194,20.41-88.806,20.59-99.013-0.432c1.235,6.962,2.32,12.053,2.957,12.855c1.555,1.958,2.93,28.364,0.5,31.5c-7.805,10.073-31.475,20.792-49.208,27.5C289.75,221.5,441.908,224.22,459.833,228z\"\n />\n = 0 })}\n d=\"M501,353c2.836-16.7,6.264-36.969,4.097-48.71c-0.125-0.68-0.266-1.336-0.43-1.956c-3-11.333-7.667-52-44.834-74.333c-17.925-3.78-170.083-6.5-191.792-0.5c-39.458,21.5-44.542,68.75-45.542,74.5s0.5,26.25,2.25,36.75s8.25,29.583,4.625,66.375c1.125,0,1.5,3.5,1.875,6.125s4.25,16.75,9.25,23s9.25,25,13.25,32.5c4.468,5.507,41.373,10.639,83.746,11.485c9.657,0.193,19.599-1.733,29.504-1.776c9.978-0.044,19.919,1.793,29.499,1.512c39.579-1.163,72.98-6.345,77.196-11.47c2.613-5.708,6.414-14.637,7.473-18.167c1.5-5,2.666-9.167,4.833-12.667s7.833-18.083,8.666-21.083s2.167-9.417,3.334-9.5C497,389.667,498,370.667,501,353z\"\n />\n = 0 })}\n d=\"M396.499,477.97c-9.58,0.281-19.521-1.556-29.499-1.512c-9.906,0.043-19.847,1.969-29.504,1.776c-42.373-0.846-79.277-5.978-83.746-11.485c4,7.5,6.5,19,8.5,37.75s-2.25,32-3.25,37.75s-0.227,23.88,1.25,28c1.412,3.939,3.607,9.041-0.422,15.812c6.278-9.18,30.556-16.657,56.643-16.657c29.53,0,31.03,10.279,51.53,10.279c19,0,26-10.042,51.526-10.166c25.239-0.123,43.853,7.19,48.379,16.593c-0.532-1.279-0.915-2.17-1.072-2.61c-0.834-2.333-1.166-6.167-0.333-8.167s2.667-12.833,2.833-19s-3.667-30-4.667-34.833s1.667-28.5,2.334-33.333s3-14.667,4.333-16.833c0.392-0.637,1.273-2.456,2.361-4.833C469.479,471.625,436.078,476.807,396.499,477.97z\"\n />\n = 0 })}\n d=\"M419.526,569.518C394,569.642,387,579.684,368,579.684c-20.5,0-22-10.279-51.53-10.279c-26.087,0-50.365,7.477-56.643,16.657c-0.185,0.311-0.366,0.62-0.578,0.938c-6,9-12,51.75-11.5,64s-2.5,24-4,32.5c0,19,7.324,25.063,15.316,37.142C279.76,751.914,317.235,774.904,351.5,741c2.75-2.875,6.75-8.875,7.75-11.625s2-3.25,4.375-3.25s3.75,1.125,4.25,2.875s3.792,8.5,7.292,11.334c37.774,39.903,74.878,12.96,94.414-18.404c8.533-13.701,14.134-14.93,14.134-38.43c-1.558-8.437-3.389-18.087-4.048-21.667c-1.167-6.333-0.5-24.333-2.666-42.667c-1.622-13.732-6.051-25.594-8.521-31.664c-0.206-0.505-0.398-0.97-0.574-1.393C463.379,576.708,444.765,569.395,419.526,569.518z\"\n />\n = 0 })}\n d=\"M222.5,302c1-5.75,6.083-52.999,45.542-74.5c-8.126,3.074-15.006,5.307-18.542,6.25c-8.263,2.203-41.894,9.408-53.5,19.5c-17.25,15-26,35-27.5,62.75c-0.721,13.331,0,25.833,0,34.5C178.333,326.25,202.667,324.333,222.5,302z\"\n />\n = 0 })}\n d=\"M504.667,302.333c0.164,0.62,0.305,1.276,0.43,1.956c16.05,17.076,38.941,31.042,53.413,43.878c-0.086-0.138-0.174-0.282-0.26-0.417C558.5,327.5,563,297,546,269.25S487.833,237.5,459.833,228C497,250.333,501.667,291,504.667,302.333z\"\n />\n = 0 })}\n d=\"M224.75,338.75c-1.75-10.5-3.25-31-2.25-36.75c-19.833,22.333-44.167,24.25-54,48.5c-6.833,10.667-18.25,33.75-20,44s-4.5,20-7.25,27.75c-3.98,34.526,10.693,40.75,26.143,46.43c16.538,6.08,29.232,0.639,38.288-15.131c1.1-2.171,2.2-4.311,3.152-6.215c3.5-7,16.417-34.458,17.292-37.333s2.125-4.875,3.25-4.875C233,368.333,226.5,349.25,224.75,338.75z\"\n />\n = 0 })}\n d=\"M560.107,468.68c14.466-5.319,29.127-11.117,27.667-40.179c-2.005-7.583-4.833-13.009-8.024-28.751c-3.706-18.282-14.001-39.975-21.24-51.583c-14.472-12.836-37.362-26.802-53.413-43.878c2.167,11.742-1.261,32.011-4.097,48.71c-3,17.667-4,36.667-2.999,52.083C499.168,405,500.75,408,502,410.75c1.086,2.39,15.767,34.99,21.069,46.274C532.186,470.092,544.849,474.29,560.107,468.68z\"\n />\n = 0 })}\n d=\"M167.393,468.68c-15.45-5.68-30.124-11.904-26.143-46.43c-2.75,7.75-1.75,15.25-6.5,23.5s-0.75,6.5-9.75,20c-4.221,6.332-8.992,20.141-13.178,35.472c-1.258,4.606-2.463,9.351-3.584,14.07c3.399-5.935,6.601-22.609,50.438-11c10.714,2.837,31.865,11.173,26.897,27.549c2.671-7.794,4.745-15.229,6.308-21.617c2.547-10.41,3.739-18.036,3.953-19.891c0.5-4.333,0.833-7.333,1.5-9.333s2.167-9.833,2.333-13.167c0.122-2.427,3.069-8.474,6.014-14.285C196.625,469.319,183.931,474.76,167.393,468.68z\"\n />\n = 0 })}\n d=\"M568.824,504.292c39.135-10.364,46.681,1.813,50.268,8.767c-0.214-1.377-0.413-2.655-0.592-3.809c-2.75-17.75-17.75-47-19.5-49.75s-8.25-16.5-10.25-26.75c-0.298-1.528-0.625-2.92-0.976-4.249c1.46,29.062-13.201,34.86-27.667,40.179c-15.259,5.61-27.921,1.412-37.038-11.656c0.798,1.699,1.386,2.92,1.681,3.476c2.25,4.25,2.25,4.75,2.177,7.75s2.823,14.25,4.073,19.5c1.179,4.95,0.139,15.905,7.558,38.93C541.114,514.447,559.768,506.69,568.824,504.292z\"\n />\n = 0 })}\n d=\"M158.676,504.292c-43.837-11.609-47.038,5.065-50.438,11c-3.104,13.064-5.568,25.943-6.738,35.208c-2.207,17.467-8.379,42.596-11.756,56.062c-0.875,6.021,6.182,9.66,17.564,14.473c11.004,4.653,23.67,4.044,26.295,0.232c10.117-17.065,26.772-37.525,39.896-61.517c4.95-9.049,8.926-18.728,12.073-27.909C190.541,515.465,169.39,507.129,158.676,504.292z\"\n />\n = 0 })}\n d=\"M620.191,621.035c8.857-3.745,15.074-6.784,16.994-10.783c-1.959-5.819-4.01-12.795-5.436-20.252c-3.039-15.895-9.573-57.137-12.658-76.941c-3.587-6.955-11.133-19.131-50.268-8.767c-9.056,2.398-27.71,10.155-30.267,22.388c0.45,1.397,0.928,2.833,1.442,4.32c9,26,30,55.25,45.5,79.5c2.965,4.638,5.481,8.858,7.625,12.689C599.133,625.104,611.447,624.732,620.191,621.035z\"\n />\n = 0 })}\n d=\"M107.309,621.035c-11.382-4.813-18.439-8.452-17.564-14.473c-1.215,4.844-2.068,8.179-2.244,9.105c-0.667,3.5-4.164,10.214-6.167,18.333c-0.375,1.692-2.811,3.547-5.5,4.5C79.5,637.75,120.411,656.865,121,659c-1-4-1.25-8,7-27c1.483-3.416,3.387-6.993,5.604-10.733C130.979,625.079,118.313,625.688,107.309,621.035z\"\n />\n = 0 })}\n d=\"M648,637.75c-3.5-0.5-4-8.25-5.25-12.25c-0.702-2.246-3.058-7.8-5.564-15.248c-1.92,3.999-8.137,7.038-16.994,10.783c-8.745,3.698-21.058,4.07-27.066,2.155c9.067,16.197,11.432,25.37,12.375,29.144c0.527,2.109,0.643,3.571,0.461,4.91c8.146-4.652,34.231-16.276,43.574-19.125C648.977,637.944,648.459,637.815,648,637.75z\"\n />\n = 0 })}\n d=\"M75.833,638.5c-3.168,1.123-14.167,7-17.833,8.5s-5.833,6.5-10.167,9s-8.333,6-9,8.833s-5.5,4.333-5.5,7.333s2,5.333,6.879,6s12.621-8,14.121-9.5s2.5,0.5,1.833,2.333s-5.667,15-6.833,19.834c-1.167,4.833-3.833,17-4.5,21s-3,20.999-3.333,23.999s-3.333,15,1.167,18.334s7.833-2.334,9.833-7.667s1.5-11.833,2.667-14.5s4.333-19,6.333-22.5s2.833,1.166,1.667,4.166S59.333,729.833,59.333,732s-1.833,14-2.5,18s-1.333,14,0,18.167s7.167,1.666,9-0.5s3.667-11.167,4.5-16.5s1-14.167,2.531-20S76.5,714.834,78.333,712s3.833,0.334,3.333,2.5s-2.333,9.5-4,16.333s-1.5,14.5-3,21.334S71.5,764.5,74.667,768s6.5,0.833,8.5-1.667S87.5,753,88.833,744.5s4.667-21.166,5.833-25.166c1.167-4.001,3.5-7.834,5.333-7.5c1.833,0.333-0.167,6-1,9.166s-5,20.667-5.167,26.334s2.5,7.833,5.667,6.5s4.333-6,5-8.834s2.667-8.666,3.167-12s4.167-16.166,6.167-20.334c2-4.166,2.833-9.332,6.673-27.332C124.346,667.333,122,663,121,659C120.411,656.865,79.5,637.75,75.833,638.5z\"\n />\n = 0 })}\n d=\"M675.668,654.333c-2.333-1-7.918-8.083-12.668-10.083c-4.127-1.738-9.761-4.982-13.464-6.132c-9.342,2.85-35.428,14.474-43.574,19.125c-0.221,1.623-0.881,3.065-1.795,5.257c-1.667,4-0.666,16.167,0.334,19.5c1,3.334,4.166,22.334,5.833,26s3,8.167,3.667,10.5s7.667,32,10.167,34.333s5.666,1.834,7-0.5s0.5-7.5,0-10.833s-1.667-9.833-2-12.5s-2.334-10.5-3.334-14.166c-1-3.667,1.334-3.668,3-1.5c1.666,2.166,3.334,8.666,4.167,11.833s3.5,16.166,4.333,20.666s2.834,17.667,5.834,20.834s5.666,3.333,8.166,1s1.167-7.333,0.834-10.167s-2.5-19.166-2.834-23s-3.833-14.334-4.666-20.5s2.666-1.834,3-0.5s4.166,14.833,4.666,18.333s3,15.667,3.5,22.667s3.667,13,4.834,14.5s6,2.167,7.5,0s1.166-5.667,1-9.333s-1.5-22.167-1.5-25.667s-4.5-19.834-5-23.5s1.333-1.834,2-0.166c0.667,1.666,4.999,19.166,5.833,22.833s1.166,7.333,1.833,12s3.833,9,6.333,10.333s5.5-1.166,6.5-3.833s-1.5-15.167-1.833-23.333s-1.5-11.334-2.167-14c-0.667-2.667-3-18.167-3.833-22.5c-0.833-4.334-6.666-19-7.666-21.834s4.166,0.5,5.666,2.833s7.5,5.5,10.5,5.333s5.667-1.667,6-5.333s-3.833-4.5-5.833-9.833C684.556,659.146,678.001,655.333,675.668,654.333z\"\n />\n = 0 })}\n d=\"M259.066,720.642c-7.993-12.078-15.316-18.142-15.316-37.142c-1.5,8.5-8.25,43-9.75,54s-3,14.5-7.25,46.75s-1.25,76,2.75,93.5S242.25,914,244.75,927c14.239,23.213,32.047,27.719,48.263,28.709c17.666,1.079,33.441-2.949,40.654-15.376c1.667-5.833,6-44.5,8.167-58s9.5-61.333,10.5-78.667s1-34.999,0.167-40.999s-1.625-16.292-1-21.667C317.235,774.904,279.76,751.914,259.066,720.642z\"\n />\n = 0 })}\n d=\"M375.167,740.334C376,746.168,375.25,750.5,374,769s3.25,73.25,6.5,86.75s7,38,8.75,56.25c1.093,11.397,3.356,23.087,5.571,32.39c8.43,9.247,24.089,12.271,39.666,11.319c15.283-0.934,32.867-4.996,46.759-24.891c0.889-5.953,1.705-9.622,2.004-10.818c0.75-3,10.75-28,13.5-41.25s4.25-43.083,5.25-58.083s-4.499-54.001-5.833-61.667s-3.833-29.666-5.166-35.833s-4.334-21.667-4.834-25.667c-0.218-1.739-1.254-7.511-2.452-14c0,23.5-5.601,24.729-14.134,38.43C450.045,753.294,412.941,780.237,375.167,740.334z\"\n />\n = 0 })}\n d=\"M293.013,955.709c-16.216-0.99-34.024-5.496-48.263-28.709c2.5,13,3.25,32.25,4.25,53.5c0.655,13.917-0.084,29.658-1.164,42.445c2.574-20.91,19.106-19.136,35.64-17.488c16.633,1.658,33.267,3.272,35.69,9.876c-1.167-5.5,0.667-11.167,3-16s3.167-17.833,4-28.833s5.833-24.334,7.5-30.167C326.455,952.76,310.679,956.788,293.013,955.709z\"\n />\n = 0 })}\n d=\"M434.486,955.709c-15.577,0.951-31.235-2.072-39.666-11.319c1.332,5.594,2.646,10.325,3.679,13.61c2.75,8.75,2.25,34.25,5.5,40.5c2.566,4.935,3.723,9.253,3.484,15.155c6.028-4.677,22.368-6.785,36.539-8.198c13.658-1.361,29.354,1.297,35.854,14.047c-1.023-13.899-1.763-29.888-1.628-46.754c0.15-18.787,1.656-32.959,2.996-41.932C467.354,950.713,449.77,954.775,434.486,955.709z\"\n />\n = 0 })}\n d=\"M283.476,1005.457c-16.533-1.647-33.065-3.422-35.64,17.488c-0.569,6.737-1.232,12.655-1.836,17.055c-1.75,12.75-5,46-2.5,60s8.75,70.5,9,91.75c2.411,11.598,18.52,15.432,31.624,15.948c13.165,0.52,23.325-2.338,25.624-16.146c1.52-12.183,2.896-25.104,3.086-31.552c0.333-11.333,8.333-24,12.833-37.334s0.5-46.666-1.167-65.5s-4.167-36.333-5.333-41.833C316.743,1008.729,300.109,1007.115,283.476,1005.457z\"\n />\n = 0 })}\n d=\"M444.023,1005.457c-14.171,1.413-30.511,3.521-36.539,8.198c-0.064,1.573-0.221,3.253-0.484,5.095c-1.25,8.75-7,65.25-7.5,84.75s7.5,36,10.5,40s3.75,15.5,4,21.75c0.127,3.173,1.801,16.722,3.811,30.928c5.639,7.736,15.869,11.903,25.566,11.521c11.76-0.464,25.932-3.604,30.46-12.624c0.124-3.28,0.257-6.378,0.413-9.074c0.75-13,4.75-46.75,7.5-74s3-44.75,1-62.25c-0.92-8.055-2-18.392-2.872-30.246C473.377,1006.754,457.682,1004.096,444.023,1005.457z\"\n />\n = 0 })}\n d=\"M284.124,1207.698c-13.104-0.517-29.212-4.351-31.624-15.948c0.25,21.25,4.125,51.5,4.25,58.125s-1.25,26.75-1,28.625s0.25,3.75-0.875,3.75c6.082,14.415,4.342,25.212,3.644,34.406c-0.388,5.104,0.181,9.513,1.315,14.177c10.5-13.499,47.957-20.15,48.229-7.491c-0.177-6.154-1.244-13.505-2.062-20.509c-1.5-12.834,1.833-27.333,2.167-31.167s-4.5-18.5-5.833-25.5s2.167-19.166,4.167-31.333c0.862-5.245,2.096-14.051,3.247-23.281C307.448,1205.36,297.289,1208.218,284.124,1207.698z\"\n />\n = 0 })}\n d=\"M443.377,1207.698c-9.697,0.383-19.927-3.784-25.566-11.521c1.949,13.775,4.213,28.17,5.69,34.323c3,12.5,1,17.833-1.833,26.667s-2.334,14.333-1.334,21.999s0.667,17.5,0.5,24.5c-0.097,4.075-2.111,11.312-2.63,18.029c5.397-8.651,37.767-2.677,48.526,9.038c0.54-0.488,1.031-0.948,1.458-1.357c0.771-4.053,1.114-8.488,0.792-12.721c-0.999-13.15-1.991-21.145,2.987-33.769c-0.096-0.073-0.193-0.146-0.301-0.221C469.5,1281.167,470,1270,470,1261s1.25-24.25,2.25-32c0.792-6.143,1.114-21.391,1.587-33.926C469.309,1204.095,455.137,1207.234,443.377,1207.698z\"\n />\n = 0 })}\n d=\"M259.833,1330.833C262.167,1333,272.5,1340,283,1342.512s19.167-1.512,23-7.179c1.741-2.574,2.21-6.868,2.062-11.991C307.791,1310.683,270.333,1317.334,259.833,1330.833z\"\n />\n = 0 })}\n d=\"M418.204,1321.696c-0.372,4.823,0.025,9.38,2.463,12.305c6.573,7.889,13.334,10.333,26.667,7.166c9.396-2.231,15.716-7.104,19.396-10.433C455.971,1319.02,423.602,1313.045,418.204,1321.696z\"\n />\n = 0 })}\n d=\"M258.519,1316.656c0.699-9.194,2.438-19.991-3.644-34.406c-1.125,0-2.875,1.375-3.125,2.625s-2.375,0.625-4,0.125s-6.625,4.5-6.75,5.125s-0.25,1.25-2.25,1.125s-5.75,3.125-5.875,4.125s-1.208,1.792-2.875,1.958s-4.167,3-5.167,5.334s0.833,4.833,1.667,9.166s6.667,9.333,18.833,12.167s12.167,4.666,14.5,6.833C258.699,1326.169,258.13,1321.761,258.519,1316.656z\"\n />\n = 0 })}\n d=\"M468.981,1316.656c0.321,4.232-0.021,8.668-0.792,12.721c0.792-0.758,1.396-1.358,1.812-1.71c2.167-1.834,16-5.666,21.5-7.5s7.333-7.166,7.666-10.166s0.5-2.667,1.834-5.834s-5.167-7.5-6-7.5s-2,0-2-1.5s-3.667-4.333-5.167-4.333s-3-1-3.5-2.5s-6.667-3.833-8.833-3.5c-2.058,0.316-1.715-0.571-3.533-1.946C466.991,1295.512,467.982,1303.506,468.981,1316.656z\"\n />\n = 0 })}\n d=\"M1126.355,199.416c0.778-1.884,1.421-3.543,1.734-4.601c8.91-30.064,10.593-68.02,7.453-84.763c-7.043-37.551-26.043-49.365-55.076-49.365c-24.545,0-45.633,15.813-51.082,50.793c-0.606,3.894-0.719,18.188-0.385,24.688s5.166,38.333,6.5,51.167c0.402,3.875,1.295,7.531,2.367,10.833C1052.742,213.064,1109.674,213.289,1126.355,199.416z\"\n />\n = 0 })}\n d=\"M1159.289,256.58c-24.708-4.058-43.898-6.108-38.521-44.124c0.075-0.529,3.383-7.698,5.588-13.041c-16.682,13.874-73.613,13.649-88.488-1.249c2.479,7.635,5.935,13.355,6.633,15.333c1,2.833,1.101,23.757-0.833,27.333c-4.764,8.81-20.45,14.072-36.136,16.958C1032.887,261.835,1137.844,261.564,1159.289,256.58z\"\n />\n = 0 })}\n d=\"M1187.059,352.366c1.042-6.596,4.563-15.113,6.822-24.408c1.684-6.926,2.669-14.283,1.402-21.604c-1.211-6.999-8.583-33.088-27.918-48.359c-2.739-0.525-5.439-0.982-8.076-1.415c-21.445,4.984-126.402,5.255-151.758,1.211c-2.954,0.543-5.905,1-8.786,1.383c-20.906,14.732-28.538,41.156-28.639,52.963c-0.052,6.076,0.717,11.467,1.741,16.199c1.65,7.623,3.969,13.524,4.623,17.745c0.935,6.021,4.099,12.505,3.347,30.31c0.695-0.762,1.361-0.074,1.599,1.775c0.334,2.583,0.414,8.646,0.584,14.167c0.834,27.167,8.25,62.417,10.5,74.417c0.864,4.607,2.134,12.61,3.412,21.707c12.51,3.593,36.984,6.452,64.054,7.054c8.353,0.186,16.95-1.671,25.52-1.713c8.629-0.042,17.228,1.729,25.513,1.458c24.939-0.817,47.03-3.692,58.604-7.104c0.909-7.375,1.759-13.759,2.148-15.152c1.348-4.822,7.622-41.454,8.5-45.25c2.354-10.18,2.502-27.106,3.25-30c0.749-2.893,0.702-21.669,1.75-21.75c0.085-0.006,0.299,0.349,0.618,0.999C1185.572,369.208,1185.675,361.114,1187.059,352.366z\"\n />\n = 0 })}\n d=\"M1085.485,493.798c-8.569,0.042-17.167,1.899-25.52,1.713c-27.069-0.602-51.544-3.461-64.054-7.054c2.051,14.595,4.126,32.012,4.588,42.793c0.75,17.5-3,26-8.75,39.25c-2.334,5.377-6.521,15.532-11.106,27.505c12.579-6.673,39.644-11.567,58.938-11.567c26.518,0,27.865,9.913,46.273,9.913c17.061,0,23.347-9.685,46.269-9.805c19.26-0.1,44.073,7.603,54.368,15.691c-3.005-8.806-5.877-17.667-8.825-23.904c-4.333-9.167-11.751-27.5-12.667-31.583c-1.039-4.633,0.9-27.839,1.5-32.5c0.354-2.753,1.789-15.457,3.102-26.098c-11.573,3.412-33.664,6.287-58.604,7.104C1102.713,495.527,1094.114,493.755,1085.485,493.798z\"\n />\n = 0 })}\n d=\"M1085.855,596.351c-18.408,0-19.756-9.913-46.273-9.913c-19.295,0-46.359,4.895-58.938,11.567c-6.713,17.528-14.281,38.953-18.144,54.995c-5.731,23.808-6.991,46.636-7.209,63.701c29.158,39.25,78.172,59.463,116.954,24c0.208-1.105,0.721-1.672,1.672-2.2c1.5-0.834,5.25-6.916,6.25-8.75s-0.5-4.25,2.667-4.25c3.166,0,2.166,2.167,3.083,4.417s5.25,6.833,6.75,9.25c0.244,0.394,0.419,0.7,0.55,0.957c38.418,35.821,87.089,16.505,116.521-22.031c-0.555-18.68-3.029-36.468-5.238-50.094c-3-18.5-9-41.667-13.666-53.667c-1.491-3.835-2.932-7.959-4.342-12.096c-10.295-8.089-35.108-15.792-54.368-15.691C1109.202,586.666,1102.916,596.351,1085.855,596.351z\"\n />\n = 0 })}\n d=\"M971.848,328.337c-1.024-4.732-1.793-10.124-1.741-16.199c0.101-11.807,7.732-38.231,28.639-52.963c-3.145,0.418-6.204,0.747-9.079,0.993c-19.5,1.667-29.999,7.167-40.666,17.667s-12.833,29-16.5,42.167s-6.166,32.833-8.666,47.667c-0.186,1.098-0.394,2.236-0.618,3.4C934.8,358.473,956.07,344.937,971.848,328.337z\"\n />\n = 0 })}\n d=\"M1195.283,306.354c1.267,7.32,0.281,14.678-1.402,21.604c15.378,16.313,36.147,29.67,48.012,42.064c-2.872-15.51-2.674-29.3-12.393-66.522c-9.696-37.136-34.926-40.146-61.182-45.321c-0.318-0.063-0.636-0.124-0.953-0.184C1186.7,273.266,1194.072,299.356,1195.283,306.354z\"\n />\n = 0 })}\n d=\"M976.471,346.082c-0.654-4.221-2.973-10.122-4.623-17.745c-15.777,16.6-37.048,30.136-48.632,42.729c-2.809,14.561-8.512,33.735-12.216,43.767c-4,10.833-11.333,33.333-15.333,47.333c-0.271,0.947-0.549,1.88-0.832,2.804c2.254,13.99,11.088,17.709,19.832,21.162c9.813,3.874,18.164,1.82,24.583-5.67c2.101-7.862,12.472-30.725,17.084-43.129c4.833-13,21.75-56.583,22.666-59.333c0.261-0.782,0.541-1.306,0.817-1.608C980.569,358.587,977.405,352.102,976.471,346.082z\"\n />\n = 0 })}\n d=\"M1251.415,486.132c8.355-3.299,16.792-6.843,19.493-19.357c-2.969-9.552-5.826-22.777-10.408-36.525c-2.616-7.848-10.031-27.096-16.289-50.052c-0.987-3.621-1.719-6.936-2.318-10.176c-11.864-12.394-32.634-25.751-48.012-42.064c-2.26,9.295-5.78,17.813-6.822,24.408c-1.384,8.748-1.486,16.841-1.19,24.633c3.607,7.351,20.851,53.064,21.882,55.501c1.122,2.652,13.73,35.901,15.75,40c0.62,1.258,1.399,3.698,2.203,6.554C1232.26,487.68,1241.016,490.238,1251.415,486.132z\"\n />\n = 0 })}\n d=\"M914.667,486.132c-8.744-3.453-17.578-7.172-19.832-21.162c-3.906,12.737-8.939,23.293-12.669,31.529c-2.147,4.742-5.686,12.941-8.969,21.789c4.363-4.216,12.979-7.047,32.166-1.196c6.256,1.908,18.88,7.908,21.492,17.354c2.269-8.253,4.666-21.363,6.145-25.947c1.666-5.167,4.666-20.333,6-27c0.062-0.306,0.149-0.66,0.25-1.038C932.831,487.953,924.479,490.006,914.667,486.132z\"\n />\n = 0 })}\n d=\"M1260.719,517.093c17.666-5.388,26.376-3.416,31.051,0.222c-3.516-10.316-7.056-17.938-8.02-19.564c-1.571-2.652-5.5-13.5-10-23.25c-0.994-2.155-1.924-4.77-2.842-7.725c-2.701,12.514-11.138,16.058-19.493,19.357c-10.399,4.106-19.155,1.547-25.712-7.079c1.814,6.445,3.757,15.015,4.297,16.946c1.396,4.992,3.128,13.187,4.25,18.25c0.746,3.363,1.607,9.433,4.883,20.598C1241.495,525.172,1254.375,519.027,1260.719,517.093z\"\n />\n = 0 })}\n d=\"M905.363,517.093c-19.187-5.851-27.803-3.021-32.166,1.196c-2.832,7.635-5.474,15.751-6.863,22.545c-3,14.667-3.834,31.167-6.167,46.5c-1.317,8.659-4.655,21.355-8.076,31.76c0.04,4.226,5.042,6.953,12.832,10.491c4.603,2.09,11.921,4.052,17.679,4.78c5.512-11.326,14.676-28.423,20.898-41.531c7.833-16.5,20-47.833,22.5-55.5c0.281-0.864,0.567-1.838,0.855-2.886C924.243,525,911.619,519,905.363,517.093z\"\n />\n = 0 })}\n d=\"M1313.271,621.668c-6.903-23.146-12.489-67.07-15.521-82.418c-1.548-7.837-3.76-15.422-5.98-21.936c-4.675-3.638-13.385-5.609-31.051-0.222c-6.344,1.934-19.224,8.08-21.586,17.755c1.655,5.645,3.927,12.588,7.117,21.152c9.197,24.688,23.002,50.249,35.914,77.07c0.09,0.187,0.26,0.683,0.494,1.392c5.866-0.635,13.676-2.687,18.501-4.877C1307.249,626.819,1311.627,624.546,1313.271,621.668z\"\n />\n = 0 })}\n d=\"M852.091,619.094c-2.638,8.02-5.324,14.679-7.175,17.073c-0.801,1.037-2.903,2.156-5.535,3.241c10.734,1.056,27.465,8.22,36.476,14.186c0.177-2.485,0.761-5.597,3.311-11.76c0.822-1.987,2.008-4.538,3.435-7.469c-5.758-0.728-13.076-2.69-17.679-4.78C857.133,626.047,852.131,623.319,852.091,619.094z\"\n />\n = 0 })}\n d=\"M1315.5,628.25c-0.757-1.922-1.5-4.138-2.229-6.582c-1.644,2.878-6.021,5.151-12.111,7.917c-4.825,2.191-12.635,4.242-18.501,4.877c0.587,1.78,1.59,4.951,2.842,8.288c1.156,3.082,2.127,7.941,2.679,12.28c7.985-5.969,25.61-13.901,37.272-15.479C1321.674,637.721,1318.034,634.687,1315.5,628.25z\"\n />\n = 0 })}\n d=\"M824.75,644.167c-5.917,1.667-7.083,4.167-11.833,6.417s-9.75,6.167-10.417,7.25s-2.75,2.917-5.166,5.667c-2.417,2.75-0.834,5.583,1.833,6.417s7.75-0.5,11.25-3.333s6.75-4.667,9.167-5.75c2.416-1.083,3.416,0.417,3.666,2.083s-2.583,9.583-4,14s-1.416,6.833-1.916,10.5s-2.584,12.917-3.25,17.667c-0.667,4.75-1.418,14.416-1.5,19.25c-0.084,4.834,0.832,8.75,3.332,9.083s4.584-2,5.334-5.667s2.5-10.084,2.916-13.834c0.417-3.75,2.584-12.666,3.084-14.332c0.5-1.667,2.084-1.084,1.834,0.35c-0.25,1.435-1,5.482-1.5,8.15c-0.5,2.666-2.417,13.5-3.084,17.166s-1.5,14-1.334,18.167c0.167,4.167,2.834,6,5.168,4.833c2.333-1.167,4.582-6.5,5.332-10.75s2.168-10,3-15.25c0.834-5.25,2.918-15.083,4-18.583c1.084-3.5,2.418-0.917,2.334,0.917c-0.084,1.833-0.834,4.333-1,8.916s-1,15.584-1.5,19.834s-1.416,11,1.584,12.166s5.166-2.5,6.416-6.166s2.417-12.084,3.417-16.75c1-4.667,2.083-15.334,2.833-18.834s2.084-6.25,2.917-5.666c0.833,0.583,0.75,3.916,0,7.583s-1.667,9.75-2.667,13.5s-3.25,10.083,0,11.417s5.584-3.917,7-7.584s2.917-6.416,4.084-11c1.166-4.584,1.666-3.375,3.416-12.066c1.75-8.69,1.375-11.309,3.125-21.059s2.709-17.208,3.041-21.208c0.121-1.45,0.091-2.661,0.19-4.074c-9.011-5.966-25.741-13.13-36.476-14.186C834.767,641.309,828.518,643.105,824.75,644.167z\"\n />\n = 0 })}\n d=\"M1364,661.25c-2.167-1.833-3.25-5.75-5.166-6.583c-4.294-1.868-5.833-3.5-10.167-5.667c-2.845-1.422-7.706-4.102-16-6.833c-2.291-0.755-4.781-1.438-7.216-2.616c-11.662,1.579-29.287,9.511-37.272,15.479c0.284,2.231,0.459,4.328,0.487,5.97c0.083,4.833,2.75,18,3.25,22.417s0.501,11.75,3.001,17.583s1.5,11.084,3.333,14.084s2.25,6.25,5.167,11.333s5.166,5.583,6.416,2.166s0-8.167-0.833-9.917s-1.917-7.582-2.334-10.416s-1.583-7.583-0.75-9.833s3.167,2.417,3.334,4.5s1.416,12.333,2.083,16.333s2.25,14.083,3.417,19.083s4.5,8.584,6.833,7.084s2.75-6.834,2.583-9.084s-1.416-12.499-1.583-15.583s-1.666-15.75-1.916-17.5s2.25-1.583,2.75,0.584c0.5,2.166,2.083,9.583,2.833,13c0.75,3.416,2.916,15.416,3.666,21.666s4.917,10.25,7.5,10.417s3.084-6.667,3.167-9.167s-1-12.5-1.5-15.333s-4.25-24.833-3.167-24.833s3.584,14.75,4.834,21.25s2.75,13,6.667,13.083s3.25-4.833,3.416-12.75s-0.75-13.917-2.333-25.25s-3.333-17.917-4.417-22s-3.166-10.75-2.083-12.583s7.5,1.667,11.333,5.167s10.834,4.5,13.25,2.5S1366.167,663.083,1364,661.25z\"\n />\n = 0 })}\n d=\"M955.291,716.701c-0.029,2.288-0.041,4.48-0.041,6.549c0,17.5,1.75,35.25,3.75,48s13.25,79.25,16,96.25c2.169,13.408,7.447,52.006,11.381,76.551c12.795,17.416,28.61,21.08,42.423,21.946c13.647,0.857,27.359-1.631,35.557-9.223c0.568-15.524,0.901-32.5,0.64-40.274c-0.5-14.833-2.25-56-2.125-67.875s2.625-35,4.25-43.75s4.959-31.457,5.209-41.624s0-17-0.167-20c-0.062-1.098-0.042-1.912,0.078-2.55C1033.463,776.164,984.449,755.951,955.291,716.701z\"\n />\n = 0 })}\n d=\"M1093.217,740.125c0.668,1.323,0.02,1.214-0.05,3.376c-0.083,2.583-0.833,6.832-0.333,16.332s3,33.5,6.166,48.667s3.5,45.5,3.166,59.333c-0.333,13.833-1.832,43.333-2,53c-0.1,5.755,0.215,21.138,0.662,35.072c8.068,8.271,22.294,10.98,36.449,10.092c13.415-0.841,28.719-4.327,41.309-20.48c1.438-8.746,2.678-16.652,3.081-21.016c1-10.833,4.5-31.167,6.5-44.667s9.166-56.5,11.5-71.5s8.333-44.334,9.833-70c0.396-6.763,0.437-13.557,0.238-20.24C1180.306,756.63,1131.635,775.946,1093.217,740.125z\"\n />\n = 0 })}\n d=\"M1028.804,965.997c-13.813-0.866-29.628-4.53-42.423-21.946c1.054,6.575,2.012,12.146,2.786,15.949c3.667,18,2.667,23.833,4.167,33s0.833,17.5-1.667,33.5c-0.191,1.223-0.35,2.636-0.485,4.176c6.072-11.57,19.8-13.982,31.779-12.699c12.366,1.323,28.625,6.021,35.092,11.214c-0.223-4.039-0.335-7.883-0.386-11.357c-0.167-11.5,3.5-22.5,4.833-30.333c0.635-3.728,1.344-16.629,1.86-30.726C1056.163,964.366,1042.451,966.854,1028.804,965.997z\"\n />\n = 0 })}\n d=\"M1137.277,965.997c-14.155,0.889-28.381-1.82-36.449-10.092c0.304,9.472,0.668,18.274,1.006,22.928c0.833,11.5,5.832,24.167,5.832,40.667c0,3.606-0.085,6.959-0.251,10.211c5.991-5.396,22.928-10.366,35.706-11.734c11.358-1.217,24.285,0.894,30.771,10.978c-0.72-4.93-1.486-9.509-2.059-13.453c-1.5-10.333-0.334-21.167,1.166-34.334c0.896-7.864,3.456-22.682,5.586-35.65C1165.996,961.67,1150.692,965.156,1137.277,965.997z\"\n />\n = 0 })}\n d=\"M991.182,1030.676c-1.645,18.618,0.485,58.332,0.485,68.491c0,11,3.167,52.833,8,69.666c2.067,7.199,4.53,18.583,6.868,30.301c5.065,6.956,16.429,9.481,26.006,9.888c9.072,0.384,18.664-3.994,23.571-12.067c0.954-9.137,1.891-17.886,2.388-23.787c1.333-15.833,6.334-57.667,7-66.834s-0.166-34.5-3.5-48c-2.326-9.421-3.433-19.813-3.947-29.143c-6.467-5.192-22.726-9.891-35.092-11.214C1010.981,1016.693,997.254,1019.105,991.182,1030.676z\"\n />\n = 0 })}\n d=\"M1143.121,1017.977c-12.778,1.368-29.715,6.339-35.706,11.734c-0.594,11.627-2.289,21.885-5.415,37.122c-4,19.5-2.166,39.5-0.166,53.834s3,38.5,6.166,63.5c0.523,4.132,1.001,8.069,1.438,11.864c4.719,8.662,14.691,13.389,24.104,12.99c8.9-0.377,19.338-2.587,24.836-8.479c3.605-15.573,7.638-32.348,9.79-44.542c4-22.666,5.5-50.667,5.5-59.167s2.166-28.333,2.333-42.333c0.104-8.655-0.94-17.563-2.107-25.547C1167.406,1018.87,1154.479,1016.76,1143.121,1017.977z\"\n />\n = 0 })}\n d=\"M1032.541,1209.021c-9.577-0.406-20.94-2.932-26.006-9.888c3.129,15.682,6.034,31.961,7.465,39.616c2.5,13.375,2.667,35.916,2.084,40c-0.145,1.009-0.375,1.654-0.679,2.092c3.308,10.532,2.482,17.97,1.66,29.594c-0.249,3.515-0.06,13.297,0.44,20.242c0.507,0.56,1.034,1.105,1.598,1.626c4.882-14.596,28.534-15.045,35.094-7.896c1.65-5.945,1.032-11.148,2.053-18.408c1.125-8-0.125-13.125-0.5-16.625s1.875-5.125,3.375-12.125s-1.125-12.875-3-19.625s-2.458-13.625-2.958-22.959c-0.313-5.855,1.34-22.334,2.945-37.712C1051.205,1205.027,1041.613,1209.405,1032.541,1209.021z\"\n />\n = 0 })}\n d=\"M1109.438,1196.031c2.207,19.166,3.259,34.28,2.563,47.636c-0.408,7.827-3.25,15-5.416,22.25c-2.167,7.25-0.167,12.749,1.166,16.666s1.584,7,0.584,11.5s1.25,14.084,1.416,19.084c0.101,3.019,0.029,7.617,1.324,12.31c5.011-8.101,30.007-8.45,35.653,6.138c0.716-0.778,1.365-1.59,1.947-2.401c0.425-6.792,0.573-15.504,0.342-18.777c-0.809-11.434-1.615-18.82,1.506-29.082c-0.119-0.115-0.241-0.226-0.355-0.353c-1.5-1.667-1-7.333-1.333-10.667s0.5-18.833,2.666-36c1.001-7.932,3.781-20.418,6.877-33.791c-5.498,5.892-15.936,8.102-24.836,8.479C1124.129,1209.42,1114.156,1204.693,1109.438,1196.031z\"\n />\n = 0 })}\n d=\"M1019.104,1332.304c4.011,3.708,9.41,6.354,16.021,6.821c10.625,0.75,16.125-6.125,18.5-12.875c0.22-0.625,0.403-1.236,0.572-1.842C1047.638,1317.259,1023.985,1317.708,1019.104,1332.304z\"\n />\n = 0 })}\n d=\"M1111.074,1325.477c0.85,3.079,2.283,6.199,4.76,8.939c6.25,6.916,20.083,3.834,25.833,1.084c1.966-0.94,3.644-2.342,5.061-3.886C1141.081,1317.026,1116.085,1317.376,1111.074,1325.477z\"\n />\n = 0 })}\n d=\"M1017.065,1310.436c0.822-11.624,1.647-19.062-1.66-29.594c-0.925,1.334-2.522,0.714-4.405,2.408c-1.34,1.206-1.584,2.583-3.834,2.667s-4.666,2.25-5.5,3.75c-0.833,1.5-2.749,0.25-4.916,1.416s-3,3.667-2.416,6.25c0.583,2.583,2.333,3.25,2.416,4.917s1,4.25,3.75,7.75s9.25,7.25,12.875,14.625c1.053,2.142,2.442,4.193,4.131,6.053C1017.006,1323.732,1016.816,1313.95,1017.065,1310.436z\"\n />\n = 0 })}\n d=\"M1149.017,1310.436c0.231,3.273,0.083,11.985-0.342,18.777c1.638-2.285,2.762-4.545,3.409-5.88c1.334-2.75,9.5-11.333,12.75-14.916s2.499-5.084,2.499-7.084s2-2,2.5-5.333s-1.833-4.833-2.916-5.583s-4.084-0.75-4.25-1.417s-1.25-1.917-3.167-2.917s-4,0.667-4.917-1.083c-0.847-1.617-2.613-2.247-4.061-3.646C1147.401,1291.615,1148.208,1299.002,1149.017,1310.436z\"\n />\n\n \n \n \n
\n \n );\n }\n}\n\nconst InjectedBodyPartPicker = injectIntl(_BodyPartPicker);\nconst BodyPartPicker = Relay.createContainer(InjectedBodyPartPicker, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n bodyParts {\n id\n code\n name\n }\n }\n `,\n },\n});\n\nconst BodyPartPickerDialog = ({\n viewer,\n attachmentId,\n gender,\n currentBodyParts,\n closeDialog,\n onBodyPartsUpdated,\n errors,\n intl: { formatMessage },\n}) => {\n const [front, setFront] = useState(true);\n const [selectedBodyParts, setSelectedBodyParts] = useState([]);\n const bodyPartPickerRef = useRef(null);\n\n useEffect(() => {\n setSelectedBodyParts(currentBodyParts);\n }, []);\n\n const updateBodyParts = () => {\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(\n new UpdateAttachmentBodyPartsMutation({\n attachmentId: attachmentId,\n bodyPartIds: selectedBodyParts,\n }),\n {\n onSuccess: () => {\n resolve();\n if (onBodyPartsUpdated) {\n const fullParts = viewer.bodyParts.filter(\n (x) => selectedBodyParts.indexOf(x.id) >= 0\n );\n onBodyPartsUpdated(fullParts);\n }\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n }\n );\n });\n };\n\n const onSubmitForm = async () => {\n await updateBodyParts();\n };\n\n const { isSubmitting, formsyProps } = useFormsySubmit({\n onSubmit: onSubmitForm,\n });\n\n const actions = [\n {\n icon: \"replay\",\n label: formatMessage(messages.flip),\n onClick: () => setFront(!front),\n },\n {\n label: formatMessage(baseI18n.global.close),\n onClick: closeDialog,\n },\n {\n children: (\n \n {formatMessage(baseI18n.global.update)}\n {isSubmitting && (\n \n )}\n \n ),\n onClick: () => formsyProps.ref.current.submit(),\n primary: true,\n },\n ];\n\n return (\n \n {viewer.bodyParts ? (\n \n setSelectedBodyParts(parts)}\n />\n \n ) : (\n
loading...
\n )}\n\n \n \n );\n};\n\nBodyPartPickerDialog.propTypes = {\n viewer: PropTypes.any.isRequired,\n attachmentId: PropTypes.string.isRequired,\n gender: PropTypes.string,\n currentBodyParts: PropTypes.arrayOf(PropTypes.string),\n closeDialog: PropTypes.func,\n onBodyPartsUpdated: PropTypes.func,\n errors: PropTypes.arrayOf(PropTypes.any),\n intl: intlShape,\n};\n\nexport const InjectedBodyPartPickerDialog = injectIntl(BodyPartPickerDialog);\nexport const RelayBodyPartPickerDialog = Relay.createContainer(InjectedBodyPartPickerDialog, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n bodyParts {\n id\n code\n name\n }\n ${BodyPartPicker.getFragment(\"viewer\")}\n }\n `,\n },\n});\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".textAreaInput-style__textarea_container___2S05y{display:flex;flex-direction:column}.textAreaInput-style__textarea___1ZBVO{width:100%;min-height:100px;padding:9px 8px;margin:10px 0;border-radius:3px;border:1px solid #6090c0}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"textarea_container\": \"textAreaInput-style__textarea_container___2S05y\",\n\t\"textarea\": \"textAreaInput-style__textarea___1ZBVO\"\n};","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./SubformTable.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./SubformTable.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./SubformTable.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\n\nimport { PersonPropTypes } from \"../Person\";\n\nexport const RequesterPropTypes = PropTypes.shape({\n person: PersonPropTypes,\n});\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".style__errors-container___2bOrl{margin-top:2rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"errors-container\": \"style__errors-container___2bOrl\"\n};","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { InfoUpdate } from \"@akinoxsolutions/gerudo-ui\";\n\nimport styles from \"./style.scss\";\n\nexport const CaseStatusUpdate = ({ status }) => {\n return {status};\n};\n\nCaseStatusUpdate.propTypes = {\n status: PropTypes.node.isRequired,\n};\n\nexport default CaseStatusUpdate;\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@media print{.PrintCaseButton-style__button-print___1a09t{display:none !important}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"button-print\": \"PrintCaseButton-style__button-print___1a09t\"\n};","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./HandWrittenSignatureFooter.styles.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./HandWrittenSignatureFooter.styles.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./HandWrittenSignatureFooter.styles.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".akAutocomplete__has-icon___3Igpy .akAutocomplete__suggestions___TNFYJ{margin-left:4.8rem;width:calc(100% - 4.8rem)}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"has-icon\": \"akAutocomplete__has-icon___3Igpy\",\n\t\"suggestions\": \"akAutocomplete__suggestions___TNFYJ\"\n};","\nvar content = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./SignatureInput.styles.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./SignatureInput.styles.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./SignatureInput.styles.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Signature-styles__container___1Klc8{display:flex;flex-direction:row;padding:1rem;border:1px solid var(--grey-extra-light-77);border-radius:0.5rem;background-color:var(--grey-extra-light-97)}.Signature-styles__container___1Klc8 .Signature-styles__signature___XN566{border-bottom:1px solid #000;max-width:100%;max-height:100%}.Signature-styles__container___1Klc8 .Signature-styles__signature___XN566 .Signature-styles__img___ZUH-g{max-width:inherit;max-height:inherit}.Signature-styles__container___1Klc8 .Signature-styles__footer___2GcmU{padding-top:1rem}.Signature-styles__container___1Klc8 .Signature-styles__more___zTC_N{padding-left:0.5rem;margin-top:auto;margin-bottom:auto}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"container\": \"Signature-styles__container___1Klc8\",\n\t\"signature\": \"Signature-styles__signature___XN566\",\n\t\"img\": \"Signature-styles__img___ZUH-g\",\n\t\"footer\": \"Signature-styles__footer___2GcmU\",\n\t\"more\": \"Signature-styles__more___zTC_N\"\n};","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./filesInput.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./filesInput.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./filesInput.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","export default [\n { label: \"Aqua\", value: \"Aqua\" },\n { label: \"Glass\", value: \"Glass\" },\n { label: \"Black Glass\", value: \"BlackGlass\" },\n { label: \"Plastic Blue\", value: \"PlasticBlue\" },\n { label: \"Simple\", value: \"DevEx\" },\n { label: \"Office2010 Blue\", value: \"Office2010Blue\" },\n { label: \"Office2010 Silver\", value: \"Office2010Silver\" },\n { label: \"iOS\", value: \"iOS\" },\n { label: \"Material Design\", value: \"Material\" },\n { label: \"Metropolis\", value: \"Metropolis\" },\n { label: \"Metropolis Blue\", value: \"MetropolisBlue\" },\n { label: \"Moderno\", value: \"Moderno\" },\n { label: \"Mulberry\", value: \"Mulberry\" },\n];\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { CardActions } from \"react-toolbox/lib/card\";\nimport { Button, Card } from \"@akinoxsolutions/gerudo-ui\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport { Genders } from \"../../../constants\";\nimport { parseToCalendarDate, serializeDate } from \"../../../helpers/dates\";\nimport { isEnabled, featureKeys } from \"../../../helpers/features\";\nimport { onLanguageChange } from \"../../../helpers/language\";\nimport { getProfessions } from \"../../../helpers/staticData\";\nimport { extractEmail } from \"../../../helpers/validations\";\nimport AddressFields, { build as buildAddress } from \"../../patients/addressFields\";\nimport { professionsDropdownSource } from \"../../shared/dropdownHelpers\";\nimport AutocompleteInput from \"../../shared/inputs/autocompleteInput\";\nimport DatePickerInput from \"../../shared/inputs/datePickerInput\";\nimport DropDownListInput from \"../../shared/inputs/dropDownListInput\";\nimport RadioButtonListInput from \"../../shared/inputs/radioButtonListInput\";\nimport TextInput from \"../../shared/inputs/textInput\";\nimport { genderChoices } from \"../../shared/radioHelpers\";\nimport { messages as confirmationPageMessages } from \"../../users/confirmRegistrationPage\";\nimport PersonPictureUrlForm from \"../personPictureUrlForm\";\nimport themes from \"../themes\";\n\nimport styles from \"../../forms/THORSURG/ThoracicSurgeryForm.style\";\nimport style from \"./personProfile.style\";\nimport { messages } from \"./personProfile.i18n\";\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nexport const UserTypes = {\n Full: \"FULL\",\n ReferMd: \"REFERMD\",\n};\n\nexport function buildPerson(data, person) {\n const licenseNumber = data.licenseNumber || person.licenseNumber;\n return {\n firstName: data.firstName.trim(),\n lastName: data.lastName.trim(),\n birthday: serializeDate(data.birthday) || null,\n gender: data.gender || Genders.OTHER,\n theme: data.theme || person.theme,\n licenseNumber: licenseNumber ? licenseNumber.trim() : null,\n preferredLanguage: data.preferredLanguage || \"\",\n address: buildAddress(data, person.address),\n professionId: data.profession,\n clinicalDomainIds: data.clinicalDomains,\n isActive: data.active === undefined || data.active === null ? person.isActive : data.active,\n isReferMD: (data.userTypes || []).indexOf(UserTypes.ReferMd) >= 0,\n pictureUrl: data.pictureUrl || \"\",\n };\n}\n\nexport function buildPhysician(data) {\n return {\n firstName: data.firstName.trim(),\n lastName: data.lastName.trim(),\n birthday: serializeDate(data.birthday) || null,\n gender: data.gender || Genders.OTHER,\n preferredLanguage: data.preferredLanguage || \"fr\",\n address: buildAddress(data, {}),\n professionId: data.profession,\n licenseNumber: data.licenseNumber,\n clinicalDomainIds: data.clinicalDomains,\n pictureUrl: data.pictureUrl || \"\",\n };\n}\n\nclass PersonProfileFields extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n person: PropTypes.object,\n physician: PropTypes.object,\n includeActions: PropTypes.bool,\n saving: PropTypes.bool,\n intl: intlShape,\n language: PropTypes.string,\n showTheme: PropTypes.bool,\n emailRequired: PropTypes.bool,\n telephoneWorkRequired: PropTypes.bool,\n headerTitle: PropTypes.string,\n disableEmail: PropTypes.bool,\n };\n\n constructor(props) {\n super(props);\n\n const p = this.props.person || this.props.physician;\n this.state = {\n firstName: p.firstName,\n lastName: p.lastName,\n emails: (p || { address: {} }).address.emails || [],\n };\n }\n\n UNSAFE_componentWillMount() {\n onLanguageChange(this.props.relay.forceFetch.bind(this));\n }\n\n render() {\n const t = this.props.intl.formatMessage;\n const p = this.props.person || this.props.physician;\n const isPerson = p.__typename === \"Person\";\n\n let clinicalDomains = null;\n if (this.props.viewer.clinicalDomains) {\n clinicalDomains = {};\n this.props.viewer.clinicalDomains.edges.map((x) => {\n clinicalDomains[x.node.id] = x.node.name;\n });\n }\n\n return (\n
\n \n
\n this.setState({ firstName: v })}\n required\n validationErrors={{\n isDefaultRequiredValue: t(baseI18n.error.fieldRequired),\n }}\n value={p.firstName}\n />\n this.setState({ lastName: v })}\n required\n validationErrors={{\n isDefaultRequiredValue: t(baseI18n.error.fieldRequired),\n }}\n />\n
\n
\n \n\n \n
\n
\n {(!isPerson || p.permissions.canEditProfession) && (\n \n )}\n {(!isPerson || p.permissions.canEditLicenseNumber) && (\n \n )}\n
\n {(!isPerson || p.permissions.canEditProfession) && clinicalDomains && (\n
\n x.id) : []}\n />\n
\n )}\n\n this.setState({ emails: e })}\n />\n
\n \n
\n {isPerson && isEnabled(this.props.viewer.features, featureKeys.PersonAvatars) && (\n \n )}\n {isPerson && this.renderTheme()}\n {this.props.includeActions && (\n \n \n \n )}\n
\n
\n );\n }\n\n renderTheme() {\n if (!this.props.showTheme) {\n return;\n }\n\n const t = this.props.intl.formatMessage;\n const p = this.props.person;\n return (\n \n
\n \n
\n
\n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n language: state.settingsReducer.language,\n };\n};\n\nexport default Relay.createContainer(injectIntl(connect(mapStateToProps)(PersonProfileFields)), {\n initialVariables: {\n loadDomains: false,\n },\n fragments: {\n person: () => Relay.QL`\n fragment on Person {\n __typename\n id\n fullName\n firstName\n lastName\n birthday\n gender\n licenseNumber\n preferredLanguage\n theme\n isActive\n ${PersonPictureUrlForm.getFragment(\"person\")}\n\n profession {\n name\n id\n }\n\n clinicalDomains {\n id\n name\n }\n\n address {\n emails\n ${AddressFields.getFragment(\"address\")}\n }\n\n permissions {\n canEditLicenseNumber\n canEditClinicalDomains\n canEditProfession\n canEditIsActive\n }\n }`,\n physician: () => Relay.QL`\n fragment on Physician {\n __typename\n id\n fullName\n firstName\n lastName\n licenseNumber\n birthday\n gender\n ${PersonPictureUrlForm.getFragment(\"person\")}\n\n profession {\n name\n id\n }\n\n clinicalDomains {\n id\n name\n }\n\n address {\n emails\n ${AddressFields.getFragment(\"address\")}\n }\n }`,\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n\n clinicalDomains(first: 500) @include(if: $loadDomains) {\n edges {\n node {\n id\n name\n }\n }\n }\n\n ${AddressFields.getFragment(\"viewer\")}\n }`,\n },\n});\n\n// TODO: clinicalDomains editing is currently manually disabled ($loadDomains)\n// Because of performance. MUST FIX BEFORE MERGE TO MASTER\n","\nvar content = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./navigation.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./navigation.scss\", function() {\n\t\tvar newContent = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./navigation.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./NoteTitleWithCount.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./NoteTitleWithCount.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./NoteTitleWithCount.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import Relay from \"react-relay/classic\";\n\nexport default class CancelCaseMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(CancelCaseMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { cancelCase }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n reason: this.props.reason,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on CancelCaseMutationPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n cases(type: COMPLETED)\n casesTotals\n }\n case {\n status\n permissions\n data {\n ... on ConversationConsultData {\n history\n extraData\n permissions\n }\n ... on ThoracicSurgeryData {\n steps\n permissions\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n}\n","import classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { Card, CardText } from \"react-toolbox/lib/card\";\nimport Dialog from \"react-toolbox/lib/dialog\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { handleFormsyInvalidSubmit, getErrors } from \"../../helpers/errors\";\nimport { showDialogNotice } from \"../../stores/app/actions\";\nimport CancelCaseMutation from \"../cases/cancelCaseMutation\";\nimport ErrorCard from \"../shared/errorCard\";\nimport TextInput from \"../shared/inputs/textInput\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n cancelTitle: {\n id: \"cases.cancelTitle\",\n description: \"Case cancel\",\n defaultMessage: \"Abort case #{caseId}\",\n },\n deleteTitle: {\n id: \"cases.deleteTitle\",\n description: \"Case delete\",\n defaultMessage: \"Delete case #{caseId}\",\n },\n cancelDestinationTitle: {\n id: \"cases.cancelDestinationTitle\",\n description: \"Case cancel\",\n defaultMessage: \"Abort destination '{destinationLabel}' for case #{caseId}\",\n },\n deleteDestinationTitle: {\n id: \"cases.deleteDestinationTitle\",\n description: \"Case delete\",\n defaultMessage: \"Delete destination '{destinationLabel}' for case #{caseId}\",\n },\n irreversibleAction: {\n id: \"caseSearch.irreversibleAction\",\n description: \"Notification to the user that this action is irreversible\",\n defaultMessage: \"This action is irreversible\",\n },\n caseDeleted: {\n id: \"caseSearch.caseDeleted\",\n description: \"Notification to announce successful case delete\",\n defaultMessage: \"Case deleted successfully\",\n },\n caseDestinationDeleted: {\n id: \"caseSearch.caseDestinationDeleted\",\n description: \"Notification to announce successful case destination delete\",\n defaultMessage: \"Destination deleted successfully\",\n },\n deletingCasePrompt: {\n id: \"caseSearch.deletingCasePrompt\",\n description: \"Prompt to ensure user wants to delete this case\",\n defaultMessage: \"Are you sure you want to delete the case #{caseId}?\",\n },\n deletingDestinationPrompt: {\n id: \"caseSearch.deletingDestinationPrompt\",\n description: \"Prompt to ensure user wants to delete this case\",\n defaultMessage:\n \"Are you sure you want to delete the destination '{destinationLabel}' for case #{caseId}?\",\n },\n deleteReason: {\n id: \"cases.deleteReason\",\n description: \"Case delete reason label\",\n defaultMessage: \"Deletion reason\",\n },\n deleteReasonHint: {\n id: \"cases.deleteReasonHint\",\n description: \"Case delete reason hint text\",\n defaultMessage: \"Specify why you are deleting for journaling purposes.\",\n },\n caseCanceled: {\n id: \"caseSearch.caseCanceled\",\n description: \"Notification to announce successful case cancel\",\n defaultMessage: \"Case aborted successfully\",\n },\n caseDestinationCanceled: {\n id: \"caseSearch.caseDestinationCanceled\",\n description: \"Notification to announce successful case destination cancel\",\n defaultMessage: \"Destination aborted successfully\",\n },\n cancelingCasePrompt: {\n id: \"caseSearch.cancelingCasePrompt\",\n description: \"Prompt to ensure user wants to cancel this case\",\n defaultMessage: \"Are you sure you want to abort the case #{caseId}?\",\n },\n cancelingDestinationPrompt: {\n id: \"caseSearch.cancelingDestinationPrompt\",\n description: \"Prompt to ensure user wants to cancel this case\",\n defaultMessage:\n \"Are you sure you want to abort the destination '{destinationLabel}' for case #{caseId}?\",\n },\n cancelReason: {\n id: \"cases.cancelReason\",\n description: \"Case cancel reason label\",\n defaultMessage: \"Reason for aborting this case\",\n },\n cancelReasonHint: {\n id: \"cases.cancelReasonHint\",\n description: \"Case cancel reason hint text\",\n defaultMessage: \"Specify why you are aborting for journaling purposes.\",\n },\n});\n\nexport class CancelCaseDialog extends React.Component {\n static propTypes = {\n active: PropTypes.bool,\n cancelRequiresReason: PropTypes.bool,\n case: PropTypes.any,\n destinationId: PropTypes.string,\n destinationLabel: PropTypes.string,\n dispatch: PropTypes.func.isRequired,\n extraContext: PropTypes.element,\n intl: intlShape,\n onCancel: PropTypes.func,\n onCancelError: PropTypes.func,\n onCancelSuccess: PropTypes.func,\n status: PropTypes.any,\n viewer: PropTypes.any.isRequired,\n };\n\n state = {\n mutating: false,\n errors: [],\n };\n\n t(key, args) {\n return this.props.intl.formatMessage(key, args);\n }\n\n handleCancelCase(data) {\n this.setState({ errors: [], mutating: true });\n const { case: cas, status, destinationId } = this.props;\n const caseId = cas.id;\n const isDelete = (status || cas.status).isDraft;\n const isDestination = Boolean(destinationId);\n Relay.Store.commitUpdate(\n new CancelCaseMutation({\n caseId: caseId,\n destinationId: destinationId,\n reason: data.reason,\n viewer: this.props.viewer,\n }),\n {\n onSuccess: () => {\n this.props.dispatch(\n showDialogNotice(\n this.t(\n isDestination\n ? isDelete\n ? messages.caseDestinationDeleted\n : messages.caseDestinationCanceled\n : isDelete\n ? messages.caseDeleted\n : messages.caseCanceled\n ),\n \"accept\"\n )\n );\n this.setState({ errors: [], mutating: false });\n if (this.props.onCancelSuccess) {\n this.props.onCancelSuccess();\n }\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({\n errors: this.state.errors.concat(errors),\n mutating: false,\n });\n if (this.props.onCancelError) {\n this.props.onCancelError(errors);\n }\n });\n },\n }\n );\n }\n\n render() {\n const closeDialog = () => this.props.onCancel();\n const t = this.props.intl.formatMessage;\n\n const { case: c, status, cancelRequiresReason, destinationLabel, extraContext } = this.props;\n const isDelete = c && (c.status || status).isDraft;\n const requiresReason =\n (c && c.permissions && c.permissions.cancelRequiresReason) || cancelRequiresReason;\n const actions = [\n {\n label: t(baseI18n.global.close),\n onClick: closeDialog,\n disabled: this.state.mutating,\n },\n {\n children: (\n \n {t(isDelete ? baseI18n.global.delete : baseI18n.global.abort)}\n {this.state.mutating && (\n \n )}\n \n ),\n className: classnames(formStyle[\"danger-button\"], {\n [formStyle[\"spinning-button\"]]: this.state.mutating,\n }),\n icon: isDelete ? \"delete\" : \"cancel\",\n onClick: () => this.form.submit(),\n primary: true,\n disabled: this.state.mutating,\n },\n ];\n\n return (\n \n {c && (\n (this.form = f)}\n onValidSubmit={(d) => this.handleCancelCase(d)}\n onInvalidSubmit={() => {\n handleFormsyInvalidSubmit(this.form);\n if (this.props.onCancelError) {\n this.props.onCancelError([]);\n }\n }}\n className={classnames(formStyle[\"card-form\"])}>\n \n \n
\n

{t(messages.irreversibleAction)}

\n

\n {this.t(\n destinationLabel\n ? isDelete\n ? messages.deletingDestinationPrompt\n : messages.cancelingDestinationPrompt\n : isDelete\n ? messages.deletingCasePrompt\n : messages.cancelingCasePrompt,\n {\n caseId: (c || {}).lookupId,\n destinationLabel,\n }\n )}\n

\n {extraContext}\n
\n {requiresReason && (\n
\n \n
\n )}\n
\n
\n\n {this.state.errors && this.state.errors.length > 0 && (\n \n )}\n \n )}\n \n );\n }\n}\n\nexport default Relay.createContainer(connect()(injectIntl(CancelCaseDialog)), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n }\n `,\n case: () => Relay.QL`\n fragment on IRequest {\n __typename\n id\n lookupId\n status {\n isDraft\n }\n\n permissions {\n cancelRequiresReason\n }\n }`,\n status: () => Relay.QL`\n fragment on Status {\n code\n name\n isDraft\n }`,\n },\n});\n","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./list.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./list.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./list.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import Relay from \"react-relay/classic\";\n\nexport default class AssignTreatingPhysicianMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(AssignTreatingPhysicianMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { assignTreatingPhysician }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n treatingPhysicianId: this.props.treatingPhysicianId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on AssignTreatingPhysicianPayload {\n case {\n ${AssignTreatingPhysicianMutation.getFragment(\"case\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n treatingPhysician\n }\n `,\n };\n}\n","import Relay from \"react-relay/classic\";\n\nexport default class ChangeConversationConsultRequesterMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(ChangeConversationConsultRequesterMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { changeConversationConsultRequester }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n departmentId: this.props.departmentId,\n requesterId: this.props.requesterId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ChangeConversationConsultRequesterPayload {\n case {\n data {\n ... on ConversationConsultData {\n permissions\n }\n }\n ${ChangeConversationConsultRequesterMutation.getFragment(\"case\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on ConversationConsultData {\n requester\n fromDepartment\n }\n }\n }\n `,\n };\n}\n","import Relay from \"react-relay/classic\";\n\nexport default class ContributeToConversationConsultMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(ContributeToConversationConsultMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { contributeToConversationConsult }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n contributionText: this.props.contributionText,\n answersInformationRequest: this.props.answersInformationRequest,\n fileIds: this.props.fileIds || [],\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ContributeToConversationConsultPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n data {\n ... on ConversationConsultData {\n history\n permissions\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n}\n","import Relay from \"react-relay/classic\";\n\nexport default class ContributeToConversationConsultReportMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(ContributeToConversationConsultReportMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { contributeToConversationConsultReport }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n contributorId: this.props.contributorId,\n contributionText: this.props.contributionText,\n timeSpent: this.props.timeSpent,\n timeSpentOverrageReason: this.props.timeSpentOverrageReason,\n fileIds: this.props.fileIds || [],\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ContributeToConversationConsultReportPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n cases(type: COMPLETED)\n casesTotals\n }\n case {\n data {\n ... on ConversationConsultData {\n permissions\n history\n reporter\n }\n }\n ${ContributeToConversationConsultReportMutation.getFragment(\"case\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on ConversationConsultData {\n requester\n reporter\n fromDepartment\n }\n }\n }\n `,\n };\n}\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Relay from \"react-relay/classic\";\n\nimport logo from \"~/src/public/assets/images/ceexlo-logo\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport Address from \"../../patients/address\";\nimport BirthdayAndAge from \"../../patients/birthdayAndAge\";\nimport HealthInsurance from \"../../patients/healthInsurance\";\n\nimport EConsultLogo from \"./ECONSULT_logo\";\n\nexport class PdfReportHeader extends React.Component {\n static propTypes = {\n patient: PropTypes.object,\n hospitalPatient: PropTypes.object,\n case: PropTypes.object,\n };\n\n getImage() {\n return logo;\n }\n\n render() {\n const p = this.props.patient || this.props.hospitalPatient.patient;\n return (\n
\n
\n
\n
\n \n {p.demographic.lastName}, {p.demographic.firstName} ({p.demographic.gender[0]})\n \n
\n \n
\n \n
\n
\n
\n
\n \n
\n );\n }\n}\n\nexport default Relay.createContainer(PdfReportHeader, {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n id\n legacyId\n }\n `,\n hospitalPatient: () => Relay.QL`\n fragment on HospitalPatient {\n uniqueId\n patient {\n id\n legacyId\n address {\n ${Address.getFragment(\"address\")}\n }\n demographic {\n gender\n firstName\n lastName\n fullName\n ${BirthdayAndAge.getFragment(\"demographic\")}\n }\n healthInsurance {\n ${HealthInsurance.getFragment(\"healthInsurance\")}\n }\n }\n }\n `,\n patient: () => Relay.QL`\n fragment on Patient {\n id\n legacyId\n address {\n ${Address.getFragment(\"address\")}\n }\n demographic {\n gender\n firstName\n lastName\n fullName\n ${BirthdayAndAge.getFragment(\"demographic\")}\n }\n healthInsurance {\n ${HealthInsurance.getFragment(\"healthInsurance\")}\n }\n }\n `,\n },\n});\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { themr } from \"react-css-themr\";\n\nimport RadioButtonListInput from \"./radioButtonListInput\";\n\nimport style from \"./ratingInput.style\";\n\nexport class RatingInput extends React.Component {\n static propTypes = {\n theme: PropTypes.any,\n labelMin: PropTypes.string.isRequired,\n labelMax: PropTypes.string.isRequired,\n className: PropTypes.string,\n required: PropTypes.bool,\n ignoreRequiredSpan: PropTypes.bool,\n };\n\n render() {\n const { labelMin, labelMax, className, ignoreRequiredSpan, theme, ...otherProps } = this.props;\n const newLabel = (\n \n {labelMin}\n {labelMax}\n \n );\n const classNames = classnames(theme[\"rating-radio-buttons\"], className);\n return (\n \n );\n }\n}\n\nconst ThemedRatingInput = themr(\"AKRatingInput\", style)(RatingInput);\nexport default ThemedRatingInput;\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, FormattedMessage, defineMessages } from \"react-intl\";\nimport Avatar from \"react-toolbox/lib/avatar\";\nimport { Card, CardTitle, CardText } from \"react-toolbox/lib/card\";\n\nimport { renderRequiredSpan } from \"../../shared/inputs/inputHelpers\";\nimport RadioButtonListInput from \"../../shared/inputs/radioButtonListInput\";\nimport RatingInput from \"../../shared/inputs/ratingInput\";\nimport TextInput from \"../../shared/inputs/textInput\";\n\nimport baseI18n from \"../../../../messages/base.i18n\";\nimport style from \"./ECONSULT_form.style\";\n\nconst messages = defineMessages({\n title: {\n id: \"forms.econsult.survey.title\",\n description: \"eConsult survey title\",\n defaultMessage: \"Short survey\",\n },\n q1o1: {\n id: \"forms.econsult.surveyQ1.o1\",\n description: \"eConsult survey question 1 option 1\",\n defaultMessage: \"I was able to confirm a course of action that I originally had in mind\",\n },\n q1o2: {\n id: \"forms.econsult.surveyQ1.o2\",\n description: \"eConsult survey question 1 option 2\",\n defaultMessage:\n \"I got good advice for a new or additional course of action that I will be implementing\",\n },\n q1o3: {\n id: \"forms.econsult.surveyQ1.o3\",\n description: \"eConsult survey question 1 option 3\",\n defaultMessage:\n \"I got good advice for a new or additional course of action that I am not able to implement\",\n },\n q1o4: {\n id: \"forms.econsult.surveyQ1.o4\",\n description: \"eConsult survey question 1 option 4\",\n defaultMessage: \"None of the above (please comment)\",\n },\n q2o1: {\n id: \"forms.econsult.surveyQ2.o1\",\n description: \"eConsult survey question 2 option 1\",\n defaultMessage: \"Referral was originally contemplated but now avoided at this stage\",\n },\n q2o2: {\n id: \"forms.econsult.surveyQ2.o2\",\n description: \"eConsult survey question 2 option 2\",\n defaultMessage:\n \"Referral was originally contemplated and is still needed - this eConsult likely leads to a more effective visit\",\n },\n q2o3: {\n id: \"forms.econsult.surveyQ2.o3\",\n description: \"eConsult survey question 2 option 3\",\n defaultMessage:\n \"Referral was not originally contemplated and is still not needed - this eConsult provided useful feedback/information\",\n },\n q2o4: {\n id: \"forms.econsult.surveyQ2.o4\",\n description: \"eConsult survey question 2 option 4\",\n defaultMessage:\n \"Referral was not originally contemplated, but eConsult process resulted in a referral being initiated\",\n },\n q2o5: {\n id: \"forms.econsult.surveyQ2.o5\",\n description: \"eConsult survey question 2 option 5\",\n defaultMessage: \"There was no particular benefit to using eConsult in this case\",\n },\n q2o6: {\n id: \"forms.econsult.surveyQ2.o6\",\n description: \"eConsult survey question 2 option 6\",\n defaultMessage: \"None of the above (please comment)\",\n },\n q7o1: {\n id: \"forms.econsult.surveyQ7.o1\",\n description: \"eConsult survey question 7 option 1\",\n defaultMessage: \"Yes. I saved time: using eConsult saved me 0 to 15 minutes.\",\n },\n q7o2: {\n id: \"forms.econsult.surveyQ7.o2\",\n description: \"eConsult survey question 7 option 2\",\n defaultMessage: \"Yes. I saved time: using eConsult saved me 15 minutes or more.\",\n },\n q7o3: {\n id: \"forms.econsult.surveyQ7.o3\",\n description: \"eConsult survey question 7 option 3\",\n defaultMessage: \"Neutral. I neither saved nor lost time.\",\n },\n q7o4: {\n id: \"forms.econsult.surveyQ7.o4\",\n description: \"eConsult survey question 7 option 4\",\n defaultMessage: \"No. It took me more time: using eConsult took me 0 to 15 minutes.\",\n },\n q7o5: {\n id: \"forms.econsult.surveyQ7.o5\",\n description: \"eConsult survey question 7 option 5\",\n defaultMessage: \"No. It took me more time: using eConsult took me 15 minutes or more.\",\n },\n});\n\nexport class EConsultSurvey extends React.Component {\n static propTypes = {\n data: PropTypes.any,\n intl: intlShape,\n };\n\n t(key, args) {\n return this.props.intl.formatMessage(key, args);\n }\n\n render() {\n return (\n \n } />\n \n

\n \n

\n
\n

\n \n {renderRequiredSpan()}\n

\n\n \n
\n\n
\n

\n \n {renderRequiredSpan()}\n

\n\n \n
\n\n
\n

\n \n {renderRequiredSpan()}\n

\n\n \n
\n\n
\n

\n \n {renderRequiredSpan()}\n

\n\n \n
\n\n
\n

\n \n

\n \n
\n
\n
\n );\n }\n}\n\nexport default injectIntl(EConsultSurvey);\n","import Relay from \"react-relay/classic\";\n\nexport default class ReopenConversationConsultMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(ReopenConversationConsultMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { reopenConversationConsult }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n text: this.props.text,\n fileIds: this.props.fileIds || [],\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ReopenConversationConsultPayload {\n viewer {\n cases(type: COMPLETED)\n cases(type: WAITING)\n casesTotals\n }\n case {\n data {\n ... on ConversationConsultData {\n permissions\n history\n }\n }\n ${ReopenConversationConsultMutation.getFragment(\"case\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on ConversationConsultData {\n requester\n }\n }\n }\n `,\n };\n}\n","import Relay from \"react-relay/classic\";\n\nexport default class SubmitConversationConsultMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(SubmitConversationConsultMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { submitConversationConsult }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n clinicalDomainId: this.props.clinicalDomainId,\n preferredDestinationDepartmentId: this.props.preferredDestinationDepartmentId,\n requestInformation: this.props.requestInformation,\n fileIds: this.props.fileIds || [],\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on SubmitConversationConsultPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n isDraftStatus\n data {\n ... on ConversationConsultData {\n permissions\n history\n }\n }\n ${SubmitConversationConsultMutation.getFragment(\"case\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on ConversationConsultData {\n requester\n fromDepartment\n }\n }\n }\n `,\n };\n}\n","import Relay from \"react-relay/classic\";\n\nexport default class SubmitConversationConsultReportMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(SubmitConversationConsultReportMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { submitConversationConsultReport }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n reporterId: this.props.reporterId,\n reportText: this.props.reportText,\n isReferralRecommended: this.props.isReferralRecommended,\n isMoreInformationRequired: this.props.isMoreInformationRequired,\n timeSpent: this.props.timeSpent,\n timeSpentOverrageReason: this.props.timeSpentOverrageReason,\n fileIds: this.props.fileIds || [],\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on SubmitConversationConsultReportPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n cases(type: COMPLETED)\n casesTotals\n }\n case {\n data {\n ... on ConversationConsultData {\n permissions\n history\n reporter\n }\n }\n ${SubmitConversationConsultReportMutation.getFragment(\"case\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on ConversationConsultData {\n requester\n reporter\n fromDepartment\n }\n }\n }\n `,\n };\n}\n","import classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter, routerShape } from \"react-router\";\nimport Avatar from \"react-toolbox/lib/avatar\";\nimport { Button } from \"react-toolbox/lib/button\";\nimport { Card, CardTitle, CardText, CardActions } from \"react-toolbox/lib/card\";\nimport Dialog from \"react-toolbox/lib/dialog\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport { List } from \"react-toolbox/lib/list\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport cardListStyle from \"../../../../styles/cardList\";\nimport formStyle from \"../../../../styles/forms\";\nimport { AppSettings, URLs, NamePlaceholder } from \"../../../constants\";\nimport { getToken } from \"../../../helpers/authentication\";\nimport { registerAutoSave, unregisterAutoSave } from \"../../../helpers/autoSave\";\nimport { parseToDate, serializeDate } from \"../../../helpers/dates\";\nimport { setTitle } from \"../../../helpers/document\";\nimport { handleFormsyInvalidSubmit, getErrors } from \"../../../helpers/errors\";\nimport {\n isEnabled,\n featureKeys,\n isClientFeatureEnabled,\n clientFeatureKeys,\n} from \"../../../helpers/features\";\nimport { downloadFile, saveFile } from \"../../../helpers/files\";\nimport { normalizeFileName } from \"../../../helpers/strings\";\nimport { showDialogNotice } from \"../../../stores/app/actions\";\nimport { mutateState } from \"../../attachments/attachmentUploadAndList\";\nimport CaseArchiveDialog from \"../../cases/caseArchiveDialog\";\nimport CaseCancelDialog from \"../../cases/caseCancelDialog\";\nimport BasicPatientForm from \"../../patients/basicPatientForm\";\nimport { build as buildDemographic } from \"../../patients/demographicFieldset\";\nimport { build as buildHealthInsurance } from \"../../patients/healthInsuranceFieldset\";\nimport PatientCases, {\n messages as patientCasesMessages,\n} from \"../../patients/information/patientCases\";\nimport PatientSummaryCard from \"../../patients/patientSummaryCard\";\nimport UpdatePatientDemographicMutation from \"../../patients/updatePatientDemographicMutation\";\nimport UpdatePatientHealthInsuranceMutation from \"../../patients/updatePatientHealthInsuranceMutation\";\nimport ResetUserItemMutation from \"../../savedItems/resetUserItemMutation\";\nimport SaveUserItemMutation from \"../../savedItems/saveUserItemMutation\";\nimport ErrorCard from \"../../shared/errorCard\";\nimport FormattedRelative from \"../../shared/formattedRelative\";\nimport SpinnerButton from \"../../shared/inputs/custom/spinnerButton\";\nimport { renderRequiredSpan } from \"../../shared/inputs/inputHelpers\";\nimport RadioButtonListInput, { YesNoOptions } from \"../../shared/inputs/radioButtonListInput\";\nimport TextInput from \"../../shared/inputs/textInput\";\nimport PatientInformation from \"../../shared/patientInformation\";\nimport { PersonInformation } from \"../../shared/PersonInformation\";\nimport PhysicianInput from \"../../users/physicians/physicianInput\";\nimport AssignTreatingPhysicianMutation from \"../shared/assignTreatingPhysicianMutation\";\n\nimport ChangeConversationConsultRequesterMutation from \"./changeConversationConsultRequesterMutation\";\nimport CloseConversationConsultMutation from \"./closeConversationConsultMutation\";\nimport ContributeToConversationConsultMutation from \"./contributeToConversationConsultMutation\";\nimport ContributeToConversationConsultReportMutation from \"./contributeToConversationConsultReportMutation\";\nimport EConsultDispatch, { messages as dispatchMessages } from \"./ECONSULT_dispatch\";\nimport EConsultFormReport, { messages as formReportMessages } from \"./ECONSULT_form_report\";\nimport EConsultFormRequest, { messages as formRequestMessages } from \"./ECONSULT_form_request\";\nimport EConsultLogo from \"./ECONSULT_logo\";\nimport PdfReportHeader from \"./ECONSULT_pdfReportHeader\";\nimport EConsultRequestRedispatch, {\n messages as requestRedispatchMessages,\n} from \"./ECONSULT_request_redispatch\";\nimport EConsultRequesterEdit from \"./ECONSULT_requesterEdit\";\nimport EConsultSurvey from \"./ECONSULT_survey\";\nimport HistoryItem from \"./historyItem\";\nimport ReopenConversationConsultMutation from \"./reopenConversationConsultMutation\";\nimport SubmitConversationConsultMutation from \"./submitConversationConsultMutation\";\nimport SubmitConversationConsultReportMutation from \"./submitConversationConsultReportMutation\";\n\nimport eConsultFormStyle from \"./ECONSULT_form.style\";\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nexport const purposes = {\n RequestSubmit: \"RequestSubmit\",\n RequestReport: \"RequestReport\",\n RequestContribute: \"RequestContribute\",\n RequestFinalize: \"RequestFinalize\",\n};\n\nconst autoSaveName = \"EConsultFormStart\";\n\nexport const messages = defineMessages({\n title: {\n id: \"forms.econsult.title\",\n description: \"eConsult title\",\n defaultMessage: \"eConsult request #{caseId}\",\n },\n requesterLabel: {\n id: \"forms.econsult.requester\",\n description: \"eConsult requester\",\n defaultMessage: \"Primary Care Practitioner Information\",\n },\n history: {\n id: \"forms.econsult.history\",\n description: \"eConsult request history\",\n defaultMessage: \"eConsult Activity\",\n },\n patient: {\n id: \"forms.econsult.patient\",\n description: \"eConsult label for patient card\",\n defaultMessage: \"Patient Information\",\n },\n emptyHistory: {\n id: \"forms.econsult.emptyHistory\",\n description: \"eConsult request history no history message\",\n defaultMessage: \"Nothing here yet.\",\n },\n reopenRequest: {\n id: \"forms.econsult.reopenRequest\",\n description: \"eConsult reopen request after a report\",\n defaultMessage:\n \"Do you have any further questions or require any further clarification from your specialist?\",\n },\n dataSaved: {\n id: \"forms.econsult.dataSaved\",\n description: \"eConsult message for generic data saving\",\n defaultMessage: \"Your data has been successfully saved.\",\n },\n requestSubmitSuccess: {\n id: \"forms.econsult.requestSubmitSuccess\",\n description: \"eConsult message for submit success\",\n defaultMessage: \"Your request was submitted successfully.\",\n },\n dataSavedReport: {\n id: \"forms.econsult.dataSavedReport\",\n description: \"eConsult message for saving a report.\",\n defaultMessage:\n \"Your data has been saved. You may return to complete this request at any time.\",\n },\n reportSubmitSuccess: {\n id: \"forms.econsult.reportSubmitSuccess\",\n description: \"eConsult message for submit report success\",\n defaultMessage:\n \"Your recommendation has been sent. The PCP will have the option to close this request or ask follow-up questions.\",\n },\n reportContributionSuccess: {\n id: \"forms.econsult.reportContributionSuccess\",\n description: \"eConsult message for submit contribution success\",\n defaultMessage: \"Your information has been sent and the PCP will be notified.\",\n },\n reportSubmitSuccessMoreInformationRequired: {\n id: \"forms.econsult.reportSubmitSuccessMoreInformationRequired\",\n description: \"eConsult message for submit report success when more information is required.\",\n defaultMessage:\n \"Your request for additional information has been sent. You will be notified when a response is provided by the PCP.\",\n },\n reopenSuccess: {\n id: \"forms.econsult.reopenSuccess\",\n description: \"eConsult message for reopen request success\",\n defaultMessage: \"Your request was re-opened successfully.\",\n },\n closeSuccess: {\n id: \"forms.econsult.closeSuccess\",\n description: \"eConsult message for close request success\",\n defaultMessage: \"Your request was closed successfully.\",\n },\n contributeSuccess: {\n id: \"forms.econsult.contributeSuccess\",\n description: \"eConsult message for contribute to request success\",\n defaultMessage: \"Your contribution to the request was recorded successfully.\",\n },\n destinationDepartment: {\n id: \"forms.econsult.destinationDepartment\",\n description: \"eConsult label for destination department\",\n defaultMessage: \"Destination department\",\n },\n draftSavedOn: {\n id: \"forms.econsult.draftSavedOn\",\n description: \"eConsult draft saved on label\",\n defaultMessage: \"Draft last saved\",\n },\n filesNotReady: {\n id: \"forms.econsult.filesNotReady\",\n description: \"Files are uploading warning\",\n defaultMessage:\n \"Files are currently uploading. Please wait until they have finished to submit.\",\n },\n saveDataButtonLabel: {\n id: \"forms.econsult.saveDataButtonLabel\",\n description: \"eConsult close and save\",\n defaultMessage: \"Save without sending\",\n },\n sendReportButtonLabel: {\n id: \"forms.econsult.sendReportButtonLabel\",\n description: \"eConsult report send report label\",\n defaultMessage: \"Send to PCP\",\n },\n sendRequestButtonLabel: {\n id: \"forms.econsult.sendRequestButtonLabel\",\n description: \"eConsult request submit label\",\n defaultMessage: \"Send to Specialist\",\n },\n addInformation: {\n id: \"forms.econsult.addInformation\",\n description: \"eConsult add information label\",\n defaultMessage: \"Add information\",\n },\n forceCloseWarning: {\n id: \"forms.econsult.forceCloseWarning\",\n description: \"Warning for force closing\",\n defaultMessage:\n \"This request is not completed yet, you may close it anyway if you judge it necessary.\",\n },\n forceClose: {\n id: \"forms.econsult.forceClose\",\n description: \"Button label for closing before end.\",\n defaultMessage: \"Close request\",\n },\n forceCloseCancel: {\n id: \"forms.econsult.forceCloseCancel\",\n description: \"Button label for canceling force close\",\n defaultMessage: \"Cancel close\",\n },\n referral: {\n id: \"forms.econsult.referral\",\n description: \"Button label referral\",\n defaultMessage: \"Referral\",\n },\n});\n\nexport class EConsultForm extends React.Component {\n static propTypes = {\n viewer: PropTypes.any.isRequired,\n savedItems: PropTypes.any.isRequired,\n dispatch: PropTypes.func.isRequired,\n intl: intlShape,\n router: routerShape,\n language: PropTypes.string,\n preventAutoSave: PropTypes.bool,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n mutatingPatient: false,\n editingPatient: false,\n mutatingRequester: false,\n editingRequester: false,\n fetchingRequester: false,\n showTimeSpentOverrage: false,\n mutatingSave: false,\n mutatingSubmit: false,\n filesToUpload: [],\n filesUploading: [],\n errors: [],\n reopenRequest: undefined,\n isReferralRecommended: null,\n isMoreInformationRequired: null,\n archiveConfirm: false,\n redispatching: false,\n ...this.checkProps(props),\n };\n\n if (!this.props.relay.variables.entityId) {\n setTimeout(() => {\n this.props.relay.setVariables({ entityId: this.props.viewer.case.id }, (readyState) => {\n if (readyState.done || readyState.error) {\n setTimeout(() => {\n this.setState(this.checkProps(this.props));\n });\n }\n });\n });\n }\n }\n\n t(key, args) {\n return this.props.intl.formatMessage(key, args);\n }\n\n timeoutId = undefined;\n\n componentDidMount() {\n document.title = setTitle(\n this.t.bind(this),\n this.t(messages.title, { caseId: this.props.viewer.case.legacyId })\n );\n\n if (this.props.viewer.case.data.permissions.canDispatch) {\n this.showHidePatientCases();\n }\n }\n\n componentWillUnmount() {\n // Timeout presence means we're waiting for auto-save!\n if (this.timeoutId && !this.exiting) {\n this.saveData(true);\n }\n\n clearTimeout(this.timeoutId);\n }\n\n beginAutoSave() {\n clearTimeout(this.timeoutId);\n if (!this.props.preventAutoSave && this.canSave()) {\n this.timeoutId = setTimeout(() => {\n this.saveData(true);\n clearTimeout(this.timeoutId);\n }, 10 * 1000);\n\n registerAutoSave(autoSaveName, () => {\n this.saveData(true);\n });\n }\n }\n\n checkProps(newProps) {\n const state = {};\n const items = this.savedItems(newProps);\n const finalizeSavedItem = items.requestFinalizeSavedItem;\n const data = newProps.viewer.case.data;\n if (finalizeSavedItem.hasData) {\n const finalizeData = JSON.parse(finalizeSavedItem.data);\n state.filesToUpload = finalizeData.filesToUpload || [];\n if (finalizeData.reopenRequest !== undefined) {\n state.reopenRequest = finalizeData.reopenRequest === \"YES\";\n }\n }\n\n const submitReportSavedItem = items.submitReportSavedItem;\n if (submitReportSavedItem.hasData) {\n const reportData = JSON.parse(submitReportSavedItem.data);\n state.showTimeSpentOverrage = reportData.timeSpent === \"20+\";\n state.filesToUpload = reportData.filesToUpload;\n state.isMoreInformationRequired = reportData.isMoreInformationRequired;\n state.isReferralRecommended = reportData.isReferralRecommended;\n }\n\n const requestSubmitSavedItem = items.requestSubmitSavedItem;\n if (requestSubmitSavedItem.hasData) {\n const requestData = JSON.parse(requestSubmitSavedItem.data);\n state.filesToUpload = requestData.filesToUpload;\n }\n\n const requestContributeSavedItem = items.requestContributeSavedItem;\n if (requestContributeSavedItem.hasData) {\n const contributeData = JSON.parse(requestContributeSavedItem.data);\n state.filesToUpload = contributeData.filesToUpload;\n }\n\n if (\n data.permissions.canClose &&\n (data.permissions.canContributeMoreInformation || data.permissions.canContribute) &&\n finalizeSavedItem.hasData &&\n finalizeSavedItem.savedOn > requestContributeSavedItem.savedOn\n ) {\n state.forceClose = true;\n }\n\n const v4preview = isClientFeatureEnabled(clientFeatureKeys.V4Preview);\n if (v4preview) {\n const referralData = localStorage.getItem(\n \"atlas:eConsultReferrals-\" + this.props.viewer.case.legacyId + \"-0\"\n );\n if (referralData) {\n state.referralHistoryItems = JSON.parse(referralData);\n }\n }\n\n return state;\n }\n\n render() {\n const caseData = this.props.viewer.case.data;\n return (\n
\n \n \n\n {caseData.permissions.canDispatch && (\n {\n this.props.router.push(\"/cases/WAITING\");\n }}\n />\n )}\n\n {this.renderRequesterSection()}\n\n {this.renderPatientSection()}\n\n {this.renderPatientCases()}\n\n {this.renderDestination()}\n\n {this.renderHistory()}\n\n (this.form = form)}\n onValidSubmit={(d) => this.submitConversation(d)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.form)}\n onChange={() => this.beginAutoSave()}\n className={formStyle[\"card-form\"]}>\n {this.renderCurrentForm()}\n\n {this.renderRedispatch()}\n\n {this.renderRequestRedispatch()}\n\n {this.renderButtons()}\n\n {this.state.errors && this.state.errors.length > 0 ? (\n \n ) : null}\n \n
\n );\n }\n\n draftSavedOn() {\n const items = this.savedItems(this.props);\n const caseData = this.props.viewer.case.data;\n const p = caseData.permissions;\n if (p.canReport) {\n return (\n items.submitReportSavedItem &&\n items.submitReportSavedItem.hasData &&\n items.submitReportSavedItem.savedOn\n );\n }\n\n if (p.canReopen || p.canClose) {\n return (\n items.requestFinalizeSavedItem &&\n items.requestFinalizeSavedItem.hasData &&\n items.requestFinalizeSavedItem.savedOn\n );\n }\n\n if (p.canContribute || p.canContributeMoreInformation) {\n return (\n items.requestContributeSavedItem &&\n items.requestContributeSavedItem.hasData &&\n items.requestContributeSavedItem.savedOn\n );\n }\n\n if (p.canSubmit) {\n return (\n items.requestSubmitSavedItem &&\n items.requestSubmitSavedItem.hasData &&\n items.requestSubmitSavedItem.savedOn\n );\n }\n }\n\n canSave() {\n const cas = this.props.viewer.case;\n const p = cas.data.permissions;\n return (\n p.canSubmit ||\n (p.canContribute && (!cas.isCompleted || this.state.contributeAfterClose)) ||\n p.canContributeMoreInformation ||\n p.canReport ||\n (p.canContributeToReport && (!cas.isCompleted || this.state.contributeAfterClose)) ||\n p.canReopen ||\n p.canClose\n );\n }\n\n print() {\n const c = this.props.viewer.case;\n const caseId = encodeURIComponent(c.id);\n const jwt = encodeURIComponent(getToken());\n const p = c.patient;\n\n const fileName = encodeURIComponent(\n \"eConsult_\" +\n normalizeFileName(p.demographic.fullName) +\n \"_\" +\n c.legacyId +\n \"_\" +\n serializeDate(new Date()) +\n \".pdf\"\n );\n const uri =\n AppSettings.PdfRootUrl +\n `/GER_FCGA/${caseId}?jwt=${jwt}&lang=${this.props.language}&tab=patient&fileName=${fileName}`;\n\n this.setState({ downloading: true });\n this.props.dispatch(showDialogNotice(this.t(baseI18n.global.downloadStarted), \"accept\"));\n downloadFile(uri, jwt, true)\n .then((f) => {\n saveFile(f);\n this.setState({ downloading: false });\n })\n .catch(() => {\n this.props.dispatch(showDialogNotice(this.t(baseI18n.global.downloadFailed, \"cancel\")));\n this.setState({ downloading: false });\n });\n }\n\n renderRedispatch() {\n const c = this.props.viewer.case;\n const p = c.data.permissions;\n const closeDialog = () => this.setState({ redispatching: false });\n const t = this.props.intl.formatMessage;\n const actions = [\n {\n label: t(baseI18n.global.close),\n onClick: closeDialog,\n disabled: this.state.isRedispatching,\n },\n {\n children: (\n \n {t(dispatchMessages.redispatch)}\n {this.state.isRedispatching && (\n \n )}\n \n ),\n className: classnames({ [formStyle[\"spinning-button\"]]: this.state.isRedispatching }),\n icon: \"mail_outline\",\n onClick: () => {\n this.setState({ isRedispatching: true });\n this.dispatchSubmitExternal();\n },\n primary: true,\n disabled: this.state.isRedispatching,\n },\n ];\n\n if (p && p.canRedispatch && this.state.redispatching) {\n return (\n \n {\n this.setState({ isRedispatching: true });\n }}\n onDispatch={() => {\n this.setState({ isRedispatching: false, redispatching: false });\n }}\n onDispatchError={() => {\n this.setState({ isRedispatching: false });\n }}\n onCancel={() => {\n this.setState({ isRedispatching: false });\n }}\n controlSubmitExternally={(submitFunc) => (this.dispatchSubmitExternal = submitFunc)}\n />\n \n );\n }\n\n return null;\n }\n\n renderRequestRedispatch() {\n const c = this.props.viewer.case;\n const p = c.data.permissions;\n const closeDialog = () => this.setState({ requestingRedispatch: false });\n const t = this.props.intl.formatMessage;\n const actions = [\n {\n label: t(baseI18n.global.close),\n onClick: closeDialog,\n disabled: this.state.isRequestingRedispatch,\n },\n {\n children: (\n \n {t(requestRedispatchMessages.requestRedispatch)}\n {this.state.isRequestingRedispatch && (\n \n )}\n \n ),\n className: classnames({\n [formStyle[\"spinning-button\"]]: this.state.isRequestingRedispatch,\n }),\n icon: \"mail_outline\",\n onClick: () => {\n this.setState({ isRequestingRedispatch: true });\n this.requestRedispatchSubmitExternal();\n },\n primary: true,\n disabled: this.state.isRequestingRedispatch,\n },\n ];\n if (p && p.canRequestRedispatch) {\n return (\n \n {\n this.setState({ requestingRedispatch: true });\n }}\n onRedispatch={() => {\n this.setState({ isRequestingRedispatch: false, requestingRedispatch: false });\n }}\n onRedispatchError={() => {\n this.setState({ isRequestingRedispatch: false });\n }}\n onCancel={() => {\n this.setState({ isRequestingRedispatch: false });\n }}\n controlSubmitExternally={(submitFunc) =>\n (this.requestRedispatchSubmitExternal = submitFunc)\n }\n />\n \n );\n }\n\n return null;\n }\n\n renderButtons() {\n const draftSavedOn = this.draftSavedOn();\n const v4preview = isClientFeatureEnabled(clientFeatureKeys.V4Preview);\n const disableButtons =\n this.state.downloading || this.state.mutatingSave || this.state.mutatingSubmit;\n const printButton = (\n this.print()}\n raised\n />\n );\n\n let submitLabel = baseI18n.global.submit;\n const cas = this.props.viewer.case;\n const data = cas.data;\n if (this.state.forceClose) {\n submitLabel = baseI18n.global.submit;\n } else if (data.permissions.canReport || data.permissions.canContributeToReport) {\n submitLabel = messages.sendReportButtonLabel;\n } else if (\n data.permissions.canSubmit ||\n data.permissions.canContribute ||\n data.permissions.canContributeMoreInformation\n ) {\n submitLabel = messages.sendRequestButtonLabel;\n }\n\n const redispatchButton = data.permissions.canRedispatch ? (\n this.setState({ redispatching: true })}\n raised\n label={this.t(dispatchMessages.redispatch)}\n />\n ) : null;\n\n const requestRedispatchButton = data.permissions.canRequestRedispatch ? (\n this.setState({ requestingRedispatch: true })}\n raised\n label={this.t(requestRedispatchMessages.requestRedispatch)}\n />\n ) : null;\n\n const cancelButton = data.permissions.canCancel ? (\n this.setState({ cancelConfirm: true })}\n icon=\"delete\"\n raised\n />\n ) : null;\n\n const forceCloseButton =\n data.permissions.canClose &&\n (data.permissions.canContributeMoreInformation || data.permissions.canContribute) ? (\n this.setState({ forceClose: !this.state.forceClose })}\n icon={this.state.forceClose ? \"cancel\" : \"done_all\"}\n raised\n />\n ) : null;\n\n const referButton = v4preview ? (\n \n ) : null;\n\n const filesReady = this.state.filesUploading.length === 0;\n\n return this.canSave() ? (\n \n {!filesReady && (\n \n {this.props.intl.formatMessage(messages.filesNotReady)}\n \n )}\n \n \n this.saveData(false)}\n raised\n label={this.t(messages.saveDataButtonLabel)}\n />\n {cancelButton}\n {forceCloseButton}\n {printButton}\n {referButton}\n {redispatchButton}\n {requestRedispatchButton}\n {cas.isCompleted && this.state.contributeAfterClose && (\n this.setState({ contributeAfterClose: false })}\n />\n )}\n \n {draftSavedOn && (\n \n {this.props.intl.formatMessage(messages.draftSavedOn)}{\" \"}\n \n \n )}\n {this.renderArchiveConfirmDialog()}\n {this.renderCancelConfirmDialog()}\n \n ) : (\n \n {!filesReady && (\n \n {this.props.intl.formatMessage(messages.filesNotReady)}\n \n )}\n \n {(data.permissions.canArchiveRequest || data.permissions.canArchiveReport) && (\n this.setState({ archiveConfirm: true })}\n icon=\"archive\"\n raised\n />\n )}\n {cancelButton}\n \n {printButton}\n {redispatchButton}\n {requestRedispatchButton}\n {(data.permissions.canContributeToReport || data.permissions.canContribute) &&\n cas.isCompleted && (\n this.setState({ contributeAfterClose: true })}\n />\n )}\n \n {this.renderArchiveConfirmDialog()}\n {this.renderCancelConfirmDialog()}\n \n );\n }\n\n renderArchiveConfirmDialog() {\n return (\n {\n this.setState({ archiveConfirm: false });\n this.exiting = true;\n this.props.router.push(\"/cases/ARCHIVED\");\n }}\n onCancel={() => {\n this.setState({ archiveConfirm: false });\n }}\n />\n );\n }\n\n renderCancelConfirmDialog() {\n return (\n {\n this.setState({ cancelConfirm: false });\n this.exiting = true;\n this.props.router.push(\"/cases/COMPLETED\");\n }}\n onCancel={() => {\n this.setState({ cancelConfirm: false });\n }}\n />\n );\n }\n\n renderDestination() {\n const caseData = this.props.viewer.case.data;\n if (!caseData.isSubmitted) {\n return null;\n }\n\n return (\n \n }\n className={classnames(\n eConsultFormStyle[\"presentation-card-title\"],\n cardListStyle[\"title-with-action\"]\n )}>\n

\n \n {this.t(formRequestMessages.clinicalDomain)}\n {this.t(baseI18n.global.colon)}\n {\" \"}\n {caseData.clinicalDomain.name}\n

\n {caseData.toDepartment && (\n

\n \n {this.t(messages.destinationDepartment)}\n {this.t(baseI18n.global.colon)}\n {\" \"}\n {caseData.toDepartment.name}\n

\n )}\n {!caseData.toDepartment && caseData.preferredDestinationDepartment && (\n

\n \n {this.t(formRequestMessages.preferredDestinationDepartment)}\n {this.t(baseI18n.global.colon)}\n {\" \"}\n {caseData.preferredDestinationDepartment.name}\n

\n )}\n {caseData.reporter && (\n

\n \n {this.t(formReportMessages.reporter)}\n {this.t(baseI18n.global.colon)}\n {\" \"}\n \n

\n )}\n \n
\n );\n }\n\n renderCurrentForm() {\n const caseData = this.props.viewer.case.data;\n if (caseData.permissions.canReport || caseData.permissions.canContributeToReport) {\n return this.renderReport(!caseData.permissions.canReport);\n }\n\n if (\n !this.state.forceClose &&\n (caseData.permissions.canSubmit ||\n caseData.permissions.canContribute ||\n caseData.permissions.canContributeMoreInformation)\n ) {\n return this.renderRequestContinuation(!caseData.permissions.canSubmit);\n }\n\n if (caseData.permissions.canReopen || caseData.permissions.canClose) {\n return this.renderSurvey();\n }\n }\n\n saveData(autoSave: boolean = false) {\n this.setState({ errors: [], mutatingSave: true });\n const formData = this.form.getModel();\n const caseData = this.props.viewer.case.data;\n let params = null,\n destinationUrl = null;\n let saveMessage = messages.dataSaved;\n if (caseData.permissions.canReport || caseData.permissions.canContributeToReport) {\n destinationUrl = caseData.permissions.canContributeToReport\n ? \"/cases/WAITING\"\n : \"/cases/IN_PROGRESS\";\n saveMessage = messages.dataSavedReport;\n params = {\n item: this.props.savedItems.submitReportSavedItem,\n entityId: this.props.viewer.case.id,\n purpose: purposes.RequestReport,\n permission: \"SELF\",\n data: JSON.stringify({\n reporter: formData.report.reporter,\n reportText: formData.report.text,\n timeSpent: formData.report.timeSpent,\n timeSpentOverrageReason: formData.report.timeSpentOverrageReason,\n isMoreInformationRequired: formData.report.isMoreInformationRequired,\n isReferralRecommended: formData.report.isReferralRecommended,\n filesToUpload: this.state.filesToUpload,\n }),\n };\n } else if (caseData.permissions.canSubmit) {\n destinationUrl = \"/cases/IN_PROGRESS\";\n params = {\n item: this.props.savedItems.requestSubmitSavedItem,\n entityId: this.props.viewer.case.id,\n purpose: purposes.RequestSubmit,\n permission: \"SELF\",\n data: JSON.stringify({\n clinicalDomain: formData.request.clinicalDomain,\n preferredDestinationDepartment: formData.request.preferredDestinationDepartment,\n requestText: formData.request.text,\n filesToUpload: this.state.filesToUpload,\n }),\n };\n } else if (\n !this.state.forceClose &&\n (caseData.permissions.canContribute || caseData.permissions.canContributeMoreInformation)\n ) {\n destinationUrl = caseData.permissions.canContributeMoreInformation\n ? \"/cases/IN_PROGRESS\"\n : \"/cases/WAITING\";\n params = {\n item: this.props.savedItems.requestContributeSavedItem,\n entityId: this.props.viewer.case.id,\n purpose: purposes.RequestContribute,\n permission: \"SELF\",\n data: JSON.stringify({\n contributionText: formData.request.text,\n answersInformationRequest: caseData.permissions.canContributeMoreInformation,\n filesToUpload: this.state.filesToUpload,\n }),\n };\n } else if (caseData.permissions.canReopen || caseData.permissions.canClose) {\n destinationUrl = \"/cases/IN_PROGRESS\";\n params = {\n item: this.props.savedItems.requestFinalizeSavedItem,\n entityId: this.props.viewer.case.id,\n purpose: purposes.RequestFinalize,\n permission: \"SELF\",\n data: JSON.stringify({\n reopenRequest: formData.reopenRequest,\n survey: formData.survey,\n reopenText: formData.request ? formData.request.text : null,\n filesToUpload: this.state.filesToUpload,\n }),\n };\n }\n\n if (params) {\n Relay.Store.commitUpdate(new SaveUserItemMutation(params), {\n onSuccess: () => {\n this.setState({ mutatingSave: false });\n\n if (!autoSave) {\n this.props.dispatch(showDialogNotice(this.t(saveMessage), \"accept\"));\n this.exiting = true;\n this.props.router.push(destinationUrl);\n }\n },\n onFailure: (r: Relay.Tran) => {\n this.onFailureHandler(r);\n },\n });\n unregisterAutoSave(autoSaveName);\n }\n }\n\n resetUserItem(item: any, caseId: string, purpose: string): void {\n Relay.Store.commitUpdate(\n new ResetUserItemMutation({\n item: item,\n entityId: caseId,\n purpose: purpose,\n }),\n {\n onSuccess: () => {\n // Nothing to do here!\n },\n onFailure: (r: Relay.Tran) => {\n this.onFailureHandler(r);\n },\n }\n );\n }\n\n submitConversation(data) {\n this.exiting = true;\n this.setState({ errors: [], mutatingSubmit: true });\n const caseData = this.props.viewer.case.data;\n if (caseData.permissions.canReport) {\n const params = {\n viewer: this.props.viewer,\n case: this.props.viewer.case,\n caseId: this.props.viewer.case.id,\n reporterId: data.report.reporter || caseData.reporter.person.id,\n reportText: data.report.text,\n isReferralRecommended: data.report.isReferralRecommended === \"YES\",\n isMoreInformationRequired: data.report.isMoreInformationRequired === \"YES\",\n timeSpent: data.report.timeSpent === \"20+\" ? null : data.report.timeSpent,\n timeSpentOverrageReason: data.report.timeSpentOverrageReason,\n fileIds: this.state.filesToUpload.map((x) => x.id),\n };\n Relay.Store.commitUpdate(new SubmitConversationConsultReportMutation(params), {\n onSuccess: () => {\n this.props.dispatch(\n showDialogNotice(\n this.t(\n params.isMoreInformationRequired\n ? messages.reportSubmitSuccessMoreInformationRequired\n : messages.reportSubmitSuccess\n ),\n \"accept\"\n )\n );\n this.setState({ mutatingSubmit: false, filesToUpload: [] });\n this.resetUserItem(\n this.props.savedItems.submitReportSavedItem,\n params.caseId,\n purposes.RequestReport\n );\n this.props.router.push(\n params.isMoreInformationRequired ? \"/cases/WAITING\" : \"/cases/COMPLETED\"\n );\n },\n onFailure: (r: Relay.Tran) => {\n this.onFailureHandler(r);\n },\n });\n } else if (caseData.permissions.canContributeToReport) {\n const params = {\n viewer: this.props.viewer,\n case: this.props.viewer.case,\n caseId: this.props.viewer.case.id,\n contributorId: data.report.reporter || caseData.reporter.person.id,\n contributionText: data.report.text,\n timeSpent: data.report.timeSpent === \"20+\" ? null : data.report.timeSpent,\n timeSpentOverrageReason: data.report.timeSpentOverrageReason,\n fileIds: this.state.filesToUpload.map((x) => x.id),\n };\n Relay.Store.commitUpdate(new ContributeToConversationConsultReportMutation(params), {\n onSuccess: () => {\n this.props.dispatch(\n showDialogNotice(this.t(messages.reportContributionSuccess), \"accept\")\n );\n this.setState({ mutatingSubmit: false, filesToUpload: [] });\n this.resetUserItem(\n this.props.savedItems.submitReportSavedItem,\n params.caseId,\n purposes.RequestReport\n );\n this.props.router.push(\"/cases/WAITING\");\n },\n onFailure: (r: Relay.Tran) => {\n this.onFailureHandler(r);\n },\n });\n } else if (caseData.permissions.canSubmit) {\n const params = {\n viewer: this.props.viewer,\n case: this.props.viewer.case,\n caseId: this.props.viewer.case.id,\n clinicalDomainId: data.request.clinicalDomain,\n preferredDestinationDepartmentId: data.request.preferredDestinationDepartment,\n requestInformation: data.request.text,\n fileIds: this.state.filesToUpload.map((x) => x.id),\n };\n Relay.Store.commitUpdate(new SubmitConversationConsultMutation(params), {\n onSuccess: () => {\n this.props.dispatch(showDialogNotice(this.t(messages.requestSubmitSuccess), \"accept\"));\n this.setState({ mutatingSubmit: false, filesToUpload: [] });\n this.resetUserItem(\n this.props.savedItems.requestSubmitSavedItem,\n params.caseId,\n purposes.RequestSubmit\n );\n this.props.router.push(\"/cases/WAITING\");\n },\n onFailure: (r: Relay.Tran) => {\n this.onFailureHandler(r);\n },\n });\n } else if (\n !this.state.forceClose &&\n (caseData.permissions.canContribute || caseData.permissions.canContributeMoreInformation)\n ) {\n const params = {\n viewer: this.props.viewer,\n case: this.props.viewer.case,\n caseId: this.props.viewer.case.id,\n contributionText: data.request.text,\n answersInformationRequest: caseData.permissions.canContributeMoreInformation,\n fileIds: this.state.filesToUpload.map((x) => x.id),\n };\n Relay.Store.commitUpdate(new ContributeToConversationConsultMutation(params), {\n onSuccess: () => {\n this.props.dispatch(showDialogNotice(this.t(messages.contributeSuccess), \"accept\"));\n this.setState({ mutatingSubmit: false, filesToUpload: [] });\n this.resetUserItem(\n this.props.savedItems.requestContributeSavedItem,\n params.caseId,\n purposes.RequestContribute\n );\n this.props.router.push(\"/cases/WAITING\");\n },\n onFailure: (r: Relay.Tran) => {\n this.onFailureHandler(r);\n },\n });\n } else if (caseData.permissions.canReopen || caseData.permissions.canClose) {\n let mutation = null,\n message = null,\n destinationUrl = null;\n if (data.reopenRequest === \"YES\") {\n message = messages.reopenSuccess;\n destinationUrl = \"/cases/WAITING\";\n mutation = new ReopenConversationConsultMutation({\n viewer: this.props.viewer,\n case: this.props.viewer.case,\n caseId: this.props.viewer.case.id,\n text: data.request.text,\n fileIds: this.state.filesToUpload.map((x) => x.id),\n });\n } else {\n message = messages.closeSuccess;\n destinationUrl = \"/cases/COMPLETED\";\n mutation = new CloseConversationConsultMutation({\n viewer: this.props.viewer,\n case: this.props.viewer.case,\n caseId: this.props.viewer.case.id,\n surveyData: data.survey,\n pursuingReferral:\n data.pursuingReferral === undefined ? undefined : data.pursuingReferral === \"YES\",\n notPursuingReferralReason: data.notPursuingReferralReason,\n });\n }\n Relay.Store.commitUpdate(mutation, {\n onSuccess: () => {\n this.props.dispatch(showDialogNotice(this.t(message), \"accept\"));\n this.setState({ mutatingSubmit: false, filesToUpload: [] });\n this.resetUserItem(\n this.props.savedItems.requestFinalizeSavedItem,\n this.props.viewer.case.id,\n purposes.RequestFinalize\n );\n this.props.router.push(destinationUrl);\n },\n onFailure: (r: Relay.Tran) => {\n this.onFailureHandler(r);\n },\n });\n }\n }\n\n requesterCardTitle() {\n return (\n }\n title={{this.t(messages.requesterLabel)}}\n />\n );\n }\n\n patientCardTitle() {\n return (\n }\n title={this.t(messages.patient)}\n />\n );\n }\n\n savedItems(props) {\n const v = (props || this.props).savedItems;\n return {\n requestSubmitSavedItem: v.requestSubmitSavedItem || { hasData: false },\n requestContributeSavedItem: v.requestContributeSavedItem || { hasData: false },\n submitReportSavedItem: v.submitReportSavedItem || { hasData: false },\n requestFinalizeSavedItem: v.requestFinalizeSavedItem || { hasData: false },\n };\n }\n\n onFailureHandler(r: Relay.Tran) {\n this.exiting = false;\n getErrors(r).then((errors) => {\n this.setState({\n errors: this.state.errors.concat(errors),\n mutatingPatient: false,\n mutatingRequester: false,\n mutatingSave: false,\n mutatingSubmit: false,\n });\n });\n }\n\n updateRequester(data: any): void {\n this.setState({ errors: [], mutatingRequester: true });\n const viewer = this.props.viewer;\n const p1 = new Promise((resolve, reject) => {\n const params = {\n caseId: viewer.case.id,\n departmentId: data.request.fromDepartment,\n requesterId: data.request.requester,\n };\n Relay.Store.commitUpdate(new ChangeConversationConsultRequesterMutation(params), {\n onSuccess: () => {\n resolve();\n },\n onFailure: (r: Relay.Tran) => {\n this.onFailureHandler(r);\n reject();\n },\n });\n });\n const p2 = new Promise((resolve, reject) => {\n const params2 = {\n caseId: viewer.case.id,\n treatingPhysicianId: data.request.treatingPhysicianId,\n };\n if (data.request.treatingPhysicianId === viewer.case.treatingPhysician.id) {\n resolve();\n return;\n }\n Relay.Store.commitUpdate(new AssignTreatingPhysicianMutation(params2), {\n onSuccess: () => {\n resolve();\n },\n onFailure: (r: Relay.Tran) => {\n this.onFailureHandler(r);\n reject();\n },\n });\n });\n\n Promise.all([p1, p2])\n .then(() => {\n this.props.dispatch(showDialogNotice(this.t(messages.dataSaved), \"accept\"));\n this.setState({ editingRequester: false, mutatingRequester: false });\n })\n .catch(() => {\n this.setState({ mutatingRequester: false });\n });\n }\n\n renderRequesterSection() {\n const v = this.props.viewer;\n const { treatingPhysician, data } = v.case;\n const { fromDepartment: d, requester: r, permissions: p } = data;\n\n if (this.state.editingRequester) {\n if (this.state.fetchingRequester) {\n return (\n \n \n \n \n \n );\n }\n\n return (\n (this.requesterForm = f)}\n onValidSubmit={(d) => this.updateRequester(d)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.requesterForm)}\n className={formStyle[\"card-form\"]}>\n \n {this.requesterCardTitle()}\n \n \n \n \n \n this.setState({ editingRequester: false })}\n />\n \n \n \n );\n }\n\n return (\n \n }\n className={classnames(\n eConsultFormStyle[\"presentation-card-title\"],\n cardListStyle[\"title-with-action\"]\n )}>\n {p.canEditRequester && (\n this.beginEditRequester()}\n type=\"button\"\n />\n )}\n

\n \n {this.t(baseI18n.global.department)}\n {this.t(baseI18n.global.colon)}\n {\" \"}\n {d.name}\n

\n

\n \n {this.t(baseI18n.global.requestedBy)}\n {this.t(baseI18n.global.colon)}\n {\" \"}\n \n

\n

\n \n {this.t(baseI18n.patients.familyPhysician.treatingPhysician)}\n {this.t(baseI18n.global.colon)}\n {\" \"}\n {treatingPhysician ? : null}\n

\n

\n \n {this.t(baseI18n.global.caseId)}\n {this.t(baseI18n.global.colon)}\n {\" \"}\n {this.props.viewer.case.legacyId} ({this.props.viewer.case.status.name})\n

\n \n
\n );\n }\n\n // eslint-disable-next-line no-unused-vars\n updatePatient(data: any): void {\n data.demographic.firstName = data.demographic.firstName || NamePlaceholder;\n data.demographic.lastName = data.demographic.lastName || NamePlaceholder;\n const p = this.props.viewer.case.patient;\n this.setState({ errors: [], mutatingPatient: true });\n const p1 = new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(\n new UpdatePatientDemographicMutation({\n patient: p,\n demographic: buildDemographic(data, p.demographic),\n isPartial: true,\n }),\n {\n onSuccess: resolve,\n onFailure: (r) => {\n reject();\n this.onFailureHandler(r);\n },\n }\n );\n });\n const p2 = new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(\n new UpdatePatientHealthInsuranceMutation({\n patient: p,\n healthInsurance: buildHealthInsurance(data, p.healthInsurance),\n }),\n {\n onSuccess: resolve,\n onFailure: (r) => {\n reject();\n this.onFailureHandler(r);\n },\n }\n );\n });\n\n Promise.all([p1, p2])\n .then(() => {\n this.props.dispatch(showDialogNotice(this.t(messages.dataSaved), \"accept\"));\n this.setState({ editingPatient: false, mutatingPatient: false });\n })\n .catch(() => {\n this.setState({ mutatingPatient: false });\n });\n }\n\n beginEditRequester() {\n this.setState({ editingRequester: true, fetchingRequester: true });\n this.props.relay.setVariables({ editingRequester: true }, (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ fetchingRequester: false });\n }\n });\n }\n\n renderPatientSection() {\n const v = this.props.viewer;\n const p = v.case.patient;\n\n if (this.state.editingPatient) {\n return (\n (this.patientForm = f)}\n onValidSubmit={(d) => this.updatePatient(d)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.patientForm)}\n className={formStyle[\"card-form\"]}>\n \n {this.patientCardTitle()}\n \n \n \n \n \n this.setState({ editingPatient: false })}\n />\n \n \n \n );\n }\n\n return (\n \n this.setState({ editingPatient: true })\n : null\n }\n deselectPatientIcon=\"edit\"\n customContent={\n isClientFeatureEnabled(clientFeatureKeys.EConsultPreviousCases) && (\n
\n {\n e.preventDefault();\n this.showHidePatientCases();\n }}>\n \n {this.t(\n this.state.loadingPatientCases || this.props.relay.variables.showCases\n ? patientCasesMessages.hideCases\n : patientCasesMessages.showCases\n )}\n \n
\n )\n }\n fullName={\n this.setState({ editingPatient: false })}\n />\n }\n />\n
\n );\n }\n\n showHidePatientCases() {\n this.setState({ loadingPatientCases: true });\n this.props.relay.setVariables(\n {\n showCases: !this.props.relay.variables.showCases,\n },\n (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ loadingPatientCases: false });\n }\n }\n );\n }\n\n renderPatientCases() {\n const { viewer } = this.props;\n\n if (!isClientFeatureEnabled(clientFeatureKeys.EConsultPreviousCases)) {\n return null;\n }\n\n if (!this.props.relay.variables.showCases && !this.state.loadingPatientCases) {\n return null;\n }\n\n if (this.props.viewer.case.data.permissions.canDispatch) {\n return null;\n }\n\n return (\n }\n loading={this.state.loadingPatientCases}\n />\n );\n }\n\n renderHistory() {\n const { features, case: cas } = this.props.viewer;\n let h = cas.data.history;\n const showPersonAvatar = isEnabled(features, featureKeys.PersonAvatars);\n if (h.length === 0) {\n return null;\n }\n\n const v4preview = isClientFeatureEnabled(clientFeatureKeys.V4Preview);\n if (v4preview && this.state.referralHistoryItems) {\n h = h.concat(...this.state.referralHistoryItems);\n h.sort((a, b) => (a.date > b.date ? 1 : b.date > a.date ? -1 : 0));\n }\n\n return (\n \n } />\n \n \n {h.map((x, i) => (\n \n ))}\n \n \n \n );\n }\n\n renderReport(isContinuation) {\n if (this.props.viewer.case.isCompleted && !this.state.contributeAfterClose) {\n return;\n }\n\n return (\n {\n this.setState(mutateState(files, \"filesToUpload\"), () => {\n this.saveData(true);\n });\n }}\n onFilesUploading={(fileIds) => {\n this.setState(() => ({ filesUploading: fileIds }));\n }}\n />\n );\n }\n\n renderRequestContinuation(isContinuation: boolean) {\n if (this.props.viewer.case.isCompleted && !this.state.contributeAfterClose) {\n return;\n }\n\n return (\n {\n this.setState(mutateState(files, \"filesToUpload\"), () => {\n this.saveData(true);\n });\n }}\n onFilesUploading={(fileIds) => {\n this.setState(() => ({ filesUploading: fileIds }));\n }}\n />\n );\n }\n\n renderSurvey() {\n const caseData = this.props.viewer.case.data;\n let data = {\n reopenRequest: undefined,\n survey: {},\n pursuingReferral: undefined,\n notPursuingReferralReason: undefined,\n };\n const savedData = this.savedItems().requestFinalizeSavedItem;\n if (savedData.hasData) {\n data = JSON.parse(savedData.data);\n data.survey = data.survey || {};\n }\n\n if (!caseData.permissions.canReopen && !caseData.permissions.canClose) {\n return null;\n } else if (caseData.permissions.canReopen && !caseData.permissions.canClose) {\n return ;\n } else if (\n !this.state.forceClose &&\n !caseData.permissions.canReopen &&\n caseData.permissions.canClose\n ) {\n return this.renderRequestContinuation(true);\n } else {\n return [\n \n {!this.state.forceClose && (\n \n {this.t(messages.reopenRequest)} {renderRequiredSpan()}\n \n }\n avatar={}\n />\n )}\n {!this.state.forceClose && (\n \n this.setState({ reopenRequest: e === \"YES\" })}\n options={YesNoOptions(this.t.bind(this))}\n className={eConsultFormStyle[\"pretend-icon\"]}\n value={data.reopenRequest}\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n }}\n />\n \n )}\n\n {(this.state.forceClose || this.state.reopenRequest === false) &&\n caseData.extraData.isReferralRecommended && (\n {this.renderReferralQuestion(data)}\n )}\n ,\n this.state.reopenRequest === true && this.renderRequestContinuation(true),\n this.state.reopenRequest === false && !this.state.forceClose && (\n \n ),\n this.state.forceClose && (\n
\n \n {this.t(messages.forceCloseWarning)}\n \n \n
\n ),\n ];\n }\n }\n\n renderReferralQuestion(data) {\n return (\n
\n this.setState({ pursuingReferral: e === \"YES\" })}\n options={YesNoOptions(this.t.bind(this))}\n value={data.pursuingReferral}\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n }}\n />\n\n {this.state.pursuingReferral === false && (\n \n )}\n
\n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n language: state.settingsReducer.language,\n };\n};\n\nexport default Relay.createContainer(\n connect(mapStateToProps)(injectIntl(withRouter(EConsultForm))),\n {\n initialVariables: {\n caseId: null,\n caseLegacyId: null,\n entityId: null,\n hasEntityId: false,\n editingRequester: false,\n showCases: false,\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n hasEntityId: Boolean(prevVariables.entityId),\n };\n },\n fragments: {\n viewer: ({ editingRequester, showCases }) => Relay.QL`\n fragment on RootQuery {\n features\n \n ${EConsultRequesterEdit.getFragment(\"viewer\").if(editingRequester)}\n ${BasicPatientForm.getFragment(\"viewer\")}\n ${EConsultDispatch.getFragment(\"viewer\")}\n ${EConsultRequestRedispatch.getFragment(\"viewer\")}\n ${EConsultFormRequest.getFragment(\"viewer\")}\n ${EConsultFormReport.getFragment(\"viewer\")}\n ${HistoryItem.getFragment(\"viewer\")}\n ${CaseArchiveDialog.getFragment(\"viewer\")}\n ${CaseCancelDialog.getFragment(\"viewer\")}\n ${PatientInformation.getFragment(\"viewer\")}\n\n currentUser {\n user {\n person {\n id\n }\n }\n isSpecialist\n }\n\n case(id: $caseId, legacyId: $caseLegacyId) {\n ${ChangeConversationConsultRequesterMutation.getFragment(\"case\")}\n ${SubmitConversationConsultMutation.getFragment(\"case\")}\n ${SubmitConversationConsultReportMutation.getFragment(\"case\")}\n ${ReopenConversationConsultMutation.getFragment(\"case\")}\n ${CloseConversationConsultMutation.getFragment(\"case\")}\n ${EConsultDispatch.getFragment(\"case\").if(showCases)}\n ${EConsultRequestRedispatch.getFragment(\"case\")}\n ${PdfReportHeader.getFragment(\"case\")}\n ${EConsultFormRequest.getFragment(\"case\")}\n ${EConsultFormReport.getFragment(\"case\")}\n ${CaseArchiveDialog.getFragment(\"case\")}\n ${CaseCancelDialog.getFragment(\"case\")}\n\n id\n legacyId\n updatedAt\n isDraftStatus\n isCompleted\n status {\n code\n name\n }\n treatingPhysician {\n id\n fullName\n ${PersonInformation.getFragment(\"person\")}\n ${PhysicianInput.getFragment(\"physician\")}\n }\n patient {\n ${UpdatePatientDemographicMutation.getFragment(\"patient\")}\n ${PdfReportHeader.getFragment(\"patient\")}\n ${PatientSummaryCard.getFragment(\"patient\")}\n ${BasicPatientForm.getFragment(\"patient\")}\n ${PatientInformation.getFragment(\"patient\")}\n id\n legacyId\n demographic {\n gender\n firstName\n lastName\n fullName\n birthday\n age\n }\n healthInsurance {\n provinceCode\n number\n expiration\n hl7RelationshipCode\n }\n\n ${PatientCases.getFragment(\"patient\").if(showCases)}\n }\n\n links {\n dicomManifest\n }\n\n data {\n ... on ConversationConsultData {\n isSubmitted\n\n extraData {\n ... on ClinicianConversationConsultData {\n isReferralRecommended\n }\n }\n\n permissions {\n canSubmit\n canContribute\n canContributeMoreInformation\n canContributeToReport\n canDispatch\n canRedispatch\n canRequestRedispatch\n canReport\n canReopen\n canClose\n canCancel\n canEditRequester\n canEditPatient\n canArchiveRequest\n canArchiveReport\n }\n\n clinicalDomain {\n id\n name\n }\n requester {\n id\n person {\n ${PersonInformation.getFragment(\"person\")}\n id\n fullName\n }\n }\n\n reporter {\n id\n person {\n ${PersonInformation.getFragment(\"person\")}\n id\n fullName\n }\n }\n\n fromDepartment {\n id\n name\n }\n\n toDepartment {\n id\n name\n specialists(specialistType: REPORTER) {\n id\n fullName\n value: id\n label: fullName\n }\n }\n\n preferredDestinationDepartment {\n id\n name\n }\n\n history {\n ${HistoryItem.getFragment(\"item\")}\n }\n }\n }\n }\n }\n `,\n savedItems: () => Relay.QL`\n fragment on RootQuery {\n requestSubmitSavedItem: savedItem(\n entityId: $entityId,\n purpose: \"RequestSubmit\"\n ) @include(if: $hasEntityId) {\n ${ResetUserItemMutation.getFragment(\"item\")}\n ${SaveUserItemMutation.getFragment(\"item\")}\n data\n hasData\n savedOn\n }\n\n requestContributeSavedItem: savedItem(\n entityId: $entityId,\n purpose: \"RequestContribute\"\n ) @include(if: $hasEntityId) {\n ${ResetUserItemMutation.getFragment(\"item\")}\n ${SaveUserItemMutation.getFragment(\"item\")}\n data\n hasData\n savedOn\n }\n\n submitReportSavedItem: savedItem(\n entityId: $entityId,\n purpose: \"RequestReport\"\n ) @include(if: $hasEntityId) {\n ${ResetUserItemMutation.getFragment(\"item\")}\n ${SaveUserItemMutation.getFragment(\"item\")}\n data\n hasData\n savedOn\n }\n\n requestFinalizeSavedItem: savedItem(\n entityId: $entityId,\n purpose: \"RequestFinalize\"\n ) @include(if: $hasEntityId) {\n ${ResetUserItemMutation.getFragment(\"item\")}\n ${SaveUserItemMutation.getFragment(\"item\")}\n data\n hasData\n savedOn\n }\n }\n `,\n },\n }\n);\n","export const isEmpty = (obj) =>\n [Object, Array].includes((obj || {}).constructor) && !Object.entries(obj || {}).length;\n","export { getToken } from \"./authentication\";\nexport { registerAutoSave, unregisterAutoSave } from \"./autoSave\";\nexport { parseToDate, parseToIsoDate } from \"./dates\";\nexport { setTitle } from \"./document\";\nexport { handleFormsyInvalidSubmit, getErrors } from \"./errors\";\nexport { featureKeys, isEnabled } from \"./features\";\nexport { downloadFile, saveFile } from \"./files\";\nexport { isEmpty } from \"./functions\";\nexport { normalizeFileName } from \"./strings\";\n","import Formsy from \"formsy-react\";\nimport jwt from \"jsonwebtoken\";\nimport React from \"react\";\nimport { Button } from \"react-toolbox/lib/button\";\nimport { Card, CardTitle, CardText, CardActions } from \"react-toolbox/lib/card\";\n\nimport { AuthSecret } from \"../../../constants\";\nimport formStyle from \"../../../../styles/forms\";\nimport { setToken, actuallyLoggedIn } from \"../../../helpers/authentication\";\nimport localStorage from \"../../../helpers/localStorage\";\nimport { queryString } from \"../../../helpers/strings\";\nimport TextInput from \"../../shared/inputs/textInput\";\n\nimport styles from \"../../forms/THORSURG/ThoracicSurgeryForm.style\";\n\nclass LoginPage extends React.Component {\n static propTypes = {};\n\n constructor(props) {\n super(props);\n }\n\n UNSAFE_componentWillMount() {\n const qs = queryString();\n\n if (qs.jwt) {\n setToken(qs.jwt);\n\n setTimeout(() => {\n document.location.replace(qs.returnUrl || qs.source || \"/\");\n }, 500);\n } else if (actuallyLoggedIn()) {\n setTimeout(() => {\n document.location.replace(qs.returnUrl || qs.source || \"/\");\n });\n }\n }\n\n login(data) {\n const token = jwt.sign(\n {\n sub: data.aspNetUserId || data.userName,\n username: data.userName,\n name: data.userName,\n },\n data.secret,\n {\n expiresIn: \"30 days\",\n }\n );\n\n localStorage.setItem(\"atlas:fake-login-token\", data.secret);\n\n setToken(token);\n\n const qs = queryString(location.hash.split(\"?\")[1] || \"\");\n document.location.replace(qs.source || \"/\");\n }\n\n render() {\n return (\n (this.form = form)}\n name=\"login-form\"\n onValidSubmit={(d) => this.login(d)}\n className={formStyle[\"card-form\"]}>\n \n \n Fake login for development purposes. Request Access\n \n \n \n \n \n \n \n \n )}\n {allowCreateEConsult && !allowCreateGeneric && (\n }\n href={URLs.newEConsultCaseFormat(patient.id)}\n onClick={() => {\n if (onCreateClicked) {\n onCreateClicked();\n }\n }}>\n {t(navigationMessages.newEConsultRequest)}\n \n )}\n \n )}\n \n );\n }\n\n onClickCase() {\n this.props.closeModal();\n }\n\n renderCases() {\n const { patient, intl } = this.props;\n const t = intl.formatMessage;\n const hasCases = patient.cases && patient.cases.edges.length > 0;\n\n return (\n \n {(matches) => {\n if (matches) {\n return hasCases ? (\n \n {patient.cases.edges.map((x) => (\n \n this.onClickCase()}\n href={URLs.viewCaseFormat(x.node.legacyId)}>\n #{x.node.legacyId}\n {\" \"}\n {\" \"}\n - {x.node.data.toDepartment && x.node.data.toDepartment.name}\n \n }\n legend={\n \n {x.node.status.name}\n {\" - \"}\n \n \n }\n />\n ))}\n \n ) : (\n {t(baseI18n.global.noneFound)}\n );\n } else {\n return (\n \n \n \n \n \n \n \n \n \n {hasCases && (\n \n {patient.cases.edges.map((x) => (\n \n \n \n \n \n \n \n ))}\n \n )}\n {!hasCases && (\n \n \n \n \n \n )}\n
{t(baseI18n.global.caseId)}\n {t(baseI18n.global.status)}{t(baseI18n.global.department)}{t(baseI18n.global.lastUpdatedAt).replace(\":\", \"\").trim()}
\n this.onClickCase()}\n href={URLs.viewCaseFormat(x.node.legacyId)}>\n #{x.node.legacyId}\n \n \n \n {x.node.status.name}{x.node.data.toDepartment && x.node.data.toDepartment.name}\n \n
\n {t(baseI18n.global.noneFound)}\n
\n );\n }\n }}\n
\n );\n }\n}\n\nconst deptFragment = Relay.QL`\nfragment on Department {\n id\n name\n clinicalDomain {\n id\n name\n }\n}\n`;\n\nexport default Relay.createContainer(injectIntl(PatientCases), {\n fragments: {\n patient: () => Relay.QL`\n fragment on Patient {\n id\n cases(first: 100) {\n edges {\n node {\n id\n legacyId\n updatedAt\n status {\n code\n name\n }\n form {\n code\n name\n }\n\n data {\n __typename\n\n ... on RequestReportData {\n toDepartment {\n ${deptFragment}\n }\n }\n\n ... on PatientAssessmentData {\n toDepartment {\n ${deptFragment}\n }\n }\n\n ... on ConversationConsultData {\n extraData {\n __typename\n }\n toDepartment {\n ${deptFragment}\n }\n }\n }\n }\n }\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport Avatar from \"react-toolbox/lib/avatar\";\nimport { Card, CardTitle, CardText } from \"react-toolbox/lib/card\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport { featureKeys, isEnabled } from \"../../../helpers/features\";\nimport AttachmentUploadAndList from \"../../attachments/attachmentUploadAndList\";\nimport { departmentDropdownSource, departmentDropdownFragment } from \"../../shared/dropdownHelpers\";\nimport HelpText from \"../../shared/helpText\";\nimport HtmlElement from \"../../shared/htmlElement\";\nimport DropDownListInput from \"../../shared/inputs/dropDownListInput\";\nimport TextInput from \"../../shared/inputs/textInput\";\n\nimport baseI18n from \"../../../../messages/base.i18n\";\nimport style from \"./ECONSULT_form.style\";\n\nexport const messages = defineMessages({\n continueRequest: {\n id: \"forms.econsult.continueRequest\",\n description: \"eConsult request conversation\",\n defaultMessage: \"Background/History and Consultation Request (continued)\",\n },\n requestMoreInformationDescriptionText: {\n id: \"forms.econsult.requestMoreInformationDescriptionText\",\n description: \"eConsult request text for when more information is required.\",\n defaultMessage: \"Response to information request\",\n },\n requestMoreInformationDescriptionTextHelp: {\n id: \"forms.econsult.requestMoreInformationDescriptionTextHelp\",\n description: \"eConsult request text for when more information is required help text\",\n defaultMessage:\n \"The specialist has requested more information. Read the comments above and provide it here.\",\n },\n requestReopenDescriptionText: {\n id: \"forms.econsult.requestReopenDescriptionText\",\n description: \"eConsult request text for when requester reopens request.\",\n defaultMessage: \"Follow-up request\",\n },\n requestReopenDescriptionTextHelp: {\n id: \"forms.econsult.requestReopenDescriptionTextHelp\",\n description: \"eConsult request text for when requester reopens request help text\",\n defaultMessage: \"Enter your concerns and questions for the specialist here.\",\n },\n requestDescriptionText: {\n id: \"forms.econsult.requestDescriptionText\",\n description: \"eConsult request text\",\n defaultMessage: \"Clinical information and request\",\n },\n requestDescriptionTextHelp: {\n id: \"forms.econsult.requestDescriptionTextHelp\",\n description: \"eConsult request text help\",\n defaultMessage: `You may provide information concerning the patient in the space provided below (i.e. allergies,\n nutrition, social history), if this has not been provided in the attachment(s) already.\n Consultation request should include the following elements (if applicable):\n
    \n
  • Reason for consultation
  • \n
  • Specific treatments already prescribed
  • \n
  • Suggestions for possible treatments (i.e. I would like to optimize current treatment; I am inquiring about an alternative approach to the problem)
  • \n
  • NOTE FOR DERM CASES: Please ensure the location of any images on the body are identified for the specialist
  • \n
`,\n },\n requestContinuationDescriptionTextHelp: {\n id: \"forms.econsult.requestContinuationDescriptionTextHelp\",\n description: \"eConsult request continuation text help\",\n defaultMessage: `Enter relevant information here and the specialist will be notified.`,\n },\n requestDescriptionTextHint: {\n id: \"forms.econsult.requestDescriptionTextHint\",\n description: \"eConsult request text hint\",\n defaultMessage:\n \"N.B. A clearly formulated question will assist the consultant in providing a clear recommendation.\",\n },\n preferredDestinationDepartment: {\n id: \"forms.econsult.preferredDestinationDepartment\",\n description: \"Preferred destination department for eConsult request\",\n defaultMessage: \"Preferred Specialist\",\n },\n preferredDestinationDepartmentHint: {\n id: \"forms.econsult.preferredDestinationDepartmentHint\",\n description: \"Preferred destination department hintfor eConsult request\",\n defaultMessage:\n \"If you need this case to be routed to a particular PARTICIPATING specialist, choose it here\",\n },\n request: {\n id: \"forms.econsult.request\",\n description: \"eConsult request\",\n defaultMessage: \"Background/History and Consultation Request\",\n },\n clinicalDomain: {\n id: \"forms.econsult.clinicalDomain\",\n description: \"eConsult clinical domain\",\n defaultMessage: \"Specialty\",\n },\n attachmentHelp: {\n id: \"forms.econsult.attachmentHelp\",\n description: \"eConsult request attachment help\",\n defaultMessage: `Please upload your attachments(s) here and use the edit button below to identify each as\nneeded. (e.g.: Electronic Medical Record documents, Images, Lab Results - please ensure\nattachment is in a common format such as pdf, jpg, etc.).`,\n },\n requestCompletedRequestContributionWarning: {\n id: \"forms.econsult.requestCompletedRequestContributionWarning\",\n description: \"Warning text whne contributing to a completed case.\",\n defaultMessage:\n 'This request has been completed. Feel free to contribute relevant information about this request here, but if this is a follow-up or a new question about the same patient, it would be wise to create a new request.',\n },\n});\n\nexport class EConsultFormRequest extends React.Component {\n static propTypes = {\n viewer: PropTypes.any.isRequired,\n case: PropTypes.any,\n patientGender: PropTypes.string,\n isContinuation: PropTypes.bool,\n showCompletedWarning: PropTypes.bool,\n clinicalDomainId: PropTypes.string,\n savedItems: PropTypes.any,\n filesToUpload: PropTypes.array,\n onFilesChanged: PropTypes.func,\n onFilesUploading: PropTypes.func,\n intl: intlShape,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n clinicalDomainId: props.clinicalDomainId,\n errors: [],\n };\n }\n\n t(key, args) {\n return this.props.intl.formatMessage(key, args);\n }\n\n render() {\n const {\n viewer,\n isContinuation,\n savedItems,\n filesToUpload,\n showCompletedWarning,\n case: cas,\n } = this.props;\n const domains = viewer.clinicalDomains.edges;\n const source = [{ label: \"\", value: \"\" }].concat(\n domains.map((x) => ({ value: x.node.value, label: x.node.label }))\n );\n const currentDomain = domains.filter((x) => x.node.id === this.state.clinicalDomainId)[0];\n const selectedDomain = currentDomain ? currentDomain.node : null;\n\n const hospitals = departmentDropdownSource(\n selectedDomain ? selectedDomain.departments : [],\n true,\n true\n );\n let data = {\n clinicalDomain: (selectedDomain || {}).id,\n preferredDestinationDepartment: null,\n requestText: \"\",\n };\n\n const savedItem = savedItems.requestSubmitSavedItem;\n const contributeSavedItem = savedItems.requestContributeSavedItem;\n const finalizeSavedData = savedItems.requestFinalizeSavedItem;\n if (savedItem.hasData) {\n data = JSON.parse(savedItem.data);\n } else if (contributeSavedItem.hasData) {\n const parsedData = JSON.parse(contributeSavedItem.data);\n data.requestText = parsedData.contributionText;\n } else if (finalizeSavedData.hasData) {\n const parsedData = JSON.parse(finalizeSavedData.data);\n data.requestText = parsedData.reopenText;\n }\n\n const p = cas ? cas.data.permissions : { canSubmit: true };\n let requestTextHelp = null;\n let requestTextLabel = messages.requestDescriptionText;\n\n if (p.canSubmit || p.canContribute) {\n requestTextHelp = isContinuation\n ? messages.requestContinuationDescriptionTextHelp\n : messages.requestDescriptionTextHelp;\n } else if (p.canContributeMoreInformation) {\n requestTextLabel = messages.requestMoreInformationDescriptionText;\n requestTextHelp = messages.requestMoreInformationDescriptionTextHelp;\n } else if (p.canReopen) {\n requestTextLabel = messages.requestReopenDescriptionText;\n requestTextHelp = messages.requestReopenDescriptionTextHelp;\n }\n return (\n \n {isContinuation ? (\n } />\n ) : (\n } title={this.t(messages.request)} />\n )}\n \n {!isContinuation && (\n
\n {\n this.setState({ clinicalDomainId: e });\n\n // Make sure that preferred destination is removed when changing.\n if (this.pref && this.pref.setValue) {\n this.pref.setValue(null);\n }\n }}\n source={source}\n value={data.clinicalDomain}\n required\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n }}\n />\n\n (this.pref = i)}\n icon=\"group\"\n label={this.t(messages.preferredDestinationDepartment)}\n source={hospitals}\n optgroup=\"departments\"\n value={data.preferredDestinationDepartment}\n hint={this.t(messages.preferredDestinationDepartmentHint)}\n />\n
\n )}\n\n {showCompletedWarning && (\n \n )}\n {requestTextHelp && }\n
\n \n }\n multiline\n multilineRows={{ min: 4, max: 15 }}\n value={data.requestText}\n required\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n }}\n />\n
\n\n \n {\n return this.props.onFilesChanged ? this.props.onFilesChanged(f) : null;\n }}\n onFilesUploading={(f) => {\n return this.props.onFilesUploading ? this.props.onFilesUploading(f) : null;\n }}\n />\n
\n
\n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(EConsultFormRequest), {\n initialVariables: {},\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n clinicalDomains(first: 500, specialistType: REPORTER, eConsultOnly: true) {\n edges {\n node {\n id\n name\n value: id\n label: name\n\n departments {\n ${departmentDropdownFragment}\n }\n }\n }\n }\n }`,\n case: () => Relay.QL`\n fragment on Case {\n id\n\n patient {\n id\n demographic {\n gender\n }\n }\n\n data {\n ... on ConversationConsultData {\n permissions {\n canSubmit\n canContribute\n canContributeMoreInformation\n canDispatch\n canReport\n canReopen\n canClose\n canEditRequester\n }\n }\n }\n }`,\n },\n});\n","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./physicianInput.styles.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./physicianInput.styles.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./physicianInput.styles.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\n\nimport { UserPropTypes } from \"~/src/js/PropTypes/User\";\n\nexport const FilePropTypes = PropTypes.shape({\n id: PropTypes.string,\n url: PropTypes.string,\n fileName: PropTypes.string,\n description: PropTypes.string,\n previewUrl: PropTypes.string,\n // TODO: use PermissionsPropTypes when they will be created\n permissions: PropTypes.object,\n size: PropTypes.number,\n user: UserPropTypes,\n});\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".personProfile-style__row-spacing___2hPc- div:first-child{margin-right:4px}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"row-spacing\": \"personProfile-style__row-spacing___2hPc-\"\n};","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Destination-style__columns___zlD4a{display:flex;flex-direction:column;align-items:center}.Destination-style__row___2syYa{display:flex;flex-direction:row-reverse}@media (max-width: 961px){.Destination-style__row___2syYa{flex-direction:column}}.Destination-style__delete___1h-cO{flex:0}@media (max-width: 961px){.Destination-style__delete___1h-cO{align-self:flex-end}}@media (max-width: 641px){.Destination-style__delete___1h-cO{margin-left:15px;align-self:flex-start}}.Destination-style__container___2FnPt{margin:10px 15px;flex:1}@media (max-width: 961px){.Destination-style__container___2FnPt{flex-direction:column}}.Destination-style__container___2FnPt>div{flex:1;display:flex}.Destination-style__container___2FnPt aside{flex:1}.Destination-style__container___2FnPt aside:first-of-type{margin-right:20px}@media (max-width: 961px){.Destination-style__container___2FnPt aside:first-of-type{margin-right:0}}.Destination-style__container___2FnPt [data-react-toolbox=\\\"input\\\"],.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"],.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div,.Destination-style__container___2FnPt [data-react-toolbox=\\\"checkbox\\\"]{padding-bottom:0}.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div{padding:0;margin:0}.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div select,.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div input,.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div input[type=\\\"text\\\"]{border:1px solid rgba(0,0,0,0.12);border-radius:3px;background-color:white !important}.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div select::-webkit-input-placeholder,.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div input::-webkit-input-placeholder,.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div input[type=\\\"text\\\"]::-webkit-input-placeholder{color:#757575;font-size:14px}.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div select:-ms-input-placeholder,.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div input:-ms-input-placeholder,.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div input[type=\\\"text\\\"]:-ms-input-placeholder{color:#757575;font-size:14px}.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div select::-ms-input-placeholder,.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div input::-ms-input-placeholder,.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div input[type=\\\"text\\\"]::-ms-input-placeholder{color:#757575;font-size:14px}.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div select::placeholder,.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div input::placeholder,.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div input[type=\\\"text\\\"]::placeholder{color:#757575;font-size:14px}.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div select:disabled,.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div input:disabled,.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"]>div input[type=\\\"text\\\"]:disabled{background:#e5e5e5 !important;border:none;color:#424242;opacity:1}.Destination-style__container___2FnPt [data-react-toolbox=\\\"input\\\"],.Destination-style__container___2FnPt [data-react-toolbox=\\\"dropdown\\\"],.Destination-style__container___2FnPt [data-react-toolbox=\\\"checkbox\\\"],.Destination-style__container___2FnPt aside>label{width:100%}@media (max-width: 961px){.Destination-style__container___2FnPt [data-react-toolbox=\\\"checkbox\\\"]{padding-top:15px}}.Destination-style__action-bar___15cua{margin:0 0 -3rem -3rem}.Destination-style__actions___2svoL{display:flex;flex-direction:row}.Destination-style__actions___2svoL button:first-of-type{margin-right:10px}.Destination-style__templateValue___BUvRj{padding:0;min-height:3.5rem;background:#fff;border:1px solid rgba(0,0,0,0.12);border-radius:3px}.Destination-style__templateValue___BUvRj .Destination-style__display-value___9FDPG{display:block !important}.Destination-style__templateValue___BUvRj .Destination-style__template-value___3eAXG{display:none}.Destination-style__priority-display-container___1Wvji{display:flex;flex-direction:column}.Destination-style__priority-display-container___1Wvji .Destination-style__display-value___9FDPG{display:none;padding:1rem 0 1rem 0.8rem;font-size:1.6rem}.Destination-style__priority-display-container___1Wvji .Destination-style__priority-header-container___1lqTD{display:flex;flex-direction:row}.Destination-style__priority-display-container___1Wvji .Destination-style__priority-header-container___1lqTD .Destination-style__priority-name___ZtT8Y{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-weight:600;margin-right:2rem}.Destination-style__priority-display-container___1Wvji .Destination-style__priority-header-container___1lqTD .Destination-style__priority-delay___CZVoI{flex:1}.Destination-style__priority-display-container___1Wvji .Destination-style__priority-description___3JZFE{margin-top:1rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"columns\": \"Destination-style__columns___zlD4a\",\n\t\"row\": \"Destination-style__row___2syYa\",\n\t\"delete\": \"Destination-style__delete___1h-cO\",\n\t\"container\": \"Destination-style__container___2FnPt\",\n\t\"action-bar\": \"Destination-style__action-bar___15cua\",\n\t\"actions\": \"Destination-style__actions___2svoL\",\n\t\"templateValue\": \"Destination-style__templateValue___BUvRj\",\n\t\"display-value\": \"Destination-style__display-value___9FDPG\",\n\t\"template-value\": \"Destination-style__template-value___3eAXG\",\n\t\"priority-display-container\": \"Destination-style__priority-display-container___1Wvji\",\n\t\"priority-header-container\": \"Destination-style__priority-header-container___1lqTD\",\n\t\"priority-name\": \"Destination-style__priority-name___ZtT8Y\",\n\t\"priority-delay\": \"Destination-style__priority-delay___CZVoI\",\n\t\"priority-description\": \"Destination-style__priority-description___3JZFE\"\n};","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport Avatar from \"react-toolbox/lib/avatar\";\nimport { Card, CardTitle, CardText } from \"react-toolbox/lib/card\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport { featureKeys, isEnabled } from \"../../../helpers/features\";\nimport AttachmentUploadAndList from \"../../attachments/attachmentUploadAndList\";\nimport HelpText from \"../../shared/helpText\";\nimport DropDownListInput from \"../../shared/inputs/dropDownListInput\";\nimport RadioButtonListInput, { YesNoOptions } from \"../../shared/inputs/radioButtonListInput\";\nimport TextInput from \"../../shared/inputs/textInput\";\n\nimport baseI18n from \"../../../../messages/base.i18n\";\nimport eConsultFormStyle from \"./ECONSULT_form.style\";\n\nexport const messages = defineMessages({\n report: {\n id: \"forms.econsult.report\",\n description: \"eConsult report label\",\n defaultMessage: \"Report\",\n },\n reportContinuation: {\n id: \"forms.econsult.reportContinuation\",\n description: \"eConsult report continuation label\",\n defaultMessage: \"Add information\",\n },\n reportDescriptionText: {\n id: \"forms.econsult.reportDescriptionText\",\n description: \"eConsult report text\",\n defaultMessage: \"Report details\",\n },\n reportContinuationDescriptionText: {\n id: \"forms.econsult.reportContinuationDescriptionText\",\n description: \"eConsult report text\",\n defaultMessage: \"Information\",\n },\n reportDescriptionTextHelp: {\n id: \"forms.econsult.reportDescriptionTextHelp\",\n description: \"eConsult report text help\",\n defaultMessage: `Recommendation should include the following elements (if applicable):\n
    \n
  • Reason for recommendation
  • \n
  • Suggestions for possible treatments (i.e. How to optimize current treatment; Recommending an alternative approach to the problem)
  • \n
  • Suggestions for tests and recommendations according to the results of the test (i.e. Prescribe test X. If results are positive/negative, proceed with treatment Y/Z or request patient referral)
  • \n
\n \n Please type recommendation in the space provided below: A clearly constructed recommendation will assist the Primary Care Provider to improve patient care.`,\n },\n reportContinuationDescriptionTextHelp: {\n id: \"forms.econsult.reportContinuationDescriptionTextHelp\",\n description: \"eConsult report continuation text help\",\n defaultMessage: `You may add relevant information here and the PCP will be notified.`,\n },\n reportDescriptionTextInformationRequired: {\n id: \"forms.econsult.reportDescriptionTextInformationRequired\",\n description: \"eConsult report text label if information required\",\n defaultMessage: \"Request for additional information\",\n },\n reportDescriptionTextInformationRequiredHelp: {\n id: \"forms.econsult.reportDescriptionTextInformationRequiredHelp\",\n description: \"eConsult report text help if information required\",\n defaultMessage: `Requests for additional information may include:\n
    \n
  • Medical or social history
  • \n
  • Allergies
  • \n
  • Lifestyle questions (i.e. nutrition, exercise)
  • \n
  • Laboratory, radiology or imaging results
  • \n
\n \n A clearly constructed request for information will assist the Primary Care Provider in responding to your inquiry.`,\n },\n reportDescriptionTextReferralRecommended: {\n id: \"forms.econsult.reportDescriptionTextReferralRecommended\",\n description: \"eConsult report text label if referral recommended\",\n defaultMessage: \"Recommendation and reason for referral\",\n },\n reportDescriptionTextReferralRecommendedHelp: {\n id: \"forms.econsult.reportDescriptionTextReferralRecommendedHelp\",\n description: \"eConsult report text help if referral recommended\",\n defaultMessage: `Please ensure you specified the reason for recommending a referral in your response above. If you would like the PCP to consider referring the patient to you, you could also attach an electronic copy of your standard referral form.`,\n },\n timeSpent: {\n id: \"forms.econsult.timeSpent\",\n description: \"eConsult time spent on report label\",\n defaultMessage: \"Billing time for this response (minutes)\",\n },\n timeSpentOverrageReason: {\n id: \"forms.econsult.timeSpentOverrageReason\",\n description: \"eConsult time spent overrage reason on report label\",\n defaultMessage: \"Reason & billing time\",\n },\n timeSpentOverrageReasonHelp: {\n id: \"forms.econsult.timeSpentOverrageReasonHelp\",\n description: \"eConsult time spent overrage reason on report label help text\",\n defaultMessage: \"Please explain why you selected 20+ minutes and specify the billing time\",\n },\n referralRecommended: {\n id: \"forms.econsult.referralRecommended\",\n description: \"eConsult recommend a referral\",\n defaultMessage: \"Is a referral advised for the patient?\",\n },\n pursuingReferral: {\n id: \"forms.econsult.pursuingReferral\",\n description: \"eConsult clinician is pursuing referral\",\n defaultMessage: \"Do you intend to proceed with referring the patient?\",\n },\n notPursuingReferralReason: {\n id: \"forms.econsult.notPursuingReferralReason\",\n description: \"eConsult clinician is not pursuing referral reason label\",\n defaultMessage: \"Reason for not proceeding with referral\",\n },\n isMoreInformationRequired: {\n id: \"forms.econsult.isMoreInformationRequired\",\n description: \"eConsult report, is more information required\",\n defaultMessage:\n \"Do you require additional information before generating an informed recommendation?\",\n },\n reporter: {\n id: \"forms.econsult.reporter\",\n description: \"eConsult label for reporter\",\n defaultMessage: \"Reporter\",\n },\n administrative: {\n id: \"forms.econsult.administrative\",\n description: \"eConsult administrative label\",\n defaultMessage: \"Administrative\",\n },\n reportAttachmentHelp: {\n id: \"forms.econsult.reportAttachmentHelp\",\n description: \"eConsult report attachment help text\",\n defaultMessage:\n \"Optionally attach electronic files that you feel would be beneficial to the Primary Care Practitioner.\",\n },\n timeSpentHelp: {\n id: \"forms.econsult.timeSpentHelp\",\n description: \"eConsult report time spent help text\",\n defaultMessage:\n \"This information will be helpful in determining the usefulness and efficiency of the eConsult process and will enable us to calculate the stipend for your services.\",\n },\n timeSpentMoreThan20: {\n id: \"forms.econsult.timeSpentMoreThan20\",\n description: \"eConsult report time spent More than 20 label\",\n defaultMessage: \"More than 20\",\n },\n reportCompleteContributionWarning: {\n id: \"forms.econsult.reportCompleteContributionWarning\",\n description: \"Warning text whne contributing to a completed case.\",\n defaultMessage:\n \"This request has been completed. Feel free to contribute relevant information about this request here, but if this is a follow-up or a new question about the same patient, please contact the PCP directly.\",\n },\n});\n\nexport class EConsultFormReport extends React.Component {\n static propTypes = {\n viewer: PropTypes.any.isRequired,\n case: PropTypes.any,\n patientGender: PropTypes.string,\n isContinuation: PropTypes.bool,\n showCompletedWarning: PropTypes.bool,\n savedItems: PropTypes.any,\n filesToUpload: PropTypes.array,\n onFilesChanged: PropTypes.func,\n onFilesUploading: PropTypes.func,\n intl: intlShape,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n errors: [],\n filesToUpload: [],\n };\n }\n\n t(key, args) {\n return this.props.intl.formatMessage(key, args);\n }\n\n render() {\n const {\n viewer,\n case: cas,\n savedItems,\n filesToUpload,\n isContinuation,\n showCompletedWarning,\n } = this.props;\n const caseData = cas.data;\n const specialists = caseData.toDepartment.specialists;\n let currentUserId = viewer.currentUser.user.person.id;\n if (specialists.filter((x) => x.id === currentUserId).length === 0) {\n currentUserId = specialists[0].id;\n }\n\n let data = {\n reporter: currentUserId,\n reportText: \"\",\n timeSpent: \"\",\n timeSpentOverrageReason: \"\",\n isMoreInformationRequired: undefined,\n isReferralRecommended:\n caseData.extraData.isReferralRecommended === null\n ? null\n : caseData.extraData.isReferralRecommended\n ? \"YES\"\n : \"NO\",\n filesToUpload: filesToUpload,\n };\n\n const savedItem = savedItems.submitReportSavedItem;\n if (savedItem.hasData) {\n data = JSON.parse(savedItem.data);\n }\n\n let reportTextLabel = isContinuation\n ? messages.reportContinuationDescriptionText\n : messages.reportDescriptionText;\n let reportTextHelp = isContinuation\n ? messages.reportContinuationDescriptionTextHelp\n : messages.reportDescriptionTextHelp;\n\n if (this.state.isMoreInformationRequired === \"YES\") {\n reportTextLabel = messages.reportDescriptionTextInformationRequired;\n reportTextHelp = messages.reportDescriptionTextInformationRequiredHelp;\n } else if (this.state.isReferralRecommended === \"YES\") {\n reportTextLabel = messages.reportDescriptionTextReferralRecommended;\n }\n\n return [\n \n }\n />\n \n {!isContinuation && !caseData.reporter && (\n
\n \n
\n )}\n\n {!isContinuation && (\n this.setState({ isMoreInformationRequired: e })}\n options={YesNoOptions(this.t.bind(this))}\n inline\n icon=\" \"\n value={\n data.isMoreInformationRequired === null ? null : data.isMoreInformationRequired\n }\n required\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n }}\n />\n )}\n\n {showCompletedWarning && (\n \n )}\n \n \n {this.state.isMoreInformationRequired === \"NO\" && (\n this.setState({ isReferralRecommended: e })}\n options={YesNoOptions(this.t.bind(this))}\n inline\n icon=\"directions\"\n value={data.isReferralRecommended === null ? null : data.isReferralRecommended}\n required\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n }}\n />\n )}\n\n {this.state.isMoreInformationRequired === \"NO\" &&\n this.state.isReferralRecommended === \"YES\" && (\n \n )}\n\n \n {\n return this.props.onFilesChanged(files);\n }}\n onFilesUploading={(files) => {\n return this.props.onFilesUploading(files);\n }}\n />\n
\n
,\n\n \n } />\n \n \n
\n this.setState({ showTimeSpentOverrage: e === \"20+\" })}\n source={[\n { value: \"\", label: \"\" },\n { value: \"0\", label: \"0\" },\n { value: \"5\", label: \"5\" },\n { value: \"10\", label: \"10\" },\n { value: \"15\", label: \"15\" },\n { value: \"20\", label: \"20\" },\n { value: \"20+\", label: this.t(messages.timeSpentMoreThan20) },\n ]}\n value={data.timeSpent}\n required\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n }}\n />\n\n {this.state.showTimeSpentOverrage && (\n \n )}\n
\n
\n
,\n ];\n }\n}\n\nexport default Relay.createContainer(injectIntl(EConsultFormReport), {\n initialVariables: {},\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n\n currentUser {\n user {\n person {\n id\n }\n }\n isSpecialist\n }\n }`,\n case: () => Relay.QL`\n fragment on Case {\n id\n\n patient {\n id\n demographic {\n gender\n }\n }\n\n data {\n ... on ConversationConsultData {\n isSubmitted\n\n extraData {\n ... on ClinicianConversationConsultData {\n isReferralRecommended\n }\n }\n \n toDepartment {\n id\n name\n specialists(specialistType: REPORTER) {\n id\n fullName\n value: id\n label: fullName\n }\n }\n\n permissions {\n canSubmit\n canContribute\n canContributeMoreInformation\n canDispatch\n canReport\n canReopen\n canClose\n canEditRequester\n }\n }\n }\n }`,\n },\n});\n","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js!./SURVEY_form.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js!./SURVEY_form.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js!./SURVEY_form.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import Relay from \"react-relay/classic\";\nexport default class RevokePatientDepartmentInvitationMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(RevokePatientDepartmentInvitationMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { revokePatientDepartmentInvitation }`;\n }\n\n getVariables() {\n return {\n patientId: this.props.patientId,\n departmentId: this.props.departmentId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on RevokePatientDepartmentInvitationPayload {\n clientMutationId\n }\n `;\n }\n\n getConfigs() {\n return [];\n }\n}\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { Button, Card, EmailIcon, TrashIcon } from \"@akinoxsolutions/gerudo-ui\";\nimport { CardActions } from \"react-toolbox/lib/card\";\nimport { List, ListItem } from \"react-toolbox/lib/list\";\n\nimport MobileMediaQuery from \"~/src/js/components/shared/MediaQuery/MobileMediaQuery\";\n\nimport mobileListTheme from \"../../../../styles/mobileList.theme\";\nimport { parseToDate } from \"../../../helpers/dates\";\nimport { getErrors } from \"../../../helpers/errors\";\nimport RevokePatientDepartmentInvitationMutation from \"../../invitations/revokePatientDepartmentInvitationMutation\";\nimport FormattedDateTime from \"../../shared/formattedDateTime\";\n\nimport invitationsI18n from \"../../invitations/invitations.i18n\";\nimport baseI18n from \"../../../../messages/base.i18n\";\nimport style from \"../../shared/PersonInformation/PersonInformation.style\";\n\nexport const messages = defineMessages({});\n\nexport class PatientDepartments extends React.Component {\n static propTypes = {\n patient: PropTypes.object.isRequired,\n onInviteClicked: PropTypes.func,\n allowInvite: PropTypes.bool,\n onRevokeSuccess: PropTypes.func,\n onRevokeError: PropTypes.func,\n intl: intlShape,\n };\n\n state = {\n revokingInvitation: null,\n errors: [],\n };\n\n render() {\n const {\n intl,\n patient,\n allowInvite,\n onInviteClicked,\n onRevokeSuccess, // eslint-disable-line no-unused-vars\n onRevokeError, // eslint-disable-line no-unused-vars\n relay, // eslint-disable-line no-unused-vars\n ...other\n } = this.props;\n const t = intl.formatMessage;\n return (\n \n \n {(matches) => {\n if (matches) {\n return patient.departments.length > 0 ? (\n \n {patient.departments.map((d) => (\n \n {t(invitationsI18n.invitedByShort)} {d.inviter.person.fullName}{\" \"}\n {t(invitationsI18n.invitedOnShort)}{\" \"}\n \n \n }\n rightActions={[\n
\n }\n className={style[\"action-button\"]}\n loading={\n this.state.revokingInvitation &&\n this.state.revokingInvitation.department.id === d.department.id\n }\n onClick={(e) => {\n e.stopPropagation();\n this.revokeInvitation(d);\n }}\n />\n
,\n ]}\n />\n ))}\n
\n ) : (\n {t(baseI18n.global.noneFound)}\n );\n } else {\n return (\n \n \n \n \n \n \n \n \n {patient.departments.length > 0 && (\n \n {patient.departments.map((d) => (\n \n \n \n \n \n \n ))}\n \n )}\n {patient.departments.length === 0 && (\n \n \n \n \n \n )}\n
{t(baseI18n.global.name)}{t(invitationsI18n.invitedBy)}{t(invitationsI18n.invitedOn)}\n
{d.department.name}{d.inviter.person.fullName}\n \n \n }\n className={style[\"action-button\"]}\n loading={\n this.state.revokingInvitation &&\n this.state.revokingInvitation.department.id === d.department.id\n }\n onClick={(e) => {\n e.stopPropagation();\n this.revokeInvitation(d);\n }}\n />\n
\n {t(baseI18n.global.noneFound)}\n
\n );\n }\n }}\n
\n {allowInvite && (\n \n }\n onClick={(e) => {\n e.preventDefault();\n if (onInviteClicked) {\n onInviteClicked();\n }\n }}>\n {t(invitationsI18n.invite)}\n \n \n )}\n
\n );\n }\n\n revokeInvitation(patientDepartment) {\n this.setState({ errors: [], revokingInvitation: patientDepartment });\n Relay.Store.commitUpdate(\n new RevokePatientDepartmentInvitationMutation({\n patientId: this.props.patient.id,\n departmentId: patientDepartment.department.id,\n }),\n {\n onSuccess: () => {\n this.setState({ revokingInvitation: null });\n if (this.props.onRevokeSuccess) {\n this.props.onRevokeSuccess(patientDepartment);\n }\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({ revokingInvitation: null });\n if (this.props.onRevokeError) {\n this.props.onRevokeError(errors);\n }\n });\n },\n }\n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(PatientDepartments), {\n fragments: {\n patient: () => Relay.QL`\n fragment on Patient {\n id\n departments {\n inviter {\n person {\n fullName\n }\n }\n invitedOn\n department {\n id\n name\n }\n }\n }\n `,\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\nimport { injectIntl, intlShape } from \"react-intl\";\n\nimport { DropDownListInput } from \"~/src/js/components/shared/inputs\";\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case/index\";\n\nexport const getHospitalUniqueOptions = (departments, patientHospitalsEdges) => {\n const allHospitals = departments.map((department) => {\n return {\n value: department.hospital.id,\n label: department.hospital.name,\n };\n });\n\n const options = new Map(allHospitals.map((hospital) => [hospital.value, hospital]));\n\n if (patientHospitalsEdges) {\n patientHospitalsEdges.forEach((edge) => {\n if (options.get(edge.node.hospital.id)) {\n options.delete(edge.node.hospital.id);\n }\n });\n }\n\n return [...options.values()];\n};\n\nexport const HospitalDropdown = ({\n viewer,\n required,\n patientHospitals,\n intl: { formatMessage },\n}) => {\n const options = getHospitalUniqueOptions(\n viewer.currentUser.asSpecialist.departments,\n patientHospitals\n );\n\n return (\n \n );\n};\n\nHospitalDropdown.propTypes = {\n intl: intlShape,\n required: PropTypes.bool,\n patientHospitals: PropTypes.arrayOf(PropTypes.object),\n viewer: ViewerPropTypes,\n};\n\nexport default Relay.createContainer(injectIntl(HospitalDropdown), {\n initialVariables: {\n hospitalQuery: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n currentUser {\n asSpecialist {\n departments {\n id\n name\n hospital {\n id\n name\n }\n }\n }\n }\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class LinkPatientMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(LinkPatientMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { linkPatient }`;\n }\n\n getVariables() {\n return {\n patientId: this.props.patientId,\n hospitalId: this.props.hospitalId,\n uniqueId: this.props.uniqueId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on LinkPatientPayload {\n hospital\n hospitalPatient\n patient\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"RANGE_ADD\",\n parentName: \"hospital\",\n parentID: this.props.hospitalId,\n connectionName: \"patients\",\n edgeName: \"hospitalPatient\",\n rangeBehaviors: {\n \"\": \"prepend\",\n },\n },\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on LinkPatientPayload {\n patient {\n id\n hospitals(first: 50) {\n edges {\n node {\n id\n uniqueId\n hospital\n }\n }\n }\n }\n }\n `,\n ],\n },\n ];\n }\n}\n\nexport const linkPatientMutation = ({ patientId, hospitalId, uniqueId }) => {\n const params = {\n patientId,\n hospitalId,\n uniqueId,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new LinkPatientMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","export const messages = {\n form: {\n title: {\n id: \"patient.actions.addHospitalMrn\",\n description: \"Form title when adding a hospital to patient\",\n },\n },\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Formsy from \"formsy-react\";\nimport Relay from \"react-relay/classic\";\nimport { FormattedMessage, injectIntl, intlShape } from \"react-intl\";\nimport { Row, Col, Button } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { useFormsySubmit } from \"~/src/js/hooks\";\nimport { TextInput } from \"~/src/js/components/common\";\nimport { PatientHospitalsPropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case/index\";\nimport HospitalDropdown from \"~/src/js/components/patients/information/PatientHospitals/HospitalDropdown/HospitalDropdown\";\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer/index\";\n\nimport { linkPatientMutation } from \"../../../linkPatientMutation\";\n\nimport { messages } from \"./AddPatientHospitalForm.i18n\";\nimport style from \"./AddPatientHospitalForm.style\";\n\nexport const AddPatientHospitalForm = ({\n viewer,\n patientId,\n patientHospitals,\n onSuccess,\n onCancel,\n intl: { formatMessage },\n}) => {\n const onSubmitForm = async (data) => {\n await linkPatientMutation({\n uniqueId: data.patientMrn,\n hospitalId: data.hospitalId,\n patientId: patientId,\n });\n };\n\n const { errors, isSubmitting, formsyProps } = useFormsySubmit({\n onSubmit: onSubmitForm,\n onSuccess: () => onSuccess(),\n });\n\n return (\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n onCancel()}>\n \n \n \n
\n \n
\n
\n\n \n
\n );\n};\n\nAddPatientHospitalForm.propTypes = {\n onSuccess: PropTypes.func.isRequired,\n onCancel: PropTypes.func,\n patientId: PropTypes.string,\n patientHospitals: PropTypes.arrayOf(PatientHospitalsPropTypes),\n viewer: ViewerPropTypes,\n intl: intlShape,\n};\n\nexport default Relay.createContainer(injectIntl(AddPatientHospitalForm), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${HospitalDropdown.getFragment(\"viewer\")}\n }\n `,\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Button, AddCircleIcon } from \"@akinoxsolutions/gerudo-ui\";\n\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { useFading } from \"~/src/js/hooks\";\nimport { FadingContent } from \"~/src/js/components/shared/FadingContent\";\nimport AddPatientHospitalForm from \"~/src/js/components/patients/information/PatientHospitals/AddPatientHospitalForms/AddPatientHospitalForm\";\nimport { PatientHospitalsPropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case/index\";\n\nimport style from \"./AddPatientHospital.style.scss\";\n\nexport const AddPatientHospital = ({ viewer, patientHospitals, patientId }) => {\n const {\n isFading,\n isContentToggled: isAddingPatientMrn,\n toggleContentAndFading: toggleAddPatientForm,\n } = useFading({});\n\n return (\n
\n \n {isAddingPatientMrn ? (\n \n ) : (\n
\n }\n type=\"text\"\n size=\"small\"\n onClick={toggleAddPatientForm}>\n \n \n
\n )}\n
\n
\n );\n};\n\nAddPatientHospital.propTypes = {\n viewer: ViewerPropTypes,\n patientId: PropTypes.string,\n patientHospitals: PropTypes.arrayOf(PatientHospitalsPropTypes),\n};\n\nexport default Relay.createContainer(AddPatientHospital, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${AddPatientHospitalForm.getFragment(\"viewer\")}\n }\n `,\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { SpinnerButton } from \"~/src/js/components/shared/inputs/custom/spinnerButton\";\nimport style from \"~/src/js/components/shared/PersonInformation/PersonInformation.style\";\n\nconst MobilePatientEditMRNAction = ({ canEdit, featureFlag, onClick }) => {\n if (canEdit && featureFlag) {\n return (\n onClick(e)}\n />\n );\n }\n\n return null;\n};\n\nMobilePatientEditMRNAction.propTypes = {\n canEdit: PropTypes.bool,\n featureFlag: PropTypes.bool,\n onClick: PropTypes.func.isRequired,\n};\n\nexport default MobilePatientEditMRNAction;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { List, ListItem } from \"react-toolbox/lib/list\";\nimport { injectIntl } from \"react-intl\";\n\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case/index\";\nimport { featureKeys, isEnabled } from \"~/src/js/helpers/features\";\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport mobileListTheme from \"~/src/styles/mobileList.theme\";\nimport { HospitalPropTypes } from \"~/src/js/PropTypes/Hospital\";\n\nimport MobilePatientEditMRNAction from \"./MobilePatientEditMRNAction/MobilePatientEditMRNAction\";\n\nexport const MobilePatientHospitals = ({\n viewer,\n hospitals,\n onEditHospital,\n intl: { formatMessage: t },\n}) => {\n const onEdit = (event, node) => {\n event.stopPropagation();\n onEditHospital(node);\n };\n\n const canEditHospitals = isEnabled(viewer.features, featureKeys.PatientUniqueIdEdit);\n\n return (\n \n {hospitals.edges.map((x) => (\n onEdit(e, x.node)}\n />,\n ]}\n />\n ))}\n \n );\n};\n\nMobilePatientHospitals.propTypes = {\n viewer: ViewerPropTypes,\n hospitals: HospitalPropTypes,\n onEditHospital: PropTypes.func,\n};\n\nexport default injectIntl(MobilePatientHospitals);\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n editUniqueId: {\n id: \"patients.editUniqueId\",\n description: \"Dialog title for patient edit unique id for hospital\",\n defaultMessage: \"Edit MRN for {name} in {hospitalName}\",\n },\n});\n","import classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { Button, Card, EditIcon, Modal, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\n\nimport MobileMediaQuery from \"~/src/js/components/shared/MediaQuery/MobileMediaQuery\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { GerudoTextInput } from \"~/src/js/components/shared/inputs\";\nimport { getErrors, handleFormsyInvalidSubmit } from \"~/src/js/helpers/errors\";\nimport { featureKeys, isEnabled } from \"~/src/js/helpers/features\";\nimport formStyle from \"~/src/styles/forms\";\nimport style from \"~/src/js/components/shared/PersonInformation/PersonInformation.style\";\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport AddPatientHospital from \"~/src/js/components/patients/information/PatientHospitals/AddPatientHospital/AddPatientHospital\";\n\nimport LinkPatientMutation from \"../../linkPatientMutation\";\n\nimport MobilePatientHospitals from \"./MobilePatientHospitals/MobilePatientHospitals\";\n\nimport { messages } from \"./PatientHospitals.i18n\";\n\nexport class PatientHospitals extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n patient: PropTypes.object.isRequired,\n intl: intlShape,\n };\n\n state = {\n editingUniqueId: null,\n mutatingUniqueId: false,\n errors: [],\n };\n\n render() {\n // eslint-disable-next-line no-unused-vars\n const { patient, intl, relay, viewer, ...other } = this.props;\n const t = intl.formatMessage;\n const hospitals = patient.hospitals;\n const canEditPatient = patient.permissions.canEdit;\n const canEditHospitals = isEnabled(viewer.features, featureKeys.PatientUniqueIdEdit);\n const canCreatePatientMrn =\n isEnabled(viewer.features, featureKeys.CanCreatePatientMRN) && canEditPatient;\n return (\n \n \n {(matches) => {\n if (matches) {\n return (\n {\n this.setState({ editingUniqueId: node });\n }}\n />\n );\n } else {\n return (\n \n \n \n \n {canEditHospitals && }\n \n \n \n \n \n {canEditHospitals && \n \n \n {hospitals.edges.map((h) => (\n \n \n \n {canEditHospitals && (\n \n )}\n \n ))}\n \n
{t(baseI18n.global.name)}{t(baseI18n.hospitals.mrn)}}\n
{h.node.hospital.name}{h.node.uniqueId}\n }\n className={style[\"action-button\"]}\n style={{\n visibility:\n h.node.permissions && h.node.permissions.canEdit\n ? \"visible\"\n : \"hidden\",\n }}\n onClick={(e) => {\n e.stopPropagation();\n this.setState({ editingUniqueId: h.node });\n }}\n />\n
\n );\n }\n }}\n
\n {canCreatePatientMrn && (\n \n )}\n {this.renderUniqueIdDialog()}\n
\n );\n }\n\n renderUniqueIdDialog() {\n if (!this.state.editingUniqueId) {\n return null;\n }\n const { intl, patient } = this.props;\n const t = intl.formatMessage;\n const closeDialog = () => this.setState({ editingUniqueId: null });\n\n const hospitalNode = this.state.editingUniqueId;\n const name = patient.demographic.fullName;\n return (\n {\n return (\n \n \n \n \n );\n }}>\n this.updateUniqueId(data)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.form)}\n noValidate\n ref={(form) => (this.form = form)}>\n
\n \n
\n \n \n \n )}>\n this.updateCarer(data)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.form)}\n noValidate\n ref={(form) => (this.form = form)}>\n \n
\n \n
\n
\n

\n \n

\n
\n
\n \n \n \n \n )}>\n this.updateCarerRelationshipType(data)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.form)}\n noValidate\n ref={(form) => (this.form = form)}>\n
\n \n
\n \n );\n actions.push(\n }\n loading={this.state.savingPatient}\n onClick={() => {\n this.setState({ savingPatient: true });\n this.savePatient();\n }}>\n {t(baseI18n.global.save)}\n \n );\n } else if (this.state.invitingPatient) {\n actions.push(\n }\n onClick={() => this.setState({ invitingPatient: false })}\n disabled={this.state.sendingInvitation}>\n {t(baseI18n.global.cancel)}\n \n );\n actions.push(\n }\n loading={this.state.sendingInvitation}\n onClick={() => {\n this.setState({ sendingInvitation: true });\n this.sendInvite();\n }}>\n {t(invitationsI18n.invite)}\n \n );\n } else {\n actions.push(\n }\n onClick={closeDialog}\n disabled={this.state.resendingInvite}>\n {t(baseI18n.global.close)}\n \n );\n }\n\n return (\n \n {actions}}\n onCancel={closeDialog}\n closable\n isReactToolbox\n width={1500}>\n {this.renderCard()}\n \n \n \n );\n }\n\n renderCard() {\n const {\n patient,\n className,\n intl: { formatMessage },\n } = this.props;\n\n return (\n
\n \n

{patient.demographic.fullName}

\n \n {patient.deathInformation && patient.deathInformation.isDeceased && (\n \n )}\n

\n ),\n description: #{patient.legacyId},\n }}>\n
\n \n \n {formatMessage(baseI18n.global.lastUpdatedAt)}{\" \"}\n \n \n
\n \n {this.state.loadingPopup ? : this.renderLoaded()}\n {this.state.resendErrors && this.state.resendErrors.length > 0 ? (\n \n ) : null}\n
\n );\n }\n\n renderLoaded() {\n const { patient } = this.props;\n if (this.state.editingPatient) {\n return (\n \n {\n this.activeId = \"health-insurance\";\n this.setState({ editingPatient: false, savingPatient: false });\n }}\n onSaveError={() => this.setState({ savingPatient: false })}\n controlSubmitExternally={(submitFunc) => (this.savePatient = submitFunc)}\n onInvalidSubmit={() => this.setState({ savingPatient: false })}\n />\n \n );\n } else if (this.state.invitingPatient) {\n return (\n \n {\n this.sendInvite = () => {\n this.setState({ sendingInvitation: true });\n submitFunc();\n };\n }}\n onInviteError={() => this.setState({ sendingInvitation: false })}\n onInviteSent={() => {\n this.props.relay.forceFetch(null, (readyState) => {\n if (readyState.done || readyState.error) {\n this.activeId = \"departments\";\n this.setState({\n invitingPatient: false,\n sendingInvitation: false,\n });\n }\n });\n }}\n />\n \n );\n } else {\n return [\n this.renderInformation(),\n ,\n ];\n }\n }\n\n renderInformation() {\n const {\n patient,\n intl: { formatMessage },\n } = this.props;\n\n return [\n \n }\n onClick={() => this.setState({ editingPatient: true })}\n disabled={this.state.editingPatient}>\n {formatMessage(baseI18n.global.edit)}\n \n \n ),\n ]}>\n
\n

{formatMessage(baseI18n.patients.ramq.fieldsetHealthInsuranceLabel)}

\n \n
\n
\n

{formatMessage(baseI18n.patients.address.fieldsetLabel)}

\n \n
\n
\n

{formatMessage(baseI18n.patients.demographic.fieldsetLabel)}

\n \n
\n ,\n\n this.renderOptionalValues(),\n ];\n }\n\n renderOptionalValues() {\n const { patient, intl, viewer } = this.props;\n const invitationsEnabled = isEnabled(viewer.features, featureKeys.PatientInvitations);\n\n const t = intl.formatMessage;\n return [\n ,\n this.closeDialog()}\n closeModal={() => this.closeDialog()}\n />,\n invitationsEnabled && (\n this.setState({ invitingPatient: true })}\n onRevokeSuccess={() => {\n this.props.relay.forceFetch();\n }}\n onRevokeError={(errors) => {\n this.setState({\n resendErrors: this.state.resendErrors.concat(errors),\n });\n }}\n />\n ),\n invitationsEnabled && (\n {\n this.props.dispatch(\n showDialogNotice(\n t(invitationsI18n.patientInvitationResent, {\n userName: u.userName,\n }),\n \"accept\"\n )\n );\n }}\n />\n ),\n ];\n }\n}\n\nexport default Relay.createContainer(injectIntl(connect()(PatientInformation)), {\n initialVariables: {\n showPopup: false,\n },\n fragments: {\n // HACK: This should use showPopup as well, but it makes the dialog disappear\n // Right after loading the data. Entire tree re-renders!\n viewer: ({ showPopup }) => Relay.QL`\n fragment on RootQuery {\n features\n ${PatientUser.getFragment(\"viewer\").if(showPopup)}\n ${PatientHospitals.getFragment(\"viewer\").if(showPopup)}\n ${EditPatient.getFragment(\"viewer\").if(showPopup)}\n ${InvitePatientToDepartmentDialog.getFragment(\"viewer\").if(showPopup)}\n }\n `,\n patient: ({ showPopup }) => Relay.QL`\n fragment on Patient {\n id\n legacyId\n updatedAt\n demographic {\n fullName\n gender\n birthday\n age\n ${BirthdayAndAge.getFragment(\"demographic\")}\n socialInsuranceNumber\n middleName\n birthCity\n birthProvinceCode\n birthCountryCode\n fatherFirstName\n fatherLastName\n motherFirstName\n motherLastName\n motherMaidenName\n preferredLanguage\n }\n healthInsurance @include(if: $showPopup) {\n provinceCode\n number\n expiration\n }\n address @include(if: $showPopup) {\n ${Address.getFragment(\"address\")}\n city\n postalCode\n telephoneHome\n telephoneCellular\n telephoneWork\n telephonePager\n emails\n countryCode\n }\n deathInformation {\n isDeceased\n }\n familyPhysician @include(if: $showPopup) {\n physician {\n id\n fullName\n }\n since\n }\n statistics @include(if: $showPopup) {\n evolution {\n results\n }\n }\n ... on Patient @include(if: $showPopup) {\n permissions {\n canEdit\n }\n ${PatientUser.getFragment(\"patient\").if(showPopup)}\n ${PatientDepartments.getFragment(\"patient\").if(showPopup)}\n ${PatientHospitals.getFragment(\"patient\").if(showPopup)}\n ${PatientCases.getFragment(\"patient\").if(showPopup)}\n }\n ${EditPatient.getFragment(\"patient\").if(showPopup)}\n ${PatientStatistics.getFragment(\"patient\").if(showPopup)}\n ${InvitePatientToDepartmentDialog.getFragment(\"patient\").if(showPopup)}\n }\n `,\n },\n});\n","import DefaultPatientInformation, { PatientInformation } from \"./PatientInformation\";\n\nexport { PatientInformation };\n\nexport default DefaultPatientInformation;\n","import DefaultPatientInformation, {\n PatientInformation,\n} from \"../patients/information/PatientInformation\";\n\nexport { PatientInformation };\n\nexport default DefaultPatientInformation;\n","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".layout__layout___2D4Fb [data-react-toolbox=\\\"panel\\\"]{justify-content:flex-start !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"layout\": \"layout__layout___2D4Fb\"\n};","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@media print{.main__nav-drawer___15Oc-{display:none !important}}.main__nav-drawer___15Oc- aside{position:fixed}.main__nav-drawer___15Oc- .main__version-display___20x7n{padding:10px;font-size:12px;color:#093a55}[data-react-toolbox=\\\"dialog\\\"]{min-width:320px}.main__top-layout___2vJYF{height:100%;min-width:320px;max-width:3000px;margin:0 auto}.main__top-layout___2vJYF [data-react-toolbox=\\\"panel\\\"]{display:block;overflow-y:auto !important;margin-top:6.4rem;height:calc(100% - 6.4rem) !important;background-color:#fff}.main__top-layout___2vJYF [data-react-toolbox=\\\"panel\\\"].main__menuless___25lhk{margin-top:0;height:100% !important}@media print{.main__top-layout___2vJYF [data-react-toolbox=\\\"panel\\\"]{margin-top:0}}@media screen and (max-width: 480px) and (orientation: portrait){.main__top-layout___2vJYF [data-react-toolbox=\\\"panel\\\"]{margin-top:5.6rem}}@media screen and (max-width: 600px) and (orientation: landscape){.main__top-layout___2vJYF [data-react-toolbox=\\\"panel\\\"]{margin-top:4.8rem}}.main__top-layout___2vJYF [data-react-toolbox=\\\"app-bar\\\"]{min-width:320px;max-width:3000px;width:100%}@media all and (min-width: 960px){.main__top-layout___2vJYF [data-react-toolbox=\\\"app-bar\\\"]{padding-left:27.4rem !important}}.main__top-layout___2vJYF [data-react-toolbox=\\\"nav-drawer-content\\\"]{z-index:499 !important}.main__top-layout___2vJYF [data-react-toolbox=\\\"nav-drawer-scrim\\\"]{z-index:400 !important}.main__notification-drawer___2bDul{padding:1.5rem 1rem 1rem 1rem;min-width:320px}.main__notification-drawer___2bDul .main__close-drawer___3DTvi{float:right;cursor:pointer}.main__notification-drawer___2bDul [data-react-toolbox=\\\"tabs\\\"]{padding-top:1rem}[data-react-toolbox=\\\"overlay\\\"]{z-index:502 !important}[data-react-toolbox=\\\"panel\\\"]>div{margin:2rem 2rem 0 2rem}@media all and (max-width: 40rem){[data-react-toolbox=\\\"panel\\\"]>div{margin:1rem 1rem 0 1rem}}@media all and (max-width: 450px){[data-react-toolbox=\\\"panel\\\"]>div{margin:0.5rem 0.5rem 0 0.5rem}}@media print{[data-react-toolbox=\\\"panel\\\"]>div{margin:0 !important}}@media all and (min-width: 960px){[data-react-toolbox=\\\"snackbar\\\"]{margin:0 auto !important;max-width:2950px}[data-react-toolbox=\\\"overlay\\\"]{z-index:750}}.main__user-content___2pbJd ul,.main__user-content___2pbJd ol{margin-left:3rem}.main__user-content___2pbJd p{margin-bottom:2rem}.main__logo___1twLO{max-width:100%}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"nav-drawer\": \"main__nav-drawer___15Oc-\",\n\t\"version-display\": \"main__version-display___20x7n\",\n\t\"top-layout\": \"main__top-layout___2vJYF\",\n\t\"menuless\": \"main__menuless___25lhk\",\n\t\"notification-drawer\": \"main__notification-drawer___2bDul\",\n\t\"close-drawer\": \"main__close-drawer___3DTvi\",\n\t\"user-content\": \"main__user-content___2pbJd\",\n\t\"logo\": \"main__logo___1twLO\"\n};","import classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport Avatar from \"react-toolbox/lib/avatar\";\nimport Button from \"react-toolbox/lib/button\";\nimport { Card, CardTitle, CardText, CardActions } from \"react-toolbox/lib/card\";\n\nimport { SpinnerIcon } from \"~/src/js/components/shared/inputs/custom/spinnerIcon\";\nimport { PriorityIcon } from \"~/src/js/components/shared/PriorityIcon\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport { parseToDate } from \"../../../helpers/dates\";\nimport { handleFormsyInvalidSubmit, getErrors } from \"../../../helpers/errors\";\nimport { isEnabled, featureKeys } from \"../../../helpers/features\";\nimport { showDialogNotice } from \"../../../stores/app/actions\";\nimport PatientCases from \"../../patients/information/patientCases\";\nimport { departmentDropdownSource } from \"../../shared/dropdownHelpers\";\nimport ErrorCard from \"../../shared/errorCard\";\nimport FormattedRelative from \"../../shared/formattedRelative\";\nimport HtmlElement from \"../../shared/htmlElement\";\nimport SpinnerButton from \"../../shared/inputs/custom/spinnerButton\";\nimport DropDownListInput from \"../../shared/inputs/dropDownListInput\";\nimport TextInput from \"../../shared/inputs/textInput\";\nimport { HistoryItemText } from \"../ECONSULT/historyItem\";\n\nimport style from \"../ECONSULT/ECONSULT_form.style\";\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n dispatchTitle: {\n id: \"forms.econsult.dispatchTitle\",\n description: \"eConsult Dispatch card title\",\n defaultMessage: \"Specialist Assignment\",\n },\n redispatchTitle: {\n id: \"forms.econsult.redispatchTitle\",\n description: \"eConsult Redispatch card title\",\n defaultMessage: \"Re-assign specialist\",\n },\n dispatchTitleCaseId: {\n id: \"forms.econsult.dispatchTitleCaseId\",\n description: \"eConsult Dispatch card title with case ID\",\n defaultMessage: \"Specialist Assignment for case #{caseId}\",\n },\n redispatchTitleCaseId: {\n id: \"forms.econsult.redispatchTitleCaseId\",\n description: \"eConsult Redispatch card title with case ID\",\n defaultMessage: \"Re-assign specialist for case #{caseId}\",\n },\n dispatchTo: {\n id: \"forms.econsult.dispatchTo\",\n description: \"eConsult Dispatch to which department label\",\n defaultMessage: \"Dispatch to\",\n },\n dispatch: {\n id: \"forms.econsult.dispatch\",\n description: \"eConsult Dispatch action label\",\n defaultMessage: \"Assign\",\n },\n redispatch: {\n id: \"forms.econsult.redispatch\",\n description: \"eConsult Redispatch action label\",\n defaultMessage: \"Re-assign\",\n },\n redispatchReason: {\n id: \"forms.econsult.redispatchReason\",\n description: \"eConsult Redispatch reason label\",\n defaultMessage: \"Re-assignment reason\",\n },\n redispatchReasonHint: {\n id: \"forms.econsult.redispatchReasonHint\",\n description: \"eConsult Redispatch reason hint\",\n defaultMessage: \"Specify why you are re-assigning this request\",\n },\n dispatchReason: {\n id: \"forms.econsult.dispatchReason\",\n description: \"eConsult dispatch reason label\",\n defaultMessage: \"Dispatcher note\",\n },\n dispatchSuccess: {\n id: \"forms.econsult.dispatchSuccess\",\n description: \"eConsult Dispatch success message\",\n defaultMessage: \"Request was assigned successfully to the specialist.\",\n },\n dispatchPreferredDestinationLabel: {\n id: \"forms.econsult.dispatchPreferredDestinationLabel\",\n description: \"Preferred destination department for eConsult request when viewed by dispatcher\",\n defaultMessage:\n \"The requester would like this request to be dispatched to {name}.\",\n },\n dispatchToClinicalDomain: {\n id: \"forms.econsult.dispatchToClinicalDomain\",\n description: \"Short text to indicate clinical domain of eConsult\",\n defaultMessage:\n \"Please choose a specialist for the specialty {clinicalDomain}.\",\n },\n});\n\nexport class FormDispatch extends React.Component {\n static propTypes = {\n viewer: PropTypes.any.isRequired,\n case: PropTypes.any.isRequired,\n historyItem: PropTypes.any.isRequired,\n clinicalDomain: PropTypes.any.isRequired,\n priority: PropTypes.any,\n toDepartment: PropTypes.any.isRequired,\n preferredDestinationDepartment: PropTypes.any.isRequired,\n permissions: PropTypes.shape({\n canRedispatch: PropTypes.bool,\n canDispatch: PropTypes.bool,\n }).isRequired,\n dispatch: PropTypes.func.isRequired,\n onDispatching: PropTypes.func,\n onDispatch: PropTypes.func,\n onDispatchError: PropTypes.func,\n controlSubmitExternally: PropTypes.func,\n showCaseId: PropTypes.bool,\n requirePriority: PropTypes.bool,\n onCancel: PropTypes.func,\n mutationFactory: PropTypes.func,\n intl: intlShape,\n elements: PropTypes.shape({\n card: PropTypes.element,\n cardTitle: PropTypes.element,\n cardText: PropTypes.element,\n cardActions: PropTypes.bool,\n }).isRequired,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n mutating: false,\n clinicalDomainId: null,\n errors: [],\n };\n }\n\n t(key, args) {\n return this.props.intl.formatMessage(key, args);\n }\n\n componentDidMount() {\n if (this.props.controlSubmitExternally) {\n this.props.controlSubmitExternally(() => this.form.submit());\n }\n }\n\n dispatchRequest(data: any): void {\n const cas = this.props.case;\n const params = {\n viewer: this.props.viewer,\n case: cas,\n caseId: cas.id,\n clinicalDomainId: data.toClinicalDomainId,\n departmentId: data.toDepartment,\n reason: data.reason,\n };\n if (this.props.requirePriority) {\n params.priorityId = data.priorityId;\n }\n if (this.props.onDispatching) {\n this.props.onDispatching();\n }\n this.setState({ errors: [], mutating: true });\n Relay.Store.commitUpdate(this.props.mutationFactory(params), {\n onSuccess: () => {\n this.props.dispatch(showDialogNotice(this.t(messages.dispatchSuccess), \"accept\"));\n if (this.props.onDispatch) {\n this.props.onDispatch();\n }\n this.setState({ mutating: false });\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({ errors: this.state.errors.concat(errors), mutating: false });\n if (this.props.onDispatchError) {\n this.props.onDispatchError(errors);\n }\n });\n },\n });\n }\n\n render() {\n const {\n viewer,\n case: cas,\n historyItem,\n clinicalDomain,\n priority,\n preferredDestinationDepartment,\n toDepartment,\n controlSubmitExternally,\n showCaseId,\n requirePriority,\n onCancel,\n permissions,\n elements,\n } = this.props;\n const canRedispatch = permissions.canRedispatch;\n\n const domains = viewer.clinicalDomains.edges;\n const source = [{ label: \"\", value: \"\" }].concat(\n domains.map((x) => ({ value: x.node.value, label: x.node.label }))\n );\n const currentDomain =\n domains.filter((x) => x.node.id === this.state.clinicalDomainId)[0] ||\n domains.filter((x) => x.node.id === clinicalDomain.id)[0];\n const selectedDomain = currentDomain ? currentDomain.node : null;\n\n const priorities = [{ label: \"\", value: \"\" }].concat(\n selectedDomain\n ? selectedDomain.priorities.map((x) => ({ ...x, value: x.id, valueFix: x.value }))\n : []\n );\n\n let departmentId = (toDepartment || {}).id;\n departmentId = departmentId || (preferredDestinationDepartment || {}).id;\n const departments = viewer.currentUser.asDispatcher.dispatchableDepartments.filter(\n (x) => x.clinicalDomain.id === clinicalDomain.id\n );\n const currentDepartment = departments.filter((x) => x.id === departmentId);\n departmentId = (currentDepartment || {}).id;\n const hospitals = departmentDropdownSource(\n selectedDomain ? selectedDomain.departments : [],\n true,\n true\n );\n\n const CardElement = (elements || {}).card || Card;\n const CardTitleElement = (elements || {}).cardTitle || CardTitle;\n const CardTextElement = (elements || {}).cardText || CardText;\n const CardActionsElement = (elements || {}).cardActions || CardActions;\n\n return (\n (this.form = f)}\n onValidSubmit={(d) => this.dispatchRequest(d)}\n onInvalidSubmit={() => {\n handleFormsyInvalidSubmit(this.form);\n if (this.props.onDispatchError) {\n this.props.onDispatchError([]);\n }\n }}\n className={classnames(formStyle[\"card-form\"], style[\"dispatch-form\"])}>\n \n \n {showCaseId\n ? this.t(\n canRedispatch ? messages.redispatchTitleCaseId : messages.dispatchTitleCaseId,\n { caseId: cas.legacyId }\n )\n : this.t(canRedispatch ? messages.redispatchTitle : messages.dispatchTitle)}\n \n \n {historyItem.date ? (\n

\n {\" \"}\n \n \n \n

\n ) : (\n \n \n \n )}\n {preferredDestinationDepartment && (\n \n )}\n \n
\n {\n this.setState({ clinicalDomainId: e });\n if (this.pref && this.pref.setValue) {\n this.pref.setValue(null);\n }\n }}\n source={source}\n value={(selectedDomain || {}).id}\n required\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n }}\n />\n
\n
\n (this.pref = i)}\n icon=\"group\"\n label={this.t(messages.dispatchTo)}\n source={hospitals}\n optgroup=\"departments\"\n value={departmentId || (departments[0] || {}).id}\n required\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n }}\n />\n
\n {requirePriority && (\n
\n {\n return (\n
\n \n
\n {e.name}\n {e.description && {e.description}}\n
\n
\n );\n }}\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n }}\n />\n
\n )}\n
\n \n
\n }\n asPlain\n withoutContext\n />\n
\n {!controlSubmitExternally && (\n \n \n {onCancel && (\n onCancel()}\n />\n )}\n \n )}\n
\n\n {this.state.errors && this.state.errors.length > 0 && (\n \n )}\n \n );\n }\n}\n\nexport default Relay.createContainer(connect()(injectIntl(FormDispatch)), {\n initialVariables: {\n eConsultOnly: null,\n formId: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n ${HistoryItemText.getFragment(\"viewer\")}\n clinicalDomains(\n first: 500,\n specialistType: REPORTER,\n eConsultOnly: $eConsultOnly,\n formId: $formId)\n {\n edges {\n node {\n id\n name\n value: id\n label: name\n\n priorities {\n id\n name\n value\n icon\n description\n delayDescription\n }\n\n departments {\n id\n name\n value: id\n label: name\n hospital {\n id\n name\n value: id\n label: name\n }\n specialists(specialistType: REPORTER) {\n id\n fullName\n value: id\n label: fullName\n }\n }\n }\n }\n }\n currentUser {\n asDispatcher {\n dispatchableDepartments(\n specialistType: REPORTER,\n eConsultOnly: $eConsultOnly,\n formId: $formId)\n {\n id\n name\n value: id\n label: name\n hospital {\n id\n name\n value: id\n label: name\n }\n clinicalDomain {\n id\n name\n }\n specialists(specialistType: REPORTER) {\n id\n fullName\n }\n }\n }\n }\n }`,\n historyItem: () => Relay.QL`\n fragment on ConversationHistoryItem {\n date\n ${HistoryItemText.getFragment(\"item\")}\n }\n `,\n clinicalDomain: () => Relay.QL`\n fragment on ClinicalDomain {\n id\n name\n }\n `,\n toDepartment: () => Relay.QL`\n fragment on Department {\n id\n name\n }\n `,\n preferredDestinationDepartment: () => Relay.QL`\n fragment on Department {\n id\n name\n }\n `,\n priority: () => Relay.QL`\n fragment on Priority {\n id\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n id\n legacyId\n patient {\n ${PatientCases.getFragment(\"patient\")}\n }\n }`,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nexport default class DispatchConversationConsultMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(DispatchConversationConsultMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { dispatchConversationConsult }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n clinicalDomainId: this.props.clinicalDomainId,\n departmentId: this.props.departmentId,\n reason: this.props.reason,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on DispatchConversationConsultPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n data {\n ... on ConversationConsultData {\n permissions\n clinicalDomain\n toDepartment\n history\n }\n }\n ${DispatchConversationConsultMutation.getFragment(\"case\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on ConversationConsultData {\n requester\n fromDepartment\n toDepartment\n clinicalDomain\n }\n }\n }\n `,\n };\n}\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\n\nimport FormDispatch, { messages as dispatchMessages } from \"../shared/formDispatch\";\n\nimport DispatchConversationConsultMutation from \"./dispatchConversationConsultMutation\";\n\nexport const messages = dispatchMessages;\n\nexport class EConsultDispatch extends React.Component {\n static propTypes = {\n viewer: PropTypes.any.isRequired,\n case: PropTypes.any.isRequired,\n dispatch: PropTypes.func.isRequired,\n onDispatching: PropTypes.func,\n onDispatch: PropTypes.func,\n onDispatchError: PropTypes.func,\n controlSubmitExternally: PropTypes.func,\n showCaseId: PropTypes.bool,\n onCancel: PropTypes.func,\n intl: intlShape,\n clinicalDomainId: PropTypes.string,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {};\n }\n\n render() {\n const { viewer, case: cas } = this.props;\n\n return (\n new DispatchConversationConsultMutation(params)}\n />\n );\n }\n}\n\nexport default Relay.createContainer(connect()(injectIntl(EConsultDispatch)), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n ${FormDispatch.getFragment(\"viewer\", { eConsultOnly: true })}\n }`,\n case: () => Relay.QL`\n fragment on Case {\n ${FormDispatch.getFragment(\"case\")}\n id\n\n data {\n ... on ConversationConsultData {\n clinicalDomain {\n ${FormDispatch.getFragment(\"clinicalDomain\")}\n }\n\n toDepartment {\n ${FormDispatch.getFragment(\"toDepartment\")}\n }\n \n preferredDestinationDepartment {\n ${FormDispatch.getFragment(\"preferredDestinationDepartment\")}\n }\n\n history {\n ${FormDispatch.getFragment(\"historyItem\")}\n }\n\n permissions {\n canDispatch\n canRedispatch\n }\n }\n }\n }`,\n },\n});\n","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./input.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./input.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./input.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@media print{.History-style__no-print___2Yd_N{display:none !important}}.History-style__responsive-table___3o0Ly{min-width:auto}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"no-print\": \"History-style__no-print___2Yd_N\",\n\t\"responsive-table\": \"History-style__responsive-table___3o0Ly\"\n};","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Avatar from \"react-toolbox/lib/avatar\";\n\nimport femaleIcon from \"../../../public/assets/images/icons/gender-female\";\nimport maleIcon from \"../../../public/assets/images/icons/gender-male\";\nimport otherIcon from \"../../../public/assets/images/icons/gender-other\";\n\nimport avatarStyle from \"./genderAvatar.style\";\n\nexport default class GenderAvatar extends React.Component {\n static propTypes = {\n gender: PropTypes.string,\n };\n\n getImage(gender: string) {\n switch (gender) {\n case \"M\":\n\n case \"MALE\":\n return maleIcon;\n\n case \"F\":\n\n case \"FEMALE\":\n return femaleIcon;\n\n default:\n return otherIcon;\n }\n }\n\n render() {\n const { gender, ...props } = this.props;\n const classes = props.className\n ? `${avatarStyle[\"gender-avatar\"]} ${props.className}`\n : avatarStyle[\"gender-avatar\"];\n return ;\n }\n}\n","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".snackbar__snackbar___2bzq-{box-shadow:0 0 50px 15px #ddd}@media all and (min-height: 700px){.snackbar__snackbar___2bzq-{top:40px !important;bottom:auto !important;margin-top:0 !important;transition:none !important;-webkit-transform:translateY(0) !important;transform:translateY(0) !important}}@media all and (min-width: 960px) and (max-width: 3000px){.snackbar__snackbar___2bzq-{margin-left:25rem !important}}@media all and (max-width: 450px){.snackbar__snackbar___2bzq-{right:0;left:0;padding:1rem}}.snackbar__snackbar___2bzq-.snackbar__in-dialog___2FFgd{margin-left:0 !important}.snackbar__snackbar___2bzq- .snackbar__button___1WhaM{margin:0 !important;padding:0.5rem;overflow:inherit;height:auto}.snackbar__label___39QNm,.snackbar__button___1WhaM{font-size:1.6rem !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"snackbar\": \"snackbar__snackbar___2bzq-\",\n\t\"in-dialog\": \"snackbar__in-dialog___2FFgd\",\n\t\"button\": \"snackbar__button___1WhaM\",\n\t\"label\": \"snackbar__label___39QNm\"\n};","import { useState } from \"react\";\n\nexport const useIsFormValid = (initialIsValid) => {\n const [isValid, setIsValid] = useState(initialIsValid);\n\n const setFormIsValid = () => {\n setIsValid(true);\n };\n\n const setFormIsInvalid = () => {\n setIsValid(false);\n };\n\n return {\n isValid,\n setFormIsValid,\n setFormIsInvalid,\n };\n};\n","import { useState, useRef } from \"react\";\n\nimport { handleFormsyInvalidSubmit } from \"~/src/js/helpers\";\nimport { useIsFormValid } from \"~/src/js/hooks/useIsFormValid\";\n\nexport const useFormsySubmit = ({\n onInvalid,\n onSubmit,\n onSuccess,\n onValid,\n defaultIsFormValid,\n}) => {\n const { isValid, setFormIsInvalid, setFormIsValid } = useIsFormValid(defaultIsFormValid || false);\n const [isSubmitting, setIsSubmitting] = useState(false);\n const [errors, setErrors] = useState([]);\n const formRef = useRef(null);\n\n const handleIsSubmitting = (isSubmitting) => {\n setIsSubmitting(isSubmitting);\n };\n\n const handleOnInvalid = () => {\n if (onInvalid) {\n onInvalid();\n }\n setFormIsInvalid();\n };\n\n const handleOnValid = () => {\n if (onValid) {\n onValid();\n }\n setFormIsValid();\n };\n\n const onInvalidSubmit = () => handleFormsyInvalidSubmit(formRef.current);\n\n const onValidSubmit = async (data) => {\n handleIsSubmitting(true);\n setErrors([]);\n try {\n const response = await onSubmit(data);\n if (onSuccess) {\n onSuccess(data, response);\n }\n } catch (errors) {\n setErrors(errors);\n }\n handleIsSubmitting(false);\n };\n\n return {\n errors,\n setErrors,\n isSubmitting,\n isValid,\n setIsSubmitting,\n formsyProps: {\n ref: formRef,\n onInvalid: handleOnInvalid,\n onInvalidSubmit,\n onValid: handleOnValid,\n onValidSubmit,\n },\n };\n};\n","import { useState } from \"react\";\n\nexport const useToggle = (initialToggle) => {\n const [isToggled, setIsToggled] = useState(initialToggle);\n\n const toggle = () => {\n setIsToggled(!isToggled);\n };\n\n return [isToggled, toggle];\n};\n","import { useState } from \"react\";\n\nimport { useToggle } from \"~/src/js/hooks/index\";\n\nexport const useFading = ({ isContentToggledDefault = false }) => {\n const [isContentToggled, toggleContent] = useToggle(isContentToggledDefault);\n const [isFading, toggleFading] = useState(false);\n\n const toggleContentAndFading = () => {\n toggleContent();\n toggleFading(true);\n // We need setTimeout so that react state updates from true to false for a certain amount of time for the transition to work\n setTimeout(() => {\n toggleFading(false);\n }, 50);\n };\n\n return {\n isContentToggled,\n isFading,\n toggleContentAndFading,\n };\n};\n","import { useEffect } from \"react\";\n\nimport { subscribeToUpdates, unsubscribeFromUpdates } from \"~/src/js/helpers/signalr\";\n\nexport const useSignalrRelayForceFetch = (relay, subscriberName, eventType, legacyId) => {\n useEffect(() => {\n subscribeToUpdates(subscriberName, (evt) => {\n if (evt.type === eventType && evt.payload.legacyId === `${legacyId}`) {\n relay.forceFetch();\n }\n });\n\n return () => unsubscribeFromUpdates(subscriberName);\n });\n};\n","import { useState } from \"react\";\n\nimport { getToken } from \"~/src/js/helpers/authentication\";\nimport { parseToCalendarDate } from \"~/src/js/helpers/dates\";\nimport { downloadFile, saveFile } from \"~/src/js/helpers/files\";\n\nconst EXCEL_NA = \"#N/A\";\n\nlet xlsxPopulateModule = null;\n\n// TODO: gotta test this on mac and with file generated from excel (tested with mac and google spreadsheet (xlsx))\nconst excelDateToJSDate = (serial) => {\n const utcDays = Math.floor(serial - 25568);\n const utcValue = utcDays * 86400;\n const dateInfo = new Date(utcValue * 1000);\n\n const fractionalDay = serial - Math.floor(serial) + 0.0000001;\n\n const totalSeconds = Math.floor(86400 * fractionalDay);\n\n const seconds = totalSeconds % 60;\n\n const newTotalSeconds = totalSeconds - seconds;\n\n const hours = Math.floor(newTotalSeconds / (60 * 60));\n const minutes = Math.floor(newTotalSeconds / 60) % 60;\n\n return new Date(\n dateInfo.getFullYear(),\n dateInfo.getMonth(),\n dateInfo.getDate(),\n hours,\n minutes,\n seconds\n );\n};\n\nconst getXlsxPopulate = (): Promise => {\n return new Promise((resolve) => {\n if (xlsxPopulateModule) {\n resolve(xlsxPopulateModule);\n return;\n }\n\n require.ensure(\n [],\n (require) => {\n xlsxPopulateModule = require(\"xlsx-populate/browser/xlsx-populate\");\n resolve(xlsxPopulateModule);\n },\n \"xlsx-populate\"\n );\n });\n};\n\nexport const MODEL_TYPES = {\n string: \"string\",\n number: \"number\",\n array: \"array\",\n date: \"date\",\n};\n\nexport /**\n *\n * @param {object} { initialFiles, initialData, models, sheetName }\n * model: an object containing like this: { key, type, indexOfValue }\n * @return {object} object\n */\nconst useUploadXlsxFilesToDataModel = ({\n initialFiles,\n initialData,\n models,\n sheetName,\n templateFileUrl,\n templateName,\n addReferenceDataFunction,\n}) => {\n const [files, setFiles] = useState(initialFiles || []);\n const [uploading, setUploading] = useState(false);\n const [downloadingTemplate, setDownloadingTemplate] = useState(false);\n const [data, setData] = useState(initialData || []);\n const [errors, setErrors] = useState([]);\n\n const getString = (value) => {\n if (String(value) === EXCEL_NA) {\n return undefined;\n }\n\n return new String(value || \"\").toString();\n };\n\n const handleModelValue = (model, value) => {\n switch (model.type) {\n case MODEL_TYPES.string: {\n return getString(value[model.indexOfValue]);\n }\n case MODEL_TYPES.number: {\n return getString(value[model.indexOfValue]);\n }\n case MODEL_TYPES.array: {\n return getString(value[model.indexOfValue])\n .split(/[;]/)\n .filter((x) => Boolean(x))\n .map((x) => x.trim());\n }\n case MODEL_TYPES.date: {\n const excelSerialDate = getString(value[model.indexOfValue]);\n return /^\\d+$/.test(excelSerialDate)\n ? excelDateToJSDate(excelSerialDate)\n : parseToCalendarDate(excelSerialDate);\n }\n default: {\n return value[model.indexOfValue];\n }\n }\n };\n\n // TODO: someday handle errors and more data validation (required, emails, phone...)\n const handleModel = (workbook) => {\n const values = workbook.sheet(sheetName).usedRange().value().splice(1);\n const newData = values.map((value) => {\n if (getString(value[0]) === \"\") {\n return null;\n }\n\n return models.reduce((acc, currentModel) => {\n return { ...acc, [currentModel.key]: handleModelValue(currentModel, value) };\n }, {});\n });\n\n const filterData = newData.filter((data) => data !== null);\n\n setData(data.concat(filterData));\n };\n\n const uploadFiles = (newFiles) => {\n setUploading(true);\n setErrors([]);\n\n getXlsxPopulate().then((xlsx) => {\n const promises = [];\n for (let i = 0; i !== newFiles.length; ++i) {\n promises.push(\n xlsx\n .fromDataAsync(newFiles[i])\n .then((workbook) => {\n handleModel(workbook);\n return workbook;\n })\n .catch((error) => setErrors([error]))\n );\n }\n\n Promise.all(promises).then(() => {\n setFiles(files.concat(newFiles));\n setUploading(false);\n });\n });\n };\n\n const getTemplate = (xlsx) => {\n setErrors([]);\n\n const jwt = encodeURIComponent(getToken());\n\n return downloadFile(templateFileUrl, jwt, true).then((file) => {\n return xlsx\n .fromDataAsync(file.data)\n .then((workbook) => {\n if (addReferenceDataFunction) {\n return addReferenceDataFunction(workbook);\n }\n return workbook;\n })\n .catch((error) => setErrors([error]));\n });\n };\n\n const downloadTemplate = () => {\n setDownloadingTemplate(true);\n setErrors([]);\n getXlsxPopulate().then((xlsx) => {\n getTemplate(xlsx)\n .then((workbook) => {\n workbook.outputAsync().then((blob) => {\n const fileToDownload = {\n name: templateName,\n data: blob,\n isBinary: true,\n };\n saveFile(fileToDownload);\n setDownloadingTemplate(false);\n });\n })\n .catch((error) => setErrors([error]));\n });\n };\n\n return {\n files,\n data,\n uploading,\n downloadingTemplate,\n downloadTemplate,\n uploadFiles,\n errors,\n };\n};\n","import { useState } from \"react\";\n\nexport const useRelayLoading = ({ isLoadingDefault, setVariables }) => {\n const [isLoading, setIsLoading] = useState(isLoadingDefault || false);\n const [inError, setInError] = useState(false);\n const [isAborted, setIsAborted] = useState(false);\n\n const loadRelayVariables = (onLoadData) => {\n setVariables(onLoadData, (readyState) => {\n if (!readyState.done) {\n setIsLoading(true);\n }\n if (readyState.error || readyState.aborted) {\n setInError(true);\n }\n if (readyState.aborted) {\n setIsAborted(true);\n }\n if (readyState.done || readyState.error || readyState.aborted) {\n setIsLoading(false);\n }\n });\n };\n\n return {\n loadRelayVariables,\n isLoading,\n inError,\n isAborted,\n };\n};\n","import { useEffect, useRef } from \"react\";\nimport intersectionBy from \"lodash/intersectionBy\";\n\nconst optionsValueEqual = (options, otherOptions) => {\n return intersectionBy(options, otherOptions, \"value\").length === options.length;\n};\n\nconst useOptionsValuesEqualsEffectMemoize = (options) => {\n const ref = useRef();\n const signalRef = useRef(0);\n\n if (!optionsValueEqual(options, ref.current)) {\n ref.current = options;\n signalRef.current += 1;\n }\n\n return [signalRef.current];\n};\n\nexport const useOptionsValuesEqualsEffect = (callBack, options) => {\n return useEffect(callBack, useOptionsValuesEqualsEffectMemoize(options));\n};\n","import { useState } from \"react\";\n\nexport const useStepper = ({ defaultSteps, formatOnClickedStep, formatOtherNonClickedStep }) => {\n const [steps, setSteps] = useState(defaultSteps);\n\n const handleChange = (clickedStep, allSteps) => {\n const newSteps = allSteps.map((step) => {\n if (step.uid === clickedStep.uid) {\n return {\n ...step,\n ...formatOnClickedStep(step, allSteps),\n };\n } else {\n return {\n ...step,\n ...formatOtherNonClickedStep(step, allSteps),\n };\n }\n });\n setSteps(newSteps);\n };\n\n return {\n steps,\n handleChange,\n };\n};\n","import { useEffect } from \"react\";\n\nexport const useClickOutside = (ref, handler) => {\n useEffect(() => {\n const listener = (event) => {\n const element = ref ? ref.current : null;\n if (!element || element.contains(event.target)) {\n return;\n }\n handler(event);\n };\n document.addEventListener(`mousedown`, listener);\n document.addEventListener(`touchstart`, listener);\n return () => {\n document.removeEventListener(`mousedown`, listener);\n document.removeEventListener(`touchstart`, listener);\n };\n }, [ref, handler]);\n};\n","import { useState } from \"react\";\n\nimport {\n resetUserItem as helperResetUserItem,\n saveUserItem,\n} from \"~/src/js/components/savedItems/savedItemHelpers\";\nimport { registerAutoSave, unregisterAutoSave } from \"~/src/js/helpers/autoSave\";\n\nlet timeoutId = null;\n\n// autoSaveDraftTimeoutDebounce is in seconds\nexport const useDraft = ({\n draftSaveName,\n getCurrentData,\n onSuccess,\n onError,\n autoSaveDraftDebounce = 10,\n}) => {\n const [isSaving, setIsSaving] = useState(false);\n const [errors, setErrors] = useState(null);\n\n const handleSaveDraft = async (\n { entityId, item, permissions, purpose, shouldMergeData },\n isTimedSave = false\n ) => {\n const data = getCurrentData();\n setIsSaving(true);\n setErrors([]);\n endAutoSave();\n\n try {\n await saveUserItem(item, entityId, purpose, data, permissions, shouldMergeData);\n if (onSuccess) {\n onSuccess(isTimedSave);\n }\n } catch (e) {\n setErrors(e);\n if (onError) {\n onError(e);\n }\n }\n\n setIsSaving(false);\n };\n\n const beginAutoSave = async ({ entityId, item, permissions, purpose, shouldMergeData }) => {\n clearTimeout(timeoutId);\n\n registerAutoSave(\n draftSaveName,\n async () => await handleSaveDraft({ entityId, item, permissions, purpose, shouldMergeData })\n );\n\n timeoutId = setTimeout(async () => {\n await handleSaveDraft({ entityId, item, permissions, purpose, shouldMergeData }, true);\n clearTimeout(timeoutId);\n }, autoSaveDraftDebounce * 1000);\n };\n\n const endAutoSave = () => {\n clearTimeout(timeoutId);\n unregisterAutoSave(draftSaveName);\n };\n\n const resetUserItem = async ({ entityId, item, purpose }) => {\n await helperResetUserItem(item, entityId, purpose);\n };\n\n return {\n errors,\n isSaving,\n beginAutoSave,\n endAutoSave,\n handleSaveDraft,\n resetUserItem,\n };\n};\n","import { useState } from \"react\";\n\nexport const useSubmitMutation = ({ onFailure, onSubmit, onSuccess }) => {\n const [isSubmitting, setIsSubmitting] = useState(false);\n const [errors, setErrors] = useState([]);\n\n const submit = async (data) => {\n setErrors([]);\n setIsSubmitting(true);\n try {\n const response = await onSubmit(data);\n if (onSuccess) {\n onSuccess(response);\n }\n } catch (e) {\n setErrors(e);\n if (onFailure) {\n onFailure();\n }\n }\n setIsSubmitting(false);\n };\n\n return {\n errors,\n isSubmitting,\n submit,\n };\n};\n","export { useFormsySubmit } from \"./useFormsySubmit\";\nexport { useToggle } from \"./useToggle\";\nexport { useFading } from \"./useFading\";\nexport { useSignalrRelayForceFetch } from \"./useSignalrRelayForceFetch\";\nexport { useUploadXlsxFilesToDataModel, MODEL_TYPES } from \"./Files/useUploadXlsxFilesToDataModel\";\nexport { useRelayLoading } from \"./Relay\";\nexport { usePrint } from \"./Prints\";\nexport { useOptionsValuesEqualsEffect } from \"./Equals\";\nexport { useStepper } from \"./useStepper\";\nexport { useMenuUrlAnchors } from \"./urls\";\nexport { useClickOutside } from \"./Events\";\nexport { useDraft } from \"./Draft\";\nexport { useStateWithCallbackLazy } from \"./States\";\nexport { useIsFormValid } from \"./useIsFormValid\";\nexport { useSubmitMutation } from \"./useSubmitMutation\";\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAZ2SURBVHjavJdbbFxXFYa/fc6Zi+2ZjGfsuLnS3BANjZqipjRtRIUoRUWIoAQRBELiJUKlFCJEuD1FojygBKEIoUopElLFC5Ckt6gqSEmLUJvKjWhiktRqE9tJjO2ZcXJmxmN7zpx99l48zExqO3bjJBVLWtozc3T2+mf9/9prbUSElgNYa6874A4PD//M9/1jY2Njvzlw4ECHFcGKYIyZ5VEUEUURWkdored447dQawBmxVwIwL59+1JRFNVkjr3+xhv3/F8AjI6OviwiUgtH5OSlJ+Xa9DsiIlKpVC4YE31sAFQrMIBSCmMtruM41cmpfKqjfekfX99K71Av65em+eX2CYyxxvPclDEmYIa19mkswmxTgCBAPBZjZkyHudZ8OFmdKACsynyHig/ZxFcBcF3HFSM1B0eCoD5cLBb/MDQ0tJnbtbkUtFI5MjLyjohIX/7HcuR8Vkarf5GFzBqRSqVydmBg4OE7pkDrCIB8Pn9q1cqVW6bDIrXoMuNTbzFSfoUJ/QHaVHCJsyR5Lxt7fs6qzq809QPXrl39+9GjR76+e/fuaYD+/v7PdHV175iamjy2Zu3aU3MpmAdAA+X4+PjZ5cuXbzr+/nbOjR0jGQfXAfc6oxDZhmfbunno7mdZ1/0NAIwBrcOpmBfrcB0FgLaG/v73dm2+777DH6mBGekRgNAoXCBGCsd2ILYD21xd0iScdkrTV3mpbxdHTj9AodKL60IyGe9wPcVE7Qoj5ZO4yiXb2fkjoG1mPG8+ADNXq2PUNXjKnUfdjS0US0h6wpVr7/J8cSvdqU/QFuumrn2ulC7xuQ1PsTL3CNXJyfLcP70wgOb3MFKEdYixEIAPzSWLoyx+dRSRKyjlIRaWpR8Hgclq9SIQ3lIGokhRDyHmODcF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F6vk4jHb6ll3VAFxfHxvnSmc/0XPr2HL236BY5yMWJwlYtg0dE0tbDCRLU6AqiZwUQpgjAkHk8sunPOpcBu2/bIU4MDF3u1DuraTEqgy9bYKQl02YZR1RpT14XC2MDTT/9g11g+b5oFCwgKQSkhDINFZ+CGe8FYvsC5c2e3ZTKdOx3HyTb7t9OYUawD1HQYnli3ft0LH3XbamRh5hGgUEAul511MfnfABkjzIRs61mVAAAAAElFTkSuQmCC\"","\nvar content = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./AddPatientHospitalForm.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./AddPatientHospitalForm.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./AddPatientHospitalForm.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import { defineMessages } from \"react-intl\";\n\nexport default defineMessages({\n similarPatientsHeader: {\n id: \"patients.similarPatientsHeader\",\n description: \"Header of box indicating similar patients were found.\",\n defaultMessage: `We found {count, plural,\n one {one similar patient}\n other {# similar patients}\n }. Are you looking for one of these people?`,\n },\n similarPatientsHeaderRequired: {\n id: \"patients.similarPatientsHeaderRequired\",\n description: \"Header of box indicating a duplicate patient was found.\",\n defaultMessage: `We found this patient which seems to be an exact duplicate.\n Please select it or modify your input.`,\n },\n similarPatientDuplicate: {\n id: \"patients.similarPatientDuplicate\",\n description: \"Error message for field of duplicate patient\",\n defaultMessage: `Duplicate patient.`,\n },\n birthdayAbbreviation: {\n id: \"patients.birthdayAbbreviation\",\n description: \"Birthday abbreviation\",\n defaultMessage: \"BD\",\n },\n addLabel: {\n id: \"patients.add.label\",\n description: \"Top title for add patient page\",\n defaultMessage: \"Add patient for hospital {name}\",\n },\n hospitalUniqueId: {\n id: \"patients.hospitalUniqueId\",\n description: \"Unique ID of patient within hospital\",\n defaultMessage: \"Record number\",\n },\n hasExternalSourceTitle: {\n id: \"patients.hasExternalSourceTitle\",\n description: \"Warning label for card explaining patient external source\",\n defaultMessage: \"This patient has an external source!\",\n },\n hasExternalSourceTitleHospital: {\n id: \"patients.hasExternalSourceTitleHospital\",\n description: \"Warning label for card explaining hospital external source\",\n defaultMessage: \"This hospital has an external source!\",\n },\n hasExternalSourceError: {\n id: \"patients.hasExternalSourceError\",\n description: \"Warning body for card explaining patient external source\",\n defaultMessage:\n \"This patient could be updated by an external source and your changes may be lost later on.\",\n },\n hasExternalSourceErrorHospital: {\n id: \"patients.hasExternalSourceErrorHospital\",\n description: \"Warning body for card explaining hospital external source\",\n defaultMessage:\n \"This hospital is updated by an external source and your changes may be lost later on.\",\n },\n patientDiscovered: {\n id: \"patients.patientDiscovered\",\n description: \"Snackbar message when patient discovery was successful\",\n defaultMessage: \"Our discovery service found the patient and pre-filled some fields!\",\n },\n patientNotAdmissible: {\n id: \"patients.patientNotAdmissible\",\n description:\n \"Snackbar message when patient discovery was successful but patient is not admissible\",\n defaultMessage:\n \"Our discovery service found the patient and pre-filled some fields, but it seems the patient is not admissible.\",\n },\n patientNotDiscovered: {\n id: \"patients.patientNotDiscovered\",\n description: \"Snackbar message when patient discovery was unsuccessful\",\n defaultMessage: \"Our discovery service could not find the patient.\",\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\n\nimport ErrorCard from \"~/src/js/components/shared/errorCard\";\n\nimport style from \"./style\";\n\nconst ErrorsContainer = ({ errors }) => {\n if (errors && !Array.isArray(errors)) {\n errors = [errors];\n }\n\n return errors && errors.length > 0 ? (\n
\n \n
\n ) : null;\n};\n\nErrorsContainer.propTypes = {\n errors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.object), PropTypes.object]),\n};\n\nexport default ErrorsContainer;\n","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./CompleteConversationDialog.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./CompleteConversationDialog.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./CompleteConversationDialog.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./hiddenInput.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./hiddenInput.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./hiddenInput.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".ErrorLayout-style__error-card___3SzL6{max-width:100rem;position:absolute;left:50%;text-align:center;-webkit-transform:translateX(-50%);transform:translateX(-50%);border:none !important}.ErrorLayout-style__error-card___3SzL6>img{width:50%}.ErrorLayout-style__error-card___3SzL6>div>h1{border-bottom:none;text-align:center;font-size:2rem !important;margin-top:3rem !important;color:#009688 !important}.ErrorLayout-style__button-group___26vtM{margin:2rem 0}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"error-card\": \"ErrorLayout-style__error-card___3SzL6\",\n\t\"button-group\": \"ErrorLayout-style__button-group___26vtM\"\n};","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./layout.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./layout.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./layout.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","module.exports = __webpack_public_path__ + \"6b58c3a0314d2bba434f055794d4d9db.png\";","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@-webkit-keyframes passwordInput-style__error-animation___1jsq6{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}@keyframes passwordInput-style__error-animation___1jsq6{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}.passwordInput-style__animate-error___31n-G{background:#fff5f5;-webkit-animation:passwordInput-style__error-animation___1jsq6 1s 3 alternate;animation:passwordInput-style__error-animation___1jsq6 1s 3 alternate;border:2px solid #f00}.passwordInput-style__animate-error___31n-G *:not([data-react-toolbox]){background:transparent !important}.gerudo-input input::-webkit-input-placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input::placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input:disabled{color:#424242 !important;font-weight:400 !important}.gerudo-input input:disabled::-webkit-input-placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.gerudo-input input:disabled::placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.passwordInput-style__strength-0___C-X74 .passwordInput-style__bar___1Z8dq::before,.passwordInput-style__strength-0___C-X74 .passwordInput-style__bar___1Z8dq::after,.passwordInput-style__strength-1___1R5jg .passwordInput-style__bar___1Z8dq::before,.passwordInput-style__strength-1___1R5jg .passwordInput-style__bar___1Z8dq::after{background-color:#d1462f}.passwordInput-style__strength-0___C-X74.passwordInput-style__direct___1hYRN,.passwordInput-style__strength-1___1R5jg.passwordInput-style__direct___1hYRN{color:#d1462f}.passwordInput-style__strength-2___2ns3r .passwordInput-style__error___2hWpU,.passwordInput-style__strength-3___1opnT .passwordInput-style__error___2hWpU{color:#57b8ff}.passwordInput-style__strength-2___2ns3r.passwordInput-style__direct___1hYRN,.passwordInput-style__strength-3___1opnT.passwordInput-style__direct___1hYRN{color:#57b8ff}.passwordInput-style__strength-2___2ns3r .passwordInput-style__bar___1Z8dq::before,.passwordInput-style__strength-2___2ns3r .passwordInput-style__bar___1Z8dq::after,.passwordInput-style__strength-3___1opnT .passwordInput-style__bar___1Z8dq::before,.passwordInput-style__strength-3___1opnT .passwordInput-style__bar___1Z8dq::after{background-color:#57b8ff}.passwordInput-style__strength-4___1pV_M .passwordInput-style__error___2hWpU{color:#2fbf71}.passwordInput-style__strength-4___1pV_M.passwordInput-style__direct___1hYRN{color:#2fbf71}.passwordInput-style__strength-4___1pV_M .passwordInput-style__bar___1Z8dq::before,.passwordInput-style__strength-4___1pV_M .passwordInput-style__bar___1Z8dq::after{background-color:#2fbf71}.passwordInput-style__strength-2___2ns3r.passwordInput-style__errored___1nmV_ .passwordInput-style__inputElement___26Yhv,.passwordInput-style__strength-3___1opnT.passwordInput-style__errored___1nmV_ .passwordInput-style__inputElement___26Yhv,.passwordInput-style__strength-4___1pV_M.passwordInput-style__errored___1nmV_ .passwordInput-style__inputElement___26Yhv{background:transparent !important}.passwordInput-style__password___9HXbp{width:50%;display:inline-block}@media all and (max-width: 40rem){.passwordInput-style__password___9HXbp{width:100%}}.passwordInput-style__tips___2xGYa{vertical-align:top;margin-top:2.5rem}@media all and (max-width: 40rem){.passwordInput-style__tips___2xGYa{margin-top:0}}.passwordInput-style__suggestions___1k_bU{font-size:12px !important;line-height:12px !important;padding-bottom:0.3rem !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"animate-error\": \"passwordInput-style__animate-error___31n-G\",\n\t\"error-animation\": \"passwordInput-style__error-animation___1jsq6\",\n\t\"strength-0\": \"passwordInput-style__strength-0___C-X74\",\n\t\"bar\": \"passwordInput-style__bar___1Z8dq\",\n\t\"strength-1\": \"passwordInput-style__strength-1___1R5jg\",\n\t\"direct\": \"passwordInput-style__direct___1hYRN\",\n\t\"strength-2\": \"passwordInput-style__strength-2___2ns3r\",\n\t\"error\": \"passwordInput-style__error___2hWpU\",\n\t\"strength-3\": \"passwordInput-style__strength-3___1opnT\",\n\t\"strength-4\": \"passwordInput-style__strength-4___1pV_M\",\n\t\"errored\": \"passwordInput-style__errored___1nmV_\",\n\t\"inputElement\": \"passwordInput-style__inputElement___26Yhv\",\n\t\"password\": \"passwordInput-style__password___9HXbp\",\n\t\"tips\": \"passwordInput-style__tips___2xGYa\",\n\t\"suggestions\": \"passwordInput-style__suggestions___1k_bU\"\n};","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@-webkit-keyframes checkbox__error-animation___Cij4T{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}@keyframes checkbox__error-animation___Cij4T{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}.checkbox__animate-error___1Y-Ai{background:#fff5f5;-webkit-animation:checkbox__error-animation___Cij4T 1s 3 alternate;animation:checkbox__error-animation___Cij4T 1s 3 alternate;border:2px solid #f00}.checkbox__animate-error___1Y-Ai *:not([data-react-toolbox]){background:transparent !important}.gerudo-input input::-webkit-input-placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input::placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input:disabled{color:#424242 !important;font-weight:400 !important}.gerudo-input input:disabled::-webkit-input-placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.gerudo-input input:disabled::placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.checkbox__checkbox___WYaJ7{display:flex}.checkbox__checkbox___WYaJ7>[data-react-toolbox=\\\"font-icon\\\"]{float:left;width:4.8rem;height:4.8rem;font-size:2.4rem !important;line-height:4.8rem !important;text-align:center;color:rgba(0,0,0,0.26);position:relative}.checkbox__checkbox___WYaJ7>[data-react-toolbox=\\\"checkbox\\\"]{margin-top:1.5rem;margin-bottom:1.8rem}.checkbox__checkbox___WYaJ7.checkbox__errored___1n6v0 [data-react-toolbox=\\\"font-icon\\\"]{color:rgba(200,0,0,0.26)}.checkbox__checkbox___WYaJ7.checkbox__errored___1n6v0 .checkbox__error-text___37fH1{margin-bottom:0 !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"animate-error\": \"checkbox__animate-error___1Y-Ai\",\n\t\"error-animation\": \"checkbox__error-animation___Cij4T\",\n\t\"checkbox\": \"checkbox__checkbox___WYaJ7\",\n\t\"errored\": \"checkbox__errored___1n6v0\",\n\t\"error-text\": \"checkbox__error-text___37fH1\"\n};","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@-webkit-keyframes importUsers-style__error-animation___3uLzN{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}@keyframes importUsers-style__error-animation___3uLzN{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}.importUsers-style__animate-error___U7hVL{background:#fff5f5;-webkit-animation:importUsers-style__error-animation___3uLzN 1s 3 alternate;animation:importUsers-style__error-animation___3uLzN 1s 3 alternate;border:2px solid #f00}.importUsers-style__animate-error___U7hVL *:not([data-react-toolbox]){background:transparent !important}.gerudo-input input::-webkit-input-placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input::placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input:disabled{color:#424242 !important;font-weight:400 !important}.gerudo-input input:disabled::-webkit-input-placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.gerudo-input input:disabled::placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.importUsers-style__preview-table___3RlE8{border-collapse:collapse;display:block;max-width:100%;max-height:500px;overflow:auto}.importUsers-style__preview-table___3RlE8 th,.importUsers-style__preview-table___3RlE8 td{padding:5px}.importUsers-style__preview-table___3RlE8 tbody tr td{border-top:1px solid #ccc;min-width:50px}.importUsers-style__preview-table___3RlE8 tbody tr:nth-child(even){background-color:#f6f6f6}.importUsers-style__preview-table___3RlE8 tbody address,.importUsers-style__preview-table___3RlE8 tbody .importUsers-style__phone___2et_L{white-space:pre;font-style:normal}.importUsers-style__preview-table___3RlE8 tbody ul{list-style:none;white-space:pre}.importUsers-style__preview-table___3RlE8 tbody tr.importUsers-style__row-error___3tBxc{background-color:#ffcccc}.importUsers-style__preview-table___3RlE8 tbody tr.importUsers-style__row-warning___4oIJU{background-color:#fbff8c}.importUsers-style__preview-table___3RlE8 .importUsers-style__invalid___3Vh6x{color:#d1462f}.importUsers-style__results-table___uL-Ov{width:100%}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"animate-error\": \"importUsers-style__animate-error___U7hVL\",\n\t\"error-animation\": \"importUsers-style__error-animation___3uLzN\",\n\t\"preview-table\": \"importUsers-style__preview-table___3RlE8\",\n\t\"phone\": \"importUsers-style__phone___2et_L\",\n\t\"row-error\": \"importUsers-style__row-error___3tBxc\",\n\t\"row-warning\": \"importUsers-style__row-warning___4oIJU\",\n\t\"invalid\": \"importUsers-style__invalid___3Vh6x\",\n\t\"results-table\": \"importUsers-style__results-table___uL-Ov\"\n};","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@media print{.Notes-style__no-print___2ZCVi{display:none !important}}.Notes-style__notes___37sBU{display:flex;flex-direction:column}@media print{.Notes-style__notes___37sBU{display:block}}.Notes-style__fade-in___2GPpT{width:100%;transition:opacity 0.5s ease;opacity:1}.Notes-style__fade-in-hide___3sUbh{opacity:0}.Notes-style__themed-card-title___2dAQS.Notes-style__cardTitle___1ZAjH .Notes-style__subtitle___10Bsz{font-size:1.3rem}@media print{.Notes-style__themed-card-title___2dAQS.Notes-style__cardTitle___1ZAjH .Notes-style__subtitle___10Bsz{display:none !important}}@media print{.Notes-style__notes-container___1AxfW [class*=\\\"theme__cardTitle\\\"]{border-bottom:1px solid black;padding:0 0 1rem 0 !important;margin:0}}@media print{.Notes-style__notes-container___1AxfW [class*=\\\"personInformation-style__link-name\\\"]{color:black;font-weight:bold}}@media print{.Notes-style__notes-container___1AxfW [data-react-toolbox=\\\"card\\\"]{border:none;box-shadow:none;padding:0;margin:0}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"no-print\": \"Notes-style__no-print___2ZCVi\",\n\t\"notes\": \"Notes-style__notes___37sBU\",\n\t\"fade-in\": \"Notes-style__fade-in___2GPpT\",\n\t\"fade-in-hide\": \"Notes-style__fade-in-hide___3sUbh\",\n\t\"themed-card-title\": \"Notes-style__themed-card-title___2dAQS\",\n\t\"cardTitle\": \"Notes-style__cardTitle___1ZAjH\",\n\t\"subtitle\": \"Notes-style__subtitle___10Bsz\",\n\t\"notes-container\": \"Notes-style__notes-container___1AxfW\"\n};","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./ThoracicSurgeryModalForm.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./ThoracicSurgeryModalForm.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./ThoracicSurgeryModalForm.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./NavItem.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./NavItem.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./NavItem.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./Signature.styles.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./Signature.styles.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./Signature.styles.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".TransfusionConsent-styles__record-signature___19IQv{margin-top:4rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"record-signature\": \"TransfusionConsent-styles__record-signature___19IQv\"\n};","import { getLanguage } from \"./language\";\n\nexport type ResultFeedback = {\n warning?: string,\n suggestions?: string,\n};\n\ntype StrengthResult = {\n score?: number,\n feedback?: ResultFeedback,\n};\n\nlet zxcvbn = null;\nlet loaded = false;\n\nconst frWarnings = {\n \"\": \"\",\n \"Straight rows of keys are easy to guess\": \"Une rangée de touches est faciles à deviner.\",\n \"Short keyboard patterns are easy to guess\":\n \"Les séquences basées sur le clavier sont faciles à deviner.\",\n \"Repeats like 'aaa' are easy to guess\": \"Les répétitions comme 'aaa' sont faciles à deviner.\",\n \"Repeats like 'abcabcabc' are only slightly harder to guess than 'abc'\":\n \"Les répétitions comme 'abcabcabc' ne sont que légèrement plus difficiles à deviner que 'aaa'.\",\n \"Sequences like abc or 6543 are easy to guess\":\n \"Les séquences comme 'abc' et '6543' sont faciles à deviner.\",\n \"Recent years are easy to guess\": \"Les années récentes sont faciles à deviner.\",\n \"Dates are often easy to guess\": \"Les dates sont généralement faciles à deviner.\",\n \"This is a top-10 common password\": \"Ceci est dans les 10 plus commun mots de passe.\",\n \"This is a top-100 common password\": \"Ceci est dans les 100 plus commun mots de passe.\",\n \"This is a very common password\": \"Ceci est un mot de passe très commun.\",\n \"This is similar to a commonly used password\":\n \"Ceci est similaire à un mot de passe très commun.\",\n \"A word by itself is easy to guess\": \"Un seul mot seul est facile à deviner.\",\n \"Names and surnames by themselves are easy to guess\":\n \"Les noms et prénoms seuls sont facile à deviner.\",\n \"Common names and surnames are easy to guess\":\n \"Les noms et prénoms communs sont facile à deviner.\",\n \"Capitalization doesn't help very much\": \"Ajouter des majuscules n'est pas très aidant.\",\n \"All-uppercase is almost as easy to guess as all-lowercase\":\n \"Tout en majuscule est aussi facile que tout en minuscule.\",\n \"Reversed words aren't much harder to guess\":\n \"Les mots à l'envers ne sont pas beaucoup plus difficile à deviner.\",\n \"Predictable substitutions like '@' instead of 'a' don't help very much\":\n \"Les substitions prévisibles comme '@' à la place de 'a' n'aident pas vraiment.\",\n};\n\nconst frSuggestions = {\n \"Use a few words, avoid common phrases\": \"Utilisez quelques mots, évitez les phrase communes.\",\n \"No need for symbols, digits, or uppercase letters\":\n \"Pas besoin de symboles, numéros ou majuscules.\",\n \"Add another word or two. Uncommon words are better.\":\n \"Ajoutez un mot ou deux. Les mots rares sont mieux.\",\n \"Use a longer keyboard pattern with more turns\": \"Utilisez une répétition plus longue.\",\n \"Avoid repeated words and characters\": \"Évitez les répétitions de mots et de caractères.\",\n \"Avoid sequences\": \"Évitez les séquences.\",\n \"Avoid recent years\": \"Évitez les années récentes.\",\n \"Avoid years that are associated with you\": \"Évitez les années associées à vous.\",\n \"Avoid dates and years that are associated with you\":\n \"Évitez les dates et années associées à vous.\",\n};\n\nexport function passwordStrength(password: string): StrengthResult {\n if (!loaded) {\n require.ensure(\n [\"zxcvbn\"],\n (require) => {\n zxcvbn = require(\"zxcvbn\");\n },\n \"zxcvbn\"\n );\n\n loaded = true;\n }\n\n if (!zxcvbn) {\n return {\n score: null,\n feedback: null,\n };\n }\n\n if (getLanguage().substring(0, 2) === \"fr\") {\n return translateFr(zxcvbn(password));\n }\n\n return zxcvbn(password);\n}\n\nfunction translateFr(strength) {\n if (strength.feedback) {\n strength.feedback.warning = frWarnings[strength.feedback.warning];\n strength.feedback.suggestions = strength.feedback.suggestions\n .filter((x) => x)\n .map((x) => frSuggestions[x]);\n }\n\n return strength;\n}\n\nexport function generatePassword(length) {\n return Array.apply(null, { length: length })\n .map(() => {\n let result;\n // eslint-disable-next-line no-constant-condition\n while (true) {\n result = String.fromCharCode(getRandomByte());\n if (validPasswordCharacterPattern.test(result)) {\n return result;\n }\n }\n }, this)\n .join(\"\");\n}\n\nconst validPasswordCharacterPattern = /[a-zA-Z0-9_\\-\\+\\.]/;\n\nfunction getRandomByte() {\n // http://caniuse.com/#feat=getrandomvalues\n if (window.crypto && window.crypto.getRandomValues) {\n const result = new Uint8Array(1);\n window.crypto.getRandomValues(result);\n return result[0];\n } else if (window.msCrypto && window.msCrypto.getRandomValues) {\n const result = new Uint8Array(1);\n window.msCrypto.getRandomValues(result);\n return result[0];\n } else {\n return Math.floor(Math.random() * 256);\n }\n}\n","const PropTypes = require(\"prop-types\");\n\nconst React = require(\"../node_modules/react\");\n\n// PATCHED Because some libraries rely on it.\n// eslint-disable-next-line react/no-deprecated\nReact.PropTypes = PropTypes;\n\nmodule.exports = React;\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".PersonInformation-style__person-information___Dm7aJ,.PersonInformation-style__patient-information___N2w-U{color:#333;font-weight:normal}.PersonInformation-style__person-information___Dm7aJ>div,.PersonInformation-style__patient-information___N2w-U>div{margin-bottom:12px !important}.PersonInformation-style__person-information___Dm7aJ>[data-react-toolbox=\\\"card\\\"],.PersonInformation-style__person-information___Dm7aJ>div>[data-react-toolbox=\\\"card\\\"],.PersonInformation-style__patient-information___N2w-U>[data-react-toolbox=\\\"card\\\"],.PersonInformation-style__patient-information___N2w-U>div>[data-react-toolbox=\\\"card\\\"]{margin:1rem 0}.PersonInformation-style__person-information___Dm7aJ.PersonInformation-style__header___hLxt-,.PersonInformation-style__patient-information___N2w-U.PersonInformation-style__header___hLxt-{flex-direction:row;align-items:center}.PersonInformation-style__person-information___Dm7aJ.PersonInformation-style__header___hLxt->div,.PersonInformation-style__patient-information___N2w-U.PersonInformation-style__header___hLxt->div{flex:1}.PersonInformation-style__person-information___Dm7aJ.PersonInformation-style__header___hLxt->small,.PersonInformation-style__patient-information___N2w-U.PersonInformation-style__header___hLxt->small{margin:0 3rem 0 6rem}@media (max-width: 641px){.PersonInformation-style__person-information___Dm7aJ.PersonInformation-style__header___hLxt-,.PersonInformation-style__patient-information___N2w-U.PersonInformation-style__header___hLxt-{flex-direction:column;align-items:flex-start}}.PersonInformation-style__person-information___Dm7aJ [data-react-toolbox=\\\"avatar\\\"],.PersonInformation-style__patient-information___N2w-U [data-react-toolbox=\\\"avatar\\\"]{height:30px;width:30px;line-height:30px;font-size:2rem}.PersonInformation-style__person-information___Dm7aJ h2,.PersonInformation-style__patient-information___N2w-U h2{display:inline-flex;vertical-align:bottom}.PersonInformation-style__person-information___Dm7aJ .PersonInformation-style__birthday___3sp1y,.PersonInformation-style__patient-information___N2w-U .PersonInformation-style__birthday___3sp1y{white-space:nowrap}.PersonInformation-style__person-information___Dm7aJ .PersonInformation-style__data___2jDWw,.PersonInformation-style__patient-information___N2w-U .PersonInformation-style__data___2jDWw{white-space:nowrap}.PersonInformation-style__person-information___Dm7aJ address,.PersonInformation-style__patient-information___N2w-U address{font-style:normal}.PersonInformation-style__link-name___1UzGY{color:#004ba0;cursor:help;display:inline !important;opacity:1 !important}.PersonInformation-style__link-full-name___nkig5{align-items:center;color:#004ba0;cursor:pointer;display:flex !important;opacity:1 !important}.PersonInformation-style__profession___cYk1C{display:block;font-size:1.5rem;font-weight:300;margin-left:0 !important;margin-top:0}.PersonInformation-style__icon___2dyxc{font-size:20px;padding-left:0.3em;vertical-align:bottom}.PersonInformation-style__info-list___1kKpf{margin:0 1.5rem;list-style:none}.PersonInformation-style__info-list___1kKpf>li{line-height:2rem}.PersonInformation-style__info-span___gJw-q{margin:0 1.5rem}.PersonInformation-style__info-table___vSEKu{text-align:left;width:100%}.PersonInformation-style__info-table___vSEKu th,.PersonInformation-style__info-table___vSEKu td{text-align:left;padding:0.25rem;border-bottom:1px solid #ddd}.PersonInformation-style__info-table___vSEKu th{white-space:nowrap}.PersonInformation-style__info-table___vSEKu tr>th:first-child{width:250px}.PersonInformation-style__info-table___vSEKu.PersonInformation-style__horizontal___2Aaq9 thead th{white-space:normal}.PersonInformation-style__info-table___vSEKu.PersonInformation-style__horizontal___2Aaq9 tbody th{font-weight:normal}.PersonInformation-style__person-information-info-table___GN67n{text-align:left;width:100%}.PersonInformation-style__person-information-info-table___GN67n th,.PersonInformation-style__person-information-info-table___GN67n td{width:50%;text-align:left;vertical-align:top;padding:0.25rem;border-bottom:1px solid #ddd}.PersonInformation-style__person-information-info-table___GN67n tr>th:first-child{width:250px}.PersonInformation-style__person-information-info-table___GN67n.PersonInformation-style__horizontal___2Aaq9 thead th{white-space:normal}.PersonInformation-style__person-information-info-table___GN67n.PersonInformation-style__horizontal___2Aaq9 tbody th{font-weight:normal}tr.PersonInformation-style__sub-info___EIWT->td,li.PersonInformation-style__sub-info___EIWT-,div.PersonInformation-style__sub-info___EIWT-{padding:1rem 4rem 2rem !important}.PersonInformation-style__action-button___1vA6C{min-width:auto !important;padding:0 !important}.PersonInformation-style__mobile-list-buttons___3FBHY{display:flex;flex-direction:column}.PersonInformation-style__mobile-list-buttons___3FBHY .PersonInformation-style__small-button___3_WEW{margin-bottom:0.25rem}.PersonInformation-style__small-button___3_WEW{height:2rem !important;line-height:2rem;font-size:1.25rem}@media (max-width: 641px){.PersonInformation-style__wide-buttons___1TFB_{font-size:1.2rem}}.PersonInformation-style__presence-indicator___uBk9Y>span{border-radius:50%;height:1.25rem;width:1.25rem;margin-left:0.5rem;display:inline-block;background-color:#ccc;box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.2),0 1px 5px 0 rgba(0,0,0,0.12)}.PersonInformation-style__presence-indicator___uBk9Y>span.PersonInformation-style__offline___33NEx{background-color:#ccc}.PersonInformation-style__presence-indicator___uBk9Y>span.PersonInformation-style__online___2I1Q3{background-color:green}.PersonInformation-style__presence-indicator___uBk9Y>span.PersonInformation-style__away___WC8p2{background-color:#ffd900}.PersonInformation-style__presence-indicator___uBk9Y>span.PersonInformation-style__busy___LugDh{background-color:orange}@media print{.PersonInformation-style__presence-indicator___uBk9Y{display:none !important}}@media print{.PersonInformation-style__invitation-list___24gWf{display:none !important}}.PersonInformation-style__decease-info___2vHCq{margin-left:0.5rem}.PersonInformation-style__personal-info-name___ek41-{align-items:center;display:flex}.PersonInformation-style__name-and-death___1Gn6T{align-items:center;display:flex;justify-content:space-between}.PersonInformation-style__name-and-death___1Gn6T .PersonInformation-style__name___2MSd1{align-items:baseline;display:flex}.PersonInformation-style__tooltip___28mw5{vertical-align:middle}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"person-information\": \"PersonInformation-style__person-information___Dm7aJ\",\n\t\"patient-information\": \"PersonInformation-style__patient-information___N2w-U\",\n\t\"header\": \"PersonInformation-style__header___hLxt-\",\n\t\"birthday\": \"PersonInformation-style__birthday___3sp1y\",\n\t\"data\": \"PersonInformation-style__data___2jDWw\",\n\t\"link-name\": \"PersonInformation-style__link-name___1UzGY\",\n\t\"link-full-name\": \"PersonInformation-style__link-full-name___nkig5\",\n\t\"profession\": \"PersonInformation-style__profession___cYk1C\",\n\t\"icon\": \"PersonInformation-style__icon___2dyxc\",\n\t\"info-list\": \"PersonInformation-style__info-list___1kKpf\",\n\t\"info-span\": \"PersonInformation-style__info-span___gJw-q\",\n\t\"info-table\": \"PersonInformation-style__info-table___vSEKu\",\n\t\"horizontal\": \"PersonInformation-style__horizontal___2Aaq9\",\n\t\"person-information-info-table\": \"PersonInformation-style__person-information-info-table___GN67n\",\n\t\"sub-info\": \"PersonInformation-style__sub-info___EIWT-\",\n\t\"action-button\": \"PersonInformation-style__action-button___1vA6C\",\n\t\"mobile-list-buttons\": \"PersonInformation-style__mobile-list-buttons___3FBHY\",\n\t\"small-button\": \"PersonInformation-style__small-button___3_WEW\",\n\t\"wide-buttons\": \"PersonInformation-style__wide-buttons___1TFB_\",\n\t\"presence-indicator\": \"PersonInformation-style__presence-indicator___uBk9Y\",\n\t\"offline\": \"PersonInformation-style__offline___33NEx\",\n\t\"online\": \"PersonInformation-style__online___2I1Q3\",\n\t\"away\": \"PersonInformation-style__away___WC8p2\",\n\t\"busy\": \"PersonInformation-style__busy___LugDh\",\n\t\"invitation-list\": \"PersonInformation-style__invitation-list___24gWf\",\n\t\"decease-info\": \"PersonInformation-style__decease-info___2vHCq\",\n\t\"personal-info-name\": \"PersonInformation-style__personal-info-name___ek41-\",\n\t\"name-and-death\": \"PersonInformation-style__name-and-death___1Gn6T\",\n\t\"name\": \"PersonInformation-style__name___2MSd1\",\n\t\"tooltip\": \"PersonInformation-style__tooltip___28mw5\"\n};","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./ErrorLayout.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./ErrorLayout.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./ErrorLayout.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./autocomplete.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./autocomplete.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./autocomplete.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport styles from \"./SplashScreenLoader.style\";\n\nconst SplashScreenLoader = ({ children, loading }) => {\n return loading ? (\n
\n \n
\n \n
\n
\n ) : (\n children\n );\n};\n\nSplashScreenLoader.propTypes = {\n loading: PropTypes.bool,\n};\n\nexport default SplashScreenLoader;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport styles from \"./Skeleton.styles\";\n\nconst Skeleton = ({ style }) => {\n return
;\n};\n\nSkeleton.propTypes = {\n loading: PropTypes.bool,\n style: PropTypes.shape({\n height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n borderRadius: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n }),\n};\n\nexport default Skeleton;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport Skeleton from \"./Skeleton\";\n\nconst SkeletonLoader = ({ children, loading, style }) => {\n if (loading) {\n return ;\n }\n return children;\n};\n\nSkeletonLoader.propTypes = {\n loading: PropTypes.bool,\n style: PropTypes.shape({\n height: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n borderRadius: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n }),\n};\n\nexport default SkeletonLoader;\n","export { SplashScreenLoader } from \"./SplashScreenLoader\";\nexport { Skeleton, SkeletonLoader } from \"./Skeleton\";\n","exports = module.exports = require(\"../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Priority-style__container___1wju3{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.Priority-style__container___1wju3 .Priority-style__name___l5Myt{margin-right:2rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"container\": \"Priority-style__container___1wju3\",\n\t\"name\": \"Priority-style__name___l5Myt\"\n};","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".InputLabel-module__labeled-input-hint___3dPiX{color:var(--grey-medium-39);margin-top:-8px;margin-bottom:8px}.InputLabel-module__horizontal___3NePc{display:flex;align-items:center;flex-wrap:wrap}.InputLabel-module__horizontal___3NePc .label-container{margin-right:10px}.InputLabel-module__horizontal___3NePc .input-container{flex-grow:1}.InputLabel-module__horizontal___3NePc .help{width:100%}.InputLabel-module__horizontal___3NePc .hide-help{display:none}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"labeled-input-hint\": \"InputLabel-module__labeled-input-hint___3dPiX\",\n\t\"horizontal\": \"InputLabel-module__horizontal___3NePc\"\n};","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@-webkit-keyframes dropDownListInput-style__error-animation___1z9Lp{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}@keyframes dropDownListInput-style__error-animation___1z9Lp{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}.dropDownListInput-style__animate-error___1aeIQ{background:#fff5f5;-webkit-animation:dropDownListInput-style__error-animation___1z9Lp 1s 3 alternate;animation:dropDownListInput-style__error-animation___1z9Lp 1s 3 alternate;border:2px solid #f00}.dropDownListInput-style__animate-error___1aeIQ *:not([data-react-toolbox]){background:transparent !important}.gerudo-input input::-webkit-input-placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input::placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input:disabled{color:#424242 !important;font-weight:400 !important}.gerudo-input input:disabled::-webkit-input-placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.gerudo-input input:disabled::placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.dropDownListInput-style__dropdown___3l6vp>[data-react-toolbox=\\\"font-icon\\\"]{float:left;width:4.8rem;height:4.8rem;font-size:2.4rem !important;line-height:4.8rem !important;text-align:center;color:rgba(0,0,0,0.26);position:relative;top:1.5rem}.dropDownListInput-style__dropdown___3l6vp input{background:#fff;padding:1rem 0 1rem 0.8rem}.dropDownListInput-style__with-icon___2oBQO>[data-react-toolbox=\\\"dropdown\\\"]{margin-left:4.8rem}.dropDownListInput-style__with-icon___2oBQO .dropDownListInput-style__label___1bBLl{margin-left:0}.dropDownListInput-style__with-icon___2oBQO .dropDownListInput-style__error-text___3D74f{margin-left:4.8rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"animate-error\": \"dropDownListInput-style__animate-error___1aeIQ\",\n\t\"error-animation\": \"dropDownListInput-style__error-animation___1z9Lp\",\n\t\"dropdown\": \"dropDownListInput-style__dropdown___3l6vp\",\n\t\"with-icon\": \"dropDownListInput-style__with-icon___2oBQO\",\n\t\"label\": \"dropDownListInput-style__label___1bBLl\",\n\t\"error-text\": \"dropDownListInput-style__error-text___3D74f\"\n};","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./spinnerPlaceholder.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./spinnerPlaceholder.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./spinnerPlaceholder.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import classnames from \"classnames\";\nimport React, { Fragment } from \"react\";\nimport Relay from \"react-relay/classic\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport { Card, CardTitle, CardText } from \"react-toolbox/lib/card\";\n\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { PersonPropTypes } from \"~/src/js/PropTypes/Person\";\n\nimport MobileMediaQuery from \"../../MediaQuery/MobileMediaQuery/index\";\n\nimport style from \"../PersonInformation.style\";\n\nexport const groupDepartmentsByHospitals = (departments) => {\n const departmentsByHospitals = {};\n departments.forEach((department) => {\n if (departmentsByHospitals[department.hospital.id]) {\n departmentsByHospitals[department.hospital.id].departments.push({\n id: department.id,\n name: department.name,\n });\n } else {\n departmentsByHospitals[department.hospital.id] = {\n id: department.hospital.id,\n name: department.hospital.name,\n departments: [{ id: department.id, name: department.name }],\n };\n }\n });\n\n return departmentsByHospitals;\n};\n\nexport const SitesTable = ({ person, className, intl }) => {\n if (!person.departments) {\n return null;\n }\n\n const departmentsByHospitals = Object.values(groupDepartmentsByHospitals(person.departments));\n const t = intl.formatMessage;\n const classNames = classnames(style[\"person-information\"], className);\n\n return (\n person.departments.length > 0 && (\n \n } />\n \n \n {(matches) => {\n if (matches) {\n return (\n
    \n {departmentsByHospitals.map((hospital) =>\n hospital.departments.map((department, index) => (\n
  • \n \n {index === 0 && (\n \n {hospital.name}\n {t(baseI18n.global.colon)}\n \n )}\n {\" \"}\n {department.name}\n
  • \n ))\n )}\n
\n );\n } else {\n return (\n \n \n {departmentsByHospitals.map((hospital) =>\n hospital.departments.map((department, index) => (\n \n \n \n \n ))\n )}\n \n
{index === 0 && hospital.name}{department.name}
\n );\n }\n }}\n
\n
\n
\n )\n );\n};\n\nSitesTable.propTypes = {\n person: PersonPropTypes,\n className: PropTypes.any,\n intl: intlShape,\n};\n\nexport default Relay.createContainer(injectIntl(SitesTable), {\n fragments: {\n person: () => Relay.QL`\n fragment on IPerson {\n ... on Person {\n departments {\n id\n name\n hospital {\n id\n name\n }\n }\n }\n }\n `,\n },\n});\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment } from \"react\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport SplitterLayout from \"react-splitter-layout\";\nimport Button from \"react-toolbox/lib/button\";\nimport { Card, CardTitle, CardText } from \"react-toolbox/lib/card\";\nimport { Modal, ButtonGroup, Button as GerudoButton } from \"@akinoxsolutions/gerudo-ui\";\n\nimport SpinnerPlaceholder from \"~/src/js/components/shared/spinnerPlaceholder\";\nimport { isClientFeatureEnabled, clientFeatureKeys } from \"~/src/js/helpers/features\";\nimport { formatPhoneNumber } from \"~/src/js/helpers/strings\";\nimport PersonAvatar from \"~/src/js/components/accounts/personAvatar\";\nimport Address from \"~/src/js/components/patients/address\";\nimport baseI18n, { getLanguageKey } from \"~/src/messages/base.i18n\";\nimport { SitesTable } from \"~/src/js/components/shared/PersonInformation/SitesTable\";\n\nimport MobileMediaQuery from \"../MediaQuery/MobileMediaQuery/index\";\n\nimport style from \"./PersonInformation.style\";\n\nrequire(\"!style!css!react-splitter-layout/lib/index.css\");\n\nlet VideoDialogModule = null;\n\nfunction getVideoDialog() {\n return new Promise((resolve) => {\n if (VideoDialogModule) {\n resolve(VideoDialogModule);\n return;\n }\n\n require.ensure(\n [],\n (require) => {\n VideoDialogModule = require(\"../../forms/VIDEO/videoDialog\").default;\n resolve(VideoDialogModule);\n },\n \"videoDialog\"\n );\n });\n}\n\nconst fakePresence = {};\n\nconst presences = [\n {\n key: \"offline\",\n title: \"Hors-ligne\",\n },\n {\n key: \"online\",\n title: \"En ligne\",\n },\n {\n key: \"away\",\n title: \"Parti.e\",\n },\n {\n key: \"busy\",\n title: \"Occupé.e\",\n },\n];\n\nexport class PersonInformation extends React.Component {\n static propTypes = {\n person: PropTypes.any.isRequired,\n fullName: PropTypes.any,\n asLink: PropTypes.bool,\n asDialog: PropTypes.bool,\n onDialogClose: PropTypes.func,\n shortName: PropTypes.bool,\n className: PropTypes.string,\n showGenderLetter: PropTypes.bool,\n includeHomePhone: PropTypes.bool,\n style: PropTypes.any,\n intl: intlShape,\n };\n\n state = {\n showDialog: false,\n videoDialogLoaded: false,\n };\n\n constructor() {\n super();\n }\n\n componentDidMount() {\n const v4preview = isClientFeatureEnabled(clientFeatureKeys.V4Preview);\n if (v4preview) {\n getVideoDialog().then(() => this.setState({ videoDialogLoaded: true }));\n }\n }\n\n render() {\n const { onDialogClose, person, className } = this.props;\n\n const closeDialog = () => {\n this.setState({ showDialog: false });\n if (onDialogClose) {\n onDialogClose();\n }\n };\n\n if (this.props.asDialog) {\n const closeDialog = () => onDialogClose();\n\n const actions = (\n \n closeDialog()}>\n \n \n \n );\n\n return (\n closeDialog()}\n actions={() => actions}>\n {this.renderCard()}\n {this.renderLanguages()}\n \n \n );\n }\n\n if (this.props.asLink) {\n const { person, fullName } = this.props;\n let physicianName = person.fullName;\n if (fullName) {\n physicianName = fullName;\n } else if (this.props.shortName) {\n physicianName = person.firstName.charAt(0) + \". \" + person.lastName;\n }\n\n const actions = (\n \n closeDialog()}>\n \n \n \n );\n\n return (\n \n {\n e.preventDefault();\n this.props.relay.setVariables({\n showDialog: true,\n });\n this.setState({ showDialog: true });\n }}>\n {physicianName}\n {this.renderPresence()}\n \n {this.state.showDialog && (\n closeDialog()}\n actions={() => actions}>\n {this.renderCard()}\n {this.renderLanguages()}\n \n \n )}\n \n );\n }\n\n return this.renderCard();\n }\n\n renderPresence(withLabel) {\n const v4preview = isClientFeatureEnabled(clientFeatureKeys.V4Preview);\n if (!v4preview) {\n return null;\n }\n\n const { person } = this.props;\n if (!fakePresence[person.id]) {\n fakePresence[person.id] = presences[Math.floor(Math.random() * Math.floor(presences.length))];\n }\n\n const presence = fakePresence[person.id];\n\n return (\n \n \n {withLabel && {presence.title}}\n \n );\n }\n\n renderCard() {\n const { person, includeHomePhone, intl, className, showGenderLetter } = this.props;\n const classNames = classnames(style[\"person-information\"], className);\n const t = intl.formatMessage;\n const v4preview = isClientFeatureEnabled(clientFeatureKeys.V4Preview);\n\n const details = person.address ? (\n \n {v4preview && (\n
\n

Options de communication

\n
\n )}\n\n \n {(matches) => {\n if (matches) {\n return (\n \n );\n } else {\n return (\n \n \n \n \n \n \n {includeHomePhone && (\n \n \n \n \n )}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {person.preferredLanguage && (\n \n \n \n \n )}\n \n \n \n \n {person.user && person.user.roles && (\n \n \n \n \n )}\n {person.clinicalDomains && (\n \n \n \n \n )}\n \n
{t(baseI18n.patients.address.address)}\n
\n
{t(baseI18n.patients.address.telephoneHome)}\n {person.address.telephoneHome && (\n \n {formatPhoneNumber(\n person.address.telephoneHome,\n person.address.countryCode\n )}\n \n )}\n
{t(baseI18n.patients.address.telephoneWork)}\n {person.address.telephoneWork && (\n \n {formatPhoneNumber(\n person.address.telephoneWork,\n person.address.countryCode\n )}\n \n )}\n
{t(baseI18n.patients.address.telephonePager)}\n {person.address.telephonePager && (\n \n {formatPhoneNumber(\n person.address.telephonePager,\n person.address.countryCode\n )}\n \n )}\n
{t(baseI18n.patients.address.telephoneCellular)}\n {person.address.telephoneCellular && (\n \n {formatPhoneNumber(\n person.address.telephoneCellular,\n person.address.countryCode\n )}\n \n )}\n
{t(baseI18n.patients.address.email)}\n {(person.address.emails || []).map((x) => (\n \n {x}{\" \"}\n \n ))}\n
{t({ id: \"users.preferredCulture\" })}{t(getLanguageKey(person.preferredLanguage))}
{t(baseI18n.global.licenseNumber)}{person.licenseNumber || \"\"}
{t(baseI18n.global.roles)}{person.user.roles.map((x) => x.name).join(\", \")}
{t(baseI18n.global.specialties)}{person.clinicalDomains.map((x) => x.name).join(\", \")}
\n );\n }\n }}\n
\n
\n ) : (\n \n );\n\n const content = (\n \n }\n title={\n \n {person.fullName}\n {showGenderLetter && \" (\" + person.gender[0] + \")\"}\n {person.profession ? (\n {person.profession.name}\n ) : null}\n {this.renderPresence(true)}\n \n }\n />\n {details}\n \n );\n return v4preview && this.state.showVideo && this.state.videoDialogLoaded ? (\n
\n \n {content}\n {\n this.setState({ showVideo: false });\n }}\n />\n )\n \n
\n ) : (\n content\n );\n }\n\n renderLanguages() {\n const { person, className } = this.props;\n\n const classNames = classnames(style[\"person-information\"], className);\n\n return (\n person.userLanguages &&\n person.userLanguages.length > 0 && (\n \n } />\n \n \n \n {person.userLanguages.map(({ language, languageProficiencyLevel }) => {\n return (\n \n \n \n \n );\n })}\n \n
{language.value}{languageProficiencyLevel.value}
\n
\n
\n )\n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(PersonInformation), {\n initialVariables: {\n showDialog: false,\n },\n fragments: {\n person: ({ showDialog }) => Relay.QL`\n fragment on IPerson {\n ${PersonAvatar.getFragment(\"person\")}\n ${SitesTable.getFragment(\"person\").if(showDialog)}\n id\n firstName\n lastName\n fullName\n gender\n address {\n ${Address.getFragment(\"address\")}\n telephoneHome\n telephoneWork\n telephoneCellular\n telephonePager\n emails\n }\n\n profession {\n name\n }\n\n ... on Person @include(if: $showDialog) {\n preferredLanguage\n licenseNumber\n clinicalDomains {\n id\n name\n }\n userLanguages {\n language {\n id\n value\n }\n\n languageProficiencyLevel {\n id\n value\n }\n }\n user {\n roles {\n name\n }\n }\n }\n\n ... on Physician @include(if: $showDialog) {\n preferredLanguage\n licenseNumber\n clinicalDomains {\n id\n name\n }\n }\n }\n `,\n },\n});\n","import PersonInformation from \"./PersonInformation\";\n\nexport { PersonInformation };\n","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".customSlider-theme__customSliderRoot___DaPDM{display:flex}.customSlider-theme__customSliderRoot___DaPDM .customSlider-theme__label___VTKuI{line-height:3rem}.customSlider-theme__customSliderRoot___DaPDM [data-react-toolbox=\\\"slider\\\"]{margin:auto;flex:100}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"customSliderRoot\": \"customSlider-theme__customSliderRoot___DaPDM\",\n\t\"label\": \"customSlider-theme__label___VTKuI\"\n};","import localStorage from \"./localStorage\";\n\nexport const featureKeys = {\n RequestEConsult: \"request.econsult\",\n RequestEConsultCreate: \"request.econsult.create\",\n RequestCreate: \"request.create\",\n RequestCreateGeneric: \"request.create.generic\",\n PatientList: \"patients.list\",\n PatientCreate: \"patients.create\",\n PatientInvitations: \"patients.invitations\",\n UserImport: \"users.import\",\n PersonCreate: \"persons.create\",\n UserList: \"users.list\",\n Statistics: \"statistics\",\n WebRTC: \"videoconference\",\n VideoconferenceMeeting: \"videoconferenceMeeting\",\n PersonAvatars: \"persons.avatars\",\n BodyPartsPicker: \"attachments.bodypartspicker\",\n DicomViewer: \"attachments.dicomviewer\",\n PatientUniqueIdEdit: \"patients.uniqueIdEdit\",\n CanCreatePatientMRN: \"patients.canCreatePatientMRN\",\n PatientMessageSendToEmr: \"patientMessage.sendToEmr\",\n RespEvaSendToEmr: \"respEva.sendToEmr\",\n UserCalendar: \"user.calendar\",\n CanSortCaseList: \"caseSearcher.canSortCaseList\",\n HospitalDirectory: \"user.hospitalDirectory\",\n GenericConsult: {\n SideMenu: \"request.genreq.sidemenu\",\n },\n ThorSurg: {\n HandWrittenSignature: \"request.thorSurg.handwrittenSignature\",\n },\n NotificationApi: \"notificationApi.enabled\",\n};\n\nexport function isEnabled(features: string[], feature: string): boolean {\n return (features || []).indexOf(feature) >= 0;\n}\n\nexport const clientFeatureKeys = {\n FcgaVerticalMode: \"fcga.vertical.mode\",\n ActivityStream: \"activity.stream\",\n CaseGrid: \"case.grid\",\n EConsultPreviousCases: \"cases.econsult.previous\",\n EConsultCreationPage: \"cases.econsult.allowCreationPage\",\n V4Preview: \"cases.v4preview\",\n SignalR: \"signalR\",\n BasicPersonProfile: \"cases.invitations.basicPersonProfile\",\n CasesConfirmPatientAssessmentSubmit: \"cases.confirmPatientAssessmentSubmit\",\n ConsentLabels: \"cases.consentLabels\",\n};\n\nexport function isClientFeatureEnabled(feature: string): boolean {\n if (process.env.NODE_ENV === \"development\") {\n const f = localStorage.getItem(\"atlas:features\");\n if (f) {\n const features = JSON.parse(f);\n if (Object.prototype.hasOwnProperty.call(features, feature)) {\n return features[feature];\n }\n }\n }\n\n if (Object.prototype.hasOwnProperty.call(overwrittenFeatures, feature)) {\n return overwrittenFeatures[feature];\n }\n\n switch (feature) {\n case clientFeatureKeys.FcgaVerticalMode:\n return true;\n case clientFeatureKeys.CaseGrid:\n return false;\n default: {\n const val = (process.env.FEATURES || {})[feature];\n return typeof val === \"string\" ? val === \"true\" : val;\n }\n }\n}\n\nconst overwrittenFeatures = {};\n\nexport function overwriteClientFeature(feature: String, value: Boolean) {\n overwrittenFeatures[feature] = value;\n}\n\nexport function overwriteInitialState(initialState: any, feature: any) {\n return {\n ...initialState,\n ...feature,\n };\n}\n\nexport const overwrittenState = {\n tableView: false,\n};\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport Button from \"react-toolbox/lib/button\";\nimport { MenuItem } from \"react-toolbox/lib/menu\";\n\nimport style from \"../../../../styles/cardList\";\nimport { highlightResults } from \"../../../helpers/strings\";\nimport { renderActions } from \"../../cases/caseRow\";\nimport HighlightedText from \"../../shared/highlightedText\";\nimport { PersonInformation } from \"../../shared/PersonInformation\";\n\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nexport class PhysicianRow extends React.Component {\n static propTypes = {\n physician: PropTypes.object,\n viewer: PropTypes.object,\n query: PropTypes.string,\n className: PropTypes.string,\n onSelect: PropTypes.func,\n selectLabel: PropTypes.string,\n selectUrl: PropTypes.string,\n showDialog: PropTypes.bool,\n onDialogClose: PropTypes.func,\n onEditClick: PropTypes.func,\n };\n\n t(key, params) {\n return this.props.intl.formatMessage(key, params);\n }\n\n getProfileUrl(p: any, allowNull?: boolean): string {\n if (this.props.selectUrl) {\n return this.props.selectUrl.replace(\"{id}\", p.id);\n }\n return allowNull ? null : \"#\";\n }\n\n selectPhysician(e: Event, p: any): void {\n if (this.props.onSelect) {\n this.props.onSelect(p);\n }\n\n if (!this.props.selectUrl) {\n e.preventDefault();\n }\n }\n\n render() {\n const {\n physician: p,\n intl,\n query,\n className,\n selectLabel,\n showDialog,\n onDialogClose,\n onEditClick,\n viewer, // eslint-disable-line no-unused-vars\n onSelect, // eslint-disable-line no-unused-vars\n selectUrl, // eslint-disable-line no-unused-vars\n ...other\n } = this.props;\n\n const h = highlightResults.bind(undefined, query);\n let ageText = \"\";\n if (p.age !== null && p.age !== undefined) {\n ageText =\n \" (\" +\n intl.formatMessage(baseI18n.global.age, {\n age: p.age,\n }) +\n \")\";\n }\n\n const moreActions = [];\n if (onEditClick) {\n moreActions.push(\n onEditClick(p)}\n caption={intl.formatMessage(baseI18n.global.edit)}\n />\n );\n }\n\n return (\n
\n
\n
\n
\n \n }\n showGenderLetter\n asLink\n showDialog={showDialog}\n onDialogClose={onDialogClose}\n className={style[\"department-info\"]}\n />\n \n \n \n \n

\n \n \n {p.clinicalDomains && p.clinicalDomains.length > 0 && (\n \n {\" (\"}\n {intl.formatMessage(baseI18n.global.specialties)}\n {intl.formatMessage(baseI18n.global.colon)}{\" \"}\n {p.clinicalDomains.map((x) => x.name).join(\", \")})\n \n )}\n \n

\n
\n
\n
\n 0 ? style[\"action-open\"] : style[\"action-open-full\"]}\n label={selectLabel || this.t(baseI18n.global.select)}\n primary\n raised\n onClick={(e) => this.selectPhysician(e, p)}\n href={this.getProfileUrl(p)}\n />\n {renderActions(moreActions, style)}\n
\n
\n
\n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(PhysicianRow), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n }\n `,\n physician: () => Relay.QL`\n fragment on Physician {\n id\n firstName\n lastName\n fullName\n gender\n licenseNumber\n birthday\n age\n address {\n address\n city\n postalCode\n provinceCode\n countryCode\n telephoneWork\n telephoneCellular\n messaging\n emails\n }\n clinicalDomains {\n id\n name\n }\n ${PersonInformation.getFragment(\"person\")}\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nimport PhysicianRow from \"./physicianRow\";\n\nexport default class AddPhysicianMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(AddPhysicianMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { addPhysician }`;\n }\n\n getVariables() {\n return {\n physicianId: this.props.physicianId,\n physician: this.props.physician,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on AddPhysicianPayload {\n viewer\n physician {\n id\n fullName\n firstName\n lastName\n address {\n emails\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on AddPhysicianPayload {\n physician {\n ${PhysicianRow.getFragment(\"physician\")}\n }\n }\n `,\n ],\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"physicians\",\n edgeName: \"physician\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n}\n","import throttle from \"lodash.throttle\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { Button } from \"react-toolbox/lib/button\";\nimport Input from \"react-toolbox/lib/input\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport cardListStyle from \"../../../../styles/cardList\";\n\nimport PhysicianRow from \"./physicianRow\";\n\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nclass PhysicianSearch extends React.Component {\n static propTypes = {\n viewer: PropTypes.object,\n onSelect: PropTypes.func,\n selectUrl: PropTypes.string,\n onEditClick: PropTypes.func,\n intl: intlShape,\n };\n\n constructor(props) {\n super(props);\n this.state = {\n searching: false,\n loadingMore: false,\n };\n\n this.search = throttle(this.search.bind(this), 750, {\n leading: false,\n });\n }\n\n render() {\n const { intl } = this.props;\n const t = intl.formatMessage;\n const inputLabel = t(baseI18n.patients.familyPhysician.searchLabel);\n return (\n
\n
\n \n \n \n
\n
\n {this.renderResults()}\n
\n );\n }\n\n renderResults() {\n const physicians = this.props.viewer.physicians;\n if (!physicians || physicians.edges.length === 0) {\n return

{this.props.intl.formatMessage(baseI18n.patients.familyPhysician.noneFound)}

;\n }\n\n const hasNextPage = physicians.pageInfo.hasNextPage;\n const moreLabel = this.props.intl.formatMessage(baseI18n.global.more);\n return (\n
\n
    \n {physicians.edges.map((x) => (\n this.select(p)}\n selectUrl={this.props.selectUrl}\n onEditClick={this.props.onEditClick}\n />\n ))}\n
\n {hasNextPage ? (\n
\n \n
\n ) : null}\n
\n );\n }\n\n select(p): void {\n if (this.props.onSelect) {\n this.props.onSelect(p, this.props.viewer.physicians);\n }\n }\n\n setQuery(query): void {\n this.search(query);\n }\n\n loadMore(): void {\n const first = this.props.relay.variables.first + initialVariables.first;\n this.setState({ loadingMore: true });\n this.props.relay.setVariables({ first }, (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ loadingMore: false });\n }\n });\n }\n\n search(query: string): void {\n this.setState({ searching: true });\n this.props.relay.setVariables(\n {\n query: query || null,\n },\n (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ searching: false });\n }\n }\n );\n }\n}\n\nconst initialVariables = {\n query: null,\n first: 12,\n};\nexport default Relay.createContainer(injectIntl(PhysicianSearch), {\n initialVariables,\n fragments: {\n viewer: ({ query }) => Relay.QL`\n fragment on RootQuery {\n features\n ${PhysicianRow.getFragment(\"viewer\")}\n\n physicians(q: $query, first: $first) {\n edges {\n node {\n ${PhysicianRow.getFragment(\"physician\", { query })}\n id\n }\n }\n pageInfo {\n hasNextPage\n }\n }\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nimport PhysicianRow from \"./physicianRow\";\n\nexport default class UpdatePhysicianMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(UpdatePhysicianMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { updatePhysician }`;\n }\n\n getVariables() {\n return {\n physicianId: this.props.physicianId,\n physician: this.props.physician,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on UpdatePhysicianPayload {\n physician {\n id\n fullName\n firstName\n lastName\n address {\n emails\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on UpdatePhysicianPayload {\n physician {\n fullName\n firstName\n lastName\n ${PhysicianRow.getFragment(\"physician\")}\n }\n }\n `,\n ],\n },\n ];\n }\n}\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { CancelCircleIcon, CaretIcon } from \"@akinoxsolutions/gerudo-ui\";\n\nimport styles from \"./PhysicianInputActions.styles\";\n\nconst PhysicianInputActions = ({ allowClear, onClear, onDown }) => {\n return (\n
\n {allowClear && (\n onClear()}\n className={styles[\"icons\"]}>\n \n \n )}\n onDown()} className={styles[\"icons\"]}>\n \n \n
\n );\n};\n\nPhysicianInputActions.propTypes = {\n allowClear: PropTypes.bool,\n onClear: PropTypes.func,\n onDown: PropTypes.func,\n};\n\nexport default PhysicianInputActions;\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n addPhysician: {\n id: \"physicians.addPhysician\",\n description: \"Add a physician label\",\n defaultMessage: \"Add physician\",\n },\n editPhysician: {\n id: \"physicians.editPhysician\",\n description: \"Edit a physician label\",\n defaultMessage: \"Edit physician\",\n },\n selectPhysician: {\n id: \"physicians.selectPhysician\",\n description: \"Select a physician label\",\n defaultMessage: \"Select physician\",\n },\n currentlySelected: {\n id: \"physicians.currentlySelected\",\n description: \"Currently selected physician\",\n defaultMessage: \"Currently selected\",\n },\n});\nexport default messages;\n","import classnames from \"classnames\";\nimport Formsy, { withFormsy } from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { FormattedMessage, injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport Button from \"react-toolbox/lib/button\";\nimport { Modal, Button as GerudoButton, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { TextInput } from \"~/src/js/components/shared/inputs/TextInput/TextInput\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport inputStyle from \"../../../../styles/theme/main/input\";\nimport { getErrors, handleFormsyInvalidSubmit } from \"../../../helpers/errors\";\nimport PersonProfileFields, {\n buildPhysician,\n} from \"../../accounts/personProfile/personProfileFields\";\n\nimport AddPhysicianMutation from \"./addPhysicianMutation\";\nimport PhysicianRow from \"./physicianRow\";\nimport PhysicianSearch from \"./physicianSearch\";\nimport UpdatePhysicianMutation from \"./updatePhysicianMutation\";\nimport { PhysicianInputActions } from \"./PhysicianInputActions\";\nimport styles from \"./physicianInput.styles\";\n\nimport messages from \"./physicians.i18n\";\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nexport class PhysicianInput extends React.Component {\n static propTypes = {\n viewer: PropTypes.any,\n physician: PropTypes.any,\n label: PropTypes.string.isRequired,\n value: PropTypes.any,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n required: PropTypes.bool,\n autoFocus: PropTypes.bool,\n autoOk: PropTypes.bool,\n maxDate: PropTypes.object,\n minDate: PropTypes.object,\n className: PropTypes.string,\n onChange: PropTypes.func,\n intl: intlShape,\n allowCreation: PropTypes.bool,\n errorMessage: PropTypes.string,\n showError: PropTypes.bool,\n isPristine: PropTypes.bool,\n isFormSubmitted: PropTypes.bool,\n };\n\n state = {\n active: false,\n };\n\n onSelect(e) {\n const id = e ? e.id : null;\n this.props.setValue(id);\n\n if (this.props.onChange) {\n this.props.onChange(e);\n }\n }\n\n handleDismiss() {\n this.setState({ active: false });\n }\n\n render() {\n const errorMessage = this.props.errorMessage || this.state.error;\n const { label, physician, isPristine, isFormSubmitted, showError } = this.props;\n const commonInputProps = {\n isPristine,\n isFormSubmitted,\n showError,\n errorMessage,\n };\n const d = this.props.value;\n const topClassNames = classnames({\n [inputStyle[\"required-field\"]]: this.props.isRequired && !d,\n });\n\n return (\n \n );\n }\n\n renderDialog() {\n const { intl, viewer, physician } = this.props;\n const closeDialog = () => this.setState({ active: false });\n const t = intl.formatMessage;\n const actions =\n this.state.addPhysician || this.state.editingPhysician ? (\n \n this.setState({ addPhysician: false, editingPhysician: null })}>\n \n \n this.physicianForm.submit()}>\n \n \n \n ) : (\n \n \n \n \n \n );\n\n return (\n actions}\n dataTestId=\"addPhysicianModal\">\n {this.state.editingPhysician && this.renderEditForm()}\n {this.state.addPhysician && this.renderAddForm()}\n {!this.state.addPhysician && !this.state.editingPhysician && (\n
\n {physician &&

{t(messages.currentlySelected)}

}\n {physician && (\n {\n this.onSelect(p);\n closeDialog();\n }}\n onEditClick={(p) => {\n this.setState({ editingPhysician: p });\n }}\n />\n )}\n\n {this.props.allowCreation && (\n this.setState({ addPhysician: true })}\n icon=\"add_circle\"\n label={t(messages.addPhysician)}\n primary\n raised\n />\n )}\n {\n this.onSelect(p);\n closeDialog();\n }}\n onEditClick={(p) => {\n this.setState({ editingPhysician: p });\n }}\n />\n
\n )}\n \n );\n }\n\n handleSave(data, isEditing) {\n this.setState({ saving: true, errors: [] });\n const params = {\n viewer: this.props.viewer,\n physicianId: isEditing ? this.state.editingPhysician.id : \"\",\n physician: buildPhysician(data),\n };\n Relay.Store.commitUpdate(\n isEditing ? new UpdatePhysicianMutation(params) : new AddPhysicianMutation(params),\n {\n onSuccess: (d) => {\n if (isEditing) {\n // Show list again.\n\n this.setState({\n saving: false,\n editingPhysician: null,\n });\n const physician = d.updatePhysician.physician;\n this.onSelect(physician);\n } else {\n const physician = d.addPhysician.physician;\n this.onSelect(physician);\n\n this.setState({\n saving: false,\n addPhysician: false,\n active: false,\n });\n }\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({\n errors: this.state.errors.concat(errors),\n saving: false,\n });\n });\n },\n }\n );\n }\n\n renderAddForm() {\n const { intl, viewer } = this.props;\n const t = intl.formatMessage;\n\n const newPhysician = {\n __typename: \"Physician\",\n address: {\n countryCode: \"CA\",\n provinceCode: \"QC\",\n },\n permissions: {},\n };\n return (\n
\n this.handleSave(data)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.physicianForm)}\n noValidate\n ref={(form) => (this.physicianForm = form)}\n className={formStyle[\"card-form\"]}>\n \n\n \n \n
\n );\n }\n\n renderEditForm() {\n const { intl, viewer } = this.props;\n const t = intl.formatMessage;\n\n return (\n
\n this.handleSave(data, true)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.physicianForm)}\n noValidate\n ref={(form) => (this.physicianForm = form)}\n className={formStyle[\"card-form\"]}>\n \n\n \n \n
\n );\n }\n}\n\nexport default Relay.createContainer(withFormsy(injectIntl(PhysicianInput)), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n ${PhysicianSearch.getFragment(\"viewer\")}\n ${PersonProfileFields.getFragment(\"viewer\")}\n ${PhysicianRow.getFragment(\"viewer\")}\n }\n `,\n physician: () => Relay.QL`\n fragment on Physician {\n id\n fullName\n ${PhysicianRow.getFragment(\"physician\")}\n ${PersonProfileFields.getFragment(\"physician\")}\n }\n `,\n },\n});\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".alert-styles__alert___3MaTb{padding:2rem}.alert-styles__alert-warning___LNFv0{background-color:#fff8e1;color:#a67e05;border:1px solid #ffecb3;border-radius:1rem}.alert-styles__alert-info___OVnb6{background-color:white;color:#333;border:1px solid #bdbdbd;border-radius:1rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"alert\": \"alert-styles__alert___3MaTb\",\n\t\"alert-warning\": \"alert-styles__alert-warning___LNFv0\",\n\t\"alert-info\": \"alert-styles__alert-info___OVnb6\"\n};","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./slider.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./slider.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./slider.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".ScheduleVideoConferenceDialog-style__dates-input-container___meHPQ{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;width:100%}.ScheduleVideoConferenceDialog-style__dates-input-container___meHPQ .ScheduleVideoConferenceDialog-style__item___2suIx{padding-right:2rem;flex:1;min-width:200px}.ScheduleVideoConferenceDialog-style__dates-input-container___meHPQ .ScheduleVideoConferenceDialog-style__item___2suIx:last-child{padding-right:0}.ScheduleVideoConferenceDialog-style__no-provider-message___Yj4T6{padding-bottom:2rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"dates-input-container\": \"ScheduleVideoConferenceDialog-style__dates-input-container___meHPQ\",\n\t\"item\": \"ScheduleVideoConferenceDialog-style__item___2suIx\",\n\t\"no-provider-message\": \"ScheduleVideoConferenceDialog-style__no-provider-message___Yj4T6\"\n};","exports = module.exports = require(\"../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Consultation-style__consent-by-container___2N_Op{display:flex;flex-direction:column;align-items:center;justify-content:center}.Consultation-style__consent-by-container___2N_Op .Consultation-style__toggle___1e4aw{width:100%}.Consultation-style__start-filling-form-button___cIeF1{width:100%}.Consultation-style__send-oasis-alert___1NgQ0{padding:1rem;margin-top:1rem;margin-bottom:1rem}.Consultation-style__send-oasis-alert___1NgQ0 .Consultation-style__send-oasis-alert-content___17fpC{display:flex}.Consultation-style__send-oasis-alert___1NgQ0 .Consultation-style__send-oasis-alert-text___1XBWA{display:flex;flex-direction:column;padding-left:1rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"consent-by-container\": \"Consultation-style__consent-by-container___2N_Op\",\n\t\"toggle\": \"Consultation-style__toggle___1e4aw\",\n\t\"start-filling-form-button\": \"Consultation-style__start-filling-form-button___cIeF1\",\n\t\"send-oasis-alert\": \"Consultation-style__send-oasis-alert___1NgQ0\",\n\t\"send-oasis-alert-content\": \"Consultation-style__send-oasis-alert-content___17fpC\",\n\t\"send-oasis-alert-text\": \"Consultation-style__send-oasis-alert-text___1XBWA\"\n};","import PropTypes from \"prop-types\";\n\nimport { PatientPropTypes } from \"../Case/index\";\n\nexport const HospitalPatientPropTypes = PropTypes.shape({\n id: PropTypes.string,\n uniqueId: PropTypes.string,\n externalIdentifier: PropTypes.string,\n patient: PatientPropTypes,\n});\n","import PropTypes from \"prop-types\";\n\nimport { DateTimePropTypes } from \"../DateTime/index\";\n\nimport { HospitalPatientPropTypes } from \"./HospitalPatientPropTypes\";\n\nexport const HospitalPropTypes = PropTypes.shape({\n id: PropTypes.string,\n legacyId: PropTypes.string,\n name: PropTypes.string,\n hasExternalSource: PropTypes.bool,\n createdAt: DateTimePropTypes,\n updatedAt: DateTimePropTypes,\n patients: HospitalPatientPropTypes,\n similarPatients: HospitalPatientPropTypes,\n permissions: PropTypes.shape({\n canQuickCreatePatient: PropTypes.bool,\n }),\n});\n","import { HospitalPropTypes } from \"./HospitalPropTypes\";\n\nexport { HospitalPropTypes };\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { Card } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { showDialogNotice } from \"../../stores/app/actions\";\n\nimport HealthInsuranceFields, { build as buildHealthInsurance } from \"./healthInsuranceFields\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\nimport patientI18n from \"./patients.i18n\";\n\nexport function build(parentData: any, healthInsurance: any): any {\n return buildHealthInsurance(parentData, healthInsurance);\n}\n\nexport function checkPatientInformation(pi, foundPatient, hasChanged, intl, dispatch) {\n // eslint-disable-next-line no-underscore-dangle\n if (pi && (!foundPatient || foundPatient.__dataID__ !== pi.__dataID__)) {\n hasChanged(pi);\n let message = \"\",\n type = \"accept\";\n if (pi.isFound) {\n if (pi.isAdmissible) {\n message = intl.formatMessage(patientI18n.patientDiscovered);\n } else {\n message = intl.formatMessage(patientI18n.patientNotAdmissible);\n type = \"warning\";\n }\n } else {\n message = intl.formatMessage(patientI18n.patientNotDiscovered);\n type = \"warning\";\n }\n\n if (pi.message) {\n message += \" (\" + pi.message + \")\";\n }\n\n if (message) {\n dispatch(showDialogNotice(message, type));\n }\n }\n}\n\nexport class _HealthInsuranceFieldset extends React.Component {\n static propTypes = {\n healthInsurance: PropTypes.object.isRequired,\n overrideRequired: PropTypes.bool,\n viewer: PropTypes.object.isRequired,\n autoFocusNumber: PropTypes.bool,\n intl: intlShape,\n dispatch: PropTypes.func,\n onPatientDiscovered: PropTypes.func,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n provinceCode: props.healthInsurance.provinceCode || \"QC\",\n };\n }\n\n componentDidUpdate() {\n checkPatientInformation(\n this.props.viewer.patientInformation,\n this.state.foundPatient,\n (pi) => {\n this.setState({ foundPatient: pi });\n if (this.props.onPatientDiscovered) {\n this.props.onPatientDiscovered(pi);\n }\n },\n this.props.intl,\n this.props.dispatch\n );\n }\n\n render() {\n const f = this.props.intl.formatMessage;\n const { viewer, healthInsurance, autoFocusNumber, overrideRequired } = this.props;\n const cardTitle =\n (this.state.provinceCode || \"QC\") === \"QC\"\n ? f(baseI18n.patients.ramq.fieldsetLabel)\n : f(baseI18n.patients.ramq.fieldsetHealthInsuranceLabel);\n return (\n \n {\n this.setState({ healthInsuranceNumber: n });\n this.props.relay.setVariables({\n patientIdentifier: n,\n hasPatientIdentifier: true,\n });\n }}\n onProvinceChanged={(e) => {\n this.setState({ provinceCode: e });\n this.props.relay.setVariables({\n provinceCode: e,\n });\n }}\n />\n \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(connect()(_HealthInsuranceFieldset)), {\n initialVariables: {\n patientIdentifier: null,\n hasPatientIdentifier: false,\n provinceCode: \"QC\",\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${HealthInsuranceFields.getFragment(\"viewer\")}\n\n patientInformation(\n countryCode: \"CA\",\n provinceCode: $provinceCode,\n identifier: $patientIdentifier\n ) @include(if: $hasPatientIdentifier) {\n isFound\n isAdmissible\n firstName\n lastName\n birthday\n gender\n message\n }\n }\n `,\n healthInsurance: () => Relay.QL`\n fragment on PatientHealthInsurance {\n ${HealthInsuranceFields.getFragment(\"healthInsurance\")}\n }\n `,\n },\n});\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".style__sticky-footer___2FEoA{display:flex;align-items:center;position:fixed;padding:1rem 2rem;bottom:0;left:25rem;right:0;z-index:100;width:auto;background:#f2f2f2;border-radius:4px}@media print{.style__sticky-footer___2FEoA{display:none !important}}@media screen and (max-width: 960px){.style__sticky-footer___2FEoA{left:0}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"sticky-footer\": \"style__sticky-footer___2FEoA\"\n};","import Relay from \"react-relay/classic\";\n\nexport default class UpdatePersonMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(UpdatePersonMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { updatePerson }`;\n }\n\n getVariables() {\n return {\n personId: this.props.personId,\n person: this.props.person,\n updateUser: this.props.updateUser || false,\n user: this.props.user,\n userPassword: this.props.userPassword,\n inviteUser: this.props.inviteUser || false,\n invitationText: this.props.invitationText,\n networkIds: this.props.networkIds,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on UpdatePersonPayload {\n person {\n userName\n fullName\n firstName\n lastName\n profession\n gender\n licenseNumber\n clinicalDomains\n theme\n birthday\n age\n emails\n pictureUrl\n address {\n address\n city\n provinceCode\n provinceName\n countryCode\n postalCode\n telephoneHome\n telephoneWork\n telephoneCellular\n telephonePager\n messaging\n email\n emails\n }\n preferredLanguage,\n isActive\n isReferMD\n user {\n id\n userName\n email\n roles {\n id\n name\n }\n isLockedOut\n isTwoFactorEnabled\n invitationInformation {\n userIsConfirmed\n invitedOn\n invitationText\n }\n accessRequest {\n approvedOn\n }\n permissions {\n canResetPassword\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on UpdatePersonPayload {\n person {\n userName\n fullName\n firstName\n lastName\n profession\n gender\n licenseNumber\n clinicalDomains\n theme\n birthday\n age\n emails\n pictureUrl\n address {\n address\n city\n provinceCode\n provinceName\n countryCode\n postalCode\n telephoneHome\n telephoneWork\n telephoneCellular\n telephonePager\n messaging\n email\n emails\n }\n preferredLanguage,\n isActive\n isReferMD\n user {\n id\n userName\n email\n roles {\n id\n name\n }\n isLockedOut\n isTwoFactorEnabled\n invitationInformation {\n userIsConfirmed\n invitedOn\n invitationText\n }\n accessRequest {\n approvedOn\n }\n permissions {\n canResetPassword\n }\n }\n }\n }\n `,\n ],\n },\n ];\n }\n}\n","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./formattedRelative.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./formattedRelative.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./formattedRelative.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","export { default as ErrorCard } from \"./errorCard\";\nexport { ClinicianHeader, PatientHeader } from \"./header\";\nexport Mrn from \"./header/Mrn\";\nexport { default as FormattedDate } from \"./formattedDate\";\nexport { default as FormattedDateTime } from \"./formattedDateTime\";\n","exports = module.exports = require(\"../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".NoteTitleWithCount-style__title___35i9t{display:flex;flex-direction:row;align-items:center}.NoteTitleWithCount-style__title___35i9t .NoteTitleWithCount-style__title-icon-container___1lqPs{display:flex;flex-direction:row;margin-right:2rem;align-items:center}.NoteTitleWithCount-style__title___35i9t .NoteTitleWithCount-style__title-icon-container___1lqPs .NoteTitleWithCount-style__icon___2BBPu{margin-right:1rem}.NoteTitleWithCount-style__title___35i9t .NoteTitleWithCount-style__chip___dZP20{background-color:#00aeab;color:#fff;line-height:2.5rem;padding:0 0.85rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"title\": \"NoteTitleWithCount-style__title___35i9t\",\n\t\"title-icon-container\": \"NoteTitleWithCount-style__title-icon-container___1lqPs\",\n\t\"icon\": \"NoteTitleWithCount-style__icon___2BBPu\",\n\t\"chip\": \"NoteTitleWithCount-style__chip___dZP20\"\n};","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".tooltip__tooltip___3i2bS{z-index:500 !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"tooltip\": \"tooltip__tooltip___3i2bS\"\n};","import PropTypes from \"prop-types\";\n\nexport const NOTIFICATION_METHOD = {\n EMAIL: 0,\n SMS: 1,\n};\n\nexport const NotificationMethodPropTypes = PropTypes.oneOf(Object.values(NOTIFICATION_METHOD));\n","import PropTypes from \"prop-types\";\n\nimport { UserPropTypes } from \"~/src/js/PropTypes/User\";\n\nimport { NotificationMethodPropTypes } from \"./NotificationMethodPropTypes\";\n\nexport const ParticipantPropTypes = PropTypes.shape({\n id: PropTypes.string,\n notificationMethod: NotificationMethodPropTypes,\n participant: UserPropTypes,\n});\n","import PropTypes from \"prop-types\";\n\nimport { PatientPropTypes, RequesterPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { DateTimePropTypes } from \"~/src/js/PropTypes/DateTime/index\";\nimport { MessagePropTypes } from \"~/src/js/components/shared/Conversation/PropTypes\";\nimport { PersonPropTypes } from \"~/src/js/PropTypes/Person\";\nimport { DepartmentPropTypes } from \"~/src/js/PropTypes/Department/index\";\n\nimport { ParticipantPropTypes } from \"./ParticipantPropTypes\";\n\nexport const PatientConversationPropTypes = PropTypes.shape({\n id: PropTypes.string,\n lookupId: PropTypes.string,\n patient: PatientPropTypes,\n department: DepartmentPropTypes,\n requester: RequesterPropTypes,\n allowPatientToRespond: PropTypes.bool,\n createdOn: DateTimePropTypes,\n updatedOn: DateTimePropTypes,\n completedOn: DateTimePropTypes,\n completedBy: PersonPropTypes,\n participants: PropTypes.arrayOf(ParticipantPropTypes),\n messages: PropTypes.arrayOf(MessagePropTypes),\n requestClassificationId: PropTypes.string,\n ramqCodes: PropTypes.arrayOf(PropTypes.string),\n communicationTopicId: PropTypes.string,\n communicationTopicDetails: PropTypes.string,\n completionReason: PropTypes.string,\n});\n","import { NotificationMethodPropTypes, NOTIFICATION_METHOD } from \"./NotificationMethodPropTypes\";\nimport { PatientConversationPropTypes } from \"./PatientConversationPropTypes\";\n\nexport { PatientConversationPropTypes, NotificationMethodPropTypes, NOTIFICATION_METHOD };\n","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".appBarIcons-style__root___2tnPy{margin-left:auto;display:flex;align-items:center;justify-content:flex-end}.appBarIcons-style__root___2tnPy>*{display:inline-block}.appBarIcons-style__root___2tnPy .appBarIcons-style__icon___z4bMj{margin-right:1rem}.appBarIcons-style__root___2tnPy .appBarIcons-style__icon___z4bMj>[data-react-toolbox=\\\"font-icon\\\"]{vertical-align:middle;cursor:pointer}.appBarIcons-style__root___2tnPy .appBarIcons-style__icon___z4bMj>[data-react-toolbox=\\\"font-icon\\\"],.appBarIcons-style__root___2tnPy .appBarIcons-style__icon___z4bMj button>[data-react-toolbox=\\\"font-icon\\\"],.appBarIcons-style__root___2tnPy .appBarIcons-style__icon___z4bMj>form [data-react-toolbox=\\\"input\\\"] [data-react-toolbox=\\\"font-icon\\\"]{color:#fff}.appBarIcons-style__root___2tnPy .appBarIcons-style__icon___z4bMj:hover>[data-react-toolbox=\\\"font-icon\\\"],.appBarIcons-style__root___2tnPy .appBarIcons-style__icon___z4bMj:hover button>[data-react-toolbox=\\\"font-icon\\\"],.appBarIcons-style__root___2tnPy .appBarIcons-style__icon___z4bMj:hover>[data-react-toolbox=\\\"input\\\"] [data-react-toolbox=\\\"font-icon\\\"]{opacity:0.75}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"root\": \"appBarIcons-style__root___2tnPy\",\n\t\"icon\": \"appBarIcons-style__icon___z4bMj\"\n};","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { formatHealthInsuranceNumber } from \"../../helpers/strings\";\n\nfunction HealthInsurance({ healthInsurance, includeExpiration }) {\n let result = formatHealthInsuranceNumber(healthInsurance);\n if (healthInsurance.expiration && includeExpiration) {\n result += (result ? \" \" : \"\") + healthInsurance.expiration.substr(0, 7);\n }\n\n return {result};\n}\n\nHealthInsurance.propTypes = {\n intl: intlShape,\n healthInsurance: PropTypes.any.isRequired,\n includeExpiration: PropTypes.bool,\n};\n\nexport default Relay.createContainer(injectIntl(HealthInsurance), {\n fragments: {\n healthInsurance: () => Relay.QL`\n fragment on PatientHealthInsurance {\n number\n provinceCode\n expiration\n }\n `,\n },\n});\n","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".style__error___3B1KW{margin-top:-16px;font-size:1.2rem;color:#de3226}.style__avatar___jZmtX{background-color:transparent;width:4rem;height:4rem}.style__table___1q_n2{min-width:600px}.style__table___1q_n2 td,.style__table___1q_n2 th{line-height:2}.style__table___1q_n2.style__with-actions___2VUkB td:last-of-type{white-space:nowrap}.style__table___1q_n2.style__with-header___22oTN{font-size:1em}.style__table___1q_n2.style__with-header___22oTN thead{text-transform:uppercase}.style__table___1q_n2.style__with-header___22oTN td:last-of-type{text-align:end}.style__table___1q_n2.style__with-header___22oTN td [data-react-toolbox=\\\"font-icon\\\"]{font-size:30px}.style__autocomplete___2CGmL{display:flex;flex-direction:column}.style__autocomplete___2CGmL [data-react-toolbox=\\\"autocomplete\\\"]{width:100%}.style__autocomplete___2CGmL [data-react-toolbox=\\\"chip\\\"]{background-color:#fff;border:1px solid #d7d7d7;margin-top:15px;margin-bottom:-10px}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"error\": \"style__error___3B1KW\",\n\t\"avatar\": \"style__avatar___jZmtX\",\n\t\"table\": \"style__table___1q_n2\",\n\t\"with-actions\": \"style__with-actions___2VUkB\",\n\t\"with-header\": \"style__with-header___22oTN\",\n\t\"autocomplete\": \"style__autocomplete___2CGmL\"\n};","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport Button from \"react-toolbox/lib/button\";\nimport { List, ListItem, ListSubHeader } from \"react-toolbox/lib/list\";\n\nimport { parseToCalendarDate, serializeDate } from \"../../helpers/dates\";\nimport { formatHealthInsuranceNumber } from \"../../helpers/strings\";\nimport FormattedDate from \"../shared/formattedDate\";\nimport GenderAvatar from \"../shared/genderAvatar\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\nimport style from \"./addPatient.style\";\nimport patientTranslations from \"./patients.i18n\";\n\nexport type SimilarPatientStatus = {\n required: boolean,\n isUniqueId: boolean,\n isHealthInsuranceNumber: boolean,\n isDemographic: boolean,\n};\n\nexport function getSimilarPatientStatus(similarPatients, parameters): SimilarPatientStatus {\n const result = {\n required: false,\n isUniqueId: false,\n isHealthInsuranceNumber: false,\n isDemographic: false,\n };\n if (!parameters) {\n return result;\n }\n\n const sp = similarPatients;\n if (!sp || sp.edges.length === 0) {\n return result;\n }\n\n const model = parameters;\n const { uniqueId, healthInsuranceNumber, birthday, firstName, lastName } = model;\n const node = sp.edges[0].node;\n if (sp && sp.edges.length === 1) {\n result.isUniqueId = uniqueId === node.uniqueId;\n result.isHealthInsuranceNumber =\n healthInsuranceNumber &&\n healthInsuranceNumber.toUpperCase() ===\n formatHealthInsuranceNumber(node.patient.healthInsurance);\n result.required = result.isUniqueId || result.isHealthInsuranceNumber;\n }\n\n result.isDemographic =\n birthday &&\n node.patient.demographic.birthday === serializeDate(birthday) &&\n node.patient.demographic.firstName === firstName &&\n node.patient.demographic.lastName === lastName;\n\n return result;\n}\n\nexport class _SimilarPatients extends React.Component {\n static propTypes = {\n similarPatients: PropTypes.arrayOf(PropTypes.object),\n onSimilarPatientSelected: PropTypes.func,\n required: PropTypes.bool,\n canShow: PropTypes.bool,\n };\n\n constructor() {\n super();\n }\n\n render() {\n const sp = this.props.similarPatients;\n const t = this.props.intl.formatMessage;\n if (sp && sp.length > 0 && this.props.canShow) {\n const classes = [\"similar-patients-box\", \"visible\"];\n if (this.props.required) {\n classes.push(\"required\");\n }\n\n return (\n
style[x]).join(\" \")}>\n \n \n {sp.map((x) => (\n }\n caption={\n \n {x.patient.demographic.fullName} (\n {t(patientTranslations.birthdayAbbreviation) + t(baseI18n.global.colon)}{\" \"}\n )\n \n }\n legend={\n formatHealthInsuranceNumber(x.patient.healthInsurance) + \" (#\" + x.uniqueId + \")\"\n }\n rightActions={[\n this.props.onSimilarPatientSelected(x)}\n style={{ padding: \"0 1.2rem\", fontSize: \"1rem\" }}\n primary\n raised\n />,\n ]}\n />\n ))}\n \n
\n );\n }\n\n return
;\n }\n}\n\nexport default injectIntl(_SimilarPatients);\n","\nvar content = require(\"!!../../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../../node_modules/toolbox-loader/index.js!./Procedure.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../../node_modules/toolbox-loader/index.js!./Procedure.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../../node_modules/toolbox-loader/index.js!./Procedure.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\n\nimport { HospitalPropTypes } from \"../Hospital/index\";\nimport { PersonPropTypes } from \"../Person/index\";\n\nexport const DepartmentPropTypes = PropTypes.shape({\n id: PropTypes.string,\n legacyId: PropTypes.string,\n name: PropTypes.string,\n hospital: HospitalPropTypes,\n specialists: PropTypes.arrayOf(PersonPropTypes),\n // TODO Boucle patient: someday define these two\n clinicalDomain: PropTypes.object,\n form: PropTypes.object,\n});\n","import { DepartmentPropTypes } from \"./DepartmentPropTypes\";\n\nexport { DepartmentPropTypes };\n","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./History.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./History.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./History.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { themr } from \"react-css-themr\";\nimport InjectedFontIcon from \"react-toolbox/lib/font_icon/FontIcon.js\";\nimport { INPUT } from \"react-toolbox/lib/identifiers.js\";\nimport theme from \"react-toolbox/lib/input/theme\";\n\nconst factory = (FontIcon) => {\n class Input extends React.Component {\n static propTypes = {\n children: PropTypes.any,\n className: PropTypes.string,\n source: PropTypes.arrayOf(PropTypes.object).isRequired,\n optgroup: PropTypes.string,\n disabled: PropTypes.bool,\n error: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n floating: PropTypes.bool,\n hint: PropTypes.string,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n label: PropTypes.node,\n maxLength: PropTypes.number,\n name: PropTypes.string,\n onBlur: PropTypes.func,\n onChange: PropTypes.func,\n onFocus: PropTypes.func,\n onKeyPress: PropTypes.func,\n required: PropTypes.bool,\n theme: PropTypes.shape({\n bar: PropTypes.string,\n counter: PropTypes.string,\n disabled: PropTypes.string,\n error: PropTypes.string,\n errored: PropTypes.string,\n hidden: PropTypes.string,\n hint: PropTypes.string,\n icon: PropTypes.string,\n input: PropTypes.string,\n inputElement: PropTypes.string,\n required: PropTypes.string,\n withIcon: PropTypes.string,\n label: PropTypes.string,\n fixed: PropTypes.string,\n filled: PropTypes.string,\n }),\n type: PropTypes.string,\n value: PropTypes.any,\n };\n\n static defaultProps = {\n className: \"\",\n hint: \"\",\n disabled: false,\n floating: true,\n required: false,\n type: \"text\",\n };\n\n handleChange = (event) => {\n if (this.props.onChange) this.props.onChange(event.target.value, event);\n };\n\n blur() {\n this.input.blur();\n }\n\n focus() {\n this.input.focus();\n }\n\n getOptionTag(option) {\n if (!option) {\n // If someone is brave enough please remove 'selected' (causes frontend warning)\n return \n );\n }\n\n getOptionTags(options) {\n let optionTags = [];\n if (!this.props.value) {\n optionTags.push(this.getOptionTag(null));\n }\n // Generate an empty option with label value in it (not selectable)\n // disabled selected\n const valueOptions = options.map((option) => {\n return this.getOptionTag(option);\n });\n\n // Merge all together\n optionTags = [...optionTags, ...valueOptions];\n\n return optionTags;\n }\n\n getOptions(options: any[], optgroup: string) {\n if (optgroup) {\n return this.getOptgroupTags(options, optgroup);\n } else {\n return this.getOptionTags(options);\n }\n }\n\n getOptgroupTags(groups: any[], optgroup: string) {\n const optgroups = groups.map((group) => {\n const children = this.getOptionTags(group[optgroup]);\n if (!group.label && !group[optgroup][0].label) {\n return children;\n }\n\n return (\n \n {children}\n \n );\n });\n\n return optgroups;\n }\n\n render() {\n const {\n children,\n disabled,\n error,\n floating,\n hint,\n icon,\n name,\n label: labelText,\n maxLength,\n required,\n theme,\n type,\n value,\n source,\n optgroup,\n ...others\n } = this.props;\n const length = maxLength && value ? value.length : 0;\n const labelClassName = classnames(theme.label, {\n [theme.fixed]: !floating,\n });\n\n const className = classnames(\n theme.input,\n {\n [theme.disabled]: disabled,\n [theme.errored]: error,\n [theme.hidden]: type === \"hidden\",\n [theme.withIcon]: icon,\n },\n this.props.className\n );\n\n const valuePresent =\n value !== null && value !== undefined && value !== \"\" && !Number.isNaN(value);\n\n const InputElement = (\n (this.input = i)}\n name={name}\n disabled={disabled}\n required={required}\n value={value}>\n {this.getOptions(source, optgroup)}\n \n );\n\n return (\n
\n {InputElement}\n {icon ? : null}\n \n {labelText ? (\n \n ) : null}\n {hint ? {hint} : null}\n {error ? {error} : null}\n {maxLength ? (\n \n {length}/{maxLength}\n \n ) : null}\n {children}\n
\n );\n }\n }\n\n return Input;\n};\n\nconst Input = factory(InjectedFontIcon);\nexport default themr(INPUT, theme)(Input);\nexport { factory as inputFactory };\nexport { Input };\n","import classnames from \"classnames\";\nimport { withFormsy } from \"formsy-react\";\nimport isEqual from \"lodash.isequal\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { themr } from \"react-css-themr\";\nimport Dropdown from \"react-toolbox/lib/dropdown\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport { LabeledInput } from \"@akinoxsolutions/gerudo-ui\";\n\nimport DropdownNative from \"./custom/nativeDropDownList\";\nimport { shouldShowError } from \"./inputHelpers\";\nimport { InputLabel } from \"./InputLabel\";\n\nimport style from \"./dropDownListInput.style\";\nimport inputStyle from \"./textInput.style\";\n\nexport class _DropDownListInput extends React.Component {\n static propTypes = {\n autoFocus: PropTypes.bool,\n className: PropTypes.string,\n customDisplay: PropTypes.func,\n disabled: PropTypes.bool,\n errorMessage: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n hideIcon: PropTypes.bool,\n hint: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n label: PropTypes.node,\n name: PropTypes.string.isRequired,\n onChange: PropTypes.func,\n optgroup: PropTypes.string,\n required: PropTypes.bool,\n source: PropTypes.arrayOf(PropTypes.object).isRequired,\n theme: PropTypes.any,\n value: PropTypes.any,\n };\n\n componentDidUpdate(prevProps) {\n const value = this.props.value;\n if (value && !isEqual(this.props.source, prevProps.source)) {\n if (!this.props.source.filter((x) => x.value === value)) {\n this.props.setValue(null);\n }\n }\n }\n\n handleChange(e) {\n this.props.setValue(e);\n\n if (this.props.onChange) {\n this.props.onChange(e);\n }\n }\n\n render() {\n if (this.props.customDisplay) {\n return this.renderCustom();\n }\n\n const errorMessage = this.props.errorMessage;\n const {\n autoFocus,\n className,\n disabled,\n hint,\n icon,\n label,\n name,\n onChange, // eslint-disable-line no-unused-vars\n optgroup,\n required,\n theme,\n } = this.props;\n const hasHint = Boolean(hint);\n const showError = shouldShowError(this);\n const classNames = classnames(\n {\n [theme[\"with-hint\"]]: hasHint && !(showError && errorMessage),\n },\n inputStyle[\"text-input-refac\"]\n );\n const value = this.props.value;\n const topClassNames = classnames(className, {\n [theme[\"required-field\"]]: this.props.isRequired && !value,\n });\n return (\n \n {\n this.handleChange(e);\n }}\n optgroup={optgroup}\n required={this.props.isRequired}\n source={this.props.source}\n theme={theme}\n value={this.props.value || \"\"}\n />\n \n );\n }\n\n renderCustom() {\n const errorMessage = this.props.errorMessage;\n const {\n autoFocus,\n className,\n customDisplay,\n disabled,\n hideIcon,\n hint,\n icon,\n label,\n name,\n optgroup,\n source,\n theme,\n } = this.props;\n const hasHint = Boolean(hint);\n const showError = shouldShowError(this);\n const classNames = classnames({\n [theme[\"with-hint\"]]: hasHint && !(showError && errorMessage),\n });\n const value = this.props.value;\n const topClassNames = classnames(className, style[\"dropdown\"], {\n [theme[\"required-field\"]]: this.props.isRequired && !value,\n [style[\"with-icon\"]]: Boolean(icon),\n });\n\n const extraProps = {};\n if (source.length === 0) {\n extraProps.allowBlank = true;\n } else if (!source[0].value) {\n source.shift();\n extraProps.allowBlank = true;\n }\n\n return (\n \n {!hideIcon && this.renderIcon(icon)}\n\n {\n this.handleChange(e);\n }}\n optgroup={optgroup}\n required={this.props.isRequired}\n source={source}\n template={customDisplay}\n theme={theme}\n value={this.props.value || \"\"}\n {...extraProps}\n />\n \n );\n }\n\n renderIcon(icon) {\n if (!icon) {\n return null;\n }\n\n return ;\n }\n}\n\nconst ThemedDropDownListInput = themr(\"AKDropDownListInput\", inputStyle)(_DropDownListInput);\nexport { ThemedDropDownListInput as DropDownList };\n\nexport default withFormsy(ThemedDropDownListInput);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport styles from \"./HandWrittenFormHeader.styles\";\n\nconst HandWrittenFormHeader = ({ children, description, title }) => {\n return (\n
\n {title && (\n
\n {title &&

{title}

}\n
\n )}\n {description && (\n
\n {description}\n
\n )}\n {children && (\n
\n {children}\n
\n )}\n
\n );\n};\n\nHandWrittenFormHeader.propTypes = {\n description: PropTypes.node,\n title: PropTypes.node,\n};\n\nexport default HandWrittenFormHeader;\n","export class Point {\n constructor(x, y, time) {\n this.x = x;\n this.y = y;\n this.time = time || Date.now();\n }\n\n distanceTo(start) {\n return Math.sqrt(Math.pow(this.x - start.x, 2) + Math.pow(this.y - start.y, 2));\n }\n\n equals(other) {\n return this.x === other.x && this.y === other.y && this.time === other.time;\n }\n\n velocityFrom(start) {\n return this.time !== start.time ? this.distanceTo(start) / (this.time - start.time) : 0;\n }\n}\n","import { Point } from \"./Point\";\n\nexport class Bezier {\n static fromPoints(points, widths) {\n const c2 = this.calculateControlPoints(points[0], points[1], points[2]).c2;\n const c3 = this.calculateControlPoints(points[1], points[2], points[3]).c1;\n\n return new Bezier(points[1], c2, c3, points[2], widths.start, widths.end);\n }\n\n static calculateControlPoints(s1, s2, s3) {\n const dx1 = s1.x - s2.x;\n const dy1 = s1.y - s2.y;\n const dx2 = s2.x - s3.x;\n const dy2 = s2.y - s3.y;\n\n const m1 = { x: (s1.x + s2.x) / 2.0, y: (s1.y + s2.y) / 2.0 };\n const m2 = { x: (s2.x + s3.x) / 2.0, y: (s2.y + s3.y) / 2.0 };\n\n const l1 = Math.sqrt(dx1 * dx1 + dy1 * dy1);\n const l2 = Math.sqrt(dx2 * dx2 + dy2 * dy2);\n\n const dxm = m1.x - m2.x;\n const dym = m1.y - m2.y;\n\n const k = l2 / (l1 + l2);\n const cm = { x: m2.x + dxm * k, y: m2.y + dym * k };\n\n const tx = s2.x - cm.x;\n const ty = s2.y - cm.y;\n\n return {\n c1: new Point(m1.x + tx, m1.y + ty),\n c2: new Point(m2.x + tx, m2.y + ty),\n };\n }\n\n constructor(startPoint, control2, control1, endPoint, startWidth, endWidth) {\n this.startPoint = startPoint;\n this.control2 = control2;\n this.control1 = control1;\n this.endPoint = endPoint;\n this.startWidth = startWidth;\n this.endWidth = endWidth;\n }\n\n // Returns approximated length. Code taken from https://www.lemoda.net/maths/bezier-length/index.html.\n length() {\n const steps = 10;\n let length = 0;\n let px;\n let py;\n\n for (let i = 0; i <= steps; i += 1) {\n const t = i / steps;\n const cx = this.point(\n t,\n this.startPoint.x,\n this.control1.x,\n this.control2.x,\n this.endPoint.x\n );\n const cy = this.point(\n t,\n this.startPoint.y,\n this.control1.y,\n this.control2.y,\n this.endPoint.y\n );\n\n if (i > 0) {\n const xdiff = cx - px;\n const ydiff = cy - py;\n\n length += Math.sqrt(xdiff * xdiff + ydiff * ydiff);\n }\n\n px = cx;\n py = cy;\n }\n\n return length;\n }\n\n // Calculate parametric value of x or y given t and the four point coordinates of a cubic bezier curve.\n point(t, start, c1, c2, end) {\n // prettier-ignore\n return ( start * (1.0 - t) * (1.0 - t) * (1.0 - t))\n + (3.0 * c1 * (1.0 - t) * (1.0 - t) * t)\n + (3.0 * c2 * (1.0 - t) * t * t)\n + ( end * t * t * t);\n }\n}\n","/* eslint-disable no-underscore-dangle */\n/**\n * The main idea and some parts of the code (e.g. drawing variable width Bézier curve) are taken from:\n * http://corner.squareup.com/2012/07/smoother-signatures.html\n *\n * Implementation of interpolation using cubic Bézier curves is taken from:\n * https://web.archive.org/web/20160323213433/http://www.benknowscode.com/2012/09/path-interpolation-using-cubic-bezier_9742.html\n *\n * Algorithm for approximated length of a Bézier curve is taken from:\n * http://www.lemoda.net/maths/bezier-length/index.html\n */\n\nimport throttle from \"lodash.throttle\";\n\nimport { Bezier } from \"./Bezier\";\nimport { Point } from \"./Point\";\n\nexport default class SignaturePad {\n // Public stuff\n dotSize;\n minWidth;\n maxWidth;\n minDistance;\n backgroundColor;\n penColor;\n throttle;\n velocityFilterWeight;\n onBegin;\n onEnd;\n\n // Private stuff\n _ctx;\n _mouseButtonDown;\n _isEmpty;\n _lastPoints; // Stores up to 4 most recent points; used to generate a new curve\n _data; // Stores all points in groups (one group per line or dot)\n _lastVelocity;\n _lastWidth;\n _strokeMoveUpdate;\n\n constructor(canvas, options = {}) {\n this.canvas = canvas;\n this.velocityFilterWeight = options.velocityFilterWeight || 0.7;\n this.minWidth = options.minWidth || 0.5;\n this.maxWidth = options.maxWidth || 2.5;\n this.throttle = \"throttle\" in options ? options.throttle : 16; // in milisecondss\n this.minDistance = \"minDistance\" in options ? options.minDistance : 5; // in pixels\n if (options.dotSize) {\n this.dotSize = options.dotSize;\n } else {\n this.dotSize = () => (this.minWidth + this.maxWidth) / 2;\n }\n this.penColor = options.penColor || \"black\";\n this.backgroundColor = options.backgroundColor || \"rgba(0,0,0,0)\";\n this.onBegin = options.onBegin;\n this.onEnd = options.onEnd;\n\n this._strokeMoveUpdate = this.throttle\n ? throttle(SignaturePad.prototype._strokeUpdate, this.throttle)\n : SignaturePad.prototype._strokeUpdate;\n this._ctx = canvas.getContext(\"2d\");\n\n this.clear();\n\n // Enable mouse and touch event handlers\n this.on();\n }\n\n clear() {\n const { _ctx: ctx, canvas } = this;\n\n // Clear canvas using background color\n ctx.fillStyle = this.backgroundColor;\n ctx.clearRect(0, 0, canvas.width, canvas.height);\n ctx.fillRect(0, 0, canvas.width, canvas.height);\n\n this._data = [];\n this._reset();\n this._isEmpty = true;\n }\n\n fromDataURL(dataUrl, options = {}, callback) {\n const image = new Image();\n const ratio = options.ratio || window.devicePixelRatio || 1;\n const width = options.width || this.canvas.width / ratio;\n const height = options.height || this.canvas.height / ratio;\n const xOffset = options.xOffset || 0;\n const yOffset = options.yOffset || 0;\n\n this._reset();\n\n image.onload = () => {\n this._ctx.drawImage(image, xOffset, yOffset, width, height);\n if (callback) {\n callback();\n }\n };\n image.onerror = (error) => {\n if (callback) {\n callback(error);\n }\n };\n image.crossOrigin = \"anonymous\";\n image.src = dataUrl;\n\n this._isEmpty = false;\n }\n\n toDataURL(type = \"image/png\", encoderOptions, svgPixelRatio) {\n switch (type) {\n case \"image/svg+xml\":\n return this._toSVG(svgPixelRatio);\n default:\n return this.canvas.toDataURL(type, encoderOptions);\n }\n }\n\n on() {\n // Disable panning/zooming when touching canvas element\n this.canvas.style.touchAction = \"none\";\n this.canvas.style.msTouchAction = \"none\";\n\n if (window.PointerEvent) {\n this._handlePointerEvents();\n } else {\n this._handleMouseEvents();\n\n if (\"ontouchstart\" in window) {\n this._handleTouchEvents();\n }\n }\n }\n\n off() {\n // Enable panning/zooming when touching canvas element\n this.canvas.style.touchAction = \"auto\";\n this.canvas.style.msTouchAction = \"auto\";\n\n this.canvas.removeEventListener(\"pointerdown\", this._handleMouseDown);\n this.canvas.removeEventListener(\"pointermove\", this._handleMouseMove);\n document.removeEventListener(\"pointerup\", this._handleMouseUp);\n\n this.canvas.removeEventListener(\"mousedown\", this._handleMouseDown);\n this.canvas.removeEventListener(\"mousemove\", this._handleMouseMove);\n document.removeEventListener(\"mouseup\", this._handleMouseUp);\n\n this.canvas.removeEventListener(\"touchstart\", this._handleTouchStart);\n this.canvas.removeEventListener(\"touchmove\", this._handleTouchMove);\n this.canvas.removeEventListener(\"touchend\", this._handleTouchEnd);\n }\n\n isEmpty() {\n return this._isEmpty;\n }\n\n fromData(pointGroups) {\n this.clear();\n\n this._fromData(\n pointGroups,\n ({ color, curve }) => this._drawCurve({ color, curve }),\n ({ color, point }) => this._drawDot({ color, point })\n );\n\n this._data = pointGroups;\n }\n\n toData() {\n return this._data;\n }\n\n // Event handlers\n _handleMouseDown = (event) => {\n if (event.which === 1) {\n this._mouseButtonDown = true;\n this._strokeBegin(event);\n }\n };\n\n _handleMouseMove = (event) => {\n if (this._mouseButtonDown) {\n this._strokeMoveUpdate(event);\n }\n };\n\n _handleMouseUp = (event) => {\n if (event.which === 1 && this._mouseButtonDown) {\n this._mouseButtonDown = false;\n this._strokeEnd(event);\n }\n };\n\n _handleTouchStart = (event) => {\n // Prevent scrolling.\n event.preventDefault();\n\n if (event.targetTouches.length === 1) {\n const touch = event.changedTouches[0];\n this._strokeBegin(touch);\n }\n };\n\n _handleTouchMove = (event) => {\n // Prevent scrolling.\n event.preventDefault();\n\n const touch = event.targetTouches[0];\n this._strokeMoveUpdate(touch);\n };\n\n _handleTouchEnd = (event) => {\n const wasCanvasTouched = event.target === this.canvas;\n if (wasCanvasTouched) {\n event.preventDefault();\n\n const touch = event.changedTouches[0];\n this._strokeEnd(touch);\n }\n };\n\n // Private methods\n _strokeBegin(event) {\n const newPointGroup = {\n color: this.penColor,\n points: [],\n };\n\n if (typeof this.onBegin === \"function\") {\n this.onBegin(event);\n }\n\n this._data.push(newPointGroup);\n this._reset();\n this._strokeUpdate(event);\n }\n\n _strokeUpdate(event) {\n if (this._data.length === 0) {\n // This can happen if clear() was called while a signature is still in progress,\n // or if there is a race condition between start/update events.\n this._strokeBegin(event);\n return;\n }\n\n const x = event.clientX;\n const y = event.clientY;\n\n const point = this._createPoint(x, y);\n const lastPointGroup = this._data[this._data.length - 1];\n const lastPoints = lastPointGroup.points;\n const lastPoint = lastPoints.length > 0 && lastPoints[lastPoints.length - 1];\n const isLastPointTooClose = lastPoint ? point.distanceTo(lastPoint) <= this.minDistance : false;\n const color = lastPointGroup.color;\n\n // Skip this point if it's too close to the previous one\n if (!lastPoint || !(lastPoint && isLastPointTooClose)) {\n const curve = this._addPoint(point);\n\n if (!lastPoint) {\n this._drawDot({ color, point });\n } else if (curve) {\n this._drawCurve({ color, curve });\n }\n\n lastPoints.push({\n time: point.time,\n x: point.x,\n y: point.y,\n });\n }\n }\n\n _strokeEnd(event) {\n this._strokeUpdate(event);\n\n if (typeof this.onEnd === \"function\") {\n this.onEnd(event);\n }\n }\n\n _handlePointerEvents() {\n this._mouseButtonDown = false;\n\n this.canvas.addEventListener(\"pointerdown\", this._handleMouseDown);\n this.canvas.addEventListener(\"pointermove\", this._handleMouseMove);\n document.addEventListener(\"pointerup\", this._handleMouseUp);\n }\n\n _handleMouseEvents() {\n this._mouseButtonDown = false;\n\n this.canvas.addEventListener(\"mousedown\", this._handleMouseDown);\n this.canvas.addEventListener(\"mousemove\", this._handleMouseMove);\n document.addEventListener(\"mouseup\", this._handleMouseUp);\n }\n\n _handleTouchEvents() {\n this.canvas.addEventListener(\"touchstart\", this._handleTouchStart);\n this.canvas.addEventListener(\"touchmove\", this._handleTouchMove);\n this.canvas.addEventListener(\"touchend\", this._handleTouchEnd);\n }\n\n // Called when a new line is started\n _reset() {\n this._lastPoints = [];\n this._lastVelocity = 0;\n this._lastWidth = (this.minWidth + this.maxWidth) / 2;\n this._ctx.fillStyle = this.penColor;\n }\n\n _createPoint(x, y) {\n const rect = this.canvas.getBoundingClientRect();\n\n return new Point(x - rect.left, y - rect.top, new Date().getTime());\n }\n\n // Add point to _lastPoints array and generate a new curve if there are enough points (i.e. 3)\n _addPoint(point) {\n const { _lastPoints } = this;\n\n _lastPoints.push(point);\n\n if (_lastPoints.length > 2) {\n // To reduce the initial lag make it work with 3 points\n // by copying the first point to the beginning.\n if (_lastPoints.length === 3) {\n _lastPoints.unshift(_lastPoints[0]);\n }\n\n // _points array will always have 4 points here.\n const widths = this._calculateCurveWidths(_lastPoints[1], _lastPoints[2]);\n const curve = Bezier.fromPoints(_lastPoints, widths);\n\n // Remove the first element from the list, so that there are no more than 4 points at any time.\n _lastPoints.shift();\n\n return curve;\n }\n\n return null;\n }\n\n _calculateCurveWidths(startPoint, endPoint) {\n const velocity =\n this.velocityFilterWeight * endPoint.velocityFrom(startPoint) +\n (1 - this.velocityFilterWeight) * this._lastVelocity;\n\n const newWidth = this._strokeWidth(velocity);\n\n const widths = {\n end: newWidth,\n start: this._lastWidth,\n };\n\n this._lastVelocity = velocity;\n this._lastWidth = newWidth;\n\n return widths;\n }\n\n _strokeWidth(velocity) {\n return Math.max(this.maxWidth / (velocity + 1), this.minWidth);\n }\n\n _drawCurveSegment(x, y, width) {\n const ctx = this._ctx;\n\n ctx.moveTo(x, y);\n ctx.arc(x, y, width, 0, 2 * Math.PI, false);\n this._isEmpty = false;\n }\n\n _drawCurve({ color, curve }) {\n const ctx = this._ctx;\n const widthDelta = curve.endWidth - curve.startWidth;\n // '2' is just an arbitrary number here. If only lenght is used, then\n // there are gaps between curve segments :/\n const drawSteps = Math.ceil(curve.length()) * 2;\n\n ctx.beginPath();\n ctx.fillStyle = color;\n\n for (let i = 0; i < drawSteps; i += 1) {\n // Calculate the Bezier (x, y) coordinate for this step.\n const t = i / drawSteps;\n const tt = t * t;\n const ttt = tt * t;\n const u = 1 - t;\n const uu = u * u;\n const uuu = uu * u;\n\n let x = uuu * curve.startPoint.x;\n x += 3 * uu * t * curve.control1.x;\n x += 3 * u * tt * curve.control2.x;\n x += ttt * curve.endPoint.x;\n\n let y = uuu * curve.startPoint.y;\n y += 3 * uu * t * curve.control1.y;\n y += 3 * u * tt * curve.control2.y;\n y += ttt * curve.endPoint.y;\n\n const width = Math.min(curve.startWidth + ttt * widthDelta, this.maxWidth);\n this._drawCurveSegment(x, y, width);\n }\n\n ctx.closePath();\n ctx.fill();\n }\n\n _drawDot({ color, point }) {\n const ctx = this._ctx;\n const width = typeof this.dotSize === \"function\" ? this.dotSize() : this.dotSize;\n\n ctx.beginPath();\n this._drawCurveSegment(point.x, point.y, width);\n ctx.closePath();\n ctx.fillStyle = color;\n ctx.fill();\n }\n\n _fromData(pointGroups, drawCurve, drawDot) {\n // eslint-disable-next-line no-unused-vars\n for (const group of pointGroups) {\n const { color, points } = group;\n\n if (points.length > 1) {\n for (let j = 0; j < points.length; j += 1) {\n const basicPoint = points[j];\n const point = new Point(basicPoint.x, basicPoint.y, basicPoint.time);\n\n // All points in the group have the same color, so it's enough to set\n // penColor just at the beginning.\n this.penColor = color;\n\n if (j === 0) {\n this._reset();\n }\n\n const curve = this._addPoint(point);\n\n if (curve) {\n drawCurve({ color, curve });\n }\n }\n } else {\n this._reset();\n\n drawDot({\n color,\n point: points[0],\n });\n }\n }\n }\n\n _toSVG(pixelRatio) {\n const pointGroups = this._data;\n const ratio = Math.max(pixelRatio || window.devicePixelRatio || 1, 1);\n const minX = 0;\n const minY = 0;\n const maxX = this.canvas.width / ratio;\n const maxY = this.canvas.height / ratio;\n const svg = document.createElementNS(\"http://www.w3.org/2000/svg\", \"svg\");\n\n svg.setAttribute(\"width\", this.canvas.width.toString());\n svg.setAttribute(\"height\", this.canvas.height.toString());\n\n this._fromData(\n pointGroups,\n\n ({ color, curve }) => {\n const path = document.createElement(\"path\");\n\n // Need to check curve for NaN values, these pop up when drawing\n // lines on the canvas that are not continuous. E.g. Sharp corners\n // or stopping mid-stroke and than continuing without lifting mouse.\n /* eslint-disable no-restricted-globals */\n if (\n !isNaN(curve.control1.x) &&\n !isNaN(curve.control1.y) &&\n !isNaN(curve.control2.x) &&\n !isNaN(curve.control2.y)\n ) {\n const attr =\n `M ${curve.startPoint.x.toFixed(3)},${curve.startPoint.y.toFixed(3)} ` +\n `C ${curve.control1.x.toFixed(3)},${curve.control1.y.toFixed(3)} ` +\n `${curve.control2.x.toFixed(3)},${curve.control2.y.toFixed(3)} ` +\n `${curve.endPoint.x.toFixed(3)},${curve.endPoint.y.toFixed(3)}`;\n path.setAttribute(\"d\", attr);\n path.setAttribute(\"stroke-width\", (curve.endWidth * 2.25).toFixed(3));\n path.setAttribute(\"stroke\", color);\n path.setAttribute(\"fill\", \"none\");\n path.setAttribute(\"stroke-linecap\", \"round\");\n\n svg.appendChild(path);\n }\n /* eslint-enable no-restricted-globals */\n },\n\n ({ color, point }) => {\n const circle = document.createElement(\"circle\");\n const dotSize = typeof this.dotSize === \"function\" ? this.dotSize() : this.dotSize;\n circle.setAttribute(\"r\", dotSize.toString());\n circle.setAttribute(\"cx\", point.x.toString());\n circle.setAttribute(\"cy\", point.y.toString());\n circle.setAttribute(\"fill\", color);\n\n svg.appendChild(circle);\n }\n );\n\n const prefix = \"data:image/svg+xml;base64,\";\n const header =\n \"\";\n let body = svg.innerHTML;\n\n // IE hack for missing innerHTML property on SVGElement\n if (body === undefined) {\n const dummy = document.createElement(\"dummy\");\n const nodes = svg.childNodes;\n dummy.innerHTML = \"\";\n\n // tslint:disable-next-line: prefer-for-of\n for (let i = 0; i < nodes.length; i += 1) {\n dummy.appendChild(nodes[i].cloneNode(true));\n }\n\n body = dummy.innerHTML;\n }\n\n const footer = \"\";\n const data = header + body + footer;\n\n return prefix + btoa(data);\n }\n}\n","/* eslint-disable no-underscore-dangle */\nimport PropTypes from \"prop-types\";\nimport React, { Component } from \"react\";\nimport trimCanvas from \"trim-canvas\";\n\nimport { SignaturePad } from \"../SignaturePad\";\n\nexport default class SignatureCanvas extends Component {\n static propTypes = {\n // signature_pad's props\n velocityFilterWeight: PropTypes.number,\n minWidth: PropTypes.number,\n maxWidth: PropTypes.number,\n minDistance: PropTypes.number,\n dotSize: PropTypes.oneOfType([PropTypes.number, PropTypes.func]),\n penColor: PropTypes.string,\n throttle: PropTypes.number,\n onEnd: PropTypes.func,\n onBegin: PropTypes.func,\n svgPixelRatio: PropTypes.number,\n // props specific to the React wrapper\n canvasProps: PropTypes.object,\n clearOnResize: PropTypes.bool,\n };\n\n static defaultProps = {\n clearOnResize: true,\n };\n\n _sigPad = null;\n\n _excludeOurProps = () => {\n // eslint-disable-next-line no-unused-vars\n const { canvasProps, clearOnResize, ...sigPadProps } = this.props;\n return sigPadProps;\n };\n\n componentDidMount() {\n this._sigPad = new SignaturePad(this._canvas, this._excludeOurProps());\n this._resizeCanvas();\n this.on();\n }\n\n componentWillUnmount() {\n this.off();\n }\n\n // propagate prop updates to SignaturePad\n componentDidUpdate() {\n Object.assign(this._sigPad, this._excludeOurProps());\n }\n\n // return the canvas ref for operations like toDataURL\n getCanvas = () => {\n return this._canvas;\n };\n\n // return a trimmed copy of the canvas\n getTrimmedCanvas = () => {\n // copy the canvas\n const copy = document.createElement(\"canvas\");\n copy.width = this._canvas.width;\n copy.height = this._canvas.height;\n copy.getContext(\"2d\").drawImage(this._canvas, 0, 0);\n // then trim it\n return trimCanvas(copy);\n };\n\n // return the internal SignaturePad reference\n getSignaturePad = () => {\n return this._sigPad;\n };\n\n _checkClearOnResize = () => {\n if (!this.props.clearOnResize) {\n return;\n }\n this._resizeCanvas();\n };\n\n _resizeCanvas = () => {\n const canvasProps = this.props.canvasProps || {};\n const { width, height } = canvasProps;\n // don't resize if the canvas has fixed width and height\n if (width && height) {\n return;\n }\n\n const canvas = this._canvas;\n\n /* When zoomed out to less than 100%, for some very strange reason,\n some browsers report devicePixelRatio as less than 1\n and only part of the canvas is cleared then. */\n const ratio = Math.max(window.devicePixelRatio || 1, 1);\n\n if (!width) {\n canvas.width = canvas.offsetWidth * ratio;\n }\n if (!height) {\n canvas.height = canvas.offsetHeight * ratio;\n }\n canvas.getContext(\"2d\").scale(ratio, ratio);\n this.clear();\n };\n\n render() {\n const { canvasProps } = this.props;\n return (\n {\n this._canvas = ref;\n }}\n {...canvasProps}\n />\n );\n }\n\n // all wrapper functions below render\n //\n on = () => {\n window.addEventListener(\"resize\", this._checkClearOnResize);\n return this._sigPad.on();\n };\n\n off = () => {\n window.removeEventListener(\"resize\", this._checkClearOnResize);\n return this._sigPad.off();\n };\n\n clear = () => {\n return this._sigPad.clear();\n };\n\n isEmpty = () => {\n return this._sigPad.isEmpty();\n };\n\n fromDataURL = (dataURL, options) => {\n return this._sigPad.fromDataURL(dataURL, options);\n };\n\n toDataURL = (type, encoderOptions) => {\n return this._sigPad.toDataURL(type, encoderOptions, this.props.svgPixelRatio);\n };\n\n fromData = (pointGroups) => {\n return this._sigPad.fromData(pointGroups);\n };\n\n toData = () => {\n return this._sigPad.toData();\n };\n}\n","import PropTypes from \"prop-types\";\n\nexport const ImageMimeType = {\n png: \"image/png\",\n jpeg: \"image/jpeg\",\n svg: \"image/svg+xml\",\n};\n\nexport const SignatureDataShape = PropTypes.shape({\n imageUrl: PropTypes.string,\n base64: PropTypes.string,\n mimetype: PropTypes.oneOf([ImageMimeType.png, ImageMimeType.jpeg, ImageMimeType.svg]),\n});\n","import PropTypes from \"prop-types\";\nimport React, { useEffect, useRef, useState } from \"react\";\nimport classNames from \"classnames\";\nimport { CancelCircleIcon } from \"@akinoxsolutions/gerudo-ui/dist/Icons/CancelCircle\";\n\nimport SignatureCanvas from \"../forks/ReactSignatureCanvas\";\nimport { ImageMimeType } from \"../SignatureData\";\n\nimport styles from \"./SignatureInput.styles.scss\";\n\nexport const formatDataFromImageUrl = (imageUrl) => {\n if (!imageUrl) {\n return null;\n }\n\n const splitImageUrl = imageUrl.split(\";\");\n const mimetype = splitImageUrl[0].split(\":\")[1];\n const base64 = splitImageUrl[1].split(\",\")[1];\n\n return {\n imageUrl: imageUrl,\n base64: base64,\n mimetype: mimetype,\n };\n};\n\nconst SignatureInput = ({\n canvasProps,\n canvasStyle,\n className,\n header,\n mimetype,\n onChange,\n svpPixelRatio,\n}) => {\n const [signature, setSignature] = useState(null);\n const canvasRef = useRef(null);\n const containerRef = useRef(null);\n const [stateCanvasStyle, setStateCanvasStyle] = useState({});\n\n useEffect(() => {\n const newCanvasStyle = {\n width: (containerRef && containerRef.current && containerRef.current.clientWidth) || null,\n height: 150,\n ...canvasStyle,\n };\n setStateCanvasStyle(newCanvasStyle);\n }, []);\n\n useEffect(() => {\n window.addEventListener(\"resize\", resizeCanvas);\n\n return () => {\n window.removeEventListener(\"resize\", resizeCanvas);\n };\n }, []);\n\n const resizeCanvas = () => {\n const canvas = (containerRef && containerRef.current && canvasRef.current.getCanvas()) || null;\n\n if (canvas) {\n // We do not want to scale for high DPI so that canvas resizes for bigger ratio\n // otherwise canvas gets bigger and it is impossible to write a signature\n const ratio = 1;\n canvas.width = canvas.offsetWidth * ratio;\n canvas.height = canvas.offsetHeight * ratio;\n const context = canvas.getContext(\"2d\");\n if (context) {\n context.scale(ratio, ratio);\n }\n handleClear();\n }\n };\n\n const handleOnEnd = (event) => {\n const imageUrl = canvasRef && canvasRef.current ? canvasRef.current.toDataURL(mimetype) : null;\n const data = formatDataFromImageUrl(imageUrl);\n setSignature(data);\n if (onChange) {\n onChange(event, data);\n }\n };\n\n const handleClear = () => {\n setSignature(null);\n if (canvasRef && canvasRef.current) {\n canvasRef.current.clear();\n }\n if (onChange) {\n onChange(null, null);\n }\n };\n\n return (\n
\n
\n
{header}
\n \n \n \n
\n \n
\n );\n};\n\nSignatureInput.propTypes = {\n canvasProps: PropTypes.shape({\n dotSize: PropTypes.number,\n height: PropTypes.number,\n maxWidth: PropTypes.number,\n minDistance: PropTypes.number,\n minWidth: PropTypes.number,\n penColor: PropTypes.string,\n throttle: PropTypes.number,\n velocityFilterWeight: PropTypes.number,\n width: PropTypes.number,\n }),\n canvasStyle: PropTypes.object,\n className: PropTypes.string,\n header: PropTypes.node,\n mimetype: PropTypes.oneOf([ImageMimeType.svg, ImageMimeType.jpeg, ImageMimeType.png]),\n onChange: PropTypes.func,\n svpPixelRatio: PropTypes.number,\n};\n\nexport { SignatureInput };\nexport default SignatureInput;\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport classNames from \"classnames\";\n\nimport { SignatureDataShape } from \"../SignatureData\";\n\nimport styles from \"./Signature.styles.scss\";\n\nconst Signature = ({ className, signatureClassName, children, footer, signature }) => {\n return (\n
\n
\n
\n {signature && signature.imageUrl && (\n \"Signature\"\n )}\n
\n {footer &&
{footer}
}\n
\n {children &&
{children}
}\n
\n );\n};\n\nSignature.propTypes = {\n className: PropTypes.string,\n footer: PropTypes.node,\n signature: SignatureDataShape,\n signatureClassName: PropTypes.string,\n children: PropTypes.node,\n};\n\nexport { Signature };\nexport default Signature;\n","export const messages = {\n header: {\n id: \"signatures.handwritten.header\",\n defaultMessage: \"Please enter your signature in this zone\",\n },\n};\n","import React, { Fragment } from \"react\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { HandWrittenSignatureInput } from \"~/src/js/components/shared/inputs\";\n\nimport { ImageMimeType } from \"./libs/Signatures\";\n\nimport { messages } from \"./HandWrittenSignatureForm.i18n\";\n\nconst HandWrittenSignatureForm = ({ canvasProps, canvasStyle, children, formsyProps }) => {\n const renderChildren = (children, signatureInput) => {\n if (typeof children === \"function\") {\n return children({ signatureInput });\n } else {\n return (\n \n {children}\n {signatureInput}\n \n );\n }\n };\n\n return (\n \n
\n {renderChildren(\n children,\n }\n mimetype={ImageMimeType.svg}\n required\n />\n )}\n
\n
\n );\n};\n\nHandWrittenSignatureForm.propTypes = {\n canvasProps: PropTypes.object,\n canvasStyle: PropTypes.object,\n formsyProps: PropTypes.object,\n};\n\nexport default HandWrittenSignatureForm;\n","export const messages = {\n actions: {\n save: {\n id: \"signatures.handwritten.actions.save\",\n defaultMessage: \"Save signature\",\n },\n },\n feedback: {\n success: {\n id: \"signatures.handwritten.feedback.success\",\n defaultMessage: \"Signature saved with success\",\n },\n },\n};\n","import React, { Fragment } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Modal } from \"@akinoxsolutions/gerudo-ui/dist/Modal\";\nimport { ButtonGroup, Button } from \"@akinoxsolutions/gerudo-ui/dist/Button\";\nimport { FormattedMessage, injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\n\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\n\nimport { LegalSignatoryTypePropType } from \"./mutations\";\nimport { useAddHandWrittenSignature } from \"./hooks\";\nimport { messages } from \"./HandWrittenSignatureDialog.18n\";\nimport HandWrittenSignatureForm from \"./HandWrittenSignatureForm\";\n\nconst HandWrittenSignatureDialog = ({\n lookupId,\n referenceId,\n active,\n children,\n intl: { formatMessage },\n onCancel,\n onSave,\n showDialog,\n legalSignatoryType,\n signerFullName,\n title,\n wrapClassName,\n}) => {\n const handleOnSuccess = (data, response) => {\n showDialog(formatMessage(messages.feedback.success), \"accept\");\n if (onSave) {\n onSave(data, response);\n }\n };\n\n const { formsyProps, submit, isSubmitting, errors, isValid } = useAddHandWrittenSignature({\n onSuccess: handleOnSuccess,\n lookupId: lookupId,\n referenceId: referenceId,\n legalSignatoryType: legalSignatoryType,\n signerFullName: signerFullName,\n });\n\n const handleOnCancel = () => {\n if (onCancel) {\n onCancel();\n }\n };\n\n const handleOnSave = async () => {\n await submit();\n };\n\n return (\n (\n \n \n \n \n \n \n )}>\n \n {({ signatureInput }) => {\n return (\n \n {children}\n {signatureInput}\n \n \n );\n }}\n \n \n );\n};\n\nHandWrittenSignatureDialog.propTypes = {\n lookupId: PropTypes.string.isRequired,\n referenceId: PropTypes.string,\n active: PropTypes.bool,\n intl: intlShape,\n onCancel: PropTypes.func,\n onSave: PropTypes.func,\n showDialog: PropTypes.func.isRequired,\n legalSignatoryType: LegalSignatoryTypePropType,\n signerFullName: PropTypes.string,\n title: PropTypes.node,\n wrapClassName: PropTypes.string,\n};\n\nconst mapDispatchToProps = {\n showDialog: showDialogNotice,\n};\n\nexport default connect(null, mapDispatchToProps)(injectIntl(HandWrittenSignatureDialog));\n\nexport const tests = {\n HandWrittenSignatureDialog,\n};\n","import PropTypes from \"prop-types\";\n\nimport { LegalSignatoryTypePropType } from \"../mutations\";\n\nexport const HandWrittenSignatureShape = PropTypes.shape({\n id: PropTypes.string,\n referenceId: PropTypes.string,\n signerFullName: PropTypes.string,\n legalSignatoryType: LegalSignatoryTypePropType,\n imageData: PropTypes.string,\n signedOn: PropTypes.string,\n});\n","export const messages = {\n signedOn: {\n id: \"signatures.signedOn\",\n defaultMessage: \"Signed on\",\n },\n labels: {\n legalRepresentative: {\n title: {\n id: \"signatures.handwritten.labels.legalRepresentative.title\",\n defaultMessage: \"Legal representative\",\n },\n },\n patient: {\n title: {\n id: \"signatures.handwritten.labels.patient.title\",\n defaultMessage: \"Patient\",\n },\n },\n },\n actions: {\n resetSignature: {\n id: \"signatures.handwritten.actions.reset\",\n defaultMessage: \"Reset signature\",\n },\n },\n};\n","import React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { LegalSignatoryType } from \"./mutations\";\nimport { HandWrittenSignatureShape } from \"./PropTypes\";\nimport styles from \"./HandWrittenSignatureFooter.styles\";\n\nimport { messages as commonMessages } from \"./common.i18n\";\n\nconst LegalSignatoryTypeMap = {\n [LegalSignatoryType.patient]: ,\n [LegalSignatoryType.legalRepresentative]: (\n \n ),\n undefined: \"\",\n null: \"\",\n};\n\nconst HandWrittenSignatureFooter = ({ handWrittenSignature }) => {\n return (\n
\n {handWrittenSignature.signerFullName}\n \n ({LegalSignatoryTypeMap[handWrittenSignature.legalSignatoryType]})\n \n
\n );\n};\n\nHandWrittenSignatureFooter.propTypes = {\n handWrittenSignature: HandWrittenSignatureShape,\n};\n\nexport default HandWrittenSignatureFooter;\n\nexport const tests = {\n HandWrittenSignatureFooter,\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Button } from \"@akinoxsolutions/gerudo-ui/dist/Button\";\n\nimport { FormattedDateTime } from \"~/src/js/components/shared\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { SkeletonLoader } from \"~/src/js/components/shared/Loading\";\n\nimport { Signature } from \"./libs/Signatures\";\nimport HandWrittenSignatureFooter from \"./HandWrittenSignatureFooter\";\nimport { HandWrittenSignatureShape } from \"./PropTypes\";\nimport styles from \"./HandWrittenSignature.styles\";\nimport { useCancelHandWrittenSignatureMutation } from \"./hooks\";\n\nimport { messages as commonMessages } from \"./common.i18n\";\n\nconst HandWrittenSignature = ({ children, handWrittenSignature, loading, onReset, readonly }) => {\n const { signedOn, imageData } = handWrittenSignature;\n const newSignature = {\n imageUrl: imageData,\n };\n\n const handleOnSuccess = () => {\n if (onReset) {\n onReset();\n }\n };\n\n const {\n isSubmitting: isCancellingSignature,\n errors: cancelSignatureErrors,\n cancelHandWrittenSignature,\n } = useCancelHandWrittenSignatureMutation({\n onSuccess: handleOnSuccess,\n });\n\n const handleOnReset = async () => {\n await cancelHandWrittenSignature(handWrittenSignature);\n };\n\n return (\n \n
\n {children &&
{children}
}\n }>\n
\n
\n \n
\n
\n \n
\n {!readonly && (\n
\n await handleOnReset()}\n type=\"text\">\n \n \n
\n )}\n
\n \n \n
\n \n );\n};\n\nHandWrittenSignature.propTypes = {\n handWrittenSignature: HandWrittenSignatureShape,\n loading: PropTypes.bool,\n onReset: PropTypes.func,\n readonly: PropTypes.bool,\n};\n\nexport default HandWrittenSignature;\n\nexport const tests = {\n HandWrittenSignature,\n};\n","export const messages = {\n patient: {\n id: \"signatures.handwritten.actions.record.patient\",\n defaultMessage: \"Record patient signature\",\n },\n legalRepresentative: {\n id: \"signatures.handwritten.actions.record.legalRepresentative\",\n defaultMessage: \"Record legal representative signature\",\n },\n fillRequiredFields: {\n id: \"global.actions.fillAllMandatoryFields\",\n defaultMessage: \"Fill all mandatory fields\",\n },\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Button } from \"@akinoxsolutions/gerudo-ui/dist/Button\";\nimport { FormattedMessage } from \"react-intl\";\nimport classnames from \"classnames\";\n\nimport {\n LegalSignatoryTypeMapper,\n LegalSignatoryType,\n} from \"~/src/js/components/shared/Signatures/mutations\";\nimport { SkeletonLoader } from \"~/src/js/components/shared/Loading\";\n\nimport styles from \"./RecordSignature.styles\";\nimport { messages } from \"./RecordSignature.18n\";\n\nconst MessagesMapper = {\n [LegalSignatoryType.patient]: ,\n [LegalSignatoryType.legalRepresentative]: ,\n null: \"\",\n undefined: \"\",\n};\n\nconst RecordSignature = ({ children, consentBy, disabled, isCompleted, loading, onClick }) => {\n const legalSignatureType = LegalSignatoryTypeMapper[consentBy];\n\n if (isCompleted) {\n return null;\n }\n\n return (\n \n {children &&
{children}
}\n \n \n
\n \n );\n};\n\nRecordSignature.propTypes = {\n consentBy: PropTypes.string,\n disabled: PropTypes.bool,\n isCompleted: PropTypes.bool,\n loading: PropTypes.bool,\n onClick: PropTypes.func,\n};\n\nexport default RecordSignature;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport {\n LegalSignatoryTypeMapper,\n LegalSignatoryType,\n} from \"~/src/js/components/shared/Signatures/mutations\";\n\nconst LegalSignatoryText = ({ consentBy, patient }) => {\n const {\n demographic: { fullName, birthday },\n } = patient;\n\n const commonValues = {\n fullName: fullName,\n birthday: birthday,\n };\n\n if (LegalSignatoryTypeMapper[consentBy] === LegalSignatoryType.patient) {\n return (\n \n );\n }\n\n if (LegalSignatoryTypeMapper[consentBy] === LegalSignatoryType.legalRepresentative) {\n return (\n \n );\n }\n\n return null;\n};\n\nLegalSignatoryText.propTypes = {\n consentBy: PropTypes.string,\n patient: PropTypes.object,\n};\n\nexport default Relay.createContainer(LegalSignatoryText, {\n fragments: {\n patient: () => Relay.QL`\n fragment on Patient {\n demographic {\n birthday\n fullName\n }\n }\n `,\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport {\n LegalSignatoryTypeMapper,\n LegalSignatoryType,\n} from \"~/src/js/components/shared/Signatures/mutations\";\n\nconst MessagesMapper = {\n [LegalSignatoryType.patient]: (\n \n ),\n [LegalSignatoryType.legalRepresentative]: (\n \n ),\n null: \"\",\n undefined: \"\",\n};\n\nconst LegalSignatoryLabel = ({ consentBy }) => {\n const legalSignatureType = LegalSignatoryTypeMapper[consentBy];\n return MessagesMapper[legalSignatureType];\n};\n\nLegalSignatoryLabel.propTypes = {\n consentBy: PropTypes.string,\n};\n\nexport default LegalSignatoryLabel;\n","export { default as HandWrittenFormHeader } from \"./HandWrittenFormHeader\";\nexport { default as HandWrittenSignatureForm } from \"./HandWrittenSignatureForm\";\nexport { default as HandWrittenSignatureDialog } from \"./HandWrittenSignatureDialog\";\nexport { default as HandWrittenSignature } from \"./HandWrittenSignature\";\nexport { SignatureInput, ImageMimeType } from \"./libs/Signatures\";\nexport { default as RecordSignature } from \"./RecordSignature\";\nexport { default as LegalSignatoryText } from \"./LegalSignatoryText\";\nexport { default as LegalSignatoryLabel } from \"./LegalSignatoryLabel\";\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withFormsy } from \"formsy-react\";\nimport { Input } from \"@akinoxsolutions/gerudo-ui\";\nimport InputMask from \"react-input-mask\";\n\nimport { useFormsyInput } from \"../hooks\";\nimport { InputLabel } from \"../InputLabel\";\nimport { withRequiredMessage } from \"../Wrappers/withRequiredMessage\";\n\nexport const TextInput = ({\n name,\n label,\n value,\n required,\n disabled,\n type,\n mask,\n prefix,\n suffix,\n addonBefore,\n addonAfter,\n onChange,\n onBlur,\n onFocus,\n setValue,\n errorMessage,\n showError,\n isFormSubmitted,\n isPristine,\n style,\n labelStyle,\n className,\n}) => {\n const { isFocused, handleChange, handleFocus, handleBlur } = useFormsyInput({\n defaultValue: value,\n setFormsyValue: setValue,\n onChange: onChange,\n onBlur: onBlur,\n onFocus: onFocus,\n });\n\n const commonProps = {\n name: name,\n value: value,\n type: type,\n required: required,\n disabled: disabled,\n addonBefore: addonBefore,\n addonAfter: addonAfter,\n prefix: prefix,\n suffix: suffix,\n onFocus: (e) => handleFocus(e.target.value),\n onBlur: (e) => handleBlur(e.target.value),\n onChange: (e) => handleChange(e.target.value),\n style: style,\n className: className,\n };\n\n const renderInput = () => {\n if (mask) {\n return (\n \n {(props) => (\n \n )}\n \n );\n }\n\n return ;\n };\n\n return (\n \n {renderInput()}\n \n );\n};\n\nTextInput.defaultProps = {\n className: \"\",\n};\n\nTextInput.propTypes = {\n label: PropTypes.node,\n name: PropTypes.string,\n type: PropTypes.string,\n mask: PropTypes.object,\n addonBefore: PropTypes.node,\n addonAfter: PropTypes.node,\n prefix: PropTypes.node,\n suffix: PropTypes.node,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n value: PropTypes.any,\n onChange: PropTypes.func,\n onBlur: PropTypes.func,\n onFocus: PropTypes.func,\n setValue: PropTypes.func,\n errorMessage: PropTypes.node,\n errorMessages: PropTypes.any,\n showError: PropTypes.bool,\n isPristine: PropTypes.bool,\n isFormSubmitted: PropTypes.bool,\n style: PropTypes.object,\n labelStyle: PropTypes.object,\n className: PropTypes.string,\n};\n\nexport default withRequiredMessage(withFormsy(TextInput));\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@-webkit-keyframes hiddenInput-style__error-animation___1Qbkn{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}@keyframes hiddenInput-style__error-animation___1Qbkn{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}.hiddenInput-style__animate-error___3ZQVb{background:#fff5f5;-webkit-animation:hiddenInput-style__error-animation___1Qbkn 1s 3 alternate;animation:hiddenInput-style__error-animation___1Qbkn 1s 3 alternate;border:2px solid #f00}.hiddenInput-style__animate-error___3ZQVb *:not([data-react-toolbox]){background:transparent !important}.gerudo-input input::-webkit-input-placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input::placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input:disabled{color:#424242 !important;font-weight:400 !important}.gerudo-input input:disabled::-webkit-input-placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.gerudo-input input:disabled::placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.hiddenInput-style__errored___PsHgR{display:block;margin:0;padding:0}.hiddenInput-style__errored___PsHgR .hiddenInput-style__inputElement___2gFpS,.hiddenInput-style__errored___PsHgR .hiddenInput-style__bar___37Ws1,.hiddenInput-style__errored___PsHgR .hiddenInput-style__label___2wnpW{display:none}.hiddenInput-style__errored___PsHgR .hiddenInput-style__error___2d_Fc{font-size:1.5rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"animate-error\": \"hiddenInput-style__animate-error___3ZQVb\",\n\t\"error-animation\": \"hiddenInput-style__error-animation___1Qbkn\",\n\t\"errored\": \"hiddenInput-style__errored___PsHgR\",\n\t\"inputElement\": \"hiddenInput-style__inputElement___2gFpS\",\n\t\"bar\": \"hiddenInput-style__bar___37Ws1\",\n\t\"label\": \"hiddenInput-style__label___2wnpW\",\n\t\"error\": \"hiddenInput-style__error___2d_Fc\"\n};","import Relay from \"react-relay/classic\";\n\n/**\n * Use this function to get from a list of departments with a hospital each\n * to a list of hospitals with nested departments ready to use for optgroup.\n * @param {any[]} departments - The departments to transform.\n * @param {boolean} includeSpecialistNames - If set to true, will concatenate the specialist names of the department\n * @param {boolean} includeEmptyChoice - If set to true, Will add an empty option to the source.\n * @returns {any[]} list of hospitals.\n */\nexport function departmentDropdownSource(\n departments: any[],\n includeSpecialistNames?: boolean,\n includeEmptyChoice?: boolean\n): any[] {\n let hospitals = departments.reduce((res, dept) => {\n const hospital = dept.hospital;\n if (hospital) {\n const found = res.filter((x) => x.value === hospital.value)[0];\n if (found) {\n found.departments.push(dept);\n } else {\n res.push({ ...hospital, departments: [dept] });\n }\n return res;\n }\n\n return res;\n }, []);\n\n if (includeSpecialistNames) {\n hospitals = hospitals.map((h) => {\n return {\n ...h,\n departments: h.departments.map((d) => {\n return {\n ...d,\n label: d.label + \" (\" + d.specialists.map((s) => s.fullName).join(\", \") + \")\",\n };\n }),\n };\n });\n }\n\n if (includeEmptyChoice) {\n return [{ label: \"\", value: \"\", departments: [{ label: \"\", value: \"\" }] }].concat(hospitals);\n }\n\n return hospitals;\n}\n\nexport const departmentDropdownFragment = Relay.QL`\n fragment on Department {\n id\n name\n value: id\n label: name\n hospital {\n id\n name\n value: id\n label: name\n }\n specialists(specialistType: REPORTER) {\n id\n fullName\n value: id\n label: fullName\n }\n }\n`;\n\nexport function professionsDropdownSource(professions: any[], includeEmptyChoice?: boolean): any[] {\n const results = professions.map((profession) => {\n let label = profession.name;\n if (profession.suffix) {\n label = label.concat(` (${profession.suffix})`);\n }\n if (profession.prefix) {\n label = `(${profession.prefix}) `.concat(label);\n }\n return {\n label: label,\n value: profession.id,\n };\n });\n\n if (includeEmptyChoice) {\n return [{ label: \"\", value: \"\" }].concat(results);\n }\n\n return results;\n}\n","module.exports = __webpack_public_path__ + \"706905ba05cd220875206ae5b4e02869.png\";","import { store } from \"../stores/store\";\n\nconst LANGUAGES = {\n frCa: \"fr-CA\",\n enCA: \"en-CA\",\n};\n\nexport function getLanguage() {\n return store.getState().settingsReducer.language || \"en-CA\";\n}\n\nexport function onLanguageChange(func) {\n if (store.getState().layoutReducer.isChangingLanguage) {\n func();\n }\n}\n\nexport const formatMessage = (messages) => {\n const lang = getLanguage();\n switch (lang) {\n case LANGUAGES.frCa: {\n return messages.fr;\n }\n case LANGUAGES.enCA: {\n return messages.en;\n }\n default: {\n return messages.en;\n }\n }\n};\n","\nvar content = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./AccountNotConfirmed.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./AccountNotConfirmed.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./AccountNotConfirmed.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./CaseAdminNotes.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./CaseAdminNotes.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./CaseAdminNotes.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import React from \"react\";\nimport { Route, Redirect } from \"react-router\";\n\nimport { urls, redirectToLegacyPage } from \"../helpers/authentication\";\n\nimport { RenderWithSplashAndError } from \"./routeHelpers\";\n\nconst routes = [\n {\n require.ensure(\n [],\n (require) => {\n const component = require(\"../components/accounts/settingsPage\");\n location.location.queries = component.queries;\n callback(null, component.default);\n },\n \"accountSettingsPage\"\n );\n }}\n getQueries={(location) => location.location.queries}\n render={RenderWithSplashAndError}\n />,\n\n {\n require.ensure(\n [],\n (require) => {\n const component = require(\"../components/accounts/accountStatisticsPage\");\n location.location.queries = component.queries;\n callback(null, component.default);\n },\n \"accountStatisticsPage\"\n );\n }}\n render={RenderWithSplashAndError}\n getQueries={(location) => location.location.queries}\n />,\n];\n\nif (process.env.IS_LOCAL) {\n const loginPage = require(\"../components/accounts/sessions/loginPage\").default;\n routes.push(\n \n );\n\n /*\n // -----------------------------\n // To render proper login page\n // -----------------------------\n routes.push(\n {\n redirectToLegacyPage(\"App/Login.aspx/\", true);\n }}\n />\n );\n */\n\n routes.push();\n}\n\nroutes.push(\n {\n redirectToLegacyPage(\"App/Login.aspx/\", true);\n }}\n />\n);\n\n// The following routes are redirects to legacy, which I expect to work in dev and prod.\nroutes.push(\n {\n redirectToLegacyPage(urls.AdminUsers, true);\n }}\n />\n);\n\nroutes.push(\n {\n redirectToLegacyPage(urls.Statistics, true);\n }}\n />\n);\n\nroutes.push(\n {\n redirectToLegacyPage(\"Request/\" + nextState.params.id, true);\n }}\n />\n);\n\nexport default routes;\n","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./NavContent.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./NavContent.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./NavContent.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@-webkit-keyframes inputs-shared__error-animation___18X0h{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}@keyframes inputs-shared__error-animation___18X0h{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}.inputs-shared__animate-error___10uaa{background:#fff5f5;-webkit-animation:inputs-shared__error-animation___18X0h 1s 3 alternate;animation:inputs-shared__error-animation___18X0h 1s 3 alternate;border:2px solid #f00}.inputs-shared__animate-error___10uaa *:not([data-react-toolbox]){background:transparent !important}.gerudo-input input::-webkit-input-placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input::placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input:disabled{color:#424242 !important;font-weight:400 !important}.gerudo-input input:disabled::-webkit-input-placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.gerudo-input input:disabled::placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"animate-error\": \"inputs-shared__animate-error___10uaa\",\n\t\"error-animation\": \"inputs-shared__error-animation___18X0h\"\n};","import Relay from \"react-relay/classic\";\n\nexport default class SaveUserItemMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(SaveUserItemMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { saveUserItem }`;\n }\n\n getVariables() {\n return {\n entityId: this.props.entityId,\n purpose: this.props.purpose,\n permission: this.props.permission,\n data: this.props.data,\n shouldMergeData: this.props.shouldMergeData || false,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on SaveUserItemPayload {\n savedItem {\n id\n data\n hasData\n savedOn\n ${SaveUserItemMutation.getFragment(\"item\")}\n }\n }\n `;\n }\n\n getConfigs() {\n const results = [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on SaveUserItemPayload {\n savedItem {\n id\n ${SaveUserItemMutation.getFragment(\"item\")}\n }\n }\n `,\n ],\n },\n ];\n if (this.props.item) {\n results.push({\n type: \"FIELDS_CHANGE\",\n fieldIDs: { savedItem: this.props.item.id },\n });\n }\n\n return results;\n }\n\n static fragments = {\n item: () => Relay.QL`\n fragment on UserSavedItem {\n id\n data\n hasData\n savedOn\n }\n `,\n };\n}\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Popover-style__popover___1BoZa{z-index:-1000;opacity:0;background-color:#fff;border-radius:0.5rem;box-shadow:0px 0px 10px 0px rgba(50,50,50,0.3);padding:2rem}.Popover-style__popover___1BoZa.Popover-style__active___1D0lM{z-index:5;opacity:1}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"popover\": \"Popover-style__popover___1BoZa\",\n\t\"active\": \"Popover-style__active___1D0lM\"\n};","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./ProceduresTable.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./ProceduresTable.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./ProceduresTable.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import Relay from \"react-relay/classic\";\n\nexport default class ViewCaseMutation extends Relay.Mutation {\n getMutation() {\n return Relay.QL`mutation { viewCase }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ViewCasePayload {\n case {\n id\n viewedOn\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n ];\n }\n}\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\n\nimport ErrorCard from \"../shared/errorCard\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport class _NotFoundPage extends React.Component {\n static propTypes = {\n message: PropTypes.string,\n };\n\n render() {\n const error = new Error(\n this.props.message || this.props.intl.formatMessage(baseI18n.error.pageNotFound)\n );\n return ;\n }\n}\n\nexport default injectIntl(_NotFoundPage);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { Helmet } from \"react-helmet\";\nimport { injectIntl } from \"react-intl\";\n\nimport { setTitle } from \"~/src/js/helpers/document\";\n\nconst PageTitle = ({ message, values, intl: { formatMessage } }) => {\n return (\n \n {setTitle(formatMessage, formatMessage(message, values))}\n \n );\n};\n\nPageTitle.propTypes = {\n message: PropTypes.object.isRequired,\n values: PropTypes.object,\n};\n\nexport default injectIntl(PageTitle);\n","import React, { useState, useContext, useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { MenuContext } from \"~/src/js/components/shared/Menu\";\n\nimport styles from \"./UrlAnchor.style\";\n\nconst UrlAnchor = ({ id, menuName, children }) => {\n const ref = useRef();\n const [pageHeight, setPageHeight] = useState(window.innerHeight);\n const { getSelectedMenuItemFromMenuName, selectMenuItem } = useContext(MenuContext);\n\n useEffect(() => {\n setPageHeight(window.innerHeight);\n window.addEventListener(\"resize\", () => {\n setTimeout(() => {\n setPageHeight(window.innerHeight);\n }, 300);\n });\n }, []);\n\n useEffect(() => {\n // We must divide by an even number otherwise it flickers\n const observerMargin = Math.floor(pageHeight / 6);\n const topMargin = pageHeight % 2 === 0 ? observerMargin - 1 : observerMargin;\n const bottomMargin = observerMargin;\n const observerConfig = {\n rootMargin: `-${topMargin}px 0px -${bottomMargin}px 0px`,\n };\n const handleIntersection = (entries) => {\n entries.forEach((entry) => {\n if (\n !getSelectedMenuItemFromMenuName(menuName).includes(entry.target.id) &&\n entry.isIntersecting\n ) {\n handleOnShow();\n }\n });\n };\n const observer = new IntersectionObserver(handleIntersection, observerConfig);\n\n observer.observe(ref.current);\n return () => observer.disconnect();\n }, []);\n\n const handleOnShow = () => {\n history.pushState(null, null, `#${id}`);\n selectMenuItem({ menuName: menuName, menuItemNames: [id] });\n };\n\n return (\n
\n {children}\n
\n );\n};\n\nUrlAnchor.propTypes = {\n id: PropTypes.string.isRequired,\n menuName: PropTypes.string.isRequired,\n};\n\nexport default UrlAnchor;\n","export const FORM_CODES = {\n THORSURG: \"THORSURG\",\n PATIENT_MESSAGE: \"PATIENT\",\n GEN_REQ: \"GENERICv2\",\n};\n","export const messages = {\n title: {\n id: \"notes.admin.title\",\n description: \"Admin notes title\",\n },\n subtitle: {\n id: \"notes.admin.subtitle\",\n description: \"Admin notes subtitle\",\n },\n};\n","import React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { messages } from \"./CaseAdminNotes.i18\";\n\nconst CaseAdminNoteTitle = () => {\n return ;\n};\n\nexport default CaseAdminNoteTitle;\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class AddAdminNoteToCaseMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(AddAdminNoteToCaseMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { addCaseAdministrativeNoteMutation }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n content: this.props.content,\n fileIds: this.props.fileIds || [],\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on AddCaseAdministrativeNotePayload {\n case {\n notes\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n ];\n }\n}\n\nexport const addAdminNoteToCase = ({ caseId, content, fileIds }) => {\n const params = {\n caseId,\n content,\n fileIds,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new AddAdminNoteToCaseMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport classnames from \"classnames\";\n\nimport { MenuAnchors, MenuNames } from \"~/src/js/hooks/urls\";\nimport { UrlAnchor } from \"~/src/js/components/shared/Urls\";\nimport { FORM_CODES } from \"~/src/js/components/cases/creation/formCodes\";\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\n\nimport { Notes } from \"../index\";\n\nimport CaseAdminNoteTitle from \"./CaseAdminNoteTitle\";\nimport { addAdminNoteToCase } from \"./mutations\";\nimport { messages } from \"./CaseAdminNotes.i18\";\n\nimport style from \"./CaseAdminNotes.style\";\n\nexport const resolvePermissions = (cas) => {\n switch (cas.form.code) {\n case FORM_CODES.GEN_REQ: {\n return cas.data.extraData.permissions;\n }\n case FORM_CODES.THORSURG: {\n return cas.data.permissions;\n }\n default: {\n return {};\n }\n }\n};\n\nconst CaseAdminNotes = ({ className, viewer, case: cas }) => {\n const addAdminNote = (noteForm) => {\n return addAdminNoteToCase({\n caseId: cas.id,\n content: noteForm.note,\n fileIds: noteForm.files.map((file) => file.id),\n });\n };\n\n const { canAddAdministrativeNotes } = resolvePermissions(cas);\n\n return (\n \n \n \n }\n subtitle={}\n notes={cas.notes}\n onSave={addAdminNote}\n additionalClassName={classnames(style[\"case-admin-notes\"], className)}\n canAddNotes={canAddAdministrativeNotes}\n />\n );\n};\n\nCaseAdminNotes.propTypes = {\n className: PropTypes.string,\n viewer: ViewerPropTypes,\n case: PropTypes.object.isRequired,\n};\n\nexport default Relay.createContainer(CaseAdminNotes, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${Notes.getFragment(\"viewer\")}\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n id\n form {\n code\n }\n notes {\n ${Notes.getFragment(\"notes\")}\n }\n data {\n ... on ConversationConsultData {\n extraData {\n ... on GenericConversationConsultData {\n permissions {\n canAddAdministrativeNotes\n }\n }\n }\n }\n ... on ThoracicSurgeryData {\n permissions {\n canAddAdministrativeNotes\n }\n }\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\n\nexport const PermissionsPropTypes = PropTypes.shape({\n canDelete: PropTypes.bool,\n canEditBodyParts: PropTypes.bool,\n canEditDocumentType: PropTypes.bool,\n canEditDescription: PropTypes.bool,\n});\n","import PropTypes from \"prop-types\";\n\nimport { UserPropTypes } from \"~/src/js/PropTypes/User\";\nimport { PermissionsPropTypes } from \"~/src/js/PropTypes/Permissions\";\n\nexport const AttachmentPropTypes = PropTypes.shape({\n bodyParts: PropTypes.array,\n description: PropTypes.string,\n documentTypeId: PropTypes.string,\n fileName: PropTypes.string,\n id: PropTypes.string,\n permissions: PermissionsPropTypes,\n previewUrl: PropTypes.string,\n size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n uploadedOn: PropTypes.string,\n url: PropTypes.string,\n user: UserPropTypes,\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\n\nimport { BodyPartPropTypes } from \"~/src/js/PropTypes/Attachments\";\n\nexport const BodyPartsList = ({ bodyParts }) => {\n if (bodyParts && bodyParts.length > 0) {\n return {bodyParts.map((x) => x.name).join(\", \")};\n }\n\n return null;\n};\n\nBodyPartsList.propTypes = {\n bodyParts: PropTypes.arrayOf(BodyPartPropTypes),\n};\n\nexport default Relay.createContainer(BodyPartsList, {\n fragments: {\n bodyParts: () => Relay.QL`\n fragment on BodyPart @relay(plural: true) {\n id\n name\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\n\nexport const BodyPartPropTypes = PropTypes.shape({\n id: PropTypes.string,\n name: PropTypes.string,\n code: PropTypes.string,\n});\n","import filesize from \"filesize\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { IconButton } from \"react-toolbox/lib/button\";\nimport Relay from \"react-relay/classic\";\n\nimport { URLs } from \"~/src/js/constants\";\nimport { downloadFile, saveFile } from \"~/src/js/helpers/files\";\nimport { getToken } from \"~/src/js/helpers/authentication\";\n\nimport { FilePropTypes } from \"./propTypes/FilePropTypes\";\nimport styles from \"./style\";\nimport { BodyPartsList } from \"./BodyParts\";\n\nexport const InlineAttachment = ({ file, viewerUrl }) => {\n const { fileName, size, url, previewUrl, documentType, bodyParts } = file;\n const documentTypeName = documentType ? documentType.name : null;\n\n const handleDownload = (uri) => {\n const jwt = encodeURIComponent(getToken());\n downloadFile(uri, jwt, true).then((f) => {\n saveFile(f);\n });\n };\n\n return (\n
\n \n {\n handleDownload(url);\n }}\n rel=\"external\"\n />\n {previewUrl && (\n \n )}\n
\n );\n};\n\nInlineAttachment.propTypes = {\n file: FilePropTypes,\n viewerUrl: PropTypes.string,\n};\n\nexport default Relay.createContainer(InlineAttachment, {\n fragments: {\n file: () => Relay.QL`\n fragment on Attachment {\n id\n fileName\n size\n url\n previewUrl\n bodyParts {\n ${BodyPartsList.getFragment(\"bodyParts\")}\n }\n documentType {\n id\n name\n }\n }\n `,\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\n\nimport { URLs } from \"~/src/js/constants\";\nimport { getToken } from \"~/src/js/helpers/authentication\";\n\nimport { FilePropTypes } from \"./propTypes/FilePropTypes\";\nimport InlineAttachment from \"./InlineAttachment\";\n\nexport const InlineAttachments = ({ attachments, className }) => {\n if (attachments && attachments.length > 0) {\n const fileIds = attachments\n .filter((file) => Boolean(file.previewUrl))\n .map((file) => encodeURIComponent(file.id));\n return (\n
\n {attachments.map((file) => {\n const formattedPreviewUrl = URLs.dicomManifest(getToken(), fileIds, \"\");\n return ;\n })}\n
\n );\n }\n\n return null;\n};\n\nInlineAttachments.propTypes = {\n attachments: PropTypes.arrayOf(FilePropTypes),\n className: PropTypes.string,\n};\n\nInlineAttachments.defaultProps = {\n attachments: \"\",\n};\n\nexport default Relay.createContainer(InlineAttachments, {\n fragments: {\n attachments: () => Relay.QL`\n fragment on Attachment @relay(plural: true) {\n id\n previewUrl\n ${InlineAttachment.getFragment(\"file\")}\n }\n `,\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\n\nimport FormattedDateTime from \"~/src/js/components/shared/formattedDateTime\";\nimport { PersonInformation } from \"~/src/js/components/shared/PersonInformation\";\nimport { PersonPropTypes } from \"~/src/js/PropTypes/Person\";\nimport { DateTimePropTypes } from \"~/src/js/PropTypes/DateTime\";\n\nimport style from \"./creationInformationHeader.style.scss\";\n\nconst CreationInformationHeader = ({ creator, showMessageAuthorAsLink, createdOn }) => {\n return (\n
\n {showMessageAuthorAsLink && }\n {!showMessageAuthorAsLink && {creator.fullName}}\n -\n \n
\n );\n};\n\nCreationInformationHeader.propTypes = {\n creator: PersonPropTypes.isRequired,\n showMessageAuthorAsLink: PropTypes.bool.isRequired,\n createdOn: DateTimePropTypes.isRequired,\n};\n\nexport default Relay.createContainer(CreationInformationHeader, {\n fragments: {\n creator: () => Relay.QL`\n fragment on Person {\n ${PersonInformation.getFragment(\"person\")}\n fullName\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\n\nimport { FilePropTypes } from \"~/src/js/components/attachments/UploadAndList/propTypes/FilePropTypes\";\nimport { DateTimePropTypes } from \"~/src/js/PropTypes/DateTime\";\nimport { UserPropTypes } from \"~/src/js/PropTypes/User/index\";\n\nexport const NotePropTypes = PropTypes.shape({\n id: PropTypes.string,\n createdOn: DateTimePropTypes,\n content: PropTypes.string,\n creator: UserPropTypes,\n attachments: PropTypes.arrayOf(FilePropTypes),\n});\n","import React from \"react\";\nimport Relay from \"react-relay/classic\";\n\nimport InlineAttachments from \"~/src/js/components/attachments/UploadAndList/InlineAttachments\";\nimport { PersonInformation } from \"~/src/js/components/shared/PersonInformation\";\nimport { CreationInformationHeader } from \"~/src/js/components/shared/CreationInformationHeader\";\n\nimport { NotePropTypes } from \"./propTypes/NotePropType\";\nimport style from \"./Note.style.scss\";\n\nexport const Note = ({ note }) => {\n const { attachments } = note;\n\n return (\n
\n \n\n
\n {note.content}\n
\n\n \n
\n );\n};\n\nNote.propTypes = {\n note: NotePropTypes,\n};\n\nexport default Relay.createContainer(Note, {\n fragments: {\n note: () => Relay.QL`\n fragment on Note {\n id\n content\n createdOn\n creator {\n person {\n ${CreationInformationHeader.getFragment(\"creator\")}\n ${PersonInformation.getFragment(\"person\")}\n }\n }\n attachments {\n ${InlineAttachments.getFragment(\"attachments\")}\n }\n }\n `,\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\nimport { NoteIcon } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { Chip } from \"~/src/js/components/common\";\n\nimport { NotePropTypes } from \"..\";\n\nimport styles from \"./NoteTitleWithCount.style\";\n\nconst NoteTitleWithCount = ({ children, notes, withIcon }) => {\n return (\n
\n \n {withIcon && }\n {children}\n \n {notes ? notes.length : 0}\n
\n );\n};\n\nNoteTitleWithCount.propTypes = {\n notes: PropTypes.arrayOf(NotePropTypes),\n withIcon: PropTypes.bool,\n};\n\nNoteTitleWithCount.defaultProps = {\n withIcon: true,\n};\n\nexport default Relay.createContainer(NoteTitleWithCount, {\n fragments: {\n notes: () => Relay.QL`\n fragment on Note @relay(plural: true) {\n id\n }\n `,\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\n\nimport { NotePropTypes, NoteTitleWithCount } from \"../Note\";\n\nimport { CaseAdminNoteTitle } from \".\";\n\nconst CaseAdminNotesTitleAndCount = ({ notes, withIcon }) => {\n return (\n \n \n \n );\n};\n\nCaseAdminNotesTitleAndCount.propTypes = {\n notes: PropTypes.arrayOf(NotePropTypes),\n withIcon: PropTypes.bool,\n};\n\nexport default Relay.createContainer(CaseAdminNotesTitleAndCount, {\n fragments: {\n notes: () => Relay.QL`\n fragment on Note @relay(plural: true) {\n ${NoteTitleWithCount.getFragment(\"notes\")}\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class AddClinicalNoteToCaseMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(AddClinicalNoteToCaseMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { addCaseClinicalNoteMutation }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n content: this.props.content,\n fileIds: this.props.fileIds || [],\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on AddCaseClinicalNotePayload {\n case {\n notes\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n ];\n }\n}\n\nexport const addClinicalNoteToCase = ({ caseId, content, fileIds }) => {\n const params = {\n caseId,\n content,\n fileIds,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new AddClinicalNoteToCaseMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\n\nimport { Notes, noteTypes } from \"../index\";\nimport { addClinicalNoteToCase } from \"../CaseClinicalNotes/mutations\";\n\nconst CaseClinicalNotes = ({ viewer, case: cas }) => {\n const addClinicalNotes = (noteForm) => {\n return addClinicalNoteToCase({\n caseId: cas.id,\n content: noteForm.note,\n fileIds: noteForm.files.map((file) => file.id),\n });\n };\n\n const { canAddClinicalNotes } = cas.data.permissions;\n\n return (\n }\n subtitle={}\n notes={cas.notes}\n onSave={addClinicalNotes}\n canAddNotes={canAddClinicalNotes}\n type={noteTypes.clinical}\n additionalClassName=\"case-clinical-notes\"\n />\n );\n};\n\nCaseClinicalNotes.propTypes = {\n viewer: ViewerPropTypes,\n case: PropTypes.object.isRequired,\n};\n\nexport default Relay.createContainer(CaseClinicalNotes, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${Notes.getFragment(\"viewer\")}\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n id\n\n notes {\n ${Notes.getFragment(\"notes\")}\n }\n\n data {\n ... on PatientConversationData {\n permissions {\n canAddClinicalNotes\n }\n }\n ... on PatientAssessmentData {\n permissions {\n canAddClinicalNotes\n }\n }\n }\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class UpdateAttachmentDocumentTypeMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(UpdateAttachmentDocumentTypeMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { updateAttachmentDocumentType }`;\n }\n\n getVariables() {\n return {\n attachmentId: this.props.attachmentId,\n documentTypeId: this.props.documentTypeId || null,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on UpdateAttachmentDocumentTypePayload {\n updatedAttachment {\n id\n fileName\n extension\n url\n previewUrl\n size\n description\n documentTypeId\n documentType {\n id\n name\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on UpdateAttachmentDocumentTypePayload {\n updatedAttachment {\n id\n fileName\n extension\n url\n previewUrl\n size\n description\n documentTypeId\n documentType {\n id\n name\n }\n }\n }\n `,\n ],\n },\n ];\n }\n}\n\nexport const updateAttachmentDocumentTypeMutation = ({ attachment, documentTypeId }) => {\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(\n new UpdateAttachmentDocumentTypeMutation({\n attachmentId: attachment.id,\n documentTypeId: documentTypeId,\n }),\n {\n onSuccess: resolve,\n onFailure: (r) => getErrors(r).then((errors) => reject(errors)),\n }\n );\n });\n};\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n delete: {\n id: \"global.delete\",\n description: \"Generic 'delete' label\",\n defaultMessage: \"Delete\",\n },\n deleteConfirmationText: {\n id: \"historyItem.deleteConfirmationText\",\n description: \"Dialog text for delete confirmation\",\n defaultMessage: \"Are you sure you want to delete {fileName}?\",\n },\n deleteConfirmationTitle: {\n id: \"historyItem.deleteConfirmationTitle\",\n description: \"Dialog title for delete confirmation\",\n defaultMessage: \"Delete confirmation\",\n },\n deleteConfirmationTooltip: {\n id: \"historyItem.deleteConfirmationTooltip\",\n description: \"Tooltip for delete icon\",\n defaultMessage: \"Delete\",\n },\n documentName: {\n id: \"filesInput.documentName\",\n description: \"Document name label\",\n defaultMessage: \"Document name\",\n },\n uploadedBy: {\n id: \"filesInput.uploadedBy\",\n description: \"Document uploaded by\",\n defaultMessage: \"Uploaded by\",\n },\n sentToEmrOn: {\n id: \"filesInput.sentToEmrOn\",\n description: \"Document sentToEmrOn\",\n defaultMessage: \"Sent to ECR on\",\n },\n documentType: {\n id: \"filesInput.documentType\",\n description: \"Document type label\",\n defaultMessage: \"Document type\",\n },\n documents: {\n id: \"filesInput.documents\",\n description: \"Documents label\",\n defaultMessage: \"Documents\",\n },\n dropFiles: {\n id: \"filesInput.defaultLabel\",\n description: \"Default label for a file input\",\n defaultMessage: \"Drop files here to upload or click to browse\",\n },\n duplicateFileError: {\n id: \"attachmentUploadAndList.duplicateFileError\",\n description: \"Error message when a user try to upload the same file twice in the same context\",\n defaultMessage: \"You already uploaded a file with the same name ({fileName})\",\n },\n zeroFileSizeError: {\n id: \"attachmentUploadAndList.zeroFileSizeError\",\n description: \"Error message when a user try to upload a file with size zero\",\n defaultMessage: \"System prevent uploading file with size zero ({fileName})\",\n },\n rejectedFile: {\n id: \"filesInput.rejectedFile\",\n description: \"Label for dropping a file of a rejected type.\",\n defaultMessage: \"One or more files aren't accepted.\",\n },\n selectBodyParts: {\n id: \"attachmentUploadAndList.selectBodyParts\",\n description: \"Select body parts button label\",\n defaultMessage: \"Select body parts\",\n },\n updateModalDocumentType: {\n id: \"attachmentUploadAndList.actions.selectDocumentType\",\n description: \"Select document type button label\",\n defaultMessage: \"Select document type\",\n },\n selectDocumentType: {\n id: \"attachmentUploadAndList.actions.selectDocumentType\",\n description: \"Select document type button label\",\n defaultMessage: \"Select document type\",\n },\n uploadedImages: {\n id: \"attachmentUploadAndList.uploadedImages\",\n description: \"Title for uploaded images viewed in the DICOM viewer.\",\n defaultMessage: \"Uploaded images\",\n },\n viewAllImages: {\n id: \"attachmentUploadAndList.viewAllImages\",\n description: \"Tooltip for image viewer icon\",\n defaultMessage: \"View all images\",\n },\n viewAllUploadedImages: {\n id: \"attachmentUploadAndList.viewAllUploadedImages\",\n description: \"Tooltip for image viewer icon when images are temporary\",\n defaultMessage: \"View all currently uploaded images\",\n },\n updateDocumentTypeSuccess: {\n id: \"attachmentUploadAndList.feedback.updateDocumentType\",\n description: \"Document type updated feedback success\",\n defaultMessage: \"Updated document type with success\",\n },\n});\n","import Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React, { useState, useRef } from \"react\";\nimport { intlShape } from \"react-intl\";\nimport Dialog from \"react-toolbox/lib/dialog\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport { handleFormsyInvalidSubmit } from \"../../../helpers/errors\";\nimport ErrorCard from \"../../shared/errorCard\";\n\nimport { messages } from \"./i18n\";\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nconst ConfirmDeletionDialog = ({\n deleteFile,\n file,\n closeDialog,\n errors,\n intl: { formatMessage },\n}) => {\n const { cancel, delete: del } = baseI18n.global;\n const [mutating, setMutating] = useState(false);\n const formRef = useRef();\n\n const reinitState = () => setMutating(false);\n\n const deleteCurrentFile = () => {\n setMutating(true);\n return deleteFile(file).then(reinitState).catch(reinitState);\n };\n\n const actions = [\n {\n label: formatMessage(cancel),\n onClick: closeDialog,\n },\n {\n children: {formatMessage(del)},\n onClick: () => formRef.current.submit(),\n disabled: mutating,\n primary: true,\n icon: \"delete\",\n className: formStyle[\"danger-button\"],\n },\n ];\n\n return (\n \n deleteCurrentFile()}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(formRef.current)}\n ref={formRef}\n noValidate\n className={formStyle[\"card-form\"]}>\n

{formatMessage(messages.deleteConfirmationText, { fileName: file.fileName })}

\n \n\n {errors && errors.length > 0 ? : null}\n \n );\n};\n\nConfirmDeletionDialog.propTypes = {\n file: PropTypes.any.isRequired,\n deleteFile: PropTypes.func.isRequired,\n closeDialog: PropTypes.func,\n errors: PropTypes.arrayOf(PropTypes.any),\n intl: intlShape,\n};\n\nexport default ConfirmDeletionDialog;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Button, ButtonGroup, Modal } from \"@akinoxsolutions/gerudo-ui\";\nimport Formsy from \"formsy-react\";\nimport { FormattedMessage, injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\n\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { useFormsySubmit } from \"~/src/js/hooks\";\nimport { SelectInput } from \"~/src/js/components/shared/inputs\";\nimport baseMessages from \"~/src/messages/base.i18n\";\nimport RetryableImage from \"~/src/js/components/shared/retryableImage\";\n\nimport { updateAttachmentDocumentTypeMutation } from \"../updateAttachmentDocumentTypeMutation\";\n\nimport { FilePropTypes } from \"./propTypes/FilePropTypes\";\n\nimport { messages } from \"./i18n\";\n\nconst UpdateDocumentTypeDialog = ({\n file,\n visible,\n onCancel,\n showNotification,\n documentTypeList,\n intl: { formatMessage },\n}) => {\n const onSubmitFormsy = async (data) => {\n await updateAttachmentDocumentTypeMutation({\n attachment: file,\n documentTypeId: data.documentTypeId,\n });\n };\n\n const onSuccess = () => {\n showNotification(formatMessage(messages.updateDocumentTypeSuccess), \"accept\");\n onCancel();\n };\n\n const { formsyProps, errors, isSubmitting, setErrors } = useFormsySubmit({\n onSubmit: onSubmitFormsy,\n onSuccess: onSuccess,\n });\n\n const cancel = () => {\n setErrors([]);\n onCancel();\n };\n\n const actions = () => {\n return (\n \n \n \n \n );\n };\n\n const getContainerRef = () => {\n return document.getElementById(\"gerudo\");\n };\n\n return (\n }\n visible={visible}\n closable\n zIndex={1000}\n width={\"100rem\"}\n actions={actions}\n onCancel={onCancel}\n getContainer={() => getContainerRef()}>\n \n {file.previewUrl ? (\n \n ) : null}\n }\n options={documentTypeList}\n value={file.documentType ? file.documentType.id : null}\n />\n \n \n \n );\n};\n\nUpdateDocumentTypeDialog.propTypes = {\n file: FilePropTypes,\n visible: PropTypes.bool,\n onCancel: PropTypes.func,\n showNotification: PropTypes.func,\n intl: intlShape,\n documentTypeList: PropTypes.arrayOf(PropTypes.object),\n};\n\nconst mapStateToProps = () => ({});\nconst mapDispatchToProps = {\n showNotification: showDialogNotice,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(injectIntl(UpdateDocumentTypeDialog));\n","import filesize from \"filesize\";\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment } from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { IconButton } from \"react-toolbox/lib/button\";\nimport { IconMenu, MenuItem } from \"react-toolbox/lib/menu\";\nimport { Progress } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { DropDownListInput } from \"~/src/js/components/shared/inputs\";\nimport { DynamicTable } from \"~/src/js/components/common\";\nimport FormattedDateTime from \"~/src/js/components/shared/formattedDateTime\";\nimport { URLs } from \"~/src/js/constants\";\nimport { parseToCalendarDate } from \"~/src/js/helpers/dates\";\nimport { getErrors } from \"~/src/js/helpers/errors\";\nimport { getBodyParts } from \"~/src/js/helpers/staticData\";\nimport MobileMediaQuery from \"~/src/js/components/shared/MediaQuery/MobileMediaQuery\";\nimport { HideOnPrint } from \"~/src/js/components/shared/HideOnPrint\";\nimport { getToken } from \"~/src/js/helpers/authentication\";\nimport { featureKeys, isEnabled } from \"~/src/js/helpers/features\";\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\n\nimport UpdateAttachmentDescriptionMutation from \"../updateAttachmentDescriptionMutation\";\nimport DeleteAttachmentMutation from \"../deleteAttachmentMutation\";\nimport { InjectedBodyPartPickerDialog } from \"../bodyPartPicker\";\nimport { EditDescriptionDialog } from \"../attachmentUploadAndList\";\nimport UpdateAttachmentDocumentTypeMutation from \"../updateAttachmentDocumentTypeMutation\";\nimport { downloadFile, saveFile } from \"../../../helpers/files\";\n\nimport ConfirmDeletionDialog from \"./ConfirmDeletionDialog\";\nimport styles from \"./style\";\nimport UpdateDocumentTypeDialog from \"./UpdateDocumentTypeDialog\";\nimport { BodyPartsList } from \"./BodyParts\";\n\nimport { messages } from \"./i18n\";\nimport stylesDropdown from \"../../forms/THORSURG/ThoracicSurgeryForm.style\";\n\nexport const ATTACHMENTS_COLUMNS = {\n documentName: \"documentName\",\n documentType: \"documentType\",\n sentToEmrOn: \"sentToEmrOn\",\n uploadedBy: \"uploadedBy\",\n actions: \"actions\",\n};\n\nexport const ATTACHMENTS_TABLE_ACTIONS = {\n delete: \"delete\",\n editDescription: \"editDescription\",\n editBodyParts: \"editBodyParts\",\n editDocumentType: \"editDocumentType\",\n};\n\nconst ATTACHMENTS_MEDIA_QUERY = 750;\n\nclass Attachments extends React.Component {\n static propTypes = {\n viewer: ViewerPropTypes,\n documentTypeList: PropTypes.any,\n showDocumentTypeDropdown: PropTypes.bool,\n files: PropTypes.any.isRequired,\n intl: intlShape,\n isInputVisible: PropTypes.bool,\n uploadProgress: PropTypes.object,\n language: PropTypes.string,\n onBodyPartsUpdated: PropTypes.func,\n onDelete: PropTypes.func,\n onDescriptionUpdated: PropTypes.func,\n onDocumentTypeUpdated: PropTypes.func,\n onErrors: PropTypes.func,\n patientGender: PropTypes.string,\n shouldConfirmDelete: PropTypes.bool,\n viewerUrl: PropTypes.string,\n // Order in array is important\n columns: PropTypes.arrayOf(PropTypes.oneOf(Object.values(ATTACHMENTS_COLUMNS))),\n actions: PropTypes.object,\n };\n\n static defaultProps = {\n columns: [\n ATTACHMENTS_COLUMNS.documentName,\n ATTACHMENTS_COLUMNS.uploadedBy,\n ATTACHMENTS_COLUMNS.actions,\n ],\n actions: {\n [ATTACHMENTS_TABLE_ACTIONS.delete]: true,\n [ATTACHMENTS_TABLE_ACTIONS.editDescription]: true,\n [ATTACHMENTS_TABLE_ACTIONS.editBodyParts]: true,\n },\n showDocumentTypeDropdown: true,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n inProgress: false,\n deletingAttachment: null,\n editingBodyPartsAttachment: null,\n };\n }\n\n t = (key, args) => {\n return this.props.intl.formatMessage(key, args);\n };\n\n showUploadedViewerUrl = () => {\n const { viewer } = this.props;\n const { features } = viewer || {};\n return isEnabled(features, featureKeys.DicomViewer);\n };\n\n handleDelete = (file) => {\n const { inProgress } = this.state;\n const { shouldConfirmDelete } = this.props;\n\n if (!inProgress) {\n if (shouldConfirmDelete) {\n this.setState({ deletingAttachment: file });\n } else {\n this.deleteFile(file);\n }\n }\n };\n\n handleEditBodyParts = (file) => {\n const { inProgress } = this.state;\n\n if (!inProgress) {\n this.setState({ inProgress: true, editingBodyPartsAttachment: file });\n }\n };\n\n handleEditDescription = (file) => {\n const { inProgress } = this.state;\n\n if (!inProgress) {\n this.setState({ inProgress: true, editingAttachment: file });\n }\n };\n\n handleEditDocumentType = (file) => {\n const { inProgress } = this.state;\n\n if (!inProgress) {\n this.setState({ inProgress: true, editingDocumentType: file });\n }\n };\n\n handleEditDocType = (file, documentTypeId) => {\n this.updateDocumentType(file, documentTypeId);\n };\n\n handleCloseDialog = () => {\n this.setState({ deletingAttachment: null, errors: null });\n };\n\n handleBodyPartsDialog = () => {\n this.setState({ inProgress: false, editingBodyPartsAttachment: null });\n };\n\n getModel = () => {\n return {\n documentName: { title: this.t(messages.documentName) },\n uploadedBy: { title: this.t(messages.uploadedBy) },\n sentToEmrOn: { title: this.t(messages.sentToEmrOn) },\n documentType: { title: this.t(messages.documentType) },\n actions: { title: null },\n };\n };\n\n getResponsiveModel = () => {\n return {\n documentName: { title: this.t(messages.documentName) },\n actions: { title: null },\n };\n };\n\n getActions = (file, viewerUrl) => {\n const { actions, documentTypeList } = this.props;\n const { id, isUploading, permissions, url, previewUrl } = file;\n const canDelete = permissions.canDelete && actions[ATTACHMENTS_TABLE_ACTIONS.delete],\n canEditDescription =\n permissions.canEditDescription && actions[ATTACHMENTS_TABLE_ACTIONS.editDescription],\n canEditBodyParts =\n permissions.canEditBodyParts && actions[ATTACHMENTS_TABLE_ACTIONS.editBodyParts],\n canEditDocumentType =\n permissions.canEditDocumentType && actions[ATTACHMENTS_TABLE_ACTIONS.editDocumentType];\n const fileIsUploading =\n isUploading || (this.props.uploadProgress && this.props.uploadProgress[id]);\n const uploadPercentage = this.props.uploadProgress\n ? this.props.uploadProgress[id]\n ? this.props.uploadProgress[id]\n : 0\n : 0;\n return (\n \n {fileIsUploading ? (\n \n ) : (\n \n {\n this.handleDownload(url);\n }}\n rel=\"external\"\n />\n {previewUrl && viewerUrl && (\n \n )}\n {(canDelete || canEditDescription || canEditBodyParts || canEditDocumentType) && (\n \n {canDelete && (\n this.handleDelete(file)}\n />\n )}\n {canEditDescription && (\n this.handleEditDescription(file)}\n />\n )}\n {canEditBodyParts && (\n this.handleEditBodyParts(file)}\n />\n )}\n {canEditDocumentType && documentTypeList && documentTypeList.length !== 0 && (\n this.handleEditDocumentType(file)}\n />\n )}\n \n )}\n \n )}\n \n );\n };\n\n handleDownload = (uri) => {\n const jwt = encodeURIComponent(getToken());\n downloadFile(uri, jwt, true).then((f) => {\n saveFile(f);\n });\n };\n\n mapFiles = (files, documentTypes) => {\n const showUploadedViewerUrl = this.showUploadedViewerUrl();\n const { isInputVisible, showDocumentTypeDropdown } = this.props;\n let { viewerUrl } = this.props;\n if (showUploadedViewerUrl) {\n const ids = files.filter((x) => Boolean(x.previewUrl)).map((x) => encodeURIComponent(x.id));\n const title = this.props.intl.formatMessage(messages.uploadedImages);\n viewerUrl = URLs.dicomManifest(getToken(), ids, title);\n }\n return files.map((file) => {\n const {\n bodyParts,\n description,\n documentTypeId = \"\",\n fileName = \"Missing file name\",\n id,\n permissions,\n size = 0,\n uploadedOn,\n user,\n documentType,\n sentToEmrOn,\n } = file;\n const documentTypeName = documentType ? documentType.name : null;\n const sentOnEmrParsed = parseToCalendarDate(sentToEmrOn, false);\n const sentToEmrMessage = sentOnEmrParsed ? sentOnEmrParsed : null;\n\n const canEditDocumentType = permissions.canEditDocumentType;\n return {\n key: id,\n documentName: (\n \n {fileName} ({filesize(size, { round: 1 })})\n {documentTypes && showDocumentTypeDropdown && (\n \n this.handleEditDocType(file, selectedDocTypeId)}\n />\n \n )}\n {description && {description}}\n \n \n ),\n documentType: {documentTypeName},\n sentToEmrOn: (\n \n {sentToEmrMessage && (\n \n )}\n \n ),\n uploadedBy: (\n \n {user ? user.person.fullName : \"\"}{\" \"}\n \n \n \n \n ),\n actions: this.getActions(file, viewerUrl),\n };\n });\n };\n\n mapFilesResponsive = (files) => {\n const showUploadedViewerUrl = this.showUploadedViewerUrl();\n let { viewerUrl } = this.props;\n if (showUploadedViewerUrl) {\n const ids = files.filter((x) => Boolean(x.previewUrl)).map((x) => encodeURIComponent(x.id));\n const title = this.props.intl.formatMessage(messages.uploadedImages);\n viewerUrl = URLs.dicomManifest(getToken(), ids, title);\n }\n return files.map((file) => {\n const { fileName = \"Missing file name\", size = 0, uploadedOn, user, bodyParts } = file;\n return {\n documentName: (\n
\n
\n {fileName} ({filesize(size, { round: 1 })})\n
\n
\n \n {user ? user.person.fullName : \"\"}{\" \"}\n \n \n \n \n
\n
\n \n
\n
\n ),\n actions: this.getActions(file, viewerUrl),\n };\n });\n };\n\n render() {\n const {\n files,\n intl,\n language,\n documentTypeList,\n onBodyPartsUpdated,\n patientGender,\n columns,\n } = this.props;\n const {\n deletingAttachment,\n errors,\n editingBodyPartsAttachment,\n editingAttachment,\n editingDocumentType,\n } = this.state;\n const bodyParts = getBodyParts(language);\n const model = this.getModel();\n\n return (\n \n {files && files.length > 0 && (\n
\n

\n {this.t(messages.documents)}\n

\n \n {(matches) => {\n if (matches) {\n return (\n \n );\n }\n\n return (\n \n );\n }}\n \n
\n )}\n\n {deletingAttachment && (\n this.setState({ deletingAttachment: null })}\n errors={errors}\n intl={intl}\n />\n )}\n\n {editingBodyPartsAttachment && (\n x.id)}\n onBodyPartsUpdated={(bodyParts) => {\n if (onBodyPartsUpdated) {\n onBodyPartsUpdated(editingBodyPartsAttachment, bodyParts);\n }\n this.handleBodyPartsDialog();\n }}\n attachmentId={editingBodyPartsAttachment.id}\n viewer={{ bodyParts }}\n />\n )}\n\n {editingAttachment && (\n this.setState({ editingAttachment: null, inProgress: false })}\n errors={this.state.errors}\n intl={this.props.intl}\n />\n )}\n\n {editingDocumentType && (\n this.setState({ editingDocumentType: null, inProgress: false })}\n />\n )}\n
\n );\n }\n\n deleteFile(file) {\n this.setState({ inProgress: true, errors: [] });\n const { onDelete, onErrors } = this.props;\n\n return this.graphqlRemoveFile(file.id)\n .then(() => {\n onDelete(file.id);\n this.setState({ inProgress: false, deletingAttachment: null });\n })\n .catch((x) => {\n if (onErrors) {\n onErrors(Array.isArray(x) ? x : [x]);\n }\n this.setState({ inProgress: false, errors: x });\n });\n }\n\n graphqlRemoveFile(attachmentId) {\n const params = { attachmentId };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new DeleteAttachmentMutation(params), {\n onSuccess: resolve,\n onFailure: (r) => getErrors(r).then((errors) => reject(errors)),\n });\n });\n }\n\n updateDocumentType = (file, documentTypeId) => {\n this.setState({ inProgress: true, errors: [] });\n const { onDocumentTypeUpdated, onErrors } = this.props;\n return this.graphqlUpdateDocumentType(file, documentTypeId)\n .then(() => {\n if (onDocumentTypeUpdated) {\n onDocumentTypeUpdated(file, documentTypeId);\n }\n this.setState({ inProgress: false });\n })\n .catch((x) => {\n if (onErrors) {\n onErrors(x);\n }\n this.setState({ inProgress: false, errors: x });\n });\n };\n graphqlUpdateDocumentType(att, documentTypeId) {\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(\n new UpdateAttachmentDocumentTypeMutation({\n attachmentId: att.id,\n documentTypeId: documentTypeId,\n }),\n {\n onSuccess: resolve,\n onFailure: (r) => getErrors(r).then((errors) => reject(errors)),\n }\n );\n });\n }\n\n updateDescription = (data) => {\n this.setState({ inProgress: true, errors: [] });\n const { onDescriptionUpdated, onErrors } = this.props;\n const file = this.state.editingAttachment;\n\n return this.graphqlUpdateDescription(file, data.description)\n .then(() => {\n if (onDescriptionUpdated) {\n onDescriptionUpdated(file, data.description);\n }\n this.setState({ inProgress: false, editingAttachment: null });\n })\n .catch((x) => {\n if (onErrors) {\n onErrors(x);\n }\n this.setState({ inProgress: false, errors: x });\n });\n };\n graphqlUpdateDescription(att, description) {\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(\n new UpdateAttachmentDescriptionMutation({\n attachmentId: att.id,\n description,\n }),\n {\n onSuccess: resolve,\n onFailure: (r) => getErrors(r).then((errors) => reject(errors)),\n }\n );\n });\n }\n}\n\nconst mapStateToProps = (state) => ({\n language: state.settingsReducer.language,\n});\n\nexport default Relay.createContainer(connect(mapStateToProps)(injectIntl(Attachments)), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n }\n `,\n files: () => Relay.QL`\n fragment on Attachment @relay(plural: true) {\n id\n isUploading\n fileName\n extension\n description\n size\n url\n previewUrl\n uploadedOn\n bodyParts {\n ${BodyPartsList.getFragment(\"bodyParts\")}\n }\n documentTypeId\n documentType {\n id\n name\n }\n permissions {\n canDelete\n canEditDocumentType\n canEditDescription\n canEditBodyParts\n }\n user {\n userName\n person {\n fullName\n }\n }\n sentToEmrOn\n }\n `,\n },\n});\n","import { withFormsy } from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment } from \"react\";\nimport Dropzone from \"react-dropzone\";\nimport { intlShape } from \"react-intl\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\n\nimport styles from \"./style\";\n\nimport { messages } from \"./i18n\";\n\nexport const FilesInput = ({ customUploadText, lightColors, name, onFilesChange, intl }) => {\n const t = (key, args) => {\n return intl.formatMessage(key, args);\n };\n\n const onDrop = (files) => {\n onFilesChange(files);\n };\n\n return (\n \n onDrop(files)}\n className={lightColors ? styles[\"dropzone-light\"] : styles.dropzone}\n name={name}>\n {({ isDragReject }) => (\n \n \n

\n {isDragReject ? t(messages.rejectedFile) : t(messages.dropFiles)}\n

\n {customUploadText && (\n {customUploadText}\n )}\n
\n )}\n \n
\n );\n};\n\nFilesInput.propTypes = {\n lightColors: PropTypes.bool,\n name: PropTypes.string,\n onFilesChange: PropTypes.func,\n intl: intlShape,\n customUploadText: PropTypes.node,\n isLoading: PropTypes.bool,\n};\n\nexport default withFormsy(FilesInput);\n","import throttle from \"lodash.throttle\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment } from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport uuid from \"uuid/v4\";\n\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\n\nimport { getErrors } from \"../../../helpers/errors\";\nimport {\n storeFileForUpload,\n getUploadableFiles,\n uploadFile,\n stopUpload,\n uploadFileInBackground,\n moveUploadToBackground,\n} from \"../../../helpers/fileStorage\";\nimport UploadAttachmentsMutation from \"../uploadAttachmentsMutation\";\n\nimport Attachments from \"./Attachments\";\nimport FilesInput from \"./filesInput\";\n\nimport { messages } from \"./i18n\";\n\nexport class AttachmentUploadAndList extends React.Component {\n static propTypes = {\n viewer: ViewerPropTypes,\n customUploadText: PropTypes.node,\n documentTypeList: PropTypes.array,\n files: PropTypes.any,\n intl: intlShape,\n isAttachmentVisible: PropTypes.bool,\n isInputVisible: PropTypes.bool,\n lightColors: PropTypes.bool,\n onChange: PropTypes.func,\n onUploadIsLoading: PropTypes.func,\n patientGender: PropTypes.string,\n shouldConfirmDelete: PropTypes.bool,\n showUploadedViewerUrl: PropTypes.bool,\n viewerUrl: PropTypes.string,\n attachmentsProps: PropTypes.shape(Attachments.propTypes),\n };\n\n static defaultProps = {\n shouldConfirmDelete: false,\n isInputVisible: true,\n isAttachmentVisible: true,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n errors: [],\n uploading: {},\n };\n\n this.resumeUploads();\n\n this.handleChange = throttle(this.handleChange.bind(this), 50, {\n leading: true,\n });\n }\n\n componentWillUnmount() {\n this.props.files.forEach((x) => moveUploadToBackground(x.id));\n }\n\n componentDidUpdate(prevProps) {\n const nbOfPreviousFiles = prevProps && prevProps.files ? prevProps.files.length : 0;\n const nbOfNewFiles = this.props && this.props.files ? this.props.files.length : 0;\n if (nbOfPreviousFiles !== nbOfNewFiles) {\n this.resumeUploads();\n }\n }\n\n handleChange(files) {\n this.handleChanges(files);\n }\n\n handleChanges(files) {\n if (this.props.onChange) {\n this.props.onChange(files);\n }\n }\n\n handleOnUploadIsLoading(isUploading) {\n if (this.props.onUploadIsLoading) {\n this.props.onUploadIsLoading(isUploading);\n }\n }\n\n handleDelete = (id) => {\n const { files } = this.props;\n stopUpload(id);\n this.handleChanges(files.filter((file) => file.id !== id));\n };\n\n handleUploadFiles(newFile) {\n this.clearErrors();\n const {\n files,\n intl: { formatMessage },\n } = this.props;\n const emptyFiles = newFile.filter((file) => file.size === 0);\n this.handleOnUploadIsLoading(true);\n if (emptyFiles.length > 0) {\n this.handleErrors([\n formatMessage(messages.zeroFileSizeError, {\n fileName: emptyFiles.map((e) => e.name).join(\", \"),\n }),\n ]);\n return;\n }\n\n return this.graphqlUploadFiles(newFile)\n .then((uploadedFiles) => {\n const filesList = (files || []).concat();\n\n uploadedFiles.map((uploadedFile) => {\n const existingFile = filesList.find((f) => f.id === uploadedFile.id);\n if (!existingFile) {\n const file = newFile.filter((file) => file.name === uploadedFile.fileName)[0];\n uploadedFile.size = file.size;\n\n this.onUploadFiles(file, uploadedFile.id);\n storeFileForUpload(file, uploadedFile.id);\n\n filesList.push(uploadedFile);\n } else {\n this.handleErrors([\n formatMessage(messages.duplicateFileError, { fileName: existingFile.fileName }),\n ]);\n }\n });\n\n this.handleChange(filesList);\n })\n .catch((errors) => {\n this.handleErrors(errors);\n });\n }\n\n handleErrors(errors) {\n this.setState({ errors, uploading: this.state.uploading });\n }\n\n clearErrors() {\n this.setState({ errors: [], uploading: this.state.uploading });\n }\n\n resumeUploads() {\n getUploadableFiles().then((x) => {\n const foundIds = [];\n for (let i = 0; i < x.length; i++) {\n const file = x[i];\n const uploadedFile = this.props.files.filter((x) => x.fileName === file.name)[0];\n\n if (uploadedFile) {\n this.onUploadFiles(file, uploadedFile.id);\n foundIds.push(uploadedFile.id);\n } else if (file.attachmentId) {\n uploadFileInBackground(file, file.attachmentId);\n }\n }\n\n if (foundIds > 0) {\n // TODO: Show notice that upload was re-started\n }\n });\n }\n\n onBodyPartsUpdated(file, bodyParts) {\n const found = this.props.files.find((x) => x.id === file.id);\n if (found) {\n found.bodyParts = bodyParts;\n this.handleChanges(this.props.files.concat());\n }\n }\n\n onDescriptionUpdated(file, description) {\n const found = this.props.files.find((x) => x.id === file.id);\n if (found) {\n found.description = description;\n this.handleChanges(this.props.files.concat());\n }\n }\n\n onDocumentTypeUpdated(file, documentTypeId) {\n const found = this.props.files.find((x) => x.id === file.id);\n if (found) {\n found.documentTypeId = documentTypeId;\n this.handleChanges(this.props.files.concat());\n }\n }\n\n onUploadFiles(file, attachmentId) {\n uploadFile(file, attachmentId, {\n cleanOnSuccess: true,\n onError: (error) => {\n this.setState((state) => ({ errors: state.errors.concat([error]) }));\n this.handleOnUploadIsLoading(false);\n },\n onProgress: (bytesUploaded, bytesTotal) => {\n const percentage = (bytesUploaded / bytesTotal) * 100.0;\n this.setState((state) => ({\n uploading: {\n ...state.uploading,\n [attachmentId]: percentage,\n },\n }));\n },\n onSuccess: () => {\n const uploadedFile = this.props.files.find((x) => x.id === attachmentId);\n if (uploadedFile) {\n uploadedFile.isUploading = false;\n }\n this.setState((state) => {\n const newState = {\n uploading: {\n ...state.uploading,\n },\n };\n delete newState.uploading[attachmentId];\n return newState;\n });\n this.handleOnUploadIsLoading(false);\n this.handleChanges(this.props.files);\n },\n });\n }\n\n graphqlUploadFiles(files) {\n const existingFiles = this.props.files;\n\n const sameFiles = existingFiles.filter(\n (x) => files.filter((y) => x.fileName === y.name && x.size === y.size).length > 0\n );\n\n files = files.filter(\n (x) => sameFiles.filter((y) => y.fileName === x.name && y.size === x.size) <= 0\n );\n\n if (files.length === 0) {\n return Promise.resolve(sameFiles);\n }\n\n return new Promise((resolve, reject) => {\n const params = {\n fileData: files.map((x: File) => ({\n id: uuid(),\n fileName: x.name,\n isDeferred: true,\n deferredSize: x.size,\n })),\n files: [],\n };\n\n Relay.Store.commitUpdate(new UploadAttachmentsMutation(params), {\n onSuccess: (r) => {\n const newFiles = r.uploadAttachments.uploadedFiles;\n resolve(newFiles.concat(sameFiles));\n },\n onFailure: (r) => getErrors(r).then((errors) => reject(errors)),\n });\n });\n }\n\n render() {\n const {\n viewer,\n customUploadText,\n documentTypeList,\n files,\n intl,\n isAttachmentVisible,\n isInputVisible,\n lightColors,\n patientGender,\n shouldConfirmDelete,\n viewerUrl,\n attachmentsProps,\n } = this.props;\n return (\n \n {isInputVisible && (\n this.handleUploadFiles(files)}\n />\n )}\n\n {isAttachmentVisible && (\n this.onBodyPartsUpdated(f, b)}\n onDelete={this.handleDelete}\n onDescriptionUpdated={(f, b) => this.onDescriptionUpdated(f, b)}\n onDocumentTypeUpdated={(f, b) => this.onDocumentTypeUpdated(f, b)}\n onErrors={(errors) => this.handleErrors(errors)}\n patientGender={patientGender}\n shouldConfirmDelete={shouldConfirmDelete}\n viewerUrl={viewerUrl}\n {...attachmentsProps}\n />\n )}\n\n \n \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(AttachmentUploadAndList), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${Attachments.getFragment(\"viewer\")}\n }\n `,\n },\n});\n","// TODO BouclePatient : Rename to Notes.i18n.js, move 1 folder up?\nexport const messages = {\n notes: {\n label: {\n note: {\n id: \"notes.label.note\",\n description: \"Note label\",\n defaultMessage: \"Note\",\n },\n },\n },\n note: {\n titles: {\n add: {\n admin: {\n id: \"notes.admin.addTitle\",\n description: \"Add administrative note\",\n defaultMessage: \"Add administrative note\",\n },\n clinical: {\n id: \"notes.clinical.addTitle\",\n description: \"Add clinical note\",\n defaultMessage: \"Add clinical note\",\n },\n },\n },\n actions: {\n add: {\n id: \"notes.actions.add\",\n description: \"Add a note\",\n defaultMessage: \"Add note\",\n },\n save: {\n id: \"notes.actions.save\",\n description: \"Save a note\",\n defaultMessage: \"Save note\",\n },\n },\n },\n};\n","import { Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React, { useState } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\nimport { TextInput } from \"~/src/js/components/common\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { useFormsySubmit } from \"~/src/js/hooks\";\nimport baseMessages from \"~/src/messages/base.i18n\";\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\n\nimport { messages } from \"../messages\";\n\nimport style from \"./style\";\n\nexport const AddNoteForm = ({ viewer, title, addNote, onSuccess, onCancel, actionsClassName }) => {\n const [files, setFiles] = useState([]);\n const [isUploading, setIsUploading] = useState(false);\n\n const onSubmitForm = async (data) => {\n await addNote({ ...data, files });\n };\n\n const { errors, isSubmitting, formsyProps } = useFormsySubmit({\n onSubmit: onSubmitForm,\n onSuccess: onSuccess,\n });\n\n return (\n
\n
{title}
\n \n }\n name=\"note\"\n required\n multiline\n multilineRows={{ min: 4, max: 15 }}\n />\n
\n \n
\n\n
\n \n \n \n \n \n \n
\n\n \n
\n
\n );\n};\n\nAddNoteForm.propTypes = {\n viewer: ViewerPropTypes,\n title: PropTypes.node,\n onSuccess: PropTypes.func.isRequired,\n onCancel: PropTypes.func.isRequired,\n addNote: PropTypes.func.isRequired,\n actionsClassName: PropTypes.string,\n};\n\nAddNoteForm.defaultProps = {\n actionsClassName: \"\",\n};\n\nexport default Relay.createContainer(AddNoteForm, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${AttachmentUploadAndList.getFragment(\"viewer\")}\n }\n `,\n },\n});\n","import { Card, Button } from \"@akinoxsolutions/gerudo-ui\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport classnames from \"classnames\";\n\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { useFading } from \"~/src/js/hooks\";\nimport { FadingContent } from \"~/src/js/components/shared/FadingContent\";\nimport { HideOnPrint } from \"~/src/js/components/shared/HideOnPrint\";\n\nimport { AddNoteForm } from \"./AddNoteForm\";\nimport { messages } from \"./messages\";\nimport { Note } from \"./Note\";\nimport { NotePropTypes } from \"./Note/propTypes/NotePropType\";\nimport style from \"./Notes.style.scss\";\n\nexport const Notes = ({\n viewer,\n notes,\n title,\n subtitle,\n onSave,\n canAddNotes,\n additionalClassName,\n type,\n}) => {\n const {\n isFading,\n isContentToggled: isAddingNote,\n toggleContentAndFading: toggleAddNoteForm,\n } = useFading({});\n\n return (\n
\n \n
\n {notes.map((note) => {\n return ;\n })}\n
\n\n {canAddNotes && (\n \n \n {isAddingNote ? (\n }\n />\n ) : (\n \n )}\n \n \n )}\n \n
\n );\n};\n\nNotes.propTypes = {\n viewer: ViewerPropTypes,\n notes: PropTypes.arrayOf(NotePropTypes).isRequired,\n title: PropTypes.oneOfType([PropTypes.object, PropTypes.string]).isRequired,\n subtitle: PropTypes.oneOfType([PropTypes.object, PropTypes.string]).isRequired,\n onSave: PropTypes.func.isRequired,\n canAddNotes: PropTypes.bool.isRequired,\n additionalClassName: PropTypes.string,\n type: PropTypes.string,\n};\n\nNotes.defaultProps = {\n type: \"admin\",\n};\n\nexport default Relay.createContainer(Notes, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${AddNoteForm.getFragment(\"viewer\")}\n }\n `,\n notes: () => Relay.QL`\n fragment on Note @relay(plural: true) {\n ${Note.getFragment(\"note\")}\n id\n }\n `,\n },\n});\n","import { CaseAdminNotes } from \"./CaseAdminNotes\";\nimport { CaseClinicalNotes } from \"./CaseClinicalNotes\";\nimport Notes from \"./Notes\";\n\nconst noteTypes = {\n admin: \"admin\",\n clinical: \"clinical\",\n};\n\nexport { CaseAdminNotes, CaseClinicalNotes, Notes, noteTypes };\n","const assembleHistoryItemText = (historyItem, formatMessage, messages) => {\n const historyItemWithReportType = historyItem.data.find((dataItem) =>\n Boolean(dataItem.reportType)\n );\n return historyItemWithReportType\n ? `${formatMessage(messages[historyItem.type])} (${formatMessage(\n messages[historyItemWithReportType.reportType]\n )})`\n : formatMessage(messages[historyItem.type]);\n};\n\nexport { assembleHistoryItemText };\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n action: {\n id: \"genericRequest.action\",\n description: \"Action label\",\n defaultMessage: \"Action\",\n },\n dateAndTime: {\n id: \"genericRequest.dateAndTime\",\n description: \"Date and time label\",\n defaultMessage: \"Date & time\",\n },\n doneBy: {\n id: \"genericRequest.doneBy\",\n description: \"Done by label\",\n defaultMessage: \"Done by\",\n },\n requestHistory: {\n id: \"genericRequest.requestHistory\",\n description: \"Request history title\",\n defaultMessage: \"Request history\",\n },\n CANCELED: {\n id: \"genericRequest.canceled\",\n description: \"Request canceled\",\n defaultMessage: \"Request canceled\",\n },\n CLOSED: {\n id: \"genericRequest.closed\",\n description: \"Request closed\",\n defaultMessage: \"Request closed\",\n },\n CREATED: {\n id: \"genericRequest.created\",\n description: \"Request created\",\n defaultMessage: \"Request created\",\n },\n DISPATCHED: {\n id: \"genericRequest.dispatched\",\n description: \"Request dispatched\",\n defaultMessage: \"Request dispatched\",\n },\n DISPATCHFORWARDED: {\n id: \"genericRequest.dispatchForwarded\",\n description: \"Request dispatch Forwarded\",\n },\n REDISPATCHREQUESTED: {\n id: \"genericRequest.redispatchRequested\",\n description: \"Redispatch requested\",\n defaultMessage: \"Redispatch requested\",\n },\n REOPENED: {\n id: \"genericRequest.reopened\",\n description: \"Request reopened\",\n defaultMessage: \"Request reopened\",\n },\n REPORTED: {\n id: \"genericRequest.reported\",\n description: \"Request reported\",\n defaultMessage: \"Request reported\",\n },\n REPORTERASSIGNED: {\n id: \"genericRequest.reporterAssigned\",\n description: \"Reporter assigned\",\n defaultMessage: \"Reporter assigned\",\n },\n REQUESTEDMOREINFORMATION: {\n id: \"genericRequest.requestMoreInformation\",\n description: \"Request more information\",\n defaultMessage: \"Additional information requested\",\n },\n CONTRIBUTEDMOREINFORMATION: {\n id: \"genericRequest.contributedMoreInformation\",\n description: \"Contribute more information\",\n defaultMessage: \"Additional information answered\",\n },\n SUBMITTED: {\n id: \"genericRequest.submitted\",\n description: \"Request submitted\",\n defaultMessage: \"Request submitted\",\n },\n REPORTCLARIFICATIONREQUESTED: {\n id: \"genericRequest.requestedReportClarification\",\n description: \"Report clarification requested\",\n defaultMessage: \"Report clarification requested\",\n },\n REPORTCLARIFICATIONSUBMITTED: {\n id: \"genericRequest.submittedReportClarification\",\n description: \"Report clarification submitted\",\n defaultMessage: \"Report clarification submitted\",\n },\n REPORTSIGNED: {\n id: \"genericRequest.reportSigned\",\n description: \"Report signed\",\n defaultMessage: \"Report signed\",\n },\n DESTINATIONPRIORITYUPDATED: {\n id: \"genericRequest.destinationPriorityUpdated\",\n description: \"Destination priority updated\",\n defaultMessage: \"Destination priority updated\",\n },\n PROPOSEDREPORTERCHANGED: {\n id: \"genericRequest.proposedReporterChanged\",\n description: \"Destination reporter changed\",\n defaultMessage: \"Destination reporter transferred\",\n },\n AMENDED: {\n id: \"genericRequest.report.amended\",\n description: \"Report type 'Amended'\",\n },\n FINAL: {\n id: \"genericRequest.report.final\",\n description: \"Report type 'Final'\",\n },\n PRELIMINARY: {\n id: \"genericRequest.report.preliminary\",\n description: \"Report type 'Preliminary'\",\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl, intlShape } from \"react-intl\";\n\nimport { Table } from \"~/src/js/components/common\";\nimport { parseToDate } from \"~/src/js/helpers/dates\";\nimport FormattedDateTime from \"~/src/js/components/shared/formattedDateTime\";\n\nimport { assembleHistoryItemText } from \"./utils\";\n\nimport { messages } from \"./History.i18n\";\nimport styles from \"./History.style\";\n\nexport const MobileHistory = ({ history, intl: { formatMessage } }) => {\n const model = {\n action: { type: String, title: formatMessage(messages.action) },\n [\"\"]: \"\",\n };\n\n const mapHistory = history\n .reduce((history1, history2) => history1.concat(history2), [])\n .sort((a, b) => (a.date > b.date ? 1 : b.date > a.date ? -1 : 0))\n .map((h) => ({\n action: (\n
\n

{assembleHistoryItemText(h, formatMessage, messages)}

\n

\n {h.author.person.fullName}\n

\n

\n \n \n \n

\n
\n ),\n }));\n\n return (\n \n );\n};\n\nMobileHistory.propTypes = {\n history: PropTypes.arrayOf(PropTypes.object),\n intl: intlShape,\n};\n\nexport default injectIntl(MobileHistory);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { Card, CardText, CardTitle } from \"react-toolbox/lib/card\";\n\nimport { MenuAnchors, MenuNames } from \"~/src/js/hooks/urls\";\nimport { UrlAnchor } from \"~/src/js/components/shared/Urls\";\nimport MobileMediaQuery from \"~/src/js/components/shared/MediaQuery/MobileMediaQuery\";\nimport { Table } from \"~/src/js/components/common\";\nimport { parseToDate } from \"~/src/js/helpers/dates\";\nimport FormattedDateTime from \"~/src/js/components/shared/formattedDateTime\";\n\nimport { assembleHistoryItemText } from \"./utils\";\nimport MobileHistory from \"./MobileHistory\";\n\nimport styles from \"./History.style\";\nimport { messages } from \"./History.i18n\";\n\nexport const History = ({ case: cas, intl: { formatMessage } }) => {\n const model = {\n action: { type: String, title: formatMessage(messages.action) },\n doneBy: { type: String, title: formatMessage(messages.doneBy) },\n dateAndTime: { type: Date, title: formatMessage(messages.dateAndTime) },\n [\"\"]: \"\",\n };\n\n const { destinations } = cas.data.extraData;\n\n const destinationsWithHistory = destinations.filter(\n (destination) => destination.history && destination.history.length > 0\n );\n\n const destinationHistory = destinationsWithHistory.map((destination) => {\n return destination.history;\n });\n\n const mapHistory = destinationHistory\n .reduce((history1, history2) => history1.concat(history2), [])\n .sort((a, b) => (a.date > b.date ? 1 : b.date > a.date ? -1 : 0))\n .map((history, index) => ({\n key: `${index}`,\n action: assembleHistoryItemText(history, formatMessage, messages),\n doneBy: history.author.person.fullName,\n dateAndTime: ,\n }));\n\n return (\n \n \n {formatMessage(messages.requestHistory)}\n \n \n \n {(matches) => {\n if (matches) {\n return ;\n }\n\n return
;\n }}\n \n \n \n );\n};\n\nHistory.propTypes = {\n case: PropTypes.object,\n intl: intlShape,\n};\n\nexport default Relay.createContainer(injectIntl(History), {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n id\n\n data {\n ... on ConversationConsultData {\n extraData {\n ... on GenericConversationConsultData {\n destinations {\n history {\n author {\n person {\n fullName\n }\n }\n data {\n ... on DestinationReportHistoryItemData {\n reportType\n }\n }\n date\n type\n }\n }\n }\n }\n }\n }\n }\n `,\n },\n});\n","export const HistoryTypes = {\n RedispatchRequested: \"REDISPATCHREQUESTED\",\n Dispatched: \"DISPATCHED\",\n};\n","import PropTypes from \"prop-types\";\n\nexport const PrintCaseContainerActionsPropTypes = PropTypes.shape({\n text: PropTypes.node,\n onClick: PropTypes.func,\n id: PropTypes.string.isRequired,\n});\n","import { Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { useState } from \"react\";\nimport Relay from \"react-relay/classic\";\nimport { Card, CardText } from \"react-toolbox/lib/card\";\nimport IntersectionVisible from \"react-intersection-visible\";\n\nimport { CasePropTypes } from \"~/src/js/PropTypes/Case/index\";\nimport { PrintCaseButton } from \"~/src/js/components/shared/Print\";\n\nimport { PrintCaseContainerActionsPropTypes } from \"./PropTypes/PrintCaseContainerActionsPropTypes\";\n\nimport styles from \"./PrintCaseContainer.style\";\n\nexport const PrintCaseContainer = ({\n case: cas,\n cardText,\n buttonText,\n downloadFileName,\n actions,\n className,\n version,\n}) => {\n const [isSticky, setIsSticky] = useState(false);\n const isStickyClassName = isSticky ? styles[\"sticky\"] : \"\";\n\n const cardClassnames = classnames(styles[\"print-card\"], isStickyClassName, className);\n\n return (\n setIsSticky(true)} onShow={() => setIsSticky(false)}>\n \n {cardText}\n\n
\n \n {actions &&\n actions.map((action) => (\n \n ))}\n \n {buttonText}\n \n \n
\n
\n
\n );\n};\n\nPrintCaseContainer.propTypes = {\n case: CasePropTypes.isRequired,\n cardText: PropTypes.node,\n buttonText: PropTypes.node,\n downloadFileName: PropTypes.string.isRequired,\n actions: PropTypes.arrayOf(PrintCaseContainerActionsPropTypes),\n className: PropTypes.string,\n version: PropTypes.string,\n};\n\nexport default Relay.createContainer(PrintCaseContainer, {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n ${PrintCaseButton.getFragment(\"case\")}\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { connect } from \"react-redux\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { Button, PrinterIcon } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { parseToIsoDate } from \"~/src/js/helpers/dates\";\nimport { normalizeFileName } from \"~/src/js/helpers/strings\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport { CasePropTypes } from \"~/src/js/PropTypes/Case\";\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { PRINT_QUERY_PARAMS_KEYS } from \"~/src/js/hooks/Prints\";\nimport { usePrint } from \"~/src/js/hooks\";\n\nimport styles from \"./PrintCaseButton.style.scss\";\n\nexport const PrintCaseButton = (props) => {\n const {\n intl: { formatMessage },\n case: cas,\n downloadFileName,\n children,\n language,\n showDialog,\n version,\n } = props;\n const { fullName } = cas.patient.demographic;\n const caseId = encodeURIComponent(cas.id);\n\n const queryParams = [];\n if (version) {\n queryParams.push({\n key: PRINT_QUERY_PARAMS_KEYS.step,\n value: version,\n });\n }\n\n const { print, isDownloading: isPrintDownloading } = usePrint({\n uri: `GER_FCGA/${caseId}`,\n downloadFileName: `${normalizeFileName(downloadFileName)}_${normalizeFileName(fullName)}_${\n cas.legacyId\n }_${parseToIsoDate(cas.updatedAt)}_v${version}`,\n language: language,\n showDialog: showDialog,\n downloadStartedMessage: formatMessage(baseI18n.global.downloadStarted),\n downloadFailedMessage: formatMessage(baseI18n.global.downloadFailed),\n queryParams: queryParams,\n });\n\n return (\n
\n }\n loading={isPrintDownloading}\n onClick={print}>\n {children || }\n \n
\n );\n};\n\nPrintCaseButton.propTypes = {\n intl: intlShape,\n case: CasePropTypes.isRequired,\n downloadFileName: PropTypes.string.isRequired,\n language: PropTypes.string,\n showDialog: PropTypes.func,\n version: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n};\n\nconst mapStateToProps = (state) => ({\n language: state.settingsReducer.language,\n});\n\nconst mapDispatchToProps = {\n showDialog: showDialogNotice,\n};\n\nexport default Relay.createContainer(\n connect(mapStateToProps, mapDispatchToProps)(injectIntl(PrintCaseButton)),\n {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n id\n legacyId\n updatedAt\n\n patient {\n demographic {\n fullName\n }\n }\n }\n `,\n },\n }\n);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\n\nimport style from \"./style\";\n\nconst StickyFooter = ({ children }) => {\n return
{children}
;\n};\n\nStickyFooter.propTypes = {\n children: PropTypes.node,\n};\n\nexport default StickyFooter;\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"../../../../helpers/errors\";\n\nexport default class RequestAdditionalInformationMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(RequestAdditionalInformationMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { requestGenericConversationConsultCaseDestinationAdditionalInformation }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n text: this.props.text,\n fileIds: this.props.fileIds || [],\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on RequestGenericConversationConsultCaseDestinationAdditionalInformationPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n isDraftStatus\n status\n data {\n ... on ConversationConsultData {\n permissions\n history\n extraData\n }\n }\n ${RequestAdditionalInformationMutation.getFragment(\"case\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on ConversationConsultData {\n requester\n fromDepartment\n extraData\n }\n }\n }\n `,\n };\n}\n\nexport const onRequestAdditionalInformation = (cas, destination, values, fileIds, viewer) => {\n const params = {\n viewer: viewer,\n caseId: cas.id,\n destinationId: destination.id,\n text: values.text,\n fileIds: fileIds,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new RequestAdditionalInformationMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"../../../../helpers/errors\";\n\nexport default class RequestReportClarificationMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(RequestReportClarificationMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { requestGenericConversationConsultCaseDestinationReportClarification }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n text: this.props.text,\n fileIds: this.props.fileIds || [],\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on RequestGenericConversationConsultCaseDestinationReportClarificationPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n isDraftStatus\n status\n data {\n ... on ConversationConsultData {\n permissions\n history\n extraData\n }\n }\n ${RequestReportClarificationMutation.getFragment(\"case\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on ConversationConsultData {\n requester\n fromDepartment\n extraData\n }\n }\n }\n `,\n };\n}\n\nexport const onRequestReportClarification = (cas, destination, values, fileIds, viewer) => {\n const params = {\n viewer: viewer,\n caseId: cas.id,\n destinationId: destination.id,\n text: values.text,\n fileIds: fileIds,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new RequestReportClarificationMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"../../../../helpers/errors\";\n\nexport default class RequestRedispatchMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(RequestRedispatchMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { requestGenericConversationConsultCaseDestinationRedispatch }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n reason: this.props.reason,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on RequestGenericConversationConsultCaseDestinationRedispatchPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n data {\n ... on ConversationConsultData {\n permissions\n toDepartment\n history\n extraData\n }\n }\n ${RequestRedispatchMutation.getFragment(\"case\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on ConversationConsultData {\n requester\n fromDepartment\n toDepartment\n extraData\n }\n }\n }\n `,\n };\n}\n\nexport const onRequestRedispatch = (cas, destination, data, viewer) => {\n const params = {\n case: cas,\n caseId: cas.id,\n destinationId: destination.id,\n reason: data.reason,\n viewer,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new RequestRedispatchMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"../../../../helpers/errors\";\n\nexport default class SubmitAdditionalInformationMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(SubmitAdditionalInformationMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { submitGenericConversationConsultCaseDestinationAdditionalInformation }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n informationRequestId: this.props.informationRequestId,\n text: this.props.text,\n fileIds: this.props.fileIds || [],\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on SubmitGenericConversationConsultCaseDestinationAdditionalInformationPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n isDraftStatus\n status\n data {\n ... on ConversationConsultData {\n permissions\n history\n extraData\n }\n }\n ${SubmitAdditionalInformationMutation.getFragment(\"case\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on ConversationConsultData {\n requester\n fromDepartment\n extraData\n }\n }\n }\n `,\n };\n}\n\nexport const onSubmitAdditionalInformation = (\n cas,\n destination,\n request,\n values,\n fileIds,\n viewer\n) => {\n const params = {\n viewer: viewer,\n case: cas,\n caseId: cas.id,\n destinationId: destination.id,\n informationRequestId: request.id,\n text: values.text,\n fileIds: fileIds,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new SubmitAdditionalInformationMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"../../../../helpers/errors\";\n\nexport default class SubmitReportClarificationMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(SubmitReportClarificationMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { submitGenericConversationConsultCaseDestinationReportClarification }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n informationRequestId: this.props.informationRequestId,\n text: this.props.text,\n fileIds: this.props.fileIds || [],\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on SubmitGenericConversationConsultCaseDestinationReportClarificationPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n isDraftStatus\n status\n data {\n ... on ConversationConsultData {\n permissions\n history\n extraData\n }\n }\n ${SubmitReportClarificationMutation.getFragment(\"case\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on ConversationConsultData {\n requester\n fromDepartment\n extraData\n }\n }\n }\n `,\n };\n}\n\nexport const onSubmitReportClarification = (cas, destination, request, values, fileIds, viewer) => {\n const params = {\n viewer: viewer,\n case: cas,\n caseId: cas.id,\n destinationId: destination.id,\n informationRequestId: request.id,\n text: values.text,\n fileIds: fileIds,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new SubmitReportClarificationMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"../../../../helpers/errors\";\n\nexport default class SubmitCaseMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(SubmitCaseMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { submitGenericConversationConsultCaseRequest }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinations: this.props.destinations,\n text: this.props.text,\n fileIds: this.props.fileIds || [],\n formResult: this.props.formResults,\n formVersion: this.props.formVersion,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on SubmitGenericConversationConsultCaseRequestPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n isDraftStatus\n status\n permissions\n data {\n ... on ConversationConsultData {\n permissions\n history\n extraData\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n permissions\n data {\n ... on ConversationConsultData {\n requester\n fromDepartment\n extraData\n permissions\n }\n }\n }\n `,\n };\n}\n\nexport const onSubmitCase = (\n cas,\n destinations,\n fileIds,\n text,\n viewer,\n subFormsDataDestinations\n) => {\n const data = destinations.map((d) => {\n const subFormData = subFormsDataDestinations[d.id] || {};\n return {\n destinationId: d.id,\n clinicalDomainId: d.clinicalDomain,\n priorityId: d.priority,\n preferredDestinationDepartmentId: d.preferredDestinationDepartment,\n medicalReason: d.medicalReason,\n modality: d.modality,\n externalConferenceNumber: d.externalConferenceNumber,\n requestDispatch: d.requestDispatch,\n proposedReporterId: d.proposedReporterId,\n formVersion: subFormData.formVersion,\n formResults: JSON.stringify(subFormData.formResults),\n patientEmail: d.patientEmail,\n };\n });\n\n const params = {\n viewer: viewer,\n case: cas,\n caseId: cas.id,\n destinations: data,\n text,\n fileIds,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new SubmitCaseMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"../../../../helpers/errors\";\n\nexport default class SubmitDestinationMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(SubmitDestinationMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { submitGenericConversationConsultCaseDestinationRequest }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n clinicalDomainId: this.props.clinicalDomainId,\n priorityId: this.props.priorityId,\n medicalReason: this.props.medicalReason,\n preferredDestinationDepartmentId: this.props.preferredDestinationDepartmentId,\n text: this.props.text,\n fileIds: this.props.fileIds || [],\n modality: this.props.modality,\n externalConferenceNumber: this.props.externalConferenceNumber,\n requestDispatch: this.props.requestDispatch,\n requestText: this.props.requestText,\n proposedReporterId: this.props.proposedReporterId,\n formResults: this.props.formResults,\n formVersion: this.props.formVersion,\n patientEmail: this.props.patientEmail,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on SubmitGenericConversationConsultCaseDestinationRequestPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n isDraftStatus\n status\n data {\n ... on ConversationConsultData {\n permissions\n history\n extraData\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n}\n\nexport const onSubmitDestination = (cas, data, viewer, formResults, formVersion) => {\n const params = {\n viewer: viewer,\n case: cas,\n caseId: cas.id,\n destinationId: data.id,\n clinicalDomainId: data.clinicalDomain,\n priorityId: data.priority,\n preferredDestinationDepartmentId: data.preferredDestinationDepartment,\n modality: data.modality,\n medicalReason: data.medicalReason,\n text: \"\",\n fileIds: [],\n externalConferenceNumber: data.externalConferenceNumber,\n requestDispatch: data.requestDispatch,\n proposedReporterId: data.proposedReporterId,\n formResults: JSON.stringify(formResults),\n formVersion: formVersion,\n patientEmail: data.patientEmail,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new SubmitDestinationMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"../../../../helpers/errors\";\n\nexport default class SubmitReportMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(SubmitReportMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { submitGenericConversationConsultCaseDestinationReport }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n type: this.props.reportType,\n reporterId: this.props.reporterId,\n conclusionId: this.props.conclusionId,\n diagnosisIds: this.props.diagnosisIds,\n diagnosis: this.props.diagnosis,\n text: this.props.text,\n fileIds: this.props.fileIds || [],\n ramqCodes: this.props.ramqCodes || [],\n signatureToken: this.props.signatureToken,\n sendToEmr: this.props.sendToEmr,\n formVersion: this.props.formVersion,\n formResults: this.props.formResults,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on SubmitGenericConversationConsultCaseDestinationReportPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n isDraftStatus\n status\n data {\n ... on ConversationConsultData {\n permissions\n history\n extraData\n }\n }\n ${SubmitReportMutation.getFragment(\"case\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on ConversationConsultData {\n requester\n fromDepartment\n extraData\n }\n }\n }\n `,\n };\n}\n\nexport const onSubmitReport = (cas, destination, values, fileIds, viewer) => {\n const params = {\n viewer: viewer,\n case: cas,\n caseId: cas.id,\n destinationId: destination.id,\n reportType: values.reportType,\n reporterId: values.reporter,\n conclusionId: values.conclusion,\n diagnosisIds: [],\n diagnosis: values.diagnosis,\n text: values.text,\n fileIds: fileIds,\n ramqCodes: values.ramqCodes,\n signatureToken: values.token,\n sendToEmr: values.sendToEmr,\n formVersion: values.formVersion,\n formResults: values.formResults ? JSON.stringify(values.formResults) : null,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new SubmitReportMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n additionalInformation: {\n id: \"genericRequest.additionalInformation\",\n description: \"Additional information\",\n defaultMessage: \"Additional information\",\n },\n reportClarification: {\n id: \"genericRequest.reportClarification\",\n description: \"Additional information\",\n defaultMessage: \"Report clarification\",\n },\n answer: {\n id: \"genericRequest.answer\",\n description: \"Answer button label\",\n defaultMessage: \"Answer\",\n },\n answered: {\n id: \"genericRequest.answered\",\n description: \"Answered label\",\n defaultMessage: \"Answered\",\n },\n asked: {\n id: \"genericRequest.asked\",\n description: \"Asked for label\",\n defaultMessage: \"asked\",\n },\n askedAdditionalInformation: {\n id: \"genericRequest.askedAdditionalInformation\",\n description: \"Asked for label\",\n defaultMessage: \"asked for additional information\",\n },\n bytes: {\n id: \"genericRequest.bytes\",\n description: \"Bytes label\",\n defaultMessage: \"bytes\",\n },\n cancel: {\n id: \"global.cancel\",\n description: \"Generic cancel label\",\n defaultMessage: \"Cancel\",\n },\n requestAdditionalInformation: {\n id: \"genericRequest.requestAdditionalInformation\",\n description: \"Request additional information\",\n defaultMessage: \"Request additional information\",\n },\n sendEnquiry: {\n id: \"genericRequest.sendEnquiry\",\n description: \"Send enquiry button label\",\n defaultMessage: \"Send enquiry\",\n },\n sendInformation: {\n id: \"genericRequest.sendInformation\",\n description: \"Send information button label\",\n defaultMessage: \"Send information\",\n },\n});\n","import { Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React, { useState, useRef } from \"react\";\nimport { intlShape, injectIntl } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\n\nimport formStyle from \"../../../../../styles/forms\";\nimport { handleFormsyInvalidSubmit } from \"../../../../helpers/errors\";\nimport { TextInput } from \"../../../common\";\nimport ErrorCard from \"../../../shared/errorCard\";\nimport { onSubmitAdditionalInformation, onSubmitReportClarification } from \"../mutations\";\n\nimport { messages } from \"./i18n\";\n\nexport const AnswerForm = ({\n case: cas,\n destination,\n intl: { formatMessage },\n onCancel,\n onSuccess,\n request,\n viewer,\n}) => {\n const formRef = useRef(null);\n const [files, setFiles] = useState([]);\n const [submitting, setSubmitting] = useState(false);\n const [errors, setErrors] = useState([]);\n const [isUploading, setIsUploading] = useState(false);\n\n const handleSubmit = (data) => {\n setSubmitting(true);\n const mutationPromise =\n request.target === \"REQUESTER\"\n ? onSubmitAdditionalInformation(\n cas,\n destination,\n request,\n data,\n files.map((file) => file.id),\n viewer\n )\n : onSubmitReportClarification(\n cas,\n destination,\n request,\n data,\n files.map((file) => file.id),\n viewer\n );\n mutationPromise\n .then(() => {\n onSuccess();\n setSubmitting(false);\n })\n .catch((errors) => {\n setErrors(errors);\n setSubmitting(false);\n });\n };\n const handleInvalidSubmit = () => handleFormsyInvalidSubmit(formRef.current);\n\n return (\n \n
\n \n
\n\n \n\n
\n \n \n {formatMessage(messages.sendInformation)}\n \n \n {formatMessage(messages.cancel)}\n \n \n
\n {errors && errors.length > 0 && }\n \n );\n};\n\nAnswerForm.propTypes = {\n case: CasePropTypes,\n destination: PropTypes.object,\n intl: intlShape,\n onCancel: PropTypes.func,\n onSuccess: PropTypes.func,\n request: PropTypes.object,\n viewer: ViewerPropTypes,\n};\n\nexport default Relay.createContainer(injectIntl(AnswerForm), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${AttachmentUploadAndList.getFragment(\"viewer\")}\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n id\n patient {\n demographic {\n gender\n }\n }\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n id\n }\n `,\n request: () => Relay.QL`\n fragment on GenericCaseDestinationAdditionalInformationRequest {\n id\n target\n }\n `,\n },\n});\n","import { Button } from \"@akinoxsolutions/gerudo-ui\";\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment, useEffect, useRef, useState } from \"react\";\nimport { intlShape, injectIntl } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { CardText } from \"react-toolbox/lib/card\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\n\nimport InlineAttachments from \"~/src/js/components/attachments/UploadAndList/InlineAttachments\";\n\nimport { parseToDate } from \"../../../../helpers/dates\";\nimport { scrollToElementHelper } from \"../../../../helpers/errors\";\nimport FormattedDateTime from \"../../../shared/formattedDateTime\";\nimport HtmlElement from \"../../../shared/htmlElement\";\nimport { PersonInformation } from \"../../../shared/PersonInformation\";\n\nimport AnswerForm from \"./AnswerForm\";\nimport styles from \"./style\";\n\nimport { messages } from \"./i18n\";\n\nconst AdditionalInformation = ({\n case: cas,\n destination,\n displayMode,\n triggerAnswerForm,\n acknowledgeAnswerFormTriggerCallback,\n intl: { formatMessage },\n request,\n viewer,\n}) => {\n const [answering, setAnswering] = useState(false);\n const { clinicalDomain } = destination.request;\n const { user, timestamp, text, attachments } = request.request;\n const hasAnswer = Boolean(request.answer);\n const requestElement = useRef(null);\n\n displayMode =\n displayMode && displayMode.toLowerCase() === \"destination\" ? \"destination\" : \"request\";\n const displayForRequest = displayMode === \"request\";\n const displayForDestination = displayMode === \"destination\";\n const displayHeader = displayForRequest && !hasAnswer;\n\n const handleAnswer = () => setAnswering(!answering);\n\n useEffect(() => {\n if (triggerAnswerForm) {\n if (!answering) {\n setAnswering(true);\n }\n scrollToElementHelper(requestElement.current, 500);\n acknowledgeAnswerFormTriggerCallback();\n }\n }, [triggerAnswerForm]);\n\n return (\n \n
\n
\n {displayHeader && }\n
\n {displayHeader &&

{clinicalDomain.name}

}\n \n {\" \"}\n {formatMessage(\n displayForDestination ? messages.asked : messages.askedAdditionalInformation\n )}\n \n
\n \n
\n\n \n\n \n\n {request.permissions.canAnswer && (\n \n {answering ? (\n
\n \n
\n ) : (\n \n )}\n
\n )}\n
\n\n {hasAnswer && (\n \n
\n
\n
\n {\" \"}\n {formatMessage(messages.answered)}\n
\n \n
\n\n \n\n \n
\n
\n )}\n \n );\n};\n\nAdditionalInformation.propTypes = {\n case: PropTypes.object,\n destination: PropTypes.object,\n displayMode: PropTypes.string,\n triggerAnswerForm: PropTypes.bool,\n acknowledgeAnswerFormTriggerCallback: PropTypes.func,\n intl: intlShape,\n request: PropTypes.object,\n viewer: PropTypes.object,\n};\n\nexport default Relay.createContainer(injectIntl(AdditionalInformation), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n ${AnswerForm.getFragment(\"viewer\")}\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n id\n ${AnswerForm.getFragment(\"case\")}\n links {\n dicomManifest\n }\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n ${AnswerForm.getFragment(\"destination\")}\n request {\n clinicalDomain {\n name\n }\n }\n }\n `,\n request: () => Relay.QL`\n fragment on GenericCaseDestinationAdditionalInformationRequest {\n ${AnswerForm.getFragment(\"request\")}\n id\n target\n request {\n text\n timestamp\n attachments {\n ${InlineAttachments.getFragment(\"attachments\")}\n }\n user {\n ${PersonInformation.getFragment(\"person\")}\n }\n }\n answer {\n attachments {\n ${InlineAttachments.getFragment(\"attachments\")}\n }\n text\n timestamp\n user {\n ${PersonInformation.getFragment(\"person\")}\n }\n }\n permissions {\n canAnswer\n }\n }\n `,\n },\n});\n","export const isEmptyDestination = (destinationId) => {\n return destinationId.startsWith(\"_\");\n};\n\nexport const emptyDestination = (id) => ({\n id: id || \"_\" + Math.random().toString().split(\".\")[1],\n editStatus: true,\n request: {\n modality: \"DEFERREDTIME\",\n externalConferenceNumber: \"\",\n clinicalDomain: \"\",\n priority: \"\",\n reasons: [],\n preferredDestinationDepartment: \"\",\n requestDispatch: false,\n },\n status: {\n isDraft: true,\n },\n permissions: {\n canCancel: true,\n canReport: false,\n canRequestRedispatch: false,\n },\n});\n\nexport const getDestinations = (values) => {\n return Object.entries(values.destinations).map(([key, value]) => {\n return {\n id: isEmptyDestination(key) ? \"\" : key,\n requestDispatch: value.requestDispatch || false,\n ...value,\n };\n });\n};\n\nexport const getDestination = (values, id) => {\n const found = values.destinations[id];\n if (found) {\n return {\n id: isEmptyDestination(id) ? \"\" : id,\n requestDispatch: found.requestDispatch || false,\n ...found,\n };\n }\n return null;\n};\n","import React from \"react\";\nimport classnames from \"classnames\";\n\nimport styles from \"./FormolViewer.style.scss\";\n\ninterface FormolIframeProps {\n frameId: string;\n className: string;\n formContainerRef: React.Ref;\n url: string;\n}\n\nconst FormolIframe = ({ frameId, className, formContainerRef, url }: FormolIframeProps) => (\n \n);\n\nexport default React.memo(FormolIframe);\n","const lineHeight = \"1rem !important\";\nconst fontSize = \"0.7rem\";\nconst inputSize = \"14px\";\nconst black = \"#000 !important\";\nconst lightGrey = \"rgba(21, 57, 86, 0.2)\";\n\nconst inputSelector = {\n \"line-height\": lineHeight,\n height: inputSize,\n \"font-size\": fontSize,\n \"padding-left\": \"0\",\n color: black,\n};\n\nexport const genericStyle = {\n h1: {\n color: black,\n },\n h2: {\n color: black,\n },\n h3: {\n color: black,\n },\n h4: {\n color: black,\n },\n h5: {\n color: black,\n },\n \".ant-input[disabled]\": {\n color: black,\n },\n \".gerudo .ant-input.ant-input-disabled\": {\n color: black,\n },\n \".ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector\": {\n color: black,\n },\n \".ant-select-item-option-selected:not(.ant-select-item-option-disabled)\": {\n color: `${black} !important`,\n \"background-color\": `${lightGrey} !important`,\n },\n};\n\nexport const genericPrintStyle = {\n \"@media print\": {\n \".no-print\": {\n display: \"none\",\n },\n \"--padding-small\": \"0 !important\",\n span: {\n \"font-size\": fontSize,\n color: black,\n \"line-height\": lineHeight,\n margin: \"0\",\n },\n h3: {\n color: black,\n \"border-bottom\": \"2px solid #000\",\n \"margin-top\": \"1rem\",\n span: {\n \"font-size\": \"0.8rem\",\n },\n },\n h4: {\n color: black,\n \"margin-top\": \"0.5rem\",\n \"border-bottom\": \"1px solid #000\",\n },\n p: {\n \"font-size\": fontSize,\n border: \"none\",\n },\n div: {\n margin: \"0 !important\",\n border: \"none\",\n background: \"none\",\n \"break-inside\": \"avoid\",\n },\n input: {\n margin: \"0\",\n border: \"none\",\n background: \"none\",\n },\n \".ant-typography-secondary\": {\n display: \"none\",\n },\n \".ant-checkbox-inner\": {\n height: inputSize,\n width: inputSize,\n },\n \".ant-radio-inner\": {\n height: inputSize,\n width: inputSize,\n },\n \".ant-form-item-control-input\": {\n \"min-height\": \"0\",\n },\n \".ant-radio-wrapper\": {\n \"line-height\": lineHeight,\n },\n \".ant-checkbox-wrapper\": {\n \"line-height\": lineHeight,\n },\n \".ant-picker\": {\n padding: \"0\",\n },\n \".ant-picker-input\": {\n input: {\n height: inputSize,\n \"font-size\": fontSize,\n },\n },\n \".ant-select-selector\": {\n ...inputSelector,\n \"background-color\": \"#fff\",\n border: \"none\",\n \"border-bottom\": \"1px solid black\",\n },\n \".ant-input-number-input\": {\n ...inputSelector,\n },\n \".ant-input\": {\n ...inputSelector,\n },\n \".ant-input[disabled]\": {\n color: black,\n },\n \".ant-select-arrow\": {\n display: \"none\",\n },\n \".ant-radio-inner:after\": {\n \"background-color\": black,\n },\n \".gerudo .ant-input.ant-input-disabled\": {\n color: black,\n },\n \".ant-checkbox-inner:after\": {\n \"border-color\": black,\n top: \"30%\",\n },\n \".gerudo-datepicker\": {\n \"line-height\": inputSize,\n \"margin-left\": \"0.5rem !important\",\n },\n \".ant-select-item-option-selected:not(.ant-select-item-option-disabled)\": {\n color: `${black} !important`,\n \"background-color\": `${lightGrey} !important`,\n },\n // Specifics for respiratory V4... Sorry\n // See: https://stackoverflow.com/questions/12310090/css-selector-with-period-in-id\n \"#comments\\\\.traceDuration\\\\.minutes-wrapper\": {\n display: \"none\",\n \"font-size\": \"0\",\n },\n \"#comments\\\\.traceDuration\\\\.hours-wrapper\": {\n display: \"none\",\n \"font-size\": \"0\",\n },\n // Specifics for respiratory DCP... Sorry\n \"#outro\\\\.formresult\\\\.rcadsResult-property\": {\n \"border-top\": \"1px solid #000\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.headers\\\\.word-property\": {\n display: \"inline-block\",\n height: \"54px\",\n left: \"-175px\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.headers\\\\.rawScore-property\": {\n display: \"inline-block\",\n height: \"54px\",\n left: \"-175px\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.headers\\\\.tScore-property\": {\n display: \"inline-block\",\n height: \"54px\",\n bottom: \"-4px\",\n left: \"-175px\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.SA\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.SA\\\\.rawScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.SA\\\\.tScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.GA\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.GA\\\\.rawScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.GA\\\\.tScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.panic\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.panic\\\\.rawScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.panic\\\\.tScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.SP\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.SP\\\\.rawScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.SP\\\\.tScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.OC\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.OC\\\\.rawScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.OC\\\\.tScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.dep\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.dep\\\\.rawScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.dep\\\\.tScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.totalA\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.totalA\\\\.rawScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.totalA\\\\.tScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.totalAD\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.totalAD\\\\.rawScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.rcadsResult\\\\.totalAD\\\\.tScore-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.FDIResult-property\": {\n \"border-top\": \"1px solid #000\",\n },\n \"#outro\\\\.formresult\\\\.FDIResult\\\\.headers\\\\.word-property\": {\n display: \"inline-block\",\n left: \"-140px\",\n },\n \"#outro\\\\.formresult\\\\.FDIResult\\\\.headers\\\\.score-property\": {\n display: \"inline-block\",\n left: \"-140px\",\n },\n \"#outro\\\\.formresult\\\\.FDIResult\\\\.form\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.FDIResult\\\\.form\\\\.score-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.thoughtsResult-property\": {\n \"border-top\": \"1px solid #000\",\n },\n \"#outro\\\\.formresult\\\\.thoughtsResult\\\\.headers\\\\.word-property\": {\n display: \"inline-block\",\n left: \"-150px\",\n },\n \"#outro\\\\.formresult\\\\.thoughtsResult\\\\.headers\\\\.score-property\": {\n display: \"inline-block\",\n left: \"-150px\",\n },\n \"#outro\\\\.formresult\\\\.thoughtsResult\\\\.child\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.thoughtsResult\\\\.child\\\\.score-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.thoughtsResult\\\\.parent\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.thoughtsResult\\\\.parent\\\\.score-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult-property\": {\n \"border-top\": \"1px solid #000\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.headers\\\\.word-property\": {\n display: \"inline-block\",\n left: \"-170px\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.headers\\\\.score-property\": {\n display: \"inline-block\",\n left: \"-170px\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQIHSE\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQIHSE\\\\.score-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQILATEN\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQILATEN\\\\.score-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQIDURAT\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQIDURAT\\\\.score-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQIDISTB\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQIDISTB\\\\.score-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQISLPQUAL\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQISLPQUAL\\\\.score-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQIMEDS\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQIMEDS\\\\.score-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQIDAYDYS\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQIDAYDYS\\\\.score-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQITOTAL\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.pittsburghResult\\\\.PSQITOTAL\\\\.score-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.IOFSResult-property\": {\n \"border-top\": \"1px solid #000\",\n },\n \"#outro\\\\.formresult\\\\.IOFSResult\\\\.headers\\\\.word-property\": {\n display: \"inline-block\",\n left: \"-180px\",\n },\n \"#outro\\\\.formresult\\\\.IOFSResult\\\\.headers\\\\.score-property\": {\n display: \"inline-block\",\n left: \"-180px\",\n },\n \"#outro\\\\.formresult\\\\.IOFSResult\\\\.form\\\\.word-property\": {\n display: \"inline-block\",\n },\n \"#outro\\\\.formresult\\\\.IOFSResult\\\\.form\\\\.score-property\": {\n display: \"inline-block\",\n },\n },\n};\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n version: {\n id: \"forms.dynamicForm.version\",\n description: \"Dynamic form version\",\n },\n});\n","import PropTypes from \"prop-types\";\nimport React, { useState, useEffect, useRef } from \"react\";\nimport { isEqual } from \"lodash\";\nimport classnames from \"classnames\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\nimport \"iframe-resizer/js/iframeResizer.min\";\nimport throttle from \"lodash.throttle\";\nimport { FormattedMessage } from \"react-intl\";\nimport useDeepCompareEffect from \"use-deep-compare-effect\";\n\nimport { AppSettings, URLs } from \"~/src/js/constants\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { queryString } from \"~/src/js/helpers/strings\";\nimport { getToken } from \"~/src/js/helpers/authentication\";\nimport FormolIframe from \"~/src/js/components/shared/FormolViewer/FormolIframe\";\n\nimport { genericPrintStyle, genericStyle } from \"./styles\";\n\nimport { messages } from \"./FormolViewer.i18n\";\nimport styles from \"./FormolViewer.style\";\n\nconst iframeUrl = AppSettings.FormolViewerUrl;\nconst DYNAMIC_FORM_AUTO_SAVE_DELAY = 30000;\nconst DISPLAY_MODES = {\n standard: \"standard\",\n default: null,\n};\n\nexport const FormolViewer = ({\n idSuffix,\n formDefinition,\n data,\n uploadingData,\n readOnly,\n isPartialDisplay,\n language,\n onSubmit,\n onSubmitDraft,\n onIsValidChange,\n onChange,\n className,\n hidden,\n isSpecialist,\n}) => {\n const frameId = `formolFrame-${idSuffix}`;\n const remoteFormResults = data ? JSON.parse(data.Results) : null;\n const url = `${iframeUrl}?containerId=${frameId}`;\n\n const [isReady, setIsReady] = useState(false);\n const [errors, setErrors] = useState(null);\n const [isSubmittingResults, setIsSubmittingResults] = useState(false);\n const formContainerRef = useRef(null);\n const [localFormResults, setLocalFormResults] = useState(remoteFormResults);\n const [lastUpdatedUid, setLastUpdatedUid] = useState(null);\n const qs = queryString();\n const showVersion = !isPartialDisplay && !qs.print;\n\n useEffect(() => {\n const qs = queryString();\n const isPrinting = Boolean(qs.print);\n const resizeOptions = {\n log: false,\n };\n\n if (isPrinting) {\n resizeOptions.bodyMargin = \"0 0 275px 0\";\n }\n window.iFrameResize(resizeOptions, `#${frameId}`);\n\n return () => {\n const frame = document.querySelector(`#${frameId}`);\n if (frame) {\n frame.iFrameResizer.close();\n }\n };\n }, []);\n\n // On load & DF frame re-creation\n useEffect(() => {\n refreshDFPayload(localFormResults);\n }, [formContainerRef.current, isReady]);\n\n // When form results diverge from local state, trigger frame rerender.\n useEffect(() => {\n if (!isEqual(localFormResults?.data, remoteFormResults?.data)) {\n autosave.cancel();\n setLocalFormResults(remoteFormResults);\n refreshDFPayload(remoteFormResults);\n }\n }, [data?.Results]);\n\n // Trigger full-refresh when form, readonly, language, display & upload states changes.\n useDeepCompareEffect(() => {\n if (isReady) {\n refreshDFPayload(remoteFormResults);\n }\n }, [readOnly, formDefinition, isPartialDisplay, language, isReady, uploadingData, {}]);\n\n // This-window-to-DF communications.\n useDeepCompareEffect(() => {\n window.addEventListener(\"message\", handleDFMessage);\n\n return () => {\n window.removeEventListener(\"message\", handleDFMessage);\n };\n }, [\n onSubmit,\n onSubmitDraft,\n readOnly,\n formDefinition,\n isPartialDisplay,\n language,\n isReady,\n uploadingData,\n {},\n onChange,\n ]);\n\n // Refresh form data. Pretty much reloads the entire frame.\n const refreshDFPayload = (state) => {\n if (formContainerRef?.current !== null) {\n const payload = {\n ...formDefinition?.schemas,\n state,\n lastUpdatedUid,\n vars: {\n ...formDefinition?.schemas?.vars,\n ...uploadingData,\n apiUrl: URLs.getApiUrlUpload(),\n apiToken: \"Bearer \" + getToken(),\n role: isSpecialist ? \"user\" : \"patient\",\n },\n };\n\n const isDevEnv = AppSettings.NodeEnv === \"development\";\n\n const displayMode = qs.print ? DISPLAY_MODES.standard : DISPLAY_MODES.default;\n const customStyle = qs.print ? genericPrintStyle : genericStyle;\n\n formContainerRef.current.contentWindow.postMessage(\n {\n type: \"DYNAMIC_FORM_PAYLOAD\",\n payload,\n readOnlyMode: readOnly,\n isPartialDisplay,\n devMode: isDevEnv,\n language,\n displayMode,\n themeName: \"old-school\",\n customStyle,\n },\n AppSettings.FormolViewerUrl\n );\n }\n };\n\n const handleDFMessage = async (message) => {\n const {\n data: { type, ...eventData },\n } = message;\n\n if (!eventData?.context?.containerId || eventData?.context?.containerId !== frameId) return;\n\n switch (type) {\n case \"DYNAMIC_FORM_READY\":\n setIsReady(true);\n break;\n case \"DYNAMIC_FORM_STATUS_CHANGED\":\n handleStatusChanged(eventData.payload);\n break;\n case \"DYNAMIC_FORM_SUBMISSION\":\n await submitResults(eventData.payload);\n break;\n case \"DYNAMIC_FORM_UPDATE_DATA\":\n await onFormUpdateData(eventData.payload);\n break;\n case \"DYNAMIC_FORM_NAVIGATE_TO\":\n formContainerRef.current.scrollIntoView();\n break;\n case \"DYNAMIC_FORM_PREVIEW_FILE\": {\n const ids = [eventData.payload.data.response[0].fileId];\n const newWindow = window.open(\n URLs.imageViewerFormat(URLs.dicomManifest(ids, \"\")),\n \"_blank\"\n );\n\n newWindow.onload = function () {\n this.postMessageAction = \"DICOM_HANDLE_SAVE\";\n this.saveButtonEnabled = window.top.dicomSaveHandlerCount > 0;\n this.initiatingWindow = window.top;\n };\n newWindow.focus();\n break;\n }\n default:\n }\n };\n\n const handleStatusChanged = (payload) => {\n const { formPass } = payload;\n\n if (onIsValidChange) {\n onIsValidChange(formPass);\n }\n };\n\n const onFormUpdateData = async (payload) => {\n setLastUpdatedUid(payload.uid);\n await autosave(payload);\n if (onChange) {\n onChange(payload, formDefinition.version);\n }\n };\n\n const autosave = throttle(\n async (results) => {\n if (onSubmitDraft) {\n setLocalFormResults(results);\n await onSubmitDraft(results);\n }\n },\n DYNAMIC_FORM_AUTO_SAVE_DELAY,\n { leading: false }\n );\n\n const submitResults = async (results) => {\n setErrors(null);\n setIsSubmittingResults(true);\n\n autosave.cancel();\n try {\n await onSubmit?.(results);\n } catch (e) {\n setErrors(e);\n }\n\n setIsSubmittingResults(false);\n };\n\n return (\n \n \n\n {isSubmittingResults && (\n
\n \n
\n )}\n\n

\n {showVersion && (\n

\n \n

\n )}\n\n {!qs.print && }\n \n );\n};\n\nFormolViewer.propTypes = {\n idSuffix: PropTypes.string.isRequired,\n formDefinition: PropTypes.object,\n data: PropTypes.object,\n uploadingData: PropTypes.object,\n language: PropTypes.string,\n readOnly: PropTypes.bool,\n isPartialDisplay: PropTypes.bool,\n onSubmit: PropTypes.func,\n onSubmitDraft: PropTypes.func,\n onIsValidChange: PropTypes.func,\n onChange: PropTypes.func,\n className: PropTypes.string,\n hidden: PropTypes.bool,\n isSpecialist: PropTypes.bool,\n};\n\nFormolViewer.defaultProps = {\n className: \"\",\n};\n\nconst mapStateToProps = (state) => ({\n language: state.settingsReducer.language,\n});\n\nexport default Relay.createContainer(connect(mapStateToProps)(FormolViewer), {\n fragments: {\n formDefinition: () => Relay.QL`\n fragment on FormDefinition {\n schemas\n version\n }\n `,\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Card, CardTitle } from \"react-toolbox/lib/card\";\nimport Relay from \"react-relay/classic\";\n\nimport formStyle from \"~/src/styles/forms\";\n\nimport { FormolViewer } from \".\";\n\nexport const CardFormolViewer = ({\n frameIdSuffix,\n title,\n formDefinition,\n data,\n uploadingData,\n readOnly,\n onSubmit,\n onSubmitDraft,\n isSpecialist,\n}) => {\n return (\n \n \n\n \n \n );\n};\n\nCardFormolViewer.propTypes = {\n frameIdSuffix: PropTypes.string.isRequired,\n title: PropTypes.string,\n formDefinition: PropTypes.object,\n data: PropTypes.object,\n uploadingData: PropTypes.object,\n readOnly: PropTypes.bool,\n onSubmit: PropTypes.func,\n onSubmitDraft: PropTypes.func,\n isSpecialist: PropTypes.bool,\n};\n\nexport default Relay.createContainer(CardFormolViewer, {\n fragments: {\n formDefinition: () => Relay.QL`\n fragment on FormDefinition {\n ${FormolViewer.getFragment(\"formDefinition\")}\n }\n `,\n },\n});\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\n\nimport { FormolViewer } from \"~/src/js/components/shared/FormolViewer\";\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\n\nexport const CLINICAL_DOMAIN_SUBFORM_TYPE = {\n REQUEST: \"request\",\n REPORT: \"report\",\n};\n\nexport const ClinicalDomainSubForm = ({\n frameIdSuffix,\n clinicalDomainId,\n type,\n formVersion,\n viewer,\n data,\n readOnly,\n relay: { setVariables, forceFetch },\n onIsValidChange,\n onChange,\n className,\n uploadingData,\n}) => {\n useEffect(() => {\n forceFetch();\n }, []);\n\n useEffect(() => {\n setVariables({ clinicalDomainId: clinicalDomainId, formVersion: formVersion, formType: type });\n }, [clinicalDomainId, formVersion, type]);\n\n const formDefinition = viewer && viewer.clinicalDomain && viewer.clinicalDomain.formDefinition;\n if (clinicalDomainId && formDefinition) {\n return (\n \n );\n }\n\n return null;\n};\n\nClinicalDomainSubForm.propTypes = {\n frameIdSuffix: PropTypes.string.isRequired,\n clinicalDomainId: PropTypes.string,\n formVersion: PropTypes.number,\n type: PropTypes.oneOf(Object.values(CLINICAL_DOMAIN_SUBFORM_TYPE)).isRequired,\n viewer: ViewerPropTypes,\n data: PropTypes.object,\n readOnly: PropTypes.bool,\n onIsValidChange: PropTypes.func,\n onChange: PropTypes.func,\n className: PropTypes.string,\n uploadingData: PropTypes.object,\n};\n\nClinicalDomainSubForm.defaultProps = {\n className: \"\",\n};\n\nexport default Relay.createContainer(ClinicalDomainSubForm, {\n initialVariables: {\n clinicalDomainId: null,\n formVersion: null,\n formType: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n clinicalDomain(id: $clinicalDomainId) {\n formDefinition(version: $formVersion, type: $formType) {\n ${FormolViewer.getFragment(\"formDefinition\")}\n }\n }\n }\n `,\n },\n});\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n teleconsultation: {\n id: \"genericRequest.teleconsultation\",\n description: \"Generic form title\",\n defaultMessage: \"Teleconsultation #{caseId}\",\n },\n requestInformationAction: {\n id: \"genericRequest.requestInformationAction\",\n description: \"Request additional information\",\n defaultMessage: \"Request additional information\",\n },\n requestInformationTitle: {\n id: \"genericRequest.requestInformationTitle\",\n description: \"Request additional information\",\n defaultMessage: \"Request information\",\n },\n addDestination: {\n id: \"genericRequest.addDestination\",\n description: \"Add destination button label\",\n defaultMessage: \"Add destination\",\n },\n additionalInformationEnquiry: {\n id: \"genericRequest.additionalInformationEnquiry\",\n description: \"Title additional information readonly\",\n defaultMessage: \"Additional information enquiry\",\n },\n destination: {\n id: \"genericRequest.destinations\",\n description: \"Destination title\",\n defaultMessage: \"Destinations\",\n },\n closeAvailable: {\n id: \"genericRequest.closeAvailable\",\n description: \"Message on top of the request that state that the case can be closed\",\n defaultMessage: \"All destinations are completed, you can now close the case.\",\n },\n DEFERREDTIME: {\n id: \"genericRequest.deferredTime\",\n description: \"Modality deferred time label\",\n defaultMessage: \"Deferred time\",\n },\n VIDEOWITHOUTPATIENT: {\n id: \"genericRequest.videoWithoutPatient\",\n description: \"Modality video without patient label\",\n defaultMessage: \"Teleconsultation without patient (video)\",\n },\n VIDEOWITHPATIENT: {\n id: \"genericRequest.videoWithPatient\",\n description: \"Modality video with patient label\",\n defaultMessage: \"Teleconsultation with patient (video)\",\n },\n speciality: {\n id: \"genericRequest.speciality\",\n description: \"Speciality dropDown label\",\n defaultMessage: \"Speciality\",\n },\n priority: {\n id: \"genericRequest.priority\",\n description: \"Priority dropDown label\",\n defaultMessage: \"Priority\",\n },\n department: {\n id: \"genericRequest.department\",\n description: \"Department dropDown label\",\n defaultMessage: \"Destination department\",\n },\n reporter: {\n id: \"genericRequest.destinationReporter\",\n description: \"Reporter dropDown label\",\n defaultMessage: \"Destination reporter\",\n },\n modality: {\n id: \"genericRequest.modality\",\n description: \"Modality dropDown label\",\n defaultMessage: \"Modality\",\n },\n departmentDispatch: {\n id: \"genericRequest.departmentDispatch\",\n description: \"Dispatch to department checkbox label\",\n defaultMessage: \"Dispatch to the appropriate department\",\n },\n cancel: {\n id: \"global.cancel\",\n description: \"Generic cancel label\",\n defaultMessage: \"Cancel\",\n },\n videoConferenceNumber: {\n id: \"genericRequest.videoConferenceNumber\",\n description: \"Videoconference number label\",\n defaultMessage: \"Videoconference number\",\n },\n reasons: {\n id: \"genericRequest.reasons\",\n description: \"Reasons dropDown label\",\n defaultMessage: \"Reasons\",\n },\n updateDestination: {\n id: \"genericRequest.updateDestination\",\n description: \"Update destination button label\",\n defaultMessage: \"Update destination\",\n },\n dispatchDepartmentByDispatcher: {\n id: \"genericRequest.dispatchDepartmentByDispatcher\",\n description: \"Department message when dispatch checkbox selected\",\n defaultMessage: \"Destination department will be chosen by dispatcher\",\n },\n dispatchReporterByDispatcher: {\n id: \"genericRequest.dispatchReporterByDispatcher\",\n description: \"Reporter message when dispatch checkbox selected\",\n defaultMessage: \"Destination reporter will be chosen by dispatcher\",\n },\n saveAsDraft: {\n id: \"genericRequest.saveAsDraft\",\n description: \"Save as draft button label\",\n defaultMessage: \"Save as draft\",\n },\n submit: {\n id: \"genericRequest.submit\",\n description: \"Submit form button label\",\n defaultMessage: \"Submit form\",\n },\n patientEmail: {\n id: \"genericRequest.patientEmail\",\n description: \"Patient's email\",\n },\n printRequestCompleted: {\n id: \"genericRequest.print.requestCompleted\",\n description: \"Print request completed\",\n defaultMessage: \"This request is completed\",\n },\n printRequestReport: {\n id: \"genericRequest.print.printRequestReport\",\n description: \"Print request report\",\n defaultMessage: \"Print request report\",\n },\n printDownloadName: {\n id: \"genericRequest.print.downloadName\",\n description: \"Generic request download file name\",\n defaultMessage: \"Generic_Request\",\n },\n reportTypeFinal: {\n id: \"genericRequest.report.finalReport\",\n description: \"Generic request final report\",\n },\n reportTypePreliminary: {\n id: \"genericRequest.report.preliminaryReport\",\n description: \"Generic request preliminary report\",\n },\n reportTypeAmended: {\n id: \"genericRequest.report.amendedReport\",\n description: \"Generic request amended report\",\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case/index\";\nimport { SelectInput } from \"~/src/js/components/shared/inputs\";\n\nimport { messages } from \"../i18n\";\n\nexport const getClinicalDomainOptions = (clinicalDomains) => {\n return clinicalDomains.edges.map((clinicalDomain) => ({\n value: clinicalDomain.node.id,\n label: clinicalDomain.node.name,\n }));\n};\n\nexport const ClinicalDomainDropdown = ({\n viewer,\n destination,\n defaultClinicalDomainId,\n onChange,\n disabled,\n}) => {\n const clinicalDomainOptions = getClinicalDomainOptions(viewer.clinicalDomains);\n\n return (\n }\n options={clinicalDomainOptions}\n value={\n destination.request.clinicalDomain\n ? destination.request.clinicalDomain.id\n : defaultClinicalDomainId\n }\n onChange={onChange}\n disabled={disabled}\n required\n />\n );\n};\n\nClinicalDomainDropdown.propTypes = {\n viewer: ViewerPropTypes,\n destination: PropTypes.object,\n defaultClinicalDomainId: PropTypes.string,\n onChange: PropTypes.func,\n disabled: PropTypes.bool,\n};\n\nexport default Relay.createContainer(ClinicalDomainDropdown, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n clinicalDomains(first: 500, specialistType: REPORTER, formId: 17) {\n edges {\n node {\n id\n name\n }\n }\n }\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n id\n request {\n clinicalDomain {\n id\n }\n }\n }\n `,\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\n\nimport { PriorityIcon } from \"~/src/js/components/shared/PriorityIcon\";\nimport HtmlElement from \"~/src/js/components/shared/htmlElement\";\n\nimport styles from \"./Priority.style\";\n\nexport const Priority = ({ priority, className }) => {\n const { name, description, delayDescription } = priority;\n return (\n
\n
\n
\n
\n {name}\n {delayDescription}\n
\n \n \n \n
\n {description && }\n
\n
\n );\n};\n\nPriority.propTypes = {\n priority: PropTypes.object,\n className: PropTypes.string,\n};\n\nPriority.defaultProps = {\n className: \"\",\n};\n\nexport default Relay.createContainer(Priority, {\n fragments: {\n priority: () => Relay.QL`\n fragment on Priority {\n id\n name\n description\n delay\n delayDescription\n icon\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { Priority } from \"~/src/js/components/shared/Departments/ClinicalDomain/Priorities/Priority\";\nimport { SelectInput } from \"~/src/js/components/shared/inputs\";\n\nimport { messages } from \"../i18n\";\n\nexport const getPriorityOptions = (clinicalDomains, domainId) => {\n const clinicalDomain = domainId\n ? clinicalDomains.edges.find((x) => x.node.id === domainId).node\n : clinicalDomains.edges[0].node;\n\n const priorityOptions = clinicalDomain\n ? clinicalDomain.priorities\n .filter((x) => x.active)\n .map((priority) => ({\n value: priority.id,\n label: ,\n }))\n : [];\n\n return priorityOptions;\n};\n\nexport const PriorityDropdown = ({\n viewer: { clinicalDomains },\n destination,\n defaultPriorityId,\n clinicalDomainId,\n disabled,\n}) => {\n if (!clinicalDomainId && destination.request.clinicalDomain) {\n clinicalDomainId = destination.request.clinicalDomain.id;\n }\n\n const priorityOptions = getPriorityOptions(clinicalDomains, clinicalDomainId);\n\n return (\n }\n options={priorityOptions}\n value={\n defaultPriorityId || (destination.request.priority ? destination.request.priority.id : null)\n }\n disabled={disabled}\n required\n />\n );\n};\n\nPriorityDropdown.propTypes = {\n clinicalDomainId: PropTypes.string,\n defaultPriorityId: PropTypes.string,\n destination: PropTypes.object,\n disabled: PropTypes.bool,\n viewer: ViewerPropTypes,\n};\n\nexport default Relay.createContainer(PriorityDropdown, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n clinicalDomains(first: 500, specialistType: REPORTER, formId: 17) {\n edges {\n node {\n id\n\n priorities {\n active\n id\n name\n icon\n description\n delayDescription\n }\n }\n }\n }\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n id\n request {\n clinicalDomain {\n id\n }\n priority {\n id\n }\n }\n }\n `,\n },\n});\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { useDidUpdateEffect } from \"~/src/js/hooks/useDidUpdateEffect\";\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case/index\";\nimport {\n departmentDropdownSource,\n departmentDropdownFragment,\n} from \"~/src/js/components/shared/dropdownHelpers\";\nimport { SelectInput } from \"~/src/js/components/shared/inputs\";\n\nimport { messages } from \"../i18n\";\n\nexport const getDepartmentOptions = (clinicalDomains, clinicalDomainId) => {\n const clinicalDomain = clinicalDomainId\n ? clinicalDomains.edges.find((x) => x.node.id === clinicalDomainId).node\n : clinicalDomains.edges[0].node;\n\n const departmentOptions = clinicalDomain\n ? departmentDropdownSource(clinicalDomain.departments, true)\n : [];\n\n return departmentOptions;\n};\n\nexport const DepartmentDropdown = ({\n viewer,\n destination,\n clinicalDomainId,\n defaultDepartmentId,\n isDispatching,\n onChange,\n disabled,\n}) => {\n const departmentOptions = getDepartmentOptions(viewer.clinicalDomains, clinicalDomainId);\n\n const [departmentId, setDepartmentId] = useState(\n defaultDepartmentId ||\n (destination.request.preferredDestinationDepartment\n ? destination.request.preferredDestinationDepartment.id\n : null)\n );\n\n useDidUpdateEffect(() => {\n setDepartmentId(null);\n }, [clinicalDomainId]);\n\n useEffect(() => {\n if (isDispatching) {\n setDepartmentId(null);\n }\n }, [isDispatching]);\n\n useEffect(() => {\n if (defaultDepartmentId && !departmentId) {\n setDepartmentId(defaultDepartmentId);\n }\n }, [defaultDepartmentId]);\n\n const onDepartmentChange = (departmentId) => {\n setDepartmentId(departmentId);\n onChange(departmentId);\n };\n\n return (\n \n ) : (\n \n )\n }\n options={departmentOptions}\n value={departmentId}\n optgroup=\"departments\"\n onChange={onDepartmentChange}\n disabled={disabled}\n required={!isDispatching}\n />\n );\n};\n\nDepartmentDropdown.propTypes = {\n viewer: ViewerPropTypes,\n destination: PropTypes.object,\n clinicalDomainId: PropTypes.string,\n defaultDepartmentId: PropTypes.string,\n isDispatching: PropTypes.bool,\n onChange: PropTypes.func,\n disabled: PropTypes.bool,\n};\n\nexport default Relay.createContainer(DepartmentDropdown, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n clinicalDomains(first: 500, specialistType: REPORTER, formId: 17) {\n edges {\n node {\n id\n departments {\n ${departmentDropdownFragment}\n }\n }\n }\n }\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n id\n request {\n preferredDestinationDepartment {\n id\n }\n }\n }\n `,\n },\n});\n","import { useRef, useEffect } from \"react\";\n\nexport const useDidUpdateEffect = (fn, inputs) => {\n const didMountRef = useRef(false);\n\n useEffect(() => {\n if (didMountRef.current) {\n fn();\n } else {\n didMountRef.current = true;\n }\n }, inputs);\n};\n","import React, { useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case/index\";\nimport { SelectInput } from \"~/src/js/components/shared/inputs\";\n\nimport { messages } from \"../i18n\";\n\nexport const getDepartmentReporterOptions = (\n clinicalDomains,\n clinicalDomainId,\n departmentId,\n includeEmptyChoice\n) => {\n const clinicalDomain = clinicalDomainId\n ? clinicalDomains.edges.find((x) => x.node.id === clinicalDomainId).node\n : clinicalDomains.edges[0].node;\n\n const department = clinicalDomain.departments.find((x) => x.id === departmentId);\n\n return getReporterDropdownOptions(department, includeEmptyChoice);\n};\n\nconst getReporterDropdownOptions = (department, includeEmptyChoice) => {\n if (!department) return [];\n\n const reporters = department.specialists.map((s) => {\n return {\n label: s.fullName,\n value: s.id,\n };\n });\n\n if (includeEmptyChoice) {\n return [{ label: \"\", value: \"\" }].concat(reporters);\n }\n\n return reporters;\n};\n\nexport const DepartmentReportersDropdown = ({\n viewer,\n destination,\n clinicalDomainId,\n departmentId,\n defaultReporterId,\n isDispatching,\n includeEmptyChoice,\n}) => {\n const reporterOptions = getDepartmentReporterOptions(\n viewer.clinicalDomains,\n clinicalDomainId,\n departmentId,\n includeEmptyChoice\n );\n\n const [proposedReporterId, setProposedReporterId] = useState(\n defaultReporterId ||\n (destination.request.proposedReporter ? destination.request.proposedReporter.id : null)\n );\n\n useEffect(() => {\n if (!departmentId) {\n setProposedReporterId(null);\n }\n }, [departmentId]);\n\n return (\n \n ) : (\n \n )\n }\n options={reporterOptions}\n value={proposedReporterId}\n onChange={(id) => setProposedReporterId(id)}\n disabled={isDispatching || reporterOptions.length === 0}\n />\n );\n};\n\nDepartmentReportersDropdown.propTypes = {\n viewer: ViewerPropTypes,\n destination: PropTypes.object,\n clinicalDomainId: PropTypes.string,\n departmentId: PropTypes.string,\n defaultReporterId: PropTypes.string,\n isDispatching: PropTypes.bool,\n includeEmptyChoice: PropTypes.bool,\n};\n\nDepartmentReportersDropdown.defaultProps = {\n isDispatching: false,\n};\n\nexport default Relay.createContainer(DepartmentReportersDropdown, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n clinicalDomains(first: 500, specialistType: REPORTER, formId: 17) {\n edges {\n node {\n id\n departments {\n id\n specialists(specialistType: REPORTER) {\n id\n fullName\n }\n }\n }\n }\n }\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n id\n request {\n proposedReporter {\n id\n }\n }\n }\n `,\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { SelectInput } from \"~/src/js/components/shared/inputs\";\n\nimport { messages } from \"../i18n\";\n\nexport const Modalities = {\n VideoWithPatient: \"VIDEOWITHPATIENT\",\n VideoWithoutPatient: \"VIDEOWITHOUTPATIENT\",\n DeferredTime: \"DEFERREDTIME\",\n};\n\nexport const modalityOptions = [\n {\n value: Modalities.VideoWithPatient,\n label: ,\n },\n {\n value: Modalities.VideoWithoutPatient,\n label: ,\n },\n {\n value: Modalities.DeferredTime,\n label: ,\n },\n];\n\nexport const ModalityDropdown = ({ destination, defaultModalityId, onChange }) => {\n return (\n }\n options={modalityOptions}\n value={defaultModalityId || destination.request.modality}\n onChange={onChange}\n required\n />\n );\n};\n\nModalityDropdown.propTypes = {\n destination: PropTypes.object,\n defaultModalityId: PropTypes.string,\n onChange: PropTypes.func,\n};\n\nexport default Relay.createContainer(ModalityDropdown, {\n fragments: {\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n id\n request {\n modality\n }\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class DeleteAllAttachmentsMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(DeleteAllAttachmentsMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { deleteAllAttachments }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n sectionId: this.props.sectionId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on DeleteAllAttachmentsPayload {\n case {\n id\n legacyId\n attachments\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on DeleteAllAttachmentsPayload {\n case {\n id\n legacyId\n attachments\n }\n }\n `,\n ],\n },\n ];\n }\n}\n\nexport const deleteAllAttachments = (caseId, sectionId) => {\n const params = {\n caseId: caseId,\n sectionId: sectionId,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new DeleteAllAttachmentsMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import { Button, ButtonGroup, Row, Col, TrashIcon } from \"@akinoxsolutions/gerudo-ui\";\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment, useEffect, useState } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { CardText } from \"react-toolbox/lib/card\";\n\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { isEmptyDestination } from \"~/src/js/components/forms/GENERICv2/helpers\";\nimport { GerudoTextInput, Checkbox, CheckboxSizes } from \"~/src/js/components/shared/inputs\";\nimport { CLINICAL_DOMAIN_SUBFORM_TYPE } from \"~/src/js/components/forms/GENERICv2/ClinicalDomainSubForm/ClinicalDomainSubForm\";\n\nimport { isEmpty } from \"../../../../helpers\";\nimport { ClinicalDomainDropdown } from \"../ClinicalDomainDropdown\";\nimport { PriorityDropdown } from \"../PriorityDropdown\";\nimport { DepartmentDropdown } from \"../DepartmentDropdown\";\nimport { DepartmentReportersDropdown } from \"../DepartmentReportersDropdown\";\nimport { Modalities, ModalityDropdown } from \"../ModalityDropdown\";\nimport { ClinicalDomainSubForm } from \"../ClinicalDomainSubForm\";\nimport { deleteAllAttachments } from \"../../../attachments/deleteAllAttachmentsMutation\";\n\nimport destinationStyles from \"./Destination.style.scss\";\n\nimport { messages } from \"../i18n\";\n\nexport const getSubFormData = (destination, defaultData) => {\n if (defaultData && defaultData.formResults) {\n return {\n Results: defaultData.formResults,\n };\n }\n\n if (destination.request.formData) {\n return destination.request.formData;\n }\n\n return null;\n};\n\nexport const getSubFormVersion = (destination, defaultData) => {\n if (destination.request.formData) {\n return destination.request.formData.FormVersion;\n }\n\n if (defaultData && defaultData.formVersion) {\n return defaultData.formVersion;\n }\n\n return null;\n};\n\nexport const Destination = ({\n case: cas,\n destination,\n defaultData,\n onDelete,\n viewer,\n showActionBar: showActionBar,\n styles: styles,\n submitting: submitting,\n handleCancelDestination: handleCancelDestination,\n handleSaveDraftData,\n isSavingDraftData,\n onIsSubFormValidChange,\n handleChangeDestinationSubFormData,\n}) => {\n const defaultValues = defaultData || {};\n const {\n dispatchBehavior,\n canProposeReporter,\n canScheduleVideoConferenceMeetingFlagOnly,\n } = destination.permissions;\n const allowDispatch = dispatchBehavior === \"ALLOW\";\n const forceDispatch = dispatchBehavior === \"FORCE\";\n\n const [isDispatchChecked, setIsDispatchChecked] = useState(forceDispatch);\n const [clinicalDomainId, setClinicalDomainId] = useState(\n destination.request.clinicalDomain ? destination.request.clinicalDomain.id : null\n );\n const [modality, setModality] = useState(destination.request.modality);\n const [departmentId, setDepartmentId] = useState(\n destination.request.preferredDestinationDepartment\n ? destination.request.preferredDestinationDepartment.id\n : null\n );\n const [subFormVersion, setSubFormVersion] = useState(getSubFormVersion(destination, defaultData));\n\n const [stateDefaultData, setStateDefaultData] = useState(\n getSubFormData(destination, defaultData)\n );\n const [isRequestSubFormValid, setIsRequestSubFormValid] = useState(true);\n\n const [uploadingData] = useState({\n CaseId: cas.legacyId,\n });\n\n const hasDefaultData = Boolean(defaultData);\n useEffect(() => {\n if (defaultData) {\n setIsDispatchChecked(defaultData.requestDispatch);\n setClinicalDomainId(defaultData.clinicalDomain);\n setModality(defaultData.modality);\n setDepartmentId(defaultData.preferredDestinationDepartment);\n setStateDefaultData(getSubFormData(destination, defaultData));\n setSubFormVersion(getSubFormVersion(destination, defaultData));\n }\n }, [hasDefaultData]);\n\n const { id } = destination;\n const { isDraft } = destination.status;\n\n const handleChecked = () => {\n setIsDispatchChecked(!isDispatchChecked);\n setDepartmentId(null);\n };\n\n const onChangeSubFormData = (data, formVersion) => {\n handleChangeDestinationSubFormData(id, data, formVersion);\n };\n\n const applySubFormValidChange = (value) => {\n if (onIsSubFormValidChange) {\n onIsSubFormValidChange(value);\n }\n setIsRequestSubFormValid(value);\n };\n\n const onClinicalDomainChange = (clinicalDomainId) => {\n setClinicalDomainId(clinicalDomainId);\n setDepartmentId(null);\n applySubFormValidChange(true);\n deleteAllAttachments(cas.id, \"DynamicFormUploadDoc\");\n setStateDefaultData(null);\n };\n\n const getSubmitButtonText = () => {\n if (!isRequestSubFormValid) {\n return baseI18n.global.fillAllMandatoryFields;\n }\n if (isEmptyDestination(destination.id)) {\n return messages.submit;\n }\n\n return messages.updateDestination;\n };\n\n const handleModality = (value) => setModality(value);\n const handleDepartment = (value) => setDepartmentId(value);\n\n const isConferenceNumberVisible =\n !canScheduleVideoConferenceMeetingFlagOnly &&\n !isEmpty(modality) &&\n modality !== Modalities.DeferredTime;\n\n const isPatientEmailVisible =\n canScheduleVideoConferenceMeetingFlagOnly &&\n !isEmpty(modality) &&\n modality === Modalities.VideoWithPatient;\n\n const patientEmail =\n cas &&\n cas.patient &&\n cas.patient.address &&\n cas.patient.address.emails &&\n cas.patient.address.emails.length > 0\n ? cas.patient.address.emails[0]\n : null;\n\n return (\n
\n {onDelete && (\n
\n }\n onClick={() => onDelete(id)}\n />\n
\n )}\n\n \n \n
\n \n \n\n \n \n \n\n \n \n \n\n \n {canProposeReporter && (\n \n \n \n )}\n \n\n \n {(allowDispatch || forceDispatch) && isDraft && (\n \n
\n \n \n \n
\n \n )}\n \n\n \n {isConferenceNumberVisible && (\n \n }\n />\n \n )}\n \n \n\n \n \n \n \n\n \n }\n required\n />\n \n \n\n {isPatientEmailVisible && (\n \n \n }\n required\n validations={{ isEmail: true }}\n validationErrors={{\n isEmail: ,\n }}\n />\n \n \n )}\n\n \n \n \n \n \n\n {showActionBar && (\n
\n \n \n \n \n \n \n \n handleCancelDestination(destination.id)}\n disabled={submitting}>\n {}\n \n \n
\n )}\n \n \n );\n};\n\nDestination.propTypes = {\n case: PropTypes.object,\n defaultData: PropTypes.object,\n destination: PropTypes.object,\n onCancel: PropTypes.func,\n onDelete: PropTypes.func,\n viewer: PropTypes.object,\n showActionBar: PropTypes.bool,\n styles: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),\n submitting: PropTypes.bool,\n handleCancelDestination: PropTypes.func,\n handleSaveDraftData: PropTypes.func,\n isSavingDraftData: PropTypes.bool,\n onIsSubFormValidChange: PropTypes.func,\n handleChangeDestinationSubFormData: PropTypes.func,\n};\n\nexport default Relay.createContainer(Destination, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${ClinicalDomainDropdown.getFragment(\"viewer\")}\n ${PriorityDropdown.getFragment(\"viewer\")}\n ${DepartmentDropdown.getFragment(\"viewer\")}\n ${DepartmentReportersDropdown.getFragment(\"viewer\")}\n ${ClinicalDomainSubForm.getFragment(\"viewer\")}\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n id\n legacyId\n patient {\n address {\n emails\n } \n }\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n ${ClinicalDomainDropdown.getFragment(\"destination\")}\n ${PriorityDropdown.getFragment(\"destination\")}\n ${DepartmentDropdown.getFragment(\"destination\")}\n ${DepartmentReportersDropdown.getFragment(\"destination\")}\n ${ModalityDropdown.getFragment(\"destination\")}\n id\n status {\n isDraft\n }\n request {\n modality\n externalConferenceNumber\n clinicalDomain {\n id\n name\n }\n priority {\n id\n name\n }\n medicalReason\n formData\n patientEmail\n preferredDestinationDepartment {\n id\n name\n }\n }\n permissions {\n dispatchBehavior\n canProposeReporter\n canScheduleVideoConferenceMeetingFlagOnly\n }\n }\n `,\n },\n});\n","export const messages = {\n titles: {\n requiredInformation: {\n id: \"genericRequest.requiredInformation\",\n description: \"title for required information\",\n },\n priority: {\n id: \"global.priority\",\n description: \"title for priority\",\n },\n attachments: {\n id: \"clinicalDomain.titles.attachments\",\n description: \"title for attachments\",\n },\n },\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\nimport { Collapse, Panel } from \"@akinoxsolutions/gerudo-ui\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport HtmlElement from \"~/src/js/components/shared/htmlElement\";\nimport InlineAttachments from \"~/src/js/components/attachments/UploadAndList/InlineAttachments\";\n\nimport { Priority } from \"./Priorities\";\n\nimport styles from \"./ClinicalDomain.style\";\nimport { messages } from \"./ClinicalDomain.i18n\";\n\nexport const ClinicalDomain = ({ clinicalDomain }) => {\n const { name, requiredInformation, priorities, attachments } = clinicalDomain;\n return (\n
\n {name}\n \n }>\n \n \n }>\n {priorities.map((priority) => (\n \n ))}\n \n }>\n \n \n \n
\n );\n};\n\nClinicalDomain.propTypes = {\n clinicalDomain: PropTypes.object,\n};\n\nexport default Relay.createContainer(ClinicalDomain, {\n fragments: {\n clinicalDomain: () => Relay.QL`\n fragment on ClinicalDomain {\n id\n name\n requiredInformation\n attachments {\n id\n ${InlineAttachments.getFragment(\"attachments\")}\n }\n priorities {\n id\n ${Priority.getFragment(\"priority\")}\n }\n }\n `,\n },\n});\n","export const messages = {\n titles: {\n departmentName: {\n id: \"department.titles.departmentName\",\n description: \"Modal title for a department\",\n },\n clinicalDomain: {\n id: \"forms.econsult.clinicalDomain\",\n description: \"Card title for a clinical domain\",\n },\n specialists: {\n id: \"global.specialists\",\n description: \"Card title for specialists\",\n },\n willReceiveNotifications: {\n id: \"global.willReceiveNotifications\",\n description: \"Card title for specialists that will receive notifications\",\n },\n hospital: {\n id: \"hospitals.hospital\",\n description: \"Card title for hospital\",\n },\n },\n};\n","import React, { Fragment } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Modal, ButtonGroup, Button, Card, Collapse, Panel } from \"@akinoxsolutions/gerudo-ui\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { DepartmentPropTypes } from \"~/src/js/PropTypes/Department\";\nimport { PersonInformation } from \"~/src/js/components/shared/PersonInformation\";\nimport SpinnerPlaceholder from \"~/src/js/components/shared/spinnerPlaceholder\";\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport { ClinicalDomain } from \"../ClinicalDomain\";\n\nimport { messages } from \"./DepartmentModal.i18n\";\n\nexport const DepartmentModal = ({ visible, loading, departmentName, department, onClose }) => {\n const getContainerRef = () => {\n return document.getElementById(\"gerudo\");\n };\n\n const actions = () => (\n \n \n \n );\n\n const specialistsTitle = (\n \n \n {\" (\"}\n \n {\")\"}\n \n );\n\n return (\n \n }\n visible={visible}\n onCancel={onClose}\n width={1000}\n zIndex={1000}\n getContainer={() => getContainerRef()}\n actions={actions}>\n {loading ? (\n \n ) : (\n \n }>\n \n \n \n \n }>\n {department.specialists.map((specialist) => (\n
\n \n
\n ))}\n
\n
\n
\n }>\n {department.hospital.name}\n \n
\n )}\n \n );\n};\n\nDepartmentModal.propTypes = {\n visible: PropTypes.bool,\n loading: PropTypes.bool,\n departmentName: PropTypes.string,\n department: DepartmentPropTypes,\n onClose: PropTypes.func,\n};\n\nexport default Relay.createContainer(DepartmentModal, {\n fragments: {\n department: () => Relay.QL`\n fragment on Department {\n id\n name\n hospital {\n id\n name\n }\n specialists {\n id\n ${PersonInformation.getFragment(\"person\")}\n }\n clinicalDomain {\n id\n ${ClinicalDomain.getFragment(\"clinicalDomain\")}\n }\n }\n `,\n },\n});\n","import React, { Fragment, useState, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\n\nimport { useRelayLoading } from \"~/src/js/hooks\";\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\n\nimport { DepartmentModal } from \"../DepartmentModal\";\n\nimport styles from \"./DepartmentInformation.style\";\n\nexport const DepartmentInformation = ({\n viewer,\n departmentId,\n departmentName,\n relay: { setVariables },\n}) => {\n const { department } = viewer;\n const [modalIsOpen, setModalIsOpen] = useState(false);\n\n useEffect(() => {\n setVariables({ departmentId: departmentId });\n }, []);\n\n const { loadRelayVariables, isLoading } = useRelayLoading({\n isLoadingDefault: true,\n setVariables: setVariables,\n });\n\n const openModal = async () => {\n loadRelayVariables({ isModalOpen: true });\n setModalIsOpen(true);\n };\n\n return (\n \n

openModal()}>\n {departmentName}\n

\n {modalIsOpen && (\n setModalIsOpen(false)}\n />\n )}\n
\n );\n};\n\nDepartmentInformation.propTypes = {\n viewer: ViewerPropTypes,\n departmentName: PropTypes.string,\n departmentId: PropTypes.string,\n};\n\nexport default Relay.createContainer(DepartmentInformation, {\n initialVariables: {\n isModalOpen: false,\n departmentId: null,\n },\n fragments: {\n viewer: ({ isModalOpen }) => Relay.QL`\n fragment on RootQuery {\n department(id: $departmentId) @include(if: $isModalOpen) {\n name\n ${DepartmentModal.getFragment(\"department\").if(isModalOpen)}\n }\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class UpdateDestinationPriorityMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(UpdateDestinationPriorityMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { updateGenericConversationConsultCaseDestinationPriority }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n priorityId: this.props.priorityId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on UpdateGenericConversationConsultCaseDestinationPriorityPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n data {\n ... on ConversationConsultData {\n extraData {\n ... on GenericConversationConsultData {\n destinations {\n request {\n priority\n }\n history\n }\n }\n }\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n}\n\nexport const updateDestinationPriority = ({ case: cas, data, viewer }) => {\n const params = {\n viewer: viewer,\n case: cas,\n caseId: cas.id,\n destinationId: data.destinationId,\n priorityId: data.priorityId,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new UpdateDestinationPriorityMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n title: {\n id: \"genericRequest.dialog.updateDestinationPriority.title\",\n description: \"Title of update destination priority dialog\",\n defaultMessage: \"Modify case priority\",\n },\n successNotification: {\n id: \"genericRequest.dialog.updateDestinationPriority.successNotification\",\n description: \"Success notification of update destination priority dialog\",\n defaultMessage: \"Destination priority updated successfully\",\n },\n});\n","import { Modal, ButtonGroup, Button } from \"@akinoxsolutions/gerudo-ui\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { connect } from \"react-redux\";\nimport Formsy from \"formsy-react\";\nimport { intlShape, injectIntl, FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { useFormsySubmit } from \"~/src/js/hooks\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\n\nimport { PriorityDropdown } from \"../PriorityDropdown\";\nimport { updateDestinationPriority } from \"../mutations/updateDestinationPriorityMutation\";\n\nimport { messages } from \"./UpdateDestinationPriorityDialog.i18n\";\n\nexport const UpdateDestinationPriorityDialog = ({\n visible,\n case: cas,\n destination,\n viewer,\n onCancel,\n onSuccess,\n intl: { formatMessage },\n showDialog,\n}) => {\n const onFormsySubmit = async (data) => {\n const destinationId = Object.keys(data.destinations)[0];\n const priorityId = data.destinations[destinationId].priority;\n\n await updateDestinationPriority({\n case: cas,\n data: {\n destinationId,\n priorityId,\n },\n viewer: viewer,\n });\n };\n\n const onFormsySuccess = () => {\n showDialog(formatMessage(messages.successNotification), \"accept\");\n onSuccess();\n };\n\n const { formsyProps, errors, isSubmitting } = useFormsySubmit({\n onSubmit: onFormsySubmit,\n onSuccess: onFormsySuccess,\n });\n\n return (\n }\n actions={(cancel) => {\n return (\n \n \n \n \n );\n }}>\n \n \n \n \n \n );\n};\n\nUpdateDestinationPriorityDialog.propTypes = {\n visible: PropTypes.bool.isRequired,\n case: CasePropTypes,\n destination: PropTypes.object,\n viewer: ViewerPropTypes,\n onCancel: PropTypes.func,\n onSuccess: PropTypes.func,\n intl: intlShape,\n showDialog: PropTypes.func,\n};\n\nconst mapStateToProps = () => ({});\n\nconst mapDispatchToProps = {\n showDialog: showDialogNotice,\n};\n\nexport default Relay.createContainer(\n connect(mapStateToProps, mapDispatchToProps)(injectIntl(UpdateDestinationPriorityDialog)),\n {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n id\n }\n `,\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PriorityDropdown.getFragment(\"viewer\")}\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n ${PriorityDropdown.getFragment(\"destination\")}\n }\n `,\n },\n }\n);\n","import PropTypes from \"prop-types\";\n\nexport const MeetingStatusCodes = Object.freeze({\n Scheduled: \"113\",\n Canceled: \"114\",\n Started: \"115\",\n Ended: \"116\",\n});\n\nexport const MeetingStatusPropTypes = PropTypes.shape({\n name: PropTypes.string,\n code: PropTypes.oneOf(Object.values(MeetingStatusCodes)),\n});\n","import PropTypes from \"prop-types\";\n\nimport { DateTimePropTypes } from \"../../DateTime/index\";\n\nimport { MeetingStatusPropTypes } from \"./MeetingStatus\";\n\nexport const MeetingParticipantsPropTypes = PropTypes.shape({\n userName: PropTypes.string,\n email: PropTypes.string,\n lastName: PropTypes.string,\n firstName: PropTypes.string,\n});\n\nexport const MeetingPropTypes = PropTypes.shape({\n id: PropTypes.string,\n meetingId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n providerId: PropTypes.string,\n externalId: PropTypes.string,\n scheduledDate: DateTimePropTypes,\n scheduledDurationMinutes: PropTypes.number,\n topic: PropTypes.string,\n description: PropTypes.string,\n joinUrl: PropTypes.string,\n startUrl: PropTypes.string,\n actualStartDate: DateTimePropTypes,\n actualDuration: PropTypes.number,\n status: MeetingStatusPropTypes,\n participants: PropTypes.arrayOf(MeetingParticipantsPropTypes),\n});\n","export /**\n *\n * @param {Date} time moment object representing only time\n * @param {Date} date Date object representing the date\n * @return {Date} a Date object with date and time\n */\nconst formatDateAndTimeToDate = (time, date) => {\n const clonedDate = new Date(date.getTime());\n clonedDate.setHours(time.getHours(), time.getMinutes(), time.getSeconds());\n\n return clonedDate;\n};\n\nexport const addMinutes = (date, minutes) => {\n return new Date(date.getTime() + minutes * 60000);\n};\n","export const messages = {\n title: {\n clinician: {\n id: \"videoConference.addToCalendar.title.clinician\",\n description: \"Calendar event title for clinicians\",\n },\n patient: {\n id: \"videoConference.addToCalendar.title.patient\",\n description: \"Calendar event title for patients\",\n },\n },\n body: {\n description: {\n id: \"videoConference.addToCalendar.body.description\",\n description: \"Calendar event body description\",\n },\n joinUrl: {\n id: \"videoConference.addToCalendar.body.joinUrl\",\n description: \"Calendar event body join link\",\n },\n startUrl: {\n id: \"videoConference.addToCalendar.body.startUrl\",\n description: \"Calendar event body start link\",\n },\n topic: {\n id: \"videoConference.addToCalendar.body.topic\",\n description: \"Calendar event body topic\",\n },\n },\n actions: {\n addToCalendar: {\n id: \"global.actions.addToCalendar\",\n description: \"Button text to add to calendar\",\n },\n },\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport { AddToCalendar } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { addMinutes } from \"~/src/js/components/shared/inputs/DateTime/index\";\nimport { MeetingPropTypes } from \"~/src/js/PropTypes/VideoConference/Meeting/index\";\nimport { PatientPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { DepartmentPropTypes } from \"~/src/js/PropTypes/Department/index\";\n\nimport { messages } from \"./VideoconferenceAddToCalendar.i18n\";\n\nexport const VideoconferenceAddToCalendar = ({\n intl: { formatMessage },\n meeting,\n patient,\n department,\n isClinician,\n disabled,\n className,\n}) => {\n const {\n provider: { providerName },\n topic,\n description,\n startUrl,\n joinUrl,\n scheduledDate,\n scheduledDurationMinutes,\n } = meeting;\n const scheduledDateAsDate = new Date(scheduledDate);\n\n const title = isClinician\n ? formatMessage(messages.title.clinician, {\n patientName: patient.demographic.fullName,\n })\n : formatMessage(messages.title.patient, {\n clinicName: department.name,\n });\n\n const subject = `${formatMessage(messages.body.topic, { topic })}
\n ${formatMessage(messages.body.description, { description })}
\n ${\n isClinician\n ? formatMessage(messages.body.startUrl, { startUrl })\n : formatMessage(messages.body.joinUrl, { joinUrl })\n }`;\n\n return (\n }\n buttonType=\"text\"\n withIcon={false}\n disabled={disabled}\n className={className}\n />\n );\n};\n\nVideoconferenceAddToCalendar.propTypes = {\n intl: intlShape,\n meeting: MeetingPropTypes,\n patient: PatientPropTypes,\n department: DepartmentPropTypes,\n isClinician: PropTypes.bool,\n disabled: PropTypes.bool,\n className: PropTypes.string,\n};\n\nexport default injectIntl(VideoconferenceAddToCalendar);\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class CancelVideoConferenceMeetingMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(CancelVideoConferenceMeetingMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { cancelVideoConferenceMeeting }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n meetingId: this.props.meetingId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on CancelVideoConferenceMeetingPayload {\n case {\n id\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on CancelVideoConferenceMeetingPayload {\n case {\n videoConferenceMeetings {\n id\n meetingId\n provider {\n id\n }\n scheduledDate\n scheduledDurationMinutes\n externalId\n topic\n description\n joinUrl\n startUrl\n actualStartDate\n actualDuration\n participants {\n userName\n }\n status {\n code\n name\n }\n }\n }\n }\n `,\n ],\n },\n ];\n }\n}\n\nexport const cancelVideoConferenceMeeting = ({ caseId, meetingId }) => {\n const params = {\n caseId,\n meetingId,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new CancelVideoConferenceMeetingMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport classnames from \"classnames\";\nimport Relay from \"react-relay/classic\";\n\nimport { Chip } from \"~/src/js/components/common/index\";\nimport { MeetingStatusPropTypes } from \"~/src/js/PropTypes/VideoConference/Meeting/MeetingStatus\";\n\nimport styles from \"./VideoConferenceHistoryItem.styles\";\n\nexport const VideoConferenceStatusChip = ({ status, className }) => {\n return {status.name};\n};\n\nVideoConferenceStatusChip.propTypes = {\n status: MeetingStatusPropTypes,\n className: PropTypes.string,\n};\n\nexport default Relay.createContainer(VideoConferenceStatusChip, {\n fragments: {\n status: () => Relay.QL`\n fragment on MeetingStatus {\n code\n name\n }\n `,\n },\n});\n","export const messages = {\n actions: {\n startVideoConference: {\n id: \"videoConference.actions.startVideoConference\",\n description: \"Button text for starting videoconference\",\n },\n joinVideoConference: {\n id: \"videoConference.actions.joinVideoConference\",\n description: \"Button text to join videoconference\",\n },\n cancelVideoConference: {\n id: \"videoConference.actions.cancelVideoConference\",\n description: \"Button text to join videoconference\",\n },\n },\n titles: {\n minutes: {\n id: \"videoConference.titles.minutes\",\n description: \"Label for minutes\",\n },\n meetingId: {\n id: \"videoConference.titles.meetingId\",\n description: \"Label for meetingId\",\n },\n },\n labels: {\n videoconferenceWith: {\n id: \"videoConference.labels.videconferenceWith\",\n description: \"videconference with\",\n },\n },\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Button, ExternalLinkIcon } from \"@akinoxsolutions/gerudo-ui\";\nimport { FormattedMessage } from \"react-intl\";\nimport Formsy from \"formsy-react\";\nimport Relay from \"react-relay/classic\";\n\nimport FormattedDateTime from \"~/src/js/components/shared/formattedDateTime\";\nimport { MeetingPropTypes } from \"~/src/js/PropTypes/VideoConference/Meeting/index\";\nimport { PatientPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { DepartmentPropTypes } from \"~/src/js/PropTypes/Department/index\";\nimport { useFormsySubmit } from \"~/src/js/hooks\";\nimport { MeetingStatusCodes } from \"~/src/js/PropTypes/VideoConference/Meeting/MeetingStatus\";\n\nimport { VideoconferenceAddToCalendar } from \"../VideoconferenceAddToCalendar\";\nimport { cancelVideoConferenceMeeting } from \"../mutations/CancelVideoConferenceMeetingMutation\";\nimport { ErrorsContainer } from \"../../ErrorsContainer\";\n\nimport VideoConferenceStatusChip from \"./VideoConferenceStatusChip\";\nimport styles from \"./VideoConferenceHistoryItem.styles\";\n\nimport { messages } from \"./VideoConferenceHistoryItem.i18n\";\n\nexport const VideoConferenceHistoryItem = ({ meeting, patient, isHost, department, caseId }) => {\n const {\n provider: { providerName, emailAccount },\n topic,\n description,\n startUrl,\n joinUrl,\n scheduledDate,\n scheduledDurationMinutes,\n status,\n } = meeting;\n\n const videoConferenceUrl = isHost ? startUrl : joinUrl;\n const linkMessage =\n isHost && status.code !== MeetingStatusCodes.Scheduled ? (\n \n ) : (\n \n );\n\n const cancel = async () => {\n await cancelVideoConferenceMeeting({ meetingId: meeting.id, caseId: caseId });\n };\n\n const { formsyProps, isSubmitting, errors } = useFormsySubmit({ onSubmit: cancel });\n\n const canJoinMeetingStatusCodes = [MeetingStatusCodes.Started, MeetingStatusCodes.Scheduled];\n\n const participants = meeting.participants;\n\n return (\n \n
\n
\n
\n
\n
{topic}
\n
\n \n
\n
\n {participants.map((participant) => (\n
\n

\n {participant.userName}\n

\n

{participant.email}

\n
\n ))}\n
\n
{description}
\n
\n
\n\n
\n
\n \n \n \n \n (\n \n )\n \n
\n \n
\n
\n\n
\n
\n {providerName} | {emailAccount}\n
\n
\n\n
\n {canJoinMeetingStatusCodes.includes(status.code) && (\n \n }\n style={{ paddingLeft: 0 }}\n disabled={isSubmitting}\n type=\"text\"\n data-testid=\"joinButton\">\n {linkMessage}\n \n \n )}\n {status.code === MeetingStatusCodes.Scheduled && (\n \n )}\n {status.code === MeetingStatusCodes.Scheduled && isHost && (\n formsyProps.ref.current.submit()}\n loading={isSubmitting}\n type=\"text\"\n data-testid=\"cancel\">\n \n \n )}\n
\n \n
\n
\n );\n};\n\nVideoConferenceHistoryItem.propTypes = {\n meeting: MeetingPropTypes,\n patient: PatientPropTypes,\n department: DepartmentPropTypes,\n isHost: PropTypes.bool,\n caseId: PropTypes.string,\n};\n\nexport default Relay.createContainer(VideoConferenceHistoryItem, {\n fragments: {\n meeting: () => Relay.QL`\n fragment on VideoConferenceMeeting {\n id\n meetingId\n provider {\n id\n providerName\n emailAccount\n }\n scheduledDate\n scheduledDurationMinutes\n externalId\n topic\n description\n joinUrl\n startUrl\n actualStartDate\n actualDuration\n participants {\n userName\n email\n }\n status {\n ${VideoConferenceStatusChip.getFragment(\"status\")}\n code\n }\n }\n `,\n patient: () => Relay.QL`\n fragment on Patient {\n demographic {\n fullName\n }\n }\n `,\n department: () => Relay.QL`\n fragment on Department {\n legacyId\n name\n }\n `,\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\n\nimport { MeetingPropTypes } from \"~/src/js/PropTypes/VideoConference/Meeting/index\";\nimport { PatientPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { DepartmentPropTypes } from \"~/src/js/PropTypes/Department/index\";\n\nimport VideoConferenceHistoryItem from \"./VideoConferenceHistoryItem\";\n\nexport const VideoConferenceHistory = ({ meetings, patient, isHost, department, caseId }) => {\n if (meetings) {\n return meetings.map((meeting) => (\n \n ));\n }\n\n return null;\n};\n\nVideoConferenceHistory.propTypes = {\n meetings: PropTypes.arrayOf(MeetingPropTypes),\n patient: PatientPropTypes,\n department: DepartmentPropTypes,\n isHost: PropTypes.bool,\n caseId: PropTypes.string,\n};\n\nexport default Relay.createContainer(VideoConferenceHistory, {\n fragments: {\n meetings: () => Relay.QL`\n fragment on VideoConferenceMeeting @relay(plural: true) {\n ${VideoConferenceHistoryItem.getFragment(\"meeting\")}\n }\n `,\n patient: () => Relay.QL`\n fragment on Patient {\n ${VideoConferenceHistoryItem.getFragment(\"patient\")}\n }\n `,\n department: () => Relay.QL`\n fragment on Department {\n ${VideoConferenceHistoryItem.getFragment(\"department\")}\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class ReassignReporterGenericConversationConsultCaseDestination extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(\n ReassignReporterGenericConversationConsultCaseDestination,\n name\n );\n }\n\n getMutation() {\n return Relay.QL`mutation { reassignGenericConversationConsultCaseDestination }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n proposedReporterId: this.props.proposedReporterId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ReassignReporterGenericConversationConsultCaseDestinationPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n status\n data {\n ... on ConversationConsultData {\n permissions\n history\n extraData\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n}\n\nexport const reassignProposedReporter = ({ case: cas, data, viewer }) => {\n const params = {\n viewer: viewer,\n case: cas,\n caseId: cas.id,\n destinationId: data.destinationId,\n proposedReporterId: data.proposedReporterId,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(\n new ReassignReporterGenericConversationConsultCaseDestination(params),\n {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n }\n );\n });\n};\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n title: {\n id: \"genericRequest.dialog.reassignProposedReporter.title\",\n description: \"Title of reassign proposed reporter dialog\",\n },\n details: {\n id: \"genericRequest.dialog.reassignProposedReporter.details\",\n description: \"Modal details for reassign proposed reporter dialog\",\n },\n reassign: {\n id: \"genericRequest.dialog.reassignProposedReporter.reassign\",\n description: \"Action button for reassign proposed reporter dialog\",\n },\n successNotification: {\n id: \"genericRequest.dialog.reassignProposedReporter.successNotification\",\n description: \"Notification for the success of reassign proposed reporter dialog\",\n },\n});\n","import { Modal, ButtonGroup, Button } from \"@akinoxsolutions/gerudo-ui\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { connect } from \"react-redux\";\nimport Formsy from \"formsy-react\";\nimport { intlShape, injectIntl, FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { useFormsySubmit } from \"~/src/js/hooks\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { DepartmentReportersDropdown } from \"~/src/js/components/forms/GENERICv2/DepartmentReportersDropdown\";\n\nimport { reassignProposedReporter } from \"../mutations/reassignProposedReporterMutation\";\n\nimport { messages } from \"./ReassignProposedReporterDialog.i18n\";\n\nexport const ReassignProposedReporterDialog = ({\n visible,\n case: cas,\n destination,\n viewer,\n onCancel,\n onSuccess,\n intl: { formatMessage },\n showDialog,\n}) => {\n const clinicalDomainId = destination.request.clinicalDomain\n ? destination.request.clinicalDomain.id\n : null;\n\n const preferredDestinationDepartmentId = destination.request.preferredDestinationDepartment\n ? destination.request.preferredDestinationDepartment.id\n : null;\n\n const onFormsySubmit = async (data) => {\n const destinationId = destination.id;\n const proposedReporterId = data.destinations[destinationId].proposedReporterId;\n\n await reassignProposedReporter({\n case: cas,\n data: {\n destinationId,\n proposedReporterId,\n },\n viewer: viewer,\n });\n };\n\n const onFormsySuccess = () => {\n onSuccess();\n showDialog(formatMessage(messages.successNotification), \"accept\");\n };\n\n const handleCancel = () => {\n onCancel();\n };\n\n const { formsyProps, errors, isSubmitting } = useFormsySubmit({\n onSubmit: onFormsySubmit,\n onSuccess: onFormsySuccess,\n });\n\n return (\n }\n actions={(cancel) => {\n return (\n \n \n formsyProps.ref.current.submit()}\n loading={isSubmitting}>\n \n \n \n );\n }}>\n \n

\n \n

\n\n \n\n \n
\n \n );\n};\n\nReassignProposedReporterDialog.propTypes = {\n viewer: ViewerPropTypes,\n case: CasePropTypes,\n destination: PropTypes.object,\n visible: PropTypes.bool.isRequired,\n onCancel: PropTypes.func,\n onSuccess: PropTypes.func,\n intl: intlShape,\n showDialog: PropTypes.func,\n};\n\nconst mapStateToProps = () => ({});\n\nconst mapDispatchToProps = {\n showDialog: showDialogNotice,\n};\n\nexport default Relay.createContainer(\n connect(mapStateToProps, mapDispatchToProps)(injectIntl(ReassignProposedReporterDialog)),\n {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${DepartmentReportersDropdown.getFragment(\"viewer\")}\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n id\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n ${DepartmentReportersDropdown.getFragment(\"destination\")}\n id\n request {\n clinicalDomain {\n id\n }\n preferredDestinationDepartment {\n id\n }\n }\n }\n `,\n },\n }\n);\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\n\nimport { SelectInput } from \"~/src/js/components/shared/inputs/index\";\nimport { VideoConferenceCurrentsUserPropTypes } from \"~/src/js/PropTypes/VideoConference/index\";\n\nexport const UserVideoProvidersDropdown = ({\n name,\n required,\n currentUser,\n caseDepartmentLegacyId,\n relay,\n ...props\n}) => {\n const { providers } = currentUser;\n\n useEffect(() => {\n relay.setVariables({ departmentId: caseDepartmentLegacyId });\n }, []);\n\n const options = providers.map((provider) => {\n return {\n value: provider.id,\n label: `${provider.providerName} | ${provider.emailAccount}`,\n };\n });\n\n const defaultOptions = options[0] ? options[0].value : \"\";\n\n return (\n \n );\n};\n\nUserVideoProvidersDropdown.defaultProps = {\n required: false,\n};\n\nUserVideoProvidersDropdown.propTypes = {\n required: PropTypes.bool,\n currentUser: VideoConferenceCurrentsUserPropTypes,\n name: PropTypes.string.isRequired,\n caseDepartmentLegacyId: PropTypes.number,\n};\n\nexport default Relay.createContainer(UserVideoProvidersDropdown, {\n initialVariables: {\n departmentId: null,\n },\n fragments: {\n currentUser: () => Relay.QL`\n fragment on VideoConferenceCurrentUser {\n providers(departmentId: $departmentId) {\n id\n providerName\n emailAccount\n licenseType\n }\n }\n `,\n },\n});\n","export const messages = {\n values: {\n min15: {\n id: \"videoConference.form.values.appointmentDuration.15min\",\n description: \"Appointment duration of 15 minutes value\",\n },\n min30: {\n id: \"videoConference.form.values.appointmentDuration.30min\",\n description: \"Appointment duration of 30 minutes value\",\n },\n min45: {\n id: \"videoConference.form.values.appointmentDuration.45min\",\n description: \"Appointment duration of 45 minutes value\",\n },\n min60: {\n id: \"videoConference.form.values.appointmentDuration.60min\",\n description: \"Appointment duration of 60 minutes value\",\n },\n },\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl, intlShape } from \"react-intl\";\n\nimport { SelectInput } from \"~/src/js/components/shared/inputs/index\";\n\nimport { messages } from \"./AppointmentDurationDropdown.i18n\";\n\nexport const AppointmentDurationDropdown = ({\n name,\n required,\n intl: { formatMessage },\n ...props\n}) => {\n const options = [\n {\n value: \"15\",\n label: formatMessage(messages.values.min15),\n },\n {\n value: \"30\",\n label: formatMessage(messages.values.min30),\n },\n {\n value: \"45\",\n label: formatMessage(messages.values.min45),\n },\n {\n value: \"60\",\n label: formatMessage(messages.values.min60),\n },\n ];\n\n return (\n \n );\n};\n\nAppointmentDurationDropdown.propTypes = {\n required: PropTypes.bool,\n name: PropTypes.string.isRequired,\n intl: intlShape,\n};\n\nexport default injectIntl(AppointmentDurationDropdown);\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class ScheduleVideoConferenceMeetingMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(ScheduleVideoConferenceMeetingMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { scheduleVideoConferenceMeeting }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n providerId: this.props.providerId,\n topic: this.props.topic,\n description: this.props.description,\n scheduledDate: this.props.scheduledDate,\n duration: this.props.duration,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ScheduleVideoConferenceMeetingPayload {\n case {\n id\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on ScheduleVideoConferenceMeetingPayload {\n case {\n videoConferenceMeetings {\n id\n meetingId\n provider {\n id\n }\n scheduledDate\n scheduledDurationMinutes\n externalId\n topic\n description\n joinUrl\n startUrl\n actualStartDate\n actualDuration\n participants {\n userName\n email\n }\n status {\n code\n name\n }\n }\n }\n }\n `,\n ],\n },\n ];\n }\n}\n\nexport const scheduleVideoConferenceMeeting = ({\n caseId,\n providerId,\n topic,\n description,\n scheduledDate,\n duration,\n}) => {\n const params = {\n caseId,\n providerId,\n topic,\n description,\n scheduledDate,\n duration,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new ScheduleVideoConferenceMeetingMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","export const messages = {\n titles: {\n noProvider: {\n id: \"videoConference.providers.titles.connected\",\n description: \"No providers installed message\",\n },\n },\n form: {\n labels: {\n provider: {\n id: \"videoConference.form.labels.provider\",\n description: \"Provider label\",\n },\n appointmentDate: {\n id: \"videoConference.form.labels.appointmentDate\",\n description: \"Appointment date label\",\n },\n appointmentTime: {\n id: \"videoConference.form.labels.appointmentTime\",\n description: \"Appointment time label\",\n },\n appointmentDuration: {\n id: \"videoConference.form.labels.appointmentDuration\",\n description: \"Appointment duration label\",\n },\n appointmentTopic: {\n id: \"videoConference.form.labels.appointmentTopic\",\n description: \"Appointment topic label\",\n },\n appointmentDescription: {\n id: \"videoConference.form.labels.appointmentDescription\",\n description: \"Appointment description label\",\n },\n pleaseInstalledAProvider: {\n id: \"videoConference.actions.pleaseInstalledAProvider\",\n description: \"Please installed a provider message\",\n },\n },\n },\n feedback: {\n success: {\n appointmentScheduled: {\n id: \"videoConference.feedback.success.appointmentScheduled\",\n description: \"Notification success text when appointment created with success\",\n },\n },\n },\n actions: {\n scheduleVideoConference: {\n id: \"videoConference.actions.scheduleVideoConference\",\n description: \"Schedule a videoconference action\",\n },\n goToInstallProvidersPage: {\n id: \"videoConference.actions.goToInstallProvidersPage\",\n description: \"Go to install providers page\",\n },\n },\n};\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport { Button, ButtonGroup, Modal } from \"@akinoxsolutions/gerudo-ui\";\nimport Formsy from \"formsy-react\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter } from \"react-router\";\n\nimport { useFormsySubmit } from \"~/src/js/hooks/index\";\nimport {\n DatePicker,\n TimePicker,\n GerudoTextInput,\n TextArea,\n DatePickerSizes,\n} from \"~/src/js/components/shared/inputs/index\";\nimport { formatDateAndTimeToDate } from \"~/src/js/components/shared/inputs/DateTime/index\";\nimport baseMessages from \"~/src/messages/base.i18n\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer/index\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport { CasePropTypes } from \"~/src/js/PropTypes/Case/index\";\nimport { VideoConferencePropTypes } from \"~/src/js/PropTypes/VideoConference/index\";\n\nimport { UserVideoProvidersDropdown } from \"../Inputs/UserVideoProvidersDropdown/index\";\nimport { AppointmentDurationDropdown } from \"../Inputs/AppointmentDurationDropdown/index\";\nimport { scheduleVideoConferenceMeeting } from \"../mutations/ScheduleVideoConferenceMeetingMutation\";\n\nimport { messages } from \"./ScheduleVideoConferenceDialog.i18n\";\nimport styles from \"./ScheduleVideoConferenceDialog.style\";\n\nexport const ScheduleVideoConferenceDialog = ({\n case: cas,\n videoConference,\n visible,\n onCancel,\n showNotification,\n intl: { formatMessage },\n router,\n relay,\n destinationDepartmentLegacyId,\n children,\n}) => {\n const {\n currentUser: { providers },\n } = videoConference;\n\n useEffect(() => {\n relay.setVariables({ departmentId: destinationDepartmentLegacyId });\n }, []);\n\n const showForm = providers && providers.length !== 0;\n const onSubmitFormsy = async (data) => {\n const appointmentDateTime = formatDateAndTimeToDate(data.appointmentTime, data.appointmentDate);\n\n await scheduleVideoConferenceMeeting({\n caseId: cas.id,\n providerId: data.userVideoProvider,\n topic: data.appointmentTopic,\n description: data.appointmentDescription,\n scheduledDate: appointmentDateTime.toISOString(),\n duration: data.appointmentDuration,\n });\n };\n\n const onSuccess = () => {\n showNotification(formatMessage(messages.feedback.success.appointmentScheduled), \"accept\");\n onCancel();\n };\n\n const { formsyProps, errors, isSubmitting, setErrors } = useFormsySubmit({\n onSubmit: onSubmitFormsy,\n onSuccess: onSuccess,\n });\n\n const cancel = () => {\n setErrors([]);\n onCancel();\n };\n\n const actions = () => {\n return (\n \n \n {showForm && (\n \n )}\n \n );\n };\n return (\n }\n visible={visible}\n closable\n destroyOnClose\n zIndex={501}\n width={\"100rem\"}\n actions={actions}\n onCancel={cancel}>\n {showForm && (\n \n
\n \n\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n\n \n\n \n\n {children}\n
\n
\n )}\n\n {!showForm && (\n
\n \n .{\" \"}\n \n \n router.push(\"/account/settings\")}>\n \n \n
\n )}\n\n \n \n );\n};\n\nScheduleVideoConferenceDialog.propTypes = {\n case: CasePropTypes,\n videoConference: VideoConferencePropTypes,\n visible: PropTypes.bool,\n onCancel: PropTypes.func,\n intl: intlShape,\n router: PropTypes.object,\n showNotification: PropTypes.func,\n destinationDepartmentLegacyId: PropTypes.string,\n};\n\nconst mapStateToProps = () => ({});\nconst mapDispatchToProps = {\n showNotification: showDialogNotice,\n};\n\nexport default Relay.createContainer(\n connect(\n mapStateToProps,\n mapDispatchToProps\n )(withRouter(injectIntl(ScheduleVideoConferenceDialog))),\n {\n initialVariables: {\n departmentId: null,\n },\n fragments: {\n currentUser: () => Relay.QL`\n fragment on CurrentUser {\n user {\n userName\n }\n }\n `,\n videoConference: () => Relay.QL`\n fragment on VideoConference {\n currentUser {\n ${UserVideoProvidersDropdown.getFragment(\"currentUser\")}\n\n providers(departmentId: $departmentId) {\n id\n providerName\n emailAccount\n licenseType\n }\n }\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n id\n }\n `,\n },\n }\n);\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n answerEnquiry: {\n id: \"genericRequest.answerEnquiry\",\n description: \"Answer Enquiry button label\",\n defaultMessage: \"Answer enquiry\",\n },\n assignedTo: {\n id: \"genericRequest.assignedTo\",\n description: \"Assigned to reporter label\",\n defaultMessage: \"Assigned to {owner}\",\n },\n cancel: {\n id: \"global.cancel\",\n description: \"Generic cancel label\",\n defaultMessage: \"Cancel\",\n },\n conclusion: {\n id: \"genericRequest.conclusion\",\n description: \"Conclusion label\",\n defaultMessage: \"Conclusion\",\n },\n delete: {\n id: \"global.delete\",\n description: \"Generic delete label\",\n defaultMessage: \"Delete\",\n },\n deleteDestination: {\n id: \"genericRequest.deleteDestination\",\n description: \"Dialog title\",\n defaultMessage: \"Delete destination\",\n },\n deleteReason: {\n id: \"genericRequest.deleteReason\",\n description: \"Delete reason input label\",\n defaultMessage: \"Reason\",\n },\n deleteText: {\n id: \"genericRequest.deleteText\",\n description: \"Dialog text\",\n defaultMessage: \"Are you sure you want to delete this destination?\",\n },\n diagnosis: {\n id: \"genericRequest.diagnosis\",\n description: \"Diagnosis label\",\n defaultMessage: \"Diagnosis\",\n },\n dispatch: {\n id: \"genericRequest.dispatch\",\n description: \"Dispatch button label\",\n defaultMessage: \"Dispatch\",\n },\n forwardDispatch: {\n id: \"genericRequest.forwardDispatch\",\n description: \"Forward dispatch button label\",\n defaultMessage: \"Forward dispatch\",\n },\n fillReport: {\n id: \"genericRequest.fillReport\",\n description: \"Fill Report\",\n defaultMessage: \"Fill report\",\n },\n fillAmendedReport: {\n id: \"genericRequest.fillAmendedReport\",\n description: \"Amend Report\",\n defaultMessage: \"Amend report\",\n },\n instruction: {\n id: \"genericRequest.instruction\",\n description: \"Request reassignment legend\",\n defaultMessage:\n \"If you think someone else would be more appropriate to answer the issue, please specify why.\",\n },\n reassignmentReason: {\n id: \"genericRequest.reassignmentReason\",\n description: \"Reassignment reason label\",\n defaultMessage: \"Reason for reassignement\",\n },\n reassignmentRequested: {\n id: \"genericRequest.reassignmentRequested\",\n description: \"Reassignment requested\",\n defaultMessage: \"{isSelf, plural, one {You} other {{name}}} requested a reassignment\",\n },\n redispatch: {\n id: \"genericRequest.redispatch\",\n description: \"Re-Dispatch button label\",\n defaultMessage: \"Redispatch\",\n },\n report: {\n id: \"genericRequest.report\",\n description: \"Fill report title\",\n defaultMessage: \"Report {date}\",\n },\n reportAcceptedOn: {\n id: \"genericRequest.reportAcceptedOn\",\n description: \"Report accepted on\",\n defaultMessage: \"Accepted on {date}\",\n },\n reportClarificationRequested: {\n id: \"genericRequest.reportClarificationRequested\",\n description: \"Text for the destination header when a report clarification is requested\",\n defaultMessage: \"{name} asked for additional information concerning the report\",\n },\n reportClarificationsTitle: {\n id: \"genericRequest.reportClarificationsTitle\",\n description: \"Title for a destination's clarifications section\",\n defaultMessage: \"Clarification asked about the report\",\n },\n reporter: {\n id: \"genericRequest.reporter\",\n description: \"Reporter label\",\n defaultMessage: \"Reporter\",\n },\n requestReportClarification: {\n id: \"genericRequest.requestReportClarification\",\n description: \"Request report clarification information\",\n defaultMessage: \"Request clarification\",\n },\n scheduleVideoconference: {\n id: \"genericRequest.scheduleVideoconference\",\n description: \"Schedule Videoconference\",\n defaultMessage: \"Schedule Videoconference\",\n },\n acceptReport: {\n id: \"genericRequest.acceptReport\",\n description: \"Accept the report\",\n defaultMessage: \"Accept report\",\n },\n transferRequest: {\n id: \"genericRequest.transferRequest\",\n description: \"Transfer the request\",\n },\n requestReassignment: {\n id: \"genericRequest.requestReassignment\",\n description: \"Request reassignment\",\n defaultMessage: \"Request reassignment\",\n },\n saveAsDraft: {\n id: \"genericRequest.saveAsDraft\",\n description: \"Save as draft button label\",\n defaultMessage: \"Save as draft\",\n },\n sendFinalReport: {\n id: \"genericRequest.sendFinalReport\",\n description: \"Send final report button label\",\n defaultMessage: \"Send as final report\",\n },\n sendPreliminaryReport: {\n id: \"genericRequest.sendPreliminaryReport\",\n description: \"Send preliminary report button label\",\n defaultMessage: \"Send as preliminary report\",\n },\n sendAmendedReport: {\n id: \"genericRequest.sendAmendedReport\",\n description: \"Send amended report button label\",\n defaultMessage: \"Send amended report\",\n },\n takeCharge: {\n id: \"genericRequest.takeCharge\",\n description: \"Take charge button\",\n defaultMessage: \"Take charge\",\n },\n takeChargeBack: {\n id: \"genericRequest.takeChargeBack\",\n description: \"Take charge back button\",\n defaultMessage: \"Take charge back\",\n },\n tookChargeByCurrentUser: {\n id: \"genericRequest.tookChargeByCurrentUser\",\n description: \"Took charge banner for a destination (Current user is the owner who took charge)\",\n defaultMessage: \"You took charge of the request on {date}\",\n },\n tookChargeByOtherUser: {\n id: \"genericRequest.tookChargeByOtherUser\",\n description: \"Took charge banner for a destination (Another user is the owner who took charge)\",\n defaultMessage: \"{owner} took charge of the request on {date}\",\n },\n text: {\n id: \"genericRequest.clinicalNotes\",\n description: \"Clinical notes\",\n defaultMessage: \"Clinical notes\",\n },\n ramqCodes: {\n id: \"genericRequest.ramqCodes\",\n description: \"RAMQ Codes label\",\n defaultMessage: \"RAMQ Codes\",\n },\n updated: {\n id: \"genericRequest.updated\",\n description: \"Updated label\",\n defaultMessage: \"Updated\",\n },\n DEFERREDTIME: {\n id: \"genericRequest.deferredTime\",\n description: \"Modality deferred time label\",\n defaultMessage: \"Deferred time\",\n },\n VIDEOWITHOUTPATIENT: {\n id: \"genericRequest.videoWithoutPatient\",\n description: \"Modality video without patient label\",\n defaultMessage: \"Teleconsultation without patient (video)\",\n },\n VIDEOWITHPATIENT: {\n id: \"genericRequest.videoWithPatient\",\n description: \"Modality video with patient label\",\n defaultMessage: \"Teleconsultation with patient (video)\",\n },\n signedBy: {\n id: \"signature.signedBy\",\n description: \"User that signed the document\",\n defaultMessage: \"Signed by\",\n },\n licenseNumber: {\n id: \"signature.licenseNumber\",\n description: \"License number of the user that signed the document\",\n defaultMessage: \"License number\",\n },\n signedOn: {\n id: \"signature.signedOn\",\n description: \"Time the document was signed on.\",\n defaultMessage: \"Date & time of signature\",\n },\n sendToEMR: {\n id: \"patient.communication.complete.sendToEMR\",\n description: \"Send report to ECR label\",\n },\n preliminaryReportAlertTitle: {\n id: \"genericRequest.alert.preliminaryReport.title\",\n description: \"Preliminary report alert title\",\n },\n preliminaryReportAlertDescription: {\n id: \"genericRequest.alert.preliminaryReport.description\",\n description: \"Preliminary report alert description\",\n },\n preliminaryReportAlertDescriptionWithFurtherReports: {\n id: \"genericRequest.alert.preliminaryReport.descriptionWithFurtherReports\",\n description: \"Preliminary report alert description\",\n },\n videoConferenceRequestedByCurrentUser: {\n id: \"genericRequest.videoconference.requestedByCurrentUser\",\n description: \"requester videoconference without patient message\",\n },\n videoConferenceWithPatientRequestedByCurrentUser: {\n id: \"genericRequest.videoconference.withPatientRequestedByCurrentUser\",\n description: \"requester videoconference with patient message\",\n },\n videoConferenceRequestedByRequester: {\n id: \"genericRequest.videoconference.requestedByRequester\",\n description: \"reporter videoconference without patient message\",\n },\n videoConferenceWithPatientRequester: {\n id: \"genericRequest.videoconference.withPatientRequester\",\n description: \"reporter videoconference without patient message\",\n },\n});\n","import { Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\nimport classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React, { useRef, useState } from \"react\";\nimport { intlShape, injectIntl } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\n\nimport formStyle from \"../../../../../styles/forms\";\nimport { handleFormsyInvalidSubmit } from \"../../../../helpers/errors\";\nimport { TextInput } from \"../../../common\";\nimport ErrorCard from \"../../../shared/errorCard\";\nimport { onRequestAdditionalInformation, onRequestReportClarification } from \"../mutations\";\n\nimport styles from \"./style\";\n\nimport { messages as destinationMessages } from \"../destinationReadOnly/i18n\";\nimport { messages } from \"./i18n\";\n\nexport const Request = ({\n case: cas,\n destination,\n intl: { formatMessage },\n onCancel,\n onSuccess,\n reportClarification,\n viewer,\n}) => {\n const formRef = useRef(null);\n const [files, setFiles] = useState([]);\n const [submitting, setSubmitting] = useState(false);\n const [errors, setErrors] = useState([]);\n const [isUploading, setIsUploading] = useState(false);\n const handleCancel = () => onCancel();\n\n const handleRequest = (data) => {\n setSubmitting(true);\n const reportMutation = reportClarification\n ? onRequestReportClarification(\n cas,\n destination,\n data,\n files.map((file) => file.id),\n viewer\n )\n : onRequestAdditionalInformation(\n cas,\n destination,\n data,\n files.map((file) => file.id),\n viewer\n );\n reportMutation\n .then((r) => {\n setSubmitting(false);\n onSuccess(r);\n })\n .catch((errors) => {\n setSubmitting(false);\n setErrors(errors);\n });\n };\n const handleInvalidRequest = () => handleFormsyInvalidSubmit(formRef.current);\n\n return (\n \n

\n {formatMessage(\n reportClarification\n ? destinationMessages.requestReportClarification\n : messages.requestAdditionalInformation\n )}\n

\n\n
\n \n
\n\n \n\n
\n \n \n {formatMessage(messages.sendEnquiry)}\n \n \n {formatMessage(messages.cancel)}\n \n \n
\n {errors && errors.length > 0 && }\n \n );\n};\n\nRequest.propTypes = {\n case: CasePropTypes,\n destination: PropTypes.object,\n intl: intlShape,\n onCancel: PropTypes.func,\n onSuccess: PropTypes.func,\n reportClarification: PropTypes.bool,\n viewer: ViewerPropTypes,\n};\n\nexport default Relay.createContainer(injectIntl(Request), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${AttachmentUploadAndList.getFragment(\"viewer\")}\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n id\n patient {\n demographic {\n gender\n }\n }\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n id\n }\n `,\n request: () => Relay.QL`\n fragment on GenericCaseDestinationAdditionalInformationRequest {\n id\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class DispatchGenericConversationConsultCaseDestinationMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(\n DispatchGenericConversationConsultCaseDestinationMutation,\n name\n );\n }\n\n getMutation() {\n return Relay.QL`mutation { dispatchGenericConversationConsultCaseDestination }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n clinicalDomainId: this.props.clinicalDomainId,\n priorityId: this.props.priorityId,\n departmentId: this.props.departmentId,\n reason: this.props.reason,\n proposedReporterId: this.props.proposedReporterId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on DispatchGenericConversationConsultCaseDestinationPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n status\n data {\n ... on ConversationConsultData {\n permissions\n toDepartment\n history\n extraData\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n}\n\nexport const dispatchDestination = ({ case: cas, data, viewer }) => {\n const params = {\n viewer: viewer,\n case: cas,\n caseId: cas.id,\n destinationId: data.destinationId,\n clinicalDomainId: data.clinicalDomainId,\n priorityId: data.priorityId,\n departmentId: data.departmentId,\n reason: data.reason,\n proposedReporterId: data.proposedReporterId,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(\n new DispatchGenericConversationConsultCaseDestinationMutation(params),\n {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n }\n );\n });\n};\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n dispatchTitle: {\n id: \"genericRequest.dialog.dispatchDestination.title\",\n description: \"Title of dispatch destination dialog\",\n defaultMessage: \"Dispatch destination to department\",\n },\n dispatchSuccessNotification: {\n id: \"genericRequest.dialog.dispatchDestination.successNotification\",\n description: \"Success notification of dispatch destination dialog\",\n defaultMessage: \"Destination successfully dispatched\",\n },\n redispatchTitle: {\n id: \"genericRequest.dialog.redispatchDestination.title\",\n description: \"Title of redispatch destination dialog\",\n defaultMessage: \"Dispatch destination to another department\",\n },\n redispatchSuccessNotification: {\n id: \"genericRequest.dialog.redispatchDestination.successNotification\",\n description: \"Success notification of redispatch destination dialog\",\n defaultMessage: \"Destination successfully dispatched to another department\",\n },\n clinicalDomainLabel: {\n id: \"genericRequest.speciality\",\n description: \"Clinical Domain form field label\",\n defaultMessage: \"Speciality\",\n },\n departmentLabel: {\n id: \"genericRequest.department\",\n description: \"Department form field label\",\n defaultMessage: \"Destination department\",\n },\n reasonLabel: {\n id: \"genericRequest.dialog.dispatchDestination.reasonLabel\",\n description: \"Reason form field label\",\n defaultMessage: \"Reason\",\n },\n dispatchReasonHint: {\n id: \"genericRequest.dialog.dispatchDestination.reasonHint\",\n description: \"Reason field hint text\",\n defaultMessage: \"Specify why you are assigning the request to this department\",\n },\n});\n","import { Modal, ButtonGroup, Button } from \"@akinoxsolutions/gerudo-ui\";\nimport PropTypes from \"prop-types\";\nimport React, { useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport Formsy from \"formsy-react\";\nimport { intlShape, injectIntl, FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { useFormsySubmit } from \"~/src/js/hooks\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport TextInput from \"~/src/js/components/shared/inputs/textInput\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\n\nimport { dispatchDestination } from \"../mutations/dispatchDestinationMutation\";\nimport { ClinicalDomainDropdown } from \"../ClinicalDomainDropdown\";\nimport { PriorityDropdown } from \"../PriorityDropdown\";\nimport { DepartmentDropdown } from \"../DepartmentDropdown\";\nimport { DepartmentReportersDropdown } from \"../DepartmentReportersDropdown\";\n\nimport { messages } from \"./DispatchDestinationDialog.i18n\";\n\nexport const DispatchDestinationDialog = ({\n visible,\n case: cas,\n destination,\n viewer,\n onCancel,\n onSuccess,\n intl: { formatMessage },\n showDialog,\n}) => {\n const {\n canDispatch,\n canRedispatch,\n canUpdateClinicalDomain,\n canProposeReporter,\n } = destination.permissions;\n\n const [clinicalDomainId, setClinicalDomainId] = useState(\n destination.request.clinicalDomain ? destination.request.clinicalDomain.id : null\n );\n const [departmentId, setDepartmentId] = useState(\n destination.request.preferredDestinationDepartment\n ? destination.request.preferredDestinationDepartment.id\n : null\n );\n\n const onClinicalDomainChange = (clinicalDomainId) => {\n setClinicalDomainId(clinicalDomainId);\n setDepartmentId(null);\n };\n\n const onFormsySubmit = async (data) => {\n const destinationId = Object.keys(data.destinations)[0];\n const priorityId = data.destinations[destinationId].priority;\n const departmentId = data.destinations[destinationId].preferredDestinationDepartment;\n const reason = data.destinations[destinationId].dispatch.reason;\n const proposedReporterId = data.destinations[destinationId].proposedReporterId;\n\n await dispatchDestination({\n case: cas,\n data: {\n clinicalDomainId,\n priorityId,\n destinationId,\n departmentId,\n reason,\n proposedReporterId,\n },\n viewer: viewer,\n });\n };\n\n const onFormsySuccess = () => {\n onSuccess();\n const notificationLabel = canDispatch\n ? messages.dispatchSuccessNotification\n : messages.redispatchSuccessNotification;\n showDialog(formatMessage(notificationLabel), \"accept\");\n formsyProps.ref.current.reset();\n };\n\n const handleCancel = () => {\n onCancel();\n formsyProps.ref.current.reset();\n };\n\n const { formsyProps, errors, isSubmitting } = useFormsySubmit({\n onSubmit: onFormsySubmit,\n onSuccess: onFormsySuccess,\n });\n\n const dialogTitle = canDispatch ? messages.dispatchTitle : messages.redispatchTitle;\n\n return (\n }\n actions={(cancel) => {\n return (\n \n \n formsyProps.ref.current.submit()}\n loading={isSubmitting}>\n \n \n \n );\n }}>\n \n \n\n \n\n setDepartmentId(id)}\n />\n\n {canProposeReporter && (\n \n )}\n\n \n \n \n \n );\n};\n\nDispatchDestinationDialog.propTypes = {\n visible: PropTypes.bool.isRequired,\n case: CasePropTypes,\n destination: PropTypes.object,\n viewer: ViewerPropTypes,\n onCancel: PropTypes.func,\n onSuccess: PropTypes.func,\n intl: intlShape,\n showDialog: PropTypes.func,\n};\n\nconst mapStateToProps = () => ({});\n\nconst mapDispatchToProps = {\n showDialog: showDialogNotice,\n};\n\nexport default Relay.createContainer(\n connect(mapStateToProps, mapDispatchToProps)(injectIntl(DispatchDestinationDialog)),\n {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n id\n }\n `,\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${ClinicalDomainDropdown.getFragment(\"viewer\")}\n ${PriorityDropdown.getFragment(\"viewer\")}\n ${DepartmentDropdown.getFragment(\"viewer\")}\n ${DepartmentReportersDropdown.getFragment(\"viewer\")}\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n ${ClinicalDomainDropdown.getFragment(\"destination\")}\n ${PriorityDropdown.getFragment(\"destination\")}\n ${DepartmentDropdown.getFragment(\"destination\")}\n ${DepartmentReportersDropdown.getFragment(\"destination\")}\n id\n request {\n clinicalDomain {\n id\n }\n preferredDestinationDepartment {\n id\n }\n }\n permissions {\n canDispatch\n canRedispatch\n canUpdateClinicalDomain\n canProposeReporter\n }\n }\n `,\n },\n }\n);\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class ForwardDispatchGenericConversationConsultCaseDestinationMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(\n ForwardDispatchGenericConversationConsultCaseDestinationMutation,\n name\n );\n }\n\n getMutation() {\n return Relay.QL`mutation { forwardDispatchGenericConversationConsultCaseDestination }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n dispatcherId: this.props.dispatcherId,\n reason: this.props.reason,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ForwardDispatchGenericConversationConsultCaseDestinationPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n status\n data {\n ... on ConversationConsultData {\n permissions\n toDepartment\n history\n extraData\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n}\n\nexport const forwardDispatchDestination = ({ case: cas, data, viewer }) => {\n const params = {\n viewer: viewer,\n case: cas,\n caseId: cas.id,\n destinationId: data.destinationId,\n dispatcherId: data.dispatcherId,\n reason: data.reason,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(\n new ForwardDispatchGenericConversationConsultCaseDestinationMutation(params),\n {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n }\n );\n });\n};\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n dispatcher: {\n id: \"genericRequest.dispatcher\",\n description: \"Dispatcher\",\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport uniqBy from \"lodash/uniqBy\";\nimport flatMap from \"lodash/flatMap\";\n\nimport { Dropdown } from \"~/src/js/components/common\";\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case/index\";\n\nimport { messages } from \"./DispatcherDropdown.i18n\";\n\nexport const getDispatcherOptions = (clinicalDomains, clinicalDomainId, departmentId) => {\n const clinicalDomain = clinicalDomainId\n ? clinicalDomains.edges.find((x) => x.node.id === clinicalDomainId).node\n : clinicalDomains.edges[0].node;\n\n if (departmentId) {\n const department = clinicalDomain.departments.find((x) => x.id === departmentId);\n return getSpecialistOptions(department);\n } else {\n const allSpecialists = flatMap(clinicalDomain.departments, (department) =>\n getSpecialistOptions(department)\n );\n return uniqBy(allSpecialists, \"value\");\n }\n};\n\nconst getSpecialistOptions = (department) => {\n if (!department) return [];\n\n const specialists = department.specialists.map((s) => {\n return {\n label: s.fullName,\n value: s.id,\n };\n });\n\n return specialists;\n};\n\nexport const DispatcherDropdown = ({\n viewer,\n destination,\n departmentId,\n intl: { formatMessage },\n}) => {\n const dispatcherOptions = getDispatcherOptions(\n viewer.clinicalDomains,\n destination.request.clinicalDomain.id,\n destination.request.preferredDestinationDepartment\n ? destination.request.preferredDestinationDepartment.id\n : null,\n departmentId\n );\n\n return (\n \n );\n};\n\nDispatcherDropdown.propTypes = {\n viewer: ViewerPropTypes,\n destination: PropTypes.object,\n departmentId: PropTypes.string,\n intl: intlShape,\n};\n\nDispatcherDropdown.defaultProps = {\n isDispatching: false,\n};\n\nexport default Relay.createContainer(injectIntl(DispatcherDropdown), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n clinicalDomains(first: 500, specialistType: DISPATCHER, formId: 17) {\n edges {\n node {\n id\n departments {\n id\n specialists {\n id\n fullName\n }\n }\n }\n }\n }\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n id\n request {\n clinicalDomain {\n id\n }\n preferredDestinationDepartment {\n id\n }\n dispatcher {\n id\n }\n }\n }\n `,\n },\n});\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n title: {\n id: \"genericRequest.dialog.forwardDispatchDestination.title\",\n description: \"Title of forward dispatch destination dialog\",\n },\n details: {\n id: \"genericRequest.dialog.forwardDispatchDestination.details\",\n description: \"Details of forward dispatch destination dialog\",\n },\n successNotification: {\n id: \"genericRequest.dialog.forwardDispatchDestination.successNotification\",\n description: \"Success notification of forward dispatch destination dialog\",\n },\n saveButton: {\n id: \"genericRequest.dialog.forwardDispatchDestination.saveButton\",\n description: \"Save button of forward dispatch destination dialog\",\n },\n reasonLabel: {\n id: \"genericRequest.dialog.forwardDispatchDestination.reasonLabel\",\n description: \"Reason label of forward dispatch destination dialog\",\n },\n});\n","import { Modal, ButtonGroup, Button } from \"@akinoxsolutions/gerudo-ui\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { connect } from \"react-redux\";\nimport Formsy from \"formsy-react\";\nimport { intlShape, injectIntl, FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { useFormsySubmit } from \"~/src/js/hooks\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport TextInput from \"~/src/js/components/shared/inputs/textInput\";\n\nimport { forwardDispatchDestination } from \"../mutations/forwardDispatchDestinationMutation\";\nimport { DispatcherDropdown } from \"../DispatcherDropdown\";\n\nimport { messages } from \"./ForwardDispatchDestinationDialog.i18n\";\n\nexport const ForwardDispatchDestinationDialog = ({\n viewer,\n case: cas,\n destination,\n visible,\n onCancel,\n onSuccess,\n intl: { formatMessage },\n showDialog,\n}) => {\n const onFormsySubmit = async (data) => {\n const destinationId = Object.keys(data.destinations)[0];\n const dispatcherId = data.destinations[destinationId].dispatcherId;\n const reason = data.destinations[destinationId].reason;\n\n await forwardDispatchDestination({\n case: cas,\n data: {\n destinationId,\n dispatcherId,\n reason,\n },\n viewer: viewer,\n });\n };\n\n const onFormsySuccess = () => {\n onSuccess();\n showDialog(formatMessage(messages.successNotification), \"accept\");\n };\n\n const handleCancel = () => {\n onCancel();\n };\n\n const { formsyProps, errors, isSubmitting } = useFormsySubmit({\n onSubmit: onFormsySubmit,\n onSuccess: onFormsySuccess,\n });\n\n return (\n }\n actions={(cancel) => {\n return (\n \n \n formsyProps.ref.current.submit()}\n loading={isSubmitting}>\n \n \n \n );\n }}>\n \n

\n \n

\n\n \n\n \n\n \n
\n \n );\n};\n\nForwardDispatchDestinationDialog.propTypes = {\n visible: PropTypes.bool.isRequired,\n case: CasePropTypes,\n destination: PropTypes.object,\n viewer: ViewerPropTypes,\n onCancel: PropTypes.func,\n onSuccess: PropTypes.func,\n intl: intlShape,\n showDialog: PropTypes.func,\n};\n\nconst mapStateToProps = () => ({});\n\nconst mapDispatchToProps = {\n showDialog: showDialogNotice,\n};\n\nexport default Relay.createContainer(\n connect(mapStateToProps, mapDispatchToProps)(injectIntl(ForwardDispatchDestinationDialog)),\n {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${DispatcherDropdown.getFragment(\"viewer\")}\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n id\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n ${DispatcherDropdown.getFragment(\"destination\")}\n id\n request {\n clinicalDomain {\n id\n }\n preferredDestinationDepartment {\n id\n }\n }\n }\n `,\n },\n }\n);\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class TakeChargeOfGenericConversationConsultCaseDestination extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(\n TakeChargeOfGenericConversationConsultCaseDestination,\n name\n );\n }\n\n getMutation() {\n return Relay.QL`mutation { takeChargeOfGenericConversationConsultCaseDestination }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on TakeChargeOfGenericConversationConsultCaseDestinationPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n status\n data {\n ... on ConversationConsultData {\n permissions\n history\n extraData\n toDepartment {\n legacyId\n }\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n}\n\nexport const takeChargeOfDestination = ({ case: cas, data, viewer }) => {\n const params = {\n viewer: viewer,\n case: cas,\n caseId: cas.id,\n destinationId: data.destinationId,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new TakeChargeOfGenericConversationConsultCaseDestination(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n title: {\n id: \"genericRequest.dialog.takeChargeOfDestination.title\",\n description: \"Title of take charge of destination dialog\",\n defaultMessage: \"Taking charge of the request\",\n },\n details: {\n id: \"genericRequest.dialog.takeChargeOfDestination.details\",\n description: \"Modal details for take charge of destination dialog\",\n defaultMessage:\n \"By clicking Accept, I confirm that the medical information provided is complete as indicated and adequate to offer A CLINICAL CONSULTATION.

I agree to adhere to and comply with applicable laws regarding protection of personal and confidential information.\",\n },\n accept: {\n id: \"genericRequest.dialog.takeChargeOfDestination.accept\",\n description: \"Accept button for take charge of destination dialog\",\n defaultMessage: \"Accept\",\n },\n successNotification: {\n id: \"genericRequest.dialog.takeChargeOfDestination.successNotification\",\n description: \"Notification for the success of take charge of destination dialog\",\n defaultMessage: \"You are now in charge of the destination\",\n },\n});\n","import { Modal, ButtonGroup, Button } from \"@akinoxsolutions/gerudo-ui\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { connect } from \"react-redux\";\nimport Formsy from \"formsy-react\";\nimport { intlShape, injectIntl, FormattedMessage, FormattedHTMLMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { useFormsySubmit } from \"~/src/js/hooks\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { PersonInformation } from \"~/src/js/components/shared/PersonInformation\";\n\nimport { takeChargeOfDestination } from \"../mutations/takeChargeOfDestinationMutation\";\n\nimport { messages } from \"./TakeChargeOfDestinationDialog.i18n\";\n\nexport const TakeChargeOfDestinationDialog = ({\n visible,\n case: cas,\n destination,\n viewer,\n onCancel,\n onSuccess,\n intl: { formatMessage },\n showDialog,\n}) => {\n const onFormsySubmit = async () => {\n const destinationId = destination.id;\n\n await takeChargeOfDestination({\n case: cas,\n data: {\n destinationId,\n },\n viewer: viewer,\n });\n };\n\n const onFormsySuccess = () => {\n showDialog(formatMessage(messages.successNotification), \"accept\");\n formsyProps.ref.current.reset();\n onSuccess();\n };\n\n const handleCancel = () => {\n formsyProps.ref.current.reset();\n onCancel();\n };\n\n const { formsyProps, errors, isSubmitting } = useFormsySubmit({\n onSubmit: onFormsySubmit,\n onSuccess: onFormsySuccess,\n });\n\n return (\n }\n actions={(cancel) => {\n return (\n \n \n formsyProps.ref.current.submit()}\n loading={isSubmitting}>\n \n \n \n );\n }}>\n \n {}\n \n \n \n );\n};\n\nTakeChargeOfDestinationDialog.propTypes = {\n visible: PropTypes.bool.isRequired,\n case: CasePropTypes,\n destination: PropTypes.object,\n viewer: ViewerPropTypes,\n onCancel: PropTypes.func,\n onSuccess: PropTypes.func,\n intl: intlShape,\n showDialog: PropTypes.func,\n};\n\nconst mapStateToProps = () => ({});\n\nconst mapDispatchToProps = {\n showDialog: showDialogNotice,\n};\n\nexport default Relay.createContainer(\n connect(mapStateToProps, mapDispatchToProps)(injectIntl(TakeChargeOfDestinationDialog)),\n {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n id\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n id\n reporter {\n ${PersonInformation.getFragment(\"person\")}\n }\n }\n `,\n },\n }\n);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages, FormattedMessage } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\n\nimport ConfirmDialog from \"~/src/js/components/shared/ConfirmDialog/ConfirmDialog\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport { StatusCodes } from \"~/src/js/PropTypes/Status/StatusCodes\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\n\nimport { onDestinationClosed } from \"../mutations\";\n\nexport const messages = defineMessages({\n closeDestinationTitle: {\n id: \"genericRequest.closeDestinationTitle\",\n description: \"Close Destination Title\",\n defaultMessage: \"Close the destination '{destinationLabel}' for case #{caseId}\",\n },\n caseDestinationClosed: {\n id: \"genericRequest.destinationClosed\",\n description: \"Notification to announce successful case destination close\",\n defaultMessage: \"Destination closed successfully\",\n },\n closingDestinationPrompt: {\n id: \"genericRequest.closingDestinationPrompt\",\n description: \"Prompt to ensure user wants to close this case's destination\",\n defaultMessage:\n \"Are you sure you want to accept the report and close the destination '{destinationLabel}' for case #{caseId}?\",\n },\n closingLastDestinationWillCloseRequest: {\n id: \"genericRequest.closingLastDestinationWillCloseRequest\",\n description: \"Display when closing the last destination\",\n defaultMessage: \"Accepting this report will close the request\",\n },\n sendToEMR: {\n id: \"patient.communication.complete.sendToEMR\",\n description: \"Send report to ECR label\",\n },\n});\n\nexport const CloseDestinationDialog = ({\n viewer,\n case: cas,\n destination,\n onCancel,\n onSuccess,\n active,\n dispatch,\n intl: { formatMessage: t },\n}) => {\n const handleSubmit = () => {\n return onDestinationClosed({\n cas: cas,\n destination: destination,\n surveyData: {},\n viewer: viewer,\n });\n };\n\n const handleSuccess = () => {\n dispatch(showDialogNotice(t(messages.caseDestinationClosed), \"accept\"));\n if (onSuccess) {\n onSuccess();\n }\n };\n\n const destinationLabel = destination.request.clinicalDomain.name;\n const allOtherDestinationsClosed = cas.data.extraData.destinations\n .filter((x) => x.id !== destination.id)\n .every((x) => x.status.code === StatusCodes.ReportCompleted);\n\n return (\n \n )\n }\n />\n );\n};\n\nCloseDestinationDialog.propTypes = {\n viewer: ViewerPropTypes.isRequired,\n case: CasePropTypes.isRequired,\n destination: PropTypes.any.isRequired,\n onCancel: PropTypes.func,\n onSuccess: PropTypes.func,\n onError: PropTypes.func,\n active: PropTypes.bool,\n dispatch: PropTypes.func.isRequired,\n intl: intlShape,\n};\n\nexport default Relay.createContainer(connect()(injectIntl(CloseDestinationDialog)), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n id\n lookupId\n data {\n ... on ConversationConsultData {\n extraData {\n ... on GenericConversationConsultData {\n destinations {\n id\n status {\n code\n }\n }\n }\n }\n }\n }\n }`,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n id\n request {\n clinicalDomain {\n name\n }\n }\n }`,\n },\n});\n","import { Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\nimport classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React, { useState, useRef } from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport { handleFormsyInvalidSubmit, isEmpty } from \"../../../../helpers\";\nimport { TextInput } from \"../../../common\";\nimport ErrorCard from \"../../../shared/errorCard\";\nimport { onRequestRedispatch } from \"../mutations\";\n\nimport styles from \"./style\";\n\nimport { messages } from \"./i18n\";\n\nconst RedispatchRequest = ({\n case: cas,\n destination,\n intl: { formatMessage },\n onClose,\n viewer,\n}) => {\n const [reason, setReason] = useState();\n const [submitting, setSubmitting] = useState();\n const [errors, setErrors] = useState();\n const formRef = useRef(null);\n\n const handleCancel = () => onClose();\n\n const handleChange = (value) => setReason(value);\n\n const handleSubmit = (data) => {\n setErrors(null);\n setSubmitting(true);\n onRequestRedispatch(cas, destination, data, viewer)\n .then(() => {\n onClose();\n setSubmitting(false);\n })\n .catch((errors) => {\n setErrors(errors);\n setSubmitting(false);\n });\n };\n\n const handleInvalidSubmit = () => handleFormsyInvalidSubmit(formRef.current);\n\n return (\n \n

\n {formatMessage(messages.requestReassignment)}\n

\n\n \n {formatMessage(messages.instruction)}\n \n\n \n\n \n \n \n \n\n {errors && }\n \n );\n};\n\nRedispatchRequest.propTypes = {\n case: PropTypes.object,\n destination: PropTypes.object,\n intl: intlShape,\n onClose: PropTypes.func,\n viewer: PropTypes.object,\n};\n\nexport default Relay.createContainer(injectIntl(RedispatchRequest), {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n id\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n id\n }\n `,\n viewer: () => Relay.QL`\n fragment on RootQuery {\n conclusions {\n name\n id\n }\n }\n `,\n },\n});\n","import { URLs } from \"~/src/js/constants\";\nimport { getToken } from \"~/src/js/helpers/authentication\";\n\nexport default class SignatureController {\n static async validateSignature(referenceId, password) {\n const url = URLs.getUrlSignatureApiEndpoint();\n\n const body = {\n referenceId: referenceId,\n password: password,\n };\n const response = await fetchData(url, body);\n\n if (response.status !== 200) {\n throw new Error();\n }\n\n return await response.json();\n }\n}\n\nasync function fetchData(url = \"\", jsonbody = {}) {\n return fetch(url, {\n mode: \"cors\",\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n Authorization: \"Bearer \" + getToken(),\n },\n body: JSON.stringify(jsonbody),\n });\n}\n","export const signatureMessages = {\n title: {\n id: \"signature.dialog.title\",\n description: \"The title of the signature dialog\",\n },\n signatureDescription: {\n id: \"signature.dialog.description\",\n description: \"The description text of the dialog explaining why a signature is required\",\n },\n passwordLabel: {\n id: \"signature.dialog.label.password\",\n description: \"Signature password's label\",\n },\n signatureValidated: {\n id: \"signature.dialog.notification.confirmed\",\n description: \"The label in the toaster confirming the signature success\",\n },\n invalidPassword: {\n id: \"signature.dialog.validation.invalidPassword\",\n description: \"An error occured while validating the password\",\n },\n signAndSendReport: {\n id: \"signature.dialog.signAndSendReport\",\n description: \"The 'submit' button when signing\",\n },\n};\n","import Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment, useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport { CardText } from \"react-toolbox/lib/card\";\nimport { Modal, ButtonGroup, Button } from \"@akinoxsolutions/gerudo-ui\";\n\nimport formStyle from \"~/src/styles/forms\";\nimport { useFormsySubmit } from \"~/src/js/hooks\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { TextInput } from \"~/src/js/components/common\";\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\n\nimport SignatureController from \"./SignatureController\";\nimport styles from \"./Signature.style.scss\";\n\nimport { signatureMessages } from \"./Signature.i18n\";\n\nexport const submitSignatureForm = async ({ data, validateSignature, onSubmit, errorMessage }) => {\n let response;\n try {\n response = await validateSignature();\n } catch (e) {\n throw new Error(errorMessage);\n }\n\n if (onSubmit) {\n await onSubmit(data, response.token);\n }\n\n return response;\n};\n\nexport const SignatureDialog = ({\n lookupId,\n referenceId,\n active,\n onClose,\n onSubmit,\n onCompleteSuccess,\n showDialog,\n intl: { formatMessage },\n messages,\n wrapClassName,\n children,\n}) => {\n if (!lookupId) {\n throw new Error(\"lookupId is mandatory\");\n }\n\n let signatureReferenceId = lookupId;\n\n if (referenceId) {\n signatureReferenceId = `${signatureReferenceId}:${referenceId}`;\n }\n\n const onFormsySubmit = async (data) => {\n return await submitSignatureForm({\n data: data,\n errorMessage: formatMessage(messages.invalidPassword),\n onSubmit: onSubmit,\n validateSignature: async () =>\n await SignatureController.validateSignature(signatureReferenceId, data.password),\n });\n };\n\n const onFormsySuccess = (data, response) => {\n const { token } = response;\n showDialog(formatMessage(messages.signatureValidated), \"accept\");\n onCompleteSuccess(token, data);\n };\n\n const { formsyProps, errors, isSubmitting, setErrors } = useFormsySubmit({\n onSubmit: onFormsySubmit,\n onSuccess: onFormsySuccess,\n });\n\n useEffect(() => {\n if (!active) {\n setErrors([]);\n }\n }, [active]);\n\n const onCloseDialog = () => {\n setErrors([]);\n onClose();\n };\n\n const renderChildren = (children, signatureInput) => {\n if (typeof children === \"function\") {\n return children(signatureInput);\n } else {\n return (\n \n {signatureInput}\n {children}\n \n );\n }\n };\n\n const signatureInput = (\n \n {messages.signatureDescription && (\n \n \n \n )}\n \n \n );\n\n return (\n }\n onCancel={onCloseDialog}\n width={1000}\n zIndex={1000}\n actions={() => {\n return (\n \n \n formsyProps.ref.current.submit()}\n loading={isSubmitting}>\n \n \n \n );\n }}>\n \n \n {renderChildren(children, signatureInput)}\n \n \n \n \n );\n};\n\nSignatureDialog.defaultProps = {\n messages: signatureMessages,\n};\n\nSignatureDialog.propTypes = {\n lookupId: PropTypes.string.isRequired,\n referenceId: PropTypes.string,\n active: PropTypes.bool,\n intl: intlShape,\n onClose: PropTypes.func,\n onSubmit: PropTypes.func,\n onCompleteSuccess: PropTypes.func,\n showDialog: PropTypes.func,\n messages: PropTypes.object,\n wrapClassName: PropTypes.string,\n};\n\nconst mapDispatchToProps = {\n showDialog: showDialogNotice,\n};\n\nexport default connect(null, mapDispatchToProps)(injectIntl(SignatureDialog));\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport baseMessages from \"~/src/messages/base.i18n\";\n\nexport const YesNo = ({ condition }) => {\n return condition ? (\n \n ) : (\n \n );\n};\n\nYesNo.propTypes = {\n condition: PropTypes.bool.isRequired,\n};\n\nexport default YesNo;\n","export const AlertColor = {\n warning: \"warning\",\n info: \"info\",\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport classNames from \"classnames\";\n\nimport styles from \"./alert.styles.scss\";\nimport { AlertColor } from \"./AlertColor\";\n\nconst Alert = ({ color, className, name, children }) => {\n const colorStyle = styles[`alert-${color}`];\n return (\n
\n {children}\n
\n );\n};\n\nAlert.propTypes = {\n color: PropTypes.oneOf(Object.values(AlertColor)),\n className: PropTypes.string,\n name: PropTypes.string,\n};\n\nAlert.defaultProps = {\n color: AlertColor.warning,\n className: \"\",\n name: \"\",\n};\n\nexport default Alert;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\nimport classNames from \"classnames\";\nimport { Menu, Dropdown, CaretIcon } from \"@akinoxsolutions/gerudo-ui\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport FormattedDateTime from \"~/src/js/components/shared/formattedDateTime\";\nimport { parseToDate } from \"~/src/js/helpers/dates\";\nimport { ReportTypes } from \"~/src/js/PropTypes/GenericReport/ReportTypes\";\nimport { GenericDestinationPropTypes } from \"~/src/js/PropTypes/GenericDestination/index\";\n\nimport styles from \"./ReportDropdown.style\";\nimport { messages } from \"../i18n\";\n\nexport const GetReportTypeName = (reportType) => {\n return Object.keys(ReportTypes).find((key) => ReportTypes[key] === reportType);\n};\n\nexport const ReportDropdownItem = ({ report }) => {\n return (\n
\n

\n \n

\n \n
\n );\n};\n\nReportDropdownItem.propTypes = {\n report: PropTypes.object,\n};\n\nexport const ReportDropdown = ({ className, destination, currentReportVersion, onChange }) => {\n const [visible, setVisible] = useState(false);\n\n const onReportClick = (report) => {\n setVisible(false);\n onChange(report.version);\n };\n\n const menu = (\n \n {destination.reports.map((report) => {\n return (\n onReportClick(report)}>\n \n \n );\n })}\n \n );\n\n const currentReport = destination.reports.find((x) => x.version === currentReportVersion);\n\n return (\n
\n setVisible(!visible)} visible={visible}>\n
\n \n \n
\n
\n
\n );\n};\n\nReportDropdown.propTypes = {\n className: PropTypes.string,\n destination: GenericDestinationPropTypes,\n currentReportVersion: PropTypes.number,\n onChange: PropTypes.func,\n};\n\nexport default Relay.createContainer(ReportDropdown, {\n fragments: {\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n id\n reports {\n version\n type\n timestamp\n }\n }\n `,\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Button, DropdownButton, Menu } from \"@akinoxsolutions/gerudo-ui\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { ReportTypes } from \"~/src/js/PropTypes/GenericReport/ReportTypes\";\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport styles from \"../style\";\n\nimport { messages } from \"../i18n\";\n\nexport const SendReportButton = ({\n reportType,\n submitting,\n canSendPreliminaryReport,\n submitReport,\n isValid,\n}) => {\n // Same permission for preliminary and amended\n if (!isValid) {\n return (\n \n );\n }\n\n if (canSendPreliminaryReport) {\n switch (reportType) {\n case ReportTypes.Preliminary:\n default: {\n return (\n submitReport(ReportTypes.Final)}\n name=\"send-report-dropdown-button\"\n loading={submitting}\n overlay={\n \n submitReport(ReportTypes.Preliminary)}>\n \n \n \n }>\n \n \n );\n }\n case ReportTypes.Final:\n case ReportTypes.Amended: {\n return (\n submitReport(ReportTypes.Amended)}>\n \n \n );\n }\n }\n }\n\n return (\n submitReport(ReportTypes.Final)}>\n \n \n );\n};\n\nSendReportButton.propTypes = {\n submitting: PropTypes.bool,\n reportType: PropTypes.number,\n submitReport: PropTypes.func.isRequired,\n canSendPreliminaryReport: PropTypes.bool,\n isValid: PropTypes.bool,\n};\n\nexport default SendReportButton;\n","import { Button, ButtonGroup, InfoCircleIcon } from \"@akinoxsolutions/gerudo-ui\";\nimport classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React, { useEffect, useRef, useState, Fragment } from \"react\";\nimport { intlShape, injectIntl, FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport { connect } from \"react-redux\";\n\nimport { MenuAnchors, MenuNames } from \"~/src/js/hooks/urls\";\nimport { UrlAnchor } from \"~/src/js/components/shared/Urls\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { attachmentFragment } from \"~/src/js/components/attachments/attachmentUploadAndList\";\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\nimport { Checkbox as CustomCheckBox } from \"~/src/js/components/common\";\nimport {\n resetUserItem,\n ResetUserItemMutation,\n saveUserItem,\n SaveUserItemMutation,\n} from \"~/src/js/components/savedItems/savedItemHelpers\";\nimport FormattedDateTime from \"~/src/js/components/shared/formattedDateTime\";\nimport { handleFormsyInvalidSubmit } from \"~/src/js/helpers\";\nimport { registerAutoSave, unregisterAutoSave } from \"~/src/js/helpers/autoSave\";\nimport { SignatureDialog } from \"~/src/js/components/shared/Signature\";\nimport { YesNo } from \"~/src/js/components/shared/YesNo/index\";\nimport { ReportTypes } from \"~/src/js/PropTypes/GenericReport/ReportTypes\";\nimport { Alert, AlertColor } from \"~/src/js/components/shared/Alert\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { SelectInput, GerudoTextInput, TextArea } from \"~/src/js/components/shared/inputs\";\nimport { ClinicalDomainSubForm } from \"~/src/js/components/forms/GENERICv2/ClinicalDomainSubForm\";\nimport { CLINICAL_DOMAIN_SUBFORM_TYPE } from \"~/src/js/components/forms/GENERICv2/ClinicalDomainSubForm/ClinicalDomainSubForm\";\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\n\nimport { onSubmitReport } from \"../mutations\";\nimport { ReportDropdown } from \"../ReportDropdown/index\";\n\nimport { conclusionOptions, reporterOptions } from \"./helpers\";\nimport styles from \"./style\";\nimport { SendReportButton } from \"./SendReportButton\";\nimport { useSelectReporter } from \"./hooks\";\n\nimport { messages } from \"./i18n\";\n\nconst autoSaveName = \"GenericRequestReport\";\nlet timeoutId = null;\n\nexport const getSubFormVersion = (viewer, destination) => {\n if (destination.reports.length > 0) {\n return destination.reports[0].formData ? destination.reports[0].formData.FormVersion : null;\n }\n\n if (viewer && viewer.savedItem && viewer.savedItem.hasData) {\n const parsed = JSON.parse(viewer.savedItem.data);\n return parsed.formVersion;\n }\n\n return null;\n};\n\nexport const getSavedItemSubFormData = (viewer) => {\n if (viewer && viewer.savedItem && viewer.savedItem.hasData) {\n const parsed = JSON.parse(viewer.savedItem.data);\n return parsed.formResults ? { Results: parsed.formResults } : null;\n }\n\n return null;\n};\n\nexport const initCurrentSubFormData = (viewer) => {\n if (!viewer || !viewer.savedItem || !viewer.savedItem.hasData) {\n return null;\n }\n\n const parsed = JSON.parse(viewer.savedItem.data);\n if (!parsed.formResults) {\n return null;\n }\n\n return { formResults: JSON.parse(parsed.formResults), formVersion: 2 };\n};\n\nexport const Report = ({\n case: cas,\n destination,\n intl: { formatMessage },\n onClose,\n readOnly,\n relay,\n viewer,\n onReportVersionChange,\n showToastNotification,\n}) => {\n const formRef = useRef(null);\n const [submitting, setSubmitting] = useState(false);\n const [showSignatureDialog, setShowSignatureDialog] = useState(false);\n const [saving, setSaving] = useState(false);\n const [errors, setErrors] = useState(null);\n const [files, setFiles] = useState([]);\n const [filesHaveBeenModified, setFilesHaveBeenModified] = useState(false);\n\n const [parsedData, setParsedData] = useState({});\n const [currentFormData, setCurrentFormData] = useState(null);\n const [currentSubFormData, setCurrentSubFormData] = useState(getSavedItemSubFormData(viewer));\n const [newReportType, setNewReportType] = useState(null);\n\n const [currentReportVersion, setCurrentReportVersion] = useState(\n destination.reports.length > 0 ? destination.reports[0].version : null\n );\n const [savedItemSubFormData, setSavedItemSubFormData] = useState(getSavedItemSubFormData(viewer));\n const [isUploading, setIsUploading] = useState(false);\n const [isSubFormValid, setIsSubFormValid] = useState(true);\n const [isFormsyValid, setIsFormsyValid] = useState(true);\n\n const { conclusions } = viewer;\n const { gender } = cas.patient.demographic;\n const canSendPreliminaryReport = destination.permissions.canSendPreliminaryReport;\n\n useEffect(() => {\n relay.setVariables({\n clinicalDomainId: destination.request.clinicalDomain.id,\n formType: \"report\",\n });\n }, [destination.request.clinicalDomain.id]);\n\n useEffect(() => {\n if (filesHaveBeenModified) {\n handleSaveData(currentSubFormData);\n beginAutoSave(currentSubFormData);\n }\n }, [files]);\n\n useEffect(() => {\n if (viewer.savedItem && viewer.savedItem.hasData) {\n setCurrentSubFormData(initCurrentSubFormData(viewer));\n setSavedItemSubFormData(getSavedItemSubFormData(viewer));\n }\n }, [viewer.savedItem]);\n\n const hasItem = Boolean(viewer.savedItem);\n useEffect(() => {\n if (viewer.savedItem && viewer.savedItem.hasData) {\n const parsed = JSON.parse(viewer.savedItem.data);\n setSavedItemSubFormData(getSavedItemSubFormData(viewer));\n setParsedData(parsed);\n\n setFiles(parsed.filesToUpload);\n }\n }, [hasItem]);\n\n useEffect(() => {\n setCurrentReportVersion(destination.reports.length > 0 ? destination.reports[0].version : null);\n relay.setVariables({ formVersion: getSubFormVersion(viewer, destination) });\n }, [destination.reports]);\n\n // Loads the savedItem when component mounts with case ID from Relay\n useEffect(() => {\n relay.setVariables({ entityId: cas.id });\n }, [cas.id]);\n\n // Parses draft data from savedItem and updates local state\n const availableReporters = reporterOptions(destination);\n\n // Pre-fill last report data\n useEffect(() => {\n if (destination.reports.length > 0) {\n const lastReport = destination.reports[0];\n const data = {\n reporter: lastReport.user.id,\n conclusion: lastReport.conclusion.id,\n diagnosis: lastReport.diagnosis,\n text: lastReport.text,\n ramqCodes:\n lastReport.ramqCodes && lastReport.ramqCodes.length > 0 ? lastReport.ramqCodes[0] : \"\",\n };\n\n const newSubFormData = lastReport.formData\n ? {\n formResults: JSON.parse(lastReport.formData.Results),\n formVersion: lastReport.formData.FormVersion,\n }\n : null;\n setSavedItemSubFormData(lastReport.formData);\n setCurrentSubFormData(newSubFormData);\n setParsedData(data);\n setFiles(lastReport.attachments);\n }\n }, [destination.reports]);\n\n const currentUserId = viewer.currentUser.user.person.id;\n\n const { selectedReporter, setSelectedReporter } = useSelectReporter({\n parsedData,\n availableReporters,\n currentUserId,\n });\n\n // Registers callback from unmount to cancel any remaining auto-save.\n useEffect(() => {\n return () => {\n unregisterAutoSave(autoSaveName);\n };\n }, []);\n\n const handleCancel = () => onClose();\n\n const handleSubmit = (data) => {\n setErrors(null);\n setSubmitting(true);\n setCurrentFormData(data);\n\n toggleSignatureDialog();\n };\n\n const submitReportWithToken = (token) => {\n const data = currentFormData;\n setCurrentFormData(null);\n\n const fileIds = files.map((file) => file.id);\n\n // If RAMQ Codes entered, stick em' in an array because backend is FORWARD COMPATIBLE WITH FUTURE VISIONS OF EARTH.\n const fixedData = {\n ...data,\n ramqCodes: data.ramqCodes ? [data.ramqCodes] : [],\n token: token,\n reportType: newReportType,\n formVersion: currentSubFormData ? currentSubFormData.formVersion : null,\n formResults: currentSubFormData ? currentSubFormData.formResults : null,\n };\n onSubmitReport(cas, destination, fixedData, fileIds, viewer)\n .then(() => {\n onClose();\n setSubmitting(false);\n clearTimeout(timeoutId);\n resetUserItem(viewer.savedItem, cas.id, autoSaveName);\n })\n .catch((errors) => {\n setErrors(errors);\n setSubmitting(false);\n });\n };\n\n const appendSubFormDataToDraftData = (data, subFormData) => {\n let appendedSubFormData;\n if (subFormData) {\n appendedSubFormData = {\n ...data,\n formResults: JSON.stringify(subFormData.formResults),\n formVersion: subFormData.formVersion,\n };\n }\n\n return appendedSubFormData || data;\n };\n\n const handleSaveData = (subFormData) => {\n if (!formRef.current) {\n return;\n }\n\n setSaving(true);\n const data = appendSubFormDataToDraftData(formRef.current.getModel(), subFormData);\n saveUserItem(viewer.savedItem, cas.id, autoSaveName, {\n ...data,\n filesToUpload: files,\n })\n .then(() => {\n setSaving(false);\n showToastNotification(formatMessage(baseI18n.global.draftSaved), \"accept\");\n })\n .catch((errors) => {\n setSaving(false);\n clearTimeout(timeoutId);\n setErrors(errors);\n });\n unregisterAutoSave(autoSaveName);\n };\n\n const toggleSignatureDialog = () => {\n setShowSignatureDialog(true);\n };\n\n const handleSetFiles = (f) => {\n setFilesHaveBeenModified(true);\n setFiles(f);\n };\n\n const onChangeFormsy = () => {\n beginAutoSave(currentSubFormData);\n };\n\n const beginAutoSave = (subFormData) => {\n clearTimeout(timeoutId);\n registerAutoSave(autoSaveName, () => {\n handleSaveData(subFormData);\n });\n\n timeoutId = setTimeout(() => {\n handleSaveData(subFormData);\n clearTimeout(timeoutId);\n }, 10 * 1000);\n };\n\n const handleInvalidSubmit = () => handleFormsyInvalidSubmit(formRef.current);\n\n const submitReport = (reportType) => {\n setNewReportType(reportType);\n formRef.current.submit();\n };\n\n const handleReportVersionChange = (reportVersion) => {\n setCurrentReportVersion(reportVersion);\n\n if (onReportVersionChange) {\n onReportVersionChange(reportVersion);\n }\n };\n\n const onChangeSubFormData = (data, formVersion) => {\n const newSubformData = { formResults: { ...data }, formVersion: formVersion };\n setCurrentSubFormData(newSubformData);\n beginAutoSave(newSubformData);\n };\n\n const currentReport = destination.reports.find((x) => x.version === currentReportVersion);\n const preliminaryReportAlertDescription =\n destination.reports.length > 0 && destination.reports[0].version === currentReportVersion\n ? messages.preliminaryReportAlertDescription\n : messages.preliminaryReportAlertDescriptionWithFurtherReports;\n\n return (\n \n {readOnly ? (\n
\n
\n \n \n \n\n {currentReport.type === ReportTypes.Preliminary && (\n \n
\n \n
\n \n \n \n \n
\n
\n
\n )}\n
\n\n {currentReport.acceptedOn && (\n
\n \n ,\n }}\n />\n
\n )}\n\n
\n \n

{currentReport.conclusion.name}

\n
\n\n
\n \n

{currentReport.diagnosis}

\n
\n\n {currentReport.text && (\n
\n \n

{currentReport.text}

\n
\n )}\n\n {currentReport.formData && (\n \n )}\n\n {currentReport.ramqCodes && currentReport.ramqCodes.length > 0 && (\n
\n \n

{currentReport.ramqCodes.join(\",\")}

\n
\n )}\n
\n \n\n

\n \n

\n
\n\n \n\n {currentReport.isSigned && (\n
\n
\n \n

{`${currentReport.signature.firstName} ${currentReport.signature.lastName}`}

\n
\n
\n \n

{currentReport.signature.licenseNumber}

\n
\n
\n \n

\n \n

\n
\n
\n )}\n
\n ) : (\n setIsFormsyValid(false)}\n onValidSubmit={handleSubmit}\n onValid={() => setIsFormsyValid(true)}\n onChange={onChangeFormsy}\n ref={formRef}\n style={{ width: \"100%\" }}>\n

{formatMessage(messages.report, { date: \"\" })}

\n\n }\n options={availableReporters}\n disabled={availableReporters.length === 1}\n value={selectedReporter}\n onChange={(e) => setSelectedReporter(e)}\n required\n />\n\n }\n value={parsedData.conclusion}\n options={conclusionOptions(conclusions)}\n required\n />\n\n }\n name=\"diagnosis\"\n value={parsedData.diagnosis}\n required\n />\n\n {viewer.clinicalDomain &&\n viewer.clinicalDomain.formDefinition &&\n viewer.clinicalDomain.formDefinition.version ? (\n \n ) : (\n }\n name=\"text\"\n value={parsedData.text}\n autoSize={{\n minRows: 4,\n maxRows: 15,\n }}\n required\n />\n )}\n\n \n\n }\n name=\"ramqCodes\"\n value={parsedData.ramqCodes}\n />\n\n }\n value={true}\n disabled\n />\n\n \n\n
\n \n \n handleSaveData(currentSubFormData)}\n type=\"text\">\n {formatMessage(messages.saveAsDraft)}\n \n \n {formatMessage(messages.cancel)}\n \n \n
\n\n {\n setShowSignatureDialog(false);\n submitReportWithToken(token);\n }}\n onClose={() => {\n setShowSignatureDialog(false);\n setSubmitting(false);\n setCurrentFormData(null);\n }}\n />\n \n )}\n
\n );\n};\n\nReport.propTypes = {\n case: CasePropTypes,\n destination: PropTypes.object,\n intl: intlShape,\n onClose: PropTypes.func,\n readOnly: PropTypes.bool,\n viewer: ViewerPropTypes,\n onReportVersionChange: PropTypes.func,\n showToastNotification: PropTypes.func,\n};\n\nconst mapStateToProps = () => ({});\nconst mapDispatchToProps = {\n showToastNotification: showDialogNotice,\n};\n\nexport default Relay.createContainer(\n connect(mapStateToProps, mapDispatchToProps)(injectIntl(Report)),\n {\n initialVariables: {\n entityId: null,\n hasEntityId: false,\n clinicalDomainId: null,\n formVersion: null,\n formType: \"report\",\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n hasEntityId: Boolean(prevVariables.entityId),\n };\n },\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n id\n lookupId\n links {\n dicomManifest\n }\n patient {\n demographic {\n gender\n }\n }\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n ${ReportDropdown.getFragment(\"destination\")}\n\n id\n permissions {\n canCancel\n canSendPreliminaryReport\n }\n request {\n clinicalDomain {\n id\n name\n }\n }\n reports {\n type\n user {\n id\n }\n conclusion {\n id\n name\n }\n diagnosis\n text\n attachments {\n ${attachmentFragment}\n }\n ramqCodes\n timestamp\n version\n acceptedOn\n sendToEmr\n isSigned\n signature {\n firstName\n lastName\n licenseNumber\n signedOn\n }\n formData\n }\n toDepartment {\n specialists(specialistType: REPORTER) {\n id\n fullName\n }\n }\n }\n `,\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${ClinicalDomainSubForm.getFragment(\"viewer\")}\n ${AttachmentUploadAndList.getFragment(\"viewer\")}\n\n clinicalDomain(id: $clinicalDomainId) {\n formDefinition(version: $formVersion, type: $formType) {\n version\n }\n }\n\n currentUser{\n user {\n person {\n id\n }\n }\n }\n\n conclusions {\n name\n id\n }\n\n savedItem(\n entityId: $entityId,\n purpose: \"GenericRequestReport\"\n ) @include(if: $hasEntityId) {\n ${ResetUserItemMutation.getFragment(\"item\")}\n ${SaveUserItemMutation.getFragment(\"item\")}\n data\n hasData\n savedOn\n }\n }\n `,\n },\n }\n);\n","import { red, green, yellow } from \"@material-ui/core/colors\";\nimport Flag from \"@material-ui/icons/Flag\";\nimport React from \"react\";\n\nexport const getFlag = (priority) => {\n switch (priority.toLowerCase()) {\n case \"semi-urgent\":\n return ;\n\n case \"very-urgent\":\n case \"urgent\":\n return ;\n\n default:\n return ;\n }\n};\n\nexport const conclusionOptions = (conclusions) => {\n return conclusions.map((conclusion) => {\n return {\n label: conclusion.name,\n value: conclusion.id,\n };\n });\n};\n\nexport const reporterOptions = (destination) => {\n const { specialists } = destination.toDepartment || [];\n return specialists\n ? specialists.map((specialist) => ({\n label: specialist.fullName,\n value: specialist.id,\n }))\n : [];\n};\n","import { useState, useEffect } from \"react\";\n\nexport const useSelectReporter = ({ availableReporters, parsedData, currentUserId }) => {\n const [selectedReporter, setSelectedReporter] = useState();\n\n useEffect(() => {\n if (parsedData.reporter && availableReporters.some((x) => x.value === parsedData.reporter)) {\n setSelectedReporter(parsedData.reporter);\n } else if (availableReporters.length === 1) {\n setSelectedReporter(availableReporters[0].value);\n } else if (availableReporters.some((x) => x.value === currentUserId)) {\n setSelectedReporter(currentUserId);\n }\n }, [parsedData]);\n\n return {\n selectedReporter,\n setSelectedReporter,\n };\n};\n","import { Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { CardText } from \"react-toolbox/lib/card\";\n\nimport { useToggle } from \"~/src/js/hooks/index\";\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { ReassignProposedReporterDialog } from \"~/src/js/components/forms/GENERICv2/ReassignProposedReporterDialog\";\nimport { HideOnPrint } from \"~/src/js/components/shared/HideOnPrint\";\nimport { ReportTypes } from \"~/src/js/PropTypes/GenericReport/ReportTypes\";\nimport { ScheduleVideoConferenceDialog } from \"~/src/js/components/shared/VideoConference/ScheduleVideoConferenceDialog/index\";\n\nimport AdditionalInformationRequest from \"../additionalInformation/Request\";\nimport { DispatchDestinationDialog } from \"../dispatchDestinationDialog\";\nimport { ForwardDispatchDestinationDialog } from \"../ForwardDispatchDestinationDialog\";\nimport { TakeChargeOfDestinationDialog } from \"../takeChargeOfDestinationDialog\";\n\nimport CloseDestinationDialog from \"./CloseDestinationDialog\";\nimport RedispatchRequest from \"./RedispatchRequest\";\nimport Report from \"./Report\";\nimport styles from \"./style\";\n\nimport { messages as genericMessages } from \"../i18n\";\nimport { messages } from \"./i18n\";\n\nconst ActionBlock = ({ case: cas, destination, viewer, onEdit, currentUser, videoConference }) => {\n const [isAddingAdditionalInformation, toggleIsAddingAdditionalInformation] = useToggle(false);\n const [isRedispatchingRequest, toggleIsRedispatchingRequest] = useToggle(false);\n const [isFillingReport, toggleIsFillingReport] = useToggle(false);\n const [isSchedulingVideoconference, toggleIsSchedulingVideoconference] = useToggle(false);\n const [isAddingReportClarification, toggleIsAddingReportClarification] = useToggle(false);\n const [isClosing, toggleIsClosing] = useToggle(false);\n const [isDispatching, toggleIsDispatching] = useToggle(false);\n const [isForwardingDispatch, toggleIsForwardingDispatch] = useToggle(false);\n const [isTakingCharge, toggleIsTakingCharge] = useToggle(false);\n const [isReassigningProposedReporter, toggleIsReassigningProposedReporter] = useToggle(false);\n\n const handleEdit = () => onEdit(destination.id);\n\n const {\n canClose,\n canDispatch,\n canRedispatch,\n canForwardDispatch,\n canReport,\n canRequestAdditionalInformation,\n canRequestRedispatch,\n canRequestReportClarification,\n canSubmit,\n canTakeChargeOfDestination,\n canChangeProposedReporter,\n canScheduleVideoConferenceMeeting,\n } = destination.permissions;\n\n const actionsAvailable =\n canClose ||\n canDispatch ||\n canRedispatch ||\n canForwardDispatch ||\n canReport ||\n canRequestAdditionalInformation ||\n canRequestRedispatch ||\n canRequestReportClarification ||\n canSubmit ||\n canTakeChargeOfDestination ||\n canChangeProposedReporter ||\n canScheduleVideoConferenceMeeting;\n\n const mustShowButtonGroup =\n !isAddingAdditionalInformation &&\n !isRedispatchingRequest &&\n !isFillingReport &&\n !isClosing &&\n !isAddingReportClarification;\n\n const canEdit = canSubmit;\n\n const isDispatcher = canDispatch || canRedispatch;\n const dispatchButtonMessage = canRedispatch ? messages.redispatch : messages.dispatch;\n\n const hasReporterAssigned = destination.reporter;\n const isAmendedReport =\n destination.reports &&\n destination.reports.length > 0 &&\n (destination.reports[0].type === ReportTypes.Amended ||\n destination.reports[0].type === ReportTypes.Final);\n\n const hasReport = destination.reports && destination.reports.length > 0;\n const isVideoConferenceProposed = destination.request.modality !== \"DEFERREDTIME\";\n\n return (\n actionsAvailable && (\n \n \n {mustShowButtonGroup && (\n \n {canEdit && (\n \n )}\n {isDispatcher && (\n \n )}\n {canForwardDispatch && (\n \n )}\n {canTakeChargeOfDestination && (\n \n )}\n {canReport &&\n canScheduleVideoConferenceMeeting &&\n isVideoConferenceProposed &&\n !hasReport && (\n \n )}\n {canReport && (\n \n )}\n {canRequestRedispatch && (\n \n )}\n {canRequestAdditionalInformation && (\n \n \n \n )}\n {canClose && (\n \n )}\n {canRequestReportClarification && (\n \n \n \n )}\n {canChangeProposedReporter && (\n \n \n \n )}\n \n )}\n\n {isAddingAdditionalInformation && (\n \n )}\n\n {isRedispatchingRequest && (\n \n )}\n\n {isFillingReport && (\n \n )}\n\n {isAddingReportClarification && (\n \n )}\n\n \n\n \n\n \n\n \n\n \n\n {canReport &&\n canScheduleVideoConferenceMeeting &&\n isVideoConferenceProposed &&\n !hasReport && (\n \n )}\n \n \n )\n );\n};\n\nActionBlock.propTypes = {\n case: PropTypes.object,\n destination: PropTypes.object,\n viewer: PropTypes.object,\n onEdit: PropTypes.func,\n};\n\nexport default Relay.createContainer(ActionBlock, {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n ${AdditionalInformationRequest.getFragment(\"case\")}\n ${Report.getFragment(\"case\")}\n ${RedispatchRequest.getFragment(\"case\")}\n ${CloseDestinationDialog.getFragment(\"case\")}\n ${DispatchDestinationDialog.getFragment(\"case\")}\n ${ForwardDispatchDestinationDialog.getFragment(\"case\")}\n ${TakeChargeOfDestinationDialog.getFragment(\"case\")}\n ${ReassignProposedReporterDialog.getFragment(\"case\")}\n ${ScheduleVideoConferenceDialog.getFragment(\"case\")}\n id,\n\n data {\n ... on ConversationConsultData {\n toDepartment {\n legacyId\n }\n }\n }\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n ${AdditionalInformationRequest.getFragment(\"destination\")}\n ${Report.getFragment(\"destination\")}\n ${RedispatchRequest.getFragment(\"destination\")}\n ${CloseDestinationDialog.getFragment(\"destination\")}\n ${DispatchDestinationDialog.getFragment(\"destination\")}\n ${ForwardDispatchDestinationDialog.getFragment(\"destination\")}\n ${TakeChargeOfDestinationDialog.getFragment(\"destination\")}\n ${ReassignProposedReporterDialog.getFragment(\"destination\")}\n id\n reporter {\n id\n }\n reports {\n type\n }\n permissions {\n canCancel\n canReport\n canDispatch\n canRedispatch\n canForwardDispatch\n canRequestRedispatch\n canRequestAdditionalInformation\n canRequestReportClarification\n canClose\n canSubmit\n canTakeChargeOfDestination\n canChangeProposedReporter\n canScheduleVideoConferenceMeeting\n }\n request {\n modality\n }\n }\n `,\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${AdditionalInformationRequest.getFragment(\"viewer\")}\n ${Report.getFragment(\"viewer\")}\n ${RedispatchRequest.getFragment(\"viewer\")}\n ${CloseDestinationDialog.getFragment(\"viewer\")}\n ${DispatchDestinationDialog.getFragment(\"viewer\")}\n ${ForwardDispatchDestinationDialog.getFragment(\"viewer\")}\n ${ReassignProposedReporterDialog.getFragment(\"viewer\")}\n }\n `,\n currentUser: () => Relay.QL`\n fragment on CurrentUser {\n ${ScheduleVideoConferenceDialog.getFragment(\"currentUser\")}\n }\n `,\n videoConference: () => Relay.QL`\n fragment on VideoConference {\n ${ScheduleVideoConferenceDialog.getFragment(\"videoConference\")}\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { intlShape, injectIntl, defineMessages } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport CaseCancelDialog from \"~/src/js/components/cases/caseCancelDialog\";\nimport formStyle from \"~/src/styles/forms\";\n\nconst messages = defineMessages({\n considerReporterMayHaveStarted: {\n id: \"genericRequest.considerReporterMayHaveStarted\",\n description: \"warning about reporter having already started report\",\n defaultMessage: \"Consider that the reporter may have already started his response.\",\n },\n});\n\nconst DialogDelete = ({\n case: cas,\n destination,\n intl,\n onCancel,\n onError,\n onSuccess,\n open,\n viewer,\n}) => {\n return (\n \n {intl.formatMessage(messages.considerReporterMayHaveStarted)}\n

\n ) : null\n }\n onCancel={onCancel}\n onCancelError={onError}\n onCancelSuccess={onSuccess}\n status={cas.status || null}\n viewer={viewer}\n />\n );\n};\n\nDialogDelete.propTypes = {\n case: PropTypes.any,\n destination: PropTypes.object,\n onCancel: PropTypes.func,\n onSuccess: PropTypes.func,\n onError: PropTypes.func,\n intl: intlShape,\n open: PropTypes.bool,\n viewer: PropTypes.any,\n};\n\nexport default Relay.createContainer(injectIntl(DialogDelete), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${CaseCancelDialog.getFragment(\"viewer\")}\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n status {\n ${CaseCancelDialog.getFragment(\"status\")}\n }\n ${CaseCancelDialog.getFragment(\"case\")}\n\n permissions {\n cancelRequiresReason\n }\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n id\n request {\n clinicalDomain {\n name\n }\n }\n\n permissions {\n cancelRequiresReason\n }\n }\n `,\n },\n});\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, FormattedMessage } from \"react-intl\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\n\nimport { PersonInformation } from \"../../../shared/PersonInformation\";\n\nimport styles from \"./style\";\n\nimport { messages } from \"./i18n\";\n\nconst RedispatchRequestedHeader = ({ history }) => {\n return (\n
\n
\n \n \n
\n\n
\n ,\n }}\n />\n
\n
\n );\n};\n\nRedispatchRequestedHeader.propTypes = {\n history: PropTypes.object,\n};\n\nexport default injectIntl(RedispatchRequestedHeader);\n","import { Button } from \"@akinoxsolutions/gerudo-ui\";\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { intlShape, injectIntl, FormattedMessage } from \"react-intl\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\n\nimport { PersonInformation } from \"../../../shared/PersonInformation\";\n\nimport styles from \"./style\";\n\nimport { messages } from \"./i18n\";\n\nconst ReportClarificationRequestedHeader = ({\n requesterPerson,\n canSubmitReportClarification,\n handleAnswerEnquiry,\n intl: { formatMessage },\n}) => {\n return (\n
\n
\n \n
\n\n
\n ,\n }}\n />\n
\n\n {canSubmitReportClarification && (\n
\n \n
\n )}\n
\n );\n};\n\nReportClarificationRequestedHeader.propTypes = {\n intl: intlShape,\n requesterPerson: PropTypes.object,\n canSubmitReportClarification: PropTypes.bool,\n handleAnswerEnquiry: PropTypes.func,\n};\n\nexport default injectIntl(ReportClarificationRequestedHeader);\n","import { Button, TrashIcon, EditIcon, VideoconferenceIcon } from \"@akinoxsolutions/gerudo-ui\";\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment, useState, useEffect } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { Card, CardText } from \"react-toolbox/lib/card\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\n\nimport { MenuAnchors, MenuNames } from \"~/src/js/hooks/urls\";\nimport { UrlAnchor } from \"~/src/js/components/shared/Urls\";\nimport { parseToDate } from \"~/src/js/helpers/dates\";\nimport FormattedDateTime from \"~/src/js/components/shared/formattedDateTime\";\nimport { PersonInformation } from \"~/src/js/components/shared/PersonInformation\";\nimport { DepartmentInformation } from \"~/src/js/components/shared/Departments\";\nimport { PriorityIcon } from \"~/src/js/components/shared/PriorityIcon\";\nimport { CLINICAL_DOMAIN_SUBFORM_TYPE } from \"~/src/js/components/forms/GENERICv2/ClinicalDomainSubForm/ClinicalDomainSubForm\";\n\nimport { ClinicalDomainSubForm } from \"../ClinicalDomainSubForm\";\nimport { AdditionalInformation } from \"../additionalInformation\";\nimport { UpdateDestinationPriorityDialog } from \"../updateDestinationPriorityDialog\";\nimport { HistoryTypes } from \"../history\";\nimport { VideoConferenceHistory } from \"../../../shared/VideoConference/VideoConferenceHistory\";\n\nimport ActionBlock from \"./ActionBlock\";\nimport DialogDelete from \"./DialogDelete\";\nimport RedispatchRequestedHeader from \"./RedispatchRequestedHeader\";\nimport Report from \"./Report\";\nimport ReportClarificationRequestedHeader from \"./ReportClarificationRequestedHeader\";\nimport styles from \"./style\";\n\nimport { messages as genericMessages } from \"../i18n\";\nimport { messages } from \"./i18n\";\n\nexport const DestinationReadOnly = ({\n case: cas,\n destination,\n onEdit,\n onDelete,\n viewer,\n onSetReportVersion,\n}) => {\n const { id, toDepartment, reporter, reporterAssignedOn, requester } = destination;\n const {\n proposedReporter,\n dispatcher,\n clinicalDomain,\n externalConferenceNumber,\n modality,\n priority,\n medicalReason,\n formData,\n patientEmail,\n } = destination.request;\n const { canCancel, canSubmitReportClarification, canUpdatePriority } = destination.permissions;\n const { id: currentUserPersonId } = viewer.currentUser.user.person;\n\n // DialogCancel\n const [isDeleting, setIsDeleting] = useState(false);\n const [isEditingPriority, setIsEditingPriority] = useState(false);\n const handleDelete = () => {\n setIsDeleting(!isDeleting);\n onDelete(id);\n };\n const handleUpdatePriority = () => canUpdatePriority && setIsEditingPriority(!isEditingPriority);\n\n // Report\n const [currentReportVersion, setCurrentReportVersion] = useState(\n destination.reports.length > 0 ? destination.reports[0].version : null\n );\n\n useEffect(() => {\n setCurrentReportVersion(destination.reports.length > 0 ? destination.reports[0].version : null);\n }, [destination.reports]);\n\n const onReportVersionChange = (reportVersion) => {\n setCurrentReportVersion(reportVersion);\n onSetReportVersion(reportVersion);\n };\n const isCurrentReportLastReportVersion =\n currentReportVersion === null || destination.reports[0].version === currentReportVersion;\n\n const [triggerReportClarificationAnswer, setTriggerReportClarificationAnswer] = useState(false);\n const handleHeaderAnswerReportClarification = () => setTriggerReportClarificationAnswer(true);\n const acknowledgeAnswerFormTriggerCallback = () => setTriggerReportClarificationAnswer(false);\n\n const reportClarificationRequests =\n destination && destination.additionalInformationRequests\n ? destination.additionalInformationRequests.filter((h) => h.target === \"REPORTER\")\n : [];\n\n const latestRedispatchHistoryItem = getLatestRedispatchHistoryItem(destination);\n const activeClarificationRequest = getActiveReportClarificationRequest(destination);\n\n const isCurrentUserReporter = reporter && currentUserPersonId === reporter.id;\n\n const isVideoConferenceProposed = modality !== \"DEFERREDTIME\";\n\n return (\n
\n {onDelete && (\n \n }\n onClick={handleDelete}>\n \n )}\n\n \n \n \n  \n \n \n\n {latestRedispatchHistoryItem && (\n \n )}\n\n {activeClarificationRequest && (\n \n )}\n\n \n {isVideoConferenceProposed && destination.reports.length === 0 && (\n
\n \n \n {isCurrentUserReporter && (\n
\n {\" \"}\n \n
\n )}\n {!isCurrentUserReporter && (\n \n )}\n
\n
\n )}\n {reporter && (\n \n \n ,\n }\n : {\n owner: ,\n date: ,\n }\n }\n />\n \n )}\n \n\n {medicalReason && (\n
\n \n

{medicalReason}

\n
\n )}\n\n {patientEmail && (\n
\n \n

{patientEmail}

\n
\n )}\n\n {formData && (\n \n )}\n
\n\n {destination.reports.length > 0 && (\n \n \n \n )}\n\n {reportClarificationRequests.length > 0 && (\n \n \n

\n \n

\n \n {reportClarificationRequests.map((request) => (\n \n ))}\n
\n )}\n\n \n\n {isCurrentReportLastReportVersion && (\n \n )}\n\n \n\n \n
\n
\n );\n};\n\nconst getSortedRedispatchHistoryItems = (destination) => {\n return destination && destination.history\n ? destination.history\n .filter(\n (h) => h.type === HistoryTypes.RedispatchRequested || h.type === HistoryTypes.Dispatched\n )\n .sort((ha, hb) => {\n if (ha.date > hb.date) {\n return -1;\n }\n if (ha.date < hb.date) {\n return 1;\n }\n // a must be equal to b\n return 0;\n })\n : [];\n};\n\nconst getLatestRedispatchHistoryItem = (destination) => {\n let latestRedispatchHistoryItem = null;\n\n const redispatchHistoryItems = getSortedRedispatchHistoryItems(destination);\n\n if (\n redispatchHistoryItems.length > 0 &&\n redispatchHistoryItems[0].type === HistoryTypes.RedispatchRequested\n ) {\n latestRedispatchHistoryItem = redispatchHistoryItems[0];\n }\n\n return latestRedispatchHistoryItem;\n};\n\nconst getSortedReportClarificationRequests = (destination) => {\n return destination && destination.additionalInformationRequests\n ? destination.additionalInformationRequests\n .filter((i) => i.target === \"REPORTER\")\n .sort((a, b) => {\n if (a.request.timestamp > b.request.timestamp) {\n return -1;\n }\n if (a.request.timestamp < b.request.timestamp) {\n return 1;\n }\n // a must be equal to b\n return 0;\n })\n : [];\n};\n\nconst getActiveReportClarificationRequest = (destination) => {\n let activeReportClarificationRequest = null;\n\n const reportClarificationRequests = getSortedReportClarificationRequests(destination);\n\n if (reportClarificationRequests.length > 0 && reportClarificationRequests[0].answer === null) {\n activeReportClarificationRequest = reportClarificationRequests[0];\n }\n\n return activeReportClarificationRequest;\n};\n\nDestinationReadOnly.propTypes = {\n case: PropTypes.object,\n destination: PropTypes.object,\n onEdit: PropTypes.func,\n onDelete: PropTypes.func,\n viewer: PropTypes.any,\n onSetReportVersion: PropTypes.func,\n};\n\nexport default Relay.createContainer(DestinationReadOnly, {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n ${ActionBlock.getFragment(\"case\")}\n ${DialogDelete.getFragment(\"case\")}\n ${Report.getFragment(\"case\")}\n ${DialogDelete.getFragment(\"case\")}\n ${AdditionalInformation.getFragment(\"case\")}\n ${UpdateDestinationPriorityDialog.getFragment(\"case\")}\n id\n\n videoConferenceMeetings {\n ${VideoConferenceHistory.getFragment(\"meetings\")}\n }\n\n patient {\n ${VideoConferenceHistory.getFragment(\"patient\")}\n }\n\n data { \n ... on ConversationConsultData {\n toDepartment {\n ${VideoConferenceHistory.getFragment(\"department\")}\n legacyId\n }\n }\n }\n }\n `,\n destination: () => Relay.QL`\n fragment on GenericCaseDestination {\n ${ActionBlock.getFragment(\"destination\")}\n ${Report.getFragment(\"destination\")}\n ${DialogDelete.getFragment(\"destination\")}\n ${AdditionalInformation.getFragment(\"destination\")}\n ${UpdateDestinationPriorityDialog.getFragment(\"destination\")}\n id\n updatedAt\n status {\n isDraft\n }\n toDepartment {\n id\n name\n }\n reporter {\n id\n ${PersonInformation.getFragment(\"person\")}\n }\n reporterAssignedOn\n requester {\n id\n ${PersonInformation.getFragment(\"person\")}\n }\n request {\n modality\n externalConferenceNumber\n clinicalDomain {\n id\n name\n }\n priority {\n id\n name\n icon\n }\n medicalReason\n preferredDestinationDepartment {\n id\n name\n }\n formData\n patientEmail\n\n proposedReporter {\n ${PersonInformation.getFragment(\"person\")}\n }\n\n dispatcher {\n ${PersonInformation.getFragment(\"person\")}\n }\n }\n reports {\n version\n }\n permissions {\n canCancel\n canSubmitReportClarification\n canUpdatePriority\n }\n history {\n author {\n person {\n ${PersonInformation.getFragment(\"person\")}\n }\n }\n date\n type\n data\n }\n additionalInformationRequests {\n id\n target\n answer\n request {\n timestamp\n user {\n ${PersonInformation.getFragment(\"person\")}\n }\n }\n ${AdditionalInformation.getFragment(\"request\")}\n }\n }\n `,\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${ActionBlock.getFragment(\"viewer\")}\n ${Report.getFragment(\"viewer\")}\n ${DialogDelete.getFragment(\"viewer\")}\n ${AdditionalInformation.getFragment(\"viewer\")}\n ${UpdateDestinationPriorityDialog.getFragment(\"viewer\")}\n ${DepartmentInformation.getFragment(\"viewer\")}\n ${ClinicalDomainSubForm.getFragment(\"viewer\")}\n\n currentUser {\n ${ActionBlock.getFragment(\"currentUser\")}\n user {\n person {\n id\n }\n }\n }\n\n videoconference {\n ${ActionBlock.getFragment(\"videoConference\")}\n }\n }\n `,\n },\n});\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n addDocument: {\n id: \"genericRequest.addDocument\",\n description: \"Add document button label\",\n defaultMessage: \"Add document\",\n },\n administrativeNotes: {\n id: \"genericRequest.administrativeNotes\",\n description: \"Administrative notes\",\n defaultMessage: \"Administrative notes\",\n },\n clinicalInformation: {\n id: \"genericRequest.clinicalInformation\",\n description: \"Clinical information\",\n defaultMessage: \"Clinical information\",\n },\n hideMoreInformation: {\n id: \"genericRequest.hideMoreInformation\",\n description: \"Hiding more information\",\n defaultMessage: \"Minimize\",\n },\n moreInformation: {\n id: \"genericRequest.moreInformation\",\n description: \"Looking for more information\",\n defaultMessage: \"View details\",\n },\n patientConsent: {\n id: \"genericRequest.patientConsent\",\n description: \"Patient consent label\",\n defaultMessage: \"The patient has consented.\",\n },\n patientConsentLink: {\n id: \"genericRequest.patientConsentLink\",\n description: \"Patient consent with link\",\n defaultMessage:\n 'The patient has consented in accordance with the consent policy.',\n },\n patientConsentError: {\n id: \"genericRequest.patientConsentError\",\n description: \"Patient consent error\",\n defaultMessage: \"You must get the patient's consent\",\n },\n requiredInformation: {\n id: \"genericRequest.requiredInformation\",\n description: \"Required information\",\n defaultMessage: \"Required information\",\n },\n specificInformation: {\n id: \"genericRequest.specificInformation\",\n description: \"Specific information\",\n defaultMessage: \"There is specific information to join to this request\",\n },\n required: {\n id: \"error.fieldRequired\",\n description: \"Error message for a required field\",\n defaultMessage: \"Enter a value.\",\n },\n});\n","import Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment } from \"react\";\nimport { injectIntl, intlShape, FormattedHTMLMessage, FormattedMessage } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\n\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { TextArea, Checkbox, CheckboxSizes } from \"~/src/js/components/shared/inputs\";\nimport {\n AttachmentUploadAndList,\n Attachments,\n} from \"~/src/js/components/attachments/UploadAndList\";\n\nimport { URLs } from \"../../../../constants\";\n\nimport styles from \"./style\";\n\nimport { messages } from \"./i18n\";\n\nexport const ClinicalInformation = ({\n case: cas,\n clinicalInformation,\n defaultData,\n files,\n intl: { formatMessage },\n language,\n onFilesChanged,\n readOnly,\n viewer,\n onUploadIsLoading,\n}) => {\n const defaultValues = defaultData || {};\n\n const attachmentsCommonProps = {\n viewerUrl: \"default\",\n };\n\n return (\n \n {readOnly ? (\n \n

{clinicalInformation}

\n\n \n \n \n\n
\n \n
\n
\n ) : (\n \n }\n value={clinicalInformation}\n autoSize={{\n minRows: 4,\n maxRows: 15,\n }}\n required\n />\n
\n \n
\n\n
\n \n \n \n
\n \n
\n
\n
\n )}\n
\n );\n};\n\nClinicalInformation.propTypes = {\n case: CasePropTypes,\n clinicalInformation: PropTypes.string,\n defaultData: PropTypes.object,\n files: PropTypes.array,\n intl: intlShape,\n language: PropTypes.string,\n onFilesChanged: PropTypes.func,\n readOnly: PropTypes.bool,\n viewer: ViewerPropTypes,\n onUploadIsLoading: PropTypes.func,\n};\n\nconst mapStateToProps = (state) => {\n return {\n language: state.settingsReducer.language,\n };\n};\n\nexport default Relay.createContainer(injectIntl(connect(mapStateToProps)(ClinicalInformation)), {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n links {\n dicomManifest\n }\n patient {\n demographic {\n gender\n }\n }\n }\n `,\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${Attachments.getFragment(\"viewer\")}\n ${AttachmentUploadAndList.getFragment(\"viewer\")}\n }\n `,\n files: () => Relay.QL`\n fragment on Attachment @relay(plural: true) {\n ${Attachments.getFragment(\"files\")}\n }\n `,\n },\n});\n","import { Button } from \"@akinoxsolutions/gerudo-ui\";\nimport PropTypes from \"prop-types\";\nimport React, { useState } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\n\nimport Attachments, {\n ATTACHMENTS_COLUMNS,\n ATTACHMENTS_TABLE_ACTIONS,\n} from \"~/src/js/components/attachments/UploadAndList/Attachments\";\n\nimport { isEmpty } from \"../../../../helpers\";\nimport HtmlElement from \"../../../shared/htmlElement\";\n\nimport styles from \"./style\";\n\nimport { messages } from \"./i18n\";\n\nconst RequiredInformation = ({ case: cas, destinationDomainIds, viewer }) => {\n const { clinicalDomains } = viewer;\n const [showText, setShowText] = useState(false);\n\n const selectedDomains =\n destinationDomainIds ||\n cas.data.extraData.destinations\n .filter((destination) => Boolean(destination.request.clinicalDomain))\n .map((destination) => destination.request.clinicalDomain.id);\n\n const department =\n !isEmpty(clinicalDomains) &&\n clinicalDomains.edges.filter(\n (d) =>\n selectedDomains.includes(d.node.id) &&\n (d.node.requiredInformation || d.node.attachments.length > 0)\n );\n\n const handleText = () => setShowText(!showText);\n\n return (\n !isEmpty(department) && (\n
\n
\n

\n \n \n

\n\n \n
\n\n {showText &&\n department.map((domain, index) => (\n
\n

\n \n

\n \n\n {domain.node.attachments.length > 0 && (\n \n )}\n
\n ))}\n
\n )\n );\n};\n\nRequiredInformation.propTypes = {\n case: PropTypes.object,\n destinationDomainIds: PropTypes.arrayOf(PropTypes.string),\n viewer: PropTypes.object,\n};\n\nexport default Relay.createContainer(RequiredInformation, {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n id\n data {\n ... on ConversationConsultData {\n extraData {\n ... on GenericConversationConsultData {\n destinations {\n id\n request {\n clinicalDomain {\n id\n name\n }\n }\n }\n }\n }\n }\n }\n }\n `,\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${Attachments.getFragment(\"viewer\")}\n clinicalDomains(first: 500, specialistType: REPORTER, formId: 17) {\n edges {\n node {\n id\n name\n requiredInformation\n attachments {\n ${Attachments.getFragment(\"files\")}\n }\n }\n }\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { CardText, CardTitle, Card } from \"react-toolbox/lib/card\";\n\nimport { MenuAnchors, MenuNames } from \"~/src/js/hooks/urls\";\nimport { UrlAnchor } from \"~/src/js/components/shared/Urls\";\n\nimport ClinicalInformation from \"./ClinicalInformation\";\nimport RequiredInformation from \"./RequiredInformation\";\nimport styles from \"./style\";\n\nimport { messages } from \"./i18n\";\n\nexport const RequestInformation = ({\n case: cas,\n clinicalInformation,\n defaultData,\n destinationDomainIds,\n files,\n intl: { formatMessage },\n onFilesChanged,\n readOnly,\n viewer,\n onUploadIsLoading,\n}) => {\n return (\n \n \n {formatMessage(messages.clinicalInformation)}\n \n\n \n \n\n \n \n \n );\n};\n\nRequestInformation.propTypes = {\n case: PropTypes.object,\n clinicalInformation: PropTypes.string,\n defaultData: PropTypes.object,\n destinationDomainIds: PropTypes.arrayOf(PropTypes.string),\n files: PropTypes.array,\n intl: intlShape,\n onFilesChanged: PropTypes.func,\n readOnly: PropTypes.bool,\n viewer: PropTypes.object,\n onUploadIsLoading: PropTypes.func,\n};\n\nexport default Relay.createContainer(injectIntl(RequestInformation), {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n ${ClinicalInformation.getFragment(\"case\")}\n ${RequiredInformation.getFragment(\"case\")}\n }\n `,\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${RequiredInformation.getFragment(\"viewer\")}\n ${ClinicalInformation.getFragment(\"viewer\")}\n }\n `,\n files: () => Relay.QL`\n fragment on Attachment @relay(plural: true) {\n ${ClinicalInformation.getFragment(\"files\")}\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\n\nimport ConfirmDialog from \"~/src/js/components/shared/ConfirmDialog/ConfirmDialog\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\n\nimport { onGenericCaseClosed } from \"../mutations\";\n\nexport const messages = defineMessages({\n closeRequestTitle: {\n id: \"genericRequest.closeRequestTitle\",\n description: \"Close Request Title\",\n defaultMessage: \"Close the case #{caseId}\",\n },\n requestClosed: {\n id: \"genericRequest.requestClosed\",\n description: \"Notification to announce successful request close\",\n defaultMessage: \"Case closed successfully\",\n },\n closingRequestPrompt: {\n id: \"genericRequest.closingRequestPrompt\",\n description: \"Prompt to ensure user wants to close this request\",\n defaultMessage: \"Are you sure you want to close the case #{caseId}?\",\n },\n});\n\nexport class CloseRequestDialog extends React.Component {\n static propTypes = {\n viewer: PropTypes.any.isRequired,\n case: PropTypes.any.isRequired,\n onCancel: PropTypes.func,\n onSuccess: PropTypes.func,\n active: PropTypes.bool,\n dispatch: PropTypes.func.isRequired,\n intl: intlShape,\n };\n\n state = {\n mutating: false,\n errors: [],\n };\n\n t(key, args) {\n return this.props.intl.formatMessage(key, args);\n }\n\n handleSubmit = () => {\n this.setState({ errors: [], mutating: true });\n const { case: cas, onSuccess } = this.props;\n\n return onGenericCaseClosed({ cas: cas, surveyData: {}, viewer: this.props.viewer }).then(() => {\n this.props.dispatch(showDialogNotice(this.t(messages.requestClosed), \"accept\"));\n if (onSuccess) {\n onSuccess();\n }\n });\n };\n\n handleSuccess = () => {\n const { onSuccess } = this.props;\n\n this.props.dispatch(showDialogNotice(this.t(messages.requestClosed), \"accept\"));\n if (onSuccess) {\n onSuccess();\n }\n };\n\n render() {\n const t = this.props.intl.formatMessage;\n\n const { case: c } = this.props;\n\n return (\n \n );\n }\n}\n\nexport default Relay.createContainer(connect()(injectIntl(CloseRequestDialog)), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n }\n `,\n case: () => Relay.QL`\n fragment on IRequest {\n id\n lookupId\n }`,\n },\n});\n","import React, { Fragment } from \"react\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport { Card, CardText, CardTitle } from \"react-toolbox/lib/card\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { MenuAnchors, MenuNames } from \"~/src/js/hooks/urls\";\nimport { UrlAnchor } from \"~/src/js/components/shared/Urls\";\nimport { CaseAdminNotes } from \"~/src/js/components/shared/Notes\";\nimport { RequestInformation } from \"~/src/js/components/forms/GENERICv2/requestInformation\";\nimport { messages } from \"~/src/js/components/forms/GENERICv2/i18n\";\nimport { AdditionalInformation } from \"~/src/js/components/forms/GENERICv2/additionalInformation\";\nimport { Destination } from \"~/src/js/components/forms/GENERICv2/destination\";\nimport { DestinationReadOnly } from \"~/src/js/components/forms/GENERICv2/destinationReadOnly\";\nimport ErrorCard from \"~/src/js/components/shared/errorCard\";\n\nconst GenericRequestNonRequesterView = ({\n case: cas,\n viewer,\n allDestinations,\n hasAdditionalInformationRequests,\n editDestinations,\n handleInvalidSubmit,\n handleSubmit,\n formRef,\n handleRemoveDestination,\n styles,\n submitting,\n errors,\n handleCancelDestination,\n handleEditDestination,\n defaultData,\n handleSaveDraftData,\n isSavingDraftData,\n handleChangeDestinationSubFormData,\n onSetReportVersion,\n}) => {\n return (\n \n \n\n \n\n {hasAdditionalInformationRequests && (\n \n \n \n \n {}\n \n \n\n \n {allDestinations.map((destination) => {\n const additionalInformationRequests =\n destination && destination.additionalInformationRequests\n ? destination.additionalInformationRequests.filter(\n (h) => h.target === \"REQUESTER\"\n )\n : [];\n\n if (additionalInformationRequests.length > 0) {\n return additionalInformationRequests.map((request, i) => (\n \n ));\n }\n })}\n \n \n \n )}\n\n \n \n } />\n \n {allDestinations.map((destination, index) =>\n editDestinations.includes(destination.id) || destination.status.isDraft ? (\n handleSubmit(data, destination.id)}\n ref={formRef}>\n 0 ? handleRemoveDestination : null}\n viewer={viewer}\n showActionBar={true}\n styles={styles}\n submitting={submitting}\n handleCancelDestination={handleCancelDestination}\n defaultData={defaultData.destinations[destination.id]}\n handleSaveDraftData={handleSaveDraftData}\n isSavingDraftData={isSavingDraftData}\n handleChangeDestinationSubFormData={handleChangeDestinationSubFormData}\n />\n\n {errors && }\n \n ) : (\n 0 ? handleRemoveDestination : null}\n viewer={viewer}\n onSetReportVersion={onSetReportVersion}\n />\n )\n )}\n \n \n );\n};\n\nGenericRequestNonRequesterView.propTypes = {\n case: PropTypes.object,\n viewer: PropTypes.object,\n allDestinations: PropTypes.array,\n hasAdditionalInformationRequests: PropTypes.bool,\n editDestinations: PropTypes.array,\n handleInvalidSubmit: PropTypes.func,\n handleSubmit: PropTypes.func,\n formRef: PropTypes.object,\n handleRemoveDestination: PropTypes.func,\n styles: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),\n submitting: PropTypes.bool,\n errors: PropTypes.bool,\n handleCancelDestination: PropTypes.func,\n handleEditDestination: PropTypes.func,\n defaultData: PropTypes.object,\n handleSaveDraftData: PropTypes.func,\n isSavingDraftData: PropTypes.bool,\n handleChangeDestinationSubFormData: PropTypes.func,\n onSetReportVersion: PropTypes.func,\n};\n\nexport default GenericRequestNonRequesterView;\n","import { Button } from \"@akinoxsolutions/gerudo-ui\";\nimport React, { Fragment } from \"react\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport { Card, CardActions, CardText, CardTitle } from \"react-toolbox/lib/card\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { MenuAnchors, MenuNames } from \"~/src/js/hooks/urls\";\nimport { UrlAnchor } from \"~/src/js/components/shared/Urls\";\nimport { CaseAdminNotes } from \"~/src/js/components/shared/Notes\";\nimport { RequestInformation } from \"~/src/js/components/forms/GENERICv2/requestInformation\";\nimport { messages } from \"~/src/js/components/forms/GENERICv2/i18n\";\nimport { AdditionalInformation } from \"~/src/js/components/forms/GENERICv2/additionalInformation\";\nimport { Destination } from \"~/src/js/components/forms/GENERICv2/destination\";\nimport { DestinationReadOnly } from \"~/src/js/components/forms/GENERICv2/destinationReadOnly\";\nimport ErrorCard from \"~/src/js/components/shared/errorCard\";\n\nconst GenericRequestRequesterView = ({\n case: cas,\n viewer,\n allDestinations,\n hasAdditionalInformationRequests,\n editDestinations,\n handleInvalidSubmit,\n handleSubmit,\n formRef,\n handleRemoveDestination,\n styles,\n submitting,\n errors,\n handleCancelDestination,\n handleEditDestination,\n canAddDestination,\n handleAddDestination,\n defaultData,\n handleSaveDraftData,\n isSavingDraftData,\n handleChangeDestinationSubFormData,\n onSetReportVersion,\n}) => {\n return (\n \n {hasAdditionalInformationRequests && (\n \n \n {}\n \n\n \n {allDestinations.map((destination) => {\n const additionalInformationRequests =\n destination && destination.additionalInformationRequests\n ? destination.additionalInformationRequests.filter(\n (h) => h.target === \"REQUESTER\"\n )\n : [];\n\n if (additionalInformationRequests.length > 0) {\n return additionalInformationRequests.map((request, i) => (\n \n ));\n }\n })}\n \n \n )}\n\n \n \n } />\n \n {allDestinations.map((destination, index) =>\n editDestinations.includes(destination.id) || destination.status.isDraft ? (\n handleSubmit(data, destination.id)}\n ref={formRef}>\n 0 ? handleRemoveDestination : null}\n viewer={viewer}\n showActionBar={true}\n styles={styles}\n submitting={submitting}\n handleCancelDestination={handleCancelDestination}\n defaultData={defaultData.destinations[destination.id]}\n handleSaveDraftData={handleSaveDraftData}\n isSavingDraftData={isSavingDraftData}\n handleChangeDestinationSubFormData={handleChangeDestinationSubFormData}\n />\n\n {errors && }\n \n ) : (\n 0 ? handleRemoveDestination : null}\n viewer={viewer}\n onSetReportVersion={onSetReportVersion}\n />\n )\n )}\n\n {canAddDestination && (\n \n {canAddDestination && (\n \n )}\n \n )}\n \n\n \n\n \n \n );\n};\n\nGenericRequestRequesterView.propTypes = {\n case: PropTypes.object,\n viewer: PropTypes.object,\n allDestinations: PropTypes.array,\n hasAdditionalInformationRequests: PropTypes.bool,\n editDestinations: PropTypes.array,\n handleInvalidSubmit: PropTypes.func,\n handleSubmit: PropTypes.func,\n formRef: PropTypes.object,\n handleRemoveDestination: PropTypes.func,\n styles: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),\n submitting: PropTypes.bool,\n errors: PropTypes.bool,\n handleCancelDestination: PropTypes.func,\n handleEditDestination: PropTypes.func,\n canAddDestination: PropTypes.bool,\n handleAddDestination: PropTypes.func,\n defaultData: PropTypes.object,\n handleSaveDraftData: PropTypes.func,\n isSavingDraftData: PropTypes.bool,\n handleChangeDestinationSubFormData: PropTypes.func,\n onSetReportVersion: PropTypes.func,\n};\n\nexport default GenericRequestRequesterView;\n","import { Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\nimport React, { Fragment, useRef, useState, useEffect } from \"react\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { Card, CardText } from \"react-toolbox/lib/card\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\n\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { isEnabled, featureKeys } from \"~/src/js/helpers/features\";\nimport { CaseAdminNotes } from \"~/src/js/components/shared/Notes\";\nimport { handleFormsyInvalidSubmit } from \"~/src/js/helpers/errors\";\nimport { History } from \"~/src/js/components/forms/GENERICv2/history\";\nimport { PrintCaseContainer } from \"~/src/js/components/shared/Print\";\nimport { StatusCodes } from \"~/src/js/PropTypes/Status/StatusCodes\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case/index\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport {\n resetUserItem,\n ResetUserItemMutation,\n saveUserItem,\n SaveUserItemMutation,\n} from \"~/src/js/components/savedItems/savedItemHelpers\";\nimport { StickyFooter } from \"~/src/js/components/shared/StickyFooter\";\nimport CaseArchiveDialog from \"~/src/js/components/cases/caseArchiveDialog\";\n\nimport { AdditionalInformation } from \"../additionalInformation\";\nimport { Destination } from \"../destination\";\nimport { DestinationReadOnly } from \"../destinationReadOnly\";\nimport DialogDelete from \"../destinationReadOnly/DialogDelete\";\nimport { emptyDestination, getDestination, isEmptyDestination } from \"../helpers\";\nimport { onSubmitDestination } from \"../mutations\";\nimport { RequestInformation } from \"../requestInformation\";\n\nimport CloseRequestDialog from \"./CloseRequestDialog\";\nimport GenericRequestNonRequesterView from \"./components/GenericRequestNonRequesterView\";\nimport GenericRequestRequesterView from \"./components/GenericRequestRequesterView\";\n\nimport styles from \"./GenericRequest.style\";\nimport { messages } from \"../i18n\";\n\nconst draftDataKey = \"GenericRequestUpdate\";\n\nexport const GenericRequest = ({\n case: cas,\n intl: { formatMessage },\n viewer,\n showToastNotification,\n relay,\n}) => {\n const [destinations, setDestinations] = useState([]);\n const [subFormsDataDestinations, setSubFormsDataDestinations] = useState({});\n const [editDestinations, setEditDestinations] = useState([]);\n const [canceling, setCanceling] = useState(false);\n const [submitting, setSubmitting] = useState(false);\n const [errors, setErrors] = useState(null);\n const [isClosing, setIsClosing] = useState(false);\n const [showArchiveDialog, setShowArchiveDialog] = useState(false);\n const [isSavingDraftData, setIsSavingDraftData] = useState(false);\n const [parsedData, setParsedData] = useState({ destinations: [] });\n const formRef = useRef(null);\n\n const { features } = viewer;\n const { canAddDestination, canClose } = cas.data.extraData.permissions;\n const { canCancel, canArchiveRequest, canArchiveReport, canPrint } = cas.data.permissions;\n const canArchive = canArchiveRequest || canArchiveReport;\n const isGenericRequestSideMenuEnabled = isEnabled(features, featureKeys.GenericConsult.SideMenu);\n\n const hasReports =\n cas.data.extraData.destinations[0] &&\n cas.data.extraData.destinations[0].reports &&\n cas.data.extraData.destinations[0].reports.length > 0;\n const showPrintContainer = canPrint && hasReports;\n\n const [currentReportVersion, setCurrentReportVersion] = useState(\n hasReports && cas.data.extraData.destinations[0].reports.length > 0\n ? cas.data.extraData.destinations[0].reports[0].version\n : null\n );\n\n // Loads the savedItem when component mounts with case ID from Relay\n useEffect(() => {\n relay.setVariables({ entityId: cas.id });\n }, [cas.id]);\n\n // Parses draft data from savedItem and updates local state\n const hasItem = Boolean(viewer.savedItem);\n useEffect(() => {\n if (viewer.savedItem && viewer.savedItem.hasData) {\n const parsedData = JSON.parse(viewer.savedItem.data);\n setParsedData(parsedData);\n }\n }, [hasItem]);\n\n const printCaseContainerMessage =\n cas.status.code === StatusCodes.ReportCompleted ? (\n \n ) : (\n \n );\n\n const handleAddDestination = () => {\n const dest = emptyDestination(destinations.length);\n setDestinations([...destinations, dest]);\n };\n\n const handleRemoveDestination = (id) =>\n setDestinations([...destinations.filter((d) => d.id !== id)]);\n\n const handleChangeDestinationSubFormData = (id, data, formVersion) => {\n setSubFormsDataDestinations({\n ...subFormsDataDestinations,\n [id]: { formResults: { ...data }, formVersion: formVersion },\n });\n };\n\n const handleSubmit = (data, id) => {\n const destination = getDestination(data, id);\n const subFormData = subFormsDataDestinations[id] || {};\n setSubmitting(true);\n setErrors(null);\n onSubmitDestination(cas, destination, viewer, subFormData.formResults, subFormData.formVersion)\n .then(() => {\n setSubmitting(false);\n handleRemoveDestination(id);\n setEditDestinations(editDestinations.filter((d) => d !== id));\n resetUserItem(viewer.savedItem, cas.id, draftDataKey);\n })\n .catch((errors) => {\n setSubmitting(false);\n setErrors(errors);\n });\n };\n\n const handleInvalidSubmit = () => handleFormsyInvalidSubmit(formRef.current);\n\n const handleEditDestination = (destinationId) => {\n const newDestinations = editDestinations.concat([destinationId]);\n setEditDestinations(newDestinations);\n };\n\n const handleCancelDestination = (id) => {\n // When canceling draft destination, then remove it first.\n if (isEmptyDestination(id)) {\n handleRemoveDestination(id);\n }\n setEditDestinations(editDestinations.filter((d) => d !== id));\n };\n\n const handleCanceling = () => setCanceling(!canceling);\n const handleCloseCase = () => setIsClosing(!isClosing);\n\n const appendSubFormDataToDraftData = (data, subFormData) => {\n if (subFormData) {\n const destinationsId = Object.keys(subFormData);\n destinationsId.forEach((id) => {\n data.destinations[id] = { ...data.destinations[id] };\n data.destinations[id].formResults = JSON.stringify(subFormData[id].formResults);\n });\n }\n\n return data;\n };\n\n const handleSaveDraftData = () => {\n setIsSavingDraftData(true);\n const data = appendSubFormDataToDraftData(formRef.current.getModel(), subFormsDataDestinations);\n saveUserItem(viewer.savedItem, cas.id, draftDataKey, data)\n .then(() => {\n showToastNotification(formatMessage(baseI18n.global.draftSaved), \"accept\");\n })\n .catch((errors) => {\n setErrors(errors);\n })\n .finally(() => {\n setIsSavingDraftData(false);\n });\n };\n\n const allDestinations = cas.data.extraData.destinations\n .concat(destinations)\n .filter((x) => x.request.clinicalDomain);\n const hasAdditionalInformationRequests = allDestinations.some(\n (d) =>\n d &&\n d.additionalInformationRequests &&\n d.additionalInformationRequests.some((i) => i.target === \"REQUESTER\")\n );\n\n const footerButtons = [];\n\n if (canArchive) {\n footerButtons.push(\n \n );\n }\n\n if (canClose) {\n footerButtons.push(\n \n );\n }\n\n if (canCancel) {\n footerButtons.push(\n \n );\n }\n\n const commonProps = {\n case: cas,\n formatMessage: formatMessage,\n viewer: viewer,\n allDestinations: allDestinations,\n hasAdditionalInformationRequests: hasAdditionalInformationRequests,\n editDestinations: editDestinations,\n handleInvalidSubmit: handleInvalidSubmit,\n handleSubmit: handleSubmit,\n formRef: formRef,\n handleRemoveDestination: handleRemoveDestination,\n styles: styles,\n submitting: submitting,\n errors: errors,\n handleCancelDestination: handleCancelDestination,\n handleChangeDestinationSubFormData: handleChangeDestinationSubFormData,\n handleEditDestination: handleEditDestination,\n canAddDestination: canAddDestination,\n handleAddDestination: handleAddDestination,\n defaultData: parsedData,\n handleSaveDraftData: handleSaveDraftData,\n isSavingDraftData: isSavingDraftData,\n onSetReportVersion: setCurrentReportVersion,\n };\n\n return (\n \n {canClose && (\n \n \n {formatMessage(messages.closeAvailable)}\n \n\n
\n \n
\n
\n )}\n\n {showPrintContainer && (\n }\n downloadFileName={formatMessage(messages.printDownloadName)}\n className={isGenericRequestSideMenuEnabled ? styles[\"print-header\"] : \"\"}\n version={currentReportVersion}\n />\n )}\n\n {cas.isFromRequesterDepartment ? (\n \n ) : (\n \n )}\n\n {cas.data.extraData.destinations.length > 0 && }\n\n {footerButtons.length !== 0 && (\n \n {footerButtons}\n \n )}\n\n setErrors(errors)}\n onSuccess={handleCanceling}\n open={canceling}\n viewer={viewer}\n />\n\n \n\n {\n setShowArchiveDialog(false);\n }}\n onArchiveSuccess={() => {\n setShowArchiveDialog(false);\n }}\n onArchiveError={() => {}}\n />\n
\n );\n};\n\nGenericRequest.propTypes = {\n case: CasePropTypes,\n intl: intlShape,\n viewer: ViewerPropTypes,\n showToastNotification: PropTypes.func,\n};\n\nconst mapStateToProps = () => ({});\nconst mapDispatchToProps = {\n showToastNotification: showDialogNotice,\n};\n\nexport default Relay.createContainer(\n connect(mapStateToProps, mapDispatchToProps)(injectIntl(GenericRequest)),\n {\n initialVariables: {\n entityId: null,\n hasEntityId: false,\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n hasEntityId: Boolean(prevVariables.entityId),\n };\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${CaseAdminNotes.getFragment(\"viewer\")}\n ${Destination.getFragment(\"viewer\")}\n ${DestinationReadOnly.getFragment(\"viewer\")}\n ${RequestInformation.getFragment(\"viewer\")}\n ${AdditionalInformation.getFragment(\"viewer\")}\n ${CloseRequestDialog.getFragment(\"viewer\")}\n ${DialogDelete.getFragment(\"viewer\")}\n ${CaseArchiveDialog.getFragment(\"viewer\")}\n\n features\n\n savedItem(\n entityId: $entityId,\n purpose: \"GenericRequestUpdate\"\n ) @include(if: $hasEntityId) {\n ${ResetUserItemMutation.getFragment(\"item\")}\n ${SaveUserItemMutation.getFragment(\"item\")}\n data\n hasData\n savedOn\n }\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n ${Destination.getFragment(\"case\")}\n ${DestinationReadOnly.getFragment(\"case\")}\n ${History.getFragment(\"case\")}\n ${RequestInformation.getFragment(\"case\")}\n ${AdditionalInformation.getFragment(\"case\")}\n ${CloseRequestDialog.getFragment(\"case\")}\n ${DialogDelete.getFragment(\"case\")}\n ${CaseAdminNotes.getFragment(\"case\")}\n ${PrintCaseContainer.getFragment(\"case\")}\n ${CaseArchiveDialog.getFragment(\"case\")}\n\n id\n\n status {\n code\n }\n\n isFromRequesterDepartment\n\n data {\n ... on ConversationConsultData {\n permissions {\n canCancel\n canArchiveRequest\n canArchiveReport\n canPrint\n }\n\n extraData {\n ... on GenericConversationConsultData {\n permissions {\n canAddDestination\n }\n destinations {\n ${Destination.getFragment(\"destination\")}\n ${DestinationReadOnly.getFragment(\"destination\")}\n ${AdditionalInformation.getFragment(\"destination\")}\n id\n status {\n code\n isDraft\n }\n additionalInformationRequests {\n target\n ${AdditionalInformation.getFragment(\"request\")}\n }\n request {\n attachments {\n ${RequestInformation.getFragment(\"files\")}\n }\n text\n clinicalDomain\n }\n reports {\n version\n }\n }\n\n permissions {\n canAddDestination\n canClose\n }\n }\n }\n }\n }\n }\n `,\n },\n }\n);\n","import PropTypes from \"prop-types\";\n\nimport { DateTimePropTypes } from \"~/src/js/PropTypes/DateTime\";\n\nexport const SignaturePropTypes = PropTypes.shape({\n id: PropTypes.string,\n referenceId: PropTypes.string,\n firstName: PropTypes.string,\n lastName: PropTypes.string,\n licenseNumber: PropTypes.string,\n signedOn: DateTimePropTypes,\n});\n","export const messages = {\n signature: {\n title: {\n id: \"forms.print.signature.title\",\n description: \"Report signature title\",\n defaultMessage: \"Report Signature\",\n },\n signedBy: {\n id: \"forms.print.signature.signedBy\",\n description: \"Report signed by\",\n defaultMessage: \"Signed on {signedOn} by {signedByFirstName} {signedByLastName}\",\n },\n licenseNumber: {\n id: \"forms.print.signature.licenseNumber\",\n description: \"Report license number\",\n defaultMessage: \"License number\",\n },\n },\n};\n","import React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport FormattedDateTime from \"~/src/js/components/shared/formattedDateTime\";\nimport { SignaturePropTypes } from \"~/src/js/PropTypes/Case/SignaturePropTypes\";\n\nimport style from \"./ReportSignaturePrint.style.scss\";\n\nimport { messages } from \"./ReportSignaturePrint.i18n\";\n\nconst ReportSignaturePrint = ({ signature }) => {\n return (\n
\n

\n \n

\n
\n

\n ,\n signedByFirstName: signature.firstName,\n signedByLastName: signature.lastName,\n }}\n />\n

\n

\n \n

\n
\n );\n};\n\nReportSignaturePrint.propTypes = {\n signature: SignaturePropTypes,\n};\n\nexport default ReportSignaturePrint;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport styles from \"./DisplayOnlyOnPrint.style.scss\";\n\nexport const DisplayOnlyOnPrint = ({ condition, children }) => {\n const className = condition ? styles[\"display-only-on-print\"] : \"\";\n return
{children}
;\n};\n\nDisplayOnlyOnPrint.defaultProps = {\n condition: true,\n};\n\nDisplayOnlyOnPrint.propTypes = {\n condition: PropTypes.bool,\n};\n\nexport default DisplayOnlyOnPrint;\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Relay from \"react-relay/classic\";\nimport { Row, Col, Divider } from \"@akinoxsolutions/gerudo-ui\";\nimport Barcode from \"react-barcode\";\n\nimport { CasePropTypes, PatientPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { DepartmentPropTypes } from \"~/src/js/PropTypes/Department\";\nimport HealthInsurance from \"~/src/js/components/patients/healthInsurance\";\nimport Address from \"~/src/js/components/patients/address\";\nimport BirthdayAndAge from \"~/src/js/components/patients/birthdayAndAge\";\nimport DisplayOnlyOnPrint from \"~/src/js/components/shared/DisplayOnlyOnPrint/DisplayOnlyOnPrint\";\nimport LocalizedRUISSSMcGillLogo from \"~/src/js/components/forms/shared/muhc/LocalizedRUISSSMcGillLogo\";\n\nconst getStringOrDefault = (str) => str || \"\";\n\nimport styles from \"./MUHCReportPrintHeader.style\";\n\nexport const MUHCReportPrintHeader = ({ case: cas, patient, department, showLogo, title }) => {\n const barcodeFormat = \"CODE39\";\n const barcodeWidth = 2;\n const barcodeHeight = 50;\n\n const mrn = (\n patient.hospitals.edges.find((x) => x.node.hospital.id === department.hospital.id) || {\n node: {},\n }\n ).node.uniqueId;\n const formId = cas.form.barcode;\n\n const patientLastName = getStringOrDefault(patient.demographic.lastName).toUpperCase();\n const patientFatherFirstName = getStringOrDefault(patient.demographic.fatherFirstName);\n\n const patientFatherLastName = getStringOrDefault(\n patient.demographic.fatherLastName\n ).toUpperCase();\n\n const patientMotherFirstName = getStringOrDefault(patient.demographic.motherFirstName);\n const patientMotherLastName = getStringOrDefault(\n patient.demographic.motherLastName\n ).toUpperCase();\n\n return (\n \n
\n \n
\n \n {formId && (\n
\n \n
\n )}\n \n
\n {mrn && (\n
\n \n
\n )}\n \n {patientLastName}, {patient.demographic.firstName} ({patient.demographic.gender[0]})\n \n
\n
\n
\n \n
\n
\n \n
\n
\n {patientFatherLastName && patientFatherFirstName && (\n
{`${patientFatherLastName}, ${patientFatherFirstName}`}
\n )}\n {patientMotherLastName && patientMotherFirstName && (\n
{`${patientMotherLastName}, ${patientMotherFirstName}`}
\n )}\n \n \n \n
\n

\n {department.hospital.name}\n

\n

{department.name}

\n \n \n \n \n \n \n

{title}

\n
\n \n \n );\n};\n\nMUHCReportPrintHeader.propTypes = {\n case: CasePropTypes,\n patient: PatientPropTypes,\n department: DepartmentPropTypes,\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n showLogo: PropTypes.bool,\n};\n\nexport default Relay.createContainer(MUHCReportPrintHeader, {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n form {\n barcode\n }\n }\n `,\n patient: () => Relay.QL`\n fragment on Patient {\n id\n\n address {\n ${Address.getFragment(\"address\")}\n }\n\n demographic {\n ${BirthdayAndAge.getFragment(\"demographic\")}\n gender\n firstName\n lastName\n fullName\n motherFirstName\n motherLastName\n fatherFirstName\n fatherLastName\n }\n\n healthInsurance {\n ${HealthInsurance.getFragment(\"healthInsurance\")}\n }\n\n hospitals(first: 50) {\n edges {\n node {\n uniqueId\n hospital {\n id\n }\n }\n }\n }\n }\n `,\n department: () => Relay.QL`\n fragment on Department {\n name\n hospital {\n id\n name\n }\n clinicalDomain {\n name\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\n\nexport const PrintSection = ({ title, children }) => {\n return (\n
\n

{title}

\n {children}\n
\n );\n};\n\nPrintSection.propTypes = {\n title: PropTypes.node,\n};\n\nexport default PrintSection;\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\n\nexport const PrintSubsection = ({ title, children }) => {\n return (\n
\n

{title}

\n {children}\n
\n );\n};\n\nPrintSubsection.propTypes = {\n title: PropTypes.node,\n};\n\nexport default PrintSubsection;\n","import PropTypes from \"prop-types\";\nimport React, { Fragment } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\n\nexport const TableSectionPrint = ({ messages, printData }) => {\n return (\n \n {Object.keys(printData).map((printDataKey) => (\n
\n

\n \n

\n
\n \n {Object.keys(printData[printDataKey]).map((x) => (\n \n \n \n \n ))}\n \n
\n \n {printData[printDataKey][x]}
\n \n ))}\n \n );\n};\n\nTableSectionPrint.propTypes = {\n printData: PropTypes.object,\n messages: PropTypes.object,\n};\n\nexport default TableSectionPrint;\n","export const messages = {\n patientInformation: {\n title: {\n id: \"global.print.patientInformation.title\",\n description: \"Patient information title\",\n defaultMessage: \"Patient information\",\n },\n lastName: {\n id: \"global.print.patientInformation.lastName\",\n description: \"Patient last name\",\n defaultMessage: \"Last name\",\n },\n firstName: {\n id: \"global.print.patientInformation.firstName\",\n description: \"Patient first name\",\n defaultMessage: \"First name\",\n },\n dateOfBirth: {\n id: \"global.print.patientInformation.dateOfBirth\",\n description: \"Patient date of birth\",\n defaultMessage: \"Date of birth\",\n },\n age: {\n id: \"global.print.patientInformation.age\",\n description: \"Patient age\",\n defaultMessage: \"Age at the time of request\",\n },\n medicalInsuranceNumber: {\n id: \"global.print.patientInformation.medicalInsuranceNumber\",\n description: \"Patient medical insurance number\",\n defaultMessage: \"Medical insurance number\",\n },\n motherFirstName: {\n id: \"global.print.patientInformation.motherFirstName\",\n description: \"Patient mother first name\",\n defaultMessage: \"Mother first name\",\n },\n motherLastName: {\n id: \"global.print.patientInformation.motherLastName\",\n description: \"Patient mother last name\",\n defaultMessage: \"Mother last name\",\n },\n motherMaidenName: {\n id: \"global.print.patientInformation.motherMaidenName\",\n description: \"Patient mother maiden name\",\n defaultMessage: \"Mother maiden name\",\n },\n fatherFirstName: {\n id: \"global.print.patientInformation.fatherFirstName\",\n description: \"Patient father first name\",\n defaultMessage: \"Father first name\",\n },\n fatherLastName: {\n id: \"global.print.patientInformation.fatherLastName\",\n description: \"Patient father last name\",\n defaultMessage: \"Father last name\",\n },\n },\n};\n","import React from \"react\";\nimport Relay from \"react-relay/classic\";\n\nimport { PatientPropTypes } from \"~/src/js/PropTypes/Case\";\nimport FormattedDate from \"~/src/js/components/shared/formattedDate\";\nimport HealthInsurance from \"~/src/js/components/patients/healthInsurance\";\n\nimport TableSectionPrint from \"../TableSectionPrint\";\n\nimport { messages } from \"./PatientSectionPrint.i18n\";\n\nexport const PatientSectionPrint = ({ patient }) => {\n // ***Model name and prop name must match with messages hierachie.\n const patientInformation = {\n lastName: (patient.demographic.lastName || \"\").toUpperCase(),\n firstName: patient.demographic.firstName,\n dateOfBirth: ,\n age: patient.demographic.age,\n medicalInsuranceNumber: (\n \n ),\n motherFirstName: patient.demographic.motherFirstName,\n motherLastName: (patient.demographic.motherLastName || \"\").toUpperCase(),\n motherMaidenName: patient.demographic.motherMaidenName,\n fatherFirstName: patient.demographic.fatherFirstName,\n fatherLastName: (patient.demographic.fatherLastName || \"\").toUpperCase(),\n };\n\n return ;\n};\n\nPatientSectionPrint.propTypes = {\n patient: PatientPropTypes,\n};\n\nexport default Relay.createContainer(PatientSectionPrint, {\n fragments: {\n patient: () => Relay.QL`\n fragment on Patient {\n demographic {\n birthday\n gender\n firstName\n lastName\n motherFirstName\n motherLastName\n fatherFirstName\n fatherLastName\n }\n\n healthInsurance {\n ${HealthInsurance.getFragment(\"healthInsurance\")}\n }\n }`,\n },\n});\n","export const messages = {\n requestInformation: {\n title: {\n id: \"genericRequest.print.requestInformation.title\",\n description: \"Request information title\",\n defaultMessage: \"Request information\",\n },\n reason: {\n id: \"genericRequest.print.requestInformation.reason\",\n description: \"Reason\",\n defaultMessage: \"Reason\",\n },\n requestNumber: {\n id: \"genericRequest.print.requestInformation.requestNumber\",\n description: \"Request number\",\n defaultMessage: \"Request number\",\n },\n requestDate: {\n id: \"genericRequest.print.requestInformation.requestDate\",\n description: \"Request date\",\n defaultMessage: \"Request date\",\n },\n reportDate: {\n id: \"genericRequest.print.requestInformation.reportDate\",\n description: \"Report date\",\n defaultMessage: \"Report date\",\n },\n priority: {\n id: \"genericRequest.print.requestInformation.priority\",\n description: \"Request priority\",\n defaultMessage: \"Request priority\",\n },\n requester: {\n id: \"genericRequest.print.requestInformation.requester\",\n description: \"Requester\",\n defaultMessage: \"Referring physician\",\n },\n treatingPhysician: {\n id: \"genericRequest.print.requestInformation.treatingPhysician\",\n description: \"Request treating physician\",\n defaultMessage: \"Treating physician\",\n },\n provider: {\n id: \"genericRequest.print.requestInformation.provider\",\n description: \"Request provider\",\n defaultMessage: \"Provider\",\n },\n requestingCenter: {\n id: \"genericRequest.print.requestInformation.requestingCenter\",\n description: \"Request requesting center\",\n defaultMessage: \"Requesting center\",\n },\n destination: {\n id: \"genericRequest.print.requestInformation.destination\",\n description: \"Request destination\",\n defaultMessage: \"Destination\",\n },\n requestType: {\n id: \"genericRequest.print.requestInformation.requestType\",\n description: \"Request type\",\n defaultMessage: \"Request type\",\n },\n modality: {\n DEFERREDTIME: {\n id: \"genericRequest.print.requestInformation.modality.deferredTime\",\n description: \"Modality deferred time label\",\n defaultMessage: \"Deferred time\",\n },\n VIDEOWITHOUTPATIENT: {\n id: \"genericRequest.print.requestInformation.modality.videoWithoutPatient\",\n description: \"Modality video without patient label\",\n defaultMessage: \"Teleconsultation without patient (video)\",\n },\n VIDEOWITHPATIENT: {\n id: \"genericRequest.print.requestInformation.modality.videoWithPatient\",\n description: \"Modality video with patient label\",\n defaultMessage: \"Teleconsultation with patient (video)\",\n },\n },\n },\n clinicalInformation: {\n title: {\n id: \"genericRequest.print.clinicalInformation.title\",\n description: \"Clinical information\",\n defaultMessage: \"Clinical information\",\n },\n requestDetails: {\n id: \"genericRequest.print.reason.requestDetails\",\n description: \"Request details\",\n defaultMessage: \"Request details\",\n },\n },\n documents: {\n title: {\n id: \"genericRequest.print.documents.title\",\n description: \"Documents\",\n defaultMessage: \"Documents\",\n },\n subtitle: {\n id: \"genericRequest.print.documents.subtitle\",\n description: \"Documents subtitle\",\n defaultMessage: \"Electronic documents (attachments)\",\n },\n },\n request: {\n title: {\n id: \"genericRequest.print.request.title\",\n description: \"Request title\",\n defaultMessage: \"Request\",\n },\n videoConferenceNumber: {\n id: \"genericRequest.print.request.videoConferenceNumber\",\n description: \"Request videoconference number\",\n defaultMessage: \"Videoconference number\",\n },\n coordinationCenterComments: {\n id: \"genericRequest.print.request.coordinationCenterComments\",\n description: \"Request coordination center comments\",\n defaultMessage: \"Coordination center comments\",\n },\n },\n additionalInformation: {\n title: {\n id: \"genericRequest.print.additionalInformation.title\",\n description: \"Report additional information title\",\n defaultMessage: \"Additional information\",\n },\n },\n report: {\n title: {\n id: \"genericRequest.report.title\",\n description: \"Report title\",\n defaultMessage: \"Report\",\n },\n },\n reportDetails: {\n title: {\n id: \"genericRequest.print.reportDetails.title\",\n description: \"Report details title\",\n defaultMessage: \"Report details\",\n },\n conclusion: {\n id: \"genericRequest.print.reportDetails.conclusion\",\n description: \"Report details conclusion\",\n defaultMessage: \"Conclusion\",\n },\n diagnosis: {\n id: \"genericRequest.print.reportDetails.diagnosis\",\n description: \"Report details diagnosis\",\n defaultMessage: \"Diagnosis\",\n },\n comments: {\n id: \"genericRequest.print.reportDetails.comments\",\n description: \"Report details comments\",\n defaultMessage: \"Comments\",\n },\n attachments: {\n id: \"genericRequest.print.reportDetails.attachments\",\n description: \"Report details attachments\",\n defaultMessage: \"Attachments\",\n },\n amended: {\n id: \"genericRequest.report.amendedReport\",\n description: \"Amended report note\",\n defaultMessage: \"Amended report\",\n },\n reportSubForm: {\n id: \"genericRequest.print.reportDetails.reportSubForm\",\n description: \"Print report sub form subsection title\",\n },\n final: {\n id: \"genericRequest.report.finalReport\",\n description: \"Final report note\",\n defaultMessage: \"Final report\",\n },\n },\n clarifications: {\n title: {\n id: \"genericRequest.print.clarifications.title\",\n description: \"Report clarifications title\",\n defaultMessage: \"Clarifications\",\n },\n },\n signature: {\n title: {\n id: \"genericRequest.print.signature.title\",\n description: \"Report signature title\",\n defaultMessage: \"Report Signature\",\n },\n signedBy: {\n id: \"genericRequest.print.signature.signedBy\",\n description: \"Report signed by\",\n defaultMessage: \"Signed on {signedOn} by {signedByFirstName} {signedByLastName}\",\n },\n licenseNumber: {\n id: \"genericRequest.print.signature.licenseNumber\",\n description: \"Report license number\",\n defaultMessage: \"License number\",\n },\n },\n header: {\n title: {\n id: \"genericRequest.print.header.title\",\n description: \"Header title\",\n defaultMessage: \"Report - Generic\",\n },\n },\n watermark: {\n preliminary: {\n id: \"genericRequest.report.preliminaryReport\",\n description: \"Preliminary report watermark\",\n defaultMessage: \"Preliminary report\",\n },\n },\n};\n","import React, { Fragment } from \"react\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport FormattedDate from \"~/src/js/components/shared/formattedDate\";\nimport InlineAttachments from \"~/src/js/components/attachments/UploadAndList/InlineAttachments\";\nimport { AdditionalInformation } from \"~/src/js/components/forms/GENERICv2/additionalInformation\";\nimport HealthInsurance from \"~/src/js/components/patients/healthInsurance\";\nimport ReportSignaturePrint from \"~/src/js/components/forms/shared/printableComponent/ReportSignaturePrint\";\nimport MUHCReportPrintHeader from \"~/src/js/components/forms/shared/muhc/MUHCReportPrintHeader\";\nimport {\n TableSectionPrint,\n PrintSection,\n PrintSubsection,\n} from \"~/src/js/components/forms/shared/print\";\nimport PatientSectionPrint from \"~/src/js/components/forms/shared/print/patient/PatientSectionPrint\";\nimport styles from \"~/src/js/components/forms/shared/print/genericPrintContainer.style\";\nimport { ReportTypes } from \"~/src/js/PropTypes/GenericReport/ReportTypes\";\nimport { ClinicalDomainSubForm } from \"~/src/js/components/forms/GENERICv2/ClinicalDomainSubForm\";\nimport { CLINICAL_DOMAIN_SUBFORM_TYPE } from \"~/src/js/components/forms/GENERICv2/ClinicalDomainSubForm/ClinicalDomainSubForm\";\nimport { queryString } from \"~/src/js/helpers/strings\";\n\nimport { messages } from \"./GenericRequestPrint.i18n\";\nimport printStyles from \"./GenericRequestPrint.style\";\n\nexport const GenericRequestPrint = ({ case: cas, viewer }) => {\n const destination = cas.data.extraData.destinations[0];\n const hasReport = destination.reports.length > 0;\n if (hasReport) {\n const qs = queryString(document.location.search);\n\n // This prints the chosen report. If no report is specified,\n // take the first as they are sorted by desc in the backend.\n destination.report =\n destination.reports.find(\n (report) => report.version !== undefined && report.version.toString() === qs.step\n ) || destination.reports[0];\n }\n\n const requestInformation = {\n requestNumber: cas.legacyId,\n requestDate: ,\n reportDate: hasReport ? : \"\",\n priority: destination.request.priority.name,\n requester: destination.requester.fullName,\n treatingPhysician: cas.treatingPhysician ? cas.treatingPhysician.fullName : \"\",\n provider: destination.reporter ? destination.reporter.fullName : \"\",\n requestingCenter: destination.request.clinicalDomain.name,\n destination: destination.toDepartment.name,\n requestType: (\n \n ),\n reason: destination.request.medicalReason,\n };\n\n const reportDetails = hasReport\n ? {\n conclusion: destination.report.conclusion.name,\n diagnosis: destination.report.diagnosis,\n }\n : {};\n\n const isPreliminaryReport = hasReport && destination.report.type === ReportTypes.Preliminary;\n const isFinalReport = hasReport && destination.report.type === ReportTypes.Final;\n const isAmendedReport = hasReport && destination.report.type === ReportTypes.Amended;\n\n return (\n
\n {isPreliminaryReport && (\n
\n \n
\n )}\n \n }\n />\n \n }>\n {destination.request.text}\n \n {destination.request.formData && (\n \n )}\n {destination.request.attachments.length > 0 && (\n \n

\n \n

\n

\n \n

\n \n
\n )}\n {destination.additionalInformationRequests.filter((x) => x.target === \"REQUESTER\").length >\n 0 && (\n \n

\n \n

\n {destination.additionalInformationRequests\n .filter((x) => x.target === \"REQUESTER\")\n .map((request) => (\n \n ))}\n
\n )}\n {hasReport && (\n }>\n \n {destination.report.text && (\n }>\n {destination.report.text}\n \n )}\n {hasReport && destination.report.formData && (\n \n )}\n {destination.report.attachments.length > 0 && (\n }>\n \n \n )}\n \n )}\n {destination.additionalInformationRequests.filter((x) => x.target === \"REPORTER\").length >\n 0 && (\n \n

\n \n

\n {destination.additionalInformationRequests\n .filter((x) => x.target === \"REPORTER\")\n .map((request) => (\n \n ))}\n
\n )}\n {hasReport && destination.report.isSigned && (\n \n )}\n {isFinalReport && (\n

\n \n

\n )}\n {isAmendedReport && (\n

\n \n

\n )}\n
\n );\n};\n\nGenericRequestPrint.propTypes = {\n case: CasePropTypes,\n viewer: ViewerPropTypes,\n intl: intlShape,\n};\n\nexport default Relay.createContainer(injectIntl(GenericRequestPrint), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${ClinicalDomainSubForm.getFragment(\"viewer\")}\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n ${MUHCReportPrintHeader.getFragment(\"case\")}\n ${AdditionalInformation.getFragment(\"case\")}\n legacyId\n\n patient {\n ${MUHCReportPrintHeader.getFragment(\"patient\")}\n ${PatientSectionPrint.getFragment(\"patient\")}\n demographic {\n lastName\n firstName\n birthday\n age\n motherFirstName\n motherLastName\n motherMaidenName\n fatherFirstName\n fatherLastName\n }\n\n healthInsurance {\n ${HealthInsurance.getFragment(\"healthInsurance\")}\n }\n }\n\n treatingPhysician {\n fullName\n }\n\n data {\n ... on ConversationConsultData {\n extraData {\n ... on GenericConversationConsultData {\n destinations {\n ${AdditionalInformation.getFragment(\"destination\")}\n id\n requester {\n fullName\n }\n reporter {\n fullName\n }\n toDepartment {\n ${MUHCReportPrintHeader.getFragment(\"department\")}\n name\n }\n additionalInformationRequests {\n ${AdditionalInformation.getFragment(\"request\")}\n id\n target\n }\n request {\n timestamp\n formData\n priority {\n id\n name\n }\n clinicalDomain {\n id\n name\n }\n attachments {\n ${InlineAttachments.getFragment(\"attachments\")}\n }\n text\n modality\n externalConferenceNumber\n medicalReason\n }\n reports {\n type\n timestamp\n formData\n version\n conclusion {\n name\n }\n diagnosis\n text\n attachments {\n ${InlineAttachments.getFragment(\"attachments\")}\n }\n isSigned\n signature {\n signedOn\n firstName\n lastName\n licenseNumber\n }\n }\n }\n }\n }\n }\n }\n }\n `,\n },\n});\n","import { Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React, { useEffect, useState, useRef } from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { Card, CardText, CardTitle } from \"react-toolbox/lib/card\";\n\nimport { MenuAnchors, MenuNames } from \"~/src/js/hooks/urls\";\nimport { UrlAnchor } from \"~/src/js/components/shared/Urls\";\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { CaseAdminNotes } from \"~/src/js/components/shared/Notes\";\nimport { StickyFooter } from \"~/src/js/components/shared/StickyFooter\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport { RequestInformation } from \"~/src/js/components/forms/GENERICv2/requestInformation\";\n\nimport { registerAutoSave, unregisterAutoSave } from \"../../../../helpers/autoSave\";\nimport { handleFormsyInvalidSubmit } from \"../../../../helpers/errors\";\nimport {\n resetUserItem,\n ResetUserItemMutation,\n saveUserItem,\n SaveUserItemMutation,\n} from \"../../../savedItems/savedItemHelpers\";\nimport { Destination } from \"../destination\";\nimport DialogDelete from \"../destinationReadOnly/DialogDelete\";\nimport { emptyDestination, getDestinations, isEmptyDestination } from \"../helpers\";\nimport { onSubmitCase } from \"../mutations\";\n\nimport styles from \"./NewGenericRequest.style\";\nimport { messages } from \"../i18n\";\n\nconst autoSaveName = \"GenericRequestNew\";\nlet timeoutId = null;\n\nexport const NewGenericRequest = ({\n case: cas,\n intl: { formatMessage },\n relay,\n viewer,\n showToastNotification,\n}) => {\n const [newDestinations, setNewDestinations] = useState([]);\n const [subFormsDataDestinations, setSubFormsDataDestinations] = useState({});\n const [isSubFormValid, setIsSubFormValid] = useState(true);\n const [files, setFiles] = useState([]);\n const [submitting, setSubmitting] = useState(false);\n const [saving, setSaving] = useState(false);\n const [canceling, setCanceling] = useState(false);\n const [errors, setErrors] = useState([]);\n const [destinationDomainIds, setDestinationDomainIds] = useState([]);\n const [parsedData, setParsedData] = useState({ destinations: [] });\n const [isUploading, setIsUploading] = useState(false);\n const [isFormsyValid, setIsFormsyValid] = useState(true);\n const formRef = useRef(null);\n\n const { canCancel } = cas.data.permissions;\n const { canAddDestination } = cas.data.extraData.permissions;\n\n const handleChangeDestinationSubFormData = (id, data, formVersion) => {\n const newSubFormData = {\n ...subFormsDataDestinations,\n [id]: { formResults: { ...data }, formVersion: formVersion },\n };\n setSubFormsDataDestinations(newSubFormData);\n beginAutoSave(newSubFormData);\n };\n\n // Loads the savedItem when component mounts with case ID from Relay\n useEffect(() => {\n relay.setVariables({ entityId: cas.id });\n }, [cas.id]);\n\n // Parses draft data from savedItem and updates local state\n const hasItem = Boolean(viewer.savedItem);\n useEffect(() => {\n if (viewer.savedItem && viewer.savedItem.hasData) {\n const parsed = JSON.parse(viewer.savedItem.data);\n setParsedData(parsed);\n setFiles(parsed.filesToUpload);\n setNewDestinations(\n Object.keys(parsed.destinations)\n .map((x) => (isEmptyDestination(x) ? emptyDestination(x) : null))\n .filter((x) => Boolean(x))\n );\n setDestinationDomainIds(\n Object.keys(parsed.destinations).map((x) => parsed.destinations[x].clinicalDomain)\n );\n }\n }, [hasItem]);\n\n // Registers callback from unmount to cancel any remaining auto-save.\n useEffect(() => {\n return () => {\n unregisterAutoSave(autoSaveName);\n };\n }, []);\n\n const handleAddDestination = () => setNewDestinations([...newDestinations, emptyDestination()]);\n\n const handleRemoveDestination = (id) =>\n setNewDestinations(newDestinations.filter((d) => d.id !== id));\n\n const handleSubmit = async (data) => {\n setSubmitting(true);\n const destinations = getDestinations(data);\n setErrors(null);\n onSubmitCase(\n cas,\n destinations,\n files.map((file) => file.id),\n data.text,\n viewer,\n subFormsDataDestinations\n )\n .then(() => {\n setSubmitting(false);\n clearTimeout(timeoutId);\n resetUserItem(viewer.savedItem, cas.id, autoSaveName);\n })\n .catch((errors) => {\n setSubmitting(false);\n setErrors(errors);\n });\n };\n\n const appendSubFormDataToDraftData = (data, subFormData) => {\n if (subFormData) {\n const destinationsId = Object.keys(subFormData);\n destinationsId.forEach((id) => {\n data.destinations[id] = { ...data.destinations[id] };\n data.destinations[id].formResults = JSON.stringify(subFormData[id].formResults);\n data.destinations[id].formVersion = subFormData[id].formVersion;\n });\n }\n\n return data;\n };\n\n const handleSaveData = (subFormData) => {\n setSaving(true);\n const data = appendSubFormDataToDraftData(formRef.current.getModel(), subFormData);\n saveUserItem(viewer.savedItem, cas.id, autoSaveName, {\n ...data,\n filesToUpload: files,\n })\n .then(() => {\n setSaving(false);\n showToastNotification(formatMessage(baseI18n.global.draftSaved), \"accept\");\n })\n .catch((errors) => {\n setSaving(false);\n clearTimeout(timeoutId);\n setErrors(errors);\n });\n unregisterAutoSave(autoSaveName);\n };\n\n const handleSetFiles = (f) => {\n handleSaveData();\n setFiles(f);\n };\n\n const onChangeFormsy = (data) => {\n setDestinationDomainIds(\n Object.keys(data.destinations).map((x) => data.destinations[x].clinicalDomain)\n );\n beginAutoSave(subFormsDataDestinations);\n };\n\n const beginAutoSave = (subFormData) => {\n clearTimeout(timeoutId);\n registerAutoSave(autoSaveName, () => {\n handleSaveData(subFormData);\n });\n\n timeoutId = setTimeout(() => {\n handleSaveData(subFormData);\n clearTimeout(timeoutId);\n }, 10 * 1000);\n };\n\n const handleInvalidSubmit = () => handleFormsyInvalidSubmit(formRef.current);\n const handleCanceling = () => setCanceling(!canceling);\n\n const allDestinations = cas.data.extraData.destinations.concat(newDestinations);\n return (\n
\n setIsFormsyValid(false)}\n onValidSubmit={handleSubmit}\n onValid={() => setIsFormsyValid(true)}\n onChange={onChangeFormsy}\n ref={formRef}>\n \n \n \n \n\n {allDestinations.map((destination, index) => (\n 0 ? handleRemoveDestination : null}\n viewer={viewer}\n defaultData={parsedData.destinations[destination.id]}\n formRef={formRef}\n onIsSubFormValidChange={setIsSubFormValid}\n handleChangeDestinationSubFormData={handleChangeDestinationSubFormData}\n />\n ))}\n\n {canAddDestination && (\n \n \n \n )}\n \n\n \n\n \n \n \n {!isSubFormValid || !isFormsyValid\n ? formatMessage(baseI18n.global.fillAllMandatoryFields)\n : formatMessage(messages.submit)}\n \n handleSaveData(subFormsDataDestinations)}>\n {formatMessage(messages.saveAsDraft)}\n \n {canCancel && (\n \n {formatMessage(baseI18n.global.cancel)}\n \n )}\n \n \n\n setErrors(errors)}\n onSuccess={handleCanceling}\n open={canceling}\n viewer={viewer}\n />\n \n \n \n
\n );\n};\n\nNewGenericRequest.propTypes = {\n case: PropTypes.object,\n intl: intlShape,\n viewer: PropTypes.object,\n showToastNotification: PropTypes.func,\n handleChangeDestinationSubFormData: PropTypes.func,\n};\n\nconst mapStateToProps = () => ({});\nconst mapDispatchToProps = {\n showToastNotification: showDialogNotice,\n};\n\nexport default Relay.createContainer(\n connect(mapStateToProps, mapDispatchToProps)(injectIntl(NewGenericRequest)),\n {\n initialVariables: {\n entityId: null,\n hasEntityId: false,\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n hasEntityId: Boolean(prevVariables.entityId),\n };\n },\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n ${RequestInformation.getFragment(\"case\")}\n ${DialogDelete.getFragment(\"case\")}\n ${CaseAdminNotes.getFragment(\"case\")}\n ${Destination.getFragment(\"case\")}\n id\n\n data {\n ... on ConversationConsultData {\n permissions {\n canCancel\n }\n extraData {\n ... on GenericConversationConsultData {\n permissions {\n canAddDestination\n }\n\n destinations {\n ${Destination.getFragment(\"destination\")}\n id\n status {\n code\n }\n }\n }\n }\n }\n }\n }\n `,\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${CaseAdminNotes.getFragment(\"viewer\")}\n ${Destination.getFragment(\"viewer\")}\n ${RequestInformation.getFragment(\"viewer\")}\n ${DialogDelete.getFragment(\"viewer\")}\n\n savedItem(\n entityId: $entityId,\n purpose: \"GenericRequestNew\"\n ) @include(if: $hasEntityId) {\n ${ResetUserItemMutation.getFragment(\"item\")}\n ${SaveUserItemMutation.getFragment(\"item\")}\n data\n hasData\n savedOn\n }\n }\n `,\n },\n }\n);\n","export const NavActionTypes = {\n toggle: \"TOGGLE_NAV\",\n changeDirection: \"CHANGE_DIRECTION_NAV\",\n};\n","import { NavActionTypes } from \"./NavActionTypes\";\n\nexport const navReducer = (state, action) => {\n switch (action.type) {\n case NavActionTypes.toggle: {\n const { payload } = action;\n return {\n ...state,\n activeId: payload.id,\n };\n }\n case NavActionTypes.changeDirection: {\n const { payload } = action;\n return {\n ...state,\n direction: payload.direction,\n };\n }\n default:\n return state;\n }\n};\n","import React, { createContext } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { useNavReducer } from \"./hooks\";\n\nexport const NavContext = createContext({\n activeKey: null,\n direction: null,\n state: {},\n isActive: () => false,\n toggle: () => null,\n});\n\nconst NavProvider = ({ activeId, children, initialState }) => {\n const navReducer = useNavReducer(initialState, activeId);\n\n return {children};\n};\n\nNavProvider.propTypes = {\n activeId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n initialState: PropTypes.object,\n};\n\nexport default NavProvider;\n","import { useReducer, useEffect } from \"react\";\n\nimport { NavActionTypes } from \"./NavActionTypes\";\nimport { navReducer } from \"./navReducer\";\n\nexport const useNavReducer = (initialState, activeId) => {\n const [state, dispatch] = useReducer(navReducer, initialState);\n\n useEffect(() => {\n toggle(activeId);\n }, [activeId]);\n\n const changeDirection = (direction) => {\n dispatch({ type: NavActionTypes.changeDirection, payload: { direction: direction } });\n };\n\n const toggle = (id) => {\n dispatch({ type: NavActionTypes.toggle, payload: { id: id } });\n };\n\n const isActive = (id) => id === state.activeId;\n\n return {\n activeKey: state.activeId,\n direction: state.direction,\n state,\n changeDirection,\n isActive,\n toggle,\n };\n};\n","import React, { useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport classnames from \"classnames\";\n\nimport { NavContext } from \"./NavProvider\";\n\nimport styles from \"./Nav.style\";\n\nconst NavMenu = ({ className, children }) => {\n const { direction } = useContext(NavContext);\n const classes = classnames(styles[\"nav\"], styles[direction], className);\n return
{children}
;\n};\n\nNavMenu.propTypes = {\n className: PropTypes.string,\n};\n\nexport default NavMenu;\n","import React, { useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport classnames from \"classnames\";\n\nimport { NavContext } from \"./NavProvider\";\n\nimport styles from \"./NavItem.style\";\n\nconst NavItem = ({ className, children, disableNavStyling, id, onClick, ...props }) => {\n const { direction, isActive, toggle } = useContext(NavContext);\n const classes = classnames(\n { [styles[\"nav-item\"]]: !disableNavStyling },\n styles[direction],\n { [styles[\"active\"]]: isActive(id) && !disableNavStyling },\n className\n );\n\n const handleClick = () => {\n if (onClick) {\n onClick(id);\n }\n toggle(id);\n };\n\n return (\n
\n {children}\n
\n );\n};\n\nNavItem.propTypes = {\n className: PropTypes.string,\n disableNavStyling: PropTypes.bool,\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n onClick: PropTypes.func,\n};\n\nexport default NavItem;\n","import PropTypes from \"prop-types\";\n\nexport const NavDirection = Object.freeze({\n row: \"row\",\n column: \"column\",\n});\nexport const NavDirectionPropType = PropTypes.oneOf(Object.values(NavDirection));\n","import React, { useContext } from \"react\";\nimport PropTypes from \"prop-types\";\nimport classnames from \"classnames\";\n\nimport { NavContext } from \"./NavProvider\";\n\nimport styles from \"./NavContent.style\";\n\nconst NavContent = ({ id, className, children }) => {\n const { isActive } = useContext(NavContext);\n const classes = classnames(\n styles[\"nav-content\"],\n { [styles[\"active\"]]: isActive(id) },\n className\n );\n return
{children}
;\n};\n\nNavContent.propTypes = {\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n className: PropTypes.string,\n};\n\nexport default NavContent;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { NavDirectionPropType } from \"./propTypes\";\nimport NavProvider from \"./NavProvider\";\n\nconst Nav = ({ activeId, children, direction }) => {\n const initialState = {\n activeId: activeId,\n direction: direction,\n };\n\n return (\n \n {children}\n \n );\n};\n\nNav.propTypes = {\n activeId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n defaultActiveId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n direction: NavDirectionPropType,\n};\n\nexport default Nav;\n","export const messages = {\n adminNotes: {\n id: \"notes.admin.title\",\n description: \"Title for administrative notes\",\n },\n history: {\n id: \"genericRequest.requestHistory\",\n description: \"Title for request history\",\n },\n requestInformation: {\n id: \"genericRequest.requestInformationTitle\",\n description: \"Title for request information\",\n },\n report: {\n id: \"genericRequest.report.title\",\n description: \"Title for report\",\n },\n destinations: {\n id: \"genericRequest.destinations\",\n description: \"Title for destinations\",\n },\n clinicalInformation: {\n id: \"genericRequest.clinicalInformation\",\n description: \"Title for clinical information\",\n },\n additionalInformation: {\n id: \"genericRequest.additionalInformationEnquiry\",\n description: \"Title additional information\",\n },\n reportClarifications: {\n id: \"genericRequest.reportClarificationsTitle\",\n description: \"Title report clarifications title\",\n },\n};\n","import React, { useState, useEffect } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { useMenuUrlAnchors } from \"~/src/js/hooks\";\nimport { MenuAnchors, MenuNames } from \"~/src/js/hooks/urls\";\nimport { CasePropTypes } from \"~/src/js/PropTypes/Case\";\nimport { Nav, NavMenu, NavItem, NavDirection } from \"~/src/js/components/shared/Nav\";\nimport { CaseAdminNotesTitleAndCount } from \"~/src/js/components/shared/Notes/CaseAdminNotes\";\n\nimport { messages } from \"./GenericRequestMenu.i18n\";\n\n// TODO: https://akinox.atlassian.net/browse/AKP-1695\nexport const GenericRequestMenu = ({ case: cas }) => {\n const { destinations } = cas.data.extraData;\n const hasHistory = destinations.some((destination) => destination.history.length > 0);\n const hasAdditionalInformation = destinations.some((destination) =>\n destination.additionalInformationRequests.some((info) => info.target === \"REQUESTER\")\n );\n const hasReportClarifications = destinations.some((destination) =>\n destination.additionalInformationRequests.some((info) => info.target === \"REPORTER\")\n );\n const hasReports = destinations.some((destination) => destination.reports.length > 0);\n const [isReady, setIsReady] = useState(false);\n const { anchors, selectedAnchors } = useMenuUrlAnchors({\n ids: Object.values(MenuAnchors.GenericRequestMenu),\n menuName: MenuNames.GenericRequestMenu,\n isReady: isReady,\n });\n\n useEffect(() => {\n setIsReady(true);\n }, []);\n\n const handleOnClickMenu = (key) => {\n if (anchors[key]) {\n anchors[key].scrollToElement();\n }\n };\n\n const commonNavProps = {\n direction: NavDirection.column,\n activeId: selectedAnchors[0],\n };\n\n if (cas.isFromRequesterDepartment) {\n return (\n \n );\n }\n\n return (\n \n );\n};\n\nGenericRequestMenu.propTypes = {\n case: CasePropTypes,\n};\n\nexport default Relay.createContainer(GenericRequestMenu, {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n isFromRequesterDepartment\n notes {\n ${CaseAdminNotesTitleAndCount.getFragment(\"notes\")}\n }\n data {\n ... on ConversationConsultData {\n extraData {\n ... on GenericConversationConsultData {\n destinations {\n additionalInformationRequests {\n id\n target\n }\n history {\n date\n }\n reports {\n version\n }\n }\n }\n }\n }\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React, { useState } from \"react\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter } from \"react-router\";\nimport { FormattedMessage } from \"react-intl\";\nimport classNames from \"classnames\";\n\nimport { FeatureFlagContainer } from \"~/src/js/components/shared/Features/FeatureFlagContainer\";\nimport MobileMediaQuery from \"~/src/js/components/shared/MediaQuery/MobileMediaQuery\";\nimport { PageTitle } from \"~/src/js/components/shared/PageTitle\";\nimport { ClinicianHeader } from \"~/src/js/components/shared/header\";\nimport { HideOnPrint } from \"~/src/js/components/shared/HideOnPrint\";\nimport { StatusCodes } from \"~/src/js/PropTypes/Status/StatusCodes\";\nimport { queryString } from \"~/src/js/helpers/strings\";\nimport { featureKeys, isEnabled } from \"~/src/js/helpers/features\";\n\nimport { GenericRequest } from \"./genericRequest\";\nimport { GenericRequestPrint } from \"./genericRequestPrint\";\nimport { NewGenericRequest } from \"./newGenericRequest\";\nimport styles from \"./GenericRequestPage.style.scss\";\nimport { GenericRequestMenu } from \"./genericRequest/components/menus\";\n\nimport { messages } from \"./i18n\";\n\nconst MENU_MOBILE_WIDTH = 750;\nconst MENU_TABLET_WIDTH = 1228;\n\nexport const GenericRequestPage = ({ viewer }) => {\n const [isMobile, setIsMobile] = useState(false);\n const { case: cas } = viewer;\n const destinations = cas.data.extraData.destinations;\n const isNew = destinations.filter((x) => x.status.isDraft).length === destinations.length;\n const qs = queryString();\n const displayPrint =\n Boolean(qs.print) ||\n cas.status.code === StatusCodes.ReportCompleted ||\n cas.status.code === StatusCodes.ReportAwaitingReview ||\n cas.status.code === StatusCodes.ReportAwaitingInformation;\n\n const isMenuEnabled =\n isEnabled(viewer.features, featureKeys.GenericConsult.SideMenu) && !isMobile && !qs.print;\n return (\n
\n \n \n \n {(matches) => {\n setIsMobile(matches);\n\n if (matches) {\n return null;\n }\n\n return (\n
\n \n
\n );\n }}\n
\n
\n
\n\n \n \n \n \n }\n case={cas}\n viewer={viewer}\n requester={cas.data.requester.person}\n />\n\n {isNew ? (\n \n ) : (\n \n )}\n \n {displayPrint && }\n
\n \n );\n};\n\nGenericRequestPage.propTypes = {\n viewer: PropTypes.object,\n};\n\nexport default Relay.createContainer(connect()(withRouter(GenericRequestPage)), {\n initialVariables: {\n caseId: null,\n caseLegacyId: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${NewGenericRequest.getFragment(\"viewer\")}\n ${GenericRequest.getFragment(\"viewer\")}\n ${ClinicianHeader.getFragment(\"viewer\")}\n ${GenericRequestPrint.getFragment(\"viewer\")}\n ${FeatureFlagContainer.getFragment(\"viewer\")}\n\n features\n\n case(id: $caseId, legacyId: $caseLegacyId) {\n id\n legacyId\n isDraftStatus\n updatedAt\n completedAt\n ${GenericRequest.getFragment(\"case\")}\n ${GenericRequestPrint.getFragment(\"case\")}\n ${NewGenericRequest.getFragment(\"case\")}\n ${ClinicianHeader.getFragment(\"case\")}\n ${GenericRequestMenu.getFragment(\"case\")}\n\n status {\n isDraft\n code\n }\n\n patient {\n legacyId\n }\n\n data {\n ... on ConversationConsultData {\n requester {\n person {\n ${ClinicianHeader.getFragment(\"requester\")}\n }\n }\n extraData {\n ... on GenericConversationConsultData {\n destinations {\n status {\n code\n isDraft\n }\n }\n }\n }\n }\n }\n }\n }\n `,\n savedItems: () => Relay.QL`\n fragment on RootQuery {\n features\n }\n `,\n },\n});\n","import { SET_FORM_PARAM, SET_FORM_PARAMS, SET_ALL_FORM_DATA } from \"./types\";\n\nexport const setFormParam = (caseId: string, paramKey: string, paramValue) => {\n return { type: SET_FORM_PARAM, caseId, paramKey, paramValue };\n};\n\nexport const setFormParams = (caseId: string, formData) => {\n return { type: SET_FORM_PARAMS, caseId, formData };\n};\n\nexport const setAllFormData = (caseId: string, formData) => {\n return { type: SET_ALL_FORM_DATA, caseId, formData };\n};\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { themr } from \"react-css-themr\";\nimport Slider from \"react-toolbox/lib/slider\";\n\nimport theme from \"./customSlider.theme\";\n\nexport class CustomSlider extends React.Component {\n static propTypes = {\n min: PropTypes.number,\n max: PropTypes.number,\n className: PropTypes.string,\n showLabels: PropTypes.bool,\n theme: PropTypes.object,\n };\n\n constructor(props) {\n super(props);\n }\n\n render() {\n const { showLabels, min, max, className, theme, ...props } = this.props;\n const classNames = classnames(className, theme.customSliderRoot);\n const slider = ;\n\n if (showLabels) {\n return (\n
\n
{min}
\n {slider}\n
{max}
\n
\n );\n } else {\n return slider;\n }\n }\n}\n\nexport default themr(\"AKCustomSlider\", theme)(CustomSlider);\n","/* eslint-disable */\nimport { defineMessages } from \"react-intl\";\nexport default {\n shared: defineMessages({\n summaryPageTitle: {\n id: \"shared.summaryPageTitle\",\n description: \"Summary page title\",\n defaultMessage: \"Questionnaire Summary\",\n },\n\n formIncompleteMessage: {\n id: \"shared.formIncompleteMessage\",\n description: \"Form Incomplete\",\n defaultMessage: \"The questionnaire is incomplete. You may complete it later.\",\n },\n\n nextSectionClickedDisabled: {\n id: \"shared.nextSectionClickedDisabled\",\n description: \"Warning when trying to advance to next section when some answers are missing.\",\n defaultMessage: \"Please complete the question before continuing.\",\n },\n\n formSubmitted: {\n id: \"forms.shared.formSubmitted\",\n description: \"Short message to indicate form submission success.\",\n defaultMessage: \"Your data was saved successfully.\",\n },\n\n backToList: {\n id: \"forms.shared.backToList\",\n description: \"Button label to go back to list of cases\",\n defaultMessage: \"Back to request list\",\n },\n }),\n forms: {\n // Mini Nutritional Assessment Form\n GER_MNA: defineMessages({\n name: {\n id: \"forms.GER_MNA.name\",\n description: \"Mini-Nutritional Assessment Form Name\",\n defaultMessage: \"GER_MNA Form!\",\n },\n description: {\n id: \"forms.GER_MNA.description\",\n description: \"Mini-Nutritional Assessment Form Name\",\n defaultMessage: \"GER_MNA description\",\n },\n // questions\n q1: {\n id: \"forms.GER_MNA.q1\",\n description: \"GER_MNA Form Question\",\n defaultMessage:\n \"Has food intake declined over the past 3 months due to loss of appetite, digestive problems, chewing or swallowing difficulties?\",\n },\n q1_s1: {\n id: \"forms.GER_MNA.q1_s1\",\n description: \"GER_MNA Form Question Select Option\",\n defaultMessage: \"severe decrease in food intake\",\n },\n q1_s2: {\n id: \"forms.GER_MNA.q1_s2\",\n description: \"GER_MNA Form Question Select Option\",\n defaultMessage: \"moderate decrease in food intake\",\n },\n q1_s3: {\n id: \"forms.GER_MNA.q1_s3\",\n description: \"GER_MNA Form Question Select Option\",\n defaultMessage: \"no decrease in food intake\",\n },\n q2: {\n id: \"forms.GER_MNA.q2\",\n description: \"GER_MNA Form Question\",\n defaultMessage: \"Weight loss during the last 3 months\",\n },\n q2_s1: {\n id: \"forms.GER_MNA.q2_s1\",\n description: \"GER_MNA Form Question Select Option\",\n defaultMessage: \"weight loss greater than 3 kg (6.6 lbs)\",\n },\n q2_s2: {\n id: \"forms.GER_MNA.q2_s2\",\n description: \"GER_MNA Form Question Select Option\",\n defaultMessage: \"does not know\",\n },\n q2_s3: {\n id: \"forms.GER_MNA.q2_s3\",\n description: \"GER_MNA Form Question Select Option\",\n defaultMessage: \"weight loss between 1 and 3 kg (2.2 lbs and 6.6 lbs)\",\n },\n q2_s4: {\n id: \"forms.GER_MNA.q2_s4\",\n description: \"GER_MNA Form Question Select Option\",\n defaultMessage: \"no weight loss\",\n },\n\n q3: {\n id: \"forms.GER_MNA.q3\",\n description: \"GER_MNA Form Question\",\n defaultMessage: \"Mobility\",\n },\n q3_s1: {\n id: \"forms.GER_MNA.q3_s1\",\n description: \"GER_MNA Form Question Select Option\",\n defaultMessage: \"bed or chair bound\",\n },\n q3_s2: {\n id: \"forms.GER_MNA.q3_s2\",\n description: \"GER_MNA Form Question Select Option\",\n defaultMessage: \"able to get out of bed / chair but does not go out\",\n },\n q3_s3: {\n id: \"forms.GER_MNA.q4_s3\",\n description: \"GER_MNA Form Question Select Option\",\n defaultMessage: \"goes out\",\n },\n q4: {\n id: \"forms.GER_MNA.q4\",\n description: \"GER_MNA Form Question\",\n defaultMessage: \"Has suffered psychological stress or acute disease in the past 3 months?\",\n },\n q4_s1: {\n id: \"forms.GER_MNA.q4_s1\",\n description: \"GER_MNA Form Question Select Option\",\n defaultMessage: \"yes\",\n },\n q4_s2: {\n id: \"forms.GER_MNA.q4_s2\",\n description: \"GER_MNA Form Question Select Option\",\n defaultMessage: \"no\",\n },\n // sections\n sectionIntroductionStepName: {\n id: \"forms.GER_MNA.sectionIntroductionStepName\",\n description: \"Step Name\",\n defaultMessage: \"Introduction\",\n },\n section1StepName: {\n id: \"forms.GER_MNA.section1StepName\",\n description: \"Step Name\",\n defaultMessage: \"Screening 1/2\",\n },\n section2StepName: {\n id: \"forms.GER_MNA.section2StepName\",\n description: \"Step Name\",\n defaultMessage: \"Screening 2/2\",\n },\n section3StepName: {\n id: \"forms.GER_MNA.section3StepName\",\n description: \"Step Name\",\n defaultMessage: \"Screening Score\",\n },\n }),\n },\n};\n","/* eslint-disable camelcase */\nimport { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n title: {\n id: \"forms.RESP_EVA.header.title\",\n description: \"Respiratory Evaluation header title\",\n defaultMessage: \"Respiratory Evaluation\",\n },\n downloadName: {\n id: \"forms.RESP_EVA.downloadName\",\n description: \"Respiratory Evaluation download file name\",\n defaultMessage: \"Respiratory_Evaluation\",\n },\n q1: {\n id: \"forms.RESP_EVA.q1\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Do you ever shake your child to make him/her breathe again when asleep?\",\n },\n q2: {\n id: \"forms.RESP_EVA.q2\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Does your child stop breathing during the night?\",\n },\n q3: {\n id: \"forms.RESP_EVA.q3\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Does your child struggle to breathe while asleep?\",\n },\n q4: {\n id: \"forms.RESP_EVA.q4\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Do you have any concerns about your child's breathing while asleep?\",\n },\n q5: {\n id: \"forms.RESP_EVA.q5\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"How loud does your child snore?\",\n },\n q6: {\n id: \"forms.RESP_EVA.q6\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"How often does your child snore?\",\n },\n additionalInformation: {\n id: \"forms.RESP_EVA.additionalInformation\",\n description: \"Other important information\",\n defaultMessage: \"You may add here any important information\",\n },\n consentToSendingACopyOfTheResultsYesNo: {\n id: \"forms.RESP_EVA.consentToSendingACopyOfTheResults\",\n description: \"Consent to send result to physician\",\n defaultMessage:\n \"I agree that a copy of the results will be sent to the family physician/ paediatrician of my child\",\n },\n physicianName: {\n id: \"forms.RESP_EVA.consentToSendingACopyOfTheResults.physician\",\n description: \"Physician name\",\n defaultMessage: \"Physician name\",\n },\n clinicName: {\n id: \"forms.RESP_EVA.consentToSendingACopyOfTheResults.clinic\",\n description: \"Clinic name\",\n defaultMessage: \"Clinic name\",\n },\n clinicAddress: {\n id: \"forms.RESP_EVA.consentToSendingACopyOfTheResults.clinicAddress\",\n description: \"Address of the clinic\",\n defaultMessage: \"Clinic address\",\n },\n q00: {\n id: \"forms.RESP_EVA.q00\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage:\n \"Are you familiar with your child's sleep, frequency and intensity of snoring? (For example, do you know if your child snores every night or a few nights per week)\",\n },\n q0a: {\n id: \"forms.RESP_EVA.q0a\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Does your child have any medical problems?\",\n },\n q0a_yes: {\n id: \"forms.RESP_EVA.q0a_yes\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Please specify:\",\n },\n q0b: {\n id: \"forms.RESP_EVA.q0b\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Has your child ever had a surgery for removal of tonsils or adenoids?\",\n },\n RESP_EVA_neither: {\n id: \"forms.RESP_EVA.RESP_EVA_neither\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Neither\",\n },\n RESP_EVA_tonsils: {\n id: \"forms.RESP_EVA.RESP_EVA_tonsils\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Tonsils\",\n },\n RESP_EVA_adenoids: {\n id: \"forms.RESP_EVA.RESP_EVA_adenoids\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Adenoids\",\n },\n RESP_EVA_both: {\n id: \"forms.RESP_EVA.RESP_EVA_both\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Both\",\n },\n\n q0c: {\n id: \"forms.RESP_EVA.q0c\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Does your child currently use prescribed medication(s)?\",\n },\n q0c_option_nasal: {\n id: \"forms.RESP_EVA.q0c_option_nasal\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Nasal spray\",\n },\n q0c_nasal_meds: {\n id: \"forms.RESP_EVA.q0c_nasal_meds\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Medication name\",\n },\n q0c_nasal_length: {\n id: \"forms.RESP_EVA.q0c_nasal_length\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"For how long\",\n },\n q0c_option_others: {\n id: \"forms.RESP_EVA.q0c_option_others\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Other(s)\",\n },\n q0c_others_meds: {\n id: \"forms.RESP_EVA.q0c_others_meds\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Medication(s) name(s)\",\n },\n\n q0c2: {\n id: \"forms.RESP_EVA.q0c2\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Does your child currently use nasal sprays?\",\n },\n q0c2_nasal_add: {\n id: \"forms.RESP_EVA.q0c2_nasal_add\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Add a nasal spray\",\n },\n q0c2_nasal_name: {\n id: \"forms.RESP_EVA.q0c2_nasal_name\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Nasal spray name\",\n },\n q0c2_nasal_duration: {\n id: \"forms.RESP_EVA.q0c2_nasal_duration\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Usage duration\",\n },\n q0c2_nasal_duration_lessthanone: {\n id: \"forms.RESP_EVA.q0c2_nasal_duration_lessthanone\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Less than a month\",\n },\n q0c2_nasal_duration_onetotwo: {\n id: \"forms.RESP_EVA.q0c2_nasal_duration_onetotwo\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Between one and two months\",\n },\n q0c2_nasal_duration_twotosix: {\n id: \"forms.RESP_EVA.q0c2_nasal_duration_twotosix\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Between two and six months\",\n },\n q0c2_nasal_duration_morethansix: {\n id: \"forms.RESP_EVA.q0c2_nasal_duration_morethansix\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"More than six months\",\n },\n\n q0c3: {\n id: \"forms.RESP_EVA.q0c3\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Does your child currently use other medication?\",\n },\n\n q0c3_names: {\n id: \"forms.RESP_EVA.q0c3_names\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Write down the name of each medication\",\n },\n\n q0d: {\n id: \"forms.RESP_EVA.q0d\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Is your child overweight?\",\n },\n q0e: {\n id: \"forms.RESP_EVA.q0e\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Does your child wake up feeling unrefreshed in the morning?\",\n },\n q0f: {\n id: \"forms.RESP_EVA.q0f\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Is it hard to wake your child up in the morning?\",\n },\n q0g: {\n id: \"forms.RESP_EVA.q0g\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Is your child sleepy/tired during the day?\",\n },\n q0h: {\n id: \"forms.RESP_EVA.q0h\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Does your child have restless sleep (or moves around a lot in bed?)\",\n },\n q0i: {\n id: \"forms.RESP_EVA.q0i\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage: \"Does your child have behavioral issues/problems?\",\n },\n q0j: {\n id: \"forms.RESP_EVA.q0j\",\n description: \"Respiratory Evaluation form question\",\n defaultMessage:\n \"Does your child have difficulty organizing tasks and activities, trouble concentrating on tasks?\",\n },\n RESP_EVA_freq0: {\n id: \"forms.RESP_EVA.RESP_EVA_freq0\",\n description: \"Respiratory Evaluation form question about frequency answer\",\n defaultMessage: \"Never\",\n },\n RESP_EVA_freq1: {\n id: \"forms.RESP_EVA.RESP_EVA_freq1\",\n description: \"Respiratory Evaluation form question about frequency answer\",\n defaultMessage: \"Rarely (once/week)\",\n },\n RESP_EVA_freq2: {\n id: \"forms.RESP_EVA.RESP_EVA_freq2\",\n description: \"Respiratory Evaluation form question about frequency answer\",\n defaultMessage: \"Occasionally (twice/week)\",\n },\n RESP_EVA_freq3: {\n id: \"forms.RESP_EVA.RESP_EVA_freq3\",\n description: \"Respiratory Evaluation form question about frequency answer\",\n defaultMessage: \"Frequently (three-four times/week)\",\n },\n RESP_EVA_freq4: {\n id: \"forms.RESP_EVA.RESP_EVA_freq4\",\n description: \"Respiratory Evaluation form question about frequency answer\",\n defaultMessage: \"Almost always (>4 times a week)\",\n },\n RESP_EVA_lessfreq0: {\n id: \"forms.RESP_EVA.RESP_EVA_lessfreq0\",\n description: \"Respiratory Evaluation form question about frequency answer\",\n defaultMessage: \"No\",\n },\n RESP_EVA_lessfreq1: {\n id: \"forms.RESP_EVA.RESP_EVA_lessfreq1\",\n description: \"Respiratory Evaluation form question about frequency answer\",\n defaultMessage: \"Sometimes\",\n },\n RESP_EVA_lessfreq2: {\n id: \"forms.RESP_EVA.RESP_EVA_lessfreq2\",\n description: \"Respiratory Evaluation form question about frequency answer\",\n defaultMessage: \"Frequently\",\n },\n RESP_EVA_loud0: {\n id: \"forms.RESP_EVA.RESP_EVA_loud0\",\n description: \"Respiratory Evaluation form question about noise loudness answer\",\n defaultMessage: \"Mildly, Quiet\",\n },\n RESP_EVA_loud1: {\n id: \"forms.RESP_EVA.RESP_EVA_loud1\",\n description: \"Respiratory Evaluation form question about noise loudness answer\",\n defaultMessage: \"Medium loud\",\n },\n RESP_EVA_loud2: {\n id: \"forms.RESP_EVA.RESP_EVA_loud2\",\n description: \"Respiratory Evaluation form question about noise loudness answer\",\n defaultMessage: \"Loud\",\n },\n RESP_EVA_loud3: {\n id: \"forms.RESP_EVA.RESP_EVA_loud3\",\n description: \"Respiratory Evaluation form question about noise loudness answer\",\n defaultMessage: \"Very loud\",\n },\n RESP_EVA_loud4: {\n id: \"forms.RESP_EVA.RESP_EVA_loud4\",\n description: \"Respiratory Evaluation form question about noise loudness answer\",\n defaultMessage: \"Extremely loud\",\n },\n});\n\nexport default messages;\n","import arrayMove from \"array-move\";\nimport classnames from \"classnames\";\nimport throttle from \"lodash.throttle\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { SortableContainer, SortableElement, SortableHandle } from \"react-sortable-hoc\";\nimport Checkbox from \"react-toolbox/lib/checkbox\";\nimport Input from \"react-toolbox/lib/input\";\nimport inputTheme from \"react-toolbox/lib/input/theme\";\nimport { RadioGroup, RadioButton } from \"react-toolbox/lib/radio\";\n\nimport sortableHandler from \"../../../public/assets/images/icons/drag\";\nimport styles from \"../../../styles/forms\";\nimport radioButtonStyle from \"../../../styles/theme/main/radioButton\";\nimport HtmlElement from \"../shared/htmlElement\";\nimport CustomSlider from \"../shared/inputs/custom/customSlider\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\nimport i18n from \"./forms.i18n\";\nimport gerFcgaI18n from \"./GER_FCGA/GER_FCGA_form.i18n\";\nimport respEvaI18n from \"./RESP_EVA/RESP_EVA_form.i18n\";\n\nconst { forms } = i18n;\nforms[\"GER_FCGA\"] = gerFcgaI18n;\nforms[\"RESP_EVA\"] = respEvaI18n;\n\nexport function bindable() {\n const result = Object.entries(allBindables).map(([name, func]) => ({ name, func }));\n return result;\n}\n\nexport function t(key, values) {\n return this.props.intl.formatMessage(key, values);\n}\n\nfunction h2Tag(txt) {\n return (\n \") }}\n className={styles[\"question-title\"]}\n />\n );\n}\n\nexport function yesNoLabel(value) {\n return value === \"YES\"\n ? this.t(baseI18n.global.labelYes)\n : value === \"NO\"\n ? this.t(baseI18n.global.labelNo)\n : value === \"DONTKNOW\"\n ? this.t(baseI18n.global.labelDontKnow)\n : \"\";\n}\n\nclass _YesNo extends React.Component {\n static propTypes = {\n value: PropTypes.string,\n formCode: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n fieldKey: PropTypes.string.isRequired,\n handleChange: PropTypes.func.isRequired,\n disableFormFields: PropTypes.bool,\n showValidations: PropTypes.bool,\n autoFocus: PropTypes.bool,\n includeDontKnow: PropTypes.bool,\n intl: intlShape,\n };\n\n render() {\n const t = this.props.intl.formatMessage;\n const {\n value: radioValue,\n formCode,\n title,\n fieldKey: key,\n disableFormFields,\n showValidations,\n autoFocus,\n includeDontKnow,\n handleChange,\n } = this.props;\n const disabled = disableFormFields || false;\n const showError = showValidations && !radioValue;\n return (\n \n {h2Tag(title)}\n {\n handleChange(key, val);\n }}>\n handleChange(key, \"YES\")}\n disabled={disabled}\n />\n handleChange(key, \"NO\")}\n disabled={disabled}\n />\n {includeDontKnow && (\n handleChange(key, \"DONTKNOW\")}\n disabled={disabled}\n />\n )}\n \n {showError && (\n
\n {this.props.intl.formatMessage(baseI18n.error.fieldRequiredChoice)}\n
\n )}\n \n );\n }\n}\n\nexport const YesNo = injectIntl(_YesNo);\n\nexport function yesno(key, autoFocus = false, includeDontKnow = false) {\n const t = this.props.intl.formatMessage;\n const text = forms[this.formCode()][key];\n const value = this.formVal(key);\n return (\n \n );\n}\n\nclass _RadioButtons extends React.Component {\n static propTypes = {\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n formCode: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n labels: PropTypes.arrayOf(PropTypes.string),\n values: PropTypes.arrayOf(\n PropTypes.shape({\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).isRequired,\n title: PropTypes.any.isRequired,\n })\n ),\n fieldKey: PropTypes.string.isRequired,\n handleChange: PropTypes.func.isRequired,\n disableFormFields: PropTypes.bool,\n showValidations: PropTypes.bool,\n autoFocus: PropTypes.bool,\n intl: intlShape,\n };\n\n render() {\n const {\n value: radioValue,\n formCode,\n title,\n fieldKey: key,\n disableFormFields,\n showValidations,\n labels,\n values,\n autoFocus,\n handleChange,\n } = this.props;\n const disabled = disableFormFields || false;\n const showError = showValidations && !radioValue;\n return (\n \n

{labels ? labels[0] : title}

\n {labels && labels.length > 1 && (\n
\n {labels.map((label, index) => {\n if (index > 0) {\n return

{label}

;\n }\n })}\n
\n )}\n {\n handleChange(key, val);\n }}>\n {values.map((param, index) => {\n const { value, title } = param;\n return (\n }\n value={value && typeof value !== \"string\" ? value.toString() : value}\n name={`${formCode}_${key}`}\n autoFocus={autoFocus && index === 0 ? focus : \"\"}\n checked={radioValue === value}\n onChange={() => handleChange(key, value)}\n disabled={disabled}\n />\n );\n })}\n \n {showError && (\n
\n {this.props.intl.formatMessage(baseI18n.error.fieldRequiredChoice)}\n
\n )}\n \n );\n }\n}\n\nexport const RadioButtons = injectIntl(_RadioButtons);\n\nexport function radio(key, values, autoFocus = false, labels = null) {\n const newLabels =\n labels && Array.isArray(labels) ? labels.map((x) => this.t(forms[this.formCode()][x])) : null;\n const newValues = values.map((param) => {\n const selectionKey = Object.keys(param)[0];\n const optionValue = Object.values(param)[0];\n let text = forms[this.formCode()][`${key}_${selectionKey}`];\n if (selectionKey.indexOf(this.formCode()) === 0) {\n text = forms[this.formCode()][selectionKey];\n }\n return { value: text ? optionValue : selectionKey, title: text ? this.t(text) : optionValue };\n });\n const title = forms[this.formCode()][key];\n return (\n \n );\n}\n\nexport function checkbox(\n paramKey: string,\n values: any,\n minimumRequiredAnswers?: number,\n autoFocus = false,\n maximumRequiredAnswers?: number\n) {\n const disabled = typeof this.disableFormFields === \"function\" ? this.disableFormFields() : false;\n const caseId = this.props.viewer.case.id;\n const paramValue = this.checkboxVal(paramKey);\n let inputValue = paramValue;\n const count = Object.keys(paramValue || {}).filter((x) => Boolean(paramValue[x])).length;\n let errorKey = null;\n let errorArgs = {};\n if (count <= 0) {\n errorKey = baseI18n.error.fieldRequiredChoice;\n }\n const hasMin = typeof minimumRequiredAnswers !== \"undefined\",\n hasMax = typeof maximumRequiredAnswers !== \"undefined\";\n if ((hasMin && count < minimumRequiredAnswers) || (hasMax && count > maximumRequiredAnswers)) {\n inputValue = null;\n if (hasMin && !hasMax) {\n errorKey = baseI18n.error.fieldRequiredChoiceMin;\n errorArgs = { min: minimumRequiredAnswers };\n } else if (!hasMin && hasMax) {\n errorKey = baseI18n.error.fieldRequiredChoiceMax;\n errorArgs = { max: maximumRequiredAnswers };\n } else {\n errorKey =\n minimumRequiredAnswers === maximumRequiredAnswers\n ? baseI18n.error.fieldRequiredChoiceExactly\n : baseI18n.error.fieldRequiredChoiceMinMax;\n errorArgs = { min: minimumRequiredAnswers, max: maximumRequiredAnswers };\n }\n }\n\n const showError = this.showValidations && this.showValidations() && !inputValue;\n return (\n \n

{this.label(paramKey)}

\n
\n {values.map((param, index) => {\n const selectionKey = Object.keys(param)[0];\n const optionDisabled = param.disabled;\n const text = forms[this.formCode()][`${paramKey}_${selectionKey}`];\n return (\n {\n paramValue[selectionKey] = val;\n this.props.setFormParam({\n formCode: this.formCode(),\n paramKey,\n paramValue,\n caseId,\n });\n }}\n />\n );\n })}\n
\n {showError && (\n
\n {this.props.intl.formatMessage(errorKey, errorArgs)}\n
\n )}\n \n );\n}\n\nexport function formCode() {\n return this.props.formCode || this.state.formCode;\n}\n\nexport function label(paramKey) {\n const text = forms[this.formCode()][paramKey];\n return text ? this.t(text) : paramKey;\n}\n\nexport function checkboxVal(key) {\n return this.formVal(key) || {};\n}\n\nexport function formVal(key) {\n const caseId = this.props.viewer.case.id;\n return this.props.formsReducer[caseId] && this.props.formsReducer[caseId][key];\n}\n\nexport function number(key, min = null, max = null) {\n const disabled = typeof this.disableFormFields === \"function\" ? this.disableFormFields() : false;\n const value = this.formVal(key);\n const label = this.t(forms[this.formCode()][key]);\n\n let val = value || \"\";\n const numVal = new Number(value);\n let errorKey = null;\n let errorArgs = {};\n if (val === \"\") {\n val = null;\n errorKey = baseI18n.error.fieldRequired;\n } else if (isNaN(numVal) || val.includes(\".\") || val.includes(\",\") || val.includes(\"e\")) {\n val = null;\n errorKey = baseI18n.error.numberFormat;\n } else if ((min !== null && numVal < min) || (max !== null && numVal > max)) {\n val = null;\n if (min !== null && max === null) {\n errorKey = baseI18n.error.numberMin;\n errorArgs = { min };\n } else if (min === null && max !== null) {\n errorKey = baseI18n.error.numberMax;\n errorArgs = { max };\n } else {\n errorKey = baseI18n.error.numberMinMax;\n errorArgs = { min, max };\n }\n }\n const showError = this.showValidations && this.showValidations() && errorKey;\n\n return (\n
\n

{label}

\n {\n this.handleChange(key, val);\n }}\n disabled={disabled}\n min={min === null ? null : min}\n max={max === null ? null : max}\n />\n {showError && (\n
\n {this.props.intl.formatMessage(errorKey, errorArgs)}\n
\n )}\n
\n );\n}\n\nclass _TextField extends React.Component {\n static propTypes = {\n value: PropTypes.string,\n formCode: PropTypes.string.isRequired,\n title: PropTypes.string,\n fieldKey: PropTypes.string.isRequired,\n handleChange: PropTypes.func.isRequired,\n disableFormFields: PropTypes.bool,\n showValidations: PropTypes.bool,\n useInputLabel: PropTypes.bool,\n multiline: PropTypes.bool,\n optional: PropTypes.bool,\n autoFocus: PropTypes.bool,\n style: PropTypes.object,\n intl: intlShape,\n };\n\n render() {\n const {\n value,\n formCode,\n title,\n fieldKey: key,\n disableFormFields,\n showValidations,\n autoFocus,\n optional,\n useInputLabel,\n multiline,\n handleChange,\n style,\n } = this.props;\n\n const disabled = disableFormFields || false;\n let divValue = value;\n if (!value && optional) {\n divValue = \"true\";\n }\n const showError = showValidations && !value;\n return (\n \n {!useInputLabel && }\n {\n handleChange(key, val);\n }}\n disabled={disabled}\n name={`${formCode}_${key}`}\n />\n {showError && (\n
\n {this.props.intl.formatMessage(baseI18n.error.fieldRequired)}\n
\n )}\n \n );\n }\n}\n\nexport const TextField = injectIntl(_TextField);\n\nexport function text(key, useInputLabel: boolean, multiline: boolean, options) {\n const t = this.props.intl.formatMessage;\n const value = this.formVal(key);\n const text = forms[this.formCode()][key];\n const title = text ? t(text) : key;\n return (\n \n );\n}\n\nexport function textQuestion(key, multiline: boolean, options) {\n const t = this.props.intl.formatMessage;\n const value = this.formVal(key) || \"\";\n const text = forms[this.formCode()][key];\n const title = text ? t(text) : key;\n\n let divValue = value;\n if (!value && options.optional) {\n divValue = \"true\";\n }\n\n return (\n \n {h2Tag(title)}\n \n \n );\n}\n\nexport class DelayedInput extends React.Component {\n static propTypes = {\n value: PropTypes.string,\n onChange: PropTypes.func,\n };\n\n constructor(props) {\n super(props);\n this.state = {\n value: props.value,\n };\n\n this.doOnChange = throttle(\n (newValue) => {\n this.props.onChange(newValue);\n },\n 500,\n { leading: false }\n );\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.value !== this.props.value) {\n this.setState({ value: this.props.value });\n }\n }\n\n render() {\n // eslint-disable-next-line no-unused-vars\n const { value, onChange, ...other } = this.props;\n\n return (\n {\n this.setState({ value: newValue });\n this.doOnChange(newValue);\n }}\n {...other}\n />\n );\n }\n}\n\nexport function freeText(key) {\n return this.text(key, false, true);\n}\n\nexport function attachments(key) {\n const value = this.formVal(key);\n return (\n \n \n \n );\n}\n\nexport function slider(key, label, showLabels?: boolean) {\n const disabled = typeof this.disableFormFields === \"function\" ? this.disableFormFields() : false;\n const value =\n this.state.answers && this.state.answers[this.props.viewer.case.id]\n ? this.state.answers[this.props.viewer.case.id][key]\n : this.formVal(key);\n const showError = this.showValidations && this.showValidations() && !value;\n return (\n
\n {h2Tag(this.t(forms[this.formCode()][key]))}\n
\n

{this.t(forms[this.formCode()][`${key}_${label}`])}

\n
\n {\n this.throttleHandleChange(key, val);\n }}\n />\n {showError && (\n
\n {this.props.intl.formatMessage(baseI18n.error.fieldRequiredChoice)}\n
\n )}\n
\n );\n}\n\nexport function handleChange(key, value) {\n this.props.setFormParam({\n caseId: this.props.viewer.case.id,\n paramKey: key,\n paramValue: value,\n });\n}\n\nexport const throttledHandleChange = throttle(handleChange, 1000, {\n leading: false,\n});\n\nexport function throttleHandleChange(key, value) {\n this.setState({ answers: { [this.props.viewer.case.id]: { [key]: value } } });\n\n this.throttledHandleChange(key, value);\n}\n\nexport function sortableList(paramKey: string, values: any) {\n let items;\n const disabled = typeof this.disableFormFields === \"function\" ? this.disableFormFields() : false;\n if (this.formVal(paramKey) !== undefined) {\n items = this.formVal(paramKey);\n // support of previous values, iut was an arrya object\n if (items.length > 0 && typeof items[0] === \"object\") {\n items = items.map((x) => x.value);\n }\n } else {\n items = values.map((x) => x.value);\n this.props.setFormParam({\n formCode: this.formCode(),\n paramKey: paramKey,\n paramValue: items,\n caseId: this.props.viewer.case.id,\n });\n }\n const sortedItems = items.map((x) => values.filter((y) => y.value === x)[0]);\n return (\n {\n this.props.setFormParam({\n formCode: this.formCode(),\n paramKey: paramKey,\n paramValue: val.map((x) => x.value),\n caseId: this.props.viewer.case.id,\n });\n }}\n disabled={disabled}\n />\n );\n}\n\nexport class SortableComponent extends React.Component {\n static propTypes = {\n items: PropTypes.arrayOf(\n PropTypes.shape({\n value: PropTypes.string,\n label: PropTypes.string,\n })\n ),\n onSortEnd: PropTypes.func,\n disabled: PropTypes.bool,\n };\n\n constructor(props) {\n super(props);\n }\n render() {\n const DragHandle = SortableHandle(() => (\n \n ));\n const SortableItem = SortableElement(({ value, disabled }) => (\n
  • \n {value}\n {disabled}\n \n
  • \n ));\n\n const SortableList = SortableContainer(({ items, disabled, ...others }) => {\n return (\n
      \n {items.map((value, index) => (\n \n ))}\n
    \n );\n });\n const { items, onSortEnd, ...others } = this.props;\n return (\n {\n onSortEnd(arrayMove(items, oldIndex, newIndex));\n }}\n {...others}\n />\n );\n }\n}\n\nconst allBindables = {\n t,\n yesNoLabel,\n yesno,\n radio,\n checkbox,\n formCode,\n label,\n checkboxVal,\n formVal,\n number,\n text,\n textQuestion,\n freeText,\n attachments,\n slider,\n handleChange,\n throttledHandleChange,\n throttleHandleChange,\n sortableList,\n};\n","import React from \"react\";\nimport { themr } from \"react-css-themr\";\n\nimport FontIcon from \"../node_modules/react-toolbox/lib/font_icon/FontIcon.js\";\nimport { TABS } from \"../node_modules/react-toolbox/lib/identifiers.js\";\nimport { Tab } from \"../node_modules/react-toolbox/lib/tabs/Tab.js\";\nimport { TabContent } from \"../node_modules/react-toolbox/lib/tabs/TabContent.js\";\nimport { tabsFactory } from \"../node_modules/react-toolbox/lib/tabs/Tabs.js\";\nimport theme from \"../node_modules/react-toolbox/lib/tabs/theme.scss\";\n\nconst applyTheme = (Component) => themr(TABS, theme)(Component);\nconst ThemedTabContent = applyTheme(TabContent);\nconst ThemedTab = applyTheme(Tab);\nconst FactoriedTab = tabsFactory(ThemedTab, ThemedTabContent, FontIcon);\n// Copied from ../node_modules/react-toolbox/lib/tabs/Tabs.js because somehow the default\n// item.type === ThemedTab does not work! Monkey patch ahoy, but only for development apparently!\nif (process.env.NODE_ENV !== \"production\") {\n FactoriedTab.prototype.parseChildren = function () {\n const headers = [];\n const contents = [];\n\n React.Children.forEach(this.props.children, (item) => {\n if (item.type.prototype instanceof ThemedTab) {\n headers.push(item);\n if (item.props.children) {\n contents.push(\n {item.props.children}\n );\n }\n } else if (item.type.prototype instanceof ThemedTabContent) {\n contents.push(item);\n }\n });\n\n return { headers, contents };\n };\n}\nconst ThemedTabs = applyTheme(FactoriedTab);\n\nexport { ThemedTab as Tab };\nexport { ThemedTabs as Tabs };\n","import Relay from \"react-relay/classic\";\n\nexport default class CompletePatientAssessmentMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(CompletePatientAssessmentMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation {\n completePatientAssessmentCaseData\n }`;\n }\n\n getOptimisticResponse() {\n return {\n case: {\n isDraftStatus: false,\n },\n };\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n answers: this.props.answers,\n metadata: this.props.metadata,\n signatureToken: this.props.signatureToken,\n sendToEmr: this.props.sendToEmr,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on CompletePatientAssessmentCasePayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: COMPLETED)\n casesTotals\n }\n case\n request {\n status\n progression\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n // Hack to update Request object as well.\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n request: btoa(\"Request:\" + atob(this.props.caseId).split(\":\")[1]),\n },\n },\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on CompletePatientAssessmentCasePayload {\n case {\n status {\n code\n name\n isDraft\n }\n progression {\n ... on RequestPercentageProgression {\n percentage\n }\n\n ... on RequestTotalProgression {\n current\n total\n }\n }\n }\n request {\n status {\n code\n name\n isDraft\n }\n progression {\n ... on RequestPercentageProgression {\n percentage\n }\n\n ... on RequestTotalProgression {\n current\n total\n }\n }\n }\n }\n `,\n ],\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n isDraftStatus\n status {\n name\n }\n data {\n ... on PatientAssessmentData {\n jsonData\n }\n }\n }\n `,\n };\n}\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { themr } from \"react-css-themr\";\nimport { injectIntl, defineMessages } from \"react-intl\";\nimport Button from \"react-toolbox/lib/button\";\nimport Snackbar from \"react-toolbox/lib/snackbar\";\n\nimport formStyle from \"../../../styles/forms\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\nimport i18n from \"./forms.i18n\";\n\nexport const messages = defineMessages({\n navbarHeader: {\n id: \"forms.shared.navbarHeader\",\n description: \"The text for the header of the navbar for the forms\",\n defaultMessage: `At any time, you can save your answers to complete later.`,\n },\n});\n\nclass FormNavigation extends React.Component {\n static propTypes = {\n case: PropTypes.object,\n\n currentStep: PropTypes.number.isRequired,\n totalSteps: PropTypes.number.isRequired,\n previousSection: PropTypes.func.isRequired,\n isNextDisabled: PropTypes.bool,\n onNextDisabledClick: PropTypes.func,\n nextSection: PropTypes.func,\n submitForm: PropTypes.func,\n saveForm: PropTypes.func,\n formSubmittedNextAction: PropTypes.func,\n isFullPage: PropTypes.bool,\n onCompleteLaterClick: PropTypes.func,\n onCompleteLaterLabel: PropTypes.string,\n overrideNextButton: PropTypes.object,\n theme: PropTypes.object,\n };\n\n state = {\n dialogActive: false,\n };\n\n handleToggle = () => {\n this.setState({ dialogActive: !this.state.dialogActive });\n };\n\n actions = [{ label: this.t(baseI18n.global.close), onClick: this.handleToggle }];\n\n t(key) {\n return this.props.intl.formatMessage(key);\n }\n\n isBeginning() {\n return this.props.currentStep <= 0;\n }\n\n isEnd() {\n return this.props.currentStep >= this.props.totalSteps - 1;\n }\n\n isLastQuestion() {\n return this.props.currentStep === this.props.totalSteps - 2;\n }\n\n isDraft() {\n return this.props.case.isDraftStatus;\n }\n\n nextSection() {\n if (this.props.isNextDisabled) {\n if (this.props.onNextDisabledClick) {\n this.props.onNextDisabledClick();\n }\n\n return this.handleToggle();\n }\n\n if (this.props.isFullPage && !this.isBeginning()) {\n let result = null;\n if (this.isDraft()) {\n result = this.props.submitForm();\n }\n\n if (result !== false) {\n this.props.nextSection();\n }\n } else if (this.isLastQuestion() && this.isDraft()) {\n const result = this.props.submitForm();\n if (result !== false) {\n this.props.nextSection();\n }\n } else if (this.isLastQuestion() && !this.isDraft()) {\n this.props.nextSection();\n } else {\n this.props.saveForm();\n this.props.nextSection();\n }\n }\n\n render() {\n const buttons = [];\n const { theme } = this.props;\n\n let nextButtonProps = {\n key: \"next\",\n className: theme[\"next-button\"] + \" next\",\n type: \"button\",\n raised: true,\n };\n if (this.props.overrideNextButton !== null && this.isEnd) {\n nextButtonProps = { ...nextButtonProps, ...this.props.overrideNextButton };\n } else if (!this.isEnd() && !this.isLastQuestion()) {\n nextButtonProps[\"primary\"] = !this.props.isNextDisabled;\n nextButtonProps[\"label\"] = this.t(\n this.isBeginning()\n ? baseI18n.global.begin\n : this.props.isFullPage && this.isDraft()\n ? baseI18n.global.submit\n : baseI18n.global.next\n );\n nextButtonProps[\"onClick\"] = () => this.nextSection();\n } else if (this.isLastQuestion() && this.isDraft()) {\n nextButtonProps[\"primary\"] = !this.props.isNextDisabled;\n nextButtonProps[\"label\"] = this.t(baseI18n.global.submit);\n nextButtonProps[\"onClick\"] = () => this.nextSection();\n } else if (this.isLastQuestion() && !this.isDraft()) {\n nextButtonProps[\"primary\"] = !this.props.isNextDisabled;\n nextButtonProps[\"label\"] = this.t(baseI18n.global.next);\n nextButtonProps[\"onClick\"] = () => this.nextSection();\n } else {\n nextButtonProps[\"primary\"] = !this.props.isNextDisabled;\n nextButtonProps[\"label\"] = this.t(i18n.shared.backToList);\n nextButtonProps[\"onClick\"] = () => this.props.formSubmittedNextAction();\n }\n\n buttons.push(\n \n \n );\n\n if (setActions) {\n setActions(actions);\n }\n }, [isSubmitting]);\n\n useEffect(() => {\n completeBy.setDate(completeBy.getDate() + NUMBER_OF_DAYS_TO_COMPLETE_INVITE);\n setCompleteBy(completeBy);\n }, []);\n\n const userTypeOptions = [\n {\n label: formatMessage(i18nMessages.inviteToPortalForm.form.patientHimselfOption),\n value: INVITATION_TYPE.PATIENT,\n },\n {\n label: formatMessage(i18nMessages.inviteToPortalForm.form.newCarerOption),\n value: INVITATION_TYPE.NEW_CARER,\n },\n ];\n\n return (\n
    \n \n }\n required\n vertical\n options={userTypeOptions}\n defaultValue={userTypeOptions[0]}\n value={invitationType}\n onChange={(value) => setInvitationType(value)}\n />\n\n }\n value=\"\"\n validations={{ isEmail: true }}\n validationErrors={{\n isEmail: formatMessage(baseMessages.patients.address.emailFormatError),\n isDefaultRequiredValue: formatMessage(baseMessages.error.fieldRequired),\n }}\n />\n\n {invitationType === INVITATION_TYPE.NEW_CARER && (\n \n \n }\n value=\"\"\n validationErrors={{\n isDefaultRequiredValue: formatMessage(baseMessages.error.fieldRequired),\n }}\n />\n }\n value=\"\"\n validationErrors={{\n isDefaultRequiredValue: formatMessage(baseMessages.error.fieldRequired),\n }}\n />\n \n )}\n\n \n\n setCompleteBy(e)}\n required\n size={DatePickerSizes.large}\n />\n\n \n \n
    \n );\n};\n\nPatientUserPortalInvitationForm.propTypes = {\n patient: PatientPropTypes,\n intl: intlShape,\n onSuccess: PropTypes.func,\n onCancel: PropTypes.func,\n setActions: PropTypes.func,\n};\n\nexport default Relay.createContainer(injectIntl(PatientUserPortalInvitationForm), {\n fragments: {\n patient: () => Relay.QL`\n fragment on Patient {\n id\n\n user {\n id\n person {\n fullName\n address {\n emails\n }\n }\n }\n }\n `,\n },\n});\n","export const i18nMessages = {\n global: {\n noneSpecified: {\n id: \"global.noneSpecified\",\n description: \"None specified label\",\n defaultMessage: \"None specified\",\n },\n },\n conclusion: {\n actions: {\n scrollToConclusion: {\n id: \"global.actions.scrollToConclusion\",\n description: \"Scroll to conclusion\",\n defaultMessage: \"Scroll to conclusion\",\n },\n },\n },\n documents: {\n title: {\n id: \"global.documents.title\",\n description: \"Documents title\",\n defaultMessage: \"Documents\",\n },\n documentsWillBeSentToEmr: {\n id: \"global.documents.documentsWillBeSentToEmr\",\n description: \"Documents complete message\",\n defaultMessage: \"The following documents will be sent to ECR independently\",\n },\n },\n forms: {\n patient: {\n title: {\n id: \"forms.patient.title\",\n description: \"Patient Message form title\",\n defaultMessage: \"Patient Message #{caseId}\",\n },\n downloadName: {\n id: \"forms.patient.downloadName\",\n description: \"Patient conversation download file name\",\n defaultMessage: \"Patient_Conversation\",\n },\n pdfHeaderTitle: {\n id: \"forms.patient.title.pdf\",\n description: \"Patient Message title for custom print header\",\n defaultMessage: \"Patient Message\",\n },\n conversationCompleted: {\n id: \"forms.patient.conversationCompleted\",\n description: \"Patient conversation completed\",\n defaultMessage: \"This conversation is completed\",\n },\n printConversationCompleted: {\n id: \"forms.patient.printConversationCompleted\",\n description: \"Print conversation conclusion\",\n defaultMessage: \"Print conversation conclusion\",\n },\n },\n },\n patient: {\n noUser: {\n id: \"patient.noUser\",\n description: \"Warning when no user associated to the patient\",\n },\n communication: {\n history: {\n id: \"patient.communication.history\",\n description: \"Communication history\",\n },\n newMessage: {\n id: \"patient.communication.newMessage\",\n description: \"New message\",\n },\n reply: {\n id: \"patient.communication.reply\",\n description: \"Reply\",\n },\n requestClassification: {\n title: {\n id: \"patient.communication.requestClassification.title\",\n description: \"Request classification label\",\n },\n communication: {\n id: \"patient.communication.requestClassification.communication\",\n description: \"Communication label\",\n },\n teleconsultation: {\n id: \"patient.communication.requestClassification.teleconsultation\",\n description: \"Teleconsultation label\",\n },\n },\n topic: {\n title: {\n id: \"patient.communication.topic.title\",\n description: \"Topic label\",\n },\n specification: {\n id: \"patient.communication.topic.specification\",\n description: \"Topic specification label\",\n },\n general: {\n id: \"patient.communication.topic.general\",\n description: \"General label\",\n },\n followUp: {\n id: \"patient.communication.topic.followUp\",\n description: \"Follow-Up label\",\n },\n prescriptionRenewal: {\n id: \"patient.communication.topic.prescriptionRenewal\",\n description: \"Prescription renewal label\",\n },\n other: {\n id: \"patient.communication.topic.other\",\n description: \"Other label\",\n },\n },\n complete: {\n title: {\n id: \"patient.communication.complete.title\",\n description: \"Complete request modal title\",\n },\n sendToEMR: {\n id: \"patient.communication.complete.sendToEMR\",\n description: \"Send report to ECR label\",\n },\n sendToArchive: {\n id: \"patient.communication.complete.sendToArchive\",\n description: \"Send report to archive label\",\n },\n reason: {\n id: \"patient.communication.complete.reason\",\n description: \"Reason label\",\n },\n questionnairesNotCompleted: {\n id: \"patient.communication.complete.questionnairesNotCompleted\",\n description: \"Questionnaire is not completed in the case\",\n },\n },\n },\n about: {\n title: {\n id: \"patient.about.title\",\n description: \"About section - title\",\n },\n recipient: {\n id: \"patient.about.recipient\",\n description: \"About section - recipient\",\n },\n recipients: {\n id: \"patient.about.recipients\",\n description: \"About section - recipients\",\n },\n communicationMethod: {\n id: \"patient.about.communicationMethod\",\n description: \"About section - communication method\",\n },\n email: {\n id: \"patient.about.email\",\n description: \"About section - email\",\n },\n actions: {\n inviteSelectedParticipant: {\n id: \"patient.about.actions.inviteSelectedParticipant\",\n description: \"Invite new participant action\",\n },\n createNewParticipant: {\n id: \"patient.about.actions.createNewParticipant\",\n description: \"Create New Participant action\",\n },\n },\n feedback: {\n recipientAlreadyAdded: {\n id: \"patient.about.feedback.recipientAlreadyAdded\",\n description: \"Recipient already added feedback in toast\",\n },\n },\n },\n conclusionHeader: {\n title: {\n id: \"patient.conclusionHeader.title\",\n description: \"Conclusion header - title\",\n },\n },\n dialog: {\n submit: {\n id: \"patient.dialog.submit\",\n description: \"Dialog submit message\",\n },\n conversationCompleted: {\n id: \"patient.dialog.conversationCompleted\",\n description: \"Dialog conversation completed message\",\n },\n },\n alert: {\n cannotRespondToMessage: {\n id: \"patient.alert.cannotRespondToMessage\",\n description: \"Warning to indicate the message does not require a response\",\n },\n conversationCompleted: {\n id: \"patient.alert.conversationCompleted\",\n description: \"Warning to indicate the conversation is completed\",\n },\n },\n actions: {\n sendMessage: {\n id: \"patient.actions.sendMessage\",\n description: \"Send message button\",\n },\n writeMessage: {\n id: \"patient.actions.writeMessage\",\n description: \"Write message button\",\n },\n scheduleVideoConference: {\n id: \"patient.actions.scheduleVideoConference\",\n description: \"Schedule videoconference button\",\n },\n completeRequest: {\n id: \"patient.actions.completeRequest\",\n description: \"Complete request button\",\n },\n },\n form: {\n to: {\n id: \"patient.form.to\",\n description: \"To\",\n },\n from: {\n id: \"patient.form.from\",\n description: \"From\",\n },\n communicationMethod: {\n id: \"patient.form.communicationMethod\",\n description: \"Communication Method\",\n },\n subject: {\n id: \"patient.form.subject\",\n description: \"Subject\",\n },\n subjectRePrefix: {\n id: \"patient.form.subjectRePrefix\",\n description: \"Subject\",\n },\n message: {\n id: \"patient.form.message\",\n description: \"message\",\n },\n allowPatientToRespond: {\n id: \"patient.form.allowPatientToRespond\",\n description: \"Allow Patient to Respond\",\n },\n attachFiles: {\n id: \"patient.form.attachFiles\",\n description: \"Attach files\",\n },\n inviteToQuestionnaire: {\n id: \"patient.form.inviteToQuestionnaire\",\n description: \"Invite to fill a questionnaire\",\n },\n questionnaireToFill: {\n id: \"patient.form.questionnaireToFill\",\n description: \"Questionnaire to fill\",\n },\n },\n questionnaireSection: {\n title: {\n id: \"patient.questionnaire.title\",\n description: \"Questionnaire (subform) title\",\n },\n },\n },\n};\n\nexport default i18nMessages;\n","import React, { Fragment, useState } from \"react\";\nimport { Modal, Card, Button, ButtonGroup, Row, Col } from \"@akinoxsolutions/gerudo-ui\";\nimport Formsy from \"formsy-react\";\nimport Relay from \"react-relay/classic\";\nimport PropTypes from \"prop-types\";\nimport { FormattedMessage, injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\n\nimport { SelectInput } from \"~/src/js/components/shared/inputs\";\nimport { UserPropTypes } from \"~/src/js/PropTypes/User\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport { useFormsySubmit, useToggle } from \"~/src/js/hooks\";\nimport Recipient from \"~/src/js/components/forms/PATIENT/form/components/Recipients/Recipient\";\nimport { i18nMessages as recipientI18nMessages } from \"~/src/js/components/forms/PATIENT/form/components/Recipients/Recipients.i18n\";\nimport { Carer, User } from \"~/src/js/Models/User\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { CaseDataPropTypes, PatientPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { PatientConversationPropTypes } from \"~/src/js/components/forms/PATIENT/PropTypes\";\n\nimport { addParticipantToConversationMutation } from \"../../../mutations/addPatientConversationParticipantsMutation\";\nimport PortalInvitationForm from \"../../../../shared/PatientUserPortalInvitationForm\";\n\nimport styles from \"./AboutPatientCommunication.style.scss\";\n\nimport { i18nMessages } from \"../../../PatientConversation.i18n\";\n\nexport const getRecipients = (patient) => {\n if (!patient.user && !patient.carers) {\n return [];\n }\n\n if (!patient.user && patient.carers) {\n return patient.carers.map((carer) => new Carer({ ...carer }));\n }\n\n if (patient.user && !patient.carers) {\n return [new User({ ...patient.user })];\n }\n\n const carers = patient.carers.map((carer) => new Carer({ ...carer }));\n const user = new User({ ...patient.user });\n return [user, ...carers];\n};\n\nexport const getRelationshipType = (relationshipType) => {\n return relationshipType.inverse ? relationshipType.inverse.name : relationshipType.name;\n};\n\nexport const AboutPatientCommunication = ({\n patient,\n patientConversation,\n data,\n intl: { formatMessage },\n showToast,\n}) => {\n const [showInviteDialog, toggleInviteDialog] = useToggle(false);\n const [actions, setActions] = useState(null);\n const { participants } = patientConversation;\n const {\n permissions: { canAddParticipants },\n } = data;\n\n const recipients = getRecipients(patient);\n const recipientOptions = recipients.map((option) => {\n return {\n value: option.getPersonId(),\n label: option.getFullNameWithRelation(formatMessage(recipientI18nMessages.patient.label)),\n };\n });\n\n const participantRecipient = participants.reduce((acc, participant) => {\n const foundRecipient = recipients.find((recipient) => {\n return recipient.getPersonId() === participant.participant.id;\n });\n\n if (foundRecipient) {\n acc.push(foundRecipient);\n }\n\n return acc;\n }, []);\n\n const onChangeRecipient = async (formsyData) => {\n const { recipientId } = formsyData;\n const foundRecipient = recipients.find((recipient) => recipient.getPersonId() === recipientId);\n const isRecipientSelected = participants.some(\n (participant) => participant.participant.id === foundRecipient.getPersonId()\n );\n if (!isRecipientSelected) {\n await addParticipantToConversationMutation({\n patientConversationCaseId: patientConversation.id,\n participantIds: [recipientId],\n });\n } else {\n showToast(formatMessage(i18nMessages.patient.about.feedback.recipientAlreadyAdded), \"cancel\");\n }\n };\n\n const { formsyProps, isSubmitting, errors } = useFormsySubmit({\n onSubmit: onChangeRecipient,\n });\n\n return (\n }>\n \n \n {canAddParticipants && (\n \n \n }\n options={recipientOptions}\n value={recipientOptions.length > 0 ? recipientOptions[0].value : \"\"}\n disabled={recipientOptions.length === 0}\n />\n \n \n
    \n \n \n {\n \n }\n \n \n {\n \n }\n \n \n
    \n \n
    \n )}\n
    \n \n \n :\n \n \n :\n \n \n \n {participantRecipient.map((recipient) => (\n \n ))}\n \n
    \n\n \n\n actions}\n dataTestId=\"invitePatientToPortalModal\">\n \n \n \n );\n};\n\nAboutPatientCommunication.propTypes = {\n recipients: PropTypes.arrayOf(UserPropTypes),\n patient: PatientPropTypes,\n patientConversation: PatientConversationPropTypes,\n data: CaseDataPropTypes,\n showToast: PropTypes.func,\n intl: intlShape,\n};\n\nconst mapStateToProps = () => ({});\nconst mapDispatchToProps = {\n showToast: showDialogNotice,\n};\n\nexport default Relay.createContainer(\n injectIntl(connect(mapStateToProps, mapDispatchToProps)(AboutPatientCommunication)),\n {\n fragments: {\n patient: () => Relay.QL`\n fragment on Patient {\n ${PortalInvitationForm.getFragment(\"patient\")}\n\n carers {\n relationshipType {\n code\n name\n inverse {\n name\n }\n }\n user {\n id\n email\n isConfirmed\n person {\n id\n fullName\n }\n }\n }\n\n user {\n id\n email\n isConfirmed\n person {\n id\n fullName\n address {\n emails\n }\n }\n }\n }\n `,\n patientConversation: () => Relay.QL`\n fragment on PatientConversation {\n id\n lookupId\n participants {\n participant {\n id\n fullName\n }\n }\n }\n `,\n data: () => Relay.QL`\n fragment on PatientConversationData {\n permissions {\n canAddParticipants\n }\n }\n `,\n },\n }\n);\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers\";\n\nexport default class CompletePatientConversationMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(CompletePatientConversationMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { completePatientConversation }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n requestClassificationId: this.props.requestClassificationId,\n ramqCodes: this.props.ramqCodes,\n communicationTopicId: this.props.communicationTopicId,\n communicationTopicDetails: this.props.communicationTopicDetails,\n reasonOfCompletion: this.props.reasonOfCompletion,\n sendToEmr: this.props.sendToEmr,\n sendToArchive: this.props.sendToArchive,\n signatureToken: this.props.signatureToken,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on CompletePatientConversationPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n cases(type: COMPLETED)\n casesTotals\n }\n case {\n status\n data {\n ... on PatientConversationData {\n children\n permissions\n patientConversation\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n ];\n }\n}\n\nexport const completePatientConversation = ({\n caseId,\n requestClassificationId,\n ramqCodes,\n communicationTopicId,\n communicationTopicDetails,\n reasonOfCompletion,\n sendToEmr,\n sendToArchive,\n signatureToken,\n}) => {\n const params = {\n caseId: caseId,\n requestClassificationId: requestClassificationId,\n ramqCodes: ramqCodes,\n communicationTopicId: communicationTopicId,\n communicationTopicDetails: communicationTopicDetails,\n reasonOfCompletion: reasonOfCompletion,\n sendToEmr: sendToEmr,\n sendToArchive: sendToArchive,\n signatureToken: signatureToken,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new CompletePatientConversationMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import PropTypes from \"prop-types\";\nimport React, { Fragment } from \"react\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { List } from \"@akinoxsolutions/gerudo-ui\";\n\nimport {\n SelectInput,\n GerudoTextInput,\n Checkbox,\n CheckboxSizes,\n} from \"~/src/js/components/shared/inputs\";\nimport { SignatureDialog } from \"~/src/js/components/shared/Signature\";\nimport RadioButtonListInput from \"~/src/js/components/shared/inputs/radioButtonListInput\";\nimport { messages as genericConsultMessages } from \"~/src/js/components/forms/GENERICv2/destinationReadOnly/i18n\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case/index\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport {\n dynamicListFragment,\n mapDynamicList,\n} from \"~/src/js/components/shared/DynamicList/DynamicListHelper\";\nimport { completePatientConversation } from \"~/src/js/components/forms/PATIENT/mutations/completePatientConversationMutation\";\nimport { featureKeys, isEnabled } from \"~/src/js/helpers/index\";\nimport InlineAttachments from \"~/src/js/components/attachments/UploadAndList/InlineAttachments\";\nimport CaseStatusUpdate from \"~/src/js/components/shared/header/caseStatusUpdate\";\n\nimport styles from \"./CompleteConversationDialog.style.scss\";\n\nimport { i18nMessages } from \"../../../PatientConversation.i18n\";\n\nexport const filterAttachmentWithDocumentTypes = (attachments) => {\n return attachments.filter(\n (attachment) => Boolean(attachment.documentTypeId) && attachment.documentType.isSendableToEmr\n );\n};\n\nexport const CompleteConversationDialog = ({\n viewer: { requestClassifications, communicationTopics, features },\n case: cas,\n active,\n intl: { formatMessage },\n onClose,\n onCompleteSuccess,\n showDialog,\n}) => {\n const requestClassificationOptions = mapDynamicList(requestClassifications);\n const communicationTopicOptions = mapDynamicList(communicationTopics);\n\n const onSubmit = async (data, signatureToken) => {\n await completePatientConversation({\n caseId: cas.id,\n requestClassificationId: data.requestClassificationId,\n ramqCodes: data.ramq ? [data.ramq] : [],\n communicationTopicId: data.communicationTopicId,\n communicationTopicDetails: data.communicationTopicDetails,\n reasonOfCompletion: data.reasonOfCompletion,\n sendToEmr: data.sendToEmr,\n sendToArchive: data.sendToArchive,\n signatureToken: signatureToken,\n });\n };\n\n const onSuccess = (token, data) => {\n showDialog(formatMessage(i18nMessages.patient.dialog.conversationCompleted), \"accept\");\n onCompleteSuccess(data.sendToArchive);\n };\n\n const hasEmrConnection = isEnabled(features, featureKeys.PatientMessageSendToEmr);\n const documentToSendToEmr = filterAttachmentWithDocumentTypes(cas.attachments);\n\n const subformItems = cas.data.children.reduce((subforms, subform) => {\n if (!subform.isCompleted && !subform.isCanceled) {\n subforms.push(\n
    \n
    \n {subform.form.name} #{subform.legacyId}\n
    \n \n
    \n );\n }\n return subforms;\n }, []);\n\n return (\n \n {(signatureInput) => (\n \n
    \n
    \n
    \n \n }\n showLabel={true}\n value={requestClassificationOptions[0].value}\n inline={true}\n options={requestClassificationOptions}\n />\n
    \n
    \n }\n value={\"\"}\n />\n
    \n
    \n
    \n
    \n }\n options={communicationTopicOptions}\n value={communicationTopicOptions[0].value}\n required\n />\n
    \n
    \n \n }\n name=\"communicationTopicDetails\"\n value={\"\"}\n />\n
    \n
    \n }\n value={\"\"}\n />\n
    \n {signatureInput}\n {subformItems && subformItems.length > 0 && (\n
    \n \n \n
    \n )}\n
    \n {hasEmrConnection && (\n \n \n \n )}\n \n \n \n
    \n {hasEmrConnection && documentToSendToEmr.length !== 0 && (\n
    \n
    \n \n
    \n \n
    \n )}\n
    \n )}\n \n );\n};\n\nCompleteConversationDialog.propTypes = {\n viewer: ViewerPropTypes,\n case: CasePropTypes,\n active: PropTypes.bool,\n intl: intlShape,\n onClose: PropTypes.func,\n onCompleteSuccess: PropTypes.func,\n showDialog: PropTypes.func,\n};\n\nconst mapStateToProps = () => ({});\nconst mapDispatchToProps = {\n showDialog: showDialogNotice,\n};\n\nexport default Relay.createContainer(\n connect(mapStateToProps, mapDispatchToProps)(injectIntl(CompleteConversationDialog)),\n {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n requestClassifications: dynamicList(name: \"patient_conversation:request_classification\", first: 250) {\n ${dynamicListFragment}\n }\n\n communicationTopics: dynamicList(name: \"patient_conversation:communication_topic\", first: 250) {\n ${dynamicListFragment}\n }\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n lookupId\n id\n\n data {\n ... on PatientConversationData {\n children {\n id\n legacyId\n isCompleted\n isCanceled\n status {\n name\n }\n form {\n name\n }\n }\n }\n }\n\n attachments {\n ${InlineAttachments.getFragment(\"attachments\")}\n documentTypeId\n documentType {\n isSendableToEmr\n }\n }\n }`,\n },\n }\n);\n","export const messages = {\n global: {\n noneSpecified: {\n id: \"global.noneSpecified\",\n description: \"None specified label\",\n defaultMessage: \"None specified\",\n },\n },\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { messages } from \"./NoneSpecifiedFieldMessage.i18n\";\n\nconst NoneSpecifiedFieldMessage = ({ showField, children }) => {\n return showField ? children : ;\n};\n\nNoneSpecifiedFieldMessage.propTypes = {\n showField: PropTypes.bool,\n};\n\nexport default NoneSpecifiedFieldMessage;\n","import React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { Card } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { messages as genericConsultMessages } from \"~/src/js/components/forms/GENERICv2/destinationReadOnly/i18n\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case/index\";\nimport {\n dynamicListFragment,\n mapDynamicListToDict,\n} from \"~/src/js/components/shared/DynamicList/DynamicListHelper\";\nimport { SignaturePropTypes } from \"~/src/js/PropTypes/Case/SignaturePropTypes\";\nimport { NoneSpecifiedFieldMessage } from \"~/src/js/components/shared/NoneSpecifiedFieldMessage\";\n\nimport { PatientConversationPropTypes } from \"../../PropTypes/index\";\n\nimport styles from \"./ConclusionHeader.style.scss\";\n\nimport { i18nMessages } from \"../../PatientConversation.i18n\";\n\nconst ConclusionHeader = ({\n patientConversation: {\n requestClassificationId,\n ramqCodes,\n communicationTopicId,\n communicationTopicDetails,\n completionReason,\n },\n viewer: { requestClassifications, communicationTopics },\n}) => {\n const requestClassificationsDict = mapDynamicListToDict(requestClassifications);\n const communicationTopicsDict = mapDynamicListToDict(communicationTopics);\n\n return (\n }>\n
    \n
    \n \n {requestClassificationsDict[requestClassificationId]}\n
    \n
    \n \n \n \n {ramqCodes.join(\", \")}\n \n \n
    \n
    \n \n \n {communicationTopicDetails ? (\n \n {communicationTopicsDict[communicationTopicId]}: {communicationTopicDetails}\n \n ) : (\n communicationTopicsDict[communicationTopicId]\n )}\n \n
    \n
    \n \n \n \n {completionReason}\n \n \n
    \n
    \n \n );\n};\n\nConclusionHeader.propTypes = {\n patientConversation: PatientConversationPropTypes,\n viewer: ViewerPropTypes,\n case: CasePropTypes,\n signature: SignaturePropTypes,\n};\n\nexport default Relay.createContainer(ConclusionHeader, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n requestClassifications: dynamicList(name: \"patient_conversation:request_classification\", first: 250) {\n ${dynamicListFragment}\n }\n\n communicationTopics: dynamicList(name: \"patient_conversation:communication_topic\", first: 250) {\n ${dynamicListFragment}\n }\n }\n `,\n patientConversation: () => Relay.QL`\n fragment on PatientConversation {\n requestClassificationId\n ramqCodes\n communicationTopicId\n communicationTopicDetails\n completionReason\n }\n `,\n },\n});\n","import { Button, Row, Col } from \"@akinoxsolutions/gerudo-ui\";\nimport React, { Fragment, useState } from \"react\";\nimport Relay from \"react-relay/classic\";\nimport PropTypes from \"prop-types\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { SelectInput } from \"~/src/js/components/shared/inputs\";\nimport { i18nMessages } from \"~/src/js/components/forms/PATIENT/PatientConversation.i18n\";\nimport baseMessages from \"~/src/messages/base.i18n\";\nimport { CasePropTypes } from \"~/src/js/PropTypes/Case\";\n\nimport styles from \"./InviteToQuestionnaire.style\";\n\nexport const InviteToQuestionnaire = ({ case: cas, isUploading, onClickInvite }) => {\n const [showInviteToQuestionnaire, setShowInviteToQuestionnaire] = useState(false);\n\n const subformOptions = cas.data.toDepartment.subforms.map((subform) => ({\n value: subform.id,\n label: subform.name,\n }));\n\n return (\n \n {showInviteToQuestionnaire ? (\n \n \n }\n options={subformOptions}\n value={null}\n disabled={subformOptions.length === 0}\n />\n \n \n {\n onClickInvite();\n setShowInviteToQuestionnaire(false);\n }}\n disabled={isUploading}\n name=\"cancelButton\">\n \n \n \n \n ) : (\n
    \n setShowInviteToQuestionnaire(true)}\n name=\"inviteButton\">\n \n \n
    \n )}\n
    \n );\n};\n\nInviteToQuestionnaire.propTypes = {\n case: CasePropTypes.isRequired,\n isUploading: PropTypes.bool,\n onClickInvite: PropTypes.func,\n};\n\nexport default Relay.createContainer(InviteToQuestionnaire, {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on PatientConversationData {\n toDepartment {\n subforms {\n id\n name\n }\n }\n }\n }\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers\";\n\nexport default class AddMessagePatientConversationMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(AddMessagePatientConversationMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { addMessagePatientConversation }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n subject: this.props.subject,\n message: this.props.message,\n fileIds: this.props.fileIds,\n allowPatientToRespond: this.props.allowPatientToRespond,\n subformId: this.props.subformId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on AddMessagePatientConversationPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n cases(type: COMPLETED)\n casesTotals\n }\n case {\n status\n data {\n ... on PatientConversationData {\n children\n permissions\n patientConversation\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n ];\n }\n}\n\nexport const onAddMessagePatientConversation = ({\n caseId,\n subject,\n content,\n fileIds,\n allowPatientToRespond,\n subformId,\n}) => {\n const params = {\n caseId: caseId,\n subject: subject,\n message: content,\n fileIds: fileIds,\n allowPatientToRespond: allowPatientToRespond,\n subformId: subformId,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new AddMessagePatientConversationMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import { Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\nimport Formsy from \"formsy-react\";\nimport Relay from \"react-relay/classic\";\nimport PropTypes from \"prop-types\";\nimport React, { useState } from \"react\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport { connect } from \"react-redux\";\n\nimport {\n GerudoTextInput,\n TextArea,\n Checkbox,\n SelectInput,\n CheckboxSizes,\n} from \"~/src/js/components/shared/inputs\";\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { useFormsySubmit } from \"~/src/js/hooks\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport baseMessages from \"~/src/messages/base.i18n\";\nimport { MessagePropTypes } from \"~/src/js/components/shared/Conversation/PropTypes\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport InviteToQuestionnaire from \"~/src/js/components/forms/PATIENT/form/components/InviteToQuestionnaire/InviteToQuestionnaire\";\n\nimport { onAddMessagePatientConversation } from \"../../../mutations/addMessagePatientConversationMutation\";\n\nimport styles from \"./NewMessagePatientCommunication.style.scss\";\n\nimport { i18nMessages } from \"../../../PatientConversation.i18n\";\n\n// TODO: will be done/uncomment in the next iteration\n// const arrayToObject = (myArray) => {\n// return myArray.reduce((obj, item) => {\n// obj[item.value] = item.label;\n// return obj;\n// }, {});\n// };\n\nexport const getNewMessageSubject = (lastMessage, subjectPrefix) => {\n if (lastMessage && lastMessage.subject && lastMessage.subject.startsWith(subjectPrefix)) {\n return lastMessage.subject;\n }\n return lastMessage ? `${subjectPrefix} ${lastMessage.subject}` : \"\";\n};\n\nexport const NewMessagePatientCommunication = ({\n viewer,\n case: cas,\n fromOptions,\n lastMessage,\n showDialog,\n onSuccessSubmit,\n onCancel,\n intl,\n}) => {\n const [files, setFiles] = useState([]);\n const [isUploading, setIsUploading] = useState(false);\n\n const { canAllowPatientToRespond, canAttachSubforms } = cas.data.permissions;\n const { allowPatientToRespond } = cas.data.patientConversation;\n const { fullName: patientFullName } = cas.patient.demographic;\n\n const onSubmitMessage = async (data) => {\n await onAddMessagePatientConversation({\n caseId: cas.id,\n subject: data.subject,\n content: data.message,\n fileIds: files.map((file) => file.id),\n allowPatientToRespond: data.allowPatientToRespond,\n subformId: data.subformId,\n });\n };\n\n const onFormsySuccessSubmit = () => {\n showDialog(intl.formatMessage(i18nMessages.patient.dialog.submit), \"accept\");\n if (onSuccessSubmit) {\n onSuccessSubmit();\n }\n };\n\n const onClickInvite = () => {\n formsyProps.ref.current.updateInputsWithValue({\n subformId: null,\n });\n };\n\n const { formsyProps, errors, isSubmitting } = useFormsySubmit({\n onSubmit: onSubmitMessage,\n onSuccess: onFormsySuccessSubmit,\n });\n\n return (\n
    \n
    \n \n
    \n \n {fromOptions && fromOptions.length && (\n }\n name=\"from\"\n required\n value={fromOptions[0]}\n options={fromOptions}\n />\n )}\n\n }\n name=\"subject\"\n required\n value={getNewMessageSubject(\n lastMessage,\n intl.formatMessage(i18nMessages.patient.form.subjectRePrefix)\n )}\n />\n }\n name=\"message\"\n required\n autoSize={{ minRows: 7, maxRows: 15 }}\n />\n\n }\n />\n\n {canAttachSubforms && (\n \n )}\n\n {canAllowPatientToRespond && (\n
    \n \n \n \n
    \n )}\n\n
    \n \n formsyProps.ref.current.submit()}\n name=\"submitMessagePatientCommunicationSubmit\">\n \n \n \n \n
    \n\n \n
    \n
    \n );\n};\n\nNewMessagePatientCommunication.propTypes = {\n viewer: ViewerPropTypes,\n case: CasePropTypes.isRequired,\n fromOptions: PropTypes.array,\n lastMessage: MessagePropTypes,\n showDialog: PropTypes.func,\n onCancel: PropTypes.func.isRequired,\n onSuccessSubmit: PropTypes.func,\n intl: intlShape,\n};\n\nconst mapStateToProps = () => ({});\nconst mapDispatchToProps = {\n showDialog: showDialogNotice,\n};\n\nexport default Relay.createContainer(\n injectIntl(connect(mapStateToProps, mapDispatchToProps)(NewMessagePatientCommunication)),\n {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${AttachmentUploadAndList.getFragment(\"viewer\")}\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n ${InviteToQuestionnaire.getFragment(\"case\")}\n\n id\n patient {\n demographic {\n fullName\n }\n }\n data {\n ... on PatientConversationData {\n patientConversation {\n allowPatientToRespond\n }\n\n permissions {\n canAllowPatientToRespond\n canAttachSubforms\n }\n }\n }\n }\n `,\n lastMessage: () => Relay.QL`\n fragment on PatientConversationMessage {\n subject\n }\n `,\n },\n }\n);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\n\nimport InlineAttachments from \"~/src/js/components/attachments/UploadAndList/InlineAttachments\";\nimport { CreationInformationHeader } from \"~/src/js/components/shared/CreationInformationHeader\";\n\nimport { MessagePropTypes } from \"./PropTypes/index\";\nimport styles from \"./Conversation.styles.scss\";\n\nconst ConversationItem = ({\n message: { content, subject, author, attachments, createdOn },\n showMessageAuthorAsLink,\n}) => {\n return (\n
    \n \n {subject && (\n
    \n {subject}\n
    \n )}\n
    \n {content}\n
    \n \n
    \n );\n};\n\nConversationItem.propTypes = {\n message: MessagePropTypes,\n showMessageAuthorAsLink: PropTypes.bool.isRequired,\n};\n\nexport default Relay.createContainer(ConversationItem, {\n fragments: {\n message: () => Relay.QL`\n fragment on PatientConversationMessage {\n id\n subject\n content\n createdOn\n author {\n ${CreationInformationHeader.getFragment(\"creator\")}\n }\n attachments {\n ${InlineAttachments.getFragment(\"attachments\")}\n }\n }\n `,\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Relay from \"react-relay/classic\";\n\nimport { MessagePropTypes } from \"./PropTypes\";\nimport ConversationItem from \"./ConversationItem\";\n\nexport const Conversation = ({ messages, showMessageAuthorAsLink: showMessageAuthorAsLink }) => {\n if (messages && messages.length > 0) {\n return (\n
    \n {messages.map((message) => (\n \n ))}\n
    \n );\n }\n\n return null;\n};\n\nConversation.propTypes = {\n messages: PropTypes.arrayOf(MessagePropTypes),\n showMessageAuthorAsLink: PropTypes.bool.isRequired,\n};\n\nexport default Relay.createContainer(Conversation, {\n fragments: {\n messages: () => Relay.QL`\n fragment on PatientConversationMessage @relay(plural: true) {\n id\n ${ConversationItem.getFragment(\"message\")}\n }\n `,\n },\n});\n","import { Card, Button } from \"@akinoxsolutions/gerudo-ui\";\nimport React from \"react\";\nimport Relay from \"react-relay/classic\";\nimport PropTypes from \"prop-types\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { useFading } from \"~/src/js/hooks\";\nimport { FadingContent } from \"~/src/js/components/shared/FadingContent\";\nimport { Conversation } from \"~/src/js/components/shared/Conversation\";\nimport { NewMessagePatientCommunication } from \"~/src/js/components/forms/PATIENT/form/components\";\nimport { Alert, AlertColor } from \"~/src/js/components/shared/Alert\";\nimport { StatusCodes } from \"~/src/js/PropTypes/Status/StatusCodes\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { HideOnPrint } from \"~/src/js/components/shared/HideOnPrint\";\n\nimport { i18nMessages } from \"./PatientConversation.i18n\";\n\nexport const PatientConversation = ({\n viewer,\n case: cas,\n showNewMessageForm,\n showMessageAuthorAsLink,\n fromOptions,\n}) => {\n const {\n data: {\n patientConversation: { messages, completedBy },\n permissions: { canAddMessages },\n },\n status,\n } = cas;\n\n const {\n isFading,\n isContentToggled: isAddingMessage,\n toggleContentAndFading: toggleAddMessageForm,\n } = useFading({ isContentToggledDefault: showNewMessageForm });\n\n const lastMessage = messages ? messages[messages.length - 1] : null;\n\n return (\n }>\n \n {canAddMessages && (\n \n \n {isAddingMessage ? (\n \n ) : (\n \n {messages.length !== 0 ? (\n \n ) : (\n \n )}\n \n )}\n \n \n )}\n\n {!canAddMessages && status.code !== StatusCodes.ReportCompleted && (\n \n \n \n \n \n )}\n\n {status.code === StatusCodes.ReportCompleted && (\n \n \n \n \n \n )}\n \n );\n};\n\nPatientConversation.propTypes = {\n viewer: ViewerPropTypes,\n case: CasePropTypes,\n showNewMessageForm: PropTypes.bool,\n showMessageAuthorAsLink: PropTypes.bool.isRequired,\n fromOptions: PropTypes.array,\n};\n\nexport default Relay.createContainer(PatientConversation, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${NewMessagePatientCommunication.getFragment(\"viewer\")}\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n ${NewMessagePatientCommunication.getFragment(\"case\")}\n status {\n code\n name\n isDraft\n }\n data {\n ... on PatientConversationData {\n permissions {\n canAddMessages\n }\n\n patientConversation {\n id\n lookupId\n completedOn\n completedBy {\n fullName\n }\n\n messages {\n ${Conversation.getFragment(\"messages\")}\n ${NewMessagePatientCommunication.getFragment(\"lastMessage\")}\n }\n }\n }\n }\n }\n `,\n },\n});\n","export const messages = {\n videoConference: {\n title: {\n id: \"videoConference.title\",\n description: \"Videoconference title\",\n },\n actions: {\n scheduleVideoConference: {\n id: \"videoConference.actions.scheduleVideoConference\",\n description: \"Schedule a videoconference action\",\n },\n },\n errors: {\n patientMustConfirmAppointment: {\n id: \"videoConference.errors.patientMustConfirmAppointment\",\n description: \"Error feedback when that patient must confirm appointment time\",\n },\n patientMustConsent: {\n id: \"videoConference.errors.patientMustConsent\",\n description: \"Error feedback when that patient must consent\",\n },\n },\n },\n form: {\n labels: {\n recipientConfirmedAppointmentTime: {\n id: \"videoConference.form.labels.recipientConfirmedAppointmentTime\",\n description: \"Recipient has confirmed appointment time label\",\n },\n recipientHasConsented: {\n id: \"videoConference.form.labels.recipientHasConsented\",\n description: \"Recipient has consented label\",\n },\n },\n },\n};\n","import React, { Fragment } from \"react\";\nimport { Button, Card } from \"@akinoxsolutions/gerudo-ui\";\nimport PropTypes from \"prop-types\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { Checkbox, CheckboxSizes } from \"~/src/js/components/shared/inputs/index\";\nimport { useToggle } from \"~/src/js/hooks/index\";\nimport { featureKeys } from \"~/src/js/helpers/features\";\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case/index\";\nimport { FeatureFlagContainer } from \"~/src/js/components/shared/Features/FeatureFlagContainer/index\";\nimport { HideOnPrint } from \"~/src/js/components/shared/HideOnPrint\";\n\nimport { ScheduleVideoConferenceDialog } from \"../ScheduleVideoConferenceDialog/index\";\nimport { VideoConferenceHistory } from \"../VideoConferenceHistory/index\";\n\nimport { messages } from \"./VideoConferencesCard.i18n\";\nimport styles from \"./VideoConferencesCard.style\";\n\nexport const VideoConferencesCard = ({ viewer, case: cas, currentUser, videoConference }) => {\n const {\n id: caseId,\n data: {\n permissions: { canScheduleVideoConferenceMeeting },\n },\n } = cas;\n const [scheduleVideoConferenceModalIsToggled, toggleScheduleVideoConferenceModal] = useToggle(\n false\n );\n\n return (\n \n \n }>\n \n {canScheduleVideoConferenceMeeting && (\n \n
    \n \n
    \n
    \n )}\n
    \n\n {canScheduleVideoConferenceMeeting && (\n toggleScheduleVideoConferenceModal()}\n destinationDepartmentLegacyId={cas.data.toDepartment.legacyId}>\n
    \n \n ),\n }}\n size={CheckboxSizes.small}>\n \n \n \n ),\n }}\n size={CheckboxSizes.small}>\n \n \n
    \n \n )}\n
    \n
    \n );\n};\n\nVideoConferencesCard.propTypes = {\n case: PropTypes.object,\n currentUser: PropTypes.object,\n videoConference: PropTypes.object,\n viewer: ViewerPropTypes,\n};\n\nexport default Relay.createContainer(VideoConferencesCard, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${FeatureFlagContainer.getFragment(\"viewer\")}\n }\n `,\n currentUser: () => Relay.QL`\n fragment on CurrentUser {\n ${ScheduleVideoConferenceDialog.getFragment(\"currentUser\")}\n }\n `,\n videoConference: () => Relay.QL`\n fragment on VideoConference {\n ${ScheduleVideoConferenceDialog.getFragment(\"videoConference\")}\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n id\n ${ScheduleVideoConferenceDialog.getFragment(\"case\")}\n\n patient {\n ${VideoConferenceHistory.getFragment(\"patient\")}\n }\n\n videoConferenceMeetings {\n ${VideoConferenceHistory.getFragment(\"meetings\")}\n }\n\n data {\n ... on PatientConversationData {\n toDepartment {\n legacyId\n ${VideoConferenceHistory.getFragment(\"department\")}\n }\n permissions {\n canScheduleVideoConferenceMeeting\n }\n }\n }\n }\n `,\n },\n});\n","export const i18nMessage = {\n title: {\n id: \"global.questionnaires.title\",\n description: \"Table name\",\n },\n columns: {\n subformName: {\n id: \"global.questionnaires.columns.questionnaireTitle\",\n description: \"Questionnaire (subform) 'name' column\",\n },\n },\n};\n","import React from \"react\";\nimport Relay from \"react-relay/classic\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { DynamicTable } from \"~/src/js/components/common\";\nimport { CasePropTypes } from \"~/src/js/PropTypes/Case\";\nimport { URLs } from \"~/src/js/constants\";\n\nimport CaseStatusUpdate from \"../shared/header/caseStatusUpdate\";\n\nimport styles from \"./SubformTable.style.scss\";\n\nimport { i18nMessage } from \"./SubformTable.i18n\";\n\nexport const SUBFORMS_COLUMNS = {\n subformName: \"subformName\",\n};\n\nexport const mapSubformItems = (children) => {\n return children.map((subform) => {\n const {\n id,\n legacyId,\n form: { name: subformName },\n status: { name: statusName },\n } = subform;\n\n return {\n key: id,\n subformName: (\n \n ),\n };\n });\n};\n\nexport const SubformTable = ({ case: cas }) => {\n const getModel = () => {\n return {\n subformName: { title: },\n };\n };\n\n return (\n
    \n \n \n
    \n );\n};\n\nSubformTable.propTypes = {\n case: CasePropTypes,\n};\n\nexport default Relay.createContainer(SubformTable, {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on PatientConversationData {\n children {\n id\n legacyId\n status {\n name\n }\n form {\n name\n }\n }\n }\n }\n }\n `,\n },\n});\n","export const messages = {\n signature: {\n title: {\n id: \"forms.print.signature.title\",\n description: \"Report signature title\",\n defaultMessage: \"Report Signature\",\n },\n signedBy: {\n id: \"signature.signedBy\",\n description: \"Report signed by\",\n defaultMessage: \"Signed on {signedOn} by {signedByFirstName} {signedByLastName}\",\n },\n signedOn: {\n id: \"signature.signedOn\",\n description: \"Date & time of signature\",\n defaultMessage: \"Date & time of signature\",\n },\n licenseNumber: {\n id: \"signature.licenseNumber\",\n description: \"Report license number\",\n defaultMessage: \"License number\",\n },\n },\n};\n","import React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Card } from \"@akinoxsolutions/gerudo-ui\";\nimport Relay from \"react-relay/classic\";\n\nimport { SignaturePropTypes } from \"~/src/js/PropTypes/Case/SignaturePropTypes\";\nimport FormattedDateTime from \"~/src/js/components/shared/formattedDateTime\";\n\nimport { messages } from \"./ReportSignatureCard.i18n\";\nimport styles from \"./ReportSignatureCard.style\";\n\nconst ReportSignatureCard = ({ signature }) => {\n return (\n }>\n
    \n
    \n \n {`${signature.firstName} ${signature.lastName}`}\n
    \n
    \n \n {signature.licenseNumber}\n
    \n
    \n \n \n \n \n
    \n
    \n
    \n );\n};\n\nReportSignatureCard.propTypes = {\n signature: SignaturePropTypes,\n};\n\nexport default Relay.createContainer(ReportSignatureCard, {\n fragments: {\n signature: () => Relay.QL`\n fragment on Signature {\n licenseNumber\n signedOn\n firstName\n lastName\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport { Card, Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\nimport React, { Fragment, useRef } from \"react\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter, routerShape } from \"react-router\";\n\nimport CaseCancelDialog from \"~/src/js/components/cases/caseCancelDialog\";\nimport CaseArchiveDialog from \"~/src/js/components/cases/caseArchiveDialog\";\nimport {\n AboutPatientCommunication,\n ConclusionHeader,\n CompleteConversationDialog,\n} from \"~/src/js/components/forms/PATIENT/form/components\";\nimport PatientConversation from \"~/src/js/components/forms/PATIENT/PatientConversation\";\nimport CaseInvitationForm from \"~/src/js/components/forms/shared/caseInvitationForm\";\nimport { ClinicianHeader } from \"~/src/js/components/shared/header\";\nimport { StickyFooter } from \"~/src/js/components/shared/StickyFooter\";\nimport { useSignalrRelayForceFetch, useToggle } from \"~/src/js/hooks/index\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport baseMessages from \"~/src/messages/base.i18n\";\nimport { CaseClinicalNotes } from \"~/src/js/components/shared/Notes\";\nimport { PrintCaseContainer } from \"~/src/js/components/shared/Print\";\nimport MUHCReportPrintHeader from \"~/src/js/components/forms/shared/muhc/MUHCReportPrintHeader\";\nimport { VideoConferencesCard } from \"~/src/js/components/shared/VideoConference/VideoConferencesCard/index\";\nimport { getDocumentTypesForForm } from \"~/src/js/helpers/staticData\";\nimport { HideOnPrint } from \"~/src/js/components/shared/HideOnPrint\";\nimport { SubformTable } from \"~/src/js/components/SubformTable\";\n\nimport ReportSignatureCard from \"../../shared/Signature/ReportSignatureCard/ReportSignatureCard\";\nimport Attachments, {\n ATTACHMENTS_COLUMNS,\n ATTACHMENTS_TABLE_ACTIONS,\n} from \"../../attachments/UploadAndList/Attachments\";\nimport { FORM_CODES } from \"../../cases/creation/formCodes\";\n\nimport messages from \"./PatientConversation.i18n\";\n\nexport const PatientConversationPageClinician = ({\n relay,\n intl: { formatMessage, locale },\n case: cas,\n viewer,\n router,\n}) => {\n const conclusionCardRef = useRef(null);\n const [showCancelDialog, toggleCancelDialog] = useToggle(false);\n const [showCompleteDialog, toggleCompleteDialog] = useToggle(false);\n const [showArchiveDialog, toggleArchiveDialog] = useToggle(false);\n\n const isNew = cas.status.isDraft;\n const {\n canViewClinicalNotes,\n canViewPatientHeader,\n canViewConclusionHeader,\n canComplete,\n canCancel,\n canArchiveReport,\n } = cas.data.permissions;\n\n const scrollToConclusion = () => {\n if (conclusionCardRef) {\n conclusionCardRef.current.scrollIntoView();\n }\n };\n\n useSignalrRelayForceFetch(relay, \"PatientConversationPageClinician\", \"CaseUpdated\", cas.legacyId);\n\n /* TODO DEVD-384 - uncomment this and make sure the from field is used in the mutation\n set the fromOptions props in the PatientConversation Component below\n and query emails in relay query below\n fragment on Case {\n ...\n\n toDepartment {\n specialists {\n id\n address {\n emails\n }\n }\n }\n const departmentFromOptions = [];\n if (cas && cas.toDepartment && cas.toDepartment.specialists) {\n cas.toDepartment.specialists.forEach((specialist) => {\n const specialistId = specialist.id;\n\n if (specialist.address && specialist.address.emails) {\n specialist.address.emails.forEach((specialistEmail, index) => {\n departmentFromOptions.push({ value: `${specialistId}${index}`, label: specialistEmail });\n });\n }\n });\n }*/\n\n const patient = cas.patient;\n const requester = cas.data.requester;\n const patientConversation = cas.data.patientConversation;\n const showNewMessageForm =\n patientConversation.participants.filter(\n (x) => x.participant.id !== viewer.currentUser.user.person.id\n ).length >= 1;\n\n const defaultButtons = [];\n if (canComplete) {\n defaultButtons.push(\n \n );\n }\n if (canCancel) {\n defaultButtons.push(\n \n );\n }\n if (canArchiveReport) {\n defaultButtons.push(\n \n );\n }\n\n const documentTypes = getDocumentTypesForForm({\n lang: locale,\n formCode: FORM_CODES.PATIENT_MESSAGE,\n });\n const documentTypeListWithEmpty = [\n { value: \"\", label: },\n ...documentTypes.map((x) => ({ value: x.id, label: x.name })),\n ];\n\n return (\n \n {canViewPatientHeader && (\n \n }\n case={cas}\n viewer={viewer}\n requester={requester.person}\n customPrintHeader={\n }\n />\n }\n />\n )}\n\n {canViewConclusionHeader && (\n }\n buttonText={}\n downloadFileName={formatMessage(messages.forms.patient.downloadName)}\n actions={[\n {\n text: ,\n onClick: scrollToConclusion,\n id: \"scrollToConclusionAction\",\n },\n ]}\n />\n )}\n\n {canViewPatientHeader && (\n \n )}\n\n {showNewMessageForm && (\n \n )}\n\n {showNewMessageForm && (\n \n )}\n\n {canViewClinicalNotes && }\n\n {cas.attachments && cas.attachments.length > 0 && (\n \n }>\n \n \n \n )}\n\n {cas.data.children && cas.data.children.length > 0 && (\n \n }>\n \n \n \n )}\n\n {canViewConclusionHeader && (\n \n
    \n \n
    \n {patientConversation.signature && (\n \n )}\n
    \n )}\n\n {defaultButtons.length !== 0 && (\n \n {defaultButtons}\n \n )}\n\n {canCancel && (\n \n )}\n\n {canComplete && (\n {\n toggleCompleteDialog();\n const redirectUrl = isArchived ? \"/cases/ARCHIVED\" : \"/cases/COMPLETED\";\n router.push(redirectUrl);\n }}\n onClose={toggleCompleteDialog}\n />\n )}\n\n {canArchiveReport && (\n {}}\n />\n )}\n
    \n );\n};\n\nPatientConversationPageClinician.propTypes = {\n relay: PropTypes.object.isRequired,\n intl: intlShape,\n case: CasePropTypes,\n viewer: ViewerPropTypes,\n router: routerShape,\n};\n\nexport default Relay.createContainer(withRouter(injectIntl(PatientConversationPageClinician)), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${CaseClinicalNotes.getFragment(\"viewer\")}\n ${Attachments.getFragment(\"viewer\")}\n ${ClinicianHeader.getFragment(\"viewer\")}\n ${CaseCancelDialog.getFragment(\"viewer\")}\n ${ConclusionHeader.getFragment(\"viewer\")}\n ${CompleteConversationDialog.getFragment(\"viewer\")}\n ${CaseArchiveDialog.getFragment(\"viewer\")}\n ${VideoConferencesCard.getFragment(\"viewer\")}\n ${PatientConversation.getFragment(\"viewer\")}\n\n videoconference {\n ${VideoConferencesCard.getFragment(\"videoConference\")}\n }\n\n currentUser {\n ${VideoConferencesCard.getFragment(\"currentUser\")}\n user {\n person {\n id\n }\n }\n }\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n ${ClinicianHeader.getFragment(\"case\")}\n ${CaseCancelDialog.getFragment(\"case\")}\n ${CompleteConversationDialog.getFragment(\"case\")}\n ${CaseArchiveDialog.getFragment(\"case\")}\n ${CaseClinicalNotes.getFragment(\"case\")}\n ${CaseInvitationForm.getFragment(\"case\")}\n ${PatientConversation.getFragment(\"case\")}\n ${PrintCaseContainer.getFragment(\"case\")}\n ${MUHCReportPrintHeader.getFragment(\"case\")}\n ${VideoConferencesCard.getFragment(\"case\")}\n ${SubformTable.getFragment(\"case\")}\n\n legacyId\n\n attachments {\n ${Attachments.getFragment(\"files\")}\n }\n\n status {\n ${CaseCancelDialog.getFragment(\"status\")}\n isDraft\n }\n\n patient {\n ${AboutPatientCommunication.getFragment(\"patient\")}\n ${MUHCReportPrintHeader.getFragment(\"patient\")}\n }\n\n data {\n ... on PatientConversationData {\n ${AboutPatientCommunication.getFragment(\"data\")}\n\n children {\n id\n }\n\n toDepartment {\n ${MUHCReportPrintHeader.getFragment(\"department\")}\n }\n\n permissions {\n canViewClinicalNotes\n canViewPatientHeader\n canViewConclusionHeader\n canComplete\n canArchiveReport\n canCancel\n cancelRequiresReason\n }\n\n requester {\n person {\n ${ClinicianHeader.getFragment(\"requester\")}\n }\n }\n\n patientConversation {\n ${ConclusionHeader.getFragment(\"patientConversation\")}\n ${AboutPatientCommunication.getFragment(\"patientConversation\")}\n signature {\n ${ReportSignatureCard.getFragment(\"signature\")}\n }\n participants {\n participant {\n id\n }\n }\n }\n }\n }\n }\n `,\n },\n});\n","import { Card, Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\nimport React, { Fragment } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter, routerShape } from \"react-router\";\n\nimport CaseCancelDialog from \"~/src/js/components/cases/caseCancelDialog\";\nimport PatientConversation from \"~/src/js/components/forms/PATIENT/PatientConversation\";\nimport { PatientHeader } from \"~/src/js/components/shared/header\";\nimport { StickyFooter } from \"~/src/js/components/shared/StickyFooter\";\nimport { useToggle } from \"~/src/js/hooks/index\";\nimport { VideoConferencesCard } from \"~/src/js/components/shared/VideoConference/VideoConferencesCard/index\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case/index\";\nimport baseMessages from \"~/src/messages/base.i18n\";\nimport { HideOnPrint } from \"~/src/js/components/shared/HideOnPrint\";\nimport { SubformTable } from \"~/src/js/components/SubformTable\";\n\nimport messages from \"./PatientConversation.i18n\";\n\nexport const PatientConversationPagePatient = ({ case: cas, viewer, router }) => {\n const isNew = cas.status.isDraft;\n const { canCancel } = cas.data.permissions;\n\n const [showCancelConfirmation, toggleCancelDialog] = useToggle(false);\n\n const defaultButtons = [];\n if (canCancel) {\n defaultButtons.push(\n \n );\n }\n\n return (\n \n \n }\n case={cas}\n requester={cas.data.requester.person}\n />\n \n\n \n\n {cas.data.children && cas.data.children.length > 0 && (\n \n }>\n \n \n \n )}\n\n {defaultButtons.length !== 0 && (\n \n {defaultButtons}\n \n )}\n\n {canCancel && (\n {\n toggleCancelDialog();\n router.push(\"/cases/new\");\n }}\n onCancel={toggleCancelDialog}\n />\n )}\n \n );\n};\n\nPatientConversationPagePatient.propTypes = {\n case: CasePropTypes,\n viewer: ViewerPropTypes,\n router: routerShape,\n};\n\nexport default Relay.createContainer(withRouter(PatientConversationPagePatient), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${CaseCancelDialog.getFragment(\"viewer\")}\n ${VideoConferencesCard.getFragment(\"viewer\")}\n ${PatientConversation.getFragment(\"viewer\")}\n\n videoconference {\n ${VideoConferencesCard.getFragment(\"videoConference\")}\n }\n\n currentUser {\n ${VideoConferencesCard.getFragment(\"currentUser\")}\n user {\n person {\n id\n }\n }\n }\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n ${PatientHeader.getFragment(\"case\")}\n ${CaseCancelDialog.getFragment(\"case\")}\n ${PatientConversation.getFragment(\"case\")}\n ${VideoConferencesCard.getFragment(\"case\")}\n ${SubformTable.getFragment(\"case\")}\n\n status {\n isDraft\n }\n\n data {\n ... on PatientConversationData {\n \n children {\n id\n }\n \n permissions {\n canCancel\n }\n\n requester {\n person {\n ${PatientHeader.getFragment(\"requester\")}\n }\n }\n }\n }\n }\n `,\n },\n});\n","import React from \"react\";\nimport Relay from \"react-relay/classic\";\nimport { routerShape } from \"react-router\";\n\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { PageTitle } from \"~/src/js/components/shared/PageTitle\";\n\nimport PatientConversationPageClinician from \"./PatientConversationPageClinician\";\nimport PatientConversationPagePatient from \"./PatientConversationPagePatient\";\nimport styles from \"./PatientConversationPage.style.scss\";\n\nimport { i18nMessages } from \"./PatientConversation.i18n\";\n\nexport const PatientConversationPage = ({ viewer }) => {\n const { case: cas } = viewer;\n const { isSpecialist } = viewer.currentUser;\n\n return (\n
    \n \n {isSpecialist && }\n {!isSpecialist && }\n
    \n );\n};\n\nPatientConversationPage.propTypes = {\n viewer: ViewerPropTypes,\n router: routerShape,\n};\n\nexport default Relay.createContainer(PatientConversationPage, {\n initialVariables: {\n caseId: null,\n caseLegacyId: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PatientConversationPageClinician.getFragment(\"viewer\")}\n ${PatientConversationPagePatient.getFragment(\"viewer\")}\n\n currentUser {\n isSpecialist\n }\n\n case(id: $caseId, legacyId: $caseLegacyId) {\n ${PatientConversationPageClinician.getFragment(\"case\")}\n ${PatientConversationPagePatient.getFragment(\"case\")}\n\n legacyId\n\n status {\n name\n }\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport Button from \"react-toolbox/lib/button\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport { redirectToLegacyPage } from \"../../helpers/authentication\";\nimport { setTitle } from \"../../helpers/document\";\n\nconst messages = defineMessages({\n title: {\n id: \"forms.emptyForm.title\",\n description: \"Title of page for form that is not supported in NEO ATLAS frontend.\",\n defaultMessage: \"Unsupported form\",\n },\n warning: {\n id: \"forms.emptyForm.warning\",\n description: \"Message of page for form that is not supported in NEO ATLAS frontend.\",\n defaultMessage:\n \"This form is not currently supported in this portal. You will be redirected to Atlas soon.\",\n },\n goNow: {\n id: \"forms.emptyForm.goNow\",\n description: \"Button to go now without waiting.\",\n defaultMessage: \"Go now\",\n },\n});\n\nclass EmptyForm extends React.Component {\n static propTypes = {\n viewer: PropTypes.object,\n intl: intlShape,\n caseId: PropTypes.any,\n caseLegacyId: PropTypes.any,\n };\n\n maxWait = 5000;\n\n state = {\n ms: 0,\n };\n\n t(key, args) {\n return this.props.intl.formatMessage(key, args);\n }\n\n UNSAFE_componentWillMount() {\n document.title = setTitle(this.t.bind(this), this.t(messages.title));\n\n const timer = () => {\n const ms = this.state.ms + 1000;\n this.setState({ ms });\n\n if (ms > this.maxWait) {\n redirectToLegacyPage(\"Request/\" + this.props.caseLegacyId);\n return;\n }\n\n this.timeoutId = setTimeout(timer, 1000);\n };\n\n this.timeoutId = setTimeout(timer, 1000);\n }\n\n componentWillUnmount() {\n clearTimeout(this.timeoutId);\n }\n\n redirectNow() {\n redirectToLegacyPage(\"Request/\" + this.props.caseLegacyId, true);\n }\n\n render() {\n return (\n
    \n \n

    {this.t(messages.warning)}

    \n

    \n this.redirectNow()}\n label={this.t(messages.goNow)}\n raised\n primary\n />\n

    \n
    \n );\n }\n}\n\nexport default injectIntl(EmptyForm);\n","import FormScorer from \"../formScorer\";\n\nexport const SNORE_SCORE = {\n lowThreshold: 1.75,\n highThreshold: 2.75,\n};\n\nexport const SLEEP_SCORE = {\n lowThreshold: 3.5,\n highThreshold: 5,\n max: 7,\n};\n\nexport const BEHAVIOUR_SCORE = {\n lowThreshold: 0,\n highThreshold: 1,\n};\n\nexport default class GerFcgaFormScorer extends FormScorer {\n constructor(formValues) {\n super(formValues);\n }\n\n getScore() {\n const a = (parseInt(this.formVal([\"q1\"])) + parseInt(this.formVal([\"q2\"]))) / 2;\n const b = (a + parseInt(this.formVal([\"q3\"]))) / 2;\n const c = (b + parseInt(this.formVal([\"q4\"]))) / 2;\n const d = (c + parseInt(this.formVal([\"q5\"]))) / 2;\n const total = (d + parseInt(this.formVal([\"q6\"]))) / 2;\n\n return total;\n }\n\n getSleepScore() {\n return (\n parseInt(this.formVal(\"q0e\")) * 0.5 +\n parseInt(this.formVal(\"q0f\")) * 2 +\n parseInt(this.formVal(\"q0g\")) * 1\n );\n }\n\n getBehaviorScore() {\n const q0i = parseInt(this.formVal(\"q0i\"));\n if (!isNaN(q0i)) {\n // Old values were numbers (0,1,2)\n return q0i + parseInt(this.formVal(\"q0j\"));\n }\n\n return (this.formVal(\"q0i\") === \"YES\" ? 1 : 0) + (this.formVal(\"q0j\") === \"YES\" ? 1 : 0);\n }\n}\n","import PropTypes from \"prop-types\";\n\nexport const ScoreLegendPropTypes = PropTypes.shape({\n id: PropTypes.string,\n flagSrc: PropTypes.node,\n score: PropTypes.node,\n interpretation: PropTypes.node,\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { ScoreLegendPropTypes } from \"./ScoreLegendsPropTypes\";\nimport styles from \"./ScoreLegend.styles.scss\";\n\nconst ScoreLegend = ({ legends }) => {\n return (\n
    \n {legends.map((legend) => (\n
    \n \n {legend.score}\n {legend.interpretation}\n
    \n ))}\n
    \n );\n};\n\nScoreLegend.propTypes = {\n legends: PropTypes.arrayOf(ScoreLegendPropTypes),\n};\n\nexport default ScoreLegend;\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n patientSummary: {\n id: \"forms.RESP_EVA.patientSummary\",\n description: \"Summary text for RESP_EVA patient\",\n defaultMessage: `Thank you for your participation. We will be in touch with you soon.`,\n },\n generalInformation: {\n id: \"forms.RESP_EVA.generalInformation\",\n description: \"Summary text for RESP_EVA title\",\n defaultMessage: \"General information\",\n },\n fatigueQualityOfSleep: {\n id: \"forms.RESP_EVA.fatigueQualityOfSleep\",\n description: \"Summary text for RESP_EVA title\",\n defaultMessage: `Fatigue, quality of sleep, hyperactivity`,\n },\n hyperactivity: {\n id: \"forms.RESP_EVA.hyperactivity\",\n description: \"Summary text for RESP_EVA hyperactivity\",\n defaultMessage: `Hyperactivity`,\n },\n breathingDifficulties: {\n id: \"forms.RESP_EVA.breathingDifficulties\",\n description: \"Summary text for RESP_EVA title\",\n defaultMessage: `Breathing difficulties, snoring`,\n },\n importantInformation: {\n id: \"forms.RESP_EVA.importantInformation\",\n description: \"Summary text for additional information\",\n defaultMessage: `Important information`,\n },\n importantInformationProvidedByParent: {\n id: \"forms.RESP_EVA.importantInformationProvidedByParent\",\n description: \"Summary text for additional information provided by parent\",\n defaultMessage: `Additionnal information provided by the parents`,\n },\n consentToSendingACopyOfTheResultsInfo: {\n id: \"forms.RESP_EVA.consentToSendingACopyOfTheResultsInfo\",\n description: \"Consent\",\n defaultMessage: `Consent to send a copy of the results to family physician/paediatrician of my child`,\n },\n parentalConsent: {\n id: \"forms.RESP_EVA.parentalConsent\",\n description: \"Parental Consent\",\n defaultMessage: `Parental consent`,\n },\n snoring: {\n id: \"forms.RESP_EVA.snoring\",\n description: \"Summary text for RESP_EVA title\",\n defaultMessage: `Snoring / breathing`,\n },\n sleep: {\n id: \"forms.RESP_EVA.sleep\",\n description: \"Summary text for RESP_EVA title\",\n defaultMessage: `Sleep / Fatigue`,\n },\n behavior: {\n id: \"forms.RESP_EVA.behavior\",\n description: \"Summary text for RESP_EVA title\",\n defaultMessage: `Behaviour`,\n },\n snoringScore: {\n id: \"forms.RESP_EVA.snoringScore\",\n description: \"Summary text for RESP_EVA title\",\n defaultMessage: `Snoring / breathing score`,\n },\n sleepScore: {\n id: \"forms.RESP_EVA.sleepScore\",\n description: \"Summary text for RESP_EVA title\",\n defaultMessage: `Sleep / Fatigue score`,\n },\n behaviorScore: {\n id: \"forms.RESP_EVA.behaviorScore\",\n description: \"Summary text for RESP_EVA title\",\n defaultMessage: `Behaviour score`,\n },\n snoringScoreLowLegend: {\n id: \"forms.RESP_EVA.snoringScoreLowLegend\",\n description: \"Snoring score legend for low flag\",\n defaultMessage: \"≤{threshold}\",\n },\n snoringScoreMediumLegend: {\n id: \"forms.RESP_EVA.snoringScoreMediumLegend\",\n description: \"Snoring score legend for medium flag\",\n defaultMessage: \">{lowThreshold}, <{highThreshold}\",\n },\n snoringScoreHighLegend: {\n id: \"forms.RESP_EVA.snoringScoreHighLegend\",\n description: \"Snoring score legend for high flag\",\n defaultMessage: \"≥{highThreshold}\",\n },\n sleepScoreLowLegend: {\n id: \"forms.RESP_EVA.sleepScoreLowLegend\",\n description: \"Sleep score legend for low flag\",\n defaultMessage: \"<{lowThreshold}\",\n },\n sleepScoreMediumLegend: {\n id: \"forms.RESP_EVA.sleepScoreMediumLegend\",\n description: \"Sleep score legend for medium flag\",\n defaultMessage: \"≥{lowThreshold}, <{highThreshold}\",\n },\n sleepScoreHighLegend: {\n id: \"forms.RESP_EVA.sleepScoreHighLegend\",\n description: \"Sleep score legend for high flag\",\n defaultMessage: \"{highThreshold} to {max}\",\n },\n behaviourScoreLowLegend: {\n id: \"forms.RESP_EVA.behaviourScoreLowLegend\",\n description: \"Behaviour score legend for low flag\",\n defaultMessage: \"<{threshold}\",\n },\n behaviourScoreMediumLegend: {\n id: \"forms.RESP_EVA.behaviourScoreMediumLegend\",\n description: \"Behaviour score legend for medium flag\",\n defaultMessage: \"≥{threshold}\",\n },\n recommendationTitle: {\n id: \"forms.RESP_EVA.recommendationTitle\",\n description: \"Recommendations for RESP_EVA form title\",\n defaultMessage: \"Interpretation of the questionnaire for the physician\",\n },\n recommendationIntro: {\n id: \"forms.RESP_EVA.recommendationIntro\",\n description: \"Recommendations for RESP_EVA form intro\",\n defaultMessage: `Remember that the interpretation of the results depends heavily on the quality of the information the parents provide on their child’s sleep and snoring. \nPlease note also that this questionnaire is not conclusive or diagnostic for sleep-disordered breathing/obstructive sleep apnea but may help you determine severity of sleep symptoms.`,\n },\n recommendationSleepScoreIntro2: {\n id: \"forms.RESP_EVA.recommendationSleepScoreIntro2\",\n description: \"Recommendations for RESP_EVA form sleep score\",\n defaultMessage: `It is therefore important to correlate the Sleep/Fatigue Score\n with the score obtained on the Breathing/Snoring questions.`,\n },\n recommendationSleepScoreLeft: {\n id: \"forms.RESP_EVA.recommendationSleepScoreLeft\",\n description: \"Recommendations for RESP_EVA part\",\n defaultMessage: \"Abnormal score = Sleep loss due to:\",\n },\n recommendationSleepScoreRight: {\n id: \"forms.RESP_EVA.recommendationSleepScoreRight\",\n description: \"Recommendations for RESP_EVA part\",\n defaultMessage: `•\tPoor sleep habits/poor sleep hygiene\n •\tBehavioural insomnia\n •\tOther sleep disorders\n OR\n •\tSleep disordered breathing including obstructive sleep apnea`,\n },\n interpretation: {\n id: \"forms.RESP_EVA.interpretation\",\n description: \"Interpretation label\",\n defaultMessage: \"Interpretation\",\n },\n interpretationSleepLow: {\n id: \"forms.RESP_EVA.interpretationSleepLow\",\n description: \"Interpretation sleep low\",\n defaultMessage: `No or non-significant sleep problem or fatigue`,\n },\n interpretationSleepMedium: {\n id: \"forms.RESP_EVA.interpretationSleepMedium\",\n description: \"Interpretation sleep medium\",\n defaultMessage: `The sleep/fatigue problem might be significant, but is not related to\n obstructive sleep apnea as non-significant snoring`,\n },\n interpretationSleepMedium2: {\n id: \"forms.RESP_EVA.interpretationSleepMedium2\",\n description: \"Interpretation sleep medium\",\n defaultMessage: `May indicate that the child has significant side effects of\n possible sleep-disordered breathing/obstructive sleep apnea`,\n },\n interpretationSleepHigh: {\n id: \"forms.RESP_EVA.interpretationSleepHigh\",\n description: \"Interpretation sleep high\",\n defaultMessage: `Red flag for significant side effects of\n possibly important sleep-disordered breathing/obstructive sleep apnea`,\n },\n interpretationBehaviorLow: {\n id: \"forms.RESP_EVA.interpretationBehaviorLow\",\n description: \"Interpretation behavior low\",\n defaultMessage: `No action; no or non-significant behaviour problem`,\n },\n interpretationBehaviorMedium: {\n id: \"forms.RESP_EVA.interpretationBehaviorMedium\",\n description: \"Interpretation behavior medium\",\n defaultMessage: `Behaviour problem that are not secondary to obstructive sleep apnea as there is no significant snoring`,\n },\n interpretationBehaviorMedium2: {\n id: \"forms.RESP_EVA.interpretationBehaviorMedium2\",\n description: \"Interpretation behavior medium\",\n defaultMessage: `May indicate that the child has behavioural side effects of\n possible sleep-disordered breathing/obstructive sleep apnea`,\n },\n interpretationSnoringLow: {\n id: \"forms.RESP_EVA.interpretationSnoringLow\",\n description: \"Interpretation sleep high\",\n defaultMessage: `The child's snoring is likely nonsignificant with a low suspicion of\n sleep-disordered breathing/obstructive sleep apnea`,\n },\n interpretationSnoringMedium: {\n id: \"forms.RESP_EVA.interpretationSnoringMedium\",\n description: \"Interpretation sleep high\",\n defaultMessage: `The child’s snoring may be associated with some sleep-disordered breathing/obstructive sleep apnea.\n A trial of nasal steroids should be considered (if no patient-specific contraindications)`,\n },\n interpretationSnoringHigh: {\n id: \"forms.RESP_EVA.interpretationSnoringHigh\",\n description: \"Interpretation sleep high\",\n defaultMessage: `High suspicion of sleep-disordered breathing/obstructive sleep apnea. \n A trial of nasal steroids should be considered (if no patient-specific contraindications) but close monitoring is needed to document if nasal steroids leads to rapid significant improvement (decrease in snoring in 2-3 weeks).\n If no improvement, please refer to our sleep centre`,\n },\n});\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment } from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport { Card, CardText, CardTitle } from \"react-toolbox/lib/card\";\n\nimport flagLow from \"../../../../public/assets/images/icons/priority-1.png\";\nimport flagMedium from \"../../../../public/assets/images/icons/priority-2.png\";\nimport flagHigh from \"../../../../public/assets/images/icons/priority-3.png\";\nimport formStyle from \"../../../../styles/forms\";\nimport PatientSummaryCard from \"../../patients/patientSummaryCard\";\nimport HtmlElement from \"../../shared/htmlElement\";\nimport SpinnerButton from \"../../shared/inputs/custom/spinnerButton\";\nimport { isClinicianPrintTab } from \"../GER_FCGA/GER_FCGA_helper\";\nimport * as FormHelpers from \"../helpers\";\n\nimport { RESP_EVA_QUESTIONS_KEY, YES_ANSWER } from \"./RESP_EVA_form\";\nimport FormScorer, { SNORE_SCORE, SLEEP_SCORE, BEHAVIOUR_SCORE } from \"./RESP_EVA_formScorer\";\nimport ScoreLegend from \"./ScoreLegend/ScoreLegend\";\n\nimport style from \"./RESP_EVA.style\";\nimport i18n from \"./RESP_EVA_form.i18n\";\nimport baseI18n from \"../../../../messages/base.i18n\";\nimport { messages } from \"./RESP_EVA_formSummary.i18n\";\n\nexport class Summary extends React.Component {\n static propTypes = {\n formsReducer: PropTypes.object,\n viewer: PropTypes.object.isRequired,\n printForm: PropTypes.func,\n printing: PropTypes.bool,\n onTabChange: PropTypes.func,\n };\n\n constructor(props) {\n super(props);\n FormHelpers.bindable().forEach(({ name, func }) => {\n this[name] = func.bind(this);\n });\n\n this.componentDidUpdate();\n\n window.component1 = this;\n }\n\n state = {\n index: isClinicianPrintTab() ? 1 : 0,\n };\n\n componentDidUpdate() {\n const answers = this.props.formsReducer[this.props.viewer.case.id] || {};\n const scorer = new FormScorer(answers);\n this.score = scorer.getScore();\n this.sleepScore = scorer.getSleepScore();\n this.behaviorScore = scorer.getBehaviorScore();\n }\n\n handleTabChange = (index) => {\n this.setState({ index });\n if (this.props.onTabChange) {\n this.props.onTabChange(index === 1 ? \"clinician\" : \"patient\");\n }\n };\n\n render() {\n const className = classnames(formStyle[\"form-summary\"], style[\"form-summary\"]);\n if (!this.props.viewer.currentUser.isSpecialist) {\n return
    {this.renderPatientSummary()}
    ;\n }\n\n return
    {this.renderClinicianSummary()}
    ;\n }\n\n renderPatientSummary() {\n return (\n \n \n \n \n \n

    {this.props.intl.formatMessage(messages.patientSummary)}

    \n
    \n
    \n );\n }\n\n renderClinicianSummary() {\n return (\n
    \n \n \n \n {this.props.printForm ? (\n this.props.printForm(\"clinician\")}\n />\n ) : null}\n \n \n {this.renderClinicianSummaryWithData()}\n \n \n
    \n );\n }\n\n replaceParentheses(s) {\n return $1\")} />;\n }\n\n replaceSmall(s) {\n return (\n (.*)\\<\\/small\\>/, \"\")\n .replace(/\\(.*)\\<\\/strong\\>/, \"$1\")}\n />\n );\n }\n\n renderClinicianSummaryWithData() {\n const t = this.props.intl.formatMessage;\n const answers = this.props.formsReducer[this.props.viewer.case.id] || {};\n if (Object.keys(answers).length === 0) {\n return
    ...
    ;\n }\n\n return (\n
    \n

    {t(messages.generalInformation)}

    \n \n \n \n \n \n \n {answers[\"q0a\"] === \"YES\" && (\n \n \n \n \n )}\n \n \n \n \n \n {answers[\"q0c\"] && (\n \n \n \n \n \n {answers[\"q0c\"] === \"YES\" && answers[\"q0c_option_nasal\"] === \"YES\" && (\n \n \n \n \n )}\n {answers[\"q0c\"] === \"YES\" && answers[\"q0c_option_others\"] === \"YES\" && (\n \n \n \n \n )}\n \n )}\n {answers[\"q0c2\"] && (\n \n \n \n \n \n {answers[\"q0c2\"] === \"YES\" && (\n \n \n \n \n )}\n \n \n \n \n {answers[\"q0c3\"] === \"YES\" && (\n \n \n \n \n )}\n \n )}\n \n \n \n \n \n \n
    {t(i18n.q0a)}{this.yesNoLabel(answers[\"q0a\"])}
    {t(i18n.q0a_yes)}{answers[\"q0a_yes\"]}
    {t(i18n.q0b)}{t(i18n[\"RESP_EVA_\" + answers[\"q0b\"]])}
    {t(i18n.q0c)}{this.yesNoLabel(answers[\"q0c\"])}
    \n {t(i18n.q0c_option_nasal)} ({t(i18n.q0c_nasal_length)})\n \n {answers[\"q0c_nasal_meds\"]} ({answers[\"q0c_nasal_length\"]})\n
    {t(i18n.q0c_option_others)}{answers[\"q0c_others_meds\"]}
    \n \n {this.yesNoLabel(answers[\"q0c2\"])}
    \n {t(i18n.q0c2_nasal_name)} ({t(i18n.q0c2_nasal_duration)})\n \n
      \n {answers[\"q0c2_values\"].map(\n (x) =>\n x &&\n x.name &&\n x.duration && (\n
    • \n {x.name} ({t(i18n[\"q0c2_nasal_duration_\" + x.duration])})\n
    • \n )\n )}\n
    \n
    \n \n {this.yesNoLabel(answers[\"q0c3\"])}
    {t(i18n.q0c3_names)}{answers[\"q0c3_names\"]}
    {t(i18n.q0d)}{this.yesNoLabel(answers[\"q0d\"])}
    \n\n

    {t(messages.breathingDifficulties)}

    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    {t(i18n.q1)}{this.replaceParentheses(t(i18n[\"RESP_EVA_freq\" + answers[\"q1\"]]))}
    {t(i18n.q2)}{this.replaceParentheses(t(i18n[\"RESP_EVA_freq\" + answers[\"q2\"]]))}
    {t(i18n.q3)}{this.replaceParentheses(t(i18n[\"RESP_EVA_freq\" + answers[\"q3\"]]))}
    {t(i18n.q4)}{this.replaceParentheses(t(i18n[\"RESP_EVA_freq\" + answers[\"q4\"]]))}
    {t(i18n.q5)}{this.replaceSmall(t(i18n[\"RESP_EVA_loud\" + answers[\"q5\"]]))}
    {t(i18n.q6)}{this.replaceParentheses(t(i18n[\"RESP_EVA_freq\" + answers[\"q6\"]]))}
    \n

    {t(messages.snoringScore)}

    \n
    \n \n {this.score.toFixed(2)}\n {(this.score > SNORE_SCORE.lowThreshold &&\n this.score < SNORE_SCORE.highThreshold && (\n \n )) ||\n (this.score >= SNORE_SCORE.highThreshold && (\n \n )) || }\n \n
    \n ,\n },\n {\n id: \"snoreMedium\",\n flagSrc: flagMedium,\n score: t(messages.snoringScoreMediumLegend, {\n lowThreshold: SNORE_SCORE.lowThreshold,\n highThreshold: SNORE_SCORE.highThreshold,\n }),\n interpretation: ,\n },\n {\n id: \"snoreHigh\",\n flagSrc: flagHigh,\n score: t(messages.snoringScoreHighLegend, {\n highThreshold: SNORE_SCORE.highThreshold,\n }),\n interpretation: ,\n },\n ]}\n />\n\n

    {t(messages.fatigueQualityOfSleep)}

    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    {t(i18n.q0e)}{t(i18n[\"RESP_EVA_lessfreq\" + answers[\"q0e\"]])}
    {t(i18n.q0f)}{t(i18n[\"RESP_EVA_lessfreq\" + answers[\"q0f\"]])}
    {t(i18n.q0g)}{t(i18n[\"RESP_EVA_lessfreq\" + answers[\"q0g\"]])}
    \n

    {t(messages.sleepScore)}

    \n
    \n \n {this.sleepScore.toFixed(1)}\n {(this.sleepScore >= SLEEP_SCORE.lowThreshold &&\n this.sleepScore < SLEEP_SCORE.highThreshold && (\n \n )) ||\n (this.sleepScore >= SLEEP_SCORE.highThreshold && (\n \n )) || }\n \n
    \n ,\n },\n {\n id: \"sleepMedium\",\n flagSrc: flagMedium,\n score: t(messages.sleepScoreMediumLegend, {\n lowThreshold: SLEEP_SCORE.lowThreshold,\n highThreshold: SLEEP_SCORE.highThreshold,\n }),\n interpretation: ,\n },\n {\n id: \"sleepHigh\",\n flagSrc: flagHigh,\n score: t(messages.sleepScoreHighLegend, {\n highThreshold: SLEEP_SCORE.highThreshold,\n max: SLEEP_SCORE.max,\n }),\n interpretation: ,\n },\n ]}\n />\n\n

    {t(messages.hyperactivity)}

    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    {t(i18n.q0h)}{t(i18n[\"RESP_EVA_lessfreq\" + answers[\"q0h\"]])}
    {t(i18n.q0i)}\n {isNaN(parseInt(answers[\"q0i\"]))\n ? this.yesNoLabel(answers[\"q0i\"])\n : t(i18n[\"RESP_EVA_lessfreq\" + answers[\"q0i\"]])}\n
    {t(i18n.q0j)}\n {isNaN(parseInt(answers[\"q0j\"]))\n ? this.yesNoLabel(answers[\"q0j\"])\n : t(i18n[\"RESP_EVA_lessfreq\" + answers[\"q0j\"]])}\n
    \n

    {t(messages.behaviorScore)}

    \n
    \n \n {this.behaviorScore.toFixed(1)}\n {(this.behaviorScore === BEHAVIOUR_SCORE.lowThreshold && (\n \n )) ||\n (this.behaviorScore > BEHAVIOUR_SCORE.lowThreshold && (\n \n ))}\n \n
    \n ,\n },\n {\n id: \"behaviourMedium\",\n flagSrc: flagMedium,\n score: t(messages.behaviourScoreMediumLegend, {\n threshold: BEHAVIOUR_SCORE.highThreshold,\n }),\n interpretation: ,\n },\n ]}\n />\n\n
    \n

    {t(messages.parentalConsent)}

    \n \n \n \n \n \n \n {answers[RESP_EVA_QUESTIONS_KEY.consentToSendingACopyOfTheResultsYesNo] ===\n YES_ANSWER && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n \n
    {t(i18n.consentToSendingACopyOfTheResultsYesNo)}\n {this.yesNoLabel(\n answers[RESP_EVA_QUESTIONS_KEY.consentToSendingACopyOfTheResultsYesNo]\n )}\n
    {t(i18n.physicianName)}\n {answers[RESP_EVA_QUESTIONS_KEY.consentInfoKeys.physicianName] &&\n answers[RESP_EVA_QUESTIONS_KEY.consentInfoKeys.physicianName].toUpperCase()}\n
    {t(i18n.clinicName)}{answers[RESP_EVA_QUESTIONS_KEY.consentInfoKeys.clinicName]}
    {t(i18n.clinicAddress)}{answers[RESP_EVA_QUESTIONS_KEY.consentInfoKeys.clinicAddress]}
    \n
    \n\n {answers[RESP_EVA_QUESTIONS_KEY.additionalInformation] && (\n \n

    {t(messages.importantInformationProvidedByParent)}

    \n {answers[RESP_EVA_QUESTIONS_KEY.additionalInformation]}\n
    \n )}\n \n );\n }\n\n renderClinicianRecommendations() {\n const t = this.props.intl.formatMessage;\n return (\n
    \n

    {t(messages.recommendationTitle)}

    \n

    \n \n

    \n\n

    1. {t(messages.snoringScore)}

    \n
    \n \n \n \n \n \n \n \n \n \n {(this.score > SNORE_SCORE.lowThreshold && this.score < SNORE_SCORE.highThreshold && (\n \n \n \n \n \n )) ||\n (this.score >= SNORE_SCORE.highThreshold && (\n \n \n \n \n \n )) || (\n \n \n \n \n \n )}\n \n
    {t(baseI18n.global.score)}{t(messages.interpretation)}
    \n \n \n {`> ${SNORE_SCORE.lowThreshold}, < ${SNORE_SCORE.highThreshold}`}\n \n \n
    \n \n ≥ {SNORE_SCORE.highThreshold}\n \n
    \n \n ≤ {SNORE_SCORE.lowThreshold}\n \n
    \n
    \n\n

    2. {t(messages.sleepScore)}

    \n
    \n
    \n \n
    {\"{\"}
    \n \n
    \n

    \n \n

    \n\n \n \n \n \n \n \n \n \n \n \n {(this.sleepScore >= SLEEP_SCORE.lowThreshold &&\n this.score < SNORE_SCORE.lowThreshold && (\n \n \n \n \n \n \n )) ||\n (this.sleepScore >= SLEEP_SCORE.lowThreshold &&\n this.sleepScore < SLEEP_SCORE.highThreshold &&\n this.score > SNORE_SCORE.highThreshold && (\n \n \n \n \n \n \n )) ||\n (this.sleepScore >= SLEEP_SCORE.highThreshold &&\n this.score > SNORE_SCORE.highThreshold && (\n \n \n \n \n \n \n )) || (\n \n \n \n \n \n \n )}\n \n
    {t(messages.sleep)}{t(messages.snoring)}{t(messages.interpretation)}
    \n \n ≥ {SLEEP_SCORE.lowThreshold.toFixed(1)}\n {\"<\"} {SNORE_SCORE.lowThreshold.toFixed(2)}\n \n \n
    \n \n ≥ {SLEEP_SCORE.lowThreshold.toFixed(1)}\n {\">\"} {SNORE_SCORE.highThreshold.toFixed(2)}\n \n \n
    \n \n {SLEEP_SCORE.highThreshold} - 7\n {\">\"} {SNORE_SCORE.highThreshold.toFixed(2)}\n \n \n
    \n \n \n {\"<\"} {SLEEP_SCORE.lowThreshold.toFixed(1)}\n \n {\"<\"} {SNORE_SCORE.highThreshold.toFixed(2)}\n \n \n
    \n
    \n\n

    3. {t(messages.behaviorScore)}

    \n
    \n \n \n \n \n \n \n \n \n \n \n {(this.behaviorScore > 1 && this.score < SNORE_SCORE.lowThreshold && (\n \n \n \n \n \n \n )) ||\n (this.behaviorScore >= 1 && this.score > SNORE_SCORE.highThreshold && (\n \n \n \n \n \n \n )) || (\n \n \n \n \n \n \n )}\n \n
    {t(messages.behavior)}{t(messages.snoring)}{t(messages.interpretation)}
    \n \n {\">\"} 1\n {\"<\"} {SNORE_SCORE.lowThreshold.toFixed(2)}\n \n \n
    \n \n ≥ 1\n {\">\"} {SNORE_SCORE.highThreshold.toFixed(2)}\n \n \n
    \n \n {\"<\"} 1\n {\"<\"} {SNORE_SCORE.highThreshold.toFixed(2)}\n \n \n
    \n
    \n
    \n );\n }\n}\n\nexport default injectIntl(Summary);\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport Button from \"react-toolbox/lib/button\";\n\nimport MUHCReportPrintHeader from \"~/src/js/components/forms/shared/muhc/MUHCReportPrintHeader\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport { URLs } from \"../../../constants\";\nimport { setFormParam } from \"../../../stores/forms/actions\";\nimport HtmlElement from \"../../shared/htmlElement\";\nimport { DropDownList as DropDownListInput } from \"../../shared/inputs/dropDownListInput\";\nimport * as FormHelpers from \"../helpers\";\nimport { PatientAssessmentForm } from \"../shared\";\n\nimport FormScorer from \"./RESP_EVA_formScorer\";\nimport Summary from \"./RESP_EVA_formSummary\";\n\nimport i18n from \"./RESP_EVA_form.i18n\";\nimport style from \"./RESP_EVA.style\";\n\nexport const FORM_CODE = \"RESP_EVA\";\n\nexport const messages = defineMessages({\n introduction: {\n id: \"forms.RESP_EVA.introduction\",\n description: \"Introductory text for RESP_EVA form\",\n defaultMessage: `Snoring may be a sign that your child has obstructions called APNEA (obstructive sleep apnea). During an obstruction, your child breathes (sometimes with great effort) but the air does not go well. These obstructions are usually due to increased volume (swelling) of the adenoids or tonsils.

    If your child often snores, is often tired and has difficulty get up in the morning and if he has hyperactivity, he may need treatment. The following questionnaire could help us clarify the situation.

    Here are the 6 questions you will have to answer about breathing and snoring:

    • Have you ever been forced to shake your child into sleep to get back to breathing?
    • Does your child stop breathing during sleep?
    • Does your child have difficulty breathing while sleeping?
    • Has your child's breathing while sleeping ever been a cause for concern for you? ?
    • What is the intensity of the sound of his snoring?
    • How often does your child snore?


    You will also need to indicate the frequency of the observations:

    • Never
    • Rarely
      (1 night per week )
    • Occasionally
      (2 nights a week)
    • Frequently
      (3 to 4 nights per week) ine)
    • Almost always
      (> 4 nights a week)


    If you do not know if your child snores every night or just a few nights a week and if you do not know the intensity of snoring, you should observe your child for 2-3 weeks before answering this questionnaire.

    Click here to download a guide for how to observe your child that you can print.`,\n },\n navbarHeaderOverride: {\n id: \"forms.RESP_EVA.navbarHeaderOverride\",\n description: \"Navbar header override\",\n defaultMessage:\n \"At any time, you can save your answers to complete later to take the time to observe your child's sleep.\",\n },\n});\n\nexport const YES_ANSWER = \"YES\";\n\nexport const RESP_EVA_QUESTIONS_KEY = {\n additionalInformation: \"additionalInformation\",\n consentToSendToPhysician: \"consentToSendingACopyOfTheResultsInfo\",\n consentToSendingACopyOfTheResultsYesNo: \"consentToSendingACopyOfTheResultsYesNo\",\n consentInfoKeys: {\n physicianName: \"physicianName\",\n clinicName: \"clinicName\",\n clinicAddress: \"clinicAddress\",\n },\n};\n\nexport class RespEvaForm extends React.Component {\n static propTypes = {\n viewer: PropTypes.object,\n formsReducer: PropTypes.object,\n intl: intlShape,\n dispatch: PropTypes.func,\n\n currentStep: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n jumpToSection: PropTypes.func,\n stepUrl: PropTypes.string,\n errors: PropTypes.arrayOf(PropTypes.object),\n formSubmittedNextAction: PropTypes.func,\n skipJumpCheckTimeout: PropTypes.bool,\n fullPageForm: PropTypes.bool,\n language: PropTypes.string,\n };\n\n constructor(props, context) {\n super(props, context);\n\n this.state = {\n formCode: FORM_CODE,\n isConsentToSendFormToPhysicianValid: false,\n };\n\n FormHelpers.bindable().forEach(({ name, func }) => {\n this[name] = func.bind(this);\n });\n }\n\n getFormCode() {\n return FORM_CODE;\n }\n\n setIsConsentToSendFormToPhysicianValid = (value) => {\n this.setState({\n isConsentToSendFormToPhysicianValid: value,\n });\n };\n\n getSubmitData() {\n const data = this.props.formsReducer[this.props.viewer.case.id] || {};\n return {\n ...data,\n // eslint-disable-next-line camelcase\n q0c2_values:\n data[\"q0c2\"] === YES_ANSWER\n ? data[\"q0c2_values\"].filter((x) => Boolean(x.name) && Boolean(x.duration))\n : [],\n };\n }\n\n getProgressionData() {\n return {};\n }\n\n getSubmitMetadata() {\n const scorer = new FormScorer(this.props.formsReducer[this.props.viewer.case.id] || {});\n return {\n score: scorer.getScore(),\n sleepScore: scorer.getSleepScore(),\n behaviorScore: scorer.getBehaviorScore(),\n };\n }\n\n includePrefaceQuestion() {\n return false;\n }\n\n questionPacksCalculated() {\n const questionPacks = this.allQuestions();\n\n return [...questionPacks];\n }\n\n allQuestions() {\n const frequencyOptions = [\n { RESP_EVA_freq0: \"0\" }, // eslint-disable-line camelcase\n { RESP_EVA_freq1: \"1\" }, // eslint-disable-line camelcase\n { RESP_EVA_freq2: \"2\" }, // eslint-disable-line camelcase\n { RESP_EVA_freq3: \"3\" }, // eslint-disable-line camelcase\n { RESP_EVA_freq4: \"4\" }, // eslint-disable-line camelcase\n ];\n const lessFrequencyOptions = [\n { RESP_EVA_lessfreq0: \"0\" }, // eslint-disable-line camelcase\n { RESP_EVA_lessfreq1: \"1\" }, // eslint-disable-line camelcase\n { RESP_EVA_lessfreq2: \"2\" }, // eslint-disable-line camelcase\n ];\n\n const shouldShowOldQuestion = Boolean(this.formVal(\"q0c\"));\n\n return [\n () => [],\n () => [\n this.yesno(\"q0a\", true),\n this.formVal(\"q0a\") === YES_ANSWER ? this.text(\"q0a_yes\") : null,\n ],\n () => [\n this.radio(\n \"q0b\",\n [\n { RESP_EVA_neither: \"neither\" }, // eslint-disable-line camelcase\n { RESP_EVA_tonsils: \"tonsils\" }, // eslint-disable-line camelcase\n { RESP_EVA_adenoids: \"adenoids\" }, // eslint-disable-line camelcase\n { RESP_EVA_both: \"both\" }, // eslint-disable-line camelcase\n ],\n !this.props.fullPageForm\n ),\n ],\n ]\n .concat(\n shouldShowOldQuestion\n ? [\n () => [\n this.yesno(\"q0c\", !this.props.fullPageForm),\n this.formVal(\"q0c\") === YES_ANSWER ? this.yesno(\"q0c_option_nasal\") : null,\n this.formVal(\"q0c\") === YES_ANSWER &&\n this.formVal(\"q0c_option_nasal\") === YES_ANSWER\n ? this.text(\"q0c_nasal_meds\")\n : null,\n this.formVal(\"q0c\") === YES_ANSWER &&\n this.formVal(\"q0c_option_nasal\") === YES_ANSWER\n ? this.text(\"q0c_nasal_length\")\n : null,\n this.formVal(\"q0c\") === YES_ANSWER ? this.yesno(\"q0c_option_others\") : null,\n this.formVal(\"q0c\") === YES_ANSWER &&\n this.formVal(\"q0c_option_others\") === YES_ANSWER\n ? this.text(\"q0c_others_meds\")\n : null,\n ],\n ]\n : [\n () => [\n this.yesno(\"q0c2\", !this.props.fullPageForm),\n this.formVal(\"q0c2\") === YES_ANSWER ? this.renderAddNasalSprayForm() : null,\n ],\n () => [\n this.yesno(\"q0c3\", !this.props.fullPageForm),\n this.formVal(\"q0c3\") === YES_ANSWER ? this.text(\"q0c3_names\") : null,\n ],\n ]\n )\n .concat([\n () => [this.yesno(\"q0d\", !this.props.fullPageForm, true)],\n () => [this.radio(\"q0e\", lessFrequencyOptions, !this.props.fullPageForm)],\n () => [this.radio(\"q0f\", lessFrequencyOptions, !this.props.fullPageForm)],\n () => [this.radio(\"q0g\", lessFrequencyOptions, !this.props.fullPageForm)],\n () => [this.radio(\"q0h\", lessFrequencyOptions, !this.props.fullPageForm)],\n () => [this.yesno(\"q0i\", !this.props.fullPageForm)],\n () => [this.yesno(\"q0j\", !this.props.fullPageForm)],\n () => [this.radio(\"q1\", frequencyOptions, !this.props.fullPageForm)],\n () => [this.radio(\"q2\", frequencyOptions, !this.props.fullPageForm)],\n () => [this.radio(\"q3\", frequencyOptions, !this.props.fullPageForm)],\n () => [this.radio(\"q4\", frequencyOptions, !this.props.fullPageForm)],\n () => [\n this.radio(\n \"q5\",\n [\n { RESP_EVA_loud0: \"0\" }, // eslint-disable-line camelcase\n { RESP_EVA_loud1: \"1\" }, // eslint-disable-line camelcase\n { RESP_EVA_loud2: \"2\" }, // eslint-disable-line camelcase\n { RESP_EVA_loud3: \"3\" }, // eslint-disable-line camelcase\n { RESP_EVA_loud4: \"4\" }, // eslint-disable-line camelcase\n ],\n !this.props.fullPageForm\n ),\n ],\n () => [this.radio(\"q6\", frequencyOptions, !this.props.fullPageForm)],\n () => [this.textQuestion(\"additionalInformation\", true, { optional: true })],\n () => [\n this.yesno(\n RESP_EVA_QUESTIONS_KEY.consentToSendingACopyOfTheResultsYesNo,\n !this.props.fullPageForm\n ),\n this.formVal(RESP_EVA_QUESTIONS_KEY.consentToSendingACopyOfTheResultsYesNo) === YES_ANSWER\n ? this.text(RESP_EVA_QUESTIONS_KEY.consentInfoKeys.physicianName, false, false, {})\n : null,\n this.formVal(RESP_EVA_QUESTIONS_KEY.consentToSendingACopyOfTheResultsYesNo) === YES_ANSWER\n ? this.text(RESP_EVA_QUESTIONS_KEY.consentInfoKeys.clinicName, false, false, {})\n : null,\n this.formVal(RESP_EVA_QUESTIONS_KEY.consentToSendingACopyOfTheResultsYesNo) === YES_ANSWER\n ? this.text(RESP_EVA_QUESTIONS_KEY.consentInfoKeys.clinicAddress, false, false, {})\n : null,\n ],\n () => [],\n ]);\n }\n\n handleAddNasalSprayForm(idx, name, newValue) {\n const val = (this.formVal(\"q0c2_values\") || []).map((x) => Object.assign({}, x));\n if (val.length <= 0) {\n val.push({ name: \"\", duration: \"\" });\n }\n val[idx][name] = newValue;\n this.props.dispatch(setFormParam(this.props.viewer.case.id, \"q0c2_values\", val));\n }\n\n renderAddNasalSprayForm() {\n const val = this.formVal(\"q0c2_values\") || [];\n if (val.length <= 0) {\n val.push({ name: \"\", duration: \"\" });\n }\n const isValid = val\n .map(\n (x, idx) => (Boolean(x.name) && Boolean(x.duration)) || (idx > 0 && !x.name && !x.duration)\n )\n .reduce((a, b) => a && b, true);\n return (\n \n
    \n
    \n \n \n \n
    \n
    \n {val.map((v, idx) => (\n
    \n {\n this.handleAddNasalSprayForm(idx, \"name\", newValue);\n }}\n name={\"q0c2_nasal_name\"}\n disabled={this.disableFormFields()}\n />\n {\n this.handleAddNasalSprayForm(idx, \"duration\", newValue);\n }}\n value={v.duration}\n source={[\n { \"\": \"\" },\n { label: this.t(i18n.q0c2_nasal_duration_lessthanone), value: \"lessthanone\" },\n { label: this.t(i18n.q0c2_nasal_duration_onetotwo), value: \"onetotwo\" },\n { label: this.t(i18n.q0c2_nasal_duration_twotosix), value: \"twotosix\" },\n { label: this.t(i18n.q0c2_nasal_duration_morethansix), value: \"morethansix\" },\n ]}\n getErrorMessage={() => \"\"}\n getValue={() => v.duration}\n showError={() => false}\n showRequired={() => false}\n isRequired={() => false}\n isFormSubmitted={() => false}\n isPristine={() => false}\n setValue={() => {}}\n disabled={this.disableFormFields()}\n />\n {\n e.preventDefault();\n const val = this.formVal(\"q0c2_values\") || [];\n val.splice(idx, 1);\n this.props.dispatch(\n setFormParam(this.props.viewer.case.id, \"q0c2_values\", val)\n );\n }}\n disabled={this.disableFormFields()}\n />\n
    \n ))}\n
    \n
    \n {!this.disableFormFields() && (\n
    \n {\n e.preventDefault();\n const val = this.formVal(\"q0c2_values\") || [];\n val.push({ name: \"\", duration: \"\" });\n if (val.length === 1) {\n val.push({ name: \"\", duration: \"\" });\n }\n this.props.dispatch(setFormParam(this.props.viewer.case.id, \"q0c2_values\", val));\n }}>\n + {this.t(i18n.q0c2_nasal_add)}\n \n
    \n )}\n \n );\n }\n\n bypassStep() {\n return false;\n }\n\n renderBigStep(currentStep, totalSteps, print, downloading) {\n if (currentStep === 0) {\n return this.renderIntro();\n }\n if (currentStep === totalSteps - 1) {\n return this.renderSummary(print, downloading);\n }\n }\n\n renderIntro() {\n return (\n
    \n (.*)<\\/small>/gi, \"
    $1\"),\n freq1: this.t(i18n.RESP_EVA_freq1).replace(/(.*)<\\/small>/gi, \"
    $1\"),\n freq2: this.t(i18n.RESP_EVA_freq2).replace(/(.*)<\\/small>/gi, \"
    $1\"),\n freq3: this.t(i18n.RESP_EVA_freq3).replace(/(.*)<\\/small>/gi, \"
    $1\"),\n freq4: this.t(i18n.RESP_EVA_freq4).replace(/(.*)<\\/small>/gi, \"
    $1\"),\n })}\n replaceLineBreaks={true}\n elementName=\"p\"\n />\n
    \n );\n }\n\n renderSummary(print, downloading) {\n return (\n \n );\n }\n\n renderHeader() {\n return (\n \n );\n }\n\n disableFormFields(): boolean {\n return (\n !this.props.viewer.case.isDraftStatus || !this.props.viewer.case.data.permissions.canSubmit\n );\n }\n\n showValidations(): boolean {\n return this.state.showValidations;\n }\n\n render() {\n return (\n
    \n div { display: flex; justify-content: center; }\n #cb_q0c_option label { padding: 0 2rem; }\n\n #txt_q0c_nasal_meds { float: left; width: 49%; margin-right: 1%; }\n #txt_q0c_nasal_length { float: left; width: 49%; margin-left: 1%; }\n .${formStyle[\"report-body\"]} [data-react-toolbox='input'] input {\n border: 2px solid #ccc;\n }\n .question-list {\n padding-left: 55px;\n }\n .frequency-list {\n display: flex;\n list-style: none;\n }\n .frequency-list li {\n flex: 1;\n }\n @media screen and (max-width: 675px) {\n .frequency-list {\n flex-direction: column;\n }\n .frequency-list li {\n border-bottom: 1px solid #ccc;\n margin-bottom: 1rem;\n }\n }\n `,\n }}\n />\n this.getProgressionData()}\n getSubmitData={() => this.getSubmitData()}\n getSubmitMetadata={() => this.getSubmitMetadata()}\n includePrefaceQuestion={this.includePrefaceQuestion()}\n questionPacksCalculated={this.questionPacksCalculated()}\n bypassStep={this.bypassStep()}\n renderBigStep={this.renderBigStep.bind(this)}\n renderHeader={() => this.renderHeader()}\n formName={this.t(i18n.title)}\n downloadFileName={this.t(i18n.downloadName)}\n onCompleteLaterLabel={this.t(messages.navbarHeaderOverride)}\n onNextSection={() => this.setState({ showValidations: false })}\n onInvalidNextSection={() => this.setState({ showValidations: true })}\n />\n
    \n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n formsReducer: state.formsReducer,\n fullPageForm: state.settingsReducer.fullPageForm,\n language: state.settingsReducer.language,\n };\n};\n\nconst mapDispatchToProps = (dispatch) => {\n return {\n setFormParam: (params) => {\n const { caseId, paramKey, paramValue } = params;\n dispatch(setFormParam(caseId, paramKey, paramValue));\n },\n dispatch,\n };\n};\n\nexport default Relay.createContainer(\n injectIntl(connect(mapStateToProps, mapDispatchToProps)(RespEvaForm)),\n {\n initialVariables: {\n caseId: null,\n caseLegacyId: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PatientAssessmentForm.getFragment(\"viewer\")}\n\n currentUser {\n isSpecialist\n }\n\n case(id: $caseId, legacyId: $caseLegacyId) {\n ${MUHCReportPrintHeader.getFragment(\"case\")}\n ${PatientAssessmentForm.getFragment(\"case\")}\n\n id\n legacyId\n isDraftStatus\n updatedAt\n completedAt\n patient {\n ${MUHCReportPrintHeader.getFragment(\"patient\")}\n legacyId\n demographic {\n gender\n firstName\n lastName\n fullName\n birthday\n age\n }\n }\n\n data {\n ... on PatientAssessmentData {\n toDepartment {\n ${MUHCReportPrintHeader.getFragment(\"department\")}\n }\n expectsRetrospective\n showPatientRecommendations\n jsonData\n\n permissions {\n canSubmit\n } \n }\n }\n }\n }\n `,\n },\n }\n);\n","import { serializeDate } from \"../../helpers/dates\";\n\nimport {\n RELAY_TO_REDUX,\n DISPATCH_LACHINE_ONLY,\n DISPATCH_SELECTED_TAGS,\n DISPATCH_ANTICIPATED_DATE,\n} from \"./types\";\n\nexport const relayToRedux = async (dispatch, data) => {\n dispatch({\n type: RELAY_TO_REDUX,\n payload: data,\n });\n};\n\nexport const dispatchSelectedTags = async (dispatch, arr) => {\n dispatch({\n type: DISPATCH_SELECTED_TAGS,\n payload: arr,\n });\n};\n\nexport const dispatchAnticipatedDate = (dispatch, date) => {\n const newDate = serializeDate(date);\n\n dispatch({\n type: DISPATCH_ANTICIPATED_DATE,\n payload: newDate,\n });\n};\n\nexport const dispatchLachineOnly = (dispatch, bool) => {\n dispatch({\n type: DISPATCH_LACHINE_ONLY,\n payload: bool,\n });\n};\n","export default class StepPermission {\n constructor(step) {\n this.stepData = step || {};\n this.permissions = this.stepData.permissions || { canUpdate: false, canSubmit: false };\n }\n\n get canUpdate() {\n return this.permissions.canUpdate || false;\n }\n\n get canSubmit() {\n return this.permissions.canSubmit || false;\n }\n\n get canSubmitOrUpdate() {\n return this.canSubmit || this.canUpdate;\n }\n}\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\n\nimport styles from \"./Footer.style.scss\";\n\nconst Footer = ({\n allowDraftSaving,\n secondaryBtnText,\n isEditable,\n secondaryOnClick,\n primaryOnClick,\n saving,\n primaryBtnText,\n submitting,\n}) => (\n
    \n \n \n {primaryBtnText}\n \n {allowDraftSaving && (\n \n {secondaryBtnText}\n \n )}\n \n
    \n);\n\nFooter.propTypes = {\n allowDraftSaving: PropTypes.bool,\n secondaryBtnText: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n primaryOnClick: PropTypes.func,\n secondaryOnClick: PropTypes.func,\n isEditable: PropTypes.bool,\n saving: PropTypes.bool,\n primaryBtnText: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\n submitting: PropTypes.bool,\n};\n\nexport default Footer;\n","import Footer from \"./Footer\";\n\nexport default Footer;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport classnames from \"classnames\";\n\nimport styles from \"./InputLabel.style\";\n\nconst InputLabel = ({ children, required }) => {\n const classes = classnames(styles[\"label\"], { [styles[\"required\"]]: required });\n return
    {children}
    ;\n};\n\nInputLabel.propTypes = {\n required: PropTypes.bool,\n};\n\nexport default InputLabel;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { usePopper } from \"react-popper\";\nimport classnames from \"classnames\";\n\nimport { useClickOutside } from \"~/src/js/hooks\";\n\nimport popoverStyles from \"./Popover.style\";\n\nexport const PopoverPlacement = {\n auto: \"auto\",\n autoStart: \"auto-start\",\n autoEnd: \"auto-end\",\n top: \"top\",\n topStart: \"top-start\",\n topEnd: \"top-end\",\n bottom: \"bottom\",\n bottomStart: \"bottom-start\",\n bottomEnd: \"bottom-end\",\n right: \"right\",\n rightStart: \"right-start\",\n rightEnd: \"right-end\",\n left: \"left\",\n leftStart: \"leftStart\",\n leftEnd: \"leftEnd\",\n};\n\n// TODO Philou: one day migrate this in gerudo (https://akinox.atlassian.net/browse/ADE-291)\n// Popover doc: https://popper.js.org/docs/v2/\nconst Popover = ({\n children,\n modifiers,\n placement,\n onClose,\n sameWithAsRefElement,\n visible,\n refElement,\n wrapClassName,\n}) => {\n const popoverRef = useRef(null);\n const [stateVisible, setStateVisible] = useState(visible);\n useClickOutside(popoverRef, () => handleOnClose());\n\n const { styles, attributes } = usePopper(refElement.current, popoverRef.current, {\n placement: placement,\n modifiers: modifiers,\n });\n\n useEffect(() => {\n setStateVisible(visible);\n }, [visible]);\n\n const handleOnClose = () => {\n onClose();\n setStateVisible(false);\n };\n\n const newPopoverStyle = {\n ...styles.popper,\n width: sameWithAsRefElement && refElement.current ? refElement.current.offsetWidth : \"auto\",\n };\n\n return (\n \n {children}\n \n );\n};\n\nPopover.propTypes = {\n modifiers: PropTypes.array,\n onClose: PropTypes.func.isRequired,\n placement: PropTypes.oneOf(Object.values(PopoverPlacement)),\n sameWithAsRefElement: PropTypes.bool,\n refElement: PropTypes.object,\n visible: PropTypes.bool,\n wrapClassName: PropTypes.string,\n};\n\nexport default Popover;\n","import PropTypes from \"prop-types\";\n\nexport const StepDataPropTypes = PropTypes.shape({\n clinicalCondition: PropTypes.string,\n sortingResult: PropTypes.string,\n});\n","import PropTypes from \"prop-types\";\n\nexport const ListsPropTypes = PropTypes.shape({\n clinicalConditions: PropTypes.object,\n consentSignedByList: PropTypes.object,\n consultationResults: PropTypes.object,\n sortingResults: PropTypes.object,\n surgerySites: PropTypes.object,\n documentTypeList: PropTypes.array,\n operaList: PropTypes.object,\n});\n","export default {\n InitialSorting: \"initial-sorting\",\n ClinicalOpinion: \"clinical-opinion\", // Future proofing.\n Consultation: \"consultation\",\n DocumentsExams: \"documents-exams\",\n ConsultationPlanning: \"consultation-planning\",\n AdmissionSurgery: \"admission-and-surgery-form\",\n GeneralConsent: \"consent-form\",\n TransfusionConsent: \"transfusion-consent-form\",\n PreopPlanning: \"pre-operative-visit-planning\",\n PreopVisit: \"pre-operative-visit\",\n SurgeryInformationCorb: \"surgery-information-corb\",\n DischargeReport: \"post-discharge-report\",\n PhoneTeaching: \"phone-teaching\",\n DischargePatient: \"patient-discharge\",\n};\n","import PropTypes from \"prop-types\";\n\nimport { AttachmentPropTypes } from \"~/src/js/PropTypes/Attachments\";\nimport { DateTimePropTypes } from \"~/src/js/PropTypes/DateTime\";\n\nimport { StepDataPropTypes } from \"./\";\n\nexport const StepPropTypes = PropTypes.shape({\n attachment: PropTypes.arrayOf(AttachmentPropTypes),\n children: PropTypes.array,\n completedOn: DateTimePropTypes,\n data: StepDataPropTypes,\n isCompleted: PropTypes.bool,\n stepId: PropTypes.string,\n tags: PropTypes.array,\n text: PropTypes.string,\n type: PropTypes.string,\n});\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n admissionAndSurgeryForm: {\n id: \"forms.THORSURG.admissionAndSurgeryForm\",\n description: \"Request for Admission/Surgery\",\n defaultMessage: \"Request for Admission/Surgery\",\n },\n consentForm: {\n id: \"forms.THORSURG.consentForm\",\n description: \"Consent form\",\n defaultMessage: \"Consent form\",\n },\n clinicalOpinion: {\n id: \"forms.THORSURG.clinicalOpinion\",\n description: \"clinicalOpinion\",\n defaultMessage: \"Clinical opinion\",\n },\n consultation: {\n id: \"forms.THORSURG.consultation\",\n description: \"Consultation title\",\n defaultMessage: \"Consultation\",\n },\n consultationPlanning: {\n id: \"forms.THORSURG.consultationPlanning\",\n description: \"Consultation Planning title\",\n defaultMessage: \"Consultation Planning\",\n },\n documentsExams: {\n id: \"forms.THORSURG.documentsExams\",\n description: \"Documents & Exams\",\n defaultMessage: \"Documents & Exams\",\n },\n discharge: {\n id: \"forms.THORSURG.discharge\",\n description: \"Discharge\",\n defaultMessage: \"Discharge\",\n },\n initialSorting: {\n id: \"forms.THORSURG.initialSorting\",\n description: \"Initial sorting\",\n defaultMessage: \"Initial sorting\",\n },\n phoneTeaching: {\n id: \"forms.THORSURG.phoneTeaching\",\n description: \"Phone teaching\",\n defaultMessage: \"Phone teaching\",\n },\n postDischargeReport: {\n id: \"forms.THORSURG.postDischargeReport\",\n description: \"Post discharge reports\",\n defaultMessage: \"Post discharge reports\",\n },\n preOperativeVisitPlanning: {\n id: \"forms.THORSURG.preOperativeVisitPlanning\",\n description: \"Preop prep\",\n defaultMessage: \"Preoperative visit planning\",\n },\n preOperativeVisit: {\n id: \"forms.THORSURG.preOperativeVisit\",\n description: \"Preop visit\",\n defaultMessage: \"Preoperative visit\",\n },\n surgeryInformationCorb: {\n id: \"forms.THORSURG.surgeryInformationCorb\",\n description: \"Surgery information\",\n defaultMessage: \"Surgery information\",\n },\n transfusionConsentForm: {\n id: \"forms.THORSURG.transfusionConsentForm\",\n description: \"Consent for Transfusion\",\n defaultMessage: \"Consent for Transfusion\",\n },\n});\n\nexport default messages;\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\n\nimport { formatDate } from \"../helpers\";\nimport stepNames from \"../stepNames\";\n\nimport styles from \"./Stepper.style.scss\";\n\nimport messages from \"./Stepper.i18n\";\n\nconst ActionItems = ({\n active,\n completedOn,\n stepId,\n intl: { formatMessage },\n isCompleted,\n language,\n onClick,\n subItem,\n type,\n}) => {\n const isDocuments = type === stepNames.DocumentsExams;\n\n let itemClass = \"\";\n let itemIcon = \"arrow_forward\";\n\n if (isCompleted) {\n itemIcon = \"done\";\n itemClass += styles[\"completed\"];\n }\n\n if (active) {\n itemIcon = \"arrow_forward\";\n itemClass += ` ${styles[\"active\"]}`;\n }\n\n if (subItem) {\n itemClass += ` ${styles[\"sub-item\"]}`;\n }\n\n if (isDocuments) {\n itemIcon = \"description\";\n itemClass += ` ${styles[\"documents\"]}`;\n }\n\n const mappedType = typeNameMaps[type] || type;\n\n // Manage link for pass items and make an exception for documents and exams\n return (\n
  • \n onClick(stepId),\n className: `thorsurg-${stepId}`,\n }\n : {\n className: classnames(`inactive`, styles[\"inactive\"]),\n })}>\n \n \n {messages[mappedType] ? formatMessage(messages[mappedType]) : mappedType}\n {formatDate(completedOn, language)}\n \n \n
  • \n );\n};\n\nActionItems.propTypes = {\n active: PropTypes.bool,\n caseLegacyId: PropTypes.number,\n completedOn: PropTypes.string,\n stepId: PropTypes.string,\n isCompleted: PropTypes.bool,\n language: PropTypes.string,\n onClick: PropTypes.func,\n subItem: PropTypes.bool,\n type: PropTypes.string,\n};\n\nexport default injectIntl(ActionItems);\n\nconst typeNameMaps = {\n [stepNames.AdmissionSurgery]: \"admissionAndSurgeryForm\",\n [stepNames.ClinicalOpinion]: \"clinicalOpinion\",\n [stepNames.GeneralConsent]: \"consentForm\",\n [stepNames.ConsultationPlanning]: \"consultationPlanning\",\n [stepNames.DischargePatient]: \"discharge\",\n [stepNames.DischargeReport]: \"postDischargeReport\",\n [stepNames.DocumentsExams]: \"documentsExams\",\n [stepNames.InitialSorting]: \"initialSorting\",\n [stepNames.PhoneTeaching]: \"phoneTeaching\",\n [stepNames.PreopPlanning]: \"preOperativeVisitPlanning\",\n [stepNames.PreopVisit]: \"preOperativeVisit\",\n [stepNames.SurgeryInformationCorb]: \"surgeryInformationCorb\",\n [stepNames.TransfusionConsent]: \"transfusionConsentForm\",\n};\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\n\nimport { formatDate } from \"../helpers\";\nimport stepNames from \"../stepNames\";\n\nimport styles from \"./Stepper.style.scss\";\n\nimport messages from \"./Stepper.i18n\";\n\nconst NavItems = ({\n active,\n caseLegacyId,\n completedOn,\n stepId,\n intl: { formatMessage },\n isCompleted,\n language,\n subItem,\n type,\n}) => {\n const isDocuments = type === stepNames.DocumentsExams;\n\n let itemClass = \"\",\n itemIco = \"arrow_forward\";\n\n if (isCompleted) {\n itemIco = \"done\";\n itemClass += styles[\"completed\"];\n }\n\n if (active) {\n itemIco = \"arrow_forward\";\n itemClass += ` ${styles[\"active\"]}`;\n }\n\n if (subItem) itemClass += ` ${styles[\"sub-item\"]}`;\n\n if (isDocuments) {\n itemIco = \"description\";\n itemClass += ` ${styles[\"documents\"]}`;\n }\n\n const mappedType = typeNameMaps[type] || type;\n\n // Manage link for pass items and make an exception for documents and exams\n return (\n
  • \n \n \n \n {messages[mappedType] ? formatMessage(messages[mappedType]) : mappedType}\n {formatDate(completedOn, language)}\n \n \n
  • \n );\n};\n\nNavItems.propTypes = {\n active: PropTypes.bool,\n caseLegacyId: PropTypes.number,\n completedOn: PropTypes.string,\n stepId: PropTypes.string,\n isCompleted: PropTypes.bool,\n language: PropTypes.string,\n subItem: PropTypes.bool,\n type: PropTypes.string,\n};\n\nexport default injectIntl(NavItems);\n\nconst typeNameMaps = {\n [stepNames.AdmissionSurgery]: \"admissionAndSurgeryForm\",\n [stepNames.ClinicalOpinion]: \"clinicalOpinion\",\n [stepNames.GeneralConsent]: \"consentForm\",\n [stepNames.ConsultationPlanning]: \"consultationPlanning\",\n [stepNames.DischargePatient]: \"discharge\",\n [stepNames.DischargeReport]: \"postDischargeReport\",\n [stepNames.DocumentsExams]: \"documentsExams\",\n [stepNames.InitialSorting]: \"initialSorting\",\n [stepNames.PhoneTeaching]: \"phoneTeaching\",\n [stepNames.PreopPlanning]: \"preOperativeVisitPlanning\",\n [stepNames.PreopVisit]: \"preOperativeVisit\",\n [stepNames.SurgeryInformationCorb]: \"surgeryInformationCorb\",\n [stepNames.TransfusionConsent]: \"transfusionConsentForm\",\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport ActionItems from \"./ActionItems\";\nimport NavItems from \"./NavItems\";\n\nconst Step = ({ active, caseLegacyId, onClick, navActivated, step }) => {\n const { stepId } = step;\n const handleClick = (stepId) => {\n if (onClick) {\n onClick(stepId);\n }\n };\n\n if (!navActivated || (step.isCompleted && onClick)) {\n return handleClick(stepId)} />;\n }\n\n if (!(step.isCompleted && onClick)) {\n return ;\n }\n\n return null;\n};\n\nStep.propTypes = {\n active: PropTypes.bool,\n caseLegacyId: PropTypes.number,\n onClick: PropTypes.func,\n navActivated: PropTypes.bool,\n step: PropTypes.object,\n};\n\nStep.defaultProps = {\n navActivated: true,\n};\n\nexport default Step;\n","import PropTypes from \"prop-types\";\nimport React, { Fragment } from \"react\";\nimport uuid from \"uuid/v4\";\nimport classnames from \"classnames\";\n\nimport Step from \"./Step\";\nimport styles from \"./Stepper.style.scss\";\n\nconst Stepper = ({\n caseLegacyId,\n className,\n currentStep,\n navActivated,\n selectedTags,\n steps,\n onClick,\n}) => {\n const filterTag = (tags) => tags.every((v) => selectedTags.includes(v));\n\n return (\n \n );\n};\n\nStepper.propTypes = {\n caseLegacyId: PropTypes.number,\n className: PropTypes.string,\n currentStep: PropTypes.string,\n navActivated: PropTypes.bool,\n onClick: PropTypes.func,\n selectedTags: PropTypes.any,\n steps: PropTypes.array,\n};\n\nexport default Stepper;\n","import Stepper from \"./Stepper\";\n\nexport default Stepper;\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class SubmitThoracicSurgeryStepMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(SubmitThoracicSurgeryStepMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { submitThoracicSurgeryStep }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n stepId: this.props.stepId,\n text: this.props.text || \"\",\n fileIds: this.props.fileIds || [],\n data: this.props.data,\n signatureToken: this.props.signatureToken,\n handWrittenSignatureId: this.props.handWrittenSignatureId,\n handWrittenSignatureId2: this.props.handWrittenSignatureId2,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on SubmitThoracicSurgeryStepPayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n casesTotals\n }\n case {\n isDraftStatus\n status\n data {\n ... on ThoracicSurgeryData {\n permissions\n steps\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n}\n\nexport const submitStep = (\n cas,\n viewer,\n stepId,\n text,\n fileIds,\n data,\n signatureToken,\n handWrittenSignatureId,\n handWrittenSignatureId2\n) => {\n const params = {\n viewer: viewer,\n case: cas,\n caseId: cas.id,\n stepId,\n text,\n fileIds,\n data,\n signatureToken,\n handWrittenSignatureId,\n handWrittenSignatureId2,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new SubmitThoracicSurgeryStepMutation(params), {\n onSuccess: (r) => {\n resolve(r.submitThoracicSurgeryStep);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class UpdateThoracicSurgeryStepMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(UpdateThoracicSurgeryStepMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { updateThoracicSurgeryStep }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n stepId: this.props.stepId,\n text: this.props.text || \"\",\n fileIds: this.props.fileIds || [],\n data: this.props.data,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on UpdateThoracicSurgeryStepPayload {\n case {\n isDraftStatus\n status\n data {\n ... on ThoracicSurgeryData {\n permissions\n steps\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n ];\n }\n}\n\nexport const updateStep = (cas, viewer, stepId, text, fileIds, data) => {\n const params = {\n viewer: viewer,\n case: cas,\n caseId: cas.id,\n stepId,\n text,\n fileIds,\n data,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new UpdateThoracicSurgeryStepMutation(params), {\n onSuccess: (r) => {\n resolve(r.updateThoracicSurgeryStep);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n admissionSurgery: {\n id: \"forms.THORSURG.admissionSurgery\",\n description: \"Title for form admission surgery\",\n defaultMessage: \"Request for Admission/Surgery\",\n },\n addDocument: {\n id: \"forms.THORSURG.addDocument\",\n description: \"Add document\",\n defaultMessage: \"Add document\",\n },\n consultationDate: {\n id: \"forms.THORSURG.consultationDate\",\n description: \"Date of consultation label\",\n defaultMessage: \"Consultation date\",\n },\n clinicalCondition: {\n id: \"forms.THORSURG.clinicalConditionConfirmed\",\n description: \"clinicalCondition\",\n defaultMessage: \"Clinical condition during initial sorting\",\n },\n clinicalConditionDropdown: {\n id: \"forms.THORSURG.clinicalConditionDropdown\",\n description: \"clinicalConditionDropdown\",\n defaultMessage: \"Clinical condition during initial sorting\",\n },\n clinicalOpinion: {\n id: \"forms.THORSURG.clinicalOpinion\",\n description: \"clinicalOpinion\",\n defaultMessage: \"Clinical opinion\",\n },\n cnesstRelated: {\n id: \"forms.THORSURG.cnesstRelated\",\n description: \"CNESST related surgery\",\n defaultMessage: \"CNESST related surgery\",\n },\n consultationDelay: {\n id: \"forms.THORSURG.consultationDelay\",\n description: \"Consultation delay\",\n defaultMessage: \"Consultation delay\",\n },\n consultationNotePrintSuffix: {\n id: \"forms.THORSURG.consultationNotePrintSuffix\",\n description: \"Consultation note print filename part\",\n defaultMessage: \"Consultation_note\",\n },\n consultationPlanning: {\n id: \"forms.THORSURG.consultationPlanning\",\n description: \"Consultation Planning title\",\n defaultMessage: \"Consultation Planning\",\n },\n consultation: {\n id: \"forms.THORSURG.consultation\",\n description: \"Consultation title\",\n defaultMessage: \"Consultation\",\n },\n consultationResult: {\n id: \"forms.THORSURG.consultationResult\",\n description: \"Consultation result\",\n defaultMessage: \"Consultation result\",\n },\n consultationPrep: {\n id: \"forms.THORSURG.consultationPrep\",\n description: \"Consultation Prep title\",\n defaultMessage: \"Consultation prep\",\n },\n documentName: {\n id: \"forms.THORSURG.documentName\",\n description: \"Document name\",\n defaultMessage: \"Document name\",\n },\n documentsExams: {\n id: \"forms.THORSURG.documentsExams\",\n description: \"Documents & Exams\",\n defaultMessage: \"Documents & Exams\",\n },\n doneBy: {\n id: \"forms.THORSURG.doneBy\",\n description: \"Table header for done by\",\n defaultMessage: \"Done by\",\n },\n estimatedDate: {\n id: \"forms.THORSURG.estimatedDate\",\n description: \"Table header for estimated date\",\n defaultMessage: \"Estimated date\",\n },\n estimatedLengthSurgery: {\n id: \"forms.THORSURG.estimatedLengthSurgery\",\n description: \"Estimated length of surgery\",\n defaultMessage: \"Estimated length of surgery\",\n },\n expectedOperativeProcedure: {\n id: \"forms.THORSURG.expectedOperativeProcedure\",\n description: \"Expected operative procedure\",\n defaultMessage: \"Expected operative procedure\",\n },\n fieldRequired: {\n id: \"forms.THORSURG.fieldRequired\",\n description: \"Error message for a required field\",\n defaultMessage: \"Enter a value.\",\n },\n formsConsentTitle: {\n id: \"forms.THORSURG.formsConsentTitle\",\n description: \"Title for consent forms\",\n },\n formsConsent: {\n id: \"forms.THORSURG.formsConsent\",\n description: \"Label for who consented\",\n defaultMessage: \"Forms and consent signed by\",\n },\n formsConsentSignedBy: {\n id: \"forms.THORSURG.formsConsentSignedBy\",\n description: \"Label for who consented lightbox\",\n },\n formsConsentHeader: {\n id: \"forms.THORSURG.formsConsentHeader\",\n description: \"Header for forms consent\",\n },\n formsConsentLabel: {\n id: \"forms.THORSURG.formsConsentLabel\",\n description: \"Label for forms consent\",\n },\n formsConsentCompletionHeader: {\n id: \"forms.THORSURG.formsConsentCompletionHeader\",\n description: \"Label for forms consent completion header\",\n },\n formsConsentCompletionText: {\n id: \"forms.THORSURG.formsConsentCompletionText\",\n description: \"Label for forms consent completion text\",\n },\n initialSorting: {\n id: \"forms.THORSURG.initialSorting\",\n description: \"Initial sorting\",\n defaultMessage: \"Initial sorting\",\n },\n neededDocuments: {\n id: \"forms.THORSURG.neededDocuments\",\n description: \"Following documents are needed\",\n defaultMessage: \"The following documents are required: \",\n },\n preOpSite: {\n id: \"forms.THORSURG.preOpSite\",\n description: \"Pre-op site\",\n defaultMessage: \"Preoperative visit site\",\n },\n requiredExam: {\n id: \"forms.THORSURG.requiredExam\",\n description: \"Table header for required exam\",\n defaultMessage: \"Required exam\",\n },\n sortingResult: {\n id: \"forms.THORSURG.sortingResult\",\n description: \"Sorting result\",\n defaultMessage: \"Sorting result\",\n },\n surgeon: {\n id: \"forms.THORSURG.surgeon\",\n description: \"Surgeon name\",\n defaultMessage: \"Surgeon\",\n },\n surgery: {\n id: \"forms.THORSURG.surgery\",\n description: \"Surgery request header\",\n defaultMessage: \"Surgery request\",\n },\n surgeryDate: {\n id: \"forms.THORSURG.surgeryDate\",\n description: \"Surgery date\",\n defaultMessage: \"Surgery date\",\n },\n surgeryToBeDetermined: {\n id: \"forms.THORSURG.surgeryToBeDetermined\",\n description: \"To be determined\",\n defaultMessage: \"To be determined\",\n },\n surgerySite: {\n id: \"forms.THORSURG.surgerySite\",\n description: \"Surgery site\",\n defaultMessage: \"Surgery site\",\n },\n suspectedCancer: {\n id: \"forms.THORSURG.suspectedCancer\",\n description: \"Suspected or confirmed cancer\",\n defaultMessage: \"Suspected or confirmed cancer\",\n },\n thoracicSurgery: {\n id: \"forms.THORSURG.thoracicSurgery\",\n description: \"Thoracic surgery\",\n defaultMessage: \"Thoracic surgery\",\n },\n thoracicSurgeryTitle: {\n id: \"forms.THORSURG.thoracicSurgeryTitle\",\n description: \"Thoracic surgery title\",\n defaultMessage: \"Thoracic surgery #{caseId}\",\n },\n titleSection1: {\n id: \"forms.THORSURG.titleSection1\",\n description: \"Title for first section of admission form\",\n defaultMessage: \"1. Medical services required\",\n },\n titleSection2: {\n id: \"forms.THORSURG.titleSection2\",\n description: \"Title for second section of admission form\",\n defaultMessage: \"2. Additional information\",\n },\n titleSection3: {\n id: \"forms.THORSURG.titleSection3\",\n description: \"Title for third section of admission form\",\n defaultMessage: \"3. Additional pre-operative test - Special instructions\",\n },\n admissionAndSurgeryForm: {\n id: \"forms.THORSURG.admissionAndSurgeryForm\",\n description: \"Request for Admission/Surgery\",\n defaultMessage: \"Request for Admission/Surgery\",\n },\n consentForm: {\n id: \"forms.THORSURG.consentForm\",\n description: \"Consent form\",\n defaultMessage: \"Consent form\",\n },\n transfusionConsentForm: {\n id: \"forms.THORSURG.transfusionConsentForm\",\n description: \"Consent for Transfusion\",\n defaultMessage: \"Consent for Transfusion\",\n },\n showAppointments: {\n id: \"forms.THORSURG.showAppointments\",\n description: \"Show appointments button\",\n defaultMessage: \"Show appointments\",\n },\n appointmentsForPatient: {\n id: \"forms.THORSURG.appointmentsForPatient\",\n description: \"Appointments for patient\",\n defaultMessage: \"Appointments for patient\",\n },\n preOperativeVisitPlanning: {\n id: \"forms.THORSURG.preOperativeVisitPlanning\",\n description: \"Preop prep\",\n defaultMessage: \"Preoperative visit planning\",\n },\n onlyPdfFiles: {\n id: \"filesInput.onlyPdfFiles\",\n description: \"Label to indicate that only PDF files will be readable on OACIS.\",\n defaultMessage: \"(Only PDF documents will be readable after transfer on OACIS)\",\n },\n lostOfDataWarning: {\n id: \"forms.THORSURG.lostOfDataWarning\",\n description: \"Warning message to inform user of possible data lost.\",\n },\n});\n\nexport default messages;\n","import { parseToIsoDate } from \"~/src/js/helpers/dates\";\nimport { AppSettings } from \"~/src/js/constants\";\nimport { getToken } from \"~/src/js/helpers/authentication\";\nimport { downloadFile, saveFile } from \"~/src/js/helpers/files\";\nimport { normalizeFileName } from \"~/src/js/helpers/strings\";\n\nimport stepNames from \"../stepNames\";\nimport { findStepById } from \"../helpers\";\n\nimport messages from \"../ThoracicSurgeryForm.i18n\";\n\nexport const printThorsurgForm = (props, isDownloading) => {\n const {\n intl: { formatMessage },\n viewer: { case: cas },\n manageDownload,\n formCurrentStep,\n margins,\n } = props;\n const caseId = encodeURIComponent(cas.id);\n const jwt = encodeURIComponent(getToken());\n\n const { fullName: patientFullName } = cas.patient.demographic;\n\n let fileNamePrefix = formatMessage(messages.thoracicSurgery);\n\n const currentStep = findStepById(cas.data.steps, formCurrentStep);\n const isConsultationPrint =\n currentStep.type === stepNames.Consultation && currentStep.isCompleted;\n if (isConsultationPrint) {\n fileNamePrefix += `_${formatMessage(messages.consultationNotePrintSuffix)}`;\n }\n\n const fileName = `${fileNamePrefix}_${patientFullName}_${cas.legacyId}_${parseToIsoDate(\n cas.updatedAt\n )}.pdf`;\n const urlFriendlyFileName = encodeURIComponent(normalizeFileName(fileName));\n const marginsParam = margins\n ? `&margins=${margins.top},${margins.right},${margins.bottom},${margins.left}`\n : \"\";\n\n const uri = `${AppSettings.PdfRootUrl}/GER_FCGA/${caseId}?jwt=${jwt}&step=${formCurrentStep}&lang=${props.language}&tab=patient&fileName=${urlFriendlyFileName}${marginsParam}`;\n\n isDownloading(true);\n manageDownload(formatMessage, \"accept\");\n\n downloadFile(uri, jwt, true)\n .then((f) => {\n saveFile(f);\n isDownloading(false);\n })\n .catch(() => {\n isDownloading(false);\n manageDownload(formatMessage, \"cancel\");\n });\n};\n","import React, { forwardRef, useImperativeHandle, useState } from \"react\";\nimport { Button, PrinterIcon } from \"@akinoxsolutions/gerudo-ui\";\nimport PropTypes from \"prop-types\";\nimport { FormattedMessage, injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\n\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport { findStepById } from \"../helpers\";\n\nimport { printThorsurgForm } from \"./print\";\nimport styles from \"./Toolbar.style.scss\";\n\nexport const Toolbar = (props) => {\n const { case: cas, formCurrentStep, forwardedRef } = props;\n const [downloading, isDownloading] = useState(false);\n\n useImperativeHandle(forwardedRef, () => ({\n print() {\n printThorsurgForm(props, isDownloading);\n },\n }));\n\n const foundStep = findStepById(cas.data.steps, formCurrentStep) || {};\n\n return foundStep.isCompleted ? (\n
    \n }\n htmlType=\"button\"\n icon={}\n loading={downloading}\n onClick={() => printThorsurgForm(props, isDownloading)}\n />\n
    \n ) : null;\n};\n\nToolbar.propTypes = {\n case: CasePropTypes,\n dispatch: PropTypes.func,\n formCurrentStep: PropTypes.string,\n forwardedRef: PropTypes.any,\n intl: intlShape,\n language: PropTypes.string,\n manageDownload: PropTypes.func,\n viewer: ViewerPropTypes,\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n manageDownload: (formatMessage, downloadType) => {\n let textDownload = baseI18n.global.downloadStarted;\n if (downloadType === \"cancel\") {\n textDownload = baseI18n.global.downloadFailed;\n }\n dispatch(showDialogNotice(formatMessage(textDownload), downloadType));\n },\n});\n\nconst ConnectedToolbar = injectIntl(connect(null, mapDispatchToProps)(Toolbar));\n\n// eslint-disable-next-line react/display-name\nexport default forwardRef((props, ref) => );\n","import Toolbar from \"./Toolbar\";\n\nexport default Toolbar;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { ButtonGroup, Button } from \"@akinoxsolutions/gerudo-ui\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nconst ThoracicSurgeryModalActions = ({\n isSavingDraft,\n isSubmitting,\n loading,\n onCancel,\n onSave,\n onSaveDraft,\n saveDisabled,\n readonly,\n showCancelButton,\n}) => {\n if (readonly) {\n return null;\n }\n\n const handleOnSaveAndClose = async () => {\n await onSaveDraft();\n onCancel();\n };\n\n return (\n \n await handleOnSaveAndClose()}\n loading={isSavingDraft}\n disabled={isSubmitting || loading}>\n \n \n {showCancelButton && (\n \n \n \n )}\n \n \n \n \n );\n};\n\nThoracicSurgeryModalActions.propTypes = {\n isSavingDraft: PropTypes.bool,\n isSubmitting: PropTypes.bool,\n loading: PropTypes.bool,\n onCancel: PropTypes.func.isRequired,\n onSave: PropTypes.func.isRequired,\n onSaveDraft: PropTypes.func.isRequired,\n saveDisabled: PropTypes.bool,\n readonly: PropTypes.bool,\n showCancelButton: PropTypes.bool,\n};\n\nexport default ThoracicSurgeryModalActions;\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n procedures: {\n id: \"forms.THORSURG.procedures\",\n description: \"Procedures\",\n defaultMessage: \"Procedures\",\n },\n procedureName: {\n id: \"forms.THORSURG.procedureName\",\n description: \"Procedure name\",\n defaultMessage: \"Procedure name\",\n },\n anatomicalSite: {\n id: \"forms.THORSURG.anatomicalSite\",\n description: \"Anatomical Site\",\n defaultMessage: \"Anatomical Site\",\n },\n surgeryCodeOPERA: {\n id: \"forms.THORSURG.surgeryCodeOPERA\",\n description: \"Code de chirurgie (OPERA)\",\n },\n generalConsent: {\n id: \"forms.THORSURG.generalConsent\",\n description: \"Title for general consent form\",\n defaultMessage: \"Consent form\",\n },\n generalConsentAuthorize: {\n id: \"forms.THORSURG.generalConsentAuthorize\",\n description: \"Authorize doctor and team\",\n defaultMessage:\n \"I understand that the Hospital is a university teaching hospital and authorize Dr Ferri, Dr Spicer, Dr Cools-Lartigue, Dr Najmeh and those under his/her supervision, to perform the following procedure(s): \",\n },\n generalConsentAllMd: {\n id: \"forms.THORSURG.generalConsentAllMd\",\n description: \"If no dr filled, default value.\",\n defaultMessage: \"Dr. Ferri, Dr. Spicer, Dr. Cools-Lartigue, Dr. Najmeh\",\n },\n generalConsentMdTitle: {\n id: \"forms.THORSURG.generalConsentMdTitle\",\n description: \"Doctor title\",\n defaultMessage: \"Dr.\",\n },\n generalConsentOrgans: {\n id: \"forms.THORSURG.generalConsentOrgans\",\n description: \"Consent to disposal of organs and tissues\",\n defaultMessage:\n \"I authorize the Hospital to dispose of the tissues, organs and body fluids removed, or to use them for purposes of research in which I cannot be identified and which has been approved by the Ethics Committee of the Hospital.\",\n },\n generalConsentOtherNecessaryIntervention: {\n id: \"forms.THORSURG.generalConsentOtherNecessaryIntervention\",\n description: \"Consent to other necessary intervention\",\n defaultMessage:\n \"I authorize any unforeseeable intervention which may be necessary at this time of this examination or treatment and for which it would be impossible to obtain my consent.\",\n },\n generalConsentSection: {\n id: \"forms.THORSURG.generalConsentSection\",\n description: \"Title of section for general consent form\",\n defaultMessage: \"Consent to Surgery, Diagnostic or Therapeutic Procedure\",\n },\n generalConsentSideEffects: {\n id: \"forms.THORSURG.generalConsentSideEffects\",\n description: \"Consenting to possible effects of the intervention\",\n defaultMessage:\n \"I acknowledge that the nature and possible effects of this intervention has been explained to me.\",\n },\n generalConsentSubtitle: {\n id: \"forms.THORSURG.generalConsentSubtitle\",\n description: \"Subtitle for general consent form\",\n defaultMessage: \"General consent to be signed upon admission\",\n },\n generalConsentText: {\n id: \"forms.THORSURG.generalConsentText\",\n description: \"Text for general consent form\",\n defaultMessage:\n \"I understand that the McGill University Health Centre is a McGill University teaching hospital, and that the physicians who are members of the Hospital’s staff are the responsible attending physicians under who supervision residents, as well as medical students, work as part of the care team.\",\n },\n generalConsentText2: {\n id: \"forms.THORSURG.generalConsentText2\",\n description: \"Text for general consent form\",\n defaultMessage:\n \"Understanding the team system, I consent to be treated by the assigned members of the care team. I also authorize other health care professionals to carry out necessary examinations, assessments and/or treatments.\",\n },\n generalConsentText3: {\n id: \"forms.THORSURG.generalConsentText3\",\n description: \"Text for general consent form\",\n defaultMessage:\n \"In addition I authorize the Hospital and the treating physicians, personnel or consultants, involved in my care to have access to my medical record and in addition to permit the professionals involved in my care to communicate to the Ministry of Health and Social Services (MSSS) and to the Régie de l’assurance-maladie du Québec (RAMQ), required information concerning the hospitalization. The information transmitted to the MSSS and to the RAMQ is governed by the legislation pertaining to access to documents public institutions and the protection of personal information.\",\n },\n restrictions: {\n id: \"forms.THORSURG.restrictions\",\n description: \"Restrictions\",\n defaultMessage: \"Restrictions\",\n },\n otherRestrictions: {\n id: \"forms.THORSURG.otherRestrictions\",\n description: \"Indication for possible other restriction\",\n defaultMessage: \"Subject to any other restrictions indicated by me on this form.\",\n },\n signatureDescription: {\n id: \"signatures.handwritten.generalConsent.description\",\n description: \"Signature description\",\n defaultMessage:\n \"By signing electronically below, {legalSignatory}, consent to the clauses discussed in the consent form.\",\n },\n legalRepresentativeFullName: {\n id: \"signatures.handwritten.labels.legalRepresentative.fullName\",\n description: \"Legal representative full name label\",\n defaultMessage: \"Legal representative full name\",\n },\n});\n\nexport default messages;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { NoneSpecifiedFieldMessage } from \"~/src/js/components/shared/NoneSpecifiedFieldMessage\";\n\nimport messages from \"../../GeneralConsent.i18n\";\n\n// TODO Philou: someday do this for all tables (gotta ship this one though)\nconst MobileProcedure = ({ procedure }) => {\n return (\n
    \n
    \n
    \n :\n
    \n
    \n \n {procedure.name}\n \n
    \n
    \n
    \n
    \n :\n
    \n
    \n \n {procedure.anatomicalSite}\n \n
    \n
    \n
    \n
    \n :\n
    \n
    \n \n {procedure.surgeryCode}\n \n
    \n
    \n
    \n );\n};\n\nMobileProcedure.propTypes = {\n procedure: PropTypes.shape({\n name: PropTypes.string,\n anatomicalSite: PropTypes.string,\n surgeryCode: PropTypes.number,\n }),\n};\n\nexport default MobileProcedure;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl, intlShape } from \"react-intl\";\n\nimport { Table } from \"~/src/js/components/common\";\n\nimport MobileProcedure from \"./MobileProcedure\";\n\nimport messages from \"../../GeneralConsent.i18n\";\nimport styles from \"../ProceduresTable.style\";\n\n// TODO Philou: someday do this for all tables (gotta ship this one though)\nconst MobileProceduresTable = ({ procedures, intl: { formatMessage } }) => {\n const procedureModel = {\n procedures: { type: Node, title: formatMessage(messages.procedures) },\n };\n\n const proceduresList = [];\n if (procedures && procedures.procedureName) {\n procedures.procedureName.map((name, i) =>\n proceduresList.push({\n procedures: (\n \n ),\n })\n );\n }\n\n return (\n \n );\n};\n\nMobileProceduresTable.propTypes = {\n procedures: PropTypes.array,\n intl: intlShape,\n};\n\nexport default injectIntl(MobileProceduresTable);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl, intlShape } from \"react-intl\";\n\nimport { Table } from \"~/src/js/components/common\";\nimport MobileMediaQuery from \"~/src/js/components/shared/MediaQuery/MobileMediaQuery\";\n\nimport { MobileProceduresTable } from \"./Mobile\";\n\nimport messages from \"../GeneralConsent.i18n\";\nimport styles from \"./ProceduresTable.style\";\n\nconst ProceduresTable = ({ procedures, intl: { formatMessage } }) => {\n const procedureModel = {\n name: { type: String, title: formatMessage(messages.procedureName) },\n anatomicalSite: { type: String, title: formatMessage(messages.anatomicalSite) },\n surgeryCode: { type: Number, title: formatMessage(messages.surgeryCodeOPERA) },\n };\n\n const proceduresList = [];\n if (procedures && procedures.procedureName) {\n procedures.procedureName.map((name, i) =>\n proceduresList.push({\n name: name,\n anatomicalSite: procedures.anatomicalSite[i],\n surgeryCode: procedures.surgeryCode[i],\n })\n );\n }\n\n return (\n \n {(matches) => {\n if (matches) {\n return ;\n }\n\n return (\n \n );\n }}\n \n );\n};\n\nProceduresTable.propTypes = {\n procedures: PropTypes.array,\n intl: intlShape,\n};\n\nexport default injectIntl(ProceduresTable);\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment, useState } from \"react\";\nimport get from \"lodash/get\";\nimport { injectIntl, FormattedMessage } from \"react-intl\";\n\nimport { featureKeys } from \"~/src/js/helpers/features\";\nimport { TextInput, GerudoTextInput } from \"~/src/js/components/shared/inputs\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport {\n HandWrittenSignatureDialog,\n HandWrittenFormHeader,\n HandWrittenSignature,\n RecordSignature,\n LegalSignatoryText,\n LegalSignatoryLabel,\n} from \"~/src/js/components/shared/Signatures\";\nimport { SkeletonLoader } from \"~/src/js/components/shared/Loading\";\nimport {\n LegalSignatoryTypeMapper,\n LegalSignatoryType,\n} from \"~/src/js/components/shared/Signatures/mutations\";\nimport { FeatureFlagContainer } from \"~/src/js/components/shared/Features/FeatureFlagContainer\";\n\nimport { StepPropTypes } from \"../../PropTypes\";\n\nimport { ProceduresTable } from \"./Procedures\";\n\nimport styles from \"../../ThoracicSurgeryForm.style\";\nimport messages from \"./GeneralConsent.i18n\";\n\nexport const SIGNATURE_PURPOSES = {\n generalConsent: \"generalConsent\",\n proceduresConsent: \"proceduresConsent\",\n};\n\nconst GeneralConsent = ({\n case: cas,\n consentBy,\n intl: { formatMessage },\n isRelayLoading,\n isValid,\n onSavedSignature,\n permission,\n surgeonLastName = null,\n procedures,\n stepData: { stepId, data },\n savedData,\n signerFullNameHack,\n statefulHandwrittenImageData,\n viewer,\n}) => {\n const [signatureModalOpen, setSignatureModalOpen] = useState(false);\n const [signaturePurpose, setSignaturePurpose] = useState(null);\n const fixedData =\n data ||\n get(savedData, stepId, {\n restrictionsUponAdmission: \"\",\n restrictionsSurgery: \"\",\n });\n\n let surgeonWithTitle = formatMessage(messages.generalConsentAllMd);\n if (surgeonLastName) {\n surgeonWithTitle = formatMessage(messages.generalConsentMdTitle, { surgeon: surgeonLastName });\n }\n\n const onClickRecordSignature = (purpose) => {\n setSignaturePurpose(purpose);\n setSignatureModalOpen(true);\n };\n\n const handleOnSaveModal = (data, response) => {\n onSavedSignature(\n stepId,\n response.addHandWrittenSignatureMutation.handWrittenSignature,\n signaturePurpose\n );\n setSignatureModalOpen(false);\n };\n\n const handleOnResetSignature = (signaturePurpose) => {\n onSavedSignature(stepId, null, signaturePurpose);\n };\n\n const handleCloseModal = () => {\n setSignatureModalOpen(false);\n };\n\n const isCompleted = (purpose) => {\n return !permission.canSubmit || get(statefulHandwrittenImageData, purpose, false);\n };\n\n const skeletonInputStyle = {\n width: \"100%\",\n height: \"12rem\",\n borderRadius: \"0.5rem\",\n };\n\n return (\n \n
    \n

    {formatMessage(messages.generalConsent)}

    \n
    \n\n

    {formatMessage(messages.generalConsentSubtitle)}

    \n
    \n\n

    {formatMessage(messages.generalConsentText)}

    \n
    \n\n

    {formatMessage(messages.generalConsentText2)}

    \n
    \n\n

    {formatMessage(messages.generalConsentText3)}

    \n
    \n\n \n \n \n\n \n {statefulHandwrittenImageData &&\n statefulHandwrittenImageData[SIGNATURE_PURPOSES.generalConsent] ? (\n handleOnResetSignature(SIGNATURE_PURPOSES.generalConsent)}\n readonly={!permission.canSubmit}\n />\n ) : (\n onClickRecordSignature(SIGNATURE_PURPOSES.generalConsent)}\n />\n )}\n \n\n

    {formatMessage(messages.generalConsentSection)}

    \n
    \n\n
    \n

    {formatMessage(messages.generalConsentAuthorize, { surgeon: surgeonWithTitle })}

    \n \n

    {formatMessage(messages.otherRestrictions)}

    \n
    \n

    {formatMessage(messages.generalConsentSideEffects)}

    \n

    {formatMessage(messages.generalConsentOtherNecessaryIntervention)}

    \n

    {formatMessage(messages.generalConsentOrgans)}

    \n\n \n \n \n\n \n {statefulHandwrittenImageData &&\n statefulHandwrittenImageData[SIGNATURE_PURPOSES.proceduresConsent] ? (\n handleOnResetSignature(SIGNATURE_PURPOSES.proceduresConsent)}\n readonly={!permission.canSubmit}\n />\n ) : (\n onClickRecordSignature(SIGNATURE_PURPOSES.proceduresConsent)}\n />\n )}\n \n
    \n\n \n }>\n }\n description={\n \n ),\n }}\n />\n }>\n {LegalSignatoryTypeMapper[consentBy] === LegalSignatoryType.legalRepresentative && (\n }\n name=\"signerFullName\"\n required\n value={signerFullNameHack}\n />\n )}\n \n \n \n
    \n );\n};\n\nGeneralConsent.propTypes = {\n case: CasePropTypes,\n consentBy: PropTypes.string,\n isRelayLoading: PropTypes.bool,\n isValid: PropTypes.bool,\n permission: PropTypes.object,\n onSavedSignature: PropTypes.func,\n procedures: PropTypes.object,\n stepData: StepPropTypes,\n surgeonLastName: PropTypes.string,\n savedData: PropTypes.object,\n signerFullNameHack: PropTypes.string,\n statefulHandwrittenImageData: PropTypes.object,\n viewer: ViewerPropTypes,\n};\n\nexport default injectIntl(GeneralConsent);\n","import PropTypes from \"prop-types\";\nimport Formsy from \"formsy-react\";\nimport React, { useRef, useState, Fragment } from \"react\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport { InfoCircleIcon } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { useFormsySubmit, useDraft } from \"~/src/js/hooks\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { SignatureDialog } from \"~/src/js/components/shared/Signature\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { featureKeys, isEnabled } from \"~/src/js/helpers\";\n\nimport stepNames from \"./stepNames\";\nimport { autoSaveName as autoDraftSaveName } from \"./helpers\";\nimport { submitStep } from \"./mutations\";\nimport { ListsPropTypes } from \"./PropTypes\";\nimport Toolbar from \"./Toolbar\";\nimport ThoracicSurgeryModalActions from \"./ThoracicSurgeryModalActions\";\nimport { SIGNATURE_PURPOSES } from \"./steps/GeneralConsent/GeneralConsent\";\n\nimport styles from \"./ThoracicSurgeryModalForm.style\";\n\nconst ThoracicSurgeryModalForm = ({\n case: cas,\n onCancel,\n onValid,\n onInvalid,\n onSuccess,\n stepId,\n stepType,\n viewer,\n children,\n intl: { formatMessage },\n isRelayLoading,\n isReadyToSubmit,\n language,\n readonly,\n parentStepId,\n showDialog,\n setModalActions,\n messages,\n statefulHandwrittenImageData,\n showCancelButton,\n}) => {\n const printRef = useRef(null);\n const [isSignatureVisible, setSignatureVisible] = useState(false);\n const [isSaving, setSaving] = useState(false);\n\n const { errors, setErrors, formsyProps, isValid: isFormValid } = useFormsySubmit({\n onSubmit: async (data) => await submitAction(data),\n onSuccess: onSuccess,\n onValid: onValid,\n onInvalid: onInvalid,\n });\n\n const getCurrentData = () => {\n return { [stepId]: formsyProps.ref.current.getModel() };\n };\n\n const { isSaving: isSavingDraft, errors: draftErrors, handleSaveDraft, beginAutoSave } = useDraft(\n {\n draftSaveName: autoDraftSaveName,\n getCurrentData: getCurrentData,\n onSuccess: (isTimedSave) => {\n if (!isTimedSave) {\n showDialog(formatMessage(baseI18n.global.draftSaved), \"accept\");\n }\n },\n }\n );\n\n const getHandwrittenSignatureData = (stepType) => {\n if (stepType === stepNames.GeneralConsent) {\n return [\n statefulHandwrittenImageData[SIGNATURE_PURPOSES.generalConsent].guid,\n statefulHandwrittenImageData[SIGNATURE_PURPOSES.proceduresConsent].guid,\n ];\n }\n\n return [statefulHandwrittenImageData.guid, undefined];\n };\n\n const submitAction = async (data) => {\n const { customNotes, signatureToken, ...others } = data;\n const { features } = viewer;\n const handwrittenSignaturesIds = isEnabled(features, featureKeys.ThorSurg.HandWrittenSignature)\n ? getHandwrittenSignatureData(stepType)\n : {};\n\n try {\n // We must take a ref to component before we submitStep otherwise it's null.\n const toolbar = printRef.current;\n await submitStep(\n cas,\n viewer,\n stepId,\n customNotes,\n [],\n { ...others },\n signatureToken,\n handwrittenSignaturesIds[0],\n handwrittenSignaturesIds[1]\n );\n toolbar.print();\n } catch (e) {\n setErrors(e);\n }\n };\n\n const onFormSubmit = () => {\n formsyProps.ref.current.submit();\n setErrors([]);\n };\n\n const onCancelSignature = () => {\n setSignatureVisible(false);\n setErrors([]);\n };\n\n formsyProps.onValidSubmit = async () => {\n setSignatureVisible(true);\n };\n\n const onCompleteSuccess = async (signatureToken) => {\n const data = { ...formsyProps.ref.current.getModel(), signatureToken };\n\n // Hack to convert field from string to int ==> Specific to AdmissionSurgeryStep\n if (data.units && typeof data.units === \"string\") {\n data.units = parseInt(data.units);\n }\n\n setSaving(true);\n setSignatureVisible(false);\n await submitAction(data);\n setSaving(false);\n setErrors([]);\n };\n\n const actions = () => (\n \n await handleSaveDraft({\n item: viewer.savedItem,\n entityId: cas.id,\n permissions: \"DEPARTMENTS\",\n purpose: `${autoDraftSaveName}${parentStepId}`,\n shouldMergeData: true,\n })\n }\n saveDisabled={!isFormValid || !isReadyToSubmit}\n readonly={readonly}\n />\n );\n\n setModalActions(() => actions);\n\n return (\n \n \n \n await beginAutoSave({\n item: viewer.savedItem,\n entityId: cas.id,\n permissions: \"DEPARTMENTS\",\n purpose: `${autoDraftSaveName}${parentStepId}`,\n shouldMergeData: true,\n })\n }>\n {children}\n \n onCancelSignature()}\n onCompleteSuccess={onCompleteSuccess}\n active={isSignatureVisible}\n messages={messages}>\n
    \n
    \n \n
    \n \n \n \n
    \n
    \n
    \n \n \n \n
    \n );\n};\n\nThoracicSurgeryModalForm.propTypes = {\n case: CasePropTypes,\n files: PropTypes.array,\n intl: intlShape,\n isRelayLoading: PropTypes.bool,\n isReadyToSubmit: PropTypes.bool,\n language: PropTypes.string,\n lists: ListsPropTypes,\n visible: PropTypes.bool,\n onCancel: PropTypes.func,\n onSuccess: PropTypes.func,\n onValid: PropTypes.func,\n onInvalid: PropTypes.func,\n stepId: PropTypes.string,\n stepType: PropTypes.string,\n viewer: ViewerPropTypes,\n readonly: PropTypes.bool,\n parentStepId: PropTypes.string,\n showDialog: PropTypes.func,\n setModalActions: PropTypes.func,\n messages: PropTypes.object,\n setAtLeastOneFormCompleted: PropTypes.object,\n statefulHandwrittenImageData: PropTypes.object,\n showCancelButton: PropTypes.object,\n};\n\nconst mapDispatchToProps = {\n showDialog: showDialogNotice,\n};\n\nexport default connect(null, mapDispatchToProps)(injectIntl(ThoracicSurgeryModalForm));\n","export const handleTags = (e, withSurgeon, setTags) => {\n switch (e) {\n case \"candidate\":\n withSurgeon(true);\n setTags([\"candidate\"]);\n break;\n default:\n withSurgeon(false);\n setTags([\"non-candidate\"]);\n break;\n }\n};\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n initialSorting: {\n id: \"forms.THORSURG.initialSorting\",\n description: \"Initial sorting\",\n defaultMessage: \"Initial sorting\",\n },\n sortingResult: {\n id: \"forms.THORSURG.sortingResult\",\n description: \"Sorting result\",\n defaultMessage: \"Sorting result\",\n },\n surgeon: {\n id: \"forms.THORSURG.surgeon\",\n description: \"Surgeon name\",\n defaultMessage: \"Surgeon\",\n },\n clinicalConditionDropdown: {\n id: \"forms.THORSURG.clinicalConditionDropdown\",\n description: \"clinicalConditionDropdown\",\n defaultMessage: \"Clinical condition during initial sorting\",\n },\n});\n\nexport default messages;\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { useState, useEffect } from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\n\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\nimport { DropDownListInput, TextInput } from \"~/src/js/components/shared/inputs\";\nimport { dispatchSelectedTags } from \"~/src/js/stores/thorsurg/actions\";\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport { ListsPropTypes, StepPropTypes } from \"../../PropTypes\";\nimport { mapDynamicList } from \"../../helpers\";\n\nimport { handleTags } from \"./helpers\";\n\nimport style from \"../../ThoracicSurgeryForm.style\";\nimport messages from \"./InitialSorting.i18n\";\nimport thorSurgMessages from \"../../ThoracicSurgeryForm.i18n\";\n\nconst InitialSorting = ({\n case: cas,\n files: [files, setFiles],\n intl: { formatMessage },\n lists,\n permission,\n setTags,\n stepData: { data, text, attachments },\n viewer,\n}) => {\n const sortingResults = mapDynamicList(lists.sortingResults);\n const clinicalConditions = mapDynamicList(lists.clinicalConditions, true);\n const dropdownSurgeon = [{ label: \"\", value: null }].concat(\n cas.data.toDepartment.specialists.map((x) => ({\n label: x.fullName,\n value: x.fullName,\n }))\n );\n const initialSortingData = data || {\n sortingResult: sortingResults[0].value || \"candidate\",\n filesToUpload: [],\n surgeon: dropdownSurgeon[0].value || \"\",\n clinicalCondition: clinicalConditions[0].value,\n };\n const [isSurgeon, withSurgeon] = useState(\n !initialSortingData.sortingResult || initialSortingData.sortingResult === \"candidate\"\n );\n\n useEffect(() => {\n handleTags(initialSortingData.sortingResult, withSurgeon, setTags);\n }, [initialSortingData.sortingResult]);\n\n return (\n
    \n {formatMessage(messages.initialSorting)}\n
    \n handleTags(e, withSurgeon, setTags)}\n required\n source={sortingResults}\n validationErrors={{\n isDefaultRequiredValue: formatMessage(baseI18n.error.fieldRequired),\n }}\n value={initialSortingData.sortingResult}\n />\n {isSurgeon && (\n \n )}\n
    \n
    \n \n
    \n \n

    {text || initialSortingData.customNotes}

    \n\n \n
    \n );\n};\n\nInitialSorting.propTypes = {\n case: CasePropTypes,\n files: PropTypes.array,\n intl: intlShape,\n lists: ListsPropTypes,\n permission: PropTypes.object,\n setTags: PropTypes.func,\n stepData: StepPropTypes,\n viewer: ViewerPropTypes,\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n setTags: (array) => dispatchSelectedTags(dispatch, array),\n});\n\nexport default injectIntl(connect(null, mapDispatchToProps)(InitialSorting));\n","import InitialSorting from \"./InitialSorting\";\n\nexport default InitialSorting;\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n documentsExams: {\n id: \"forms.THORSURG.documentsExams\",\n description: \"Documents & Exams\",\n defaultMessage: \"Documents & Exams\",\n },\n saveDocuments: {\n id: \"forms.THORSURG.saveDocuments\",\n description: \"Save documents\",\n defaultMessage: \"Save documents\",\n },\n});\n\nexport default messages;\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport { Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\nimport React, { useState } from \"react\";\nimport { injectIntl } from \"react-intl\";\n\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\n\nimport { ListsPropTypes } from \"../../PropTypes\";\nimport stepNames from \"../../stepNames\";\n\nimport messages from \"./DocumentsExams.i18n\";\nimport thorSurgMessages from \"../../ThoracicSurgeryForm.i18n\";\n\nconst DocumentsExams = ({\n case: cas,\n files: [files, setFiles],\n intl: { formatMessage },\n isSubmitting,\n lists: { documentTypeList },\n permission,\n viewer,\n}) => {\n const [isUploading, setIsUploading] = useState(false);\n\n const allFiles = cas.data.steps\n .map((step) => step.attachments)\n .reduce((acc, cur) => acc.concat(cur), []);\n return (\n
    \n {formatMessage(messages.documentsExams)}\n {}} // Do nothing, Relay will update on its own, but component crashes\n patientGender={cas.patient.demographic.gender}\n onUploadIsLoading={setIsUploading}\n />\n \n

    \n \n \n {formatMessage(messages.saveDocuments)}\n \n \n
    \n );\n};\n\nDocumentsExams.propTypes = {\n case: CasePropTypes,\n files: PropTypes.array,\n isSubmitting: PropTypes.bool,\n lists: ListsPropTypes,\n permission: PropTypes.object,\n viewer: ViewerPropTypes,\n};\n\nexport default injectIntl(DocumentsExams);\n","import DocumentsExams from \"./DocumentsExams\";\n\nexport default DocumentsExams;\n","import { ButtonGroup, Button, Table, Modal } from \"@akinoxsolutions/gerudo-ui\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment } from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\n\nimport FormattedDateTime from \"~/src/js/components/shared/formattedDateTime\";\nimport { parseToDate } from \"~/src/js/helpers/dates\";\nimport { useToggle } from \"~/src/js/hooks\";\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport style from \"../../ThoracicSurgeryForm.style\";\nimport messages from \"../../ThoracicSurgeryForm.i18n\";\n\nconst Appointments = ({ appointments, intl: { formatMessage } }) => {\n const [showAppointments, toggleShowAppointments] = useToggle(false);\n\n return (\n appointments.length > 0 && (\n \n \n {formatMessage(messages.showAppointments)}\n \n {\n return (\n \n \n \n );\n }}>\n
    \n \n \n )\n );\n};\n\nconst model = (formatMessage) => {\n return [\n {\n dataIndex: \"id\",\n title: \"#\",\n },\n {\n dataIndex: \"startDate\",\n title: formatMessage({ id: \"forms.THORSURG.startDate\" }),\n },\n {\n dataIndex: \"endDate\",\n title: formatMessage({ id: \"forms.THORSURG.endDate\" }),\n },\n {\n dataIndex: \"isCanceled\",\n title: formatMessage(baseI18n.global.canceled),\n },\n ];\n};\n\nconst data = (appointments, formatMessage) => {\n return appointments.map((x) => ({\n id: x.node.appointmentId,\n startDate: ,\n endDate: x.node.endDate ? : null,\n isCanceled: formatMessage(\n x.node.isCanceled ? baseI18n.global.labelYes : baseI18n.global.labelNo\n ),\n }));\n};\n\nAppointments.propTypes = {\n appointments: PropTypes.array,\n intl: intlShape,\n};\n\nexport default injectIntl(Appointments);\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n consultationDate: {\n id: \"forms.THORSURG.consultationDate\",\n description: \"Date of consultation label\",\n defaultMessage: \"Consultation date\",\n },\n consultationPlanning: {\n id: \"forms.THORSURG.consultationPlanning\",\n description: \"Consultation Planning title\",\n defaultMessage: \"Consultation Planning\",\n },\n consultation: {\n id: \"forms.THORSURG.consultation\",\n description: \"Consultation title\",\n defaultMessage: \"Consultation\",\n },\n fieldRequired: {\n id: \"forms.THORSURG.fieldRequired\",\n description: \"Error message for a required field\",\n defaultMessage: \"Enter a value.\",\n },\n});\n\nexport default messages;\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport { LabeledInput } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\nimport { DatePickerInput, TextInput } from \"~/src/js/components/shared/inputs\";\nimport { parseToCalendarDate } from \"~/src/js/helpers/dates\";\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport { ListsPropTypes, StepPropTypes } from \"../../PropTypes\";\n\nimport Appointments from \"./Appointments\";\n\nimport style from \"../../ThoracicSurgeryForm.style\";\nimport messages from \"./ConsultationPlanning.i18n\";\nimport thorSurgMessages from \"../../ThoracicSurgeryForm.i18n\";\n\nconst ConsultationPlanning = ({\n case: cas,\n files: [files, setFiles],\n intl: { formatMessage },\n lists,\n permission,\n stepData: { attachments, data, text },\n viewer,\n}) => {\n const appointments = cas.patient.appointments.edges.filter((x) => !x.node.isCanceled);\n const lastAppointment = appointments[appointments.length - 1];\n // When we first load this step, we display the last appointement date for the patient\n // Any further update to the patient appointments will be done by updating the drafts or the step data if completed\n const fixedData = data || {\n consultationDate: lastAppointment ? lastAppointment.node.startDate : null,\n };\n\n return (\n
    \n {formatMessage(messages.consultationPlanning)}\n
    \n \n \n \n\n \n
    \n \n

    {text || fixedData.customNotes}

    \n\n \n
    \n );\n};\n\nConsultationPlanning.propTypes = {\n case: CasePropTypes,\n files: PropTypes.array,\n lists: ListsPropTypes,\n permission: PropTypes.object,\n setTags: PropTypes.func,\n stepData: StepPropTypes,\n viewer: ViewerPropTypes,\n};\n\nexport default injectIntl(ConsultationPlanning);\n","import ConsultationPlanning from \"./ConsultationPlanning\";\n\nexport default ConsultationPlanning;\n","import GeneralConsent from \"./GeneralConsent\";\n\nexport default GeneralConsent;\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n patientConsent: {\n id: \"forms.THORSURG.patientConsent\",\n description: \"Patient consent\",\n defaultMessage:\n \"I understand that my consent is revocable at any time by myself or my legal representative, and I accept and understand that this consent form is valid for the duration of the treatment discussed unless otherwise revoked by myself or in writing by my legal representative\",\n },\n physicianStatement: {\n id: \"forms.THORSURG.physicianStatement\",\n description: \"Statement from the physician\",\n defaultMessage:\n \"I have explained verbally the nature of the required treatment, the expected benefits, the possible risks, the appropriate alternatives, and the possible consequences of refusal of the treatment to the above patient or legal representative, and I have answered his questions.\",\n },\n transfusionConsentForm: {\n id: \"forms.THORSURG.transfusionConsentForm\",\n description: \"Consent for Transfusion\",\n defaultMessage: \"Consent for Transfusion\",\n },\n transfusionConsentNoPatient: {\n id: \"forms.THORSURG.transfusionConsentNoPatient\",\n description: \"Transfusion consent refused\",\n defaultMessage:\n \"I REFUSE, for myself, the transfusion of blood components and/or products derived from donor blood. I accept not to undertake any legal action against the treating physician, the MUHC and/or its personnel should harmful consequences arise due to my refusal of treatment.\",\n },\n transfusionConsentNoLegalRep: {\n id: \"forms.THORSURG.transfusionConsentNoLegalRep\",\n description: \"Transfusion consent refused\",\n defaultMessage:\n \"I REFUSE, for the patient identified, the transfusion of blood components and/or products derived from donor blood. I accept not to undertake any legal action against the treating physician, the MUHC and/or its personnel should harmful consequences arise due to my refusal of treatment.\",\n },\n transfusionConsentYesPatient: {\n id: \"forms.THORSURG.transfusionConsentYesPatient\",\n description: \"Transfusion consent accepted\",\n defaultMessage:\n \"I consent, for myself, to the transfusion of blood components and/or products derived from donor blood.\",\n },\n transfusionConsentYesLegalRep: {\n id: \"forms.THORSURG.transfusionConsentYesLegalRep\",\n description: \"Transfusion consent accepted\",\n defaultMessage:\n \"I consent, for the patient identified, to the transfusion of blood components and/or products derived from donor blood.\",\n },\n transfusionConsentYesButPatient: {\n id: \"forms.THORSURG.transfusionConsentYesButPatient\",\n description: \"Transfusion consent accepted but restrictions\",\n defaultMessage:\n \"I consent, for myself, to the transfusion of certain products derived from donor blood limited to the following:\",\n },\n transfusionConsentYesButLegalRep: {\n id: \"forms.THORSURG.transfusionConsentYesButLegalRep\",\n description: \"Transfusion consent accepted but restrictions\",\n defaultMessage:\n \"I consent, for the patient identified, to the transfusion of certain products derived from donor blood limited to the following:\",\n },\n transfusionConsentText: {\n id: \"forms.THORSURG.transfusionConsentText\",\n description: \"Consent transfusion text\",\n defaultMessage:\n \"I understand and accept as explained to me verbally, the nature of the treatment, expected benefits, possible risks, appropriate alternatives, and possible consequences of my refusal of treatment. I am aware that the brochure «BLOOD TRANSFUSIONS Answers to Your Questions» is available to me, should I wish to consult it.\",\n },\n transfusionProducts: {\n id: \"forms.THORSURG.transfusionProducts\",\n description: \"Consent transfusion of blood products\",\n defaultMessage: \"Transfusion of blood products or derivatives\",\n },\n derivatives: {\n id: \"forms.THORSURG.derivatives\",\n description: \"other field for derivatives\",\n defaultMessage: \"Derivatives\",\n },\n signatureDescription1: {\n id: \"signatures.handwritten.transfusionConsent.description1\",\n description: \"Signature description 1\",\n defaultMessage:\n \"By signing electronically below, {legalSignatory}, consent to the clauses discussed in Consent to Transfusion.\",\n },\n signatureDescription2: {\n id: \"signatures.handwritten.transfusionConsent.description2\",\n description: \"Signature description 2\",\n defaultMessage:\n \"I understand that my consent is revocable at any time by myself or my legal representative and I accept and understand that this consent form is valid for the duration of the treatment discussed unless otherwise revoked by myself or in writing by my legal representative.\",\n },\n legalRepresentativeFullName: {\n id: \"signatures.handwritten.labels.legalRepresentative.fullName\",\n description: \"Legal representative full name label\",\n defaultMessage: \"Legal representative full name\",\n },\n});\n\nexport default messages;\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment, useState } from \"react\";\nimport get from \"lodash/get\";\nimport { injectIntl, FormattedMessage } from \"react-intl\";\n\nimport { featureKeys } from \"~/src/js/helpers/features\";\nimport { SkeletonLoader } from \"~/src/js/components/shared/Loading\";\nimport { FeatureFlagContainer } from \"~/src/js/components/shared/Features/FeatureFlagContainer\";\nimport {\n HandWrittenSignatureDialog,\n HandWrittenFormHeader,\n HandWrittenSignature,\n RecordSignature,\n LegalSignatoryText,\n LegalSignatoryLabel,\n} from \"~/src/js/components/shared/Signatures\";\nimport {\n LegalSignatoryTypeMapper,\n LegalSignatoryType,\n} from \"~/src/js/components/shared/Signatures/mutations\";\nimport {\n HiddenInput,\n RadioButtonListInput,\n GerudoTextInput,\n} from \"~/src/js/components/shared/inputs\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\n\nimport { StepPropTypes } from \"../../PropTypes\";\n\nimport styles from \"./TransfusionConsent.styles\";\n\nimport messages from \"./TransfusionConsent.i18n\";\nimport thorsurgStyles from \"../../ThoracicSurgeryForm.style\";\n\nconst TransfusionConsent = ({\n case: cas,\n consentBy,\n intl: { formatMessage },\n isRelayLoading,\n isValid,\n onSavedSignature,\n permission,\n stepData: { stepId, data },\n savedData,\n signerFullNameHack,\n statefulHandwrittenImageData,\n viewer,\n}) => {\n const fixedData = data ||\n get(savedData, stepId, null) || {\n transfusionConsent: \"\",\n };\n\n const [signatureModalOpen, setSignatureModalOpen] = useState(false);\n\n const handleOnSaveModal = (data, response) => {\n onSavedSignature(stepId, response.addHandWrittenSignatureMutation.handWrittenSignature);\n setSignatureModalOpen(false);\n };\n\n const handleOnResetSignature = () => {\n onSavedSignature(stepId, null);\n };\n\n const handleCloseModal = () => {\n setSignatureModalOpen(false);\n };\n\n const isCompleted = () => {\n return !permission.canSubmit || statefulHandwrittenImageData;\n };\n\n const consentByPatient = LegalSignatoryTypeMapper[consentBy] === LegalSignatoryType.patient;\n\n return (\n \n
    \n

    {formatMessage(messages.transfusionConsentForm)}

    \n
    \n\n

    \n {formatMessage(messages.transfusionProducts)}\n *\n

    \n
    \n\n

    {formatMessage(messages.transfusionConsentText)}

    \n \n \n \n

    \n {formatMessage(messages.patientConsent)}\n

    \n\n

    \n {formatMessage(messages.physicianStatement)}\n

    \n \n\n \n
    \n {statefulHandwrittenImageData ? (\n \n ) : (\n setSignatureModalOpen(true)}\n />\n )}\n
    \n \n
    \n\n \n }>\n }\n description={\n
    \n

    \n \n ),\n }}\n />\n

    \n
    \n

    \n \n

    \n
    \n }>\n {LegalSignatoryTypeMapper[consentBy] === LegalSignatoryType.legalRepresentative && (\n }\n name=\"signerFullName\"\n required\n value={signerFullNameHack}\n />\n )}\n \n \n
    \n
    \n );\n};\n\nTransfusionConsent.propTypes = {\n case: CasePropTypes,\n consentBy: PropTypes.string,\n isRelayLoading: PropTypes.bool,\n isValid: PropTypes.bool,\n onSavedSignature: PropTypes.func,\n permission: PropTypes.object,\n procedures: PropTypes.array,\n stepData: StepPropTypes,\n savedData: PropTypes.object,\n signerFullNameHack: PropTypes.string,\n statefulHandwrittenImageData: PropTypes.object,\n viewer: ViewerPropTypes,\n};\n\nexport default injectIntl(TransfusionConsent);\n","import TransfusionConsent from \"./TransfusionConsent\";\n\nexport default TransfusionConsent;\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n anesthesiaGeneralRegional: {\n id: \"forms.THORSURG.anesthesiaGeneralRegional\",\n description: \"Type of anesthesia choice\",\n defaultMessage: \"General/Regional\",\n },\n anesthesiaLocal: {\n id: \"forms.THORSURG.anesthesiaLocal\",\n description: \"Type of anesthesia choice\",\n defaultMessage: \"Local\",\n },\n anesthesiaNeuroleptic: {\n id: \"forms.THORSURG.anesthesiaNeuroleptic\",\n description: \"Type of anesthesia choice\",\n defaultMessage: \"Neuroleptic\",\n },\n anesthesiaSedation: {\n id: \"forms.THORSURG.anesthesiaSedation\",\n description: \"Type of anesthesia choice\",\n defaultMessage: \"Sedation\",\n },\n conditionAllergyLatex: {\n id: \"forms.THORSURG.conditionAllergyLatex\",\n description: \"Medical condition\",\n defaultMessage: \"Allergy to LATEX\",\n },\n conditionAntibiotics: {\n id: \"forms.THORSURG.conditionAntibiotics\",\n description: \"Medical condition\",\n defaultMessage: \"Antibiotics\",\n },\n conditionIsolation: {\n id: \"forms.THORSURG.conditionIsolation\",\n description: \"Medical condition\",\n defaultMessage: \"Isolation\",\n },\n conditionOtherAllergy: {\n id: \"forms.THORSURG.conditionOtherAllergy\",\n description: \"Medical condition\",\n defaultMessage: \"Other allergy\",\n },\n lachineFrozenSection: {\n id: \"forms.THORSURG.lachineFrozenSection\",\n description: \"Lachine only specification\",\n defaultMessage: \"Frozen section\",\n },\n lachineGynecology: {\n id: \"forms.THORSURG.lachineGynecology\",\n description: \"Lachine only specification\",\n defaultMessage: \"Gynecology\",\n },\n lachineOnly: {\n id: \"forms.THORSURG.lachineOnly\",\n description: \"Lachine only\",\n defaultMessage: \"Lachine only\",\n },\n lachineOther: {\n id: \"forms.THORSURG.lachineOther\",\n description: \"Lachine only specification\",\n defaultMessage: \"Other\",\n },\n lachineProne: {\n id: \"forms.THORSURG.lachineProne\",\n description: \"Lachine only specification\",\n defaultMessage: \"Prone\",\n },\n lachineSupine: {\n id: \"forms.THORSURG.lachineSupine\",\n description: \"Lachine only specification\",\n defaultMessage: \"Supine\",\n },\n specify: {\n id: \"forms.THORSURG.specify\",\n description: \"Specify label\",\n defaultMessage: \"Specify...\",\n },\n specifyAllergy: {\n id: \"forms.THORSURG.specifyAllergy\",\n description: \"Specify allergy label\",\n defaultMessage: \"Specify allergy\",\n },\n titleSection2: {\n id: \"forms.THORSURG.titleSection2\",\n description: \"Title for second section of admission form\",\n defaultMessage: \"2. Additional information\",\n },\n typeAnesthesia: {\n id: \"forms.THORSURG.typeAnesthesia\",\n description: \"Type of anesthesia label\",\n defaultMessage: \"Type of anesthesia\",\n },\n});\n\nexport default messages;\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { useState, useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport { injectIntl } from \"react-intl\";\n\nimport { DropDownListInput, CheckboxInput, TextInput } from \"~/src/js/components/shared/inputs\";\nimport { dispatchLachineOnly } from \"~/src/js/stores/thorsurg/actions\";\nimport { SkeletonLoader } from \"~/src/js/components/shared/Loading\";\n\nimport { ListsPropTypes } from \"../../../PropTypes/Lists\";\n\nimport messages from \"./AdditionalInfo.i18n\";\nimport style from \"../style.scss\";\nimport styles from \"../../../ThoracicSurgeryForm.style\";\n\nconst AdditionalInfo = ({\n completed,\n data,\n loading,\n intl: { formatMessage },\n setLachineOnly,\n lachineSelected,\n}) => {\n const [isOtherAllergy, setOtherAllergy] = useState(false);\n const [isOtherLachine, setOtherLachine] = useState(false);\n\n const donnees = data || {\n allergyLatex: \"\",\n antibiotics: \"\",\n anticipatedAdmission: \"\",\n frozenSection: \"\",\n gynecology: \"\",\n isolation: \"\",\n other: \"\",\n otherAllergy: \"\",\n prone: \"\",\n specifyAllergy: \"\",\n specifyLachine: \"\",\n supine: \"\",\n typeAnesthesia: \"generalRegional\",\n };\n\n const lachine = [\n { label: formatMessage(messages.lachineSupine), name: \"supine\" },\n { label: formatMessage(messages.lachineProne), name: \"prone\" },\n { label: formatMessage(messages.lachineGynecology), name: \"gynecology\" },\n {\n label: formatMessage(messages.lachineFrozenSection),\n name: \"frozenSection\",\n },\n { label: formatMessage(messages.lachineOther), name: \"other\" },\n ];\n\n const medicalCondition = [\n {\n label: formatMessage(messages.conditionAllergyLatex),\n name: \"allergyLatex\",\n },\n {\n label: formatMessage(messages.conditionOtherAllergy),\n name: \"otherAllergy\",\n },\n { label: formatMessage(messages.conditionIsolation), name: \"isolation\" },\n {\n label: formatMessage(messages.conditionAntibiotics),\n name: \"antibiotics\",\n },\n ];\n\n const typeAnesthesia = [\n { label: \"\", value: \"\" },\n {\n label: formatMessage(messages.anesthesiaGeneralRegional),\n name: \"generalRegional\",\n value: \"generalRegional\",\n },\n {\n label: formatMessage(messages.anesthesiaLocal),\n name: \"local\",\n value: \"local\",\n },\n {\n label: formatMessage(messages.anesthesiaNeuroleptic),\n name: \"neuroleptic\",\n value: \"neuroleptic\",\n },\n {\n label: formatMessage(messages.anesthesiaSedation),\n name: \"sedation\",\n value: \"sedation\",\n },\n ];\n\n useEffect(() => {\n setOtherAllergy(donnees.otherAllergy);\n setLachineOnly(donnees.surgerySite === \"lachine\");\n setOtherLachine(donnees.specifyLachine);\n }, [donnees.otherAllergy, donnees.surgerySite]);\n\n const skeletonStyle = {\n height: \"15rem\",\n width: \"100%\",\n borderRadius: \"0.5rem\",\n };\n\n return (\n
    \n

    {formatMessage(messages.titleSection2)}

    \n\n \n
    \n
    \n \n
    \n
    \n
    \n {medicalCondition.map((value) => (\n {\n if (value.name === \"otherAllergy\") {\n setOtherAllergy(e === true);\n }\n }}\n value={donnees[value.name] || false}\n />\n ))}\n
    \n {isOtherAllergy && (\n \n )}\n
    \n
    \n
    \n {lachineSelected && (\n \n
    \n

    {formatMessage(messages.lachineOnly)}

    \n
    \n {lachine.map((value) => (\n {\n if (value.name === \"other\") {\n setOtherLachine(e === true);\n }\n }}\n value={donnees[value.name] || false}\n />\n ))}\n {isOtherLachine && (\n \n )}\n
    \n
    \n
    \n )}\n
    \n );\n};\n\nconst mapStateToProps = (state) => ({\n lachineSelected: state.thorsurg.lachineSelected,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n setLachineOnly: (bool) => dispatchLachineOnly(dispatch, bool),\n});\n\nAdditionalInfo.propTypes = {\n completed: PropTypes.bool,\n data: PropTypes.any,\n formatMessage: PropTypes.any,\n lachineSelected: PropTypes.bool,\n lists: ListsPropTypes,\n loading: PropTypes.bool,\n setLachineOnly: PropTypes.func,\n};\n\nexport default injectIntl(connect(mapStateToProps, mapDispatchToProps)(AdditionalInfo));\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n anticipatedAdmission: {\n id: \"forms.THORSURG.anticipatedAdmission\",\n description: \"Anticipated admission date label\",\n defaultMessage: \"Anticipated admission date\",\n },\n anticipatedSurgery: {\n id: \"forms.THORSURG.anticipatedSurgery\",\n description: \"Anticipated surgery label\",\n defaultMessage: \"Anticipated surgery date\",\n },\n requestDate: {\n id: \"forms.THORSURG.requestDate\",\n description: \"Request date label\",\n defaultMessage: \"Request date\",\n },\n siteLachine: {\n id: \"forms.THORSURG.siteLachine\",\n description: \"Surgery site of Lachine\",\n defaultMessage: \"Lachine\",\n },\n siteLaSalle: {\n id: \"forms.THORSURG.siteLaSalle\",\n description: \"Surgery site of LaSalle\",\n defaultMessage: \"LaSalle\",\n },\n siteRvh: {\n id: \"forms.THORSURG.siteRvh\",\n description: \"Surgery site of RVH\",\n defaultMessage: \"RVH\",\n },\n siteMnh: {\n id: \"forms.THORSURG.siteMnh\",\n description: \"Surgery site of MNH\",\n defaultMessage: \"MNH\",\n },\n siteMgh: {\n id: \"forms.THORSURG.siteMgh\",\n description: \"Surgery site of MGH\",\n defaultMessage: \"MGH\",\n },\n surgerySite: {\n id: \"forms.THORSURG.surgerySite\",\n description: \"Surgery site\",\n defaultMessage: \"Surgery site\",\n },\n});\nexport default messages;\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { useEffect } from \"react\";\nimport { connect } from \"react-redux\";\nimport { injectIntl } from \"react-intl\";\n\nimport { SkeletonLoader } from \"~/src/js/components/shared/Loading\";\nimport { DropDownListInput } from \"~/src/js/components/shared/inputs\";\nimport { DatePicker, DatePickerSizes } from \"~/src/js/components/shared/inputs/DatePicker\";\nimport { parseToCalendarDate } from \"~/src/js/helpers/dates\";\nimport { dispatchAnticipatedDate, dispatchLachineOnly } from \"~/src/js/stores/thorsurg/actions\";\n\nimport messages from \"./General.i18n\";\nimport style from \"../style.scss\";\nimport styles from \"../../../ThoracicSurgeryForm.style\";\n\nconst GeneralSection = ({\n completed,\n data,\n loading,\n intl: { formatMessage },\n setAnticipatedDate,\n setLachineOnly,\n}) => {\n const today = new Date().toISOString().substr(0, 10);\n\n const donnees = data || {\n anticipatedAdmission: \"\",\n anticipatedDate: \"\",\n requestDate: today,\n surgerySite: \"MGH\",\n };\n\n const surgerySite = [\n { label: \"\", value: \"\" },\n { label: formatMessage(messages.siteMgh), value: \"MGH\" },\n { label: formatMessage(messages.siteRvh), value: \"RVH\" },\n { label: formatMessage(messages.siteMnh), value: \"MNH\" },\n { label: formatMessage(messages.siteLachine), value: \"lachine\" },\n { label: formatMessage(messages.siteLaSalle), value: \"lasalle\" },\n ];\n\n const handleChangeDate = (date) => {\n const newDate = JSON.stringify(date);\n if (newDate !== \"null\" && newDate !== undefined) {\n setAnticipatedDate(parseToCalendarDate(date));\n }\n };\n\n useEffect(() => {\n if (donnees.anticipatedDate !== \"\") setAnticipatedDate(donnees.anticipatedDate);\n if (donnees.surgerySite !== \"\") setLachineOnly(false);\n }, []);\n\n const dateSkeletonStyle = {\n width: \"100%\",\n height: \"3rem\",\n borderRadius: \"0.5rem\",\n };\n\n return (\n
    \n
    \n \n {\n setLachineOnly(e === \"lachine\");\n }}\n source={surgerySite}\n value={donnees.surgerySite}\n />\n \n
    \n
    \n \n \n \n\n \n handleChangeDate(date)}\n value={donnees.anticipatedDate}\n size={DatePickerSizes.large}\n />\n \n\n \n \n \n
    \n
    \n );\n};\n\nGeneralSection.propTypes = {\n completed: PropTypes.bool,\n data: PropTypes.any,\n loading: PropTypes.bool,\n setAnticipatedDate: PropTypes.func,\n setLachineOnly: PropTypes.func,\n formatMessage: PropTypes.any,\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n setAnticipatedDate: (date) => dispatchAnticipatedDate(dispatch, date),\n setLachineOnly: (bool) => dispatchLachineOnly(dispatch, bool),\n});\n\nexport default injectIntl(connect(null, mapDispatchToProps)(GeneralSection));\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n consentSignature: {\n id: \"signatures.handwritten.consent\",\n description: \"Consent title\",\n defaultMessage: \"Consent signature\",\n },\n addProcedure: {\n id: \"forms.THORSURG.addProcedure\",\n description: \"Add procedure label\",\n defaultMessage: \"Add procedure\",\n },\n admissionSurgery: {\n id: \"forms.THORSURG.admissionSurgery\",\n description: \"Title for form admission surgery\",\n defaultMessage: \"Request for Admission/Surgery\",\n },\n anatomicalSite: {\n id: \"forms.THORSURG.anatomicalSite\",\n description: \"Anatomical Site label\",\n defaultMessage: \"Anatomical Site\",\n },\n expectedOperativeProcedure: {\n id: \"forms.THORSURG.expectedOperativeProcedure\",\n description: \"Expected operative procedure\",\n defaultMessage: \"Expected operative procedure\",\n },\n procedureName: {\n id: \"forms.THORSURG.procedureName\",\n description: \"Procedure name label\",\n defaultMessage: \"Procedure name\",\n },\n registerPatient: {\n id: \"forms.THORSURG.registerPatient\",\n description: \"Information about registering patients\",\n defaultMessage:\n \"I am registering the patient on the list of access to specialized and ultra-specialized medical services for the type of service indicated above. I have reviewed this data and believe it to be correct.\",\n },\n searchButtonLabel: {\n id: \"forms.THORSURG.searchButtonLabel\",\n description: \"Search button label\",\n defaultMessage: \"Search\",\n },\n surgeryCode: {\n id: \"forms.THORSURG.surgeryCode\",\n description: \"Surgery code label\",\n defaultMessage: \"Opera code\",\n },\n textButtonLabel: {\n id: \"forms.THORSURG.textButtonLabel\",\n description: \"Text button label\",\n defaultMessage: \"Text\",\n },\n titleSection3: {\n id: \"forms.THORSURG.titleSection3\",\n description: \"Title for third section of admission form\",\n defaultMessage: \"3. Additional pre-operative test - Special instructions\",\n },\n legalRepresentativeFullName: {\n id: \"signatures.handwritten.labels.legalRepresentative.fullName\",\n description: \"Legal representative full name label\",\n defaultMessage: \"Legal representative full name\",\n },\n signatureDescription: {\n id: \"signatures.handwritten.admissionSurgery.description\",\n description: \"Signature description\",\n defaultMessage:\n \"By signing electronically below, {legalSignatory}, understand that you will be registered on the list for access to services of the institution named above with the goal of obtaining the specialized service indicated in the ‘’Medical Services’’ section.\",\n },\n changeToPatient: {\n id: \"signatures.handwritten.actions.record.changeTo.patient\",\n description: \"Change to patient action label\",\n defaultMessage: \"Change for patient\",\n },\n changeToLegalRepresentative: {\n id: \"signatures.handwritten.actions.record.changeTo.legalRepresentative\",\n description: \"Change to legal representative action label\",\n defaultMessage: \"Change for legal representative\",\n },\n});\n\nexport default messages;\n","import { TrashIcon, Button } from \"@akinoxsolutions/gerudo-ui\";\nimport PropTypes from \"prop-types\";\nimport React, { useState, Fragment } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport classnames from \"classnames\";\n\nimport { useToggle } from \"~/src/js/hooks\";\nimport { SelectInput, GerudoTextInput, Toggle } from \"~/src/js/components/shared/inputs\";\n\nimport style from \"./Procedure.style.scss\";\n\nimport messages from \"../../AdmissionSurgery.i18n\";\n\nconst Procedure = ({\n allowDelete,\n anatomicalSite,\n disabled,\n id,\n useReferenceList,\n onDelete,\n operaList,\n procedureName,\n readOnly,\n surgeryCode,\n uniqueKey,\n}) => {\n const [isSearchModeEnabled, toggleSearchMode] = useToggle(useReferenceList);\n const [operaCode, setOperaCode] = useState(surgeryCode);\n const [procedure, setProcedure] = useState(procedureName);\n\n const procList = mapProcList(operaList);\n const codeList = mapCodeList(operaList);\n\n const reflectProcedureOntoCode = (proc) => {\n setProcedure(proc);\n const val = operaList.edges.find((x) => x.node.value === proc);\n setOperaCode(val.node.code);\n };\n\n const reflectCodeOntoProcedure = (code) => {\n setOperaCode(code);\n const val = operaList.edges.find((x) => x.node.code === code);\n setProcedure(val.node.value);\n };\n\n const toggleState = () => {\n toggleSearchMode();\n setProcedure(null);\n setOperaCode(null);\n };\n\n if (readOnly) {\n return (\n
    \n
    \n }\n required\n disabled\n name={`procedureName[${id}]`}\n value={procedureName}\n />\n
    \n
    \n }\n disabled\n name={`anatomicalSite[${id}]`}\n value={anatomicalSite}\n />\n
    \n
    \n }\n disabled\n name={`surgeryCode[${id}]`}\n value={surgeryCode}\n />\n
    \n
    \n );\n }\n\n return (\n
    \n {isSearchModeEnabled && (\n \n
    \n }\n showSearch\n name={`procedureName[${id}]`}\n required\n value={procedure}\n options={procList}\n onChange={reflectProcedureOntoCode}\n />\n
    \n
    \n }\n disabled={disabled}\n name={`anatomicalSite[${id}]`}\n value={anatomicalSite}\n />\n
    \n
    \n }\n showSearch\n name={`surgeryCode[${id}]`}\n value={operaCode}\n options={codeList}\n onChange={reflectCodeOntoProcedure}\n />\n
    \n
    \n )}\n {!isSearchModeEnabled && (\n \n
    \n }\n required\n disabled={disabled}\n name={`procedureName[${id}]`}\n value={procedureName}\n />\n
    \n
    \n }\n disabled={disabled}\n name={`anatomicalSite[${id}]`}\n value={anatomicalSite}\n />\n
    \n
    \n }\n disabled={disabled}\n name={`surgeryCode[${id}]`}\n value={surgeryCode}\n />\n
    \n
    \n )}\n\n {!disabled && (\n \n
    \n ,\n uuid: `uuid_${uniqueKey}_1`,\n },\n {\n checked: !isSearchModeEnabled,\n label: ,\n uuid: `uuid_${uniqueKey}_2`,\n },\n ]}\n />\n
    \n
    \n }\n onClick={onDelete}\n type=\"danger-lite\"\n />\n
    \n
    \n )}\n
    \n );\n};\n\nconst mapCodeList = (list) => {\n return sortList(\n list.edges.map((x) => ({\n label: x.node.code,\n value: x.node.code,\n }))\n );\n};\n\nconst mapProcList = (list) => {\n return sortList(\n list.edges.map((x) => ({\n label: x.node.value,\n value: x.node.value,\n }))\n );\n};\n\nconst sortList = (list) => {\n return list.sort((a, b) => (a.label > b.label ? 1 : b.label > a.label ? -1 : 0));\n};\n\nProcedure.propTypes = {\n allowDelete: PropTypes.bool,\n anatomicalSite: PropTypes.string,\n disabled: PropTypes.bool,\n formatMessage: PropTypes.any,\n id: PropTypes.number,\n useReferenceList: PropTypes.bool,\n onDelete: PropTypes.func,\n operaList: PropTypes.object,\n procedureName: PropTypes.string,\n readOnly: PropTypes.bool,\n surgeryCode: PropTypes.string,\n uniqueKey: PropTypes.number,\n};\n\nexport default Procedure;\n","import { Button } from \"@akinoxsolutions/gerudo-ui\";\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { useState, useEffect } from \"react\";\nimport { injectIntl } from \"react-intl\";\n\nimport { ListsPropTypes } from \"../../../PropTypes/Lists\";\n\nimport Procedure from \"./Procedure\";\n\nimport messages from \"../AdmissionSurgery.i18n\";\nimport style from \"../style.scss\";\n\nconst Procedures = ({ operaList, completed, data, disabled, intl: { formatMessage } }) => {\n const empty = \"\";\n const genKey = () => new Date().getTime();\n const [keys, setKeys] = useState([genKey()]);\n const [procedureNames, setProcedureNames] = useState([empty]);\n const [anatomicalSites, setAnatomicalSites] = useState([empty]);\n const [surgeryCodes, setSurgeryCodes] = useState([empty]);\n const [useReferenceLists, setUseReferenceLists] = useState([true]);\n\n const donnees = data || {};\n useEffect(() => {\n setKeys(Array.from(donnees.procedureName || procedureNames, (_, x) => x + genKey()));\n setProcedureNames(donnees.procedureName || procedureNames);\n setAnatomicalSites(donnees.anatomicalSite || anatomicalSites);\n setSurgeryCodes(donnees.surgeryCode || surgeryCodes);\n setUseReferenceLists(donnees.useReferenceList || useReferenceLists);\n }, [\n JSON.stringify(donnees.procedureName),\n JSON.stringify(donnees.anatomicalSite),\n JSON.stringify(donnees.surgeryCode),\n JSON.stringify(donnees.useReferenceList),\n ]);\n\n const handleAddProcedure = () => {\n setKeys([...keys, genKey()]);\n setProcedureNames([...procedureNames, empty]);\n setAnatomicalSites([...anatomicalSites, empty]);\n setSurgeryCodes([...surgeryCodes, empty]);\n setUseReferenceLists([...useReferenceLists, true]);\n };\n\n const handleRemoveProcedure = (index) => {\n setKeys(removeIndex(keys, index));\n setProcedureNames(removeIndex(procedureNames, index));\n setAnatomicalSites(removeIndex(anatomicalSites, index));\n setSurgeryCodes(removeIndex(surgeryCodes, index));\n setUseReferenceLists(removeIndex(useReferenceLists, index));\n };\n\n const instructions = [];\n\n for (let i = 0; i < procedureNames.length; i++) {\n instructions.push(\n \n );\n }\n\n let button = null;\n\n if (procedureNames.length < 4) {\n button = (\n \n {formatMessage(messages.addProcedure)}\n \n );\n }\n\n return (\n
    \n

    {formatMessage(messages.expectedOperativeProcedure)}

    \n {instructions}\n {button}\n
    \n );\n};\n\nfunction removeIndex(array, index) {\n const newArray = [...array];\n newArray.splice(index, 1);\n return newArray;\n}\n\nProcedures.propTypes = {\n completed: PropTypes.bool,\n disabled: PropTypes.bool,\n data: PropTypes.any,\n formatMessage: PropTypes.any,\n lists: ListsPropTypes,\n operaList: PropTypes.object,\n};\n\nexport default injectIntl(Procedures);\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n admissionBeforeSurgery: {\n id: \"forms.THORSURG.admissionBeforeSurgery\",\n description: \"Type of admission\",\n defaultMessage: \"Admit before surgery\",\n },\n admissionDaySurgery: {\n id: \"forms.THORSURG.admissionDaySurgery\",\n description: \"Type of admission\",\n defaultMessage: \"Day surgery\",\n },\n admissionPatientSDA: {\n id: \"forms.THORSURG.admissionPatientSDA\",\n description: \"Type of admission\",\n defaultMessage: \"In patient SDA\",\n },\n caseReason: {\n id: \"forms.THORSURG.caseReason\",\n description: \"Case Reason label\",\n defaultMessage: \"Case Reason\",\n },\n clinicalPriority: {\n id: \"forms.THORSURG.clinicalPriority\",\n description: \"Clinical priority label\",\n defaultMessage: \"Clinical priority\",\n },\n clinicalPriorityP0: {\n id: \"forms.THORSURG.clinicalPriorityP0\",\n description: \"Clinical priority length\",\n defaultMessage: \"PO (2 weeks)\",\n },\n clinicalPriorityP1: {\n id: \"forms.THORSURG.clinicalPriorityP1\",\n description: \"Clinical priority length\",\n defaultMessage: \"P1 (1 month)\",\n },\n clinicalPriorityP2: {\n id: \"forms.THORSURG.clinicalPriorityP2\",\n description: \"Clinical priority length\",\n defaultMessage: \"P2 (2 months)\",\n },\n clinicalPriorityP3: {\n id: \"forms.THORSURG.clinicalPriorityP3\",\n description: \"Clinical priority length\",\n defaultMessage: \"P3 (3 months)\",\n },\n clinicalPriorityP4: {\n id: \"forms.THORSURG.clinicalPriorityP4\",\n description: \"Clinical priority length\",\n defaultMessage: \"P4 (4 months)\",\n },\n clinicalPriorityP5: {\n id: \"forms.THORSURG.clinicalPriorityP5\",\n description: \"Clinical priority length\",\n defaultMessage: \"P5 (5 months)\",\n },\n clinicalPriorityP6: {\n id: \"forms.THORSURG.clinicalPriorityP6\",\n description: \"Clinical priority length\",\n defaultMessage: \"P6 (6 months or more)\",\n },\n cnesstRelated: {\n id: \"forms.THORSURG.cnesstRelated\",\n description: \"CNESST related surgery\",\n defaultMessage: \"CNESST related surgery\",\n },\n days: {\n id: \"forms.THORSURG.days\",\n description: \"Days\",\n defaultMessage: \"days\",\n },\n destinationPostOp: {\n id: \"forms.THORSURG.destinationPostOp\",\n description: \"Destination Post Op label\",\n defaultMessage: \"Destination Post Op\",\n },\n destinationICU: {\n id: \"forms.THORSURG.destinationICU\",\n description: \"Destination Post Op choice\",\n defaultMessage: \"ICU\",\n },\n destinationNursingUnit: {\n id: \"forms.THORSURG.destinationNursingUnit\",\n description: \"Destination Post Op choice\",\n defaultMessage: \"Nursing Unit\",\n },\n destinationPACU: {\n id: \"forms.THORSURG.destinationPACU\",\n description: \"Destination Post Op choice\",\n defaultMessage: \"PACU - Overnight\",\n },\n diagnosisAndSites: {\n id: \"forms.THORSURG.diagnosisAndSites\",\n description: \"Diagnosis and site label\",\n defaultMessage: \"Diagnosis and site\",\n },\n endDate: {\n id: \"forms.THORSURG.endDate\",\n description: \"End date label\",\n defaultMessage: \"End date\",\n },\n estimatedLengthStay: {\n id: \"forms.THORSURG.estimatedLengthStay\",\n description: \"Estimated length of stay label\",\n defaultMessage: \"Estimated length of stay\",\n },\n estimatedLengthSurgery: {\n id: \"forms.THORSURG.estimatedLengthSurgery\",\n description: \"Estimated length of surgery\",\n defaultMessage: \"Estimated length of surgery\",\n },\n locationRVHSouth: {\n id: \"forms.THORSURG.locationRVHSouth\",\n description: \"O.R. Location\",\n defaultMessage: \"RVH - C03-South - Main\",\n },\n locationRVHNorth: {\n id: \"forms.THORSURG.locationRVHNorth\",\n description: \"O.R. Location\",\n defaultMessage: \"RVH - C03-North - Endo-Uro\",\n },\n locationMGHMain: {\n id: \"forms.THORSURG.locationMGHMain\",\n description: \"O.R. Location\",\n defaultMessage: \"MGH - C8 - Main\",\n },\n locationMGHDS: {\n id: \"forms.THORSURG.locationMGHDS\",\n description: \"O.R. Location\",\n defaultMessage: \"MGH - E7 - DS\",\n },\n oncology: {\n id: \"forms.THORSURG.oncology\",\n description: \"Oncology\",\n defaultMessage: \"Oncology\",\n },\n orLocation: {\n id: \"forms.THORSURG.orLocation\",\n description: \"O.R. Location label\",\n defaultMessage: \"O.R. Location\",\n },\n orPriority: {\n id: \"forms.THORSURG.orPriority\",\n description: \"O.R. priority label\",\n defaultMessage: \"O.R. priority\",\n },\n otherServicesSurgeon: {\n id: \"forms.THORSURG.otherServicesSurgeon\",\n description: \"Other services/with surgeon involved label\",\n defaultMessage: \"Other services/with surgeon involved\",\n },\n patientOnHold: {\n id: \"forms.THORSURG.patientOnHold\",\n description: \"Patient on hold label\",\n defaultMessage: \"Patient on hold\",\n },\n priorityAnytime: {\n id: \"forms.THORSURG.priorityAnytime\",\n description: \"Priority order\",\n defaultMessage: \"Anytime\",\n },\n priorityFirstCase: {\n id: \"forms.THORSURG.priorityFirstCase\",\n description: \"Priority order\",\n defaultMessage: \"First Case\",\n },\n priorityPMCase: {\n id: \"forms.THORSURG.priorityPMCase\",\n description: \"Priority order\",\n defaultMessage: \"PM Case\",\n },\n priorityLastCase: {\n id: \"forms.THORSURG.priorityLastCase\",\n description: \"Priority order\",\n defaultMessage: \"Last Case\",\n },\n reasonHoldPersonal: {\n id: \"forms.THORSURG.reasonHoldPersonal\",\n description: \"Priority for patient on hold\",\n defaultMessage: \"Personal\",\n },\n reasonHoldPreTreatment: {\n id: \"forms.THORSURG.reasonHoldPreTreatment\",\n description: \"Priority for patient on hold\",\n defaultMessage: \"Pre-treatment\",\n },\n reasonHoldMedical: {\n id: \"forms.THORSURG.reasonHoldMedical\",\n description: \"Priority for patient on hold\",\n defaultMessage: \"Medical\",\n },\n startDate: {\n id: \"forms.THORSURG.startDate\",\n description: \"Start date label\",\n defaultMessage: \"Start date\",\n },\n surgeryLengthRoutine: {\n id: \"forms.THORSURG.surgeryLengthRoutine\",\n description: \"Surgery length routine\",\n defaultMessage: \"Routine time\",\n },\n surgeryLengthMore: {\n id: \"forms.THORSURG.surgeryLengthMore\",\n description: \"Surgery length routine\",\n defaultMessage: \"More than\",\n },\n surgeryLengthLess: {\n id: \"forms.THORSURG.surgeryLengthLess\",\n description: \"Surgery length routine\",\n defaultMessage: \"Less than\",\n },\n suspectedCancer: {\n id: \"forms.THORSURG.suspectedCancer\",\n description: \"Suspected or confirmed cancer\",\n defaultMessage: \"Suspected or confirmed cancer\",\n },\n titleSection1: {\n id: \"forms.THORSURG.titleSection1\",\n description: \"Title for first section of admission form\",\n defaultMessage: \"1. Medical services required\",\n },\n transplant: {\n id: \"forms.THORSURG.transplant\",\n description: \"Transplant label\",\n defaultMessage: \"Transplant\",\n },\n treatingPhysician: {\n id: \"forms.THORSURG.treatingPhysician\",\n description: \"Treating physician label\",\n defaultMessage: \"Treating physician\",\n },\n tumorSite: {\n id: \"forms.THORSURG.tumorSite\",\n description: \"Tumor site label\",\n defaultMessage: \"Tumor site\",\n },\n typeAdmission: {\n id: \"forms.THORSURG.typeAdmission\",\n description: \"Type of admission label\",\n defaultMessage: \"Type of admission\",\n },\n});\nexport default messages;\n","import classnames from \"classnames\";\nimport React, { useState, useEffect, useRef } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl } from \"react-intl\";\n\nimport { RadioButtonListInput, TextInput } from \"~/src/js/components/shared/inputs\";\n\nimport messages from \"./MedicalServices.i18n\";\nimport style from \"../style.scss\";\n\nexport const EstimatedLengthSurgery = ({ completed, data, intl: { formatMessage } }) => {\n const routineTime = \"routineTime\";\n const lessThan = \"lessThan\";\n const moreThan = \"moreThan\";\n const moreMinutes = \"moreMinutes\";\n const lessMinutes = \"lessMinutes\";\n\n const donnees = data || {};\n\n const [estimatedLengthSurgery, setEstimatedLengthSurgery] = useState(routineTime);\n const isMoreThan = estimatedLengthSurgery === moreThan;\n const isLessThan = estimatedLengthSurgery === lessThan;\n\n const ref1 = useRef(null);\n const ref2 = useRef(null);\n\n useEffect(() => {\n setEstimatedLengthSurgery(donnees.estimatedLengthSurgery || routineTime);\n }, [donnees.estimatedLengthSurgery]);\n\n useEffect(() => {\n if (!isMoreThan && ref1.current) {\n ref1.current.value = \"\";\n }\n\n if (!isLessThan && ref2.current) {\n ref2.current.value = \"\";\n }\n }, [estimatedLengthSurgery]);\n\n const estimatedLengthOptions = [\n {\n label: (\n
    \n {formatMessage(messages.surgeryLengthRoutine)}\n
    \n ),\n value: routineTime,\n },\n {\n label: (\n
    \n
    \n {formatMessage(messages.surgeryLengthMore)}\n
    \n \n min.\n
    \n ),\n value: moreThan,\n },\n {\n label: (\n
    \n
    \n {formatMessage(messages.surgeryLengthLess)}\n
    \n \n min.\n
    \n ),\n value: lessThan,\n },\n ];\n\n return (\n
    \n

    {formatMessage(messages.estimatedLengthSurgery)}

    \n \n
    \n );\n};\n\nEstimatedLengthSurgery.propTypes = {\n completed: PropTypes.bool,\n data: PropTypes.any,\n formatMessage: PropTypes.any,\n};\n\nexport default injectIntl(EstimatedLengthSurgery);\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { useEffect, useState } from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport { LabeledInput } from \"@akinoxsolutions/gerudo-ui\";\n\nimport {\n CheckboxInput,\n DropDownListInput,\n RadioButtonListInput,\n TextInput,\n} from \"~/src/js/components/shared/inputs\";\nimport { DatePicker, DatePickerSizes } from \"~/src/js/components/shared/inputs/DatePicker\";\nimport { SkeletonLoader } from \"~/src/js/components/shared/Loading\";\n\nimport Procedures from \"../Procedures\";\nimport { ListsPropTypes } from \"../../../PropTypes/Lists\";\n\nimport EstimatedLengthSurgery from \"./EstimatedLengthSurgery.js\";\n\nimport messages from \"./MedicalServices.i18n\";\nimport style from \"../style.scss\";\nimport styles from \"../../../ThoracicSurgeryForm.style\";\nimport baseI18n from \"../../../../../../../messages/base.i18n\";\n\nconst MedicalServices = ({\n lists,\n completed,\n data,\n disabled,\n loading,\n intl: { formatMessage },\n}) => {\n const [isAdmissionBefore, setIsAdmissionBefore] = useState(false);\n const [isCancer, setIsCancer] = useState(false);\n const [isOnHold, setOnHold] = useState(false);\n const [isReasonNeeded, setIsReasonNeeded] = useState(false);\n const [isTransplant, setIsTransplant] = useState(false);\n\n const donnees = data || {\n anatomicalSite: [\"\"],\n clinicalPriority: \"\",\n cnesstRelated: \"NO\",\n destinationPostOp: \"nursingUnit\",\n diagnosisAndSite: \"\",\n endDateHold: \"\",\n estimatedLength: \"\",\n estimatedLengthSurgery: \"routineTime\",\n caseReason: \"\",\n lessMinutes: \"\",\n medical: false,\n moreMinutes: \"\",\n nbDaysBefore: \"\",\n orLocation: \"\",\n orPriority: \"anytime\",\n otherServices: \"NO\",\n patientHold: \"NO\",\n personal: false,\n pmCaseReason: \"\",\n preTreatment: false,\n procedureName: [\"\"],\n startDateHold: \"\",\n surgeryCode: [\"\"],\n suspectedCancer: \"\",\n transplant: \"\",\n treatingPhysician: \"\",\n tumorSite: \"\",\n typeAdmission: \"\",\n };\n\n const clinicalPriority = [\n { label: \"\", value: \"\" },\n {\n label: formatMessage(messages.clinicalPriorityP0),\n name: \"p2weeks\",\n value: \"p2weeks\",\n },\n {\n label: formatMessage(messages.clinicalPriorityP1),\n name: \"p1month\",\n value: \"p1month\",\n },\n {\n label: formatMessage(messages.clinicalPriorityP2),\n name: \"p2month\",\n value: \"p2month\",\n },\n {\n label: formatMessage(messages.clinicalPriorityP3),\n name: \"p3month\",\n value: \"p3month\",\n },\n {\n label: formatMessage(messages.clinicalPriorityP4),\n name: \"p4month\",\n value: \"p4month\",\n },\n {\n label: formatMessage(messages.clinicalPriorityP5),\n name: \"p5month\",\n value: \"p5month\",\n },\n {\n label: formatMessage(messages.clinicalPriorityP6),\n name: \"p6month\",\n value: \"p6month\",\n },\n ];\n\n const clinicalPriorityHold = [\n { label: formatMessage(messages.reasonHoldPersonal), value: \"personal\" },\n {\n label: formatMessage(messages.reasonHoldPreTreatment),\n value: \"preTreatment\",\n },\n { label: formatMessage(messages.reasonHoldMedical), value: \"medical\" },\n ];\n\n const destinationPostOp = [\n { label: \"\", value: \"\" },\n { label: formatMessage(messages.destinationICU), value: \"ICU\" },\n {\n label: formatMessage(messages.destinationNursingUnit),\n value: \"nursingUnit\",\n },\n { label: formatMessage(messages.destinationPACU), value: \"pacuOvernight\" },\n ];\n\n const orLocation = [\n { label: \"\", value: \"\" },\n {\n label: formatMessage(messages.locationRVHSouth),\n name: \"RVHSouth\",\n value: \"rvhSouth\",\n },\n {\n label: formatMessage(messages.locationRVHNorth),\n name: \"RVHNorth\",\n value: \"rvhNorth\",\n },\n {\n label: formatMessage(messages.locationMGHMain),\n name: \"MGHC8\",\n value: \"mghC8\",\n },\n {\n label: formatMessage(messages.locationMGHDS),\n name: \"MGHE7\",\n value: \"mghE7\",\n },\n ];\n\n const orPriority = [\n { label: \"\", value: \"\" },\n { label: formatMessage(messages.priorityAnytime), value: \"anytime\" },\n { label: formatMessage(messages.priorityFirstCase), value: \"firstCase\" },\n { label: formatMessage(messages.priorityPMCase), value: \"pmCase\" },\n { label: formatMessage(messages.priorityLastCase), value: \"lastCase\" },\n ];\n\n const typeAdmission = [\n { label: \"\", value: \"\" },\n {\n label: formatMessage(messages.admissionBeforeSurgery),\n value: \"admitBefore\",\n },\n { label: formatMessage(messages.admissionDaySurgery), value: \"daySurgery\" },\n { label: formatMessage(messages.admissionPatientSDA), value: \"patientSDA\" },\n ];\n\n const yesNo = [\n {\n label: formatMessage(baseI18n.global.labelYes),\n name: \"yes\",\n value: \"YES\",\n },\n { label: formatMessage(baseI18n.global.labelNo), name: \"no\", value: \"NO\" },\n ];\n\n useEffect(() => {\n const { suspectedCancer, typeAdmission, patientHold, isTransplant, orPriority } = donnees;\n setIsCancer(suspectedCancer === \"YES\");\n setIsAdmissionBefore(typeAdmission === \"admitBefore\");\n setIsReasonNeeded(orPriority !== \"anytime\");\n setOnHold(patientHold === \"YES\");\n setIsTransplant(isTransplant);\n }, [\n donnees.suspectedCancer,\n donnees.typeAdmission,\n donnees.patientHold,\n donnees.isTransplant,\n donnees.orPriority,\n ]);\n\n const styleSkeletonSection = {\n width: \"100%\",\n height: \"15rem\",\n borderRadius: \"0.5rem\",\n };\n\n const isCompleted = completed || disabled;\n\n return (\n
    \n

    {formatMessage(messages.titleSection1)}

    \n \n
    \n \n
    \n \n
    \n
    \n
    \n\n \n
    \n

    {formatMessage(messages.oncology)}

    \n
    \n
    \n

    {formatMessage(messages.suspectedCancer)}

    \n setIsCancer(e === \"YES\")}\n options={yesNo}\n required\n value={donnees.suspectedCancer}\n />\n {isCancer && (\n \n )}\n
    \n
    \n

    {formatMessage(messages.cnesstRelated)}

    \n \n \n {isTransplant && (\n \n )}\n
    \n
    \n
    \n
    \n\n \n
    \n
    \n
    \n setIsAdmissionBefore(e === \"admitBefore\")}\n required\n source={typeAdmission}\n value={donnees.typeAdmission}\n />\n\n {isAdmissionBefore && (\n
    \n \n {formatMessage(messages.days)}\n
    \n )}\n
    \n\n
    \n setIsReasonNeeded(e !== \"anytime\")}\n source={orPriority}\n value={donnees.orPriority}\n />\n {isReasonNeeded && (\n \n )}\n
    \n
    \n
    \n \n
    \n \n
    \n
    \n\n \n \n \n\n \n
    \n
    \n \n
    \n
    \n

    {formatMessage(messages.otherServicesSurgeon)}

    \n \n
    \n
    \n
    \n\n \n \n

    {formatMessage(messages.clinicalPriority)}

    \n {/*

    {formatMessage(messages.estimatedLengthStay)}

    */}\n
    \n
    \n \n {formatMessage(messages.days)}\n
    \n
    \n \n
    \n
    \n

    {formatMessage(messages.patientOnHold)}

    \n
    \n
    \n setOnHold(e === \"YES\")}\n options={yesNo}\n value={donnees.patientHold}\n />\n
    \n {isOnHold && (\n \n \n \n \n \n \n \n \n )}\n
    \n {isOnHold && (\n
    \n \n \n \n
    \n )}\n \n
    \n
    \n );\n};\n\nMedicalServices.propTypes = {\n completed: PropTypes.bool,\n data: PropTypes.any,\n disabled: PropTypes.bool,\n formatMessage: PropTypes.any,\n lists: ListsPropTypes,\n loading: PropTypes.bool,\n};\n\nexport default injectIntl(MedicalServices);\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n additionalTests: {\n id: \"forms.THORSURG.additionalTests\",\n description: \"Additional tests label\",\n defaultMessage:\n \"Additional tests/ Special equipment required / Special requests / Consultations\",\n },\n serviceAutologousBloodDonor: {\n id: \"forms.THORSURG.serviceAutologousBloodDonor\",\n description: \"Additional service type\",\n defaultMessage: \"Autologous Blood donor\",\n },\n serviceTypeScreen: {\n id: \"forms.THORSURG.serviceTypeScreen\",\n description: \"Additional service type\",\n defaultMessage: \"Type and screen\",\n },\n serviceBiometry: {\n id: \"forms.THORSURG.serviceBiometry\",\n description: \"Additional service type\",\n defaultMessage: \"Biometry\",\n },\n titleSection3: {\n id: \"forms.THORSURG.titleSection3\",\n description: \"Title for third section of admission form\",\n defaultMessage: \"3. Additional pre-operative test - Special instructions\",\n },\n units: {\n id: \"forms.THORSURG.units\",\n description: \"Units\",\n defaultMessage: \"units\",\n },\n});\n\nexport default messages;\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { useState, useEffect } from \"react\";\nimport { injectIntl } from \"react-intl\";\n\nimport { CheckboxInput, TextInput } from \"~/src/js/components/shared/inputs\";\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { SkeletonLoader } from \"~/src/js/components/shared/Loading\";\n\nimport messages from \"./TestPreOp.i18n\";\nimport style from \"../style.scss\";\nimport styles from \"../../../ThoracicSurgeryForm.style\";\n\nconst TestPreop = ({ completed, data, loading, intl: { formatMessage } }) => {\n const [typeAndScreen, isTypeAndScreen] = useState(false);\n\n const donnees = data || {\n additionalTests: \"\",\n autologousBloodDonor: false,\n biometry: false,\n typeScreen: true,\n units: 2,\n };\n\n const additionalService = [\n { label: formatMessage(messages.serviceTypeScreen), name: \"typeScreen\" },\n {\n label: formatMessage(messages.serviceAutologousBloodDonor),\n name: \"autologousBloodDonor\",\n },\n { label: formatMessage(messages.serviceBiometry), name: \"biometry\" },\n ];\n\n useEffect(() => {\n isTypeAndScreen(donnees.typeScreen);\n }, []);\n\n return (\n
    \n

    {formatMessage(messages.titleSection3)}

    \n \n \n \n\n \n
    \n
    \n isTypeAndScreen(e === true)}\n value={donnees.typeScreen}\n />\n {typeAndScreen && (\n
    \n X\n
    \n \n
    \n {formatMessage(messages.units)}\n
    \n )}\n
    \n \n \n
    \n \n
    \n );\n};\n\nTestPreop.propTypes = {\n completed: PropTypes.bool,\n data: PropTypes.any,\n loading: PropTypes.bool,\n formatMessage: PropTypes.any,\n};\n\nexport default injectIntl(TestPreop);\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { useState, Fragment } from \"react\";\nimport get from \"lodash/get\";\nimport { injectIntl, FormattedMessage } from \"react-intl\";\nimport { Button } from \"@akinoxsolutions/gerudo-ui/dist/Button\";\n\nimport { featureKeys } from \"~/src/js/helpers/features\";\nimport {\n HandWrittenSignatureDialog,\n HandWrittenFormHeader,\n HandWrittenSignature,\n RecordSignature,\n LegalSignatoryText,\n LegalSignatoryLabel,\n} from \"~/src/js/components/shared/Signatures\";\nimport { GerudoTextInput } from \"~/src/js/components/shared/inputs\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport {\n LegalSignatoryTypeMapper,\n LegalSignatoryType,\n} from \"~/src/js/components/shared/Signatures/mutations\";\nimport { FeatureFlagContainer } from \"~/src/js/components/shared/Features/FeatureFlagContainer\";\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { useCancelHandWrittenSignatureMutation } from \"~/src/js/components/shared/Signatures/hooks\";\n\nimport { ListsPropTypes, StepPropTypes } from \"../../PropTypes\";\n\nimport { AdditionalInfo, GeneralSection, MedicalServices, TestPreop } from \"./sections\";\nimport styles from \"./style\";\n\nimport messages from \"./AdmissionSurgery.i18n\";\nimport thorSurgStyle from \"../../ThoracicSurgeryForm.style\";\n\n// Message are inverse since if consentBy is patient we want to change it to legal rep\nconst ChangeToMessageMapper = {\n [LegalSignatoryType.patient]: ,\n [LegalSignatoryType.legalRepresentative]: ,\n undefined: \"\",\n null: \"\",\n};\n\nconst AdmissionSurgery = ({\n case: cas,\n consentBy,\n lists,\n intl: { formatMessage },\n isRelayLoading,\n isValid,\n permission,\n stepData: { stepId, data },\n onSavedSignature,\n savedData,\n setSignerFullNameHack,\n signerFullNameHack,\n statefulHandwrittenImageData,\n toggleSignatoryType,\n viewer,\n}) => {\n const legalSignatureType = LegalSignatoryTypeMapper[consentBy];\n const [signatureModalOpen, setSignatureModalOpen] = useState(false);\n const parsedData = data || get(savedData, stepId, null);\n\n const handleOnSaveModal = (data, response) => {\n onSavedSignature(stepId, response.addHandWrittenSignatureMutation.handWrittenSignature);\n setSignatureModalOpen(false);\n };\n\n const handleOnResetSignature = () => {\n onSavedSignature(stepId, null);\n setSignerFullNameHack(\"\");\n };\n\n const handleCloseModal = () => {\n setSignatureModalOpen(false);\n };\n\n const isCompleted = () => {\n return !permission.canSubmit || statefulHandwrittenImageData;\n };\n\n const handleOnSuccessToggleSignatoryType = () => {\n toggleSignatoryType();\n handleOnResetSignature();\n };\n\n const {\n isSubmitting: isCancellingSignature,\n errors: cancelSignatureErrors,\n cancelHandWrittenSignature,\n } = useCancelHandWrittenSignatureMutation({\n onSuccess: handleOnSuccessToggleSignatoryType,\n });\n\n const handleOnToggleSignatoryType = async () => {\n await cancelHandWrittenSignature(statefulHandwrittenImageData);\n };\n\n return (\n \n
    \n {formatMessage(messages.admissionSurgery)}\n \n \n \n \n\n \n {statefulHandwrittenImageData ? (\n \n {permission.canSubmit && (\n
    \n await handleOnToggleSignatoryType()}\n type=\"text\">\n {ChangeToMessageMapper[legalSignatureType]}\n \n
    \n )}\n \n ) : (\n setSignatureModalOpen(true)}>\n
    \n \n
    \n \n )}\n \n\n

    \n {formatMessage(messages.registerPatient)}\n

    \n\n \n
    \n\n \n }>\n }\n description={\n \n ),\n }}\n />\n }>\n {LegalSignatoryTypeMapper[consentBy] === LegalSignatoryType.legalRepresentative && (\n }\n name=\"signerFullName\"\n onChange={setSignerFullNameHack}\n required\n value={signerFullNameHack}\n />\n )}\n \n \n \n
    \n );\n};\n\nAdmissionSurgery.propTypes = {\n case: PropTypes.object,\n consentBy: PropTypes.string,\n lists: ListsPropTypes,\n isRelayLoading: PropTypes.bool,\n isValid: PropTypes.bool,\n onSavedSignature: PropTypes.func,\n permission: PropTypes.object,\n stepData: StepPropTypes,\n savedData: PropTypes.object,\n setSignerFullNameHack: PropTypes.func,\n signerFullNameHack: PropTypes.string,\n statefulHandwrittenImageData: PropTypes.object,\n toggleSignatoryType: PropTypes.func,\n viewer: ViewerPropTypes,\n};\n\nexport default injectIntl(AdmissionSurgery);\n","import AdmissionSurgery from \"./AdmissionSurgery\";\n\nexport default AdmissionSurgery;\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n clinicalNotes: {\n id: \"forms.THORSURG.clinicalNotes\",\n description: \"Notes\",\n defaultMessage: \"Clinical notes\",\n },\n preopPlanningTitle: {\n id: \"forms.THORSURG.preopPlanningTitle\",\n description: \"Title for preoperative visit form\",\n defaultMessage: \"Preoperative visit planning\",\n },\n preopVisitDate: {\n id: \"forms.THORSURG.preopVisitDate\",\n description: \"Date for preoperative visit form\",\n defaultMessage: \"Preoperative visit date\",\n },\n});\n\nexport default messages;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl } from \"react-intl\";\nimport classnames from \"classnames\";\nimport { LabeledInput } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\nimport { DatePickerInput, TextInput } from \"~/src/js/components/shared/inputs\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport { ListsPropTypes, StepPropTypes } from \"../../PropTypes\";\n\nimport messages from \"./PreopPlanning.i18n\";\nimport styles from \"../../ThoracicSurgeryForm.style\";\nimport thorSurgMessages from \"../../ThoracicSurgeryForm.i18n\";\n\nconst PreopPlanning = ({\n case: cas,\n files: [files, setFiles],\n intl: { formatMessage },\n lists: { documentTypeList },\n permission,\n stepData: { attachments, data },\n viewer,\n}) => {\n const fixedData = data || {};\n return (\n
    \n {formatMessage(messages.preopPlanningTitle)}\n
    \n \n \n \n
    \n \n \n \n

    {fixedData.clinicalNotes}

    \n\n \n
    \n );\n};\n\nPreopPlanning.propTypes = {\n case: CasePropTypes,\n files: PropTypes.array,\n lists: ListsPropTypes,\n permission: PropTypes.object,\n stepData: StepPropTypes,\n viewer: ViewerPropTypes,\n formatMessage: PropTypes.func,\n};\n\nexport default injectIntl(PreopPlanning);\n","import PreopPlanning from \"./PreopPlanning\";\n\nexport default PreopPlanning;\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n clinicalNotes: {\n id: \"forms.THORSURG.clinicalNotes\",\n description: \"Notes\",\n defaultMessage: \"Clinical notes\",\n },\n preopPatientStatus: {\n id: \"forms.THORSURG.preopPatientStatus\",\n description: \"Patient preop status\",\n defaultMessage: \"Patient preop status\",\n },\n preopPatientReady: {\n id: \"forms.THORSURG.preopPatientReady\",\n description: \"Patient preop ready\",\n defaultMessage: \"Patient ready for surgery\",\n },\n preopPatientUnfit: {\n id: \"forms.THORSURG.preopPatientUnfit\",\n description: \"Patient preop unfit\",\n defaultMessage: \"Patient unfit for surgery\",\n },\n preopVisitTitle: {\n id: \"forms.THORSURG.preopVisitTitle\",\n description: \"Title for preoperative visit form\",\n defaultMessage: \"Preoperative visit\",\n },\n preopVisitDate: {\n id: \"forms.THORSURG.preopVisitDate\",\n description: \"Date for preoperative visit form\",\n defaultMessage: \"Preoperative visit date\",\n },\n});\n\nexport default messages;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl } from \"react-intl\";\nimport classnames from \"classnames\";\nimport { LabeledInput } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\nimport { DatePickerInput, TextInput, DropDownListInput } from \"~/src/js/components/shared/inputs\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport formStyle from \"~/src/styles/forms\";\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport { findLastStepByType } from \"../../helpers\";\nimport stepNames from \"../../stepNames\";\nimport { ListsPropTypes, StepPropTypes } from \"../../PropTypes\";\n\nimport messages from \"./PreopVisit.i18n\";\nimport styles from \"../../ThoracicSurgeryForm.style\";\nimport thorSurgMessages from \"../../ThoracicSurgeryForm.i18n\";\n\nconst PreopVisit = ({\n case: cas,\n files: [files, setFiles],\n intl: { formatMessage },\n lists: { documentTypeList },\n permission,\n stepData: { attachments, data },\n viewer,\n}) => {\n const preopPlanningStep = findLastStepByType(cas.data.steps, stepNames.PreopPlanning);\n\n const fixedData = data || {\n preopVisitDate:\n preopPlanningStep && preopPlanningStep.data ? preopPlanningStep.data.preopVisitDate : \"\",\n };\n\n return (\n
    \n {formatMessage(messages.preopVisitTitle)}\n
    \n \n \n \n \n
    \n\n \n

    {data && data.clinicalNotes}

    \n\n \n
    \n );\n};\n\nPreopVisit.propTypes = {\n case: CasePropTypes,\n files: PropTypes.array,\n lists: ListsPropTypes,\n permission: PropTypes.object,\n setTags: PropTypes.func,\n stepData: StepPropTypes,\n viewer: ViewerPropTypes,\n formatMessage: PropTypes.func,\n};\n\nexport default injectIntl(PreopVisit);\n","import PreopVisit from \"./PreopVisit\";\n\nexport default PreopVisit;\n","import { defineMessages } from \"react-intl\";\n\nexport default defineMessages({\n anticipatedDate: {\n id: \"forms.THORSURG.history.anticipatedDate\",\n description: \"Anticipated date table label\",\n defaultMessage: \"Anticipated date\",\n },\n anticipatedSurgeryTitle: {\n id: \"forms.THORSURG.history.anticipatedSurgeryTitle\",\n description: \"Anticipated date table label\",\n defaultMessage: \"Anticipated surgery date history\",\n },\n specifiedBy: {\n id: \"forms.THORSURG.history.specifiedBy\",\n description: \"Specified by table label\",\n defaultMessage: \"Specified by\",\n },\n});\n","import { ButtonGroup, Button, HistoryIcon, Table, Modal } from \"@akinoxsolutions/gerudo-ui\";\nimport React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { FormattedMessage, injectIntl } from \"react-intl\";\nimport cloneDeep from \"lodash/cloneDeep\";\n\nimport baseMessages from \"~/src/messages/base.i18n\";\nimport { parseToDate } from \"~/src/js/helpers/dates\";\n\nimport FormattedDateTime from \"../../../shared/formattedDateTime\";\nimport FormattedDate from \"../../../shared/formattedDate\";\n\nimport messages from \"./History.i18n\";\n\nexport const getHistoryData = (diffPropertyName, stepData) => {\n const historyData = [];\n let dataDiffs = stepData.dataDiffs;\n\n if (stepData.dataDiffs && stepData.dataDiffs.length > 0) {\n // Hack to add an initial diff when the first diff contains 2 dates.\n // Before\n // [\n // {\n // ...\n // diff: { surgeryDate: [\"2021-06-11\", \"2021-06-12\"] },\n // },\n // ...\n // ]\n // After\n // [\n // {\n // ...\n // diff: { surgeryDate: [null, \"2021-06-11\"] },\n // },\n // {\n // ...\n // diff: { surgeryDate: [\"2021-06-11\", \"2021-06-12\"] },\n // },\n // ...\n // ]\n if (\n stepData.dataDiffs[0].diff[diffPropertyName] &&\n stepData.dataDiffs[0].diff[diffPropertyName].length === 2\n ) {\n const initialDiff = cloneDeep(stepData.dataDiffs[0]);\n initialDiff.diff[diffPropertyName] = [null, initialDiff.diff[diffPropertyName][0]];\n dataDiffs = [initialDiff, ...stepData.dataDiffs];\n }\n\n dataDiffs.forEach((historyDiff) => {\n if (historyDiff.diff[diffPropertyName]) {\n const lastDateIndex = historyDiff.diff[diffPropertyName].length - 1;\n const lastDate = historyDiff.diff[diffPropertyName][lastDateIndex];\n const requester = historyDiff.user.person.fullName;\n const timestamp = historyDiff.timestamp;\n\n historyData.push({\n date: lastDate,\n requester: requester,\n timestamp: timestamp,\n });\n }\n });\n } else if (stepData.data && stepData.data[diffPropertyName]) {\n historyData.push({\n date: stepData.data[diffPropertyName],\n requester: \"\",\n timestamp: stepData.completedOn,\n });\n }\n\n return historyData;\n};\n\nexport const History = ({ diffPropertyName, stepData, intl: { formatMessage } }) => {\n const [isModalOpen, setIsModalOpen] = useState(false);\n\n const historyColumns = [\n {\n key: \"anticipatedDate\",\n dataIndex: \"anticipatedDate\",\n title: ,\n },\n {\n key: \"specifiedBy\",\n dataIndex: \"specifiedBy\",\n title: ,\n },\n ];\n\n const historyData = getHistoryData(diffPropertyName, stepData);\n const historyModel = historyData.map((data, index) => ({\n key: `${index}`,\n anticipatedDate: ,\n specifiedBy: (\n
    \n

    {data.requester}

    \n \n
    \n ),\n }));\n\n const actions = (onCancel, onOk) => (\n \n \n \n );\n\n return (\n
    \n }\n onClick={() => setIsModalOpen(true)}\n type=\"text\"\n />\n setIsModalOpen(false)}\n onOk={() => setIsModalOpen(false)}\n visible={isModalOpen}\n title={}\n actions={actions}>\n
    \n \n \n );\n};\n\nHistory.propTypes = {\n diffPropertyName: PropTypes.string.isRequired,\n stepData: PropTypes.object.isRequired,\n};\n\nexport default injectIntl(History);\n","import History from \"./History\";\n\nexport default History;\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n clinicalNotes: {\n id: \"forms.THORSURG.clinicalNotes\",\n description: \"Notes\",\n defaultMessage: \"Clinical notes\",\n },\n surgeryInformationCorb: {\n id: \"forms.THORSURG.surgeryInformationCorb\",\n description: \"Title for surgery information CORB\",\n defaultMessage: \"Surgery information CORB\",\n },\n surgeryDate: {\n id: \"forms.THORSURG.surgeryDate\",\n description: \"Date of surgery\",\n defaultMessage: \"Surgery date\",\n },\n surgeon: {\n id: \"forms.THORSURG.surgeon\",\n description: \"Surgeon\",\n defaultMessage: \"Surgeon\",\n },\n});\n\nexport default messages;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport classnames from \"classnames\";\nimport { LabeledInput } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\nimport { DatePickerInput, TextInput, DropDownListInput } from \"~/src/js/components/shared/inputs\";\nimport { parseToCalendarDate } from \"~/src/js/helpers/dates\";\nimport { dispatchAnticipatedDate } from \"~/src/js/stores/thorsurg/actions\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport formStyle from \"~/src/styles/forms\";\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport { ListsPropTypes, StepPropTypes } from \"../../PropTypes\";\nimport History from \"../../History\";\n\nimport messages from \"./SurgeryInformationCorb.i18n\";\nimport styles from \"../../ThoracicSurgeryForm.style\";\nimport thorSurgMessages from \"../../ThoracicSurgeryForm.i18n\";\n\nconst SurgeryInformationCorb = ({\n case: cas,\n files: [files, setFiles],\n intl: { formatMessage },\n lists: { documentTypeList },\n permission,\n setAnticipatedDate,\n stepData,\n stepData: { attachments, data, isCompleted },\n viewer,\n}) => {\n const fixedData = data || {};\n const handleChangeDate = (date) => {\n const newDate = JSON.stringify(date);\n if (newDate !== \"null\" && newDate !== undefined) {\n setAnticipatedDate(parseToCalendarDate(date));\n }\n };\n\n const dropdownSurgeons = [{ label: \"\", id: \"\" }].concat(\n cas.data.toDepartment.specialists.map((x) => ({\n label: x.fullName,\n id: x.id,\n }))\n );\n\n return (\n
    \n {formatMessage(messages.surgeryInformationCorb)}\n
    \n
    \n \n handleChangeDate(date)}\n value={fixedData.surgeryDate}\n />\n \n
    \n {isCompleted && stepData.data.surgeryDate && (\n \n )}\n \n
    \n \n

    {fixedData.clinicalNotes}

    \n\n \n
    \n );\n};\n\nSurgeryInformationCorb.propTypes = {\n case: CasePropTypes,\n files: PropTypes.array,\n lists: ListsPropTypes,\n permission: PropTypes.object,\n setAnticipatedDate: PropTypes.func,\n setTags: PropTypes.func,\n stepData: StepPropTypes,\n viewer: ViewerPropTypes,\n formatMessage: PropTypes.func,\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n setAnticipatedDate: (date) => dispatchAnticipatedDate(dispatch, date),\n});\n\nexport default injectIntl(connect(null, mapDispatchToProps)(SurgeryInformationCorb));\n","import SurgeryInformationCorb from \"./SurgeryInformationCorb\";\n\nexport default SurgeryInformationCorb;\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n dischargeReportTitle: {\n id: \"forms.THORSURG.dischargeReportTitle\",\n description: \"Post discharge reports title\",\n defaultMessage: \"Post discharge reports\",\n },\n dischargeSummary: {\n id: \"forms.THORSURG.dischargeSummary\",\n description: \"Type of document\",\n defaultMessage: \"Discharge summary\",\n },\n neededDocuments: {\n id: \"forms.THORSURG.neededDocuments\",\n description: \"Following documents are needed\",\n defaultMessage: \"The following documents are required: \",\n },\n bypassRequiredDocuments: {\n id: \"forms.THORSURG.bypassRequiredDocuments\",\n description: \"Following documents are needed\",\n defaultMessage: \"The following documents are required: \",\n },\n operativeReport: {\n id: \"forms.THORSURG.operativeReport\",\n description: \"Type of document\",\n defaultMessage: \"Operative report\",\n },\n pathologyReport: {\n id: \"forms.THORSURG.pathologyReport\",\n description: \"Type of document\",\n defaultMessage: \"Pathology report\",\n },\n});\n\nexport default messages;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport classnames from \"classnames\";\nimport { injectIntl } from \"react-intl\";\n\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\n\nimport { StepPropTypes } from \"../../PropTypes/Step\";\n\nimport messages from \"./DischargeReport.i18n\";\nimport thorSurgMessages from \"../../ThoracicSurgeryForm.i18n\";\n\nconst DischargeReport = ({\n case: cas,\n files: [files, setFiles],\n intl: { formatMessage },\n lists,\n permission,\n stepData: { attachments },\n viewer,\n}) => {\n return (\n
    \n {formatMessage(messages.dischargeReportTitle)}\n {/* TODO : add gerudo component (incoming) */}\n
    \n

    {formatMessage(messages.neededDocuments)}

    \n
      \n
    • {formatMessage(messages.dischargeSummary)}
    • \n
    • {formatMessage(messages.operativeReport)}
    • \n
    • {formatMessage(messages.pathologyReport)}
    • \n
    \n

    {formatMessage(messages.bypassRequiredDocuments)}

    \n
    \n\n \n
    \n );\n};\n\nDischargeReport.propTypes = {\n case: CasePropTypes,\n files: PropTypes.array,\n lists: PropTypes.any,\n permission: PropTypes.object,\n stepData: StepPropTypes,\n viewer: ViewerPropTypes,\n};\n\nexport default injectIntl(DischargeReport);\n","import DischargeReport from \"./DischargeReport\";\n\nexport default DischargeReport;\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n clinicalNotes: {\n id: \"forms.THORSURG.clinicalNotes\",\n description: \"Notes\",\n defaultMessage: \"Clinical notes\",\n },\n phoneTeachingTitle: {\n id: \"forms.THORSURG.phoneTeachingTitle\",\n description: \"Title for phone teaching form\",\n defaultMessage: \"Phone teaching\",\n },\n phoneCallDate: {\n id: \"forms.THORSURG.phoneCallDate\",\n description: \"Date for preoperative visit form\",\n defaultMessage: \"Phone call date\",\n },\n});\n\nexport default messages;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl } from \"react-intl\";\nimport classnames from \"classnames\";\nimport { LabeledInput } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\nimport { DatePickerInput, TextInput } from \"~/src/js/components/shared/inputs\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport { ListsPropTypes, StepPropTypes } from \"../../PropTypes\";\n\nimport messages from \"./PhoneTeaching.i18n\";\nimport styles from \"../../ThoracicSurgeryForm.style\";\nimport thorSurgMessages from \"../../ThoracicSurgeryForm.i18n\";\n\nconst PhoneTeaching = ({\n case: cas,\n files: [files, setFiles],\n intl: { formatMessage },\n lists: { documentTypeList },\n permission,\n stepData: { attachments, data },\n viewer,\n}) => {\n const fixedData = data || {\n phoneCallDate: \"\",\n clinicalNotes: \"\",\n };\n return (\n
    \n {formatMessage(messages.phoneTeachingTitle)}\n
    \n \n \n \n
    \n \n \n \n

    {data && fixedData.clinicalNotes}

    \n\n \n
    \n );\n};\n\nPhoneTeaching.propTypes = {\n case: CasePropTypes,\n files: PropTypes.array,\n lists: ListsPropTypes,\n permission: PropTypes.object,\n setTags: PropTypes.func,\n stepData: StepPropTypes,\n viewer: ViewerPropTypes,\n formatMessage: PropTypes.func,\n};\n\nexport default injectIntl(PhoneTeaching);\n","import PhoneTeaching from \"./PhoneTeaching\";\n\nexport default PhoneTeaching;\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n delayOneWeek: {\n id: \"forms.THORSURG.delayOneWeek\",\n description: \"Delay\",\n defaultMessage: \"1 week\",\n },\n delayTwoWeeks: {\n id: \"forms.THORSURG.delayTwoWeeks\",\n description: \"Delay\",\n defaultMessage: \"2 weeks\",\n },\n delayThreeWeeks: {\n id: \"forms.THORSURG.delayThreeWeeks\",\n description: \"Delay\",\n defaultMessage: \"3 weeks\",\n },\n delayFourWeeks: {\n id: \"forms.THORSURG.delayFourWeeks\",\n description: \"Delay\",\n defaultMessage: \"4 weeks\",\n },\n delayUnnecessary: {\n id: \"forms.THORSURG.delayUnnecessary\",\n description: \"Delay\",\n defaultMessage: \"Unnecessary\",\n },\n dischargePatientTitle: {\n id: \"forms.THORSURG.dischargePatientTitle\",\n description: \"Discharge patient title\",\n defaultMessage: \"Discharge\",\n },\n orientationHouse: {\n id: \"forms.THORSURG.orientationHouse\",\n description: \"Orientation house\",\n defaultMessage: \"Home\",\n },\n orientationHospitalized: {\n id: \"forms.THORSURG.orientationHospitalized\",\n description: \"Orientation hospital\",\n defaultMessage: \"Hospitalized\",\n },\n orientationRehabilitationCenter: {\n id: \"forms.THORSURG.orientationRehabilitationCenter\",\n description: \"Orientation rehab centre\",\n defaultMessage: \"Rehabilitation center\",\n },\n orientationPalliativeCare: {\n id: \"forms.THORSURG.orientationPalliativeCare\",\n description: \"Orientation palliative care\",\n defaultMessage: \"Palliative care\",\n },\n patientLeaveDate: {\n id: \"forms.THORSURG.patientLeaveDate\",\n description: \"Discharge date label\",\n defaultMessage: \"Discharge date\",\n },\n postOpDelay: {\n id: \"forms.THORSURG.postOpDelay\",\n description: \"Post operation delay label\",\n defaultMessage: \"Post-operation delay\",\n },\n postOpOrientation: {\n id: \"forms.THORSURG.postOpOrientation\",\n description: \"Post operation orientation label\",\n defaultMessage: \"Post-operation patient orientation\",\n },\n});\n\nexport default messages;\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport { LabeledInput } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\nimport { DatePickerInput, TextInput, DropDownListInput } from \"~/src/js/components/shared/inputs\";\nimport { parseToCalendarDate } from \"~/src/js/helpers/dates\";\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport { ListsPropTypes, StepPropTypes } from \"../../PropTypes\";\n\nimport style from \"../../ThoracicSurgeryForm.style\";\nimport messages from \"./DischargePatient.i18n\";\nimport thorSurgMessages from \"../../ThoracicSurgeryForm.i18n\";\n\nconst DischargePatient = ({\n case: cas,\n files: [files, setFiles],\n intl: { formatMessage },\n permission,\n lists,\n stepData: { attachments, data },\n viewer,\n}) => {\n return (\n
    \n {formatMessage(messages.dischargePatientTitle)}\n
    \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n \n \n

    {data && data.clinicalNotes}

    \n\n \n
    \n );\n};\nDischargePatient.propTypes = {\n case: CasePropTypes,\n files: PropTypes.array,\n lists: ListsPropTypes,\n permission: PropTypes.object,\n stepData: StepPropTypes,\n viewer: ViewerPropTypes,\n};\n\nexport default injectIntl(DischargePatient);\n","import DischargePatient from \"./DischargePatient\";\n\nexport default DischargePatient;\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n clinicalCondition: {\n id: \"forms.THORSURG.clinicalConditionConfirmed\",\n description: \"clinicalCondition\",\n defaultMessage: \"Clinical condition during initial sorting\",\n },\n consultation: {\n id: \"forms.THORSURG.consultation\",\n description: \"Consultation title\",\n defaultMessage: \"Consultation\",\n },\n consultationDate: {\n id: \"forms.THORSURG.consultationDate\",\n description: \"Date of consultation label\",\n defaultMessage: \"Consultation date\",\n },\n consultationDelay: {\n id: \"forms.THORSURG.consultationDelay\",\n description: \"Consultation delay\",\n defaultMessage: \"Consultation delay\",\n },\n consultationNotes: {\n id: \"forms.THORSURG.consultationNotes\",\n description: \"Consultation notes\",\n defaultMessage: \"Consultation notes\",\n },\n consultationPlanning: {\n id: \"forms.THORSURG.consultationPlanning\",\n description: \"Consultation Planning title\",\n defaultMessage: \"Consultation Planning\",\n },\n consultationPrep: {\n id: \"forms.THORSURG.consultationPrep\",\n description: \"Consultation Prep title\",\n defaultMessage: \"Consultation prep\",\n },\n consultationResult: {\n id: \"forms.THORSURG.consultationResult\",\n description: \"Consultation result\",\n defaultMessage: \"Consultation result\",\n },\n formsConsent: {\n id: \"forms.THORSURG.formsConsent\",\n description: \"Label for who consented\",\n defaultMessage: \"Forms and consent signed by\",\n },\n preOpSite: {\n id: \"forms.THORSURG.preOpSite\",\n description: \"Pre-op site\",\n defaultMessage: \"Preoperative visit site\",\n },\n header: {\n id: \"forms.THORSURG.print.header.title\",\n description: \"Header title\",\n defaultMessage: \"Report - Generic\",\n },\n fillTheForms: {\n id: \"forms.THORSURG.actions.fillTheForms\",\n description: \"Start filling the forms\",\n },\n continueFillTheForms: {\n id: \"forms.THORSURG.actions.continueFillTheForms\",\n description: \"Continue filling the forms\",\n },\n doneFillTheForms: {\n id: \"forms.THORSURG.actions.doneFillTheForms\",\n description: \"Filling the forms is completed\",\n },\n});\n\nexport default messages;\n","import { signatureMessages } from \"../../shared/Signature/Signature.i18n\";\n\nexport const signAndPrintMessages = {\n ...signatureMessages,\n invalidPassword: {\n id: \"forms.THORSURG.signature.dialog.validation.invalidPassword\",\n description: \"An error occured while validating the password\",\n },\n signAndSendReport: {\n id: \"forms.THORSURG.signature.dialog.signAndSendReport\",\n description: \"The 'submit' button when signing\",\n },\n passwordLabel: {\n id: \"forms.THORSURG.signature.dialog.label.password\",\n description: \"The label for the password textbox\",\n },\n};\n\nexport const stepMessages = {\n ...signatureMessages,\n signatureDescription: {\n id: \"forms.THORSURG.signature.dialog.description\",\n description: \"The description text of the dialog explaining why a signature is required\",\n },\n passwordLabel: {\n id: \"forms.THORSURG.signature.dialog.label.password\",\n description: \"The label for the password textbox\",\n },\n};\n\nexport const admissionAndSurgeryFormMessages = {\n ...signAndPrintMessages,\n signatureDescription: {\n id: \"forms.THORSURG.signature.admissionAndSurgeryForm.description\",\n description: \"The description text of the dialog explaining why a signature is required\",\n },\n signatureInfoText: {\n id: \"forms.THORSURG.signature.dialog.infoText\",\n description: \"The info text of the dialog explaining that the document become final\",\n },\n passwordLabel: {\n id: \"forms.THORSURG.signature.dialog.label.password\",\n description: \"The label for the password textbox\",\n },\n};\n\nexport const consentFormMessages = {\n ...signAndPrintMessages,\n signatureDescription: {\n id: \"forms.THORSURG.signature.consentForm.description\",\n description: \"The description text of the dialog explaining why a signature is required\",\n },\n signatureInfoText: {\n id: \"forms.THORSURG.signature.dialog.infoText\",\n description: \"The info text of the dialog explaining that the document become final\",\n },\n};\n\nexport const transfusionConsentFormMessages = {\n ...signAndPrintMessages,\n signatureDescription: {\n id: \"forms.THORSURG.signature.transfusionConsentForm.description\",\n description: \"The description text of the dialog explaining why a signature is required\",\n },\n signatureInfoText: {\n id: \"forms.THORSURG.signature.dialog.infoText\",\n description: \"The info text of the dialog explaining that the document become final\",\n },\n};\n\nexport const bypassRequiredDocuments = {\n title: {\n id: \"forms.THORSURG.signature.bypass.dialog.title\",\n description: \"Signature title\",\n },\n passwordLabel: {\n id: \"forms.THORSURG.signature.bypass.dialog.passwordLabel\",\n description: \"Enter your password\",\n },\n invalidPassword: {\n id: \"forms.THORSURG.signature.bypass.dialog.validation.invalidPassword\",\n description: \"An error occured while validating the password\",\n },\n signAndSendReport: {\n id: \"forms.THORSURG.signature.bypass.dialog.signAndSendReport\",\n description: \"The 'submit' button when signing\",\n },\n signatureValidated: {\n id: \"signature.dialog.notification.confirmed\",\n description: \"The label in the toaster confirming the signature success\",\n },\n};\n\nexport const bypassHeader = {\n id: \"forms.THORSURG.signature.bypass.dialog.description\",\n description: \"The description text of the dialog explaining why a signature is required\",\n};\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment, useEffect, useState, useRef } from \"react\";\nimport { FormattedMessage, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport { Button, LabeledInput, Toggle, InfoCircleIcon } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { InputLabel } from \"~/src/js/components/shared/Labels\";\nimport { Popover, PopoverPlacement } from \"~/src/js/components/shared/Popover\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\nimport {\n DatePickerInput,\n DropDownListInput,\n HiddenInput,\n TextInput,\n} from \"~/src/js/components/shared/inputs\";\nimport { ConsentBy } from \"~/src/js/components/shared/Signatures/mutations\";\nimport { parseToCalendarDate } from \"~/src/js/helpers/dates\";\nimport { dispatchSelectedTags } from \"~/src/js/stores/thorsurg/actions\";\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport { useIsFormValid, useRelayLoading } from \"~/src/js/hooks\";\nimport { featureKeys, isEnabled } from \"~/src/js/helpers\";\n\nimport { ListsPropTypes, StepPropTypes } from \"../../PropTypes\";\nimport { findStepById, findNextStepId, findLastStepByType, mapDynamicList } from \"../../helpers\";\nimport stepNames from \"../../stepNames\";\nimport Stepper from \"../../Stepper\";\nimport ThoracicSurgeryModalForm from \"../../ThoracicSurgeryModalForm\";\nimport { AdmissionSurgery, GeneralConsent, TransfusionConsent } from \"../../steps\";\nimport StepPermission from \"../../StepPermission\";\nimport { SIGNATURE_PURPOSES } from \"../../steps/GeneralConsent/GeneralConsent\";\n\nimport styles from \"../../ThoracicSurgeryForm.style\";\nimport messages from \"./Consultation.i18n\";\nimport thorSurgMessages from \"../../ThoracicSurgeryForm.i18n\";\nimport consultationStyles from \"./Consultation.style\";\nimport {\n admissionAndSurgeryFormMessages,\n consentFormMessages,\n transfusionConsentFormMessages,\n} from \"../../Signature.i18n\";\n\nconst getSignature = (signature) => {\n return signature && !signature.deleted ? signature : null;\n};\n\nconst getHandWrittenSignatureImageMapFromStepData = (stepData) => {\n const { children } = stepData;\n const handWrittenSignatureImageMap = {};\n children.forEach((child) => {\n const { stepId, type, handWrittenSignature, handWrittenSignature2 } = child;\n\n if (type === stepNames.GeneralConsent) {\n handWrittenSignatureImageMap[stepId] = {\n [SIGNATURE_PURPOSES.generalConsent]: getSignature(handWrittenSignature),\n [SIGNATURE_PURPOSES.proceduresConsent]: getSignature(handWrittenSignature2),\n };\n } else {\n handWrittenSignatureImageMap[stepId] = getSignature(handWrittenSignature);\n }\n });\n\n return handWrittenSignatureImageMap;\n};\n\nconst Consultation = ({\n case: cas,\n files: [files, setFiles],\n language,\n lists,\n permission,\n setModalActions,\n setModalChildren,\n setShowModal,\n setTags,\n stepData,\n stepData: { stepId: consultationId, data },\n viewer,\n savedData,\n onModalCancel,\n relay,\n}) => {\n const fillTheFormButtonRef = useRef();\n const consultationResults = mapDynamicList(lists.consultationResults, true);\n const clinicalConditions = mapDynamicList(lists.clinicalConditions, true);\n const surgerySites = mapDynamicList(lists.surgerySites, true);\n const signedBy = mapDynamicList(lists.consentSignedByList, false);\n const signedByOptions = signedBy.map((x) => {\n return { ...x, uuid: x.value };\n });\n const { isLoading: isRelayLoading, loadRelayVariables } = useRelayLoading({\n isLoadingDefault: false,\n setVariables: relay.forceFetch,\n });\n\n const [handWrittenSignatureImageMap, setHandWrittenSignatureImageMap] = useState(\n getHandWrittenSignatureImageMapFromStepData(stepData)\n );\n\n // HACK: we do this to load signature from BE so that when we do back and forward in navigation the saved signature is reloaded\n useEffect(() => {\n loadRelayVariables();\n }, []);\n\n useEffect(() => {\n const signatureData = getHandWrittenSignatureImageMapFromStepData(stepData);\n setHandWrittenSignatureImageMap(signatureData);\n }, [stepData.children]);\n\n const handleSignatureChangeByStep = (stepId, imageData, purpose) => {\n if (purpose) {\n setHandWrittenSignatureImageMap({\n ...handWrittenSignatureImageMap,\n [stepId]: {\n ...handWrittenSignatureImageMap[stepId],\n [purpose]: imageData,\n },\n });\n } else {\n setHandWrittenSignatureImageMap({\n ...handWrittenSignatureImageMap,\n [stepId]: imageData,\n });\n }\n };\n\n const initialSortingStep = findLastStepByType(cas.data.steps, stepNames.InitialSorting);\n const consultationPlanningStep = findLastStepByType(\n cas.data.steps,\n stepNames.ConsultationPlanning\n ) || { data: { consultationDate: Date.now() } };\n\n let condition = clinicalConditions[0].value;\n if (data && data.clinicalCondition) {\n condition = data.clinicalCondition;\n } else if (initialSortingStep && initialSortingStep.data) {\n condition = initialSortingStep.data.clinicalCondition;\n }\n\n const fixedData = data || {\n clinicalCondition: condition,\n consentBy: null,\n consultationDate: consultationPlanningStep.data.consultationDate,\n consultationResult: consultationResults[0].value,\n surgerySite: surgerySites[0].value,\n signerFullNameHack: \"\",\n };\n\n const [currentStepId, setCurrentStepId] = useState(findNextStepId(stepData.children));\n const [surgerySite, setSurgerySite] = useState(fixedData.surgerySite);\n const [consultationResult, setConsultationResult] = useState(fixedData.consultationResult);\n const [isConsentByModalVisible, setConsentByModalVisible] = useState(false);\n const [isAllSubFormsCompleted, setAllSubFormsCompleted] = useState(false);\n const [consentBy, setConsentBy] = useState(fixedData.consentBy);\n const [signerFullNameHack, setSignerFullNameHack] = useState(fixedData.signerFullNameHack);\n const { isValid, setFormIsInvalid, setFormIsValid } = useIsFormValid(false);\n\n const nextSubStepId = findNextStepId(stepData.children);\n\n useEffect(() => {\n setModalChildren(resolveSubForm(currentStepId, false, consentBy));\n }, [isValid, handWrittenSignatureImageMap, isRelayLoading, consentBy]);\n\n useEffect(() => {\n if (!signerFullNameHack) {\n setModalChildren(resolveSubForm(currentStepId, false, consentBy));\n }\n }, [signerFullNameHack]);\n\n useEffect(() => {\n setConsultationResult(fixedData.consultationResult);\n }, [fixedData.consultationResult]);\n\n useEffect(() => {\n setSurgerySite(fixedData.surgerySite);\n }, [fixedData.surgerySite]);\n\n useEffect(() => {\n setConsentBy(fixedData.consentBy);\n }, [fixedData.consentBy]);\n\n useEffect(() => {\n setSignerFullNameHack(fixedData.signerFullNameHack);\n }, [fixedData.signerFullNameHack]);\n\n useEffect(() => {\n setTags([consultationResult, \"surgery-site-\" + surgerySite]);\n }, [consultationResult, surgerySite]);\n\n useEffect(() => {\n setAllSubFormsCompleted(!nextSubStepId);\n\n if (nextSubStepId && consentBy) {\n launchLifecycle(null);\n } else {\n setShowModal(false);\n }\n }, [nextSubStepId]);\n\n const patientDischargeStep = findLastStepByType(cas.data.steps, stepNames.DischargePatient) || {};\n const launchLifecycle = (input) => {\n if (input) {\n setConsentBy(input);\n setConsentByModalVisible(false);\n setModalChildren(resolveSubForm(nextSubStepId, false, input));\n setShowModal(true);\n }\n\n if (consentBy) {\n setModalChildren(resolveSubForm(nextSubStepId, false, consentBy));\n setShowModal(true);\n } else {\n setConsentByModalVisible(true);\n }\n setCurrentStepId(nextSubStepId);\n };\n\n const showRequestedStep = (stepId) => {\n const subStep = findStepById(cas.data.steps, stepId);\n\n if (subStep.isCompleted) {\n setCurrentStepId(stepId);\n setModalChildren(resolveSubForm(stepId, false, consentBy));\n setShowModal(true);\n }\n };\n\n const isFormValid = (stepData, statefulHandwrittenImageData) => {\n const { type, handWrittenSignature, handWrittenSignature2 } = stepData;\n const { features } = viewer || {};\n\n if (isEnabled(features, featureKeys.ThorSurg.HandWrittenSignature)) {\n if (type === stepNames.GeneralConsent) {\n const nullSafeStatefulHandwrittenImageData = statefulHandwrittenImageData || {};\n const bothSignatureFromData = handWrittenSignature && handWrittenSignature2;\n const firstSignatureFromDataAndSecondFromState =\n handWrittenSignature &&\n nullSafeStatefulHandwrittenImageData[SIGNATURE_PURPOSES.proceduresConsent];\n const firstSignatureFromStateAndSecondFromData =\n nullSafeStatefulHandwrittenImageData[SIGNATURE_PURPOSES.generalConsent] &&\n handWrittenSignature2;\n const bothSignatureFromState =\n nullSafeStatefulHandwrittenImageData[SIGNATURE_PURPOSES.generalConsent] &&\n nullSafeStatefulHandwrittenImageData[SIGNATURE_PURPOSES.proceduresConsent];\n\n /*\n * A = isValid\n * B = handWrittenSignature\n * C = handWrittenSignature2\n * D = statefulHandwrittenImageData[SIGNATURE_PURPOSES.generalConsent]\n * E = statefulHandwrittenImageData[SIGNATURE_PURPOSES.proceduresConsent];\n *\n * return A(BC+DE+BE+CD)\n * */\n return Boolean(\n isValid &&\n (bothSignatureFromData ||\n firstSignatureFromDataAndSecondFromState ||\n firstSignatureFromStateAndSecondFromData ||\n bothSignatureFromState)\n );\n }\n\n return Boolean(isValid && (handWrittenSignature || statefulHandwrittenImageData));\n } else {\n return isValid;\n }\n };\n\n const wrapOnModalCancel = () => {\n onModalCancel();\n };\n\n const onToggleSignatoryType = () => {\n if (consentBy === ConsentBy.patient) {\n setConsentBy(ConsentBy.legalRepresentative);\n } else {\n setConsentBy(ConsentBy.patient);\n }\n };\n\n const resolveSubForm = (stepId, openInReadOnly = false, consentBy) => {\n const subStep = findStepById(cas.data.steps, stepId) || {};\n const stepData = subStep || { data: {} };\n const stepHandwrittenSignatureData = handWrittenSignatureImageMap[stepId] || null;\n const stepPermissions = new StepPermission(openInReadOnly ? null : subStep);\n const isStepFormValid = isFormValid(stepData, stepHandwrittenSignatureData);\n const stepProps = {\n case: viewer.case,\n viewer: viewer,\n lists: {\n operaList: viewer.operaList,\n },\n permission: stepPermissions,\n stepData: stepData,\n signerFullNameHack: signerFullNameHack,\n setSignerFullNameHack: setSignerFullNameHack,\n statefulHandwrittenImageData: stepHandwrittenSignatureData,\n onSavedSignature: handleSignatureChangeByStep,\n savedData,\n consentBy: consentBy,\n isRelayLoading: isRelayLoading,\n isValid: isValid,\n toggleSignatoryType: onToggleSignatoryType,\n };\n let subForm = null;\n let messages = null;\n\n switch (subStep && subStep.type) {\n case stepNames.AdmissionSurgery:\n messages = admissionAndSurgeryFormMessages;\n subForm = ;\n break;\n\n case stepNames.GeneralConsent:\n {\n messages = consentFormMessages;\n const procedures = findLastStepByType(viewer.case.data.steps, stepNames.AdmissionSurgery);\n subForm = (\n \n );\n }\n break;\n\n case stepNames.TransfusionConsent:\n messages = transfusionConsentFormMessages;\n subForm = ;\n break;\n\n default:\n break;\n }\n\n return (\n \n {subForm}\n \n );\n };\n\n return (\n
    \n \n \n \n
    \n }\n required>\n \n \n }\n name=\"consultationResult\"\n required\n validationErrors={{\n isDefaultRequiredValue: ,\n }}\n source={consultationResults}\n value={consultationResult}\n onChange={setConsultationResult}\n />\n
    \n {consultationResult === \"thoracic-surgery-required\" && (\n \n
    \n
    \n }\n name=\"clinicalCondition\"\n required\n validationErrors={{\n isDefaultRequiredValue: ,\n }}\n source={clinicalConditions}\n value={fixedData.clinicalCondition}\n />\n }\n name=\"surgerySite\"\n required\n validationErrors={{\n isDefaultRequiredValue: ,\n }}\n source={surgerySites}\n value={surgerySite}\n onChange={setSurgerySite}\n />\n
    \n
    \n

    \n \n

    \n }\n required>\n showRequestedStep(stepId)}\n />\n \n \n {nextSubStepId && (\n launchLifecycle(null)}>\n {isAllSubFormsCompleted ? (\n \n ) : consentBy ? (\n \n ) : (\n \n )}\n \n )}\n {!nextSubStepId && (\n \n
    \n
    \n \n
    \n \n \n \n \n
    \n
    \n
    \n
    \n )}\n
    \n
    \n \n \n \n
    \n )}\n }\n multiline\n multilineRows={4}\n name=\"customNotes\"\n value={stepData.text || fixedData.customNotes}\n required\n />\n\n

    {stepData.text || fixedData.customNotes}

    \n\n }\n onChange={setFiles}\n patientGender={cas.patient.demographic.gender}\n />\n\n {!consentBy && (\n setConsentByModalVisible(false)}>\n
    \n \n \n \n
    \n launchLifecycle(y)}\n />\n
    \n
    \n \n )}\n
    \n );\n};\n\nConsultation.propTypes = {\n case: CasePropTypes,\n files: PropTypes.array,\n intl: intlShape,\n language: PropTypes.string,\n lists: ListsPropTypes,\n setModalActions: PropTypes.func,\n setShowModal: PropTypes.func,\n setModalChildren: PropTypes.func,\n permission: PropTypes.object,\n setTags: PropTypes.func,\n stepData: StepPropTypes,\n viewer: ViewerPropTypes,\n savedData: PropTypes.object,\n onModalCancel: PropTypes.func,\n relay: PropTypes.object,\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n setTags: (array) => dispatchSelectedTags(dispatch, array),\n});\n\nexport default connect(null, mapDispatchToProps)(Consultation);\n","export const messages = {\n consultation: {\n title: {\n id: \"forms.THORSURG.consultation\",\n description: \"Consultation title\",\n defaultMessage: \"Consultation\",\n },\n clinicalCondition: {\n id: \"forms.THORSURG.clinicalConditionConfirmed\",\n description: \"clinicalCondition\",\n defaultMessage: \"Clinical condition during initial sorting\",\n },\n consultationDate: {\n id: \"forms.THORSURG.consultationDate\",\n description: \"Date of consultation label\",\n defaultMessage: \"Consultation date\",\n },\n consultationDelay: {\n id: \"forms.THORSURG.consultationDelay\",\n description: \"Consultation delay\",\n defaultMessage: \"Consultation delay\",\n },\n consultationNotes: {\n id: \"forms.THORSURG.consultationNotes\",\n description: \"Consultation notes\",\n defaultMessage: \"Consultation notes\",\n },\n consultationPlanning: {\n id: \"forms.THORSURG.consultationPlanning\",\n description: \"Consultation Planning title\",\n defaultMessage: \"Consultation Planning\",\n },\n consultationPrep: {\n id: \"forms.THORSURG.consultationPrep\",\n description: \"Consultation Prep title\",\n defaultMessage: \"Consultation prep\",\n },\n consultationResult: {\n id: \"forms.THORSURG.consultationResult\",\n description: \"Consultation result\",\n defaultMessage: \"Consultation result\",\n },\n formsConsent: {\n id: \"forms.THORSURG.formsConsent\",\n description: \"Label for who consented\",\n defaultMessage: \"Forms and consent signed by\",\n },\n preOpSite: {\n id: \"forms.THORSURG.preOpSite\",\n description: \"Pre-op site\",\n defaultMessage: \"Preoperative visit site\",\n },\n header: {\n id: \"forms.THORSURG.print.header.title\",\n description: \"Header title\",\n defaultMessage: \"Report - Generic\",\n },\n },\n};\n\nexport default messages;\n","import React, { Fragment } from \"react\";\nimport Relay from \"react-relay/classic\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl, FormattedMessage } from \"react-intl\";\n\nimport { CasePropTypes, PatientPropTypes } from \"~/src/js/PropTypes/Case\";\nimport FormattedDate from \"~/src/js/components/shared/formattedDate\";\nimport MUHCReportPrintHeader from \"~/src/js/components/forms/shared/muhc/MUHCReportPrintHeader\";\nimport styles from \"~/src/js/components/forms/shared/print/genericPrintContainer.style\";\nimport { PrintSection, PrintSubsection } from \"~/src/js/components/forms/shared/print\";\nimport PatientSectionPrint from \"~/src/js/components/forms/shared/print/patient/PatientSectionPrint\";\nimport ReportSignaturePrint from \"~/src/js/components/forms/shared/printableComponent/ReportSignaturePrint\";\nimport { DepartmentPropTypes } from \"~/src/js/PropTypes/Department\";\n\nimport { findStepById, mapDynamicList } from \"../../helpers\";\nimport { ListsPropTypes } from \"../../PropTypes\";\n\nimport messages from \"./ConsultationPrint.i18n\";\n\nexport const ConsultationPrint = ({ case: cas, stepId, lists, patient, department }) => {\n const consultationResults = mapDynamicList(lists.consultationResults, true);\n const clinicalConditions = mapDynamicList(lists.clinicalConditions, true);\n const signedBy = mapDynamicList(lists.consentSignedByList, false);\n const currentStep = findStepById(cas.data.steps, stepId);\n const stepData = currentStep.data;\n return (\n
    \n \n }\n showLogo={false}\n />\n \n\n }>\n }>\n \n \n }>\n {lookUpLabel(stepData.consultationResult, consultationResults)}\n \n {stepData.consultationResult === \"thoracic-surgery-required\" && (\n \n }>\n {lookUpLabel(stepData.clinicalCondition, clinicalConditions)}\n \n }>\n {lookUpLabel(stepData.consentBy, signedBy)}\n \n \n )}\n }>\n {currentStep.text}\n \n \n {currentStep.signature && }\n
    \n );\n};\n\nconst lookUpLabel = (value, list) => (list.find((element) => element.value === value) || {}).label;\n\nConsultationPrint.propTypes = {\n case: CasePropTypes,\n stepId: PropTypes.string,\n lists: ListsPropTypes,\n patient: PatientPropTypes,\n department: DepartmentPropTypes,\n};\n\nexport default Relay.createContainer(injectIntl(ConsultationPrint), {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n ${MUHCReportPrintHeader.getFragment(\"case\")}\n data {\n ... on ThoracicSurgeryData {\n steps {\n stepId\n type\n isCompleted\n completedOn\n tags\n data\n text\n children {\n stepId\n type\n isCompleted\n completedOn\n tags\n data\n signature {\n signedOn\n firstName\n lastName\n licenseNumber\n }\n }\n signature {\n signedOn\n firstName\n lastName\n licenseNumber\n }\n }\n }\n }\n }`,\n patient: () => Relay.QL`\n fragment on Patient {\n ${MUHCReportPrintHeader.getFragment(\"patient\")}\n ${PatientSectionPrint.getFragment(\"patient\")}\n }`,\n department: () => Relay.QL`\n fragment on Department {\n ${MUHCReportPrintHeader.getFragment(\"department\")}\n name\n clinicalDomain {\n name\n }\n }`,\n },\n});\n","import Consultation from \"./Consultation\";\n\nexport ConsultationPrint from \"./ConsultationPrint\";\nexport default Consultation;\n","import React from \"react\";\nimport Relay from \"react-relay/classic\";\n\nimport {\n CaseAdminNotes,\n CaseAdminNotesTitleAndCount,\n} from \"~/src/js/components/shared/Notes/CaseAdminNotes\";\nimport { attachmentFragment } from \"~/src/js/components/attachments/attachmentUploadAndList\";\nimport {\n ResetUserItemMutation,\n SaveUserItemMutation,\n} from \"~/src/js/components/savedItems/savedItemHelpers\";\nimport { FormattedDate, ClinicianHeader } from \"~/src/js/components/shared\";\nimport { parseToDate } from \"~/src/js/helpers/dates\";\nimport { dynamicListFragment } from \"~/src/js/components/shared/DynamicList/DynamicListHelper\";\nimport { ConsultationPrint } from \"~/src/js/components/forms/THORSURG/steps/Consultation\";\nimport { FeatureFlagContainer } from \"~/src/js/components/shared/Features/FeatureFlagContainer\";\nimport { LegalSignatoryText } from \"~/src/js/components/shared/Signatures\";\n\nexport const autoSaveName = \"ThoracicSurgeryStep\";\n\nexport const formatDate = (date) => date && ;\n\nexport const findArrayByValue = (el, val, item) => {\n if (!val) {\n return null;\n }\n // eslint-disable-next-line no-unused-vars\n for (const e of el) {\n if (e[item] === val) {\n return e;\n } else if (e.children && e.children.length > 0) {\n const eChild = findArrayByValue(e.children, val, item);\n if (eChild) return eChild;\n }\n }\n return null;\n};\n\nexport const findStepByType = (steps, type) => findArrayByValue(steps, type, \"type\");\nexport const findLastStepByType = (steps, type) =>\n findArrayByValue(steps.slice().reverse(), type, \"type\");\nexport const findStepById = (steps, stepId) => findArrayByValue(steps, stepId, \"stepId\");\n\nexport const findLatestProperty = (steps, propName) => {\n // eslint-disable-next-line no-unused-vars\n for (const step of steps.slice().reverse()) {\n if (step.children && step.children.length > 0) {\n const value = findLatestProperty(step.children, propName);\n if (value !== null) {\n return value;\n }\n }\n\n if (step.data && step.data[propName]) {\n return step.data[propName];\n }\n }\n return null;\n};\n\nexport const findNextStepId = (steps) => {\n // eslint-disable-next-line no-unused-vars\n for (const step of steps) {\n if (!step.isCompleted) {\n return step.stepId;\n }\n }\n return null;\n};\n\nexport const mapDynamicList = (list, includeEmpty) => {\n const start = includeEmpty ? [{ label: \"\", value: null }] : [];\n return start.concat(\n list.edges.map((x) => ({\n label: x.node.value,\n value: x.node.code,\n }))\n );\n};\n\nexport const validateMandatoryAttachment = (currentCase, unsubmittedAttachments) => {\n // This should come from documentTypes list.\n const mandatoryDocTypes = [\n btoa(\"DocumentType:7\"),\n btoa(\"DocumentType:8\"),\n btoa(\"DocumentType:9\"),\n ];\n\n const unsubmittedDocType = Object.keys(unsubmittedAttachments || []).map(\n (key) => unsubmittedAttachments[key].documentType\n );\n const reducer = (attAccumulator, attachments) => attAccumulator.concat(attachments);\n const submittedAttachment = currentCase.data.steps\n .map((step) => step.attachments)\n .reduce(reducer);\n const submittedDocType = submittedAttachment.map((attachment) => attachment.documentTypeId);\n const foundDocType = submittedDocType.concat(unsubmittedDocType);\n const missingDocTypes = [];\n\n mandatoryDocTypes.forEach((mandatoryDoc) => {\n if (!foundDocType.includes(mandatoryDoc)) {\n missingDocTypes.push(mandatoryDoc);\n }\n });\n\n if (missingDocTypes.length > 0) {\n return missingDocTypes;\n }\n return null;\n};\n\nexport const relayQuery = {\n initialVariables: {\n caseId: null,\n caseLegacyId: null,\n entityId: null,\n purpose: \"none\",\n hasEntityId: false,\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n hasEntityId: Boolean(prevVariables.entityId),\n };\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n ${FeatureFlagContainer.getFragment(\"viewer\")}\n ${ClinicianHeader.getFragment(\"viewer\")}\n ${CaseAdminNotes.getFragment(\"viewer\")}\n\n sortingResults: dynamicList(name: \"thoracic_surgery:sorting_result\", first: 250) {\n ${dynamicListFragment}\n }\n\n consultationResults: dynamicList(name: \"thoracic_surgery:consultation_result\", first: 250) {\n ${dynamicListFragment}\n }\n\n surgerySites: dynamicList(name: \"thoracic_surgery:surgery_site\", first: 250) {\n ${dynamicListFragment}\n }\n\n consentSignedByList: dynamicList(name: \"thoracic_surgery:consent_signed_by\", first: 250) {\n ${dynamicListFragment}\n }\n\n clinicalConditions: dynamicList(name: \"thoracic_surgery:clinical_condition\", first: 250) {\n ${dynamicListFragment}\n }\n\n operaList: dynamicList(name: \"opera\", first: 10000) {\n ${dynamicListFragment}\n }\n\n #This should be fetch in GeneralConsentStep (this is where the data is displayed/used).\n currentUser {\n user {\n person {\n lastName\n }\n }\n }\n\n case(id: $caseId, legacyId: $caseLegacyId) {\n ${ClinicianHeader.getFragment(\"case\")}\n ${ConsultationPrint.getFragment(\"case\")}\n ${CaseAdminNotes.getFragment(\"case\")}\n id\n legacyId\n lookupId\n isDraftStatus\n updatedAt\n completedAt\n patient {\n ${LegalSignatoryText.getFragment(\"patient\")}\n ${ConsultationPrint.getFragment(\"patient\")}\n legacyId\n demographic {\n gender\n firstName\n lastName\n fullName\n birthday\n age\n }\n healthInsurance {\n expiration\n number\n provinceCode\n }\n\n appointments(first: 50) {\n edges {\n node {\n id\n appointmentId\n startDate\n isCanceled\n }\n }\n }\n }\n\n notes {\n ${CaseAdminNotesTitleAndCount.getFragment(\"notes\")}\n }\n\n data {\n ... on ThoracicSurgeryData {\n requester {\n ${ClinicianHeader.getFragment(\"requester\")}\n }\n\n toDepartment {\n ${ConsultationPrint.getFragment(\"department\")}\n specialists(specialistType: REPORTER) {\n id\n fullName\n }\n }\n\n fromDepartment {\n ${ConsultationPrint.getFragment(\"department\")}\n specialists(specialistType: REPORTER) {\n id\n fullName\n }\n }\n\n steps { \n stepId\n type\n isCompleted\n completedOn\n tags\n data\n text\n attachments {\n ${attachmentFragment}\n }\n\n dataDiffs {\n user {\n person {\n fullName\n }\n }\n timestamp\n diff\n }\n\n children {\n stepId\n type\n isCompleted\n completedOn\n tags\n data\n\n handWrittenSignature {\n id\n guid\n referenceId\n signerFullName\n legalSignatoryType\n imageData\n signedOn\n deleted\n }\n\n handWrittenSignature2 {\n id\n guid\n referenceId\n signerFullName\n legalSignatoryType\n imageData\n signedOn\n deleted\n }\n\n permissions {\n canSubmit\n canUpdate\n }\n }\n\n permissions {\n canSubmit\n canUpdate\n }\n }\n }\n }\n }\n\n savedItem(\n entityId: $entityId,\n purpose: $purpose\n ) @include(if: $hasEntityId) {\n ${ResetUserItemMutation.getFragment(\"item\")}\n ${SaveUserItemMutation.getFragment(\"item\")}\n id\n data\n hasData\n savedOn\n }\n }\n `,\n },\n};\n","import { PropTypes } from \"prop-types\";\nimport React from \"react\";\n\nimport { DisplayOnlyOnPrint } from \"~/src/js/components/shared/DisplayOnlyOnPrint\";\nimport { CasePropTypes, ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\n\nimport stepNames from \"./stepNames\";\nimport ConsultationPrint from \"./steps/Consultation/ConsultationPrint\";\n\nconst RenderPrintStep = ({ case: cas, step, viewer }) => {\n const isConsultation = step.type === stepNames.Consultation && step.isCompleted;\n\n return (\n \n {isConsultation && (\n \n )}\n \n );\n};\n\nRenderPrintStep.propTypes = {\n case: CasePropTypes,\n step: PropTypes.object,\n viewer: ViewerPropTypes,\n};\n\nexport default RenderPrintStep;\n","import React, { Fragment } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Modal } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { getDocumentTypesForForm } from \"~/src/js/helpers/staticData\";\nimport { SignatureDialog } from \"~/src/js/components/shared/Signature\";\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport { FORM_CODES } from \"../../cases/creation/formCodes\";\n\nimport {\n Consultation,\n ConsultationPlanning,\n DocumentsExams,\n InitialSorting,\n PreopPlanning,\n PreopVisit,\n SurgeryInformationCorb,\n DischargeReport,\n PhoneTeaching,\n DischargePatient,\n} from \"./steps\";\nimport stepNames from \"./stepNames\";\nimport { findLastStepByType, validateMandatoryAttachment } from \"./helpers\";\n\nimport { bypassHeader, bypassRequiredDocuments, stepMessages } from \"./Signature.i18n\";\nimport thorSurgMessages from \"./ThoracicSurgeryForm.i18n\";\n\nexport const resolveStep = (cas, foundStep, stepProps, language) => {\n const documentTypes = getDocumentTypesForForm({ lang: language, formCode: FORM_CODES.THORSURG });\n const stepParameter = {\n page: null,\n primaryBtnText: ,\n isPrintRequired: false,\n displayFooter: true,\n hideOnPrint: false,\n cleanData: (data) => data,\n stayOnCurrentStep: false,\n validationDialog: () => null,\n };\n\n // Default behavior: If a validation dialog is set then a validation is required.\n stepParameter.isValidationRequired = () => stepParameter.validationDialog() !== null;\n\n // Default signAndPrint process.\n stepParameter.setAsSignAndPrint = (stepProps, foundStep) => {\n stepParameter.primaryBtnText = ;\n stepParameter.validationDialog = buildSignatureDialog(stepProps.case, foundStep, stepMessages);\n stepParameter.isPrintRequired = true;\n };\n\n switch (foundStep && foundStep.type) {\n case stepNames.InitialSorting:\n stepParameter.page = ;\n break;\n\n case stepNames.Consultation:\n if (foundStep.isCompleted) {\n stepParameter.validationDialog = acknowledgeDialog;\n stepParameter.isValidationRequired = (data) => {\n const transfusionConsentStep = findLastStepByType(\n stepProps.case.data.steps,\n stepNames.TransfusionConsent\n );\n // Modification of surgery site has no impact on workflow\n // if made before transfusionConsentStep is completed.\n return (\n transfusionConsentStep.isCompleted && data.surgerySite !== foundStep.data.surgerySite\n );\n };\n } else {\n stepParameter.setAsSignAndPrint(stepProps, foundStep);\n }\n\n stepParameter.hideOnPrint = true;\n stepParameter.page = ;\n break;\n\n case stepNames.DocumentsExams:\n stepParameter.displayFooter = false;\n stepParameter.stayOnCurrentStep = true;\n stepParameter.page = ;\n break;\n\n case stepNames.ConsultationPlanning:\n stepParameter.page = ;\n break;\n\n case stepNames.PreopPlanning:\n stepParameter.page = ;\n break;\n\n case stepNames.PreopVisit:\n stepParameter.page = ;\n break;\n\n case stepNames.SurgeryInformationCorb:\n stepParameter.page = ;\n break;\n\n case stepNames.DischargeReport:\n stepParameter.validationDialog = buildSignatureDialog(\n cas,\n foundStep,\n bypassRequiredDocuments\n );\n stepParameter.isValidationRequired = (data, setDialogText) => {\n const missingDocTypes = validateMandatoryAttachment(stepProps.case, data.attachments);\n\n if (missingDocTypes) {\n const missing = documentTypes.filter((x) => missingDocTypes.includes(x.id));\n const mList = [];\n missing.map((e) => mList.push(
  • {e.name}
  • ));\n\n const result = (\n \n \n
    \n
      {mList}
    \n
    \n
    \n );\n\n setDialogText(result);\n return true;\n }\n return false;\n };\n stepParameter.page = ;\n break;\n\n case stepNames.PhoneTeaching:\n stepParameter.page = ;\n break;\n\n case stepNames.DischargePatient:\n stepParameter.page = ;\n break;\n\n default:\n stepParameter.page =
    ...
    ;\n }\n return stepParameter;\n};\n\nconst acknowledgeDialog = (showDialog, onCancel, onOk) => {\n const dialog = (\n }\n cancelText={}>\n \n \n );\n return dialog;\n};\n\nconst buildSignatureDialog = (cas, foundStep, signatureMessages) => {\n return (showDialog, onCancel, onSubmit, dialogText) => {\n const dialog = (\n onCancel()}\n onCompleteSuccess={onSubmit}\n active={showDialog}\n messages={signatureMessages}>\n {(signatureInput) => (\n \n {dialogText}\n {signatureInput}\n \n )}\n \n );\n return dialog;\n };\n};\n","import React, { useEffect, useState, useRef, Fragment } from \"react\";\nimport PropTypes from \"prop-types\";\nimport Formsy from \"formsy-react\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter, routerShape } from \"react-router\";\nimport { connect } from \"react-redux\";\nimport { Modal } from \"@akinoxsolutions/gerudo-ui\";\nimport { injectIntl, FormattedMessage } from \"react-intl\";\nimport classnames from \"classnames\";\n\nimport { SplashScreenLoader } from \"~/src/js/components/shared/Loading\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { Nav, NavMenu, NavItem, NavDirection, NavContent } from \"~/src/js/components/shared/Nav\";\nimport { HideOnPrint } from \"~/src/js/components/shared/HideOnPrint\";\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { resetUserItem, saveUserItem } from \"~/src/js/components/savedItems/savedItemHelpers\";\nimport { ClinicianHeader } from \"~/src/js/components/shared\";\nimport { PageTitle } from \"~/src/js/components/shared/PageTitle\";\nimport { registerAutoSave, unregisterAutoSave } from \"~/src/js/helpers/autoSave\";\nimport { onLanguageChange } from \"~/src/js/helpers/language\";\nimport { queryString } from \"~/src/js/helpers/strings\";\nimport { EmptyNode, getDocumentTypesForForm } from \"~/src/js/helpers/staticData\";\nimport { useFormsySubmit, useRelayLoading } from \"~/src/js/hooks\";\nimport { dispatchAnticipatedDate } from \"~/src/js/stores/thorsurg/actions\";\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport {\n CaseAdminNotes,\n CaseAdminNotesTitleAndCount,\n} from \"~/src/js/components/shared/Notes/CaseAdminNotes\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\n\nimport { FORM_CODES } from \"../../cases/creation/formCodes\";\n\nimport StepPermission from \"./StepPermission\";\nimport Footer from \"./Footer\";\nimport {\n autoSaveName,\n findLatestProperty,\n findNextStepId,\n findStepById,\n findStepByType,\n relayQuery,\n} from \"./helpers\";\nimport { submitStep, updateStep } from \"./mutations\";\nimport RenderPrintStep from \"./RenderPrintStep\";\nimport Stepper from \"./Stepper\";\nimport { resolveStep } from \"./StepParameterResolver\";\nimport Toolbar from \"./Toolbar\";\nimport stepNames from \"./stepNames\";\nimport styles from \"./ThoracicSurgeryForm.style.scss\";\n\nimport messages from \"./ThoracicSurgeryForm.i18n\";\n\nlet timeoutId = null;\n\nconst NavKeys = {\n adminNotes: \"adminNotes\",\n forms: \"forms\",\n};\n\nconst ThoracicSurgeryForm = ({\n currentStep,\n intl: { formatMessage },\n language,\n relay,\n router,\n selectedTags,\n setAnticipatedDate,\n showDialog,\n viewer,\n}) => {\n const { case: cas } = viewer;\n const { legacyId } = cas;\n\n const InitialFilesState = [];\n const InitialParsedDataState = {};\n const [isValidationDialogShowing, setShowValidationDialog] = useState(false);\n const [files, setFiles] = useState(InitialFilesState);\n const [saving, setSaving] = useState(false);\n const [isSubmitting, setSubmitting] = useState(false);\n const [parsedData, setParsedData] = useState(InitialParsedDataState);\n const [dialogText, setDialogText] = useState(null);\n const [isShowModal, setShowModal] = useState(false);\n const [modalChildren, setModalChildren] = useState(null);\n const [modalActions, setModalActions] = useState(null);\n const { isLoading: isLoadingDraft, loadRelayVariables } = useRelayLoading({\n isLoadingDefault: true,\n setVariables: relay.setVariables,\n });\n\n const printRef = useRef();\n const currentStepId = currentStep || cas.data.steps[0].stepId;\n const foundStep = findStepById(cas.data.steps, currentStepId) || {};\n\n /* This part is to manage the 'Condition' displayed in the application layer (uses Redux) */\n const foundCondition = findLatestProperty(cas.data.steps, \"clinicalCondition\") || \"\";\n const found = viewer.clinicalConditions.edges.find((x) => x.node.code === foundCondition);\n const condition = found ? { label: found.node.value, value: found.node.code } : EmptyNode;\n\n // Loads the savedItem when component mounts with case ID from Relay\n useEffect(() => {\n loadRelayVariables({ entityId: cas.id, purpose: autoSaveName + currentStepId });\n }, [cas.id, currentStepId]);\n\n useEffect(() => {\n // We clean any change in the form when switching step.\n setParsedData(InitialParsedDataState);\n setFiles(InitialFilesState);\n setDialogText(null);\n }, [currentStepId]);\n\n // Parses draft data from savedItem and updates local state\n useEffect(() => {\n if (viewer.savedItem && viewer.savedItem.hasData) {\n const parsed = JSON.parse(viewer.savedItem.data);\n // We re-apply any saved change to the form when switching step.\n setParsedData(parsed);\n setFiles(parsed.filesToUpload);\n }\n }, [viewer.savedItem ? viewer.savedItem.id : null]);\n\n useEffect(() => {\n if (!isLoadingDraft) {\n // When URL step is empty, redirect to last available step!\n if (!currentStep) {\n const nextStepId = findNextStepId(cas.data.steps);\n if (nextStepId) {\n router.replace(`/cases/${legacyId}/forms/${nextStepId}`);\n }\n }\n }\n }, [isLoadingDraft]);\n\n useEffect(() => {\n onLanguageChange(() => relay.forceFetch());\n\n const admSurgery = findStepByType(cas.data.steps, stepNames.AdmissionSurgery);\n setAnticipatedDate(admSurgery && admSurgery.data ? admSurgery.data.anticipatedDate : null);\n\n // Registers callback from unmount to cancel any remaining auto-save.\n return () => endAutoSave();\n }, []);\n\n const beginAutoSave = () => {\n clearTimeout(timeoutId);\n\n if (!foundStep.permissions || !foundStep.permissions.canSubmit) {\n return;\n }\n\n registerAutoSave(autoSaveName, () => handleSaveData());\n\n timeoutId = setTimeout(() => {\n handleSaveData(true);\n clearTimeout(timeoutId);\n }, 10 * 1000);\n };\n\n const endAutoSave = () => {\n clearTimeout(timeoutId);\n unregisterAutoSave(autoSaveName);\n };\n\n const { errors, setErrors, formsyProps } = useFormsySubmit({\n onSubmit: async (data) => await submitAction(data),\n });\n\n const innerSubmit = formsyProps.onValidSubmit;\n\n formsyProps.onValidSubmit = async (data) => {\n setSubmitting(true);\n if (stepParameter.isValidationRequired(data, setDialogText)) {\n setShowValidationDialog(true);\n } else {\n await innerSubmit(data);\n setSubmitting(false);\n }\n };\n\n const handleSaveData = (isTimedSave = false) => handleSaveWithFiles(files, isTimedSave);\n\n const handleSaveDraftButton = () => handleSaveWithFiles(files);\n\n const handleSaveWithFiles = (uploadedFiles, isTimedSave = false) => {\n if (!formsyProps.ref.current) {\n return;\n }\n\n setSaving(true);\n setErrors([]);\n\n const data = formsyProps.ref.current.getModel();\n endAutoSave();\n return saveUserItem(\n viewer.savedItem,\n cas.id,\n autoSaveName + currentStepId,\n {\n ...data,\n filesToUpload: uploadedFiles.filter((x) => !x.isUploading),\n },\n \"DEPARTMENTS\",\n true\n )\n .then(() => {\n if (!isTimedSave) {\n showDialog(formatMessage(baseI18n.global.draftSaved), \"accept\");\n }\n })\n .catch((errors) => setErrors(errors))\n .finally(() => {\n setSaving(false);\n });\n };\n\n const handleSetFiles = (files) => {\n setFiles(files);\n handleSaveWithFiles(files);\n };\n\n const documentTypes = getDocumentTypesForForm({ lang: language, formCode: FORM_CODES.THORSURG });\n const documentTypeListWithEmpty = [\n EmptyNode,\n ...documentTypes.map((x) => ({ value: x.id, label: x.name })),\n ];\n\n const mergedData = getMergedData(parsedData, foundStep);\n const permission = new StepPermission(foundStep);\n const onModalCancel = () => setShowModal(false);\n\n const stepProps = {\n case: viewer.case,\n viewer: viewer,\n files: [files, handleSetFiles],\n savedData: parsedData,\n lists: {\n clinicalConditions: viewer.clinicalConditions,\n consentSignedByList: viewer.consentSignedByList,\n consultationResults: viewer.consultationResults,\n documentTypeList: documentTypeListWithEmpty,\n sortingResults: viewer.sortingResults,\n surgerySites: viewer.surgerySites,\n operaList: viewer.operaList,\n },\n isSubmitting: isSubmitting,\n permission: permission,\n saving: saving,\n stepData: mergedData,\n stepId: currentStepId,\n setShowModal: setShowModal,\n setModalChildren: setModalChildren,\n setModalActions: setModalActions,\n onModalCancel: onModalCancel,\n relay: relay,\n };\n\n const stepParameter = resolveStep(cas, foundStep, stepProps, language);\n const onFormSubmit = () => {\n formsyProps.ref.current.submit();\n };\n\n const onCompleteSuccess = async (signatureToken) => {\n const data = { ...formsyProps.ref.current.getModel(), signatureToken };\n setShowValidationDialog(false);\n await submitAction(data);\n setSubmitting(false);\n };\n\n const submitAction = async (data) => {\n data = stepParameter.cleanData(data);\n const { customNotes, signatureToken, ...others } = data;\n let newData = null;\n let abortTransaction = false;\n\n if (foundStep.isCompleted) {\n const partialData = {};\n formsyProps.ref.current.inputs\n .filter((x) => !x.props.disabled)\n .forEach((x) => (partialData[x.props.name] = others[x.props.name]));\n\n newData = await updateStep(\n viewer.case,\n viewer,\n currentStepId,\n customNotes,\n files.map((file) => file.id),\n partialData\n );\n } else {\n newData = await submitStep(\n viewer.case,\n viewer,\n currentStepId,\n customNotes,\n files.map((file) => file.id),\n {\n ...others,\n },\n signatureToken\n )\n .catch((errors) => {\n setErrors(errors);\n abortTransaction = true;\n })\n .finally(() => {\n setSaving(false);\n });\n }\n\n if (abortTransaction) {\n return;\n }\n\n await resetUserItem(viewer.savedItem, cas.id, autoSaveName + currentStepId);\n endAutoSave();\n\n if (stepParameter.isPrintRequired) {\n printRef.current.print();\n }\n\n if (stepParameter.stayOnCurrentStep) {\n setParsedData(InitialParsedDataState);\n setFiles(InitialFilesState);\n } else {\n const nextStepId = findNextStepId(newData.case.data.steps);\n\n if (nextStepId) {\n router.push(`/cases/${legacyId}/forms/${nextStepId}`);\n }\n }\n };\n\n const qs = queryString();\n const isPrinting = Boolean(qs.print);\n\n return (\n \n \n
    \n \n \n }\n allowCancel\n case={viewer.case}\n patientCustomLabel={condition.label}\n requester={viewer.case.data.requester}\n showMrns\n viewer={viewer}\n />\n \n
    \n
    \n \n
    \n );\n};\n\nconst preventAutoSave = () => {};\nconst getMergedData = (parsedData, foundStep) => {\n const hasSavedData = parsedData && Object.keys(parsedData).length > 0;\n return {\n ...foundStep,\n data: (foundStep && foundStep.data) || (hasSavedData ? parsedData : null),\n };\n};\n\nThoracicSurgeryForm.propTypes = {\n currentStep: PropTypes.string,\n language: PropTypes.string,\n relay: PropTypes.any,\n router: routerShape,\n selectedTags: PropTypes.any,\n setAnticipatedDate: PropTypes.func,\n showDialog: PropTypes.func,\n viewer: ViewerPropTypes,\n};\n\nconst mapStateToProps = (state) => ({\n language: state.settingsReducer.language,\n selectedTags: state.thorsurg.selectedTags,\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n setAnticipatedDate: (date) => dispatchAnticipatedDate(dispatch, date),\n showDialog: (notice, noticeType) => dispatch(showDialogNotice(notice, noticeType)),\n});\n\nexport default Relay.createContainer(\n connect(mapStateToProps, mapDispatchToProps)(withRouter(injectIntl(ThoracicSurgeryForm))),\n relayQuery\n);\n","import ThoracicSurgeryForm from \"./ThoracicSurgeryForm\";\n\nexport default ThoracicSurgeryForm;\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers\";\n\nexport default class CompleteDynamicFormCaseMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(CompleteDynamicFormCaseMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation {\n completeDynamicFormCase\n }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n formCompletionDate: this.props.formCompletionDate,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on CompleteDynamicFormCasePayload {\n viewer {\n cases(type: IN_PROGRESS)\n cases(type: WAITING)\n cases(type: COMPLETED)\n casesTotals\n }\n case {\n id\n status\n form {\n code\n }\n data\n invitations\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n ];\n }\n}\n\nexport const completeDynamicFormCase = ({ case: cas, formCompletionDate }) => {\n const params = {\n case: cas,\n caseId: cas.id,\n formCompletionDate,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new CompleteDynamicFormCaseMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class submitDynamicFormDraftResultsMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(submitDynamicFormDraftResultsMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { submitDynamicFormResults }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n formVersion: this.props.formVersion,\n formResults: this.props.formResults,\n isDraft: true,\n formCompletionDate: this.props.formCompletionDate,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on SubmitDynamicFormResultsPayload {\n clientMutationId\n case {\n status\n data {\n ... on DynamicFormCaseData {\n form {\n data\n }\n permissions {\n canCancel\n canComplete\n }\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n ];\n }\n}\n\nexport const submitDynamicFormDraftResults = ({\n case: cas,\n formVersion,\n formResults,\n formCompletionDate,\n}) => {\n const params = {\n case: cas,\n caseId: cas.id,\n formVersion: formVersion,\n formResults: formResults,\n formCompletionDate,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new submitDynamicFormDraftResultsMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class SubmitDynamicFormResultsMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(SubmitDynamicFormResultsMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { submitDynamicFormResults }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n formVersion: this.props.formVersion,\n formResults: this.props.formResults,\n isDraft: false,\n formCompletionDate: this.props.formCompletionDate,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on SubmitDynamicFormResultsPayload {\n case {\n status\n form {\n code\n }\n data\n invitations\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n ];\n }\n}\n\nexport const submitDynamicFormResults = ({\n case: cas,\n formVersion,\n formResults,\n formCompletionDate,\n}) => {\n const params = {\n case: cas,\n caseId: cas.id,\n formVersion: formVersion,\n formResults: formResults,\n formCompletionDate,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new SubmitDynamicFormResultsMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import React, { useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport \"iframe-resizer/js/iframeResizer.min\";\n\nimport { CasePropTypes } from \"~/src/js/PropTypes/Case/CasePropTypes\";\nimport { CardFormolViewer } from \"~/src/js/components/shared/FormolViewer\";\n\nexport const DynamicFormCaseFormolViewer = ({\n case: cas,\n relay: { forceFetch },\n onSubmit,\n onSubmitDraft,\n isSpecialist,\n}) => {\n useEffect(() => {\n forceFetch();\n }, []);\n\n const readOnly = !cas.data.permissions.canSubmit;\n\n const uploadingData = {\n CaseId: cas.legacyId,\n };\n\n return (\n \n );\n};\n\nDynamicFormCaseFormolViewer.propTypes = {\n case: CasePropTypes,\n isSpecialist: PropTypes.bool,\n language: PropTypes.string,\n onSubmit: PropTypes.func,\n onSubmitDraft: PropTypes.func,\n};\n\nconst mapStateToProps = (state) => ({\n language: state.settingsReducer.language,\n});\n\nexport default Relay.createContainer(connect(mapStateToProps)(DynamicFormCaseFormolViewer), {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n id\n legacyId\n status {\n code\n }\n\n data {\n ... on DynamicFormCaseData {\n form {\n data\n formDefinition {\n ${CardFormolViewer.getFragment(\"formDefinition\")}\n version\n }\n }\n\n permissions {\n canSubmit\n }\n }\n }\n }\n `,\n },\n});\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n pageTitle: {\n id: \"forms.dynamicForm.pageTitle\",\n description: \"Dynamic form title\",\n },\n invitations: {\n id: \"forms.dynamicForm.invitations\",\n description: \"Invitations tab text\",\n },\n questionnaire: {\n id: \"forms.dynamicForm.questionnaire\",\n description: \"Questionnaire tab text\",\n },\n invitePatientToCase: {\n id: \"forms.dynamicForm.invitePatientToCase\",\n description: \"Patient invitation case text\",\n },\n sendToEMR: {\n id: \"patient.communication.complete.sendToEMR\",\n description: \"Send report to ECR label\",\n },\n completeModalTitle: {\n id: \"patient.communication.complete.title\",\n description: \"Complete request modal title\",\n },\n completedSuccessfully: {\n id: \"cases.completedSuccessfully\",\n description: \"Completed successfully feedback\",\n },\n acceptAndClose: {\n id: \"cases.acceptAndClose\",\n description: \"Accept and close case message\",\n },\n printRequestReport: {\n id: \"genericRequest.print.printRequestReport\",\n description: \"Print report message\",\n },\n questionnaireCompleted: {\n id: \"forms.dynamicForm.questionnaireCompleted\",\n description: \"Questionnaire completed message\",\n },\n completionDate: {\n id: \"cases.completionDate\",\n description: \"Complete date input\",\n },\n});\n","import React, { useState } from \"react\";\nimport Relay from \"react-relay/classic\";\nimport PropTypes from \"prop-types\";\nimport { connect } from \"react-redux\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport { Card } from \"react-toolbox/lib/card\";\nimport { Button, ButtonGroup, Tabs } from \"@akinoxsolutions/gerudo-ui\";\nimport { withRouter, routerShape } from \"react-router\";\nimport Formsy from \"formsy-react\";\n\nimport { useToggle, useRelayLoading } from \"~/src/js/hooks\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case/ViewerPropTypes\";\nimport { ClinicianHeader, PatientHeader } from \"~/src/js/components/shared/header\";\nimport { PrintCaseContainer } from \"~/src/js/components/shared/Print\";\nimport { PageTitle } from \"~/src/js/components/shared/PageTitle\";\nimport { StickyFooter } from \"~/src/js/components/shared/StickyFooter\";\nimport CaseCancelDialog from \"~/src/js/components/cases/caseCancelDialog\";\nimport ConfirmDialog from \"~/src/js/components/shared/ConfirmDialog/ConfirmDialog\";\nimport CaseInvitationsList from \"~/src/js/components/forms/shared/caseInvitationsList\";\nimport CaseInvitationForm from \"~/src/js/components/forms/shared/caseInvitationForm\";\nimport MUHCReportPrintHeader from \"~/src/js/components/forms/shared/muhc/MUHCReportPrintHeader\";\nimport { Checkbox, CheckboxSizes, DatePicker } from \"~/src/js/components/shared/inputs\";\nimport { queryString } from \"~/src/js/helpers/strings\";\nimport baseMessages from \"~/src/messages/base.i18n\";\nimport { completeDynamicFormCase } from \"~/src/js/components/forms/DYNAMICFORM/mutations/completeDynamicFormCaseMutation\";\nimport CaseArchiveDialog from \"~/src/js/components/cases/caseArchiveDialog\";\nimport { parseToCalendarDate } from \"~/src/js/helpers/dates\";\nimport {\n submitDynamicFormDraftResults,\n submitDynamicFormResults,\n} from \"~/src/js/components/forms/DYNAMICFORM/mutations\";\nimport { CardFormolViewer } from \"~/src/js/components/shared/FormolViewer\";\n\nimport DynamicFormCaseFormolViewer from \"./DynamicFormCaseFormolViewer\";\n\nimport { messages } from \"./DynamicFormPage.i18n\";\nimport styles from \"./DynamicFormPage.style\";\nconst { TabPane } = Tabs;\n\nexport const IsDynamicForm = (formCode) => {\n const supportedForms = [\"DYNAMIC_\"];\n return supportedForms.some((prefix) => formCode.startsWith(prefix));\n};\n\nexport const DynamicFormPage = ({\n viewer,\n caseLegacyId,\n showDialog,\n intl: { formatMessage },\n relay: { setVariables },\n router,\n}) => {\n const [isCanceling, toggleIsCanceling] = useToggle(false);\n const [isCompleting, toggleIsCompleting] = useToggle(false);\n const [isInvitingPatient, toggleIsInvitingPatient] = useToggle(false);\n const [showArchiveDialog, setShowArchiveDialog] = useState(false);\n const [formCompletionDate, setFormCompletionDate] = useState(\n viewer.case.data.formCompletionDate || parseToCalendarDate(new Date())\n );\n\n const { loadRelayVariables, isLoading } = useRelayLoading({\n isLoadingDefault: true,\n setVariables: setVariables,\n });\n\n const displayPrint = Boolean(queryString().print);\n\n const showInvitationForm = () => {\n toggleIsInvitingPatient();\n loadRelayVariables({ isInvitingPatient: true });\n };\n\n const {\n canCancel,\n canInvite,\n canArchiveRequest,\n canComplete,\n canPrint,\n canSubmit,\n } = viewer.case.data.permissions;\n const { barcode } = viewer.case.form;\n const { isSpecialist } = viewer.currentUser;\n\n const footerButtons = [];\n if (canCancel) {\n footerButtons.push(\n \n );\n }\n if (canComplete) {\n footerButtons.push(\n \n );\n }\n if (canArchiveRequest) {\n footerButtons.push(\n setShowArchiveDialog(true)}\n type=\"default\"\n name=\"archiveCase\">\n \n \n );\n }\n\n const onSubmit = async () => {\n await completeDynamicFormCase({ case: viewer.case, formCompletionDate });\n };\n\n async function onSubmitForm(results) {\n await submitDynamicFormResults({\n case: viewer.case,\n formVersion: viewer.case.data.form.formDefinition.version,\n formResults: JSON.stringify(results),\n formCompletionDate,\n });\n }\n async function onSubmitFormDraft(results) {\n await submitDynamicFormDraftResults({\n case: viewer.case,\n formVersion: viewer.case.data.form.formDefinition.version,\n formResults: JSON.stringify(results),\n formCompletionDate,\n });\n }\n\n const onSuccessComplete = () => {\n toggleIsCompleting();\n router.push(\"/cases/COMPLETED\");\n showDialog(formatMessage(messages.completedSuccessfully), \"accept\");\n };\n\n return (\n
    \n \n {isSpecialist ? (\n }\n case={viewer.case}\n viewer={viewer}\n requester={viewer.case.data.requester.person}\n customPrintHeader={\n \n }\n />\n ) : (\n \n }\n case={viewer.case}\n requester={viewer.case.data.requester.person}\n />\n )}\n\n {canPrint && (\n }\n buttonText={}\n downloadFileName={viewer.case.data.form.formDefinition.form.name}\n version={\"final\"}\n />\n )}\n\n \n {isSpecialist && (\n } key=\"1\">\n {canInvite && (\n \n \n \n \n \n )}\n \n {isInvitingPatient && (\n \n )}\n \n )}\n } key=\"2\">\n \n \n \n\n \n {isSpecialist && (\n \n \n current && current.valueOf() > Date.now()}\n value={formCompletionDate}\n onChange={setFormCompletionDate}\n disabled={!(canComplete || canSubmit)}\n allowClear={false}\n />\n \n \n )}\n {footerButtons.length !== 0 && (\n \n {footerButtons}\n \n )}\n \n {displayPrint && (\n

    \n {formatMessage(messages.completionDate)} : {formCompletionDate}\n

    \n )}\n\n {canCancel && (\n \n )}\n\n {canComplete && (\n }\n confirmMessage={}\n active={isCompleting}\n onSubmit={onSubmit}\n onSuccess={onSuccessComplete}\n onCancel={toggleIsCompleting}\n irreversibleAction>\n {barcode && (\n \n \n \n )}\n \n )}\n\n {canArchiveRequest && (\n {\n setShowArchiveDialog(false);\n }}\n onArchiveSuccess={() => {\n setShowArchiveDialog(false);\n }}\n />\n )}\n
    \n );\n};\n\nDynamicFormPage.propTypes = {\n viewer: ViewerPropTypes,\n caseLegacyId: PropTypes.number.isRequired,\n showDialog: PropTypes.func,\n intl: intlShape,\n router: routerShape,\n};\n\nconst mapStateToProps = () => ({});\nconst mapDispatchToProps = {\n showDialog: showDialogNotice,\n};\n\nexport default Relay.createContainer(\n connect(mapStateToProps, mapDispatchToProps)(withRouter(injectIntl(DynamicFormPage))),\n {\n initialVariables: {\n caseId: null,\n caseLegacyId: null,\n patientId: null,\n isInvitingPatient: false,\n },\n fragments: {\n viewer: ({ isInvitingPatient }) => Relay.QL`\n fragment on RootQuery {\n ${ClinicianHeader.getFragment(\"viewer\")}\n ${CaseInvitationForm.getFragment(\"viewer\").if(isInvitingPatient)}\n ${CaseCancelDialog.getFragment(\"viewer\")}\n ${CaseArchiveDialog.getFragment(\"viewer\")}\n\n currentUser {\n isSpecialist\n }\n\n case(id: $caseId, legacyId: $caseLegacyId) {\n ${PatientHeader.getFragment(\"case\")}\n ${ClinicianHeader.getFragment(\"case\")}\n ${CaseInvitationsList.getFragment(\"case\")}\n ${DynamicFormCaseFormolViewer.getFragment(\"case\")}\n ${CaseInvitationForm.getFragment(\"case\").if(isInvitingPatient)}\n ${CaseCancelDialog.getFragment(\"case\")}\n ${MUHCReportPrintHeader.getFragment(\"case\")}\n ${PrintCaseContainer.getFragment(\"case\")}\n ${CaseArchiveDialog.getFragment(\"case\")}\n id\n\n status {\n ${CaseCancelDialog.getFragment(\"status\")}\n }\n\n patient {\n ${MUHCReportPrintHeader.getFragment(\"patient\")}\n }\n\n form {\n barcode\n }\n\n data {\n ... on DynamicFormCaseData {\n formCompletionDate\n requester {\n person {\n ${ClinicianHeader.getFragment(\"requester\")}\n ${PatientHeader.getFragment(\"requester\")}\n }\n }\n\n fromDepartment {\n ${MUHCReportPrintHeader.getFragment(\"department\")}\n }\n\n form {\n data\n formDefinition {\n form {\n name\n }\n ${CardFormolViewer.getFragment(\"formDefinition\")}\n version\n }\n }\n\n permissions {\n canCancel\n canComplete\n canArchiveRequest\n canInvite\n canPrint\n canSubmit\n }\n }\n }\n }\n }\n `,\n },\n }\n);\n","import EConsultForm from \"./ECONSULT/ECONSULT_form\";\nimport EmptyForm from \"./emptyForm\";\nimport { GenericRequestPage } from \"./GENERICv2\";\nimport GeriatricsForm from \"./GER_FCGA/GER_FCGA_form\";\nimport { PatientConversationPage } from \"./PATIENT\";\nimport RespEvaForm from \"./RESP_EVA/RESP_EVA_form\";\nimport ThoracicSurgeryForm from \"./THORSURG\";\nimport { DynamicFormPage, IsDynamicForm } from \"./DYNAMICFORM\";\n\nexport const formTypes = {\n GER_FCGA: \"GER_FCGA\",\n ECONSULT: \"ECONSULT\",\n PATIENT: \"PATIENT\",\n RESP_EVA: \"RESP_EVA\",\n DEFAULT: \"DEFAULT\",\n GENERICv2: \"GENERICv2\",\n THORSURG: \"THORSURG\",\n DYNAMIC: \"DYNAMIC\",\n};\n\nconst forms = {\n [formTypes.ECONSULT]: EConsultForm,\n [formTypes.PATIENT]: PatientConversationPage,\n [formTypes.RESP_EVA]: RespEvaForm,\n [formTypes.DEFAULT]: EmptyForm,\n [formTypes.GENERICv2]: GenericRequestPage,\n [formTypes.THORSURG]: ThoracicSurgeryForm,\n};\n\nconst IsGeriatricsForm = (code) => {\n return code.startsWith(\"GER_\");\n};\n\nexport function getFormTypeFromCode(code) {\n if (IsDynamicForm(code)) {\n return formTypes.DYNAMIC;\n }\n\n if (IsGeriatricsForm(code)) {\n return formTypes.GER_FCGA;\n }\n\n return formTypes[code] ? formTypes[code] : formTypes.DEFAULT;\n}\n\nexport default function formTypeResolver(activeCase) {\n const { code } = activeCase.form;\n\n if (IsDynamicForm(code)) {\n return DynamicFormPage;\n }\n\n if (IsGeriatricsForm(code)) {\n return GeriatricsForm;\n }\n\n return forms[code] ? forms[code] : forms.DEFAULT;\n}\n\nexport function isDefaultForm(form) {\n return form.displayName === EmptyForm.displayName;\n}\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport SplashScreen from \"~/src/js/components/shared/splashScreen\";\n\nimport { getErrors } from \"../../helpers/errors\";\nimport { subscribeToUpdates, unsubscribeFromUpdates } from \"../../helpers/signalr\";\nimport { queryString } from \"../../helpers/strings\";\nimport ViewCaseMutation from \"../forms/viewCaseMutation\";\nimport NotFoundPage from \"../layout/notFoundPage\";\n\nimport EConsultForm from \"./ECONSULT/ECONSULT_form\";\nimport { GenericRequestPage } from \"./GENERICv2\";\nimport GerFcgaForm from \"./GER_FCGA/GER_FCGA_form\";\nimport { PatientConversationPage } from \"./PATIENT\";\nimport FormResolver, { getFormTypeFromCode, formTypes } from \"./resolver\";\nimport RespEvaForm from \"./RESP_EVA/RESP_EVA_form\";\nimport ThoracicSurgeryForm from \"./THORSURG\";\nimport { DynamicFormPage } from \"./DYNAMICFORM\";\n\nconst messages = defineMessages({\n caseNotFound: {\n id: \"formWrapper.caseNotFound\",\n description: \"Error text when a case is not found\",\n defaultMessage: \"The case you are trying to view was not found.\",\n },\n});\n\nclass FormWrapper extends React.Component {\n static propTypes = {\n viewer: PropTypes.object,\n intl: intlShape,\n\n jumpToSection: PropTypes.func,\n formSubmittedNextAction: PropTypes.func,\n currentStep: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n stepUrl: PropTypes.string,\n onCompleteLaterClick: PropTypes.func,\n relay: PropTypes.any,\n };\n\n state = { isReady: false };\n\n UNSAFE_componentWillMount() {\n const {\n viewer: { case: cas },\n } = this.props;\n if (!cas) {\n return;\n }\n\n // This perform an extra refetch or set an extra variable used by relay.\n const formType = getFormTypeFromCode(cas.form.code);\n this.props.relay.setVariables(\n {\n [formType]: true,\n },\n (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ isReady: true });\n }\n }\n );\n\n this.setState({ errors: [] });\n const qs = queryString(document.location.search);\n if (formType !== formTypes.DEFAULT && cas.updatedAt && qs.skipView !== \"true\") {\n Relay.Store.commitUpdate(\n new ViewCaseMutation({\n caseId: cas.id,\n }),\n {\n onSuccess: () => {},\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({ errors: this.state.errors.concat(errors) });\n });\n },\n }\n );\n }\n }\n\n componentDidMount() {\n const {\n relay,\n viewer: { case: cas },\n } = this.props;\n\n subscribeToUpdates(\"formWrapper\", (evt) => {\n if (\n // Explicitely allow checking strings vs ints because of new read model.\n // eslint-disable-next-line eqeqeq\n (evt.type === \"CaseUpdated\" && evt.payload.legacyId == cas.legacyId) ||\n (evt.type === \"PatientUpdated\" && evt.payload.legacyId === cas.patient.legacyId)\n ) {\n relay.forceFetch();\n }\n });\n }\n\n componentWillUnmount() {\n unsubscribeFromUpdates(\"formWrapper\");\n }\n\n render() {\n const {\n currentStep,\n formSubmittedNextAction,\n intl,\n jumpToSection,\n onCompleteLaterClick,\n relay,\n stepUrl,\n viewer,\n } = this.props;\n const { isReady } = this.state;\n if (!viewer.case) {\n return ;\n }\n\n if (!isReady) {\n return ;\n }\n\n const formComponent = FormResolver(this.props.viewer.case);\n return React.createElement(formComponent, {\n viewer: viewer,\n savedItems: viewer,\n\n currentStep: currentStep,\n stepUrl: stepUrl,\n jumpToSection: jumpToSection,\n errors: this.state.errors,\n formSubmittedNextAction: formSubmittedNextAction,\n\n caseId: relay.variables.caseId,\n caseLegacyId: relay.variables.caseLegacyId,\n entityId: relay.variables.caseId,\n hasEntityId: Boolean(relay.variables.caseId),\n onCompleteLaterClick: onCompleteLaterClick,\n });\n }\n}\n\nexport default Relay.createContainer(injectIntl(FormWrapper), {\n initialVariables: {\n caseId: null,\n caseLegacyId: null,\n viewer: null,\n GER_FCGA: false,\n ECONSULT: false,\n PATIENT: false,\n RESP_EVA: false,\n GENERICv2: false,\n THORSURG: false,\n DYNAMIC: false,\n },\n prepareVariables: (prevVariables) => {\n const formCode =\n prevVariables.viewer && prevVariables.viewer.case ? prevVariables.viewer.case.form.code : \"\";\n const formType = getFormTypeFromCode(formCode);\n\n return {\n ...prevVariables,\n caseLegacyId: prevVariables.caseLegacyId ? parseInt(prevVariables.caseLegacyId) : null,\n [formType]: true,\n };\n },\n fragments: {\n viewer: ({\n caseId,\n caseLegacyId,\n GER_FCGA,\n ECONSULT,\n PATIENT,\n RESP_EVA,\n GENERICv2,\n THORSURG,\n DYNAMIC,\n }) => Relay.QL`\n fragment on RootQuery {\n ${EConsultForm.getFragment(\"viewer\", { caseId, caseLegacyId }).if(ECONSULT)}\n ${EConsultForm.getFragment(\"savedItems\", {\n caseId,\n caseLegacyId,\n entityId: caseId,\n hasEntityId: Boolean(caseId),\n }).if(ECONSULT)}\n ${GenericRequestPage.getFragment(\"viewer\", { caseId, caseLegacyId }).if(GENERICv2)}\n ${GenericRequestPage.getFragment(\"savedItems\", {\n caseId,\n caseLegacyId,\n entityId: caseId,\n hasEntityId: Boolean(caseId),\n }).if(GENERICv2)}\n ${PatientConversationPage.getFragment(\"viewer\", { caseId, caseLegacyId }).if(PATIENT)}\n\n ${GerFcgaForm.getFragment(\"viewer\", { caseId, caseLegacyId }).if(GER_FCGA)}\n ${RespEvaForm.getFragment(\"viewer\", { caseId, caseLegacyId }).if(RESP_EVA)}\n ${DynamicFormPage.getFragment(\"viewer\", { caseId, caseLegacyId }).if(DYNAMIC)}\n ${ThoracicSurgeryForm.getFragment(\"viewer\", { caseId, caseLegacyId }).if(THORSURG)}\n\n case(id: $caseId, legacyId: $caseLegacyId) {\n id\n legacyId\n updatedAt\n form {\n code\n }\n\n patient {\n id\n legacyId\n }\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React, { Fragment } from \"react\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter, routerShape } from \"react-router\";\n\nimport { URLs } from \"../../constants\";\nimport { queryString } from \"../../helpers/strings\";\n\nimport FormWrapper from \"./formWrapper\";\n\nclass FormPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object,\n routerParams: PropTypes.object,\n routeParams: PropTypes.object,\n router: routerShape,\n route: PropTypes.object,\n main: PropTypes.any,\n dispatch: PropTypes.func,\n };\n\n changeSectionRoute(routeParams, replace: boolean) {\n const path = this.props.route.path\n .replace(\":caseLegacyId\", routeParams.caseLegacyId)\n .replace(\"(/:step)\", `/${routeParams.step}`);\n if (replace) {\n this.props.router.replace(path);\n } else {\n this.props.router.push(path);\n }\n }\n\n jumpToSection(step: number | string, replace: boolean) {\n const routeParams = Object.assign({}, this.props.routeParams, { step });\n this.changeSectionRoute(routeParams, replace);\n }\n\n render() {\n const qs = queryString(document.location.search);\n return (\n \n this.jumpToSection(step, replace)}\n formSubmittedNextAction={() => this.props.router.push(\"/cases/IN_PROGRESS\")}\n onCompleteLaterClick={() => this.props.router.push(\"/cases/IN_PROGRESS\")}\n />\n {this.props.main || this.props.children}\n \n );\n }\n}\n\nexport default Relay.createContainer(withRouter(FormPage), {\n initialVariables: {\n caseId: null,\n caseLegacyId: null,\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n caseLegacyId: prevVariables.caseLegacyId ? parseInt(prevVariables.caseLegacyId) : null,\n };\n },\n // We need the case.form.code when browsing to previous pages.\n fragments: {\n viewer: ({ caseId, caseLegacyId }) => Relay.QL`\n fragment on RootQuery {\n ${FormWrapper.getFragment(\"viewer\", { caseId, caseLegacyId })}\n\n case(id: $caseId, legacyId: $caseLegacyId) {\n form {\n code\n }\n }\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class AssignAttachmentsToClinicalDomainMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(AssignAttachmentsToClinicalDomainMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { assignAttachmentsToClinicalDomain }`;\n }\n\n getVariables() {\n return {\n clinicalDomainId: this.props.clinicalDomainId,\n attachmentIds: this.props.attachmentIds,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on AssignAttachmentsToClinicalDomainPayload {\n clinicalDomain\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n clinicalDomain: this.props.clinicalDomainId,\n },\n },\n ];\n }\n}\n\nexport const assignAttachmentsToClinicalDomain = (clinicalDomainId, attachmentIds) => {\n const params = {\n clinicalDomainId,\n attachmentIds,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new AssignAttachmentsToClinicalDomainMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import Formsy from \"formsy-react\";\nimport React, { useState } from \"react\";\nimport Relay from \"react-relay/classic\";\nimport { Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { AttachmentUploadAndList } from \"~/src/js/components/attachments/UploadAndList\";\nimport Attachments, {\n ATTACHMENTS_TABLE_ACTIONS,\n} from \"~/src/js/components/attachments/UploadAndList/Attachments\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport { useFormsySubmit } from \"~/src/js/hooks\";\n\nimport { assignAttachmentsToClinicalDomain } from \"./assignAttachmentsToClinicalDomainMutation\";\n\nconst availableActions = {\n [ATTACHMENTS_TABLE_ACTIONS.delete]: true,\n [ATTACHMENTS_TABLE_ACTIONS.editDescription]: true,\n [ATTACHMENTS_TABLE_ACTIONS.editBodyParts]: false,\n [ATTACHMENTS_TABLE_ACTIONS.editDocumentType]: false,\n};\n\nexport const ClinicalDomainAttachments = ({ viewer, relay }) => {\n const [files, setFiles] = useState([]);\n\n if (!viewer) {\n return null;\n }\n\n const { clinicalDomain } = viewer;\n\n const handleSubmit = () => {\n return assignAttachmentsToClinicalDomain(\n clinicalDomain.id,\n files.map((x) => x.id)\n );\n };\n\n const handleSuccess = () => {\n setFiles([]);\n };\n\n const { formsyProps, errors, isSubmitting } = useFormsySubmit({\n onSubmit: handleSubmit,\n onSuccess: handleSuccess,\n });\n\n return (\n
    \n \n {\n relay.forceFetch();\n }}\n actions={availableActions}\n />\n\n \n\n \n \n Attach documents\n \n \n \n \n
    \n );\n};\n\nClinicalDomainAttachments.propTypes = {\n viewer: ViewerPropTypes,\n};\n\nexport default Relay.createContainer(ClinicalDomainAttachments, {\n initialVariables: {\n clinicalDomainId: null,\n hasId: false,\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n hasId: Boolean(prevVariables.clinicalDomainId),\n };\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${Attachments.getFragment(\"viewer\")}\n ${AttachmentUploadAndList.getFragment(\"viewer\")}\n clinicalDomain(legacyId: $clinicalDomainId) @include(if: $hasId) {\n id\n name\n attachments {\n ${Attachments.getFragment(\"files\")}\n }\n }\n }\n `,\n },\n});\n","import ClinicalDomainAttachments from \"./ClinicalDomainAttachments\";\n\nexport default ClinicalDomainAttachments;\n","import React from \"react\"; // eslint-disable-line no-unused-vars\n\nimport FormPage from \"./forms/formPage\";\nimport ClinicalDomainAttachments from \"./clinicalDomains/ClinicalDomainAttachments\";\n\nimport \"iframe-resizer/js/iframeResizer.contentWindow.min\";\n\nexport default function (params) {\n document.querySelector(\"#root\").classList.add(\"printed\");\n document.querySelector(\"body\").classList.add(\"printed\");\n\n // PDF printable pages:\n switch (params.component) {\n case \"FormsPage\":\n\n case \"FormPage\":\n return FormPage;\n\n case \"ClinicalDomainAttachments\":\n return ClinicalDomainAttachments;\n\n default:\n return null;\n }\n}\n","import Relay from \"react-relay/classic\";\n\nexport default class PrintRoute extends Relay.Route {\n static queries = {\n viewer: () => Relay.QL`query { viewer }`,\n };\n static routeName = \"PrintRoute\";\n}\n","import React from \"react\";\n\nconst Header = () =>
    ;\n\nHeader.displayName = \"Header\";\n\nexport default Header;\n","/**\n * Finds the deepest nested header for rendering!\n * @param {any} props Props for recursiveness\n * @return {any} A header if found.\n */\nexport function getHeaderSection(props: any) {\n if (props.children) {\n const childrenHeader = getHeaderSection(props.children.props);\n if (childrenHeader) {\n return childrenHeader;\n }\n }\n\n if (props.main) {\n const mainHeader = getHeaderSection(props.main.props);\n if (mainHeader) {\n return mainHeader;\n }\n }\n\n if (props.header) {\n return props.header;\n }\n\n return null;\n}\n","export const messages = {\n titles: {\n success: {\n id: \"snackbar.titles.success\",\n description: \"Snack bar feed back success title\",\n },\n warning: {\n id: \"snackbar.titles.warning\",\n description: \"Snack bar feed back warning title\",\n },\n error: {\n id: \"snackbar.titles.error\",\n description: \"Snack bar feed back error title\",\n },\n default: {\n id: \"snackbar.titles.default\",\n description: \"Snack bar feed back default title\",\n },\n },\n};\n","import React, { useEffect } from \"react\";\nimport { Notifications } from \"@akinoxsolutions/gerudo-ui\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\n\nimport { hideDialogNotice } from \"~/src/js/stores/app/actions\";\n\nimport { messages } from \"./Snackbar.i18n\";\n\nexport const SNACK_BAR_NOTIFICATION_TYPES = {\n accept: \"accept\",\n warning: \"warning\",\n cancel: \"cancel\",\n};\n\nconst mapToGerudoNotificationTypes = {\n [SNACK_BAR_NOTIFICATION_TYPES.accept]: \"success\",\n [SNACK_BAR_NOTIFICATION_TYPES.cancel]: \"error\",\n [SNACK_BAR_NOTIFICATION_TYPES.warning]: \"warning\",\n};\n\nconst mapNotificationTypeToMessageNotification = {\n [SNACK_BAR_NOTIFICATION_TYPES.accept]: messages.titles.success,\n [SNACK_BAR_NOTIFICATION_TYPES.cancel]: messages.titles.error,\n [SNACK_BAR_NOTIFICATION_TYPES.warning]: messages.titles.warning,\n undefined: messages.titles.default,\n null: messages.titles.default,\n};\n\nexport const Snackbar = ({\n dialogNotice,\n dialogNoticeVisible,\n dialogNoticeType,\n hideDialogNotice,\n intl: { formatMessage: t },\n ...props\n}) => {\n const notification = {\n type: mapToGerudoNotificationTypes[dialogNoticeType],\n message: t(mapNotificationTypeToMessageNotification[dialogNoticeType]),\n description: dialogNotice,\n };\n\n useEffect(() => {\n if (dialogNoticeVisible) {\n hideDialogNotice();\n }\n }, [dialogNoticeVisible]);\n\n return (\n \n );\n};\n\nSnackbar.propTypes = {\n dialogNotice: PropTypes.node,\n dialogNoticeVisible: PropTypes.bool,\n hideDialogNotice: PropTypes.func,\n dialogNoticeType: PropTypes.oneOf(Object.values(SNACK_BAR_NOTIFICATION_TYPES)),\n intl: intlShape,\n};\n\nconst mapStateToProps = (state) => {\n return {\n dialogNotice: state.layoutReducer.dialogNotice,\n dialogNoticeType: state.layoutReducer.dialogNoticeType,\n dialogNoticeVisible: state.layoutReducer.dialogNoticeVisible,\n };\n};\n\nconst mapDispatchToProps = {\n hideDialogNotice: hideDialogNotice,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(injectIntl(Snackbar));\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport { locationShape } from \"react-router\";\nimport { AppBar } from \"react-toolbox/lib/app_bar\";\nimport { Layout, NavDrawer, Panel } from \"react-toolbox/lib/layout\";\nimport { Link } from \"react-toolbox/lib/link\";\nimport Navigation from \"react-toolbox/lib/navigation\";\n\nimport logo from \"../../../public/assets/images/brand\";\nimport mainStyle from \"../../../styles/main\";\nimport navigationStyle from \"../../../styles/navigation\";\nimport { URLs } from \"../../constants\";\nimport { loadCurrentTheme } from \"../../helpers/themes\";\nimport {\n hideDialogNotice,\n toggleNavDrawerActive,\n hideNavDrawer,\n setLanguage,\n} from \"../../stores/app/actions\";\n\nimport HeaderSection from \"./headerSection\";\nimport { getHeaderSection } from \"./layoutHelpers\";\nimport { Snackbar } from \"./Snackbar\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nclass AnonymousLayout extends React.Component {\n static propTypes = {\n hideDialogNotice: PropTypes.func,\n isSupportAvailable: PropTypes.bool.isRequired,\n dialogNotice: PropTypes.string,\n dialogNoticeType: PropTypes.string,\n dialogNoticeVisible: PropTypes.bool,\n toggleNavDrawerActive: PropTypes.func,\n hideNavDrawer: PropTypes.func,\n setLanguage: PropTypes.func,\n navDrawerActive: PropTypes.any,\n main: PropTypes.object,\n location: locationShape,\n header: PropTypes.object,\n height: PropTypes.string,\n };\n\n t(key) {\n return this.props.intl.formatMessage(key);\n }\n\n constructor(props) {\n super(props);\n this.state = {\n height: props.height,\n headerLogo: null,\n loadingLogo: true,\n };\n loadCurrentTheme().then((x) => {\n this.setState({ headerLogo: x.headerLogo, loadingLogo: false });\n });\n }\n\n mainSection() {\n const main = this.props.main ? this.props.main : this.props.children;\n return
    {main}
    ;\n }\n\n headerSection() {\n return getHeaderSection(this.props) || ;\n }\n\n changeLang(e: React.SyntheticEvent, lang: string) {\n e.preventDefault();\n this.props.setLanguage(lang);\n\n // Declared in app.js\n window.changeLanguage(lang);\n\n this.props.hideNavDrawer();\n }\n\n render() {\n const lang = document.getElementsByTagName(\"html\")[0].getAttribute(\"lang\");\n const headerSection = this.headerSection();\n const main = this.mainSection();\n return (\n \n \n \n \n \n \n {!this.state.loadingLogo && (\n \n )}\n\n {headerSection}\n \n\n {main}\n \n \n \n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n isSupportAvailable: state.layoutReducer.isSupportAvailable,\n navDrawerActive: state.layoutReducer.navDrawerActive,\n dialogNotice: state.layoutReducer.dialogNotice,\n dialogNoticeType: state.layoutReducer.dialogNoticeType,\n dialogNoticeVisible: state.layoutReducer.dialogNoticeVisible,\n };\n};\n\nconst mapDispatchToProps = (dispatch) => {\n return {\n toggleNavDrawerActive: () => dispatch(toggleNavDrawerActive()),\n hideNavDrawer: () => dispatch(hideNavDrawer()),\n setLanguage: (lang) => dispatch(setLanguage(lang)),\n hideDialogNotice: () => dispatch(hideDialogNotice()),\n };\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(injectIntl(AnonymousLayout));\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages, FormattedMessage } from \"react-intl\";\n\nimport cardListStyle from \"../../../../styles/cardList\";\nimport { parseToDate } from \"../../../helpers/dates\";\nimport { messages as historyMessages } from \"../../forms/ECONSULT/historyItem\";\nimport FormattedRelative from \"../../shared/formattedRelative\";\nimport PatientInformation from \"../../shared/patientInformation\";\nimport { PersonInformation } from \"../../shared/PersonInformation\";\n\n// Must see en.json and fr.json for full translation!\nexport const eventMessages = defineMessages({\n eventTypeRequestCreated: {\n id: \"activity.eventTypeRequestCreated\",\n description: \"Case created notification text\",\n defaultMessage: \"{isSelf, plural, one {You} other {name}} created case #\",\n },\n eventTypeRequestSubmitted: {\n id: \"activity.eventTypeRequestSubmitted\",\n description: \"Case submitted notification text\",\n defaultMessage: \"submitted case #\",\n },\n eventTypeReportCompleted: {\n id: \"activity.eventTypeReportCompleted\",\n description: \"Case completed notification text\",\n defaultMessage: \"completed a report for case #\",\n },\n eventTypeCaseClosed: {\n id: \"activity.eventTypeCaseClosed\",\n description: \"Case closed notification text\",\n defaultMessage: \"closed case #\",\n },\n eventTypeCaseCanceled: {\n id: \"activity.eventTypeCaseCanceled\",\n description: \"Case canceled notification text\",\n defaultMessage: \"deleted case #\",\n },\n eventTypeCaseAborted: {\n id: \"activity.eventTypeCaseAborted\",\n description: \"Case aborted notification text\",\n defaultMessage: \"aborted case #\",\n },\n eventTypeCaseViewed: {\n id: \"activity.eventTypeCaseViewed\",\n description: \"Case opened notification text\",\n defaultMessage: \"opened case #\",\n },\n eventTypeCaseDispatched: {\n id: \"activity.eventTypeCaseDispatched\",\n description: \"Case dispatched notification text\",\n defaultMessage: \"dispatched case #\",\n },\n eventTypeCaseRedispatchRequested: {\n id: \"activity.eventTypeCaseRedispatchRequested\",\n description: \"Case requested for redispatch notification text\",\n defaultMessage: \"requested a redispatch of case #\",\n },\n eventTypeInformationRequested: {\n id: \"activity.eventTypeInformationRequested\",\n description: \"Information requested notification text\",\n defaultMessage: \"requested information for case #\",\n },\n eventTypeRequestCanceled: {\n id: \"activity.eventTypeInformationRequestCanceled\",\n description: \"Information request canceled notification text\",\n defaultMessage: \"canceled the information request for case #\",\n },\n eventTypeRequestCompleted: {\n id: \"activity.eventTypeInformationRequestCompleted\",\n description: \"Information request completed notification text\",\n defaultMessage: \"completed the information request for case #\",\n },\n eventTypeCaseReopened: {\n id: \"activity.eventTypeCaseReopened\",\n description: \"Case reopened notification text\",\n defaultMessage: \"reopened case #\",\n },\n eventTypeRequestArchived: {\n id: \"activity.eventTypeRequestArchived\",\n description: \"Case archived notification text\",\n defaultMessage: \"archived case #\",\n },\n eventTypeReportArchived: {\n id: \"activity.eventTypeReportArchived\",\n description: \"Report archived otification text\",\n defaultMessage: \"archived the report for case #\",\n },\n eventTypeContributionAdded: {\n id: \"activity.eventTypeContributionAdded\",\n description: \"Case contribution added notification text\",\n defaultMessage: \"added a contribution for case #\",\n },\n eventTypeRequesterChanged: {\n id: \"activity.eventTypeRequesterChanged\",\n description: \"Case requester changed notification text\",\n defaultMessage: \"changed requester for case #\",\n },\n eventTypeRequestModified: {\n id: \"activity.eventTypeRequestModified\",\n description: \"Case requester changed notification text\",\n defaultMessage: \"updated case #\",\n },\n eventTypeUnknown: {\n id: \"activity.eventTypeUnknown\",\n description: \"Error message for the case when the event type is not known\",\n defaultMessage: \"The event type is not known\",\n },\n eventTypeDestinationAdded: {\n id: \"activity.eventTypeDestinationAdded\",\n description: \"A destination was added to a request\",\n defaultMessage: \"added a destination for case #\",\n },\n eventTypeDestinationCanceled: {\n id: \"activity.eventTypeDestinationCanceled\",\n description: \"A destination was canceled to a request\",\n defaultMessage: \"canceled a destination for case #\",\n },\n eventTypeDestinationDispatched: {\n id: \"activity.eventTypeDestinationDispatched\",\n description: \"Case's destination dispatched notification text\",\n defaultMessage: \"dispatched's destination case #\",\n },\n eventTypeDestinationRedispatchRequested: {\n id: \"activity.eventTypeDestinationRedispatchRequested\",\n description: \"Case's destination redispatched notification text\",\n defaultMessage: \"requested a redispatch of a destination of case #\",\n },\n eventTypeDestinationReportArchived: {\n id: \"activity.eventTypeDestinationReportArchived\",\n description: \"Case destination's report archived notification text\",\n defaultMessage: \"archived the report for a destination of case #\",\n },\n eventTypeDestinationReporterAssigned: {\n id: \"activity.eventTypeDestinationReporterAssigned\",\n description: \"Case destination's reporter assigned notification text\",\n defaultMessage: \"assigned a reporter for a destination of case #\",\n },\n eventTypeDestinationReportSubmitted: {\n id: \"activity.eventTypeDestinationReportSubmitted\",\n description: \"Case destination's report submitted notification text\",\n defaultMessage: \"case destination's report submitted\",\n },\n eventTypeDestinationRequestArchived: {\n id: \"activity.eventTypeDestinationRequestArchived\",\n description: \"Case's destination request archived notification text\",\n defaultMessage: \"archived a destination for case #\",\n },\n eventTypeDestinationRequesterChanged: {\n id: \"activity.eventTypeDestinationRequesterChanged\",\n description: \"Case's destination requester changed notification text\",\n defaultMessage: \"changed requester for a destination of case #\",\n },\n eventTypeDestinationRequestSubmitted: {\n id: \"activity.eventTypeDestinationRequestSubmitted\",\n description: \"Case destination submitted notification text\",\n defaultMessage: \"submitted a destination of case #\",\n },\n eventTypeDestinationReportClarificationRequested: {\n id: \"activity.eventTypeDestinationReportClarificationRequested\",\n description: \"Case destination report clarification requested text\",\n defaultMessage: \"requested a report clarification of case #\",\n },\n});\n\nclass ActivityRow extends React.Component {\n static propTypes = {\n intl: intlShape,\n router: PropTypes.object,\n viewer: PropTypes.object,\n activity: PropTypes.object,\n selectCase: PropTypes.func,\n caseUrl: PropTypes.string,\n };\n\n constructor(props) {\n super(props);\n }\n\n t(key, params) {\n return this.props.intl.formatMessage(key, params);\n }\n\n parseType(eventType) {\n return eventType\n .toLowerCase()\n .replace(/_/gi, \" \")\n .replace(/\\b\\w/g, (l) => {\n return l.toUpperCase();\n })\n .replace(/ /gi, \"\");\n }\n\n getCaseUrl(c: any): string {\n if (this.props.caseUrl) {\n return this.props.caseUrl.replace(\"{id}\", c.requestId).replace(\"{legacyId}\", c.lookupId);\n }\n\n return \"#\";\n }\n\n selectCase(e: Event, c: any): void {\n if (this.props.selectCase) {\n this.props.selectCase(c);\n }\n\n if (!this.props.caseUrl) {\n e.preventDefault();\n }\n }\n\n renderMessages(a) {\n let messageKey = eventMessages[`eventType${this.parseType(a.eventType)}`];\n if (!messageKey) {\n messageKey = eventMessages.eventTypeUnknown;\n }\n return (\n \n \n ),\n legacyId: (\n this.selectCase(e, a.requestIdentifier)}>\n {a.requestIdentifier.lookupId}\n \n ),\n hasDepartment: a.metadata ? 1 : 2,\n department: a.metadata ? {a.metadata.department.name} : null,\n hasClinicalDomain: a.metadata ? 1 : 2,\n clinicalDomain: a.metadata ? {a.metadata.clinicalDomain.name} : null,\n hasDestination: a.childRequestIdentifier ? 1 : 2,\n destination: a.childRequestIdentifier ? {a.childRequestIdentifier.title} : null,\n }}\n />{\" \"}\n {a.delegateAuthor && (\n \n ) : (\n \n ),\n }}\n />\n )}\n \n );\n }\n\n render() {\n const { activity: a } = this.props;\n return (\n
    \n
    {this.renderMessages(a)}
    \n
    \n
    \n \n
    \n
    \n
    \n );\n }\n}\n\nexport default injectIntl(ActivityRow);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { Tab, Tabs } from \"react-toolbox/lib/tabs\";\n\nimport cardListStyle from \"../../../../styles/cardList\";\nimport formStyle from \"../../../../styles/forms\";\nimport { ActivityViews } from \"../../../constants\";\nimport { setActivityView } from \"../../../stores/app/actions\";\nimport { store } from \"../../../stores/store\";\nimport PatientInformation from \"../../shared/patientInformation\";\nimport { PersonInformation } from \"../../shared/PersonInformation\";\n\nimport ActivityRow from \"./activityRow\";\n\nexport const activityMessages = defineMessages({\n headerTitle: {\n id: \"activity.headerTitle\",\n description: \"Title\",\n defaultMessage: \"Recent activity\",\n },\n allActivity: {\n id: \"activity.allActivity\",\n description: \"All Activity tab\",\n defaultMessage: \"All\",\n },\n myActions: {\n id: \"activity.myActions\",\n description: \"My actions tab\",\n defaultMessage: \"Mine\",\n },\n recentCases: {\n id: \"activity.recentCases\",\n description: \"Recent Cases tab\",\n defaultMessage: \"Recently Opened Cases\",\n },\n});\n\nclass ActivityStream extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n intl: intlShape,\n dispatch: PropTypes.func,\n activityView: PropTypes.string,\n selectCase: PropTypes.func,\n caseUrl: PropTypes.string,\n };\n\n constructor(props) {\n super(props);\n }\n\n UNSAFE_componentWillMount() {\n this.props.relay.setVariables({ loadNotifications: true });\n }\n\n handleTabChange = (index) => {\n if (index === 0) {\n this.props.dispatch(setActivityView(ActivityViews.ALL));\n this.props.relay.forceFetch({\n userOnly: false,\n });\n } else if (index === 1) {\n this.props.dispatch(setActivityView(ActivityViews.MY_ACTIONS));\n this.props.relay.forceFetch({\n userOnly: true,\n });\n } else {\n this.props.dispatch(setActivityView(ActivityViews.RECENT_CASES));\n }\n };\n\n getTabIndex(view) {\n switch (view) {\n case ActivityViews.RECENT_CASES:\n return 2;\n case ActivityViews.MY_ACTIONS:\n return 1;\n default:\n return 0;\n }\n }\n\n renderRows() {\n if (this.props.activityView === ActivityViews.RECENT_CASES) {\n return (\n this.props.viewer.currentUser &&\n this.props.viewer.currentUser.recentCases &&\n this.props.viewer.currentUser.recentCases.map((c) => (\n \n ))\n );\n }\n\n return (\n this.props.viewer.currentUser &&\n this.props.viewer.currentUser.notifications &&\n this.props.viewer.currentUser.notifications.edges.map((e) => (\n \n ))\n );\n }\n\n render() {\n const t = this.props.intl.formatMessage;\n\n return (\n
    \n

    {t(activityMessages.headerTitle)}

    \n
    \n \n \n \n \n \n
      {this.renderRows()}
    \n
    \n
    \n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n activityView: state.settingsReducer.activityView,\n };\n};\n\nconst mapDispatchToProps = (dispatch) => {\n return {\n dispatch,\n };\n};\n\nexport default Relay.createContainer(\n injectIntl(connect(mapStateToProps, mapDispatchToProps)(ActivityStream)),\n {\n initialVariables: {\n loadNotifications: false,\n first: 12,\n userOnly: false,\n query: null,\n },\n prepareVariables: (prevVariables) => {\n return Object.assign({}, prevVariables, {\n userOnly: store.getState().settingsReducer.activityView === ActivityViews.MY_ACTIONS,\n });\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PatientInformation.getFragment(\"viewer\")}\n currentUser {\n notifications(first: $first, userOnly: $userOnly) @include(if: $loadNotifications) {\n edges {\n node {\n id\n requestIdentifier {\n requestId\n lookupId\n }\n childRequestIdentifier {\n requestId\n lookupId\n title\n }\n author {\n fullName\n ${PersonInformation.getFragment(\"person\")}\n }\n delegateAuthor {\n __typename\n person {\n fullName\n ${PersonInformation.getFragment(\"person\")}\n }\n patient {\n demographic {\n fullName\n }\n ${PatientInformation.getFragment(\"patient\")}\n }\n }\n currentUserIsAuthor\n currentUserIsDelegateAuthor\n eventType\n eventTime\n metadata\n }\n }\n }\n recentCases @include(if: $loadNotifications) {\n id \n eventTime\n requestIdentifier {\n requestId\n lookupId\n }\n childRequestIdentifier {\n requestId\n lookupId\n title\n } \n }\n }\n }\n `,\n },\n }\n);\n\n// TODO: notifications are currently manually disabled ($loadNotifications)\n// Because of performance. MUST FIX BEFORE MERGE TO MASTER\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n continue: {\n id: \"global.actions.continue\",\n description: \"Continue button\",\n defaultMessage: \"Continue\",\n },\n warningTitle: {\n id: \"global.warning.title\",\n description: \"Warning for deprecated browsers\",\n defaultMessage: \"The browser you're using is not supported\",\n },\n warningBrowser: {\n id: \"global.warning.browser\",\n description: \"Warning for deprecated browsers\",\n defaultMessage: \"We recommend the following browsers\",\n },\n});\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport {\n isChrome,\n isChromium,\n isFirefox,\n isSafari,\n isEdge,\n isIOS,\n isMobile,\n browserName,\n browserVersion,\n} from \"react-device-detect\";\nimport { Modal, Button } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { messages } from \"./BrowserWarning.i18n\";\nimport styles from \"./BrowserWarning.style\";\n\nconst tryGetBrowserVersionAsInt = (browserVersionAsString) => {\n try {\n return parseInt(browserVersionAsString);\n } catch (e) {\n // returning 0 because everything will be > 0 so it will say \"not supported\"\n return 0;\n }\n};\n\nconst isHeadlessBrowser = () => {\n return /headless/i.test(browserName);\n};\n\nconst edgeMajorVersion = 88;\nconst edgeMobileVersion = 26;\n\nconst firefoxMajorVersion = 78;\nconst firefoxMobileIOSVersion = 33;\n\nconst chromeMajorVersion = 87;\nconst chromiumMajorVersion = 87;\n\nconst safariMajorVersion = 14;\n\nconst browserVersionAsInt = tryGetBrowserVersionAsInt(browserVersion);\n\nconst showWarning = isHeadlessBrowser()\n ? false\n : (isChrome && browserVersionAsInt < chromeMajorVersion) ||\n (isChromium && browserVersionAsInt < chromiumMajorVersion) ||\n (isFirefox && browserVersionAsInt < firefoxMajorVersion) ||\n (isEdge && browserVersionAsInt < edgeMajorVersion) ||\n (isSafari && browserVersionAsInt < safariMajorVersion) ||\n (isFirefox && isIOS && browserVersionAsInt < firefoxMobileIOSVersion) ||\n (isEdge && isMobile && browserVersionAsInt < edgeMobileVersion);\n\nconst BrowserWarning = ({ intl: { formatMessage }, logo }) => {\n const [isShowingWarning, setIsShowingWarning] = useState(showWarning);\n\n return (\n {\n return (\n \n );\n }}\n closable={false}\n className={styles[\"warning-modal\"]}\n title={formatMessage(messages.warningTitle)}\n visible={isShowingWarning}>\n
    {logo}
    \n\n

    {formatMessage(messages.warningBrowser)}

    \n
      \n
    • Microsoft Edge {edgeMajorVersion}+
    • \n
    • Mozilla Firefox {firefoxMajorVersion}+
    • \n
    • Google Chrome {chromeMajorVersion}+
    • \n
    • Apple Safari {safariMajorVersion}+
    • \n
    \n \n );\n};\n\nBrowserWarning.propTypes = {\n intl: intlShape,\n logo: PropTypes.any,\n};\n\nexport default injectIntl(BrowserWarning);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { AppBar } from \"react-toolbox/lib/app_bar\";\nimport Drawer from \"react-toolbox/lib/drawer\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport { Layout, NavDrawer, Panel } from \"react-toolbox/lib/layout\";\n\nimport LocalizedRUISSSMcGillLogo from \"~/src/js/components/forms/shared/muhc/LocalizedRUISSSMcGillLogo\";\n\nimport ruisIcon from \"../../../public/assets/images/brand\";\nimport mainStyle from \"../../../styles/main\";\nimport navigationStyle from \"../../../styles/navigation\";\nimport { URLs } from \"../../constants\";\nimport { getLanguage } from \"../../helpers/language\";\nimport { init as initSupport, logUserIn as logSupportUserIn } from \"../../helpers/support\";\nimport { loadCurrentTheme } from \"../../helpers/themes\";\nimport { queryString } from \"../../helpers/strings\";\nimport { downloadStaticData } from \"../../helpers/staticData\";\nimport {\n hideDialogNotice,\n toggleNavDrawerActive,\n hideNotificationDrawer,\n} from \"../../stores/app/actions\";\nimport ActivityStream from \"../accounts/activity/activityStream\";\n\nimport HeaderSection from \"./headerSection\";\nimport { getHeaderSection } from \"./layoutHelpers\";\nimport MainNavigation from \"./mainNavigation\";\nimport { Snackbar } from \"./Snackbar\";\nimport BrowserWarning from \"./BrowserWarning\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nclass LoggedInLayout extends React.Component {\n static propTypes = {\n dialogNotice: PropTypes.string,\n dialogNoticeType: PropTypes.string,\n dialogNoticeVisible: PropTypes.bool,\n header: PropTypes.object,\n height: PropTypes.string,\n hideDialogNotice: PropTypes.func,\n hideNotificationDrawer: PropTypes.func,\n isLoading: PropTypes.bool,\n main: PropTypes.object,\n navDrawerActive: PropTypes.any,\n notificationDrawerActive: PropTypes.bool,\n pageTitle: PropTypes.string,\n toggleNavDrawerActive: PropTypes.func,\n viewer: PropTypes.object,\n };\n\n constructor(props) {\n super(props);\n this.state = {\n height: props.height,\n headerLogo: null,\n loadingLogo: true,\n dialogPresent: false,\n };\n loadCurrentTheme().then((x) => {\n this.setState({ headerLogo: x.headerLogo, loadingLogo: false });\n });\n initSupport(getLanguage);\n downloadStaticData();\n }\n\n componentDidMount() {\n if (this.props.viewer.currentUser && this.props.viewer.currentUser.user) {\n const user = this.props.viewer.currentUser.user;\n logSupportUserIn(\n user.id,\n user.email,\n user.person.firstName,\n user.person.lastName,\n user.person.fullName,\n user.person.address.telephoneWork,\n null // restore ID, must save somewhere, probably user data\n );\n }\n }\n\n componentDidUpdate() {\n if (this.props.dialogNoticeVisible && !this.state.dialogPresent) {\n const dialogPresent = Boolean(document.querySelector(\"[data-react-toolbox='dialog']\"));\n if (dialogPresent) {\n this.setState({ dialogPresent });\n }\n } else if (!this.props.dialogNoticeVisible && this.state.dialogPresent) {\n setTimeout(() => {\n this.setState({ dialogPresent: false });\n }, 500);\n }\n }\n\n state = {\n drawerPinned: false,\n defaultPageTitle: \"Patient Portal\",\n currentPageTitle: \"Hello\",\n };\n\n toggleDrawerPinned = () => {\n this.setState({ drawerPinned: !this.state.drawerPinned });\n };\n\n mainSection() {\n const main = this.props.main ? this.props.main : this.props.children;\n return
    {main}
    ;\n }\n\n headerSection() {\n const headerSection = getHeaderSection(this.props) || ;\n\n return React.cloneElement(headerSection, {\n isLoading: this.props.isLoading,\n });\n }\n\n notificationDrawer() {\n return (\n \n \n \n \n );\n }\n\n render() {\n const qs = queryString(document.location.search);\n\n return qs.menu === \"false\" ? this.renderWithoutMenu() : this.renderWithMenu();\n }\n\n renderWithMenu() {\n const headerSection = this.headerSection();\n const main = this.mainSection();\n\n return (\n \n } />\n \n \n \n
    \n {\" \"}\n {document.querySelector(\"#root\").getAttribute(\"data-version\")}\n
    \n \n \n \n {this.renderLogo()}\n {headerSection}\n \n\n {main}\n \n\n \n {this.notificationDrawer()}\n
    \n
    \n );\n }\n\n renderWithoutMenu() {\n const main = this.mainSection();\n\n return (\n \n \n {main}\n \n {this.notificationDrawer()}\n \n \n );\n }\n\n renderLogo() {\n if (this.state.loadingLogo) {\n return null;\n }\n\n return ;\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n pageTitle: state.layoutReducer.pageTitle,\n navDrawerActive: state.layoutReducer.navDrawerActive,\n dialogNotice: state.layoutReducer.dialogNotice,\n dialogNoticeType: state.layoutReducer.dialogNoticeType,\n dialogNoticeVisible: state.layoutReducer.dialogNoticeVisible,\n notificationDrawerActive: state.layoutReducer.notificationDrawerActive,\n };\n};\n\nconst mapDispatchToProps = (dispatch) => {\n return {\n hideDialogNotice: () => dispatch(hideDialogNotice()),\n toggleNavDrawerActive: () => dispatch(toggleNavDrawerActive()),\n hideNotificationDrawer: () => dispatch(hideNotificationDrawer()),\n };\n};\n\nexport default Relay.createContainer(connect(mapStateToProps, mapDispatchToProps)(LoggedInLayout), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${MainNavigation.getFragment(\"viewer\")}\n\n currentUser {\n user {\n id\n email\n person {\n fullName\n firstName\n lastName\n address {\n telephoneWork\n }\n }\n }\n isSpecialist\n isPatient\n }\n ${ActivityStream.getFragment(\"viewer\")}\n }`,\n },\n});\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter, routerShape, locationShape } from \"react-router\";\nimport Dialog from \"react-toolbox/lib/dialog\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { setTitle } from \"../../helpers/document\";\nimport EConsultDispatch, {\n messages as dispatchMessages,\n} from \"../forms/ECONSULT/ECONSULT_dispatch\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nclass CasesDispatchPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n router: routerShape,\n location: locationShape,\n intl: intlShape,\n };\n\n state = {\n dispatching: false,\n };\n\n componentDidMount() {\n const f = this.props.intl.formatMessage;\n document.title = setTitle(f.bind(this), f(dispatchMessages.dispatchTitle));\n }\n\n dispatchSubmit() {\n this.setState({ dispatching: true });\n this.dispatchSubmitExternal();\n }\n\n render() {\n const { viewer, router, location } = this.props;\n const cas = viewer.case;\n const closeDialog = () =>\n router.push(location.pathname.substring(0, location.pathname.indexOf(\"/dispatch\")));\n const t = this.props.intl.formatMessage;\n const actions = [\n {\n label: t(baseI18n.global.close),\n onClick: closeDialog,\n disabled: this.state.dispatching,\n },\n {\n children: (\n \n {t(\n cas.data.permissions && cas.data.permissions.canRedispatch\n ? dispatchMessages.redispatch\n : dispatchMessages.dispatch\n )}\n {this.state.dispatching && (\n \n )}\n \n ),\n className: classnames({ [formStyle[\"spinning-button\"]]: this.state.dispatching }),\n icon: \"mail_outline\",\n onClick: () => this.dispatchSubmit(),\n primary: true,\n disabled: this.state.dispatching,\n },\n ];\n return (\n \n {\n this.setState({ dispatching: false });\n closeDialog();\n }}\n onDispatchError={() => this.setState({ dispatching: false })}\n showCaseId\n controlSubmitExternally={(submitFunc) => (this.dispatchSubmitExternal = submitFunc)}\n />\n \n );\n }\n}\n\nexport default Relay.createContainer(withRouter(injectIntl(CasesDispatchPage)), {\n initialVariables: {\n caseId: null,\n caseLegacyId: null,\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n caseLegacyId: prevVariables.caseLegacyId ? parseInt(prevVariables.caseLegacyId) : null,\n };\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${EConsultDispatch.getFragment(\"viewer\")}\n\n case(id: $caseId, legacyId: $caseLegacyId) {\n id\n ${EConsultDispatch.getFragment(\"case\")}\n data {\n ... on ConversationConsultData {\n permissions {\n canDispatch\n canRedispatch\n }\n }\n }\n }\n }`,\n },\n});\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter, routerShape, locationShape } from \"react-router\";\nimport Dialog from \"react-toolbox/lib/dialog\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { setTitle } from \"../../helpers/document\";\nimport EConsultRequestRedispatch, {\n messages as dispatchMessages,\n} from \"../forms/ECONSULT/ECONSULT_request_redispatch\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nclass CaseRequestRedispatchPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n router: routerShape,\n location: locationShape,\n intl: intlShape,\n };\n\n state = {\n dispatching: false,\n };\n\n componentDidMount() {\n const f = this.props.intl.formatMessage;\n document.title = setTitle(f.bind(this), f(dispatchMessages.requestRedispatchTitle));\n }\n\n dispatchSubmit() {\n this.setState({ dispatching: true });\n this.dispatchSubmitExternal();\n }\n\n render() {\n const { viewer, router, location } = this.props;\n const closeDialog = () =>\n router.push(location.pathname.substring(0, location.pathname.indexOf(\"/request-redispatch\")));\n const t = this.props.intl.formatMessage;\n const actions = [\n {\n label: t(baseI18n.global.close),\n onClick: closeDialog,\n disabled: this.state.dispatching,\n },\n {\n children: (\n \n {t(dispatchMessages.requestRedispatch)}\n {this.state.dispatching && (\n \n )}\n \n ),\n className: classnames({ [formStyle[\"spinning-button\"]]: this.state.dispatching }),\n icon: \"mail_outline\",\n onClick: () => this.dispatchSubmit(),\n primary: true,\n disabled: this.state.dispatching,\n },\n ];\n return (\n \n {\n this.setState({ dispatching: false });\n closeDialog();\n }}\n onRedispatchError={() => this.setState({ dispatching: false })}\n showCaseId\n controlSubmitExternally={(submitFunc) => (this.dispatchSubmitExternal = submitFunc)}\n />\n \n );\n }\n}\n\nexport default Relay.createContainer(withRouter(injectIntl(CaseRequestRedispatchPage)), {\n initialVariables: {\n caseId: null,\n caseLegacyId: null,\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n caseLegacyId: prevVariables.caseLegacyId ? parseInt(prevVariables.caseLegacyId) : null,\n };\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${EConsultRequestRedispatch.getFragment(\"viewer\")}\n\n case(id: $caseId, legacyId: $caseLegacyId) {\n id\n ${EConsultRequestRedispatch.getFragment(\"case\")}\n data {\n ... on ConversationConsultData {\n permissions {\n canRequestRedispatch\n }\n }\n }\n }\n }`,\n },\n});\n","import { defineMessages } from \"react-intl\";\n\nexport default defineMessages({\n sort: {\n id: \"caseSearch.sort\",\n description: \"Label 'Sort' before the dropdown\",\n },\n sortByUpdatedOn: {\n id: \"caseSearch.sortByUpdatedOn\",\n description: \"Text for option to sort case list by updated on.\",\n },\n sortByRemainingDays: {\n id: \"caseSearch.sortByRemainingDays\",\n description: \"Text for option to sort case list by remaining days.\",\n },\n});\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl, FormattedMessage } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport { Menu, Dropdown, Button, CaretIcon } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { setSortColumn } from \"~/src/js/stores/app/actions\";\nimport { CaseColumns } from \"~/src/js/constants\";\n\nimport styles from \"./CaseSortDropdown.style.scss\";\n\nimport messages from \"./CaseSortDropdown.i18n\";\n\nconst CaseSortDropdown = ({ setSortColumn, sortColumn }) => {\n const [isVisible, setIsVisible] = useState(false);\n\n const handleVisibleChange = () => {\n setIsVisible(!isVisible);\n };\n\n const handleMenuClick = () => {\n setIsVisible(false);\n };\n\n const renderDropdownMessage = (sortColumn) => {\n switch (sortColumn) {\n case CaseColumns.UPDATED_ON:\n return ;\n case CaseColumns.DUE_AT:\n return ;\n default:\n return null;\n }\n };\n\n return (\n
    \n \n
    \n \n setSortColumn(CaseColumns.UPDATED_ON)}>\n \n {/*{formatMessage(messages.sortByUpdatedOn)}*/}\n \n setSortColumn(CaseColumns.DUE_AT)}>\n \n {/*{formatMessage(messages.sortByRemainingDays)}*/}\n \n \n }\n onVisibleChange={handleVisibleChange}\n visible={isVisible}\n trigger=\"click\"\n placement=\"bottomRight\">\n \n \n
    \n
    \n );\n};\n\nCaseSortDropdown.propTypes = {\n setSortColumn: PropTypes.func,\n sortColumn: PropTypes.string,\n};\n\nconst mapStateToProps = (state) => {\n return {\n sortColumn: state.headerReducer.sortColumn,\n };\n};\nconst mapDispatchToProps = {\n setSortColumn: setSortColumn,\n};\n\nexport default connect(mapStateToProps, mapDispatchToProps)(injectIntl(CaseSortDropdown));\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport Button from \"react-toolbox/lib/button\";\nimport { Card, CardTitle, CardText, CardActions } from \"react-toolbox/lib/card\";\n\nimport cardListStyle from \"../../../styles/cardList\";\nimport { parseToDate } from \"../../helpers/dates\";\nimport { highlightResults, formatHealthInsuranceNumber } from \"../../helpers/strings\";\nimport FormattedRelative from \"../shared/formattedRelative\";\nimport GenderAvatar from \"../shared/genderAvatar\";\nimport HighlightedText from \"../shared/highlightedText\";\n\nimport CaseRowIcons from \"./caseRowIcons\";\nimport InformationRequestStatusIcon from \"./informationRequestStatusIcon\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nclass CaseCard extends React.Component {\n static propTypes = {\n case: PropTypes.object,\n query: PropTypes.object,\n selectCase: PropTypes.func,\n caseUrl: PropTypes.string,\n };\n\n t(key, params) {\n return this.props.intl.formatMessage(key, params);\n }\n\n getCaseUrl(c: any): string {\n if (this.props.caseUrl) {\n return this.props.caseUrl.replace(\"{id}\", c.id).replace(\"{legacyId}\", c.legacyId);\n }\n\n return \"#\";\n }\n\n render() {\n const c = this.props.case;\n const p = c.patient;\n const h = highlightResults.bind(undefined, this.props.query);\n const ageText = this.t(baseI18n.global.age, { age: p.demographic.age });\n return (\n
  • \n \n }\n title={\n \n {\" \"}\n \n \n \n \n }\n subtitle={\n \n \n \n }\n />\n\n \n

    \n \n {this.t(baseI18n.global.from)}\n {this.t(baseI18n.global.colon)}\n \n \n

    \n

    \n \n {this.t(baseI18n.global.to)}\n {this.t(baseI18n.global.colon)}\n \n \n

    \n

    \n {c.status.name}{\" \"}\n \n \n \n

    \n \n
    \n\n \n this.props.selectCase(c)}\n href={this.getCaseUrl(c)}\n primary\n raised\n type=\"button\"\n />\n \n {c.legacyId}\n \n \n
    \n
  • \n );\n }\n}\n\nexport default injectIntl(CaseCard);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Relay from \"react-relay/classic\";\n\nimport PatientInformation from \"../shared/patientInformation\";\nimport { PersonInformation } from \"../shared/PersonInformation\";\n\nimport CaseCard from \"./caseCard\";\n\nclass CaseContainer extends React.Component {\n static propTypes = {\n case: PropTypes.object,\n query: PropTypes.string,\n caseComponent: PropTypes.func,\n onSelect: PropTypes.func,\n caseUrl: PropTypes.string,\n viewer: PropTypes.object,\n dispatchAction: PropTypes.func,\n requestRedispatchAction: PropTypes.func,\n cancelCaseAction: PropTypes.func,\n archiveCaseAction: PropTypes.func,\n };\n\n render() {\n const caseComponent = this.props.caseComponent ? this.props.caseComponent : CaseCard;\n return React.createElement(caseComponent, {\n selectCase: (c) => this.selectCase(c),\n caseUrl: this.props.caseUrl,\n case: this.props.case,\n query: this.props.query,\n viewer: this.props.viewer,\n dispatchAction: this.props.dispatchAction,\n requestRedispatchAction: this.props.requestRedispatchAction,\n cancelCaseAction: this.props.cancelCaseAction,\n archiveCaseAction: this.props.archiveCaseAction,\n });\n }\n\n selectCase(c) {\n if (this.props.onSelect) {\n this.props.onSelect(c);\n }\n }\n}\n\nexport default Relay.createContainer(CaseContainer, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n ${PatientInformation.getFragment(\"viewer\")}\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n id\n legacyId\n lookupId\n updatedAt\n informationRequestStatus\n viewedOn\n permissions {\n canCancel\n cancelRequiresReason\n }\n progression {\n ... on RequestPercentageProgression {\n percentage\n }\n\n ... on RequestTotalProgression {\n current\n total\n }\n }\n isDraftStatus\n status {\n code\n name\n isDraft\n }\n form {\n code\n name\n }\n patient {\n demographic {\n gender\n fullName\n birthday\n age\n }\n healthInsurance {\n provinceCode\n number\n }\n ${PatientInformation.getFragment(\"patient\")}\n }\n\n metadata\n data {\n __typename\n\n ... on RequestReportData {\n dueAt {\n date\n progression\n }\n fromDepartment {\n id\n name\n }\n toDepartment {\n id\n name\n }\n priority {\n name\n value\n delay\n icon\n }\n clinicalDomain {\n name\n }\n permissions {\n canArchiveRequest\n canArchiveReport\n }\n }\n\n ... on PatientAssessmentData {\n toDepartment {\n id\n name\n }\n permissions {\n canCancel\n canArchiveRequest\n canArchiveReport\n }\n clinicalDomain {\n name\n }\n dueAt {\n date\n progression\n }\n }\n\n ... on ThoracicSurgeryData {\n fromDepartment {\n id\n name\n }\n toDepartment {\n id\n name\n }\n clinicalDomain {\n name\n }\n permissions {\n canCancel\n cancelRequiresReason\n }\n }\n\n ... on PatientConversationData {\n fromDepartment {\n name\n }\n hasScheduledMeetings\n permissions {\n canArchiveReport\n } \n }\n\n ... on DynamicFormCaseData {\n permissions {\n canArchiveRequest\n }\n } \n\n ... on ConversationConsultData {\n dueAt {\n date\n progression\n }\n extraData {\n __typename\n ... on ClinicianConversationConsultData {\n isReferralRecommended\n }\n }\n fromDepartment {\n id\n name\n }\n toDepartment {\n id\n name\n }\n permissions {\n canDispatch\n canRedispatch\n canRequestRedispatch\n canCancel\n cancelRequiresReason\n canArchiveRequest\n canArchiveReport\n }\n reporter {\n person {\n ${PersonInformation.getFragment(\"person\")}\n }\n }\n requester {\n person {\n ${PersonInformation.getFragment(\"person\")}\n }\n }\n clinicalDomain {\n name\n }\n priority {\n name\n value\n delay\n icon\n }\n }\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Button from \"react-toolbox/lib/button\";\n\nimport caseStyle from \"../../../styles/cases\";\n\nclass CaseTableHeader extends React.Component {\n static propTypes = {\n intl: intlShape,\n dispatch: PropTypes.func,\n label: PropTypes.object,\n filtering: PropTypes.string,\n name: PropTypes.string,\n onClick: PropTypes.func,\n ascending: PropTypes.bool,\n };\n\n constructor(props) {\n super(props);\n }\n\n render() {\n const handleClick = () => {\n return this.props.onClick ? this.props.onClick() : null;\n };\n return (\n \n );\n }\n}\n\nexport default injectIntl(CaseTableHeader);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport Button from \"react-toolbox/lib/button\";\nimport Table from \"react-toolbox/lib/table\";\n\nimport style from \"../../../styles/cardList\";\nimport caseStyle from \"../../../styles/cases\";\nimport { Orders, CaseColumns } from \"../../constants\";\nimport { parseToDate } from \"../../helpers/dates\";\nimport { highlightResults } from \"../../helpers/strings\";\nimport { setSortColumn, setSortOrder } from \"../../stores/app/actions\";\nimport FormattedDateTime from \"../shared/formattedDateTime\";\nimport HighlightedText from \"../shared/highlightedText\";\nimport SpinnerButton from \"../shared/inputs/custom/spinnerButton\";\n\nimport { getCaseLabels } from \"./caseLabels\";\nimport { getActions, renderActions } from \"./caseRow\";\nimport CaseTableHeader from \"./caseTableHeader\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nconst messages = defineMessages({\n columnUpdatedOn: {\n id: \"caseTable.columnUpdatedOn\",\n description: \"Updated On label for table\",\n defaultMessage: \"Last Update\",\n },\n columnOriginDepartment: {\n id: \"caseTable.columnOriginDepartment\",\n description: \"Origin Department label for table\",\n defaultMessage: \"Origin Department\",\n },\n columnDestinationDepartment: {\n id: \"caseTable.columnDestinationDepartment\",\n description: \"Destination Department label for table\",\n defaultMessage: \"Dest. Department\",\n },\n columnCaseType: {\n id: \"caseTable.columnCaseType\",\n description: \"Case Type label for table\",\n defaultMessage: \"Case Type\",\n },\n columnAction: {\n id: \"caseTable.columnAction\",\n description: \"Action label for table\",\n defaultMessage: \"Action\",\n },\n columnExtraAction: {\n id: \"caseTable.columnExtraAction\",\n description: \"Extra Action label for table\",\n defaultMessage: \"Extra Action\",\n },\n columnStatus: {\n id: \"caseTable.columnStatus\",\n description: \"Status label for table\",\n defaultMessage: \"Status\",\n },\n});\n\nclass CaseTable extends React.Component {\n static propTypes = {\n intl: intlShape,\n dispatch: PropTypes.func,\n cases: PropTypes.object,\n query: PropTypes.string,\n filtering: PropTypes.string,\n ascending: PropTypes.bool,\n onSelect: PropTypes.func,\n caseUrl: PropTypes.string,\n casesTotals: PropTypes.number,\n dispatchAction: PropTypes.func,\n requestRedispatchAction: PropTypes.func,\n cancelCaseAction: PropTypes.func,\n archiveCaseAction: PropTypes.func,\n nextAction: PropTypes.func,\n prevAction: PropTypes.func,\n max: PropTypes.number,\n offset: PropTypes.number,\n fetching: PropTypes.bool,\n };\n\n state = {\n selected: [],\n fetching: false,\n };\n\n constructor(props) {\n super(props);\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillReceiveProps(nextProps) {\n this.setState({ fetching: nextProps.fetching });\n }\n\n getModel = () => {\n return {\n updatedOn: {\n title: (\n this.handleClick(CaseColumns.UPDATED_ON)}\n ascending={this.props.ascending}\n />\n ),\n type: String,\n },\n caseId: {\n title: (\n this.handleClick(CaseColumns.LEGACY_ID)}\n ascending={this.props.ascending}\n />\n ),\n type: String,\n },\n fromDepartment: {\n title: (\n this.handleClick(CaseColumns.ORIGIN_DEPT)}\n ascending={this.props.ascending}\n />\n ),\n type: String,\n },\n toDepartment: {\n title: (\n this.handleClick(CaseColumns.DEST_DEPT)}\n ascending={this.props.ascending}\n />\n ),\n type: String,\n },\n caseType: {\n title: (\n this.handleClick(CaseColumns.CASE_TYPE)}\n ascending={this.props.ascending}\n />\n ),\n type: String,\n },\n patientFirstName: {\n title: (\n this.handleClick(CaseColumns.FIRST_NAME)}\n ascending={this.props.ascending}\n />\n ),\n type: String,\n },\n patientLastName: {\n title: (\n this.handleClick(CaseColumns.LAST_NAME)}\n ascending={this.props.ascending}\n />\n ),\n type: String,\n },\n patientGender: {\n title: (\n this.handleClick(CaseColumns.GENDER)}\n ascending={this.props.ascending}\n />\n ),\n type: String,\n },\n patientBirthday: {\n title: (\n this.handleClick(CaseColumns.BIRTHDAY)}\n ascending={this.props.ascending}\n />\n ),\n type: String,\n },\n status: {\n title: (\n this.handleClick(CaseColumns.STATUS)}\n ascending={this.props.ascending}\n />\n ),\n type: String,\n },\n priority: {\n title: (\n this.handleClick(CaseColumns.PRIORITY)}\n ascending={this.props.ascending}\n />\n ),\n type: String,\n },\n clinicalDomain: {\n title: (\n this.handleClick(CaseColumns.CLINICAL_DOMAIN)}\n ascending={this.props.ascending}\n />\n ),\n },\n action: {\n title: ,\n type: Object,\n },\n extraAction: {\n title: (\n \n ),\n type: Object,\n },\n };\n };\n\n handleClick(columnName) {\n this.props.dispatch(setSortOrder(this.props.ascending ? Orders.DESCENDING : Orders.ASCENDING));\n this.props.dispatch(setSortColumn(columnName));\n }\n\n getRow = (caseEdges) => {\n return caseEdges.map((c) => {\n const caseLabels = getCaseLabels(\n c.node.data.__typename, // eslint-disable-line\n c.node.data.extraData ? c.node.data.extraData.__typename : null,\n c.node.data.clinicalDomain ? c.node.data.clinicalDomain.name : null,\n this.props.intl\n );\n return {\n updatedOn: ,\n caseType: this.renderText(caseLabels.label),\n clinicalDomain: this.renderText(caseLabels.clinicalDomain),\n caseId: this.renderText(c.node.legacyId),\n status: this.renderText(c.node.status.name),\n priority: this.renderText(c.node.data.priority ? c.node.data.priority.name : null),\n patientFirstName: this.renderText(c.node.patient.demographic.firstName),\n patientLastName: this.renderText(c.node.patient.demographic.lastName),\n patientGender: this.renderText(c.node.patient.demographic.gender.charAt(0)),\n patientBirthday: this.renderText(c.node.patient.demographic.birthday),\n fromDepartment: this.renderText(\n c.node.data.fromDepartment ? c.node.data.fromDepartment.name : null\n ),\n toDepartment: this.renderText(\n c.node.data.toDepartment ? c.node.data.toDepartment.name : null\n ),\n action: this.getAction(c),\n extraAction: renderActions(\n getActions(\n c.node,\n this.props.dispatchAction,\n this.props.requestRedispatchAction,\n this.props.cancelCaseAction,\n this.props.archiveCaseAction,\n this.props.intl\n ),\n style\n ),\n };\n });\n };\n\n renderText(text) {\n if (!text) {\n return;\n }\n const h = highlightResults.bind(undefined, this.props.query);\n return ;\n }\n\n getAction(c) {\n return (\n this.selectCase(e, c)}\n href={this.getCaseUrl(c)}\n />\n );\n }\n\n selectCase(e: Event, c: any): void {\n if (this.props.onSelect) {\n this.props.onSelect(c);\n }\n\n if (!this.props.caseUrl) {\n e.preventDefault();\n }\n }\n\n getCaseUrl(c: any): string {\n if (this.props.caseUrl) {\n return this.props.caseUrl.replace(\"{id}\", c.node.id).replace(\"{legacyId}\", c.node.legacyId);\n }\n\n return \"#\";\n }\n\n handleSelect = (selected) => {\n this.setState({ selected });\n };\n\n renderNavigation() {\n return (\n
    \n \n \n = this.props.casesTotals ? true : false}\n onClick={this.props.nextAction}\n raised\n />\n
    \n );\n }\n\n render() {\n return (\n
    \n \n {this.renderNavigation()}\n
    \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(connect()(CaseTable)), {\n fragments: {\n cases: () => Relay.QL`\n fragment on CaseConnection {\n edges {\n node{\n id\n legacyId\n updatedAt\n status {\n name\n }\n patient {\n demographic {\n gender\n firstName\n lastName\n birthday\n age\n }\n }\n\n data {\n __typename\n\n ... on RequestReportData {\n dueAt {\n date\n progression\n }\n fromDepartment {\n name\n }\n toDepartment {\n name\n }\n priority {\n name\n }\n clinicalDomain {\n name\n }\n }\n\n ... on PatientAssessmentData {\n toDepartment {\n name\n }\n permissions {\n canCancel\n }\n }\n \n ... on ConversationConsultData {\n dueAt {\n date\n progression\n }\n extraData {\n ... on ClinicianConversationConsultData {\n isReferralRecommended\n }\n }\n fromDepartment {\n name\n }\n toDepartment {\n name\n }\n permissions {\n canDispatch\n }\n clinicalDomain {\n name\n }\n }\n }\n }\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, FormattedMessage, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\nimport { Tab, Tabs } from \"react-toolbox/lib/tabs\";\n\nimport { CaseSortDropdown } from \"~/src/js/components/cases/CaseSortDropdown\";\n\nimport cardListStyle from \"../../../styles/cardList\";\nimport formStyle from \"../../../styles/forms\";\nimport { CaseTypes, Orders, URLs } from \"../../constants\";\nimport { featureKeys, isEnabled } from \"../../helpers/features\";\nimport { onLanguageChange } from \"../../helpers/language\";\nimport { store } from \"../../stores/store\";\nimport SpinnerButton from \"../shared/inputs/custom/spinnerButton\";\n\nimport CaseArchiveDialog from \"./caseArchiveDialog\";\nimport CaseCancelDialog from \"./caseCancelDialog\";\nimport CaseContainer from \"./caseContainer\";\nimport CaseTable from \"./caseTable\";\n\nimport i18n from \"./cases.i18n\";\nimport caseStyle from \"./cases.style\";\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n eConsultFilterAll: {\n id: \"caseSearch.eConsultFilterAll\",\n description: \"eConsult filter option: show all\",\n defaultMessage: \"All\",\n },\n eConsultFilterDraft: {\n id: \"caseSearch.eConsultFilterDraft\",\n description: \"eConsult filter option: show drafts\",\n defaultMessage: \"Drafts\",\n },\n eConsultFilterInformationRequested: {\n id: \"caseSearch.eConsultFilterInformationRequested\",\n description: \"eConsult filter option: show information requester\",\n defaultMessage: \"Information requested\",\n },\n eConsultFilterWithReport: {\n id: \"caseSearch.eConsultFilterWithReport\",\n description: \"eConsult filter option: show with report\",\n defaultMessage: \"With report\",\n },\n eConsultFilterWithReferral: {\n id: \"caseSearch.eConsultFilterWithReferral\",\n description: \"eConsult filter option: show with referral\",\n defaultMessage: \"With referral\",\n },\n dispatchFilterAwaitingReport: {\n id: \"caseSearch.dispatchFilterAwaitingReport\",\n description: \"Dispatch filter option: Show requests awaiting report\",\n defaultMessage: \"Report in Progress\",\n },\n dispatchFilterAwaitingInformation: {\n id: \"caseSearch.dispatchFilterAwaitingInformation\",\n description: \"Dispatch filter option: Show requests awaiting information\",\n defaultMessage: \"Awaiting information\",\n },\n dispatchFilterAwaitingReview: {\n id: \"caseSearch.dispatchFilterAwaitingReview\",\n description: \"Dispatch filter option: show reports awaiting review\",\n defaultMessage: \"Awaiting review\",\n },\n});\n\nexport class CaseSearch extends React.Component {\n static propTypes = {\n intl: intlShape,\n caseSearch: PropTypes.object,\n viewer: PropTypes.object,\n type: PropTypes.string.isRequired,\n query: PropTypes.string,\n sortOrder: PropTypes.string,\n sortColumn: PropTypes.string,\n caseComponent: PropTypes.func,\n onSelect: PropTypes.func,\n caseUrl: PropTypes.string,\n showStartRequestLink: PropTypes.bool,\n dispatchAction: PropTypes.func,\n requestRedispatchAction: PropTypes.func,\n dispatch: PropTypes.func,\n tableView: PropTypes.bool,\n status: PropTypes.any,\n };\n\n constructor(props) {\n super(props);\n this.state = {\n first: 12,\n incrementation: 12,\n searching: false,\n loadingMore: false,\n eConsultFilterIndex: 0,\n dispatchFilterIndex: 0,\n tableFirst: 12,\n tableOffset: 0,\n activeCase: null,\n };\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillMount() {\n this.props.relay.setVariables({\n type: this.props.type,\n query: this.props.query,\n sortOrder: this.props.sortOrder,\n sortColumn: this.props.sortColumn,\n });\n\n onLanguageChange(this.props.relay.forceFetch.bind(this));\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillReceiveProps(nextProps) {\n if (nextProps.tableView !== this.props.tableView) {\n this.forceFetchVariables(nextProps);\n } else if (\n nextProps.query !== this.props.query ||\n nextProps.type !== this.props.type ||\n nextProps.sortColumn !== this.props.sortColumn ||\n nextProps.sortOrder !== this.props.sortOrder\n ) {\n this.updateVariables(nextProps);\n }\n }\n\n forceFetchVariables(nextProps) {\n this.setState({ searching: true });\n this.props.relay.forceFetch(\n {\n type: nextProps.type,\n query: nextProps.query,\n sortColumn: nextProps.sortColumn,\n sortOrder: nextProps.sortOrder,\n first: 12,\n after: null,\n before: null,\n last: null,\n },\n (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ searching: false, tableFirst: 12, tableOffset: 0 });\n }\n }\n );\n }\n\n updateVariables(nextProps) {\n this.setState({ searching: true });\n this.props.relay.setVariables(\n {\n type: nextProps.type,\n query: nextProps.query,\n sortColumn: nextProps.sortColumn,\n sortOrder: nextProps.sortOrder,\n },\n (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ searching: false });\n }\n }\n );\n }\n\n showEConsultFilter() {\n const { features } = this.props.caseSearch;\n return (\n isEnabled(features, featureKeys.RequestEConsultCreate) &&\n this.props.relay.variables.type === CaseTypes.IN_PROGRESS\n );\n }\n\n showDispatchFilter() {\n const { currentUser } = this.props.caseSearch;\n return (\n currentUser &&\n currentUser.isDispatcher &&\n this.props.relay.variables.type === CaseTypes.WAITING\n );\n }\n\n render() {\n const { features } = this.props.caseSearch;\n\n return (\n
    \n
    \n {this.showEConsultFilter() && this.renderEConsultFilter()}\n {this.showDispatchFilter() && this.renderDispatchFilter()}\n {isEnabled(features, featureKeys.CanSortCaseList) && }\n
    \n \n
    \n
    \n\n {!this.state.searching && this.renderCases()}\n {this.renderCancelCaseDialog()}\n {this.renderArchiveCaseDialog()}\n
    \n );\n }\n\n handleEConsultFilterChange(index: number): void {\n this.setState({ eConsultFilterIndex: index });\n }\n\n renderEConsultFilter() {\n const t = this.props.intl.formatMessage;\n return (\n
    \n this.handleEConsultFilterChange(i)}\n theme={caseStyle}>\n e.preventDefault()}>\n {t(messages.eConsultFilterAll)}\n \n }\n />\n e.preventDefault()}>\n {t(messages.eConsultFilterDraft)}\n \n }\n />\n e.preventDefault()}>\n {t(messages.eConsultFilterInformationRequested)}\n \n }\n />\n e.preventDefault()}>\n {t(messages.eConsultFilterWithReport)}\n \n }\n />\n e.preventDefault()}>\n {t(messages.eConsultFilterWithReferral)}\n \n }\n />\n \n
    \n );\n }\n\n renderCancelCaseDialog() {\n return (\n this.setState({ activeCase: null })}\n onCancelSuccess={() => this.setState({ activeCase: null })}\n onCancelError={() => {}}\n />\n );\n }\n\n renderArchiveCaseDialog() {\n return (\n this.setState({ activeCaseArchive: null })}\n onArchiveSuccess={() => this.setState({ activeCaseArchive: null })}\n onArchiveError={() => {}}\n />\n );\n }\n\n handleDispatchFilterChange(index: number): void {\n this.setState({ dispatchFilterIndex: index });\n }\n\n renderDispatchFilter() {\n const t = this.props.intl.formatMessage;\n return (\n
    \n this.handleDispatchFilterChange(i)}\n theme={caseStyle}>\n e.preventDefault()}>\n {t(messages.eConsultFilterAll)}\n \n }\n />\n e.preventDefault()}>\n {t(messages.dispatchFilterAwaitingReport)}\n \n }\n />\n e.preventDefault()}>\n {t(messages.dispatchFilterAwaitingInformation)}\n \n }\n />\n e.preventDefault()}>\n {t(messages.dispatchFilterAwaitingReview)}\n \n }\n />\n \n
    \n );\n }\n\n renderCases() {\n const { cases } = this.props.caseSearch;\n\n let caseEdges = cases.edges;\n const hasNextPage = cases.pageInfo.hasNextPage;\n\n if (this.showEConsultFilter()) {\n switch (this.state.eConsultFilterIndex) {\n case 1: // Drafts\n caseEdges = caseEdges.filter((x) => x.node.status.code === \"1\");\n break;\n case 2: // Information requested\n caseEdges = caseEdges.filter((x) => x.node.status.code === \"50\");\n break;\n case 3: // With report\n caseEdges = caseEdges.filter(\n (x) => x.node.status.code === \"51\" && !x.node.data.extraData.isReferralRecommended\n );\n break;\n case 4: // With referral\n caseEdges = caseEdges.filter(\n (x) => x.node.status.code === \"51\" && x.node.data.extraData.isReferralRecommended\n );\n break;\n default:\n // All means we filter nothing\n break;\n }\n }\n\n if (this.showDispatchFilter()) {\n switch (this.state.dispatchFilterIndex) {\n case 1: // Awaiting report\n caseEdges = caseEdges.filter((x) => x.node.status.code === \"4\");\n break;\n case 2: // Awaiting information\n caseEdges = caseEdges.filter((x) => x.node.status.code === \"50\");\n break;\n case 3: // Awaiting review\n caseEdges = caseEdges.filter((x) => x.node.status.code === \"51\");\n break;\n default:\n // All means we filter nothing\n break;\n }\n }\n\n if (caseEdges.length === 0) {\n return (\n

    \n {this.props.intl.formatMessage(i18n.noneFound)}\n {this.props.showStartRequestLink && (\n \n {\" \"}\n \n \n \n \n )}\n

    \n );\n }\n\n return (\n
    \n
    \n {this.props.tableView\n ? this.renderCaseTable(cases)\n : this.renderCaseRows(caseEdges, hasNextPage)}\n
    \n );\n }\n\n renderCaseRows(caseEdges, hasNextPage) {\n const moreLabel = this.props.intl.formatMessage(baseI18n.global.more);\n return (\n
    \n
      \n {caseEdges.map((c) => (\n this.setState({ activeCaseArchive: c })}\n />\n ))}\n
    \n {hasNextPage && (\n
    \n this.loadMore()}\n label={moreLabel}\n />\n
    \n )}\n
    \n );\n }\n\n renderCaseTable(cases) {\n return (\n this.nextPage()}\n prevAction={() => this.prevPage()}\n max={this.state.tableFirst}\n offset={this.state.tableOffset}\n filtering={this.props.sortColumn}\n ascending={this.props.sortOrder === Orders.ASCENDING ? true : false}\n cancelCaseAction={this.cancelCase.bind(this)}\n fetching={this.state.loadingMore}\n />\n );\n }\n\n cancelCase(c) {\n this.setState({ activeCase: c });\n }\n\n selectCase(cas): void {\n if (this.props.onSelect) {\n this.props.onSelect(cas);\n }\n }\n\n loadMore(): void {\n const first = this.state.first + this.state.incrementation;\n this.setState({ first, loadingMore: true });\n this.props.relay.setVariables({ first }, (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ loadingMore: false });\n }\n });\n }\n\n nextPage(): void {\n this.setState({\n loadingMore: true,\n tableFirst: this.state.tableFirst + this.state.incrementation,\n tableOffset: this.state.tableOffset + this.state.incrementation,\n });\n this.props.relay.setVariables(\n {\n first: 12,\n after: btoa(\"offset:\" + this.state.tableFirst),\n before: null,\n last: null,\n },\n (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ loadingMore: false });\n }\n }\n );\n }\n\n prevPage(): void {\n this.setState({\n tableFirst: this.state.tableFirst - this.state.incrementation,\n tableOffset: this.state.tableOffset - this.state.incrementation,\n });\n this.props.relay.setVariables(\n {\n first: null,\n after: null,\n before: btoa(\"offset:\" + this.state.tableOffset),\n last: 12,\n },\n (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ loadingMore: false });\n }\n }\n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n query: state.headerReducer.query || null,\n sortOrder: state.headerReducer.sortOrder || null,\n sortColumn: state.headerReducer.sortColumn || null,\n tableView: state.settingsReducer.tableView,\n };\n};\n\nconst ConnectedCaseSearch = connect(mapStateToProps)(CaseSearch);\n\nexport default Relay.createContainer(injectIntl(ConnectedCaseSearch), {\n initialVariables: {\n isTableView: store.getState().settingsReducer.tableView || false,\n sortOrder: store.getState().headerReducer.sortOrder || null,\n sortColumn: store.getState().headerReducer.sortColumn || null,\n query: null,\n before: null,\n after: null,\n last: null,\n first: 12,\n type: \"IN_PROGRESS\",\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n isTableView: store.getState().settingsReducer.tableView || false,\n query: store.getState().headerReducer.query || null,\n };\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n ${CaseContainer.getFragment(\"viewer\")}\n ${CaseCancelDialog.getFragment(\"viewer\")}\n ${CaseArchiveDialog.getFragment(\"viewer\")}\n }\n `,\n caseSearch: () => Relay.QL`\n fragment on RootQuery {\n currentUser {\n isSpecialist\n isDispatcher\n }\n features\n casesTotals(q: $query) @include(if: $isTableView){\n IN_PROGRESS\n WAITING\n COMPLETED\n ARCHIVED\n }\n cases(q: $query, type: $type, first: $first, after: $after, before: $before, last: $last, sortOrder: $sortOrder, sortColumn: $sortColumn) {\n edges {\n node {\n id\n status {\n code\n }\n\n data {\n ... on ConversationConsultData {\n extraData {\n ... on ClinicianConversationConsultData {\n isReferralRecommended\n }\n }\n }\n }\n ${CaseContainer.getFragment(\"case\")}\n ${CaseCancelDialog.getFragment(\"case\")}\n }\n cursor\n }\n pageInfo {\n hasNextPage\n }\n ${CaseTable.getFragment(\"cases\")}\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React, { Fragment, useState, useEffect } from \"react\";\nimport { SearchInput, Modal } from \"@akinoxsolutions/gerudo-ui\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport { IconButton } from \"react-toolbox/lib/button\";\n\nimport MobileMediaQuery from \"~/src/js/components/shared/MediaQuery/MobileMediaQuery\";\nimport { setHeaderQuery } from \"~/src/js/stores/app/actions\";\nimport { useToggle } from \"~/src/js/hooks\";\n\nimport { messages } from \"./mainNavigation\";\n\nimport styles from \"./searchToolbar.style\";\n\nconst SearchToolbar = ({\n intl: { formatMessage },\n query,\n onQueryChange,\n disabled,\n addonBefore,\n}) => {\n const [isVisible, setIsVisible] = useToggle(false);\n const [queryValue, setQueryValue] = useState(query || \"\");\n\n useEffect(() => {\n setQueryValue(query || \"\");\n }, [query]);\n\n const onModalSearch = () => {\n onQueryChange(queryValue);\n setIsVisible();\n };\n\n const onBlur = () => {\n onModalSearch();\n };\n\n const onChange = (event) => {\n setQueryValue(event.target.value);\n };\n\n const searchInput = (\n \n );\n\n return (\n \n {(matches) => {\n if (matches) {\n return (\n \n \n null}>\n {searchInput}\n \n \n );\n }\n\n return React.cloneElement(searchInput, {\n className: styles[\"search-bar\"],\n onSearch: onQueryChange,\n });\n }}\n \n );\n};\n\nSearchToolbar.propTypes = {\n intl: intlShape,\n onQueryChange: PropTypes.func.isRequired,\n query: PropTypes.string,\n disabled: PropTypes.bool,\n addonBefore: PropTypes.node,\n};\n\nconst mapStateToProps = (state) => {\n return {\n query: state.headerReducer.query || null,\n };\n};\n\nconst mapDispatchToProps = (dispatch) => {\n return {\n onQueryChange: (query) => {\n dispatch(setHeaderQuery(query));\n },\n };\n};\n\nexport default injectIntl(connect(mapStateToProps, mapDispatchToProps)(SearchToolbar));\n","import PropTypes from \"prop-types\";\nimport React, { Fragment } from \"react\";\nimport { injectIntl, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport { locationShape } from \"react-router\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport { IconMenu, MenuItem } from \"react-toolbox/lib/menu\";\n\nimport { CaseColumns } from \"../../constants\";\nimport { clientFeatureKeys, isClientFeatureEnabled } from \"../../helpers/features\";\nimport {\n enableTableView,\n disableTableView,\n setSortColumn,\n toggleNotificationDrawerActive,\n} from \"../../stores/app/actions\";\nimport SearchToolbar from \"../layout/searchToolbar\";\n\nimport appBarIconsStyle from \"../shared/appBarIcons.style\";\nimport i18n from \"./cases.i18n\";\n\nconst caseMap = {\n IN_PROGRESS: \"inProgress\",\n WAITING: \"waiting\",\n COMPLETED: \"completed\",\n ARCHIVED: \"archived\",\n};\n\nexport const messages = defineMessages({\n viewCasesAsRow: {\n id: \"caseHeader.viewCasesAsRow\",\n description: \"View as caserow label for tableheader\",\n defaultMessage: \"Display cases as list\",\n },\n viewCasesAsTable: {\n id: \"caseHeader.viewCasesAsTable\",\n description: \"View as casetable label for tableheader\",\n defaultMessage: \"Display cases as table\",\n },\n});\n\nclass CasesHeader extends React.Component {\n static propTypes = {\n routeParams: PropTypes.object,\n location: locationShape,\n dispatch: PropTypes.func,\n tableView: PropTypes.bool,\n isLoading: PropTypes.bool,\n };\n\n disableTableView() {\n this.props.dispatch(disableTableView());\n this.props.dispatch(setSortColumn(CaseColumns.UPDATED_ON));\n }\n\n render() {\n const f = this.props.intl.formatMessage;\n const key = caseMap[this.props.routeParams.type];\n const isNewPage = this.props.location.pathname.indexOf(\"/new\") >= 0;\n return (\n \n
    \n {isNewPage\n ? f({ id: \"cases.newCaseTitle\" })\n : getTitleText(f, this.props.routeParams.type)}\n
    \n
    \n {!isNewPage && isClientFeatureEnabled(clientFeatureKeys.CaseGrid) && (\n \n {this.props.tableView ? (\n this.disableTableView()}\n />\n ) : (\n this.props.dispatch(enableTableView())}\n />\n )}\n \n )}\n {isClientFeatureEnabled(clientFeatureKeys.ActivityStream) && (\n
    \n this.props.dispatch(toggleNotificationDrawerActive())}\n />\n
    \n )}\n {key ? : null}\n
    \n
    \n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n tableView: state.settingsReducer.tableView,\n };\n};\n\nexport function getTitleText(f: Function, type: string) {\n const key = caseMap[type];\n return key ? `${f(i18n.headerTitle)} : ${f(i18n[key])}` : f(i18n.headerTitle);\n}\n\nexport default injectIntl(connect(mapStateToProps)(CasesHeader));\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter, routerShape, locationShape } from \"react-router\";\n\nimport { CaseTypes, URLs } from \"../../constants\";\nimport { setTitle } from \"../../helpers/document\";\nimport { featureKeys, isEnabled } from \"../../helpers/features\";\nimport { subscribeToUpdates, unsubscribeFromUpdates } from \"../../helpers/signalr\";\nimport { store } from \"../../stores/store\";\n\nimport CaseRow from \"./caseRow\";\nimport CaseSearch from \"./caseSearch\";\nimport { getTitleText } from \"./header\";\n\nclass CasesListPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n router: routerShape,\n location: locationShape,\n main: PropTypes.any,\n intl: intlShape,\n };\n\n componentDidMount() {\n const f = this.props.intl.formatMessage;\n document.title = setTitle(f.bind(this), getTitleText(f, this.props.relay.variables.type));\n\n subscribeToUpdates(\"casesListPage:\" + this.props.relay.variables.type, (evt) => {\n this.checkEvent(evt);\n });\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillReceiveProps(nextProps) {\n if (this.props.relay.variables.type !== nextProps.relay.variables.type) {\n unsubscribeFromUpdates(\"casesListPage:\" + this.props.relay.variables.type);\n subscribeToUpdates(\"casesListPage:\" + nextProps.relay.variables.type, (evt) => {\n this.checkEvent(evt);\n });\n }\n }\n\n checkEvent(evt) {\n if (evt.type === \"CaseUpdated\" && !evt.payload.onlyAffectsCase) {\n this.props.relay.forceFetch();\n }\n }\n\n componentWillUnmount() {\n unsubscribeFromUpdates(\"casesListPage:\" + this.props.relay.variables.type);\n }\n\n render() {\n return (\n
    \n \n this.props.router.push(this.props.location.pathname + \"/dispatch/\" + c.legacyId)\n }\n requestRedispatchAction={(c) =>\n this.props.router.push(\n this.props.location.pathname + \"/request-redispatch/\" + c.legacyId\n )\n }\n />\n {this.props.main || this.props.children}\n
    \n );\n }\n}\n\nexport default Relay.createContainer(withRouter(injectIntl(CasesListPage)), {\n initialVariables: {\n type: CaseTypes.IN_PROGRESS,\n sortOrder: store.getState().headerReducer.sortOrder || null,\n sortColumn: store.getState().headerReducer.sortColumn || null,\n },\n fragments: {\n viewer: ({ type, sortOrder, sortColumn }) => Relay.QL`\n fragment on RootQuery {\n features\n ${CaseSearch.getFragment(\"viewer\")}\n ${CaseSearch.getFragment(\"caseSearch\", { type }, { sortOrder }, { sortColumn })}\n }`,\n },\n});\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Chip from \"react-toolbox/lib/chip\";\n\nimport style from \"./cases.style\";\n\nexport default function CaseTotalChip({ count, total, primary, className, ...others }) {\n const classes = classnames(className, style[\"case-total-chip\"], {\n [style[\"primary\"]]: primary,\n });\n return (\n \n {count}\n {total !== undefined && total !== null ? \"/\" + total : \"\"}\n \n );\n}\n\nCaseTotalChip.propTypes = {\n className: PropTypes.string,\n count: PropTypes.number,\n total: PropTypes.number,\n primary: PropTypes.bool,\n};\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { FontIcon } from \"react-toolbox/lib/font_icon\";\nimport { Tab, Tabs } from \"react-toolbox/lib/tabs\";\n\nimport { CaseTypes } from \"../../constants\";\nimport { store } from \"../../stores/store\";\n\nimport CaseTotalChip from \"./caseTotalChip\";\n\nimport i18n from \"./cases.i18n\";\nimport caseStyle from \"./cases.style\";\n\nexport class CaseTabs extends React.Component {\n static propTypes = {\n main: PropTypes.object,\n query: PropTypes.string,\n totals: PropTypes.object.isRequired,\n type: PropTypes.string,\n onTypeChange: PropTypes.func,\n typeUrl: PropTypes.string,\n };\n\n static indexMap = {\n 0: CaseTypes.IN_PROGRESS,\n 1: CaseTypes.WAITING,\n 2: CaseTypes.COMPLETED,\n 3: CaseTypes.ARCHIVED,\n };\n\n constructor(props) {\n super(props);\n this.reverseIndexMap = {};\n Object.keys(CaseTabs.indexMap).forEach((key) => {\n this.reverseIndexMap[CaseTabs.indexMap[key]] = parseInt(key);\n });\n\n let index = 0;\n if (props.type) {\n index = this.reverseIndexMap[props.type];\n }\n\n this.state = {\n index,\n };\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillReceiveProps(nextProps) {\n this.setState({ index: this.reverseIndexMap[nextProps.type] });\n if (nextProps.query !== this.props.query) {\n this.updateVariables(nextProps);\n }\n }\n\n updateVariables(nextProps) {\n this.props.relay.setVariables({ query: nextProps.query });\n }\n\n handleTabChange(index): void {\n this.setState({ index });\n if (this.props.onTypeChange) {\n this.props.onTypeChange(CaseTabs.indexMap[index]);\n }\n }\n\n getTabLabel(type: string, icon: string, text: string): any {\n const f = this.props.intl.formatMessage;\n const casesTotals = this.props.totals.casesTotals || {};\n const originalTotals = this.props.totals.originalCasesTotals || {};\n const children = [\n ,\n \" \",\n \n {f(text)}\n ,\n ,\n ];\n\n if (this.props.typeUrl) {\n return (\n {\n if (this.props.onTypeChange) {\n e.preventDefault();\n this.props.onTypeChange(type);\n }\n }}>\n {children}\n \n );\n }\n\n return
    {children}
    ;\n }\n\n render() {\n return (\n
    \n this.handleTabChange(i)}\n theme={caseStyle}>\n \n \n \n \n \n {this.props.main || this.props.children}\n
    \n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n query: state.headerReducer.query || null,\n };\n};\n\nconst ConnectedCasesTabs = connect(mapStateToProps)(CaseTabs);\n\nexport default Relay.createContainer(injectIntl(ConnectedCasesTabs), {\n initialVariables: {\n query: null,\n },\n prepareVariables: (prevVariables) => {\n return Object.assign({}, prevVariables, {\n query: store.getState().headerReducer.query || null,\n });\n },\n fragments: {\n totals: () => Relay.QL`\n fragment on RootQuery {\n casesTotals(q: $query) {\n IN_PROGRESS\n WAITING\n COMPLETED\n ARCHIVED\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter } from \"react-router\";\nimport { routerShape } from \"react-router/lib/PropTypes\";\nimport { Button } from \"react-toolbox/lib/button\";\n\nimport cardListStyle from \"../../../styles/cardList\";\nimport { CaseTypes, URLs } from \"../../constants\";\nimport { featureKeys, isEnabled } from \"../../helpers/features\";\nimport { subscribeToUpdates, unsubscribeFromUpdates } from \"../../helpers/signalr\";\n\nimport CaseTabs from \"./caseTabs\";\n\nimport caseI18n from \"./cases.i18n\";\n\nclass CasesTabsPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n router: routerShape,\n typeUrl: PropTypes.string.isRequired,\n };\n\n componentDidMount() {\n subscribeToUpdates(\"casesTabsPage\", (evt) => {\n this.checkEvent(evt);\n });\n }\n\n checkEvent(evt) {\n if (evt.type === \"CaseUpdated\" && !evt.payload.onlyAffectsCase) {\n this.props.relay.forceFetch();\n }\n }\n\n componentWillUnmount() {\n unsubscribeFromUpdates(\"casesTabsPage\");\n }\n\n render() {\n const { viewer, params, typeUrl } = this.props;\n return (\n
    \n {viewer.currentUser && viewer.currentUser.isPatient && this.renderPatientHelp()}\n \n
    \n );\n }\n\n renderPatientHelp() {\n const {\n viewer: { features },\n } = this.props;\n return (\n
    \n

    \n {isEnabled(features, featureKeys.RequestCreate) ? (\n Welcome to McGill Telehealth. This page lets you see your filled forms and requests.
    \n If you've been invited to complete a form, please click the following button:`}\n />\n ) : (\n Welcome to McGill Telehealth. This page lets you see your filled forms and requests.
    \n If you've been invited to complete a form, it should be below in the \"Active\" tab.`}\n />\n )}\n

    \n {isEnabled(features, featureKeys.RequestCreate) && (\n \n )}\n
    \n );\n }\n}\n\nexport default Relay.createContainer(withRouter(injectIntl(CasesTabsPage)), {\n initialVariables: {},\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n ${CaseTabs.getFragment(\"totals\")}\n currentUser {\n isPatient\n }\n }`,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nimport PatientRow from \"./patientRow\";\n\nexport default class AddPatientMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(AddPatientMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { addPatient }`;\n }\n\n getVariables() {\n return {\n patient: this.props.patient,\n hospitalId: this.props.hospitalId,\n uniqueId: this.props.uniqueId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on AddPatientPayload {\n patient\n hospital\n hospitalPatient\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on AddPatientPayload {\n hospitalPatient {\n ${PatientRow.getFragment(\"hospitalPatient\")}\n patient {\n ${PatientRow.getFragment(\"patient\")}\n }\n }\n }\n `,\n ],\n } /*, // Temporary commented out because can't figure out how to make this work.\n { // addPatientAssessmentCaseMutation works fine!?!?!\n type: \"RANGE_ADD\",\n parentName: \"hospital\",\n parentID: this.props.hospitalId,\n connectionName: \"patients\",\n edgeName: \"hospitalPatient\",\n rangeBehaviors: ({q}) => {\n if (!q) {\n return \"prepend\";\n } else {\n return \"refetch\";\n }\n }\n }*/,\n ];\n }\n}\n","import classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport throttle from \"lodash.throttle\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, defineMessages } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { Button } from \"react-toolbox/lib/button\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\nimport { Card } from \"@akinoxsolutions/gerudo-ui\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { serializeDate, isValidDate, calculateAge } from \"../../helpers/dates\";\nimport { getErrors, handleFormsyInvalidSubmit } from \"../../helpers/errors\";\nimport ErrorCard from \"../shared/errorCard\";\nimport SpinnerButton from \"../shared/inputs/custom/spinnerButton\";\nimport TextInput from \"../shared/inputs/textInput\";\n\nimport AddPatientMutation from \"./addPatientMutation\";\nimport AddressFieldset, { build as buildAddress } from \"./addressFieldset\";\nimport BasicPatientForm from \"./basicPatientForm\";\nimport DemographicFieldset, { build as buildDemographic } from \"./demographicFieldset\";\nimport FamilyPhysicianFieldset, { buildFamilyPhysician } from \"./familyPhysicianFieldset\";\nimport HealthInsuranceFieldset, { build as buildHealthInsurance } from \"./healthInsuranceFieldset\";\nimport PatientExternalSourceWarning from \"./patientExternalSourceWarning\";\nimport SimilarPatients, { SimilarPatientStatus, getSimilarPatientStatus } from \"./similarPatients\";\n\nimport styles from \"./addPatient.style\";\nimport patientTranslations from \"./patients.i18n\";\nimport baseI18n from \"../../../messages/base.i18n\";\n\nconst messages = defineMessages({\n switchToFullForm: {\n id: \"addPatient.switchToFullForm\",\n description: \"Label for add patient switch to full form button\",\n defaultMessage: \"Use full form\",\n },\n switchToShortForm: {\n id: \"addPatient.switchToShortForm\",\n description: \"Label for add patient switch to short form button\",\n defaultMessage: \"Use short form\",\n },\n});\n\nexport class _AddPatient extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n onSave: PropTypes.func,\n onSimilarPatientSelected: PropTypes.func,\n onCancel: PropTypes.func,\n showCancel: PropTypes.bool,\n controlSubmitExternally: PropTypes.func,\n allowQuickAdd: PropTypes.bool,\n onSubmit: PropTypes.bool,\n onFinish: PropTypes.bool,\n };\n\n constructor(props) {\n super(props);\n\n this.allowQuickAdd =\n props.viewer.hospital.permissions.canQuickCreatePatient && props.allowQuickAdd;\n\n this.state = {\n errors: [],\n saving: false,\n isQuickAdd: this.allowQuickAdd,\n patient: {\n demographic: {},\n healthInsurance: {\n expiration: new Date(),\n },\n address: {\n countryCode: \"CA\",\n provinceCode: \"QC\",\n },\n },\n findingSimilarPatients: false,\n similarPatients: [],\n };\n\n this.onFailureHandler = this.onFailureHandler.bind(this);\n this.handleInvalidSubmit = this.handleInvalidSubmit.bind(this);\n this.findSimilarPatients = throttle(this.findSimilarPatients.bind(this), 500, {\n leading: false,\n });\n this.onChange = this.onChange.bind(this);\n }\n\n componentDidMount() {\n if (this.props.controlSubmitExternally) {\n this.props.controlSubmitExternally(() => this.form.submit());\n }\n }\n\n onChange(data) {\n this.findSimilarPatients(data);\n }\n\n handleInvalidSubmit() {\n handleFormsyInvalidSubmit(this.form);\n }\n\n findSimilarPatients(data) {\n this.setState({ findingSimilarPatients: true });\n const b = data[\"demographic.birthday\"],\n uniqueId = data[\"uniqueId\"],\n healthInsuranceNumber = data[\"healthInsurance.number\"];\n this.props.relay.setVariables(\n {\n parameters: {\n healthInsuranceNumber: healthInsuranceNumber,\n uniqueId: uniqueId,\n birthday: isValidDate(b) ? serializeDate(b) : undefined,\n firstName: data[\"demographic.firstName\"],\n lastName: data[\"demographic.lastName\"],\n },\n },\n (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ findingSimilarPatients: false }, () => this.updateSimilarPatientErrors());\n }\n }\n );\n }\n\n switchAdd() {\n const patient = this.state.patient;\n const model = this.form.getModel();\n\n // Save state between switches.\n patient.demographic.firstName = model.demographic.firstName;\n patient.demographic.lastName = model.demographic.lastName;\n patient.demographic.gender = model.demographic.gender;\n patient.demographic.birthday = model.demographic.birthday;\n if (patient.demographic.birthday && isValidDate(patient.demographic.birthday)) {\n patient.demographic.age = calculateAge(patient.demographic.birthday);\n } else {\n patient.demographic.age = model.demographic.age;\n }\n patient.healthInsurance.provinceCode = model.healthInsurance.provinceCode;\n patient.healthInsurance.number = model.healthInsurance.number;\n patient.healthInsurance.expiration = model.healthInsurance.expiration;\n this.setState({ isQuickAdd: !this.state.isQuickAdd, patient });\n }\n\n render() {\n const h = this.props.viewer.hospital;\n if (!h) {\n const hospitalId =\n this.props.relay.variables.hospitalId || this.props.relay.variables.hospitalLegacyId;\n return
    Hospital #{hospitalId} not found.
    ;\n }\n const p = this.state.patient;\n const sp = this.props.viewer.hospital.similarPatients;\n const mapped = sp ? sp.edges.map((x) => x.node) : [];\n const status = getSimilarPatientStatus(sp, this.props.relay.variables.parameters);\n\n return (\n
    \n

    \n {this.props.intl.formatMessage(patientTranslations.addLabel, {\n name: h.name,\n })}{\" \"}\n {this.allowQuickAdd && (\n this.switchAdd()}\n icon=\"short_text\"\n label={this.props.intl.formatMessage(\n this.state.isQuickAdd ? messages.switchToFullForm : messages.switchToShortForm\n )}\n raised\n />\n )}\n

    \n
    \n this.handleSave(data)}\n onInvalidSubmit={this.handleInvalidSubmit}\n onChange={(data) => this.onChange(data)}\n noValidate\n ref={(form) => (this.form = form)}\n className={classnames(\n formStyle[\"card-form\"],\n this.state.isQuickAdd ? \"quick-add\" : \"full-add\"\n )}>\n \n\n \n
    \n \n\n this.handleSimilarPatientSelect(p)}\n required\n canShow={status.required}\n />\n
    \n
    \n\n {this.state.isQuickAdd\n ? this.renderQuickAdd(p)\n : this.renderRegularAdd(p, mapped, status)}\n\n {!this.props.controlSubmitExternally ? (\n \n {this.renderSaveButton()} {this.renderCancel()}{\" \"}\n \n \n
    \n \n ) : (\n
    \n \n );\n }\n\n renderQuickAdd(p) {\n return (\n \n \n \n );\n }\n\n renderRegularAdd(p, mapped, status) {\n let merge = {};\n if (this.state.foundPatient && this.state.foundPatient.isFound) {\n const pi = this.state.foundPatient;\n merge = {\n firstName: pi.firstName,\n lastName: pi.lastName,\n gender: pi.gender,\n birthday: pi.birthday,\n };\n }\n\n const demographic = Object.assign({}, p.demographic, merge);\n return (\n
    \n {\n this.setState({ foundPatient: pi });\n }}\n />\n\n this.handleSimilarPatientSelect(p)}\n />\n\n \n\n \n
    \n );\n }\n\n renderSaveButton() {\n return (\n \n );\n }\n\n renderCancel() {\n if (this.props.showCancel && this.props.onCancel) {\n return (\n {\n this.props.onCancel();\n e.preventDefault();\n }}\n raised\n />\n );\n }\n\n return null;\n }\n\n updateSimilarPatientErrors() {\n const { viewer } = this.props;\n const sp = (viewer.hospital || {}).similarPatients;\n const status = getSimilarPatientStatus(sp, this.props.relay.variables.parameters);\n const errors = {};\n\n if (status.isHealthInsuranceNumber) {\n errors[\"healthInsurance.number\"] = this.props.intl.formatMessage(\n patientTranslations.similarPatientDuplicate\n );\n }\n\n if (status.isUniqueId) {\n errors[\"uniqueId\"] = this.props.intl.formatMessage(\n patientTranslations.similarPatientDuplicate\n );\n }\n\n if (this.form) {\n this.form.updateInputsWithError(errors);\n }\n }\n\n similarPatientStatus(): SimilarPatientStatus {\n return getSimilarPatientStatus(this.props.viewer.hospital.similarPatients);\n }\n\n handleSimilarPatientSelect(patient: any): void {\n if (this.props.onSimilarPatientSelected) {\n this.props.onSimilarPatientSelected(patient);\n }\n }\n\n onFailureHandler(r: Relay.Tran): void {\n getErrors(r).then((errors) => {\n this.setState({\n errors: this.state.errors.concat(errors),\n saving: false,\n });\n });\n }\n\n onFinish() {\n if (this.props.onFinish) {\n this.props.onFinish();\n }\n }\n\n onSubmit() {\n if (this.props.onSubmit) {\n this.props.onSubmit();\n }\n }\n\n handleSave(data) {\n this.setState({ errors: [], saving: true });\n this.onSubmit();\n\n Relay.Store.commitUpdate(\n new AddPatientMutation({\n patient: {\n address: this.state.isQuickAdd\n ? { countryCode: \"CA\", provinceCode: \"QC\" }\n : buildAddress(data, {}),\n demographic: buildDemographic(data, {}),\n healthInsurance: buildHealthInsurance(data, {}),\n familyPhysician: buildFamilyPhysician(data),\n },\n hospitalId: this.props.viewer.hospital.id,\n uniqueId: data.uniqueId,\n }),\n {\n onSuccess: (response) => {\n this.setState({ saving: false });\n if (this.props.onSave) {\n this.props.onSave(response.addPatient.hospitalPatient);\n this.onFinish();\n }\n },\n onFailure: (r) => {\n this.onFailureHandler(r);\n this.onFinish();\n },\n }\n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(_AddPatient), {\n initialVariables: {\n hospitalId: null,\n hospitalLegacyId: null,\n parameters: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n hospital(id: $hospitalId, legacyId: $hospitalLegacyId) {\n id\n legacyId\n name\n createdAt\n updatedAt\n permissions {\n canQuickCreatePatient\n }\n ${PatientExternalSourceWarning.getFragment(\"hospital\")}\n similarPatients(first: 5, parameters: $parameters) {\n edges {\n node {\n uniqueId\n patient {\n id\n legacyId\n demographic {\n fullName\n firstName\n lastName\n birthday\n gender\n }\n healthInsurance {\n provinceCode\n number\n }\n }\n }\n }\n }\n }\n ${HealthInsuranceFieldset.getFragment(\"viewer\")}\n ${DemographicFieldset.getFragment(\"viewer\")}\n ${AddressFieldset.getFragment(\"viewer\")}\n ${FamilyPhysicianFieldset.getFragment(\"viewer\")}\n ${BasicPatientForm.getFragment(\"viewer\")}\n }\n `,\n },\n});\n","import { defineMessages } from \"react-intl\";\n\nexport default defineMessages({\n addPatient: {\n id: \"hospitals.addPatient\",\n description: \"Add patient label for button\",\n defaultMessage: \"Add patient\",\n },\n hospitalCards: {\n id: \"hospitals.hospitalCards\",\n description: \"Title for list of hospital patient cards\",\n defaultMessage: \"Hospital cards\",\n },\n});\n","import Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { Button } from \"react-toolbox/lib/button\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\nimport { Modal, Button as GerudoButton, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { featureKeys, isEnabled } from \"../../helpers/features\";\nimport AddPatient from \"../patients/addPatient\";\nimport PatientExternalSourceWarning from \"../patients/patientExternalSourceWarning\";\nimport PatientSearch from \"../patients/patientSearch\";\n\nimport { departmentDropdownSource } from \"./dropdownHelpers\";\nimport DropDownListInput from \"./inputs/dropDownListInput\";\n\nimport hospitalsI18n from \"../hospitals/hospitals.i18n\";\nimport baseI18n from \"../../../messages/base.i18n\";\nimport style from \"./patientSelector.style\";\n\nclass PatientSelector extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n showRequester: PropTypes.bool,\n requesterIsOptional: PropTypes.bool,\n departmentId: PropTypes.string,\n onDepartmentSelected: PropTypes.func,\n onPatientSelected: PropTypes.func.isRequired,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n hospital: null,\n department: null,\n departmentId: null,\n selectedPatient: null,\n addPatientDialogActive: false,\n disabled: false,\n loadingHospital: false,\n };\n }\n\n UNSAFE_componentWillMount() {\n if (this.props.viewer.currentUser.asSpecialist.departments.length === 1) {\n this.handleDepartmentChange(\n this.props.viewer.currentUser.asSpecialist.departments[0].value,\n true,\n true\n );\n } else if (this.props.departmentId) {\n this.handleDepartmentChange(this.props.departmentId, null, true);\n }\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillReceiveProps(newProps) {\n if (this.props.departmentId !== newProps.departmentId) {\n this.handleDepartmentChange(newProps.departmentId, null, true);\n }\n }\n\n t(key, ...args) {\n return this.props.intl.formatMessage(key, ...args);\n }\n\n handleDepartmentChange(departmentId, disable?: boolean, skipEvents?: boolean) {\n const department = this.currentDepartment(departmentId);\n const newState = { departmentId, department, hospital: (department || {}).hospital };\n if (disable === true) {\n newState.disabled = true;\n }\n this.setState(newState);\n\n if (department && department.value) {\n this.setState({ loadingHospital: true });\n this.props.relay.forceFetch({ hospitalId: department.hospital.value }, (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ loadingHospital: false });\n if (this.props.onDepartmentSelected && !skipEvents) {\n this.props.onDepartmentSelected(department);\n }\n }\n });\n } else {\n this.props.relay.setVariables({ hospitalId: null }, (readyState) => {\n if (readyState.done || readyState.error) {\n if (this.props.onDepartmentSelected && !skipEvents) {\n this.props.onDepartmentSelected(null);\n }\n }\n });\n }\n }\n\n render() {\n const hospital = this.state.hospital;\n const { viewer, showRequester, requesterIsOptional } = this.props;\n const departments = viewer.currentUser.asSpecialist.departments;\n const currentUserId = viewer.currentUser.user.person.id;\n const source = departmentDropdownSource(departments, undefined, true);\n const department = departments.filter((x) => x.id === this.state.departmentId)[0];\n const requester = department\n ? department.specialists.filter(\n (x) => x.id === this.state.currentRequesterId || currentUserId\n )[0] ||\n department.specialists[0] ||\n {}\n : {};\n\n const specialists = department ? department.specialists.slice() : [];\n if (requesterIsOptional) {\n specialists.unshift({ value: \"\", label: \"\" });\n }\n return (\n
    \n \n
    \n {\n this.handleDepartmentChange(e);\n const d = departments.filter((x) => x.id === e)[0];\n const hospitalId = d.hospital.id;\n\n let specialist = d.specialists.filter(\n (x) => x.id === this.state.currentRequesterId\n )[0];\n\n if (!specialist) {\n specialist = d.specialists[0];\n }\n\n this.setState({\n hospitalId,\n currentRequesterId: specialist ? specialist.id : null,\n });\n }}\n optgroup=\"departments\"\n disabled={this.state.disabled}\n />\n {showRequester && (\n {\n this.setState({ currentRequesterId: e });\n }}\n value={requester.id}\n required={!requesterIsOptional}\n />\n )}\n
    \n
    \n \n
    \n {hospital && !this.state.loadingHospital ? this.renderPatientSearch() : null}\n
    \n
    \n );\n }\n\n currentDepartment(departmentId) {\n if (departmentId === null) {\n return null;\n }\n return this.props.viewer.currentUser.asSpecialist.departments.filter(\n (d) => d.value === departmentId\n )[0];\n }\n\n renderPatientSearch() {\n const allowCreation = isEnabled(this.props.viewer.features, featureKeys.PatientCreate);\n return (\n
    \n {allowCreation && this.renderCreateButton()}\n this.selectPatient(p)}\n currentUser={this.props.viewer.currentUser}\n />\n
    \n );\n }\n\n renderCreateButton() {\n const closeDialog = () => this.setState({ addPatientDialogActive: false });\n\n const actions = (\n \n closeDialog()}>{this.t(baseI18n.global.close)}\n this.addPatientSubmit()}>\n {this.t(baseI18n.global.create)}\n \n \n );\n return (\n
    \n this.setState({ addPatientDialogActive: true })}\n icon=\"add_circle\"\n label={this.t(hospitalsI18n.addPatient)}\n primary\n raised\n />\n actions}\n dataTestId=\"addPatientModal\">\n (this.addPatientSubmit = submitFunc)}\n onSave={(p) => this.selectPatient(p)}\n onSimilarPatientSelected={(p) => this.selectPatient(p)}\n allowQuickAdd={true}\n />\n \n
    \n );\n }\n\n selectPatient(selectedPatient) {\n const p = selectedPatient.patient || selectedPatient;\n this.setState({ selectedPatient: p });\n this.props.onPatientSelected(\n p.id,\n this.state.departmentId,\n this.state.hospital.value,\n p,\n this.state.currentRequesterId\n );\n }\n\n deselectPatient() {\n this.setState({ selectedPatient: null });\n }\n}\nexport default Relay.createContainer(injectIntl(connect()(PatientSelector)), {\n initialVariables: {\n hospitalId: null,\n },\n fragments: {\n viewer: ({ hospitalId }) => Relay.QL`\n fragment on RootQuery {\n features\n ${AddPatient.getFragment(\"viewer\", { hospitalId })}\n ${PatientSearch.getFragment(\"viewer\")}\n currentUser {\n user {\n person {\n id\n }\n }\n\n isSpecialist\n isPatient\n asSpecialist {\n departments {\n id\n name\n value: id\n label: name\n hospital {\n id\n name\n value: id\n label: name\n }\n specialists(specialistType: REQUESTER) {\n id\n fullName\n value: id\n label: fullName\n }\n }\n }\n }\n hospital(id: $hospitalId) {\n id\n legacyId\n name\n ${PatientSearch.getFragment(\"patientSearch\")}\n ${PatientExternalSourceWarning.getFragment(\"hospital\")}\n }\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nexport default class AddPatientCaseMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(AddPatientCaseMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { addPatientCase }`;\n }\n\n getVariables() {\n return {\n patientId: this.props.patientId,\n departmentId: this.props.departmentId,\n requesterDepartmentId: this.props.requesterDepartmentId,\n requesterId: this.props.requesterId,\n treatingPhysicianId: this.props.treatingPhysicianId,\n parameters: this.props.parameters,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on AddPatientCasePayload {\n case\n viewer {\n cases(type: IN_PROGRESS)\n casesTotals\n }\n ${AddPatientCaseMutation.getFragment(\"case\")}\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on AddPatientCasePayload {\n case {\n id\n legacyId\n createdAt\n updatedAt\n }\n }\n `,\n ],\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"prepend\",\n \"type(IN_PROGRESS)\": \"prepend\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n id\n legacyId\n patient\n form\n }\n `,\n };\n}\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter } from \"react-router\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport { List, ListItem } from \"react-toolbox/lib/list\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport { getErrors } from \"../../../helpers/errors\";\nimport PatientSummaryCard from \"../../patients/patientSummaryCard\";\nimport ErrorCard from \"../../shared/errorCard\";\n\nimport AddPatientCaseMutation from \"./addPatientCaseMutation\";\n\nclass PatientRequestFormPicker extends React.Component {\n static propTypes = {\n router: PropTypes.object,\n viewer: PropTypes.object,\n patient: PropTypes.object,\n description: PropTypes.string,\n deselectPatient: PropTypes.func,\n };\n\n state = {\n errors: [],\n creatingRequest: false,\n };\n\n constructor(props) {\n super(props);\n }\n\n newRequest(departmentId) {\n this.setState({ creatingRequest: true, errors: [] });\n Relay.Store.commitUpdate(new AddPatientCaseMutation(this.mutationParams(departmentId)), {\n onSuccess: (resp) => {\n this.props.router.push(`/cases/${resp.addPatientCase.case.legacyId}/forms`);\n this.setState({ creatingRequest: false });\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({ creatingRequest: false, errors: this.state.errors.concat(errors) });\n });\n },\n });\n }\n\n mutationParams(departmentId) {\n return {\n viewer: this.props.viewer,\n case: null,\n departmentId,\n patientId: this.props.patient.id,\n requesterId: this.props.viewer.currentUser.user.id,\n };\n }\n\n render() {\n const { patient, description, deselectPatient } = this.props;\n return (\n
    \n \n

    {description}

    \n \n {patient.departments.map((x) => {\n const actions = [\n
    \n {this.state.creatingRequest && (\n \n )}\n \n
    ,\n ];\n return (\n this.newRequest(x.department.id)}\n selectable={true}\n disabled={this.state.creatingRequest}\n />\n );\n })}\n
    \n\n {this.state.errors && this.state.errors.length > 0 ? (\n \n ) : null}\n
    \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(withRouter(PatientRequestFormPicker)), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n currentUser {\n user {\n id\n }\n }\n }\n `,\n patient: () => Relay.QL`\n fragment on Patient {\n ${PatientSummaryCard.getFragment(\"patient\")}\n id\n\n departments {\n inviter {\n person {\n fullName\n }\n }\n department {\n id\n name\n value: id\n label: name\n hospital {\n value: id\n label: name\n }\n form {\n code\n name\n }\n\n clinicalDomain {\n name\n value\n form {\n code\n name\n }\n }\n }\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, defineMessages } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter } from \"react-router\";\n\nimport { onLanguageChange } from \"../../../helpers/language\";\nimport PatientRow from \"../../patients/patientRow\";\n\nimport PatientRequestFormPicker from \"./patientRequestFormPicker\";\n\nconst messages = defineMessages({\n newCarerCaseDescription: {\n id: \"carerNewRequestForm.newCarerCaseDescription\",\n description: \"Help text for specialist new request form page\",\n defaultMessage: \"Choose a patient first, then choose a department to start a new case.\",\n },\n newCarerCaseDepartmentsDescription: {\n id: \"carerNewRequestForm.newCarerCaseDepartmentsDescription\",\n description: \"Help description for choosing a department for a carer\",\n defaultMessage: `Here is a list of questionnaires available for this patient:`,\n },\n});\n\nclass CarerNewRequestForm extends React.Component {\n static propTypes = {\n router: PropTypes.object,\n viewer: PropTypes.object,\n patientId: PropTypes.string,\n };\n\n constructor(props) {\n super(props);\n\n const state = {\n patientId: null,\n };\n\n if (props.viewer.currentUser.asCarer.patients.length === 1) {\n state.patientId = props.viewer.currentUser.asCarer.patients[0].patient.id;\n } else if (props.patientId) {\n state.patientId = props.patientId;\n }\n\n this.state = state;\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillReceiveProps(nextProps) {\n if (this.props.patientId !== nextProps.patientId) {\n this.setState({ patientId: nextProps.patientId });\n }\n }\n\n UNSAFE_componentWillMount() {\n onLanguageChange(() => this.props.relay.forceFetch());\n }\n\n deselectPatient() {\n if (this.props.patientId) {\n this.props.router.replace(\"/cases/new\");\n }\n\n this.setState({ patientId: null });\n }\n\n render() {\n if (this.state.patientId) {\n const patients = this.props.viewer.currentUser.asCarer.patients;\n const patient = patients.filter((x) => x.patient.id === this.state.patientId)[0].patient;\n return (\n this.deselectPatient()}\n description={this.props.intl.formatMessage(messages.newCarerCaseDepartmentsDescription)}\n />\n );\n } else {\n return (\n
    \n

    {this.props.intl.formatMessage(messages.newCarerCaseDescription)}

    \n {this.props.viewer.currentUser.asCarer.patients.map((x) => (\n this.setState({ patientId: patient.id })}\n />\n ))}\n
    \n );\n }\n }\n}\n\nexport default Relay.createContainer(injectIntl(withRouter(CarerNewRequestForm)), {\n initialVariables: {\n patientId: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PatientRow.getFragment(\"viewer\")}\n ${PatientRequestFormPicker.getFragment(\"viewer\")}\n\n currentUser {\n asCarer {\n patients {\n patient {\n id\n legacyId\n ${PatientRequestFormPicker.getFragment(\"patient\")}\n ${PatientRow.getFragment(\"patient\")}\n }\n }\n }\n }\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nexport default class AddConversationConsultCaseMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(AddConversationConsultCaseMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { addClinicianConversationConsultCase }`;\n }\n\n getVariables() {\n return {\n patientId: this.props.patientId,\n requesterId: this.props.requesterId,\n departmentId: this.props.departmentId,\n treatingPhysicianId: this.props.treatingPhysicianId,\n newPatient: this.props.newPatient,\n submitData: this.props.submitData,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on AddClinicianConversationConsultCasePayload {\n case\n viewer {\n cases(type: IN_PROGRESS)\n casesTotals\n }\n newPatient\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on AddClinicianConversationConsultCasePayload {\n case {\n id\n legacyId\n createdAt\n updatedAt\n }\n }\n `,\n ],\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n id\n patient\n form\n }\n `,\n };\n}\n","import Relay from \"react-relay/classic\";\n\nexport default class AddGenericConversationConsultCaseMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(AddGenericConversationConsultCaseMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { addGenericConversationConsultCase }`;\n }\n\n getVariables() {\n return {\n patientId: this.props.patientId,\n requesterDepartmentId: this.props.requesterDepartmentId,\n requesterId: this.props.requesterId,\n treatingPhysicianId: this.props.treatingPhysicianId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on AddGenericConversationConsultCasePayload {\n case\n viewer {\n cases(type: IN_PROGRESS)\n casesTotals\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on AddGenericConversationConsultCasePayload {\n case {\n id\n legacyId\n createdAt\n updatedAt\n }\n }\n `,\n ],\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n id\n patient\n form\n }\n `,\n };\n}\n","import { defineMessages } from \"react-intl\";\n\nexport default defineMessages({\n requestWrittenOn: {\n id: \"forms.THORSURG.requestWrittenOn\",\n description: \"Request written on\",\n defaultMessage: \"Reference writing date\",\n },\n requestReceivedOn: {\n id: \"forms.THORSURG.requestReceivedOn\",\n description: \"Request received on\",\n defaultMessage: \"Reference reception date\",\n },\n reason: {\n id: \"forms.THORSURG.reason\",\n description: \"Request reason\",\n defaultMessage: \"Reason of request\",\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { Card } from \"@akinoxsolutions/gerudo-ui\";\n\nimport {\n TextArea,\n DatePicker,\n DatePickerSizes,\n HiddenInput,\n} from \"~/src/js/components/shared/inputs\";\nimport { parseToCalendarDate } from \"~/src/js/helpers/dates\";\nimport formStyle from \"~/src/styles/forms\";\nimport stepNames from \"~/src/js/components/forms/THORSURG/stepNames\";\n\nimport styles from \"./Parameters.styles\";\n\nimport messages from \"./Parameters.i18n\";\n\nexport const Parameters = ({ className, data, intl: { formatMessage } }) => (\n \n \n {!data.isSurgeon && (\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n )}\n
    \n \n
    \n
    \n);\n\nParameters.propTypes = {\n className: PropTypes.string,\n data: PropTypes.any,\n intl: intlShape,\n};\n\nconst InjectedParameters = injectIntl(Parameters);\n\nexport default InjectedParameters;\n","import { serializeDate } from \"~/src/js/helpers/dates\";\n\nimport InjectedParameters from \"./Parameters\";\n\nexport function build(data) {\n return {\n ...data.parameters,\n requestWrittenOn: data.parameters.requestWrittenOn\n ? serializeDate(data.parameters.requestWrittenOn)\n : null,\n requestReceivedOn: data.parameters.requestReceivedOn\n ? serializeDate(data.parameters.requestReceivedOn)\n : null,\n };\n}\n\nexport default InjectedParameters;\n","import { defineMessages } from \"react-intl\";\n\nexport default defineMessages({\n chooseDomain: {\n id: \"forms.legacy.chooseDomain\",\n description: \"Choose domain\",\n defaultMessage: \"Choose domain\",\n },\n redirectAlert: {\n id: \"forms.legacy.redirectAlert\",\n description: \"Alert text when redirecting to legacy on creation\",\n defaultMessage: \"You will be redirected so that you can start a request in this speciality\",\n },\n});\n","import PropTypes from \"prop-types\";\nimport React, { useState, useEffect } from \"react\";\nimport classnames from \"classnames\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { Card } from \"@akinoxsolutions/gerudo-ui\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\n\nimport { Alert, AlertColor } from \"~/src/js/components/shared/Alert\";\nimport HiddenInput from \"~/src/js/components/shared/inputs/hiddenInput\";\n\nimport styles from \"../genericNewRequestForm.style\";\nimport messages from \"./Parameters.i18n\";\n\nexport const Parameters = ({ className, data, intl: { formatMessage } }) => {\n const [subForm, setSubForm] = useState(\"\");\n\n const domainIds = data.domains.map((x) => x.id).join(\",\");\n useEffect(() => {\n // Reset domain ID when changing domains.\n if (subForm) {\n setSubForm(\"\");\n }\n\n // If there's only one, then select it.\n if (data.domains.length === 1) {\n setSubForm(data.domains[0].id);\n }\n }, [domainIds]);\n\n return (\n \n \n {formatMessage(messages.redirectAlert)}\n \n
    \n
      \n {data.domains.map((x) => {\n return (\n setSubForm(x.id)}\n className={classnames({\n [styles[\"selected\"]]: x.id === subForm,\n })}>\n \n
      \n

      {x.name}

      \n
      \n \n );\n })}\n
    \n \n
    \n
    \n );\n};\n\nParameters.propTypes = {\n className: PropTypes.string,\n data: PropTypes.any,\n intl: intlShape,\n};\n\nexport default injectIntl(Parameters);\n","import InjectedParameters from \"./Parameters\";\n\nexport function build(data) {\n return {\n clinicalDomainId: data.clinicalDomainId,\n };\n}\n\nexport default InjectedParameters;\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\n\nimport ThoracicSurgeryParameters, {\n build as buildThoracicSurgery,\n} from \"../../forms/THORSURG/Parameters\";\n\nimport { FORM_CODES } from \"./formCodes\";\nimport LegacyParameters, { build as buildLegacy } from \"./LegacyParameters\";\n\nexport function NewRequestFormParameters({ formCode, className, data }) {\n switch (formCode) {\n case FORM_CODES.THORSURG:\n return ;\n case \"PSY\":\n case \"CARDIO\":\n case \"OPHT\":\n case \"OBS\":\n case \"PSY_PED\":\n case \"DERM\":\n case \"RESP\":\n return ;\n default:\n return null;\n }\n}\n\nNewRequestFormParameters.propTypes = {\n formCode: PropTypes.string.isRequired,\n className: PropTypes.string,\n data: PropTypes.any,\n};\n\nexport default NewRequestFormParameters;\n\nexport function build(formCode, data) {\n switch (formCode) {\n case \"THORSURG\":\n return buildThoracicSurgery(data);\n case \"PSY\":\n case \"CARDIO\":\n case \"OPHT\":\n case \"OBS\":\n case \"PSY_PED\":\n case \"DERM\":\n case \"RESP\":\n return buildLegacy(data);\n default:\n return null;\n }\n}\n","import classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, defineMessages } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter } from \"react-router\";\nimport {\n Card,\n Button,\n Modal,\n Button as GerudoButton,\n ButtonGroup,\n} from \"@akinoxsolutions/gerudo-ui\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport { setTitle } from \"../../../helpers/document\";\nimport { getErrors, handleFormsyInvalidSubmit } from \"../../../helpers/errors\";\nimport { onLanguageChange } from \"../../../helpers/language\";\nimport { queryString } from \"../../../helpers/strings\";\nimport PatientSummaryCard from \"../../patients/patientSummaryCard\";\nimport { departmentDropdownSource } from \"../../shared/dropdownHelpers\";\nimport ErrorCard from \"../../shared/errorCard\";\nimport HtmlElement from \"../../shared/htmlElement\";\nimport DropDownListInput from \"../../shared/inputs/dropDownListInput\";\nimport HiddenInput from \"../../shared/inputs/hiddenInput\";\nimport PatientSelector from \"../../shared/patientSelector\";\nimport { PersonInformation } from \"../../shared/PersonInformation\";\nimport PhysicianInput from \"../../users/physicians/physicianInput\";\nimport AddConversationConsultCaseMutation from \"../creation/addConversationConsultCaseMutation\";\nimport AddGenericConversationConsultCaseMutation from \"../creation/addGenericConversationConsultCaseMutation\";\n\nimport AddPatientCaseMutation from \"./addPatientCaseMutation\";\nimport NewRequestFormParameters, { build as buildParameters } from \"./newRequestFormParameters\";\n\nimport eConsultStyle from \"../../forms/ECONSULT/ECONSULT_form.style\";\nimport baseI18n from \"../../../../messages/base.i18n\";\nimport refacStyles from \"../../forms/THORSURG/ThoracicSurgeryForm.style\";\nimport styles from \"./genericNewRequestForm.style\";\n\nconst messages = defineMessages({\n activityTypeRequired: {\n id: \"forms.generic.activityTypeRequired\",\n description: \"Activity type required error label\",\n defaultMessage: \"Please choose which activity you'd like to perform.\",\n },\n activityType: {\n id: \"forms.generic.activityType\",\n description: \"Activity type label\",\n defaultMessage: \"Activity type\",\n },\n onlineConsultation: {\n id: \"forms.generic.onlineConsultation\",\n description: \"Online consultation label\",\n defaultMessage: \"Online consultation\",\n },\n teleconsultationLegacy: {\n id: \"forms.generic.teleconsultationLegacy\",\n description: \"Legacy consultation label\",\n defaultMessage: \"Teleconsultation\",\n },\n});\n\nclass GenericNewRequestForm extends React.Component {\n static propTypes = {\n router: PropTypes.object,\n viewer: PropTypes.object,\n patientId: PropTypes.string,\n };\n\n constructor(props) {\n super(props);\n\n const state = {\n patientId: null,\n departmentId: null,\n errors: [],\n creatingRequest: false,\n };\n\n if (props.patientId) {\n this.props.relay.setVariables({ selectedPatientId: props.patientId }, (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({\n patientId: props.patientId,\n patient: this.props.viewer.patient,\n });\n }\n });\n }\n\n if (\n props.viewer &&\n props.viewer.currentUser.asRequester &&\n props.viewer.currentUser.asRequester.destinations.length === 1\n ) {\n state.activityType = props.viewer.currentUser.asRequester.destinations[0].id;\n }\n\n this.state = state;\n }\n\n componentDidMount() {\n const { intl } = this.props;\n const t = intl.formatMessage;\n document.title = setTitle(t, t({ id: \"cases.newCaseTitle\" }));\n const qs = queryString();\n if (qs.patientId) {\n this.props.relay.setVariables({\n patientId: qs.patientId,\n hospitalId: this.state.hospitalId,\n });\n }\n\n this.exiting = false;\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillReceiveProps(nextProps) {\n if (this.props.patientId !== nextProps.patientId) {\n this.props.relay.setVariables({ selectedPatientId: nextProps.patientId }, (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ patientId: nextProps.patientId });\n }\n });\n }\n\n if (!this.props.viewer.patient && Boolean(nextProps.viewer.patient)) {\n this.setState({ patient: nextProps.viewer.patient });\n }\n }\n\n UNSAFE_componentWillMount() {\n onLanguageChange(() => this.props.relay.forceFetch());\n }\n\n newRequest(data) {\n const { viewer } = this.props;\n const destinations = viewer.currentUser.asRequester.destinations;\n const destination = destinations.filter((x) => x.id === this.state.activityType)[0];\n\n let mutation = null;\n let responseMutationName = \"\";\n if (destination && destination.code === \"ECONSULT\") {\n const params = {\n viewer: viewer,\n case: null,\n patientId: data.request.patientId,\n departmentId: data.request.fromDepartment,\n requesterId: data.request.requester,\n treatingPhysicianId: data.request.treatingPhysicianId,\n };\n responseMutationName = \"addClinicianConversationConsultCase\";\n mutation = new AddConversationConsultCaseMutation(params);\n } else if (destination && destination.code === \"GENERICv2\") {\n const params = {\n viewer: viewer,\n case: null,\n patientId: data.request.patientId,\n requesterDepartmentId: data.request.fromDepartment,\n requesterId: data.request.requester,\n treatingPhysicianId: data.request.treatingPhysicianId,\n };\n responseMutationName = \"addGenericConversationConsultCase\";\n mutation = new AddGenericConversationConsultCaseMutation(params);\n } else if (destination.form) {\n const params = {\n viewer: viewer,\n case: null,\n departmentId: destination.id,\n requesterDepartmentId: data.request.fromDepartment,\n requesterId: data.request.requester,\n patientId: data.request.patientId,\n treatingPhysicianId: data.request.treatingPhysicianId,\n parameters: buildParameters(destination.form.code, data),\n };\n responseMutationName = \"addPatientCase\";\n mutation = new AddPatientCaseMutation(params);\n }\n\n if (mutation) {\n this.setState({ creatingRequest: true, errors: [] });\n Relay.Store.commitUpdate(mutation, {\n onSuccess: (resp) => {\n this.props.router.push(`/cases/${resp[responseMutationName].case.legacyId}/forms`);\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({\n errors: this.state.errors.concat(errors),\n creatingRequest: false,\n });\n });\n },\n });\n }\n }\n\n deselectPatient() {\n if (this.props.patientId) {\n this.props.router.replace(\"/cases/new\");\n }\n\n this.setState({ departmentId: null, patientId: null, patient: null });\n this.props.relay.setVariables({ selectedPatientId: null });\n }\n\n render() {\n return this.renderRequest();\n }\n\n getData(destination, user) {\n let icon = \"announcement\",\n title = destination.name,\n subtitle = \"\",\n form = destination;\n\n let extraData = {};\n\n if (destination.form) {\n if (destination.form.code === \"PATIENT\") {\n icon = \"contact_mail\";\n } else if (destination.form.code === \"THORSURG\") {\n extraData = { isSurgeon: user.isSurgeon };\n }\n\n title = destination.form.name;\n subtitle = destination.name;\n form = destination.form;\n\n if (destination.domains) {\n icon = \"content_paste\";\n subtitle = destination.form.name;\n title = this.props.intl.formatMessage(messages.teleconsultationLegacy);\n extraData = { domains: destination.domains };\n }\n } else if (destination.code === \"GENERICv2\") {\n icon = \"assignment\";\n } else if (destination.code === \"ECONSULT\") {\n icon = \"question_answer\";\n title = this.props.intl.formatMessage(messages.onlineConsultation);\n subtitle = destination.name;\n }\n\n return { icon, title, subtitle, form, ...extraData };\n }\n\n renderRequest() {\n const { viewer, intl } = this.props;\n const t = intl.formatMessage;\n const destinations = viewer.currentUser.asRequester.destinations;\n const currentDestination = destinations.find((x) => x.id === this.state.activityType);\n const currentDestinationData = currentDestination\n ? this.getData(currentDestination, viewer.currentUser)\n : null;\n\n return (\n (this.form = form)}\n onValidSubmit={(d) => this.newRequest(d)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.form)}\n className={formStyle[\"card-form\"] + \" \" + styles.apss}>\n {this.renderEditableRequester()}\n\n {this.renderEditablePatient()}\n\n \n
    \n
      \n {destinations.map((x) => {\n const data = this.getData(x, viewer.currentUser);\n return (\n this.setState({ activityType: x.id })}\n className={classnames({\n [styles[\"selected\"]]: x.id === this.state.activityType,\n })}>\n \n
      \n

      {data.title}

      \n \n
      \n \n );\n })}\n
    \n \n
    \n
    \n\n {currentDestinationData && (\n \n )}\n\n \n \n \n\n {this.state.errors && this.state.errors.length > 0 ? (\n \n ) : null}\n \n );\n }\n\n renderEditableRequester() {\n const { viewer, intl } = this.props;\n const t = intl.formatMessage;\n const departments = viewer.currentUser.asSpecialist.departments;\n const currentUserId = this.state.requesterId || viewer.currentUser.user.person.id;\n const hospitals = departmentDropdownSource(departments);\n const department = departments.filter((x) => x.id === this.state.departmentId)[0] ||\n departments[0] || { specialists: [] };\n const requester =\n department.specialists.filter((x) => x.id === currentUserId)[0] ||\n department.specialists[0] ||\n {};\n\n const onChangeDepartment = (e) => {\n this.setState({ departmentId: e, patient: null, patientId: null });\n this.props.relay.setVariables({ selectedPatientId: null });\n };\n\n return (\n {t(baseI18n.global.requestedBy)}}>\n
    \n
    \n onChangeDepartment(e)}\n optgroup=\"departments\"\n required\n source={hospitals}\n value={department.id}\n />\n\n this.setState({ requesterId: e })}\n required\n source={department.specialists}\n value={requester.id}\n />\n
    \n
    \n
    \n );\n }\n\n renderEditablePatient() {\n const { viewer, intl } = this.props;\n const t = intl.formatMessage;\n const departments = viewer.currentUser.asSpecialist.departments;\n const { physician, departmentId } = this.state;\n let patientPhysician = null;\n if (physician) {\n patientPhysician = physician;\n } else if (viewer.patient && viewer.patient.familyPhysician) {\n patientPhysician = viewer.patient.familyPhysician.physician;\n }\n\n const dept = departments.filter((x) => x.id === departmentId)[0] || departments[0];\n const closeDialog = () => this.setState({ pickingPatient: false });\n return (\n \n
    \n {this.state.patient && (\n
    \n this.setState({ pickingPatient: true })}\n className={styles[\"patient-summary\"]}\n />\n \n
    \n )}\n {(!this.state.patient || this.state.pickingPatient) && dept && (\n
    \n (\n \n closeDialog()}>\n {t(baseI18n.global.close)}\n \n \n )}>\n {\n this.setState({\n patient: p,\n patientId: p.id,\n pickingPatient: false,\n departmentId,\n });\n this.props.relay.setVariables({\n selectedPatientId: patientId,\n });\n }}\n />\n \n \n \n
    \n )}\n {\n this.setState({ physician: p });\n }}\n value={patientPhysician ? patientPhysician.id : null}\n viewer={viewer}\n />\n
    \n
    \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(withRouter(GenericNewRequestForm)), {\n initialVariables: {\n selectedPatientId: null,\n requesterId: null,\n hasPatientId: false,\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n hasPatientId: Boolean(prevVariables.selectedPatientId),\n };\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n currentUser {\n isSurgeon\n user {\n person {\n id\n }\n }\n\n asRequester {\n destinations(isCreation: true) {\n ... on Form {\n id\n code\n name\n formTypeText\n }\n ... on Department {\n id\n legacyId\n name\n hospital {\n id\n name\n }\n clinicalDomain {\n id\n name\n }\n form {\n id\n code\n name\n formTypeText\n }\n }\n ... on LegacyFormDestination {\n id\n form {\n id\n code\n name\n formTypeText\n }\n domains {\n id\n value\n name\n }\n }\n }\n }\n\n asSpecialist {\n departments {\n id\n name\n value: id\n label: name\n hospital {\n id\n name\n value: id\n label: name\n }\n specialists(specialistType: REQUESTER) {\n id\n fullName\n value: id\n label: fullName\n }\n }\n }\n }\n ${PhysicianInput.getFragment(\"viewer\")}\n\n patient(id: $selectedPatientId) @include (if: $hasPatientId) {\n id\n legacyId\n ${PatientSummaryCard.getFragment(\"patient\")}\n\n familyPhysician {\n physician {\n ${PhysicianInput.getFragment(\"physician\")}\n id\n fullName\n }\n }\n }\n\n person(id: $requesterId) {\n id\n fullName\n ${PersonInformation.getFragment(\"person\")}\n }\n\n ${PatientSelector.getFragment(\"viewer\")}\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter } from \"react-router\";\n\nimport PatientRequestFormPicker from \"./patientRequestFormPicker\";\n\nimport i18n from \"../cases.i18n\";\n\nclass PatientNewRequestForm extends React.Component {\n static propTypes = {\n router: PropTypes.object,\n viewer: PropTypes.object,\n };\n\n constructor(props) {\n super(props);\n }\n\n render() {\n const patient = this.props.viewer.currentUser.asPatient.patient;\n return (\n \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(withRouter(PatientNewRequestForm)), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PatientRequestFormPicker.getFragment(\"viewer\")}\n\n currentUser {\n asPatient {\n patient {\n id\n ${PatientRequestFormPicker.getFragment(\"patient\")}\n }\n }\n }\n }\n `,\n },\n});\n","import Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, defineMessages } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter } from \"react-router\";\nimport Avatar from \"react-toolbox/lib/avatar\";\nimport Button from \"react-toolbox/lib/button\";\nimport { Card, CardTitle, CardText } from \"react-toolbox/lib/card\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport { getErrors, handleFormsyInvalidSubmit } from \"../../../helpers/errors\";\nimport { onLanguageChange } from \"../../../helpers/language\";\nimport PatientSummaryCard from \"../../patients/patientSummaryCard\";\nimport { departmentDropdownSource } from \"../../shared/dropdownHelpers\";\nimport ErrorCard from \"../../shared/errorCard\";\nimport SpinnerButton from \"../../shared/inputs/custom/spinnerButton\";\nimport DropDownListInput from \"../../shared/inputs/dropDownListInput\";\nimport PatientSelector from \"../../shared/patientSelector\";\nimport { PersonInformation } from \"../../shared/PersonInformation\";\nimport PhysicianInput from \"../../users/physicians/physicianInput\";\n\nimport AddPatientCaseMutation from \"./addPatientCaseMutation\";\n\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nconst messages = defineMessages({\n newSpecialistCaseDescription: {\n id: \"specialistNewRequestForm.newSpecialistCaseDescription\",\n description: \"Help text for specialist new request form page\",\n defaultMessage: \"Choose a department below to start a new questionnaire or request.\",\n },\n});\n\nclass SpecialistNewRequestForm extends React.Component {\n static propTypes = {\n router: PropTypes.object,\n viewer: PropTypes.object,\n patientId: PropTypes.string,\n };\n\n constructor(props) {\n super(props);\n\n const state = {\n patientId: null,\n departmentId: null,\n errors: [],\n creatingRequest: false,\n };\n\n if (props.patientId) {\n this.props.relay.setVariables({ selectedPatientId: props.patientId }, (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ patientId: props.patientId });\n }\n });\n }\n\n this.state = state;\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillReceiveProps(nextProps) {\n if (this.props.patientId !== nextProps.patientId) {\n this.props.relay.setVariables({ selectedPatientId: nextProps.patientId }, (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ patientId: nextProps.patientId });\n }\n });\n }\n }\n\n UNSAFE_componentWillMount() {\n onLanguageChange(() => this.props.relay.forceFetch());\n }\n\n newRequest(departmentId, data) {\n this.setState({ creatingRequest: true });\n Relay.Store.commitUpdate(\n new AddPatientCaseMutation(\n this.mutationParams(departmentId || this.state.departmentId, data.treatingPhysicianId)\n ),\n {\n onSuccess: (resp) => {\n this.props.router.push(`/cases/${resp.addPatientCase.case.legacyId}/forms`);\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({ errors: this.state.errors.concat(errors), creatingRequest: false });\n });\n },\n }\n );\n }\n\n mutationParams(departmentId, treatingPhysicianId) {\n return {\n viewer: this.props.viewer,\n case: null,\n departmentId,\n requesterDepartmentId: departmentId,\n requesterId: this.props.relay.variables.requesterId,\n patientId: this.props.relay.variables.selectedPatientId,\n treatingPhysicianId,\n };\n }\n\n patientSelected(patientId, departmentId, requesterId) {\n this.setState({ departmentId });\n this.props.relay.setVariables({ selectedPatientId: patientId, requesterId });\n }\n\n deselectPatient() {\n if (this.props.patientId) {\n this.props.router.replace(\"/cases/new\");\n }\n\n this.setState({ departmentId: null, patientId: null });\n this.props.relay.setVariables({ selectedPatientId: null });\n }\n\n render() {\n if (this.state.patientId) {\n return this.renderPatient();\n }\n return (\n
    \n

    {this.props.intl.formatMessage(messages.newSpecialistCaseDescription)}

    \n {this.renderPicker()}\n
    \n );\n }\n\n renderPatient() {\n const p = this.props.viewer.patient;\n const t = this.props.intl.formatMessage;\n const source = departmentDropdownSource(\n this.props.viewer.currentUser.asSpecialist.departments,\n undefined,\n true\n );\n return (\n
    \n \n \n \n\n

    {this.props.intl.formatMessage(messages.newSpecialistCaseDescription)}

    \n this.newRequest(data.department)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.form)}\n noValidate\n ref={(form) => (this.form = form)}>\n \n this.deselectPatient()}\n icon=\"arrow_back\"\n raised\n style={{ marginRight: \"1rem\" }}\n label={t(baseI18n.global.previous)}\n />\n \n \n {this.state.errors && this.state.errors.length > 0 ? (\n \n ) : null}\n
    \n );\n }\n\n renderPicker() {\n const { intl, viewer } = this.props;\n const t = intl.formatMessage;\n const d = viewer.currentUser.asSpecialist.departments.filter(\n (x) => x.id === this.state.departmentId\n )[0];\n const p = viewer.patient;\n if (this.props.relay.variables.selectedPatientId && p && this.state.departmentId) {\n let physician = this.state.physician;\n if (typeof physician === \"undefined\" && p.familyPhysician) {\n physician = p.familyPhysician.physician;\n }\n\n const req = d.specialists.filter((x) => x.id === this.props.relay.variables.requesterId)[0];\n return (\n this.newRequest(null, data)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.form)}\n noValidate\n ref={(form) => (this.form = form)}\n className={formStyle[\"card-form\"]}>\n \n }\n title={d.name}\n subtitle={\n \n {d.hospital.name}\n {req && (\n \n \n {t(baseI18n.global.requestedBy)}\n {t(baseI18n.global.colon)}\n {\" \"}\n {req.fullName}\n \n )}\n \n }\n />\n \n \n \n \n \n \n
    \n {\n this.setState({ physician: p });\n }}\n value={physician ? physician.id : null}\n allowCreation\n />\n
    \n
    \n
    \n this.deselectPatient()}\n icon=\"arrow_back\"\n raised\n style={{ marginRight: \"1rem\" }}\n label={t(baseI18n.global.previous)}\n />\n \n {this.state.errors && this.state.errors.length > 0 ? (\n \n ) : null}\n \n );\n } else {\n return (\n \n this.patientSelected(patientId, departmentId, requesterId)\n }\n />\n );\n }\n }\n}\n\nexport default Relay.createContainer(injectIntl(withRouter(SpecialistNewRequestForm)), {\n initialVariables: {\n selectedPatientId: null,\n requesterId: null,\n hasPatientId: false,\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n hasPatientId: Boolean(prevVariables.selectedPatientId),\n };\n },\n fragments: {\n viewer: ({ hasPatientId }) => Relay.QL`\n fragment on RootQuery {\n currentUser {\n asSpecialist {\n departments {\n id\n name\n value: id\n label: name\n hospital {\n id\n name\n value: id\n label: name\n }\n specialists(specialistType: REQUESTER) {\n id\n fullName\n value: id\n label: fullName\n }\n }\n }\n }\n ${PhysicianInput.getFragment(\"viewer\").if(hasPatientId)}\n\n patient(id: $selectedPatientId) @include (if: $hasPatientId) {\n id\n legacyId\n ${PatientSummaryCard.getFragment(\"patient\")}\n\n familyPhysician {\n physician {\n ${PhysicianInput.getFragment(\"physician\")}\n id\n fullName\n }\n }\n }\n\n person(id: $requesterId) {\n id\n fullName\n ${PersonInformation.getFragment(\"person\")}\n }\n\n ${PatientSelector.getFragment(\"viewer\")}\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { queryString } from \"../../../helpers/strings\";\nimport PatientSelector from \"../../shared/patientSelector\";\n\nimport CarerNewRequestForm from \"./carerNewRequestForm\";\nimport GenericNewRequestForm from \"./genericNewRequestForm\";\nimport PatientNewRequestForm from \"./patientNewRequestForm\";\nimport SpecialistNewRequestForm from \"./specialistNewRequestForm\";\n\nimport i18n from \"../cases.i18n\";\n\nclass NewCasePage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n };\n\n state = {\n errors: [],\n };\n\n t(key) {\n return this.props.intl.formatMessage(key);\n }\n\n render() {\n return (\n
    \n

    {this.t(i18n.newCaseTitle)}

    \n {this.form()}\n
    \n );\n }\n\n form() {\n const qs = queryString();\n if (this.props.viewer.currentUser.isSpecialist) {\n return ;\n } else if (this.props.viewer.currentUser.isPatient) {\n return ;\n } else if (this.props.viewer.currentUser.isCarer) {\n return ;\n } else {\n return
    Cannot create request!
    ;\n }\n }\n}\n\nexport default Relay.createContainer(injectIntl(NewCasePage), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n currentUser {\n isPatient\n isSpecialist\n isCarer\n }\n \n ${GenericNewRequestForm.getFragment(\"viewer\")}\n ${PatientNewRequestForm.getFragment(\"viewer\")}\n ${SpecialistNewRequestForm.getFragment(\"viewer\")}\n ${CarerNewRequestForm.getFragment(\"viewer\")}\n ${PatientSelector.getFragment(\"viewer\")}\n }\n `,\n },\n});\n","import Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { FormattedMessage, injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport Avatar from \"react-toolbox/lib/avatar\";\nimport Button from \"react-toolbox/lib/button\";\nimport { Card, CardTitle, CardText, CardActions } from \"react-toolbox/lib/card\";\nimport { Modal, Button as GerudoButton, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport { URLs, NamePlaceholder } from \"../../../constants\";\nimport { registerAutoSave, unregisterAutoSave } from \"../../../helpers/autoSave\";\nimport { setTitle } from \"../../../helpers/document\";\nimport { handleFormsyInvalidSubmit, getErrors } from \"../../../helpers/errors\";\nimport { isClientFeatureEnabled, clientFeatureKeys } from \"../../../helpers/features\";\nimport { queryString } from \"../../../helpers/strings\";\nimport { showDialogNotice } from \"../../../stores/app/actions\";\nimport { mutateState } from \"../../attachments/attachmentUploadAndList\";\nimport AddConversationConsultCaseMutation from \"../../cases/creation/addConversationConsultCaseMutation\";\nimport BasicPatientForm from \"../../patients/basicPatientForm\";\nimport { build as buildDemographic } from \"../../patients/demographicFieldset\";\nimport { build as buildHealthInsurance } from \"../../patients/healthInsuranceFields\";\nimport PatientSummaryCard from \"../../patients/patientSummaryCard\";\nimport ResetUserItemMutation from \"../../savedItems/resetUserItemMutation\";\nimport SaveUserItemMutation from \"../../savedItems/saveUserItemMutation\";\nimport ErrorCard from \"../../shared/errorCard\";\nimport SpinnerButton from \"../../shared/inputs/custom/spinnerButton\";\nimport PatientSelector from \"../../shared/patientSelector\";\nimport PhysicianInput from \"../../users/physicians/physicianInput\";\n\nimport { purposes, messages as formMessages } from \"./ECONSULT_form\";\nimport EConsultFormRequest from \"./ECONSULT_form_request\";\nimport EConsultLogo from \"./ECONSULT_logo\";\nimport EConsultRequesterEdit from \"./ECONSULT_requesterEdit\";\n\nimport eConsultFormStyle from \"./ECONSULT_form.style\";\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n newTitle: {\n id: \"forms.econsult.newTitle\",\n description: \"eConsult title\",\n defaultMessage: \"New eConsult\",\n },\n loadedDataFromPreviousRequest: {\n id: \"forms.econsult.loadedDataFromPreviousRequest\",\n description:\n \"eConsult message when opening the new eConsult page and data was loaded from auto-save\",\n defaultMessage: \"We've filled the form with auto-saved data from a previous visit.\",\n },\n chooseExistingPatient: {\n id: \"forms.econsult.chooseExistingPatient\",\n description: \"label for pick existing patient\",\n defaultMessage: \"Choose existing patient\",\n },\n});\n\n// Base64 encode of \"temp:new-econsult-request\"\nconst tempItemKey = \"dGVtcDpuZXctZWNvbnN1bHQtcmVxdWVzdA==\";\n\nconst autoSaveName = \"EConsultFormStart\";\n\nexport class EConsultFormStart extends React.Component {\n static propTypes = {\n viewer: PropTypes.any.isRequired,\n intl: intlShape,\n dispatch: PropTypes.func.isRequired,\n onCreated: PropTypes.func.isRequired,\n onDiscarded: PropTypes.func.isRequired,\n };\n\n constructor(props) {\n super(props);\n\n const state = {\n errors: [],\n filesToUpload: [],\n filesUploading: [],\n mutating: false,\n\n hospitalId: null,\n request: {\n text: null,\n preferredDestinationDepartment: null,\n departmentId: null,\n requesterId: null,\n },\n\n patientGender: \"\",\n patient: {\n demographic: {},\n healthInsurance: {\n expiration: null,\n },\n address: {\n countryCode: \"CA\",\n provinceCode: \"QC\",\n },\n },\n };\n\n const depts = this.props.viewer.currentUser.asSpecialist.departments;\n\n if (this.props.viewer.newRequestSavedItem && this.props.viewer.newRequestSavedItem.hasData) {\n const parsedData = JSON.parse(this.props.viewer.newRequestSavedItem.data);\n if (parsedData.patient) {\n if (Object.keys(parsedData.patient).length > 0) {\n state.patient = parsedData.patient || state.patient || {};\n }\n\n state.patientGender = state.patient.demographic.gender || \"\";\n } else if (parsedData.patientId) {\n this.props.relay.setVariables({ patientId: parsedData.patientId });\n }\n\n state.filesToUpload = parsedData.filesToUpload || state.filesToUpload;\n state.request = parsedData.request || state.request;\n\n if (parsedData.physician) {\n state.physician = parsedData.physician;\n }\n\n if (state.request.fromDepartment) {\n state.hospitalId = depts.filter(\n (x) => x.id === state.request.fromDepartment\n )[0].hospital.id;\n }\n\n this.props.dispatch(\n showDialogNotice(this.t(messages.loadedDataFromPreviousRequest), \"accept\")\n );\n }\n\n if (!state.hospitalId) {\n state.hospitalId = depts[0].hospital.id;\n }\n\n this.state = state;\n }\n\n t(key, args) {\n return this.props.intl.formatMessage(key, args);\n }\n\n componentDidMount() {\n document.title = setTitle(this.t.bind(this), this.t(messages.newTitle));\n const qs = queryString();\n if (qs.patientId) {\n this.props.relay.setVariables({ patientId: qs.patientId, hospitalId: this.state.hospitalId });\n }\n\n this.exiting = false;\n }\n\n componentWillUnmount() {\n // Timeout presence means we're waiting for auto-save!\n if (this.timeoutId && !this.exiting) {\n this.saveData(true);\n }\n\n clearTimeout(this.timeoutId);\n }\n\n beginAutoSave() {\n clearTimeout(this.timeoutId);\n this.timeoutId = setTimeout(() => {\n this.saveData(true);\n clearTimeout(this.timeoutId);\n }, 10 * 1000);\n\n registerAutoSave(autoSaveName, () => {\n this.saveData(true);\n });\n }\n\n render() {\n return this.renderRequest();\n }\n\n renderRequest() {\n const requestSubmitSavedItem = { hasData: false };\n if (this.state.request.text) {\n requestSubmitSavedItem.hasData = true;\n requestSubmitSavedItem.data = JSON.stringify({\n clinicalDomain: this.state.request.clinicalDomain,\n preferredDestinationDepartment: this.state.request.preferredDestinationDepartment,\n requestText: this.state.request.text,\n });\n }\n\n const viewer = this.props.viewer;\n\n return (\n (this.form = form)}\n onValidSubmit={(d) => this.addRequest(d, true)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.form)}\n onChange={(d) => {\n this.beginAutoSave();\n this.setState({ patientGender: d[\"demographic.gender\"] });\n }}\n className={formStyle[\"card-form\"]}>\n \n

    \n \n

    \n\n {this.renderEditableRequester()}\n\n {this.renderEditablePatient()}\n\n {\n this.setState(mutateState(files, \"filesToUpload\"), () => {\n this.saveData(true);\n });\n }}\n onFilesUploading={(fileIds) => {\n this.setState(() => ({ filesUploading: fileIds }));\n }}\n />\n\n {this.renderButtons()}\n\n {this.state.errors && this.state.errors.length > 0 ? (\n \n ) : null}\n \n );\n }\n\n renderButtons() {\n const filesReady = this.state.filesUploading.length === 0;\n return (\n \n {!filesReady && (\n \n {this.t(formMessages.filesNotReady)}\n \n )}\n \n \n this.addRequest(this.form.getModel(), false)}\n raised\n label={this.t(formMessages.saveDataButtonLabel)}\n />\n {\n e.preventDefault();\n this.exiting = true;\n this.removeAutoSavedItem().then(() => this.props.onDiscarded());\n }}\n disabled={this.state.mutating || this.state.mutatingSave}\n raised\n icon=\"delete\"\n type=\"button\"\n href={URLs.rootFormat(\"/cases/IN_PROGRESS\")}\n />\n \n \n );\n }\n\n addRequest(data, actuallySubmit: boolean) {\n this.exiting = true;\n\n if (!actuallySubmit) {\n // Manually validate that minimal values for addCase are filled.\n const requiredInputs = this.form.inputs.filter(\n (x) => x.props.name === \"demographic.gender\" || x.props.name === \"demographic.age\"\n );\n\n const invalidRequiredInputs = requiredInputs.filter((x) => !x.isValid());\n if (invalidRequiredInputs.length > 0) {\n invalidRequiredInputs.map((x) => x.setState({ _isPristine: false }));\n handleFormsyInvalidSubmit(this.form);\n return;\n }\n }\n\n const doneState = { mutatingSave: false, mutating: false };\n\n this.setState({ errors: [], mutatingSave: !actuallySubmit, mutating: actuallySubmit });\n Relay.Store.commitUpdate(\n new AddConversationConsultCaseMutation(this.mutationParams(data, actuallySubmit)),\n {\n onSuccess: (resp) => {\n const cas = resp.addClinicianConversationConsultCase.case;\n this.removeAutoSavedItem();\n const promise = actuallySubmit ? Promise.resolve() : this.saveUserItem(cas, data);\n promise\n .then(() => {\n this.props.dispatch(\n showDialogNotice(\n this.t(\n actuallySubmit ? formMessages.requestSubmitSuccess : formMessages.dataSaved\n ),\n \"accept\"\n )\n );\n this.props.onCreated(resp.addClinicianConversationConsultCase, actuallySubmit);\n this.setState(doneState);\n })\n .catch(() => {\n this.setState(doneState);\n });\n },\n onFailure: (r: Relay.Tran) => {\n this.onFailureHandler(r);\n },\n }\n );\n }\n\n saveUserItem(cas, data) {\n const params = {\n item: null,\n entityId: cas.id,\n purpose: purposes.RequestSubmit,\n permission: \"SELF\",\n data: JSON.stringify({\n clinicalDomain: data.request.clinicalDomain,\n preferredDestinationDepartment: data.request.preferredDestinationDepartment,\n requestText: data.request.text,\n filesToUpload: this.state.filesToUpload,\n }),\n };\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new SaveUserItemMutation(params), {\n onSuccess: () => {\n resolve();\n },\n onFailure: (r: Relay.Tran) => {\n this.onFailureHandler(r);\n reject();\n },\n });\n });\n }\n\n mutationParams(data, actuallySubmit: boolean) {\n const departments = this.props.viewer.currentUser.asSpecialist.departments;\n const hospitalId = departments.filter((x) => x.id === data.request.fromDepartment)[0].hospital\n .id;\n\n const result = {\n viewer: this.props.viewer,\n case: null,\n departmentId: data.request.fromDepartment,\n requesterId: data.request.requester,\n treatingPhysicianId: data.request.treatingPhysicianId,\n };\n\n if (!this.props.viewer.patient || this.state.createPatient) {\n data.demographic.firstName = data.demographic.firstName || NamePlaceholder;\n data.demographic.lastName = data.demographic.lastName || NamePlaceholder;\n\n result.newPatient = {\n clientMutationId: \"warble\",\n patient: {\n demographic: buildDemographic(data, {}),\n address: {},\n healthInsurance: buildHealthInsurance(data, {}),\n },\n hospitalId,\n };\n } else {\n result.patientId = this.props.viewer.patient.id;\n }\n\n if (actuallySubmit) {\n result.submitData = {\n clinicalDomainId: data.request.clinicalDomain,\n preferredDestinationDepartmentId: data.request.preferredDestinationDepartment,\n requestInformation: data.request.text,\n fileIds: this.state.filesToUpload.map((x) => x.id),\n };\n }\n\n return result;\n }\n\n onFailureHandler(r: Relay.Tran) {\n getErrors(r).then((errors) => {\n this.setState({ mutating: false, errors: this.state.errors.concat(errors) });\n });\n }\n\n requesterCardTitle() {\n return (\n }\n title={{this.t(formMessages.requesterLabel)}}\n />\n );\n }\n\n patientCardTitle() {\n return } title={this.t(formMessages.patient)} />;\n }\n\n renderEditableRequester() {\n let patientPhysician = null;\n const p = this.props.viewer.patient;\n if (this.state.physician) {\n patientPhysician = this.state.physician;\n } else if (p && p.familyPhysician) {\n patientPhysician = p.familyPhysician.physician;\n }\n return (\n \n {this.requesterCardTitle()}\n \n {\n this.setState({ hospitalId: id });\n this.props.relay.setVariables({ hospitalId: id });\n }}\n onPhysicianChanged={(p) => {\n this.setState({ physician: p });\n }}\n />\n \n \n );\n }\n\n renderEditablePatient() {\n if (this.props.viewer.patient && !this.state.createPatient) {\n return (\n \n this.setState({ createPatient: true })}\n deselectPatientIcon=\"create\"\n />\n \n );\n }\n\n const departments = this.props.viewer.currentUser.asSpecialist.departments;\n const fromDept = departments.filter((x) => x.id === this.state.request.fromDepartment);\n const hospitalId = fromDept[0] ? fromDept[0].hospital.id : undefined;\n const allowPick = isClientFeatureEnabled(clientFeatureKeys.EConsultPreviousCases);\n return (\n \n {this.patientCardTitle()}\n \n {\n this.props.relay.setVariables({ patientId: p.patient.id });\n this.setState({ pickingPatient: false, createPatient: false });\n this.saveData(true);\n }}\n />\n \n {allowPick && (\n \n {this.renderPickPatient()}\n this.setState({ pickingPatient: true })}\n />\n \n )}\n \n );\n }\n\n renderPickPatient() {\n const closeDialog = () => this.setState({ pickingPatient: false });\n return (\n (\n \n closeDialog()}>\n {this.t(baseI18n.global.close)}\n \n \n )}>\n {\n this.props.relay.setVariables({ patientId });\n this.setState({ pickingPatient: false, createPatient: false });\n this.saveData(true);\n }}\n />\n \n );\n }\n\n removeAutoSavedItem(): Promise {\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(\n new ResetUserItemMutation({\n item: this.props.viewer.newRequestSavedItem,\n entityId: tempItemKey,\n purpose: \"new-econsult-request\",\n }),\n {\n onSuccess: () => {\n resolve();\n },\n onFailure: (r: Relay.Tran) => {\n this.onFailureHandler(r);\n reject();\n },\n }\n );\n });\n }\n\n // eslint-disable-next-line no-unused-vars\n saveData(autoSave: boolean): void {\n const formData = this.form.getModel();\n const data = {\n request: formData.request,\n physician: this.state.physician,\n filesToUpload: this.state.filesToUpload,\n };\n if (!this.props.viewer.patient || this.state.createPatient) {\n data.patient = {\n demographic: formData.demographic,\n healthInsurance: formData.healthInsurance,\n };\n } else {\n data.patientId = this.props.viewer.patient.id;\n }\n\n const params = {\n item: this.props.viewer.newRequestSavedItem,\n entityId: tempItemKey,\n purpose: \"new-econsult-request\",\n permission: \"SELF\",\n data: JSON.stringify(data),\n };\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new SaveUserItemMutation(params), {\n onSuccess: () => {\n resolve();\n },\n onFailure: (r: Relay.Tran) => {\n this.onFailureHandler(r);\n reject();\n },\n });\n unregisterAutoSave(autoSaveName);\n });\n }\n}\n\nexport default Relay.createContainer(connect()(injectIntl(EConsultFormStart)), {\n initialVariables: {\n patientId: null,\n hasPatientId: false,\n hospitalId: null,\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n hasPatientId: Boolean(prevVariables.patientId),\n };\n },\n fragments: {\n viewer: ({ hospitalId }) => Relay.QL`\n fragment on RootQuery {\n ${EConsultRequesterEdit.getFragment(\"viewer\")}\n ${BasicPatientForm.getFragment(\"viewer\", { hospitalId })}\n ${EConsultFormRequest.getFragment(\"viewer\")}\n currentUser {\n isSpecialist\n asSpecialist {\n departments {\n id\n name\n value: id\n label: name\n hospital {\n id\n name\n value: id\n label: name\n }\n }\n }\n }\n\n ${PatientSelector.getFragment(\"viewer\")}\n\n patient(id: $patientId) @include(if: $hasPatientId) {\n id\n demographic {\n gender\n }\n\n\n familyPhysician {\n physician {\n ${PhysicianInput.getFragment(\"physician\")}\n id\n fullName\n }\n }\n ${PatientSummaryCard.getFragment(\"patient\")}\n }\n\n newRequestSavedItem: savedItem(\n entityId: \"dGVtcDpuZXctZWNvbnN1bHQtcmVxdWVzdA==\",\n purpose: \"new-econsult-request\"\n ) {\n ${ResetUserItemMutation.getFragment(\"item\")}\n ${SaveUserItemMutation.getFragment(\"item\")}\n data\n hasData\n savedOn\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter, routerShape } from \"react-router\";\n\nimport EConsultFormStart, { messages } from \"../../forms/ECONSULT/ECONSULT_form_start\";\n\nexport const queries = {\n viewer: () => Relay.QL`query { viewer }`,\n};\n\nexport const EConsultHeader = injectIntl(({ intl }) => {\n return {intl.formatMessage(messages.newTitle)};\n});\n\nexport class NewEConsultPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n router: routerShape,\n };\n\n constructor(props) {\n super(props);\n }\n\n render() {\n return (\n {\n this.props.router.push(submitted ? `/cases/WAITING` : `/cases/IN_PROGRESS`);\n }}\n onDiscarded={() => {\n this.props.router.push(`/cases/IN_PROGRESS`);\n }}\n />\n );\n }\n}\n\nexport default Relay.createContainer(withRouter(NewEConsultPage), {\n initialVariables: {},\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${EConsultFormStart.getFragment(\"viewer\")}\n }`,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\n\nconst GenericHeader = (props) => {\n return
    {props.intl.formatMessage(props.message)}
    ;\n};\n\nGenericHeader.propTypes = {\n message: PropTypes.object,\n};\n\nexport default injectIntl(GenericHeader);\n","import React from \"react\";\nimport { Route, Redirect } from \"react-router\";\n\nimport CaseDispatchPage from \"../components/cases/caseDispatchPage\";\nimport CaseRequestRedispatchPage from \"../components/cases/caseRequestRedispatchPage\";\nimport CasesListPage from \"../components/cases/casesListPage\";\nimport CasesTabsPage from \"../components/cases/casesTabsPage\";\nimport NewCasePage from \"../components/cases/creation/newCasePage\";\nimport NewEConsultPage, { EConsultHeader } from \"../components/cases/creation/newEConsultPage\";\nimport CasesHeader from \"../components/cases/header\";\nimport GenericHeader from \"../components/shared/genericHeader\";\nimport { URLs } from \"../constants\";\nimport { store } from \"../stores/store\";\n\nimport { RenderWithSplashAndError, ViewerQueries } from \"./routeHelpers\";\n\nfunction prepareWidgetListParams(params) {\n return {\n ...params,\n query: store.getState().headerReducer.query,\n };\n}\n\nconst defaultParams = {\n render: RenderWithSplashAndError,\n queries: ViewerQueries,\n};\n\nclass VideoHeader extends React.Component {\n render() {\n return ;\n }\n}\n\nexport default [\n ,\n\n {\n require.ensure(\n [],\n (require) => {\n const component = require(\"../components/forms/VIDEO/videoCasePage\");\n location.location.queries = component.queries;\n\n callback(null, { main: component.default, header: VideoHeader });\n },\n \"videoCasePage\"\n );\n }}\n render={RenderWithSplashAndError}\n prepareParams={prepareWidgetListParams}\n queries={{\n main: ViewerQueries,\n }}\n />,\n\n ,\n\n ,\n\n {\n if (x.props) {\n x.props.typeUrl = URLs.rootFormat(\"/cases/{type}\");\n }\n\n return RenderWithSplashAndError(x);\n }}>\n \n \n \n \n ,\n];\n","import React from \"react\";\nimport CalendarTodayIcon from \"@material-ui/icons/CalendarToday\";\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport { themr } from \"react-css-themr\";\nimport { FormattedMessage, injectIntl } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { CaseStatusUpdate } from \"~/src/js/components/shared/header\";\nimport { findStepById } from \"~/src/js/components/forms/THORSURG/helpers\";\nimport stepNames from \"~/src/js/components/forms/THORSURG/stepNames\";\nimport { parseToIsoDate } from \"~/src/js/helpers/dates\";\n\nimport { IsDynamicForm } from \"./DYNAMICFORM\";\nimport { messages as eConsultMessages } from \"./ECONSULT/ECONSULT_form\";\n\nimport { i18nMessages as patientMessages } from \"./PATIENT/PatientConversation.i18n\";\nimport { messages as genericFormMessages } from \"./GENERICv2/i18n\";\nimport { messages as thorsurgMessages } from \"./THORSURG/ThoracicSurgeryForm.i18n\";\nimport { messages as respEvaMessages } from \"./RESP_EVA/RESP_EVA_form.i18n\";\nimport styles from \"./formHeader.style\";\n\nexport const FormHeader = ({ intl: { formatMessage }, theme, viewer }) => {\n if (!viewer || !viewer.case) {\n return
    ;\n }\n\n const { legacyId, form, status } = viewer.case;\n\n if (form.code.indexOf(\"GER_\") === 0) {\n return (\n
    \n \n
    \n );\n } else if (form.code.indexOf(\"RESP_\") === 0) {\n return (\n
    \n {(message) => message}\n \n
    \n );\n } else if (form.code === \"ECONSULT\") {\n return (\n
    \n {formatMessage(eConsultMessages.title, {\n caseId: legacyId,\n })}\n
    \n );\n } else if (form.code === \"PATIENT\") {\n return (\n
    \n {formatMessage(patientMessages.forms.patient.title, {\n caseId: legacyId,\n })}\n \n
    \n );\n } else if (form.code === \"GENERICv2\") {\n return (\n
    \n {formatMessage(genericFormMessages.teleconsultation, {\n caseId: legacyId,\n })}\n \n
    \n );\n } else if (form.code === \"THORSURG\") {\n const { surgery, surgeryDate, surgeryToBeDetermined } = thorsurgMessages;\n const step = findStepById(viewer.case.data.steps, stepNames.SurgeryInformationCorb);\n\n return (\n
    \n
    \n {formatMessage(surgery, {\n caseId: legacyId,\n })}\n \n
    \n
    \n \n \n

    {formatMessage(surgeryDate)}

    \n

    \n {step && step.data && step.data.surgeryDate\n ? parseToIsoDate(step.data.surgeryDate)\n : formatMessage(surgeryToBeDetermined)}\n

    \n
    \n
    \n
    \n );\n } else if (IsDynamicForm(form.code)) {\n return (\n
    \n {`${form.name} #${legacyId}`}\n \n
    \n );\n }\n\n return null;\n};\n\nFormHeader.propTypes = {\n anticipatedDate: PropTypes.any,\n routeParams: PropTypes.object,\n theme: PropTypes.any,\n viewer: PropTypes.object,\n};\n\nconst ThemedFormHeader = themr(\"AKFormHeader\")(FormHeader);\nconst container = Relay.createContainer(injectIntl(ThemedFormHeader), {\n initialVariables: {\n caseId: null,\n caseLegacyId: null,\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n caseLegacyId: prevVariables.caseLegacyId ? parseInt(prevVariables.caseLegacyId) : null,\n };\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n currentUser {\n isSpecialist\n }\n\n case(id: $caseId, legacyId: $caseLegacyId) {\n id\n legacyId\n form {\n code\n name\n }\n\n status {\n name\n }\n\n data {\n ... on InvestigationCycleData {\n toDepartment {\n id\n name\n }\n }\n \n ... on ThoracicSurgeryData {\n steps {\n stepId\n data\n }\n }\n }\n }\n }\n `,\n },\n});\n\ncontainer.noSplash = true;\n\nexport default container;\n","import isEqual from \"lodash.isequal\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport Form from \"react-jsonschema-form\";\nimport TitleField from \"react-jsonschema-form/lib/components/fields/TitleField\";\nimport { connect } from \"react-redux\";\nimport { Tab, Tabs } from \"react-toolbox/lib/tabs\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport { setTitle } from \"../../../helpers/document\";\nimport { scrollToElementHelper } from \"../../../helpers/errors\";\nimport { showFullPage, hideFullPage } from \"../../../stores/app/actions\";\nimport { setFormParam, setFormParams } from \"../../../stores/forms/actions\";\nimport HtmlElement from \"../../shared/htmlElement\";\nimport FormNavigation from \"../formNavigation\";\nimport { YesNo, TextField, RadioButtons } from \"../helpers\";\n\nimport i18n from \"../GER_FCGA/GER_FCGA_form.i18n\";\n\nrequire(\"!style!css!./SURVEY_form.style.scss\");\n\nconst FORM_CODE = \"SURVEY\";\n\nexport const LatestStepKey = \"latest\";\nexport const IntroStepKey = \"intro\";\nexport const SummaryStepKey = \"summary\";\n\nexport type StepNumber = number | LatestStepKey | IntroStepKey | SummaryStepKey;\n\nexport const messages = defineMessages({\n name: {\n id: \"forms.SURVEY.name\",\n description: \"Survey Form Name\",\n defaultMessage: \"Survey\",\n },\n});\n\nclass SurveyForm extends React.Component {\n static propTypes = {\n viewer: PropTypes.object,\n intl: intlShape,\n dispatch: PropTypes.func,\n formsReducer: PropTypes.object,\n schema: PropTypes.arrayOf(PropTypes.object).isRequired,\n language: PropTypes.string,\n isChangingLanguage: PropTypes.bool,\n fullPageForm: PropTypes.bool,\n\n currentStep: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n jumpToSection: PropTypes.func,\n errors: PropTypes.arrayOf(PropTypes.object),\n setPageTitle: PropTypes.func,\n };\n\n constructor(props) {\n super(props);\n\n this.handleChange = this.handleChange.bind(this);\n this.onSubmit = this.onSubmit.bind(this);\n this.onError = this.onError.bind(this);\n }\n\n state = {\n formCode: FORM_CODE,\n isNextDisabled: false,\n };\n\n UNSAFE_componentWillMount() {\n const t = this.props.intl.formatMessage;\n document.title = setTitle(t, t(messages.name));\n }\n\n handleTabChange = (index) => {\n if (index === 0) {\n this.props.dispatch(hideFullPage());\n this.saveForm();\n } else {\n this.props.dispatch(showFullPage());\n this.saveForm();\n }\n };\n\n currentStepIsValid() {\n // TODO\n return true;\n }\n\n actualSteps() {\n return this.props.schema.filter((x) => Boolean(x.$schema));\n }\n\n totalSteps() {\n return this.actualSteps().length + 2;\n }\n\n handleChange(key, val) {\n this.props.dispatch(setFormParam(\"survey\", key, val));\n }\n\n currentStep(): number {\n if (this.props.currentStep === LatestStepKey || this.props.currentStep === undefined) {\n return 0;\n }\n\n if (this.props.currentStep === IntroStepKey) {\n return 0;\n }\n\n if (this.props.currentStep === SummaryStepKey) {\n return this.totalSteps() - 1;\n }\n\n const step =\n typeof this.props.currentStep === \"string\"\n ? parseInt(this.props.currentStep)\n : this.props.currentStep;\n\n return step;\n }\n\n previousSection() {\n if (this.props.fullPageForm) {\n if (this.props.currentStep === SummaryStepKey) {\n this.jumpToSection(1);\n } else {\n this.jumpToSection(0);\n }\n } else {\n this.jumpToSection(this.isBeginning() ? 0 : this.currentStep() - 1);\n }\n\n this.button = null;\n this.setState({ isNextDisabled: false });\n }\n\n isBeginning() {\n return !this.currentStep() || this.currentStep() <= 0;\n }\n\n nextSection() {\n if (this.button) {\n this.button.click();\n } else {\n this.advance();\n }\n }\n\n onSubmit(data) {\n console.log(\"onSubmit\", data); // eslint-disable-line\n this.props.dispatch(setFormParams(\"survey\", data.formData));\n this.advance();\n this.button = null;\n }\n\n onError(data) {\n console.log(\"onError\", data); // eslint-disable-line\n this.focusEmptyControl();\n }\n\n advance() {\n const step = this.currentStep();\n\n if (this.props.fullPageForm) {\n this.jumpToSection(this.props.currentStep === IntroStepKey ? 1 : this.totalSteps() - 1);\n } else {\n this.jumpToSection(step + 1);\n }\n }\n\n jumpToSection(step: number, replace: boolean) {\n if (step === this.totalSteps() - 1) {\n step = SummaryStepKey;\n } else if (step === 0) {\n step = IntroStepKey;\n }\n\n this.props.jumpToSection(step, replace);\n }\n\n submitForm() {}\n\n saveForm() {}\n\n render() {\n const t = this.props.intl.formatMessage;\n return (\n
    \n
    \n \n \n \n \n
    \n
    \n
    {this.currentStep() === 0 && this.renderIntro()}
    \n
    \n {this.props.currentStep !== IntroStepKey &&\n this.props.currentStep !== SummaryStepKey &&\n this.props.fullPageForm\n ? this.allSteps()\n : this.formStep(this.currentStep() - 1)}\n
    \n
    {this.currentStep() === this.totalSteps() - 1 && this.renderSummary()}
    \n
    \n this.previousSection()}\n isNextDisabled={this.state.isNextDisabled}\n onNextDisabledClick={() => this.focusEmptyControl()}\n nextSection={() => this.nextSection()}\n submitForm={() => this.submitForm()}\n saveForm={() => this.saveForm()}\n isFullPage={this.props.fullPageForm}\n formSubmittedNextAction={() => {}}\n />\n
    \n );\n }\n\n allSteps() {\n return
    {this.actualSteps().map((x, i) => this.formStep(i))}
    ;\n }\n\n formStep(step) {\n const stepValues = this.actualSteps()[step];\n if (!stepValues) {\n return null;\n }\n\n const fields = {\n TitleField: (props) => (\n
    \n \n
    \n ),\n };\n\n const widgets = {\n RadioWidget: (props) => {\n return (\n ({ value: x.value, title: x.label }))}\n handleChange={(key, val) => {\n props.onChange(val);\n }}\n />\n );\n },\n yesno: (props) => {\n return (\n {\n props.onChange(val);\n }}\n />\n );\n },\n TextWidget: (props) => {\n return (\n {\n props.onChange(val);\n }}\n />\n );\n },\n };\n\n // eslint-disable-next-line no-console\n const log = (type) => console[\"log\"].bind(console, type);\n const uiSchema = this.getUISchema(stepValues);\n return (\n
    \n {\n log(\"changed\")(s);\n const isNextDisabled = s.errors.length > 0;\n this.data = s.formData;\n if (this.state.isNextDisabled !== isNextDisabled) {\n this.setState({ isNextDisabled });\n }\n }}\n onSubmit={this.onSubmit}\n onError={this.onError}>\n
    \n (this.button = b)} value=\"submit\" />\n
    \n \n
    \n );\n }\n\n getUISchema(schema) {\n const props = Object.keys(schema.properties).map((key) => ({\n key,\n prop: schema.properties[key],\n }));\n scan(schema.dependencies, (v) => {\n if (v.properties) {\n Object.keys(v.properties).forEach((key) => {\n if (v.properties[key].type) {\n props.push({ key, prop: v.properties[key] });\n }\n });\n }\n });\n\n const uiSchema = {};\n if (schema.order) {\n uiSchema[\"ui:order\"] = schema.order;\n }\n\n props.forEach((x) => {\n const { key, prop } = x;\n uiSchema[key] = {\n \"ui:options\": {\n label: false,\n },\n };\n\n if (prop.oneOf && Array.isArray(prop.oneOf)) {\n if (\n isEqual(\n prop.oneOf.map((x) => x.const),\n [\"YES\", \"NO\"]\n )\n ) {\n uiSchema[key][\"ui:widget\"] = \"yesno\";\n } else {\n uiSchema[key][\"ui:widget\"] = \"radio\";\n }\n }\n });\n\n return uiSchema;\n }\n\n renderIntro() {\n const s = this.props.schema.filter((x) => x.$id === \"intro\")[0];\n if (!s) {\n return
    No intro here.
    ;\n }\n\n return ;\n }\n\n renderSummary() {\n const s = this.props.schema.filter((x) => x.$id === \"summary\")[0];\n if (!s) {\n return
    No summary here.
    ;\n }\n\n return ;\n }\n\n focusEmptyControl() {\n if (this.props.fullPageForm) {\n // For full page, ugly hack to auto-scroll to missing answer!\n const failedStep = this.lastValidStep() - 1;\n const stepContainer = document.querySelector(\"#step-\" + failedStep);\n scrollToElementHelper(stepContainer, 750);\n }\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n formsReducer: state.formsReducer,\n fullPageForm: state.settingsReducer.fullPageForm,\n language: state.settingsReducer.language,\n isChangingLanguage: state.layoutReducer.isChangingLanguage,\n };\n};\n\nexport default injectIntl(connect(mapStateToProps)(SurveyForm));\n\nfunction scan(obj, doFunc) {\n if (!obj) {\n return;\n }\n\n if (obj instanceof Object) {\n Object.keys(obj).forEach((k) => {\n if (Object.prototype.hasOwnProperty.cal(obj, k)) {\n if (Array.isArray(obj[k])) {\n obj[k].forEach((x) => scan(x, doFunc));\n } else {\n doFunc(obj);\n scan(obj[k], doFunc);\n }\n }\n });\n } else {\n doFunc(obj);\n }\n}\n\nexport const testJsonSchemas = [\n {\n $schema: \"http://json-schema.org/draft-06/schema#\",\n title:\n \"Over the last 2 weeks, how often have you been bothered by any of the following problems?\",\n type: \"object\",\n required: [\"q1\", \"q2\", \"q3\"],\n properties: {\n q1: {\n title: \"Little interest or pleasure in doing things\",\n type: \"number\",\n oneOf: [\n { const: 0, title: \"Not at all\" },\n { const: 1, title: \"Several days\" },\n { const: 2, title: \"More than half the days\" },\n { const: 3, title: \"Nearly every day\" },\n ],\n },\n q2: {\n title: \"Feeling down, depressed, or hopeless\",\n type: \"number\",\n oneOf: [\n { const: 0, title: \"Not at all\" },\n { const: 1, title: \"Several days\" },\n { const: 2, title: \"More than half the days\" },\n { const: 3, title: \"Nearly every day\" },\n ],\n },\n q3: {\n title: \"Trouble falling or staying asleep, or sleeping too much\",\n type: \"number\",\n oneOf: [\n { const: 0, title: \"Not at all\" },\n { const: 1, title: \"Several days\" },\n { const: 2, title: \"More than half the days\" },\n { const: 3, title: \"Nearly every day\" },\n ],\n },\n },\n },\n {\n $schema: \"http://json-schema.org/draft-06/schema#\",\n title: \"Example question dependencies\",\n type: \"object\",\n required: [\"qd1\"],\n order: [\"qd1\", \"qd2\", \"qd3\"],\n properties: {\n qd1: {\n title: \"Do you take medication regularly?\",\n type: \"string\",\n oneOf: [\n { const: \"YES\", title: \"Yes\" },\n { const: \"NO\", title: \"No\" },\n ],\n },\n qd2: {},\n qd3: {\n title: \"How do you feel right now?\",\n type: \"string\",\n },\n },\n dependencies: {\n qd1: {\n oneOf: [\n {\n properties: {\n qd1: {\n enum: [\"NO\"],\n },\n },\n },\n {\n properties: {\n qd1: {\n enum: [\"YES\"],\n },\n qd2: {\n title: \"How many daily?\",\n type: \"string\",\n oneOf: [\n { const: \"0\", title: \"0\" },\n { const: \"1-4\", title: \"1 to 4\" },\n { const: \"5-9\", title: \"5 to 9\" },\n { const: \"10+\", title: \"10+\" },\n ],\n },\n },\n required: [\"qd2\"],\n },\n ],\n },\n },\n },\n {\n $id: \"intro\",\n description: `
    \n

    Welcome to our cool survey

    \n

    \n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam et urna massa. Duis ex odio,\n ultrices et nulla ut, dictum tincidunt diam. Duis facilisis massa ut lobortis iaculis.\n Praesent bibendum elementum sapien, ut sollicitudin orci feugiat a. Integer cursus sed sem\n eu placerat. Duis facilisis euismod nisi in convallis. Etiam eu massa in ante placerat\n placerat.\n

    \n
    `,\n },\n {\n $id: \"summary\",\n description: `
    \n

    Thanks for your time!!

    \n

    \n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam et urna massa. Duis ex odio,\n ultrices et nulla ut, dictum tincidunt diam. Duis facilisis massa ut lobortis iaculis.\n Praesent bibendum elementum sapien, ut sollicitudin orci feugiat a. Integer cursus sed sem\n eu placerat. Duis facilisis euismod nisi in convallis. Etiam eu massa in ante placerat\n placerat.\n

    \n
    `,\n },\n];\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { withRouter, routerShape } from \"react-router\";\n\nimport { URLs } from \"../../../constants\";\n\nimport SurveyForm, { testJsonSchemas } from \"./SURVEY_form\";\n\nclass SurveyPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object,\n routerParams: PropTypes.object,\n routeParams: PropTypes.object,\n router: routerShape,\n route: PropTypes.object,\n dispatch: PropTypes.func,\n };\n\n changeSectionRoute(routeParams, replace: boolean) {\n const path = this.props.route.path.replace(\"(/:step)\", `/${routeParams.step}`);\n if (replace) {\n this.props.router.replace(path);\n } else {\n this.props.router.push(path);\n }\n }\n\n jumpToSection(step: number | string, replace: boolean) {\n const routeParams = Object.assign({}, this.props.routeParams, { step });\n this.changeSectionRoute(routeParams, replace);\n }\n\n render() {\n return (\n this.jumpToSection(step, replace)}\n formSubmittedNextAction={() => this.props.router.push(\"/cases/IN_PROGRESS\")}\n />\n );\n }\n}\n\nexport default withRouter(SurveyPage);\n","import React from \"react\";\nimport { Route } from \"react-router\";\n\nimport FormHeader from \"../components/forms/formHeader\";\nimport FormPage from \"../components/forms/formPage\";\nimport SurveyPage from \"../components/forms/SURVEY/surveyPage\";\n\nimport { RenderWithSplashAndError, ViewerQueries } from \"./routeHelpers\";\n// import VideoCaseDialog from \"../components/forms/VIDEO/videoCaseDialog\";\n\nconst defaultParams = {\n render: RenderWithSplashAndError,\n queries: {\n main: ViewerQueries,\n header: ViewerQueries,\n },\n};\n\nexport default [\n \n {\n require.ensure(\n [],\n (require) => {\n const component = require(\"../components/forms/ECONSULT/ECONSULT_referralPage\");\n location.location.queries = component.queries;\n callback(null, {\n main: component.default,\n });\n },\n \"eConsultReferralPage\"\n );\n }}\n {...defaultParams}\n />\n {\n require.ensure(\n [],\n (require) => {\n const component = require(\"../components/forms/VIDEO/videoCaseDialog\");\n location.location.queries = component.queries;\n callback(null, {\n main: component.default,\n });\n },\n \"genericVideoconferencePage\"\n );\n }}\n {...defaultParams}\n />\n ,\n ,\n];\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, InjectedIntlProps } from \"react-intl\";\nimport { connect } from \"react-redux\";\n\nimport { setTitle } from \"../../helpers/document\";\nimport { dismissGlobalErrors } from \"../../stores/app/actions\";\nimport ErrorCard, { ErrorCardError } from \"../shared/errorCard\";\nimport HtmlElement from \"../shared/htmlElement\";\n\nimport { messages } from \"./errors.i18n\";\n\n// eslint-disable-next-line no-underscore-dangle\nfunction _ErrorsHeader({ intl }) {\n return
    {intl.formatMessage(messages.title)}
    ;\n}\n\nexport const ErrorsHeader = injectIntl(_ErrorsHeader);\n\ninterface ErrorsPageProps extends InjectedIntlProps {\n errors: ErrorCardError[];\n url: string;\n dispatch: (action: unknown) => void;\n}\n\nexport class ErrorsPage extends React.Component {\n componentDidMount() {\n document.title = setTitle(this.props.intl.formatMessage, messages.title);\n }\n\n componentWillUnmount() {\n this.props.dispatch(dismissGlobalErrors());\n }\n\n render() {\n const { url, errors, intl } = this.props;\n const t = intl.formatMessage;\n if (!errors || errors.length === 0) {\n return

    {t(messages.noErrors)}

    ;\n }\n\n return (\n
    \n

    {t(messages.title)}

    \n \n \n
    \n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n errors: state.errors.errors,\n url: state.errors.url,\n };\n};\n\nexport default injectIntl(connect(mapStateToProps)(ErrorsPage));\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { themr } from \"react-css-themr\";\nimport { defineMessages, injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Button from \"react-toolbox/lib/button\";\n\nimport { setTitle } from \"../../helpers/document\";\nimport { showWidget as showSupportWidget } from \"../../helpers/support\";\nimport { loadCurrentTheme } from \"../../helpers/themes\";\nimport HtmlElement from \"../shared/htmlElement\";\nimport SplashScreen from \"../shared/splashScreen\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n liveSupport: {\n id: \"helpPage.liveSupport\",\n description: \"Phrase for live support\",\n defaultMessage: \"Chat with us\",\n },\n});\n\nclass HelpPage extends React.Component {\n static propTypes = {\n intl: intlShape,\n language: PropTypes.string,\n isSupportAvailable: PropTypes.bool.isRequired,\n theme: PropTypes.any,\n };\n\n state = {\n helpHtml: null,\n };\n\n UNSAFE_componentWillMount() {\n document.title = setTitle(this.props.intl.formatMessage, baseI18n.global.help);\n\n loadCurrentTheme().then((t) => {\n if (t.helpPage) {\n fetch(t.helpPage.replace(\"{lang}\", this.props.language.substr(0, 2)))\n .then((r) => r.text())\n .then((h) => this.setState({ helpHtml: h }));\n }\n });\n }\n\n render() {\n const t = this.props.intl.formatMessage;\n return this.state.helpHtml ? (\n
    \n \n {this.props.isSupportAvailable && (\n
    \n

    \n showSupportWidget()}\n label={t(messages.liveSupport)}\n raised\n primary\n />\n

    \n
    \n )}\n
    \n ) : (\n \n );\n }\n}\nconst mapStateToProps = (state) => {\n return {\n language: state.settingsReducer.language,\n isSupportAvailable: state.layoutReducer.isSupportAvailable,\n };\n};\n\nconst ThemedHelpPage = themr(\"AKHelpPage\")(HelpPage);\nexport default injectIntl(connect(mapStateToProps)(ThemedHelpPage));\n","import React from \"react\";\nimport { Route } from \"react-router\";\n\nimport ErrorsPage, { ErrorsHeader } from \"../components/errors/errorsPage\";\nimport HelpPage from \"../components/general/helpPage\";\nimport GenericHeader from \"../components/shared/genericHeader\";\n\nimport { RenderWithSplashAndError } from \"./routeHelpers\";\n\nimport baseI18n from \"../../messages/base.i18n\";\n\nconst defaultParams = {\n render: RenderWithSplashAndError,\n};\n\nclass HelpHeader extends React.Component {\n render() {\n return ;\n }\n}\n\nexport default [\n ,\n ,\n];\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport Avatar from \"react-toolbox/lib/avatar\";\nimport { Button } from \"react-toolbox/lib/button\";\nimport { Card, CardTitle, CardText } from \"react-toolbox/lib/card\";\nimport Input from \"react-toolbox/lib/input\";\n\nimport { URLs } from \"../../constants\";\nimport PatientExternalSourceWarning from \"../patients/patientExternalSourceWarning\";\nimport PatientSearch from \"../patients/patientSearch\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\nimport hospitalsTranslation from \"./hospitals.i18n\";\n\nclass ShowAndSearchPatients extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n };\n\n constructor() {\n super();\n this.state = {\n hospitalLegacyId: 12,\n selectedPatient: null,\n };\n }\n\n render() {\n const hospital = this.props.viewer.hospital;\n const hospitalIdLabel = this.props.intl.formatMessage(baseI18n.hospitals.id);\n return (\n
    \n
    \n \n
    \n\n {hospital ? this.renderHospital(hospital) :

    No hospital found

    }\n\n \n
    \n );\n }\n\n selectPatient(selectedPatient) {\n this.setState({ selectedPatient });\n }\n\n deselectPatient() {\n this.setState({ selectedPatient: null });\n }\n\n renderHospital(hospital) {\n return (\n
    \n \n }\n title={hospital.name}\n subtitle={hospital.id + \" - \" + hospital.legacyId}\n />\n \n \n \n \n \n
    \n );\n }\n\n setHospitalLegacyId(hospitalLegacyId) {\n hospitalLegacyId =\n hospitalLegacyId && !isNaN(hospitalLegacyId) ? parseInt(hospitalLegacyId) : \"\";\n this.setState({ hospitalLegacyId });\n\n this.props.relay.setVariables({\n hospitalLegacyId: hospitalLegacyId || null,\n });\n }\n}\n\nexport default Relay.createContainer(injectIntl(ShowAndSearchPatients), {\n initialVariables: {\n hospitalLegacyId: 12,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PatientSearch.getFragment(\"viewer\")}\n hospital(legacyId: $hospitalLegacyId) {\n id\n legacyId\n name\n ${PatientSearch.getFragment(\"patientSearch\")}\n ${PatientExternalSourceWarning.getFragment(\"hospital\")}\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Relay from \"react-relay/classic\";\n\nimport AddPatient from \"./addPatient\";\n\nexport const queries = {\n viewer: () => Relay.QL`query { viewer }`,\n};\n\nclass _AddPatientPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n };\n\n render() {\n return (\n \n );\n }\n\n onCancel() {\n history.back();\n }\n\n patientSaved(p) {\n window.location.href = \"/patients/\" + p.patient.id;\n }\n}\n\nexport default Relay.createContainer(_AddPatientPage, {\n initialVariables: {\n hospitalId: null,\n },\n fragments: {\n viewer: ({ hospitalId }) => Relay.QL`\n fragment on RootQuery {\n ${AddPatient.getFragment(\"viewer\", { hospitalId })}\n }`,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Relay from \"react-relay/classic\";\n\nimport EditPatient from \"./editPatient\";\n\nclass EditPatientPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n };\n\n render() {\n return (\n \n );\n }\n\n onCancel() {\n history.back();\n }\n\n patientSaved() {\n // Do nothing for now!\n }\n}\n\nexport default Relay.createContainer(EditPatientPage, {\n initialVariables: {\n patientId: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${EditPatient.getFragment(\"viewer\")}\n patient(id: $patientId) {\n ${EditPatient.getFragment(\"patient\")}\n }\n }`,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\n\nimport { messages } from \"../layout/mainNavigation\";\n\nclass PatientsHeader extends React.Component {\n static propTypes = {\n routeParams: PropTypes.object,\n };\n\n render() {\n return
    {this.props.intl.formatMessage(messages.patients)}
    ;\n }\n}\n\nexport default injectIntl(PatientsHeader);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter } from \"react-router\";\nimport { routerShape, locationShape } from \"react-router/lib/PropTypes\";\nimport Dialog from \"react-toolbox/lib/dialog\";\n\nimport { setTitle } from \"../../../helpers/document\";\nimport { messages } from \"../../layout/mainNavigation\";\nimport PatientInformation from \"../../shared/patientInformation\";\n\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nclass MyPatientInformationPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n intl: intlShape,\n router: routerShape,\n location: locationShape,\n };\n\n componentDidMount() {\n const viewer = this.props.viewer;\n this.oldTitle = document.title;\n document.title = setTitle(\n this.props.intl.formatMessage,\n messages.patients,\n viewer.patient.demographic.fullName\n );\n }\n\n componentWillUnmount() {\n document.title = this.oldTitle;\n }\n\n render() {\n const viewer = this.props.viewer;\n const patient = viewer.patient;\n if (!viewer) {\n return null;\n }\n\n if (!patient) {\n const closeDialog = () => this.onDialogClose();\n return (\n \n Patient #{this.props.relay.variables.patientId} not found.\n \n );\n }\n\n return (\n this.onDialogClose()}\n />\n );\n }\n\n onDialogClose() {\n this.props.router.push(\n this.props.location.pathname.replace(\"/\" + this.props.relay.variables.patientId, \"\")\n );\n }\n}\n\nexport default Relay.createContainer(withRouter(injectIntl(MyPatientInformationPage)), {\n initialVariables: {\n patientId: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PatientInformation.getFragment(\"viewer\")}\n patient(id: $patientId) {\n id\n legacyId\n ${PatientInformation.getFragment(\"patient\", { showPopup: true })}\n demographic {\n fullName\n }\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\n\nimport { messages } from \"../../layout/mainNavigation\";\nimport SearchToolbar from \"../../layout/searchToolbar\";\n\nclass MyPatientsHeader extends React.Component {\n static propTypes = {\n routeParams: PropTypes.object,\n };\n\n render() {\n return (\n
    \n {this.props.intl.formatMessage(messages.patients)}\n
    \n \n
    \n
    \n );\n }\n}\n\nexport default injectIntl(MyPatientsHeader);\n","import throttle from \"lodash.throttle\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter, routerShape } from \"react-router\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport MobileMediaQuery from \"~/src/js/components/shared/MediaQuery/MobileMediaQuery\";\n\nimport cardListStyle from \"../../../../styles/cardList\";\nimport { MyPatientsFilter } from \"../../../constants\";\nimport { featureKeys, isEnabled } from \"../../../helpers/features\";\nimport { store } from \"../../../stores/store\";\nimport SpinnerButton from \"../../shared/inputs/custom/spinnerButton\";\nimport PatientRow from \"../patientRow\";\n\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nclass MyPatientsList extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n router: routerShape,\n intl: intlShape,\n query: PropTypes.string,\n dispatch: PropTypes.func,\n patientUrl: PropTypes.string,\n onlyPendingInvitations: PropTypes.bool,\n };\n\n state = {\n first: 12,\n searching: false,\n loadingMore: false,\n };\n\n constructor(props) {\n super(props);\n\n this.throttledUpdateVariables = throttle(this.updateVariables.bind(this), 750, {\n leading: false,\n });\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillReceiveProps(nextProps) {\n if (\n nextProps.query !== this.props.relay.variables.query ||\n nextProps.onlyPendingInvitations !== this.props.relay.variables.onlyPendingInvitations\n ) {\n this.updateVariables(nextProps);\n }\n }\n\n updateVariables(nextProps) {\n const invitationsEnabled = isEnabled(\n this.props.viewer.features,\n featureKeys.PatientInvitations\n );\n this.setState({ searching: true });\n this.props.relay.setVariables(\n {\n query: nextProps.query,\n onlyPendingInvitations: invitationsEnabled && nextProps.onlyPendingInvitations,\n },\n (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ searching: false });\n }\n }\n );\n }\n\n render() {\n return (\n
    \n
    \n \n
    \n \n {(matches) => {\n if (matches) {\n return this.renderMobile();\n } else {\n return this.renderMobile();\n }\n }}\n \n
    \n );\n }\n\n renderMobile() {\n const { currentUser } = this.props.viewer;\n if (!currentUser.isSpecialist) {\n return this.renderMobileCarer();\n }\n\n const t = this.props.intl.formatMessage;\n const patients = currentUser.asSpecialist.patients;\n\n if (!patients || patients.edges.length === 0) {\n return

    {this.props.intl.formatMessage(baseI18n.patients.search.noneFound)}

    ;\n }\n\n const hasNextPage = patients.pageInfo.hasNextPage;\n return (\n
    \n
      \n {patients.edges.map((p) => (\n this.selectPatient(patient)}\n selectPatientUrl={this.props.patientUrl.replace(\"{id}\", p.node.id)}\n clickableChips\n selectLabel={t(baseI18n.global.open)}\n informationTextOnly\n showDialog={this.state.selectedPatient && this.state.selectedPatient.id === p.node.id}\n onDialogClose={() => this.setState({ selectedPatient: null })}\n />\n ))}\n
    \n {hasNextPage ? (\n
    \n this.loadMore()}\n loading={this.state.loadingMore}\n label={t(baseI18n.global.more)}\n />\n
    \n ) : null}\n
    \n );\n }\n\n renderMobileCarer() {\n const { currentUser } = this.props.viewer;\n if (!currentUser.isCarer) {\n return null;\n }\n\n const t = this.props.intl.formatMessage;\n const patients = currentUser.asCarer.patients.map((x) => x.patient);\n\n if (!patients || patients.length === 0) {\n return

    {this.props.intl.formatMessage(baseI18n.patients.search.noneFound)}

    ;\n }\n\n return (\n
    \n
      \n {patients.map((p) => (\n this.selectPatient(patient)}\n selectPatientUrl={this.props.patientUrl.replace(\"{id}\", p.id)}\n clickableChips\n selectLabel={t(baseI18n.global.open)}\n informationTextOnly\n showDialog={this.state.selectedPatient && this.state.selectedPatient.id === p.id}\n onDialogClose={() => this.setState({ selectedPatient: null })}\n />\n ))}\n
    \n
    \n );\n }\n\n selectPatient(patient) {\n if (!this.props.patientUrl) {\n this.setState({ selectedPatient: patient });\n }\n }\n\n loadMore(): void {\n const first = this.state.first + 12;\n this.setState({ first, loadingMore: true });\n this.props.relay.setVariables({ first }, (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ loadingMore: false });\n }\n });\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n query: state.headerReducer.query || null,\n onlyPendingInvitations: state.settingsReducer.myPatients.onlyPendingInvitations,\n };\n};\n\nconst mapDispatchToProps = (dispatch) => {\n return {\n dispatch,\n };\n};\n\nexport default Relay.createContainer(\n withRouter(injectIntl(connect(mapStateToProps, mapDispatchToProps)(MyPatientsList))),\n {\n initialVariables: {\n query: store.getState().headerReducer.query,\n filter: MyPatientsFilter.ALL,\n first: 12,\n onlyPendingInvitations: false,\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n query: store.getState().headerReducer.query,\n onlyPendingInvitations: store.getState().settingsReducer.myPatients.onlyPendingInvitations,\n };\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n currentUser {\n user {\n id\n }\n isCarer\n asCarer {\n patients {\n patient {\n id\n legacyId\n ${PatientRow.getFragment(\"patient\")}\n ${PatientRow.getFragment(\"contextInformation\")}\n }\n }\n }\n\n isSpecialist\n asSpecialist {\n patients(\n filter: $filter,\n query: $query,\n first: $first,\n onlyPendingInvitations: $onlyPendingInvitations\n ) {\n pageInfo {\n hasNextPage\n }\n edges {\n node {\n ${PatientRow.getFragment(\"patient\")}\n ${PatientRow.getFragment(\"contextInformation\")}\n id\n legacyId\n }\n }\n }\n }\n }\n\n ${PatientRow.getFragment(\"viewer\")}\n }\n `,\n },\n }\n);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter, routerShape, locationShape } from \"react-router\";\n\nimport { MyPatientsFilter } from \"../../../constants\";\n\nimport MyPatientsList from \"./myPatientsList\";\n\nclass MyPatientsListPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n router: routerShape,\n location: locationShape,\n main: PropTypes.any,\n intl: intlShape,\n };\n\n render() {\n return (\n
    \n \n {this.props.main || this.props.children}\n
    \n );\n }\n}\n\nexport default Relay.createContainer(withRouter(injectIntl(MyPatientsListPage)), {\n initialVariables: {\n filter: MyPatientsFilter.ALL,\n },\n fragments: {\n viewer: ({ filter }) => Relay.QL`\n fragment on RootQuery {\n ${MyPatientsList.getFragment(\"viewer\", { filter })}\n }`,\n },\n});\n","import Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, defineMessages, FormattedMessage } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport Button from \"react-toolbox/lib/button\";\nimport Checkbox from \"react-toolbox/lib/checkbox\";\nimport { Tab, Tabs } from \"react-toolbox/lib/tabs\";\nimport { Modal, ButtonGroup, Button as GerudoButton } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { MyPatientsFilter } from \"../../../constants\";\nimport { featureKeys, isEnabled } from \"../../../helpers/features\";\nimport { showOnlyPendingInvitations } from \"../../../stores/app/actions\";\nimport { departmentDropdownSource } from \"../../shared/dropdownHelpers\";\nimport DropDownListInput from \"../../shared/inputs/dropDownListInput\";\nimport AddPatient from \"../addPatient\";\n\nimport hospitalsI18n from \"../../hospitals/hospitals.i18n\";\nimport caseStyle from \"../../cases/cases.style\";\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nconst messages = defineMessages({\n filterAll: {\n id: \"myPatientsTabs.filterAll\",\n description: \"Tab label for All patients\",\n defaultMessage: \"All\",\n },\n filterMyDepartments: {\n id: \"myPatientsTabs.filterMyDepartments\",\n description: \"Tab label for my departments' patients\",\n defaultMessage: \"All Active\",\n },\n filterMine: {\n id: \"myPatientsTabs.filterMine\",\n description: \"Tab label for my patients\",\n defaultMessage: \"Mine\",\n },\n addPatientDescription: {\n id: \"myPatientsTabs.addPatientDescription\",\n description: \"Add patient quick description\",\n defaultMessage: \"Choose the establishment in which you'd like to add this patient.\",\n },\n onlyPendingInvitations: {\n id: \"myPatientsTabs.onlyPendingInvitations\",\n description: \"Label for only pending invitation checkbox\",\n defaultMessage: \"Show only pending user invitations\",\n },\n});\n\nexport class MyPatientsTabs extends React.Component {\n static propTypes = {\n main: PropTypes.object,\n viewer: PropTypes.object,\n filter: PropTypes.string,\n onFilterChange: PropTypes.func,\n onPatientCreated: PropTypes.func,\n filterUrl: PropTypes.string,\n dispatch: PropTypes.func,\n onlyPendingInvitations: PropTypes.bool,\n };\n\n static indexMap = {\n 0: MyPatientsFilter.MINE,\n 1: MyPatientsFilter.MY_DEPARTMENTS,\n 2: MyPatientsFilter.ALL,\n };\n\n constructor(props) {\n super(props);\n this.reverseIndexMap = {};\n Object.keys(MyPatientsTabs.indexMap).forEach((key) => {\n this.reverseIndexMap[MyPatientsTabs.indexMap[key]] = parseInt(key);\n });\n\n let index = 0;\n if (props.filter) {\n index = this.reverseIndexMap[props.filter];\n }\n\n this.state = {\n index,\n hospitalId: null,\n addPatientDialogActive: false,\n };\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillReceiveProps(nextProps) {\n this.setState({ index: this.reverseIndexMap[nextProps.filter] });\n }\n\n handleTabChange(index): void {\n this.setState({ index });\n if (this.props.onFilterChange) {\n this.props.onFilterChange(MyPatientsTabs.indexMap[index]);\n }\n }\n\n getTabLabel(filter: string, text: string): any {\n const f = this.props.intl.formatMessage;\n const children = [\n \n {f(text)}\n ,\n ];\n\n if (this.props.filterUrl) {\n return (\n {\n if (this.props.onFilterChange) {\n e.preventDefault();\n this.props.onFilterChange(filter);\n }\n }}>\n {children}\n \n );\n }\n\n return
    {children}
    ;\n }\n\n render() {\n const allowCreation = isEnabled(this.props.viewer.features, featureKeys.PatientCreate);\n const allowOtherThanMine = this.props.viewer.currentUser.isSpecialist;\n return (\n
    \n
    \n {allowCreation && this.renderCreateButton()}\n {this.renderFilters()}\n
    \n {allowOtherThanMine ? (\n this.handleTabChange(i)}\n theme={caseStyle}>\n \n \n \n \n ) : (\n \n \n \n )}\n {this.props.main || this.props.children}\n
    \n );\n }\n\n renderFilters() {\n if (!isEnabled(this.props.viewer.features, featureKeys.PatientInvitations)) {\n return;\n }\n return (\n
    \n this.props.dispatch(showOnlyPendingInvitations(e))}\n />\n
    \n );\n }\n\n renderCreateButton() {\n const t = this.props.intl.formatMessage;\n const closeDialog = () => this.setState({ addPatientDialogActive: false, hospitalId: null });\n\n const submit = () => {\n if (this.state.hospitalId) {\n this.addPatientSubmit();\n } else {\n this.form.submit();\n }\n };\n const label = this.state.hospitalId ? (\n \n ) : (\n \n );\n\n const actions = (\n \n \n \n \n submit()}>\n {label}\n \n \n );\n\n return [\n this.setState({ addPatientDialogActive: true })}\n icon=\"add_circle\"\n label={t(hospitalsI18n.addPatient)}\n primary\n raised\n key=\"add-button\"\n />,\n actions}\n dataTestId=\"addPatientModal\">\n {this.renderAddDialog()}\n ,\n ];\n }\n\n selectPatient(p) {\n this.setState({ addPatientDialogActive: false, hospitalId: null });\n if (this.props.onPatientCreated) {\n this.props.onPatientCreated(p);\n }\n }\n\n renderAddDialog() {\n const t = this.props.intl.formatMessage;\n const hospitalId = this.state.hospitalId;\n if (hospitalId) {\n return (\n
    \n (this.addPatientSubmit = submitFunc)}\n onSave={(p) => this.selectPatient(p)}\n onSimilarPatientSelected={(p) => this.selectPatient(p)}\n allowQuickAdd={true}\n onSubmit={() => this.setState({ isSubmitting: true })}\n onFinish={() => this.setState({ isSubmitting: false })}\n />\n
    \n );\n }\n\n const source = departmentDropdownSource(\n this.props.viewer.currentUser.asSpecialist.departments,\n undefined,\n true\n );\n return (\n
    \n (this.form = form)}\n onValidSubmit={(data) => {\n this.props.relay.setVariables({ hospitalId: data.hospital }, (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ hospitalId: data.hospital });\n }\n });\n }}>\n

    {this.props.intl.formatMessage(messages.addPatientDescription)}

    \n \n \n
    \n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n onlyPendingInvitations: state.settingsReducer.myPatients.onlyPendingInvitations,\n };\n};\n\nexport default Relay.createContainer(injectIntl(connect(mapStateToProps)(MyPatientsTabs)), {\n initialVariables: {\n hospitalId: null,\n },\n fragments: {\n viewer: ({ hospitalId }) => Relay.QL`\n fragment on RootQuery {\n features\n currentUser {\n isSpecialist\n isPatient\n isCarer\n asSpecialist {\n departments {\n value: id\n label: name\n hospital {\n value: id\n label: name\n }\n }\n }\n }\n ${AddPatient.getFragment(\"viewer\", { hospitalId })}\n }`,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter } from \"react-router\";\nimport { routerShape } from \"react-router/lib/PropTypes\";\n\nimport { MyPatientsFilter } from \"../../../constants\";\nimport { setTitle } from \"../../../helpers/document\";\nimport { messages } from \"../../layout/mainNavigation\";\n\nimport MyPatientsTabs from \"./myPatientsTabs\";\n\nclass MyPatientsTabsPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n intl: intlShape.isRequired,\n router: routerShape,\n };\n\n UNSAFE_componentWillMount() {\n document.title = setTitle(this.props.intl.formatMessage, messages.patients);\n }\n\n render() {\n return (\n
    \n {\n const route = \"/my-patients/\" + this.props.params.filter + \"/\" + p.patient.id;\n this.props.router.push(route);\n }}\n />\n
    \n );\n }\n}\n\nexport default Relay.createContainer(withRouter(injectIntl(MyPatientsTabsPage)), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${MyPatientsTabs.getFragment(\"viewer\")}\n }`,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class ImportPatientsMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(ImportPatientsMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { importPatients }`;\n }\n\n getVariables() {\n return {\n patients: this.props.patients,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on AddPatientPayload @relay(plural: true) {\n patient {\n id\n }\n index\n success\n details\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on AddPatientPayload @relay(plural: true) {\n patient {\n id\n healthInsurance {\n number\n }\n }\n index\n success\n details\n }\n `,\n ],\n },\n ];\n }\n}\n\nexport const importPatientsMutation = ({ patients }) => {\n const params = {\n patients,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new ImportPatientsMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","export const messages = {\n noData: {\n id: \"global.none\",\n description: \"No data label\",\n },\n patients: {\n actions: {\n downloadTemplate: {\n id: \"importPatients.actions.downloadTemplate\",\n description: \"Download template button label\",\n },\n },\n feedback: {\n importWithSuccess: {\n id: \"importPatients.feedback.importWithSuccess\",\n description: \"Feed back message when importation is a success\",\n },\n },\n columns: {\n success: {\n id: \"global.success\",\n description: \"Success label\",\n },\n firstName: {\n id: \"patients.demographic.firstName\",\n description: \"Patient first name label\",\n },\n lastName: {\n id: \"patients.demographic.lastName\",\n description: \"Patient last name label\",\n },\n sex: {\n id: \"patients.demographic.sex\",\n description: \"Patient first name label\",\n },\n ramq: {\n id: \"patients.ramq.number\",\n description: \"Patient ramq label\",\n },\n expiration: {\n id: \"patients.ramq.expiration\",\n description: \"Patient ramq expiration label\",\n },\n birthDate: {\n id: \"patients.demographic.birthday\",\n description: \"Patient birthday label\",\n },\n motherFirstName: {\n id: \"patients.demographic.motherFirstName\",\n description: \"Patient motherFirstName label\",\n },\n motherLastName: {\n id: \"patients.demographic.motherLastName\",\n description: \"Patient motherLastName label\",\n },\n fatherFirstName: {\n id: \"patients.demographic.fatherFirstName\",\n description: \"Patient fatherFirstName label\",\n },\n fatherLastName: {\n id: \"patients.demographic.fatherLastName\",\n description: \"Patient fatherLastName label\",\n },\n phone: {\n id: \"patients.address.telephoneHome\",\n description: \"Patient phone label\",\n },\n cellPhone: {\n id: \"patients.address.telephoneCellular\",\n description: \"Patient cell phone label\",\n },\n hospitalName: {\n id: \"hospitals.hospital\",\n description: \"Hospital label\",\n },\n mrn: {\n id: \"hospitals.mrn\",\n description: \"MRN label\",\n },\n details: {\n id: \"global.notes\",\n description: \"Import Details label\",\n },\n },\n },\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Table } from \"@akinoxsolutions/gerudo-ui\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport FormattedDate from \"~/src/js/components/shared/formattedDate\";\n\nimport { messages } from \"./ImportPatients.i18n\";\n\nconst ImportPatientsTable = ({ patients }) => {\n const dateRender = (date) => (date ? : null);\n const dateYearMonthRender = (date) =>\n date ? : null;\n\n const columns = [\n {\n title: ,\n dataIndex: \"success\",\n key: \"success\",\n },\n {\n title: ,\n dataIndex: \"firstName\",\n key: \"firstName\",\n },\n {\n title: ,\n dataIndex: \"lastName\",\n key: \"lastName\",\n },\n {\n title: ,\n dataIndex: \"gender\",\n key: \"gender\",\n },\n {\n title: ,\n dataIndex: \"ramq\",\n key: \"ramq\",\n },\n {\n title: ,\n dataIndex: \"expiration\",\n key: \"expiration\",\n render: dateYearMonthRender,\n },\n {\n title: ,\n dataIndex: \"birthday\",\n key: \"birthday\",\n render: dateRender,\n },\n {\n title: ,\n dataIndex: \"motherFirstName\",\n key: \"motherFirstName\",\n },\n {\n title: ,\n dataIndex: \"motherLastName\",\n key: \"motherLastName\",\n },\n {\n title: ,\n dataIndex: \"fatherFirstName\",\n key: \"fatherFirstName\",\n },\n {\n title: ,\n dataIndex: \"fatherLastName\",\n key: \"fatherLastName\",\n },\n {\n title: ,\n dataIndex: \"phone\",\n key: \"phone\",\n },\n {\n title: ,\n dataIndex: \"cellPhone\",\n key: \"cellPhone\",\n },\n {\n title: ,\n dataIndex: \"hospitalName\",\n key: \"hospitalName\",\n },\n {\n title: ,\n dataIndex: \"mrn\",\n key: \"mrn\",\n },\n {\n title: ,\n dataIndex: \"details\",\n key: \"details\",\n },\n ];\n\n const dataSource = patients.map((patient, index) => {\n return {\n key: index,\n ...patient,\n };\n });\n\n return (\n }}\n />\n );\n};\n\nImportPatientsTable.propTypes = {\n patients: PropTypes.arrayOf(PropTypes.object),\n};\n\nexport default ImportPatientsTable;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { List } from \"@akinoxsolutions/gerudo-ui\";\n\nconst FilesList = ({ files }) => {\n if (!files && files.length === 0) {\n return null;\n }\n\n const items = files.map((file) =>
    {file.name}
    );\n\n return ;\n};\n\nFilesList.propTypes = {\n files: PropTypes.arrayOf(PropTypes.object),\n};\n\nexport default FilesList;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Formsy from \"formsy-react\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { ButtonGroup, Button, CheckCircleIcon, WarningIcon } from \"@akinoxsolutions/gerudo-ui\";\nimport { FormattedMessage, injectIntl, intlShape } from \"react-intl\";\n\nimport { URLs } from \"~/src/js/constants\";\nimport { serializeDate } from \"~/src/js/helpers/dates\";\nimport { useFormsySubmit, useUploadXlsxFilesToDataModel, MODEL_TYPES } from \"~/src/js/hooks\";\nimport { showDialogNotice } from \"~/src/js/stores/app/actions\";\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport FilesInput from \"~/src/js/components/shared/inputs/filesInput\";\nimport { ViewerPropTypes } from \"~/src/js/PropTypes/Case\";\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport { importPatientsMutation } from \"./ImportPatientsMutation\";\nimport ImportPatientsTable from \"./ImportPatientsTable\";\nimport styles from \"./ImportPatients.styles\";\nimport FilesList from \"./FilesList\";\n\nimport { messages } from \"./ImportPatients.i18n\";\n\nconst importPatientsModels = [\n {\n key: \"firstName\",\n type: MODEL_TYPES.string,\n indexOfValue: 0,\n },\n {\n key: \"lastName\",\n type: MODEL_TYPES.string,\n indexOfValue: 1,\n },\n {\n key: \"gender\",\n type: MODEL_TYPES.string,\n indexOfValue: 2,\n },\n {\n key: \"ramq\",\n type: MODEL_TYPES.string,\n indexOfValue: 3,\n },\n {\n key: \"expiration\",\n type: MODEL_TYPES.date,\n indexOfValue: 4,\n },\n {\n key: \"birthday\",\n type: MODEL_TYPES.date,\n indexOfValue: 5,\n },\n {\n key: \"motherFirstName\",\n type: MODEL_TYPES.string,\n indexOfValue: 6,\n },\n {\n key: \"motherLastName\",\n type: MODEL_TYPES.string,\n indexOfValue: 7,\n },\n {\n key: \"fatherFirstName\",\n type: MODEL_TYPES.string,\n indexOfValue: 8,\n },\n {\n key: \"fatherLastName\",\n type: MODEL_TYPES.string,\n indexOfValue: 9,\n },\n {\n key: \"phone\",\n type: MODEL_TYPES.string,\n indexOfValue: 10,\n },\n {\n key: \"cellPhone\",\n type: MODEL_TYPES.string,\n indexOfValue: 11,\n },\n {\n key: \"hospitalName\",\n type: MODEL_TYPES.string,\n indexOfValue: 12,\n },\n {\n key: \"hospitalId\",\n type: MODEL_TYPES.string,\n indexOfValue: 13,\n },\n {\n key: \"mrn\",\n type: MODEL_TYPES.string,\n indexOfValue: 14,\n },\n];\n\nconst GENDER_TYPES_MAP = {\n F: \"FEMALE\",\n M: \"MALE\",\n X: \"OTHER\",\n};\n\nconst ImportPatients = ({ viewer, showNotification, intl: { formatMessage } }) => {\n const addReferenceDataToTemplate = (workbook) => {\n const values = viewer.hospitals.edges.map((edge) => [edge.node.name, edge.node.id]);\n workbook\n .sheet(\"ReferenceData\")\n .range(\"A2:B\" + (values.length + 1))\n .value(values);\n\n return workbook;\n };\n\n const {\n files,\n data: importedPatients,\n uploading,\n uploadFiles,\n downloadTemplate,\n downloadingTemplate,\n errors,\n } = useUploadXlsxFilesToDataModel({\n models: importPatientsModels,\n initialFiles: [],\n initialData: [],\n sheetName: \"Patients\",\n templateFileUrl: `${URLs.getWebRootUrl()}assets/ImportPatientsTemplate.xlsx`,\n templateName: \"ImportPatientsTemplate.xlsx\",\n addReferenceDataFunction: addReferenceDataToTemplate,\n });\n\n const onSubmitFormsy = async () => {\n const formattedData = importedPatients.map((patient, index) => {\n return {\n index: index,\n hospitalId: patient.hospitalId,\n uniqueId: patient.mrn,\n patient: {\n demographic: {\n firstName: patient.firstName,\n lastName: patient.lastName,\n birthday: patient.birthday,\n gender: GENDER_TYPES_MAP[patient.gender],\n fatherFirstName: patient.fatherFirstName,\n fatherLastName: patient.fatherLastName,\n motherFirstName: patient.motherFirstName,\n motherLastName: patient.motherLastName,\n },\n address: {\n telephoneHome: patient.phone,\n telephoneCellular: patient.cellPhone,\n countryCode: \"CA\",\n provinceCode: \"QC\",\n },\n healthInsurance: {\n number: patient.ramq,\n expiration: serializeDate(patient.expiration),\n provinceCode: \"QC\",\n },\n },\n };\n });\n const response = await importPatientsMutation({ patients: formattedData });\n if (response && response.importPatients) {\n response.importPatients.forEach((data) => {\n const importedPatient = importedPatients[data.index];\n if (importedPatient) {\n importedPatient.success = data.success ? (\n \n ) : (\n \n );\n importedPatient.details = data.details;\n }\n });\n }\n };\n\n const onSuccess = () => {\n showNotification(formatMessage(messages.patients.feedback.importWithSuccess), \"accept\");\n };\n\n const { formsyProps, errors: formsyErrors, isSubmitting } = useFormsySubmit({\n onSubmit: onSubmitFormsy,\n onSuccess: onSuccess,\n });\n\n return (\n
    \n \n {\n uploadFiles(files);\n }}\n />\n\n
    \n \n \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n \n \n \n \n
    \n
    \n\n
    \n \n
    \n
    \n \n
    \n
    \n );\n};\n\nImportPatients.propTypes = {\n viewer: ViewerPropTypes,\n showNotification: PropTypes.func,\n intl: intlShape,\n};\n\nconst mapStateToProps = () => ({});\nconst mapDispatchToProps = {\n showNotification: showDialogNotice,\n};\n\nexport default Relay.createContainer(\n connect(mapStateToProps, mapDispatchToProps)(injectIntl(ImportPatients)),\n {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n currentUser {\n isSpecialist\n }\n hospitals(q: null, first: 2000) {\n edges {\n node {\n id\n legacyId\n name\n }\n }\n }\n }\n `,\n },\n }\n);\n","import React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { messages } from \"~/src/js/components/layout/mainNavigation\";\n\nconst ImportPatientsHeader = () => {\n return (\n
    \n \n
    \n );\n};\n\nexport default ImportPatientsHeader;\n","import React from \"react\";\nimport { Route, Redirect } from \"react-router\";\n\nimport ShowAndSearchPatients from \"../components/hospitals/showAndSearchPatients\";\nimport AddPatientPage from \"../components/patients/addPatientPage\";\nimport EditPatientPage from \"../components/patients/editPatientPage\";\nimport PatientsHeader from \"../components/patients/header\";\nimport MyPatientInformationPage from \"../components/patients/my/myPatientInformationPage\";\nimport MyPatientsHeader from \"../components/patients/my/myPatientsHeader\";\nimport MyPatientsListPage from \"../components/patients/my/myPatientsListPage\";\nimport MyPatientsTabsPage from \"../components/patients/my/myPatientsTabsPage\";\nimport { ImportPatients, ImportPatientsHeader } from \"../components/patients/ImportPatients\";\n\nimport { RenderWithSplashAndError, ViewerQueries } from \"./routeHelpers\";\n\nconst defaultParams = {\n render: RenderWithSplashAndError,\n queries: { main: ViewerQueries },\n};\n\nexport default [\n ,\n\n ,\n\n ,\n\n ,\n\n ,\n \n \n \n \n ,\n];\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\n\nimport { messages } from \"../../layout/mainNavigation\";\n\nclass ActivityHeader extends React.Component {\n static propTypes = {\n routeParams: PropTypes.object,\n };\n\n render() {\n return
    {this.props.intl.formatMessage(messages.activity)}
    ;\n }\n}\n\nexport default injectIntl(ActivityHeader);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { URLs } from \"../../../constants\";\nimport { setTitle } from \"../../../helpers/document\";\n\nimport ActivityStream, { activityMessages } from \"./activityStream\";\n\nexport const queries = {\n viewer: () => Relay.QL`query { viewer }`,\n};\n\nclass ActivityPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n intl: intlShape.isRequired,\n };\n\n UNSAFE_componentWillMount() {\n document.title = setTitle(this.props.intl.formatMessage, activityMessages.headerTitle);\n }\n\n render() {\n return (\n \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(ActivityPage), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${ActivityStream.getFragment(\"viewer\")}\n }`,\n },\n});\n","import classnames from \"classnames\";\nimport throttle from \"lodash.throttle\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { getInputMetadata } from \"../../helpers/staticData\";\nimport { getMetadata, getValidations, splitEmails } from \"../../helpers/validations\";\nimport AutocompleteInput from \"../shared/inputs/autocompleteInput\";\nimport CheckboxInput from \"../shared/inputs/checkboxInput\";\nimport DropDownListInput from \"../shared/inputs/dropDownListInput\";\nimport TextInput from \"../shared/inputs/textInput\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport function build(parentData: any): any {\n return {\n name: parentData.department.name,\n nameEnglish: parentData.department.nameEnglish,\n nameFrench: parentData.department.nameFrench,\n emails: splitEmails(parentData.department.email),\n isActive: parentData.department.isActive || false,\n isEConsultAllowed: parentData.department.isEConsultAllowed || false,\n formId: parentData.department.formId,\n clinicalDomainId: parentData.department.clinicalDomain,\n hospitalId: parentData.department.hospital,\n networkIds: parentData.department.networkIds,\n };\n}\n\nexport class DepartmentForm extends React.Component {\n static propTypes = {\n intl: intlShape,\n department: PropTypes.object,\n email: PropTypes.string,\n viewer: PropTypes.object.isRequired,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n name: \"\",\n nameEnglish: \"\",\n nameFrench: \"\",\n emails: \"\",\n nameEnglishChanged: false,\n nameFrenchChanged: false,\n emailsChanged: false,\n searchingHospitals: false,\n clinicalDomainId: null,\n };\n\n this.throttledSearchHospitals = throttle(this.searchHospitals.bind(this), 500, {\n leading: false,\n });\n }\n\n render() {\n const { viewer, intl } = this.props;\n const f = intl.formatMessage;\n const departmentMetadata = getMetadata(getInputMetadata().inputDepartmentMetadata);\n const vals = {\n name: getValidations(departmentMetadata.inputFields.name, intl),\n nameEnglish: getValidations(departmentMetadata.inputFields.nameEnglish, intl),\n nameFrench: getValidations(departmentMetadata.inputFields.nameFrench, intl),\n emails: getValidations(departmentMetadata.inputFields.emails, intl),\n clinicalDomainId: getValidations(departmentMetadata.inputFields.clinicalDomainId, intl),\n hospitalId: getValidations(departmentMetadata.inputFields.hospitalId, intl),\n formId: getValidations(departmentMetadata.inputFields.formId, intl),\n };\n\n const domains = viewer.clinicalDomains.edges;\n const source = [{ label: \"\", value: \"\" }].concat(\n domains.map((x) => ({ value: x.node.value, label: x.node.label }))\n );\n const hospitalSource = {};\n viewer.hospitals.edges.map((x) => {\n hospitalSource[x.node.value] = x.node.label;\n });\n\n const networksSource = {};\n viewer.networks.edges.map((x) => {\n networksSource[x.node.value] = x.node.label;\n });\n\n let formSource = [{ label: \"\", value: \"\" }];\n\n const clinicalDomain = domains.filter((x) => x.node.id === this.state.clinicalDomainId)[0];\n if (clinicalDomain) {\n formSource = formSource.concat(\n clinicalDomain.node.availableForms.map((x) => ({\n label: x.name + \" (\" + x.code + \")\",\n value: x.id,\n }))\n );\n }\n\n return (\n
    \n
    \n this.setState({ name: e })}\n required={departmentMetadata.inputFields.name.type.isRequired}\n validations={vals.name.validations}\n validationErrors={vals.name.messages}\n />\n this.setState({ emails: e, emailsChanged: true })}\n required={departmentMetadata.inputFields.emails.type.isRequired}\n validations={vals.emails.validations}\n validationErrors={vals.emails.messages}\n />\n
    \n
    \n this.setState({ nameEnglish: e, nameEnglishChanged: true })}\n required={departmentMetadata.inputFields.nameEnglish.type.isRequired}\n validations={vals.nameEnglish.validations}\n validationErrors={vals.nameEnglish.messages}\n />\n this.setState({ nameFrench: e, nameFrenchChanged: true })}\n required={departmentMetadata.inputFields.nameFrench.type.isRequired}\n validations={vals.nameFrench.validations}\n validationErrors={vals.nameFrench.messages}\n />\n
    \n
    \n this.setState({ clinicalDomainId: v })}\n source={source}\n required={departmentMetadata.inputFields.clinicalDomainId.type.isRequired}\n validations={vals.clinicalDomainId.validations}\n validationErrors={vals.clinicalDomainId.messages}\n />\n \n
    \n
    \n \n {\n this.setState({ searchingHospitals: true });\n this.throttledSearchHospitals(e);\n }}\n direction=\"down\"\n suggestionMatch=\"word\"\n rightIcon={\n this.state.searchingHospitals ? (\n \n ) : null\n }\n />\n
    \n
    \n \n
    \n
    \n );\n }\n\n searchHospitals(q: string) {\n this.props.relay.setVariables({ hospitalQuery: q }, (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ searchingHospitals: false });\n }\n });\n }\n}\n\nexport default Relay.createContainer(injectIntl(DepartmentForm), {\n initialVariables: {\n hospitalQuery: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n networks(first: 250) {\n edges {\n node {\n id\n name\n value: id\n label: name\n }\n }\n }\n\n clinicalDomains(first: 500) {\n edges {\n node {\n id\n name\n value: id\n label: name\n\n availableForms {\n id\n code\n name\n }\n }\n }\n }\n\n forms {\n id\n name\n code\n }\n\n hospitals(q: $hospitalQuery, first: 15) {\n edges {\n node {\n id\n name\n value: id\n label: name\n }\n }\n }\n }\n `,\n department: () => Relay.QL`\n fragment on Department {\n id\n name\n }\n `,\n },\n});\n","import classnames from \"classnames\";\nimport throttle from \"lodash.throttle\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport formStyle from \"../../../styles/forms\";\nimport AutocompleteInput from \"../shared/inputs/autocompleteInput\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport class DepartmentPicker extends React.Component {\n static propTypes = {\n intl: intlShape,\n viewer: PropTypes.object.isRequired,\n required: PropTypes.bool,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n searchingDepartments: false,\n };\n\n this.throttledSearchDepartments = throttle(this.searchDepartments.bind(this), 500, {\n leading: false,\n });\n }\n\n render() {\n const { viewer, intl, required } = this.props;\n const f = intl.formatMessage;\n\n const departmentSource = {};\n viewer.departments.edges.map((x) => {\n departmentSource[x.node.value] = x.node.label;\n });\n\n return (\n {\n this.setState({ searchingDepartments: true });\n this.throttledSearchDepartments(e);\n }}\n direction=\"down\"\n suggestionMatch=\"word\"\n rightIcon={\n this.state.searchingDepartments ? (\n \n ) : null\n }\n />\n );\n }\n\n searchDepartments(q: string) {\n this.props.relay.setVariables({ departmentQuery: q }, (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ searchingDepartments: false });\n }\n });\n }\n}\n\nexport default Relay.createContainer(injectIntl(DepartmentPicker), {\n initialVariables: {\n departmentQuery: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n\n departments(q: $departmentQuery, first: 15) {\n edges {\n node {\n id\n name\n value: id\n label: name\n }\n }\n }\n }\n `,\n },\n});\n","import classnames from \"classnames\";\nimport { withFormsy } from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Checkbox from \"react-toolbox/lib/checkbox\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport inputTheme from \"react-toolbox/lib/input/theme\";\nimport radioTheme from \"react-toolbox/lib/radio/theme\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport inputStyle from \"../../../../styles/theme/main/input\";\nimport radioButtonStyle from \"../../../../styles/theme/main/radioButton\";\n\nimport { shouldShowError } from \"./inputHelpers\";\nimport { getRequiredSpan } from \"./radioButtonListInput\";\nimport TextInput from \"./textInput\";\n\nimport checkboxListStyle from \"./checkboxListInput.style\";\n\nexport class CheckboxListInput extends React.Component {\n static propTypes = {\n name: PropTypes.string.isRequired,\n className: PropTypes.string,\n label: PropTypes.string,\n showLabel: PropTypes.bool,\n importantLabel: PropTypes.bool,\n value: PropTypes.arrayOf(PropTypes.any),\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n options: PropTypes.arrayOf(PropTypes.any),\n onChange: PropTypes.func,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n ignoreRequiredSpan: PropTypes.bool,\n autoFocus: PropTypes.bool,\n inline: PropTypes.bool,\n style: PropTypes.any,\n errorMessage: PropTypes.string,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n values: props.value,\n };\n }\n\n handleChange(value, checked) {\n let values = this.state.values;\n if (checked) {\n values.push(value);\n } else {\n values = values.filter((x) => x !== value);\n }\n this.setState({ values });\n this.props.setValue(values);\n\n if (this.props.onChange) {\n this.props.onChange(values);\n }\n }\n\n render() {\n const errorMessage = this.props.errorMessage;\n const {\n options,\n autoFocus,\n style,\n inline,\n name,\n className,\n icon,\n label,\n disabled,\n showLabel,\n importantLabel,\n } = this.props;\n const showError = shouldShowError(this) && Boolean(errorMessage);\n const currentValue = this.props.value;\n const classNames = classnames(\n className,\n radioButtonStyle[\"radio-buttons\"],\n checkboxListStyle[\"checkboxes\"],\n {\n [radioButtonStyle[\"inline\"]]: inline,\n [checkboxListStyle[\"inline\"]]: inline,\n [radioButtonStyle[\"errored\"]]: showError,\n [formStyle[\"inline-errored\"]]: showError,\n [radioButtonStyle[\"with-icon\"]]: Boolean(icon),\n [radioButtonStyle[\"important-label\"]]: importantLabel,\n [radioButtonStyle[\"with-label\"]]: label && showLabel,\n [inputStyle[\"required-field\"]]: this.props.isRequired && !currentValue,\n }\n );\n return (\n
    \n {this.renderIcon()}\n {this.renderLabel()}\n
      \n {options.map((x, i) => {\n const classNames = classnames(radioTheme[\"text\"], radioButtonStyle[\"text\"]);\n return (\n
    • \n = 0}\n disabled={disabled}\n label={{x.label}}\n onChange={(c) => this.handleChange(x.value, c)}\n />\n {x.other && currentValue === x.value && (\n \n )}\n
    • \n );\n })}\n
    \n {showError ? (\n
    \n {errorMessage}\n
    \n ) : null}\n
    \n );\n }\n\n renderLabel() {\n const { label, showLabel, required, ignoreRequiredSpan } = this.props;\n if (!showLabel || !label) {\n return null;\n }\n\n return (\n
    \n {label}\n {required && !ignoreRequiredSpan && getRequiredSpan()}\n
    \n );\n }\n\n hasLabel() {\n return this.props.label && this.props.showLabel;\n }\n\n renderIcon() {\n if (!this.props.icon) {\n return null;\n }\n\n if (!this.props.required || this.hasLabel()) {\n return ;\n }\n\n return {getRequiredSpan()};\n }\n}\n\nexport default withFormsy(CheckboxListInput);\n","import Relay from \"react-relay/classic\";\n\nexport default class AddPersonMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(AddPersonMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { addPerson }`;\n }\n\n getVariables() {\n return {\n userName: this.props.userName,\n person: this.props.person,\n user: this.props.user,\n userPassword: this.props.userPassword,\n inviteUser: this.props.inviteUser || false,\n invitationText: this.props.invitationText,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on AddPersonPayload {\n person\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on AddPersonPayload {\n person {\n userName\n fullName\n user {\n id\n }\n }\n }\n `,\n ],\n },\n ];\n }\n}\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport Button from \"react-toolbox/lib/button\";\nimport { Card, CardTitle, CardText } from \"react-toolbox/lib/card\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { showDialogNotice } from \"../../stores/app/actions\";\nimport ErrorCard from \"../shared/errorCard\";\nimport FormattedDateTime from \"../shared/formattedDateTime\";\nimport HelpText from \"../shared/helpText\";\nimport CheckboxInput from \"../shared/inputs/checkboxInput\";\nimport CheckboxListInput from \"../shared/inputs/checkboxListInput\";\nimport SpinnerButton from \"../shared/inputs/custom/spinnerButton\";\nimport PasswordInput from \"../shared/inputs/passwordInput\";\nimport RadioButtonListInput from \"../shared/inputs/radioButtonListInput\";\nimport TextInput from \"../shared/inputs/textInput\";\nimport { messages as userMessages } from \"../users/confirmRegistrationPage\";\nimport ResendUserInvitationDialog, {\n messages as myInvitationMessages,\n} from \"../users/resendUserInvitationDialog\";\n\nimport ChangePasswordForm from \"./changePasswordForm\";\nimport { messages } from \"./personSettingsForm\";\nimport { UserTypes } from \"./personProfile/personProfileFields\";\n\nimport { messages as profileMessages } from \"./personProfile/personProfile.i18n\";\nimport invitationMessages from \"../invitations/invitations.i18n\";\nimport baseI18n from \"../../../messages/base.i18n\";\nimport style from \"./personSettingsForm.style\";\n\nclass PersonSettingsAuthentication extends React.Component {\n static propTypes = {\n intl: intlShape,\n viewer: PropTypes.object.isRequired,\n user: PropTypes.object,\n isActive: PropTypes.bool,\n isNew: PropTypes.bool,\n isReferMD: PropTypes.bool,\n isAccessRequest: PropTypes.bool,\n dispatch: PropTypes.func,\n };\n\n constructor(props) {\n super(props);\n\n const userTypes = [];\n if (this.props.isAccessRequest) {\n userTypes.push(UserTypes.Full);\n } else if (!this.props.isNew) {\n if (this.props.user) {\n userTypes.push(UserTypes.Full);\n }\n if (this.props.isReferMD) {\n userTypes.push(UserTypes.ReferMd);\n }\n }\n\n this.state = {\n userTypes: userTypes,\n generatedPassword: null,\n inviteUser: \"false\",\n errors: [],\n };\n }\n\n t(key, params) {\n return this.props.intl.formatMessage(key, params);\n }\n\n render() {\n const u = this.props.user;\n return (\n
    \n \n \n \n
    {this.renderAccessRequest()}
    \n
    {this.renderNewUser()}
    \n
    {this.renderAlreadyUser(u)}
    \n
    \n \n
    \n {this.renderLockedOut(u)}\n x.id)) || []}\n options={this.props.viewer.roles.map((x) => ({\n label: x.name,\n value: x.id,\n }))}\n required\n validations={{\n oneRequired: true,\n }}\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n oneRequired: this.t(baseI18n.error.fieldRequired),\n }}\n />\n
    \n
    \n {this.state.errors && this.state.errors.length > 0 && (\n \n )}\n
    \n );\n }\n\n renderAccessRequest() {\n return (\n this.props.isAccessRequest && (\n
    \n = 0 && this.state.inviteUser === \"false\"\n }\n disabled={this.state.userTypes.indexOf(UserTypes.Full) < 0}\n showPasswordGeneration={true}\n />\n \n
    \n )\n );\n }\n\n renderNewUser() {\n if (!this.props.isNew || this.props.isAccessRequest) {\n return;\n }\n\n return (\n
    \n
    \n \n \n
    \n this.setState({ userTypes: v })}\n validations={{\n oneRequired: true,\n }}\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n oneRequired: this.t(baseI18n.error.fieldRequired),\n }}\n options={[\n {\n value: UserTypes.Full,\n label: this.t(messages.userTypeFull),\n },\n {\n value: UserTypes.ReferMd,\n label: this.t(messages.userTypeReferMD),\n },\n ]}\n />\n = 0}\n disabled={this.state.userTypes.indexOf(UserTypes.Full) < 0}\n value={this.state.inviteUser}\n options={[\n {\n value: \"false\",\n label: this.props.isNew\n ? this.t(messages.createPassword)\n : this.t(messages.setPassword),\n },\n { value: \"true\", label: this.t(messages.inviteUser) },\n ]}\n onChange={(x) => this.setState({ inviteUser: x })}\n className={style[\"radio-buttons\"]}\n icon={\"announcement\"}\n />\n {this.state.inviteUser === \"false\" && (\n = 0 && this.state.inviteUser === \"false\"\n }\n disabled={this.state.userTypes.indexOf(UserTypes.Full) < 0}\n showPasswordGeneration={true}\n />\n )}\n {this.state.inviteUser === \"true\" && (\n \n )}\n
    \n );\n }\n\n renderAlreadyUser(u) {\n const hasPendingInvitation =\n u &&\n u.invitationInformation &&\n u.invitationInformation.invitedOn &&\n !u.invitationInformation.userIsConfirmed;\n\n if (this.props.isNew) {\n return;\n }\n\n return (\n
    \n
    \n \n \n
    \n this.setState({ userTypes: v })}\n validations={{\n oneRequired: true,\n }}\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n oneRequired: this.t(baseI18n.error.fieldRequired),\n }}\n options={[\n {\n value: UserTypes.Full,\n label: this.t(messages.userTypeFull),\n },\n {\n value: UserTypes.ReferMd,\n label: this.t(messages.userTypeReferMD),\n },\n ]}\n />\n {hasPendingInvitation && (\n
    \n {this.t(messages.userNotConfirmed)}\n this.setState({ resendingInvite: true })}\n />\n {this.state.resendingInvite && (\n {\n this.setState({ resendingInvite: false });\n this.props.dispatch(\n showDialogNotice(\n this.props.intl.formatMessage(invitationMessages.patientInvitationResent, {\n userName: u.userName,\n }),\n \"accept\"\n )\n );\n }}\n onClose={() => this.setState({ resendingInvite: false })}\n />\n )}\n
    \n )}\n {!u && this.state.userTypes.indexOf(UserTypes.Full) >= 0 && (\n = 0 && this.state.inviteUser === \"false\"\n }\n disabled={this.state.userTypes.indexOf(UserTypes.Full) < 0}\n showPasswordGeneration={true}\n />\n )}\n {u && this.state.userTypes.indexOf(UserTypes.Full) >= 0 && !hasPendingInvitation && (\n \n )}\n
    \n );\n }\n\n renderLockedOut(user) {\n const t = this.props.intl.formatMessage;\n return (\n user &&\n user.isLockedOut && (\n

    \n \n ,\n }}\n />{\" \"}\n \n

    \n )\n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(connect()(PersonSettingsAuthentication)), {\n fragments: {\n user: () => Relay.QL`\n fragment on User {\n ${ResendUserInvitationDialog.getFragment(\"user\")}\n ${ChangePasswordForm.getFragment(\"user\")}\n id\n userName\n roles {\n id\n name\n }\n isLockedOut\n lastLockoutDate\n isTwoFactorEnabled\n invitationInformation {\n userIsConfirmed\n invitedOn\n invitationText\n }\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nexport default class RequestAccessMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(RequestAccessMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { requestAccess }`;\n }\n\n getVariables() {\n return {\n userName: this.props.userName,\n person: this.props.person,\n user: this.props.user,\n userPassword: this.props.userPassword,\n requestText: this.props.requestText,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on RequestAccessPayload {\n person\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on RequestAccessPayload {\n person {\n userName\n fullName\n user {\n id\n }\n }\n }\n `,\n ],\n },\n ];\n }\n}\n","import classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages, FormattedMessage } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { Card, CardTitle, CardText, CardActions } from \"react-toolbox/lib/card\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { getErrors, handleFormsyInvalidSubmit } from \"../../helpers/errors\";\nimport { passwordStrength } from \"../../helpers/passwords\";\nimport { showDialogNotice } from \"../../stores/app/actions\";\nimport ErrorCard from \"../shared/errorCard\";\nimport FormattedDateTime from \"../shared/formattedDateTime\";\nimport SpinnerButton from \"../shared/inputs/custom/spinnerButton\";\nimport TextInput from \"../shared/inputs/textInput\";\nimport { messages as userMessages } from \"../users/confirmRegistrationPage\";\n\nimport AddPersonMutation from \"./addPersonMutation\";\nimport ChangePasswordForm from \"./changePasswordForm\";\nimport PersonProfileFields, { buildPerson, UserTypes } from \"./personProfile/personProfileFields\";\nimport PersonSettingsAuthentication from \"./personSettingsAuthentication\";\nimport RequestAccessMutation from \"./requestAccessMutation\";\nimport UpdatePersonMutation from \"./updatePersonMutation\";\n\nimport style from \"./personSettingsForm.style\";\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n identification: {\n id: \"userSettingsForm.identification\",\n description: \"User settings identification section label\",\n defaultMessage: \"Identification\",\n },\n authentication: {\n id: \"userSettingsForm.authentication\",\n description: \"User settings authentication section label\",\n defaultMessage: \"Authentication\",\n },\n enableTwoFactorAuthentication: {\n id: \"userSettingsForm.enableTwoFactorAuthentication\",\n description: \"User settings enableTwoFactorAuthentication field label\",\n defaultMessage: \"Enable two-factor authentication?\",\n },\n unlockThisUser: {\n id: \"userSettingsForm.unlockThisUser\",\n description: \"User settings unlockThisUser button label\",\n defaultMessage: \"Unlock this user\",\n },\n userType: {\n id: \"userSettingsForm.userType\",\n description: \"User settings userType button label\",\n defaultMessage: \"User type\",\n },\n userTypeFull: {\n id: \"userSettingsForm.userTypeFull\",\n description: \"User settings userTypeFull button label\",\n defaultMessage: \"Full user (can log in)\",\n },\n userTypeReferMD: {\n id: \"userSettingsForm.userTypeReferMD\",\n description: \"User settings userTypeReferMD button label\",\n defaultMessage: \"Refer MD (no access rights, just in directory)\",\n },\n userLockout: {\n id: \"userSettingsForm.userLockout\",\n description: \"User lockout label to show with button\",\n defaultMessage: \"This user was locked out on {lastLockoutDate}.\",\n },\n userUpdated: {\n id: \"userSettingsForm.userUpdated\",\n description: \"User updated snackbar message\",\n defaultMessage: \"User successfully updated.\",\n },\n userCreated: {\n id: \"userSettingsForm.userCreated\",\n description: \"User updated snackbar message\",\n defaultMessage: \"User successfully created.\",\n },\n userNameTaken: {\n id: \"userSettingsForm.userNameTaken\",\n description: \"Username already taken message\",\n defaultMessage: \"This username is already taken.\",\n },\n roles: {\n id: \"userSettingsForm.roles\",\n description: \"Roles label\",\n defaultMessage: \"Roles\",\n },\n requestAccess: {\n id: \"userSettingsForm.requestAccess\",\n description: \"Request access button\",\n defaultMessage: \"Request access\",\n },\n invitationType: {\n id: \"userSettingsForm.invitationType\",\n description: \"Invitation type label\",\n defaultMessage: \"Invitation Type\",\n },\n createPassword: {\n id: \"userSettingsForm.createPassword\",\n description: \"Create password label\",\n defaultMessage: \"Create password for user\",\n },\n setPassword: {\n id: \"userSettingsForm.setPassword\",\n description: \"Set password label\",\n defaultMessage: \"Set password for user\",\n },\n inviteUser: {\n id: \"userSettingsForm.inviteUser\",\n description: \"Invite user label\",\n defaultMessage: \"Invite user by email\",\n },\n userNotConfirmed: {\n id: \"userSettingsForm.userNotConfirmed\",\n description:\n \"Short message to indicate an invited user has not completed the registration process.\",\n defaultMessage: \"User has not completed the registration process yet.\",\n },\n accessRequestSent: {\n id: \"userSettingsForm.accessRequestSent\",\n description: \"Access request sent text\",\n defaultMessage: \"Access request successfully sent.\",\n },\n accessRequestConfirmation: {\n id: \"userSettingsForm.accessRequestConfirmation\",\n description: \"Access request confirmation text\",\n defaultMessage:\n \"Your access request has been received. An email confimation message has been sent to {email}. Please confirm your email address in order to continue the registration process.\",\n },\n acceptAccessRequest: {\n id: \"userSettingsForm.acceptAccessRequest\",\n description: \"Accept access request button\",\n defaultMessage: \"Accept request and save user information\",\n },\n accessRequestComments: {\n id: \"userSettingsForm.accessRequestComments\",\n description: \"Access request commment box\",\n defaultMessage: \"Details for your access request (ex: hospital, department, referrer, etc.)\",\n },\n});\n\nclass PersonSettingsForm extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n person: PropTypes.object,\n intl: intlShape,\n dispatch: PropTypes.func,\n language: PropTypes.string,\n isNew: PropTypes.bool,\n onPersonSaved: PropTypes.func,\n onUserNameTaken: PropTypes.func,\n isAccessRequest: PropTypes.bool,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n errors: [],\n saving: false,\n unlocking: false,\n accessRequestSent: false,\n };\n }\n\n UNSAFE_componentWillMount() {\n if (this.props.isNew) {\n // This will make sure zxcvbn is loaded!\n passwordStrength(\"\");\n }\n if (!this.props.isAccessRequest) {\n this.props.relay.setVariables({\n isAnonymous: false,\n });\n }\n\n this.props.relay.forceFetch();\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillReceiveProps(newProps) {\n this.setUserNameError(newProps);\n }\n\n setUserNameError(props) {\n if (!this.form) {\n return;\n }\n\n if (props.viewer.userExists && props.isNew) {\n const t = this.props.intl.formatMessage;\n this.form.updateInputsWithError({\n userName: t(messages.userNameTaken),\n });\n const model = this.form.getModel();\n if (this.state.lastUserNameTaken !== model.userName) {\n this.setState({ lastUserNameTaken: model.userName });\n if (this.props.onUserNameTaken) {\n this.props.onUserNameTaken(model);\n }\n }\n } else {\n this.form.updateInputsWithError({\n userName: null,\n });\n }\n }\n\n handleSave(data) {\n const t = this.props.intl.formatMessage;\n this.setState({ saving: true, errors: [] });\n let user = null;\n if (\n this.props.isAccessRequest ||\n (data.userTypes.indexOf(UserTypes.Full) >= 0 &&\n (this.props.isNew || this.props.person.permissions.canEditUser))\n ) {\n user = {\n roles: data.roles,\n isTwoFactorEnabled: data.isTwoFactorEnabled,\n };\n }\n\n let mutation = null;\n if (this.props.isAccessRequest) {\n const params = {\n userName: data.userName.trim(),\n person: buildPerson(data, this.getPerson()),\n userPassword: data.password,\n user,\n requestText: data.requestComment,\n };\n this.setState({ emailAddress: data.address.email });\n mutation = new RequestAccessMutation(params);\n } else if (this.props.isNew) {\n const params = {\n userName: data.userName.trim(),\n person: buildPerson(data, this.getPerson()),\n userPassword: data.password,\n inviteUser: data.inviteUser === \"true\",\n invitationText: data.invitationText,\n user,\n };\n\n mutation = new AddPersonMutation(params);\n } else {\n const params = {\n personId: this.props.person.id,\n person: buildPerson(data, this.props.person),\n updateUser: this.props.person.permissions.canEditUser,\n userPassword: data.password,\n user,\n };\n mutation = new UpdatePersonMutation(params);\n }\n\n Relay.Store.commitUpdate(mutation, {\n onSuccess: (resp) => {\n this.setState({ saving: false });\n if (this.props.isAccessRequest) {\n this.setState({ accessRequestSent: true });\n this.props.dispatch(showDialogNotice(t(messages.accessRequestSent), \"accept\"));\n } else {\n this.props.dispatch(\n showDialogNotice(\n t(this.props.isNew ? messages.userCreated : messages.userUpdated),\n \"accept\"\n )\n );\n }\n\n if (this.props.onPersonSaved) {\n this.props.onPersonSaved((resp.updatePerson || resp.addPerson).person);\n }\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({\n errors: this.state.errors.concat(errors),\n saving: false,\n });\n });\n },\n });\n\n this.props.relay.forceFetch();\n }\n\n getPerson() {\n let p = this.props.person;\n if (this.props.isNew) {\n p = {\n __typename: \"Person\",\n isActive: true,\n theme: \"Material\",\n preferredLanguage: this.props.language.substr(0, 2),\n address: {\n countryCode: \"CA\",\n provinceCode: \"QC\",\n },\n permissions: {\n canEditLicenseNumber: true,\n canEditProfession: true,\n canEditIsActive: true,\n },\n user: {\n isTwoFactorEnabled: true,\n roles: [],\n },\n };\n }\n\n return p;\n }\n\n render() {\n const t = this.props.intl.formatMessage;\n const p = this.getPerson();\n const u = p.user;\n\n if (this.props.isAccessRequest && this.state.accessRequestSent) {\n return
    {this.renderAccessRequestSent()}
    ;\n }\n\n return (\n
    \n this.handleSave(data)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.form)}\n noValidate\n ref={(form) => (this.form = form)}\n className={formStyle[\"card-form\"]}>\n {this.renderIdentification(p, u)}\n \n {this.renderAuthentication(p, u)}\n \n \n \n \n \n \n\n {this.state.errors && this.state.errors.length > 0 && (\n \n )}\n
    \n );\n }\n\n validateUserName(input) {\n const userName = input.target.value;\n\n this.setState({ checkingUserName: true });\n this.props.relay.setVariables(\n {\n hasUserName: Boolean(userName),\n userName,\n },\n (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ checkingUserName: false });\n }\n }\n );\n }\n\n renderIdentification(p, u) {\n const t = this.props.intl.formatMessage;\n return (\n \n \n \n
    \n \n ) : null\n }\n value={p.userName}\n label={t(userMessages.userName)}\n disabled={!this.props.isNew}\n required\n autoFocus\n onBlur={(x) => this.validateUserName(x)}\n validationErrors={{\n isDefaultRequiredValue: t(baseI18n.error.fieldRequired),\n }}\n />\n {!this.props.isNew && u && (\n \n )}\n
    \n
    \n
    \n );\n }\n\n renderAuthentication(p, u) {\n return (\n \n );\n }\n\n renderLockedOut(user) {\n const t = this.props.intl.formatMessage;\n return (\n user &&\n user.isLockedOut && (\n

    \n \n }}\n />{\" \"}\n \n

    \n )\n );\n }\n\n renderAccessRequestSent() {\n return (\n \n \n \n {this.state.emailAddress},\n }}\n />\n \n

    \n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n language: state.settingsReducer.language,\n };\n};\n\nexport default Relay.createContainer(injectIntl(connect(mapStateToProps)(PersonSettingsForm)), {\n initialVariables: {\n hasUserName: false,\n userName: null,\n isAnonymous: true,\n },\n fragments: {\n person: () => Relay.QL`\n fragment on Person {\n id\n userName\n ${PersonProfileFields.getFragment(\"person\")}\n theme\n licenseNumber\n isActive\n isReferMD\n preferredLanguage\n permissions {\n canEditUser\n }\n\n address {\n telephonePager\n messaging\n }\n\n user {\n id\n accessRequest {\n approvedOn\n }\n\n invitationInformation {\n userIsConfirmed\n }\n\n ${PersonSettingsAuthentication.getFragment(\"user\")}\n ${ChangePasswordForm.getFragment(\"user\")}\n }\n }`,\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PersonProfileFields.getFragment(\"viewer\")}\n\n roles(isAnonymous: $isAnonymous) {\n id\n name\n }\n\n userExists(userName: $userName) @include(if: $hasUserName)\n }`,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nexport default class QuickInvitePersonMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(QuickInvitePersonMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { quickInvitePerson }`;\n }\n\n getVariables() {\n return {\n userName: this.props.userName,\n email: this.props.email,\n user: this.props.user,\n department: this.props.department,\n departmentId: this.props.departmentId,\n invitationText: this.props.invitationText,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on QuickInvitePersonPayload {\n person\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on QuickInvitePersonPayload {\n person {\n userName\n fullName\n user {\n id\n }\n }\n }\n `,\n ],\n },\n ];\n }\n}\n","import classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { Card, CardTitle, CardText, CardActions } from \"react-toolbox/lib/card\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { getErrors, handleFormsyInvalidSubmit } from \"../../helpers/errors\";\nimport { showDialogNotice } from \"../../stores/app/actions\";\nimport DepartmentForm, { build } from \"../hospitals/departmentForm\";\nimport DepartmentPicker from \"../hospitals/departmentPicker\";\nimport ErrorCard from \"../shared/errorCard\";\nimport CheckboxInput from \"../shared/inputs/checkboxInput\";\nimport CheckboxListInput from \"../shared/inputs/checkboxListInput\";\nimport SpinnerButton from \"../shared/inputs/custom/spinnerButton\";\nimport RadioButtonListInput from \"../shared/inputs/radioButtonListInput\";\nimport TextInput from \"../shared/inputs/textInput\";\nimport { messages as userMessages } from \"../users/confirmRegistrationPage\";\n\nimport { messages as personMessages } from \"./personSettingsForm\";\nimport QuickInvitePersonMutation from \"./quickInvitePersonMutation\";\n\nimport invitationMessages from \"../invitations/invitations.i18n\";\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n createDepartmentLabel: {\n id: \"quickInvitePersonForm.createDepartmentLabel\",\n description: \"Label for radio button to create department in quick invite\",\n defaultMessage: \"Create a department for this user\",\n },\n assignDepartmentLabel: {\n id: \"quickInvitePersonForm.assignDepartmentLabel\",\n description: \"Label for radio button to assign a department in quick invite\",\n defaultMessage: \"Assign an existing department to this user\",\n },\n});\n\nclass QuickInvitePersonForm extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n intl: intlShape,\n dispatch: PropTypes.func,\n language: PropTypes.string,\n onPersonSaved: PropTypes.func,\n onUserNameTaken: PropTypes.func,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n errors: [],\n saving: false,\n email: \"\",\n departmentValue: \"create\",\n };\n }\n\n UNSAFE_componentWillMount() {\n this.props.relay.forceFetch();\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillReceiveProps(newProps) {\n this.setUserNameError(newProps);\n }\n\n setUserNameError(props) {\n if (props.viewer.userExists) {\n const t = this.props.intl.formatMessage;\n this.form.updateInputsWithError({\n userName: t(personMessages.userNameTaken),\n });\n const model = this.form.getModel();\n if (this.state.lastUserNameTaken !== model.userName) {\n this.setState({ lastUserNameTaken: model.userName });\n if (this.props.onUserNameTaken) {\n this.props.onUserNameTaken(model);\n }\n }\n } else {\n this.form.updateInputsWithError({\n userName: null,\n });\n }\n }\n\n handleSave(data) {\n const t = this.props.intl.formatMessage;\n this.setState({ saving: true, errors: [] });\n\n let mutation = null;\n const params = {\n userName: data.userName.trim(),\n email: data.email.trim(),\n invitationText: data.invitationText,\n user: {\n roles: data.roles,\n isTwoFactorEnabled: data.isTwoFactorEnabled,\n },\n };\n if (this.state.departmentValue === \"create\") {\n params.department = build(data);\n } else if (this.state.departmentValue === \"assign\") {\n params.departmentId = data.department;\n }\n\n mutation = new QuickInvitePersonMutation(params);\n\n Relay.Store.commitUpdate(mutation, {\n onSuccess: (resp) => {\n this.setState({ saving: false });\n this.props.dispatch(showDialogNotice(t(personMessages.userCreated), \"accept\"));\n\n if (this.props.onPersonSaved) {\n this.props.onPersonSaved(resp.quickInvitePerson.person);\n }\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({\n errors: this.state.errors.concat(errors),\n saving: false,\n });\n });\n },\n });\n }\n\n render() {\n const t = this.props.intl.formatMessage;\n return (\n
    \n this.handleSave(data)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.form)}\n noValidate\n ref={(form) => (this.form = form)}\n className={formStyle[\"card-form\"]}>\n \n \n \n
    \n \n ) : null\n }\n label={t(userMessages.userName)}\n required\n autoFocus\n onBlur={(x) => this.validateUserName(x)}\n validationErrors={{\n isDefaultRequiredValue: t(baseI18n.error.fieldRequired),\n }}\n />\n this.setState({ email: e })}\n validations={{\n isEmail: true,\n }}\n validationErrors={{\n isEmail: t(baseI18n.patients.address.emailFormatError),\n isDefaultRequiredValue: t(baseI18n.error.fieldRequired),\n }}\n />\n
    \n
    \n \n
    \n
    \n
    \n {this.renderAuthentication()}\n \n {t(baseI18n.global.department)}\n \n
    \n this.setState({ departmentValue: e })}\n options={[\n {\n label: t(messages.createDepartmentLabel),\n value: \"create\",\n },\n {\n label: t(messages.assignDepartmentLabel),\n value: \"assign\",\n },\n ]}\n />\n
    \n
    \n {this.state.departmentValue === \"create\" && (\n \n )}\n {this.state.departmentValue === \"assign\" && this.renderAssignDepartment()}\n
    \n \n \n \n \n \n \n\n {this.state.errors && this.state.errors.length > 0 && (\n \n )}\n
    \n );\n }\n\n renderAssignDepartment() {\n return ;\n }\n\n validateUserName(input) {\n const userName = input.target.value;\n\n this.setState({ checkingUserName: true });\n this.props.relay.setVariables(\n {\n hasUserName: Boolean(userName),\n userName,\n },\n (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ checkingUserName: false });\n }\n }\n );\n }\n\n renderAuthentication() {\n const t = this.props.intl.formatMessage;\n return (\n \n \n \n
    \n \n
    \n ({ label: x.name, value: x.id }))}\n required\n validations={{\n oneRequired: true,\n }}\n validationErrors={{\n isDefaultRequiredValue: t(baseI18n.error.fieldRequired),\n oneRequired: t(baseI18n.error.fieldRequired),\n }}\n />\n
    \n
    \n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n language: state.settingsReducer.language,\n };\n};\n\nexport default Relay.createContainer(injectIntl(connect(mapStateToProps)(QuickInvitePersonForm)), {\n initialVariables: {\n hasUserName: false,\n userName: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${DepartmentForm.getFragment(\"viewer\")}\n ${DepartmentPicker.getFragment(\"viewer\")}\n\n roles {\n id\n name\n }\n\n userExists(userName: $userName) @include(if: $hasUserName)\n }`,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter, routerShape } from \"react-router\";\n\nimport QuickInvitePersonForm from \"./quickInvitePersonForm\";\n\nexport const queries = {\n viewer: () => Relay.QL`query { viewer }`,\n};\n\nclass QuickInvitePersonPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n router: routerShape,\n };\n\n render() {\n return (\n
    \n {\n this.props.router.push(\"/users/\" + p.userName);\n }}\n />\n
    \n );\n }\n}\n\nexport default Relay.createContainer(withRouter(QuickInvitePersonPage), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${QuickInvitePersonForm.getFragment(\"viewer\")}\n }`,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter, routerShape } from \"react-router\";\n\nimport { setTitle } from \"../../helpers/document\";\nimport { messages } from \"../layout/mainNavigation\";\n\nimport PersonSettingsForm from \"./personSettingsForm\";\n\nexport const queries = {\n viewer: () => Relay.QL`query { viewer }`,\n};\n\nclass UserCreatePage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n intl: intlShape.isRequired,\n router: routerShape,\n };\n\n UNSAFE_componentWillMount() {\n document.title = setTitle(this.props.intl.formatMessage, messages.createUser);\n }\n\n render() {\n return (\n
    \n {\n this.props.router.push(\"/users/\" + p.userName);\n }}\n />\n
    \n );\n }\n}\n\nexport default Relay.createContainer(withRouter(injectIntl(UserCreatePage)), {\n initialVariables: {\n userName: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PersonSettingsForm.getFragment(\"viewer\")}\n }`,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { setTitle } from \"../../helpers/document\";\n\nimport PersonSettingsForm from \"./personSettingsForm\";\n\nimport { messages } from \"./personProfile/personProfile.i18n\";\n\nexport const queries = {\n viewer: () => Relay.QL`query { viewer }`,\n};\n\nclass UserEditPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n intl: intlShape.isRequired,\n };\n\n UNSAFE_componentWillMount() {\n document.title = setTitle(\n this.props.intl.formatMessage,\n messages.headerTitle,\n this.props.relay.variables.userName\n );\n }\n\n render() {\n return (\n
    \n \n
    \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(UserEditPage), {\n initialVariables: {\n userName: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PersonSettingsForm.getFragment(\"viewer\")}\n\n person(userName: $userName) {\n ${PersonSettingsForm.getFragment(\"person\")}\n }\n }`,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\n\nimport { messages } from \"../layout/mainNavigation\";\n\nclass AccessRequestHeader extends React.Component {\n static propTypes = {\n routeParams: PropTypes.object,\n };\n\n render() {\n return
    {this.props.intl.formatMessage(messages.accessRequests)}
    ;\n }\n}\n\nexport default injectIntl(AccessRequestHeader);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport Button from \"react-toolbox/lib/button\";\n\nimport style from \"../../../styles/cardList\";\nimport { parseToDate } from \"../../helpers/dates\";\nimport FormattedRelative from \"../shared/formattedRelative\";\nimport { PersonInformation } from \"../shared/PersonInformation\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nclass AccessRequestRow extends React.Component {\n static propTypes = {\n intl: intlShape,\n request: PropTypes.object,\n requestUrl: PropTypes.string,\n viewer: PropTypes.object,\n };\n\n constructor(props) {\n super(props);\n }\n\n getRequestUrl(request: any): string {\n if (this.props.requestUrl) {\n return this.props.requestUrl.replace(\"{userName}\", request.person.userName);\n }\n\n return \"#\";\n }\n\n render() {\n const { request } = this.props;\n\n return (\n
    \n \n \n \n \n
    \n
    \n \n {request.comment}\n \n
    \n
    \n \n
    \n
    \n
    \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(AccessRequestRow), {\n fragments: {\n request: () => Relay.QL`\n fragment on AccessRequest {\n comment\n requestedOn\n person{\n userName\n ${PersonInformation.getFragment(\"person\")}\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport cardListStyle from \"../../../styles/cardList\";\nimport formStyle from \"../../../styles/forms\";\nimport SpinnerButton from \"../shared/inputs/custom/spinnerButton\";\n\nimport AccessRequestRow from \"./accessRequestRow\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n noRequestFound: {\n id: \"accessRequestSearch.noRequestFound\",\n description: \"No request found Text\",\n defaultMessage: \"No access request at the moment\",\n },\n});\n\nexport class AccessRequestSearch extends React.Component {\n static propTypes = {\n intl: intlShape,\n viewer: PropTypes.object,\n requestUrl: PropTypes.string,\n };\n\n constructor(props) {\n super(props);\n this.state = {\n first: 12,\n incrementation: 12,\n searching: false,\n loadingMore: false,\n };\n }\n\n render() {\n return (\n
    \n
    \n
    \n \n
    \n
    \n\n {!this.state.searching && this.renderAccessRequests()}\n
    \n );\n }\n\n renderAccessRequests() {\n const { accessRequests } = this.props.viewer;\n\n const requestEdges = accessRequests.edges;\n const hasNextPage = accessRequests.pageInfo.hasNextPage;\n\n if (requestEdges.length === 0) {\n return

    {this.props.intl.formatMessage(messages.noRequestFound)}

    ;\n }\n\n return (\n
    \n
    \n {this.renderRequestRows(requestEdges, hasNextPage)}\n
    \n );\n }\n\n renderRequestRows(requestEdges, hasNextPage) {\n const moreLabel = this.props.intl.formatMessage(baseI18n.global.more);\n return (\n
    \n
      \n {requestEdges.map((c) => (\n \n ))}\n
    \n {hasNextPage && (\n
    \n this.loadMore()}\n label={moreLabel}\n />\n
    \n )}\n
    \n );\n }\n\n loadMore(): void {\n const first = this.state.first + this.state.incrementation;\n this.setState({ first, loadingMore: true });\n this.props.relay.setVariables({ first }, (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ loadingMore: false });\n }\n });\n }\n}\n\nexport default Relay.createContainer(injectIntl(AccessRequestSearch), {\n initialVariables: {\n first: 12,\n after: null,\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n };\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n accessRequests(first: $first, after: $after) {\n edges {\n node {\n id\n ${AccessRequestRow.getFragment(\"request\")}\n }\n }\n pageInfo{\n hasNextPage\n }\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { URLs } from \"../../constants\";\nimport { setTitle } from \"../../helpers/document\";\nimport { messages } from \"../layout/mainNavigation\";\n\nimport AccessRequestSearch from \"./AccessRequestSearch\";\n\nexport const queries = {\n viewer: () => Relay.QL`query { viewer }`,\n};\n\nclass AccessRequestPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n intl: intlShape.isRequired,\n };\n\n UNSAFE_componentWillMount() {\n document.title = setTitle(this.props.intl.formatMessage, messages.accessRequests);\n }\n\n render() {\n return (\n \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(AccessRequestPage), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${AccessRequestSearch.getFragment(\"viewer\")}\n }`,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nexport default class ConfirmEmailAddressMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(ConfirmEmailAddressMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { confirmEmailAddress }`;\n }\n\n getVariables() {\n return {\n userId: this.props.userId,\n userName: this.props.userName,\n token: this.props.token,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ConfirmEmailAddressPayload {\n userIsConfirmed\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on ConfirmEmailAddressPayload {\n userIsConfirmed\n }\n `,\n ],\n },\n ];\n }\n}\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport { URLs } from \"../../constants\";\nimport { actuallyLoggedIn } from \"../../helpers/authentication\";\nimport { getErrors } from \"../../helpers/errors\";\nimport { queryString } from \"../../helpers/strings\";\nimport SpinnerButton from \"../shared/inputs/custom/spinnerButton\";\n\nimport ConfirmEmailAddressMutation from \"./confirmEmailAddressMutation\";\nimport { messages as userMessages } from \"./confirmRegistrationPage\";\n\nexport const messages = defineMessages({\n emailConfirmed: {\n id: \"users.emailConfirmed\",\n description: \"Email confirmed message\",\n defaultMessage: `Your email address has been sucessfully confirmed. You will be notified once your access request has been approved.`,\n },\n emailConfirmationError: {\n id: \"users.emailConfirmationError\",\n description: \"Email confirmation error message\",\n defaultMessage: `There has been an error confirming your email address, please retry by clicking the button below.`,\n },\n confirmEmail: {\n id: \"users.confirmEmail\",\n description: \"Confirm email address button label\",\n defaultMessage: `Confirm Email`,\n },\n});\n\nclass ConfirmEmailPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n intl: intlShape,\n };\n\n state = {\n ms: 0,\n userName: \"\",\n token: \"\",\n errors: [],\n confirmingEmail: false,\n };\n\n constructor(props) {\n super(props);\n }\n\n UNSAFE_componentWillMount() {\n if (actuallyLoggedIn()) {\n document.location.replace(URLs.getWebRootUrl());\n return;\n }\n\n if (this.props.viewer.userIsConfirmed) {\n const timer = () => {\n const ms = this.state.ms + 1000;\n this.setState({ ms });\n\n if (ms > 10000) {\n return document.location.replace(URLs.getWebRootUrl());\n }\n\n setTimeout(timer, 1000);\n };\n\n setTimeout(timer, 1000);\n }\n\n const qs = queryString(location.search);\n this.setState({\n errors: [],\n userName: qs.userName,\n userId: qs.userId,\n token: qs.token,\n });\n\n if (!this.props.viewer.userEmailIsConfirmed) {\n this.confirmEmail(qs.userId, qs.userName, qs.token);\n }\n }\n\n confirmEmail(userId, userName, token) {\n this.setState({ confirmingEmail: true });\n Relay.Store.commitUpdate(\n new ConfirmEmailAddressMutation({\n userId: userId || this.state.userId,\n userName: userName || this.state.userName,\n token: token || this.state.token,\n }),\n {\n onSuccess: () => {\n this.setState({ confirmingEmail: false, emailConfirmed: true });\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({ errors: this.state.errors.concat(errors), confirmingEmail: false });\n });\n },\n }\n );\n\n this.props.relay.forceFetch({\n userName: userName || this.state.userName,\n hasUserName: true,\n });\n }\n\n render() {\n const t = this.props.intl.formatMessage;\n\n if (this.props.viewer.userIsConfirmed) {\n return this.renderUserConfirmed(t);\n }\n\n if (this.props.viewer.userEmailIsConfirmed || this.state.emailConfirmed) {\n return this.renderEmailConfirmed(t);\n }\n\n return (\n
    \n {this.state.confirmingEmail && }\n {this.state.errors.length !== 0 && !this.props.viewer.userIsConfirmed && (\n
    \n {t(messages.emailConfirmationError)}\n
    \n this.confirmEmail()}\n disabled={this.state.confirmingEmail}\n loading={this.state.confirmingEmail}\n label={t(messages.confirmEmail)}\n primary\n raised\n style={{ margin: \"0 auto\" }}\n />\n
    \n
    \n )}\n
    \n );\n }\n\n renderEmailConfirmed(t) {\n return (\n
    \n

    {t(messages.emailConfirmed)}

    \n
    \n );\n }\n\n renderUserConfirmed(t) {\n return (\n
    \n

    {t(userMessages.userIsAlreadyConfirmed)}

    \n
    \n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n language: state.settingsReducer.language,\n };\n};\n\nexport default Relay.createContainer(injectIntl(connect(mapStateToProps)(ConfirmEmailPage)), {\n initialVariables: {\n userName: null,\n hasUserName: false,\n },\n prepareVariables: () => {\n const qs = queryString(location.search);\n return {\n userName: qs.userName,\n hasUserName: Boolean(qs.userName),\n };\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n userIsConfirmed(userName: $userName) @include(if: $hasUserName)\n userEmailIsConfirmed(userName: $userName) @include(if: $hasUserName)\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\n\nimport { messages } from \"../layout/mainNavigation\";\n\nclass ImportUsersHeader extends React.Component {\n static propTypes = {\n routeParams: PropTypes.object,\n };\n\n render() {\n return
    {this.props.intl.formatMessage(messages.importUsers)}
    ;\n }\n}\n\nexport default injectIntl(ImportUsersHeader);\n","import Relay from \"react-relay/classic\";\n\nexport default class ImportUsersMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(ImportUsersMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { importUsers }`;\n }\n\n getVariables() {\n return {\n users: this.props.users,\n onlyAddNewDepartments: this.props.onlyAddNewDepartments,\n updateExisting: this.props.updateExisting,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ImportUsersPayload {\n results\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on ImportUsersPayload {\n results {\n ... on ImportUserErrorResult {\n userName\n message\n stack\n }\n ... on ImportUserSuccessResult {\n user {\n id\n userName\n person {\n id\n fullName\n }\n }\n created\n }\n }\n }\n `,\n ],\n },\n ];\n }\n}\n","import classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { themr } from \"react-css-themr\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { List, ListItem } from \"react-toolbox/lib/list\";\n\nimport { getToken } from \"~/src/js/helpers/authentication\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { URLs } from \"../../constants\";\nimport { parseToCalendarDate, serializeDate } from \"../../helpers/dates\";\nimport { getErrors, handleFormsyInvalidSubmit } from \"../../helpers/errors\";\nimport { downloadFile, saveFile } from \"../../helpers/files\";\nimport { passwordStrength } from \"../../helpers/passwords\";\nimport { formatAddress, formatPhoneNumber } from \"../../helpers/strings\";\nimport { isEmail, isTelephoneNumber } from \"../../helpers/validations\";\nimport ErrorCard from \"../shared/errorCard\";\nimport FormattedDate from \"../shared/formattedDate\";\nimport HtmlElement from \"../shared/htmlElement\";\nimport CheckboxInput from \"../shared/inputs/checkboxInput\";\nimport SpinnerButton from \"../shared/inputs/custom/spinnerButton\";\nimport FilesInput from \"../shared/inputs/filesInput\";\nimport {\n getScore,\n getTooShortScore,\n theme as passwordInputTheme,\n} from \"../shared/inputs/passwordInput\";\n\nimport { messages as userMessages } from \"./confirmRegistrationPage\";\nimport ImportUsersMutation from \"./importUsersMutation\";\n\nimport style from \"./importUsers.style\";\nimport filesInputStyle from \"../shared/inputs/filesInput.style\";\nimport baseI18n from \"../../../messages/base.i18n\";\n\nlet xlsxPopulateModule = null;\n\nfunction getXlsxPopulate(): Promise {\n return new Promise((resolve) => {\n if (xlsxPopulateModule) {\n resolve(xlsxPopulateModule);\n return;\n }\n\n require.ensure(\n [],\n (require) => {\n xlsxPopulateModule = require(\"xlsx-populate/browser/xlsx-populate\");\n resolve(xlsxPopulateModule);\n },\n \"xlsx-populate\"\n );\n });\n}\n\nexport const messages = defineMessages({\n roles: {\n id: \"importUsers.roles\",\n description: \"Roles label\",\n defaultMessage: `Roles`,\n },\n userCount: {\n id: \"importUsers.userCount\",\n description: \"User count found in an import users file\",\n defaultMessage: `User count: {count, number} (errors: {errorCount, number}, warnings: {warningCount, number})`,\n },\n departments: {\n id: \"importUsers.departments\",\n description: \"Departments label\",\n defaultMessage: `Departments`,\n },\n noUsers: {\n id: \"importUsers.noUsers\",\n description: \"Text when no users uploaded yet.\",\n defaultMessage: `Please upload one or more files to see a preview of your users.`,\n },\n tableLegend: {\n id: \"importUsers.tableLegend\",\n description: \"Preview of users to be imported help text\",\n defaultMessage: `

    Here is a preview of all the users we found in your uploaded files.

    \n

    Users with a red background have errors and will not be imported.

    \n

    Users with a yellow background have warnings. They will be imported anyway.

    `,\n },\n resultsLegend: {\n id: \"importUsers.resultsLegend\",\n description: \"Results of users that were imported help text\",\n defaultMessage: `

    Here are the results of the user import. Rows with a red background\n encountered an error.

    `,\n },\n updateExisting: {\n id: \"importUsers.updateExisting\",\n description: \"Checkbox label for whether to update existing users or not.\",\n defaultMessage: \"Update existing users?\",\n },\n onlyAddNewDepartments: {\n id: \"importUsers.onlyAddNewDepartments\",\n description: \"Checkbox label for whether to only add new departments\",\n defaultMessage: \"Only add new departments?\",\n },\n downloadTemplate: {\n id: \"importUsers.downloadTemplate\",\n description: \"Label for download template button\",\n defaultMessage: \"Download template file\",\n },\n exportUsers: {\n id: \"importUsers.exportUsers\",\n description: \"Label for export users button\",\n defaultMessage: \"Export existing users\",\n },\n});\n\nclass ImportUsers extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n intl: intlShape,\n theme: PropTypes.any,\n language: PropTypes.string,\n };\n\n state = {\n files: [],\n users: [],\n importing: false,\n downloadingTemplate: false,\n exportingUsers: false,\n uploadingFiles: false,\n results: [],\n errors: [],\n };\n\n constructor(props) {\n super(props);\n }\n\n templateFileUrl = `${URLs.getWebRootUrl()}assets/ImportUsersTemplate.xlsx`;\n\n UNSAFE_componentWillMount() {\n // This will make sure zxcvbn is loaded!\n passwordStrength(\"\");\n }\n\n beginImportUsers(data) {\n this.setState({ importing: true, errors: [], results: [] });\n const users = this.state.users\n .filter((x) => !x.error)\n .map((x) => ({\n ...x.user,\n person: {\n ...x.user.person,\n birthday: serializeDate(x.user.person.birthday),\n preferredLanguage: this.props.language.substring(0, 2),\n },\n }));\n Relay.Store.commitUpdate(\n new ImportUsersMutation({\n users,\n updateExisting: data.updateExisting,\n onlyAddNewDepartments: data.onlyAddNewDepartments,\n }),\n {\n onSuccess: (resp) => {\n const results = resp.importUsers.results;\n this.setState({ importing: false, results });\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({ importing: false, errors: this.state.errors.concat(errors) });\n });\n },\n }\n );\n }\n\n render() {\n const t = this.props.intl.formatMessage;\n return (\n
    \n (this.form = form)}\n onValidSubmit={(d) => this.beginImportUsers(d)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.form)}\n className={formStyle[\"card-form\"]}>\n {\n this.uploadFiles(files);\n }}\n />\n

    \n this.downloadTemplate()}\n primary\n raised\n />\n

    \n

    \n this.exportUsers()}\n primary\n raised\n />\n

    \n \n {this.state.files.map((x: any) => {\n return (\n \n );\n })}\n \n\n {this.renderUsers()}\n\n {this.renderOptions()}\n\n {this.renderResults()}\n \n\n {this.state.errors && this.state.errors.length > 0 ? (\n \n ) : null}\n
    \n );\n }\n\n renderOptions() {\n if (this.state.users.length === 0) {\n return null;\n }\n\n const t = this.props.intl.formatMessage;\n\n return (\n
    \n
    \n this.setState({ updateExisting: e })}\n />\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n );\n }\n\n renderUsers() {\n const t = this.props.intl.formatMessage;\n if (this.state.users.length === 0) {\n return

    {t(messages.noUsers)}

    ;\n }\n\n return (\n
    \n \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {this.state.users.map((x) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n ))}\n \n
    {t(userMessages.userName)}{t(userMessages.password)}{t(baseI18n.patients.demographic.firstName)}{t(baseI18n.patients.demographic.lastName)}{t(baseI18n.global.licenseNumber)}{t(baseI18n.patients.demographic.birthday)}{t(baseI18n.patients.address.address)}{t(baseI18n.patients.address.telephoneWork)}{t(baseI18n.patients.address.email)}{t(messages.roles)}{t(messages.departments)}
    {x.user.userName}\n {x.user.password}\n
    \n {x.passwordScore.feedback}\n
    \n
    {x.user.person.firstName}{x.user.person.lastName}{x.user.person.licenseNumber}\n {x.user.person.birthday && }\n \n
    {formatAddress(x.user.person.address, true, true, true)}
    \n
    \n \n {x.invalidTelephoneNumber\n ? x.user.person.address.telephoneWork\n : formatPhoneNumber(\n x.user.person.address.telephoneWork,\n x.user.person.address.countryCode\n )}\n \n \n
      \n {x.user.person.address.emails.map((e) => (\n = 0,\n })}>\n {e}\n \n ))}\n
    \n
    \n
      \n {x.user.roles.map((r) => (\n = 0,\n })}>\n {r}\n \n ))}\n
    \n
    \n
      \n {x.departments.map((d) => (\n = 0,\n })}>\n {d.name} ({d.legacyId})\n \n ))}\n
    \n
    \n \n );\n }\n\n renderResults() {\n const t = this.props.intl.formatMessage;\n if (this.state.results.length === 0) {\n return null;\n }\n\n return (\n
    \n \n \n \n \n {t(userMessages.userName)}\n {t(baseI18n.global.status)}\n \n \n \n {this.state.results.map((x, i) => (\n \n {x.userName || x.user.userName}\n \n {!x.user && t(baseI18n.global.error)}\n {x.user && t(x.created ? baseI18n.global.created : baseI18n.global.updated)}\n \n {x.message && }\n \n ))}\n \n \n
    \n );\n }\n\n removeFile(file) {\n return new Promise((resolve) => {\n const files = this.state.files.concat();\n const i = files.indexOf(file);\n if (i >= 0) {\n files.splice(i, 1);\n this.setState({ files }, () => {\n this.saveData(true);\n });\n }\n resolve();\n });\n }\n\n uploadFiles(files) {\n this.setState({ uploadingFiles: true });\n\n getXlsxPopulate().then((xlsx) => {\n const promises = [];\n for (let i = 0; i !== files.length; ++i) {\n promises.push(\n xlsx.fromDataAsync(files[i]).then((workbook) => {\n this.handleUsers(workbook, files[i]);\n return workbook;\n })\n );\n }\n\n Promise.all(promises).then(() => {\n this.setState({ files: this.state.files.concat(files), uploadingFiles: false });\n });\n });\n }\n\n getString(v) {\n return new String(v || \"\").toString();\n }\n\n handleUsers(workbook, handleFile) {\n const values = workbook.sheet(\"Users\").usedRange().value().splice(1);\n const newUsers = values\n .map((value) => {\n let error = false;\n let warning = false;\n let passwordScore = {};\n const user = {\n UserName: this.getString(value[0]),\n Password: this.getString(value[1]),\n FirstName: this.getString(value[2]),\n LastName: this.getString(value[3]),\n Address: this.getString(value[4]),\n City: this.getString(value[5]),\n Country: this.getString(value[6]),\n Province: this.getString(value[7]),\n PostalCode: this.getString(value[8]),\n Phone: this.getString(value[9]),\n LicenseNumber: this.getString(value[10]),\n Birthday: this.getString(value[11]),\n Email: this.getString(value[12]),\n Comment: this.getString(value[13]),\n Roles: this.getString(value[14]),\n DepartmentIds: this.getString(value[15]),\n };\n if (!user.UserName) {\n return null;\n }\n\n if (user.Password) {\n const strength = passwordStrength(user.Password);\n if (strength.score < 2) {\n warning = true;\n }\n\n passwordScore = getScore(this.props.intl, strength, passwordInputTheme, true);\n if (user.Password && user.Password.length < 8) {\n passwordScore = getTooShortScore(this.props.intl, passwordInputTheme, true);\n error = true;\n }\n }\n\n const emails = (user.Email || \"\")\n .split(/[;]/)\n .filter((x) => Boolean(x))\n .map((x) => x.trim());\n const roles = (user.Roles || \"\")\n .split(/[;,]/)\n .filter((x) => Boolean(x))\n .map((x) => x.trim());\n const departmentIds = (user.DepartmentIds || \"\")\n .split(/[;,]/)\n .filter((x) => Boolean(x))\n .map((x) => x.trim());\n\n let invalidTelephoneNumber = false;\n if (!isTelephoneNumber(user.Phone)) {\n error = invalidTelephoneNumber = true;\n }\n\n const { departments: allDepartments, roles: allRoles } = this.props.viewer;\n const invalidEmails = emails.filter((x) => !isEmail(x));\n const invalidRoles = roles.filter((x) => allRoles.filter((r) => r.name === x).length === 0);\n const invalidDepartments = [];\n const departments = departmentIds.map((x) => {\n // eslint-disable-next-line eqeqeq\n const found = allDepartments.edges.filter((d) => d.node.legacyId == x)[0];\n if (!found) {\n invalidDepartments.push(x.node);\n }\n\n return {\n id: found ? found.node.id : x,\n legacyId: found ? found.node.legacyId : x,\n name: found ? found.node.name : \"\",\n };\n });\n\n if (invalidEmails.length > 0 || invalidDepartments.length > 0 || invalidRoles.length > 0) {\n error = true;\n }\n\n let countryCode = \"\",\n provinceCode = \"\",\n provinceName: \"\";\n\n const country = this.props.viewer.countries.edges.filter(\n (x) => x.node.name.toLowerCase() === user.Country.toLowerCase()\n )[0];\n\n if (country) {\n countryCode = country.node.cca2;\n if (country.node.provinces.edges.length > 0) {\n const province = country.node.provinces.edges.filter(\n (x) => x.node.name.toLowerCase() === user.Province.toLowerCase()\n )[0];\n if (province) {\n provinceCode = province.node.code;\n } else {\n provinceName = user.Province;\n }\n } else {\n countryCode = user.Country;\n }\n }\n\n return {\n error,\n warning: warning && !error,\n invalidEmails,\n invalidRoles,\n departments,\n invalidDepartments,\n invalidTelephoneNumber,\n passwordScore,\n user: {\n userName: user.UserName,\n password: user.Password,\n roles,\n departmentIds,\n person: {\n firstName: user.FirstName,\n lastName: user.LastName,\n licenseNumber: user.LicenseNumber,\n birthday: /^\\d+$/.test(user.Birthday)\n ? new Date((user.Birthday - (25567 + 2)) * 86400 * 1000) // Ugly handling for excel generated date, formula found on: https://gist.github.com/christopherscott/2782634\n : parseToCalendarDate(user.Birthday),\n address: {\n address: user.Address,\n city: user.City,\n countryCode,\n provinceCode,\n provinceName,\n postalCode: user.PostalCode,\n telephoneWork: user.Phone,\n emails,\n },\n },\n },\n };\n })\n .filter((x) => Boolean(x));\n\n this.setState({ users: this.state.users.concat(newUsers) });\n\n handleFile.userCount = newUsers.length;\n handleFile.errorCount = newUsers.filter((x) => x.error).length;\n handleFile.warningCount = newUsers.filter((x) => x.warning).length;\n }\n\n downloadTemplate() {\n this.setState({ downloadingTemplate: true });\n\n getXlsxPopulate().then((xlsx) => {\n this.getTemplate(xlsx).then((workbook) => {\n workbook.outputAsync().then((blob) => {\n const fileToDownload = {\n name: \"ImportUsersTemplate.xlsx\",\n data: blob,\n isBinary: true,\n };\n saveFile(fileToDownload);\n this.setState({ downloadingTemplate: false });\n });\n });\n });\n }\n\n getTemplate(xlsx): Promise {\n const jwt = encodeURIComponent(getToken());\n return downloadFile(this.templateFileUrl, jwt, true).then((file) => {\n return xlsx.fromDataAsync(file.data).then((workbook) => {\n const values = this.props.viewer.departments.edges.map((x) => [\n x.node.name,\n x.node.legacyId,\n ]);\n workbook\n .sheet(\"ReferenceData\")\n .range(\"D2:E\" + (values.length + 1))\n .value(values);\n\n return workbook;\n });\n });\n }\n\n exportUsers() {\n this.setState({ exportingUsers: true });\n const getUsers = new Promise((resolve) => {\n this.props.relay.setVariables({ exportUsers: true }, (state) => {\n if (state.done) {\n resolve();\n }\n });\n });\n\n Promise.all([getXlsxPopulate(), getUsers]).then(([xlsx]) => {\n this.getTemplate(xlsx).then((workbook) => {\n const users = this.props.viewer.users.edges;\n const allCountries = this.props.viewer.countries.edges;\n const values = [];\n for (let i = 0; i < users.length; i++) {\n const user = users[i].node;\n const country = allCountries.filter(\n (x) => x.node.cca2 === user.person.address.countryCode\n )[0];\n const province = country\n ? country.node.provinces.edges.filter(\n (x) => x.node.code === user.person.address.provinceCode\n )[0]\n : null;\n values.push([\n user.userName,\n \"\",\n user.person.firstName,\n user.person.lastName,\n user.person.address.address,\n user.person.address.city,\n country ? country.node.name : \"\",\n province ? province.node.name : user.person.address.provinceName,\n user.person.address.postalCode,\n user.person.address.telephoneWork,\n user.person.licenseNumber,\n user.person.birthday,\n user.person.address.emails.join(\"; \"),\n \"\",\n user.roles.map((x) => x.name).join(\"; \"),\n user.person.departments.map((x) => x.legacyId).join(\", \"),\n ]);\n }\n workbook\n .sheet(\"Users\")\n .range(\"A2:P\" + (values.length + 1))\n .value(values);\n\n workbook.outputAsync().then((blob) => {\n const fileToDownload = {\n name: \"ExportedUsers\" + new Date().toISOString().substr(0, 10) + \".xlsx\",\n data: blob,\n isBinary: true,\n };\n saveFile(fileToDownload);\n this.setState({ exportingUsers: false });\n });\n });\n });\n }\n}\n\nconst ThemedImportUsers = themr(\"AKImportUsers\", style)(ImportUsers);\nconst mapStateToProps = (state) => {\n return {\n language: state.settingsReducer.language,\n };\n};\n\nexport default Relay.createContainer(injectIntl(connect(mapStateToProps)(ThemedImportUsers)), {\n initialVariables: {\n exportUsers: false,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n currentUser {\n isSpecialist\n }\n\n users(first: 10000) @include(if: $exportUsers) {\n edges {\n node {\n userName\n roles {\n id\n name\n }\n person {\n firstName\n lastName\n licenseNumber\n birthday\n address {\n address\n city\n countryCode\n provinceCode\n provinceName\n postalCode\n telephoneWork\n emails\n }\n\n departments {\n id\n legacyId\n name\n }\n }\n }\n }\n }\n\n departments(first: 10000) {\n edges {\n node {\n id\n legacyId\n name\n }\n }\n }\n\n roles {\n id\n name\n }\n\n countries(first: 250) {\n edges {\n node {\n id\n cca2\n name\n provinces(first: 250) {\n edges {\n node {\n id\n code\n name\n }\n }\n }\n }\n }\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { setTitle } from \"../../helpers/document\";\nimport { messages } from \"../layout/mainNavigation\";\n\nimport ImportUsers from \"./importUsers\";\n\nclass ImportUsersPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n intl: intlShape.isRequired,\n };\n\n state = {};\n\n constructor(props) {\n super(props);\n }\n\n UNSAFE_componentWillMount() {\n document.title = setTitle(this.props.intl.formatMessage, messages.importUsers);\n }\n\n render() {\n return ;\n }\n}\n\nexport default Relay.createContainer(injectIntl(ImportUsersPage), {\n initialVariables: {},\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${ImportUsers.getFragment(\"viewer\")}\n currentUser {\n isSpecialist\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { withRouter, routerShape } from \"react-router\";\n\nimport { URLs } from \"../../constants\";\nimport { actuallyLoggedIn } from \"../../helpers/authentication\";\nimport PersonSettingsForm from \"../accounts/personSettingsForm\";\n\nexport const queries = {\n viewer: () => Relay.QL`query { viewer }`,\n};\n\nexport const messages = defineMessages({\n pageTitle: {\n id: \"requestAccess.pageTitle\",\n description: \"Request access page title\",\n defaultMessage: \"Request access to Telehealth\",\n },\n});\n\nclass RequestAccessPage extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n intl: intlShape,\n router: routerShape,\n };\n\n UNSAFE_componentWillMount() {\n if (actuallyLoggedIn()) {\n document.location.replace(URLs.getWebRootUrl());\n return;\n }\n }\n render() {\n return (\n
    \n

    \n {this.props.intl.formatMessage(messages.pageTitle)}\n

    \n \n
    \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(withRouter(RequestAccessPage)), {\n initialVariables: {\n userName: null,\n isAnonymous: true,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PersonSettingsForm.getFragment(\"viewer\")}\n }`,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class InstallVideoConferenceProviderMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(InstallVideoConferenceProviderMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { installVideoConferenceProvider }`;\n }\n\n getVariables() {\n return {\n providerName: this.props.providerName,\n code: this.props.code,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on InstallVideoConferenceProviderPayload {\n provider {\n id,\n emailAccount,\n licenseType\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on InstallVideoConferenceProviderPayload {\n provider {\n id,\n emailAccount,\n licenseType\n }\n }\n `,\n ],\n },\n ];\n }\n}\n\nexport const installVideoConferenceProvider = ({ providerName, code }) => {\n const params = {\n providerName,\n code,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new InstallVideoConferenceProviderMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","export const messages = {\n actions: {\n retry: {\n id: \"error.retry\",\n description: \"Retry button label\",\n },\n close: {\n id: \"global.close\",\n description: \"Close button label\",\n },\n },\n};\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Card, Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport SpinnerPlaceholder from \"~/src/js/components/shared/spinnerPlaceholder\";\nimport ErrorsContainer from \"~/src/js/components/shared/ErrorsContainer/ErrorsContainer\";\nimport { installVideoConferenceProvider } from \"~/src/js/components/shared/VideoConference/mutations/InstallVideoConferenceProviderMutation\";\nimport { queryString } from \"~/src/js/helpers/strings\";\n\nimport { messages } from \"./CallbackPage.i18n\";\n\nconst VideoConferenceCallBackPage = ({ providerName, codeQueryStringKey, cardTitle }) => {\n const [loading, setLoading] = useState(true);\n const [errors, setErrors] = useState(null);\n\n const onCompleted = () => {\n setLoading(false);\n window.close();\n };\n\n const onError = (errors) => {\n setLoading(false);\n setErrors(errors);\n };\n\n const installProvider = async () => {\n const qs = queryString(document.location.search);\n return await installVideoConferenceProvider({\n providerName: providerName,\n code: qs[codeQueryStringKey],\n });\n };\n\n const onInstallProvider = () => {\n setErrors([]);\n setLoading(true);\n installProvider()\n .then(() => onCompleted())\n .catch((errors) => onError(errors));\n };\n\n useEffect(() => {\n onInstallProvider();\n }, []);\n\n return (\n \n \n \n {errors && errors.length > 0 && (\n \n \n \n \n )}\n \n );\n};\n\nVideoConferenceCallBackPage.propTypes = {\n providerName: PropTypes.string,\n codeQueryStringKey: PropTypes.string,\n cardTitle: PropTypes.node,\n};\n\nexport default VideoConferenceCallBackPage;\n","export const messages = {\n titles: {\n zoomIsLinking: {\n id: \"videoConference.titles.zoomIsLinking\",\n description: \"Card title when linking zoom account\",\n },\n },\n};\n","import React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { VideoConferenceCallBackPage } from \"../VideoConferences\";\n\nimport { messages } from \"./ZoomProviderCallbackPage.i18n\";\n\nconst ZoomProviderCallbackPage = () => {\n return (\n }\n />\n );\n};\n\nZoomProviderCallbackPage.propTypes = {};\n\nexport default ZoomProviderCallbackPage;\n","export const messages = {\n titles: {\n teamsIsLinking: {\n id: \"videoConference.titles.teamsIsLinking\",\n description: \"Card title when linking Teams account\",\n },\n },\n};\n","import React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\n\nimport { VideoConferenceCallBackPage } from \"../VideoConferences\";\n\nimport { messages } from \"./TeamsProviderCallbackPage.i18n\";\n\nconst TeamsProviderCallbackPage = () => {\n return (\n }\n />\n );\n};\n\nTeamsProviderCallbackPage.propTypes = {};\n\nexport default TeamsProviderCallbackPage;\n","import React from \"react\";\nimport { Route, Redirect } from \"react-router\";\n\nimport ActivityHeader from \"../components/accounts/activity/activityHeader\";\nimport ActivityPage from \"../components/accounts/activity/activityPage\";\nimport QuickInvitePersonPage from \"../components/accounts/quickInvitePersonPage\";\nimport UserCreatePage from \"../components/accounts/userCreatePage\";\nimport UserEditPage from \"../components/accounts/userEditPage\";\nimport AccessRequestHeader from \"../components/users/accessRequestHeader\";\nimport AccessRequestPage from \"../components/users/accessRequestPage\";\nimport ConfirmEmailPage from \"../components/users/confirmEmailPage\";\nimport ConfirmRegistrationPage from \"../components/users/confirmRegistrationPage\";\nimport ImportUsersHeader from \"../components/users/importUsersHeader\";\nimport ImportUsersPage from \"../components/users/importUsersPage\";\nimport RequestAccessPage from \"../components/users/requestAccessPage\";\nimport { ZoomProviderCallbackPage } from \"../components/accounts/ZoomProviderCallbackPage/index\";\nimport { TeamsProviderCallbackPage } from \"../components/accounts/TeamsProviderCallbackPage\";\n\nimport { RenderWithSplashAndError, ViewerQueries } from \"./routeHelpers\";\n\nexport default [\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n ,\n];\n","import { defineMessages } from \"react-intl\";\n\nexport default defineMessages({\n time: {\n id: \"videoConference.event.time\",\n description: \"Event time\",\n },\n provider: {\n id: \"videoConference.event.provider\",\n description: \"Event provider\",\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Button, ButtonGroup, Modal, ExternalLinkIcon, Link } from \"@akinoxsolutions/gerudo-ui\";\nimport { injectIntl, intlShape, FormattedHTMLMessage, FormattedMessage } from \"react-intl\";\n\nimport { URLs } from \"~/src/js/constants\";\nimport baseMessages from \"~/src/messages/base.i18n\";\nimport PatientInformation from \"~/src/js/components/shared/patientInformation\";\nimport { messages as historyMessages } from \"~/src/js/components/shared/VideoConference/VideoConferenceHistory/VideoConferenceHistoryItem.i18n\";\nimport { messages as addToCalendarMessages } from \"~/src/js/components/shared/VideoConference/VideoconferenceAddToCalendar/VideoconferenceAddToCalendar.i18n\";\nimport VideoConferenceStatusChip from \"~/src/js/components/shared/VideoConference/VideoConferenceHistory/VideoConferenceStatusChip\";\nimport { VideoconferenceAddToCalendar } from \"~/src/js/components/shared/VideoConference/VideoconferenceAddToCalendar\";\nimport { MeetingPropTypes } from \"~/src/js/PropTypes/VideoConference/Meeting/index\";\nimport { PatientPropTypes } from \"~/src/js/PropTypes/Case\";\nimport { DepartmentPropTypes } from \"~/src/js/PropTypes/Department/index\";\n\nimport messages from \"./EventInfoModal.i18n\";\nimport modalStyle from \"./EventInfoModal.style\";\n\n// TODO: Add participants to modal\n\nexport const EventInfoModal = ({\n intl,\n viewer,\n visible,\n onCancel,\n event: { title, start, end, extendedProps },\n}) => {\n if (!extendedProps) {\n return null;\n }\n\n const { meeting, patient, department, requestLegacyId, isClinician } = extendedProps;\n const { topic, description, provider, startUrl, joinUrl } = meeting;\n\n const url = isClinician ? startUrl : joinUrl;\n const requestLink = URLs.rootFormat(\"/cases/{legacyId}/forms\").replace(\n \"{legacyId}\",\n requestLegacyId\n );\n\n const actions = () => {\n return (\n \n \n \n \n \n \n );\n };\n\n return (\n \n
    \n \n {}\n {}\n {\" \"}\n {requestLegacyId && (\n \n {requestLegacyId}\n \n )}\n
    \n \n {}\n {}\n {\" \"}\n {patient && (\n
    \n \n
    \n )}\n
    \n {}\n
    \n {\n \n }\n
    \n {\n \n }\n \n
    \n {isClinician && (\n \n {\n \n }\n
    \n
    \n )}\n
    \n \n );\n};\n\nEventInfoModal.propTypes = {\n intl: intlShape,\n viewer: PropTypes.object.isRequired,\n visible: PropTypes.bool.isRequired,\n onCancel: PropTypes.func.isRequired,\n event: PropTypes.shape({\n title: PropTypes.string.isRequired,\n description: PropTypes.string,\n start: PropTypes.instanceOf(Date).isRequired,\n end: PropTypes.instanceOf(Date).isRequired,\n extendedProps: PropTypes.shape({\n meeting: MeetingPropTypes,\n patient: PatientPropTypes,\n department: DepartmentPropTypes,\n requestLegacyId: PropTypes.string.isRequired,\n isClinician: PropTypes.bool,\n }).isRequired,\n }).isRequired,\n};\n\nexport default injectIntl(EventInfoModal);\n","import { defineMessages } from \"react-intl\";\n\nexport default defineMessages({\n calendar: {\n id: \"calendar.calendar\",\n description: \"Calendar week label\",\n },\n schedule: {\n id: \"calendar.schedule\",\n description: \"Calendar list label\",\n },\n today: {\n id: \"calendar.today\",\n description: \"Calendar today label\",\n },\n});\n","import PropTypes from \"prop-types\";\nimport React, { useState } from \"react\";\nimport Relay from \"react-relay/classic\";\nimport FullCalendar from \"@fullcalendar/react\";\nimport timeGridPlugin from \"@fullcalendar/timegrid\";\nimport daygridPlugin from \"@fullcalendar/daygrid\";\nimport listPlugin from \"@fullcalendar/list\";\nimport interactionPlugin from \"@fullcalendar/interaction\";\nimport frLocale from \"@fullcalendar/core/locales/fr\";\nimport { injectIntl } from \"react-intl\";\n\nimport { useToggle } from \"~/src/js/hooks/index\";\nimport { serializeDate } from \"~/src/js/helpers/dates\";\nimport PatientInformation from \"~/src/js/components/shared/patientInformation\";\nimport { addMinutes } from \"~/src/js/components/shared/inputs/DateTime/index\";\nimport { messages as addToCalendarMessages } from \"~/src/js/components/shared/VideoConference/VideoconferenceAddToCalendar/VideoconferenceAddToCalendar.i18n\";\n\nimport EventModal from \"../events/EventInfoModal\";\n\nimport messages from \"./Calendar.i18n\";\nimport calendarStyle from \"./Calendar.style\";\n\nimport \"!style!css!@fullcalendar/common/main.css\";\nimport \"!style!css!@fullcalendar/daygrid/main.css\";\nimport \"!style!css!@fullcalendar/list/main.css\";\nimport \"!style!css!@fullcalendar/timegrid/main.css\";\n\nconst Calendar = ({ viewer, intl: { formatMessage, locale }, relay }) => {\n const [eventModalToggled, toggleEventModal] = useToggle(false);\n const [event, setEvent] = useState({});\n\n const setModal = (x) => {\n setEvent(x.event);\n toggleEventModal(true);\n };\n\n const unsetModal = () => {\n toggleEventModal(false);\n setEvent({});\n };\n\n const renderCalendarClassname = (x) => {\n if (x.isToday) {\n return calendarStyle[\"today\"];\n }\n\n if (x.isPast) {\n return calendarStyle[\"past\"];\n }\n\n return null;\n };\n\n const renderEventClassname = (x) => {\n if (x.view.type === \"timeGridWeek\") {\n return calendarStyle[\"calendar-event\"];\n }\n\n if (x.view.type === \"listWeek\") {\n return calendarStyle[\"list-event\"];\n }\n\n return null;\n };\n\n const isClinician = viewer.currentUser.isSpecialist;\n\n const fetchDates = (start, end) => {\n relay.setVariables({\n start: serializeDate(start),\n end: serializeDate(end),\n });\n };\n\n const events = viewer.currentUser.videoConferenceMeetings.edges.map((m) => {\n const startDate = new Date(m.node.scheduledDate);\n const endDate = addMinutes(startDate, m.node.scheduledDurationMinutes);\n\n const department = m.node.request.toDepartment;\n return {\n title: isClinician\n ? formatMessage(addToCalendarMessages.title.clinician, {\n patientName: m.node.request.patient.demographic.fullName,\n })\n : formatMessage(addToCalendarMessages.title.patient, {\n clinicName: department.name,\n }),\n description: m.node.description,\n start: startDate,\n end: endDate,\n extendedProps: {\n meeting: m.node,\n patient: m.node.request.patient,\n department,\n isClinician,\n requestLegacyId: m.node.request.lookupId,\n },\n };\n });\n\n return (\n \n setModal(x)}\n slotMinTime=\"06:00:00\"\n slotDuration=\"00:15:00\"\n eventClassNames={renderEventClassname}\n dayCellClassNames={renderCalendarClassname}\n locales={[frLocale]}\n locale={locale.split(\"-\")[0]}\n firstDay={0}\n datesSet={(x) => fetchDates(x.start, x.end)}\n />\n \n \n );\n};\n\nCalendar.propTypes = {\n viewer: PropTypes.object.isRequired,\n relay: PropTypes.object.isRequired,\n};\n\nexport default Relay.createContainer(injectIntl(Calendar), {\n initialVariables: {\n start: null,\n end: null,\n before: null,\n after: null,\n last: null,\n first: 20,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n currentUser {\n isSpecialist\n videoConferenceMeetings (start: $start, end: $end, first: $first, after: $after, before: $before, last: $last) {\n edges {\n node {\n id,\n joinUrl,\n startUrl,\n scheduledDate,\n scheduledDurationMinutes,\n topic,\n description,\n provider {\n emailAccount,\n providerName\n }\n status {\n code\n name\n }\n request {\n lookupId\n toDepartment {\n name\n }\n patient {\n demographic {\n fullName\n }\n ${PatientInformation.getFragment(\"patient\")}\n }\n }\n }\n }\n }\n }\n\n ${PatientInformation.getFragment(\"viewer\")}\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Relay from \"react-relay/classic\";\nimport { Card } from \"@akinoxsolutions/gerudo-ui\";\n\nimport Calendar from \"./calendar/Calendar\";\n\nconst CalendarPage = ({ viewer }) => {\n return (\n \n \n \n );\n};\n\nCalendarPage.propTypes = {\n viewer: PropTypes.object.isRequired,\n};\n\nexport default Relay.createContainer(CalendarPage, {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${Calendar.getFragment(\"viewer\")}\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\nimport React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Table } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { PersonInformation } from \"~/src/js/components/shared/PersonInformation\";\nimport baseMessages from \"~/src/messages/base.i18n\";\nimport { HospitalPropTypes } from \"~/src/js/PropTypes/Hospital\";\n\nexport const HospitalUserList = ({ hospital }) => {\n let dataSource = [];\n\n // TODO POC - FIX this to use sets\n if (hospital) {\n dataSource = hospital.departments\n .map((x) => {\n return x.specialists.map((y) => {\n return {\n key: y.id,\n fullname: ,\n profession: y.profession ? y.profession.name : null,\n };\n });\n })\n .flat()\n .filter((v, i, a) => i === a.findIndex((t) => t.key === v.key));\n }\n\n return (\n ,\n },\n {\n dataIndex: \"profession\",\n title: \"Profession\",\n },\n ]}\n loading={!hospital}\n dataSource={dataSource}\n pagination={true}\n />\n );\n};\n\nHospitalUserList.propTypes = {\n hospital: HospitalPropTypes,\n};\n\nexport default Relay.createContainer(HospitalUserList, {\n fragments: {\n hospital: () => Relay.QL`\n fragment on IHospital {\n departments {\n name\n specialists {\n id\n fullName\n profession {\n name\n }\n ${PersonInformation.getFragment(\"person\")}\n }\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React, { useState, useEffect } from \"react\";\nimport Relay from \"react-relay/classic\";\nimport { Card, Menu, Dropdown, Button, CaretIcon } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { HospitalUserList } from \"./hospitalUserList\";\n\nconst HospitalsPage = ({ viewer, relay }) => {\n const [isVisible, setIsVisible] = useState(false);\n const [hospitals, setHospitals] = useState([]);\n const [hospital, setHospital] = useState(viewer.currentUser.asSpecialist.departments[0].hospital);\n\n // TODO POC - FIX this because relay mixes up IDs of avaible hospitals\n // TODO POC - FIX this to use sets\n useEffect(() => {\n setHospitals(\n viewer.currentUser.asSpecialist.departments\n .map((x) => x.hospital)\n .filter((v, i, a) => i === a.findIndex((t) => t.id === v.id))\n );\n }, []);\n\n useEffect(() => {\n relay.setVariables({\n hospitalId: hospital.id,\n hasHospitalId: Boolean(hospital.id),\n });\n }, [hospital]);\n\n const handleVisibleChange = () => {\n setIsVisible(!isVisible);\n };\n\n const handleMenuClick = () => {\n setIsVisible(false);\n };\n\n return (\n \n \n {hospitals.map((x) => (\n setHospital(x)}>\n {x.name}\n \n ))}\n \n }\n onVisibleChange={handleVisibleChange}\n visible={isVisible}\n trigger=\"click\"\n placement=\"bottomRight\">\n \n \n \n \n );\n};\n\nHospitalsPage.propTypes = {\n viewer: PropTypes.object.isRequired,\n};\n\nexport default Relay.createContainer(HospitalsPage, {\n initialVariables: {\n hospitalId: null,\n hasHospitalId: false,\n },\n prepareVariables: (prevVariables) => {\n return {\n ...prevVariables,\n hasHospitalId: Boolean(prevVariables.hasHospitalId),\n };\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n currentUser {\n isSpecialist\n asSpecialist {\n departments {\n hospital {\n id\n name\n }\n }\n }\n }\n \n hospital(id: $hospitalId) @include (if: $hasHospitalId) {\n ${HospitalUserList.getFragment(\"hospital\")}\n }\n }\n `,\n },\n});\n","import React from \"react\";\nimport { Route } from \"react-router\";\n\nimport GenericHeader from \"../components/shared/genericHeader\";\nimport CalendarPage from \"../components/clinicalPractice/calendarPage\";\nimport HospitalsPage from \"../components/hospitals/hospitalsPage\";\n\nimport { RenderWithSplashAndError, ViewerQueries } from \"./routeHelpers\";\n\nimport baseI18n from \"../../messages/base.i18n\";\n\nconst defaultParams = {\n render: RenderWithSplashAndError,\n queries: { main: ViewerQueries },\n};\n\nconst CalendarHeader = () => ;\nconst HospitalsHeader = () => ;\n\nexport default [\n ,\n\n ,\n];\n","import React from \"react\";\nimport { IndexRedirect, Route, Redirect } from \"react-router\";\n\nimport AnonymousLayout from \"../components/layout/anonymousLayout\";\nimport LoggedInLayout from \"../components/layout/loggedInLayout\";\nimport NotFoundPage from \"../components/layout/notFoundPage\";\nimport { actuallyLoggedIn } from \"../helpers/authentication\";\n\nimport accountRoutes from \"./accountRoutes\";\nimport caseRoutes from \"./caseRoutes\";\nimport formRoutes from \"./formRoutes\";\nimport generalRoutes from \"./generalRoutes\";\nimport patientRoutes from \"./patientRoutes\";\nimport userRoutes from \"./userRoutes\";\nimport clinicRoutes from \"./clinicRoutes\";\nimport { RenderWithSplashAndError, ViewerQueries } from \"./routeHelpers\";\n\nconst routes = () => {\n const indexRedirectUrl = \"/cases/IN_PROGRESS\";\n const isLogIn = actuallyLoggedIn();\n return (\n \n \n\n \n\n {patientRoutes}\n\n {formRoutes}\n\n {caseRoutes}\n\n {accountRoutes}\n\n {userRoutes}\n\n {clinicRoutes}\n\n {generalRoutes}\n\n \n \n );\n};\n\nexport default routes();\n","import PropTypes from \"prop-types\";\nimport React, { Component, Fragment } from \"react\";\nimport IdleTimer from \"react-idle-timer\";\nimport { ThemeProvider } from \"react-css-themr\";\nimport { IntlProvider } from \"react-intl\";\nimport { Provider } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { Router, applyRouterMiddleware } from \"react-router\";\nimport useRelay from \"react-router-relay\";\n\nimport { hideNavDrawer, setLanguage } from \"~/src/js/stores/app/actions\";\n\nimport { getIdleTimeout, logout } from \"../helpers/authentication\";\nimport theme from \"../../styles/theme/main\";\nimport { flattenMessages } from \"../../translations/flattenMessages\";\nimport PrintContainer from \"../components/printContainer\";\nimport { queryString } from \"../helpers/strings\";\nimport { loadCurrentTheme } from \"../helpers/themes\";\nimport PrintRoute from \"../routes/printRoute\";\nimport routes from \"../routes/routes\";\nimport { store } from \"../stores/store\";\nimport { MenuProvider } from \"../components/shared/Menu\";\n\nconst qs = queryString(location.search);\n\nexport default class ProdRoot extends Component {\n constructor(props) {\n super(props);\n this.idleTimer = null;\n this.handleOnAction = this.handleOnAction.bind(this);\n this.handleOnActive = this.handleOnActive.bind(this);\n this.handleOnIdle = this.handleOnIdle.bind(this);\n }\n\n static propTypes = {\n store: PropTypes.object.isRequired,\n currentLang: PropTypes.string.isRequired,\n messages: PropTypes.any.isRequired,\n history: PropTypes.object.isRequired,\n };\n\n state = {\n theme: null,\n };\n\n UNSAFE_componentWillMount() {\n loadCurrentTheme().then((x) => {\n this.setState({ theme: x.styleTheme });\n\n if (x.favicon) {\n const link = document.querySelector(\"link[rel*='icon']\") || document.createElement(\"link\");\n link.type = \"image/x-icon\";\n link.rel = \"shortcut icon\";\n link.href = x.favicon;\n document.getElementsByTagName(\"head\")[0].appendChild(link);\n }\n });\n }\n\n render() {\n const { store, history, currentLang, messages } = this.props;\n const lang = currentLang;\n\n return (\n \n \n \n \n \n {\n this.idleTimer = ref;\n }}\n timeout={1000 * 60 * getIdleTimeout()}\n onActive={this.handleOnActive}\n onIdle={this.handleOnIdle}\n onAction={this.handleOnAction}\n debounce={250}\n stopOnIdle={true}\n />\n {rootContainer(history)}\n \n \n \n \n \n );\n }\n\n handleOnAction() {}\n\n handleOnActive() {}\n\n handleOnIdle() {\n logout(document.location, \"errMode=2\");\n }\n}\n\nfunction rootContainer(history) {\n if (qs.print) {\n // Hack: reducer state seems to not be set in PdfCaseRenderer...\n if (qs.lang) {\n setPrintLanguage(qs.lang);\n }\n return (\n \n );\n }\n\n return (\n {\n hideDrawerIfNecessary();\n }}\n environment={Relay.Store}\n />\n );\n}\n\nfunction hideDrawerIfNecessary() {\n if (store.getState().layoutReducer.navDrawerActive) {\n store.dispatch(hideNavDrawer());\n }\n}\n\nfunction setPrintLanguage(lang) {\n store.dispatch(setLanguage(lang));\n}\n","export const flattenMessages = (nestedMessages, prefix = \"\") => {\n if (nestedMessages === null) {\n return {};\n }\n return Object.keys(nestedMessages).reduce((messages, key) => {\n const value = nestedMessages[key];\n const prefixedKey = prefix ? `${prefix}.${key}` : key;\n\n if (typeof value === \"string\") {\n Object.assign(messages, { [prefixedKey]: value });\n } else {\n Object.assign(messages, flattenMessages(value, prefixedKey));\n }\n\n return messages;\n }, {});\n};\n","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@-webkit-keyframes Skeleton-styles__loading___RV2bL{100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}@keyframes Skeleton-styles__loading___RV2bL{100%{-webkit-transform:translateX(100%);transform:translateX(100%)}}.Skeleton-styles__skeleton___2aTAa{background-color:#ebebeb;width:100%;display:inline-flex;line-height:1;position:relative;overflow:hidden;margin-top:1rem;margin-bottom:1rem}.Skeleton-styles__skeleton___2aTAa::after{content:\\\" \\\";display:block;position:absolute;left:0;right:0;height:100%;background-repeat:no-repeat;background-image:linear-gradient(90deg, #ebebeb, #f5f5f5, #ebebeb);-webkit-transform:translateX(-100%);transform:translateX(-100%);-webkit-animation-name:Skeleton-styles__loading___RV2bL;animation-name:Skeleton-styles__loading___RV2bL;-webkit-animation-direction:normal;animation-direction:normal;-webkit-animation-duration:1.5s;animation-duration:1.5s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"skeleton\": \"Skeleton-styles__skeleton___2aTAa\",\n\t\"loading\": \"Skeleton-styles__loading___RV2bL\"\n};","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./Parameters.styles.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./Parameters.styles.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./Parameters.styles.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","export type ReadFile = {\n name: string,\n data: any,\n isBinary: boolean,\n};\n\nconst canReadAsBinaryString =\n typeof FileReader !== \"undefined\" &&\n typeof FileReader.prototype !== \"undefined\" &&\n typeof FileReader.prototype.readAsBinaryString !== \"undefined\";\n\nfunction fixData(data) {\n let o = \"\",\n l = 0;\n const w = 10240;\n for (; l < data.byteLength / w; ++l) {\n o += String.fromCharCode.apply(null, new Uint8Array(data.slice(l * w, l * w + w)));\n }\n o += String.fromCharCode.apply(null, new Uint8Array(data.slice(l * w)));\n return o;\n}\n\nexport function readFiles(files: FileList): Promise {\n return new Promise((resolve) => {\n const fileResults = files.map((f: File) => {\n return new Promise((resolveOne) => {\n const reader = new FileReader();\n reader.onload = (e) => {\n const data = e.target.result;\n\n if (canReadAsBinaryString) {\n resolveOne({ name: f.name, data, isBinary: true });\n } else {\n resolveOne({ name: f.name, data: btoa(fixData(data)), isBinary: false });\n }\n };\n if (canReadAsBinaryString) {\n reader.readAsBinaryString(f);\n } else {\n reader.readAsArrayBuffer(f);\n }\n });\n });\n\n Promise.all(fileResults).then(([...f]) => {\n resolve(f);\n });\n });\n}\n\nexport function downloadFile(\n url: string,\n jwt: string,\n asBuffer?: boolean = false\n): Promise {\n return new Promise((resolve, reject) => {\n const oReq = new XMLHttpRequest();\n oReq.open(\"GET\", url, true);\n oReq.setRequestHeader(\"Authorization\", \"Bearer \" + jwt);\n oReq.responseType = \"arraybuffer\";\n\n oReq.onload = () => {\n if (oReq.status < 200 || oReq.status > 299) {\n const e = new Error(\"Error status for AJAX request\");\n e.request = oReq;\n reject(e);\n return;\n }\n\n const arraybuffer = oReq.response;\n let name = url.lastIndexOf(\"/\") >= 0 ? url.substr(url.lastIndexOf(\"/\") + 1) : url;\n\n const dispo = oReq.getResponseHeader(\"content-disposition\");\n if (dispo) {\n const fileNameRegex = /filename=\"([^;]+)\"/gm;\n let match = fileNameRegex.exec(dispo);\n if (!match) {\n const fileNameRegex2 = /filename=([^;]+)/gm;\n match = fileNameRegex2.exec(dispo);\n }\n\n if (match) {\n name = match[1];\n }\n }\n\n if (asBuffer) {\n resolve({\n name,\n data: arraybuffer,\n isBinary: false,\n });\n return;\n }\n\n /* convert data to binary string */\n const data = new Uint8Array(arraybuffer);\n const arr = new Array();\n for (let i = 0; i !== data.length; ++i) {\n arr[i] = String.fromCharCode(data[i]);\n }\n const bstr = arr.join(\"\");\n resolve({\n name,\n data: bstr,\n isBinary: true,\n });\n };\n\n oReq.onerror = (e) => {\n reject(e);\n };\n\n oReq.send();\n });\n}\n\nexport function s2ab(s) {\n if (typeof s !== \"string\") {\n return s;\n }\n\n const buf = new ArrayBuffer(s.length);\n const view = new Uint8Array(buf);\n for (let i = 0; i !== s.length; ++i) {\n view[i] = s.charCodeAt(i) & 0xff;\n }\n return buf;\n}\n\nwindow.s2ab = s2ab;\n\nexport function saveFile(file: ReadFile): void {\n const blob = file.isBinary\n ? file.data\n : new Blob([s2ab(file.data)], { type: \"application/octet-stream\" });\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {\n // If IE, you must uses a different method.\n window.navigator.msSaveOrOpenBlob(blob, file.name);\n } else {\n const url = window.URL.createObjectURL(blob);\n const a = document.createElement(\"a\");\n document.body.appendChild(a);\n a.href = url;\n a.download = file.name;\n a.click();\n window.URL.revokeObjectURL(url);\n document.body.removeChild(a);\n }\n}\n\n/**\n * Transforms to Excel row number. 1 = A, 2 = B, etc.\n * @param {number} i number to make a string\n * @returns {string} Transformed letter\n */\nexport function numberToExcelLetter(i: number): string {\n let result = \"\";\n while (i > 26) {\n result += String.fromCharCode(1 + 64);\n i -= 26;\n }\n\n return result + String.fromCharCode(i + 64);\n}\n","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./appBar.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./appBar.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./appBar.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","module.exports = __webpack_public_path__ + \"4b466425e853a56442254be48208515b.png\";","import { NoticeType } from \"../helpers\";\n\nimport {\n SHOW_ONLY_PENDING_INVITATIONS,\n SET_HEADER_QUERY,\n SET_SUPPORT_AVAILABLE,\n SET_SORT_ORDER,\n SET_SORT_COLUMN,\n SHOW_DIALOG_NOTICE,\n HIDE_DIALOG_NOTICE,\n SET_PAGE_TITLE,\n TOGGLE_NAV_DRAWER_ACTIVE,\n TOGGLE_NOTIFICATION_DRAWER_ACTIVE,\n HIDE_NAV_DRAWER,\n HIDE_NOTIFICAITON_DRAWER,\n SHOW_FULLPAGE,\n HIDE_FULLPAGE,\n ENABLE_TABLE_VIEW,\n DISABLE_TABLE_VIEW,\n SET_ACTIVITY_VIEW,\n SET_LANGUAGE,\n DISMISS_CHANGING_LANGUAGE,\n SET_GLOBAL_ERRORS,\n ACCOUNT_FORM_CHANGED,\n ACCOUNT_FORM_IS_THE_SAME,\n} from \"./types\";\n\nexport const showOnlyPendingInvitations = (show: boolean) => ({\n type: SHOW_ONLY_PENDING_INVITATIONS,\n onlyPendingInvitations: show,\n});\n\nexport const setHeaderQuery = (query: string) => ({ type: SET_HEADER_QUERY, query });\n\nexport const setIsSupportAvailable = (isSupportAvailable: boolean) => ({\n type: SET_SUPPORT_AVAILABLE,\n isSupportAvailable,\n});\n\nexport const setSortOrder = (order: string) => ({ type: SET_SORT_ORDER, order });\n\nexport const setSortColumn = (column: string) => ({ type: SET_SORT_COLUMN, column });\n\nexport const showDialogNotice = (notice: string, noticeType?: NoticeType) => ({\n type: SHOW_DIALOG_NOTICE,\n notice,\n noticeType,\n});\n\nexport const hideDialogNotice = () => ({ type: HIDE_DIALOG_NOTICE });\n\nexport const setPageTitle = (pageTitle: string) => ({\n type: SET_PAGE_TITLE,\n pageTitle,\n});\n\nexport const toggleNavDrawerActive = () => ({\n type: TOGGLE_NAV_DRAWER_ACTIVE,\n});\n\nexport const toggleNotificationDrawerActive = () => ({\n type: TOGGLE_NOTIFICATION_DRAWER_ACTIVE,\n});\n\nexport const hideNavDrawer = () => ({\n type: HIDE_NAV_DRAWER,\n});\n\nexport const hideNotificationDrawer = () => ({\n type: HIDE_NOTIFICAITON_DRAWER,\n});\n\nexport const showFullPage = () => ({\n type: SHOW_FULLPAGE,\n});\n\nexport const hideFullPage = () => ({\n type: HIDE_FULLPAGE,\n});\n\nexport const enableTableView = () => ({\n type: ENABLE_TABLE_VIEW,\n});\n\nexport const disableTableView = () => ({\n type: DISABLE_TABLE_VIEW,\n});\n\nexport const setActivityView = (view: string) => ({\n type: SET_ACTIVITY_VIEW,\n view,\n});\n\nexport const setLanguage = (language: string) => ({\n type: SET_LANGUAGE,\n language,\n});\n\nexport const dismissChangingLanguage = () => ({\n type: DISMISS_CHANGING_LANGUAGE,\n});\n\nexport const setGlobalErrors = (errors: any[], url: string) => ({\n type: SET_GLOBAL_ERRORS,\n errors,\n url,\n});\n\nexport const dismissGlobalErrors = () => ({\n type: SET_GLOBAL_ERRORS,\n errors: [],\n url: null,\n});\n\nexport const setAccountFormChangedStatus = () => ({\n type: ACCOUNT_FORM_CHANGED,\n});\n\nexport const setAccountFormSameStatus = () => ({\n type: ACCOUNT_FORM_IS_THE_SAME,\n});\n","import PropTypes from \"prop-types\";\n\nexport const ConclusionPropTypes = PropTypes.shape({\n id: PropTypes.string,\n name: PropTypes.string,\n description: PropTypes.string,\n});\n","import PropTypes from \"prop-types\";\n\nimport { CasePropTypes } from \"./CasePropTypes\";\nimport { ConclusionPropTypes } from \"./ConclusionPropTypes\";\n\nexport const ViewerPropTypes = PropTypes.shape({\n case: CasePropTypes,\n features: PropTypes.arrayOf(PropTypes.string),\n conclusions: PropTypes.arrayOf(ConclusionPropTypes),\n});\n","import { JL } from \"jsnlog\";\nimport jwtDecode from \"jwt-decode\";\n\nimport { URLs } from \"../constants\";\n\nimport localStorage from \"./localStorage\";\nimport { queryString } from \"./strings\";\n\nlet temporaryToken = null;\n\nexport type Token = {\n username: string,\n name: string,\n sub: string,\n iat: number,\n exp: number,\n};\n\nexport function setToken(token: string): void {\n temporaryToken = null;\n localStorage.setItem(\"atlas:token\", token);\n}\n\nexport function getToken(): string {\n return localStorage.getItem(\"atlas:token\");\n}\n\nexport function decodeToken(token: string): Token {\n return jwtDecode(token);\n}\n\nexport function getAndDecodeToken(): Token {\n const token = getToken();\n return token ? decodeToken(token) : {};\n}\n\nexport function getIdleTimeout(): Number {\n const encodedToken = getToken();\n const token = encodedToken ? decodeToken(encodedToken) : {};\n return token.idleTimeout || 90;\n}\n\nexport function getImpersonation(): Token {\n const token = getAndDecodeToken();\n if (!token || !token.impersonatedBy) {\n return null;\n }\n\n return JSON.parse(token.impersonatedBy);\n}\n\nexport const urls = {\n Login: \"App/Login.aspx\",\n Logout: \"App/Logout.aspx\",\n AdminUsers: \"Admin/active_users.aspx\",\n Statistics: \"App/Reports/_Dashboard.aspx\",\n};\n\nconst anonymousUrls = [\n urls.Login,\n \"/help\",\n \"/request-access\",\n \"/confirm-registration\",\n \"/confirm-email\",\n];\n\nexport function tryLogin(location: Location): void {\n const qs = queryString(location.search);\n\n if (anonymousUrls.filter((x) => location.href.indexOf(x) >= 0).length > 0) {\n return;\n }\n\n if (qs.token) {\n // Temporary token to show page without actually logging in.\n temporaryToken = qs.token;\n return;\n }\n\n if (qs.jwt) {\n setToken(qs.jwt);\n if (qs.print === undefined) {\n document.location.replace(qs.returnUrl || qs.source || location.pathname + location.hash);\n }\n } else {\n location.href =\n URLs.getAtlasRootUrl() + urls.Login + \"?source=\" + encodeURIComponent(window.location.href);\n return;\n }\n}\n\nexport function redirectToLogin(\n jwt: string,\n returnUrl?: string,\n replace?: boolean,\n prefixOverride?: string\n): void {\n const prefix = prefixOverride || URLs.getAtlasRootUrl();\n let url = prefix + urls.Login;\n if (jwt) {\n url += \"?jwt=\" + jwt;\n }\n\n if (returnUrl) {\n url += (url.indexOf(\"?\") >= 0 ? \"&\" : \"?\") + \"source=\" + encodeURIComponent(returnUrl);\n }\n\n return replace ? location.replace(url, true) : location.assign(url);\n}\n\nconst devPrefix = \"http://localhost/AtlasMUHC/\";\n\nexport function redirectToLegacyPage(page: string, replace?: boolean) {\n const prefix = process.env.NODE_ENV === \"development\" ? devPrefix : URLs.getAtlasRootUrl();\n return redirectToLogin(getToken(), prefix + page, replace, prefix);\n}\n\nexport function logout(location: Location, extraUrlParameters: string): void {\n temporaryToken = null;\n localStorage.removeItem(\"atlas:token\");\n location.href =\n URLs.getAtlasRootUrl() +\n urls.Logout +\n \"?source=\" +\n encodeURIComponent(URLs.getWebRootUrl()) +\n (extraUrlParameters ? \"&\" + extraUrlParameters : \"\");\n}\n\nexport function loggedIn() {\n return actuallyLoggedIn() || temporarilyLoggedIn();\n}\n\nexport function actuallyLoggedIn() {\n const token = getToken();\n if (!token) {\n return false;\n }\n\n const tokenData = decodeToken(token);\n if (!tokenData.exp) {\n return false;\n }\n\n const expiryTime = new Date(tokenData.exp * 1000);\n return expiryTime > new Date();\n}\n\nexport function temporarilyLoggedIn() {\n return temporaryToken !== null;\n}\n\nexport function checkTokenRenewal() {\n const token = getToken();\n if (!token) {\n return;\n }\n\n const tokenData = decodeToken(token);\n if (!tokenData.exp) {\n return;\n }\n\n const expiryTime = new Date(tokenData.exp * 1000);\n const diff = expiryTime - new Date();\n const oneMinuteInMs = 60 * 1000;\n const tenMinutesInMs = 10 * oneMinuteInMs;\n if (diff < oneMinuteInMs) {\n return logout(document.location, \"errMode=1\");\n } else if (diff < tenMinutesInMs) {\n renewToken()\n .then(() => {\n setTimeout(checkTokenRenewal, oneMinuteInMs);\n })\n .catch((e) => {\n // TODO: Would probably be better to show a snackbar with a translated message.\n JL(\"authentication\").fatalException({ msg: \"Couldn't renew token!\" }, e);\n return logout(document.location, \"errMode=1\");\n });\n } else {\n setTimeout(checkTokenRenewal, oneMinuteInMs);\n }\n}\n\nfunction renewToken(): Promise {\n return new Promise((resolve, reject) => {\n const token = getToken();\n if (!token) {\n reject(new Error(\"No token to renew!\"));\n return;\n }\n\n const req = new XMLHttpRequest();\n const url = (URLs.getAtlasRootUrl() + \"api/tokens/renew\").replace(\"#/\", \"\");\n req.open(\"POST\", url);\n req.setRequestHeader(\"Authorization\", \"Bearer \" + token);\n req.addEventListener(\"load\", () => {\n if (req.status >= 200 && req.status <= 299) {\n const header = req.getResponseHeader(\"Set-Authorization\");\n const newToken = header.split(\" \")[1];\n setToken(newToken);\n resolve(newToken);\n } else {\n reject(new Error(req.status + \" \" + req.responseText));\n }\n });\n req.addEventListener(\"error\", (e) => {\n reject(e);\n });\n req.send();\n });\n}\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".NavContent-style__nav-content___dVHek{display:none}.NavContent-style__nav-content___dVHek.NavContent-style__active___aADkm{display:block}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"nav-content\": \"NavContent-style__nav-content___dVHek\",\n\t\"active\": \"NavContent-style__active___aADkm\"\n};","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./EventInfoModal.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./EventInfoModal.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./EventInfoModal.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./radioButton.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./radioButton.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./radioButton.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\nimport React, { Fragment } from \"react\";\nimport { injectIntl, FormattedMessage } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\n\nimport { GerudoTextInput, SelectInput } from \"~/src/js/components/shared/inputs\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { getCountries, getInputMetadata } from \"../../helpers/staticData\";\nimport { getMetadata, getAllValidations, splitEmails } from \"../../helpers/validations\";\nimport TelephoneInput from \"../shared/inputs/telephoneInput\";\nimport { predefinedMasks } from \"../shared/inputs/textInput\";\n\nimport styles from \"../forms/THORSURG/ThoracicSurgeryForm.style\";\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport function build(parentData: any, address: any): any {\n return {\n address: parentData.address.address,\n city: parentData.address.city,\n countryCode: parentData.address.countryCode,\n emails: splitEmails(parentData.address.email),\n messaging: parentData.address.messaging || address.messaging || null,\n postalCode: parentData.address.postalCode,\n provinceCode: parentData.address.provinceCode || null,\n provinceName: parentData.address.provinceName || null,\n telephoneCellular: parentData.address.telephoneCellular,\n telephoneHome: parentData.address.telephoneHome,\n telephonePager: parentData.address.telephonePager || address.telephonePager || null,\n telephoneWork: parentData.address.telephoneWork,\n };\n}\n\nexport class _AddressFieldset extends React.Component {\n static propTypes = {\n address: PropTypes.object.isRequired,\n emailRequired: PropTypes.bool,\n language: PropTypes.string,\n onEmailsChange: PropTypes.func,\n showMessaging: PropTypes.bool,\n showTelephoneHome: PropTypes.bool,\n showTelephonePager: PropTypes.bool,\n telephoneWorkRequired: PropTypes.bool,\n viewer: PropTypes.object.isRequired,\n };\n\n UNSAFE_componentWillMount() {\n this.setState({ countryCode: this.props.address.countryCode });\n }\n\n render() {\n const countriesList = getCountries(this.props.language);\n const countries = countriesList.edges.map((x) => {\n return { value: x.node.cca2, label: x.node.name };\n });\n const country = countriesList.edges\n .filter((x) => x.node.cca2 === this.state.countryCode)\n .map((x) => x.node)[0];\n const provinces = country.provinces.edges.map((x) => {\n return { value: x.node.code, label: x.node.name };\n });\n const { inputFields } = getMetadata(getInputMetadata().inputAddressMetadata);\n const vals = getAllValidations(inputFields, this.props.intl);\n const t = this.props.intl.formatMessage;\n const showProvinceDropDown = this.state.countryCode && provinces.length !== 0;\n if (showProvinceDropDown && !this.props.address.provinceCode) {\n this.props.address.provinceCode = provinces[0].value;\n }\n\n if (this.state.countryCode !== \"CA\") {\n delete vals.postalCode.validations.isPostalCode;\n }\n\n return (\n \n
    \n }\n name=\"address.address\"\n required={inputFields.address.type.isRequired}\n validationErrors={vals.address.messages}\n validations={vals.address.validations}\n value={this.props.address.address}\n />\n\n }\n name=\"address.city\"\n required={inputFields.city.type.isRequired}\n validationErrors={vals.city.messages}\n validations={vals.city.validations}\n value={this.props.address.city}\n />\n\n }\n mask={this.state.countryCode === \"CA\" ? predefinedMasks.postalCode : null}\n name=\"address.postalCode\"\n required={inputFields.postalCode.type.isRequired}\n validationErrors={vals.postalCode.messages}\n validations={vals.postalCode.validations}\n value={this.props.address.postalCode}\n />\n
    \n\n
    \n {showProvinceDropDown ? (\n }\n name=\"address.provinceCode\"\n required={inputFields.provinceCode.type.isRequired}\n options={provinces}\n validationErrors={vals.provinceCode.messages}\n validations={vals.provinceCode.validations}\n value={this.props.address.provinceCode}\n />\n ) : (\n }\n name=\"address.provinceName\"\n value={this.props.address.provinceName}\n required={inputFields.provinceName.type.isRequired}\n validations={vals.provinceName.validations}\n validationErrors={vals.provinceName.messages}\n />\n )}\n }\n name=\"address.countryCode\"\n onChange={(e) => this.setState({ countryCode: e })}\n required={inputFields.countryCode.type.isRequired}\n options={countries}\n validationErrors={vals.countryCode.messages}\n validations={vals.countryCode.validations}\n value={this.state.countryCode}\n />\n
    \n\n
    \n {this.props.showTelephoneHome && (\n \n )}\n \n\n \n
    \n\n {(this.props.showTelephonePager || this.props.showMessaging) && (\n
    \n {this.props.showTelephonePager && (\n \n )}\n {this.props.showMessaging && (\n }\n name=\"address.messaging\"\n required={inputFields.messaging.type.isRequired}\n validationErrors={vals.messaging.messages}\n validations={vals.messaging.validations}\n value={this.props.address.messaging}\n />\n )}\n
    \n )}\n\n
    \n }\n name=\"address.email\"\n onChange={(e) => {\n if (this.props.onEmailsChange) {\n this.props.onEmailsChange(splitEmails(e));\n }\n }}\n required={inputFields.emails.type.isRequired || this.props.emailRequired}\n validationErrors={vals.emails.messages}\n validations={vals.emails.validations}\n value={(this.props.address.emails || []).join(\"; \")}\n />\n
    \n
    \n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n language: state.settingsReducer.language,\n };\n};\n\nexport default Relay.createContainer(connect(mapStateToProps)(injectIntl(_AddressFieldset)), {\n fragments: {\n address: () => Relay.QL`\n fragment on PatientAddress {\n address\n city\n postalCode\n provinceCode\n provinceName\n countryCode\n telephoneHome\n telephoneWork\n telephoneCellular\n telephonePager\n messaging\n emails\n }\n `,\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n }\n `,\n },\n});\n","const theme = {\n RTAppBar: require(\"./appBar.scss\"),\n RTAutocomplete: require(\"./autocomplete.scss\"),\n RTButton: require(\"./button.scss\"),\n RTCard: require(\"./card.scss\"),\n RTCheckbox: require(\"./checkbox.scss\"),\n RTDialog: require(\"./dialog.scss\"),\n RTInput: require(\"./input.scss\"),\n RTLayout: require(\"./layout.scss\"),\n RTLink: require(\"./link.scss\"),\n RTList: require(\"./list.scss\"),\n RTSlider: require(\"./slider.scss\"),\n RTSnackbar: require(\"./snackbar.scss\"),\n RTTabs: require(\"./tabs.scss\"),\n RTTooltip: require(\"./tooltip.scss\"),\n RTRadio: require(\"./radioButton.scss\"),\n AKAutocompleteInput: require(\"./akAutocomplete.scss\"),\n};\n\nexport default theme;\n","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Parameters-styles__date-inputs-container___WN5ai{display:flex;flex-direction:row;flex-wrap:wrap}.Parameters-styles__date-inputs-container___WN5ai .Parameters-styles__date-inputs___BqXSs{padding-right:2rem;flex:1;min-width:200px}.Parameters-styles__date-inputs-container___WN5ai .Parameters-styles__date-inputs___BqXSs:last-child{padding-right:0}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"date-inputs-container\": \"Parameters-styles__date-inputs-container___WN5ai\",\n\t\"date-inputs\": \"Parameters-styles__date-inputs___BqXSs\"\n};","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { themr } from \"react-css-themr\";\nimport { injectIntl } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport Button from \"react-toolbox/lib/button\";\n\nimport style from \"../../../styles/cardList\";\nimport { highlightResults } from \"../../helpers/strings\";\nimport HealthInsuranceChip from \"../shared/healthInsuranceChip\";\nimport HighlightedText from \"../shared/highlightedText\";\nimport PatientInformation from \"../shared/patientInformation\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport class PatientRow extends React.Component {\n static propTypes = {\n patient: PropTypes.object,\n viewer: PropTypes.object,\n hospitalPatient: PropTypes.object,\n contextInformation: PropTypes.object,\n query: PropTypes.string,\n onSelect: PropTypes.func,\n selectLabel: PropTypes.string,\n selectPatientUrl: PropTypes.string,\n showDialog: PropTypes.bool,\n informationTextOnly: PropTypes.bool,\n clickableChips: PropTypes.bool,\n onDialogClose: PropTypes.func,\n theme: PropTypes.object,\n };\n\n t(key, params) {\n return this.props.intl.formatMessage(key, params);\n }\n\n getPatientProfileUrl(p: any, allowNull?: boolean): string {\n if (this.props.selectPatientUrl) {\n return this.props.selectPatientUrl.replace(\"{id}\", p.id).replace(\"{legacyId}\", p.legacyId);\n }\n return allowNull ? null : \"#\";\n }\n\n selectPatient(e: Event, p: any): void {\n if (this.props.onSelect) {\n this.props.onSelect(p);\n }\n\n if (!this.props.selectPatientUrl) {\n e.preventDefault();\n }\n }\n\n render() {\n const { theme } = this.props;\n const p = this.props.patient || this.props.hospitalPatient.patient;\n if (!p.demographic) {\n return null;\n }\n\n const h = highlightResults.bind(undefined, this.props.query);\n const ageText = this.props.intl.formatMessage(baseI18n.global.age, {\n age: p.demographic.age,\n });\n\n return (\n
    \n
    \n
    \n
    \n \n }\n viewer={this.props.viewer}\n patient={p}\n showDialog={this.props.showDialog}\n onDialogClose={this.props.onDialogClose}\n textOnly={this.props.informationTextOnly}\n className={theme[\"department-info\"]}\n />\n \n \n \n \n
    \n \n

    \n \n \n \n

    \n
    \n
    \n
    \n this.selectPatient(e, p)}\n href={this.getPatientProfileUrl(p)}\n />\n
    \n
    \n
    \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(themr(\"AKCaseRow\", style)(PatientRow)), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n ${PatientInformation.getFragment(\"viewer\")}\n }\n `,\n hospitalPatient: () => Relay.QL`\n fragment on HospitalPatient {\n uniqueId\n patient {\n id\n legacyId\n }\n }\n `,\n patient: () => Relay.QL`\n fragment on Patient {\n id\n legacyId\n demographic {\n firstName\n lastName\n fullName\n gender\n birthday\n age\n }\n healthInsurance {\n provinceCode\n number\n }\n address {\n address\n city\n postalCode\n }\n ${PatientInformation.getFragment(\"patient\")}\n }\n `,\n contextInformation: () => Relay.QL`\n fragment on Patient {\n ... on Patient {\n user {\n userName\n isConfirmed\n }\n\n departments {\n department {\n id\n name\n }\n }\n\n hospitals(first: 100) {\n edges {\n node {\n id\n uniqueId\n hospital {\n id\n name\n }\n }\n }\n }\n\n cases(first: 5) {\n totalCount\n edges {\n node {\n legacyId\n }\n }\n }\n }\n }\n `,\n },\n});\n","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./FormolViewer.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./FormolViewer.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./FormolViewer.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","if (process.env.NODE_ENV === \"development\") {\n module.exports = require(\"./root.dev\");\n} else {\n module.exports = require(\"./root.prod\");\n}\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n editDescription: {\n id: \"attachmentUploadAndList.editDescription\",\n description: \"Title for popup of edit description of uploaded file\",\n defaultMessage: \"Edit description of {fileName}\",\n },\n editDescriptionTooltip: {\n id: \"attachmentUploadAndList.editDescriptionTooltip\",\n description: \"Tooltip for edit description icon\",\n defaultMessage: \"Edit description\",\n },\n deleteConfirmationTitle: {\n id: \"historyItem.deleteConfirmationTitle\",\n description: \"Dialog title for delete confirmation\",\n defaultMessage: \"Delete confirmation\",\n },\n deleteConfirmationTooltip: {\n id: \"historyItem.deleteConfirmationTooltip\",\n description: \"Tooltip for delete icon\",\n defaultMessage: \"Delete\",\n },\n deleteConfirmationText: {\n id: \"historyItem.deleteConfirmationText\",\n description: \"Dialog text for delete confirmation\",\n defaultMessage: \"Are you sure you want to delete {fileName}?\",\n },\n viewAllImages: {\n id: \"attachmentUploadAndList.viewAllImages\",\n description: \"Tooltip for image viewer icon\",\n defaultMessage: \"View all images\",\n },\n viewAllUploadedImages: {\n id: \"attachmentUploadAndList.viewAllUploadedImages\",\n description: \"Tooltip for image viewer icon when images are temporary\",\n defaultMessage: \"View all currently uploaded images\",\n },\n uploadedImages: {\n id: \"attachmentUploadAndList.uploadedImages\",\n description: \"Title for uploaded images viewed in the DICOM viewer.\",\n defaultMessage: \"Uploaded images\",\n },\n});\n","import classnames from \"classnames\";\nimport filesize from \"filesize\";\nimport Formsy from \"formsy-react\";\nimport throttle from \"lodash.throttle\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport Dialog from \"react-toolbox/lib/dialog\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport { List, ListItem, ListItemContent, ListItemText } from \"react-toolbox/lib/list\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\nimport Tooltip from \"react-toolbox/lib/tooltip\";\nimport uuid from \"uuid/v4\";\n\nimport { getToken } from \"~/src/js/helpers/authentication\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { URLs } from \"../../constants\";\nimport { handleFormsyInvalidSubmit, getErrors } from \"../../helpers/errors\";\nimport {\n storeFileForUpload,\n getUploadableFiles,\n uploadFile,\n stopUpload,\n uploadFileInBackground,\n moveUploadToBackground,\n} from \"../../helpers/fileStorage\";\nimport { getBodyParts } from \"../../helpers/staticData\";\nimport DeleteAttachmentMutation from \"../attachments/deleteAttachmentMutation\";\nimport UpdateAttachmentDescriptionMutation from \"../attachments/updateAttachmentDescriptionMutation\";\nimport UploadAttachmentsMutation from \"../attachments/uploadAttachmentsMutation\";\nimport ErrorCard from \"../shared/errorCard\";\nimport FilesInput from \"../shared/inputs/filesInput\";\nimport TextInput from \"../shared/inputs/textInput\";\nimport RetryableImage from \"../shared/retryableImage\";\n\nimport { messages as bodyPartPickerMessages, InjectedBodyPartPickerDialog } from \"./bodyPartPicker\";\n\nimport filesInputStyle from \"../shared/inputs/filesInput.style\";\nimport baseI18n from \"../../../messages/base.i18n\";\nimport { messages } from \"./messages.i18n\";\n\nconst TooltipFontIcon = Tooltip(FontIcon);\n\nexport function mutateState(fileModifications, statePropertyName = \"filesToUpload\") {\n return (state) => {\n const currentFiles = state[statePropertyName];\n let newFiles = currentFiles.concat();\n\n if (fileModifications.action) {\n newFiles = doMutateStateAction(fileModifications, newFiles);\n } else if (Array.isArray(fileModifications)) {\n if (fileModifications.map((x) => Boolean(x.action)).reduce((p, c) => p && c, true)) {\n fileModifications.forEach((x) => {\n newFiles = doMutateStateAction(x, newFiles);\n });\n } else {\n return {\n [statePropertyName]: fileModifications,\n };\n }\n }\n\n return {\n [statePropertyName]: newFiles,\n };\n };\n}\n\nfunction doMutateStateAction(fileModifications, newFiles) {\n switch (fileModifications.action) {\n case \"insert\":\n newFiles = newFiles.concat(fileModifications.inserted);\n break;\n case \"update\":\n fileModifications.updated.forEach((fm) => {\n const found = newFiles.filter((x) => x.id === fm.id)[0];\n if (found) {\n Object.keys(fm).forEach((key) => {\n found[key] = fm[key];\n });\n }\n });\n break;\n case \"delete\": {\n const ids = fileModifications.deleted.map((x) => x.id);\n newFiles = newFiles.filter((x) => ids.indexOf(x.id) <= -1);\n break;\n }\n default:\n // If there's no action or it's unknown, simply return all files.\n // eslint-disable-next-line no-console\n console.warn(\"Tried to mutate files to upload state with wrong data\", fileModifications);\n }\n\n return newFiles;\n}\n\nexport class AttachmentUploadAndList extends React.Component {\n static propTypes = {\n bodyPartsEnabled: PropTypes.bool,\n canEditBodyParts: PropTypes.bool,\n customUploadText: PropTypes.node,\n files: PropTypes.any.isRequired,\n intl: intlShape,\n lightColors: PropTypes.bool,\n onFilesChanged: PropTypes.func,\n onFilesUploading: PropTypes.func,\n patientGender: PropTypes.string,\n showUploadedViewerUrl: PropTypes.bool,\n viewerUrl: PropTypes.string,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n uploading: false,\n errors: [],\n uploadProgress: [],\n };\n\n this.resumeUploads();\n\n this.filesChanged = throttle(this.filesChanged.bind(this), 50, {\n leading: true,\n });\n }\n\n componentWillUnmount() {\n this.props.files.forEach((x) => moveUploadToBackground(x.id));\n }\n\n componentDidUpdate(prevProps) {\n if (prevProps.files.length !== this.props.files.length) {\n this.resumeUploads();\n }\n }\n\n filesChanged(files) {\n if (this.props.onFilesChanged) {\n this.props.onFilesChanged(files);\n }\n }\n\n filesUploading(fileIds) {\n if (this.props.onFilesUploading) {\n this.props.onFilesUploading(fileIds);\n }\n }\n\n resumeUploads() {\n getUploadableFiles().then((x) => {\n const foundIds = [];\n for (let i = 0; i < x.length; i++) {\n const file = x[i];\n const uploadedFile = this.props.files.filter((x) => x.fileName === file.name)[0];\n\n if (uploadedFile) {\n this.doUploadFile(file, uploadedFile.id);\n foundIds.push(uploadedFile.id);\n } else if (file.attachmentId) {\n uploadFileInBackground(file, file.attachmentId);\n }\n }\n\n if (foundIds > 0) {\n // TODO: Show notice that upload was re-started\n }\n });\n }\n\n onDescriptionUpdated(file, data) {\n if (this.props.files.some((x) => x.id === file.id)) {\n this.filesChanged({\n action: \"update\",\n updated: [\n {\n id: file.id,\n description: data.description,\n },\n ],\n });\n }\n }\n\n onDeleted(file) {\n stopUpload(file.id);\n this.filesChanged({\n action: \"delete\",\n deleted: [{ id: file.id }],\n });\n }\n\n onBodyPartsUpdated(file, bodyParts) {\n const found = this.props.files.filter((x) => x.id === file.id)[0];\n if (found) {\n this.filesChanged({\n action: \"update\",\n updated: [\n {\n id: found.id,\n bodyParts,\n },\n ],\n });\n }\n }\n\n doUploadFile(file: File, attachmentId) {\n this.filesUploading(this.currentlyUploadingFiles().concat([attachmentId]));\n const upload = uploadFile(file, attachmentId, {\n cleanOnSuccess: true,\n onError: (error) => {\n this.setState((state) => ({ errors: state.errors.concat([error]) }));\n },\n onProgress: (bytesUploaded, bytesTotal) => {\n const percentage = (bytesUploaded / bytesTotal) * 100.0;\n this.setState((state) => ({\n uploadProgress: {\n ...state.uploadProgress,\n [attachmentId]: percentage,\n },\n }));\n },\n onSuccess: () => {\n // eslint-disable-next-line no-underscore-dangle\n const previewUrl = upload._xhr.getResponseHeader(\"Location-Preview\");\n\n this.setState(\n (state) => ({\n uploadProgress: {\n ...state.uploadProgress,\n [attachmentId]: null,\n },\n }),\n () => {\n this.filesUploading(this.currentlyUploadingFiles());\n }\n );\n\n const f = this.props.files.filter((x) => x.id === attachmentId)[0];\n const update = {\n id: f.id,\n oldPreviewUrl: f.previewUrl,\n previewUrl: previewUrl,\n };\n\n this.filesChanged({\n action: \"update\",\n updated: [update],\n });\n },\n });\n }\n\n currentlyUploadingFiles() {\n return Object.keys(this.state.uploadProgress).filter((k) => {\n return this.state.uploadProgress[k] !== null;\n });\n }\n\n onUploadFiles(files) {\n return this.graphqlUploadFiles(files)\n .then((uploadedFiles) => {\n const filesInserted = [];\n const filesUpdated = [];\n\n for (let i = 0; i < uploadedFiles.length; i++) {\n const uploadedFile = uploadedFiles[i];\n const f = files.filter((x) => x.name === uploadedFile.fileName)[0];\n uploadedFile.size = f.size;\n\n this.doUploadFile(f, uploadedFile.id);\n storeFileForUpload(f, uploadedFile.id);\n\n if (f.preview) {\n setTimeout(() => {\n this.createThumbnail(f, uploadedFile);\n }, 25);\n }\n\n const found = this.props.files.filter((x) => x.fileName === uploadedFile.fileName)[0];\n if (!found) {\n filesInserted.push(uploadedFile);\n } else {\n filesUpdated.push(found);\n }\n }\n\n this.filesChanged({\n action: \"insert\",\n inserted: filesInserted,\n });\n })\n .catch((errors) => {\n this.setState({ errors });\n });\n }\n\n createThumbnail(f: File, uploadedFile) {\n const canvas = document.createElement(\"canvas\");\n const ctx = canvas.getContext(\"2d\");\n const img = new Image();\n img.src = f.preview;\n img.addEventListener(\"load\", () => {\n const maxWidth = 50,\n maxHeight = 50;\n const ratio = Math.min(maxWidth / img.width, maxHeight / img.height);\n const dimensions = {\n width: img.width * ratio,\n height: img.height * ratio,\n };\n canvas.width = dimensions.width;\n canvas.height = dimensions.height;\n ctx.drawImage(img, 0, 0, dimensions.width, dimensions.height);\n const preview = canvas.toDataURL(\"image/jpeg\", 0.6);\n const newFiles = this.props.files.slice();\n const found = newFiles.filter((x) => x.id === uploadedFile.id)[0];\n if (found && found.previewUrl) {\n found.previewUrl = preview;\n\n this.filesChanged({\n action: \"update\",\n updated: [{ id: found.id, previewUrl: preview }],\n });\n }\n });\n }\n\n graphqlUploadFiles(files) {\n const existingFiles = this.props.files;\n\n const sameFiles = existingFiles.filter(\n (x) => files.filter((y) => x.fileName === y.name && x.size === y.size).length > 0\n );\n\n files = files.filter(\n (x) => sameFiles.filter((y) => y.fileName === x.name && y.size === x.size) <= 0\n );\n\n if (files.length === 0) {\n return Promise.resolve(sameFiles);\n }\n\n return new Promise((resolve, reject) => {\n const params = {\n fileData: files.map((x: File) => ({\n id: uuid(),\n fileName: x.name,\n isDeferred: true,\n deferredSize: x.size,\n })),\n files: [],\n };\n\n Relay.Store.commitUpdate(new UploadAttachmentsMutation(params), {\n onSuccess: (r) => {\n const newFiles = r.uploadAttachments.uploadedFiles;\n resolve(newFiles.concat(sameFiles));\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n }\n\n render() {\n const {\n bodyPartsEnabled,\n customUploadText,\n files,\n lightColors,\n patientGender,\n showUploadedViewerUrl,\n } = this.props;\n let { viewerUrl } = this.props;\n if (!viewerUrl && showUploadedViewerUrl) {\n const ids = files.filter((x) => Boolean(x.previewUrl)).map((x) => encodeURIComponent(x.id));\n const title = this.props.intl.formatMessage(messages.uploadedImages);\n viewerUrl = URLs.dicomManifest(getToken(), ids, title);\n }\n\n return (\n \n this.onUploadFiles(files)}\n lightColors={lightColors}\n />\n \n {files.map((x: any) => {\n const props = {\n canDelete: true,\n onDeleted: (f) => this.onDeleted(f),\n shouldConfirmDelete: false,\n canEditDescription: true,\n onDescriptionUpdated: (f, d) => this.onDescriptionUpdated(f, d),\n canEditBodyParts: bodyPartsEnabled,\n onBodyPartsUpdated: (f, b) => this.onBodyPartsUpdated(f, b),\n file: x,\n viewerUrl: viewerUrl,\n patientGender,\n };\n\n return (\n this.setState({ errors })}\n progressPercentage={this.state.uploadProgress[x.id]}\n key={x.id}\n isTemporary\n {...props}\n />\n );\n })}\n \n {this.state.errors && this.state.errors.length > 0 ? (\n \n ) : null}\n \n );\n }\n}\n\nexport class EditDescriptionDialog extends React.Component {\n static propTypes = {\n closeDialog: PropTypes.func,\n errors: PropTypes.arrayOf(PropTypes.any),\n file: PropTypes.any.isRequired,\n intl: intlShape,\n updateDescription: PropTypes.func.isRequired,\n };\n\n state = {\n mutating: false,\n };\n\n reinitState = () => {\n this.setState({ mutating: false });\n };\n\n updateDescription(data) {\n this.setState({ mutating: true });\n return this.props.updateDescription(data).then(this.reinitState).catch(this.reinitState);\n }\n\n render() {\n const { file, closeDialog, errors, intl } = this.props;\n const { mutating } = this.state;\n const t = intl.formatMessage;\n const actions = [\n {\n label: t(baseI18n.global.close),\n onClick: closeDialog,\n },\n {\n children: (\n \n {t(baseI18n.global.update)}\n {mutating ? (\n \n ) : null}\n \n ),\n onClick: () => this.form.submit(),\n disabled: mutating,\n primary: true,\n },\n ];\n\n return (\n \n {file.previewUrl ? (\n \n ) : null}\n this.updateDescription(data)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.form)}\n ref={(form) => (this.form = form)}\n noValidate\n className={formStyle[\"card-form\"]}>\n
    \n \n
    \n \n\n {errors && errors.length > 0 ? : null}\n \n );\n }\n}\n\nexport class ConfirmDeletionDialog extends React.Component {\n static propTypes = {\n file: PropTypes.any.isRequired,\n deleteFile: PropTypes.func.isRequired,\n closeDialog: PropTypes.func,\n errors: PropTypes.arrayOf(PropTypes.any),\n intl: intlShape,\n };\n\n state = {\n mutating: false,\n };\n\n reinitState() {\n this.setState({ mutating: false });\n }\n\n deleteCurrentFile() {\n const { deleteFile, file } = this.props;\n this.setState({ mutating: true });\n return deleteFile(file).then(this.reinitState).catch(this.reinitState);\n }\n\n render() {\n const { file, closeDialog, errors, intl } = this.props;\n const { mutating } = this.state;\n const t = intl.formatMessage;\n const actions = [\n {\n label: t(baseI18n.global.cancel),\n onClick: closeDialog,\n },\n {\n children: (\n \n {t(baseI18n.global.delete)}\n {mutating ? (\n \n ) : null}\n \n ),\n onClick: () => this.form.submit(),\n disabled: mutating,\n primary: true,\n icon: \"delete\",\n className: formStyle[\"danger-button\"],\n },\n ];\n\n return (\n \n {file.previewUrl ? (\n \n ) : null}\n this.deleteCurrentFile()}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.form)}\n ref={(form) => (this.form = form)}\n noValidate\n className={formStyle[\"card-form\"]}>\n

    {t(messages.deleteConfirmationText, { fileName: file.fileName })}

    \n \n\n {errors && errors.length > 0 ? : null}\n \n );\n }\n}\n\n// eslint-disable-next-line no-underscore-dangle\nclass _AttachmentListItem extends React.Component {\n static propTypes = {\n file: PropTypes.any.isRequired,\n onDescriptionUpdated: PropTypes.func,\n onBodyPartsUpdated: PropTypes.func,\n onDeleted: PropTypes.func,\n onErrors: PropTypes.func,\n patientGender: PropTypes.string,\n language: PropTypes.string,\n onDelete: PropTypes.func,\n canDelete: PropTypes.bool,\n shouldConfirmDelete: PropTypes.bool,\n canEditDescription: PropTypes.bool,\n canEditBodyParts: PropTypes.bool,\n viewerUrl: PropTypes.string,\n progress: PropTypes.bool,\n progressPercentage: PropTypes.number,\n isTemporary: PropTypes.bool,\n intl: intlShape,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n inProgress: false,\n editingAttachment: null,\n deletingAttachment: null,\n editingBodyPartsAttachment: null,\n };\n }\n\n render() {\n const {\n file,\n canDelete,\n shouldConfirmDelete,\n canEditDescription,\n canEditBodyParts,\n viewerUrl,\n progress,\n progressPercentage,\n isTemporary,\n intl,\n } = this.props;\n const { inProgress } = this.state;\n const itemProps = {\n leftIcon: \"attachment\",\n };\n\n itemProps.rightActions = [];\n\n if (canDelete) {\n itemProps.rightActions.push(\n
    \n {\n e.stopPropagation();\n\n if (!inProgress) {\n if (shouldConfirmDelete) {\n this.setState({ deletingAttachment: file });\n } else {\n this.deleteFile(file);\n }\n }\n }}\n />\n
    \n );\n }\n\n if (canEditDescription) {\n itemProps.rightActions.unshift(\n
    \n {\n e.stopPropagation();\n\n if (!inProgress) {\n this.setState({ editingAttachment: file });\n }\n }}\n />\n
    \n );\n }\n\n if (canEditBodyParts && file.previewUrl) {\n itemProps.rightActions.unshift(\n
    \n {\n e.stopPropagation();\n\n if (!inProgress) {\n this.setState({\n inProgress: true,\n editingBodyPartsAttachment: file,\n });\n }\n }}\n />\n
    \n );\n }\n\n if (viewerUrl && file.previewUrl) {\n const photoLibraryElement = (\n \n );\n itemProps.rightActions.unshift(\n
    \n {inProgress ? (\n photoLibraryElement\n ) : (\n \n {photoLibraryElement}\n \n )}\n
    \n );\n }\n\n if (progress || inProgress) {\n itemProps.rightActions.unshift(\n
    \n \n
    \n );\n }\n\n if (file.previewUrl) {\n itemProps.leftIcon = (\n \n );\n }\n\n const filenameElement = (\n
    \n {file.fileName}\n { ({filesize(file.size || 0, { round: 1 })})}\n {progressPercentage ? : null}\n
    \n );\n\n return (\n \n \n \n {inProgress ? (\n filenameElement\n ) : (\n \n {filenameElement}\n \n )}\n \n {file.description && (\n \n {file.description}\n \n )}\n {file.bodyParts && file.bodyParts.length > 0 && (\n \n {file.bodyParts.map((x) => x.name).join(\", \")}\n \n )}\n {this.renderEditDialog()}\n {this.renderDeleteDialog()}\n {this.renderBodyPartsDialog()}\n \n \n );\n }\n\n updateDescription(data) {\n this.setState({ inProgress: true, errors: [] });\n const { onDescriptionUpdated, onErrors } = this.props;\n const file = this.state.editingAttachment;\n\n return this.graphqlUpdateDescription(file, data.description)\n .then(() => {\n if (onDescriptionUpdated) {\n onDescriptionUpdated(file, data);\n }\n this.setState({ inProgress: false, editingAttachment: null });\n })\n .catch((x) => {\n if (onErrors) {\n onErrors(x);\n }\n this.setState({ inProgress: false, errors: x });\n });\n }\n\n graphqlUpdateDescription(att, description) {\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(\n new UpdateAttachmentDescriptionMutation({\n attachmentId: att.id,\n description,\n }),\n {\n onSuccess: resolve,\n onFailure: (r) => getErrors(r).then((errors) => reject(errors)),\n }\n );\n });\n }\n\n renderEditDialog() {\n if (!this.state.editingAttachment) {\n return;\n }\n\n const closeDialog = () => this.setState({ editingAttachment: null });\n return (\n \n );\n }\n\n deleteFile(file) {\n this.setState({ inProgress: true, errors: [] });\n const { onDeleted, onErrors } = this.props;\n\n return this.graphqlRemoveFile(file.id)\n .then(() => {\n if (onDeleted) {\n onDeleted(file);\n }\n this.setState({ inProgress: false, deletingAttachment: null });\n })\n .catch((x) => {\n if (onErrors) {\n onErrors(x);\n }\n this.setState({ inProgress: false, errors: x });\n });\n }\n\n graphqlRemoveFile(attachmentId) {\n const params = { attachmentId };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new DeleteAttachmentMutation(params), {\n onSuccess: resolve,\n onFailure: (r) => getErrors(r).then((errors) => reject(errors)),\n });\n });\n }\n\n renderDeleteDialog() {\n const { intl } = this.props;\n const { deletingAttachment, errors } = this.state;\n\n if (!deletingAttachment) {\n return;\n }\n\n const closeDialog = () => this.setState({ deletingAttachment: null, errors: null });\n\n return (\n \n );\n }\n\n renderBodyPartsDialog() {\n const { language, onBodyPartsUpdated, patientGender } = this.props;\n const { editingBodyPartsAttachment } = this.state;\n\n if (!editingBodyPartsAttachment) {\n return;\n }\n\n const bodyParts = getBodyParts(language);\n const closeDialog = () =>\n this.setState({ inProgress: false, editingBodyPartsAttachment: null });\n\n return (\n x.id)}\n onBodyPartsUpdated={(bodyParts) => {\n if (onBodyPartsUpdated) {\n onBodyPartsUpdated(editingBodyPartsAttachment, bodyParts);\n }\n closeDialog();\n }}\n attachmentId={editingBodyPartsAttachment.id}\n viewer={{ bodyParts }}\n />\n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n language: state.settingsReducer.language,\n };\n};\n\nexport const AttachmentListItem = connect(mapStateToProps)(injectIntl(_AttachmentListItem));\n\nexport default injectIntl(AttachmentUploadAndList);\n\nexport const attachmentFragment = Relay.QL`\n fragment on Attachment @relay(plural: true) {\n id\n fileName\n url\n previewUrl\n size\n description\n documentTypeId\n permissions {\n canDelete\n canEditDescription\n canEditDocumentType\n canEditBodyParts\n }\n bodyParts {\n id\n code\n name\n }\n uploadedOn\n user {\n person {\n fullName\n }\n }\n }\n`;\n","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./cases.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./cases.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./cases.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".patientSelector-style__dialog___tuGtS [role=\\\"body\\\"]{overflow-y:scroll}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"dialog\": \"patientSelector-style__dialog___tuGtS\"\n};","export function parseToCalendarDate(date, dateOnly) {\n if (date) {\n const newDate = new Date(date);\n\n if (typeof date !== \"object\") {\n newDate.setMinutes(newDate.getMinutes() + newDate.getTimezoneOffset());\n }\n\n if (typeof dateOnly === \"undefined\" || dateOnly) {\n newDate.setHours(0, 0, 0, 0);\n }\n\n return newDate;\n }\n\n return undefined;\n}\n\nexport function parseToDate(date) {\n return parseToCalendarDate(date, false);\n}\n\nexport function parseToIsoDate(date, dateOnly = true) {\n const isoDate = parseToCalendarDate(date, false).toISOString();\n\n if (dateOnly) {\n return isoDate.slice(0, 10);\n }\n\n return isoDate;\n}\n\nexport function isValidDate(date) {\n if (typeof date === \"string\" && date.length > 0) {\n return isValidDate(new Date(date));\n }\n\n return date instanceof Date && !isNaN(date.getTime());\n}\n\nexport const isInFuture = (date, otherDate) => {\n return otherDate < date;\n};\n\nexport function serializeDate(date) {\n if (date instanceof Date) {\n return isValidDate(date) ? date.toJSON().split(\"T\")[0] : \"\";\n } else if (date && date.indexOf && date.indexOf(\"T\") >= 0) {\n return date.split(\"T\")[0];\n }\n\n return date;\n}\n\nexport function serializeDateTime(date) {\n if (date instanceof Date) {\n return isValidDate(date) ? date.toJSON() : \"\";\n }\n\n return date;\n}\n\nexport function serializeTimeBySeconds(seconds) {\n const measuredTime = new Date(null);\n measuredTime.setSeconds(seconds);\n return measuredTime.toISOString().substr(11, 8);\n}\n\nexport function calculateAge(birthday, now) {\n now = now || new Date();\n let diff = now.getYear() - birthday.getYear();\n const monthDifference = now.getMonth() - birthday.getMonth();\n if (monthDifference < 0 || (monthDifference === 0 && now.getDate() < birthday.getDate())) {\n diff--;\n }\n\n return diff;\n}\n","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./personSettingsForm.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./personSettingsForm.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./personSettingsForm.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Relay from \"react-relay/classic\";\nimport { injectIntl, intlShape, FormattedMessage } from \"react-intl\";\n\nimport { TextArea, DatePicker, DatePickerSizes } from \"~/src/js/components/shared/inputs\";\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nexport class _DeceasedInformationFields extends React.Component {\n static propTypes = {\n patient: PropTypes.object.isRequired,\n intl: intlShape,\n };\n\n state = {\n timeOfDeath: this.props.patient?.deathInformation?.timeOfDeath,\n };\n\n render() {\n const { patient } = this.props;\n const { formatMessage } = this.props.intl;\n\n return (\n
    \n }\n placeholder={formatMessage(baseI18n.patients.deceaseInformation.deceasedSince)}\n name=\"deathInformation.timeOfDeath\"\n disabled={patient.deathInformation && patient.deathInformation.isDeceased}\n value={this.state.timeOfDeath}\n onChange={(date) => this.setState({ timeOfDeath: date })}\n size={DatePickerSizes.large}\n />\n \n
    \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(_DeceasedInformationFields), {\n fragments: {\n patient: () => Relay.QL`\n fragment on Patient {\n deathInformation {\n isDeceased\n timeOfDeath\n notes\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Relay from \"react-relay/classic\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Card } from \"@akinoxsolutions/gerudo-ui\";\n\nimport baseI18n from \"~/src/messages/base.i18n\";\n\nimport DeceasedInformationFields from \"./deceasedInformationFields\";\n\nexport class _DeceasedInformationFieldset extends React.Component {\n static propTypes = {\n patient: PropTypes.object.isRequired,\n };\n\n constructor(props) {\n super(props);\n }\n\n render() {\n const { patient } = this.props;\n return (\n }>\n \n \n );\n }\n}\n\nexport default Relay.createContainer(_DeceasedInformationFieldset, {\n initialVariables: {},\n fragments: {\n patient: () => Relay.QL`\n fragment on Patient {\n ${DeceasedInformationFields.getFragment(\"patient\")}\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nexport default class UpdatePatientAddressMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(UpdatePatientAddressMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { updatePatientAddress }`;\n }\n\n getVariables() {\n return {\n patientId: this.props.patient.id,\n address: this.props.address,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on UpdatePatientAddressPayload {\n patient {\n ${UpdatePatientAddressMutation.getFragment(\"patient\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n patient: this.props.patient.id,\n },\n },\n ];\n }\n\n getOptimisticResponse() {\n const { patient, address } = this.props;\n\n return {\n patient: {\n id: patient.id,\n address,\n },\n };\n }\n\n static fragments = {\n patient: () => Relay.QL`\n fragment on Patient {\n id\n updatedAt\n address {\n address\n city\n postalCode\n provinceCode\n provinceName\n countryCode\n telephoneHome\n telephoneWork\n telephoneCellular\n telephonePager\n emails\n }\n }\n `,\n };\n}\n","import Relay from \"react-relay/classic\";\n\nexport default class UpdatePatientFamilyPhysicianMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(UpdatePatientFamilyPhysicianMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { updatePatientFamilyPhysician }`;\n }\n\n getVariables() {\n return {\n patientId: this.props.patient.id,\n familyPhysician: {\n physicianId: this.props.physicianId,\n since: this.props.since,\n until: this.props.until,\n },\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on UpdatePatientFamilyPhysicianPayload {\n patient {\n ${UpdatePatientFamilyPhysicianMutation.getFragment(\"patient\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n patient: this.props.patient.id,\n },\n },\n ];\n }\n\n static fragments = {\n patient: () => Relay.QL`\n fragment on Patient {\n id\n updatedAt\n familyPhysician {\n physician\n since\n }\n }\n `,\n };\n}\n","import Relay from \"react-relay/classic\";\n\nexport default class MarkPatientAsDeceasedMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(MarkPatientAsDeceasedMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { markPatientAsDeceased }`;\n }\n\n getVariables() {\n return {\n patientId: this.props.patient.id,\n timeOfDeath: this.props.timeOfDeath,\n notes: this.props.notes,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on MarkPatientAsDeceasedPayload {\n patient {\n ${MarkPatientAsDeceasedMutation.getFragment(\"patient\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n patient: this.props.patient.id,\n },\n },\n ];\n }\n\n static fragments = {\n patient: () => Relay.QL`\n fragment on Patient {\n id\n updatedAt\n deathInformation {\n isDeceased\n timeOfDeath\n notes\n }\n }\n `,\n };\n}\n","import Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment } from \"react\";\nimport { injectIntl, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { Button } from \"react-toolbox/lib/button\";\nimport { Card } from \"@akinoxsolutions/gerudo-ui\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { serializeDate } from \"../../helpers/dates\";\nimport { getErrors, handleFormsyInvalidSubmit } from \"../../helpers/errors\";\nimport { showDialogNotice } from \"../../stores/app/actions\";\nimport FormattedDateTime from \"../shared/formattedDateTime\";\nimport SpinnerButton from \"../shared/inputs/custom/spinnerButton\";\nimport { ErrorsContainer } from \"../shared/ErrorsContainer\";\n\nimport AddressFieldset, { build as buildAddress } from \"./addressFieldset\";\nimport DemographicFieldset, { build as buildDemographic } from \"./demographicFieldset\";\nimport FamilyPhysicianFieldset from \"./familyPhysicianFieldset\";\nimport HealthInsuranceFieldset, { build as buildHealthInsurance } from \"./healthInsuranceFieldset\";\nimport DeceasedInformationFieldset from \"./deceasedInformationFieldset\";\nimport PatientExternalSourceWarning from \"./patientExternalSourceWarning\";\nimport UpdatePatientAddressMutation from \"./updatePatientAddressMutation\";\nimport UpdatePatientDemographicMutation from \"./updatePatientDemographicMutation\";\nimport UpdatePatientFamilyPhysicianMutation from \"./updatePatientFamilyPhysicianMutation\";\nimport UpdatePatientHealthInsuranceMutation from \"./updatePatientHealthInsuranceMutation\";\nimport MarkPatientAsDeceasedMutation from \"./markPatientAsDeceasedMutation\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n profileUpdated: {\n id: \"editPatient.profileUpdated\",\n description: \"Snackbar message for profile updated\",\n defaultMessage: \"Patient's profile has been updated sucessfully\",\n },\n});\n\nexport class _EditPatient extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n patient: PropTypes.object.isRequired,\n dispatch: PropTypes.func,\n onSave: PropTypes.func,\n onSaveError: PropTypes.func,\n onCancel: PropTypes.func,\n showCancel: PropTypes.bool,\n showTitle: PropTypes.bool,\n hideHospitals: PropTypes.bool,\n controlSubmitExternally: PropTypes.func,\n onInvalidSubmit: PropTypes.func,\n };\n\n constructor(props) {\n super(props);\n this.state = {\n errors: [],\n saving: false,\n };\n\n this.allowQuickEdit =\n props.patient.hospitals.edges.filter((x) => x.node.hospital.permissions.canQuickCreatePatient)\n .length > 0;\n\n this.onFailureHandler = this.onFailureHandler.bind(this);\n this.handleInvalidSubmit = this.handleInvalidSubmit.bind(this);\n }\n\n handleInvalidSubmit() {\n handleFormsyInvalidSubmit(this.form);\n if (this.props.onInvalidSubmit) {\n this.props.onInvalidSubmit();\n }\n }\n\n componentDidMount() {\n if (this.props.controlSubmitExternally) {\n this.props.controlSubmitExternally(() => this.form.submit());\n }\n }\n\n render() {\n const patient = this.props.patient;\n if (!patient) {\n const patientId = this.props.relay.route.params.patientId;\n return
    Patient #{patientId} not found.
    ;\n }\n\n let demographicOverride = {};\n if (this.state.foundPatient && this.state.foundPatient.isFound) {\n const pi = this.state.foundPatient;\n demographicOverride = {\n firstName: pi.firstName,\n lastName: pi.lastName,\n gender: pi.gender,\n birthday: pi.birthday,\n };\n }\n\n return (\n
    \n {this.props.showTitle && (\n

    \n {patient.demographic.fullName} - #{patient.legacyId}\n

    \n )}\n
    \n this.handleSave(data)}\n onInvalidSubmit={this.handleInvalidSubmit}\n noValidate\n ref={(form) => (this.form = form)}\n className={formStyle[\"card-form\"]}>\n \n\n {\n this.setState({ foundPatient: pi });\n }}\n />\n\n \n\n \n\n \n\n \n\n \n {\" \"}\n {this.renderCancel()}\n \n ) : (\n
    \n
    \n );\n }\n\n renderCancel() {\n if (this.props.showCancel && this.props.onCancel) {\n return (\n {\n this.props.onCancel();\n e.preventDefault();\n }}\n primary\n raised\n />\n );\n }\n\n return null;\n }\n\n onFailureHandler(r: Relay.Tran) {\n getErrors(r).then((errors) => {\n this.setState({ errors: this.state.errors.concat(errors) });\n });\n }\n\n handleSave(data) {\n this.setState({ errors: [], saving: true });\n const p = this.props.patient;\n const p1 = new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(\n new UpdatePatientDemographicMutation({\n patient: p,\n demographic: buildDemographic(data, p.demographic),\n }),\n {\n onSuccess: resolve,\n onFailure: (r) => {\n this.onFailureHandler(r);\n reject();\n },\n }\n );\n });\n const p2 = new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(\n new UpdatePatientHealthInsuranceMutation({\n patient: p,\n healthInsurance: buildHealthInsurance(data, p.healthInsurance),\n }),\n {\n onSuccess: resolve,\n onFailure: (r) => {\n this.onFailureHandler(r);\n reject();\n },\n }\n );\n });\n const p3 = new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(\n new UpdatePatientAddressMutation({\n patient: p,\n address: buildAddress(data, p.address),\n }),\n {\n onSuccess: resolve,\n onFailure: (r) => {\n this.onFailureHandler(r);\n reject();\n },\n }\n );\n });\n const p4 = new Promise((resolve, reject) => {\n const hasPhysician = data.physician && data.physician.id;\n Relay.Store.commitUpdate(\n new UpdatePatientFamilyPhysicianMutation({\n patient: p,\n physicianId: hasPhysician ? data.physician.id : null,\n since: hasPhysician && data.physician.since ? serializeDate(data.physician.since) : null,\n until: null,\n }),\n {\n onSuccess: resolve,\n onFailure: (r) => {\n this.onFailureHandler(r);\n reject();\n },\n }\n );\n });\n const p5 = new Promise((resolve, reject) => {\n if (p.deathInformation.isDeceased || !data.deathInformation.timeOfDeath) {\n return resolve();\n }\n\n Relay.Store.commitUpdate(\n new MarkPatientAsDeceasedMutation({\n patient: p,\n timeOfDeath: serializeDate(data.deathInformation.timeOfDeath),\n notes: data.deathInformation.notes,\n }),\n {\n onSuccess: resolve,\n onFailure: (r) => {\n this.onFailureHandler(r);\n reject();\n },\n }\n );\n });\n\n Promise.all([p1, p2, p3, p4, p5])\n .then(() => {\n this.setState({ saving: false });\n if (this.props.onSave) {\n this.props.onSave(p);\n }\n this.props.dispatch(\n showDialogNotice(this.props.intl.formatMessage(messages.profileUpdated), \"accept\")\n );\n })\n .catch(() => {\n this.setState({ saving: false });\n if (this.props.onSaveError) {\n this.props.onSaveError(this.state.errors);\n }\n });\n }\n}\n\nexport default Relay.createContainer(injectIntl(connect()(_EditPatient)), {\n initialVariables: {},\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${HealthInsuranceFieldset.getFragment(\"viewer\")}\n ${DemographicFieldset.getFragment(\"viewer\")}\n ${AddressFieldset.getFragment(\"viewer\")}\n ${FamilyPhysicianFieldset.getFragment(\"viewer\")}\n }\n `,\n patient: () => Relay.QL`\n fragment on Patient {\n id\n legacyId\n updatedAt\n ${PatientExternalSourceWarning.getFragment(\"patient\")}\n ${FamilyPhysicianFieldset.getFragment(\"patient\")}\n ${DeceasedInformationFieldset.getFragment(\"patient\")}\n\n demographic {\n fullName\n age\n birthday\n birthCity\n birthProvinceCode\n birthCountryCode\n ${DemographicFieldset.getFragment(\"demographic\")}\n }\n healthInsurance {\n number\n expiration\n ${HealthInsuranceFieldset.getFragment(\"healthInsurance\")}\n }\n address {\n ${AddressFieldset.getFragment(\"address\")}\n }\n deathInformation {\n isDeceased\n timeOfDeath\n notes\n }\n \n ${UpdatePatientHealthInsuranceMutation.getFragment(\"patient\")}\n ${UpdatePatientDemographicMutation.getFragment(\"patient\")}\n ${UpdatePatientAddressMutation.getFragment(\"patient\")}\n ${UpdatePatientFamilyPhysicianMutation.getFragment(\"patient\")}\n ${MarkPatientAsDeceasedMutation.getFragment(\"patient\")}\n\n hospitals(first: 50) {\n edges {\n node {\n hospital {\n name\n permissions {\n canQuickCreatePatient\n }\n }\n }\n }\n }\n }\n `,\n },\n});\n","\nvar content = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./TransfusionConsent.styles.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./TransfusionConsent.styles.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./TransfusionConsent.styles.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import FormScorer from \"../formScorer\";\n\nexport const Levels = {\n Unknown: \"UNKNOWN\",\n Severe: \"SEVERE\",\n Moderate: \"MODERATE\",\n Mild: \"MILD\",\n None: \"NONE\",\n};\n\nexport const MedicationQuantities = {\n Zero: \"0\",\n OneFour: \"1-4\",\n FiveNine: \"5-9\",\n TenPlus: \"10+\",\n};\n\nexport default class GerFcgaFormScorer extends FormScorer {\n constructor(formValues, { age, gender }) {\n super(formValues);\n this.age = age;\n this.gender = gender;\n this.totalScore = this.calculateTotalScore();\n this.p7 = this.calculateP7Score();\n this.er2 = this.calculateER2Score();\n this.er2Total = 14;\n }\n\n domains() {\n return [\n \"Nutrition\",\n \"Multimorbidity\",\n \"Communication\",\n \"Cognition\",\n \"Adl\",\n \"Iadl\",\n \"Continence\",\n \"Mood\",\n \"Mobility\",\n ];\n }\n\n calculateER2Score() {\n let score = 0;\n if (this.age >= 85) {\n score++;\n }\n if (this.gender === \"MALE\") {\n score++;\n }\n if (\n this.formVal(\"q2\") === MedicationQuantities.FiveNine ||\n this.formVal(\"q2\") === MedicationQuantities.TenPlus\n ) {\n score++;\n }\n if (this.isYes(\"q5\")) {\n score += 5;\n }\n if (this.isYes(\"q6\")) {\n score++;\n }\n if (this.isYes(\"q20\") || this.isYes(\"q10\")) {\n score += 5;\n }\n return score;\n }\n\n calculateP7Score() {\n let score = 0;\n if (this.age >= 85) {\n score++;\n }\n if (this.gender === \"MALE\") {\n score++;\n }\n if (this.isYes(\"q6\")) {\n score++;\n }\n\n const { yesCount } = this.yesNoCount([\n \"q7\",\n \"q8\",\n \"q9\",\n \"q10\",\n \"q11\",\n \"q12\",\n \"q13\",\n \"q14\",\n \"q15\",\n ]);\n if (yesCount > 0) {\n score++;\n }\n\n if (this.isYes(\"q10\") && this.isYes(\"q13\") && this.isNo(\"q19\")) {\n score++;\n }\n\n if (this.formVal(\"q6a\")) {\n if (\n this.isYes(\"q6\") &&\n (Boolean(this.formVal(\"q6a\")[\"s1\"]) || Boolean(this.formVal(\"q6a\")[\"s2\"]))\n ) {\n score++;\n }\n }\n if (this.isYes(\"q10\")) {\n score++;\n }\n return score;\n }\n\n score(domain) {\n return this[`${domain}Score`]();\n }\n\n // Scores\n nutritionScore() {\n return this.isYes(\"q1\") ? 2 : 0;\n }\n\n multimorbidityScore() {\n const val = this.formVal(\"q2\");\n switch (val) {\n case MedicationQuantities.FiveNine:\n return 1;\n\n case MedicationQuantities.TenPlus:\n return 2;\n\n default:\n return 0;\n }\n }\n\n communicationScore() {\n if (this.isNo(\"q3\") && this.isNo(\"q4\")) {\n return 0;\n }\n if (this.isYes(\"q3\") && this.isYes(\"q4\")) {\n return 2;\n }\n return 1;\n }\n\n cognitionScore() {\n return this.isYes(\"q5\") ? 2 : 0;\n }\n\n adlScore() {\n const { noCount } = this.adlValues();\n if (noCount <= 1) {\n return 2;\n }\n if (noCount <= 3) {\n return 1;\n }\n return 0;\n }\n\n adlValues() {\n return this.yesNoCount([\"q7\", \"q8\", \"q9\", \"q10\", \"q11\"]);\n }\n\n iadlValues() {\n return this.yesNoCount([\"q12\", \"q13\", \"q14\", \"q15\"]);\n }\n\n adlOrIadlValues() {\n return this.yesNoCount([\"q7\", \"q8\", \"q9\", \"q10\", \"q11\", \"q12\", \"q13\", \"q14\", \"q15\"]);\n }\n\n iadlScore() {\n const { noCount } = this.iadlValues();\n if (noCount <= 2) {\n return 2;\n }\n if (noCount === 3) {\n return 1;\n }\n return 0;\n }\n\n continenceScore() {\n return this.isYes(\"q16\") ? 2 : 0;\n }\n\n moodScore() {\n switch (this.formVal(\"q17\")) {\n case \"HAPPY\":\n return 0;\n\n case \"NEITHER\":\n return this.isNo(\"q18\") ? 1 : 0;\n\n case \"UNHAPPY\":\n return 2;\n\n default:\n return 0;\n }\n }\n\n mobilityScore() {\n if (this.formVal(\"q20\") === \"YES\") {\n return 2;\n }\n return this.formVal(\"q19\") === \"YES\" ? 0 : 1;\n }\n\n calculateTotalScore() {\n for (let i = 1; i <= 20; i++) {\n if (!this.formVal(`q${i}`)) {\n return null;\n }\n }\n return this.domains()\n .map((key) => this.score(key.toLowerCase()))\n .reduce((a, b) => {\n return a + b;\n });\n }\n\n frailtyLevel() {\n const { totalScore } = this;\n if (totalScore === null) {\n return Levels.Unknown;\n }\n if (totalScore > 12) {\n return Levels.Severe;\n }\n if (totalScore >= 8) {\n return Levels.Moderate;\n }\n if (totalScore >= 3) {\n return Levels.Mild;\n }\n if (totalScore >= 0) {\n return Levels.None;\n }\n }\n}\n","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./GenericRequest.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./GenericRequest.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./GenericRequest.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".searchToolbar-style__search-icon___1EbOU{display:none !important}@media all and (max-width: 450px){.searchToolbar-style__search-icon___1EbOU{color:#00796b;display:block !important;margin-right:1rem}}.searchToolbar-style__search-button___WqxMc button,.searchToolbar-style__search-button___WqxMc button:hover,.searchToolbar-style__search-button___WqxMc button:focus,.searchToolbar-style__search-bar___TUldQ button,.searchToolbar-style__search-bar___TUldQ button:hover,.searchToolbar-style__search-bar___TUldQ button:focus{background-color:#00796b;border-color:transparent;box-shadow:none}@media all and (max-width: 450px){.searchToolbar-style__search-bar___TUldQ{display:none !important}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"search-icon\": \"searchToolbar-style__search-icon___1EbOU\",\n\t\"search-button\": \"searchToolbar-style__search-button___WqxMc\",\n\t\"search-bar\": \"searchToolbar-style__search-bar___TUldQ\"\n};","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@-webkit-keyframes forms__error-animation___1y5r9{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}@keyframes forms__error-animation___1y5r9{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}.forms__animate-error___3yQn2{background:#fff5f5;-webkit-animation:forms__error-animation___1y5r9 1s 3 alternate;animation:forms__error-animation___1y5r9 1s 3 alternate;border:2px solid #f00}.forms__animate-error___3yQn2 *:not([data-react-toolbox]){background:transparent !important}.gerudo-input input::-webkit-input-placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input::placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input:disabled{color:#424242 !important;font-weight:400 !important}.gerudo-input input:disabled::-webkit-input-placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.gerudo-input input:disabled::placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.forms__card-form___3iBLy{margin:8px 0}.forms__card-form___3iBLy>[data-react-toolbox=\\\"card\\\"],.forms__card-form___3iBLy>div>[data-react-toolbox=\\\"card\\\"]{margin-bottom:1rem;background-color:#efefef}@media print{.forms__card-form___3iBLy>[data-react-toolbox=\\\"card\\\"],.forms__card-form___3iBLy>div>[data-react-toolbox=\\\"card\\\"]{background-color:inherit !important}}.forms__card-form___3iBLy>[data-react-toolbox=\\\"card\\\"] .forms__form-row___VOPZU [data-react-toolbox=\\\"font-icon\\\"],.forms__card-form___3iBLy>div>[data-react-toolbox=\\\"card\\\"] .forms__form-row___VOPZU [data-react-toolbox=\\\"font-icon\\\"]{color:rgba(0,0,0,0.3)}.forms__card-form___3iBLy>[data-react-toolbox=\\\"card\\\"] .forms__form-row___VOPZU label,.forms__card-form___3iBLy>div>[data-react-toolbox=\\\"card\\\"] .forms__form-row___VOPZU label{color:rgba(0,0,0,0.4)}.forms__card-form___3iBLy>[data-react-toolbox=\\\"card\\\"] .forms__form-row___VOPZU>div,.forms__card-form___3iBLy>div>[data-react-toolbox=\\\"card\\\"] .forms__form-row___VOPZU>div{margin-right:8px}.forms__card-form___3iBLy>[data-react-toolbox=\\\"card\\\"] .forms__actions___3fY79 button,.forms__card-form___3iBLy>div>[data-react-toolbox=\\\"card\\\"] .forms__actions___3fY79 button{margin-left:0;margin-top:0.5rem}.forms__card-form___3iBLy .forms__actions___3fY79{margin-left:0;margin-top:1rem}span.forms__frailty-SEVERE___2nr0w{color:#d50000}span.forms__frailty-MILD___PLDZY{color:#4caf50}span.forms__frailty-MODERATE___1g2-t{color:#c1a400}span.forms__frailty-UNKNOWN___3UnX2{color:#f5f5f5}span.forms__frailty-NONE___2SnhQ{color:#4caf50}.forms__form-summary___bdVLc{clear:both}.forms__form-summary___bdVLc table{border-spacing:0.5rem 1.5rem}.forms__form-summary___bdVLc table span{font-weight:600}.forms__form-summary___bdVLc tr td:first-of-type{font-weight:600}.forms__form-summary___bdVLc td{border:1px solid #e0e0e0;padding:8px}.forms__form-summary___bdVLc p{margin-bottom:0.5em}.forms__form-summary___bdVLc p small{font-size:70%}.forms__form-summary___bdVLc ul,.forms__form-summary___bdVLc ol{padding:2rem;font-size:1.6rem;line-height:1.8}.forms__form-summary___bdVLc ul li,.forms__form-summary___bdVLc ol li{padding-bottom:1.6rem}.forms__form-summary___bdVLc ul li a,.forms__form-summary___bdVLc ol li a{padding-left:1rem}.forms__form-summary___bdVLc h2{margin-top:2rem}.forms__form-summary___bdVLc [data-react-toolbox=\\\"checkbox\\\"]{margin-bottom:0.25rem}.forms__form-summary___bdVLc [data-react-toolbox=\\\"checkbox\\\"] span{color:#000 !important;font-weight:normal}.forms__form-summary___bdVLc .forms__left-leaning___3ULjj table{width:100%}.forms__form-summary___bdVLc .forms__left-leaning___3ULjj table tr td:first-of-type{width:65%}.forms__form-summary___bdVLc .forms__left-leaning___3ULjj canvas{width:100% !important}@media print{.forms__form-summary___bdVLc .forms__condensed___5SEwc h2{margin-top:1rem;font-size:1.25em}.forms__form-summary___bdVLc .forms__condensed___5SEwc table td{padding:4px}}.forms__summary-card___2zOc8{margin-bottom:2rem}.forms__summary-card___2zOc8 .forms__summary-title___1mLCz{padding:0}.forms__summary-card___2zOc8 .forms__summary-title___1mLCz>div{width:100%;display:flex;flex-wrap:wrap}.forms__summary-card___2zOc8 .forms__print-button___1viq1{margin:1em}.forms__form-table-ger-fcga___xoojR{font-size:1.6rem !important}.forms__form-table-ger-fcga___xoojR th:nth-child(2),.forms__form-table-ger-fcga___xoojR td:nth-child(2){padding-right:0;padding-left:0}.forms__form-table-ger-fcga___xoojR th:nth-child(3),.forms__form-table-ger-fcga___xoojR td:nth-child(3){width:20%}.forms__form-table-ger-fcga___xoojR thead tr{line-height:2rem !important}.forms__next-previous-navbar___32_wR{position:fixed;bottom:0;left:0;width:100%;margin:0;min-width:320px;background:#fff;border-top:1px solid #ccc;padding-top:0.5rem}@media all and (min-height: 750px){.forms__next-previous-navbar___32_wR{position:inherit !important;margin-top:5rem;margin-bottom:5rem}}@media all and (min-width: 960px) and (max-height: 749px){.forms__next-previous-navbar___32_wR{margin-left:25rem !important;width:calc(100% - 25rem)}}@media all and (min-width: 960px) and (min-height: 750px){.forms__next-previous-navbar___32_wR{margin-left:0 !important}}.forms__next-previous-navbar___32_wR button{flex:1;font-size:2rem;min-height:5rem;margin-right:1rem}.forms__next-previous-navbar___32_wR button:first-child{margin-right:0}@media (max-height: 600px){.forms__next-previous-navbar___32_wR button{min-height:1rem}}.forms__next-previous-navbar___32_wR .forms__next-previous-navbar-header___3UvrA{font-style:italic;text-align:center;margin-bottom:1rem;padding:0 2rem}@media all and (max-width: 480px){.forms__next-previous-navbar___32_wR .forms__next-previous-navbar-header___3UvrA{font-size:1.25rem;padding:0 0.5rem}}@media screen and (max-width: 735px){.forms__next-previous-navbar___32_wR button{font-size:1.25rem;line-height:1.5rem;white-space:normal}}.forms__next-previous-navbar___32_wR .forms__next-previous-actions___15rNB{display:flex;align-items:center;flex-direction:row-reverse}@media all and (max-height: 749px){.forms__report-body___bK_9w{margin-bottom:12rem !important}}.forms__title-container___1cwR0{font-size:3rem;font-weight:bold;margin-bottom:2rem}@media all and (max-width: 600px){.forms__title-container___1cwR0{font-size:2.25rem}}.forms__radio-container___q2955 label{height:auto;cursor:pointer}.forms__radio-container___q2955 label span{white-space:normal;width:calc(100% - 1rem)}.forms__checkbox-container___XqI9L>label,.forms__checkbox-container___XqI9L h2,.forms__radio-container___q2955>label,.forms__radio-container___q2955 h2,.forms__text-container___1R3wy>label,.forms__text-container___1R3wy h2,.forms__number-container___2oLdo>label,.forms__number-container___2oLdo h2,.forms__slider-container___3sncG>label,.forms__slider-container___3sncG h2,.forms__yesno-container___20T2d>label,.forms__yesno-container___20T2d h2,.forms__text-question-container___3-VlI>label,.forms__text-question-container___3-VlI h2{margin-top:2.2rem;font-size:2.5rem;line-height:2.5rem;font-weight:bold}@media all and (max-width: 600px){.forms__checkbox-container___XqI9L>label,.forms__checkbox-container___XqI9L h2,.forms__radio-container___q2955>label,.forms__radio-container___q2955 h2,.forms__text-container___1R3wy>label,.forms__text-container___1R3wy h2,.forms__number-container___2oLdo>label,.forms__number-container___2oLdo h2,.forms__slider-container___3sncG>label,.forms__slider-container___3sncG h2,.forms__yesno-container___20T2d>label,.forms__yesno-container___20T2d h2,.forms__text-question-container___3-VlI>label,.forms__text-question-container___3-VlI h2{font-size:2rem}}.forms__checkbox-container___XqI9L .forms__description-text___2KBa8,.forms__radio-container___q2955 .forms__description-text___2KBa8,.forms__text-container___1R3wy .forms__description-text___2KBa8,.forms__number-container___2oLdo .forms__description-text___2KBa8,.forms__slider-container___3sncG .forms__description-text___2KBa8,.forms__yesno-container___20T2d .forms__description-text___2KBa8,.forms__text-question-container___3-VlI .forms__description-text___2KBa8{padding-bottom:1.5rem;max-width:600px;margin:auto}.forms__checkbox-container___XqI9L p,.forms__radio-container___q2955 p,.forms__text-container___1R3wy p,.forms__number-container___2oLdo p,.forms__slider-container___3sncG p,.forms__yesno-container___20T2d p,.forms__text-question-container___3-VlI p{margin:auto;text-align:center;white-space:pre-line;font-size:2rem}.forms__slider-container___3sncG h2{text-align:center}.forms__slider-container___3sncG .forms__slider-element___3CMve{margin:1rem auto;max-width:600px}.forms__checkbox-container___XqI9L,.forms__radio-container___q2955,.forms__text-container___1R3wy,.forms__yesno-container___20T2d,.forms__number-container___2oLdo,.forms__text-question-container___3-VlI{text-align:center;max-width:75%;margin-left:auto;margin-right:auto}@media screen and (max-width: 40rem){.forms__checkbox-container___XqI9L,.forms__radio-container___q2955,.forms__text-container___1R3wy,.forms__yesno-container___20T2d,.forms__number-container___2oLdo,.forms__text-question-container___3-VlI{max-width:95%}}.forms__checkbox-container___XqI9L div,.forms__radio-container___q2955 div,.forms__text-container___1R3wy div,.forms__yesno-container___20T2d div,.forms__number-container___2oLdo div,.forms__text-question-container___3-VlI div{margin-left:0rem}.forms__checkbox-container___XqI9L [data-react-toolbox=\\\"radio-group\\\"],.forms__checkbox-container___XqI9L .forms__checkbox-group___9m__H,.forms__radio-container___q2955 [data-react-toolbox=\\\"radio-group\\\"],.forms__radio-container___q2955 .forms__checkbox-group___9m__H,.forms__text-container___1R3wy [data-react-toolbox=\\\"radio-group\\\"],.forms__text-container___1R3wy .forms__checkbox-group___9m__H,.forms__yesno-container___20T2d [data-react-toolbox=\\\"radio-group\\\"],.forms__yesno-container___20T2d .forms__checkbox-group___9m__H,.forms__number-container___2oLdo [data-react-toolbox=\\\"radio-group\\\"],.forms__number-container___2oLdo .forms__checkbox-group___9m__H,.forms__text-question-container___3-VlI [data-react-toolbox=\\\"radio-group\\\"],.forms__text-question-container___3-VlI .forms__checkbox-group___9m__H{display:inline-block;margin:0 auto;padding-top:2rem}.forms__checkbox-container___XqI9L [data-react-toolbox=\\\"radio-group\\\"] label,.forms__checkbox-container___XqI9L .forms__checkbox-group___9m__H label,.forms__radio-container___q2955 [data-react-toolbox=\\\"radio-group\\\"] label,.forms__radio-container___q2955 .forms__checkbox-group___9m__H label,.forms__text-container___1R3wy [data-react-toolbox=\\\"radio-group\\\"] label,.forms__text-container___1R3wy .forms__checkbox-group___9m__H label,.forms__yesno-container___20T2d [data-react-toolbox=\\\"radio-group\\\"] label,.forms__yesno-container___20T2d .forms__checkbox-group___9m__H label,.forms__number-container___2oLdo [data-react-toolbox=\\\"radio-group\\\"] label,.forms__number-container___2oLdo .forms__checkbox-group___9m__H label,.forms__text-question-container___3-VlI [data-react-toolbox=\\\"radio-group\\\"] label,.forms__text-question-container___3-VlI .forms__checkbox-group___9m__H label{cursor:pointer}.forms__checkbox-container___XqI9L label,.forms__checkbox-container___XqI9L input,.forms__checkbox-container___XqI9L textarea,.forms__radio-container___q2955 label,.forms__radio-container___q2955 input,.forms__radio-container___q2955 textarea,.forms__text-container___1R3wy label,.forms__text-container___1R3wy input,.forms__text-container___1R3wy textarea,.forms__yesno-container___20T2d label,.forms__yesno-container___20T2d input,.forms__yesno-container___20T2d textarea,.forms__number-container___2oLdo label,.forms__number-container___2oLdo input,.forms__number-container___2oLdo textarea,.forms__text-question-container___3-VlI label,.forms__text-question-container___3-VlI input,.forms__text-question-container___3-VlI textarea{text-align:left;margin-bottom:2.2rem;font-size:2.4rem}.forms__checkbox-container___XqI9L label span,.forms__checkbox-container___XqI9L input span,.forms__checkbox-container___XqI9L textarea span,.forms__radio-container___q2955 label span,.forms__radio-container___q2955 input span,.forms__radio-container___q2955 textarea span,.forms__text-container___1R3wy label span,.forms__text-container___1R3wy input span,.forms__text-container___1R3wy textarea span,.forms__yesno-container___20T2d label span,.forms__yesno-container___20T2d input span,.forms__yesno-container___20T2d textarea span,.forms__number-container___2oLdo label span,.forms__number-container___2oLdo input span,.forms__number-container___2oLdo textarea span,.forms__text-question-container___3-VlI label span,.forms__text-question-container___3-VlI input span,.forms__text-question-container___3-VlI textarea span{font-size:2.4rem}@media all and (max-width: 600px){.forms__checkbox-container___XqI9L label span,.forms__checkbox-container___XqI9L input span,.forms__checkbox-container___XqI9L textarea span,.forms__radio-container___q2955 label span,.forms__radio-container___q2955 input span,.forms__radio-container___q2955 textarea span,.forms__text-container___1R3wy label span,.forms__text-container___1R3wy input span,.forms__text-container___1R3wy textarea span,.forms__yesno-container___20T2d label span,.forms__yesno-container___20T2d input span,.forms__yesno-container___20T2d textarea span,.forms__number-container___2oLdo label span,.forms__number-container___2oLdo input span,.forms__number-container___2oLdo textarea span,.forms__text-question-container___3-VlI label span,.forms__text-question-container___3-VlI input span,.forms__text-question-container___3-VlI textarea span{font-size:2rem}}.forms__text-container___1R3wy,.forms__text-question-container___3-VlI{margin-top:2rem}.forms__text-container___1R3wy label,.forms__text-container___1R3wy input,.forms__text-question-container___3-VlI label,.forms__text-question-container___3-VlI input{margin-bottom:0}.forms__yesno-container___20T2d{margin-top:2rem;margin-bottom:0rem;text-align:center}.forms__yesno-container___20T2d label{display:inline;padding-right:3rem;padding-left:3rem}@media (max-width: 641px){.forms__yesno-container___20T2d label{padding-right:1rem;padding-left:1rem}}.forms__month-picker___1eS_H{display:flex;flex-direction:row}@media all and (max-width: 40rem){.forms__month-picker___1eS_H{flex-direction:column}}.forms__month-picker___1eS_H .forms__year-input___cK1DI,.forms__month-picker___1eS_H .forms__month-input___Bo9ij{flex:0.5}.forms__form-row___VOPZU{display:flex;flex-direction:row}@media all and (max-width: 40rem){.forms__form-row___VOPZU{flex-direction:column}}@media screen and (min-color-index: 0) and (-webkit-min-device-pixel-ratio: 0) and (max-width: 640px){.forms__form-row___VOPZU{flex-direction:column}}.forms__form-row___VOPZU>*{flex:1}.forms__form-row___VOPZU>div{margin-right:8px}.forms__form-row___VOPZU.forms__bottom-align___3-oIX>*{margin-top:auto}.forms__report-body___bK_9w{margin-top:2rem;margin-bottom:2rem}@media print{.forms__report-body___bK_9w{padding:0;margin:0 !important}}.forms__fullpage-wrapper___387Es{padding:3rem;margin:2rem auto;border-radius:0.2rem;box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.2),0 1px 5px 0 rgba(0,0,0,0.12);transition:box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1),background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),color 0.2s cubic-bezier(0.4, 0, 0.2, 1)}@media all and (max-width: 600px){.forms__fullpage-wrapper___387Es{padding:0.5rem 0 1rem 0}}.forms__fullpage-wrapper___387Es h2{margin:1rem auto}.forms__fullpage-wrapper___387Es [data-react-toolbox=\\\"radio-group\\\"]{margin-bottom:2rem}.forms__fullpage-wrapper___387Es [data-react-toolbox=\\\"input\\\"]{margin:1rem auto;max-width:500px}.forms__display-tabs___yPJ9b label{padding-top:22px}.forms__display-tabs___yPJ9b [data-react-toolbox=\\\"font-icon\\\"]{display:inline-flex;vertical-align:middle;padding-right:5px;height:1.8rem}.forms__report-body-big-step___2aqIi{padding-top:2rem}.forms__pdf-report-header___2sppi{display:none}.forms__pdf-report-header___2sppi h1{text-align:center}.forms__pdf-report-header___2sppi img{max-height:85px}.forms__form-header-information___3r2tn{display:flex;flex-direction:row;margin-left:-1rem;margin-top:-1rem;width:calc(100% + 2rem)}.forms__form-header-information___3r2tn>*{flex:1;padding:1rem !important}@media all and (max-width: 40rem){.forms__form-header-information___3r2tn{flex-direction:column}.forms__form-header-information___3r2tn>*{padding-top:0.25rem !important;padding-bottom:0.25rem !important}.forms__form-header-information___3r2tn>*:first-child{padding-top:1rem !important}}@media print{.forms__form-header-information___3r2tn{display:none !important}}.forms__form-header___27oKm{height:100px;font-size:1.25rem}.forms__form-header___27oKm svg{height:80px}.forms__stepper___3gCef [data-react-toolbox=\\\"progress-bar\\\"]{height:2rem}.forms__footer-info___a_FOy{float:right;text-align:right;font-size:1.3rem !important;line-height:1.6rem !important;display:none}@media print{[data-react-toolbox=\\\"app-bar\\\"],.forms__summary-title___1mLCz,.forms__stepper___3gCef,.forms__next-previous-navbar___32_wR,[data-react-toolbox=\\\"tabs\\\"]>div{display:none !important}html,body{background-color:#fff !important}p,li{line-height:1.3rem !important;font-size:1.2rem !important;color:#000}section{font-size:1rem !important}table tr{-webkit-column-break-inside:avoid;page-break-inside:avoid;break-inside:avoid}[data-react-toolbox=\\\"tabs\\\"]>section{padding-top:0}.forms__form-table-ger-fcga___xoojR{margin-top:10px}.forms__pdf-report-header___2sppi{display:block;height:140px}.forms__pdf-report-header___2sppi svg{width:4.5cm}.forms__report-body___bK_9w{margin-top:0}.forms__report-body-big-step___2aqIi{padding-top:0}.forms__form-tabs___1NE72>span{background:none}.forms__summary-wrapper___aPtAy{overflow:hidden}.forms__summary-card___2zOc8{border:none;box-shadow:none;border-bottom:2px solid #333;margin-bottom:0.75rem}[data-react-toolbox=\\\"table\\\"] th{white-space:nowrap}table{border-collapse:collapse}.forms__form-table-ger-fcga___xoojR{font-size:1.2rem !important}.forms__form-table-ger-fcga___xoojR tr{line-height:3rem !important;height:3rem !important}.forms__footer-info___a_FOy{display:block}}.forms__spinning-button-progress___RDLV6{padding-right:1.5rem;width:3.5rem !important;height:2rem !important}.forms__spinning-button-progress___RDLV6.forms__as-icon___2ZqoB{padding-right:0}.forms__spinning-button-progress___RDLV6.forms__as-icon___2ZqoB:hover{cursor:pointer}.forms__spinning-button-progress___RDLV6.forms__as-right-icon___3Nzd-{margin-left:-1rem;margin-top:0.5rem}.forms__spinning-button___pYHqQ{position:relative}.forms__icon-only___1vYlM [data-react-toolbox=\\\"font-icon\\\"]{margin-right:0;width:3.5rem}.forms__danger-button___JNGOd,.forms__danger-text___3LKgV{color:#ff0000 !important}.forms__success-button___3E99t,.forms__success-text___2UNmu{color:#36b535 !important}.forms__spaced-paragraph___d0Cjb br{display:block;margin:10px 0;content:\\\" \\\"}.forms__showcase___1QpkJ{align-items:center;background-color:#fff;border:#efefef solid 1px;height:59px;padding:0px 20px}.forms__showcase-handler___25ZhO{max-width:20px;margin-right:15px}.forms__showcase-style-list___3TlKA{border-radius:3px;width:300px;margin:20px auto}@media (min-width: 500px){.forms__showcase-style-list___3TlKA{width:400px;margin:20px auto}}.forms__showcase-style-handle___2ZevN{display:flex;align-items:center;justify-content:space-between;background-color:#f3f3f3;border:1px solid #efefef;padding:20px;margin:10px 0}.forms__question-title___37Nes{padding:1rem 0;width:75%;text-align:left;font-size:25px}.forms__investigation-cycle-name___3wQAa{font-weight:bold;color:#333}.forms__investigation-cycle-name___3wQAa a{font-weight:normal}.forms__consent-box___3Xhk8{padding:1rem 0 !important;margin-left:4.8rem;position:relative;line-height:2.8rem}.forms__consent-box___3Xhk8 [data-react-toolbox=\\\"font-icon\\\"]{position:absolute;top:0;left:-4.8rem;width:4.8rem;line-height:4.8rem;text-align:center;color:rgba(0,0,0,0.26)}.forms__fully-width-button___1g7j_{width:100%}.forms__date___1tRcg [data-react-toolbox=\\\"date-picker\\\"]{max-width:15rem}.forms__date___1tRcg [data-react-toolbox=\\\"date-picker\\\"] [data-react-toolbox=\\\"input\\\"]{padding:0}.forms__date___1tRcg [data-react-toolbox=\\\"date-picker\\\"] span [data-react-toolbox=\\\"font-icon\\\"] .forms__material-icons___3Kg2s{top:0 !important}.forms__date___1tRcg [data-react-toolbox=\\\"date-picker\\\"] input{border:1px solid #c5c5c5;border-radius:3px;padding:5px 8px}.forms__input-helper___1tw1s{color:#c1a400 !important;font-size:1.4rem;line-height:1.4rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"animate-error\": \"forms__animate-error___3yQn2\",\n\t\"error-animation\": \"forms__error-animation___1y5r9\",\n\t\"card-form\": \"forms__card-form___3iBLy\",\n\t\"form-row\": \"forms__form-row___VOPZU\",\n\t\"actions\": \"forms__actions___3fY79\",\n\t\"frailty-SEVERE\": \"forms__frailty-SEVERE___2nr0w\",\n\t\"frailty-MILD\": \"forms__frailty-MILD___PLDZY\",\n\t\"frailty-MODERATE\": \"forms__frailty-MODERATE___1g2-t\",\n\t\"frailty-UNKNOWN\": \"forms__frailty-UNKNOWN___3UnX2\",\n\t\"frailty-NONE\": \"forms__frailty-NONE___2SnhQ\",\n\t\"form-summary\": \"forms__form-summary___bdVLc\",\n\t\"left-leaning\": \"forms__left-leaning___3ULjj\",\n\t\"condensed\": \"forms__condensed___5SEwc\",\n\t\"summary-card\": \"forms__summary-card___2zOc8\",\n\t\"summary-title\": \"forms__summary-title___1mLCz\",\n\t\"print-button\": \"forms__print-button___1viq1\",\n\t\"form-table-ger-fcga\": \"forms__form-table-ger-fcga___xoojR\",\n\t\"next-previous-navbar\": \"forms__next-previous-navbar___32_wR\",\n\t\"next-previous-navbar-header\": \"forms__next-previous-navbar-header___3UvrA\",\n\t\"next-previous-actions\": \"forms__next-previous-actions___15rNB\",\n\t\"report-body\": \"forms__report-body___bK_9w\",\n\t\"title-container\": \"forms__title-container___1cwR0\",\n\t\"radio-container\": \"forms__radio-container___q2955\",\n\t\"checkbox-container\": \"forms__checkbox-container___XqI9L\",\n\t\"text-container\": \"forms__text-container___1R3wy\",\n\t\"number-container\": \"forms__number-container___2oLdo\",\n\t\"slider-container\": \"forms__slider-container___3sncG\",\n\t\"yesno-container\": \"forms__yesno-container___20T2d\",\n\t\"text-question-container\": \"forms__text-question-container___3-VlI\",\n\t\"description-text\": \"forms__description-text___2KBa8\",\n\t\"slider-element\": \"forms__slider-element___3CMve\",\n\t\"checkbox-group\": \"forms__checkbox-group___9m__H\",\n\t\"month-picker\": \"forms__month-picker___1eS_H\",\n\t\"year-input\": \"forms__year-input___cK1DI\",\n\t\"month-input\": \"forms__month-input___Bo9ij\",\n\t\"bottom-align\": \"forms__bottom-align___3-oIX\",\n\t\"fullpage-wrapper\": \"forms__fullpage-wrapper___387Es\",\n\t\"display-tabs\": \"forms__display-tabs___yPJ9b\",\n\t\"report-body-big-step\": \"forms__report-body-big-step___2aqIi\",\n\t\"pdf-report-header\": \"forms__pdf-report-header___2sppi\",\n\t\"form-header-information\": \"forms__form-header-information___3r2tn\",\n\t\"form-header\": \"forms__form-header___27oKm\",\n\t\"stepper\": \"forms__stepper___3gCef\",\n\t\"footer-info\": \"forms__footer-info___a_FOy\",\n\t\"form-tabs\": \"forms__form-tabs___1NE72\",\n\t\"summary-wrapper\": \"forms__summary-wrapper___aPtAy\",\n\t\"spinning-button-progress\": \"forms__spinning-button-progress___RDLV6\",\n\t\"as-icon\": \"forms__as-icon___2ZqoB\",\n\t\"as-right-icon\": \"forms__as-right-icon___3Nzd-\",\n\t\"spinning-button\": \"forms__spinning-button___pYHqQ\",\n\t\"icon-only\": \"forms__icon-only___1vYlM\",\n\t\"danger-button\": \"forms__danger-button___JNGOd\",\n\t\"danger-text\": \"forms__danger-text___3LKgV\",\n\t\"success-button\": \"forms__success-button___3E99t\",\n\t\"success-text\": \"forms__success-text___2UNmu\",\n\t\"spaced-paragraph\": \"forms__spaced-paragraph___d0Cjb\",\n\t\"showcase\": \"forms__showcase___1QpkJ\",\n\t\"showcase-handler\": \"forms__showcase-handler___25ZhO\",\n\t\"showcase-style-list\": \"forms__showcase-style-list___3TlKA\",\n\t\"showcase-style-handle\": \"forms__showcase-style-handle___2ZevN\",\n\t\"question-title\": \"forms__question-title___37Nes\",\n\t\"investigation-cycle-name\": \"forms__investigation-cycle-name___3wQAa\",\n\t\"consent-box\": \"forms__consent-box___3Xhk8\",\n\t\"fully-width-button\": \"forms__fully-width-button___1g7j_\",\n\t\"date\": \"forms__date___1tRcg\",\n\t\"material-icons\": \"forms__material-icons___3Kg2s\",\n\t\"input-helper\": \"forms__input-helper___1tw1s\"\n};","module.exports = __webpack_public_path__ + \"76d69d5a173980b7cd1db01ddc258156.png\";","import React from \"react\";\nimport MediaQuery from \"react-responsive\";\nimport PropTypes from \"prop-types\";\n\nconst MobileMediaQuery = ({ children, size = 450 }) => {\n return {children};\n};\n\nMobileMediaQuery.propTypes = {\n size: PropTypes.number,\n};\n\nexport default MobileMediaQuery;\n","\nvar content = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./AboutPatientCommunication.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./AboutPatientCommunication.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./AboutPatientCommunication.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import Relay from \"react-relay/classic\";\n\nexport default class DeleteAttachmentMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(DeleteAttachmentMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { deleteAttachment }`;\n }\n\n getVariables() {\n return {\n attachmentId: this.props.attachmentId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on DeleteAttachmentPayload {\n deletedAttachment\n case {\n id\n legacyId\n\n data {\n ... on ConversationConsultData {\n history\n \n extraData {\n ... on GenericConversationConsultData {\n destinations\n }\n }\n }\n ... on ThoracicSurgeryData {\n steps {\n attachments\n }\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on DeleteAttachmentPayload {\n case {\n id\n legacyId\n \n data {\n ... on ConversationConsultData {\n history {\n date\n type\n \n data {\n ... on FileHistoryItemData {\n attachment {\n id\n }\n }\n }\n }\n }\n ... on ThoracicSurgeryData {\n steps {\n attachments\n }\n }\n }\n }\n }\n `,\n ],\n },\n ];\n }\n}\n","export const RELAY_TO_REDUX = \"RELAY_TO_REDUX\";\nexport const DISPATCH_EDITABLE = \"DISPATCH_EDITABLE\";\nexport const DISPATCH_SELECTED_TAGS = \"DISPATCH_SELECTED_TAGS\";\nexport const DISPATCH_ANTICIPATED_DATE = \"DISPATCH_ANTICIPATED_DATE\";\nexport const DISPATCH_LACHINE_ONLY = \"DISPATCH_LACHINE_ONLY\";\n","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./GenericRequestPrint.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./GenericRequestPrint.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./GenericRequestPrint.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./InputLabel.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./InputLabel.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./InputLabel.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"../../../helpers/errors\";\n\nexport default class CloseConversationConsultMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(CloseConversationConsultMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { closeConversationConsult }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n surveyData: this.props.surveyData,\n pursuingReferral: this.props.pursuingReferral,\n notPursuingReferralReason: this.props.notPursuingReferralReason,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on CloseConversationConsultPayload {\n viewer {\n cases(type: COMPLETED)\n cases(type: ARCHIVED)\n casesTotals\n }\n case {\n isCompleted\n status\n data {\n ... on ConversationConsultData {\n permissions\n history\n extraData\n }\n }\n ${CloseConversationConsultMutation.getFragment(\"case\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n\n static fragments = {\n case: () => Relay.QL`\n fragment on Case {\n data {\n ... on ConversationConsultData {\n requester\n }\n }\n }\n `,\n };\n}\n\nexport const onDestinationClosed = ({ cas, destination, surveyData, viewer }) => {\n const params = {\n viewer: viewer,\n case: cas,\n caseId: cas.id,\n destinationId: destination.id,\n surveyData: surveyData,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new CloseConversationConsultMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n\nexport const onGenericCaseClosed = ({ cas, surveyData, viewer }) => {\n const params = {\n viewer: viewer,\n case: cas,\n caseId: cas.id,\n surveyData: surveyData,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new CloseConversationConsultMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".HandWrittenFormHeader-styles__container___2YFSQ .HandWrittenFormHeader-styles__title___2uYj0{font-weight:700;margin-bottom:2rem}.HandWrittenFormHeader-styles__container___2YFSQ .HandWrittenFormHeader-styles__description___3K3Z_{margin-bottom:2rem}.HandWrittenFormHeader-styles__container___2YFSQ .HandWrittenFormHeader-styles__add-on___2_cFj{margin-bottom:2rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"container\": \"HandWrittenFormHeader-styles__container___2YFSQ\",\n\t\"title\": \"HandWrittenFormHeader-styles__title___2uYj0\",\n\t\"description\": \"HandWrittenFormHeader-styles__description___3K3Z_\",\n\t\"add-on\": \"HandWrittenFormHeader-styles__add-on___2_cFj\"\n};","import classnames from \"classnames\";\nimport { withFormsy } from \"formsy-react\";\nimport throttle from \"lodash.throttle\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { themr } from \"react-css-themr\";\nimport { injectIntl, intlShape, defineMessages, FormattedMessage } from \"react-intl\";\nimport Button from \"react-toolbox/lib/button\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport Input from \"react-toolbox/lib/input\";\nimport Tooltip from \"react-toolbox/lib/tooltip\";\n\nimport { passwordStrength, StrengthResult, generatePassword } from \"../../../helpers/passwords\";\nimport { messages as passwordMessages } from \"../../accounts/changePasswordForm\";\n\nimport { shouldShowError } from \"./inputHelpers\";\n\nimport baseI18n from \"../../../../messages/base.i18n\";\nimport passwordInputStyle from \"./passwordInput.style\";\nimport inputStyle from \"./textInput.style\";\n\nconst TooltipFontIcon = Tooltip(FontIcon);\n\nexport const messages = defineMessages({\n weak: {\n id: \"passwordInput.weak\",\n description: \"Weak password short label\",\n defaultMessage: \"Weak password\",\n },\n ok: {\n id: \"passwordInput.ok\",\n description: \"Ok password short label\",\n defaultMessage: \"Ok password\",\n },\n good: {\n id: \"passwordInput.good\",\n description: \"Good password short label\",\n defaultMessage: \"Good password\",\n },\n excellent: {\n id: \"passwordInput.excellent\",\n description: \"Excellent password short label\",\n defaultMessage: \"Excellent password!\",\n },\n short: {\n id: \"passwordInput.short\",\n description: \"Password too short label\",\n defaultMessage: \"Password should at least 8 characters\",\n },\n revealTooltip: {\n id: \"passwordInput.revealTooltip\",\n description: \"Tooltip for reveal password icon\",\n defaultMessage: \"Click or tap to reveal password temporarily.\",\n },\n warning: {\n id: \"passwordInput.warning\",\n description: \"Warning for zxcvbn\",\n defaultMessage: \"Warning\",\n },\n suggestions: {\n id: \"passwordInput.suggestions\",\n description: \"Suggestions for zxcvbn\",\n defaultMessage: \"Suggestion\",\n },\n});\n\nexport type PasswordScore = {\n feedback: string,\n className: string,\n};\n\nexport function getScore(\n intl: any,\n strength: StrengthResult,\n theme: any,\n direct?: boolean\n): PasswordScore {\n const hasScore = typeof strength.score !== \"undefined\" && strength.score !== null;\n const strengthClassName = \"strength-\" + (hasScore ? strength.score : \"unknown\");\n\n let suggestions = null;\n let warning = null;\n\n if (strength.feedback) {\n suggestions = strength.feedback.suggestions.join(\" \");\n warning = strength.feedback.warning || \"\";\n }\n\n return {\n feedback: hasScore\n ? intl.formatMessage(messages[PasswordInput.scoreTextMap[strength.score]])\n : \"\",\n className: classnames(theme[strengthClassName], {\n [theme[\"direct\"]]: direct,\n }),\n warning: warning,\n suggestions: suggestions,\n };\n}\n\nexport function getTooShortScore(intl: any, theme: any, direct?: boolean): PasswordScore {\n return {\n feedback: intl.formatMessage(messages.short),\n className: classnames(theme[\"strength-0\"], {\n [theme[\"direct\"]]: direct,\n }),\n };\n}\n\nexport class PasswordInput extends React.Component {\n static propTypes = {\n intl: intlShape,\n name: PropTypes.string.isRequired,\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n value: PropTypes.any,\n hint: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n required: PropTypes.bool,\n theme: PropTypes.any,\n autoFocus: PropTypes.bool,\n disabled: PropTypes.bool,\n throttleTimeout: PropTypes.number,\n oldPassword: PropTypes.bool,\n showPasswordGeneration: PropTypes.bool,\n className: PropTypes.string,\n onChange: PropTypes.func,\n onKeyPress: PropTypes.func,\n onFocus: PropTypes.func,\n onBlur: PropTypes.func,\n errorMessage: PropTypes.string,\n };\n\n static scoreTextMap = {\n \"0\": \"weak\",\n \"1\": \"weak\",\n \"2\": \"ok\",\n \"3\": \"good\",\n \"4\": \"excellent\",\n };\n\n constructor(props) {\n super(props);\n this.throttledChange = throttle(\n this.throttledChange.bind(this),\n props.throttleTimeout || 1000,\n { leading: false }\n );\n passwordStrength(\"\");\n this.state = {\n strength: null,\n focused: false,\n passwordVisible: false,\n generatedPassword: null,\n value: this.props.value,\n };\n }\n\n handleChange(e: string, immediate: true) {\n // Avoid calling changes when none happened.\n if (this.state.value === e && !immediate) {\n return;\n }\n\n const strength = passwordStrength(e);\n this.setState({ value: e, strength });\n\n if (immediate) {\n this.props.setValue(e);\n this.throttledChange.cancel();\n if (this.props.onChange) {\n this.props.onChange(e);\n }\n } else {\n this.throttledChange();\n }\n }\n\n throttledChange() {\n this.props.setValue(this.state.value);\n if (this.props.onChange) {\n this.props.onChange(this.state.value);\n }\n }\n\n generatePassword() {\n const generatedPassword = generatePassword(12);\n this.setState({ generatedPassword });\n this.handleChange(generatedPassword, true);\n }\n\n render() {\n const errorMessage = this.props.errorMessage;\n const { label, icon, autoFocus, disabled, theme, hint, className } = this.props;\n const strength = this.state.strength || {};\n const hasHint = Boolean(hint);\n let showError = shouldShowError(this);\n let error = showError ? errorMessage : null;\n\n const togglePassword = () => this.setState({ passwordVisible: !this.state.passwordVisible });\n const score = getScore(this.props.intl, strength, theme);\n if (\n !error &&\n this.state.focused &&\n typeof strength.score !== \"undefined\" &&\n !this.props.oldPassword\n ) {\n error = score.feedback;\n showError = true;\n }\n const value = this.props.value;\n const topClassNames = classnames({\n [theme[\"required-field\"]]: this.props.isRequired && !value,\n });\n const classNames = classnames(className, {\n [theme[\"with-hint\"]]: hasHint && !(showError && errorMessage),\n [score.className]: !this.props.oldPassword,\n });\n\n const props = {\n type: this.state.passwordVisible ? \"text\" : \"password\",\n className: classNames,\n label: label,\n value: this.state.value || \"\",\n error: showError && error ? error : hint,\n icon: icon,\n required: this.props.isRequired,\n autoFocus: autoFocus,\n disabled: disabled,\n name: this.props.name,\n theme: theme,\n onKeyPress: (e) => {\n // Make sure change is propagated to Formsy before submiting the form.\n // Couldn't find a better way.\n if (e.charCode === 13) {\n this.handleChange(this.state.value, true);\n }\n if (this.props.onKeyPress) {\n this.props.onKeyPress(e);\n }\n },\n onChange: (e) => this.handleChange(e, false),\n onFocus: (e) => {\n this.setState({ focused: true });\n if (this.props.onFocus) {\n this.props.onFocus(e);\n }\n },\n onBlur: (e) => {\n this.setState({ focused: false });\n this.handleChange(e.target.value, true);\n if (this.props.onBlur) {\n this.props.onBlur(e);\n }\n },\n };\n\n return (\n
    \n
    \n \n
    \n {(value || \"\").length > 0 && (\n
    \n {score.warning && (\n \n {this.props.intl.formatMessage(messages.warning) +\n this.props.intl.formatMessage(baseI18n.global.colon) +\n \" \" +\n score.warning}\n

    \n )}\n {score.suggestions && (\n \n {this.props.intl.formatMessage(messages.suggestions) +\n this.props.intl.formatMessage(baseI18n.global.colon) +\n \" \" +\n score.suggestions}\n

    \n )}\n
    \n )}\n {this.props.showPasswordGeneration && (\n
    \n

    \n this.generatePassword()}\n label={this.props.intl.formatMessage(passwordMessages.generatePassword)}\n icon=\"refresh\"\n disabled={this.props.disabled}\n />\n

    \n {this.state.generatedPassword && (\n

    \n {this.state.generatedPassword},\n }}\n />\n

    \n )}\n
    \n )}\n
    \n );\n }\n}\n\nexport const theme = { ...inputStyle, ...passwordInputStyle };\nconst ThemedPasswordInput = themr(\"AKPasswordInput\", theme)(PasswordInput);\nexport default withFormsy(injectIntl(ThemedPasswordInput));\n","import { defineMessages } from \"react-intl\";\n\nexport function getLanguageKey(language) {\n if (language.substring(0, 2) === \"fr\") {\n return keys.global.french;\n } else if (language.substring(0, 2) === \"en\") {\n return keys.global.english;\n } else {\n return keys.global.unknown;\n }\n}\n\nconst keys = {\n global: defineMessages({\n active: {\n id: \"personProfileForm.active\",\n description: \"Is active label\",\n defaultMessage: \"Is active?\",\n },\n none: {\n id: \"global.none\",\n description: \"None\",\n defaultMessage: \"None\",\n },\n english: {\n id: \"global.english\",\n description: \"English\",\n defaultMessage: \"English\",\n },\n french: {\n id: \"global.french\",\n description: \"French\",\n defaultMessage: \"French\",\n },\n notes: {\n id: \"global.notes\",\n description: \"Notes\",\n defaultMessage: \"Notes\",\n },\n unknown: {\n id: \"global.unknown\",\n description: \"Unknown\",\n defaultMessage: \"Unknown\",\n },\n accounts: {\n id: \"global.accounts\",\n description: \"Generic Accounts label\",\n defaultMessage: \"Accounts\",\n },\n confirm: {\n id: \"global.confirm\",\n description: \"Generic Confirm button label\",\n defaultMessage: \"Confirm\",\n },\n canceled: {\n id: \"global.canceled\",\n description: \"Canceled label\",\n defaultMessage: \"Canceled\",\n },\n sortBy: {\n id: \"global.sortBy\",\n description: \"Generic order by label\",\n defaultMessage: \"Sort by\",\n },\n score: {\n id: \"global.score\",\n description: \"Generic score label\",\n defaultMessage: \"Score\",\n },\n requestedBy: {\n id: \"global.requestedBy\",\n description: \"Generic requested by label\",\n defaultMessage: \"Requested by\",\n },\n reporter: {\n id: \"global.reporter\",\n description: \"Generic reporter label\",\n defaultMessage: \"Reporter\",\n },\n preview: {\n id: \"global.preview\",\n description: \"Generic Preview label\",\n defaultMessage: \"Preview\",\n },\n url: {\n id: \"global.url\",\n description: \"Generic URL label\",\n defaultMessage: \"URL\",\n },\n help: {\n id: \"global.help\",\n description: \"Generic Help label\",\n defaultMessage: \"Help\",\n },\n helpAndChat: {\n id: \"global.helpAndChat\",\n description: \"Generic Help label\",\n defaultMessage: \"Help / Support Chat\",\n },\n history: {\n id: \"global.history\",\n description: \"Generic History label\",\n defaultMessage: \"History\",\n },\n previous: {\n id: \"global.previous\",\n description: \"Generic Previous button\",\n defaultMessage: \"Previous\",\n },\n completeLater: {\n id: \"global.completeLater\",\n description: \"Generic complete later button\",\n defaultMessage: \"Complete later\",\n },\n print: {\n id: \"global.print\",\n description: \"Generic Print button\",\n defaultMessage: \"Print\",\n },\n download: {\n id: \"global.download\",\n description: \"Generic Download button\",\n defaultMessage: \"Download\",\n },\n downloadFailed: {\n id: \"global.downloadFailed\",\n description: \"Snackbar message to show when download / print PDF fails.\",\n defaultMessage:\n \"An error occurred with the file download. Please try again or contact your administrator.\",\n },\n downloadStarted: {\n id: \"global.downloadStarted\",\n description: \"Generic message for a download that starts\",\n defaultMessage: \"Your download has started and will be available soon.\",\n },\n import: {\n id: \"global.import\",\n description: \"Generic Import button\",\n defaultMessage: \"Import\",\n },\n next: {\n id: \"global.next\",\n description: \"Generic Next button\",\n defaultMessage: \"Next\",\n },\n labelYes: {\n id: \"global.labelYes\",\n description: \"Generic Yes label\",\n defaultMessage: \"Yes\",\n },\n labelNo: {\n id: \"global.labelNo\",\n description: \"Generic No label\",\n defaultMessage: \"No\",\n },\n labelDontKnow: {\n id: \"global.labelDontKnow\",\n description: \"Generic I don't know label\",\n defaultMessage: \"I don't know\",\n },\n colon: {\n id: \"global.colon\",\n description: \"A colon\",\n defaultMessage: \":\",\n },\n status: {\n id: \"global.status\",\n description: \"Generic Status Label\",\n defaultMessage: \"Status\",\n },\n select: {\n id: \"global.select\",\n description: \"Select an item somewhere\",\n defaultMessage: \"Select\",\n },\n open: {\n id: \"global.open\",\n description: \"Open an item somewhere\",\n defaultMessage: \"Open\",\n },\n dismiss: {\n id: \"global.dismiss\",\n description: \"Generic dismiss label\",\n defaultMessage: \"Dismiss\",\n },\n discard: {\n id: \"global.discard\",\n description: \"Generic discard label\",\n defaultMessage: \"Discard draft\",\n },\n draftSaved: {\n id: \"global.draftSaved\",\n description: \"Generic draft savec notification text\",\n defaultMessage: \"Your draft was successfully saved\",\n },\n save: {\n id: \"global.save\",\n description: \"Generic save button\",\n defaultMessage: \"Save\",\n },\n saveAndClose: {\n id: \"global.saveAndClose\",\n description: \"Generic save and close button\",\n defaultMessage: \"Save and close\",\n },\n saveDraft: {\n id: \"global.saveDraft\",\n description: \"Generic save draft button\",\n defaultMessage: \"Save draft\",\n },\n signPrint: {\n id: \"global.signPrint\",\n description: \"Sign and Print\",\n defaultMessage: \"Sign and Print\",\n },\n submit: {\n id: \"global.submit\",\n description: \"Generic submit button\",\n defaultMessage: \"Submit\",\n },\n archive: {\n id: \"global.archive\",\n description: \"Generic archive button\",\n defaultMessage: \"Archive\",\n },\n name: {\n id: \"global.name\",\n description: \"Generic name button\",\n defaultMessage: \"Name\",\n },\n nameEnglish: {\n id: \"global.nameEnglish\",\n description: \"Generic name button\",\n defaultMessage: \"Name (English)\",\n },\n nameFrench: {\n id: \"global.nameFrench\",\n description: \"Generic name button\",\n defaultMessage: \"Name (French)\",\n },\n noneFound: {\n id: \"global.noneFound\",\n description: \"Generic 'none found' label\",\n defaultMessage: \"None found.\",\n },\n finish: {\n id: \"global.finish\",\n description: \"Generic finish button\",\n defaultMessage: \"Finish\",\n },\n cancel: {\n id: \"global.cancel\",\n description: \"Generic cancel button\",\n defaultMessage: \"Cancel\",\n },\n cancelCase: {\n id: \"global.cancelCase\",\n description: \"Generic cancel case button\",\n defaultMessage: \"Cancel case\",\n },\n abort: {\n id: \"global.abort\",\n description: \"Generic abort button\",\n defaultMessage: \"Abort\",\n },\n fillAllMandatoryFields: {\n id: \"global.actions.fillAllMandatoryFields\",\n description: \"Complete all mandatory fields\",\n },\n begin: {\n id: \"global.begin\",\n description: \"Generic begin button\",\n defaultMessage: \"Begin\",\n },\n close: {\n id: \"global.close\",\n description: \"Generic close button\",\n defaultMessage: \"Close\",\n },\n create: {\n id: \"global.create\",\n description: \"Generic create button\",\n defaultMessage: \"Create\",\n },\n created: {\n id: \"global.created\",\n description: \"Generic created label\",\n defaultMessage: \"Created\",\n },\n lastUpdatedAt: {\n id: \"global.lastUpdatedAt\",\n description: \"Generic last updated at label\",\n defaultMessage: \"Last updated at:\",\n },\n lastUpdated: {\n id: \"global.lastUpdated\",\n description: \"Generic last updated label\",\n defaultMessage: \"Last updated\",\n },\n more: {\n id: \"global.more\",\n description: \"Show more\",\n defaultMessage: \"More\",\n },\n home: {\n id: \"global.home\",\n description: \"Home text\",\n defaultMessage: \"Home\",\n },\n hospital: {\n id: \"global.hospital\",\n description: \"Hospital text\",\n defaultMessage: \"Hospital\",\n },\n age: {\n id: \"global.age\",\n description: \"Age display\",\n defaultMessage: `{age, plural,\n other {#y} }`,\n },\n ageLabel: {\n id: \"global.ageLabel\",\n description: \"Age label\",\n defaultMessage: \"Age\",\n },\n descriptionLabel: {\n id: \"global.descriptionLabel\",\n description: \"Description label\",\n defaultMessage: \"Description\",\n },\n from: {\n id: \"global.from\",\n description: \"From\",\n defaultMessage: \"From\",\n },\n to: {\n id: \"global.to\",\n description: \"To\",\n defaultMessage: \"To\",\n },\n department: {\n id: \"global.department\",\n description: \"Department label\",\n defaultMessage: \"Department\",\n },\n departments: {\n id: \"global.departments\",\n description: \"Departments label\",\n defaultMessage: \"Departments\",\n },\n patient: {\n id: \"global.patient\",\n description: \"Patient label\",\n defaultMessage: \"Patient\",\n },\n clinicalDomain: {\n id: \"global.clinicalDomain\",\n description: \"Clinical domain label\",\n defaultMessage: \"Clinical domain\",\n },\n specialty: {\n id: \"global.specialty\",\n description: \"Specialty label\",\n defaultMessage: \"Specialty\",\n },\n specialties: {\n id: \"global.specialties\",\n description: \"Specialties label\",\n defaultMessage: \"Specialties\",\n },\n priority: {\n id: \"global.priority\",\n description: \"Generic Priority label\",\n defaultMessage: \"Priority\",\n },\n\n other: {\n id: \"global.other\",\n description: \"Generic 'other' option\",\n defaultMessage: \"Other\",\n },\n update: {\n id: \"global.update\",\n description: \"Generic 'update' label\",\n defaultMessage: \"Update\",\n },\n updated: {\n id: \"global.updated\",\n description: \"Generic 'updated' label\",\n defaultMessage: \"Updated\",\n },\n delete: {\n id: \"global.delete\",\n description: \"Generic 'delete' label\",\n defaultMessage: \"Delete\",\n },\n deleted: {\n id: \"global.deleted\",\n description: \"Generic 'deleted' label\",\n defaultMessage: \"Deleted\",\n },\n calendar: {\n id: \"global.calendar\",\n description: \"Calendar label\",\n defaultMessage: \"Calendar\",\n },\n caseId: {\n id: \"global.caseId\",\n description: \"Generic case ID label\",\n defaultMessage: \"Case ID\",\n },\n communication: {\n id: \"global.communication\",\n description: \"Generic Communication Label\",\n defaultMessage: \"Communication\",\n },\n complete: {\n id: \"global.complete\",\n description: \"Generic Message for a complete button\",\n defaultMessage: \"Complete\",\n },\n completedOn: {\n id: \"global.completedOn\",\n description: \"Generic Message for a case completed date\",\n defaultMessage: \"Completed On\",\n },\n comments: {\n id: \"global.comments\",\n description: \"Generic comments label\",\n defaultMessage: \"Comments\",\n },\n error: {\n id: \"global.error\",\n description: \"Generic Error label\",\n defaultMessage: \"Error\",\n },\n edit: {\n id: \"global.edit\",\n description: \"Generic Edit label\",\n defaultMessage: \"Edit\",\n },\n statistics: {\n id: \"global.statistics\",\n description: \"Generic Statistics label\",\n defaultMessage: \"Statistics\",\n },\n date: {\n id: \"global.date\",\n description: \"Generic Date label\",\n defaultMessage: \"Date\",\n },\n view: {\n id: \"global.view\",\n description: \"Generic View label\",\n defaultMessage: \"View\",\n },\n you: {\n id: \"global.you\",\n description: \"Generic You label\",\n defaultMessage: \"You\",\n },\n relationshipType: {\n id: \"global.relationshipType\",\n description: \"Generic relationship type label\",\n defaultMessage: \"Relationship to the patient\",\n },\n show: {\n id: \"global.show\",\n description: \"Show label\",\n defaultMessage: \"Show\",\n },\n hide: {\n id: \"global.hide\",\n description: \"Hide label\",\n defaultMessage: \"Hide\",\n },\n email: {\n id: \"global.email\",\n description: \"Generic email label\",\n defaultMessage: \"Email\",\n },\n new: {\n id: \"global.actions.new\",\n description: \"Generic new label\",\n defaultMessage: \"New\",\n },\n sites: {\n id: \"global.sites\",\n description: \"Generic 'Sites' label.\",\n },\n languages: {\n id: \"global.languages\",\n description: \"Generic 'Language' label.\",\n },\n licenseNumber: {\n id: \"global.licenseNumber\",\n description: \"Generic license number label\",\n defaultMessage: \"License Number\",\n },\n roles: {\n id: \"global.roles\",\n description: \"Roles label\",\n defaultMessage: \"Roles\",\n },\n ok: {\n id: \"global.ok\",\n description: \"Ok label\",\n defaultMessage: \"Ok\",\n },\n version: {\n id: \"global.version\",\n description: \"Version\",\n defaultMessage: \"Version\",\n },\n }),\n likert: defineMessages({\n o1: {\n id: \"likert.o1\",\n description: \"Likert scale option 1\",\n defaultMessage: \"Strongly disagree\",\n },\n o2: {\n id: \"likert.o2\",\n description: \"Likert scale option 2\",\n defaultMessage: \"Disagree\",\n },\n o3: {\n id: \"likert.o3\",\n description: \"Likert scale option 3\",\n defaultMessage: \"Neither agree nor disagree\",\n },\n o4: {\n id: \"likert.o4\",\n description: \"Likert scale option 4\",\n defaultMessage: \"Agree\",\n },\n o5: {\n id: \"likert.o5\",\n description: \"Likert scale option 5\",\n defaultMessage: \"Strongly agree\",\n },\n }),\n splash: defineMessages({\n loading: {\n id: \"splash.loading\",\n description: \"Splash screen loading text\",\n defaultMessage: \"Loading application...\",\n },\n }),\n error: defineMessages({\n title: {\n id: \"error.title\",\n description: \"Title of display when a global error occurs\",\n defaultMessage: \"An error occurred...\",\n },\n retry: {\n id: \"error.retry\",\n description: \"Retry button display text\",\n defaultMessage: \"Retry\",\n },\n pageNotFound: {\n id: \"error.pageNotFound\",\n description: \"Page not found\",\n defaultMessage: \"404 Page Not Found\",\n },\n maxLength: {\n id: \"error.maxLength\",\n description: \"Error message for maxLength on input\",\n defaultMessage: `Enter at most {characters, plural,\n =0 {0 char}\n one {1 char}\n other {# chars}\n }`,\n },\n dateFormat: {\n id: \"error.dateFormat\",\n description: \"Error message for date format on input\",\n defaultMessage: `Enter a valid date in the YYYY-MM-DD format.`,\n },\n fieldRequired: {\n id: \"error.fieldRequired\",\n description: \"Error message for a required field\",\n defaultMessage: `Enter a value.`,\n },\n fieldRequiredChoice: {\n id: \"error.fieldRequiredChoice\",\n description: \"Error message for a required field that is a choice\",\n defaultMessage: `Choose a value.`,\n },\n fieldRequiredChoiceMin: {\n id: \"error.fieldRequiredChoiceMin\",\n description: \"Error message for a required field that is a choice with min value\",\n defaultMessage: `Choose at least {min} {min, plural, one {value} other {values}}.`,\n },\n fieldRequiredChoiceMax: {\n id: \"error.fieldRequiredChoiceMax\",\n description: \"Error message for a required field that is a choice with max value\",\n defaultMessage: `Choose at most {max} {max, plural, one {value} other {values}}.`,\n },\n fieldRequiredChoiceMinMax: {\n id: \"error.fieldRequiredChoiceMinMax\",\n description: \"Error message for a required field that is a choice with min and max value\",\n defaultMessage: `Choose between {min} and {max} values.`,\n },\n fieldRequiredChoiceExactly: {\n id: \"error.fieldRequiredChoiceExactly\",\n description: \"Error message for a required field that is a choice with exact value\",\n defaultMessage: `Choose exactly {min} values.`,\n },\n numberFormat: {\n id: \"error.numberFormat\",\n description: \"Error message for a number badly formatted\",\n defaultMessage: `Enter a valid number.`,\n },\n numberMin: {\n id: \"error.numberMin\",\n description: \"Error message for a number below minimum\",\n defaultMessage: `Enter a number greater than {min}.`,\n },\n numberMax: {\n id: \"error.numberMax\",\n description: \"Error message for a number over maximum\",\n defaultMessage: `Enter a number lesser than {max}.`,\n },\n numberMinMax: {\n id: \"error.numberMinMax\",\n description: \"Error message for a number between minimum and maximum\",\n defaultMessage: `Enter a number between {min} and {max}.`,\n },\n minValue: {\n id: \"error.minValue\",\n description: \"Error message for a number below minimum\",\n defaultMessage: `Enter a number of at least {min}.`,\n },\n maxValue: {\n id: \"error.maxValue\",\n description: \"Error message for a number over maximum\",\n defaultMessage: `Enter a number of at most {max}.`,\n },\n }),\n networks: defineMessages({\n listLabel: {\n id: \"networks.listLabel\",\n description: \"Networks label\",\n defaultMessage: \"Networks\",\n },\n network: {\n id: \"networks.network\",\n description: \"Network label\",\n defaultMessage: \"Network\",\n },\n }),\n forms: defineMessages({\n form: {\n id: \"forms.form\",\n description: \"Form\",\n defaultMessage: \"Form\",\n },\n }),\n hospitals: defineMessages({\n patientId: {\n id: \"hospitals.patientId\",\n description: \"label for a patient's ID for a specific hospital\",\n defaultMessage: \"Hospital PID:\",\n },\n id: {\n id: \"hospitals.id\",\n description: \"Hospital identifier\",\n defaultMessage: \"Hospital ID\",\n },\n listLabel: {\n id: \"hospitals.listLabel\",\n description: \"Hospital list label\",\n defaultMessage: \"Hospitals\",\n },\n hospital: {\n id: \"hospitals.hospital\",\n description: \"Hospital label\",\n defaultMessage: \"Hospital\",\n },\n mrn: {\n id: \"hospitals.mrn\",\n description: \"Hospital MRN label\",\n defaultMessage: \"MRN\",\n },\n }),\n patients: {\n other: defineMessages({\n carer: {\n id: \"patients.other.carer\",\n description: \"Carer label\",\n defaultMessage: \"Carer\",\n },\n uniqueId: {\n id: \"patients.other.uniqueId\",\n description: \"Unique ID label\",\n defaultMessage: \"Patient MRN\",\n },\n fileLabel: {\n id: \"patients.other.fileLabel\",\n description: \"Filelabel\",\n defaultMessage: \"File\",\n },\n healthInsuranceLabelShort: {\n id: \"patients.other.healthInsuranceLabelShort\",\n description: \"Short label of the health insurance number\",\n defaultMessage: \"HIN\",\n },\n choosePatient: {\n id: \"patients.other.choosePatient\",\n description: \"Choose patient label\",\n defaultMessage: \"Choose a patient\",\n },\n choosePatientRequired: {\n id: \"patients.other.choosePatientRequired\",\n description: \"Choose patient required error message\",\n defaultMessage: \"Please choose a patient.\",\n },\n }),\n search: defineMessages({\n label: {\n id: \"patients.search.label\",\n description: \"Search patients label\",\n defaultMessage: \"Search patients\",\n },\n noneFound: {\n id: \"patients.search.noneFound\",\n description: \"Text to show when search returned no results for patients\",\n defaultMessage: \"No patients found...\",\n },\n viewStatistics: {\n id: \"patients.search.viewStatistics\",\n description: \"View Statistics Patient Label\",\n defaultMessage: \"View stats\",\n },\n }),\n deceaseInformation: defineMessages({\n label: {\n id: \"patients.deceaseInformation.label\",\n description: \"Decease information\",\n defaultMessage: \"Decease Information\",\n },\n deceased: {\n id: \"patients.deceaseInformation.deceased\",\n description: \"Deceased\",\n defaultMessage: \"Deceased\",\n },\n deceasedSince: {\n id: \"patients.deceaseInformation.deceasedSince\",\n description: \"Deceased since\",\n defaultMessage: \"Deceased since\",\n },\n }),\n familyPhysician: defineMessages({\n label: {\n id: \"patients.familyPhysician.label\",\n description: \"Family physician\",\n defaultMessage: \"Family Physician\",\n },\n treatingPhysician: {\n id: \"patients.familyPhysician.treatingPhysician\",\n description: \"Treating physician\",\n defaultMessage: \"Treating Physician\",\n },\n since: {\n id: \"patients.familyPhysician.since\",\n description: \"Family physician since\",\n defaultMessage: \"Since\",\n },\n sinceMonth: {\n id: \"patients.familyPhysician.sinceMonth\",\n description: \"Family physician since month\",\n defaultMessage: \"Since (Month)\",\n },\n sinceYear: {\n id: \"patients.familyPhysician.sinceYear\",\n description: \"Family physician since\",\n defaultMessage: \"(Year)\",\n },\n searchLabel: {\n id: \"patients.familyPhysician.searchLabel\",\n description: \"Search patients label\",\n defaultMessage: \"Search physicians\",\n },\n noneFound: {\n id: \"patients.familyPhysician.noneFound\",\n description: \"No results\",\n defaultMessage: \"None found...\",\n },\n }),\n address: defineMessages({\n fieldsetLabel: {\n id: \"patients.address.fieldsetLabel\",\n description: \"Address information\",\n defaultMessage: \"Contact\",\n },\n postalCodeFormatError: {\n id: \"patients.address.postalCode.format.error\",\n description: \"Error message for postal code format\",\n defaultMessage: \"Please enter a postal code matching the format 'A1A 1A1'.\",\n },\n telephoneNumberFormatError: {\n id: \"patients.address.telephoneNumber.format.error\",\n description: \"Error message for telephone number format\",\n defaultMessage:\n \"Please enter a telephone number matching the format '999 999-9999 [x99999999]'.\",\n },\n emailFormatError: {\n id: \"patients.address.email.format.error\",\n description: \"Error message for email format\",\n defaultMessage: \"Please enter a email matching the format 'test@example.org'.\",\n },\n address: {\n id: \"patients.address.address\",\n description: \"Address label (number, street, apt.)\",\n defaultMessage: \"Address\",\n },\n city: {\n id: \"patients.address.city\",\n description: \"City label\",\n defaultMessage: \"city\",\n },\n postalCode: {\n id: \"patients.address.postalCode\",\n description: \"Postal Code label\",\n defaultMessage: \"Postal code\",\n },\n provinceCode: {\n id: \"patients.address.provinceCode\",\n description: \"Province drop-down label\",\n defaultMessage: \"Province (Canada)\",\n },\n provinceName: {\n id: \"patients.address.provinceName\",\n description: \"Province name label\",\n defaultMessage: \"Province or State name\",\n },\n countryCode: {\n id: \"patients.address.countryCode\",\n description: \"Country label\",\n defaultMessage: \"Country\",\n },\n telephoneHome: {\n id: \"patients.address.telephoneHome\",\n description: \"Home telephone label\",\n defaultMessage: \"Telephone (Home)\",\n },\n telephoneWork: {\n id: \"patients.address.telephoneWork\",\n description: \"Work telephone label\",\n defaultMessage: \"Telephone (Work)\",\n },\n telephoneCellular: {\n id: \"patients.address.telephoneCellular\",\n description: \"Cellular telephone label\",\n defaultMessage: \"Telephone (Cellular)\",\n },\n telephonePager: {\n id: \"patients.address.telephonePager\",\n description: \"Pager number label\",\n defaultMessage: \"Pager\",\n },\n messaging: {\n id: \"patients.address.messaging\",\n description: \"Other contact label\",\n defaultMessage: \"Other messaging options\",\n },\n email: {\n id: \"patients.address.email\",\n description: \"Email label\",\n defaultMessage: \"Email\",\n },\n }),\n ramq: defineMessages({\n fieldsetLabel: {\n id: \"patients.ramq.fieldsetLabel\",\n description: \"RAMQ fieldset label\",\n defaultMessage: \"RAMQ\",\n },\n fieldsetHealthInsuranceLabel: {\n id: \"patients.ramq.fieldsetHealthInsuranceLabel\",\n description: \"Health Insurance fieldset label\",\n defaultMessage: \"Health Insurance\",\n },\n label: {\n id: \"patients.ramq.label\",\n description: \"RAMQ label\",\n defaultMessage: \"RAMQ:\",\n },\n healthInsuranceLabel: {\n id: \"patients.ramq.healthInsuranceLabel\",\n description: \"Health Insurance label\",\n defaultMessage: \"HIN ({code}):\",\n },\n provinceCodeLabel: {\n id: \"patients.ramq.provinceCodeLabel\",\n description: \"Health Insurance province code label\",\n defaultMessage: \"Health Insurance Province:\",\n },\n number: {\n id: \"patients.ramq.number\",\n description: \"RAMQ label for form\",\n defaultMessage: \"RAMQ Number\",\n },\n healthInsuranceNumber: {\n id: \"patients.ramq.healthInsuranceNumber\",\n description: \"Health Insurance Number label for form\",\n defaultMessage: \"Health Insurance Number\",\n },\n numberFormatError: {\n id: \"patients.ramq.number.format.error\",\n description: \"Error to show when the RAMQ number is not in the right format.\",\n defaultMessage: \"Please enter a number matching the format 'AAAA11111111'.\",\n },\n expirationMonth: {\n id: \"patients.ramq.expirationMonth\",\n description: \"RAMQ expiration label for form (Month only)\",\n defaultMessage: \"Expiration date (Month)\",\n },\n expiration: {\n id: \"patients.ramq.expiration\",\n description: \"RAMQ expiration label for form (native picker)\",\n defaultMessage: \"Expiration date\",\n },\n expirationYear: {\n id: \"patients.ramq.expirationYear\",\n description: \"RAMQ expiration label for form (Year only)\",\n defaultMessage: \"(Year)\",\n },\n hl7RelationshipCode: {\n id: \"patients.ramq.hl7RelationshipCode\",\n description: \"RAMQ Relay Code for HL7 integration\",\n defaultMessage: \"HL7 Relay Code\",\n },\n }),\n demographic: defineMessages({\n fieldsetLabel: {\n id: \"patients.demographic.fieldsetLabel\",\n description: \"Demographic information\",\n defaultMessage: \"Demographic information\",\n },\n socialInsuranceNumber: {\n id: \"patients.demographic.socialInsuranceNumber\",\n description: \"Social Insurance Number\",\n defaultMessage: \"Social Insurance Number\",\n },\n socialInsuranceNumberFormatError: {\n id: \"patients.demographic.socialInsuranceNumber.format.error\",\n description: \"Error message for SIN format\",\n defaultMessage: \"Please enter a SIN matching the format '111 111 111'.\",\n },\n birthdayFormatError: {\n id: \"patients.address.birthday.format.error\",\n description: \"Error message for birthday error\",\n defaultMessage: \"Please enter a birthday which is not in the future.\",\n },\n firstName: {\n id: \"patients.demographic.firstName\",\n description: \"First name label\",\n defaultMessage: \"First Name\",\n },\n lastName: {\n id: \"patients.demographic.lastName\",\n description: \"Last name label\",\n defaultMessage: \"Last Name\",\n },\n lastNameShort: {\n id: \"patients.demographic.lastNameShort\",\n description: \"Last name label, short version\",\n defaultMessage: \"Name\",\n },\n middleName: {\n id: \"patients.demographic.middleName\",\n description: \"Middle name label\",\n defaultMessage: \"Middle Name\",\n },\n fatherFirstName: {\n id: \"patients.demographic.fatherFirstName\",\n description: \"Father first name label\",\n defaultMessage: \"Father First Name\",\n },\n fatherLastName: {\n id: \"patients.demographic.fatherLastName\",\n description: \"Father last name label\",\n defaultMessage: \"Father Last Name\",\n },\n fatherName: {\n id: \"patients.demographic.fatherName\",\n description: \"Father complete name\",\n defaultMessage: \"Name of the father\",\n },\n motherFirstName: {\n id: \"patients.demographic.motherFirstName\",\n description: \"Mother first name label\",\n defaultMessage: \"Mother First Name\",\n },\n motherLastName: {\n id: \"patients.demographic.motherLastName\",\n description: \"Mother last name label\",\n defaultMessage: \"Mother Last Name\",\n },\n motherMaidenName: {\n id: \"patients.demographic.motherMaidenName\",\n description: \"Mother maiden name label\",\n defaultMessage: \"Mother Maiden Name\",\n },\n motherName: {\n id: \"patients.demographic.motherName\",\n description: \"Mother complete name label\",\n defaultMessage: \"Name of the mother\",\n },\n gender: {\n id: \"patients.demographic.gender\",\n description: \"Gender label\",\n defaultMessage: \"Gender\",\n },\n genderMale: {\n id: \"patients.demographic.genderMale\",\n description: \"Gender male label\",\n defaultMessage: \"Male\",\n },\n genderFemale: {\n id: \"patients.demographic.genderFemale\",\n description: \"Gender female label\",\n defaultMessage: \"Female\",\n },\n genderOther: {\n id: \"patients.demographic.genderOther\",\n description: \"Gender other label\",\n defaultMessage: \"Not determined\",\n },\n notAvailable: {\n id: \"patients.demographic.notAvailable\",\n description: \"Not available label\",\n defaultMessage: \"N.A.\",\n },\n age: {\n id: \"patients.demographic.age\",\n description: \"Age label\",\n defaultMessage: \"Age\",\n },\n birthday: {\n id: \"patients.demographic.birthday\",\n description: \"Birthday label\",\n defaultMessage: \"Birthday\",\n },\n birthdayFormat: {\n id: \"patients.demographic.birthdayFormat\",\n description: \"Birthday label with format\",\n defaultMessage: \"Birthday (yyyy/mm/dd)\",\n },\n sex: {\n id: \"patients.demographic.sex\",\n description: \"Sexe label\",\n defaultMessage: \"Sex\",\n },\n }),\n },\n};\n\nexport default keys;\n","export const messages = {\n title: {\n id: \"errorLayout.title\",\n description: \"Error layout title\",\n },\n description: {\n id: \"errorLayout.description\",\n description: \"Error layout description\",\n },\n buttons: {\n back: {\n id: \"errorLayout.buttons.back\",\n description: \"Error layout title\",\n },\n retry: {\n id: \"errorLayout.buttons.retry\",\n description: \"Error layout title\",\n },\n view: {\n id: \"errorLayout.buttons.view\",\n description: \"Error layout title\",\n },\n },\n};\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Layout, Card, Title, ButtonGroup, Button } from \"@akinoxsolutions/gerudo-ui\";\nimport { withRouter, routerShape } from \"react-router\";\n\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport LocalizedRUISSSMcGillLogo from \"~/src/js/components/forms/shared/muhc/LocalizedRUISSSMcGillLogo\";\nimport { useToggle } from \"~/src/js/hooks\";\nimport { URLs } from \"~/src/js/constants\";\n\nimport styles from \"./ErrorLayout.style\";\nimport { messages } from \"./ErrorLayout.i18n\";\n\nconst ErrorLayout = ({ error, retry, router: { push } }) => {\n const [showError, toggleShowError] = useToggle(false);\n\n const primaryButton = error.message.includes(\"retry\") ? (\n \n ) : (\n \n );\n\n return (\n \n \n \n \n <FormattedMessage {...messages.title} />\n \n \n \n \n \n {primaryButton}\n \n \n {showError && }\n \n \n );\n};\n\nErrorLayout.propTypes = {\n router: routerShape,\n error: PropTypes.node.isRequired,\n retry: PropTypes.func.isRequired,\n};\n\nexport default withRouter(ErrorLayout);\n","import React from \"react\";\nimport Relay from \"react-relay/classic\";\n\nimport { ErrorLayout } from \"~/src/js/components/shared/ErrorLayout\";\nimport SplashScreen from \"~/src/js/components/shared/splashScreen\";\n\nexport function RenderWithSplashAndError(x) {\n if (x.error) {\n return ;\n }\n\n if (!x.props) {\n return x.element.type.noSplash ? (\n React.cloneElement(x.element, { viewer: null })\n ) : (\n \n );\n }\n\n x.props.isLoading = !x.done;\n return React.cloneElement(x.element, x.props);\n}\n\nexport const ViewerQueries = { viewer: () => Relay.QL`query { viewer }` };\n","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".SplashScreenLoader-style__container___1dikb{width:100%;text-align:center;margin-top:auto;margin-bottom:auto}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"container\": \"SplashScreenLoader-style__container___1dikb\"\n};","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./Stepper.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./Stepper.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./Stepper.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import Relay from \"react-relay/classic\";\n\nexport default class UploadAttachmentsMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(UploadAttachmentsMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { uploadAttachments }`;\n }\n\n getVariables() {\n return {\n files: this.props.fileData,\n };\n }\n\n getFiles() {\n return this.props.files;\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on UploadAttachmentsPayload {\n uploadedFiles\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on UploadAttachmentsPayload {\n uploadedFiles {\n isUploading\n fileName\n extension\n url\n previewUrl\n size\n description\n documentTypeId\n bodyParts {\n id\n code\n name\n }\n permissions {\n canDelete\n canEditDescription\n canEditDocumentType\n canEditBodyParts\n }\n uploadedOn\n user {\n person {\n fullName\n }\n }\n }\n }\n `,\n ],\n },\n ];\n }\n}\n","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@-webkit-keyframes input__error-animation___eLgUt{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}@keyframes input__error-animation___eLgUt{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}.input__animate-error___v49SW{background:#fff5f5;-webkit-animation:input__error-animation___eLgUt 1s 3 alternate;animation:input__error-animation___eLgUt 1s 3 alternate;border:2px solid #f00}.input__animate-error___v49SW *:not([data-react-toolbox]){background:transparent !important}.gerudo-input input::-webkit-input-placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input::placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input:disabled{color:#424242 !important;font-weight:400 !important}.gerudo-input input:disabled::-webkit-input-placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.gerudo-input input:disabled::placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.input__errored___1bz4c .input__inputElement___2Yjny{background-color:#fff5f5 !important;border-color:#de3226 !important}.input__errored___1bz4c .input__icon___3tBIB{color:rgba(200,0,0,0.26) !important}.input__required___3QH3u{color:red}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"animate-error\": \"input__animate-error___v49SW\",\n\t\"error-animation\": \"input__error-animation___eLgUt\",\n\t\"errored\": \"input__errored___1bz4c\",\n\t\"inputElement\": \"input__inputElement___2Yjny\",\n\t\"icon\": \"input__icon___3tBIB\",\n\t\"required\": \"input__required___3QH3u\"\n};","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./searchToolbar.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./searchToolbar.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./searchToolbar.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./PersonInformation.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./PersonInformation.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./PersonInformation.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./collapsibleCard.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./collapsibleCard.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./collapsibleCard.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".patientAssessmentForm-style__signature-container___2X7pA .patientAssessmentForm-style__signature___iKN4Q{display:flex;flex-direction:row;justify-content:flex-start}@media (max-width: 641px){.patientAssessmentForm-style__signature-container___2X7pA .patientAssessmentForm-style__signature___iKN4Q{flex-direction:column}}.patientAssessmentForm-style__signature-container___2X7pA .patientAssessmentForm-style__signature___iKN4Q .patientAssessmentForm-style__signature-col___1jz5h{padding-right:5rem}.patientAssessmentForm-style__margin-bottom-footer___1VmQt{margin-bottom:20rem}@media print{.patientAssessmentForm-style__case-clinical-notes-container___cSVme{page-break-before:always}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"signature-container\": \"patientAssessmentForm-style__signature-container___2X7pA\",\n\t\"signature\": \"patientAssessmentForm-style__signature___iKN4Q\",\n\t\"signature-col\": \"patientAssessmentForm-style__signature-col___1jz5h\",\n\t\"margin-bottom-footer\": \"patientAssessmentForm-style__margin-bottom-footer___1VmQt\",\n\t\"case-clinical-notes-container\": \"patientAssessmentForm-style__case-clinical-notes-container___cSVme\"\n};","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".mobileList-theme__list___17O-Q{margin:0}.mobileList-theme__item___1fVgM{align-items:flex-start}.mobileList-theme__item___1fVgM .mobileList-theme__itemContentRoot___1VSM7{height:auto !important;white-space:normal;margin-bottom:0.5rem}.mobileList-theme__item___1fVgM .mobileList-theme__itemContentRoot___1VSM7 .mobileList-theme__itemText___bxiLM:not(.mobileList-theme__primary___3Zsni){margin-left:0.5rem}.mobileList-theme__item___1fVgM .mobileList-theme__itemContentRoot___1VSM7 h5{margin-top:1rem}.mobileList-theme__item___1fVgM .mobileList-theme__itemContentRoot___1VSM7 ul{list-style:none;margin-left:1rem}.mobileList-theme__item___1fVgM .mobileList-theme__itemContentRoot___1VSM7 ul li{border-bottom:1px solid #cccccc;margin-bottom:0.5rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"list\": \"mobileList-theme__list___17O-Q\",\n\t\"item\": \"mobileList-theme__item___1fVgM\",\n\t\"itemContentRoot\": \"mobileList-theme__itemContentRoot___1VSM7\",\n\t\"itemText\": \"mobileList-theme__itemText___bxiLM\",\n\t\"primary\": \"mobileList-theme__primary___3Zsni\"\n};","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./customSlider.theme.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./customSlider.theme.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./customSlider.theme.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Note-style__note-container___5mLVe{padding-top:1rem;margin:1rem 0}@media (max-width: 641px){.Note-style__note-container___5mLVe{margin-left:1rem}}.Note-style__note-container___5mLVe:not(:first-of-type){border-top:1px solid #f2f2f2}@media print{.Note-style__note-container___5mLVe{padding:1rem;margin:1.5rem 0 0;border:1px solid #f2f2f2;border-radius:0.5rem}}.Note-style__note-container___5mLVe .Note-style__note-files___tY-AA{padding-top:1rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"note-container\": \"Note-style__note-container___5mLVe\",\n\t\"note-files\": \"Note-style__note-files___tY-AA\"\n};","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".tabs__tabs___20ISf .tabs__active___1RGql.tabs__label___1yKIz a>span,.tabs__tabs___20ISf .tabs__active___1RGql [data-react-toolbox=\\\"font-icon\\\"]{color:#009688 !important}.tabs__tabs___20ISf .tabs__active___1RGql [data-react-toolbox=\\\"chip\\\"]{background-color:#009688;color:#fff}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"tabs\": \"tabs__tabs___20ISf\",\n\t\"active\": \"tabs__active___1RGql\",\n\t\"label\": \"tabs__label___1yKIz\"\n};","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".filesInput-style__dropzone___w_l2- .filesInput-style__dropzone-inner___3ZskO{text-align:center;padding:0.5rem;background:#f9f9f9;border-radius:1em;border:1px solid #f9f9f9;font-size:1.5rem;cursor:pointer}.filesInput-style__dropzone___w_l2- .filesInput-style__dropzone-inner___3ZskO [data-react-toolbox=\\\"font-icon\\\"]{font-size:2.5rem}.filesInput-style__dropzone___w_l2- .filesInput-style__dropzone-inner___3ZskO.filesInput-style__dropzone-hovered___28VaI{opacity:0.5;border:1px solid #ccc}.filesInput-style__icon-whitespace___28Rv0{margin-left:4.8rem;width:calc(100% - 3.8rem) !important}.filesInput-style__with-icon___3fzx-{position:relative;margin-left:4.8rem}.filesInput-style__icon___1i8Db{top:0 !important}.filesInput-style__listItem___3mAPm{margin-bottom:0.4rem;border-bottom:1px solid #ccc;-webkit-column-break-inside:avoid;page-break-inside:avoid;break-inside:avoid}.filesInput-style__listItem___3mAPm .filesInput-style__item___2HAl2{min-height:0.5rem !important;height:auto !important;flex-wrap:wrap}.filesInput-style__listItem___3mAPm .filesInput-style__item___2HAl2 .filesInput-style__left___uUN79{flex:unset}.filesInput-style__listItem___3mAPm .filesInput-style__item___2HAl2 .filesInput-style__left___uUN79 .filesInput-style__itemAction___T9IVc{min-width:4.8rem}.filesInput-style__listItem___3mAPm .filesInput-style__item___2HAl2 .filesInput-style__left___uUN79 [data-react-toolbox=\\\"progress-bar\\\"],.filesInput-style__listItem___3mAPm .filesInput-style__item___2HAl2 .filesInput-style__itemContentRoot___38LBZ [data-react-toolbox=\\\"progress-bar\\\"]{background-color:#ccc}.filesInput-style__listItem___3mAPm .filesInput-style__right___1i7zY .filesInput-style__itemAction___T9IVc{margin-right:0 !important}.filesInput-style__listItem___3mAPm .filesInput-style__right___1i7zY .filesInput-style__itemAction___T9IVc [data-react-toolbox=\\\"font-icon\\\"]{margin-right:1rem;color:#505050 !important}@media all and (max-width: 40rem){.filesInput-style__listItem___3mAPm .filesInput-style__right___1i7zY{flex:0 0 100%;justify-content:flex-end}.filesInput-style__listItem___3mAPm .filesInput-style__right___1i7zY .filesInput-style__itemAction___T9IVc{margin-right:2rem !important}.filesInput-style__listItem___3mAPm .filesInput-style__right___1i7zY .filesInput-style__itemAction___T9IVc [data-react-toolbox=\\\"font-icon\\\"]{font-size:3.5rem}}.filesInput-style__listItem___3mAPm .filesInput-style__itemAction___T9IVc{margin:0.5rem 1.2rem 0.5rem 0}@media print{.filesInput-style__listItem___3mAPm .filesInput-style__itemAction___T9IVc{display:none !important}}.filesInput-style__listItem___3mAPm .filesInput-style__itemAction___T9IVc img{max-width:5rem;max-height:5rem}.filesInput-style__listItem___3mAPm .filesInput-style__itemContentRoot___38LBZ{height:auto !important}.filesInput-style__listItem___3mAPm .filesInput-style__itemText___3JaVX.filesInput-style__primary___2NkOA{font-size:1.4rem !important;white-space:normal !important;word-break:break-all}.filesInput-style__listItem___3mAPm .filesInput-style__itemText___3JaVX{font-size:1.3rem !important;padding-top:0 !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"dropzone\": \"filesInput-style__dropzone___w_l2-\",\n\t\"dropzone-inner\": \"filesInput-style__dropzone-inner___3ZskO\",\n\t\"dropzone-hovered\": \"filesInput-style__dropzone-hovered___28VaI\",\n\t\"icon-whitespace\": \"filesInput-style__icon-whitespace___28Rv0\",\n\t\"with-icon\": \"filesInput-style__with-icon___3fzx-\",\n\t\"icon\": \"filesInput-style__icon___1i8Db\",\n\t\"listItem\": \"filesInput-style__listItem___3mAPm\",\n\t\"item\": \"filesInput-style__item___2HAl2\",\n\t\"left\": \"filesInput-style__left___uUN79\",\n\t\"itemAction\": \"filesInput-style__itemAction___T9IVc\",\n\t\"itemContentRoot\": \"filesInput-style__itemContentRoot___38LBZ\",\n\t\"right\": \"filesInput-style__right___1i7zY\",\n\t\"itemText\": \"filesInput-style__itemText___3JaVX\",\n\t\"primary\": \"filesInput-style__primary___2NkOA\"\n};","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".RecordSignature-styles__record-signature-container___2-LNo{display:flex;border:1px solid #009688;background-color:rgba(0,150,136,0.05);border-radius:0.5rem;justify-content:center;align-items:center;min-height:10rem;margin-bottom:4rem}.RecordSignature-styles__record-signature-container___2-LNo.RecordSignature-styles__disabled___cYL1K{border:1px solid #c5c5c5;background-color:rgba(197,197,197,0.15)}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"record-signature-container\": \"RecordSignature-styles__record-signature-container___2-LNo\",\n\t\"disabled\": \"RecordSignature-styles__disabled___cYL1K\"\n};","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./SplashScreenLoader.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./SplashScreenLoader.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./SplashScreenLoader.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport messages from \"../i18n\";\nimport styles from \"../style.scss\";\n\nconst Mrn = ({\n case: {\n data: { fromDepartment, toDepartment },\n patient: { hospitals },\n },\n intl: { formatMessage },\n}) => {\n const mrnCISSO = hospitals.edges.find((x) => x.node.hospital.id === fromDepartment.hospital.id)\n .node.uniqueId;\n const mrnCUSM = toDepartment\n ? (hospitals.edges.find((x) => x.node.hospital.id === toDepartment.hospital.id) || { node: {} })\n .node.uniqueId\n : \"\";\n\n return (\n
    \n

    {formatMessage(messages.mrn)}

    \n

    \n CISSSO : {mrnCISSO}\n

    \n

    \n CUSM : {mrnCUSM}\n

    \n
    \n );\n};\n\nMrn.propTypes = {\n case: PropTypes.object,\n intl: intlShape,\n};\n\nexport default Relay.createContainer(injectIntl(Mrn), {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n id\n patient {\n hospitals(first: 100) {\n edges {\n node {\n uniqueId\n hospital {\n id\n }\n }\n }\n }\n }\n\n data {\n ... on ConversationConsultData {\n fromDepartment {\n id\n hospital {\n id\n }\n }\n toDepartment {\n id\n hospital {\n id\n }\n }\n }\n ... on ThoracicSurgeryData {\n fromDepartment {\n id\n hospital {\n id\n }\n }\n toDepartment {\n id\n hospital {\n id\n }\n }\n }\n }\n }\n `,\n },\n});\n","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".personAvatar-style__person-avatar___2Po8D.personAvatar-style__no-picture___3w4XT{line-height:40px}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"person-avatar\": \"personAvatar-style__person-avatar___2Po8D\",\n\t\"no-picture\": \"personAvatar-style__no-picture___3w4XT\"\n};","\nvar content = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./NewMessagePatientCommunication.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./NewMessagePatientCommunication.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./NewMessagePatientCommunication.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".dialog__body___3eRYg{overflow:auto}.dialog__normal___6aOuB{width:75vw !important}@media screen and (max-width: 600px){.dialog__normal___6aOuB{width:96vw !important}}@media screen and (min-width: 1440px){.dialog__normal___6aOuB{width:50vw !important}}.dialog__dialog___1xnD4{max-width:1600px !important}@media screen and (max-width: 600px){.dialog__dialog___1xnD4 .dialog__body___3eRYg{padding:1rem !important}.dialog__dialog___1xnD4 .dialog__navigation___16eTY [data-react-toolbox=\\\"font-icon\\\"]{margin-right:0}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"body\": \"dialog__body___3eRYg\",\n\t\"normal\": \"dialog__normal___6aOuB\",\n\t\"dialog\": \"dialog__dialog___1xnD4\",\n\t\"navigation\": \"dialog__navigation___16eTY\"\n};","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withFormsy } from \"formsy-react\";\nimport { DatePicker as GerudoDatePicker } from \"@akinoxsolutions/gerudo-ui\";\nimport moment from \"moment\";\n\nimport { InputLabel } from \"../InputLabel/index\";\nimport { withRequiredMessage } from \"../Wrappers/withRequiredMessage\";\nimport { useFormsyInput } from \"../hooks\";\n\nexport const DatePickerSizes = {\n large: \"large\",\n medium: \"middle\",\n small: \"small\",\n};\n\nconst DatePicker = ({\n name,\n label,\n horizontal,\n placeholder,\n value,\n required,\n disabled,\n disabledDate,\n onChange,\n onBlur,\n onFocus,\n setValue,\n errorMessage,\n showError,\n isFormSubmitted,\n isPristine,\n size,\n style,\n className,\n allowClear = true,\n}) => {\n const momentValue = value ? moment(value) : null;\n\n const formatValue = (momentDate) => {\n if (momentDate) {\n return momentDate.toDate();\n } else {\n return null;\n }\n };\n\n const { isFocused, handleChange } = useFormsyInput({\n defaultValue: value,\n setFormsyValue: setValue,\n onChange: onChange,\n onBlur: onBlur,\n onFocus: onFocus,\n formatValue: formatValue,\n });\n\n return (\n \n handleChange(momentDate)}\n />\n \n );\n};\n\nDatePicker.propTypes = {\n label: PropTypes.node,\n horizontal: PropTypes.bool,\n placeholder: PropTypes.string,\n name: PropTypes.string,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n disabledDate: PropTypes.func,\n value: PropTypes.any,\n onChange: PropTypes.func,\n onBlur: PropTypes.func,\n onFocus: PropTypes.func,\n setValue: PropTypes.func,\n errorMessage: PropTypes.node,\n errorMessages: PropTypes.any,\n showError: PropTypes.bool,\n isFormSubmitted: PropTypes.bool,\n isPristine: PropTypes.bool,\n style: PropTypes.object,\n className: PropTypes.string,\n size: PropTypes.oneOf(Object.values(DatePickerSizes)),\n allowClear: PropTypes.bool,\n};\n\nexport default withRequiredMessage(withFormsy(DatePicker));\n","export { default as DatePicker, DatePickerSizes } from \"./DatePicker\";\n","import PropTypes from \"prop-types\";\n\nimport { GenderPropTypes } from \"./GenderPropTypes\";\n\nexport const DemographicPropTypes = PropTypes.shape({\n age: PropTypes.number,\n birthday: PropTypes.string,\n firstName: PropTypes.string,\n fullName: PropTypes.string,\n gender: GenderPropTypes,\n lastName: PropTypes.string,\n});\n","exports = module.exports = require(\"../../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".ProceduresTable-style__procedures-table___2JZfw{margin:2.5rem 0;min-width:auto}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"procedures-table\": \"ProceduresTable-style__procedures-table___2JZfw\"\n};","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport { FontIcon } from \"react-toolbox/lib/font_icon\";\n\nimport style from \"../../../styles/cardList\";\n\nimport i18n from \"./cases.i18n\";\n\nexport class InformationRequestStatusIcon extends React.Component {\n static propTypes = {\n status: PropTypes.string,\n };\n\n getParams() {\n const { status, intl } = this.props;\n const f = intl.formatMessage;\n switch (status) {\n case \"PENDING\":\n return {\n icon: \"announcement\",\n style: { color: \"orange\" },\n tooltip: f(i18n.informationRequestStatusPending),\n };\n\n case \"COMPLETED\":\n return {\n icon: \"chat_bubble\",\n style: { color: \"green\" },\n tooltip: f(i18n.informationRequestStatusCompleted),\n };\n\n case \"CANCELED\":\n return {\n icon: \"chat_bubble\",\n style: { color: \"#959595\" },\n tooltip: f(i18n.informationRequestStatusCanceled),\n };\n\n default:\n return null;\n }\n }\n\n render() {\n const p = this.getParams();\n if (p === null) {\n return null;\n }\n\n return (\n \n \n {p.tooltip}\n \n );\n }\n}\n\nexport default injectIntl(InformationRequestStatusIcon);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { themr } from \"react-css-themr\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport Link from \"react-toolbox/lib/link\";\n\nimport navigationStyle from \"../../../styles/navigation\";\nimport { getImpersonation } from \"../../helpers/authentication\";\nimport PersonAvatar from \"../accounts/personAvatar\";\n\nexport const messages = defineMessages({\n impersonatedBy: {\n id: \"avatarBlock.impersonatedBy\",\n description: \"Impersonated by string\",\n defaultMessage: \"Impersonated by: {userName}\",\n },\n});\n\nclass AvatarBlock extends React.Component {\n static propTypes = {\n currentUser: PropTypes.object.isRequired,\n intl: intlShape,\n theme: PropTypes.object,\n };\n\n render() {\n const { theme } = this.props;\n\n if (!this.props.currentUser) {\n return
    ;\n }\n\n const { user } = this.props.currentUser;\n const { fullName } = user.person;\n const { email } = user;\n\n return (\n
    \n
    \n }>\n
    \n \n {fullName}\n \n \n {email}\n \n
    \n \n
    \n {this.renderImpersonation()}\n
    \n );\n }\n\n renderImpersonation() {\n const { theme } = this.props;\n\n const impersonatedBy = getImpersonation();\n if (!impersonatedBy) {\n return null;\n }\n\n return (\n
    \n {this.props.intl.formatMessage(messages.impersonatedBy, {\n userName: impersonatedBy.userName,\n })}\n
    \n );\n }\n}\n\nexport default Relay.createContainer(\n injectIntl(themr(\"AKAvatarBlock\", navigationStyle)(AvatarBlock)),\n {\n initialVariables: {},\n fragments: {\n currentUser: () => Relay.QL`\n fragment on CurrentUser {\n user {\n id\n email\n person {\n fullName\n ${PersonAvatar.getFragment(\"person\")}\n }\n }\n }`,\n },\n }\n);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { themr } from \"react-css-themr\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { locationShape } from \"react-router\";\nimport { Button } from \"react-toolbox/lib/button\";\nimport Link from \"react-toolbox/lib/link\";\nimport Navigation from \"react-toolbox/lib/navigation\";\n\nimport navigationStyle from \"../../../styles/navigation\";\nimport { URLs } from \"../../constants\";\nimport { logout, urls, getImpersonation } from \"../../helpers/authentication\";\nimport { executeAutoSaves } from \"../../helpers/autoSave\";\nimport {\n featureKeys,\n isEnabled,\n clientFeatureKeys,\n isClientFeatureEnabled,\n} from \"../../helpers/features\";\nimport { setLanguage } from \"../../stores/app/actions\";\n\nimport AvatarBlock from \"./avatarBlock\";\n\nimport i18n from \"../cases/cases.i18n\";\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n clinic: {\n id: \"mainNavigation.clinic\",\n description: \"Nav Item\",\n defaultMessage: \"Clinic\",\n },\n hospitalPatients: {\n id: \"mainNavigation.hospitalPatients\",\n description: \"Show a hospital and search patients menu item\",\n defaultMessage: \"Hospital Patients\",\n },\n search: {\n id: \"mainNavigation.search\",\n description: \"Search\",\n defaultMessage: \"Search\",\n },\n logout: {\n id: \"mainNavigation.logout\",\n description: \"End your session\",\n defaultMessage: \"Sign Out\",\n },\n stopImpersonating: {\n id: \"mainNavigation.stopImpersonating\",\n description: \"Stop impersonating a user\",\n defaultMessage: \"Stop impersonation\",\n },\n cases: {\n id: \"mainNavigation.cases\",\n description: \"Show a cases menu item\",\n defaultMessage: \"Case List\",\n },\n dialogTitle: {\n id: \"mainNavigation.dialogTitle\",\n description: \"Dialog Title\",\n defaultMessage: \"Notice\",\n },\n newCase: {\n id: \"mainNavigation.newCase\",\n description: \"Show a new case menu item\",\n defaultMessage: \"New request\",\n },\n myCarers: {\n id: \"mainNavigation.myCarers\",\n description: \"Nav Item\",\n defaultMessage: \"My Carers\",\n },\n support: {\n id: \"mainNavigation.support\",\n description: \"Nav Item\",\n defaultMessage: \"Support\",\n },\n patients: {\n id: \"mainNavigation.patients\",\n description: \"Nav Item\",\n defaultMessage: \"Patients\",\n },\n invitePatient: {\n id: \"mainNavigation.invitePatient\",\n description: \"Nav Item\",\n defaultMessage: \"Invite a Patient\",\n },\n patientInvitations: {\n id: \"mainNavigation.patientInvitations\",\n description: \"Nav Item\",\n defaultMessage: \"Patient Invitations\",\n },\n linkPatient: {\n id: \"mainNavigation.linkPatient\",\n description: \"Link a patient menu item\",\n defaultMessage: \"Link Patient\",\n },\n profile: {\n id: \"mainNavigation.profile\",\n description: \"User profile\",\n defaultMessage: \"Profile\",\n },\n accountSettings: {\n id: \"mainNavigation.accountSettings\",\n description: \"Account settings\",\n defaultMessage: \"Account settings\",\n },\n newEConsultRequest: {\n id: \"mainNavigation.newEConsultRequest\",\n description: \"New eConsult request\",\n defaultMessage: \"New eConsult\",\n },\n administration: {\n id: \"mainNavigation.administration\",\n description: \"Administration label\",\n defaultMessage: \"Administration\",\n },\n importUsers: {\n id: \"mainNavigation.importUsers\",\n description: \"Import users label\",\n defaultMessage: \"Import users\",\n },\n createUser: {\n id: \"mainNavigation.createUser\",\n description: \"Create user label\",\n defaultMessage: \"Create user\",\n },\n progression: {\n id: \"mainNavigation.progression\",\n description: \"Progression Label\",\n defaultMessage: \"Progression\",\n },\n activity: {\n id: \"mainNavigation.activity\",\n description: \"Activity Label\",\n defaultMessage: \"Activity\",\n },\n recentActivity: {\n id: \"mainNavigation.recentActivity\",\n description: \"Recent Activity Label\",\n defaultMessage: \"Recent activity\",\n },\n accessRequests: {\n id: \"mainNavigation.accessRequests\",\n description: \"Access Requests Label\",\n defaultMessage: \"Access requests\",\n },\n myPatients: {\n id: \"mainNavigation.myPatients\",\n description: \"My patients Label\",\n defaultMessage: \"My patients\",\n },\n importPatients: {\n id: \"mainNavigation.patients.import\",\n description: \"Import patients Label\",\n defaultMessage: \"Import patients\",\n },\n manageUsers: {\n id: \"mainNavigation.manageUsers\",\n description: \"Manage users Label\",\n defaultMessage: \"Manage users\",\n },\n});\n\nexport class MainNavigation extends React.Component {\n static propTypes = {\n viewer: PropTypes.object.isRequired,\n isSupportAvailable: PropTypes.bool.isRequired,\n dispatch: PropTypes.func,\n location: locationShape,\n intl: intlShape,\n theme: PropTypes.object,\n };\n\n state = {\n impersonatedBy: null,\n };\n\n async UNSAFE_componentWillMount() {\n const impersonatedBy = await getImpersonation();\n this.setState({ impersonatedBy });\n }\n\n isSpecialist() {\n return (\n this.props.viewer &&\n this.props.viewer.currentUser &&\n this.props.viewer.currentUser.isSpecialist\n );\n }\n\n isPatient() {\n return (\n this.props.viewer && this.props.viewer.currentUser && this.props.viewer.currentUser.isPatient\n );\n }\n\n isCarer() {\n return (\n this.props.viewer && this.props.viewer.currentUser && this.props.viewer.currentUser.isCarer\n );\n }\n\n render() {\n const { theme } = this.props;\n\n const lang = document.getElementsByTagName(\"html\")[0].getAttribute(\"lang\");\n const { formatMessage: f } = this.props.intl;\n const impersonatedBy = getImpersonation();\n return (\n \n );\n }\n\n renderSpecialistMenu() {\n const { theme } = this.props;\n\n const { formatMessage: f } = this.props.intl;\n const { features } = this.props.viewer;\n\n const hasPatientFeature = isEnabled(features, featureKeys.PatientList);\n const hasCalendar = isEnabled(features, featureKeys.UserCalendar);\n const hasHospitalDirectory = isEnabled(features, featureKeys.HospitalDirectory);\n const hasPatientInvitationsFeature = isEnabled(features, featureKeys.PatientInvitations);\n const hasActivityStream = isClientFeatureEnabled(clientFeatureKeys.ActivityStream);\n const isRequester =\n this.props.viewer &&\n this.props.viewer.currentUser &&\n this.props.viewer.currentUser.isRequester;\n\n return (\n
    \n {hasActivityStream && (\n
    \n
    \n )}\n {hasActivityStream && (\n \n \n \n )}\n\n
    \n
    \n \n {isEnabled(features, featureKeys.WebRTC) && (\n \n )}\n {isEnabled(features, featureKeys.RequestEConsultCreate) &&\n isClientFeatureEnabled(clientFeatureKeys.EConsultCreationPage) && (\n \n )}\n {(isEnabled(features, featureKeys.RequestCreate) ||\n isEnabled(features, featureKeys.RequestCreateGeneric)) &&\n isRequester && (\n \n )}\n \n \n {f(i18n.inProgress)}{\" \"}\n {/* */}\n \n \n \n \n {f(i18n.waiting)}\n {/* */}\n \n \n \n \n {f(i18n.completed)}\n {/* */}\n \n \n \n \n {f(i18n.archived)}\n {/* */}\n \n \n \n {(hasPatientFeature || hasPatientInvitationsFeature) && (\n
    \n
    \n
    \n \n \n \n {hasCalendar && (\n \n )}\n {hasHospitalDirectory && (\n \n )}\n \n
    \n )}\n
    \n );\n }\n\n renderPatientMenu() {\n const { theme } = this.props;\n\n const { formatMessage: f } = this.props.intl;\n const { features } = this.props.viewer;\n const hasCalendar = isEnabled(features, featureKeys.UserCalendar);\n return (\n
    \n
    \n
    \n\n \n {isEnabled(features, featureKeys.RequestCreate) && (\n \n )}\n \n \n\n
    \n \n
    \n\n \n \n \n\n {hasCalendar && (\n \n
    \n \n
    \n\n \n \n \n
    \n )}\n
    \n );\n }\n\n renderCarerMenu() {\n const { theme } = this.props;\n\n const { formatMessage: f } = this.props.intl;\n const { features } = this.props.viewer;\n\n const hasPatientFeature = isEnabled(features, featureKeys.PatientList);\n const hasPatientInvitationsFeature = isEnabled(features, featureKeys.PatientInvitations);\n const hasActivityStream = isClientFeatureEnabled(clientFeatureKeys.ActivityStream);\n return (\n
    \n {hasActivityStream && (\n
    \n
    \n )}\n {hasActivityStream && (\n \n \n \n )}\n\n
    \n
    \n\n \n {isEnabled(features, featureKeys.RequestCreate) && (\n \n )}\n \n \n\n {(hasPatientFeature || hasPatientInvitationsFeature) && (\n
    \n
    \n
    \n \n \n \n
    \n )}\n
    \n );\n }\n\n renderOtherMenu() {\n const { theme } = this.props;\n\n const { formatMessage: f } = this.props.intl;\n const { features } = this.props.viewer;\n if (\n !isEnabled(features, featureKeys.UserImport) &&\n !isEnabled(features, featureKeys.PersonCreate) &&\n !isEnabled(features, featureKeys.UserList) &&\n !isEnabled(features, featureKeys.Statistics)\n ) {\n return null;\n }\n\n return (\n
    \n
    \n
    \n\n \n {isEnabled(features, featureKeys.UserImport) && (\n \n )}\n {isEnabled(features, featureKeys.PersonCreate) && (\n \n )}\n {isEnabled(features, featureKeys.UserList) && (\n \n )}\n {isEnabled(features, featureKeys.UserList) && (\n \n )}\n {isEnabled(features, featureKeys.Statistics) && (\n \n )}\n \n
    \n );\n }\n\n logout(e: React.SyntheticEvent) {\n e.preventDefault();\n executeAutoSaves()\n .then(() => {\n logout(window.location);\n })\n .catch(() => {\n logout(window.location);\n });\n }\n\n changeLang(e: React.SyntheticEvent, lang: string) {\n e.preventDefault();\n e.stopPropagation();\n this.props.dispatch(setLanguage(lang));\n\n // Declared in app.js\n window.changeLanguage(lang);\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n isSupportAvailable: state.layoutReducer.isSupportAvailable,\n };\n};\n\nconst mapDispatchToProps = (dispatch) => {\n return {\n dispatch,\n };\n};\n\nexport default Relay.createContainer(\n injectIntl(\n connect(\n mapStateToProps,\n mapDispatchToProps\n )(themr(\"AKMainNavigation\", navigationStyle)(MainNavigation))\n ),\n {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n\n currentUser {\n isSpecialist\n isRequester\n isPatient\n isCarer\n ${AvatarBlock.getFragment(\"currentUser\")}\n }\n }\n `,\n },\n }\n);\n","exports = module.exports = require(\"../../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".AboutPatientCommunication-style__about-container___1uM37{display:flex;align-items:center;padding-bottom:2rem}.AboutPatientCommunication-style__about-container___1uM37 .AboutPatientCommunication-style__dropdown___1kFgK{padding-right:2rem}.AboutPatientCommunication-style__about-container___1uM37 .AboutPatientCommunication-style__about-child___1PMGW{padding:0.5rem 0;display:flex;flex-direction:column}.AboutPatientCommunication-style__button-group___2A_Uh{margin-top:1.5rem;padding-left:0 !important}.AboutPatientCommunication-style__button___1X7nG{padding:0 !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"about-container\": \"AboutPatientCommunication-style__about-container___1uM37\",\n\t\"dropdown\": \"AboutPatientCommunication-style__dropdown___1kFgK\",\n\t\"about-child\": \"AboutPatientCommunication-style__about-child___1PMGW\",\n\t\"button-group\": \"AboutPatientCommunication-style__button-group___2A_Uh\",\n\t\"button\": \"AboutPatientCommunication-style__button___1X7nG\"\n};","export const StatusCodes = Object.freeze({\n Draft: \"1\",\n AwaitingReport: \"2\",\n RequestAccepted: \"3\",\n ReportInProgress: \"4\",\n ReportCompleted: \"5\",\n RequestClosed: \"6\",\n AwaitingDispatch: \"7\",\n DispatchInProgress: \"8\",\n CaseAborted: \"9\",\n IncompleteRequest: \"11\",\n RequestInProgress: \"20\",\n ReportAwaitingInformation: \"50\",\n ReportAwaitingReview: \"51\",\n RequestAwaitingReporter: \"52\",\n});\n","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { FormattedDate } from \"react-intl\";\n\nexport default class CustomFormattedDate extends React.Component {\n static propTypes = {\n ...FormattedDate.propTypes,\n className: PropTypes.string,\n };\n\n render() {\n // Placeholder in case we need to change date display!\n return (\n \n \n \n );\n }\n}\n","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".ReportSignaturePrint-style__signature-print-container___Z97BB{width:100%;display:none;font-size:1rem}@media print{.ReportSignaturePrint-style__signature-print-container___Z97BB{display:inline-block}}.ReportSignaturePrint-style__signature-print-container___Z97BB h2{font-size:1.5rem;border-bottom:2px solid black;padding-top:20px}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"signature-print-container\": \"ReportSignaturePrint-style__signature-print-container___Z97BB\"\n};","module.exports = __webpack_public_path__ + \"539d785dcfcf68ffd1894965a7a25e05.png\";","import { useEffect, useContext } from \"react\";\n\nimport { MenuContext } from \"~/src/js/components/shared/Menu\";\n\nexport const MenuNames = {\n GenericRequestMenu: \"GenericRequestMenu\",\n};\n\nexport const MenuAnchors = {\n GenericRequestMenu: {\n destination: \"requestInformationAnchor\",\n clinicalInformation: \"clinicalInformationAnchor\",\n caseAdminNotes: \"caseAdminNotesAnchor\",\n history: \"historyAnchor\",\n additionalInformation: \"additionalInformation\",\n reportClarifications: \"reportClarificationsAnchor\",\n report: \"reportAnchor\",\n },\n};\n\nexport const useMenuUrlAnchors = ({ ids, menuName, isReady }) => {\n const { state, selectMenuItem } = useContext(MenuContext);\n const anchors = ids.reduce((acc, id) => {\n const element = document.getElementById(id);\n\n if (element) {\n const scrollToElement = () => {\n element.scrollIntoView();\n setTimeout(() => {\n selectMenuItem({ menuName: menuName, menuItemNames: [id] });\n history.pushState(null, null, `#${id}`);\n }, 50);\n };\n return {\n ...acc,\n [id]: {\n id: id,\n scrollToElement,\n },\n };\n }\n\n return acc;\n }, {});\n\n useEffect(() => {\n const anchorId = location.href.split(\"#\")[1];\n if (isReady && anchors[anchorId]) {\n anchors[anchorId].scrollToElement();\n }\n }, [isReady]);\n\n const isActive = (key) => {\n return state && state[menuName] && state[menuName].selected\n ? state[menuName].selected.includes(key)\n : false;\n };\n\n const toggle = (key) => {\n selectMenuItem({ menuName: menuName, menuItemNames: [key] });\n };\n\n return {\n anchors,\n selectedAnchors: state && state[menuName] ? state[menuName].selected : [],\n isActive,\n toggle,\n };\n};\n","export { useMenuUrlAnchors, MenuNames, MenuAnchors } from \"./useMenuUrlAnchors\";\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF0AAABnCAYAAABikE4IAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAuIQAALiEBB1v8/wAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4xMzQDW3oAAAbYSURBVHhe7ZzLdfM2EIX/VRpIY2kkvbgEl+ASvPLaBWThc9LA34FyLw7BDIFLCSSBASFq8VnSCI+ZzxT40OPX7Xa7y79//EluFfgN5BxXQwYtFGXE1UDOcyVk0EJJibQafAA53xWQQQvlGFk1+QFyzmdHBi0UY0TV5pLrvAxaKMVIasW7mvtZkUELhHhIJ99A5vBsyKCFIoyY1lxiuZFBCyUYKV7IXJ4FGbRQQCLEhTSPZ0IGLRDwkl4ZGbRAwEt6ZWTQAgEv6ZWRQQsEDCMd/cin4U21640MWqZCpJiWpHmUgH68pmPH+a3a9UYGLUh8JOncutOxZNueyKCFSSdFuJDmUQL68SJaOpZs2xMZtDDppAgX0jxKUOOAT9W2JzJoQdJDSEef1TzTtr2RQQuSHl46kH16IYMWJgx4IUoV04w0j0egzz3ppzp0lMEUJH2voFa8AZmPhW3A+9RnjW/VtxcyqEDiPcQTvsrCe6okyUcdIq6xqKcnMrgGEk9PPnrANzu2yI7Imnogg2swccCiVVFn5zRvCcrgPZA8cd+xVuBH1dMDGXwECiCqsLMj6/FGBktgAUlBIyBr8UYGS2ABSUEj8KFq8UYGS0ABI0o/xaVeGSwBBYwonch6PJHBEph8UswoyHo8k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PdsgZniSNWIpz/LHV4aAnXV9LxW+ItnYSJeQtKjjaypBlL2ijkq+MM9JBOwuS8BZSj2pAsYcaSNmtkfc9CL+nzVshbE7dkyTKWtFkj63smKP3Q77hwEBaZFF2C/dBo2j9LVLRZI+t7Nij90NbOQVhoUngp81ED7scdY3ZWiFjp+C5nlEeZ70Dgri/usi+K3SudhPl5G+9bpvi9dT8yhHCyeACJRMpdg/1QMFEiSlg9ymB8el71s5ziJ7pLyQIQSYo/Os0+KPqIdJJ9QYuPQYnw+aRrFGQQMgk/6ClFW9ieRRsJe5nn533wlMKJDEYg9eH3j9iOhRsRe8jmRuzRGesQX19UyKAFYokUPvH9z99/lUhaw14aCJj7a5eCV/cDIyCDKRBL7q3zfC6KKlkWIumxOvvOQqdY2mdo4UQGFZQKHq3zURQvJKWyUlK59p+16cRpNGRwDUoF6gx28XUWMsmyIlMetbNjxaVrjo2MDD6Cgo1w2YZQElBbvX3+3pVG224x9sjIYAmTePkcwXM88gn3J2lRZNhxTrFHl3aHX78VMlgDCOerIOxg+ZjyQHqkYt9MWGMx7jMggzWYpEd4QU22ux63X/8BJc603QmieQwAAAAASUVORK5CYII=\"","import PropTypes from \"prop-types\";\nimport React, { useState } from \"react\";\n\nimport styles from \"./textAreaInput.style\";\n\nconst TextAreaInput = ({ disabled, label, name, placeholder, readOnly, required, value }) => {\n const [currentValue, setValue] = useState(value);\n\n const handleChange = (event) => {\n setValue(event.target.value);\n };\n\n return (\n
    \n \n \n
    \n );\n};\n\nTextAreaInput.propTypes = {\n name: PropTypes.string.isRequired,\n disabled: PropTypes.bool,\n label: PropTypes.string,\n placeholder: PropTypes.string,\n readOnly: PropTypes.bool,\n required: PropTypes.bool,\n value: PropTypes.string,\n};\n\nTextAreaInput.defaultProps = {\n disabled: false,\n label: \"\",\n placeholder: \"\",\n readOnly: false,\n required: false,\n value: \"\",\n};\n\nexport default TextAreaInput;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withFormsy } from \"formsy-react\";\nimport { TimePicker as GerudoTimePicker } from \"@akinoxsolutions/gerudo-ui\";\nimport moment from \"moment\";\n\nimport { InputLabel } from \"../InputLabel/index\";\nimport { withRequiredMessage } from \"../Wrappers/withRequiredMessage\";\nimport { useFormsyInput } from \"../hooks\";\n\nconst TimePicker = ({\n name,\n placeholder,\n label,\n required,\n disabled,\n onChange,\n onBlur,\n onFocus,\n value,\n setValue,\n errorMessage,\n showError,\n isFormSubmitted,\n isPristine,\n style,\n className,\n}) => {\n const momentValue = value ? moment(value) : null;\n\n const formatValue = (momentDate) => {\n if (momentDate) {\n return momentDate.toDate();\n } else {\n return null;\n }\n };\n\n const { isFocused, handleChange } = useFormsyInput({\n defaultValue: value,\n setFormsyValue: setValue,\n onChange: onChange,\n onBlur: onBlur,\n onFocus: onFocus,\n formatValue: formatValue,\n });\n\n return (\n \n handleChange(momentTime)}\n style={style}\n className={className}\n />\n \n );\n};\n\nTimePicker.defaultProp = {\n className: \"\",\n};\n\nTimePicker.propTypes = {\n disabled: PropTypes.bool,\n name: PropTypes.string.isRequired,\n placeholder: PropTypes.string,\n label: PropTypes.node,\n required: PropTypes.bool,\n onChange: PropTypes.func,\n onBlur: PropTypes.func,\n onFocus: PropTypes.func,\n value: PropTypes.string,\n setValue: PropTypes.func,\n errorMessage: PropTypes.node,\n showError: PropTypes.bool,\n isPristine: PropTypes.bool,\n isFormSubmitted: PropTypes.bool,\n style: PropTypes.object,\n className: PropTypes.string,\n};\n\nexport default withRequiredMessage(withFormsy(TimePicker));\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withFormsy } from \"formsy-react\";\nimport { Textarea } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { useFormsyInput } from \"../hooks\";\nimport { InputLabel } from \"../InputLabel/index\";\nimport { withRequiredMessage } from \"../Wrappers/withRequiredMessage\";\n\nconst TextArea = ({\n name,\n autoSize,\n label,\n value,\n required,\n disabled,\n onChange,\n onBlur,\n onFocus,\n errorMessage,\n setValue,\n showError,\n isFormSubmitted,\n isPristine,\n style,\n className,\n}) => {\n const { isFocused, handleChange, handleFocus, handleBlur } = useFormsyInput({\n defaultValue: value,\n setFormsyValue: setValue,\n onChange: onChange,\n onBlur: onBlur,\n onFocus: onFocus,\n });\n\n const commonHandles = {\n onFocus: (e) => handleFocus(e.target.value),\n onBlur: (e) => handleBlur(e.target.value),\n onChange: (e) => handleChange(e.target.value),\n };\n\n return (\n \n \n \n );\n};\n\nTextArea.defaultProps = {\n className: \"\",\n};\n\nTextArea.propTypes = {\n autoSize: PropTypes.shape({\n minRows: PropTypes.number,\n maxRows: PropTypes.number,\n }),\n label: PropTypes.node,\n name: PropTypes.string,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n onChange: PropTypes.func,\n onBlur: PropTypes.func,\n onFocus: PropTypes.func,\n value: PropTypes.any,\n setValue: PropTypes.func,\n errorMessage: PropTypes.node,\n showError: PropTypes.bool,\n isFormSubmitted: PropTypes.bool,\n isPristine: PropTypes.bool,\n style: PropTypes.object,\n className: PropTypes.string,\n};\n\nexport default withRequiredMessage(withFormsy(TextArea));\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withFormsy } from \"formsy-react\";\nimport { Checkbox as GerudoCheckbox } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { withRequiredMessage } from \"../Wrappers/withRequiredMessage\";\nimport { InputLabel } from \"../InputLabel/index\";\n\nexport const CheckboxSizes = {\n small: \"small\",\n default: \"default\",\n};\n\nconst Checkbox = ({\n required,\n autoFocus,\n disabled,\n name,\n onChange,\n value,\n size,\n setValue,\n children,\n errorMessage,\n showError,\n isFormSubmitted,\n isPristine,\n}) => {\n const handleOnChange = (event) => {\n if (onChange) {\n onChange(event.target.checked, event);\n }\n\n setValue(event.target.checked);\n };\n\n return (\n \n \n {children}\n \n \n );\n};\n\nCheckbox.propTypes = {\n autoFocus: PropTypes.bool,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n name: PropTypes.string,\n onChange: PropTypes.func,\n value: PropTypes.any,\n size: PropTypes.oneOf(Object.values(CheckboxSizes)),\n setValue: PropTypes.func,\n label: PropTypes.node,\n errorMessage: PropTypes.node,\n showError: PropTypes.bool,\n isPristine: PropTypes.bool,\n isFormSubmitted: PropTypes.bool,\n};\n\nexport default withRequiredMessage(withFormsy(Checkbox));\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withFormsy } from \"formsy-react\";\nimport { CheckboxGroup as GerudoCheckboxGroup, Checkbox } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { useFormsyInput } from \"../../hooks\";\nimport { withRequiredMessage } from \"../../Wrappers/withRequiredMessage\";\nimport { InputLabel } from \"../../InputLabel\";\nimport { CheckboxSizes } from \"../\";\n\nconst CheckboxGroup = ({\n name,\n label,\n value,\n options,\n size,\n required,\n disabled,\n onChange,\n vertical,\n setValue,\n errorMessage,\n showError,\n isFormSubmitted,\n isPristine,\n}) => {\n const { isFocused, handleChange } = useFormsyInput({\n defaultValue: value,\n setFormsyValue: setValue,\n onChange: onChange,\n });\n\n return (\n \n handleChange(value)}>\n {options.map((option) => (\n \n {option.label}\n \n ))}\n \n \n );\n};\n\nconst CheckboxPropTypes = PropTypes.shape({\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n label: PropTypes.node,\n});\n\nCheckboxGroup.propTypes = {\n label: PropTypes.node,\n name: PropTypes.string,\n options: PropTypes.arrayOf(CheckboxPropTypes).isRequired,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n value: PropTypes.any,\n vertical: PropTypes.bool,\n size: PropTypes.oneOf(Object.values(CheckboxSizes)),\n onChange: PropTypes.func,\n setValue: PropTypes.func,\n errorMessage: PropTypes.node,\n errorMessages: PropTypes.any,\n showError: PropTypes.bool,\n isPristine: PropTypes.bool,\n isFormSubmitted: PropTypes.bool,\n style: PropTypes.object,\n className: PropTypes.string,\n};\n\nexport default withRequiredMessage(withFormsy(CheckboxGroup));\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withFormsy } from \"formsy-react\";\nimport { RadioGroup as GerudoRadioGroup } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { useFormsyInput } from \"../hooks\";\nimport { withRequiredMessage } from \"../Wrappers/withRequiredMessage\";\nimport { InputLabel } from \"../InputLabel\";\n\nexport const RadioGroupSizes = {\n small: \"small\",\n default: \"default\",\n};\n\nconst RadioGroup = ({\n options,\n name,\n label,\n value,\n required,\n disabled,\n onChange,\n vertical,\n setValue,\n errorMessage,\n showError,\n isFormSubmitted,\n isPristine,\n}) => {\n const { isFocused, handleChange } = useFormsyInput({\n defaultValue: value,\n setFormsyValue: setValue,\n onChange: onChange,\n });\n\n return (\n \n handleChange(e.target.value)}\n />\n \n );\n};\n\nRadioGroup.propTypes = {\n options: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.string),\n PropTypes.arrayOf(\n PropTypes.shape({\n label: PropTypes.string.isRequired,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.any]).isRequired,\n disabled: PropTypes.bool,\n })\n ),\n ]),\n label: PropTypes.node,\n name: PropTypes.string,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n value: PropTypes.any,\n vertical: PropTypes.bool,\n size: PropTypes.oneOf(Object.values(RadioGroupSizes)),\n onChange: PropTypes.func,\n setValue: PropTypes.func,\n errorMessage: PropTypes.node,\n errorMessages: PropTypes.any,\n showError: PropTypes.bool,\n isPristine: PropTypes.bool,\n isFormSubmitted: PropTypes.bool,\n style: PropTypes.object,\n className: PropTypes.string,\n};\n\nexport default withRequiredMessage(withFormsy(RadioGroup));\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withFormsy } from \"formsy-react\";\nimport { Button as GerudoButton } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { InputLabel } from \"../InputLabel/index\";\n\nexport const ButtonSizes = {\n small: \"small\",\n default: \"default\",\n};\n\nconst Button = (props) => {\n const {\n children,\n errorMessage,\n isFormSubmitted,\n label,\n name,\n onChange,\n setValue,\n showError,\n } = props;\n\n const handleOnChange = (event) => {\n if (onChange) {\n onChange(event.target.checked, event);\n }\n\n setValue(event.target.checked);\n };\n\n return (\n \n \n {children}\n \n \n );\n};\n\nButton.propTypes = {\n disabled: PropTypes.bool,\n name: PropTypes.string,\n onChange: PropTypes.func,\n value: PropTypes.any,\n size: PropTypes.oneOf(Object.values(ButtonSizes)),\n setValue: PropTypes.func,\n label: PropTypes.node,\n errorMessage: PropTypes.node,\n showError: PropTypes.bool,\n isFormSubmitted: PropTypes.bool,\n};\n\nexport default withFormsy(Button);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withFormsy } from \"formsy-react\";\nimport { Toggle as GerudoToggle } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { useFormsyInput } from \"../hooks\";\n\nconst Toggle = ({\n disabled,\n className,\n children,\n name,\n options,\n onBlur,\n onChange,\n onFocus,\n value,\n setValue,\n}) => {\n const { handleChange } = useFormsyInput({\n defaultValue: value,\n setFormsyValue: setValue,\n onChange: onChange,\n onBlur: onBlur,\n onFocus: onFocus,\n });\n\n return (\n \n {children}\n \n );\n};\n\nToggle.propTypes = {\n className: PropTypes.string,\n disabled: PropTypes.bool,\n name: PropTypes.string,\n onBlur: PropTypes.func,\n onChange: PropTypes.func,\n onFocus: PropTypes.func,\n options: PropTypes.array,\n value: PropTypes.any,\n setValue: PropTypes.func,\n};\n\nexport default withFormsy(Toggle);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { withFormsy } from \"formsy-react\";\n\nimport {\n SignatureInput as InternalSignatureInput,\n ImageMimeType,\n} from \"~/src/js/components/shared/Signatures\";\n\nimport { useFormsyInput } from \"../hooks\";\nimport { withRequiredMessage } from \"../Wrappers/withRequiredMessage\";\n\nconst HandWrittenSignatureInput = ({\n canvasProps,\n canvasStyle,\n className,\n header,\n mimetype,\n setValue,\n value,\n}) => {\n const { handleChange: formsyHandleChange } = useFormsyInput({\n defaultValue: value,\n setFormsyValue: setValue,\n });\n\n const handleChange = (event, data) => {\n formsyHandleChange(data);\n };\n\n return (\n \n );\n};\n\nHandWrittenSignatureInput.propTypes = {\n canvasProps: PropTypes.object,\n canvasStyle: PropTypes.object,\n className: PropTypes.string,\n errorMessage: PropTypes.node,\n header: PropTypes.node,\n isPristine: PropTypes.bool,\n isFormSubmitted: PropTypes.bool,\n name: PropTypes.string,\n mimetype: PropTypes.oneOf([ImageMimeType.svg, ImageMimeType.png, ImageMimeType.jpeg]),\n setValue: PropTypes.func,\n showError: PropTypes.bool,\n value: PropTypes.any,\n};\n\nexport default withRequiredMessage(withFormsy(HandWrittenSignatureInput));\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\n\nimport spinnerImage from \"../../../public/assets/images/spinner.svg\";\n\nexport class RetryableImage extends React.Component {\n static propTypes = {\n src: PropTypes.string,\n alternateSrc: PropTypes.string,\n };\n\n constructor(props) {\n super(props);\n\n const { src } = props;\n this.state = {\n src,\n wait: 0,\n };\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillReceiveProps(nextProps) {\n const { src } = nextProps;\n\n if (this.props.src !== src) {\n this.setState({ src });\n }\n }\n\n render() {\n // eslint-disable-next-line no-unused-vars\n const { src, alternateSrc, ...other } = this.props;\n const stateSrc = this.state.src;\n const errorSrc = alternateSrc || spinnerImage;\n\n return (\n {\n if (this.state.wait <= 15000) {\n this.setState({ src: errorSrc });\n setTimeout(() => {\n this.setState((state) => ({ src, wait: state.wait + 2500 }));\n }, 2500);\n }\n }}\n />\n );\n }\n}\n\nexport default RetryableImage;\n","\nvar content = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ReportSignatureCard.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ReportSignatureCard.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ReportSignatureCard.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Avatar from \"react-toolbox/lib/avatar\";\n\nimport FemaleAvatar from \"../../../public/assets/images/icons/gender-female\";\nimport MaleAvatar from \"../../../public/assets/images/icons/gender-male\";\nimport OtherAvatar from \"../../../public/assets/images/icons/gender-other\";\n\nimport styles from \"./style\";\n\nconst AvatarComponent = ({ gender }) => {\n const image = (gender) => {\n switch (gender) {\n case \"M\":\n case \"MALE\":\n return MaleAvatar;\n\n case \"F\":\n case \"FEMALE\":\n return FemaleAvatar;\n\n default:\n return OtherAvatar;\n }\n };\n\n return ;\n};\n\nAvatarComponent.propTypes = {\n gender: PropTypes.string,\n};\n\nexport default AvatarComponent;\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\n\nimport Autocomplete from \"../shared/inputs/autocompleteInput\";\n\nimport styles from \"./style\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nconst AutocompleteComponent = ({\n data,\n errorMessage,\n intl: { formatMessage },\n label,\n multiple,\n name,\n required,\n validationErrors,\n value,\n ...other\n}) => {\n if (\n required &&\n (!validationErrors || (validationErrors && !validationErrors.isDefaultRequiredValue))\n ) {\n if (!validationErrors) {\n validationErrors = {};\n }\n\n validationErrors.isDefaultRequiredValue = formatMessage(baseI18n.error.fieldRequired);\n }\n return (\n
    \n \n
    \n );\n};\n\nAutocompleteComponent.propTypes = {\n data: PropTypes.array,\n errorMessage: PropTypes.string,\n intl: intlShape,\n label: PropTypes.string,\n multiple: PropTypes.bool,\n name: PropTypes.string,\n required: PropTypes.bool,\n validationErrors: PropTypes.object,\n value: PropTypes.any,\n};\nexport default injectIntl(AutocompleteComponent);\n","import { Button } from \"@akinoxsolutions/gerudo-ui\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\n//import SpinnerButton from \"../shared/inputs/custom/spinnerButton\";\n\nconst ButtonComponent = ({\n className,\n disabled,\n href,\n icon,\n label,\n loading,\n mini,\n onClick,\n primary,\n style,\n type,\n flat,\n accent,\n}) => {\n // Temporarily translate props\n const size = mini ? \"small\" : \"large\";\n const htmlType = type;\n let buttonType = \"default\";\n if (primary || accent) {\n buttonType = \"emphasis\";\n }\n if (flat) {\n buttonType = \"text\";\n }\n // Still need translation -> floating, raised\n\n return (\n \n {label}\n \n );\n};\n\nButtonComponent.propTypes = {\n accent: PropTypes.bool,\n className: PropTypes.string,\n disabled: PropTypes.bool,\n flat: PropTypes.bool,\n floating: PropTypes.bool,\n href: PropTypes.string,\n icon: PropTypes.string,\n iconOnly: PropTypes.bool,\n label: PropTypes.any,\n loading: PropTypes.bool,\n mini: PropTypes.bool,\n onClick: PropTypes.func,\n primary: PropTypes.bool,\n raised: PropTypes.bool,\n style: PropTypes.object,\n type: PropTypes.string,\n};\n\nexport default ButtonComponent;\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\n\nimport Checkbox from \"../shared/inputs/checkboxInput\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nconst CheckboxComponent = ({\n disabled,\n errorMessage,\n intl: { formatMessage },\n label,\n name,\n onChange,\n required,\n validationErrors,\n value,\n ...other\n}) => {\n if (\n required &&\n (!validationErrors || (validationErrors && !validationErrors.isDefaultRequiredValue))\n ) {\n if (!validationErrors) {\n validationErrors = {};\n }\n\n validationErrors.isDefaultRequiredValue = formatMessage(baseI18n.error.fieldRequired);\n }\n\n return (\n \n );\n};\n\nCheckboxComponent.propTypes = {\n disabled: PropTypes.bool,\n errorMessage: PropTypes.string,\n intl: intlShape,\n label: PropTypes.node,\n name: PropTypes.string,\n onChange: PropTypes.func,\n required: PropTypes.bool,\n validationErrors: PropTypes.object,\n value: PropTypes.any,\n};\n\nexport default injectIntl(CheckboxComponent);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Dialog from \"react-toolbox/lib/dialog\";\n\nconst DialogComponent = ({ actions, active, handleClose, content, children, title, ...props }) => (\n \n {content}\n {children}\n \n);\n\nDialogComponent.propTypes = {\n active: PropTypes.bool,\n actions: PropTypes.array,\n content: PropTypes.node,\n title: PropTypes.string,\n handleClose: PropTypes.func,\n};\n\nDialogComponent.defaultProps = {\n active: false,\n};\n\nexport default DialogComponent;\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\n\nimport Dropdown from \"../shared/inputs/dropDownListInput\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nconst DropdownComponent = ({\n auto,\n data,\n disabled,\n errorMessage,\n intl: { formatMessage },\n label,\n name,\n required,\n onChange,\n value,\n validationErrors,\n ...other\n}) => {\n if (\n required &&\n (!validationErrors || (validationErrors && !validationErrors.isDefaultRequiredValue))\n ) {\n if (!validationErrors) {\n validationErrors = {};\n }\n\n validationErrors.isDefaultRequiredValue = formatMessage(baseI18n.error.fieldRequired);\n }\n\n return (\n \n );\n};\n\nDropdownComponent.propTypes = {\n auto: PropTypes.bool,\n data: PropTypes.array,\n disabled: PropTypes.bool,\n errorMessage: PropTypes.string,\n intl: intlShape,\n label: PropTypes.node,\n name: PropTypes.string,\n onChange: PropTypes.func,\n required: PropTypes.bool,\n validationErrors: PropTypes.object,\n value: PropTypes.any,\n};\n\nexport default injectIntl(DropdownComponent);\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { Table } from \"@akinoxsolutions/gerudo-ui\";\n\nimport styles from \"./style.scss\";\n\nconst TableComponent = ({ className, data, model, withActions, withHeader, bordered = true }) => {\n const columns = Object.keys(model).map((key) => ({\n ...model[key],\n dataIndex: key,\n key: key,\n }));\n\n return (\n \n );\n};\n\nTableComponent.propTypes = {\n className: PropTypes.string,\n data: PropTypes.array,\n model: PropTypes.object,\n withActions: PropTypes.bool,\n withHeader: PropTypes.bool,\n bordered: PropTypes.bool,\n};\n\nexport default TableComponent;\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\n\nimport Input from \"../shared/inputs/textInput\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nconst TextInputComponent = ({\n errorMessage,\n intl: { formatMessage },\n label,\n multiline,\n name,\n required,\n rows,\n type,\n validationErrors,\n value,\n ...other\n}) => {\n if (\n required &&\n (!validationErrors || (validationErrors && !validationErrors.isDefaultRequiredValue))\n ) {\n if (!validationErrors) {\n validationErrors = {};\n }\n\n validationErrors.isDefaultRequiredValue = formatMessage(baseI18n.error.fieldRequired);\n }\n\n return (\n \n );\n};\n\nTextInputComponent.propTypes = {\n errorMessage: PropTypes.string,\n intl: intlShape,\n label: PropTypes.node,\n multiline: PropTypes.bool,\n name: PropTypes.string,\n onChange: PropTypes.func,\n required: PropTypes.bool,\n rows: PropTypes.number,\n type: PropTypes.string,\n validationErrors: PropTypes.object,\n value: PropTypes.any,\n};\n\nTextInputComponent.defaultProps = {\n type: \"text\",\n};\n\nexport default injectIntl(TextInputComponent);\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { Table } from \"@akinoxsolutions/gerudo-ui\";\n\nimport styles from \"./style.scss\";\n\nconst DynamicTable = ({\n className,\n data,\n staticModel,\n // Order in array is important\n columnsShown,\n withActions,\n withHeader,\n}) => {\n const columns = columnsShown.map((columnName) => ({\n ...staticModel[columnName],\n dataIndex: columnName,\n key: columnName,\n }));\n\n return (\n \n );\n};\n\nDynamicTable.propTypes = {\n className: PropTypes.string,\n data: PropTypes.array,\n staticModel: PropTypes.object,\n columnsShown: PropTypes.arrayOf(PropTypes.string),\n withActions: PropTypes.bool,\n withHeader: PropTypes.bool,\n};\n\nexport default DynamicTable;\n","export { default as Avatar } from \"./avatar\";\nexport { default as Autocomplete } from \"./autocomplete\";\nexport { default as Button } from \"./button\";\nexport { default as Checkbox } from \"./checkbox\";\nexport { default as Chip } from \"./chip\";\nexport { default as Dialog } from \"./dialog\";\nexport { default as Dropdown } from \"./dropdown\";\nexport { default as Table } from \"./table\";\nexport { default as TextInput } from \"./textInput\";\nexport { default as DynamicTable } from \"./DynamicTable\";\n","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./VideoConferencesCard.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./VideoConferencesCard.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./VideoConferencesCard.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".DynamicFormPage-style__form-container___iawDu{width:100%;margin-bottom:10rem}@media print{.DynamicFormPage-style__form-container___iawDu .ant-tabs-nav{display:none !important}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"form-container\": \"DynamicFormPage-style__form-container___iawDu\"\n};","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".style__dropzone___2OUBb{background-color:#f2f2f2}@media print{.style__dropzone___2OUBb{display:none !important}}.style__dropzone-light___sDH6h{background-color:white}.style__dropzone-light___sDH6h,.style__dropzone___2OUBb{font-size:14px;text-align:center;padding:20px 20px 15px;border-radius:3px;cursor:pointer}.style__dropzone-light___sDH6h [data-react-toolbox=\\\"font-icon\\\"],.style__dropzone___2OUBb [data-react-toolbox=\\\"font-icon\\\"]{font-size:30px;color:#009688}.style__dropzone-light___sDH6h p,.style__dropzone___2OUBb p{font-size:14px}.style__listItem___Dr8sl [data-react-toolbox=\\\"progress-bar\\\"]{height:30px;width:30px}.style__listItem___Dr8sl [data-react-toolbox=\\\"font-icon\\\"]{color:#009688;margin-right:0 !important;width:auto !important}.style__inline-file___3bPFn{background:white;border:1px solid #d7d7d7;border-radius:6px;display:inline-flex;flex-direction:row;align-items:center;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.2rem 0.8rem;margin:0.5rem 0.5rem 0 0}.style__inline-file___3bPFn p{margin:0;font-size:1.2rem;line-height:normal}.style__inline-file___3bPFn span{font-size:1.1rem}.style__inline-file___3bPFn [data-react-toolbox=\\\"button\\\"]{width:3rem}.style__inline-file___3bPFn [data-react-toolbox=\\\"font-icon\\\"]{font-size:2.6rem}@media print{.style__inline-file___3bPFn aside p{display:inline-block;margin-right:1rem}.style__inline-file___3bPFn a,.style__inline-file___3bPFn button{display:none}}.style__attachments___2IbzQ td,.style__attachments___2IbzQ th{line-height:1.5}.style__attachments___2IbzQ tbody>tr>td small{line-height:1.5;display:block}.style__attachments___2IbzQ tbody>tr>td time{white-space:nowrap}.style__attachments___2IbzQ tbody>tr>td:nth-child(2){line-height:1.2}.style__responsive-attachments___gwkzA{min-width:auto;text-align:left}.style__only-pdf-files___unrBe{font-size:1.1rem;color:grey}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"dropzone\": \"style__dropzone___2OUBb\",\n\t\"dropzone-light\": \"style__dropzone-light___sDH6h\",\n\t\"listItem\": \"style__listItem___Dr8sl\",\n\t\"inline-file\": \"style__inline-file___3bPFn\",\n\t\"attachments\": \"style__attachments___2IbzQ\",\n\t\"responsive-attachments\": \"style__responsive-attachments___gwkzA\",\n\t\"only-pdf-files\": \"style__only-pdf-files___unrBe\"\n};","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./personPictureUrlForm.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./personPictureUrlForm.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./personPictureUrlForm.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Procedure-style__procedure-row___2N18r{display:block}@media (min-width: 1100px){.Procedure-style__procedure-row___2N18r{align-items:center;display:flex;flex-direction:row;flex:1}}.Procedure-style__procedure-row___2N18r input{background-color:white !important}@media (min-width: 800px){.Procedure-style__procedure-row___2N18r .Procedure-style__common___RQA5s,.Procedure-style__procedure-row___2N18r .Procedure-style__anatomical___2PoNe,.Procedure-style__procedure-row___2N18r .Procedure-style__code___kgepZ,.Procedure-style__procedure-row___2N18r .Procedure-style__align-with-text___2a7u0{margin-left:1rem}}.Procedure-style__procedure-row___2N18r .Procedure-style__procedure___1L-oF{min-width:20rem}@media (min-width: 600px){.Procedure-style__procedure-row___2N18r .Procedure-style__procedure___1L-oF{min-width:25rem}}@media (min-width: 800px){.Procedure-style__procedure-row___2N18r .Procedure-style__procedure___1L-oF{min-width:30rem}}@media (min-width: 1200px){.Procedure-style__procedure-row___2N18r .Procedure-style__procedure___1L-oF{min-width:35rem}}@media (min-width: 1300px){.Procedure-style__procedure-row___2N18r .Procedure-style__procedure___1L-oF{min-width:40rem}}.Procedure-style__procedure-row___2N18r .Procedure-style__anatomical___2PoNe{min-width:15rem}.Procedure-style__procedure-row___2N18r .Procedure-style__code___kgepZ{min-width:11rem;width:11rem}.Procedure-style__procedure-row___2N18r .Procedure-style__hide___2MZlb{visibility:hidden}.Procedure-style__procedure-row___2N18r .Procedure-style__align-button-with-text___1ub9u{margin-bottom:2.5rem}.Procedure-style__procedure-row___2N18r .Procedure-style__align-with-text___2a7u0{margin-top:3rem}.Procedure-style__procedure-row___2N18r .Procedure-style__align-with-text___2a7u0 button{margin-top:1rem}.Procedure-style__procedure-row___2N18r .Procedure-style__align-with-text___2a7u0 .Procedure-style__toggle-button___FTp7M div label{min-width:8rem !important;width:8rem !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"procedure-row\": \"Procedure-style__procedure-row___2N18r\",\n\t\"common\": \"Procedure-style__common___RQA5s\",\n\t\"anatomical\": \"Procedure-style__anatomical___2PoNe\",\n\t\"code\": \"Procedure-style__code___kgepZ\",\n\t\"align-with-text\": \"Procedure-style__align-with-text___2a7u0\",\n\t\"procedure\": \"Procedure-style__procedure___1L-oF\",\n\t\"hide\": \"Procedure-style__hide___2MZlb\",\n\t\"align-button-with-text\": \"Procedure-style__align-button-with-text___1ub9u\",\n\t\"toggle-button\": \"Procedure-style__toggle-button___FTp7M\"\n};","module.exports = __webpack_public_path__ + \"143287a26444d65d0a8be065505e23db.png\";","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./Nav.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./Nav.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./Nav.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { Button } from \"react-toolbox/lib/button\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport formStyle from \"../../../../../styles/forms\";\n\nexport class SpinnerButton extends React.Component {\n static propTypes = {\n label: PropTypes.string,\n type: PropTypes.string,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n onClick: PropTypes.func,\n style: PropTypes.any,\n className: PropTypes.string,\n disabled: PropTypes.bool,\n loading: PropTypes.bool,\n primary: PropTypes.bool,\n raised: PropTypes.bool,\n iconOnly: PropTypes.bool,\n };\n\n static defaultProps = {\n loading: false,\n icon: null,\n onClick: null,\n primary: false,\n raised: false,\n className: null,\n };\n\n constructor(props) {\n super(props);\n }\n\n render() {\n const {\n label,\n type,\n icon,\n loading,\n className,\n primary,\n raised,\n onClick,\n style,\n disabled,\n iconOnly,\n ...other\n } = this.props;\n return (\n \n {label || \"\"}\n {this.props.loading && (\n \n )}\n \n );\n }\n}\n\nexport default SpinnerButton;\n","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./alert.styles.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./alert.styles.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./alert.styles.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import { defineMessages } from \"react-intl\";\nexport default defineMessages({\n label: {\n id: \"invitations.label\",\n description: \"Invitations list header\",\n defaultMessage: \"Invitations\",\n },\n invite: {\n id: \"invitations.invite\",\n description: \"Invite button\",\n defaultMessage: \"Invite\",\n },\n invitedBy: {\n id: \"invitations.invitedBy\",\n description: \"Invited by label\",\n defaultMessage: \"Invited by\",\n },\n invitedOn: {\n id: \"invitations.invitedOn\",\n description: \"Invited on label\",\n defaultMessage: \"Invited on\",\n },\n completeBy: {\n id: \"invitations.completeBy\",\n description: \"Invited on label\",\n defaultMessage: \"Complete by\",\n },\n acceptedOn: {\n id: \"invitations.acceptedOn\",\n description: \"Invited on label\",\n defaultMessage: \"Accepted on\",\n },\n completedOn: {\n id: \"invitations.completedOn\",\n description: \"Invited on label\",\n defaultMessage: \"Completed on\",\n },\n invitedByShort: {\n id: \"invitations.invitedByShort\",\n description: \"Invited by short label\",\n defaultMessage: \"By:\",\n },\n invitedOnShort: {\n id: \"invitations.invitedOnShort\",\n description: \"Invited on short label\",\n defaultMessage: \"on:\",\n },\n title: {\n id: \"invitations.title\",\n description: \"Invite a patient title\",\n defaultMessage: \"Invite a Patient\",\n },\n description: {\n id: \"invitations.description\",\n description: \"Description of the invitation process\",\n defaultMessage:\n \"This process will allow a patient to connect to the application and fill out forms.\",\n },\n patientEmailDescription: {\n id: \"invitations.patientEmailDescription\",\n description: \"Text describing what parameters are required to invite a patient\",\n defaultMessage: \"Enter an up-to-date email to contact the patient.\",\n },\n patientInvitationResent: {\n id: \"invitations.patientInvitationResent\",\n description: \"Snackbar message when invitation is successfully resent.\",\n defaultMessage: \"Invitation resent to {userName}.\",\n },\n patientEmailInvitationLabel: {\n id: \"invitations.patientEmailInvitationLabel\",\n description: \"Invitation email label\",\n defaultMessage: \"Invitation Email\",\n },\n patientAdditionalTextLabel: {\n id: \"invitations.patientAdditionalTextLabel\",\n description: \"Invitation additional text label\",\n defaultMessage: \"Additional Text\",\n },\n patientAdditionalTextHint: {\n id: \"invitations.patientAdditionalTextHint\",\n description: \"Invitation additional text hint\",\n defaultMessage: \"Enter any text you'd like to go along the invitation email.\",\n },\n additionalTextError: {\n id: \"invitations.additionalTextError\",\n description: \"Invitation additional text error message\",\n defaultMessage: \"Text must be at most 250 characters long\",\n },\n sentOn: {\n id: \"invitations.reminder.sentOn\",\n description: \"Sent on label\",\n defaultMessage: \"Sent on\",\n },\n sentBy: {\n id: \"invitations.reminder.sentBy\",\n description: \"To label\",\n defaultMessage: \"Sent By\",\n },\n typeLabel: {\n id: \"invitations.reminder.typeLabel\",\n description: \"Reminder type label\",\n defaultMessage: \"Type\",\n },\n sendReminderButtonLabel: {\n id: \"invitations.reminder.sendReminderButtonLabel\",\n description: \"Send Reminder button label\",\n defaultMessage: \"Send reminder\",\n },\n reminderTitleLabel: {\n id: \"invitations.reminder.reminderTitleLabel\",\n description: \"Reminder Title label\",\n defaultMessage: \"Reminders\",\n },\n reminderTypeManual: {\n id: \"invitations.reminder.typeManual\",\n description: \"Reminder manual type text\",\n defaultMessage: \"Manual\",\n },\n reminderTypeAutomatic: {\n id: \"invitations.reminder.typeAutomatic\",\n description: \"Reminder automatic type text\",\n defaultMessage: \"Automatic\",\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, FormattedMessage } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\n\nimport { GerudoTextInput, SelectInput } from \"~/src/js/components/shared/inputs\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { parseToCalendarDate, serializeDate } from \"../../helpers/dates\";\nimport { getInputMetadata, getCountry } from \"../../helpers/staticData\";\nimport { getMetadata, getValidations } from \"../../helpers/validations\";\nimport MonthPickerInput from \"../shared/inputs/monthPickerInput\";\nimport { predefinedMasks } from \"../shared/inputs/textInput\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport function build(parentData: any, healthInsurance: any): any {\n return {\n provinceCode: parentData.healthInsurance.provinceCode,\n number: parentData.healthInsurance.number,\n expiration: serializeDate(parentData.healthInsurance.expiration),\n hl7RelationshipCode: healthInsurance.hl7RelationshipCode || null,\n };\n}\n\nexport class _HealthInsuranceFields extends React.Component {\n static propTypes = {\n healthInsurance: PropTypes.object.isRequired,\n viewer: PropTypes.object.isRequired,\n language: PropTypes.string,\n autoFocusNumber: PropTypes.bool,\n overrideRequired: PropTypes.bool,\n onProvinceChanged: PropTypes.func,\n onNumberFilled: PropTypes.func,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n provinceCode: props.healthInsurance.provinceCode || \"QC\",\n };\n }\n\n handleProvinceChange(provinceCode: string): void {\n this.setState({ provinceCode });\n if (this.props.onProvinceChanged) {\n this.props.onProvinceChanged(provinceCode);\n }\n }\n\n handleNumberChange(healthInsuranceNumber: string): void {\n if (this.props.onNumberFilled && /[a-z]{4} [0-9]{4} [0-9]{4}/gi.test(healthInsuranceNumber)) {\n this.props.onNumberFilled(healthInsuranceNumber);\n }\n }\n\n render() {\n const f = this.props.intl.formatMessage;\n const { overrideRequired, healthInsurance, intl } = this.props;\n const provinces = getCountry(this.props.language, \"CA\").provinces.edges.map((x) => ({\n value: x.node.code,\n label: x.node.name,\n }));\n provinces.push({ value: \"XX\", label: f(baseI18n.global.other) });\n const allMetadata = getInputMetadata();\n const ramqMetadata = getMetadata(allMetadata.inputRamqMetadata);\n const metadata = getMetadata(allMetadata.inputHealthInsuranceMetadata);\n const { number: ramqNumber, expiration: ramqExpiration } = ramqMetadata.inputFields;\n const {\n number: healthInsuranceNumber,\n expiration: healthInsuranceExpiration,\n hl7RelationshipCode,\n } = metadata.inputFields;\n const expiration =\n this.state.provinceCode === \"QC\" ? ramqExpiration : healthInsuranceExpiration;\n const vals = {\n ramqNumber: getValidations(ramqNumber, intl),\n number: getValidations(healthInsuranceNumber, intl),\n expiration: getValidations(expiration, intl),\n hl7RelationshipCode: getValidations(hl7RelationshipCode, intl),\n };\n return (\n
    \n
    \n }\n value={this.state.provinceCode}\n onChange={(e) => {\n this.handleProvinceChange(e);\n }}\n required={\n overrideRequired === undefined\n ? healthInsuranceNumber.type.isRequired\n : overrideRequired\n }\n options={provinces}\n />\n
    \n\n
    \n {this.state.provinceCode === \"QC\" ? (\n }\n value={healthInsurance.number || \"\"}\n required={\n overrideRequired === undefined ? ramqNumber.type.isRequired : overrideRequired\n }\n onChange={(e) => this.handleNumberChange(e)}\n validations={vals.ramqNumber.validations}\n validationErrors={vals.ramqNumber.messages}\n mask={predefinedMasks.ramq}\n autoFocus={this.props.autoFocusNumber}\n />\n ) : (\n }\n value={healthInsurance.number || \"\"}\n required={\n overrideRequired === undefined\n ? healthInsuranceNumber.type.isRequired\n : overrideRequired\n }\n validations={vals.number.validations}\n validationErrors={vals.number.messages}\n autoFocus={this.props.autoFocusNumber}\n />\n )}\n \n
    \n
    \n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n language: state.settingsReducer.language,\n };\n};\n\nexport default Relay.createContainer(connect(mapStateToProps)(injectIntl(_HealthInsuranceFields)), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n }\n `,\n healthInsurance: () => Relay.QL`\n fragment on PatientHealthInsurance {\n provinceCode\n number\n expiration\n hl7RelationshipCode\n }\n `,\n },\n});\n","\nvar content = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./mobileList.theme.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./mobileList.theme.scss\", function() {\n\t\tvar newContent = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./mobileList.theme.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","export const MenuActionTypes = {\n SelectMenuItem: \"SelectMenuItem\",\n};\n","import { MenuActionTypes } from \"./MenuActionTypes\";\n\nexport const menuReducer = (state, action) => {\n switch (action.type) {\n case MenuActionTypes.SelectMenuItem: {\n const { menuName, menuItemNames } = action.payload;\n return {\n ...state,\n [menuName]: {\n selected: menuItemNames,\n },\n };\n }\n\n default:\n return state;\n }\n};\n\nexport const initialState = {};\n","import React, { createContext } from \"react\";\n\nimport { initialState, useMenuReducer } from \"~/src/js/hooks/Menus\";\n\nexport const MenuContext = createContext({\n state: initialState,\n selectMenuItem: () => null,\n});\n\nexport const MenuProvider = ({ children }) => {\n const menuReducer = useMenuReducer();\n\n return {children};\n};\n","import { useReducer } from \"react\";\nimport debounce from \"lodash/debounce\";\n\nimport { menuReducer, initialState as menuInitialState } from \"./menuReducer\";\nimport { MenuActionTypes } from \"./MenuActionTypes\";\n\nexport const useMenuReducer = (initialState = menuInitialState) => {\n const [state, dispatch] = useReducer(menuReducer, initialState);\n\n const debouncedSelectMenuItem = debounce(\n ({ menuName, menuItemNames }) =>\n dispatch({ type: MenuActionTypes.SelectMenuItem, payload: { menuName, menuItemNames } }),\n 50,\n { trailing: true }\n );\n\n const getSelectedMenuItemFromMenuName = (menuName) => {\n if (state[menuName]) {\n return state[menuName].selected;\n }\n\n return [];\n };\n\n return {\n state,\n getSelectedMenuItemFromMenuName,\n selectMenuItem: debouncedSelectMenuItem,\n };\n};\n","export { MenuContext, MenuProvider } from \"./MenuProvider\";\n","import * as idb from \"idb\";\nimport tus from \"tus-js-client\";\n\nimport { AppSettings } from \"../constants\";\n\nimport { getToken } from \"./authentication\";\nimport { s2ab } from \"./files\";\n\nwindow.idb = idb;\n\nconst currentUploads = {};\n\nexport function uploadFile(file, attachmentId, options) {\n const key = file.name + \"-\" + file.type + \"-\" + file.size;\n\n const currentUpload = currentUploads[key];\n if (currentUpload) {\n currentUpload.options = {\n ...currentUpload.options,\n onError: options.onError,\n onChunkComplete: (chunkSize, bytesAccepted, bytesTotal) =>\n options.onProgress(bytesAccepted, bytesTotal),\n onSuccess: () => {\n if (options.cleanOnSuccess) {\n markFileAsUploaded(file);\n }\n\n delete currentUploads[key];\n\n options.onSuccess.call(this, arguments);\n },\n };\n return currentUpload;\n }\n\n const upload = (currentUploads[key] = new tus.Upload(file, {\n endpoint: AppSettings.ApiRootUrl.replace(\"/graphql\", \"/file-uploads/\"),\n retryDelays: [0, 3000, 5000, 10000, 20000],\n chunkSize: 5242880,\n removeFingerprintOnSuccess: true,\n headers: {\n Authorization: \"Bearer \" + getToken(),\n },\n metadata: {\n attachmentId,\n filename: file.name,\n },\n onError: options.onError,\n onChunkComplete: (chunkSize, bytesAccepted, bytesTotal) =>\n options.onProgress(bytesAccepted, bytesTotal),\n onSuccess: () => {\n if (options.cleanOnSuccess) {\n markFileAsUploaded(file);\n }\n\n delete currentUploads[key];\n options.onSuccess.call(this, arguments);\n },\n }));\n\n upload.key = key;\n\n upload.start();\n\n return upload;\n}\n\nexport async function stopUpload(attachmentId) {\n const found = Object.values(currentUploads).filter(\n (x) => x.options.metadata.attachmentId === attachmentId\n )[0];\n\n if (found) {\n found.abort();\n delete currentUploads[found.key];\n }\n\n const db = await getDB();\n const foundRow = await db.getAllKeysFromIndex(\"files\", \"byAttachmentId\", attachmentId);\n if (foundRow && foundRow.length > 0) {\n await db.delete(\"files\", foundRow[0]);\n }\n}\n\nexport async function moveUploadToBackground(attachmentId) {\n const found = Object.values(currentUploads).filter(\n (x) => x.options.metadata.attachmentId === attachmentId\n )[0];\n\n if (!found) {\n return;\n }\n\n /* eslint-disable no-console */\n found.options.onError = (e) => {\n console.error(\"Error uploading file \", found.options, e);\n };\n found.options.onProgress = () => {};\n found.options.onSuccess = () => {\n console.log(\"Succeeded in uploading file in background\", found.options);\n\n delete currentUploads[found.key];\n };\n /* eslint-enable no-console */\n}\n\nexport function uploadFileInBackground(file: File, attachmentId: String) {\n /* eslint-disable no-console */\n const upload = uploadFile(file, attachmentId, {\n onError: (e) => console.error(\"Error uploading file \", file, attachmentId, e),\n onSuccess: () => {\n console.log(\"Succeeded in uploading file in background\", file, attachmentId);\n\n delete currentUploads[upload.key];\n },\n });\n\n return upload;\n /* eslint-enable no-console */\n}\n\nexport async function storeFileForUpload(file: File, attachmentId): Promise {\n const db = await getDB();\n const data = await readFileAsync(file);\n const id = file.name + \"-\" + file.type;\n await db.add(\"files\", {\n id,\n name: file.name,\n type: file.type,\n lastModified: file.lastModified,\n attachmentId,\n data,\n });\n\n return file;\n}\n\nfunction readFileAsync(file) {\n return new Promise((resolve, reject) => {\n const reader = new FileReader();\n\n reader.onload = () => {\n resolve(reader.result);\n };\n\n reader.onerror = reject;\n\n reader.readAsArrayBuffer(file);\n });\n}\n\nexport async function getUploadableFiles(): Promise {\n const db = await getDB();\n\n const allFiles = await db.getAll(\"files\");\n return allFiles\n .filter((x) => x.data instanceof ArrayBuffer)\n .map((x) => {\n const blob = new Blob([s2ab(x.data)], { type: x.type });\n return new File([blob], x.name, {\n type: x.type,\n lastModified: x.lastModified,\n attachmentId: x.attachmentId,\n });\n });\n}\n\nexport async function markFileAsUploaded(file: File): Promise {\n const db = await getDB();\n const id = file.name + \"-\" + file.type;\n await db.delete(\"files\", id);\n\n return file;\n}\n\nasync function getDB(): IDBDatabase {\n const db = await idb.openDB(\"uploads\", 2, {\n upgrade(upgradeDb: IDBDatabase, oldVersion, newVersion, transaction) {\n if (oldVersion < 1) {\n upgradeDb.createObjectStore(\"files\", {\n keyPath: \"id\",\n autoIncrement: false,\n });\n }\n\n if (oldVersion < 2) {\n const store = transaction.objectStore(\"files\");\n store.createIndex(\"byAttachmentId\", \"attachmentId\", { unique: true });\n }\n\n // eslint-disable-next-line no-console\n console.log(\"Upgraded 'uploads' DB to version\", newVersion);\n },\n });\n\n return db;\n}\n\nwindow.getDB = getDB;\n\nwindow.addEventListener(\"beforeunload\", (e) => {\n if (Object.keys(currentUploads).length > 0) {\n e.preventDefault();\n e.returnValue = true;\n return true;\n }\n\n return undefined;\n});\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".BrowserWarning-style__warning-modal___T-9Pz{margin:0 auto}.BrowserWarning-style__logo___SReAI{margin:0 auto}.BrowserWarning-style__browser-list___AjZ5x{padding-left:20px}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"warning-modal\": \"BrowserWarning-style__warning-modal___T-9Pz\",\n\t\"logo\": \"BrowserWarning-style__logo___SReAI\",\n\t\"browser-list\": \"BrowserWarning-style__browser-list___AjZ5x\"\n};","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Footer-style__footer___2lXdB{background-color:#f6f6f6;border-top:1px solid #d7d7d7;display:flex;padding:1em 2em;margin-top:2em}@media print{.Footer-style__footer___2lXdB{display:none !important}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"footer\": \"Footer-style__footer___2lXdB\"\n};","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./HandWrittenSignature.styles.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./HandWrittenSignature.styles.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./HandWrittenSignature.styles.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".InputLabel-style__label___3V5V9{padding:1rem 0;font-size:14px}.InputLabel-style__label___3V5V9.InputLabel-style__required___3EhAL ::after{margin-left:0.5rem;content:\\\"*\\\";color:#d00025}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"label\": \"InputLabel-style__label___3V5V9\",\n\t\"required\": \"InputLabel-style__required___3EhAL\"\n};","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { Button } from \"react-toolbox/lib/button\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\n\nimport cardListStyle from \"../../../styles/cardList\";\n\nimport i18n from \"./cases.i18n\";\n\nexport const CaseLabels = (props) => {\n const p = getCaseLabels(\n props.formType,\n props.subFormType,\n props.clinicalDomain,\n props.intl,\n props.form\n );\n if (p === null) {\n return null;\n }\n\n return (\n \n \n {p.clinicalDomain && (\n \n )}\n {p.formName && (\n \n )}\n \n );\n};\nCaseLabels.propTypes = {\n formType: PropTypes.string,\n subFormType: PropTypes.string,\n clinicalDomain: PropTypes.string,\n form: PropTypes.object,\n intl: intlShape,\n};\n\nconst iCaseTypeLabel = (props) => {\n const p = getCaseLabels(\n props.formType,\n props.subFormType,\n props.clinicalDomain,\n props.intl,\n props.form\n );\n return (\n }\n label={p.label}\n style={{ backgroundColor: p.color }}\n primary\n className={cardListStyle[\"button-as-label\"]}\n ripple={false}\n />\n );\n};\niCaseTypeLabel.propTypes = {\n formType: PropTypes.string,\n subFormType: PropTypes.string,\n clinicalDomain: PropTypes.any,\n form: PropTypes.object,\n intl: intlShape,\n};\n\nexport const CaseTypeLabel = injectIntl(iCaseTypeLabel);\n\nexport const FORM_TYPES = Object.freeze({\n conversationConsult: \"ConversationConsultData\",\n patientConversation: \"PatientConversationData\",\n patientAssessment: \"PatientAssessmentData\",\n requestReport: \"RequestReportData\",\n thoracicSurgery: \"ThoracicSurgeryData\",\n dynamicFormCase: \"DynamicFormCaseData\",\n});\n\nexport function getCaseLabels(formType, subFormType, clinicalDomain, intl, form) {\n switch (formType.toUpperCase()) {\n case FORM_TYPES.conversationConsult.toUpperCase():\n if (subFormType === \"GenericConversationConsultData\") {\n return {\n label: intl.formatMessage(i18n.teleconsultFormName),\n clinicalDomain: clinicalDomain,\n color: \"#00BCD4\",\n icon: \"next_week\",\n };\n }\n\n return {\n label: intl.formatMessage(i18n.eConsultFormName),\n clinicalDomain: clinicalDomain,\n color: \"#2196F3\",\n icon: \"contact_mail\",\n };\n\n case FORM_TYPES.patientConversation.toUpperCase():\n return {\n label: intl.formatMessage(i18n.patientFormName),\n clinicalDomain: clinicalDomain,\n color: \"#7AC4FF\",\n icon: \"person_outline\",\n };\n\n case FORM_TYPES.patientAssessment.toUpperCase():\n return {\n label: intl.formatMessage(i18n.selfAssessmentFormName),\n clinicalDomain: clinicalDomain,\n color: \"#9E9E9E\",\n icon: \"assignment\",\n };\n\n case FORM_TYPES.requestReport.toUpperCase():\n return {\n label: intl.formatMessage(i18n.teleconsultFormName),\n clinicalDomain: clinicalDomain,\n color: \"#00BCD4\",\n icon: \"next_week\",\n };\n\n case FORM_TYPES.thoracicSurgery.toUpperCase():\n return {\n label: intl.formatMessage(i18n.thoracicSurgeryFormName),\n clinicalDomain: clinicalDomain,\n color: \"#0036d6\",\n icon: \"airline_seat_flat\",\n };\n\n case FORM_TYPES.dynamicFormCase.toUpperCase():\n return {\n label: intl.formatMessage(i18n.dynamicFormCaseFormName),\n formName: form.name,\n clinicalDomain: clinicalDomain,\n color: \"#00BFA5\",\n icon: \"question_answer\",\n };\n\n default:\n return {\n label: formType,\n clinicalDomain: clinicalDomain,\n color: \"#00BFA5\",\n icon: \"question_answer\",\n };\n }\n}\n\nexport default injectIntl(CaseLabels);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport { departmentDropdownSource } from \"../../shared/dropdownHelpers\";\nimport DropDownListInput from \"../../shared/inputs/dropDownListInput\";\nimport PhysicianInput from \"../../users/physicians/physicianInput\";\n\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nexport const messages = defineMessages({});\n\nexport class EConsultRequesterEdit extends React.Component {\n static propTypes = {\n viewer: PropTypes.any.isRequired,\n departmentId: PropTypes.string,\n requesterId: PropTypes.string,\n patientPhysician: PropTypes.any,\n onHospitalChanged: PropTypes.func,\n onPhysicianChanged: PropTypes.func,\n intl: intlShape,\n };\n\n state = {\n hospitalId: null,\n currentDepartmentId: null,\n };\n\n t(key, args) {\n return this.props.intl.formatMessage(key, args);\n }\n\n render() {\n const { viewer, patientPhysician } = this.props;\n const departments = viewer.currentUser.asSpecialist.departments;\n const currentUserId = viewer.currentUser.user.person.id;\n const hospitals = departmentDropdownSource(departments);\n const { departmentId, requesterId } = this.props;\n const department = departments.filter(\n (x) => x.id === (this.state.currentDepartmentId || departmentId)\n )[0] ||\n departments[0] || { specialists: [] };\n const requester =\n department.specialists.filter((x) => x.id === (requesterId || currentUserId))[0] ||\n department.specialists[0] ||\n {};\n\n let physician = this.state.physician;\n if (typeof physician === \"undefined\" && patientPhysician) {\n physician = patientPhysician;\n } else {\n physician = null;\n }\n\n return (\n
    \n
    \n {\n const hospitalId = departments.filter((x) => x.id === e)[0].hospital.id;\n\n if (this.state.hospitalId !== hospitalId && this.props.onHospitalChanged) {\n this.props.onHospitalChanged(hospitalId);\n }\n\n this.setState({ currentDepartmentId: e, hospitalId });\n }}\n required\n />\n\n \n
    \n
    \n
    \n {\n this.setState({ physician: p });\n if (this.props.onPhysicianChanged) {\n this.props.onPhysicianChanged(p);\n }\n }}\n value={physician ? physician.id : null}\n allowCreation\n />\n
    \n
    \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(EConsultRequesterEdit), {\n initialVariables: {},\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PhysicianInput.getFragment(\"viewer\")}\n currentUser {\n user {\n person {\n id\n }\n }\n\n asSpecialist {\n departments(specialistType: REQUESTER, eConsultOnly: true) {\n id\n name\n value: id\n label: name\n hospital {\n id\n name\n value: id\n label: name\n }\n specialists(specialistType: REQUESTER) {\n id\n fullName\n value: id\n label: fullName\n }\n }\n }\n }\n }\n `,\n },\n});\n","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".successChip-theme__avatar___3x-m8 [data-react-toolbox=\\\"avatar\\\"]{background-color:lightgreen !important}.successChip-theme__avatar___3x-m8 [data-react-toolbox=\\\"avatar\\\"]>span{line-height:3rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"avatar\": \"successChip-theme__avatar___3x-m8\"\n};","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./personProfile.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./personProfile.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./personProfile.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\n// eslint-disable-next-line no-unused-vars\nfunction BirthdayAndAge({ demographic, person, includeAge, intl, relay, ...props }) {\n const demographicOrPerson = demographic || person;\n let result = demographicOrPerson.birthday;\n if (includeAge) {\n const ageString = intl.formatMessage(baseI18n.global.age, { age: demographicOrPerson.age });\n if (result) {\n result += \" (\" + ageString + \")\";\n } else {\n result = ageString;\n }\n }\n\n return (\n \n {result}\n \n );\n}\n\nBirthdayAndAge.propTypes = {\n intl: intlShape,\n demographic: PropTypes.any,\n person: PropTypes.any,\n includeAge: PropTypes.bool,\n};\n\nexport default Relay.createContainer(injectIntl(BirthdayAndAge), {\n fragments: {\n demographic: () => Relay.QL`\n fragment on PatientDemographic {\n birthday\n age\n }\n `,\n person: () => Relay.QL`\n fragment on IPerson {\n birthday\n age\n }\n `,\n },\n});\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".ECONSULT_form-style__list___2goVb{display:block !important}.ECONSULT_form-style__listItem___2UoSP{margin-bottom:1em;border-bottom:1px dotted #ccc;display:block}@media print{.ECONSULT_form-style__listItem___2UoSP{margin-left:4rem}}.ECONSULT_form-style__listItem___2UoSP [data-react-toolbox=\\\"font-icon\\\"]{color:#505050 !important}.ECONSULT_form-style__listItem___2UoSP .ECONSULT_form-style__item___1Xj66{align-items:flex-start}.ECONSULT_form-style__listItem___2UoSP .ECONSULT_form-style__itemContentRoot___3vQNj{height:auto !important;white-space:normal !important}.ECONSULT_form-style__listItem___2UoSP .ECONSULT_form-style__itemText___3FZoZ{-webkit-column-break-inside:avoid;page-break-inside:avoid;break-inside:avoid}.ECONSULT_form-style__listItem___2UoSP .ECONSULT_form-style__left___1pnrs{align-items:flex-start;flex:0.1;width:100%}.ECONSULT_form-style__listItem___2UoSP .ECONSULT_form-style__left___1pnrs .ECONSULT_form-style__itemAction___3Xa7r:nth-child(2){flex:1}.ECONSULT_form-style__history-item-text___ldzvZ{padding-top:1rem}.ECONSULT_form-style__history-item-text___ldzvZ p{font-size:1.5rem !important;line-height:1.8rem !important;padding-bottom:1rem}.ECONSULT_form-style__logos___3ypc8{overflow:auto;margin-bottom:2rem}.ECONSULT_form-style__logos___3ypc8 img{height:50px;float:left}.ECONSULT_form-style__logos___3ypc8 img:last-child{float:right}@media all and (max-width: 450px){.ECONSULT_form-style__logos___3ypc8 img{height:40px}}@media all and (max-width: 20rem){.ECONSULT_form-style__logos___3ypc8 img{height:35px}}.ECONSULT_form-style__pretend-icon___SfU5f{margin-left:4.8rem}.ECONSULT_form-style__list-footnote___FLEmo{margin:0rem 0 1rem 4.8rem}.ECONSULT_form-style__light-warning___3OeyH{background-color:rgba(255,255,0,0.25);border:1px solid #ccc;border-radius:2rem;margin-left:4.8rem;padding:1rem 1rem 1rem 1rem !important}.ECONSULT_form-style__light-warning-card___1rpLI{background-color:rgba(255,255,0,0.25) !important;border:1px solid #ccc;border-radius:2rem}.ECONSULT_form-style__form-actions___15BQZ button,.ECONSULT_form-style__form-actions___15BQZ a{margin:0.5rem 1.6rem 0 0 !important}@media print{.ECONSULT_form-style__form-root___UJuCd>.ECONSULT_form-style__logos___3ypc8{display:none}.ECONSULT_form-style__form-actions___15BQZ{display:none !important}.ECONSULT_form-style__presentation-card-title___2sboX{padding-top:0.8rem !important;padding-bottom:0.8rem !important}.ECONSULT_form-style__dispatch-form___3KhGE,.ECONSULT_form-style__request-form___SxaPB,.ECONSULT_form-style__report-form___11vZ2,.ECONSULT_form-style__survey-form___20T6h{display:none !important}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"list\": \"ECONSULT_form-style__list___2goVb\",\n\t\"listItem\": \"ECONSULT_form-style__listItem___2UoSP\",\n\t\"item\": \"ECONSULT_form-style__item___1Xj66\",\n\t\"itemContentRoot\": \"ECONSULT_form-style__itemContentRoot___3vQNj\",\n\t\"itemText\": \"ECONSULT_form-style__itemText___3FZoZ\",\n\t\"left\": \"ECONSULT_form-style__left___1pnrs\",\n\t\"itemAction\": \"ECONSULT_form-style__itemAction___3Xa7r\",\n\t\"history-item-text\": \"ECONSULT_form-style__history-item-text___ldzvZ\",\n\t\"logos\": \"ECONSULT_form-style__logos___3ypc8\",\n\t\"pretend-icon\": \"ECONSULT_form-style__pretend-icon___SfU5f\",\n\t\"list-footnote\": \"ECONSULT_form-style__list-footnote___FLEmo\",\n\t\"light-warning\": \"ECONSULT_form-style__light-warning___3OeyH\",\n\t\"light-warning-card\": \"ECONSULT_form-style__light-warning-card___1rpLI\",\n\t\"form-actions\": \"ECONSULT_form-style__form-actions___15BQZ\",\n\t\"form-root\": \"ECONSULT_form-style__form-root___UJuCd\",\n\t\"presentation-card-title\": \"ECONSULT_form-style__presentation-card-title___2sboX\",\n\t\"dispatch-form\": \"ECONSULT_form-style__dispatch-form___3KhGE\",\n\t\"request-form\": \"ECONSULT_form-style__request-form___SxaPB\",\n\t\"report-form\": \"ECONSULT_form-style__report-form___11vZ2\",\n\t\"survey-form\": \"ECONSULT_form-style__survey-form___20T6h\"\n};","/* eslint no-undef: 0 */\nexport const APP_PORT = process.env.APP_PORT || 18888;\nexport const APP_HOST = process.env.APP_HOST || \"0.0.0.0\";\n\nexport const GRAPHQL = {\n PROTOCOL: \"http\",\n PORT: 15000,\n HOST: process.env.GRAPHQL_HOST || \"127.0.0.1\",\n};\n\nexport const AppSettings = {\n NodeEnv: process.env.NODE_ENV,\n ApiRootUrl: process.env.API_URL_ROOT,\n PdfRootUrl: process.env.PDF_URL_ROOT,\n WebRootUrl: process.env.WEB_URL_ROOT,\n ViewerRootUrl: process.env.VIEWER_URL_ROOT,\n AtlasRootUrl: process.env.ATLAS_ROOT_URL,\n FormolViewerUrl: process.env.FORMOL_VIEWER,\n};\n\nglobal.AppSettings = AppSettings;\n\nexport const CaseTypes = {\n IN_PROGRESS: \"IN_PROGRESS\",\n WAITING: \"WAITING\",\n COMPLETED: \"COMPLETED\",\n ARCHIVED: \"ARCHIVED\",\n};\n\nexport const MyPatientsFilter = {\n ALL: \"ALL\",\n MY_DEPARTMENTS: \"MY_DEPARTMENTS\",\n MINE: \"MINE\",\n};\n\nexport const ActivityViews = {\n ALL: \"ALL\",\n MY_ACTIONS: \"MY_ACTIONS\",\n RECENT_CASES: \"RECENT_CASES\",\n};\n\nexport const Orders = {\n ASCENDING: \"ASC\",\n DESCENDING: \"DESC\",\n};\n\nexport const CaseColumns = {\n LEGACY_ID: \"LEGACY_ID\",\n ORIGIN_DEPT: \"ORIGIN_DEPT\",\n DEST_DEPT: \"DEST_DEPT\",\n CASE_TYPE: \"CASE_TYPE\",\n FIRST_NAME: \"FIRST_NAME\",\n LAST_NAME: \"LAST_NAME\",\n GENDER: \"GENDER\",\n BIRTHDAY: \"BIRTHDAY\",\n STATUS: \"STATUS\",\n PRIORITY: \"PRIORITY\",\n CLINICAL_DOMAIN: \"CLINICAL_DOMAIN\",\n UPDATED_ON: \"UPDATED_ON\",\n DUE_AT: \"DUE_AT\",\n};\n\nexport const themeColors = {\n colorPrimaryDark: \"#00796B\",\n colorPrimary: \"#009688\",\n};\n\nexport const Genders = {\n MALE: \"MALE\",\n FEMALE: \"FEMALE\",\n OTHER: \"OTHER\",\n};\n\nexport const NamePlaceholder = \"—\";\n\nexport const AuthSecret = \"secretlaskdjfaskljfaslkdfjslkdfjslkdfjslkdfjsdsdafasdfsdflkfj\";\n\nexport const URLs = {\n viewCase: \"/cases/{id}/forms\",\n newCase: \"/cases/new\",\n newEConsultCase: \"/cases/new/econsult\",\n getWebRootUrl: () => {\n return (AppSettings.WebRootUrl || \"\").replace(\"0.0.0.0\", document.location.hostname);\n },\n getAtlasRootUrl: () => {\n return (AppSettings.AtlasRootUrl || \"\").replace(\"0.0.0.0\", document.location.hostname);\n },\n getUrlSignatureApiEndpoint: () => {\n return URLs.getApiRootUrl().replace(\"/graphql\", \"/electronicSignature\");\n },\n getApiRootUrl: () => {\n if (AppSettings.ApiRootUrl.startsWith(\"/\")) {\n return \"http://localhost:18888\" + AppSettings.ApiRootUrl;\n }\n return AppSettings.ApiRootUrl;\n },\n getApiUrlUpload: () => {\n return URLs.getApiRootUrl().replace(\"/graphql\", \"/attachments/\");\n },\n viewCaseFormat: (id) => {\n return (\n URLs.getWebRootUrl() + URLs.viewCase.substr(1).replace(\"{id}\", id).replace(\"{legacyId}\", id)\n );\n },\n imageViewerFormat: (url) => {\n return (AppSettings.ViewerRootUrl || \"\") + \"?url=\" + encodeURIComponent(url);\n },\n rootFormat: (s) => {\n return URLs.getWebRootUrl() + (s.startsWith(\"/\") ? s.substr(1) : s);\n },\n newCaseFormat: (patientId) => {\n return (\n URLs.getWebRootUrl() + URLs.newCase.substr(1) + (patientId ? \"?patientId=\" + patientId : \"\")\n );\n },\n newEConsultCaseFormat: (patientId) => {\n return (\n URLs.getWebRootUrl() +\n URLs.newEConsultCase.substr(1) +\n (patientId ? \"?patientId=\" + patientId : \"\")\n );\n },\n errorsPage: () => {\n return URLs.getWebRootUrl() + \"errors\";\n },\n dicomManifest: (token, ids, title, lang) => {\n if (ids.length <= 0) {\n return \"\";\n }\n\n const merged = ids.join(\"&ids=\");\n lang = lang || document.querySelector(\"html\").getAttribute(\"lang\");\n return AppSettings.ApiRootUrl.replace(\n \"/graphql\",\n `/attachments/dicom-manifest.json?lang=${lang}&title=${title}&ids=` +\n merged +\n `&access_token=${token}`\n );\n },\n getUpdateHubUrl: () => {\n return AppSettings.ApiRootUrl.replace(\"/graphql\", `/hubs/updates`);\n },\n};\n","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ScheduleVideoConferenceDialog.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ScheduleVideoConferenceDialog.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ScheduleVideoConferenceDialog.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { SpinnerIcon } from \"~/src/js/components/shared/inputs/custom/spinnerIcon\";\n\nimport styles from \"./spinnerPlaceholder.style\";\n\nconst SpinnerPlaceholder = ({ loading }) => {\n return (\n
    \n \n
    \n );\n};\n\nSpinnerPlaceholder.propTypes = {\n loading: PropTypes.bool,\n};\n\nSpinnerPlaceholder.defaultProps = {\n loading: true,\n};\n\nexport default SpinnerPlaceholder;\n","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./dropDownListInput.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./dropDownListInput.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./dropDownListInput.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","module.exports = __webpack_public_path__ + \"5988c9fbf36a4d07a2610eac14bbda54.svg\";","\nvar content = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./Consultation.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./Consultation.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./Consultation.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./creationInformationHeader.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./creationInformationHeader.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./creationInformationHeader.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import classnames from \"classnames\";\nimport { withFormsy } from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport inputTheme from \"react-toolbox/lib/input/theme\";\nimport { RadioGroup, RadioButton } from \"react-toolbox/lib/radio\";\nimport radioTheme from \"react-toolbox/lib/radio/theme\";\n\nimport { GerudoTextInput } from \"~/src/js/components/shared/inputs\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport inputStyle from \"../../../../styles/theme/main/input\";\nimport radioButtonStyle from \"../../../../styles/theme/main/radioButton\";\n\nimport { shouldShowError } from \"./inputHelpers\";\n\nimport styles from \"../../forms/THORSURG/ThoracicSurgeryForm.style\";\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nexport function YesNoOptions(t: Function): any[] {\n return [\n { value: \"YES\", label: t(baseI18n.global.labelYes) },\n { value: \"NO\", label: t(baseI18n.global.labelNo) },\n ];\n}\n\nexport class _RadioButtonListInput extends React.Component {\n static propTypes = {\n name: PropTypes.string.isRequired,\n className: PropTypes.string,\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n showLabel: PropTypes.bool,\n importantLabel: PropTypes.bool,\n disabled: PropTypes.bool,\n value: PropTypes.any,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n options: PropTypes.arrayOf(PropTypes.any),\n onChange: PropTypes.func,\n required: PropTypes.bool,\n ignoreRequiredSpan: PropTypes.bool,\n autoFocus: PropTypes.bool,\n inline: PropTypes.bool,\n style: PropTypes.any,\n errorMessage: PropTypes.string,\n other: PropTypes.string,\n };\n\n handleChange(e) {\n this.props.setValue(e);\n\n if (this.props.onChange) {\n this.props.onChange(e);\n }\n }\n\n render() {\n const errorMessage = this.props.errorMessage;\n const {\n options,\n autoFocus,\n style,\n inline,\n name,\n className,\n icon,\n label,\n showLabel,\n importantLabel,\n disabled,\n other,\n } = this.props;\n const showError = shouldShowError(this) && Boolean(errorMessage);\n const currentValue = this.props.value;\n const classNames = classnames(className, radioButtonStyle[\"radio-buttons\"], {\n [radioButtonStyle[\"inline\"]]: inline,\n [radioButtonStyle[\"errored\"]]: showError,\n [formStyle[\"inline-errored\"]]: showError,\n [radioButtonStyle[\"with-icon\"]]: Boolean(icon),\n [radioButtonStyle[\"important-label\"]]: importantLabel,\n [radioButtonStyle[\"with-label\"]]: label && showLabel,\n [inputStyle[\"required-field\"]]: this.props.isRequired && !currentValue,\n });\n return (\n
    \n {this.renderIcon()}\n {this.renderLabel()}\n this.handleChange(e)}\n value={currentValue || \"\"}>\n {options.map((x) => {\n const classNames = classnames(radioTheme[\"text\"], radioButtonStyle[\"text\"]);\n\n return (\n this.handleChange(x.value)}\n value={x.value}>\n {x.label}\n {x.other && currentValue === x.value && (\n \n \n
    \n )}\n \n );\n })}\n \n {showError ? (\n
    \n {errorMessage}\n
    \n ) : null}\n
    \n );\n }\n\n renderLabel() {\n const { label, showLabel, required, ignoreRequiredSpan } = this.props;\n if (!showLabel || !label) {\n return null;\n }\n\n return (\n
    \n {label}\n {required && !ignoreRequiredSpan && getRequiredSpan()}\n
    \n );\n }\n\n hasLabel() {\n return this.props.label && this.props.showLabel;\n }\n\n renderIcon() {\n if (!this.props.icon) {\n return null;\n }\n\n if (!this.props.required || this.hasLabel()) {\n return ;\n }\n\n return {getRequiredSpan()};\n }\n}\n\nexport function getRequiredSpan() {\n const requiredClassName = classnames(\n inputStyle[\"required\"],\n inputTheme[\"required\"],\n radioButtonStyle[\"required\"]\n );\n return * ;\n}\n\nexport default withFormsy(_RadioButtonListInput);\n","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".GenericRequest-style__print-header___1R7R0{left:53rem}.GenericRequest-style__close-header___OtKEj{background-color:#abeaff !important;display:flex;flex-direction:row}.GenericRequest-style__close-header___OtKEj .GenericRequest-style__card-text___2sgTO{flex:1;padding-bottom:1.4rem;font-weight:600;font-size:14px}.GenericRequest-style__close-header___OtKEj .GenericRequest-style__header-action___3jUnm{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:auto}.GenericRequest-style__request-actions___HcX1n{flex-direction:row}.GenericRequest-style__request-actions___HcX1n button{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin-right:2rem}.GenericRequest-style__actions___1r0y-{display:flex;flex-direction:row;margin:1rem 5.5rem 1rem 1.5rem;padding:1rem 2rem;background-color:rgba(215,215,215,0.5)}.GenericRequest-style__actions___1r0y- button{margin-right:10px}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"print-header\": \"GenericRequest-style__print-header___1R7R0\",\n\t\"close-header\": \"GenericRequest-style__close-header___OtKEj\",\n\t\"card-text\": \"GenericRequest-style__card-text___2sgTO\",\n\t\"header-action\": \"GenericRequest-style__header-action___3jUnm\",\n\t\"request-actions\": \"GenericRequest-style__request-actions___HcX1n\",\n\t\"actions\": \"GenericRequest-style__actions___1r0y-\"\n};","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./Signature.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./Signature.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./Signature.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".addPatient-style__unique-id___5p-ig{margin-bottom:24px}.addPatient-style__similar-patients-box___vI7ku{opacity:0;transition:all 1.5s ease-in-out;height:0px}.addPatient-style__similar-patients-box___vI7ku.addPatient-style__visible___3Xr9C{opacity:1;min-height:3rem;height:100%}.addPatient-style__similar-patients-box___vI7ku.addPatient-style__required___1SDaM [data-react-toolbox=\\\"list\\\"]{border:1px solid #ef9d9d;background:rgba(255,255,0,0.25);border-radius:10px;padding:2rem 2rem 0 0}.addPatient-style__similar-patients-box___vI7ku [data-react-toolbox=\\\"list\\\"]{margin:0.25rem 1rem;white-space:normal !important;width:auto}.addPatient-style__similar-patients-box___vI7ku [data-react-toolbox=\\\"list\\\"] h5{line-height:2rem !important;font-size:1.1rem}.addPatient-style__similar-patients-box___vI7ku [data-react-toolbox=\\\"list\\\"] [data-react-toolbox=\\\"list-item-text\\\"]{font-size:1.3rem !important}.addPatient-style__summary___3629- p span{display:flex;flex-direction:column}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"unique-id\": \"addPatient-style__unique-id___5p-ig\",\n\t\"similar-patients-box\": \"addPatient-style__similar-patients-box___vI7ku\",\n\t\"visible\": \"addPatient-style__visible___3Xr9C\",\n\t\"required\": \"addPatient-style__required___1SDaM\",\n\t\"summary\": \"addPatient-style__summary___3629-\"\n};","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKjAAACowBvcbP2AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNC8wOC8wOCH9Y64AAAAYdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3Jrc0+zH04AABKPSURBVHicxZt5jF13dcc/5/e797037814Jh6P13jJ4sTE49hObIc0pcEkhOwQNSGkCi1tSRCEmLRVF7USpVStSiXUP6qytSoSVAXRRioCVaTQIiCigoATXJPEkAVnBzu2M8vb7v2d0z/uve/deRnHmRknHOk39+mu53x/Z//9RsyM14Pev3Nyk3Oy2zm3I03DRiABfgbsT43v/ONDB0+8LowMkLyWALxv52TdO67HuAXYAWwCooHbOmY8CtwH/PMnHzx46DVjaB56zQC46+LJO4E/EjjnZPcUXy6x0DXj7834q089dPD4a8LYAJ12AD64a/JsgU8CVwHIK9w7CID2WXkUuP0T+w/+8LQyNw+dVgD27Zq80uALAit6H5A+BEJfaIDyty3/o/QAmQVu/sT+g187bQzOQ6cNgH27Jq8H7gUqItKb+Ux+w9Tw3mOAmQKCWVkL+nxoft6MNnDtJ/Yf/OZpYXIeOi0AfGj3tl1m9i0RqQsgYnNU31Sp1WuEJEW8J+kmc563EhgFPzkAqHHEjD2ffPDgz5bM6DzklvqCfbu3jQJfcCJ1L4YTw+UvdiIIBqosGxuhsWwYVKnVqkjvOgj5c2K43GQyIMEJE87xL+/dMemXyut8tGQAHPy1iJ3r8ll3IjgniBPEDAuBK295G5VqhZHRYUKa4rxQrVUzwZ3gnSBC/nwGQmFG+fnLqp67lyzt/Pwvnu7ZMzkpYu9z5Mw7weWCCNBptbjo8j3svflqNp53Ft1WmzPGR+nMNokqEZWhDAQBvEhPIwowB0D487sunly7VI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YerPvWezqKZPx0AlOnFj/zbGJGfFJHtOLdVvDsbJ2twMoG4ZSI0+p6/cN/0a4E+EFME/TlqL5jqMwR7wILuJw1PrPib254+LcyW6DX97/HjH/vKciK3AWQFYuM4t1FgFVA3qGNWwUgxm0b1KdSeMuM5Qnhi+Z/d9NRrxliJ/h+P1DI7PSFigAAAAABJRU5ErkJggg==\"","import { addValidationRule } from \"formsy-react\";\nimport { InjectedIntlProps } from \"react-intl\";\n\nimport { isInFuture, isValidDate } from \"./dates\";\nimport { supportedPhoneNumberCountryCodes } from \"./strings\";\n\nimport baseI18n from \"../../messages/base.i18n\";\n\n/* Most of these validations assume a mask is applied in the UI! */\n\naddValidationRule(\"isRamqNumber\", (values, value: string): boolean => {\n if (!value) {\n return true;\n }\n\n value = value.replace(/[^a-z0-9]/gi, \"\");\n return /^[\\w]{4}[\\d]{8}$/gi.test(value);\n});\n\naddValidationRule(\"isPostalCode\", (values, value: string): boolean => {\n if (!value) {\n return true;\n }\n\n return /^[ABCEGHJKLMNPRSTVXY]{1}\\d{1}[A-Z]{1}[ ]*\\d{1}[A-Z]{1}\\d{1}$/gi.test(value);\n});\n\naddValidationRule(\"isDate\", (values, value: string): boolean => {\n if (!value) {\n return true;\n }\n\n return isValidDate(new Date(value));\n});\n\naddValidationRule(\"minValue\", (values, value: string, min: number): boolean => {\n if (!value) {\n return true;\n }\n\n return Number(value) >= Number(min);\n});\n\naddValidationRule(\"maxValue\", (values, value: string, max: number): boolean => {\n if (!value) {\n return true;\n }\n\n return Number(value) <= Number(max);\n});\n\naddValidationRule(\"isSocialInsuranceNumber\", (values, value: string): boolean => {\n if (!value) {\n return true;\n }\n\n value = value.replace(/[^\\d]/gi, \"\");\n return /^\\d{9}$/gi.test(value);\n});\n\naddValidationRule(\"oneRequired\", (values, value: any[]): boolean => {\n if (!value) {\n return true;\n }\n\n return value.length > 0;\n});\n\naddValidationRule(\"isTelephoneNumber\", (values, value: string): boolean => {\n return isTelephoneNumber(value, values[\"address.countryCode\"]);\n});\n\naddValidationRule(\"isBirthday\", (values, value: Date): boolean => {\n const now = new Date();\n return !isInFuture(value, now);\n});\n\nexport function isTelephoneNumber(value: string, countryCode: string): boolean {\n if (!value) {\n return true;\n }\n\n if (countryCode && supportedPhoneNumberCountryCodes.indexOf(countryCode) < 0) {\n return true;\n }\n\n value = value.replace(/[^\\dx]/gi, \"\");\n return /^\\d{10}$/gi.test(value) || /^\\d{10}x\\d{0,8}$/gi.test(value);\n}\n\nconst emailRegex = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+$/i;\n\naddValidationRule(\"isEmail\", (values, value: string): boolean => {\n return isEmail(value);\n});\n\nexport function extractEmail(value: string): string {\n if (!value) {\n return value;\n }\n\n let email = value;\n if (value.indexOf(\"<\") >= 0 && value.indexOf(\">\") === value.length - 1) {\n email = value.substr(value.indexOf(\"<\") + 1, value.indexOf(\">\") - value.indexOf(\"<\") - 1);\n }\n\n return email;\n}\n\nexport function isEmail(value: string): boolean {\n if (!value) {\n return true;\n }\n\n const email = extractEmail(value);\n\n return emailRegex.test(email);\n}\n\nexport function splitEmails(s: string): string[] {\n return (s || \"\")\n .split(/[;]/gi)\n .map((x) => x.trim())\n .filter(Boolean);\n}\n\naddValidationRule(\"isEmails\", (values, value: string): boolean => {\n if (!value) {\n return true;\n }\n\n const parts = splitEmails(value);\n\n if (parts.length === 0) {\n return true;\n }\n\n return parts.map((e) => isEmail(e)).reduce((x, y) => x && y);\n});\n\naddValidationRule(\"isNotExisty\", (values, value: string): boolean => {\n return value === null || value === undefined;\n});\n\ntype Validations = {\n validations: { [key: string]: any },\n messages: { [key: string]: string },\n};\n\ntype FieldMetadata = {\n isRequired: boolean,\n isScalar: boolean,\n isEnum: boolean,\n typeName: string,\n description: string,\n};\n\nexport function getValidations(typeMetadata: any, intl: InjectedIntlProps): Validations {\n if (typeMetadata.type) {\n const result = getValidations(typeMetadata.type, intl);\n\n return enhanceValidationFromDescription(typeMetadata.description, result, intl);\n }\n\n const validations = {};\n const messages = {};\n\n if (typeMetadata.typeName === \"Date\") {\n validations[\"isDate\"] = true;\n messages[\"isDate\"] = intl.formatMessage(baseI18n.error.dateFormat);\n }\n\n if (typeMetadata.isRequired) {\n messages[\"isDefaultRequiredValue\"] = intl.formatMessage(baseI18n.error.fieldRequired);\n }\n\n return enhanceValidationFromDescription(\n typeMetadata.description,\n { validations, messages },\n intl\n );\n}\n\nfunction enhanceValidationFromDescription(\n description: string,\n result: Validations,\n intl: InjectedIntlProps\n): Validations {\n const newResult = Object.assign({}, result);\n if (description && description.indexOf(\"metadata::\") >= 0) {\n const descriptionMetadata = JSON.parse(description.split(\"metadata::\")[1].trim());\n if (descriptionMetadata.maxLength) {\n newResult.validations[\"maxLength\"] = descriptionMetadata.maxLength;\n newResult.messages[\"maxLength\"] = intl.formatMessage(baseI18n.error.maxLength, {\n characters: descriptionMetadata.maxLength,\n });\n }\n\n if (descriptionMetadata.format) {\n switch (descriptionMetadata.format) {\n case \"RamqNumber\":\n newResult.validations[\"isRamqNumber\"] = true;\n newResult.messages[\"isRamqNumber\"] = intl.formatMessage(\n baseI18n.patients.ramq.numberFormatError\n );\n break;\n\n case \"PostalCode\":\n newResult.validations[\"isPostalCode\"] = true;\n newResult.messages[\"isPostalCode\"] = intl.formatMessage(\n baseI18n.patients.address.postalCodeFormatError\n );\n break;\n\n case \"SocialInsuranceNumber\":\n newResult.validations[\"isSocialInsuranceNumber\"] = true;\n newResult.messages[\"isSocialInsuranceNumber\"] = intl.formatMessage(\n baseI18n.patients.demographic.socialInsuranceNumberFormatError\n );\n break;\n\n case \"TelephoneNumber\":\n newResult.validations[\"isTelephoneNumber\"] = true;\n newResult.messages[\"isTelephoneNumber\"] = intl.formatMessage(\n baseI18n.patients.address.telephoneNumberFormatError\n );\n break;\n\n case \"Email\":\n newResult.validations[\"isEmail\"] = true;\n newResult.messages[\"isEmail\"] = intl.formatMessage(\n baseI18n.patients.address.emailFormatError\n );\n break;\n\n case \"Emails\":\n newResult.validations[\"isEmails\"] = true;\n newResult.messages[\"isEmails\"] = intl.formatMessage(\n baseI18n.patients.address.emailFormatError\n );\n break;\n\n case \"Birthday\":\n newResult.validations[\"isBirthday\"] = true;\n newResult.messages[\"isBirthday\"] = intl.formatMessage(\n baseI18n.patients.demographic.birthdayFormatError\n );\n break;\n\n default:\n break;\n }\n }\n }\n\n return newResult;\n}\n\nexport function getAllValidations(\n inputFields: { [key: string]: any },\n intl: InjectedIntlProps\n): { [key: string]: Validations } {\n const result = {};\n Object.keys(inputFields).forEach((x) => {\n result[x] = getValidations(inputFields[x], intl);\n });\n\n return result;\n}\n\nexport function getMetadata(introspectionResult: any): any {\n let result = handleNoKind(introspectionResult);\n\n if (!result) {\n result = handleNonNull(introspectionResult);\n }\n\n if (!result) {\n result = handleScalar(introspectionResult);\n }\n\n if (!result) {\n result = handleEnum(introspectionResult);\n }\n\n if (!result) {\n result = handleInputObject(introspectionResult);\n }\n\n if (!result) {\n result = handleList(introspectionResult);\n }\n\n if (!result) {\n throw new Error(\n \"Didn't know how to handle metadata of object: \" + JSON.stringify(introspectionResult)\n );\n }\n\n return result;\n}\n\nfunction handleScalar(introspectionResult: any): FieldMetadata {\n if (introspectionResult.kind && introspectionResult.kind === \"SCALAR\") {\n return {\n isRequired: false,\n isScalar: true,\n typeName: introspectionResult.name,\n description: introspectionResult.description,\n };\n }\n\n return null;\n}\n\nfunction handleEnum(introspectionResult: any): FieldMetadata {\n if (introspectionResult.kind && introspectionResult.kind === \"ENUM\") {\n return {\n isRequired: false,\n isScalar: true,\n isEnum: true,\n typeName: introspectionResult.name,\n description: introspectionResult.description,\n };\n }\n\n return null;\n}\n\nfunction handleNonNull(introspectionResult: any): FieldMetadata {\n if (introspectionResult.kind && introspectionResult.kind === \"NON_NULL\") {\n const baseMetadata = getMetadata(introspectionResult.ofType);\n baseMetadata.isRequired = true;\n return baseMetadata;\n }\n\n return null;\n}\n\nfunction handleInputObject(introspectionResult: any): any {\n if (introspectionResult.kind && introspectionResult.kind === \"INPUT_OBJECT\") {\n const inputFieldsMap = introspectionResult.inputFields.map((x) => getMetadata(x));\n const inputFields = {};\n inputFieldsMap.forEach((x) => {\n Object.assign(inputFields, x);\n });\n return {\n isRequired: false,\n isScalar: false,\n typeName: introspectionResult.name,\n description: introspectionResult.description,\n inputFields: inputFields,\n };\n }\n\n return null;\n}\n\nfunction handleList(introspectionResult: any): any {\n if (introspectionResult.kind && introspectionResult.kind === \"LIST\") {\n const baseMetadata = getMetadata(introspectionResult.ofType);\n baseMetadata.isRequired = false;\n return baseMetadata;\n }\n\n return null;\n}\n\nfunction handleNoKind(introspectionResult: any): any {\n if (!introspectionResult.kind) {\n const result = {};\n result[introspectionResult.name] = {\n description: introspectionResult.description,\n type: getMetadata(introspectionResult.type),\n };\n return result;\n }\n\n return null;\n}\n","export function fixLang(lang: string): string {\n if (lang.length === 2) {\n return lang + \"-CA\";\n } else {\n return lang;\n }\n}\n\nexport type NoticeType = \"accept\" | \"warning\" | \"cancel\";\n\nexport type Action = {\n type: string,\n};\n","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".ReportDropdown-style__container___E9bjm{background-color:white;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.25rem 0.75rem;border:1px solid var(--color-default);font-weight:600;margin-bottom:2rem;margin-top:1rem;display:flex;flex-direction:row;line-height:2;border-radius:3px}.ReportDropdown-style__container___E9bjm .ReportDropdown-style__children-container___2nyCi{display:flex;align-items:center}.ReportDropdown-style__container___E9bjm .ReportDropdown-style__children-container___2nyCi .ReportDropdown-style__children-container-icon___sWr99{padding-left:3rem}.ReportDropdown-style__report-type___9B0BI{text-transform:uppercase}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"container\": \"ReportDropdown-style__container___E9bjm\",\n\t\"children-container\": \"ReportDropdown-style__children-container___2nyCi\",\n\t\"children-container-icon\": \"ReportDropdown-style__children-container-icon___sWr99\",\n\t\"report-type\": \"ReportDropdown-style__report-type___9B0BI\"\n};","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".PrintCaseContainer-style__sticky___zDbuz{position:fixed;top:5rem;left:25rem;right:0;z-index:100;width:auto}@media screen and (max-width: 960px){.PrintCaseContainer-style__sticky___zDbuz{left:0}}.PrintCaseContainer-style__print-card___YOjXv{background-color:#abeaff !important;display:flex;flex-direction:row;flex-wrap:wrap}@media print{.PrintCaseContainer-style__print-card___YOjXv{display:none !important}}.PrintCaseContainer-style__print-card___YOjXv .PrintCaseContainer-style__print-card-text___qq0NK{flex:1;padding-bottom:1.4rem;font-weight:600;font-size:14px}.PrintCaseContainer-style__print-card___YOjXv .PrintCaseContainer-style__print-action___3vTjQ{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;margin:auto}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"sticky\": \"PrintCaseContainer-style__sticky___zDbuz\",\n\t\"print-card\": \"PrintCaseContainer-style__print-card___YOjXv\",\n\t\"print-card-text\": \"PrintCaseContainer-style__print-card-text___qq0NK\",\n\t\"print-action\": \"PrintCaseContainer-style__print-action___3vTjQ\"\n};","module.exports = __webpack_public_path__ + \"4b9aea4b9178e729268bece1c7f33cc6.svg\";","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".search__highlight___3y2ps em{font-style:normal;background-color:yellow}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"highlight\": \"search__highlight___3y2ps\"\n};","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"html{font-size:62.5%}body{position:absolute;width:100%;padding:0;margin:0;font-family:Roboto, Helvetica, sans-serif;font-size:1.6rem;-webkit-touch-callout:none}body *{-webkit-tap-highlight-color:rgba(255,255,255,0)}@media print{body{position:initial}}@media all and (max-width: 450px){.title{display:none !important}}body:not(.printed){height:100%}a,abbr,address,article,aside,audio,b,blockquote,body,caption,cite,code,dd,del,dfn,dialog,div,dl,dt,em,fieldset,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,hr,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,p,pre,q,samp,section,small,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,time,tr,ul,var,video{padding:0;margin:0;border:0;outline:0}*,*:before,*:after{box-sizing:border-box;padding:0;margin:0}h1,h2,h3,h4,h5,h6,label,p,button,abbr,a,span,small{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}a{text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}input:not([type=\\\"checkbox\\\"]):not([type=\\\"radio\\\"]),button{outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(255,255,255,0)}input[required]:-moz-ui-invalid{box-shadow:none}p{font-family:\\\"Roboto\\\",\\\"Helvetica\\\",\\\"Arial\\\",sans-serif;font-weight:400;line-height:2.4rem;letter-spacing:0;font-size:1.6rem}\\n\", \"\"]);\n\n// exports\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport styles from \"./fadingContent.styles.scss\";\n\nconst FadingContent = ({ isFading, children }) => {\n const fadingClassName = isFading ? styles[\"fade-in-hide\"] : styles[\"fade-in\"];\n\n return
    {children}
    ;\n};\n\nFadingContent.propTypes = {\n isFading: PropTypes.bool,\n};\n\nexport default FadingContent;\n","import FadingContent from \"./FadingContent\";\n\nexport { FadingContent };\n","module.exports = \"data:image/svg+xml,%3C?xml version='1.0' encoding='UTF-8'?%3E %3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E %3Cpath fill='%23fff' stroke='%2336c' d='M1.5 4.518h5.982V10.5H1.5z'/%3E %3Cpath fill='blue' d='M5.765 1H11v5.39L9.427 7.937l-1.31-1.31L5.393 9.35l-2.69-2.688 2.81-2.808L4.2 2.544z'/%3E %3Cpath fill='%23fff' d='M9.995 2.004l.022 4.885L8.2 5.07 5.32 7.95 4.09 6.723l2.882-2.88-1.85-1.852z'/%3E %3C/svg%3E\"","import Relay from \"react-relay/classic\";\n\nexport default class InvitePatientToDepartmentMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(InvitePatientToDepartmentMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { invitePatientToDepartment }`;\n }\n\n getVariables() {\n return {\n patientId: this.props.patientId,\n patientEmail: this.props.patientEmail,\n invitationText: this.props.invitationText,\n departmentId: this.props.departmentId,\n inviteCarer: this.props.inviteCarer || false,\n carerId: this.props.carerId,\n inviteCarerRelationshipTypeId: this.props.inviteCarerRelationshipTypeId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on InvitePatientToDepartmentPayload {\n currentSpecialist {\n invitedPatients\n }\n invitedPatient\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on InvitePatientToDepartmentPayload {\n currentSpecialist {\n invitedPatients(first: 500) {\n edges {\n node {\n id\n department {\n name\n id\n hospital {\n name\n }\n }\n patient {\n legacyId\n demographic {\n gender\n fullName\n }\n\n user {\n userName\n isConfirmed\n }\n }\n }\n }\n }\n }\n \n invitedPatient {\n patient {\n legacyId\n demographic {\n gender\n fullName\n }\n\n user {\n userName\n isConfirmed\n }\n }\n }\n }\n `,\n ],\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"currentSpecialist\",\n parentID: this.props.currentUser.asSpecialist.__dataID__, // eslint-disable-line\n connectionName: \"invitedPatients\",\n edgeName: \"invitedPatient\",\n rangeBehaviors: {\n \"\": \"append\",\n },\n },\n ];\n }\n}\n","import Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { getErrors, handleFormsyInvalidSubmit } from \"../../helpers/errors\";\nimport { getRelationshipTypes } from \"../../helpers/staticData\";\nimport { showDialogNotice } from \"../../stores/app/actions\";\nimport InvitePatientToDepartmentMutation from \"../invitations/invitePatientToDepartmentMutation\";\n\nimport { departmentDropdownSource } from \"./dropdownHelpers\";\nimport ErrorCard from \"./errorCard\";\nimport DropDownListInput from \"./inputs/dropDownListInput\";\nimport RadioButtonListInput from \"./inputs/radioButtonListInput\";\nimport TextInput from \"./inputs/textInput\";\n\nimport invitationsI18n from \"../invitations/invitations.i18n\";\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n invitationSent: {\n id: \"invitations.invitationSent\",\n description: \"Notification text after successful invitation\",\n defaultMessage: \"Invitation sent successfully!\",\n },\n inviteWho: {\n id: \"invitations.inviteWho\",\n description: \"Label for invite who question\",\n defaultMessage: \"Who would you like to invite?\",\n },\n carerEmailDescription: {\n id: \"invitations.carerEmailDescription\",\n description: \"Short paragraph to explan carer email + text.\",\n defaultMessage:\n \"Please enter the carer's email address. You may also add a custom invitation text that will be sent along the invitation email.\",\n },\n patientThemself: {\n id: \"invitations.patientThemself\",\n description: \"Label for patient themself invite option\",\n defaultMessage: \"Patient themself\",\n },\n newCarerOfPatient: {\n id: \"invitations.newCarerOfPatient\",\n description: \"Label for new carer of patient invite option\",\n defaultMessage: \"New carer of the patient\",\n },\n});\n\nexport const invitationTypes = {\n patient: \"patient\",\n carer: \"carer\",\n};\n\nexport class InvitePatientToDepartmentDialog extends React.Component {\n static propTypes = {\n viewer: PropTypes.any.isRequired,\n patient: PropTypes.any.isRequired,\n language: PropTypes.string,\n dispatch: PropTypes.func,\n onInviteSent: PropTypes.func,\n onInviteError: PropTypes.func,\n intl: intlShape,\n controlSubmitExternally: PropTypes.func,\n };\n\n constructor(props) {\n super(props);\n\n const state = {\n invitationType: invitationTypes.patient,\n };\n\n if (props.patient.carers.length >= 1) {\n state.invitationType = props.patient.carers[0].user.id;\n }\n\n this.state = state;\n }\n\n t(key, args) {\n return this.props.intl.formatMessage(key, args);\n }\n\n inviteClicked(data) {\n this.setState({ errors: [], sendingInvite: true });\n Relay.Store.commitUpdate(\n new InvitePatientToDepartmentMutation({\n patientId: this.props.patient.id,\n departmentId: data.department,\n patientEmail: data.email || this.props.patient.address.emails.join(\"; \"),\n invitationText: data.invitationText,\n currentUser: this.props.viewer.currentUser,\n inviteCarer: data.invitationType === invitationTypes.carer,\n carerId:\n data.invitationType !== invitationTypes.carer &&\n data.invitationType !== invitationTypes.patient\n ? data.invitationType\n : null,\n inviteCarerRelationshipTypeId: data.relationshipType || null,\n }),\n {\n onSuccess: () => {\n this.props.dispatch(\n showDialogNotice(this.props.intl.formatMessage(messages.invitationSent), \"accept\")\n );\n if (this.props.onInviteSent) {\n this.props.onInviteSent();\n }\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({ errors: this.state.errors.concat(errors), sendingInvite: false });\n if (this.props.onInviteError) {\n this.props.onInviteError(errors);\n }\n });\n },\n }\n );\n }\n\n componentDidMount() {\n if (this.props.controlSubmitExternally) {\n this.props.controlSubmitExternally(() => this.form.submit());\n }\n }\n\n render() {\n const { viewer, patient } = this.props;\n let depts = viewer.currentUser.asSpecialist.departments;\n const currentDeptIds = patient.departments.map((x) => x.department.id);\n depts = depts.filter((x) => currentDeptIds.indexOf(x.value) < 0);\n let dept = null;\n if (depts.length === 1) {\n dept = depts[0].value;\n }\n const source = departmentDropdownSource(depts, undefined, true);\n const relationshipTypes = getRelationshipTypes(this.props.language).map((x) => ({\n ...x,\n value: x.id,\n label: x.name,\n }));\n const defaultRelationshipType = relationshipTypes.filter((x) => x.code === \"UNSPECIFIED\")[0];\n\n const options = patient.carers\n .map((x) => ({\n label:\n this.t(baseI18n.patients.other.carer) +\n this.t(baseI18n.global.colon) +\n \" \" +\n x.user.email,\n value: x.user.id,\n }))\n .concat([\n {\n label: this.t(messages.patientThemself),\n value: invitationTypes.patient,\n },\n {\n label: this.t(messages.newCarerOfPatient),\n value: invitationTypes.carer,\n },\n ]);\n return (\n
    \n this.inviteClicked(data)}\n onInvalidSubmit={() => {\n if (this.props.onInviteError) {\n this.props.onInviteError([]);\n }\n\n handleFormsyInvalidSubmit(this.form);\n }}\n noValidate\n ref={(form) => (this.form = form)}>\n

    {this.t(messages.inviteWho)}

    \n
    \n this.setState({ invitationType: e })}\n options={options}\n />\n
    \n
    \n \n
    \n {this.state.invitationType === invitationTypes.patient && (\n

    {this.t(invitationsI18n.patientEmailDescription)}

    \n )}\n {this.state.invitationType === invitationTypes.carer && (\n

    {this.t(messages.carerEmailDescription)}

    \n )}\n {(this.state.invitationType === invitationTypes.patient ||\n this.state.invitationType === invitationTypes.carer) && (\n
    \n \n
    \n )}\n\n {this.state.invitationType === invitationTypes.carer && (\n
    \n \n
    \n )}\n
    \n \n
    \n
    \n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n language: state.settingsReducer.language,\n };\n};\n\nexport default Relay.createContainer(\n injectIntl(connect(mapStateToProps)(InvitePatientToDepartmentDialog)),\n {\n initialVariables: {},\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n currentUser {\n isSpecialist\n asSpecialist {\n departments {\n value: id\n label: name\n hospital {\n value: id\n label: name\n }\n }\n }\n }\n }`,\n patient: () => Relay.QL`\n fragment on Patient {\n id\n\n address {\n emails\n }\n\n departments {\n department {\n id\n }\n }\n\n carers {\n createdAt\n user {\n id\n userName\n email\n isConfirmed\n }\n }\n }`,\n },\n }\n);\n","module.exports = __webpack_public_path__ + \"e5888556f6b52424ed9e4853f7dc28fc.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQICAgIfAhkiAAAAAFzUkdCAK7OHOkAAAAEZ0FNQQAAsY8L/GEFAAAACXBIWXMAAAqMAAA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BDNhp+yrb+8RJBQAiOx2Oib8eQiGGLYfGwF7mO+05c1R4Dtm5ZaPppZv6xrYNaTZ962cAbI6oVkvSa+4igRoVwAdS/+gxP3+bycsiHMAgXx7MKeBOW7XVufXg0T1fh5Ye1L8YVq2dY8i9vnNmzfvcQUJ0K4A69evP6RRX2mjb+BIbOEG/HwU1JkBXwzMr7c2bV0bouWYrUt2jSlK17766qs/cw3bQbsCgJdeeunnOm5eO08TCTwQQfwHEnpmfpnfBsNRaxd1GrN7rE30OtqOPvDJyjGN/N/2799/S39XcFMBwI4dO76rTl8jD3F7YNQpM8poZ/U4aWZ1lqc9edJoud+fX2btMXzhvtD26W116fHjx2d88MEHF53zN8FXE+sW8Nxzz81VsurMmTMl/G8A3/QJY9YDWyxJLcRtOwI2b+0aGDEQJWp5DMK28Hpk3bXIBufPny/Te8MrpaWlm9m9XIe3iNsSAOhQ0WXy5Ml8eVnQt2/fcSLNq+s14paace2TNiEA5AwQsmsTgBSSUeKIoYjcr6lYqvf9t3Wk3vXiiy8m3Oraw20L4GPFihWDioqKJumQNFX2DZ3CiiHsR4HlIeOT59pPIWmksagACvVq2UGRflev19tXr17N3wwmRdpHhwTwMWzYsLyFCxcO18sNQpTIBop8H1kvEe8m6yK77nlRskAjfFF2RmWnZce04/xLe3nZoUOHjmzYsCH2P5WNTYC2oKmS/+CDDxbpTY9PVD30xlaktFBkcxUduUqzZE0iWiPSlcof045zoqKi4siaNWsSfsSID0HwP4ljY4tpb/z1AAAAAElFTkSuQmCC\"","exports = module.exports = require(\"../../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".SignatureInput-styles__signature-container___3X27K{border:1px solid var(--grey-extra-light-77);border-radius:0.5rem;background-color:var(--grey-extra-light-97)}.SignatureInput-styles__signature-container___3X27K .SignatureInput-styles__header___2uCx9{display:flex;justify-content:space-between;align-items:center;padding-top:1rem;padding-left:1rem;padding-right:1rem;color:var(--color-grey-text)}.SignatureInput-styles__signature-container___3X27K .SignatureInput-styles__cancel___2VkPc{cursor:pointer;visibility:hidden}.SignatureInput-styles__signature-container___3X27K .SignatureInput-styles__show___27kkB{visibility:visible}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"signature-container\": \"SignatureInput-styles__signature-container___3X27K\",\n\t\"header\": \"SignatureInput-styles__header___2uCx9\",\n\t\"cancel\": \"SignatureInput-styles__cancel___2VkPc\",\n\t\"show\": \"SignatureInput-styles__show___27kkB\"\n};","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, defineMessages, intlShape } from \"react-intl\";\nimport { FontIcon } from \"react-toolbox/lib/font_icon\";\n\nimport { PriorityIcon } from \"~/src/js/components/shared/PriorityIcon\";\n\nimport style from \"../../../styles/cardList\";\nimport { parseToDate } from \"../../helpers/dates\";\nimport FormattedRelative from \"../shared/formattedRelative\";\n\nimport CaseLabels from \"./caseLabels\";\nimport InformationRequestStatusIcon from \"./informationRequestStatusIcon\";\n\nimport casesTranslation from \"./cases.i18n\";\n\nconst messages = defineMessages({\n referralRecommended: {\n id: \"caseRow.referralRecommended\",\n description: \"Small label for ECONSULT referral recommended indicator\",\n defaultMessage: \"Referral recommended\",\n },\n});\n\nexport class CaseRowIcons extends React.Component {\n static propTypes = {\n intl: intlShape,\n priority: PropTypes.object,\n dueAt: PropTypes.object,\n progression: PropTypes.any,\n informationRequestStatus: PropTypes.string,\n isReferralRecommended: PropTypes.bool,\n form: PropTypes.object,\n formType: PropTypes.string,\n subFormType: PropTypes.string,\n clinicalDomain: PropTypes.string,\n hasScheduledMeetings: PropTypes.bool,\n };\n\n getColor(progression: number): string {\n if (progression <= 0) {\n return \"red\";\n } else if (progression <= 0.2) {\n return \"orange\";\n } else {\n return \"\";\n }\n }\n\n render() {\n const {\n priority,\n dueAt,\n informationRequestStatus,\n isReferralRecommended,\n intl, // eslint-disable-line no-unused-vars\n form,\n formType,\n subFormType,\n clinicalDomain,\n progression,\n hasScheduledMeetings,\n ...props\n } = this.props;\n return (\n
    \n {this.renderCaseLabels(form, formType, subFormType, clinicalDomain)}{\" \"}\n {this.renderHasScheduledMeeting(hasScheduledMeetings)}\n {this.renderPriority(priority)} {this.renderDueAt(dueAt)}{\" \"}\n {this.renderInformationRequestStatus(informationRequestStatus)}{\" \"}\n {this.renderReferralRecommended(isReferralRecommended)}\n {this.renderProgression(progression)}\n
    \n );\n }\n\n renderProgression(progression) {\n if (progression) {\n let color = \"\";\n if (progression.total) {\n if (progression.total <= 0) {\n color = \"gray\";\n } else if (progression.current === progression.total) {\n color = \"green\";\n } else {\n color = \"orange\";\n }\n }\n\n return (\n \n \n {progression.total && (\n \n {progression.current || 0} / {progression.total}\n \n )}\n {progression.percentage && {progression.percentage.toString(2)}%}\n \n );\n }\n }\n\n renderCaseLabels(form, formType: string, subFormType: string, clinicalDomain: string) {\n if (!formType) {\n return null;\n }\n return (\n \n );\n }\n\n renderPriority(priority) {\n if (!priority) {\n return null;\n }\n\n return (\n \n \n {priority.name}\n \n );\n }\n\n renderInformationRequestStatus(status: string) {\n if (!status) {\n return null;\n }\n\n return ;\n }\n\n renderDueAt(dueAt) {\n if (!dueAt) {\n return null;\n }\n\n return (\n \n \n \n \n );\n }\n\n renderReferralRecommended(isReferralRecommended) {\n if (!isReferralRecommended) {\n return null;\n }\n\n return (\n \n \n {this.props.intl.formatMessage(messages.referralRecommended)}\n \n );\n }\n\n renderHasScheduledMeeting(hasScheduledMeetings) {\n if (!hasScheduledMeetings) {\n return null;\n }\n\n return (\n \n \n \n );\n }\n}\n\nexport default injectIntl(CaseRowIcons);\n","import React, { Component } from \"react\";\nimport { findDOMNode } from \"react-dom\";\nimport { InjectedIntlProps, injectIntl } from \"react-intl\";\nimport { Button } from \"react-toolbox/lib/button\";\nimport { Card, CardTitle, CardText, CardActions } from \"react-toolbox/lib/card\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport { List, ListItem } from \"react-toolbox/lib/list\";\n\nimport errorsStyle from \"../../../styles/errors.scss\";\nimport { scrollToElementHelper, canShowAdvancedError } from \"../../helpers/errors\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\ninterface EnhancedErrorSource {\n errors?: ErrorCardError[];\n}\n\ninterface EnhancedError {\n name: string;\n message: string;\n stack?: string | string[];\n source?: EnhancedErrorSource;\n fieldMessage?: string;\n stackTrace?: string | string[];\n}\n\nexport type ErrorCardError = string | EnhancedError;\n\ninterface ErrorCardProps extends InjectedIntlProps {\n error?: ErrorCardError;\n errors?: ErrorCardError[];\n retry?: () => void | React.ReactNode;\n}\n\nexport class ErrorCard extends Component {\n private node?: Card | null;\n\n componentDidMount(): void {\n if (this.node) {\n // eslint-disable-next-line react/no-find-dom-node\n scrollToElementHelper(findDOMNode(this.node) as HTMLElement, 500);\n }\n }\n\n render(): JSX.Element {\n return (\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (this.node = node)}>\n }\n title={this.props.intl.formatMessage(baseI18n.error.title)}\n />\n \n {this.props.errors ? this.renderMultipleErrors() : this.renderSingleError()}\n \n {typeof this.props.retry === \"function\" ? (\n \n \n \n ) : this.props.retry ? (\n {this.props.retry}\n ) : null}\n \n );\n }\n\n renderSingleError(): JSX.Element | undefined {\n if (!this.props.error) {\n return;\n }\n\n if (typeof this.props.error !== \"string\") {\n const { source } = this.props.error;\n return (\n
    \n {this.renderErrorDiv(this.props.error)}\n {source && source.errors && source.errors.length > 0\n ? this.renderMultipleErrors(source.errors)\n : null}\n
    \n );\n }\n return
    {this.renderErrorDiv(this.props.error)}
    ;\n }\n\n renderMultipleErrors(errors?: ErrorCardError[]): JSX.Element {\n const errorList = errors || this.props.errors || [];\n return (\n \n {errorList.map((x, i) => {\n return (\n \n {this.renderErrorDiv(x)}\n \n );\n })}\n \n );\n }\n\n renderErrorDiv(x: ErrorCardError): JSX.Element {\n if (!x) {\n return
    ;\n }\n\n const showStack = canShowAdvancedError();\n let message = \"\";\n let stack: string | string[] = \"\";\n if (typeof x === \"string\") {\n message = x;\n } else {\n message = (showStack ? x.message + \"\\n\" + (x.fieldMessage || \"\") : x.message).trim();\n stack = x.stack || x.stackTrace || \"\";\n }\n\n return (\n \n

    {message}

    \n {showStack && stack ? (\n
    \n            {typeof stack === \"string\" ? stack : stack.join(\"\\n\")}\n          
    \n ) : null}\n
    \n );\n }\n}\n\nexport default injectIntl(ErrorCard);\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".error-detail {\\n display: none;\\n}\\n\", \"\"]);\n\n// exports\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport classnames from \"classnames\";\n\nimport styles from \"./HideOnPrint.style.scss\";\n\nexport const HideOnPrint = ({ className, condition, children }) => {\n return (\n
    \n {children}\n
    \n );\n};\n\nHideOnPrint.defaultProps = {\n condition: true,\n};\n\nHideOnPrint.propTypes = {\n className: PropTypes.string,\n condition: PropTypes.bool,\n};\n\nexport default HideOnPrint;\n","import HideOnPrint from \"./HideOnPrint\";\n\nexport { HideOnPrint };\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Select } from \"@akinoxsolutions/gerudo-ui\";\nimport { withFormsy } from \"formsy-react\";\nconst { Option, OptGroup } = Select;\n\nimport { useOptionsValuesEqualsEffect } from \"~/src/js/hooks\";\n\nimport { InputLabel } from \"../InputLabel/index\";\nimport { withRequiredMessage } from \"../Wrappers/withRequiredMessage\";\n\nexport const SelectInput = ({\n name,\n className,\n optionClassName,\n optgroup,\n options,\n label,\n value,\n required,\n disabled,\n setValue,\n dropdownName,\n onChange,\n errorMessage,\n showError,\n isFormSubmitted,\n isPristine,\n showSearch,\n style,\n allowClear,\n}) => {\n useOptionsValuesEqualsEffect(() => {\n let selectedOption = options.find((x) => x.value === value);\n\n if (optgroup) {\n const subOptions = options.flatMap((option) => option[optgroup]);\n selectedOption = subOptions.find((x) => x.value === value);\n }\n\n if (!selectedOption) {\n if (setValue) {\n setValue(null);\n }\n }\n }, options);\n\n const handleChange = (value, option) => {\n if (onChange) {\n onChange(value, option);\n }\n if (setValue) {\n setValue(value);\n }\n };\n\n const getOptions = () => {\n if (optgroup) {\n return options.map((option) => (\n \n {option[optgroup].map((subOption) => (\n \n ))}\n \n ));\n }\n\n return options.map((option) => (\n \n ));\n };\n\n return (\n \n handleChange(value, option)}>\n {getOptions()}\n \n \n );\n};\n\nSelectInput.propTypes = {\n label: PropTypes.node,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n label: PropTypes.node,\n })\n ),\n name: PropTypes.string,\n className: PropTypes.string,\n optionClassName: PropTypes.string,\n optgroup: PropTypes.string,\n required: PropTypes.bool,\n disabled: PropTypes.bool,\n dropdownName: PropTypes.string,\n value: PropTypes.any,\n setValue: PropTypes.func,\n onChange: PropTypes.func,\n errorMessage: PropTypes.node,\n showError: PropTypes.bool,\n showSearch: PropTypes.bool,\n style: PropTypes.object,\n isPristine: PropTypes.bool,\n isFormSubmitted: PropTypes.bool,\n allowClear: PropTypes.bool,\n};\n\nexport default withRequiredMessage(withFormsy(SelectInput));\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\n\nimport HtmlElement from \"./htmlElement\";\n\nimport style from \"./helpText.style\";\n\nexport default function HelpText({\n text,\n replaceLineBreaks,\n noField,\n elementIsAbove,\n className,\n ...props\n}) {\n const classNames = classnames(className, style[\"help-text\"], {\n [style[\"no-field\"]]: noField,\n [style[\"element-above\"]]: elementIsAbove,\n });\n return (\n \n );\n}\n\nHelpText.propTypes = {\n text: PropTypes.string.isRequired,\n className: PropTypes.string,\n replaceLineBreaks: PropTypes.bool,\n noField: PropTypes.bool,\n elementIsAbove: PropTypes.bool,\n};\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"../../helpers/errors\";\nimport { queryString } from \"../../helpers/strings\";\n\nimport ResetUserItemMutation from \"./resetUserItemMutation\";\nimport SaveUserItemMutation from \"./saveUserItemMutation\";\n\nexport function resetUserItem(item: any, caseId: string, purpose: string): Promise {\n // Prevent reset draft in print mode.\n const qs = queryString(location.search);\n if (qs.print) {\n return Promise.resolve();\n }\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(\n new ResetUserItemMutation({\n item: item,\n entityId: caseId,\n purpose: purpose,\n }),\n {\n onSuccess: () => {\n resolve();\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n }\n );\n });\n}\n\nexport function saveUserItem(\n item,\n entityId,\n purpose,\n data,\n permission,\n shouldMergeData\n): Promise {\n // Prevent save draft in print mode.\n const qs = queryString(location.search);\n if (qs.print) {\n return Promise.resolve();\n }\n\n return new Promise((resolve, reject) => {\n const params = {\n item: item || null,\n entityId,\n purpose,\n permission: permission || \"SELF\",\n data: JSON.stringify(data),\n shouldMergeData: Boolean(shouldMergeData),\n };\n Relay.Store.commitUpdate(new SaveUserItemMutation(params), {\n onSuccess: () => {\n resolve();\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n}\n\nexport { ResetUserItemMutation, SaveUserItemMutation };\n","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".ScoreLegend-styles__container___3UlZq{-webkit-column-break-inside:avoid;page-break-inside:avoid;break-inside:avoid}.ScoreLegend-styles__legend___YHM3w{display:flex;align-items:center;flex-direction:row;margin-top:1rem;font-size:12px}.ScoreLegend-styles__legend___YHM3w .ScoreLegend-styles__flag___3J7fI{height:2rem}.ScoreLegend-styles__legend___YHM3w .ScoreLegend-styles__score___2ffso{margin-left:2rem;min-width:100px}.ScoreLegend-styles__legend___YHM3w .ScoreLegend-styles__interpretation___6Ud4O{margin-left:2rem}@media print{.ScoreLegend-styles__legend___YHM3w{margin-top:0.5rem}.ScoreLegend-styles__legend___YHM3w>span{font-size:8pt}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"container\": \"ScoreLegend-styles__container___3UlZq\",\n\t\"legend\": \"ScoreLegend-styles__legend___YHM3w\",\n\t\"flag\": \"ScoreLegend-styles__flag___3J7fI\",\n\t\"score\": \"ScoreLegend-styles__score___2ffso\",\n\t\"interpretation\": \"ScoreLegend-styles__interpretation___6Ud4O\"\n};","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\n\nexport const AddressPropTypes = PropTypes.shape({\n emails: PropTypes.arrayOf(PropTypes.string),\n});\n","import { AddressPropTypes } from \"./AddressPropTypes\";\n\nexport { AddressPropTypes };\n","import { CaseColumns, Orders, ActivityViews } from \"../../constants\";\nimport { fixLang, Action } from \"../helpers\";\n\nimport {\n SHOW_ONLY_PENDING_INVITATIONS,\n SET_HEADER_QUERY,\n SET_SUPPORT_AVAILABLE,\n SET_SORT_ORDER,\n SET_SORT_COLUMN,\n SHOW_DIALOG_NOTICE,\n HIDE_DIALOG_NOTICE,\n SET_PAGE_TITLE,\n TOGGLE_NAV_DRAWER_ACTIVE,\n TOGGLE_NOTIFICATION_DRAWER_ACTIVE,\n HIDE_NAV_DRAWER,\n HIDE_NOTIFICAITON_DRAWER,\n SHOW_FULLPAGE,\n HIDE_FULLPAGE,\n ENABLE_TABLE_VIEW,\n DISABLE_TABLE_VIEW,\n SET_ACTIVITY_VIEW,\n SET_LANGUAGE,\n DISMISS_CHANGING_LANGUAGE,\n SET_GLOBAL_ERRORS,\n ACCOUNT_FORM_CHANGED,\n ACCOUNT_FORM_IS_THE_SAME,\n} from \"./types\";\n\nexport const headerReducer = (\n state = {\n query: null,\n sortColumn: CaseColumns.UPDATED_ON,\n sortOrder: Orders.DESCENDING,\n },\n action: Action\n): void => {\n switch (action.type) {\n case SET_HEADER_QUERY:\n return { ...state, query: action.query };\n case SET_SORT_COLUMN:\n return { ...state, sortColumn: action.column };\n case SET_SORT_ORDER:\n return { ...state, sortOrder: action.order };\n default:\n return state;\n }\n};\n\nexport const settingsReducerDefaults = {\n fullPageForm: false,\n tableView: false,\n activityView: ActivityViews.ALL,\n language: \"en-CA\",\n myPatients: {\n onlyPendingInvitations: false,\n },\n};\n\nexport const accountSettingsFormReducer = (state = { isFormChanged: false }, action) => {\n switch (action.type) {\n case ACCOUNT_FORM_CHANGED:\n return { ...state, isFormChanged: true };\n case ACCOUNT_FORM_IS_THE_SAME:\n return { ...state, isFormChanged: false };\n default:\n return state;\n }\n};\n\nexport const settingsReducer = (state = settingsReducerDefaults, action: Action): void => {\n switch (action.type) {\n case SHOW_FULLPAGE:\n return { ...state, fullPageForm: true };\n case HIDE_FULLPAGE:\n return { ...state, fullPageForm: false };\n case ENABLE_TABLE_VIEW:\n return { ...state, tableView: true };\n case DISABLE_TABLE_VIEW:\n return { ...state, tableView: false };\n case SET_ACTIVITY_VIEW:\n return { ...state, activityView: action.view };\n case SET_LANGUAGE:\n return { ...state, language: fixLang(action.language) };\n case SHOW_ONLY_PENDING_INVITATIONS:\n return {\n ...state,\n myPatients: {\n ...state.myPatients,\n onlyPendingInvitations: action.onlyPendingInvitations,\n },\n };\n default:\n return state;\n }\n};\n\nexport const layoutReducer = (\n state = {\n pageTitle: \"Portal\",\n isSupportAvailable: false,\n drawerActive: false,\n dialogNoticeVisible: false,\n dialogNoticeType: null,\n dialogNotice: null,\n notificationDrawerActive: false,\n isChangingLanguage: false,\n },\n action: Action\n): void => {\n switch (action.type) {\n case TOGGLE_NAV_DRAWER_ACTIVE:\n return { ...state, navDrawerActive: !state.navDrawerActive };\n\n case HIDE_NAV_DRAWER:\n return { ...state, navDrawerActive: false };\n\n case TOGGLE_NOTIFICATION_DRAWER_ACTIVE:\n return { ...state, notificationDrawerActive: !state.notificationDrawerActive };\n\n case HIDE_NOTIFICAITON_DRAWER:\n return { ...state, notificationDrawerActive: false };\n\n case SET_PAGE_TITLE:\n return { ...state, pageTitle: action.pageTitle };\n\n case HIDE_DIALOG_NOTICE:\n return { ...state, dialogNoticeVisible: false };\n\n case SHOW_DIALOG_NOTICE:\n return {\n ...state,\n dialogNotice: action.notice,\n dialogNoticeType: action.noticeType || \"warning\",\n dialogNoticeVisible: true,\n };\n\n case SET_SUPPORT_AVAILABLE:\n return { ...state, isSupportAvailable: action.isSupportAvailable };\n\n // hack to prevent \"Form incomplete\" Dialog from showing up and to refetch data on language change\n case SET_LANGUAGE:\n return { ...state, isChangingLanguage: true };\n case DISMISS_CHANGING_LANGUAGE:\n return { ...state, isChangingLanguage: false };\n default:\n return state;\n }\n};\n\nexport const errorsReducer = (state = { errors: [] }, action: Action): void => {\n switch (action.type) {\n case SET_GLOBAL_ERRORS:\n return { ...state, errors: action.errors || [], url: action.url };\n default:\n return state;\n }\n};\n","import { Action } from \"../helpers\";\n\nimport { SET_FORM_PARAM, SET_FORM_PARAMS, SET_ALL_FORM_DATA } from \"./types\";\n\nexport const initialState = {\n formCurrentStep: null,\n};\n\nexport const formsReducer = (state = initialState, action: Action): void => {\n const { type, caseId, formData, paramValue, paramKey } = action;\n switch (type) {\n case SET_ALL_FORM_DATA: {\n const newState = { ...state[caseId] };\n Object.keys(formData).forEach((prop) => {\n newState[prop] = formData[prop];\n });\n return {\n ...state,\n [caseId]: newState,\n };\n }\n\n case SET_FORM_PARAMS: {\n const newState = Object.assign({}, state);\n if (!newState[caseId]) {\n newState[caseId] = {};\n }\n Object.keys(formData).forEach((prop) => {\n newState[caseId][prop] = formData[prop];\n });\n return newState;\n }\n\n case SET_FORM_PARAM:\n if (!state[caseId]) {\n state[caseId] = {};\n }\n return {\n ...state,\n [caseId]: {\n ...state[caseId],\n [paramKey]: paramValue,\n },\n };\n default:\n return state;\n }\n};\n","import { PRESERVE_DESTINATION } from \"./types\";\n\nexport const initialState = {\n preserveDestination: [],\n};\n\nconst genericRequests = (state = initialState, action) => {\n switch (action.type) {\n case PRESERVE_DESTINATION:\n return { ...state, preserveDestination: action.payload };\n default:\n return state;\n }\n};\n\nexport default genericRequests;\n","export const PRESERVE_DESTINATION = \"PRESERVE_DESTINATION\";\n","import {\n DISPATCH_ANTICIPATED_DATE,\n DISPATCH_LACHINE_ONLY,\n DISPATCH_SELECTED_TAGS,\n RELAY_TO_REDUX,\n} from \"./types\";\n\nexport const initialState = {\n anticipatedDate: null,\n condition: { label: \"\", value: \"\" },\n dataReceived: false,\n isEditing: false,\n isFetching: true,\n lachineSelected: false,\n selectedTags: [],\n step: \"initial-sorting\",\n};\n\nconst thorsurg = (state = initialState, action) => {\n switch (action.type) {\n case RELAY_TO_REDUX:\n return {\n ...state,\n ...action.payload.params,\n isFetching: false,\n viewer: action.payload.viewer,\n payload: action.payload,\n };\n\n case DISPATCH_SELECTED_TAGS:\n return {\n ...state,\n selectedTags: action.payload, // array\n };\n\n case DISPATCH_ANTICIPATED_DATE:\n return {\n ...state,\n anticipatedDate: action.payload, // date\n };\n\n case DISPATCH_LACHINE_ONLY:\n return {\n ...state,\n lachineSelected: action.payload, // bool\n };\n\n default:\n return state;\n }\n};\nexport default thorsurg;\n","import { routerReducer } from \"react-router-redux\";\nimport { createStore, combineReducers } from \"redux\";\n\nimport { overwrittenState, overwriteInitialState } from \"../helpers/features\";\nimport localStorage from \"../helpers/localStorage\";\n\nimport {\n headerReducer,\n settingsReducer,\n settingsReducerDefaults,\n layoutReducer,\n errorsReducer,\n accountSettingsFormReducer,\n} from \"./app/reducers\";\nimport * as formsReducers from \"./forms/reducers\";\nimport genericRequests from \"./genericRequests/reducers\";\nimport thorsurg from \"./thorsurg/reducers\";\n\nconst initialState = {\n settingsReducer: {\n ...settingsReducerDefaults,\n ...(localStorage.getItem(\"settingsReducer\")\n ? overwriteInitialState(JSON.parse(localStorage.getItem(\"settingsReducer\")), overwrittenState)\n : {}),\n },\n};\n\nexport const createNewStore = () =>\n createStore(\n combineReducers({\n headerReducer,\n settingsReducer,\n layoutReducer,\n errors: errorsReducer,\n accountSettingsFormReducer,\n routing: routerReducer,\n ...formsReducers,\n genericRequests,\n thorsurg,\n }),\n initialState,\n window.devToolsExtension && window.devToolsExtension()\n );\n\nexport const store = createNewStore();\n\nstore.subscribe(() => {\n localStorage.setItem(\"settingsReducer\", JSON.stringify(store.getState().settingsReducer));\n});\n","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./personAvatar.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./personAvatar.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./personAvatar.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".VideoConferenceHistoryItem-styles__status-chip___3s6OS{border-radius:3px;border:1px solid #009688;color:#009688;line-height:2.2rem}.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ{padding:1.5rem;margin:1.5rem 0;background-color:#f2f2f2;border-radius:0.5rem}@media print{.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ{padding:1rem;margin:1.5rem 0 0;border:1px solid #f2f2f2;background-color:transparent}}.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ .VideoConferenceHistoryItem-styles__meeting-info___236A5{display:flex;flex-direction:row;justify-content:space-between;flex-wrap:wrap;font-size:16px}.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ .VideoConferenceHistoryItem-styles__meeting-info___236A5 .VideoConferenceHistoryItem-styles__meeting-topic-description___38TQJ{display:flex;flex-direction:row;align-items:center}.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ .VideoConferenceHistoryItem-styles__meeting-info___236A5 .VideoConferenceHistoryItem-styles__meeting-topic-description___38TQJ .VideoConferenceHistoryItem-styles__topic___2zB4o{padding-right:0.5rem;font-size:18px;font-weight:bold}.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ .VideoConferenceHistoryItem-styles__meeting-info___236A5 .VideoConferenceHistoryItem-styles__meeting-topic-description___38TQJ .VideoConferenceHistoryItem-styles__participants___1busg{display:flex}.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ .VideoConferenceHistoryItem-styles__meeting-info___236A5 .VideoConferenceHistoryItem-styles__meeting-topic-description___38TQJ .VideoConferenceHistoryItem-styles__participants-box___18tYu{border-radius:6px;border:1px solid #949494;margin-right:2rem;padding:0.5rem 1rem}.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ .VideoConferenceHistoryItem-styles__meeting-info___236A5 .VideoConferenceHistoryItem-styles__meeting-topic-description___38TQJ .VideoConferenceHistoryItem-styles__participants___1busg .VideoConferenceHistoryItem-styles__participant-name___lDefd{font-weight:bold}.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ .VideoConferenceHistoryItem-styles__meeting-info___236A5 .VideoConferenceHistoryItem-styles__padding___29KIU{padding-right:0.5rem;padding-left:0.5rem}.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ .VideoConferenceHistoryItem-styles__meeting-info___236A5 .VideoConferenceHistoryItem-styles__separator___1OCt8{height:90%;border-left:1px solid #000}.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ .VideoConferenceHistoryItem-styles__meeting-info___236A5 .VideoConferenceHistoryItem-styles__meeting-metadata-container___3N3r0{display:inline-block;text-align:right;max-height:3rem}.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ .VideoConferenceHistoryItem-styles__meeting-info___236A5 .VideoConferenceHistoryItem-styles__meeting-metadata-container___3N3r0 .VideoConferenceHistoryItem-styles__duration___EWXTa{padding-left:0.5rem;padding-right:1rem}.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ .VideoConferenceHistoryItem-styles__meeting-info___236A5 .VideoConferenceHistoryItem-styles__meeting-metadata-container___3N3r0 .VideoConferenceHistoryItem-styles__status-chip___3s6OS{margin-top:1rem;margin-right:1rem}.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ .VideoConferenceHistoryItem-styles__meeting-provider___2vlOe{display:flex;flex-direction:row;justify-content:space-between;padding-top:1.5rem}.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ .VideoConferenceHistoryItem-styles__actions___3B3iM{display:flex;flex-direction:row;padding-top:0.5rem}.VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ .VideoConferenceHistoryItem-styles__actions___3B3iM .VideoConferenceHistoryItem-styles__add-to-calendar___1-lHU{width:auto !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"status-chip\": \"VideoConferenceHistoryItem-styles__status-chip___3s6OS\",\n\t\"video-conference-item\": \"VideoConferenceHistoryItem-styles__video-conference-item___ZL-FJ\",\n\t\"meeting-info\": \"VideoConferenceHistoryItem-styles__meeting-info___236A5\",\n\t\"meeting-topic-description\": \"VideoConferenceHistoryItem-styles__meeting-topic-description___38TQJ\",\n\t\"topic\": \"VideoConferenceHistoryItem-styles__topic___2zB4o\",\n\t\"participants\": \"VideoConferenceHistoryItem-styles__participants___1busg\",\n\t\"participants-box\": \"VideoConferenceHistoryItem-styles__participants-box___18tYu\",\n\t\"participant-name\": \"VideoConferenceHistoryItem-styles__participant-name___lDefd\",\n\t\"padding\": \"VideoConferenceHistoryItem-styles__padding___29KIU\",\n\t\"separator\": \"VideoConferenceHistoryItem-styles__separator___1OCt8\",\n\t\"meeting-metadata-container\": \"VideoConferenceHistoryItem-styles__meeting-metadata-container___3N3r0\",\n\t\"duration\": \"VideoConferenceHistoryItem-styles__duration___EWXTa\",\n\t\"meeting-provider\": \"VideoConferenceHistoryItem-styles__meeting-provider___2vlOe\",\n\t\"actions\": \"VideoConferenceHistoryItem-styles__actions___3B3iM\",\n\t\"add-to-calendar\": \"VideoConferenceHistoryItem-styles__add-to-calendar___1-lHU\"\n};","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Chip from \"react-toolbox/lib/chip\";\n\nconst ChipComponent = ({ label, children, className }) => (\n \n {label}\n {children}\n \n);\n\nChipComponent.propTypes = {\n label: PropTypes.string,\n className: PropTypes.string,\n};\n\nexport default ChipComponent;\n","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".genderAvatar-style__gender-avatar___18JRc{background-color:transparent;height:2rem !important;margin:0 8px;width:2rem !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"gender-avatar\": \"genderAvatar-style__gender-avatar___18JRc\"\n};","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ReportDropdown.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ReportDropdown.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ReportDropdown.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./HandWrittenFormHeader.styles.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./HandWrittenFormHeader.styles.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./HandWrittenFormHeader.styles.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./NewGenericRequest.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./NewGenericRequest.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./NewGenericRequest.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".spinnerPlaceholder-style__spinner-container___1W2Qy{display:flex;align-items:center;justify-content:center;width:100%}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"spinner-container\": \"spinnerPlaceholder-style__spinner-container___1W2Qy\"\n};","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./helpText.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./helpText.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./helpText.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ScoreLegend.styles.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ScoreLegend.styles.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ScoreLegend.styles.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages, FormattedMessage } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\n\nimport { GerudoTextInput, DatePicker, DatePickerSizes } from \"~/src/js/components/shared/inputs\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { isValidDate, calculateAge, serializeDate } from \"../../helpers/dates\";\nimport HealthInsuranceFields from \"../patients/healthInsuranceFields\";\nimport { checkPatientInformation } from \"../patients/healthInsuranceFieldset\";\nimport RadioButtonListInput from \"../shared/inputs/radioButtonListInput\";\nimport { genderChoices } from \"../shared/radioHelpers\";\n\nimport SimilarPatients, { getSimilarPatientStatus } from \"./similarPatients\";\n\nimport patientTranslations from \"./patients.i18n\";\nimport baseI18n from \"../../../messages/base.i18n\";\n\nconst messages = defineMessages({\n ageCalculatedFromBirthday: {\n id: \"forms.econsult.ageCalculatedFromBirthday\",\n description: \"Hint to show for age field that is auto-calculated from birthday\",\n defaultMessage: \"Age will be calculated from birthday if entered.\",\n },\n});\n\nexport class BasicPatientForm extends React.Component {\n static propTypes = {\n viewer: PropTypes.any.isRequired,\n patient: PropTypes.any.isRequired,\n nameRequired: PropTypes.bool,\n hospitalId: PropTypes.string,\n handleSimilarPatientSelect: PropTypes.func,\n formsy: PropTypes.any,\n dispatch: PropTypes.func,\n intl: intlShape,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n disableAge: isValidDate(props.patient.demographic.birthday),\n healthInsuranceNumber: null,\n foundPatient: null,\n recordNumber: null,\n };\n\n this.findSimilarPatients({\n firstName: props.patient.demographic.firstName,\n lastName: props.patient.demographic.lastName,\n birthday: serializeDate(props.patient.demographic.birthday),\n healthInsuranceNumber: props.patient.healthInsurance.number,\n });\n }\n\n t(key, args) {\n return this.props.intl.formatMessage(key, args);\n }\n\n componentDidUpdate(oldProps) {\n if (this.props.hospitalId !== oldProps.hospitalId) {\n this.findSimilarPatients({});\n }\n\n checkPatientInformation(\n this.props.viewer.patientInformation,\n this.state.foundPatient,\n (pi) => this.setState({ foundPatient: pi }),\n this.props.intl,\n this.props.dispatch\n );\n }\n\n findSimilarPatients(newParams) {\n this.setState({ findingSimilarPatients: true });\n const finalParams = {\n ...this.props.relay.variables.parameters,\n ...newParams,\n };\n this.props.relay.setVariables(\n {\n hospitalId: this.props.hospitalId,\n parameters: finalParams,\n },\n (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ findingSimilarPatients: false }, () => this.updateSimilarPatientErrors());\n }\n }\n );\n }\n\n updateSimilarPatientErrors() {\n const { viewer } = this.props;\n const sp = (viewer.hospital || {}).similarPatients;\n const status = getSimilarPatientStatus(sp, this.props.relay.variables.parameters);\n const errors = {};\n\n if (status.isHealthInsuranceNumber) {\n errors[\"healthInsurance.number\"] = this.props.intl.formatMessage(\n patientTranslations.similarPatientDuplicate\n );\n }\n\n if (status.isUniqueId) {\n errors[\"uniqueId\"] = this.props.intl.formatMessage(\n patientTranslations.similarPatientDuplicate\n );\n }\n\n if (this.props.formsy) {\n this.props.formsy.updateInputsWithError(errors);\n }\n }\n\n render() {\n const { foundPatient } = this.state;\n const { patient, viewer } = this.props;\n const sp = (viewer.hospital || {}).similarPatients;\n const mapped = sp ? sp.edges.map((x) => x.node) : [];\n return (\n
    \n {\n if (this.props.handleSimilarPatientSelect) {\n this.props.handleSimilarPatientSelect(p);\n }\n }}\n required\n canShow={true}\n />\n
    \n {/* TODO: add icon those icon to gerudo */}\n }\n // icon=\"account_box\"\n value={\n (foundPatient && foundPatient.isFound && foundPatient.firstName) ||\n patient.demographic.firstName\n }\n required={this.props.nameRequired}\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n }}\n onChange={(e) => this.findSimilarPatients({ firstName: e })}\n />\n }\n // icon=\"account_box\"\n value={\n (foundPatient && foundPatient.isFound && foundPatient.lastName) ||\n patient.demographic.lastName\n }\n required={this.props.nameRequired}\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n }}\n onChange={(e) => this.findSimilarPatients({ lastName: e })}\n />\n
    \n\n
    \n \n
    \n
    \n }\n placeholder={this.t(baseI18n.patients.demographic.birthday)}\n value={\n (foundPatient && foundPatient.isFound && foundPatient.birthday) ||\n patient.demographic.birthday\n }\n size={DatePickerSizes.large}\n validations={{\n isDate: true,\n isBirthday: true,\n }}\n validationErrors={{\n isDate: this.t(baseI18n.error.dateFormat),\n isBirthday: this.t(baseI18n.patients.demographic.birthdayFormatError),\n }}\n onChange={(e) => {\n if (e && !isNaN(e.getTime())) {\n const age = calculateAge(e);\n this.setState({ disableAge: true, ageValue: age });\n this.findSimilarPatients({ birthday: serializeDate(e) });\n } else {\n this.setState({ disableAge: false, ageValue: null });\n this.findSimilarPatients({ birthday: undefined });\n }\n }}\n required={false}\n />\n }\n icon=\"event\"\n type=\"number\"\n hint={this.t(messages.ageCalculatedFromBirthday)}\n value={this.state.ageValue === null ? patient.demographic.age : this.state.ageValue}\n required={true}\n validationErrors={{\n isDefaultRequiredValue: this.t(baseI18n.error.fieldRequired),\n }}\n disabled={this.state.disableAge}\n />\n
    \n {\n this.setState({ healthInsuranceNumber: n });\n this.props.relay.setVariables({\n patientIdentifier: n,\n hasPatientIdentifier: true,\n });\n this.findSimilarPatients({ healthInsuranceNumber: n });\n }}\n onProvinceChanged={(p) => {\n this.props.relay.setVariables({\n provinceCode: p,\n });\n }}\n overrideRequired={false}\n />\n
    \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(connect()(BasicPatientForm)), {\n initialVariables: {\n patientIdentifier: null,\n hasPatientIdentifier: false,\n provinceCode: \"QC\",\n hospitalId: null,\n hospitalLegacyId: null,\n parameters: {\n uniqueId: undefined,\n },\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${HealthInsuranceFields.getFragment(\"viewer\")}\n\n patientInformation(\n countryCode: \"CA\",\n provinceCode: $provinceCode,\n identifier: $patientIdentifier\n ) @include(if: $hasPatientIdentifier) {\n isFound\n isAdmissible\n firstName\n lastName\n birthday\n gender\n message\n }\n\n hospital(id: $hospitalId, legacyId: $hospitalLegacyId) {\n id\n legacyId\n name\n createdAt\n updatedAt\n permissions {\n canQuickCreatePatient\n }\n \n similarPatients(first: 5, parameters: $parameters) {\n edges {\n node {\n uniqueId\n patient {\n id\n legacyId\n demographic {\n fullName\n firstName\n lastName\n birthday\n gender\n }\n healthInsurance {\n provinceCode\n number\n }\n }\n }\n }\n }\n }\n }`,\n patient: () => Relay.QL`\n fragment on Patient {\n id\n legacyId\n demographic {\n firstName\n lastName\n age\n birthday\n gender\n preferredLanguage\n }\n healthInsurance {\n ${HealthInsuranceFields.getFragment(\"healthInsurance\")}\n }\n }\n `,\n },\n});\n","\nvar content = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./successChip.theme.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./successChip.theme.scss\", function() {\n\t\tvar newContent = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./successChip.theme.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import { useFormsySubmit } from \"~/src/js/hooks\";\n\nimport { addHandWrittenSignature } from \"../mutations\";\n\nexport const useAddHandWrittenSignature = ({\n onSuccess,\n lookupId,\n referenceId,\n legalSignatoryType,\n signerFullName,\n}) => {\n const onFormsySubmit = async (data) => {\n return await addHandWrittenSignature({\n lookupId: lookupId,\n referenceId: referenceId,\n signerFullName: data.signerFullName || signerFullName,\n legalSignatoryType: legalSignatoryType,\n imageData: data.handWrittenSignature.imageUrl,\n });\n };\n\n const onFormsySuccess = (data, response) => {\n if (onSuccess) {\n onSuccess(data, response);\n }\n };\n\n const { formsyProps, errors, isSubmitting, isValid } = useFormsySubmit({\n onSubmit: onFormsySubmit,\n onSuccess: onFormsySuccess,\n });\n\n const submit = () => {\n formsyProps.ref.current.submit();\n };\n\n return {\n formsyProps,\n errors,\n isSubmitting,\n isValid,\n submit,\n tests: {\n onFormsySubmit,\n onFormsySuccess,\n },\n };\n};\n","import { useSubmitMutation } from \"~/src/js/hooks\";\n\nimport { cancelHandWrittenSignatureMutation } from \"../mutations\";\n\nexport const useCancelHandWrittenSignatureMutation = ({ onFailure, onSuccess }) => {\n const mutation = async (signature) => {\n return await cancelHandWrittenSignatureMutation({ signatureId: signature.guid });\n };\n\n const { errors, isSubmitting, submit } = useSubmitMutation({\n onSubmit: mutation,\n onSuccess: onSuccess,\n onFailure: onFailure,\n });\n\n const cancelHandWrittenSignature = async (signature) => {\n await submit(signature);\n };\n\n return {\n errors,\n isSubmitting,\n cancelHandWrittenSignature,\n };\n};\n","export { useAddHandWrittenSignature } from \"./useAddHandWrittenSignature\";\nexport { useCancelHandWrittenSignatureMutation } from \"./useCancelHandWrittenSignature\";\n","import React from \"react\";\nimport { green } from \"@material-ui/core/colors\";\nimport Flag from \"@material-ui/icons/Flag\";\n\nexport const LowPriorityFlagIcon = () => {\n return ;\n};\n\nexport default LowPriorityFlagIcon;\n","import React from \"react\";\nimport { yellow } from \"@material-ui/core/colors\";\nimport Flag from \"@material-ui/icons/Flag\";\n\nexport const MediumPriorityFlagIcon = () => {\n return ;\n};\n\nexport default MediumPriorityFlagIcon;\n","import React from \"react\";\nimport { red } from \"@material-ui/core/colors\";\nimport Flag from \"@material-ui/icons/Flag\";\n\nexport const HighPriorityFlagIcon = () => {\n return ;\n};\n\nexport default HighPriorityFlagIcon;\n","import React from \"react\";\nimport { red } from \"@material-ui/core/colors\";\nimport Heart from \"@material-ui/icons/Favorite\";\n\nexport const HeartIcon = () => {\n return ;\n};\n\nexport default HeartIcon;\n","import React from \"react\";\nimport { yellow } from \"@material-ui/core/colors\";\nimport Sun from \"@material-ui/icons/Brightness5\";\n\nexport const SunIcon = () => {\n return ;\n};\n\nexport default SunIcon;\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\n\nimport {\n LowPriorityFlagIcon,\n MediumPriorityFlagIcon,\n HighPriorityFlagIcon,\n HeartIcon,\n SunIcon,\n} from \"./Icons\";\n\nexport const PriorityIcon = ({ priority }) => {\n if (!priority) {\n return null;\n }\n\n const { icon } = priority;\n const priorityIcon = icon || priority;\n\n switch (priorityIcon) {\n case \"green_flag\":\n return ;\n\n case \"flag_yellow\":\n return ;\n\n case \"red_flag\":\n return ;\n\n case \"heart\":\n return ;\n\n default:\n return ;\n }\n};\n\nPriorityIcon.propTypes = {\n priority: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.shape({\n icon: PropTypes.string,\n }),\n ]),\n};\n\nexport default PriorityIcon;\n","export { default as PriorityIcon } from \"./PriorityIcon\";\n","import { useState } from \"react\";\n\nexport const useFormsyInput = ({\n defaultValue = \"\",\n setFormsyValue,\n onChange,\n onBlur,\n onFocus,\n formatValue,\n}) => {\n const [value, setValue] = useState(defaultValue);\n const [isFocused, setIsFocused] = useState(false);\n\n const handleAnyChange = (changeFunction, value) => {\n const formattedValue = formatValue ? formatValue(value) : value;\n if (changeFunction) {\n changeFunction(formattedValue);\n }\n if (setFormsyValue) {\n setFormsyValue(formattedValue);\n }\n setValue(formattedValue);\n };\n\n const handleChange = (value) => {\n handleAnyChange(onChange, value);\n };\n\n const handleFocus = (value) => {\n setIsFocused(true);\n handleAnyChange(onFocus, value);\n };\n\n const handleBlur = (value) => {\n setIsFocused(false);\n handleAnyChange(onBlur, value);\n };\n\n return {\n value,\n handleChange,\n isFocused,\n handleFocus,\n handleBlur,\n };\n};\n","export { useFormsyInput } from \"./useFormsyInput\";\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".ThoracicSurgeryForm-style__stepper___yHR_L{padding:1.7em !important}.ThoracicSurgeryForm-style__nav-container___3kQj4{display:flex;flex-direction:column}.ThoracicSurgeryForm-style__wrapper___mcYwH{position:relative;width:100%}.ThoracicSurgeryForm-style__isPrintable___3G1in{display:none}.ThoracicSurgeryForm-style__isNotPrintable___3jhF-{display:block}.ThoracicSurgeryForm-style__thorsurg___2H1_2{display:flex;padding:0;margin-bottom:2em}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck{display:flex;flex-direction:column;flex:1;height:100%;position:relative;width:100%}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck.ThoracicSurgeryForm-style__form-active___1YdOl{border:1px solid #d7d7d7;border-radius:3px}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck form input[name=\\\"consultationDate\\\"]{background-color:transparent}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck fieldset:first-child{margin:1.5em}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck fieldset:first-child label{width:100%}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck fieldset:first-child legend{color:#1976d2;display:inline-block;font-size:1.5em;font-weight:bold;margin-bottom:0.5em}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck fieldset:first-child legend+h3{color:#223654;margin-top:0.5em}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck fieldset fieldset:not(:first-of-type){margin-top:2em}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__dropdown-list-inline___38fbg{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media (min-width: 800px){.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__dropdown-list-inline___38fbg{flex-direction:row}}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__dropdown-list-inline___38fbg>div{margin-bottom:0}@media (min-width: 800px){.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__dropdown-list-inline___38fbg>div{width:50%}}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__dropdown-list-inline___38fbg .ThoracicSurgeryForm-style__forms-to-complete___nFi1R{border:2px lightgrey solid;padding:2rem}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__dropdown-list-inline___38fbg>label:nth-child(n+2){margin-left:2rem}.ThoracicSurgeryForm-style__thorsurg___2H1_2 [data-react-toolbox=\\\"radio-group\\\"]{margin:0 3em}.ThoracicSurgeryForm-style__thorsurg___2H1_2 [data-react-toolbox=\\\"radio-group\\\"]>label{margin:0.75em 0 !important;display:inline-table}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__consentBy___2h3PD>div{display:flex}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__date___YjOKL{display:flex}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__date___YjOKL [data-react-toolbox=\\\"date-picker\\\"]{max-width:15rem}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__date___YjOKL [data-react-toolbox=\\\"date-picker\\\"] [data-react-toolbox=\\\"input\\\"]{padding:0}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__date___YjOKL [data-react-toolbox=\\\"date-picker\\\"] span [data-react-toolbox=\\\"font-icon\\\"] .ThoracicSurgeryForm-style__material-icons___13-Fg{top:0 !important}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__date___YjOKL [data-react-toolbox=\\\"date-picker\\\"] input{border:1px solid rgba(0,0,0,0.12);border-radius:3px;padding:5px 8px}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__date___YjOKL label{width:auto !important}.ThoracicSurgeryForm-style__general-admission___2znt3,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div{margin:0;padding:0}.ThoracicSurgeryForm-style__general-admission___2znt3 select,.ThoracicSurgeryForm-style__general-admission___2znt3 input,.ThoracicSurgeryForm-style__general-admission___2znt3 input[type=\\\"text\\\"],.ThoracicSurgeryForm-style__general-admission___2znt3 textarea,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn select,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn input,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn input[type=\\\"text\\\"],.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn textarea,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div select,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div input,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div input[type=\\\"text\\\"],.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div textarea{border:1px solid rgba(0,0,0,0.12);border-radius:3px;background-color:white !important;padding:8px 5px}.ThoracicSurgeryForm-style__general-admission___2znt3 select::-webkit-input-placeholder,.ThoracicSurgeryForm-style__general-admission___2znt3 input::-webkit-input-placeholder,.ThoracicSurgeryForm-style__general-admission___2znt3 input[type=\\\"text\\\"]::-webkit-input-placeholder,.ThoracicSurgeryForm-style__general-admission___2znt3 textarea::-webkit-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn select::-webkit-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn input::-webkit-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn input[type=\\\"text\\\"]::-webkit-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn textarea::-webkit-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div select::-webkit-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div input::-webkit-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div input[type=\\\"text\\\"]::-webkit-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div textarea::-webkit-input-placeholder{color:#757575;font-size:14px}.ThoracicSurgeryForm-style__general-admission___2znt3 select:-ms-input-placeholder,.ThoracicSurgeryForm-style__general-admission___2znt3 input:-ms-input-placeholder,.ThoracicSurgeryForm-style__general-admission___2znt3 input[type=\\\"text\\\"]:-ms-input-placeholder,.ThoracicSurgeryForm-style__general-admission___2znt3 textarea:-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn select:-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn input:-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn input[type=\\\"text\\\"]:-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn textarea:-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div select:-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div input:-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div input[type=\\\"text\\\"]:-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div textarea:-ms-input-placeholder{color:#757575;font-size:14px}.ThoracicSurgeryForm-style__general-admission___2znt3 select::-ms-input-placeholder,.ThoracicSurgeryForm-style__general-admission___2znt3 input::-ms-input-placeholder,.ThoracicSurgeryForm-style__general-admission___2znt3 input[type=\\\"text\\\"]::-ms-input-placeholder,.ThoracicSurgeryForm-style__general-admission___2znt3 textarea::-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn select::-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn input::-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn input[type=\\\"text\\\"]::-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn textarea::-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div select::-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div input::-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div input[type=\\\"text\\\"]::-ms-input-placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div textarea::-ms-input-placeholder{color:#757575;font-size:14px}.ThoracicSurgeryForm-style__general-admission___2znt3 select::placeholder,.ThoracicSurgeryForm-style__general-admission___2znt3 input::placeholder,.ThoracicSurgeryForm-style__general-admission___2znt3 input[type=\\\"text\\\"]::placeholder,.ThoracicSurgeryForm-style__general-admission___2znt3 textarea::placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn select::placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn input::placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn input[type=\\\"text\\\"]::placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn textarea::placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div select::placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div input::placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div input[type=\\\"text\\\"]::placeholder,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div textarea::placeholder{color:#757575;font-size:14px}.ThoracicSurgeryForm-style__general-admission___2znt3 select:disabled,.ThoracicSurgeryForm-style__general-admission___2znt3 input:disabled,.ThoracicSurgeryForm-style__general-admission___2znt3 input[type=\\\"text\\\"]:disabled,.ThoracicSurgeryForm-style__general-admission___2znt3 textarea:disabled,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn select:disabled,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn input:disabled,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn input[type=\\\"text\\\"]:disabled,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn textarea:disabled,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div select:disabled,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div input:disabled,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div input[type=\\\"text\\\"]:disabled,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div textarea:disabled{background:#e5e5e5 !important;border:none;color:#424242;opacity:1}.ThoracicSurgeryForm-style__general-admission___2znt3 [data-react-toolbox=\\\"input\\\"],.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn [data-react-toolbox=\\\"input\\\"],.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div [data-react-toolbox=\\\"input\\\"]{padding:0}.ThoracicSurgeryForm-style__disabled-coloured___374rS span,.ThoracicSurgeryForm-style__disabled-coloured___374rS input{color:#333 !important}.ThoracicSurgeryForm-style__disabled-coloured___374rS label div[data-react-toolbox=\\\"check\\\"]{background-color:#333 !important}.ThoracicSurgeryForm-style__general-admission___2znt3 .ThoracicSurgeryForm-style__row___3liY0 [data-react-toolbox=\\\"input\\\"]{padding:0 !important}.ThoracicSurgeryForm-style__general-admission___2znt3 .ThoracicSurgeryForm-style__row___3liY0>div input,.ThoracicSurgeryForm-style__dropdown-list-inline___38fbg .ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn,.ThoracicSurgeryForm-style__dropdown-list-inline___38fbg .ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn>div{margin-right:8px}.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn input,.ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn select{height:40px}.ThoracicSurgeryForm-style__general-form___1qa_T [data-react-toolbox=\\\"input\\\"]{margin-right:8px;align-items:center;padding:0}.ThoracicSurgeryForm-style__refac-fast-textarea___1reQR{padding:0}@media print{.ThoracicSurgeryForm-style__isPrintable___3G1in{display:block !important;line-height:2rem !important;font-size:1.4rem !important}.ThoracicSurgeryForm-style__isNotPrintable___3jhF-{display:none !important}.ThoracicSurgeryForm-style__thorsurg___2H1_2{display:block;margin:0 auto;max-width:670px;padding:0 !important}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck input[disabled],.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck label span,.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck label,.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck select[disabled],.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck textarea[disabled]{color:#000 !important;border-bottom:1px solid #fff !important;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck [data-react-toolbox=\\\"radio\\\"]{border-color:black !important}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck [data-react-toolbox=\\\"radio\\\"]:before{background-color:black !important}.ThoracicSurgeryForm-style__thorsurg___2H1_2 .ThoracicSurgeryForm-style__formsy___X0-ck [data-react-toolbox=\\\"date-picker\\\"] [data-react-toolbox=\\\"font-icon\\\"]{display:none}}.ThoracicSurgeryForm-style__form-row___3LSyZ{display:flex;flex-direction:row}.ThoracicSurgeryForm-style__physician-statement___3bS_z{font-size:14px}.ThoracicSurgeryForm-style__required___16-ku{color:#d00025}.ThoracicSurgeryForm-style__admin-notes___fapfh{margin-top:0 !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"stepper\": \"ThoracicSurgeryForm-style__stepper___yHR_L\",\n\t\"nav-container\": \"ThoracicSurgeryForm-style__nav-container___3kQj4\",\n\t\"wrapper\": \"ThoracicSurgeryForm-style__wrapper___mcYwH\",\n\t\"isPrintable\": \"ThoracicSurgeryForm-style__isPrintable___3G1in\",\n\t\"isNotPrintable\": \"ThoracicSurgeryForm-style__isNotPrintable___3jhF-\",\n\t\"thorsurg\": \"ThoracicSurgeryForm-style__thorsurg___2H1_2\",\n\t\"formsy\": \"ThoracicSurgeryForm-style__formsy___X0-ck\",\n\t\"form-active\": \"ThoracicSurgeryForm-style__form-active___1YdOl\",\n\t\"dropdown-list-inline\": \"ThoracicSurgeryForm-style__dropdown-list-inline___38fbg\",\n\t\"forms-to-complete\": \"ThoracicSurgeryForm-style__forms-to-complete___nFi1R\",\n\t\"consentBy\": \"ThoracicSurgeryForm-style__consentBy___2h3PD\",\n\t\"date\": \"ThoracicSurgeryForm-style__date___YjOKL\",\n\t\"material-icons\": \"ThoracicSurgeryForm-style__material-icons___13-Fg\",\n\t\"general-admission\": \"ThoracicSurgeryForm-style__general-admission___2znt3\",\n\t\"dropdown-input-fast-refac\": \"ThoracicSurgeryForm-style__dropdown-input-fast-refac___1mFPn\",\n\t\"disabled-coloured\": \"ThoracicSurgeryForm-style__disabled-coloured___374rS\",\n\t\"row\": \"ThoracicSurgeryForm-style__row___3liY0\",\n\t\"general-form\": \"ThoracicSurgeryForm-style__general-form___1qa_T\",\n\t\"refac-fast-textarea\": \"ThoracicSurgeryForm-style__refac-fast-textarea___1reQR\",\n\t\"form-row\": \"ThoracicSurgeryForm-style__form-row___3LSyZ\",\n\t\"physician-statement\": \"ThoracicSurgeryForm-style__physician-statement___3bS_z\",\n\t\"required\": \"ThoracicSurgeryForm-style__required___16-ku\",\n\t\"admin-notes\": \"ThoracicSurgeryForm-style__admin-notes___fapfh\"\n};","\nvar content = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./forms.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./forms.scss\", function() {\n\t\tvar newContent = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./forms.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../node_modules/css-loader/index.js??ref--9-1!../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../node_modules/toolbox-loader/index.js!./inputs.shared.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../node_modules/css-loader/index.js??ref--9-1!../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../node_modules/toolbox-loader/index.js!./inputs.shared.scss\", function() {\n\t\tvar newContent = require(\"!!../../../node_modules/css-loader/index.js??ref--9-1!../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../node_modules/toolbox-loader/index.js!./inputs.shared.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./PhysicianInputActions.styles.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./PhysicianInputActions.styles.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./PhysicianInputActions.styles.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./checkboxListInput.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./checkboxListInput.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./checkboxListInput.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./PrintCaseContainer.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./PrintCaseContainer.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./PrintCaseContainer.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".slider__slider___1HDIa .slider__innerknob___3_O01{width:20px;height:20px}.slider__slider___1HDIa:not(.slider__ring___2Vggi) .slider__innerknob___3_O01{background-color:#009688}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"slider\": \"slider__slider___1HDIa\",\n\t\"innerknob\": \"slider__innerknob___3_O01\",\n\t\"ring\": \"slider__ring___2Vggi\"\n};","import { useState } from \"react\";\n\nimport { getToken } from \"~/src/js/helpers/authentication\";\nimport { normalizeFileName } from \"~/src/js/helpers/strings\";\nimport { appendQueryParameter } from \"~/src/js/helpers/url\";\nimport { AppSettings } from \"~/src/js/constants\";\nimport { downloadFile, saveFile } from \"~/src/js/helpers/files\";\n\nexport const PRINT_QUERY_PARAMS_KEYS = {\n step: \"step\",\n jwt: \"jwt\",\n language: \"lang\",\n fileName: \"fileName\",\n tab: \"tab\",\n margins: \"margins\",\n};\n\nexport const usePrint = ({\n uri,\n downloadFileName,\n language,\n showDialog,\n downloadStartedMessage,\n downloadFailedMessage,\n queryParams = [],\n}) => {\n const [isDownloading, setIsDownloading] = useState(false);\n\n const print = () => {\n const jwt = encodeURIComponent(getToken());\n const fileName = encodeURIComponent(`${normalizeFileName(downloadFileName)}.pdf`);\n\n let printUri = `${AppSettings.PdfRootUrl}/${uri}`;\n printUri = appendQueryParameter(printUri, PRINT_QUERY_PARAMS_KEYS.jwt, jwt);\n printUri = appendQueryParameter(\n printUri,\n PRINT_QUERY_PARAMS_KEYS.language,\n encodeURIComponent(language)\n );\n printUri = appendQueryParameter(printUri, PRINT_QUERY_PARAMS_KEYS.fileName, fileName);\n\n queryParams.forEach(\n (queryParam) =>\n (printUri = appendQueryParameter(\n printUri,\n queryParam.key,\n encodeURIComponent(queryParam.value)\n ))\n );\n\n setIsDownloading(true);\n showDialog(downloadStartedMessage, \"accept\");\n downloadFile(printUri, jwt, true)\n .then((f) => {\n saveFile(f);\n setIsDownloading(false);\n })\n .catch(() => {\n showDialog(downloadFailedMessage, \"cancel\");\n setIsDownloading(false);\n });\n };\n\n return {\n print,\n isDownloading,\n };\n};\n","export { usePrint, PRINT_QUERY_PARAMS_KEYS } from \"./usePrint\";\n","import classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport Dialog from \"react-toolbox/lib/dialog\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { getErrors, handleFormsyInvalidSubmit } from \"../../helpers/errors\";\nimport { onLanguageChange } from \"../../helpers/language\";\nimport ErrorCard from \"../shared/errorCard\";\nimport TextInput from \"../shared/inputs/textInput\";\n\nimport ResendUserInvitationMutation from \"./resendUserInvitationMutation\";\n\nimport invitationMessages from \"../invitations/invitations.i18n\";\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n resendInvitation: {\n id: \"invitations.resendInvitation\",\n description: \"Resend patient invitation label\",\n defaultMessage: \"Resend invitation\",\n },\n description: {\n id: \"resendUserInvitationDialog.description\",\n description: \"Short help text when creating a new case for a patient\",\n defaultMessage: \"You may change the email and invitation text here if necessary.\",\n },\n resendInvitationFor: {\n id: \"resendUserInvitationDialog.resendInvitationFor\",\n description: \"Title for resend invitation dialog\",\n defaultMessage: \"Resend invitation to {userName}\",\n },\n});\n\nexport class ResendUserInvitationDialog extends React.Component {\n static propTypes = {\n user: PropTypes.any.isRequired,\n dispatch: PropTypes.func,\n onResendSuccess: PropTypes.func,\n onResendError: PropTypes.func,\n onClose: PropTypes.func,\n intl: intlShape,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n resendingInvitation: false,\n };\n }\n\n componentDidMount() {\n onLanguageChange(() => this.props.relay.forceFetch());\n }\n\n resendInvitation(data) {\n this.setState({ errors: [], resendingInvitation: true });\n const { user } = this.props;\n const userName = user.userName;\n Relay.Store.commitUpdate(\n new ResendUserInvitationMutation({\n userName,\n email: data.email === user.email ? null : data.email,\n invitationText:\n data.invitationText === user.invitationInformation.invitationText\n ? null\n : data.invitationText,\n }),\n {\n onSuccess: () => {\n this.setState({ resendingInvitation: false });\n if (this.props.onResendSuccess) {\n this.props.onResendSuccess(this.props.user);\n }\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({ resendingInvitation: false });\n if (this.props.onResendError) {\n this.props.onResendError(errors);\n }\n });\n },\n }\n );\n }\n\n render() {\n const t = this.props.intl.formatMessage;\n const { user } = this.props;\n const closeDialog = () => this.props.onClose();\n const actions = [\n {\n label: t(baseI18n.global.close),\n onClick: closeDialog,\n disabled: this.state.resendingInvitation,\n },\n {\n children: (\n \n {t(messages.resendInvitation)}\n {this.state.resendingInvitation && (\n \n )}\n \n ),\n icon: \"send\",\n className: classnames({ [formStyle[\"spinning-button\"]]: this.state.resendingInvitation }),\n onClick: () => this.form.submit(),\n primary: true,\n disabled: this.state.resendingInvitation,\n },\n ];\n\n return (\n \n this.resendInvitation(data)}\n onInvalidSubmit={() => handleFormsyInvalidSubmit(this.form)}\n noValidate\n ref={(form) => (this.form = form)}>\n

    {t(messages.description)}

    \n
    \n \n
    \n
    \n \n
    \n
    \n \n ) : null}\n \n );\n }\n\n selectPatient(patient): void {\n if (this.props.onSelect) {\n this.props.onSelect(patient, this.props.patientSearch);\n }\n }\n\n setQuery(query): void {\n this.setState({ query });\n this.searchPatients(query);\n }\n\n loadMore(): void {\n const first = this.state.first + 10;\n this.setState({ first, loadingMore: true });\n this.props.relay.setVariables({ first }, (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ loadingMore: false });\n }\n });\n }\n\n searchPatients(query: string): void {\n const first = 10;\n this.setState({ first, searching: true });\n this.props.relay.setVariables(\n {\n query: query || null,\n first,\n },\n (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ searching: false });\n }\n }\n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(PatientSearch), {\n initialVariables: {\n query: null,\n first: 10,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PatientRow.getFragment(\"viewer\")}\n }\n `,\n patientSearch: () => Relay.QL`\n fragment on IHospital {\n patients(q: $query, first: $first) {\n edges {\n node {\n id\n ${PatientRow.getFragment(\"hospitalPatient\")}\n patient {\n id\n legacyId\n ${PatientRow.getFragment(\"patient\")}\n }\n }\n }\n pageInfo {\n hasNextPage\n }\n }\n }\n `,\n },\n});\n","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./Note.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./Note.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./Note.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./AddPatientHospital.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./AddPatientHospital.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./AddPatientHospital.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","module.exports = \"data:image/svg+xml,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E %3Csvg xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.0' width='64px' height='64px' viewBox='0 0 128 128' xml:space='preserve'%3E %3Cg%3E %3Cpath d='M71 39.2V.4a63.6 63.6 0 0 1 33.96 14.57L77.68 42.24a25.53 25.53 0 0 0-6.7-3.03z' fill='%23000000' fill-opacity='1'/%3E %3Cpath d='M71 39.2V.4a63.6 63.6 0 0 1 33.96 14.57L77.68 42.24a25.53 25.53 0 0 0-6.7-3.03z' fill='%23e1e1e1' fill-opacity='0.12' transform='rotate(45 64 64)'/%3E %3Cpath d='M71 39.2V.4a63.6 63.6 0 0 1 33.96 14.57L77.68 42.24a25.53 25.53 0 0 0-6.7-3.03z' fill='%23e1e1e1' fill-opacity='0.12' transform='rotate(90 64 64)'/%3E %3Cpath d='M71 39.2V.4a63.6 63.6 0 0 1 33.96 14.57L77.68 42.24a25.53 25.53 0 0 0-6.7-3.03z' fill='%23e1e1e1' fill-opacity='0.12' transform='rotate(135 64 64)'/%3E %3Cpath d='M71 39.2V.4a63.6 63.6 0 0 1 33.96 14.57L77.68 42.24a25.53 25.53 0 0 0-6.7-3.03z' fill='%23bebebe' fill-opacity='0.25' transform='rotate(180 64 64)'/%3E %3Cpath d='M71 39.2V.4a63.6 63.6 0 0 1 33.96 14.57L77.68 42.24a25.53 25.53 0 0 0-6.7-3.03z' fill='%23979797' fill-opacity='0.41' transform='rotate(225 64 64)'/%3E %3Cpath d='M71 39.2V.4a63.6 63.6 0 0 1 33.96 14.57L77.68 42.24a25.53 25.53 0 0 0-6.7-3.03z' fill='%236e6e6e' fill-opacity='0.57' transform='rotate(270 64 64)'/%3E %3Cpath d='M71 39.2V.4a63.6 63.6 0 0 1 33.96 14.57L77.68 42.24a25.53 25.53 0 0 0-6.7-3.03z' fill='%233c3c3c' fill-opacity='0.76' transform='rotate(315 64 64)'/%3E %3CanimateTransform attributeName='transform' type='rotate' values='0 64 64;45 64 64;90 64 64;135 64 64;180 64 64;225 64 64;270 64 64;315 64 64' calcMode='discrete' dur='1040ms' repeatCount='indefinite'%3E%3C/animateTransform%3E %3C/g%3E %3Cg%3E %3Ccircle fill='%23000000' fill-opacity='1' cx='63.66' cy='63.16' r='12'/%3E %3Canimate attributeName='opacity' dur='1040ms' begin='0s' repeatCount='indefinite' keyTimes='0;0.5;1' values='1;0;1'/%3E %3C/g%3E %3C/svg%3E\"","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@media all and (max-width: 450px){.cases-style__tabs___3V2Qn.cases-style__shrinkable___1dNyp [data-react-toolbox=\\\"tab\\\"]>a{font-size:1.25rem;padding:1rem 0.25rem 1rem 0.5rem}.cases-style__tabs___3V2Qn.cases-style__shrinkable___1dNyp [data-react-toolbox=\\\"tab\\\"]>a [data-react-toolbox=\\\"font-icon\\\"]{font-size:3rem;margin-right:0;margin-left:1rem}}@media all and (min-width: 450px) and (max-width: 60rem){.cases-style__tabs___3V2Qn.cases-style__shrinkable___1dNyp [data-react-toolbox=\\\"tab\\\"]>a{font-size:1.5rem;padding:1.3rem 0.75rem}}@media all and (max-width: 450px){.cases-style__tabs___3V2Qn.cases-style__shrinkable___1dNyp [data-react-toolbox=\\\"tab\\\"] .cases-style__tab-label___Sb1LR{display:none}}@media all and (max-width: 450px){.cases-style__tabs___3V2Qn.cases-style__shrinkable___1dNyp [data-react-toolbox=\\\"tab\\\"] [data-react-toolbox=\\\"font-icon\\\"]{margin-right:0.25rem}}@media all and (max-width: 450px){.cases-style__tabs___3V2Qn.cases-style__shrinkable___1dNyp [data-react-toolbox=\\\"tab\\\"] [data-react-toolbox=\\\"chip\\\"]{top:-0.25rem;margin-left:0.25rem}}.cases-style__tabs___3V2Qn [data-react-toolbox=\\\"tab\\\"]{font-weight:bold;white-space:nowrap;padding:0}.cases-style__tabs___3V2Qn [data-react-toolbox=\\\"tab\\\"]>a{display:flex;align-items:center;color:rgba(0,0,0,0.7);padding:1.3rem 0.75rem}.cases-style__tabs___3V2Qn [data-react-toolbox=\\\"tab\\\"] [data-react-toolbox=\\\"font-icon\\\"]{margin-right:0.5rem;color:#ccc}.cases-style__case-total-chip___21ouW{font-size:0.9em !important;padding:0.35rem !important;line-height:1rem !important;position:relative !important;top:-0.5rem !important;margin-left:0.5rem !important;margin-right:0 !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"tabs\": \"cases-style__tabs___3V2Qn\",\n\t\"shrinkable\": \"cases-style__shrinkable___1dNyp\",\n\t\"tab-label\": \"cases-style__tab-label___Sb1LR\",\n\t\"case-total-chip\": \"cases-style__case-total-chip___21ouW\"\n};","import PropTypes from \"prop-types\";\nimport React from \"react\";\n\nexport default class HtmlElement extends React.Component {\n static propTypes = {\n html: PropTypes.string,\n replaceLineBreaks: PropTypes.bool,\n elementName: PropTypes.string,\n className: PropTypes.string,\n };\n\n constructor(props) {\n super(props);\n }\n\n render() {\n const { html, replaceLineBreaks, elementName, className, ...props } = this.props;\n let result = urlize(emailize(html));\n result = replaceLineBreaks ? (result || \"\").replace(/\\n/g, \"
    \") : result;\n return React.createElement(elementName || \"div\", {\n ...props,\n className,\n dangerouslySetInnerHTML: {\n __html: result.trim(),\n },\n });\n }\n}\n\nexport function urlize(s) {\n return (s || \"\")\n .replace(\n /([^\">])(https?:\\/\\/[^\\s\"]+)/gi,\n '$1$2'\n )\n .replace(/^(https?:\\/\\/[^\\s\"]+)/gi, '$1');\n}\n\nexport function emailize(s) {\n const regex1 = /[\">]?([^\\s\"]+@[^\\s\"<]+)/gi;\n return (s || \"\").replace(regex1, (match, email) => {\n if (email.startsWith('\"') || email.startsWith(\"mailto:\") || email.startsWith(\">\")) {\n return match;\n }\n\n return `${email}`;\n });\n}\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\n\nimport { GerudoTextInput } from \"~/src/js/components/shared/inputs\";\nimport { supportedPhoneNumberCountryCodes } from \"~/src/js/helpers/strings\";\n\nimport { predefinedMasks } from \"./textInput\";\n\n// TODO: Add icon props to GerudoTextInput (passes with suffix but it does not support string as prop)\nexport class TelephoneInput extends React.Component {\n static propTypes = {\n countryCode: PropTypes.string,\n };\n\n render() {\n const { countryCode, ...otherProps } = this.props;\n if (!countryCode || supportedPhoneNumberCountryCodes.indexOf(countryCode) >= 0) {\n otherProps.mask = predefinedMasks.northAmericanTelephone;\n }\n\n return ;\n }\n}\n\nexport default TelephoneInput;\n","\nvar content = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./InviteToQuestionnaire.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./InviteToQuestionnaire.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../../node_modules/toolbox-loader/index.js!./InviteToQuestionnaire.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\n\nexport const HealthInsurancePropTypes = PropTypes.shape({\n expiration: PropTypes.string,\n hl7RelationshipCode: PropTypes.string,\n number: PropTypes.string,\n provinceCode: PropTypes.string,\n});\n","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./appBarIcons.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./appBarIcons.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./appBarIcons.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { Bar } from \"react-chartjs-2\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { Card, CardTitle, CardText } from \"react-toolbox/lib/card\";\n\nimport cardListStyle from \"../../../styles/cardList\";\n\nimport i18n from \"../../../messages/base.i18n\";\n\nexport class StatisticsBarChart extends React.Component {\n static propTypes = {\n intl: intlShape,\n sets: PropTypes.array.isRequired,\n dates: PropTypes.array.isRequired,\n options: PropTypes.object,\n caseIds: PropTypes.array,\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n className: PropTypes.string,\n };\n\n static defaultProps = {\n className: cardListStyle[\"title-container\"],\n options: { tooltips: {}, scales: {} },\n };\n\n constructor() {\n super();\n }\n\n state = {\n timeRange: null,\n };\n\n UNSAFE_componentWillMount() {\n this.setState({\n timeRange:\n this.props.dates.length === 1\n ? this.props.dates[0]\n : this.props.dates[0] + \" -> \" + this.props.dates[this.props.dates.length - 1],\n });\n }\n\n render() {\n const getColon = () => {\n return this.props.intl.formatMessage(i18n.global.colon) + \" \";\n };\n\n const dateLabel = this.props.intl.formatMessage(i18n.global.date);\n\n const data = {\n labels: this.props.dates,\n datasets: this.props.sets.map((d) => ({\n backgroundColor: d.color,\n borderColor: d.color,\n label: d.label,\n data: d.data,\n })),\n caseIds: this.props.caseIds,\n };\n\n const options = {\n legend: {\n display: false,\n },\n tooltips: {\n mode: \"label\",\n callbacks: {\n label: function (tooltipItems, data) {\n return (\n data.datasets[tooltipItems.datasetIndex].label + getColon() + tooltipItems.yLabel\n );\n },\n title: function (tooltipItems, data) {\n return dateLabel + getColon() + data.labels[tooltipItems[0].index];\n },\n beforeTitle: function (tooltipItems, data) {\n if (data.caseIds) {\n return data.caseIds[tooltipItems[0].index];\n }\n return null;\n },\n ...this.props.options.tooltips.callbacks,\n },\n },\n scales: {\n ...this.props.options.scales,\n },\n };\n\n return (\n
    \n \n \n \n \n \n \n
    \n );\n }\n}\n\nexport default injectIntl(StatisticsBarChart);\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { Line } from \"react-chartjs-2\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { Card, CardTitle, CardText } from \"react-toolbox/lib/card\";\n\nimport cardListStyle from \"../../../styles/cardList\";\n\nimport i18n from \"../../../messages/base.i18n\";\n\nexport class StatisticsLineChart extends React.Component {\n static propTypes = {\n intl: intlShape,\n sets: PropTypes.array.isRequired,\n dates: PropTypes.array.isRequired,\n options: PropTypes.object,\n caseIds: PropTypes.array,\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string,\n className: PropTypes.string,\n };\n\n static defaultProps = {\n className: cardListStyle[\"title-container\"],\n options: { tooltips: {}, scales: {} },\n };\n\n constructor() {\n super();\n }\n\n state = {\n timeRange: null,\n };\n\n UNSAFE_componentWillMount() {\n this.setState({\n timeRange:\n this.props.dates.length === 1\n ? this.props.dates[0]\n : this.props.dates[0] + \" -> \" + this.props.dates[this.props.dates.length - 1],\n });\n }\n\n setDates(dates) {\n if (dates.length === 1) {\n return [\"\"].concat(dates).concat([\"\"]);\n }\n return dates;\n }\n\n setData(data) {\n if (data.length === 1) {\n return [null].concat(data).concat([null]);\n }\n return data;\n }\n\n render() {\n const getColon = () => {\n return this.props.intl.formatMessage(i18n.global.colon) + \" \";\n };\n\n const dateLabel = this.props.intl.formatMessage(i18n.global.date);\n\n const data = {\n labels: this.setDates(this.props.dates),\n datasets: this.props.sets.map((d) => ({\n label: d.label,\n fill: false,\n lineTension: 0,\n backgroundColor: d.color,\n borderColor: d.color,\n borderCapStyle: \"butt\",\n borderDash: [],\n borderDashOffset: 0.0,\n borderJoinStyle: \"miter\",\n pointBorderColor: d.color,\n pointBackgroundColor: d.color,\n pointBorderWidth: 1,\n pointHoverRadius: 5,\n pointHoverBackgroundColor: d.color,\n pointHoverBorderColor: \"rgba(220,220,220,1)\",\n pointHoverBorderWidth: 2,\n pointRadius: 1,\n pointHitRadius: 10,\n data: this.setData(d.data),\n })),\n caseIds: this.setDates(this.props.caseIds),\n };\n\n const options = {\n tooltips: {\n mode: \"label\",\n callbacks: {\n label: function (tooltipItems, data) {\n return (\n data.datasets[tooltipItems.datasetIndex].label + getColon() + tooltipItems.yLabel\n );\n },\n title: function (tooltipItems, data) {\n return dateLabel + getColon() + data.labels[tooltipItems[0].index];\n },\n beforeTitle: function (tooltipItems, data) {\n if (data.caseIds) {\n return data.caseIds[tooltipItems[0].index];\n }\n return null;\n },\n ...this.props.options.tooltips.callbacks,\n },\n },\n scales: {\n yAxes: [\n {\n ticks: {\n reverse: true,\n beginAtZero: true,\n stepSize: 2,\n },\n },\n ],\n ...this.props.options.scales,\n },\n };\n\n return (\n
    \n \n \n \n \n \n \n
    \n );\n }\n}\n\nexport default injectIntl(StatisticsLineChart);\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n pageTitle: {\n id: \"statistics.pageTitle\",\n description: \"Statistics Page Title\",\n defaultMessage: `Statistics for {fullName}`,\n },\n scoreEvolutionTitle: {\n id: \"statistics.scoreEvolutionTitle\",\n description: \"Statistics Score Evolution Table Title\",\n defaultMessage: `Frailty Comprehensive Geriatric Assessment Scores Evolution`,\n },\n frailtyEvolutionTitle: {\n id: \"statistics.frailtyEvolutionTitle\",\n description: \"Frailty Score Evolution Table Title\",\n defaultMessage: `Frailty Comprehensive Geriatric Assessment Frailty Level Evolution`,\n },\n});\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport { parseToIsoDate } from \"../../../helpers/dates\";\nimport { Levels } from \"../../forms/GER_FCGA/GER_FCGA_formScorer\";\nimport StatisticsBarChart from \"../../shared/statisticsBarChart\";\nimport StatisticsLineChart from \"../../shared/statisticsLineChart\";\n\nimport formsI18n from \"../../forms/GER_FCGA/GER_FCGA_form.i18n\";\nimport i18n from \"../../../../messages/base.i18n\";\nimport { messages } from \"./PatientStatistics.i18n\";\n\nexport const PatientStatistics = ({ intl: { formatMessage }, patient, showTitle }) => {\n const mapFrailtyLevels = (frailtyLevel) => {\n switch (frailtyLevel) {\n case Levels.Severe:\n return 1;\n case Levels.Moderate:\n return 2;\n case Levels.Mild:\n return 3;\n default:\n return 4;\n }\n };\n\n const mapFrailtyColors = (frailtyLevel) => {\n switch (frailtyLevel) {\n case Levels.Severe:\n return \"#d32f2f\";\n case Levels.Moderate:\n return \"#ff8f00\";\n case Levels.Mild:\n return \"#ffeb3b\";\n default:\n return \"#64dd17\";\n }\n };\n\n if (!patient.statistics.fcga) {\n return null;\n }\n\n const getLevel = (value) => {\n switch (value) {\n case 1:\n return formatMessage(formsI18n.level_SEVERE);\n case 2:\n return formatMessage(formsI18n.level_MODERATE);\n case 3:\n return formatMessage(formsI18n.level_MILD);\n case 4:\n return formatMessage(formsI18n.level_NONE);\n default:\n return;\n }\n };\n const dates = patient.statistics.fcga.caseResult.map((c) => parseToIsoDate(c.completedOn, true));\n const caseIds = patient.statistics.fcga.caseResult.map(\n (c) => formatMessage(i18n.global.caseId) + formatMessage(i18n.global.colon) + \" \" + c.caseId\n );\n const er2 = patient.statistics.fcga.caseResult.map((c) => c.er2);\n const hasSpecialistValues = er2.some((e) => {\n return e !== null;\n });\n\n return (\n
    \n {patient.statistics.fcga.caseResult.length !== 0 && (\n
    \n {showTitle &&

    {formatMessage(i18n.global.statistics)}

    }\n {hasSpecialistValues && (\n
    \n \n c.p7),\n },\n ]}\n caseIds={caseIds}\n />\n c.frailtyScore),\n },\n ]}\n caseIds={caseIds}\n />\n
    \n )}\n\n \n mapFrailtyColors(c.frailtyLevel)\n ),\n data: patient.statistics.fcga.caseResult.map((c) =>\n mapFrailtyLevels(c.frailtyLevel)\n ),\n },\n ]}\n caseIds={caseIds}\n options={{\n tooltips: {\n callbacks: {\n label: function (\n tooltipItems,\n data // eslint-disable-line no-unused-vars\n ) {\n return getLevel(tooltipItems.yLabel);\n },\n },\n },\n scales: {\n yAxes: [\n {\n ticks: {\n max: 4,\n min: 0,\n callback: function (value) {\n return getLevel(value);\n },\n },\n },\n ],\n },\n }}\n />\n
    \n )}\n
    \n );\n};\n\nPatientStatistics.propTypes = {\n intl: intlShape,\n patient: PropTypes.object.isRequired,\n showTitle: PropTypes.bool,\n};\n\nexport default Relay.createContainer(injectIntl(PatientStatistics), {\n fragments: {\n patient: () => Relay.QL`\n fragment on Patient {\n statistics {\n fcga {\n caseResult {\n caseId\n completedOn\n frailtyLevel\n frailtyScore\n er2\n p7\n }\n }\n }\n }\n `,\n },\n});\n","import PatientStatistics from \"./PatientStatistics\";\n\nexport { PatientStatistics } from \"./PatientStatistics\";\nexport { messages } from \"./PatientStatistics.i18n\";\n\nexport default PatientStatistics;\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".DisplayOnlyOnPrint-style__display-only-on-print___25U8_{display:none}@media print{.DisplayOnlyOnPrint-style__display-only-on-print___25U8_{display:unset}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"display-only-on-print\": \"DisplayOnlyOnPrint-style__display-only-on-print___25U8_\"\n};","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".CaseSortDropdown-style__case-sort-dropdown___DpBku{display:flex;align-items:center;justify-content:flex-end}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"case-sort-dropdown\": \"CaseSortDropdown-style__case-sort-dropdown___DpBku\"\n};","import PropTypes from \"prop-types\";\n\nexport const VideoConferenceProvidersPropTypes = PropTypes.shape({\n providerName: PropTypes.string,\n label: PropTypes.string,\n installUrl: PropTypes.string,\n});\n\nexport const CurrentUserVideoConferenceProvidersPropTypes = PropTypes.shape({\n id: PropTypes.string,\n providerName: PropTypes.string,\n emailAccount: PropTypes.string,\n licenseType: PropTypes.string,\n});\n\nexport const VideoConferenceCurrentsUserPropTypes = PropTypes.shape({\n providers: PropTypes.arrayOf(CurrentUserVideoConferenceProvidersPropTypes),\n});\n\nexport const VideoConferencePropTypes = PropTypes.shape({\n providers: PropTypes.arrayOf(VideoConferenceProvidersPropTypes),\n currentUser: VideoConferenceCurrentsUserPropTypes,\n});\n","exports = module.exports = require(\"../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".ConclusionHeader-style__conclusion-header-container___G3S8X{display:grid;grid-template-columns:50% 50%;justify-items:stretch}.ConclusionHeader-style__conclusion-header-container___G3S8X .ConclusionHeader-style__conclusion-header-child___3AAIO{padding:0.5rem 0;display:flex;flex-direction:column}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"conclusion-header-container\": \"ConclusionHeader-style__conclusion-header-container___G3S8X\",\n\t\"conclusion-header-child\": \"ConclusionHeader-style__conclusion-header-child___3AAIO\"\n};","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".VideoConferencesCard-style__actions___1lBh9{padding-top:2rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"actions\": \"VideoConferencesCard-style__actions___1lBh9\"\n};","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".link__link___10Kxk.link__active___84YXb [data-react-toolbox=\\\"chip\\\"]{background-color:#009688;color:#fff}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"link\": \"link__link___10Kxk\",\n\t\"active\": \"link__active___84YXb\"\n};","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Calendar-style__calendar-event___1tEM0{border-color:#009688 !important;background-color:#009688 !important}.Calendar-style__list-event___13zVH{border-color:#009688 !important}.Calendar-style__today___3STSU{background-color:rgba(0,150,136,0.1) !important}.Calendar-style__past___3h556{background-color:#f5f5f5 !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"calendar-event\": \"Calendar-style__calendar-event___1tEM0\",\n\t\"list-event\": \"Calendar-style__list-event___13zVH\",\n\t\"today\": \"Calendar-style__today___3STSU\",\n\t\"past\": \"Calendar-style__past___3h556\"\n};","import PropTypes from \"prop-types\";\n\nexport const GenderPropTypes = PropTypes.string;\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKjAAACowBvcbP2AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNC8wOC8wOCH9Y64AAAAYdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3Jrc0+zH04AABJwSURBVHicxVt7sF1ldf+t9e29zz7nPvK6JCEPSQIJBDBBImDUEEAeClOQWkQUEEZnrNSqLfUPH6htwWrUVgt0Wq1OrY51mOnU0ooWqjw0KC0R0RItjjhgiIS8uI/z2vtba/WPb+99ziW5Sbg5ma6Z796zz7l7n+/3+9brW9+6ZGY4VnLNuWeM/NNDP5ksr6/evOEEMjtHVFepykpRHTaRZ010mzf/3Xsee2rPMZvMDEKDJuDaizZeRURXAngZgAaAJoBdZpqp2itV9UQTYVWBqoYhoiK6XVW/mmed2+/bvqM90EkdQgZGwLUXbzyLiD9LRJuIODycCOH5BjODFYDNDOo9RAQVEV4gqhDvHxeRd9/7xNM/HMjEDiMDIeC6S15zIRHfTcR15xhEDBCBABgAmBXAFSoC0wC2JEFEoBKIEC/w3ndV9eb7tj9951FP7jBy1AR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s/3IxHe7svn3gPy+/fv3/7kk994KJ1OpwYHBz969dWzI4AH+MeOHWPjUdBqTkwTgFW0mtgWwigWXLcRfvOeFyBMA9MCF1vrnT59uhmhat3KsTJ12hhEEGst0kgb1jQSEkLjPmBshLURYRjySUSvVVStGLTWSQEkdojqYGONaFBauYBSKJRSzS4q/DQBQNkvn+vPb96rXVC6k44u0I6L60A6lcuPFwqDDwwM6LVauU8MYHR07Cf5/MDTKODK80jmN2z7CiS2voX8+zCRXaQn07f3yuDV37ca2JYqpe4ZwGon1AP9/d9PuRlSV15m8tJpurq3o1QSEUOw+AYDpQzBE7+lL58/tPmBAT0zM2tbLlav1+lIJu+pZN0RBaW5ucFMtnf34ueP0r3vJbRyMGJwlEMXFj9egrDCQrU6Baj2zUQpgjAkmezYcOVcTYE9ePDxF8bHRi9GUVCPTE2CqGyNXZQgKtswrlpj6tHsbHHsxRd/cKQ4M2OaAQsICkEpIQyDDVvgjnNBcWaW69evHcxme5/VWuea9Vs3ehSrgeUoDM/v2r3rtY87bTWs0J4CGu19Pp9bcTb8L7zls5ET0c8NAAAAAElFTkSuQmCC\"","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".style__info-container___sGkVQ{border:1px solid #ffbb00;border-radius:4px;padding:10px;margin-bottom:5px}.style__info-container___sGkVQ ul{margin-left:2rem}@media (max-width: 641px){.style__container___jjzft{margin-left:1rem;margin-bottom:0.5rem}}.style__title___Z_WQp{display:flex;justify-content:space-between;align-items:center}@media (max-width: 641px){.style__title___Z_WQp{flex-direction:column;align-items:flex-start}.style__title___Z_WQp button{margin:10px 0}}.style__title___Z_WQp span{display:flex;align-items:center;font-size:16px}.style__title___Z_WQp p{display:flex;flex-direction:row}.style__title___Z_WQp p>span:first-of-type{width:40px}.style__content___1b0aI{display:flex;flex-direction:column}.style__content___1b0aI p{font-weight:700;font-size:14px}.style__content___1b0aI button{align-self:center}.style__warning___2POIe{color:#ffb900;font-size:35px !important}.style__subtitle___1_bnF{font-weight:700;font-size:16px;color:#555555;margin-bottom:15px}.style__patient-consent___6V1mp{font-size:1.3rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"info-container\": \"style__info-container___sGkVQ\",\n\t\"container\": \"style__container___jjzft\",\n\t\"title\": \"style__title___Z_WQp\",\n\t\"content\": \"style__content___1b0aI\",\n\t\"warning\": \"style__warning___2POIe\",\n\t\"subtitle\": \"style__subtitle___1_bnF\",\n\t\"patient-consent\": \"style__patient-consent___6V1mp\"\n};","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { Card } from \"@akinoxsolutions/gerudo-ui\";\n\nimport AddressFields, { build as buildAddressFields } from \"./addressFields\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport function build(parentData: any, address: any): any {\n return buildAddressFields(parentData, address);\n}\n\nexport class _AddressFieldset extends React.Component {\n static propTypes = {\n address: PropTypes.object.isRequired,\n viewer: PropTypes.object.isRequired,\n };\n\n render() {\n const t = this.props.intl.formatMessage;\n\n return (\n \n \n \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(_AddressFieldset), {\n fragments: {\n address: () => Relay.QL`\n fragment on PatientAddress {\n ${AddressFields.getFragment(\"address\")}\n }\n `,\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${AddressFields.getFragment(\"viewer\")}\n }\n `,\n },\n});\n","function getStorage() {\n const features = {\n canUseLocalStorage: \"localStorage\" in window,\n mustUseInMemoryStorage: navigator.userAgent.match(/wkhtmltopdf/gi),\n };\n\n if (features.canUseLocalStorage) {\n try {\n window.localStorage.setItem(\"localStorage\", 1);\n window.localStorage.removeItem(\"localStorage\");\n } catch (e) {\n features.canUseLocalStorage = false;\n }\n }\n\n const inMemoryStorage = {\n values: {},\n setItem: function (key, value) {\n return (localStorage.values[key] = value);\n },\n getItem: function (key) {\n return localStorage.values[key];\n },\n removeItem: function (key) {\n return delete localStorage.values[key];\n },\n clear: function () {\n return (localStorage.values = {});\n },\n };\n Object.defineProperty(inMemoryStorage, \"length\", {\n get: () => {\n return Object.keys(inMemoryStorage.values).length;\n },\n configurable: false,\n enumerable: false,\n });\n\n const cookieStorage = {\n getItem: function (sKey) {\n if (!sKey || !Object.prototype.hasOwnProperty.call(this, sKey)) {\n return null;\n }\n sKey = \"localStorage-\" + sKey;\n return unescape(\n document.cookie.replace(\n new RegExp(\n \"(?:^|.*;\\\\s*)\" +\n escape(sKey).replace(/[\\-\\.\\+\\*]/g, \"\\\\$&\") +\n \"\\\\s*\\\\=\\\\s*((?:[^;](?!;))*[^;]?).*\"\n ),\n \"$1\"\n )\n );\n },\n key: function (nKeyId) {\n return unescape(\n document.cookie.replace(/\\s*\\=(?:.(?!;))*$/, \"\").split(/\\s*\\=(?:[^;](?!;))*[^;]?;\\s*/)[\n nKeyId\n ]\n );\n },\n setItem: function (sKey, sValue) {\n if (!sKey) {\n return;\n }\n sKey = \"localStorage-\" + sKey;\n document.cookie =\n escape(sKey) + \"=\" + escape(sValue) + \"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/\";\n },\n removeItem: function (sKey) {\n if (!sKey || !Object.prototype.hasOwnProperty.call(this, sKey)) {\n return;\n }\n sKey = \"localStorage-\" + sKey;\n document.cookie = escape(sKey) + \"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/\";\n },\n hasOwnProperty: function (sKey) {\n sKey = \"localStorage-\" + sKey;\n return new RegExp(\n \"(?:^|;\\\\s*)\" + escape(sKey).replace(/[\\-\\.\\+\\*]/g, \"\\\\$&\") + \"\\\\s*\\\\=\"\n ).test(document.cookie);\n },\n };\n Object.defineProperty(cookieStorage, \"length\", {\n get: () => {\n return document.cookie.match(/localStorage-[^\\=]+\\=/g).length;\n },\n configurable: false,\n enumerable: false,\n });\n\n if (features.mustUseInMemoryStorage) {\n return inMemoryStorage;\n } else if (features.canUseLocalStorage) {\n return window.localStorage;\n } else {\n return cookieStorage;\n }\n}\n\nconst localStorage = getStorage();\n\nexport default localStorage;\n","export const SHOW_ONLY_PENDING_INVITATIONS = \"SHOW_ONLY_PENDING_INVITATIONS\";\nexport const SET_HEADER_QUERY = \"SET_HEADER_QUERY\";\nexport const SET_SUPPORT_AVAILABLE = \"SET_SUPPORT_AVAILABLE\";\nexport const SET_SORT_ORDER = \"SET_SORT_ORDER\";\nexport const SET_SORT_COLUMN = \"SET_SORT_COLUMN\";\nexport const SHOW_DIALOG_NOTICE = \"SHOW_DIALOG_NOTICE\";\nexport const HIDE_DIALOG_NOTICE = \"HIDE_DIALOG_NOTICE\";\nexport const SET_PAGE_TITLE = \"SET_PAGE_TITLE\";\nexport const TOGGLE_NAV_DRAWER_ACTIVE = \"TOGGLE_NAV_DRAWER_ACTIVE\";\nexport const TOGGLE_NOTIFICATION_DRAWER_ACTIVE = \"TOGGLE_NOTIFICATION_DRAWER_ACTIVE\";\nexport const HIDE_NAV_DRAWER = \"HIDE_NAV_DRAWER\";\nexport const HIDE_NOTIFICAITON_DRAWER = \"HIDE_NOTIFICAITON_DRAWER\";\nexport const SHOW_FULLPAGE = \"SHOW_FULLPAGE\";\nexport const HIDE_FULLPAGE = \"HIDE_FULLPAGE\";\nexport const ENABLE_TABLE_VIEW = \"ENABLE_TABLE_VIEW\";\nexport const DISABLE_TABLE_VIEW = \"DISABLE_TABLE_VIEW\";\nexport const SET_ACTIVITY_VIEW = \"SET_ACTIVITY_VIEW\";\nexport const SET_LANGUAGE = \"SET_LANGUAGE\";\nexport const DISMISS_CHANGING_LANGUAGE = \"DISMISS_CHANGING_LANGUAGE\";\nexport const SET_GLOBAL_ERRORS = \"SET_GLOBAL_ERRORS\";\nexport const ACCOUNT_FORM_CHANGED = \"ACCOUNT_FORM_CHANGED\";\nexport const ACCOUNT_FORM_IS_THE_SAME = \"ACCOUNT_FORM_IS_THE_SAME\";\n","import { getToken } from \"~/src/js/helpers/authentication\";\n\nimport { AppSettings } from \"../constants\";\nimport { setIsSupportAvailable } from \"../stores/app/actions\";\nimport { store } from \"../stores/store\";\n\nlet configPromise = null;\n\nexport function init(getLanguage) {\n configPromise = fetch(AppSettings.ApiRootUrl.replace(\"/graphql\", \"/features/support\"), {\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n Authorization: \"Bearer \" + getToken(),\n },\n })\n .then((r) => r.json())\n .then((m) => {\n window.supportConfiguration = m;\n if (!window.supportConfiguration) {\n return;\n }\n\n if (window.supportConfiguration.enabled) {\n const script = document.createElement(\"script\");\n script.setAttribute(\"src\", window.supportConfiguration.host + \"/js/widget.js\");\n script.async = false;\n document.body.appendChild(script);\n script.addEventListener(\"load\", () => {\n doInit(getLanguage, window.supportConfiguration);\n });\n }\n\n return window.supportConfiguration;\n })\n .catch((err) => {\n // eslint-disable-next-line no-console\n console.error(\"Couldn't load support configuration at /features/support.\", err);\n });\n}\n\nexport function isEnabled() {\n return configPromise.then((x) => x.enabled);\n}\n\nwindow.supportEnabled = isEnabled;\n\nfunction doInit(getLanguage, support) {\n if (!window.fcWidget) {\n return;\n }\n\n window.fcWidget.on(\"widget:loaded\", () => {\n store.dispatch(setIsSupportAvailable(true));\n });\n\n window.fcWidget.init({\n token: support.token,\n host: support.host,\n siteId: support.siteId,\n locale: getLanguage(),\n config: {\n hideFAQ: !support.enableFaqs,\n headerProperty: {\n hideChatButton: true,\n },\n },\n });\n}\n\nexport function showWidget() {\n if (!window.fcWidget) {\n return;\n }\n\n window.fcWidget.open();\n}\n\nexport function setLanguage(lang) {\n if (!window.fcWidget) {\n return;\n }\n\n window.fcWidget.user.setLocale(lang);\n window.fcWidget.lang = lang;\n}\n\nexport function logUserIn(externalId, email, firstName, lastName, fullName, phone, restoreId) {\n if (!window.fcWidget) {\n return;\n }\n\n window.fcWidget.user.setProperties({\n externalId: externalId,\n email: email,\n firstName: firstName,\n lastName: lastName,\n phone: phone,\n restoreId: restoreId,\n fullName: fullName,\n locale: window.fcWidget.lang,\n });\n\n // TODO: Restoring conversations from other devices:\n // https://developers.freshchat.com/web-sdk/#loggedin-user\n}\n","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./Conversation.styles.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./Conversation.styles.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./Conversation.styles.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./GenericRequestPage.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./GenericRequestPage.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./GenericRequestPage.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Relay from \"react-relay/classic\";\n\nimport { formatAddress } from \"../../helpers/strings\";\nimport HtmlElement from \"../shared/htmlElement\";\n\n// eslint-disable-next-line no-unused-vars\nfunction Address({ address, multiline, includeCountry, countryMultiline, relay, ...props }) {\n return (\n \n );\n}\n\nAddress.propTypes = {\n address: PropTypes.any.isRequired,\n multiline: PropTypes.bool,\n includeCountry: PropTypes.bool,\n countryMultiline: PropTypes.bool,\n};\n\nexport default Relay.createContainer(Address, {\n fragments: {\n address: () => Relay.QL`\n fragment on PatientAddress {\n address\n city\n postalCode\n provinceCode\n countryCode\n }\n `,\n },\n});\n","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".style__form-title___1zo-X{font-weight:bold}.style__form-container___3cQ-p{width:100%}.style__add-file-container___2HIPo{padding-bottom:2rem}.style__actions-container___K00l9{display:flex;flex-direction:row}.style__form-button___14eVZ{margin-left:1rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"form-title\": \"style__form-title___1zo-X\",\n\t\"form-container\": \"style__form-container___3cQ-p\",\n\t\"add-file-container\": \"style__add-file-container___2HIPo\",\n\t\"actions-container\": \"style__actions-container___K00l9\",\n\t\"form-button\": \"style__form-button___14eVZ\"\n};","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".PhysicianInputActions-styles__actions___1hFvs{display:flex;flex-direction:row;align-items:center}.PhysicianInputActions-styles__actions___1hFvs .PhysicianInputActions-styles__icons___2KV2M{display:flex;align-items:center;cursor:pointer;margin-right:1rem}.PhysicianInputActions-styles__actions___1hFvs .PhysicianInputActions-styles__icons___2KV2M:last-child{margin-right:0}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"actions\": \"PhysicianInputActions-styles__actions___1hFvs\",\n\t\"icons\": \"PhysicianInputActions-styles__icons___2KV2M\"\n};","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { FormattedRelative } from \"react-intl\";\nimport Tooltip from \"react-toolbox/lib/tooltip\";\n\nimport FormattedDateTime from \"./formattedDateTime\";\n\nimport style from \"./formattedRelative.style\";\n\nconst TooltippedTime = Tooltip(\"time\");\n\nexport default class FormattedRelativeWrapped extends React.Component {\n static propTypes = {\n ...FormattedRelative.propTypes,\n prefix: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n suffix: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n printAbsolute: PropTypes.bool,\n };\n\n render() {\n const { prefix, suffix, value, printAbsolute, ...props } = this.props;\n const absolute = ;\n return (\n \n \n {prefix}\n {prefix && \" \"}\n \n {suffix && \" \"}\n {suffix}\n \n {printAbsolute && (\n \n {prefix}\n {prefix && \" \"}\n {absolute}\n {suffix && \" \"}\n {suffix}\n \n )}\n \n );\n }\n}\n","import { defineMessages } from \"react-intl\";\n\nconst messages = defineMessages({\n title: {\n id: \"page.title\",\n description: \"Base title for all pages\",\n defaultMessage: \"McGill Telehealth\",\n },\n});\n\nexport function setTitle(formatMessage, ...parts) {\n return (\n formatMessage(messages.title) +\n (parts.length\n ? \" :: \" + parts.map((x) => (typeof x === \"string\" ? x : formatMessage(x))).join(\" - \")\n : \"\")\n );\n}\n","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./PatientConversationPage.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./PatientConversationPage.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./PatientConversationPage.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Conversation-styles__conversation-item___3VL7J{padding:1.5rem;margin:1.5rem 0;background-color:#f2f2f2;border-radius:0.5rem}@media print{.Conversation-styles__conversation-item___3VL7J{padding:1rem;margin:1.5rem 0 0;border:1px solid #f2f2f2;background-color:transparent}}.Conversation-styles__conversation-subject___3fggd{font-weight:bold}.Conversation-styles__conversation-content___1BmPU{padding-top:1rem}.Conversation-styles__conversation-files___zQv-O{padding-top:1rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"conversation-item\": \"Conversation-styles__conversation-item___3VL7J\",\n\t\"conversation-subject\": \"Conversation-styles__conversation-subject___3fggd\",\n\t\"conversation-content\": \"Conversation-styles__conversation-content___1BmPU\",\n\t\"conversation-files\": \"Conversation-styles__conversation-files___zQv-O\"\n};","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./Skeleton.styles.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./Skeleton.styles.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./Skeleton.styles.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".GenericRequestPrint-style__preliminary-report-watermark___H5Xif{position:fixed;z-index:10000;width:100%;height:100%;display:flex;justify-content:center;align-items:center;font-size:10rem;color:rgba(0,0,0,0.1);text-align:center;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"preliminary-report-watermark\": \"GenericRequestPrint-style__preliminary-report-watermark___H5Xif\"\n};","/* eslint-disable react/no-danger */\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\n\nimport searchStyle from \"../../../styles/search\";\n\nexport default class HighlightedText extends React.Component {\n static propTypes = {\n text: PropTypes.string.isRequired,\n className: PropTypes.string,\n };\n\n constructor() {\n super();\n }\n\n render() {\n const { text, className, ...props } = this.props;\n return (\n \n );\n }\n}\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".EventInfoModal-style__patient-info___XTalv{display:inline-block}.EventInfoModal-style__add-to-calendar___NCejH{display:inline-flex;width:auto !important}.EventInfoModal-style__status-chip___2jMGa{vertical-align:middle;margin-left:0.5rem;background-color:#fff}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"patient-info\": \"EventInfoModal-style__patient-info___XTalv\",\n\t\"add-to-calendar\": \"EventInfoModal-style__add-to-calendar___NCejH\",\n\t\"status-chip\": \"EventInfoModal-style__status-chip___2jMGa\"\n};","exports = module.exports = require(\"../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".AddPatientHospital-style__container___lxN50{width:100%;padding-top:3rem}.AddPatientHospital-style__container___lxN50 .AddPatientHospital-style__actions___3R7d4{display:flex;justify-content:flex-end;align-items:center}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"container\": \"AddPatientHospital-style__container___lxN50\",\n\t\"actions\": \"AddPatientHospital-style__actions___3R7d4\"\n};","\nvar content = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./app.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./app.scss\", function() {\n\t\tvar newContent = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./app.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./checkbox.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./checkbox.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./checkbox.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".errors__error-card___2FYt_{margin-bottom:2rem}.errors__list___iOErE{white-space:pre-wrap}.errors__listItem___2vheB>span,.errors__listItem___2vheB>span>span{width:100%}.errors__listItem___2vheB pre{white-space:pre-wrap}.errors__itemAction___3GWGP{max-width:95%}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"error-card\": \"errors__error-card___2FYt_\",\n\t\"list\": \"errors__list___iOErE\",\n\t\"listItem\": \"errors__listItem___2vheB\",\n\t\"itemAction\": \"errors__itemAction___3GWGP\"\n};","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./RESP_EVA.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./RESP_EVA.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./RESP_EVA.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".stepper__stepper-container___1dY_f{width:100%;min-height:0;padding:0;overflow:hidden;margin-bottom:2rem}@media print{.stepper__stepper-container___1dY_f{display:none !important}}.stepper__stepper___2rBnt{display:flex;margin:0 auto;margin-left:10px}.stepper__step___1u3uW{display:inline-block;position:relative;margin-right:1px}.stepper__square___1i-QL{width:70%;height:36px;background-color:#e0e0e0;text-align:center;padding:1;font-size:16px;color:#fff;display:inline-block;margin-left:0px}@media screen and (max-width: 1200px){.stepper__square___1i-QL{font-size:14px;width:60%}}@media screen and (max-width: 600px){.stepper__square___1i-QL{width:50%}}@media screen and (max-width: 450px){.stepper__square___1i-QL{width:40%}}.stepper__square-before___23u4D{content:\\\"\\\";border-top:18px solid #e0e0e0;border-bottom:18px solid #e0e0e0;border-left:10px solid transparent;position:absolute;height:0;margin-left:-10px}@media screen and (max-width: 720px){.stepper__square-before___23u4D{border-left:7px solid transparent;margin-left:-7px}}.stepper__square-after___2qf2i{content:\\\"\\\";border-top:18px solid transparent;border-bottom:18px solid transparent;border-right:10px solid transparent;border-left:10px solid #e0e0e0;height:0;position:absolute;margin-top:-35px;margin-left:70%}@media screen and (max-width: 1200px){.stepper__square-after___2qf2i{margin-left:60%}}@media screen and (max-width: 720px){.stepper__square-after___2qf2i{margin-top:-40px;border-right-width:7px;border-left-width:7px}}@media screen and (max-width: 600px){.stepper__square-after___2qf2i{margin-left:50%}}@media screen and (max-width: 450px){.stepper__square-after___2qf2i{margin-left:40%}}.stepper__active-square___Oibue{background-color:#009688}.stepper__active-before___3kCJB{border-top-color:#009688;border-bottom-color:#009688}.stepper__active-after___3Af8X{border-left:10px solid #009688}.stepper__completed-square___uHVcr{background-color:#455a64}.stepper__completed-before___1QSLN{border-top-color:#455a64;border-bottom-color:#455a64}.stepper__completed-after___BPPrs{border-left:10px solid #455a64}.stepper__available-square___1Emc-{background-color:#7193a3}.stepper__available-before___UvXb3{border-top-color:#7193a3;border-bottom-color:#7193a3}.stepper__available-after___BZkyk{border-left:10px solid #7193a3}.stepper__step-index___1pzTV{line-height:36px;color:#fff;padding-left:3px}@media screen and (max-width: 1200px){.stepper__step-index___1pzTV{padding-left:2px}}@media screen and (max-width: 720px){.stepper__step-index___1pzTV{display:none}}.stepper__step-icon___3TXVi{padding-top:6px;color:#fff;font-size:24px;width:24px;padding-left:2px}@media screen and (max-width: 1200px){.stepper__step-icon___3TXVi{padding-top:9px;padding-left:1px;font-size:19px;width:19px}}@media screen and (max-width: 720px){.stepper__step-icon___3TXVi{display:none}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"stepper-container\": \"stepper__stepper-container___1dY_f\",\n\t\"stepper\": \"stepper__stepper___2rBnt\",\n\t\"step\": \"stepper__step___1u3uW\",\n\t\"square\": \"stepper__square___1i-QL\",\n\t\"square-before\": \"stepper__square-before___23u4D\",\n\t\"square-after\": \"stepper__square-after___2qf2i\",\n\t\"active-square\": \"stepper__active-square___Oibue\",\n\t\"active-before\": \"stepper__active-before___3kCJB\",\n\t\"active-after\": \"stepper__active-after___3Af8X\",\n\t\"completed-square\": \"stepper__completed-square___uHVcr\",\n\t\"completed-before\": \"stepper__completed-before___1QSLN\",\n\t\"completed-after\": \"stepper__completed-after___BPPrs\",\n\t\"available-square\": \"stepper__available-square___1Emc-\",\n\t\"available-before\": \"stepper__available-before___UvXb3\",\n\t\"available-after\": \"stepper__available-after___BZkyk\",\n\t\"step-index\": \"stepper__step-index___1pzTV\",\n\t\"step-icon\": \"stepper__step-icon___3TXVi\"\n};","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".checkboxListInput-style__checkboxes___36RQG ul{list-style:none;padding:0.8rem 0.5rem !important}.checkboxListInput-style__checkboxes___36RQG.checkboxListInput-style__inline___wGjwv ul li{display:inline-block}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"checkboxes\": \"checkboxListInput-style__checkboxes___36RQG\",\n\t\"inline\": \"checkboxListInput-style__inline___wGjwv\"\n};","import classnames from \"classnames\";\nimport { withFormsy } from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Checkbox from \"react-toolbox/lib/checkbox\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport inputTheme from \"react-toolbox/lib/input/theme\";\n\nimport checkboxStyle from \"../../../../styles/theme/main/checkbox\";\nimport inputStyle from \"../../../../styles/theme/main/input\";\n\nimport { shouldShowError } from \"./inputHelpers\";\nimport { getRequiredSpan } from \"./radioButtonListInput\";\n\nexport class _CheckboxInput extends React.Component {\n static propTypes = {\n name: PropTypes.string.isRequired,\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n checked: PropTypes.bool,\n disabled: PropTypes.bool,\n required: PropTypes.bool,\n theme: PropTypes.any,\n autoFocus: PropTypes.bool,\n onChange: PropTypes.func,\n className: PropTypes.string,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n style: PropTypes.any,\n errorMessage: PropTypes.string,\n value: PropTypes.any,\n };\n\n constructor(props) {\n super(props);\n this.state = { value: this.props.value };\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillReceiveProps(newProps) {\n this.setState({ value: newProps.value });\n }\n\n handleChange(e: boolean) {\n this.setState({ value: e });\n if (e) {\n this.props.setValue(e);\n } else {\n if (this.props.required) {\n // Have to use resetValue and not just setValue to false, otherwise\n // The required prop is not respected.\n this.props.resetValue();\n } else {\n this.props.setValue(false);\n }\n }\n\n if (this.props.onChange) {\n this.props.onChange(e);\n }\n }\n\n render() {\n const errorMessage = this.props.errorMessage;\n const { label, autoFocus, theme, disabled, className, style, icon } = this.props;\n const showError = shouldShowError(this) && Boolean(errorMessage);\n const currentValue = this.props.value;\n const classNames = classnames(className, checkboxStyle[\"checkbox\"], {\n [checkboxStyle[\"errored\"]]: showError,\n [checkboxStyle[\"with-icon\"]]: Boolean(icon),\n [inputStyle[\"required-field\"]]: this.props.isRequired && !currentValue,\n });\n const props = {\n type: \"text\",\n label: label,\n onChange: (e) => this.handleChange(e),\n value: this.state.value || \"\",\n required: this.props.isRequired,\n autoFocus: autoFocus,\n name: this.props.name,\n disabled: disabled,\n checked: this.state.value,\n theme,\n };\n return (\n
    \n {this.renderIcon()}\n \n {showError ? (\n
    \n {errorMessage}\n
    \n ) : null}\n
    \n
    \n );\n }\n\n renderIcon() {\n if (!this.props.icon) {\n return null;\n }\n\n if (!this.props.required || this.props.label) {\n return ;\n }\n\n return {getRequiredSpan()};\n }\n}\n\nexport default withFormsy(_CheckboxInput);\n","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./importUsers.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./importUsers.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./importUsers.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./ThoracicSurgeryForm.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./ThoracicSurgeryForm.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./ThoracicSurgeryForm.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".creationInformationHeader-style__creation-information-header___1Dhcf{display:flex;line-height:1.7rem;margin-bottom:1rem}.creationInformationHeader-style__creation-information-header___1Dhcf>*{padding-right:0.75rem}.creationInformationHeader-style__author___16aRd{font-weight:bold}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"creation-information-header\": \"creationInformationHeader-style__creation-information-header___1Dhcf\",\n\t\"author\": \"creationInformationHeader-style__author___16aRd\"\n};","exports = module.exports = require(\"../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".style__small___1DjKZ{width:100%}@media (min-width: 800px){.style__small___1DjKZ{width:25%}}.style__medium___2xIr_{width:40%}.style__large___3aGqP{width:50%}.style__larger___24vWB{width:60%}.style__row___zV2Kn{display:flex;justify-content:space-between;flex-direction:row}.style__row-baseline___311ZR{align-items:baseline}.style__row-centered___3pqD5{align-items:center}.style__row-wrap___33htQ{flex-wrap:wrap}.style__row___zV2Kn div{margin-right:0.5em}@media (max-width: 600px){.style__row___zV2Kn{flex-direction:column}.style__row___zV2Kn div{margin-right:0}}.style__required___15GMi::after{color:red;content:\\\"*\\\";display:inline-block;position:relative;right:-0.2em}.style__special-section___1xJmP{border-radius:3px;border:1px solid #d7d7d7;background-color:#f6f6f6;margin:2rem 0;padding:2rem}.style__special-section-input___11Sf9{display:flex;flex-wrap:wrap;justify-content:space-between}.style__special-section___1xJmP [data-react-toolbox=\\\"radio-group\\\"],.style__special-section___1xJmP input[type=\\\"text\\\"],.style__special-section___1xJmP select{background-color:transparent}.style__procedure-row___20Dcj{align-items:center;display:flex;justify-content:space-between;margin-right:8px}.style__procedure-row___20Dcj div{margin-right:8px;padding:0}.style__admission___1EDfw{display:flex;margin-right:3rem;width:50%}.style__admission-days___b1tYB{align-items:baseline;display:flex;margin-left:1rem;width:200px}.style__days-estimated___HG7ls{align-items:center;display:flex;max-width:250px;height:-webkit-max-content;height:-moz-max-content;height:max-content}.style__days-estimated___HG7ls div{margin-right:8px}.style__additional-info___OAwQp{flex-wrap:wrap}.style__additional-info___OAwQp div{margin:0 8px}.style__additional-info___OAwQp span{margin:0;padding:0}.style__units-input___2QS93{width:8rem}.style__units-input___2QS93>div{display:flex}.style__units-input___2QS93>div input{width:6rem !important}.style__length-surgery___1S-TR{margin:2rem 0}.style__length-surgery___1S-TR>div>div[data-react-toolbox=\\\"radio-group\\\"]{display:flex;flex-direction:column}@media (min-width: 800px){.style__length-surgery___1S-TR>div>div[data-react-toolbox=\\\"radio-group\\\"]{flex-direction:row}}.style__length-surgery___1S-TR>div>div[data-react-toolbox=\\\"radio-group\\\"] [data-react-toolbox=\\\"input\\\"]{padding:0}@media (max-width: 800px){.style__length-surgery___1S-TR>div>div[data-react-toolbox=\\\"radio-group\\\"]>label{height:65px}}.style__flex-two-column___2XxlB{display:flex;flex-direction:row;margin:1em 0}.style__flex-two-column___2XxlB>div{width:100%}.style__flex-two-column___2XxlB>div:first-child{margin-right:1em}.style__flex-two-column___2XxlB>div:last-child{margin-left:1em}@media (max-width: 600px){.style__flex-two-column___2XxlB{flex-direction:column}.style__flex-two-column___2XxlB>div{width:100%}.style__flex-two-column___2XxlB>div:first-child{margin-right:0}.style__flex-two-column___2XxlB>div:last-child{margin-left:0}}.style__inline-inner___21KCR{align-items:center;display:flex;justify-content:space-between}.style__inline-inner___21KCR input[type=\\\"number\\\"]{padding-right:0.2em}.style__inline-inner-msg___3tXyj{width:10em}.style__toggle-signatory-type-container___21amx{display:flex;flex-direction:row;justify-content:flex-end}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"small\": \"style__small___1DjKZ\",\n\t\"medium\": \"style__medium___2xIr_\",\n\t\"large\": \"style__large___3aGqP\",\n\t\"larger\": \"style__larger___24vWB\",\n\t\"row\": \"style__row___zV2Kn\",\n\t\"row-baseline\": \"style__row-baseline___311ZR\",\n\t\"row-centered\": \"style__row-centered___3pqD5\",\n\t\"row-wrap\": \"style__row-wrap___33htQ\",\n\t\"required\": \"style__required___15GMi\",\n\t\"special-section\": \"style__special-section___1xJmP\",\n\t\"special-section-input\": \"style__special-section-input___11Sf9\",\n\t\"procedure-row\": \"style__procedure-row___20Dcj\",\n\t\"admission\": \"style__admission___1EDfw\",\n\t\"admission-days\": \"style__admission-days___b1tYB\",\n\t\"days-estimated\": \"style__days-estimated___HG7ls\",\n\t\"additional-info\": \"style__additional-info___OAwQp\",\n\t\"units-input\": \"style__units-input___2QS93\",\n\t\"length-surgery\": \"style__length-surgery___1S-TR\",\n\t\"flex-two-column\": \"style__flex-two-column___2XxlB\",\n\t\"inline-inner\": \"style__inline-inner___21KCR\",\n\t\"inline-inner-msg\": \"style__inline-inner-msg___3tXyj\",\n\t\"toggle-signatory-type-container\": \"style__toggle-signatory-type-container___21amx\"\n};","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./Notes.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./Notes.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./Notes.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import Relay from \"react-relay/classic\";\nexport default class ResendUserInvitationMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(ResendUserInvitationMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { resendUserInvitation }`;\n }\n\n getVariables() {\n return {\n userName: this.props.userName,\n email: this.props.email,\n invitationText: this.props.invitationText,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ResendUserInvitationPayload {\n user {\n id\n userName\n email\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on ResendUserInvitationPayload {\n user {\n id\n userName\n email\n }\n }\n `,\n ],\n },\n ];\n }\n}\n","/* eslint-disable camelcase */\nimport { defineMessages } from \"react-intl\";\n\nexport default defineMessages({\n name: {\n id: \"forms.GER_FCGA.name\",\n description: \"Comprehensive Geriatric Assessment Form Name\",\n defaultMessage: \"Comprehensive Geriatric Assessment\",\n },\n downloadName: {\n id: \"forms.GER_FCGA.downloadName\",\n description: \"Comprehensive Geriatric Assessment download name\",\n defaultMessage: \"AutoQuestionnaireSante_CEEXLO\",\n },\n description: {\n id: \"forms.GER_FCGA.description\",\n description: \"Comprehensive Geriatric Assessment Form Name\",\n defaultMessage: \"FI-CGA description\",\n },\n introduction: {\n id: \"forms.GER_FCGA.introduction\",\n description: \"FCGA introductory text along with logo.\",\n defaultMessage: `This result is an estimation of your general health based on your answers.\n\nIt is only informative and does not engage RUIS McGill's responsibility. It is not a medical assessment and advice. Whatever the answer, it's important to validate this result with your General Practitioner.`,\n },\n patientSummaryOpener: {\n id: \"forms.GER_FCGA.patientSummaryOpener\",\n description:\n \"FCGA short introduction to Patient's Summary of his frailty level. Shown before the more precise recommendation\",\n defaultMessage: \"Thank you for filling out this short survey.\",\n },\n patientSummaryAltenativeText: {\n id: \"forms.GER_FCGA.patientSummaryAltenativeText\",\n description: \"FCGA alternative text on questionnaire completion\",\n defaultMessage: `This questionnaire is now finished, thank you for your participation.\n As indicated, your results will be communicated to you later. Indeed, we must respect this process so as not to influence your future answers.\n When you complete this questionnaire for the last time, you will receive a comprehensive report assessing your overall health and recommendations related to this assessment.\n The entire team of the Centre of Excellence on Longevity would like to thank you for your involvement in improving the quality of life of seniors in Quebec.`,\n },\n // summary\n scoreFragility: {\n id: \"forms.GER_FCGA.scoreFragility\",\n description: \"Fragility score\",\n defaultMessage: \"Fragility Score\",\n },\n\n level_MODERATE: {\n id: \"forms.GER_FCGA.level_MODERATE\",\n description: \"Frailty level label: MODERATE\",\n defaultMessage: \"Moderate Frailty\",\n },\n\n recommendation_MODERATE: {\n id: \"forms.GER_FCGA.recommendation_MODERATE\",\n description: \"FCGA patient recommendation for MODERATE\",\n defaultMessage: `According to your answers, your estimated level of frailty is considered: Moderate.\nWe recommend you maintain healthy lifestyle habits and to regularly consult your family doctor. Our other recommendations are : `,\n },\n\n level_UNKNOWN: {\n id: \"forms.GER_FCGA.level_UNKNOWN\",\n description: \"Frailty level label: UNKNOWN\",\n defaultMessage: \"Insufficient information\",\n },\n\n recommendation_UNKNOWN: {\n id: \"forms.GER_FCGA.recommendation_UNKNOWN\",\n description: \"FCGA patient recommendation for UNKNOWN\",\n defaultMessage: \"No recommendation\",\n },\n\n level_NONE: {\n id: \"forms.GER_FCGA.level_NONE\",\n description: \"Frailty level label: NONE\",\n defaultMessage: \"Light Frailty\",\n },\n\n recommendation_NONE: {\n id: \"forms.GER_FCGA.recommendation_NONE\",\n description: \"FCGA patient recommendation for NONE\",\n defaultMessage: `According to your answers, your health is good. We recommend you maintain healthy lifestyle habits and to regularly consult your family doctor.\nOur other recommendations are : `,\n },\n\n level_MILD: {\n id: \"forms.GER_FCGA.level_MILD\",\n description: \"Frailty level label: MILD\",\n defaultMessage: \"Mild Frailty\",\n },\n\n recommendation_MILD: {\n id: \"forms.GER_FCGA.recommendation_MILD\",\n description: \"FCGA patient recommendation for MILD\",\n defaultMessage: `According to your answers, your estimated level of frailty is considered: Mild.\nWe recommend you maintain healthy lifestyle habits and to regularly consult your family doctor. Our other recommendations are :`,\n },\n\n level_SEVERE: {\n id: \"forms.GER_FCGA.level_SEVERE\",\n description: \"Frailty level label: SEVERE\",\n defaultMessage: \"Severe Frailty\",\n },\n\n recommendation_SEVERE: {\n id: \"forms.GER_FCGA.recommendation_SEVERE\",\n description: \"FCGA patient recommendation for SEVERE\",\n defaultMessage: `According to your answers, your estimated level of frailty is considered: Severe.\nWe recommend you consult your family doctor. Our other recommendations are : `,\n },\n\n scoreDomainNutrition: {\n id: \"forms.GER_FCGA.scoreDomainNutrition\",\n description: \"Score Domain\",\n defaultMessage: \"Nutrition\",\n },\n\n scoreDomainMultimorbidity: {\n id: \"forms.GER_FCGA.scoreDomainMultimorbidity\",\n description: \"Score Domain\",\n defaultMessage: \"Multimorbidity\",\n },\n\n scoreDomainCommunication: {\n id: \"forms.GER_FCGA.scoreDomainCommunication\",\n description: \"Score Domain\",\n defaultMessage: \"Communication\",\n },\n\n scoreDomainCognition: {\n id: \"forms.GER_FCGA.scoreDomainCognition\",\n description: \"Score Domain\",\n defaultMessage: \"Cognition\",\n },\n\n scoreDomainAdl: {\n id: \"forms.GER_FCGA.scoreDomainAdl\",\n description: \"Score Domain\",\n defaultMessage: \"ADL\",\n },\n\n scoreDomainIadl: {\n id: \"forms.GER_FCGA.scoreDomainIadl\",\n description: \"Score Domain\",\n defaultMessage: \"IADL\",\n },\n\n scoreDomainContinence: {\n id: \"forms.GER_FCGA.scoreDomainContinence\",\n description: \"Score Domain\",\n defaultMessage: \"Continence\",\n },\n\n scoreDomainMood: {\n id: \"forms.GER_FCGA.scoreDomainMood\",\n description: \"Score Domain\",\n defaultMessage: \"Mood\",\n },\n\n scoreDomainMobility: {\n id: \"forms.GER_FCGA.scoreDomainMobility\",\n description: \"Score Domain\",\n defaultMessage: \"Mobility\",\n },\n\n scoreDomainSelfCare: {\n id: \"forms.GER_FCGA.scoreDomainSelfCare\",\n description: \"Score Domain\",\n defaultMessage: \"Self-Care\",\n },\n\n scoreDomainUsualActivities: {\n id: \"forms.GER_FCGA.scoreDomainUsualActivities\",\n description: \"Score Domain\",\n defaultMessage: \"Usual Activities\",\n },\n\n scoreDomainAnxietyDepression: {\n id: \"forms.GER_FCGA.scoreDomainAnxietyDepression\",\n description: \"Score Domain\",\n defaultMessage: \"Anxiety/Depression\",\n },\n\n scoreDomainPainDiscomfort: {\n id: \"forms.GER_FCGA.scoreDomainPainDiscomfort\",\n description: \"Score Domain\",\n defaultMessage: \"Pain/Discomfort\",\n },\n\n scoreTotal: {\n id: \"forms.GER_FCGA.scoreTotal\",\n description: \"Score Domain\",\n defaultMessage: \"Total\",\n },\n tableColumnTest: {\n id: \"forms.GER_FCGA.tableColumnTest\",\n description: \"Score Domain\",\n defaultMessage: \"Complementary Examination\",\n },\n tableColumnRecommendation: {\n id: \"forms.GER_FCGA.tableColumnRecommendation\",\n description: \"Score Domain\",\n defaultMessage: \"Recommendation\",\n },\n tableColumnName: {\n id: \"forms.GER_FCGA.tableColumnName\",\n description: \"Score Domain\",\n defaultMessage: \"Frailty Score\",\n },\n frailtyLevel: {\n id: \"forms.GER_FCGA.frailtyLevel\",\n description: \"Score Domain\",\n defaultMessage: \"Frailty Level\",\n },\n\n specialistP7Definition: {\n id: \"forms.GER_FCGA.specialistP7Definition\",\n description: \"Score Domain\",\n defaultMessage:\n \"The P7 score is aimed to identify the patients at risk of autonomy loss. If the score is 3 or higher, you should contact the local program for Elderly Autonomy Support for a complementary evaluation and eventual help.\",\n },\n\n specialistER2Definition: {\n id: \"forms.GER_FCGA.specialistER2Definition\",\n description: \"Score Domain\",\n defaultMessage:\n \"The ER² test (Emergency Room Evaluation & Recommendations) is adapted to older patients visiting hospital emergency room. It will help you to assess whether if your patient is at risk of complicated care pathway. If you have to send your patient to the emergency, we recommend also sending the results of this test along with them.\",\n },\n // recommendations\n nutritionalTest: {\n id: \"forms.GER_FCGA.nutritionalTest\",\n description: \"Recommendation\",\n defaultMessage:\n 'Perform MNA test (Mini-Nutritional Assessment) (Download test)',\n },\n\n cognitionTest: {\n id: \"forms.GER_FCGA.cognitionTest\",\n description: \"Recommendation\",\n defaultMessage:\n 'Perform S-MMSE test (Download test)',\n },\n\n moodTest: {\n id: \"forms.GER_FCGA.moodTest\",\n description: \"Recommendation\",\n defaultMessage:\n 'Perform GDS 4 test (Geriatric Depression Scale) (Download test)',\n },\n\n mobilityTest: {\n id: \"forms.GER_FCGA.mobilityTest\",\n description: \"Recommendation\",\n defaultMessage: \"Perform the Five time sit to stand test (FTSS)\",\n },\n\n nutritionRecommendation: {\n id: \"forms.GER_FCGA.nutritionRecommendation\",\n description: \"Recommendation\",\n defaultMessage: `− Eliminate worst evolution of acute and/or chronic disease\n− Prescribe oral vitamin D supplementation if hypovitaminosis D\n− Request dietician consultation\n `,\n },\n multimorbidityRecommendation: {\n id: \"forms.GER_FCGA.multimorbidityRecommendation\",\n description: \"Recommendation\",\n defaultMessage: \"Reevaluate medication and check for possible drug interactions \",\n },\n adlRecommendation: {\n id: \"forms.GER_FCGA.adlRecommendation\",\n description: \"Recommendation\",\n defaultMessage: `− Reassess help if moderate frailty status or change in frailty status compared to previous consultation`,\n },\n communicationRecommendation: {\n id: \"forms.GER_FCGA.communicationRecommendation\",\n description: \"Recommendation\",\n defaultMessage: `Assess glasses and/or hearing aids (appropriate or not)`,\n },\n cognitionRecommendation: {\n id: \"forms.GER_FCGA.cognitionRecommendation\",\n description: \"Recommendation\",\n defaultMessage: `MMSE and/or Memory consultation`,\n },\n moodRecommendation: {\n id: \"forms.GER_FCGA.moodRecommendation\",\n description: \"Recommendation\",\n defaultMessage:\n \"If GDS 4 score is 1 or higher, there's a suspicion of depression. Refer to psychologist or psychiatric consultation and/or prescribe anti-depressant.\",\n },\n mobilityYesRecommendation: {\n id: \"forms.GER_FCGA.mobilityYesRecommendation\",\n description: \"Recommendation\",\n defaultMessage: `– Prescribe physiotherapist and/or occupational therapist assessment\n– Prescribe physical exercises\n– Prescribe oral vitamin D supplementation if hypovitaminosis D`,\n },\n mobilityNoRecommendation: {\n id: \"forms.GER_FCGA.mobilityNoRecommendation\",\n description: \"Recommendation\",\n defaultMessage: `If score is 15 seconds or more:\n– Prescribe physiotherapist and/or occupational therapist assessment\n– Prescribe physical exercises\n– Prescribe oral vitamin D supplementation if hypovitaminosis D`,\n },\n\n patientQ2Recommendation: {\n id: \"forms.GER_FCGA.patientQ2Recommendation\",\n description: \"Recommendation\",\n defaultMessage:\n \"Be sure that your drug list is up to date and don't take new medication without a medical doctor's recommendation, in order to avoid drug interaction. \",\n },\n\n patientQ6Recommendation: {\n id: \"forms.GER_FCGA.patientQ6Recommendation\",\n description: \"Recommendation\",\n defaultMessage:\n \"You answered you receive home healthcare services from your family or from a friend. Did you contact home-care services to have professional recommendations on your needs?\",\n },\n\n patientQ6aRecommendation: {\n id: \"forms.GER_FCGA.patientQ6aRecommendation\",\n description: \"Recommendation\",\n defaultMessage:\n \"You answered you needed help for activities of daily living. Did you inform your local home-care services? \",\n },\n\n patientQ6bRecommendation: {\n id: \"forms.GER_FCGA.patientQ6bRecommendation\",\n description: \"Recommendation\",\n defaultMessage:\n \"According to your {frailtyLevel} level, we recommend you to contact your territory home-care services, to be sure that the evaluation of your needs is up to date.\",\n },\n\n patientQ19Recommendation: {\n id: \"forms.GER_FCGA.patientQ19Recommendation\",\n description: \"Recommendation\",\n defaultMessage:\n \"We recommend you to you to practice regularly a physical activity, if you have no contraindications to doing it\",\n },\n\n patientQ25s1Intro: {\n id: \"forms.GER_FCGA.patientQ25s1Intro\",\n description: \"Recommendation\",\n defaultMessage:\n \"You have indicated being the caregiver of a person with Alzheimer's disease or a related illness. Here are some additional recommendations that might be helpful:\",\n },\n\n patientQ25s1Recommendation1: {\n id: \"forms.GER_FCGA.patientQ25s1Recommendation1\",\n description: \"Recommendation\",\n defaultMessage: `Educate yourself about the disease.\n Alzheimer’s disease affects the individual both cognitively as well as physically over a 7-10 year period of time. Knowing as much as possible about the disease, how it will progress and how to plan for the future will prepare you for the Alzheimer’s journey and provide you with the necessary information and tools to ensure the best care possible.`,\n },\n\n patientQ25s1Recommendation2: {\n id: \"forms.GER_FCGA.patientQ25s1Recommendation2\",\n description: \"Recommendation\",\n defaultMessage: `Find acceptance and avoid denial.\n Accepting the diagnosis and learning how to adapt to the various cognitive and physical changes that the disease will place upon the person will allow for best care practices. It is important to recognize that the person with dementia is “doing the best they can”, and if something isn’t working, it’s the responsibility of the care partner to change their approach and behavior towards the person with Alzheimer’s disease.`,\n },\n\n patientQ25s1Recommendation3: {\n id: \"forms.GER_FCGA.patientQ25s1Recommendation3\",\n description: \"Recommendation\",\n defaultMessage: `Plan for the future\n Planning for the future is an important part of the journey as it relates to making decisions concerning health and personal care, living arrangements, finances as well as legal and estate planning. As Alzheimer’s disease or other dementias progress, it will become difficult to communicate needs and make choices without assistance. While the person with Alzheimer’s disease is still able to, it is highly recommended to meet with family members and legal experts in order to arrange for a power of attorney authorizing someone to legally make decisions on their behalf when they are no longer able to.`,\n },\n\n patientQ25s1Recommendation4: {\n id: \"forms.GER_FCGA.patientQ25s1Recommendation4\",\n description: \"Recommendation\",\n defaultMessage: `Ensure a safe home environment\n As Alzheimer’s disease progresses, a person’s vision, mobility and cognitive decline will all have a direct impact on their activities of daily living such as cooking, eating, bathing, grooming, dressing, sleeping as well as other facets of their day to day life. Keeping the person safe at home thus becomes a priority in order to prevent falls and injuries. Certain rooms in the home have higher risks than others such as the kitchen and bathroom as well as homes with stairs. Meet with an Occupational Therapist or a Specialist who can properly assess the home in order to ensure a safe home environment.`,\n },\n\n patientQ25s1Recommendation5: {\n id: \"forms.GER_FCGA.patientQ25s1Recommendation5\",\n description: \"Recommendation\",\n defaultMessage: `Reduce caregiver stress by identifying and obtaining as much support as possible.\n Caring for someone with dementia can be one of the most stressful situations for a family member to be faced with and it is not possible to do it alone. In order to prevent caregiver burnout, it is extremely important to identify additional family members, friends, community and/or private resources that can provide assistance with household chores, caregiving tasks, transportation as well as psychological support and respite care. Seek out the necessary support services immediately upon diagnosis in order to understand the various available options in order to be properly prepared.`,\n },\n\n patientQ25s1RessourcesIntro: {\n id: \"forms.GER_FCGA.patientQ25s1RessourcesIntro\",\n description: \"Ressources introduction\",\n defaultMessage: \"Here are some resources: \",\n },\n\n patientOtherRecommendation: {\n id: \"forms.GER_FCGA.patientOtherRecommendation\",\n description: \"Recommendation\",\n defaultMessage:\n \"You noticed the difficulties in the following situation(s): {areas}, have you talked to your doctor recently? If it is not the case you take an appointment \",\n },\n\n patientOtherNutrition: {\n id: \"forms.GER_FCGA.patientOtherNutrition\",\n description: \"Recommendation\",\n defaultMessage: \"nutrition\",\n },\n\n patientOtherVision: {\n id: \"forms.GER_FCGA.patientOtherVision\",\n description: \"Recommendation\",\n defaultMessage: \"vision\",\n },\n\n patientOtherHearing: {\n id: \"forms.GER_FCGA.patientOtherHearing\",\n description: \"Recommendation\",\n defaultMessage: \"hearing\",\n },\n\n patientOtherMemory: {\n id: \"forms.GER_FCGA.patientOtherMemory\",\n description: \"Recommendation\",\n defaultMessage: \"memory\",\n },\n\n patientOtherIncontinence: {\n id: \"forms.GER_FCGA.patientOtherIncontinence\",\n description: \"Recommendation\",\n defaultMessage: \"incontinence\",\n },\n\n patientOtherMood: {\n id: \"forms.GER_FCGA.patientOtherMood\",\n description: \"Recommendation\",\n defaultMessage: \"mood\",\n },\n\n patientOtherMobility: {\n id: \"forms.GER_FCGA.patientOtherMobility\",\n description: \"Recommendation\",\n defaultMessage: \"Mobility\",\n },\n\n // sections\n sectionIntroductionStepName: {\n id: \"forms.GER_FCGA.sectionIntroductionStepName\",\n description: \"Step Name\",\n defaultMessage: \"Introduction\",\n },\n prefaceStepName: {\n id: \"forms.GER_FCGA.prefaceStepName\",\n description:\n \"Preface step name for GER_FCGA form. Asked if not the first time the form is filled.\",\n defaultMessage: \"Preface\",\n },\n section1StepName: {\n id: \"forms.GER_FCGA.section1StepName\",\n description: \"Step Name\",\n defaultMessage: \"Question\",\n },\n section2StepName: {\n id: \"forms.GER_FCGA.section2StepName\",\n description: \"Step Name\",\n defaultMessage: \"Summary\",\n },\n\n patientTab: {\n id: \"forms.GER_FCGA.patientTab\",\n description: \"Summary Tab\",\n defaultMessage: \"Patient\",\n },\n\n clinicianTab: {\n id: \"forms.GER_FCGA.clinicianTab\",\n description: \"Summary Tab\",\n defaultMessage: \"Clinician\",\n },\n // questions\n q0a: {\n id: \"forms.GER_FCGA.q0a\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Since you last filled out this questionnaire, have you visited your doctor?\",\n },\n q0aa: {\n id: \"forms.GER_FCGA.q0aa\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"This visit was:\",\n },\n q0aa_s1: {\n id: \"forms.GER_FCGA.q0aa_s1\",\n description: \"FI-CGA Option\",\n defaultMessage: \"with a family doctor\",\n },\n q0aa_s2: {\n id: \"forms.GER_FCGA.q0aa_s2\",\n description: \"FI-CGA Option\",\n defaultMessage: \"with a specialist\",\n },\n q0ab: {\n id: \"forms.GER_FCGA.q0ab\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"This visit was:\",\n },\n q0ab_s1: {\n id: \"forms.GER_FCGA.q0ab_s1\",\n description: \"FI-CGA Option\",\n defaultMessage: \"planned\",\n },\n q0ab_s2: {\n id: \"forms.GER_FCGA.q0ab_s2\",\n description: \"FI-CGA Option\",\n defaultMessage: \"unplanned\",\n },\n q0b: {\n id: \"forms.GER_FCGA.q0b\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Since you last filled out this questionnaire, have you been hospitalized?\",\n },\n q0ba: {\n id: \"forms.GER_FCGA.q0ba\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"This hospitalization was:\",\n },\n q0ba_s1: {\n id: \"forms.GER_FCGA.q0ba_s1\",\n description: \"FI-CGA Option\",\n defaultMessage: \"planned\",\n },\n q0ba_s2: {\n id: \"forms.GER_FCGA.q0ba_s2\",\n description: \"FI-CGA Option\",\n defaultMessage: \"unplanned\",\n },\n q0baa: {\n id: \"forms.GER_FCGA.q0baa\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Did you visit the emergency room?\",\n },\n q1: {\n id: \"forms.GER_FCGA.q1\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Have you involuntary lost weight in the past year?\",\n },\n q1a: {\n id: \"forms.GER_FCGA.q1a\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"If yes, was the lost of weight above 3 kg?\",\n },\n q2: {\n id: \"forms.GER_FCGA.q2\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"How many different drugs do you take daily?\",\n },\n q2_s1: {\n id: \"forms.GER_FCGA.q2_s1\",\n description: \"FI-CGA Form Question Select Option\",\n defaultMessage: \"0\",\n },\n q2_s2: {\n id: \"forms.GER_FCGA.q2_s2\",\n description: \"FI-CGA Form Question Select Option\",\n defaultMessage: \"1-4\",\n },\n q2_s3: {\n id: \"forms.GER_FCGA.q2_s3\",\n description: \"FI-CGA Form Question Select Option\",\n defaultMessage: \"5-9\",\n },\n q2_s4: {\n id: \"forms.GER_FCGA.q2_s4\",\n description: \"FI-CGA Form Question Select Option\",\n defaultMessage: \"10 or mroe\",\n },\n q3: {\n id: \"forms.GER_FCGA.q3\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Do you have sight problems?\",\n },\n q4: {\n id: \"forms.GER_FCGA.q4\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Do you have hearing problems?\",\n },\n q5: {\n id: \"forms.GER_FCGA.q5\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Has someone around you noticed that you have memory problems?\",\n },\n q6: {\n id: \"forms.GER_FCGA.q6\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Do you receive home-help services?\",\n },\n q6a: {\n id: \"forms.GER_FCGA.q6a\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"If yes, from whom?\",\n },\n q6a_s1: {\n id: \"forms.GER_FCGA.q6a_s1\",\n description: \"FI-CGA Form Question Select Option\",\n defaultMessage: \"Family\",\n },\n q6a_s2: {\n id: \"forms.GER_FCGA.q6a_s2\",\n description: \"FI-CGA Form Question Select Option\",\n defaultMessage: \"Friend\",\n },\n q6a_s3: {\n id: \"forms.GER_FCGA.q6a_s3\",\n description: \"FI-CGA Form Question Select Option\",\n defaultMessage: \"Professional\",\n },\n\n q7: {\n id: \"forms.GER_FCGA.q7\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Do you need help for toileting?\",\n },\n q8: {\n id: \"forms.GER_FCGA.q8\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Do you need help for bathing?\",\n },\n q9: {\n id: \"forms.GER_FCGA.q9\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Do you need help for dressing?\",\n },\n q10: {\n id: \"forms.GER_FCGA.q10\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Do you need help for walking and/or transfering?\",\n },\n q11: {\n id: \"forms.GER_FCGA.q11\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Do you need help for feeding?\",\n },\n q12: {\n id: \"forms.GER_FCGA.q12\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Do you need help for phoning?\",\n },\n q13: {\n id: \"forms.GER_FCGA.q13\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Do you need help for taking public transport?\",\n },\n q14: {\n id: \"forms.GER_FCGA.q14\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Do you need help for managing medications on your own?\",\n },\n q15: {\n id: \"forms.GER_FCGA.q15\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Do you need help for handling your own finances?\",\n },\n q16: {\n id: \"forms.GER_FCGA.q16\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Are you incontinent (urine and/or stool)?\",\n },\n q17: {\n id: \"forms.GER_FCGA.q17\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"How do you feel today?\",\n },\n q17_s1: {\n id: \"forms.GER_FCGA.q17_s1\",\n description: \"FI-CGA Form Question Select Option\",\n defaultMessage: \"Happy\",\n },\n q17_s2: {\n id: \"forms.GER_FCGA.q17_s2\",\n description: \"FI-CGA Form Question Select Option\",\n defaultMessage: \"Unhappy\",\n },\n q17_s3: {\n id: \"forms.GER_FCGA.q17_s3\",\n description: \"FI-CGA Form Question Select Option\",\n defaultMessage: \"Neither one nor the other\",\n },\n q18: {\n id: \"forms.GER_FCGA.q18\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Do you feel energetic?\",\n },\n q19: {\n id: \"forms.GER_FCGA.q19\",\n description: \"FI-CGA Form Question\",\n defaultMessage:\n \"Did you do regular physical activities (walking, bicycle, etc...), at least one hour per week in the past month?\",\n },\n q20: {\n id: \"forms.GER_FCGA.q20\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Did you fall in the previous year (at least one fall)?\",\n },\n q21: {\n id: \"forms.GER_FCGA.q21\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Have you received help to complete the questionnaire?\",\n },\n q22: {\n id: \"forms.GER_FCGA.q21a\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"If yes who helped you?\",\n },\n q22_s1: {\n id: \"forms.GER_FCGA.q21a_s1\",\n description: \"Form Option\",\n defaultMessage: \"Family\",\n },\n q22_s2: {\n id: \"forms.GER_FCGA.q21a_s2\",\n description: \"Form Option\",\n defaultMessage: \"Friend\",\n },\n q22_s3: {\n id: \"forms.GER_FCGA.q21a_s3\",\n description: \"Form Option\",\n defaultMessage: \"Professional\",\n },\n q22a: {\n id: \"forms.GER_FCGA.q21b\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Which family member helped you?\",\n },\n q22a_s1: {\n id: \"forms.GER_FCGA.q21b_s1\",\n description: \"Form Option\",\n defaultMessage: \"Partner\",\n },\n q22a_s2: {\n id: \"forms.GER_FCGA.q21b_s2\",\n description: \"Form Option\",\n defaultMessage: \"Child\",\n },\n q22a_s3: {\n id: \"forms.GER_FCGA.q21b_s3\",\n description: \"Form Option\",\n defaultMessage: \"Other\",\n },\n q23: {\n id: \"forms.GER_FCGA.q21b_s3a\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"Who helped you?\",\n },\n q24: {\n id: \"forms.GER_FCGA.q22\",\n description: \"FI-CGA Form Question\",\n defaultMessage: \"How did you find out about the questionnaire?\",\n },\n q24_s1: {\n id: \"forms.GER_FCGA.q22_s1\",\n description: \"Form Option\",\n defaultMessage: \"Doctor: family, specialist, emergency physician\",\n },\n q24_s2: {\n id: \"forms.GER_FCGA.q22_s2\",\n description: \"Form Option\",\n defaultMessage: \"Health and/or social professional\",\n },\n q24_s3: {\n id: \"forms.GER_FCGA.q22_s3\",\n description: \"Form Option\",\n defaultMessage: \"Other\",\n },\n q25: {\n id: \"forms.GER_FCGA.q23\",\n description: \"Q25\",\n defaultMessage: \"Did you answer this questionnaire for yourself or for someone else?\",\n },\n q25_s1: {\n id: \"forms.GER_FCGA.q23_s1\",\n description: \"Q25 sub-answer 1\",\n defaultMessage: \"Myself\",\n },\n q25_s2: {\n id: \"forms.GER_FCGA.q23_s2\",\n description: \"Q25 sub-answer 2\",\n defaultMessage: \"Someone else\",\n },\n q25a0: {\n id: \"forms.GER_FCGA.q23a0\",\n description: \"Q25 A0\",\n defaultMessage: \"Are you the caregiver of an unhealthy person?\",\n },\n q25a: {\n id: \"forms.GER_FCGA.q23a\",\n description: \"Q25 A\",\n defaultMessage: \"What is their condition?\",\n },\n q25a_s1: {\n id: \"forms.GER_FCGA.q23a_s1\",\n description: \"Q25 A sub-answer 1\",\n defaultMessage: \"Alzheimer's disease\",\n },\n q25a_s2: {\n id: \"forms.GER_FCGA.q23a_s2\",\n description: \"Q25 A sub-answer 2\",\n defaultMessage: \"Other\",\n },\n eq5dLabel: {\n id: \"forms.GER_FCGA.eq5dLabel\",\n description: \" EQ5Da question header\",\n defaultMessage: \"Please tick one box that best describes your health today\",\n },\n eq5da_s1: {\n id: \"forms.GER_FCGA.eq5da_s1\",\n description: \" EQ5Da sub-answer 1\",\n defaultMessage: \"I have no problems in walking about\",\n },\n eq5da_s2: {\n id: \"forms.GER_FCGA.eq5da_s2\",\n description: \" EQ5Da sub-answer 2\",\n defaultMessage: \"I have slight problems in walking about\",\n },\n eq5da_s3: {\n id: \"forms.GER_FCGA.eq5da_s3\",\n description: \" EQ5Da sub-answer 3\",\n defaultMessage: \"I have moderate problems in walking about\",\n },\n eq5da_s4: {\n id: \"forms.GER_FCGA.eq5da_s4\",\n description: \" EQ5Da sub-answer 4\",\n defaultMessage: \"I have severe problems in walking about\",\n },\n eq5da_s5: {\n id: \"forms.GER_FCGA.eq5da_s5\",\n description: \" EQ5Da sub-answer 5\",\n defaultMessage: \"I am unable to walk about\",\n },\n eq5db_s1: {\n id: \"forms.GER_FCGA.eq5db_s1\",\n description: \" EQ5Db sub-answer 1\",\n defaultMessage: \"I have no problems washing or dressing myself\",\n },\n eq5db_s2: {\n id: \"forms.GER_FCGA.eq5db_s2\",\n description: \" EQ5Db sub-answer 2\",\n defaultMessage: \"I have slight problems washing or dressing myself\",\n },\n eq5db_s3: {\n id: \"forms.GER_FCGA.eq5db_s3\",\n description: \" EQ5Db sub-answer 3\",\n defaultMessage: \"I have moderate problems washing or dressing myself\",\n },\n eq5db_s4: {\n id: \"forms.GER_FCGA.eq5db_s4\",\n description: \" EQ5Db sub-answer 4\",\n defaultMessage: \"I have severe problems washing or dressing myself\",\n },\n eq5db_s5: {\n id: \"forms.GER_FCGA.eq5db_s5\",\n description: \" EQ5Db sub-answer 5\",\n defaultMessage: \"I am unable to wash or dress myslef\",\n },\n eq5dc_sublabel: {\n id: \"forms.GER_FCGA.eq5dc_sublabel\",\n description: \" EQ5Dc sub-label\",\n defaultMessage: \"(e.g. work, study, housework, family or leisure activities)\",\n },\n eq5dc_s1: {\n id: \"forms.GER_FCGA.eq5dc_s1\",\n description: \" EQ5Dc sub-answer 1\",\n defaultMessage: \"I have no problems doing my usual activities\",\n },\n eq5dc_s2: {\n id: \"forms.GER_FCGA.eq5dc_s2\",\n description: \" EQ5Dc sub-answer 2\",\n defaultMessage: \"I have slight problems doing my usual activities\",\n },\n eq5dc_s3: {\n id: \"forms.GER_FCGA.eq5dc_s3\",\n description: \" EQ5Dc sub-answer 3\",\n defaultMessage: \"I have moderate problems doing my usual activities\",\n },\n eq5dc_s4: {\n id: \"forms.GER_FCGA.eq5dc_s4\",\n description: \" EQ5Dc sub-answer 4\",\n defaultMessage: \"I have severe problems doing my usual activities\",\n },\n eq5dc_s5: {\n id: \"forms.GER_FCGA.eq5dc_s5\",\n description: \" EQ5Dc sub-answer 5\",\n defaultMessage: \"I am unable to do my usual activities\",\n },\n eq5dd_s1: {\n id: \"forms.GER_FCGA.eq5dd_s1\",\n description: \" EQ5Dd sub-answer 1\",\n defaultMessage: \"I have no pain or discomfort\",\n },\n eq5dd_s2: {\n id: \"forms.GER_FCGA.eq5dd_s2\",\n description: \" EQ5Dd sub-answer 2\",\n defaultMessage: \"I have slight pain or discomfort\",\n },\n eq5dd_s3: {\n id: \"forms.GER_FCGA.eq5dd_s3\",\n description: \" EQ5Dd sub-answer 3\",\n defaultMessage: \"I have moderate pain or discomfort\",\n },\n eq5dd_s4: {\n id: \"forms.GER_FCGA.eq5dd_s4\",\n description: \" EQ5Dd sub-answer 4\",\n defaultMessage: \"I have severe pain or discomfort\",\n },\n eq5dd_s5: {\n id: \"forms.GER_FCGA.eq5dd_s5\",\n description: \" EQ5Dd sub-answer 5\",\n defaultMessage: \"I have extreme pain or discomfort\",\n },\n eq5de_s1: {\n id: \"forms.GER_FCGA.eq5de_s1\",\n description: \" EQ5De sub-answer 1\",\n defaultMessage: \"I am not anxious or depressed\",\n },\n eq5de_s2: {\n id: \"forms.GER_FCGA.eq5de_s2\",\n description: \" EQ5De sub-answer 2\",\n defaultMessage: \"I am slightly anxious or depressed\",\n },\n eq5de_s3: {\n id: \"forms.GER_FCGA.eq5de_s3\",\n description: \" EQ5De sub-answer 3\",\n defaultMessage: \"I am moderately anxious or depressed\",\n },\n eq5de_s4: {\n id: \"forms.GER_FCGA.eq5de_s4\",\n description: \" EQ5De sub-answer 4\",\n defaultMessage: \"I am severely anxious or depressed\",\n },\n eq5de_s5: {\n id: \"forms.GER_FCGA.eq5de_s5\",\n description: \" EQ5De sub-answer 5\",\n defaultMessage: \"I am extremely anxious or depressed\",\n },\n eq5df: {\n id: \"forms.GER_FCGA.eq5df\",\n description: \" EQ5Df question label\",\n defaultMessage: \"We would like to know how good or bad your health is today\",\n },\n eq5df_sublabel: {\n id: \"forms.GER_FCGA.eq5df_sublabel\",\n description: \" EQ5Df question sub-label\",\n defaultMessage: `The scale is numbered from 0 to 100. 100 means the BEST health you can imagine. 0 means the WORST heatlh you can imagine.\n Use the slider to indicate how your health is today`,\n },\n});\n","exports = module.exports = require(\"../../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".NewMessagePatientCommunication-style__title____noev{font-weight:bold;padding:1rem 0 2rem !important}.NewMessagePatientCommunication-style__actions-container___1AAsR{padding:2rem 0 0}.NewMessagePatientCommunication-style__checkbox___1fGQ_{margin-top:2rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"title\": \"NewMessagePatientCommunication-style__title____noev\",\n\t\"actions-container\": \"NewMessagePatientCommunication-style__actions-container___1AAsR\",\n\t\"checkbox\": \"NewMessagePatientCommunication-style__checkbox___1fGQ_\"\n};","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".bodyPartPicker-style__description___3yAvV{text-align:center;font-style:italic}.bodyPartPicker-style__root___1tBOa{flex:1;border:1px solid #ccc;background:#f0f0f0}.bodyPartPicker-style__root___1tBOa>div{height:100%}.bodyPartPicker-style__root___1tBOa.bodyPartPicker-style__female___3AQyt svg path:not([class=\\\"svg-pan-zoom-control-element\\\"]){-webkit-transform:translateX(-385px);transform:translateX(-385px)}.bodyPartPicker-style__root___1tBOa.bodyPartPicker-style__male___ip1uC svg path:not([class=\\\"svg-pan-zoom-control-element\\\"]){-webkit-transform:translateX(330px);transform:translateX(330px)}.bodyPartPicker-style__root___1tBOa svg{width:100%;height:100%}.bodyPartPicker-style__root___1tBOa svg path{cursor:pointer}.bodyPartPicker-style__root___1tBOa svg path:not([class=\\\"svg-pan-zoom-control-element\\\"]){fill:#ff0000;fill-opacity:0;stroke:#ff0000;stroke-opacity:0.5}.bodyPartPicker-style__root___1tBOa svg path:not([class=\\\"svg-pan-zoom-control-element\\\"]).bodyPartPicker-style__selected___3nm-_{fill-opacity:0.25}.bodyPartPicker-style__root___1tBOa svg path:not([class=\\\"svg-pan-zoom-control-element\\\"]):hover{fill-opacity:0.5}.bodyPartPicker-style__root___1tBOa svg path.bodyPartPicker-style__go___1TxQR{display:none}.bodyPartPicker-style__form___XA1BI{flex:1;display:flex}.bodyPartPicker-style__form___XA1BI>div{flex:1;display:flex;flex-direction:column}.bodyPartPicker-style__dialog___D6PN6{height:100%}.bodyPartPicker-style__dialog___D6PN6 .bodyPartPicker-style__body___BNZiR{display:flex;flex-direction:column}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"description\": \"bodyPartPicker-style__description___3yAvV\",\n\t\"root\": \"bodyPartPicker-style__root___1tBOa\",\n\t\"female\": \"bodyPartPicker-style__female___3AQyt\",\n\t\"male\": \"bodyPartPicker-style__male___ip1uC\",\n\t\"selected\": \"bodyPartPicker-style__selected___3nm-_\",\n\t\"go\": \"bodyPartPicker-style__go___1TxQR\",\n\t\"form\": \"bodyPartPicker-style__form___XA1BI\",\n\t\"dialog\": \"bodyPartPicker-style__dialog___D6PN6\",\n\t\"body\": \"bodyPartPicker-style__body___BNZiR\"\n};","import PropTypes from \"prop-types\";\n\nimport { AddressPropTypes } from \"../Address\";\n\nimport { UserLanguagesPropTypes } from \"./UserLanguagesPropTypes\";\n\nexport const PersonPropTypes = PropTypes.shape({\n address: AddressPropTypes,\n firstName: PropTypes.string,\n fullName: PropTypes.string,\n id: PropTypes.string,\n lastName: PropTypes.string,\n userName: PropTypes.string,\n userLanguages: PropTypes.arrayOf(UserLanguagesPropTypes),\n});\n","export { PersonPropTypes } from \"./PersonPropTypes\";\nexport { UserLanguagesPropTypes } from \"./UserLanguagesPropTypes\";\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n active: {\n id: \"personProfileForm.active\",\n description: \"Person settings is active field label\",\n defaultMessage: \"Is active?\",\n },\n activeHelp: {\n id: \"personProfileForm.activeHelp\",\n description: \"Person settings is active help text\",\n defaultMessage: `Inactive status indicates whether a person will be shown in drop-down lists.\n In the case of \"Full User\", setting inactive will prevent that user from logging in.`,\n },\n appearanceTitle: {\n id: \"personProfileForm.appearanceTitle\",\n description: \"User profile appearance form title\",\n defaultMessage: \"Appearance\",\n },\n headerTitle: {\n id: \"personProfileForm.headerTitle\",\n description: \"User profile form title\",\n defaultMessage: \"User profile\",\n },\n licenseNumber: {\n id: \"personProfileForm.licenseNumber\",\n description: \"Label for person license number\",\n defaultMessage: \"License number\",\n },\n professionLabel: {\n id: \"personProfileForm.professionLabel\",\n description: \"User profile Profession label\",\n defaultMessage: \"Medical Profession\",\n },\n profilePicture: {\n id: \"personProfileForm.profilePicture\",\n description: \"Person settings Profile picture header\",\n defaultMessage: \"Profile picture\",\n },\n profileUpdated: {\n id: \"personProfileForm.profileUpdated\",\n description: \"Snackbar message for profile updated\",\n defaultMessage: \"Your profile has been updated successfully!\",\n },\n statusTitle: {\n id: \"personProfileForm.statusTitle\",\n description: \"User profile Status title\",\n defaultMessage: \"Status\",\n },\n themeLabel: {\n id: \"personProfileForm.themeLabel\",\n description: \"User profile Theme label\",\n defaultMessage: \"Site theme\",\n },\n});\n","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".physicianInput-styles__input___UShp6{caret-color:transparent}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"input\": \"physicianInput-styles__input___UShp6\"\n};","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ReportSignaturePrint.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ReportSignaturePrint.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ReportSignaturePrint.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".formattedRelative-style__absolute___2fjDX{display:none}@media print{.formattedRelative-style__with-absolute___eUI6N .formattedRelative-style__relative___Z8EmZ{display:none}.formattedRelative-style__with-absolute___eUI6N .formattedRelative-style__absolute___2fjDX{display:inline}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"absolute\": \"formattedRelative-style__absolute___2fjDX\",\n\t\"with-absolute\": \"formattedRelative-style__with-absolute___eUI6N\",\n\t\"relative\": \"formattedRelative-style__relative___Z8EmZ\"\n};","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".RESP_EVA-style__q0c2___3uOoF .RESP_EVA-style__answers___10egI{margin:0 0.5rem}.RESP_EVA-style__q0c2___3uOoF .RESP_EVA-style__answers___10egI .RESP_EVA-style__headers___2h3pz{display:flex;margin:0}.RESP_EVA-style__q0c2___3uOoF .RESP_EVA-style__answers___10egI .RESP_EVA-style__headers___2h3pz>label{font-size:2.4rem;text-align:center;font-weight:bold;flex:1}.RESP_EVA-style__q0c2___3uOoF .RESP_EVA-style__answers___10egI .RESP_EVA-style__headers___2h3pz>label:last-child{flex:0.01}.RESP_EVA-style__q0c2___3uOoF .RESP_EVA-style__answers___10egI .RESP_EVA-style__rows___2u4eL>div{margin-top:0;display:flex;align-items:center}.RESP_EVA-style__q0c2___3uOoF .RESP_EVA-style__answers___10egI .RESP_EVA-style__rows___2u4eL>div>*{flex:1}.RESP_EVA-style__q0c2___3uOoF .RESP_EVA-style__answers___10egI .RESP_EVA-style__rows___2u4eL>div select{font-size:2.4rem;padding:0.5rem 0 0.4rem;border:2px solid #ccc}.RESP_EVA-style__q0c2___3uOoF .RESP_EVA-style__answers___10egI .RESP_EVA-style__rows___2u4eL>div input{font-size:2.4rem}.RESP_EVA-style__q0c2___3uOoF .RESP_EVA-style__answers___10egI .RESP_EVA-style__rows___2u4eL>div [data-react-toolbox=\\\"input\\\"]{margin-top:0;padding-top:0.5rem;padding-bottom:0.5rem}.RESP_EVA-style__q0c2___3uOoF .RESP_EVA-style__answers___10egI .RESP_EVA-style__rows___2u4eL>div .RESP_EVA-style__remove___3cWhK{flex:0.01;padding:0;min-width:3rem;height:5.7rem;margin-bottom:1rem}.RESP_EVA-style__q0c2___3uOoF .RESP_EVA-style__answers___10egI .RESP_EVA-style__rows___2u4eL>div .RESP_EVA-style__remove___3cWhK [data-react-toolbox=\\\"font-icon\\\"]{font-size:3rem;line-height:3.8rem}.RESP_EVA-style__q0c2___3uOoF .RESP_EVA-style__add___2behZ{text-align:right;margin:-0.75rem 1.5rem 0;font-size:2rem;font-weight:bold}.RESP_EVA-style__score-row___-I2Q2 td{font-weight:bold;text-align:end}.RESP_EVA-style__score-row___-I2Q2 td:last-child span{display:flex;align-items:center}.RESP_EVA-style__score-row___-I2Q2 td:last-child span img{height:1.8rem}.RESP_EVA-style__form-summary___2I4Ie table ul{list-style:none;margin:0;padding:0}.RESP_EVA-style__form-summary___2I4Ie table ul li{padding:0;font-size:1.4rem}@media print{.RESP_EVA-style__summary-wrapper___lCldH{margin-top:-2rem}.RESP_EVA-style__header___dsR5I img{max-height:35px}.RESP_EVA-style__header___dsR5I .RESP_EVA-style__form-header___M7Pgh{height:70px}.RESP_EVA-style__pdf-report-header___2rHlt{overflow:auto;height:auto;font-family:Arial, Helvetica, sans-serif}.RESP_EVA-style__form-summary___2I4Ie{font-family:Arial, Helvetica, sans-serif}.RESP_EVA-style__form-summary___2I4Ie table tr td{font-size:8pt;padding:3px !important}.RESP_EVA-style__form-summary___2I4Ie table tr td li{font-size:8pt !important}.RESP_EVA-style__form-summary___2I4Ie table tr td:first-of-type{font-weight:normal}.RESP_EVA-style__form-summary___2I4Ie h2{font-size:12pt;margin:1.5rem 0 0.5rem !important}.RESP_EVA-style__form-summary___2I4Ie h3{font-size:10pt}.RESP_EVA-style__patient-header___SoUHO{float:right;min-width:2.5in;font-size:8pt;font-family:Arial, Helvetica, sans-serif;font-weight:bold;line-height:1.6em;border-bottom:1px solid #000;border-left:1px solid #000;padding:0 1rem 0.5rem 1rem}}.RESP_EVA-style__recommendations___2qqmb{height:auto;min-height:0;font-size:1.5rem !important;-webkit-column-break-before:page;break-before:page}.RESP_EVA-style__recommendations___2qqmb *{font-size:1.5rem}.RESP_EVA-style__recommendations___2qqmb h2{text-align:center;margin-bottom:2rem;margin-top:0 !important;font-size:3rem}.RESP_EVA-style__recommendations___2qqmb h3{border-bottom:1px solid #000;margin:3rem 0 1.5rem;font-size:2rem}table{border-collapse:collapse;width:100%}table .RESP_EVA-style__score___3mlVn{white-space:nowrap}.RESP_EVA-style__sleep___333dv{display:flex;flex-direction:row;align-items:center}.RESP_EVA-style__sleep___333dv>.RESP_EVA-style__left___1WRKy{flex:1;text-align:right;padding-right:2%}.RESP_EVA-style__sleep___333dv>.RESP_EVA-style__right___303wN{flex:1}.RESP_EVA-style__sleep___333dv>.RESP_EVA-style__curly___2lsxB{flex:0.1;font-size:4rem}.RESP_EVA-style__summary-card___21olu{border:none}@media print{.RESP_EVA-style__additional-information___3ozkc{page-break-before:always}}@media print{.RESP_EVA-style__fatigue-header___MZhxt{page-break-before:always}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"q0c2\": \"RESP_EVA-style__q0c2___3uOoF\",\n\t\"answers\": \"RESP_EVA-style__answers___10egI\",\n\t\"headers\": \"RESP_EVA-style__headers___2h3pz\",\n\t\"rows\": \"RESP_EVA-style__rows___2u4eL\",\n\t\"remove\": \"RESP_EVA-style__remove___3cWhK\",\n\t\"add\": \"RESP_EVA-style__add___2behZ\",\n\t\"score-row\": \"RESP_EVA-style__score-row___-I2Q2\",\n\t\"form-summary\": \"RESP_EVA-style__form-summary___2I4Ie\",\n\t\"summary-wrapper\": \"RESP_EVA-style__summary-wrapper___lCldH\",\n\t\"header\": \"RESP_EVA-style__header___dsR5I\",\n\t\"form-header\": \"RESP_EVA-style__form-header___M7Pgh\",\n\t\"pdf-report-header\": \"RESP_EVA-style__pdf-report-header___2rHlt\",\n\t\"patient-header\": \"RESP_EVA-style__patient-header___SoUHO\",\n\t\"recommendations\": \"RESP_EVA-style__recommendations___2qqmb\",\n\t\"score\": \"RESP_EVA-style__score___3mlVn\",\n\t\"sleep\": \"RESP_EVA-style__sleep___333dv\",\n\t\"left\": \"RESP_EVA-style__left___1WRKy\",\n\t\"right\": \"RESP_EVA-style__right___303wN\",\n\t\"curly\": \"RESP_EVA-style__curly___2lsxB\",\n\t\"summary-card\": \"RESP_EVA-style__summary-card___21olu\",\n\t\"additional-information\": \"RESP_EVA-style__additional-information___3ozkc\",\n\t\"fatigue-header\": \"RESP_EVA-style__fatigue-header___MZhxt\"\n};","/* eslint-disable */\n// Copied from http://pajhome.org.uk/crypt/md5/md5.html\n// Recommended via StackOverflow at https://stackoverflow.com/a/14733423/229726\n/*\n * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message\n * Digest Algorithm, as defined in RFC 1321.\n * Version 2.2 Copyright (C) Paul Johnston 1999 - 2009\n * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet\n * Distributed under the BSD License\n * See http://pajhome.org.uk/crypt/md5 for more info.\n */\n\n/*\n * Configurable variables. You may need to tweak these to be compatible with\n * the server-side, but the defaults work in most cases.\n */\nvar hexcase = 0; /* hex output format. 0 - lowercase; 1 - uppercase */\nvar b64pad = \"\"; /* base-64 pad character. \"=\" for strict RFC compliance */\n\n/*\n * These are the functions you'll usually want to call\n * They take string arguments and return either hex or base-64 encoded strings\n */\nexport function hex_md5(s) {\n return rstr2hex(rstr_md5(str2rstr_utf8(s)));\n}\nexport function b64_md5(s) {\n return rstr2b64(rstr_md5(str2rstr_utf8(s)));\n}\nexport function any_md5(s, e) {\n return rstr2any(rstr_md5(str2rstr_utf8(s)), e);\n}\nexport function hex_hmac_md5(k, d) {\n return rstr2hex(rstr_hmac_md5(str2rstr_utf8(k), str2rstr_utf8(d)));\n}\nexport function b64_hmac_md5(k, d) {\n return rstr2b64(rstr_hmac_md5(str2rstr_utf8(k), str2rstr_utf8(d)));\n}\nexport function any_hmac_md5(k, d, e) {\n return rstr2any(rstr_hmac_md5(str2rstr_utf8(k), str2rstr_utf8(d)), e);\n}\n\n/*\n * Perform a simple self-test to see if the VM is working\n */\nfunction md5_vm_test() {\n return hex_md5(\"abc\").toLowerCase() == \"900150983cd24fb0d6963f7d28e17f72\";\n}\n\n/*\n * Calculate the MD5 of a raw string\n */\nfunction rstr_md5(s) {\n return binl2rstr(binl_md5(rstr2binl(s), s.length * 8));\n}\n\n/*\n * Calculate the HMAC-MD5, of a key and some data (raw strings)\n */\nfunction rstr_hmac_md5(key, data) {\n var bkey = rstr2binl(key);\n if (bkey.length > 16) bkey = binl_md5(bkey, key.length * 8);\n\n var ipad = Array(16),\n opad = Array(16);\n for (var i = 0; i < 16; i++) {\n ipad[i] = bkey[i] ^ 0x36363636;\n opad[i] = bkey[i] ^ 0x5c5c5c5c;\n }\n\n var hash = binl_md5(ipad.concat(rstr2binl(data)), 512 + data.length * 8);\n return binl2rstr(binl_md5(opad.concat(hash), 512 + 128));\n}\n\n/*\n * Convert a raw string to a hex string\n */\nfunction rstr2hex(input) {\n try {\n hexcase;\n } catch (e) {\n hexcase = 0;\n }\n var hex_tab = hexcase ? \"0123456789ABCDEF\" : \"0123456789abcdef\";\n var output = \"\";\n var x;\n for (var i = 0; i < input.length; i++) {\n x = input.charCodeAt(i);\n output += hex_tab.charAt((x >>> 4) & 0x0f) + hex_tab.charAt(x & 0x0f);\n }\n return output;\n}\n\n/*\n * Convert a raw string to a base-64 string\n */\nfunction rstr2b64(input) {\n try {\n b64pad;\n } catch (e) {\n b64pad = \"\";\n }\n var tab = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";\n var output = \"\";\n var len = input.length;\n for (var i = 0; i < len; i += 3) {\n var triplet =\n (input.charCodeAt(i) << 16) |\n (i + 1 < len ? input.charCodeAt(i + 1) << 8 : 0) |\n (i + 2 < len ? input.charCodeAt(i + 2) : 0);\n for (var j = 0; j < 4; j++) {\n if (i * 8 + j * 6 > input.length * 8) output += b64pad;\n else output += tab.charAt((triplet >>> (6 * (3 - j))) & 0x3f);\n }\n }\n return output;\n}\n\n/*\n * Convert a raw string to an arbitrary string encoding\n */\nfunction rstr2any(input, encoding) {\n var divisor = encoding.length;\n var i, j, q, x, quotient;\n\n /* Convert to an array of 16-bit big-endian values, forming the dividend */\n var dividend = Array(Math.ceil(input.length / 2));\n for (i = 0; i < dividend.length; i++) {\n dividend[i] = (input.charCodeAt(i * 2) << 8) | input.charCodeAt(i * 2 + 1);\n }\n\n /*\n * Repeatedly perform a long division. The binary array forms the dividend,\n * the length of the encoding is the divisor. Once computed, the quotient\n * forms the dividend for the next step. All remainders are stored for later\n * use.\n */\n var full_length = Math.ceil((input.length * 8) / (Math.log(encoding.length) / Math.log(2)));\n var remainders = Array(full_length);\n for (j = 0; j < full_length; j++) {\n quotient = Array();\n x = 0;\n for (i = 0; i < dividend.length; i++) {\n x = (x << 16) + dividend[i];\n q = Math.floor(x / divisor);\n x -= q * divisor;\n if (quotient.length > 0 || q > 0) quotient[quotient.length] = q;\n }\n remainders[j] = x;\n dividend = quotient;\n }\n\n /* Convert the remainders to the output string */\n var output = \"\";\n for (i = remainders.length - 1; i >= 0; i--) output += encoding.charAt(remainders[i]);\n\n return output;\n}\n\n/*\n * Encode a string as utf-8.\n * For efficiency, this assumes the input is valid utf-16.\n */\nfunction str2rstr_utf8(input) {\n var output = \"\";\n var i = -1;\n var x, y;\n\n while (++i < input.length) {\n /* Decode utf-16 surrogate pairs */\n x = input.charCodeAt(i);\n y = i + 1 < input.length ? input.charCodeAt(i + 1) : 0;\n if (0xd800 <= x && x <= 0xdbff && 0xdc00 <= y && y <= 0xdfff) {\n x = 0x10000 + ((x & 0x03ff) << 10) + (y & 0x03ff);\n i++;\n }\n\n /* Encode output as utf-8 */\n if (x <= 0x7f) output += String.fromCharCode(x);\n else if (x <= 0x7ff)\n output += String.fromCharCode(0xc0 | ((x >>> 6) & 0x1f), 0x80 | (x & 0x3f));\n else if (x <= 0xffff)\n output += String.fromCharCode(\n 0xe0 | ((x >>> 12) & 0x0f),\n 0x80 | ((x >>> 6) & 0x3f),\n 0x80 | (x & 0x3f)\n );\n else if (x <= 0x1fffff)\n output += String.fromCharCode(\n 0xf0 | ((x >>> 18) & 0x07),\n 0x80 | ((x >>> 12) & 0x3f),\n 0x80 | ((x >>> 6) & 0x3f),\n 0x80 | (x & 0x3f)\n );\n }\n return output;\n}\n\n/*\n * Encode a string as utf-16\n */\nfunction str2rstr_utf16le(input) {\n var output = \"\";\n for (var i = 0; i < input.length; i++)\n output += String.fromCharCode(input.charCodeAt(i) & 0xff, (input.charCodeAt(i) >>> 8) & 0xff);\n return output;\n}\n\nfunction str2rstr_utf16be(input) {\n var output = \"\";\n for (var i = 0; i < input.length; i++)\n output += String.fromCharCode((input.charCodeAt(i) >>> 8) & 0xff, input.charCodeAt(i) & 0xff);\n return output;\n}\n\n/*\n * Convert a raw string to an array of little-endian words\n * Characters >255 have their high-byte silently ignored.\n */\nfunction rstr2binl(input) {\n var output = Array(input.length >> 2);\n for (var i = 0; i < output.length; i++) output[i] = 0;\n for (var i = 0; i < input.length * 8; i += 8)\n output[i >> 5] |= (input.charCodeAt(i / 8) & 0xff) << i % 32;\n return output;\n}\n\n/*\n * Convert an array of little-endian words to a string\n */\nfunction binl2rstr(input) {\n var output = \"\";\n for (var i = 0; i < input.length * 32; i += 8)\n output += String.fromCharCode((input[i >> 5] >>> i % 32) & 0xff);\n return output;\n}\n\n/*\n * Calculate the MD5 of an array of little-endian words, and a bit length.\n */\nfunction binl_md5(x, len) {\n /* append padding */\n x[len >> 5] |= 0x80 << len % 32;\n x[(((len + 64) >>> 9) << 4) + 14] = len;\n\n var a = 1732584193;\n var b = -271733879;\n var c = -1732584194;\n var d = 271733878;\n\n for (var i = 0; i < x.length; i += 16) {\n var olda = a;\n var oldb = b;\n var oldc = c;\n var oldd = d;\n\n a = md5_ff(a, b, c, d, x[i + 0], 7, -680876936);\n d = md5_ff(d, a, b, c, x[i + 1], 12, -389564586);\n c = md5_ff(c, d, a, b, x[i + 2], 17, 606105819);\n b = md5_ff(b, c, d, a, x[i + 3], 22, -1044525330);\n a = md5_ff(a, b, c, d, x[i + 4], 7, -176418897);\n d = md5_ff(d, a, b, c, x[i + 5], 12, 1200080426);\n c = md5_ff(c, d, a, b, x[i + 6], 17, -1473231341);\n b = md5_ff(b, c, d, a, x[i + 7], 22, -45705983);\n a = md5_ff(a, b, c, d, x[i + 8], 7, 1770035416);\n d = md5_ff(d, a, b, c, x[i + 9], 12, -1958414417);\n c = md5_ff(c, d, a, b, x[i + 10], 17, -42063);\n b = md5_ff(b, c, d, a, x[i + 11], 22, -1990404162);\n a = md5_ff(a, b, c, d, x[i + 12], 7, 1804603682);\n d = md5_ff(d, a, b, c, x[i + 13], 12, -40341101);\n c = md5_ff(c, d, a, b, x[i + 14], 17, -1502002290);\n b = md5_ff(b, c, d, a, x[i + 15], 22, 1236535329);\n\n a = md5_gg(a, b, c, d, x[i + 1], 5, -165796510);\n d = md5_gg(d, a, b, c, x[i + 6], 9, -1069501632);\n c = md5_gg(c, d, a, b, x[i + 11], 14, 643717713);\n b = md5_gg(b, c, d, a, x[i + 0], 20, -373897302);\n a = md5_gg(a, b, c, d, x[i + 5], 5, -701558691);\n d = md5_gg(d, a, b, c, x[i + 10], 9, 38016083);\n c = md5_gg(c, d, a, b, x[i + 15], 14, -660478335);\n b = md5_gg(b, c, d, a, x[i + 4], 20, -405537848);\n a = md5_gg(a, b, c, d, x[i + 9], 5, 568446438);\n d = md5_gg(d, a, b, c, x[i + 14], 9, -1019803690);\n c = md5_gg(c, d, a, b, x[i + 3], 14, -187363961);\n b = md5_gg(b, c, d, a, x[i + 8], 20, 1163531501);\n a = md5_gg(a, b, c, d, x[i + 13], 5, -1444681467);\n d = md5_gg(d, a, b, c, x[i + 2], 9, -51403784);\n c = md5_gg(c, d, a, b, x[i + 7], 14, 1735328473);\n b = md5_gg(b, c, d, a, x[i + 12], 20, -1926607734);\n\n a = md5_hh(a, b, c, d, x[i + 5], 4, -378558);\n d = md5_hh(d, a, b, c, x[i + 8], 11, -2022574463);\n c = md5_hh(c, d, a, b, x[i + 11], 16, 1839030562);\n b = md5_hh(b, c, d, a, x[i + 14], 23, -35309556);\n a = md5_hh(a, b, c, d, x[i + 1], 4, -1530992060);\n d = md5_hh(d, a, b, c, x[i + 4], 11, 1272893353);\n c = md5_hh(c, d, a, b, x[i + 7], 16, -155497632);\n b = md5_hh(b, c, d, a, x[i + 10], 23, -1094730640);\n a = md5_hh(a, b, c, d, x[i + 13], 4, 681279174);\n d = md5_hh(d, a, b, c, x[i + 0], 11, -358537222);\n c = md5_hh(c, d, a, b, x[i + 3], 16, -722521979);\n b = md5_hh(b, c, d, a, x[i + 6], 23, 76029189);\n a = md5_hh(a, b, c, d, x[i + 9], 4, -640364487);\n d = md5_hh(d, a, b, c, x[i + 12], 11, -421815835);\n c = md5_hh(c, d, a, b, x[i + 15], 16, 530742520);\n b = md5_hh(b, c, d, a, x[i + 2], 23, -995338651);\n\n a = md5_ii(a, b, c, d, x[i + 0], 6, -198630844);\n d = md5_ii(d, a, b, c, x[i + 7], 10, 1126891415);\n c = md5_ii(c, d, a, b, x[i + 14], 15, -1416354905);\n b = md5_ii(b, c, d, a, x[i + 5], 21, -57434055);\n a = md5_ii(a, b, c, d, x[i + 12], 6, 1700485571);\n d = md5_ii(d, a, b, c, x[i + 3], 10, -1894986606);\n c = md5_ii(c, d, a, b, x[i + 10], 15, -1051523);\n b = md5_ii(b, c, d, a, x[i + 1], 21, -2054922799);\n a = md5_ii(a, b, c, d, x[i + 8], 6, 1873313359);\n d = md5_ii(d, a, b, c, x[i + 15], 10, -30611744);\n c = md5_ii(c, d, a, b, x[i + 6], 15, -1560198380);\n b = md5_ii(b, c, d, a, x[i + 13], 21, 1309151649);\n a = md5_ii(a, b, c, d, x[i + 4], 6, -145523070);\n d = md5_ii(d, a, b, c, x[i + 11], 10, -1120210379);\n c = md5_ii(c, d, a, b, x[i + 2], 15, 718787259);\n b = md5_ii(b, c, d, a, x[i + 9], 21, -343485551);\n\n a = safe_add(a, olda);\n b = safe_add(b, oldb);\n c = safe_add(c, oldc);\n d = safe_add(d, oldd);\n }\n return Array(a, b, c, d);\n}\n\n/*\n * These functions implement the four basic operations the algorithm uses.\n */\nfunction md5_cmn(q, a, b, x, s, t) {\n return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b);\n}\nfunction md5_ff(a, b, c, d, x, s, t) {\n return md5_cmn((b & c) | (~b & d), a, b, x, s, t);\n}\nfunction md5_gg(a, b, c, d, x, s, t) {\n return md5_cmn((b & d) | (c & ~d), a, b, x, s, t);\n}\nfunction md5_hh(a, b, c, d, x, s, t) {\n return md5_cmn(b ^ c ^ d, a, b, x, s, t);\n}\nfunction md5_ii(a, b, c, d, x, s, t) {\n return md5_cmn(c ^ (b | ~d), a, b, x, s, t);\n}\n\n/*\n * Add integers, wrapping at 2^32. This uses 16-bit operations internally\n * to work around bugs in some JS interpreters.\n */\nfunction safe_add(x, y) {\n var lsw = (x & 0xffff) + (y & 0xffff);\n var msw = (x >> 16) + (y >> 16) + (lsw >> 16);\n return (msw << 16) | (lsw & 0xffff);\n}\n\n/*\n * Bitwise rotate a 32-bit number to the left.\n */\nfunction bit_rol(num, cnt) {\n return (num << cnt) | (num >>> (32 - cnt));\n}\n","import { hex_md5 as HexMd5 } from \"./md5\";\n\nexport const md5 = HexMd5;\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { CardTitle, CardText } from \"react-toolbox/lib/card\";\nimport Dialog from \"react-toolbox/lib/dialog\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { md5 } from \"../../helpers/crypto\";\nimport { getErrors } from \"../../helpers/errors\";\nimport { getLanguage } from \"../../helpers/language\";\nimport UploadAttachmentsMutation from \"../attachments/uploadAttachmentsMutation\";\nimport ErrorCard from \"../shared/errorCard\";\nimport FilesInput from \"../shared/inputs/filesInput\";\nimport RadioButtonListInput from \"../shared/inputs/radioButtonListInput\";\nimport TextInput from \"../shared/inputs/textInput\";\n\nimport PersonAvatar from \"./personAvatar\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\nimport style from \"./personPictureUrlForm.style\";\n\nexport const messages = defineMessages({\n profilePicture: {\n id: \"personProfileForm.profilePicture\",\n description: \"Person settings Profile picture header\",\n defaultMessage: \"Profile picture\",\n },\n default: {\n id: \"personProfileForm.default\",\n description: \"Person settings Default label\",\n defaultMessage: \"Default (initials)\",\n },\n uploadFile: {\n id: \"personProfileForm.uploadFile\",\n description: \"Person settings Upload file\",\n defaultMessage: \"Upload an image file\",\n },\n url: {\n id: \"personProfileForm.url\",\n description: \"Person settings Use an external URL\",\n defaultMessage: \"Use an external URL\",\n },\n gravatar: {\n id: \"personProfileForm.gravatar\",\n description: \"Person settings Use Gravatar\",\n defaultMessage: \"Use a Gravatar (based on your email address)\",\n },\n whatIsGravatar: {\n id: \"personProfileForm.whatIsGravatar\",\n description: \"Person settings What is Gravatar\",\n defaultMessage: \"What is Gravatar?\",\n },\n cropAndUpload: {\n id: \"personProfileForm.cropAndUpload\",\n description: \"Person settings Crop and upload button\",\n defaultMessage: \"Crop and upload\",\n },\n});\n\nlet croppieModule = null;\n\nfunction getCroppie(): Promise {\n return new Promise((resolve) => {\n if (croppieModule) {\n resolve(croppieModule);\n return;\n }\n\n require.ensure(\n [\"croppie\", \"exif-js\", \"!style-loader!css-loader!croppie/croppie.css\"],\n (require) => {\n window.EXIF = require(\"exif-js\");\n croppieModule = require(\"croppie\");\n require(\"!style-loader!css-loader!croppie/croppie.css\");\n resolve(croppieModule);\n },\n \"croppie\"\n );\n });\n}\n\nclass PersonPictureUrlForm extends React.Component {\n static propTypes = {\n person: PropTypes.object.isRequired,\n firstName: PropTypes.string,\n lastName: PropTypes.string,\n email: PropTypes.string,\n intl: intlShape,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n previewUrl: null,\n currentUrl: props.person.pictureUrl,\n type: this.getType(props.person.pictureUrl),\n editing: false,\n uploading: false,\n errors: [],\n };\n }\n\n getType(pictureUrl) {\n let type = \"default\";\n if (pictureUrl) {\n if (pictureUrl.indexOf(\"gravatar\") >= 0) {\n type = \"gravatar\";\n } else if (pictureUrl.indexOf(document.location.host) >= 0) {\n type = \"upload\";\n }\n }\n\n return type;\n }\n\n render() {\n const t = this.props.intl.formatMessage;\n return (\n
    \n \n\n {this.state.editing ? this.renderEditing() : this.renderPreview()}\n
    \n );\n }\n\n UNSAFE_componentWillMount() {\n getCroppie();\n }\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillReceiveProps(newProps) {\n this.setState(this.buildState(this.state.type, newProps));\n }\n\n setType(e) {\n this.setState(this.buildState(e));\n }\n\n buildState(type: string, props: any) {\n props = props || this.props;\n const state = {\n type,\n };\n\n if (type === \"gravatar\") {\n const url =\n \"https://en.gravatar.com/avatar/\" + md5((props.email || \"\").toLowerCase(), \"hex\") + \".jpg\";\n state.currentUrl = url;\n state.previewUrl = url;\n } else if (type === \"default\") {\n state.currentUrl = \"\";\n state.previewUrl = \"\";\n } else if (type === \"upload\") {\n // If the original picture was an upload, set it back when switching back.\n if (this.getType(props.person.pictureUrl) === type) {\n state.currentUrl = props.person.pictureUrl;\n state.previewUrl = props.person.pictureUrl;\n }\n }\n\n return state;\n }\n\n startEditing(e) {\n e.preventDefault();\n this.setState({ editing: true, previewUrl: this.props.person.pictureUrl });\n }\n\n cancelEditing(e) {\n e.preventDefault();\n this.setState({ editing: false, previewUrl: this.props.person.pictureUrl });\n }\n\n renderEditing() {\n const t = this.props.intl.formatMessage;\n const p = this.props.person;\n const lang = getLanguage().substring(0, 2);\n return (\n
    \n {t(baseI18n.global.preview)}\n {t(baseI18n.global.colon)}{\" \"}\n {\" \"}\n (\n this.cancelEditing(e)}>\n {t(baseI18n.global.cancel)}\n \n )\n
    \n this.setType(e)}\n options={[\n {\n label: t(messages.default),\n value: \"default\",\n },\n {\n label: t(messages.uploadFile),\n value: \"upload\",\n },\n {\n label: (\n \n {t(messages.gravatar)}{\" \"}\n \n \n {t(messages.whatIsGravatar)}\n \n \n \n ),\n value: \"gravatar\",\n },\n ]}\n />\n this.setState({ currentUrl: e })}\n onBlur={(e) => this.setState({ previewUrl: e.target.value })}\n label={t(baseI18n.global.url)}\n style={{\n display: \"none\",\n }}\n />\n {this.state.type === \"upload\" && (\n
    \n {\n this.cropFile(files);\n }}\n />\n this.cancelCrop(),\n disabled: this.state.uploading,\n },\n {\n children: (\n \n {t(messages.cropAndUpload)}\n {this.state.uploading && (\n \n )}\n \n ),\n className: classnames({\n [formStyle[\"spinning-button\"]]: this.state.uploading,\n }),\n primary: true,\n onClick: () => this.uploadCropped(),\n disabled: this.state.uploading,\n },\n ]}>\n
    \n \n
    \n {this.state.errors && this.state.errors.length > 0 && (\n \n )}\n \n
    \n )}\n
    \n {this.state.errors && this.state.errors.length > 0 && (\n \n )}\n
    \n );\n }\n\n cropFile(files) {\n if (files.length >= 1) {\n this.setState({ fileToCrop: files[0] });\n getCroppie().then((croppie) => {\n this.croppie = new croppie.Croppie(document.getElementById(\"croppie\"), {\n customClass: style[\"croppie-root\"],\n enableExif: true,\n viewport: { width: 200, height: 200, type: \"circle\" },\n });\n });\n }\n }\n\n cancelCrop() {\n this.setState({ fileToCrop: null, errors: [] });\n this.croppie.destroy();\n this.croppie = null;\n }\n\n uploadCropped() {\n this.croppie.result({ type: \"blob\", format: \"jpeg\", quality: 0.75 }).then((b) => {\n b.lastModified = new Date();\n b.lastModifiedDate = new Date();\n b.name = this.state.fileToCrop.name;\n\n const ext = b.name.split(\".\").pop();\n if (ext) {\n b.name = b.name.replace(\".\" + ext, \".jpg\");\n }\n\n this.uploadFiles([b]);\n });\n }\n\n uploadFiles(files) {\n if (files.length >= 1) {\n this.setState({ uploading: true, errors: [] });\n const params = {\n fileData: files.map((x, i) => ({\n fileName: x.name,\n blobFileName: i.toString(),\n })),\n files,\n };\n\n Relay.Store.commitUpdate(new UploadAttachmentsMutation(params), {\n onSuccess: (r) => {\n const uploadedFiles = r.uploadAttachments.uploadedFiles;\n const newUrl = uploadedFiles[0].previewUrl;\n this.setState({\n previewUrl: newUrl,\n currentUrl: newUrl,\n uploading: false,\n fileToCrop: false,\n });\n this.croppie.destroy();\n this.croppie = null;\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({\n errors: this.state.errors.concat(errors),\n uploading: false,\n });\n });\n },\n });\n }\n }\n\n renderPreview() {\n const t = this.props.intl.formatMessage;\n const p = this.props.person;\n return (\n
    \n {t(baseI18n.global.preview)}\n {t(baseI18n.global.colon)}{\" \"}\n {\" \"}\n (\n this.startEditing(e)}>\n {t(baseI18n.global.edit)}\n \n )\n \n
    \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(connect()(PersonPictureUrlForm)), {\n initialVariables: {},\n fragments: {\n person: () => Relay.QL`\n fragment on IPerson {\n pictureUrl\n ${PersonAvatar.getFragment(\"person\")}\n }`,\n },\n});\n","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./ratingInput.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./ratingInput.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./ratingInput.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".button__button___2-qZN{overflow:hidden;white-space:break-spaces;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"button\": \"button__button___2-qZN\"\n};","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".appBar__appBar___eDt6w.appBar__fixed___2xzvH{margin:0 auto}@media all and (max-width: 40rem){.appBar__appBar___eDt6w.appBar__fixed___2xzvH{padding-right:0;padding-left:1.75rem}.appBar__appBar___eDt6w.appBar__fixed___2xzvH [data-react-toolbox=\\\"input\\\"]{margin-left:3rem}.appBar__appBar___eDt6w.appBar__fixed___2xzvH [data-react-toolbox=\\\"input\\\"] [data-react-toolbox=\\\"font-icon\\\"]{left:-3.5rem}.appBar__appBar___eDt6w.appBar__fixed___2xzvH>div>[data-react-toolbox=\\\"font-icon\\\"]{width:3rem}.appBar__appBar___eDt6w.appBar__fixed___2xzvH img{margin-right:0.25rem}}.appBar__appBar___eDt6w.appBar__fixed___2xzvH img{height:55px;margin-right:1rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"appBar\": \"appBar__appBar___eDt6w\",\n\t\"fixed\": \"appBar__fixed___2xzvH\"\n};","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./DepartmentInformation.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./DepartmentInformation.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./DepartmentInformation.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./Toolbar.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./Toolbar.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./Toolbar.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Toolbar-style__header___1OY8d{background-color:#f6f6f6;border-bottom:1px solid #d7d7d7;display:flex;justify-content:flex-end;padding:0.8em 0.5em}@media print{.Toolbar-style__header___1OY8d{display:none !important}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"header\": \"Toolbar-style__header___1OY8d\"\n};","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".HandWrittenSignature-styles__container___16FnK{margin-bottom:2rem}.HandWrittenSignature-styles__container___16FnK .HandWrittenSignature-styles__signed-on___31Ya4{min-width:15rem}.HandWrittenSignature-styles__container___16FnK .HandWrittenSignature-styles__signed-on___31Ya4 .HandWrittenSignature-styles__label___ekAjr{font-weight:bold}.HandWrittenSignature-styles__container___16FnK .HandWrittenSignature-styles__reset-button-container___3WNRQ .HandWrittenSignature-styles__button___1Bb9a{padding:0}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"container\": \"HandWrittenSignature-styles__container___16FnK\",\n\t\"signed-on\": \"HandWrittenSignature-styles__signed-on___31Ya4\",\n\t\"label\": \"HandWrittenSignature-styles__label___ekAjr\",\n\t\"reset-button-container\": \"HandWrittenSignature-styles__reset-button-container___3WNRQ\",\n\t\"button\": \"HandWrittenSignature-styles__button___1Bb9a\"\n};","import PropTypes from \"prop-types\";\n\nexport const PatientConversationPermissionsPropTypes = PropTypes.shape({\n canAddMessages: PropTypes.bool,\n canAddParticipants: PropTypes.bool,\n canViewClinicalNotes: PropTypes.bool,\n canAddClinicalNotes: PropTypes.bool,\n canViewPatientHeader: PropTypes.bool,\n canViewConclusionHeader: PropTypes.bool,\n canAllowPatientToRespond: PropTypes.bool,\n canComplete: PropTypes.bool,\n canArchive: PropTypes.bool,\n canCancel: PropTypes.bool,\n cancelRequiresReason: PropTypes.bool,\n});\n","import PropTypes from \"prop-types\";\n\nimport { GenericDestinationPropTypes } from \"../GenericDestination/index\";\n\nexport const CaseExtraDataPropTypes = PropTypes.shape({\n destinations: PropTypes.arrayOf(GenericDestinationPropTypes),\n});\n","import PropTypes from \"prop-types\";\n\nimport { PatientConversationPropTypes } from \"~/src/js/components/forms/PATIENT/PropTypes\";\nimport { DateTimePropTypes } from \"~/src/js/PropTypes/DateTime\";\n\nimport { PatientConversationPermissionsPropTypes } from \"./PatientConversationPermissionsPropTypes\";\nimport { RequesterPropTypes } from \"./RequesterPropTypes\";\nimport { CaseExtraDataPropTypes } from \"./CaseExtraDataPropTypes\";\n\nexport const CaseDataPropTypes = PropTypes.shape({\n id: PropTypes.string,\n isDraftStatus: PropTypes.bool,\n legacyId: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n patient: PropTypes.array,\n patientConversation: PatientConversationPropTypes,\n permissions: PropTypes.oneOfType([PatientConversationPermissionsPropTypes]),\n requester: RequesterPropTypes,\n toDepartment: PropTypes.object,\n updatedAt: DateTimePropTypes,\n extraData: CaseExtraDataPropTypes,\n});\n","import classnames from \"classnames\";\nimport { withFormsy } from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Input from \"react-toolbox/lib/input\";\n\nimport { SelectInput } from \"~/src/js/components/shared/inputs/SelectInput/SelectInput\";\n\nimport formStyle from \"../../../../styles/forms\";\nimport inputStyle from \"../../../../styles/theme/main/input\";\nimport { parseToCalendarDate } from \"../../../helpers/dates\";\n\nimport { shouldShowError, isMobileDevice, isInputTypeSupported } from \"./inputHelpers\";\n\nconst isMonthInputSupported = isInputTypeSupported(\"month\");\n\nexport const getYearOptions = (startYear: number, numberOfYears: number, maxYear?: number) => {\n const yearList = [{ value: \"\", label: \"\" }];\n const max = maxYear ? maxYear : startYear + numberOfYears;\n\n for (let i = 0; startYear + i <= max && i < numberOfYears; i++) {\n const currentYear = startYear + i;\n yearList.push({ value: currentYear, label: currentYear.toString() });\n }\n\n return yearList;\n};\n\nexport const getMonthOptions = (nowYear?: number, selectedYear?: number, maxMonth?: number) => {\n const months = [\n { value: \"\", label: \"\" },\n { value: 1, label: \"01\" },\n { value: 2, label: \"02\" },\n { value: 3, label: \"03\" },\n { value: 4, label: \"04\" },\n { value: 5, label: \"05\" },\n { value: 6, label: \"06\" },\n { value: 7, label: \"07\" },\n { value: 8, label: \"08\" },\n { value: 9, label: \"09\" },\n { value: 10, label: \"10\" },\n { value: 11, label: \"11\" },\n { value: 12, label: \"12\" },\n ];\n\n if (selectedYear < nowYear || maxMonth === undefined || maxMonth === null) {\n return months;\n }\n\n return months.filter((month) => month.value - 1 <= maxMonth || month.value === \"\");\n};\n\nexport const getValidDateFromMonthAndYear = (month?: number, year?: number) => {\n if (month && year) {\n return new Date(year, month - 1, 1);\n } else {\n return undefined;\n }\n};\n\nexport class _MonthPickerInput extends React.Component {\n static propTypes = {\n labelMonth: PropTypes.string.isRequired,\n labelYear: PropTypes.string.isRequired,\n label: PropTypes.string.isRequired,\n value: PropTypes.instanceOf(Date),\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n required: PropTypes.bool,\n isMobileOverride: PropTypes.bool,\n autoFocus: PropTypes.bool,\n errorMessage: PropTypes.string,\n isPristine: PropTypes.bool,\n isFormSubmitted: PropTypes.bool,\n showError: PropTypes.bool,\n yearOptionsListName: PropTypes.string,\n monthOptionsListName: PropTypes.string,\n maxDate: PropTypes.object,\n };\n\n // eslint-disable-next-line camelcase\n UNSAFE_componentWillMount() {\n const d = this.props.value;\n this.setState({\n month: d ? d.getMonth() + 1 : null,\n year: d ? d.getYear() + 1900 : null,\n });\n }\n\n setMonth(month: number): void {\n this.setState({ month });\n this.setDate(month, this.state.year);\n }\n\n setYear(year: number): void {\n const { maxDate } = this.props;\n const { month } = this.state;\n if (maxDate && maxDate.getFullYear() === year) {\n const newMonth = month <= maxDate.getMonth() + 1 ? month : maxDate.getMonth() + 1;\n this.setState({ year, month: newMonth });\n this.setDate(newMonth, year);\n } else {\n this.setState({ year });\n this.setDate(this.state.month, year);\n }\n }\n\n setDate(month?: number, year?: number) {\n const date = getValidDateFromMonthAndYear(month, year);\n this.props.setValue(date);\n }\n\n onChange(date: string) {\n if (date) {\n const parsedDate = parseToCalendarDate(date + \"-01\");\n this.props.setValue(parsedDate);\n this.setState({\n year: parsedDate.getYear() + 1900,\n month: parsedDate.getMonth() + 1,\n });\n } else {\n this.props.setValue(undefined);\n this.setState({ year: null, month: null });\n }\n }\n\n render() {\n const {\n label,\n labelMonth,\n labelYear,\n icon,\n autoFocus,\n isPristine,\n showError,\n isFormSubmitted,\n errorMessage,\n monthOptionsListName,\n yearOptionsListName,\n maxDate,\n } = this.props;\n const maxYear = maxDate ? maxDate.getFullYear() : null;\n const maxMonth = maxDate ? maxDate.getMonth() + 1 : null;\n const commonPropsSelectProps = {\n showError,\n isPristine,\n isFormSubmitted,\n errorMessage,\n };\n\n const startDateForYearList = new Date();\n startDateForYearList.setFullYear(startDateForYearList.getFullYear() - 30);\n const value = this.props.value;\n const topClassNames = classnames({\n [inputStyle[\"required-field\"]]: this.props.isRequired && !value,\n });\n if (this.props.isMobileOverride || (isMonthInputSupported && isMobileDevice)) {\n let monthValue = \"\";\n if (this.state.month && this.state.year) {\n const monthString = this.state.month.toString();\n monthValue = this.state.year + \"-\" + \"00\".substr(0, 2 - monthString.length) + monthString;\n }\n\n return (\n \n );\n } else {\n return (\n
    \n \n \n
    \n );\n }\n }\n}\n\nexport default withFormsy(_MonthPickerInput);\n","\nvar content = require(\"!!../../../node_modules/css-loader/index.js??ref--9-1!../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../node_modules/toolbox-loader/index.js!./commons.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../node_modules/css-loader/index.js??ref--9-1!../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../node_modules/toolbox-loader/index.js!./commons.scss\", function() {\n\t\tvar newContent = require(\"!!../../../node_modules/css-loader/index.js??ref--9-1!../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../node_modules/toolbox-loader/index.js!./commons.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".cases__case-table-row___KrwTG{white-space:nowrap;overflow:hidden}.cases__case-table-row___KrwTG thead th{color:#000;border-bottom:1.5px solid #000;padding:0 0.8rem}.cases__case-table-row___KrwTG tbody tr td{width:100px}.cases__case-table-row___KrwTG tbody tr [data-react-toolbox=\\\"check\\\"]{width:1.8rem}.cases__case-table-controls___1FM_d button{margin:1rem 0}.cases__cell-count___35e2x{width:8em;box-shadow:none !important;color:#000 !important;background-color:#fff !important}.cases__table-header___2jwaI{box-shadow:none !important;color:#000 !important;background-color:#fff !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"case-table-row\": \"cases__case-table-row___KrwTG\",\n\t\"case-table-controls\": \"cases__case-table-controls___1FM_d\",\n\t\"cell-count\": \"cases__cell-count___35e2x\",\n\t\"table-header\": \"cases__table-header___2jwaI\"\n};","exports = module.exports = require(\"../../../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".InviteToQuestionnaire-style__questionnaire-to-fill-container___1hWks .InviteToQuestionnaire-style__dropdown___2yx4O{padding-right:2rem}.InviteToQuestionnaire-style__invite-button___2tq37{padding-top:2rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"questionnaire-to-fill-container\": \"InviteToQuestionnaire-style__questionnaire-to-fill-container___1hWks\",\n\t\"dropdown\": \"InviteToQuestionnaire-style__dropdown___2yx4O\",\n\t\"invite-button\": \"InviteToQuestionnaire-style__invite-button___2tq37\"\n};","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./genericPrintContainer.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./genericPrintContainer.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./genericPrintContainer.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./tabs.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./tabs.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./tabs.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./textAreaInput.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./textAreaInput.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./textAreaInput.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import React from \"react\";\nimport { themr } from \"react-css-themr\";\n\nimport { Avatar } from \"../node_modules/react-toolbox/lib/avatar\";\nimport { Checkbox } from \"../node_modules/react-toolbox/lib/checkbox\";\nimport { LIST } from \"../node_modules/react-toolbox/lib/identifiers.js\";\nimport { listFactory } from \"../node_modules/react-toolbox/lib/list/List.js\";\nimport { listCheckboxFactory } from \"../node_modules/react-toolbox/lib/list/ListCheckbox.js\";\nimport { ListDivider } from \"../node_modules/react-toolbox/lib/list/ListDivider.js\";\nimport { listItemFactory } from \"../node_modules/react-toolbox/lib/list/ListItem.js\";\nimport { ListItemAction } from \"../node_modules/react-toolbox/lib/list/ListItemAction.js\";\nimport { listItemActionsFactory } from \"../node_modules/react-toolbox/lib/list/ListItemActions.js\";\nimport { listItemContentFactory } from \"../node_modules/react-toolbox/lib/list/ListItemContent.js\";\nimport { listItemLayoutFactory } from \"../node_modules/react-toolbox/lib/list/ListItemLayout.js\";\nimport { ListItemText } from \"../node_modules/react-toolbox/lib/list/ListItemText.js\";\nimport { ListSubHeader } from \"../node_modules/react-toolbox/lib/list/ListSubHeader.js\";\nimport theme from \"../node_modules/react-toolbox/lib/list/theme.scss\";\nimport themedRippleFactory from \"../node_modules/react-toolbox/lib/ripple\";\n\nconst applyTheme = (Component) => themr(LIST, theme)(Component);\nconst ripple = themedRippleFactory({ centered: false, listItemIgnore: true });\nconst ThemedListItemAction = applyTheme(ListItemAction);\nconst ThemedListSubHeader = applyTheme(ListSubHeader);\nconst ThemedListItemText = applyTheme(ListItemText);\nconst ThemedListDivider = applyTheme(ListDivider);\nconst ThemedListItemContent = applyTheme(listItemContentFactory(ThemedListItemText));\nconst ThemedListItemActions = applyTheme(listItemActionsFactory(ThemedListItemAction));\nconst ThemedListItemLayout = applyTheme(\n listItemLayoutFactory(Avatar, ThemedListItemContent, ThemedListItemActions)\n);\nconst ThemedListCheckbox = applyTheme(listCheckboxFactory(Checkbox, ThemedListItemContent));\nlet listItemReference = null;\nconst FactoriedListItem = listItemFactory(\n (x) => {\n listItemReference = x;\n return ripple(x);\n },\n ThemedListItemLayout,\n ThemedListItemContent\n);\nconst ThemedList = applyTheme(listFactory(ThemedListItem));\n\n// Copied from ../node_modules/react-toolbox/lib/tabs/Tabs.js because somehow the default\n// item.type === ThemedTab does not work! Monkey patch ahoy, but only for development apparently!\nif (process.env.NODE_ENV !== \"production\") {\n listItemReference.prototype.groupChildren = function () {\n const children = {\n leftActions: [],\n rightActions: [],\n ignored: [],\n };\n\n React.Children.forEach(this.props.children, (child, i) => {\n if (!React.isValidElement(child)) {\n return;\n }\n\n const { listItemIgnore, ...rest } = child.props;\n const strippedChild = { ...child, ...{ props: rest } };\n\n if (listItemIgnore) {\n children.ignored.push(strippedChild);\n return;\n }\n if (child.type.prototype instanceof ThemedListItemContent) {\n children.itemContent = strippedChild;\n return;\n }\n const bucket = children.itemContent ? \"rightActions\" : \"leftActions\";\n children[bucket].push({ ...strippedChild, key: i });\n });\n\n return children;\n };\n}\n\nconst ThemedListItem = applyTheme(FactoriedListItem);\n\nexport { ThemedListItemActions as ListItemActions };\nexport { ThemedListItemContent as ListItemContent };\nexport { ThemedListItemLayout as ListItemLayout };\nexport { ThemedListSubHeader as ListSubHeader };\nexport { ThemedListItemText as ListItemText };\nexport { ThemedListCheckbox as ListCheckbox };\nexport { ThemedListDivider as ListDivider };\nexport { ThemedListItem as ListItem };\nexport { ThemedList as List };\n","import Relay from \"react-relay/classic\";\n\nexport const dynamicListFragment = Relay.QL`\n fragment on DynamicListItemConnection {\n edges {\n node {\n id\n code\n value\n }\n }\n }\n`;\n\nexport const mapDynamicList = (list) => {\n return list.edges.map((x) => ({\n label: x.node.value,\n value: x.node.id,\n }));\n};\n\nexport const mapDynamicListToDict = (list) => {\n return Object.assign({}, ...list.edges.map((x) => ({ [x.node.id]: x.node.value })));\n};\n","import ErrorsContainer from \"./ErrorsContainer\";\n\nexport { ErrorsContainer };\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport Avatar from \"react-toolbox/lib/avatar\";\nimport Chip from \"react-toolbox/lib/chip\";\n\nimport style from \"../../../styles/cardList\";\nimport successChipTheme from \"../../../styles/successChip.theme\";\nimport warningChipTheme from \"../../../styles/warningChip.theme\";\nimport { featureKeys, isEnabled } from \"../../helpers/features\";\nimport { highlightResults, formatHealthInsuranceNumber } from \"../../helpers/strings\";\n\nimport HighlightedText from \"./highlightedText\";\n\nconst messages = defineMessages({\n departmentCount: {\n id: \"patientRow.departmentCount\",\n description: \"Department count label\",\n defaultMessage: `{count, plural,\n =0 {no invitations}\n one {{count} invitation}\n other {{count} invitations}\n }`,\n },\n caseCount: {\n id: \"patientRow.caseCount\",\n description: \"Case count label\",\n defaultMessage: `{count, plural,\n =0 {no cases}\n one {{count} case}\n other {{count} cases}\n }`,\n },\n});\n\nclass HealthInsuranceChip extends React.Component {\n static propTypes = {\n intl: intlShape,\n query: PropTypes.string,\n caseId: PropTypes.number,\n patient: PropTypes.object.isRequired,\n patientProfileUrl: PropTypes.string,\n contextInformation: PropTypes.object,\n features: PropTypes.arrayOf(PropTypes.string),\n };\n\n render() {\n const p = this.props.patient;\n const h = highlightResults.bind(undefined, this.props.query);\n const showUniqueId = Boolean(p.uniqueId);\n const healthInsurance = h(formatHealthInsuranceNumber(p.healthInsurance));\n const id = (this.props.caseId || \"\").toString();\n\n return (\n
    \n {this.props.caseId && (\n \n \n \n \n )}\n {healthInsurance && (\n \n \n \n \n )}\n {showUniqueId && (\n \n \n \n )}\n {this.renderMrns(h)}\n {this.renderDepartments()}\n {this.renderCases(h)}\n {this.renderUser()}\n
    \n );\n }\n\n renderMrns(h) {\n const c = this.props.contextInformation;\n if (!c || !c.hospitals) {\n return null;\n }\n\n return c.hospitals.edges.map((x) => {\n const chip = (\n \n \n \n \n );\n\n return this.props.patientProfileUrl ? (\n \n {chip}\n \n ) : (\n chip\n );\n });\n }\n\n renderCases() {\n const c = this.props.contextInformation;\n if (!c || !c.cases || c.cases.edges.length === 0) {\n return null;\n }\n\n const className = classnames(style[\"metadata\"], style[\"important\"]);\n const chip = (\n \n \n {this.props.intl.formatMessage(messages.caseCount, {\n count: c.cases.totalCount,\n })}\n \n );\n\n return this.props.patientProfileUrl ? (\n {chip}\n ) : (\n chip\n );\n }\n\n renderDepartments() {\n const { contextInformation: c, features: f } = this.props;\n if (\n !c ||\n !f ||\n !c.departments ||\n c.departments.length === 0 ||\n !isEnabled(f, featureKeys.PatientInvitations)\n ) {\n return null;\n }\n\n const className = classnames(style[\"metadata\"], style[\"important\"]);\n const chip = (\n \n \n {this.props.intl.formatMessage(messages.departmentCount, {\n count: c.departments.length,\n })}\n \n );\n\n return this.props.patientProfileUrl ? (\n {chip}\n ) : (\n chip\n );\n }\n\n renderUser() {\n const { contextInformation: c, features: f } = this.props;\n if (!c || !f || !c.user || !isEnabled(f, featureKeys.PatientInvitations)) {\n return null;\n }\n\n const theme = c.user.isConfirmed ? successChipTheme : warningChipTheme;\n\n const className = classnames(style[\"metadata\"]);\n\n const chip = (\n \n \n {c.user.userName}\n \n );\n\n return this.props.patientProfileUrl ? (\n {chip}\n ) : (\n chip\n );\n }\n}\n\nexport default injectIntl(HealthInsuranceChip);\n","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".ClinicalDomain-style__name___1hJU0{font-size:16px;font-weight:600}.ClinicalDomain-style__priority-item___TO4nw{padding-top:1rem;padding-bottom:1rem;border-bottom:1px solid #f2f2f2}.ClinicalDomain-style__priority-item___TO4nw :last-child{border-bottom:none}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"name\": \"ClinicalDomain-style__name___1hJU0\",\n\t\"priority-item\": \"ClinicalDomain-style__priority-item___TO4nw\"\n};","import classnames from \"classnames\";\nimport { withFormsy } from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { themr } from \"react-css-themr\";\nimport { DatePickerDialog } from \"react-toolbox/lib/date_picker\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport Input from \"react-toolbox/lib/input\";\n\nimport inputStyle from \"../../../../styles/theme/main/input\";\nimport { serializeDate, parseToCalendarDate, isValidDate } from \"../../../helpers/dates\";\n\nimport MaskedInput from \"./custom/maskedInputWrapper\";\nimport { shouldShowError, isMobileDevice, isInputTypeSupported } from \"./inputHelpers\";\nimport { predefinedMasks } from \"./textInput\";\n\nimport textInputStyle from \"./textInput.style\";\n\nconst isDateInputSupported = isInputTypeSupported(\"date\");\n\nexport class _DatePickerInput extends React.Component {\n static propTypes = {\n disabled: PropTypes.bool,\n name: PropTypes.string.isRequired,\n label: PropTypes.string,\n value: PropTypes.any,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n hint: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n required: PropTypes.bool,\n theme: PropTypes.any,\n autoFocus: PropTypes.bool,\n autoOk: PropTypes.bool,\n maxDate: PropTypes.object,\n minDate: PropTypes.object,\n className: PropTypes.string,\n onChange: PropTypes.func,\n errorMessage: PropTypes.string,\n };\n\n constructor(props) {\n super(props);\n const s = serializeDate(this.props.value);\n this.state = {\n active: false,\n date: s,\n };\n }\n\n onChange(e) {\n const d = parseToCalendarDate(e);\n this.props.setValue(isValidDate(d) ? d : e);\n this.setState({ date: e });\n\n // Hack required to update dialog with date manually entered.\n if (this.datePickerDialog && isValidDate(d)) {\n this.datePickerDialog.setState({ date: d });\n }\n\n if (this.props.onChange) {\n this.props.onChange(d);\n }\n }\n\n componentDidUpdate(prevProps) {\n if ((prevProps.value || \"\").toString() !== (this.props.value || \"\").toString()) {\n const d = parseToCalendarDate(this.props.value);\n if (isValidDate(d)) {\n const asString = serializeDate(d);\n this.setState({ date: asString });\n }\n\n if (this.props.onChange) {\n this.props.onChange(d);\n }\n }\n }\n\n handleDismiss() {\n this.setState({ active: false });\n }\n\n handleSelect(value) {\n const d = parseToCalendarDate(value);\n this.props.setValue(d);\n this.setState({ date: serializeDate(d) });\n this.handleDismiss();\n\n if (this.props.onChange) {\n this.props.onChange(d);\n }\n }\n\n render() {\n const errorMessage = this.props.errorMessage || this.state.error;\n const showError = shouldShowError(this);\n const { label, icon, autoFocus, name, hint, theme, disabled } = this.props;\n const hasHint = Boolean(hint);\n const d = this.props.value;\n const dateValue = serializeDate(d);\n const topClassNames = classnames({\n [inputStyle[\"required-field\"]]: this.props.isRequired && !d,\n });\n const classNames = classnames({\n [theme[\"with-hint\"]]: hasHint && !(showError && errorMessage),\n });\n\n if (isDateInputSupported && isMobileDevice) {\n return (\n \n );\n } else {\n let asDate = d;\n if (typeof asDate === \"string\") {\n asDate = new Date(asDate);\n }\n if (!isValidDate(d)) {\n asDate = new Date();\n }\n\n return (\n \n );\n }\n }\n}\n\nconst ThemedDatePickerInput = themr(\"AKDatePickerInput\", textInputStyle)(_DatePickerInput);\nexport default withFormsy(ThemedDatePickerInput);\n","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./MetadataContainer.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./MetadataContainer.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./MetadataContainer.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".DepartmentInformation-style__link-name___ymazv{color:#004ba0;cursor:help;display:inline !important;opacity:1 !important}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"link-name\": \"DepartmentInformation-style__link-name___ymazv\"\n};","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".NewGenericRequest-style__form-container___2MtdK{margin-bottom:10rem}.NewGenericRequest-style__actions___3XPyu{text-align:right;margin-top:1rem;border-top:1px solid #ccc;padding:1rem;display:flex;flex-wrap:wrap}@media print{.NewGenericRequest-style__actions___3XPyu{display:none !important}}@media (max-width: 641px){.NewGenericRequest-style__add___1IqjJ{margin-left:15px}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"form-container\": \"NewGenericRequest-style__form-container___2MtdK\",\n\t\"actions\": \"NewGenericRequest-style__actions___3XPyu\",\n\t\"add\": \"NewGenericRequest-style__add___1IqjJ\"\n};","import * as signalR from \"@microsoft/signalr\";\n\nimport { URLs } from \"../constants\";\n\nimport { getToken } from \"./authentication\";\nimport { clientFeatureKeys, isClientFeatureEnabled } from \"./features\";\n\nexport function initSignalR() {\n if (!isClientFeatureEnabled(clientFeatureKeys.SignalR)) {\n return;\n }\n\n const connection = new signalR.HubConnectionBuilder()\n .withUrl(URLs.getUpdateHubUrl(), {\n accessTokenFactory: () => {\n return getToken();\n },\n })\n .withAutomaticReconnect([0, 1000, 5000, 15000, 30000])\n .build();\n\n /* eslint-disable no-console */\n connection.on(\"Test\", (payload) => {\n console.log(\"Received Test message \", payload);\n dispatchEvent(\"Test\", payload);\n });\n\n connection.on(\"CaseUpdated\", (id, legacyId, onlyAffectsCase) => {\n const payload = { id, legacyId, onlyAffectsCase };\n console.log(\"Received message CaseUpdated with data \", payload);\n dispatchEvent(\"CaseUpdated\", payload);\n });\n\n connection.on(\"PatientUpdated\", (id, legacyId) => {\n const payload = { id, legacyId };\n console.log(\"Received message PatientUpdated with data \", payload);\n dispatchEvent(\"PatientUpdated\", payload);\n });\n\n connection.on(\"UserUpdated\", (userName) => {\n const payload = { userName };\n console.log(\"Received message UserUpdated with data \", payload);\n dispatchEvent(\"UserUpdated\", payload);\n });\n\n connection.start().catch((err) => {\n return console.error(err.toString());\n });\n}\n\nconst updates = {};\n\nfunction dispatchEvent(type, payload) {\n const evt = { type, payload };\n\n Object.values(updates).forEach((u) => {\n if (u.callback) {\n u.callback(evt);\n } else {\n u.queued.push(evt);\n }\n });\n}\n\nexport function subscribeToUpdates(name, callback) {\n if (!updates[name]) {\n updates[name] = {\n callback,\n queued: [],\n };\n } else {\n updates[name].callback = callback;\n while (updates[name].queued.length > 0) {\n const item = updates[name].queued.shift();\n callback(item);\n }\n }\n}\n\nexport function unsubscribeFromUpdates(name) {\n if (updates[name]) {\n updates[name].callback = null;\n }\n}\n","import classnames from \"classnames\";\nimport throttle from \"lodash.throttle\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { parseToCalendarDate } from \"../../helpers/dates\";\nimport MonthPickerInput from \"../shared/inputs/monthPickerInput\";\nimport PhysicianInput from \"../users/physicians/physicianInput\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport const messages = defineMessages({});\n\nexport const build = (data) => {\n if (data.physician && data.physician.id) {\n return {\n physicianId: data.physician.id,\n since: data.physician.since,\n };\n }\n\n return undefined;\n};\n\nexport class _FamilyPhysicianFields extends React.Component {\n static propTypes = {\n patient: PropTypes.object.isRequired,\n viewer: PropTypes.object.isRequired,\n intl: intlShape,\n };\n\n constructor(props) {\n super(props);\n\n this.throttledSearchPhysicians = throttle(this.searchPhysicians.bind(this), 500, {\n leading: false,\n });\n\n this.state = {\n physician: undefined,\n };\n }\n\n render() {\n const { patient, intl } = this.props;\n const f = intl.formatMessage;\n const maxDate = new Date();\n\n let physician = this.state.physician;\n if (typeof physician === \"undefined\" && patient.familyPhysician) {\n physician = patient.familyPhysician.physician;\n }\n return (\n
    \n {\n this.setState({ physician: p });\n }}\n allowCreation\n />\n\n \n
    \n );\n }\n\n searchPhysicians(q: string) {\n this.setState({ searchingPhysicians: true });\n this.props.relay.setVariables({ physiciansQuery: q }, (readyState) => {\n if (readyState.done || readyState.error) {\n this.setState({ searchingPhysicians: false });\n }\n });\n }\n}\n\nexport default Relay.createContainer(injectIntl(_FamilyPhysicianFields), {\n initialVariables: {\n physiciansQuery: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n\n ${PhysicianInput.getFragment(\"viewer\")}\n }\n `,\n patient: () => Relay.QL`\n fragment on Patient {\n familyPhysician {\n physician {\n ${PhysicianInput.getFragment(\"physician\")}\n id\n fullName\n firstName\n lastName\n }\n since\n }\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport { Card } from \"@akinoxsolutions/gerudo-ui\";\n\nimport FamilyPhysicianFields, { build } from \"./familyPhysicianFields\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport class _FamilyPhysicianFieldset extends React.Component {\n static propTypes = {\n patient: PropTypes.object.isRequired,\n viewer: PropTypes.object.isRequired,\n intl: intlShape,\n dispatch: PropTypes.func,\n };\n\n constructor(props) {\n super(props);\n }\n\n render() {\n const { viewer, patient, intl } = this.props;\n const f = intl.formatMessage;\n return (\n \n \n \n );\n }\n}\n\nexport { build as buildFamilyPhysician };\n\nexport default Relay.createContainer(injectIntl(connect()(_FamilyPhysicianFieldset)), {\n initialVariables: {},\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${FamilyPhysicianFields.getFragment(\"viewer\")}\n }\n `,\n patient: () => Relay.QL`\n fragment on Patient {\n ${FamilyPhysicianFields.getFragment(\"patient\")}\n }\n `,\n },\n});\n","import Relay from \"react-relay/classic\";\n\nexport default class ChangePasswordMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(ChangePasswordMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { changePassword }`;\n }\n\n getVariables() {\n return {\n userId: this.props.userId,\n oldPassword: this.props.oldPassword,\n newPassword: this.props.newPassword,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ChangePasswordPayload {\n user\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on ChangePasswordPayload {\n user\n }\n `,\n ],\n },\n ];\n }\n}\n","import Relay from \"react-relay/classic\";\n\nexport default class ResetPasswordMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(ResetPasswordMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { resetPassword }`;\n }\n\n getVariables() {\n return {\n userId: this.props.userId,\n newPassword: this.props.newPassword,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ResetPasswordPayload {\n user\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on ResetPasswordPayload {\n user\n }\n `,\n ],\n },\n ];\n }\n}\n","import classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport React, { Component } from \"react\";\nimport { injectIntl, defineMessages, InjectedIntlProps } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay, { InjectedRelayProps, Tran } from \"react-relay/classic\";\nimport { Button } from \"@akinoxsolutions/gerudo-ui/dist/Button\";\nimport { Card } from \"@akinoxsolutions/gerudo-ui/dist/Card\";\nimport Dialog from \"react-toolbox/lib/dialog\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport { changePasswordFormRelayuser } from \"~/src/__generated__/changePasswordFormRelayuser.graphql\";\n\nimport formStyle from \"../../../styles/forms.scss\";\nimport { getErrors, handleFormsyInvalidSubmit } from \"../../helpers/errors\";\nimport { showDialogNotice } from \"../../stores/app/actions\";\nimport ErrorCard from \"../shared/errorCard\";\nimport PasswordInput, { messages as passwordMessages } from \"../shared/inputs/passwordInput\";\nimport { messages as userMessages } from \"../users/confirmRegistrationPage\";\n\nimport ChangePasswordMutation from \"./changePasswordMutation\";\nimport ResetPasswordMutation from \"./resetPasswordMutation\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n changePassword: {\n id: \"changePasswordDialog.changePassword\",\n description: \"Change Password\",\n defaultMessage: \"Change password\",\n },\n oldPassword: {\n id: \"changePasswordDialog.oldPassword\",\n description: \"Old Password\",\n defaultMessage: \"Old password\",\n },\n newPassword: {\n id: \"changePasswordDialog.newPassword\",\n description: \"New Password\",\n defaultMessage: \"New password\",\n },\n passwordUpdated: {\n id: \"changePasswordDialog.passwordUpdated\",\n description: \"Password Updated Successfully text for snackbar\",\n defaultMessage: \"Password updated successfully\",\n },\n generatePassword: {\n id: \"changePasswordDialog.generatePassword\",\n description: \"Generate password button label\",\n defaultMessage: \"Generate password\",\n },\n generatedPasswordIs: {\n id: \"changePasswordDialog.generatedPasswordIs\",\n description: \"Text to show generated password\",\n defaultMessage: \"Your generated password is: {password}\",\n },\n});\n\ninterface ChangePasswordFormProps extends InjectedRelayProps, InjectedIntlProps {\n user: changePasswordFormRelayuser;\n dispatch: (action: unknown) => void;\n buttonOnly?: boolean;\n disabled?: boolean;\n style?: Record;\n}\n\ninterface ChangePasswordFormState {\n changingPassword: boolean;\n errors: string[];\n saving: boolean;\n}\n\nclass ChangePasswordForm extends Component {\n private form?: Formsy | null;\n\n constructor(props) {\n super(props);\n\n this.state = {\n changingPassword: false,\n errors: [],\n saving: false,\n };\n }\n\n handleChangePassword(data) {\n const t = this.props.intl.formatMessage;\n this.setState({ saving: true, errors: [] });\n const mutation = this.props.user.permissions.canResetPassword\n ? new ResetPasswordMutation({\n userId: this.props.user.id,\n newPassword: data.newPassword,\n })\n : new ChangePasswordMutation({\n userId: this.props.user.id,\n newPassword: data.newPassword,\n oldPassword: data.oldPassword,\n });\n Relay.Store.commitUpdate(mutation, {\n onSuccess: () => {\n if (this.form) {\n this.form.reset();\n }\n\n this.setState({ saving: false, changingPassword: false });\n this.props.dispatch(showDialogNotice(t(messages.passwordUpdated)));\n },\n onFailure: (r: Tran) => {\n getErrors(r).then((errors) => {\n this.setState({\n errors: this.state.errors.concat(errors),\n saving: false,\n });\n });\n },\n });\n }\n\n render() {\n const t = this.props.intl.formatMessage;\n const closeDialog = () => this.setState({ changingPassword: false });\n const actions = [\n {\n label: t(baseI18n.global.close),\n onClick: closeDialog,\n disabled: this.state.saving,\n },\n {\n children: (\n \n {t(baseI18n.global.save)}\n {this.state.saving && (\n \n )}\n \n ),\n className: classnames({\n [formStyle[\"spinning-button\"]]: this.state.saving,\n }),\n onClick: () => this.form && this.form.submit(),\n primary: true,\n disabled: this.state.saving,\n },\n ];\n return (\n
    \n {this.props.buttonOnly ? (\n this.setState({ changingPassword: true })}\n {...{ style: this.props.style }}>\n {t(messages.changePassword)}\n \n ) : (\n \n this.setState({ changingPassword: true })}\n disabled={this.props.disabled}>\n {t(messages.changePassword)}\n \n \n )}\n {this.state.changingPassword && (\n \n {this.renderDialog()}\n \n // TODO GERU : CHANGE FOR MODAL\n )}\n
    \n );\n }\n\n renderDialog() {\n const t = this.props.intl.formatMessage;\n return (\n
    \n this.handleChangePassword(data)}\n onInvalidSubmit={() => this.form && handleFormsyInvalidSubmit(this.form)}\n noValidate\n ref={(form) => (this.form = form)}\n className={formStyle[\"card-form\"]}>\n {!this.props.user.permissions.canResetPassword && (\n \n )}\n \n \n \n\n {this.state.errors && this.state.errors.length > 0 && (\n \n )}\n
    \n );\n }\n}\n\nexport default Relay.createContainer(injectIntl(connect()(ChangePasswordForm)), {\n initialVariables: {},\n fragments: {\n user: () => Relay.QL`\n fragment changePasswordFormRelayuser on User {\n id\n userName\n person {\n id\n fullName\n }\n\n permissions {\n canResetPassword\n }\n }`,\n },\n});\n","import { defineMessages } from \"react-intl\";\n\nexport const messages = defineMessages({\n notification: {\n id: \"errors.notification\",\n description: \"Text in notification bar\",\n defaultMessage: \"An error occurred in a previous page.\",\n },\n notificationLink: {\n id: \"errors.notificationLink\",\n description: \"Text in notification bar with link\",\n defaultMessage: \"Click here to view\",\n },\n title: {\n id: \"errors.title\",\n description: \"Title of error page\",\n defaultMessage: \"An error occurred\",\n },\n noErrors: {\n id: \"errors.noErrors\",\n description: \"Message when no errors to show\",\n defaultMessage:\n \"There are no logged errors. Seemed you came here for no reason! Enjoy your day.\",\n },\n atUrl: {\n id: \"errors.atUrl\",\n description: \"Message with URL to errored page\",\n defaultMessage: `The error(s) occurred on the following page: {url}. Clicking on the link might help figure out what went wrong.`,\n },\n});\n","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@-webkit-keyframes personSettingsForm-style__error-animation___nyTji{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}@keyframes personSettingsForm-style__error-animation___nyTji{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}.personSettingsForm-style__animate-error___nT8af{background:#fff5f5;-webkit-animation:personSettingsForm-style__error-animation___nyTji 1s 3 alternate;animation:personSettingsForm-style__error-animation___nyTji 1s 3 alternate;border:2px solid #f00}.personSettingsForm-style__animate-error___nT8af *:not([data-react-toolbox]){background:transparent !important}.gerudo-input input::-webkit-input-placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input::placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input:disabled{color:#424242 !important;font-weight:400 !important}.gerudo-input input:disabled::-webkit-input-placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.gerudo-input input:disabled::placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.personSettingsForm-style__unlock___3VGsj{line-height:4.8rem}.personSettingsForm-style__unlock___3VGsj>[data-react-toolbox=\\\"font-icon\\\"]{float:left;width:4.8rem;height:4.8rem;font-size:2.4rem !important;line-height:4.8rem !important;text-align:center;color:rgba(0,0,0,0.26)}.personSettingsForm-style__radio-buttons___2WHnF [data-react-toolbox=\\\"radio-button\\\"]{display:inline-block;padding-left:0.5rem;padding-right:1rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"animate-error\": \"personSettingsForm-style__animate-error___nT8af\",\n\t\"error-animation\": \"personSettingsForm-style__error-animation___nyTji\",\n\t\"unlock\": \"personSettingsForm-style__unlock___3VGsj\",\n\t\"radio-buttons\": \"personSettingsForm-style__radio-buttons___2WHnF\"\n};","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import PropTypes from \"prop-types\";\n\nimport { HospitalPropTypes } from \"../Hospital/index\";\n\nexport const HospitalEdgePropTypes = PropTypes.shape({\n node: {\n hospital: HospitalPropTypes,\n permissions: PropTypes.object,\n },\n});\n\nexport const PatientHospitalsPropTypes = PropTypes.shape({\n edges: PropTypes.arrayOf(HospitalEdgePropTypes),\n});\n","import { CaseDataPropTypes } from \"./CaseDataPropTypes\";\nimport { CasePropTypes } from \"./CasePropTypes\";\nimport { DemographicPropTypes } from \"./DemographicPropTypes\";\nimport { GenderPropTypes } from \"./GenderPropTypes\";\nimport { HealthInsurancePropTypes } from \"./HealthInsurancePropTypes\";\nimport { PatientHospitalsPropTypes } from \"./PatientHospitalsPropTypes\";\nimport { PatientPropTypes } from \"./PatientPropTypes\";\nimport { RequesterPropTypes } from \"./RequesterPropTypes\";\nimport { ViewerPropTypes } from \"./ViewerPropTypes\";\n\nexport {\n CaseDataPropTypes,\n CasePropTypes,\n DemographicPropTypes,\n GenderPropTypes,\n HealthInsurancePropTypes,\n PatientPropTypes,\n RequesterPropTypes,\n ViewerPropTypes,\n PatientHospitalsPropTypes,\n};\n","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Stepper-style__stepper___3gV80{padding:2em}.Stepper-style__stepper___3gV80 a{align-items:center;background-color:#fff;border:0;color:#444;display:inline-flex;margin-left:-18px}.Stepper-style__stepper___3gV80 a:not(.Stepper-style__inactive___1SiY2):hover .Stepper-style__label___3m9kC,.Stepper-style__stepper___3gV80 a:not(.Stepper-style__inactive___1SiY2):hover small{color:#008cdd}.Stepper-style__stepper___3gV80 a.Stepper-style__inactive___1SiY2 .Stepper-style__label___3m9kC,.Stepper-style__stepper___3gV80 a.Stepper-style__inactive___1SiY2 small{color:#d7d7d7}.Stepper-style__stepper___3gV80 ul{list-style:none;margin:0;padding:0}.Stepper-style__stepper___3gV80 li{border-left:4px solid #fff;font-size:0.9em;font-weight:700}.Stepper-style__stepper___3gV80 li:not(.Stepper-style__sub-item___3vXQV){padding:0 0 4em}.Stepper-style__stepper___3gV80 li .Stepper-style__label___3m9kC{display:block;font-size:1em;text-align:left;transition:color 0.2s ease-in-out}.Stepper-style__stepper___3gV80 li .Stepper-style__label___3m9kC small{display:none;color:#848484;font-size:0.8em;font-weight:normal;transition:color 0.2s ease-in-out}.Stepper-style__stepper___3gV80 li:not(:last-child){border-left-color:#d7d7d7}.Stepper-style__stepper___3gV80 li:not(.Stepper-style__documents___2PWuj) span[data-react-toolbox]{background:#d7d7d7;border-radius:50%;color:#fff;display:inline-table;height:32px;line-height:32px;margin-right:0.25em;text-align:center;width:32px}.Stepper-style__stepper___3gV80 li:not(.Stepper-style__completed___YQphv)+li span[data-react-toolbox]{color:#d7d7d7}.Stepper-style__stepper___3gV80 li.Stepper-style__documents___2PWuj a{background-color:transparent;margin-left:-1.25em}.Stepper-style__stepper___3gV80 li.Stepper-style__documents___2PWuj a span[data-react-toolbox]{color:#444;font-size:32px;height:32px;line-height:32px;margin-right:0.25em;width:32px;background:radial-gradient(circle, #fff 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 100%)}.Stepper-style__stepper___3gV80 li.Stepper-style__active___24grX span[data-react-toolbox]{background:#095797}.Stepper-style__stepper___3gV80 li.Stepper-style__active___24grX a{color:#095797}.Stepper-style__stepper___3gV80 li.Stepper-style__completed___YQphv span[data-react-toolbox]{background:#388a4b}.Stepper-style__stepper___3gV80 li.Stepper-style__completed___YQphv .Stepper-style__label___3m9kC small{display:block}.Stepper-style__stepper___3gV80 li.Stepper-style__completed___YQphv+li:not(.Stepper-style__completed___YQphv):not(.Stepper-style__documents___2PWuj) a span[data-react-toolbox]{background:#095797}.Stepper-style__stepper___3gV80 li.Stepper-style__sub-item___3vXQV{padding:0 0 2.5em}.Stepper-style__stepper___3gV80 li.Stepper-style__sub-item___3vXQV a{font-size:0.9em;margin-left:1em;position:relative;top:-14px}.Stepper-style__stepper___3gV80 li.Stepper-style__sub-item___3vXQV a:before{border-bottom:4px solid #d7d7d7;content:\\\" \\\";display:inline-block;left:-1em;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);width:1em}.Stepper-style__stepper___3gV80 li.Stepper-style__sub-item___3vXQV span[data-react-toolbox]{font-size:16px;font-weight:900;height:24px;line-height:24px;width:24px}@media print{.Stepper-style__stepper___3gV80{display:none !important}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"stepper\": \"Stepper-style__stepper___3gV80\",\n\t\"inactive\": \"Stepper-style__inactive___1SiY2\",\n\t\"label\": \"Stepper-style__label___3m9kC\",\n\t\"sub-item\": \"Stepper-style__sub-item___3vXQV\",\n\t\"documents\": \"Stepper-style__documents___2PWuj\",\n\t\"completed\": \"Stepper-style__completed___YQphv\",\n\t\"active\": \"Stepper-style__active___24grX\"\n};","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import Relay from \"react-relay/classic\";\n\nexport default class ResetUserItemMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(ResetUserItemMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { resetUserItem }`;\n }\n\n getVariables() {\n return {\n entityId: this.props.entityId,\n purpose: this.props.purpose,\n permission: this.props.permission,\n data: this.props.data,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ResetUserItemPayload {\n resetItem {\n id\n data\n hasData\n ${ResetUserItemMutation.getFragment(\"item\")}\n }\n }\n `;\n }\n\n getConfigs() {\n if (this.props.item) {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: { resetItem: this.props.item.id },\n },\n ];\n }\n\n return [];\n }\n\n static fragments = {\n item: () => Relay.QL`\n fragment on UserSavedItem {\n id\n data\n hasData\n }\n `,\n };\n}\n","\nvar content = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./Priority.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./Priority.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./Priority.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./ECONSULT_form.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./ECONSULT_form.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./ECONSULT_form.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@-webkit-keyframes textInput-style__error-animation___2U1vb{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}@keyframes textInput-style__error-animation___2U1vb{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}.textInput-style__animate-error___TSipH{background:#fff5f5;-webkit-animation:textInput-style__error-animation___2U1vb 1s 3 alternate;animation:textInput-style__error-animation___2U1vb 1s 3 alternate;border:2px solid #f00}.textInput-style__animate-error___TSipH *:not([data-react-toolbox]){background:transparent !important}.gerudo-input input::-webkit-input-placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input::placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input:disabled{color:#424242 !important;font-weight:400 !important}.gerudo-input input:disabled::-webkit-input-placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.gerudo-input input:disabled::placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.textInput-style__with-hint___3vouO.textInput-style__errored___1jHQG .textInput-style__inputElement___1BGj5{background-color:#fff !important;border-bottom:1px solid rgba(0,0,0,0.12)}.textInput-style__with-hint___3vouO.textInput-style__errored___1jHQG .textInput-style__icon___3rVhd{color:rgba(0,0,0,0.3) !important}.textInput-style__with-hint___3vouO.textInput-style__errored___1jHQG .textInput-style__error___2ASIS,.textInput-style__with-hint___3vouO.textInput-style__errored___1jHQG .textInput-style__label___8glL8{color:rgba(0,0,0,0.4) !important}::-ms-clear{display:none}.textInput-style__error___2ASIS{margin-top:-2rem;font-size:1.2rem;line-height:2rem;color:#de3226}.textInput-style__inputElement___1BGj5{background:#fff}span .textInput-style__material-icons___30g31{top:1.6rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"animate-error\": \"textInput-style__animate-error___TSipH\",\n\t\"error-animation\": \"textInput-style__error-animation___2U1vb\",\n\t\"with-hint\": \"textInput-style__with-hint___3vouO\",\n\t\"errored\": \"textInput-style__errored___1jHQG\",\n\t\"inputElement\": \"textInput-style__inputElement___1BGj5\",\n\t\"icon\": \"textInput-style__icon___3rVhd\",\n\t\"error\": \"textInput-style__error___2ASIS\",\n\t\"label\": \"textInput-style__label___8glL8\",\n\t\"material-icons\": \"textInput-style__material-icons___30g31\"\n};","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Signature-style__password-input___250bz{max-width:350px}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"password-input\": \"Signature-style__password-input___250bz\"\n};","import classnames from \"classnames\";\nimport { withFormsy } from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Dropzone from \"react-dropzone\";\nimport { FormattedMessage } from \"react-intl\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport inputTheme from \"react-toolbox/lib/input/theme\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport formStyle from \"../../../../styles/forms\";\n\nimport filesInputStyle from \"./filesInput.style\";\n\nexport class FilesInput extends React.Component {\n static propTypes = {\n name: PropTypes.string.isRequired,\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n required: PropTypes.bool,\n theme: PropTypes.any,\n disabled: PropTypes.bool,\n onFilesPicked: PropTypes.func,\n uploading: PropTypes.bool,\n value: PropTypes.any,\n };\n\n constructor(props) {\n super(props);\n\n props.setValue([]);\n }\n\n onDrop(files: FileList): void {\n const newFiles = this.props.value.concat(files);\n\n this.props.setValue(newFiles);\n\n if (this.props.onFilesPicked) {\n this.props.onFilesPicked(files);\n }\n }\n\n render() {\n const { name, icon } = this.props;\n const classNames = classnames(formStyle[\"card-form\"], {\n [filesInputStyle[\"with-icon\"]]: Boolean(icon),\n });\n return (\n
    \n {this.renderIcon()}\n this.onDrop(files)}\n className={filesInputStyle[\"dropzone\"]}\n name={name}>\n {({ isDragActive, isDragReject }) => {\n const classNames = [filesInputStyle[\"dropzone-inner\"]];\n let message = (\n \n );\n if (isDragActive) {\n classNames.push(filesInputStyle[\"dropzone-hovered\"]);\n message = (\n \n );\n }\n if (isDragReject) {\n classNames.push(filesInputStyle[\"dropzone-hovered\"]);\n message = (\n \n );\n }\n\n return (\n
    \n \n
    {message}
    \n
    \n \n
    \n
    \n );\n }}\n \n
    \n );\n }\n\n renderIcon() {\n const { icon } = this.props;\n if (typeof icon === \"string\") {\n return (\n \n );\n } else {\n return icon;\n }\n }\n}\n\nexport default withFormsy(FilesInput);\n","import Formsy from \"formsy-react\";\nimport React from \"react\";\nimport { findDOMNode } from \"react-dom\";\nimport { Tran } from \"react-relay/classic\";\nimport { InjectedIntlProps } from \"react-intl\";\n\nimport inputsStyle from \"../../styles/theme/inputs.shared.scss\";\nimport { URLs } from \"../constants\";\nimport { showDialogNotice, setGlobalErrors } from \"../stores/app/actions\";\nimport { store } from \"../stores/store\";\n\nimport localStorage from \"./localStorage\";\n\nimport { messages } from \"../components/errors/errors.i18n\";\n\nexport function getErrors(relayResponse: Tran): Promise {\n return new Promise((resolve) => {\n const error = relayResponse.getError();\n if (error.source) {\n return resolve(error.source.errors);\n }\n\n if (error.json) {\n return error.json().then((x) => {\n resolve(x.errors);\n });\n }\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return resolve([error as any]);\n });\n}\n\nexport function highlightErrorElement(element: HTMLElement, keepHighlighted: boolean): void {\n element.classList.add(inputsStyle[\"animate-error\"]);\n if (!keepHighlighted) {\n setTimeout(() => {\n removeHighlightErrorElement(element);\n }, 3000);\n }\n}\n\nexport function removeHighlightErrorElement(element: HTMLElement): void {\n element.classList.remove(inputsStyle[\"animate-error\"]);\n}\n\nexport function handleFormsyInvalidSubmit(form: Formsy): void {\n const firstInvalidInput = form.inputs.filter((x) => !x.isValid())[0];\n // eslint-disable-next-line react/no-find-dom-node\n const element = (findDOMNode(firstInvalidInput) as Element).querySelector(\n \"input,select,textarea\"\n );\n const panel = document.querySelector(\"[data-react-toolbox='panel']\");\n const dialog = document.querySelector(\"[data-react-toolbox='dialog'] > section\");\n const root = dialog || panel;\n if (root && element) {\n const position = getObjectPosition(element);\n scrollToElement(root, position.top - root.offsetTop - 25, 300).then(() => {\n setTimeout(() => element.focus(), 0);\n });\n }\n}\n\nexport function scrollToElementHelper(element: HTMLElement, duration: number): Promise {\n const panel = document.querySelector(\"[data-react-toolbox='panel']\");\n const dialog = document.querySelector(\"[data-react-toolbox='dialog'] > section\");\n const root = dialog || panel;\n if (root) {\n const position = getObjectPosition(element);\n return scrollToElement(root, position.top - root.offsetTop - 25, duration).then(() => {\n if (element && element.focus) {\n setTimeout(() => element.focus(), 0);\n }\n });\n }\n return Promise.resolve();\n}\n\nexport function scrollToElement(\n root: HTMLElement,\n elementY: number,\n duration: number\n): Promise {\n const startingY = root.scrollTop;\n const diff = elementY - startingY;\n let start;\n\n return new Promise((resolve) => {\n if (Math.abs(diff) <= 50) {\n return resolve();\n }\n\n window.requestAnimationFrame(function step(timestamp) {\n if (!start) start = timestamp;\n const time = timestamp - start;\n const percent = Math.min(time / duration, 1);\n\n root.scrollTop = startingY + diff * percent;\n\n if (time < duration) {\n window.requestAnimationFrame(step);\n } else {\n resolve();\n }\n });\n });\n}\n\nfunction getObjectPosition(obj) {\n let curleft = 0,\n curtop = 0;\n if (obj && obj.offsetParent) {\n do {\n curleft += obj.offsetLeft;\n curtop += obj.offsetTop;\n } while ((obj = obj.offsetParent));\n }\n\n return { left: curleft, top: curtop };\n}\n\nexport function canShowAdvancedError(): boolean {\n return process.env.NODE_ENV !== \"production\" || localStorage.getItem(\"showStack\") === \"true\";\n}\n\nexport function handleErrorWithoutComponent(\n component: React.Component,\n errors: unknown[],\n url: string\n): void {\n const t = component.props.intl.formatMessage;\n store.dispatch(\n showDialogNotice(\n \n {t(messages.notification)}{\" \"}\n \n ({t(messages.notificationLink)})\n \n ,\n \"cancel\"\n )\n );\n store.dispatch(setGlobalErrors(errors, url));\n}\n","module.exports = __webpack_public_path__ + \"f10bec99a8ef33dfcda0805c8266f6ab.png\";","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".HandWrittenSignatureFooter-styles__container___3dWbT .HandWrittenSignatureFooter-styles__full-name___8ZlvK{margin-right:0.5rem}.HandWrittenSignatureFooter-styles__container___3dWbT .HandWrittenSignatureFooter-styles__status___3_mGu{font-weight:bold}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"container\": \"HandWrittenSignatureFooter-styles__container___3dWbT\",\n\t\"full-name\": \"HandWrittenSignatureFooter-styles__full-name___8ZlvK\",\n\t\"status\": \"HandWrittenSignatureFooter-styles__status___3_mGu\"\n};","import Relay from \"react-relay/classic\";\n\nexport default class ArchiveConversationConsultReportMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(ArchiveConversationConsultReportMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { archiveReport }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ArchiveReportPayload {\n viewer {\n cases(type: COMPLETED)\n cases(type: ARCHIVED)\n casesTotals\n }\n case {\n data {\n ... on RequestReportData {\n permissions\n }\n ... on PatientAssessmentData {\n permissions\n }\n ... on ConversationConsultData {\n permissions\n history\n extraData\n }\n ... on PatientConversationData {\n permissions {\n canArchiveReport\n } \n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n}\n","import Relay from \"react-relay/classic\";\n\nexport default class ArchiveConversationConsultRequestMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(ArchiveConversationConsultRequestMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { archiveRequest }`;\n }\n\n getVariables() {\n return {\n caseId: this.props.caseId,\n destinationId: this.props.destinationId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on ArchiveRequestPayload {\n viewer {\n cases(type: COMPLETED)\n cases(type: ARCHIVED)\n casesTotals\n }\n case {\n data {\n ... on RequestReportData {\n permissions\n }\n ... on PatientAssessmentData {\n permissions\n }\n ... on ConversationConsultData {\n permissions\n history\n extraData\n }\n }\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n case: this.props.caseId,\n },\n },\n {\n type: \"RANGE_ADD\",\n parentName: \"viewer\",\n parentID: this.props.viewer.__dataID__, // eslint-disable-line\n connectionName: \"cases\",\n edgeName: \"case\",\n rangeBehaviors: {\n \"\": \"refetch\",\n },\n },\n ];\n }\n}\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages } from \"react-intl\";\nimport { connect } from \"react-redux\";\nimport Relay from \"react-relay/classic\";\nimport Dialog from \"react-toolbox/lib/dialog\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport formStyle from \"../../../styles/forms\";\nimport { getErrors } from \"../../helpers/errors\";\nimport { showDialogNotice } from \"../../stores/app/actions\";\nimport ArchiveConversationConsultReportMutation from \"../forms/ECONSULT/archiveConversationConsultReportMutation\";\nimport ArchiveConversationConsultRequestMutation from \"../forms/ECONSULT/archiveConversationConsultRequestMutation\";\nimport ErrorCard from \"../shared/errorCard\";\n\nimport baseI18n from \"../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n archiveTitle: {\n id: \"cases.archiveTitle\",\n description: \"Case archive title\",\n defaultMessage: \"Archive case #{caseId}\",\n },\n archiveDestinationTitle: {\n id: \"cases.archiveDestinationTitle\",\n description: \"Case archive title\",\n defaultMessage: \"Archive the destination '{destinationLabel}' for case #{caseId}\",\n },\n requestArchivedSuccess: {\n id: \"forms.econsult.requestArchivedSuccess\",\n description: \"eConsult message for archiving request success\",\n defaultMessage: \"The request has been successfully archived.\",\n },\n reportArchivedSuccess: {\n id: \"forms.econsult.reportArchivedSuccess\",\n description: \"eConsult message for archiving report success\",\n defaultMessage: \"The report has been successfully archived.\",\n },\n archiveRequestConfirm: {\n id: \"forms.econsult.archiveRequestConfirm\",\n description: \"eConsult message for confirming archive request\",\n defaultMessage: \"Are you sure you want to archive this request?\",\n },\n archiveReportConfirm: {\n id: \"forms.econsult.archiveReportConfirm\",\n description: \"eConsult message for confirming archive report\",\n defaultMessage: \"Are you sure you want to archive this report?\",\n },\n});\n\nexport class CaseArchiveDialog extends React.Component {\n static propTypes = {\n viewer: PropTypes.any.isRequired,\n case: PropTypes.any,\n destinationId: PropTypes.string,\n destinationLabel: PropTypes.string,\n canArchiveRequest: PropTypes.bool,\n canArchiveReport: PropTypes.bool,\n dispatch: PropTypes.func.isRequired,\n onArchiveSuccess: PropTypes.func,\n onArchiveError: PropTypes.func,\n onCancel: PropTypes.func,\n active: PropTypes.bool,\n intl: intlShape,\n };\n\n state = {\n mutating: false,\n errors: [],\n };\n\n t(key, args) {\n return this.props.intl.formatMessage(key, args);\n }\n\n handleArchive() {\n this.setState({ errors: [], mutating: true });\n const { viewer, case: c, destinationId, canArchiveRequest, canArchiveReport } = this.props;\n const caseData = c.data;\n\n const params = {\n viewer,\n case: c,\n caseId: c.id,\n destinationId: destinationId,\n };\n\n let mutation = null;\n let message = null;\n if (caseData.permissions.canArchiveRequest || canArchiveRequest) {\n mutation = new ArchiveConversationConsultRequestMutation(params);\n message = messages.requestArchivedSuccess;\n } else if (caseData.permissions.canArchiveReport || canArchiveReport) {\n mutation = new ArchiveConversationConsultReportMutation(params);\n message = messages.reportArchivedSuccess;\n } else {\n return;\n }\n\n Relay.Store.commitUpdate(mutation, {\n onSuccess: () => {\n this.props.dispatch(showDialogNotice(this.t(message), \"accept\"));\n this.setState({ mutating: false });\n if (this.props.onArchiveSuccess) {\n this.props.onArchiveSuccess();\n }\n },\n onFailure: (r: Relay.Tran) => {\n getErrors(r).then((errors) => {\n this.setState({ mutating: false, errors: this.state.errors.concat(errors) });\n if (this.props.onArchiveError) {\n this.props.onArchiveError(errors);\n }\n });\n },\n });\n }\n\n render() {\n const closeDialog = () => this.props.onCancel();\n const t = this.props.intl.formatMessage;\n const actions = [\n {\n label: t(baseI18n.global.close),\n onClick: closeDialog,\n disabled: this.state.mutating,\n },\n {\n children: (\n \n {t(baseI18n.global.archive)}\n {this.state.mutating && (\n \n )}\n \n ),\n className: classnames({\n [formStyle[\"spinning-button\"]]: this.state.mutating,\n }),\n icon: \"archive\",\n onClick: () => this.handleArchive(),\n primary: true,\n disabled: this.state.mutating,\n },\n ];\n\n const { case: c, destinationLabel, canArchiveRequest } = this.props;\n const isRequest =\n (c && c.data && c.data.permissions && c.data.permissions.canArchiveRequest) ||\n canArchiveRequest;\n\n return (\n \n {this.props.case && (\n

    {t(isRequest ? messages.archiveRequestConfirm : messages.archiveReportConfirm)}

    \n )}\n\n {this.state.errors && this.state.errors.length > 0 && (\n \n )}\n \n );\n }\n}\n\nexport default Relay.createContainer(connect()(injectIntl(CaseArchiveDialog)), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n }\n `,\n case: () => Relay.QL`\n fragment on Case {\n __typename\n id\n legacyId\n data {\n __typename\n ... on ConversationConsultData {\n permissions {\n cancelRequiresReason\n canArchiveRequest\n canArchiveReport\n }\n }\n ... on DynamicFormCaseData {\n permissions {\n canArchiveRequest\n } \n }\n ... on PatientConversationData {\n permissions {\n canArchiveReport\n } \n }\n }\n }`,\n },\n});\n","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".warningChip-theme__avatar___3UHq9 [data-react-toolbox=\\\"avatar\\\"]{background-color:#ff6f00 !important}.warningChip-theme__avatar___3UHq9 [data-react-toolbox=\\\"avatar\\\"]>span{line-height:3rem}.warningChip-theme__chip___2ZH5C,.warningChip-theme__chip___2ZH5C.warningChip-theme__avatar___3UHq9{background-color:#fff8e1}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"avatar\": \"warningChip-theme__avatar___3UHq9\",\n\t\"chip\": \"warningChip-theme__chip___2ZH5C\"\n};","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class AddHandWrittenSignatureMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(AddHandWrittenSignatureMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { addHandWrittenSignatureMutation }`;\n }\n\n getVariables() {\n return {\n lookupId: this.props.lookupId,\n referenceId: this.props.referenceId,\n signerFullName: this.props.signerFullName,\n legalSignatoryType: this.props.legalSignatoryType,\n imageData: this.props.imageData,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on AddHandWrittenSignatureMutationPayload {\n handWrittenSignature {\n id\n guid\n referenceId\n signerFullName\n legalSignatoryType\n imageData\n signedOn\n deleted\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on AddHandWrittenSignatureMutationPayload {\n handWrittenSignature {\n id\n guid\n referenceId\n signerFullName\n legalSignatoryType\n imageData\n signedOn\n deleted\n }\n }\n `,\n ],\n },\n ];\n }\n}\n\nexport const addHandWrittenSignature = ({\n lookupId,\n referenceId,\n signerFullName,\n legalSignatoryType,\n imageData,\n}) => {\n const params = {\n lookupId,\n referenceId,\n signerFullName,\n legalSignatoryType,\n imageData,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new AddHandWrittenSignatureMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import Relay from \"react-relay/classic\";\n\nimport { getErrors } from \"~/src/js/helpers/errors\";\n\nexport default class CancelHandWrittenSignatureMutation extends Relay.Mutation {\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(CancelHandWrittenSignatureMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { cancelHandWrittenSignatureMutation }`;\n }\n\n getVariables() {\n return {\n signatureId: this.props.signatureId,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on CancelHandWrittenSignatureMutationPayload {\n handWrittenSignature {\n id\n guid\n referenceId\n signerFullName\n legalSignatoryType\n imageData\n signedOn\n deleted\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"REQUIRED_CHILDREN\",\n children: [\n Relay.QL`\n fragment on CancelHandWrittenSignatureMutationPayload {\n handWrittenSignature {\n id\n guid\n referenceId\n signerFullName\n legalSignatoryType\n imageData\n signedOn\n deleted\n }\n }\n `,\n ],\n },\n ];\n }\n}\n\nexport const cancelHandWrittenSignatureMutation = ({ signatureId }) => {\n const params = {\n signatureId,\n };\n\n return new Promise((resolve, reject) => {\n Relay.Store.commitUpdate(new CancelHandWrittenSignatureMutation(params), {\n onSuccess: (resp) => {\n resolve(resp);\n },\n onFailure: (r) => {\n getErrors(r).then((errors) => {\n reject(errors);\n });\n },\n });\n });\n};\n","import PropTypes from \"prop-types\";\n\nexport const ConsentBy = {\n patient: \"patient\",\n legalRepresentative: \"legal-representative\",\n};\n\nexport const LegalSignatoryType = {\n patient: \"PATIENT\",\n legalRepresentative: \"LEGALREPRESENTATIVE\",\n};\n\nexport const LegalSignatoryTypeMapper = {\n [ConsentBy.patient]: LegalSignatoryType.patient,\n [ConsentBy.legalRepresentative]: LegalSignatoryType.legalRepresentative,\n};\n\nexport const LegalSignatoryTypePropType = PropTypes.oneOf(Object.values(LegalSignatoryType));\n","export { addHandWrittenSignature } from \"./addHandWrittenSignatureMutation\";\nexport { cancelHandWrittenSignatureMutation } from \"./cancelHandWrittenSignatureMutation\";\nexport {\n LegalSignatoryType,\n LegalSignatoryTypePropType,\n LegalSignatoryTypeMapper,\n ConsentBy,\n} from \"./LegalSignatoryType\";\n","export default class FormScorer {\n constructor(formValues) {\n this.formValues = formValues;\n }\n\n yesNoCount(keys) {\n let yesCount = 0;\n let noCount = 0;\n keys.forEach((key) => {\n if (this.isYes(key)) {\n yesCount++;\n }\n if (this.isNo(key)) {\n noCount++;\n }\n });\n return { yesCount, noCount };\n }\n\n formVal(key) {\n return this.formValues ? this.formValues[key] : undefined;\n }\n\n isNo(questionKey) {\n return this.formVal(questionKey) === \"NO\";\n }\n\n isYes(questionKey) {\n return this.formVal(questionKey) === \"YES\";\n }\n}\n","export const appendQueryParameter = (url, key, value) => {\n if (url.length === 0 || !key || !value) {\n return url;\n }\n\n key = encodeURIComponent(key);\n value = encodeURIComponent(value);\n\n if (!url.startsWith(\"http\")) {\n url = window.location.origin + url;\n }\n\n const parsedURL = new URL(url);\n let parameters = parsedURL.search;\n\n parameters += parameters.length === 0 ? \"?\" : \"&\";\n parameters = `${parameters}${key}=${value}`;\n\n return `${parsedURL.origin}${parsedURL.pathname}${parameters}`;\n};\n","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".style__date___1R_1x{display:flex;justify-content:flex-end;margin-bottom:10px;font-weight:400;color:var(--color-default)}.style__action-container___3cd_n,.style__action-container-fullwidth___1K60D{background-color:rgba(215,215,215,0.5);padding:15px 25px !important}.style__action-container-fullwidth___1K60D{margin-right:15px}.style__action-container___3cd_n button,.style__action-container-fullwidth___1K60D button{margin-right:10px}.style__container___1ppoW{background-color:#f2f2f2;flex:1}.style__container___1ppoW>:first-child{flex-grow:1}.style__container___1ppoW .style__form-field___D7uVp{padding-left:10px;margin-bottom:2rem}.style__container___1ppoW .style__form-field___D7uVp label{margin-bottom:1rem;font-weight:500}.style__container___1ppoW aside{display:flex;flex-direction:row;justify-content:space-between}.style__container___1ppoW .style__title___J57vf{font-weight:700;font-size:18px;padding:0 10px}.style__container___1ppoW .style__subtitle___2ZaCy{font-weight:400;font-size:1.4rem;padding:0 10px}.style__container___1ppoW .style__text___p9Evl{font-weight:500;font-size:16px;padding:15px 10px}.style__container___1ppoW .style__right___TmuNg{text-align:end}@media (max-width: 961px){.style__container___1ppoW .style__right___TmuNg{text-align:start}}.style__container___1ppoW .style__right___TmuNg .style__priority____paoU{display:flex;align-items:center;justify-content:flex-end;text-transform:uppercase;font-weight:700;line-height:17px;font-size:1.4rem;padding:0 10px}@media (max-width: 961px){.style__container___1ppoW .style__right___TmuNg .style__priority____paoU{justify-content:flex-start}}.style__container___1ppoW .style__right___TmuNg .style__priority____paoU svg{margin-right:5px;font-size:25px}.style__container___1ppoW .style__right___TmuNg .style__edit-priority___78xn0{cursor:pointer;border:1px solid #aaa;border-radius:3px;padding:5px}.style__container___1ppoW .style__right___TmuNg .style__edit-priority___78xn0:hover{background-color:#abeaff}.style__container___1ppoW .style__right___TmuNg .style__edit-priority-button___2zeGm{margin-left:30px;color:var(--color-default)}.style__container___1ppoW .style__right___TmuNg .style__modality___30kEi{font-weight:500;font-size:1.4rem;padding:0 10px}.style__container___1ppoW .style__right___TmuNg .style__number___13Go6{color:var(--color-default);font-size:1.4rem;padding:0 10px}.style__header-container___3f5m4{background-color:#d7d7d7;display:flex;flex-direction:row;align-items:center}.style__header-container___3f5m4 .style__header-icon___3NBob{color:white;display:flex;flex-direction:column;padding:10px 15px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.style__header-container___3f5m4 .style__header-icon___3NBob.style__redispatch___1WDQg{background-color:var(--color-default)}.style__header-container___3f5m4 .style__header-icon___3NBob.style__redispatch___1WDQg span:first-of-type{margin-left:10px;margin-bottom:-10px}.style__header-container___3f5m4 .style__header-icon___3NBob.style__clarification___17FX8{background-color:#c8eef9;color:#007ea8}.style__header-container___3f5m4 .style__header-icon___3NBob.style__clarification___17FX8 span{font-size:34px}.style__header-container___3f5m4 .style__header-content___32xFp{flex:1;color:#555555;font-weight:700;margin-left:15px}.style__header-container___3f5m4 .style__header-action___2sXru{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.style__report-container___365Ry{background-color:#f2f2f2;border-top:1px solid rgba(215,215,215,0.5);padding:15px 25px !important}.style__report-container___365Ry .style__form-field___D7uVp{margin-bottom:2rem}.style__report-container___365Ry .style__form-field___D7uVp label{margin-bottom:1rem;font-weight:500}.style__report___2GA3p>div.style__gerudo-labeled-input___3mBYy{margin-bottom:0 !important}.style__send-report-dropdown-button___12PzB button{margin:0}.style__report-clarifications-container___2XOuP{background-color:#f2f2f2;border-top:1px solid rgba(215,215,215,0.5);padding:15px 25px !important}.style__report-clarifications-container___2XOuP .style__additional-informations___xu2kC{padding:0 !important}.style__card___16oxF{flex:1}@media (max-width: 641px){.style__card___16oxF{padding-top:0}}.style__delete___3FrSO{flex:0;visibility:hidden}.style__delete___3FrSO.style__can-cancel___1d2iR{visibility:visible}@media (max-width: 641px){.style__delete___3FrSO{margin-left:15px;margin-bottom:-15px}}.style__row___3B_xH{display:flex;flex-direction:row-reverse}@media (max-width: 641px){.style__row___3B_xH{flex-direction:column}}.style__title___J57vf{font-weight:700;font-size:18px;margin-top:1rem;margin-bottom:2rem}.style__report-accepted___3LCgr{background-color:white;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.25rem 0.75rem;border:1px solid var(--color-default);font-weight:600;margin-bottom:2rem;display:flex;flex-direction:row;line-height:2;border-radius:3px}.style__report-accepted___3LCgr .style__report-accepted-icon___2QShP{margin-right:1rem;color:var(--color-default);line-height:1.2}.style__signature___2dZiR{display:flex;flex-direction:row;justify-content:flex-start}@media (max-width: 641px){.style__signature___2dZiR{flex-direction:column}}.style__signature___2dZiR .style__signature-col___1rCkH{padding-right:5rem}.style__assigned-to___3PPgi{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:flex-start;margin-top:0.5rem}@media (max-width: 641px){.style__assigned-to___3PPgi [class*=\\\"personInformation\\\"]{display:block !important}}.style__assignee-banner___1wRhj{background-color:white;border:1px solid var(--color-default);font-weight:600;margin:0 0 1rem 1rem;display:flex;flex-direction:row;line-height:2;border-radius:3px;padding-left:0.5rem}.style__assignee-banner___1wRhj.style__current-user___2xJ8P{background-color:transparent;border:0;border-bottom:1px solid var(--color-default);border-radius:0;padding-left:0}.style__assignee-banner___1wRhj.style__current-user___2xJ8P .style__assignee-banner-icon___2whlY{display:none}@media (max-width: 641px){.style__assignee-banner___1wRhj [class*=\\\"personInformation\\\"]{display:block}}.style__assignee-banner___1wRhj time{font-weight:normal}@media (max-width: 641px){.style__assignee-banner___1wRhj time{display:block}}.style__assignee-banner___1wRhj .style__assignee-banner-icon___2whlY{margin-right:1rem;color:var(--color-default);line-height:1.2}.style__report-header___DZM07{display:flex;flex-direction:row;flex-wrap:wrap}.style__report-header___DZM07 .style__report-dropdown___2sX0j{margin-right:5rem}.style__report-header___DZM07 .style__report-alert___FToAp{padding:1rem;margin-top:1rem;margin-bottom:2rem;min-width:200px}.style__report-header___DZM07 .style__report-alert___FToAp .style__report-alert-content___3kbKD{display:flex}.style__report-header___DZM07 .style__report-alert___FToAp .style__report-alert-text___1bp1l{display:flex;flex-direction:column;padding-left:1rem}.style__sub-form___16-sk body{background-color:#f2f2f2 !important}.style__header___2HoGg{margin:-2rem -1.5rem 2rem -1.5rem;padding:2rem;border-radius:0.6rem 0.6rem 0 0;background-color:#c8eef9;align-items:center;display:flex}.style__videconferenceIcon___2Pw_s{color:#007ea8;font-size:4rem;margin-right:1rem}.style__videoconferenceInfo___1a6rQ{font-weight:bold;font-size:1.4rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"date\": \"style__date___1R_1x\",\n\t\"action-container\": \"style__action-container___3cd_n\",\n\t\"action-container-fullwidth\": \"style__action-container-fullwidth___1K60D\",\n\t\"container\": \"style__container___1ppoW\",\n\t\"form-field\": \"style__form-field___D7uVp\",\n\t\"title\": \"style__title___J57vf\",\n\t\"subtitle\": \"style__subtitle___2ZaCy\",\n\t\"text\": \"style__text___p9Evl\",\n\t\"right\": \"style__right___TmuNg\",\n\t\"priority\": \"style__priority____paoU\",\n\t\"edit-priority\": \"style__edit-priority___78xn0\",\n\t\"edit-priority-button\": \"style__edit-priority-button___2zeGm\",\n\t\"modality\": \"style__modality___30kEi\",\n\t\"number\": \"style__number___13Go6\",\n\t\"header-container\": \"style__header-container___3f5m4\",\n\t\"header-icon\": \"style__header-icon___3NBob\",\n\t\"redispatch\": \"style__redispatch___1WDQg\",\n\t\"clarification\": \"style__clarification___17FX8\",\n\t\"header-content\": \"style__header-content___32xFp\",\n\t\"header-action\": \"style__header-action___2sXru\",\n\t\"report-container\": \"style__report-container___365Ry\",\n\t\"report\": \"style__report___2GA3p\",\n\t\"gerudo-labeled-input\": \"style__gerudo-labeled-input___3mBYy\",\n\t\"send-report-dropdown-button\": \"style__send-report-dropdown-button___12PzB\",\n\t\"report-clarifications-container\": \"style__report-clarifications-container___2XOuP\",\n\t\"additional-informations\": \"style__additional-informations___xu2kC\",\n\t\"card\": \"style__card___16oxF\",\n\t\"delete\": \"style__delete___3FrSO\",\n\t\"can-cancel\": \"style__can-cancel___1d2iR\",\n\t\"row\": \"style__row___3B_xH\",\n\t\"report-accepted\": \"style__report-accepted___3LCgr\",\n\t\"report-accepted-icon\": \"style__report-accepted-icon___2QShP\",\n\t\"signature\": \"style__signature___2dZiR\",\n\t\"signature-col\": \"style__signature-col___1rCkH\",\n\t\"assigned-to\": \"style__assigned-to___3PPgi\",\n\t\"assignee-banner\": \"style__assignee-banner___1wRhj\",\n\t\"current-user\": \"style__current-user___2xJ8P\",\n\t\"assignee-banner-icon\": \"style__assignee-banner-icon___2whlY\",\n\t\"report-header\": \"style__report-header___DZM07\",\n\t\"report-dropdown\": \"style__report-dropdown___2sX0j\",\n\t\"report-alert\": \"style__report-alert___FToAp\",\n\t\"report-alert-content\": \"style__report-alert-content___3kbKD\",\n\t\"report-alert-text\": \"style__report-alert-text___1bp1l\",\n\t\"sub-form\": \"style__sub-form___16-sk\",\n\t\"header\": \"style__header___2HoGg\",\n\t\"videconferenceIcon\": \"style__videconferenceIcon___2Pw_s\",\n\t\"videoconferenceInfo\": \"style__videoconferenceInfo___1a6rQ\"\n};","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".cardList__card-list___3ZAX2{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0}.cardList__patient-row___sRivP,.cardList__case-row___3aGHU{border-radius:4px;border:1px solid #e6e6e6;margin:4px 0;padding:8px;width:100%}.cardList__patient-row___sRivP.cardList__viewed___3H5yI,.cardList__case-row___3aGHU.cardList__viewed___3H5yI{background:#e6e6e6}.cardList__patient-row___sRivP.cardList__not-viewed___2jYhG,.cardList__case-row___3aGHU.cardList__not-viewed___2jYhG{font-weight:bold}.cardList__case-title-section___1I_-0{align-items:center;display:flex;flex:1}@media (max-width: 450px){.cardList__case-title-section___1I_-0{flex-direction:column}}@media (max-width: 961px){.cardList__case-title-section___1I_-0{align-items:left}}.cardList__case-title-section___1I_-0 .cardList__avatar___120qA{height:4rem;width:3rem}.cardList__case-title-section___1I_-0 .cardList__insurance-no___1--Hb{flex:0.2}.cardList__case-title-section___1I_-0 .cardList__name___3aolU{font-weight:bold;display:inline-block;flex:0.3}.cardList__case-title-section___1I_-0 .cardList__data-block___3S9FR{display:flex;flex:0.9}@media (max-width: 450px){.cardList__case-title-section___1I_-0 .cardList__data-block___3S9FR{flex-direction:column}}.cardList__case-title-section___1I_-0 .cardList__action-block___2I5OI{flex:0.1}.cardList__case-title-section___1I_-0 .cardList__left-block___31z1u{flex:0.8;padding-top:1rem;padding-left:0.5rem;display:block}.cardList__case-title-section___1I_-0 .cardList__right-block___12RwQ{flex:0.2;padding-top:1rem;padding-right:0.5rem;display:block;text-align:right;padding-right:1rem;padding-bottom:0.5rem}.cardList__case-title-section___1I_-0 .cardList__right-block___12RwQ ul{list-style:none}.cardList__case-title-section___1I_-0 .cardList__menu-dropdown___1MSan{margin-top:4%;margin-bottom:5%;height:31%;width:100%;display:inline-flex;align-items:center;border-radius:0.2rem;box-shadow:0 2px 2px 0 rgba(0,0,0,0.14),0 3px 1px -2px rgba(0,0,0,0.2),0 1px 5px 0 rgba(0,0,0,0.12);transition:box-shadow 0.2s cubic-bezier(0.4, 0, 1, 1),background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),color 0.2s cubic-bezier(0.4, 0, 0.2, 1)}.cardList__case-title-section___1I_-0 .cardList__menu-dropdown___1MSan button{width:100%;height:100%}.cardList__case-title-section___1I_-0 .cardList__menu-dropdown___1MSan button span{line-height:3rem}.cardList__case-title-section___1I_-0 .cardList__menu-dropdown___1MSan ul li{width:100%}.cardList__case-title-section___1I_-0 .cardList__action-open___1DnBG{height:60%;display:inline-flex;width:100%}.cardList__case-title-section___1I_-0 .cardList__action-open-full___1TB2u{height:100%;display:inline-flex;width:100%}.cardList__case-title-section___1I_-0 button.cardList__action-open___1DnBG{width:100%}.cardList__case-title-section___1I_-0 .cardList__birthday___1XFb_{display:inline;font-weight:normal}@media (max-width: 961px){.cardList__case-title-section___1I_-0 .cardList__birthday___1XFb_{display:block;padding-left:0}}.cardList__case-title-section___1I_-0 .cardList__insurance-chips___1cJoZ{margin-bottom:1rem}.cardList__case-title-section___1I_-0 .cardList__metadata___1KRRA{font-size:1.1rem;color:#455a64;line-height:1.6rem;margin-right:0.5rem}.cardList__case-title-section___1I_-0 .cardList__metadata___1KRRA.cardList__important___2M9u9{background-color:#ccc}.cardList__case-title-section___1I_-0 .cardList__metadata___1KRRA [data-react-toolbox=\\\"avatar\\\"]{height:16px;width:16px;background-color:#9e9e9e}.cardList__case-title-section___1I_-0 .cardList__metadata___1KRRA span[data-react-toolbox=\\\"font-icon\\\"]{line-height:1.6rem;font-size:1rem}.cardList__button-as-label___29UNJ{cursor:default !important;color:#fff !important;font-size:11px !important;height:2rem !important;line-height:2rem !important;min-width:0rem !important;padding:0 0.8rem !important;margin-right:3px !important}.cardList__button-as-label-icon___3bw_1{font-size:1.3rem;color:#fff !important;vertical-align:top !important;padding:3px 0px 0px 0px !important}.cardList__from-to___3cs02{flex:1;display:block;text-align:right}@media (max-width: 641px){.cardList__from-to___3cs02{flex:auto}}.cardList__from-to___3cs02 span[data-search=\\\"text\\\"]{font-size:1.3rem;display:inline-block;vertical-align:middle;padding-left:0.5rem;color:#455a64;white-space:nowrap}.cardList__from-to___3cs02 span[data-search=\\\"text\\\"]:first-child{padding-right:0.5rem}.cardList__from-to___3cs02 span[data-react-toolbox=\\\"font-icon\\\"]{font-size:13px;vertical-align:middle;color:#757575}.cardList__case-body-section___1KzAC{flex:1;display:flex;padding:0.5rem;color:#757575}.cardList__status-request___1j6Dh{flex:0.2;display:block}.cardList__last-update___2JrdF{display:block;text-align:right;font-weight:bold;font-size:1.3rem;padding-top:1rem;color:#757575}.cardList__status___YW5o-{flex:0.2;color:#757575;font-size:1.3rem;display:block}.cardList__priority___32TRR{display:flex;flex:1;color:#455a64;align-items:top;font-size:1.3rem;flex-wrap:wrap;min-width:0;overflow:hidden}.cardList__priority___32TRR span[data-react-toolbox=\\\"font-icon\\\"]{color:#757575;padding-right:0.5rem}.cardList__priority___32TRR img{height:18px;width:18px}.cardList__new-request-button___2D9t8{margin-top:1rem}.cardList__more-cards___1VRsF{text-align:center}.cardList__case-info___3dhxg{display:inline-flex;white-space:nowrap;align-items:center;line-height:2rem;padding:0 0.5rem}.cardList__department-info___1q8nr{padding-right:5px !important;padding-top:3px !important}.cardList__title-with-action___z6aAe{display:flex}.cardList__title-with-action___z6aAe>div:not([data-react-toolbox]){flex-grow:1}.cardList__title-with-action___z6aAe [data-react-toolbox=\\\"avatar\\\"]{min-width:4rem}@media print{.cardList__title-with-action___z6aAe [data-react-toolbox=\\\"button\\\"]{display:none !important}}.cardList__anonymous-patient___2EJIt{font-weight:bold !important;font-size:1.5rem}.cardList__title-container___3DOas{text-align:center;margin:auto}.cardList__title-container___3DOas h5{font-weight:600}.cardList__sparkline___1-mOs{display:inline-flex;width:3.5rem;vertical-align:text-bottom;margin-left:0.5rem}.cardList__sparkline___1-mOs canvas{width:3.5rem !important;height:2.5rem !important}.cardList__cardlist-icons___1R8ky{font-size:1.8rem;margin-top:0.1rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"card-list\": \"cardList__card-list___3ZAX2\",\n\t\"patient-row\": \"cardList__patient-row___sRivP\",\n\t\"case-row\": \"cardList__case-row___3aGHU\",\n\t\"viewed\": \"cardList__viewed___3H5yI\",\n\t\"not-viewed\": \"cardList__not-viewed___2jYhG\",\n\t\"case-title-section\": \"cardList__case-title-section___1I_-0\",\n\t\"avatar\": \"cardList__avatar___120qA\",\n\t\"insurance-no\": \"cardList__insurance-no___1--Hb\",\n\t\"name\": \"cardList__name___3aolU\",\n\t\"data-block\": \"cardList__data-block___3S9FR\",\n\t\"action-block\": \"cardList__action-block___2I5OI\",\n\t\"left-block\": \"cardList__left-block___31z1u\",\n\t\"right-block\": \"cardList__right-block___12RwQ\",\n\t\"menu-dropdown\": \"cardList__menu-dropdown___1MSan\",\n\t\"action-open\": \"cardList__action-open___1DnBG\",\n\t\"action-open-full\": \"cardList__action-open-full___1TB2u\",\n\t\"birthday\": \"cardList__birthday___1XFb_\",\n\t\"insurance-chips\": \"cardList__insurance-chips___1cJoZ\",\n\t\"metadata\": \"cardList__metadata___1KRRA\",\n\t\"important\": \"cardList__important___2M9u9\",\n\t\"button-as-label\": \"cardList__button-as-label___29UNJ\",\n\t\"button-as-label-icon\": \"cardList__button-as-label-icon___3bw_1\",\n\t\"from-to\": \"cardList__from-to___3cs02\",\n\t\"case-body-section\": \"cardList__case-body-section___1KzAC\",\n\t\"status-request\": \"cardList__status-request___1j6Dh\",\n\t\"last-update\": \"cardList__last-update___2JrdF\",\n\t\"status\": \"cardList__status___YW5o-\",\n\t\"priority\": \"cardList__priority___32TRR\",\n\t\"new-request-button\": \"cardList__new-request-button___2D9t8\",\n\t\"more-cards\": \"cardList__more-cards___1VRsF\",\n\t\"case-info\": \"cardList__case-info___3dhxg\",\n\t\"department-info\": \"cardList__department-info___1q8nr\",\n\t\"title-with-action\": \"cardList__title-with-action___z6aAe\",\n\t\"anonymous-patient\": \"cardList__anonymous-patient___2EJIt\",\n\t\"title-container\": \"cardList__title-container___3DOas\",\n\t\"sparkline\": \"cardList__sparkline___1-mOs\",\n\t\"cardlist-icons\": \"cardList__cardlist-icons___1R8ky\"\n};","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { Card, CardText } from \"react-toolbox/lib/card\";\n\nimport { MobileCaseHeader } from \"~/src/js/components/shared/header\";\n\nimport { Avatar } from \"../../common\";\n\nimport messages from \"./i18n\";\nimport styles from \"./style.scss\";\n\nconst PatientHeader = ({\n title,\n case: {\n data: { fromDepartment },\n patient: {\n demographic: { fullName, gender },\n },\n },\n requester,\n}) => {\n const headerDepartment = fromDepartment;\n\n return (\n \n \n \n \n
    \n
    \n
    \n \n
    \n
    \n {fullName}\n
    \n
    \n
    \n

    \n \n

    \n \n

    {headerDepartment.name}

    \n

    {headerDepartment.hospital.name}

    \n
    \n
    \n
    \n

    \n \n

    \n
    \n {requester.fullName}\n
    \n
    \n
    \n
    \n
    \n
    \n );\n};\n\nPatientHeader.propTypes = {\n title: PropTypes.object,\n case: PropTypes.object,\n requester: PropTypes.object,\n};\n\nexport default Relay.createContainer(PatientHeader, {\n fragments: {\n case: () => Relay.QL`\n fragment on Case {\n id\n patient {\n demographic {\n fullName\n gender\n }\n }\n\n data {\n ... on DynamicFormCaseData {\n fromDepartment {\n id\n name\n hospital {\n id\n name\n }\n }\n }\n ... on PatientConversationData {\n fromDepartment {\n id\n name\n hospital {\n id\n name\n }\n }\n }\n }\n }\n `,\n requester: () => Relay.QL`\n fragment on IPerson {\n fullName\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React, { useEffect, useState } from \"react\";\nimport { intlShape, injectIntl, FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { browserHistory } from \"react-router\";\nimport { Modal, Button, ButtonGroup } from \"@akinoxsolutions/gerudo-ui\";\n\nimport SpinnerPlaceholder from \"~/src/js/components/shared/spinnerPlaceholder\";\n\nimport { URLs } from \"../../../constants\";\nimport { Table } from \"../../common\";\n\nimport { model, mapPatientCases } from \"./helpers\";\n\nimport { messages } from \"./i18n\";\n\nexport const PreviousCases = ({ intl, onClose, open, patient, relay }) => {\n const { formatMessage } = intl;\n const [isLoading, setIsLoading] = useState(true);\n\n useEffect(() => {\n if (relay) {\n relay.setVariables(\n {\n isOpen: open,\n },\n (readyState) => {\n if (readyState.done || readyState.error) {\n setIsLoading(false);\n }\n }\n );\n }\n }, [open]);\n\n const handleClose = () => onClose();\n\n const handleAddCase = () => browserHistory.push(URLs.newCaseFormat(patient.id));\n\n return (\n (\n \n \n \n \n )}\n dataTestId=\"previousCasesModal\">\n {isLoading || !patient.cases ? (\n \n ) : (\n \n )}\n \n );\n};\n\nPreviousCases.propTypes = {\n relay: PropTypes.object,\n open: PropTypes.bool,\n patient: PropTypes.object,\n intl: intlShape,\n onClose: PropTypes.func,\n};\n\nexport default Relay.createContainer(injectIntl(PreviousCases), {\n initialVariables: {\n isOpen: false,\n },\n fragments: {\n patient: () => Relay.QL`\n fragment on Patient {\n id\n cases(first: 100) @include(if: $isOpen) {\n edges {\n node {\n id\n legacyId\n updatedAt\n status {\n name\n }\n form {\n name\n }\n data {\n __typename\n ... on RequestReportData {\n toDepartment {\n name\n }\n }\n ... on PatientAssessmentData {\n toDepartment {\n name\n }\n }\n ... on ConversationConsultData {\n extraData {\n __typename\n }\n toDepartment {\n name\n }\n }\n }\n }\n }\n }\n }\n `,\n },\n});\n","import React from \"react\";\nimport Relay from \"react-relay/classic\";\nimport { Button } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { Chip } from \"../../common\";\nimport { URLs } from \"../../../constants\";\nimport PatientInformation from \"../../shared/patientInformation\";\nimport { PersonInformation } from \"../../shared/PersonInformation\";\n\nimport styles from \"./style\";\n\nimport { messages } from \"./i18n\";\n\nexport const model = (intl) => {\n return {\n caseId: {\n type: Node,\n title: intl.formatMessage(messages.caseId),\n },\n status: { type: String, title: intl.formatMessage(messages.status) },\n department: { type: String, title: intl.formatMessage(messages.department) },\n };\n};\n\nexport const mapPatientCases = (patient, closeModal) => {\n return patient.cases.edges.map((cas) => ({\n caseId: (\n
    \n {\n if (closeModal) {\n closeModal();\n }\n }}\n type=\"text\">\n {cas.node.legacyId}\n \n \n
    \n ),\n status: cas.node.status.name,\n department: cas.node.data.toDepartment && cas.node.data.toDepartment.name,\n }));\n};\n\nexport const findNextStepId = (v) =>\n v.case.data.steps.find((element) => !element.isCompleted)\n ? v.case.data.steps.find((element) => !element.isCompleted).id\n : \"end\";\n\nexport const relayQuery = {\n initialVariables: {\n caseId: null,\n caseLegacyId: null,\n },\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PatientInformation.getFragment(\"viewer\")}\n\n case(id: $caseId, legacyId: $caseLegacyId) {\n id\n legacyId\n isDraftStatus\n updatedAt\n completedAt\n patient {\n ${PatientInformation.getFragment(\"patient\")}\n legacyId\n demographic {\n gender\n firstName\n lastName\n fullName\n birthday\n age\n }\n healthInsurance {\n expiration\n number\n provinceCode\n }\n hospitals(first: 100) {\n edges {\n node { \n uniqueId \n hospital {\n id\n }\n }\n }\n }\n }\n\n data {\n ... on ThoracicSurgeryData {\n fromDepartment {\n id\n name\n hospital {\n id\n }\n }\n toDepartment {\n id\n name\n hospital {\n id\n }\n }\n\n requester {\n ${PersonInformation.getFragment(\"person\")}\n licenseNumber\n } \n }\n }\n }\n }\n `,\n },\n};\n","import { Button, CancelCircleIcon } from \"@akinoxsolutions/gerudo-ui\";\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React, { Fragment, useState, useEffect } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport { Card, CardText } from \"react-toolbox/lib/card\";\n\nimport { MobileCaseHeader } from \"~/src/js/components/shared/header\";\n\nimport { formatHealthInsuranceNumber } from \"../../../helpers/strings\";\nimport BirthdayAndAge from \"../../patients/birthdayAndAge\";\nimport PatientInformation from \"../../shared/patientInformation\";\nimport { PersonInformation } from \"../../shared/PersonInformation\";\nimport CaseCancelDialog from \"../../../../js/components/cases/caseCancelDialog\";\nimport { HideOnPrint } from \"../HideOnPrint\";\n\nimport Mrn from \"./Mrn\";\nimport PreviousCases from \"./PreviousCases\";\n\nimport messages from \"./i18n\";\nimport styles from \"./style.scss\";\n\nexport const ClinicianHeader = ({\n title,\n allowCancel,\n case: cas,\n case: {\n data: { fromDepartment }, // add permissions here if genreq needed\n patient: {\n healthInsurance,\n demographic,\n demographic: { fullName },\n },\n permissions,\n },\n patientCustomLabel,\n requester,\n showMrns,\n hideDpt,\n hideRequester,\n viewer,\n customPrintHeader,\n relay: { setVariables },\n}) => {\n const [showCases, setShowCases] = useState(false);\n const [showModalAbort, setShowModalAbort] = useState(false);\n const [hasMrn, setHasMrn] = useState(false);\n\n const handleCases = () => setShowCases(!showCases);\n\n const toggleShowModalAbort = () => {\n setShowModalAbort(!showModalAbort);\n };\n\n useEffect(() => {\n if (!showMrns) {\n return;\n }\n\n setVariables({ showMrns }, (readyState) => {\n if (readyState.done || readyState.error) {\n setHasMrn(true);\n }\n });\n }, [showMrns]);\n\n const headerDepartment = fromDepartment;\n\n return (\n \n \n \n \n \n
    \n
    \n
    {/* */}
    \n
    \n \n {patientCustomLabel && (\n ({patientCustomLabel})\n )}\n

    \n {formatHealthInsuranceNumber(\n healthInsurance.number,\n healthInsurance.provinceCode\n )}\n

    \n

    \n \n

    \n \n
    \n
    \n {hasMrn && }\n {!hideDpt && (\n
    \n

    \n \n

    \n \n

    {headerDepartment.name}

    \n

    {headerDepartment.hospital.name}

    \n
    \n
    \n )}\n {!hideRequester && requester && (\n
    \n

    \n \n

    \n \n

    {requester.licenseNumber}

    \n
    \n )}\n
    \n
    \n \n {allowCancel && permissions.canCancel && (\n \n toggleShowModalAbort(c)}\n icon={}>\n \n \n toggleShowModalAbort()}\n onCancelSuccess={() => toggleShowModalAbort()}\n viewer={viewer}\n />\n \n )}\n
    \n
    \n {customPrintHeader && customPrintHeader}\n
    \n );\n};\n\nClinicianHeader.propTypes = {\n title: PropTypes.node,\n allowCancel: PropTypes.bool,\n canCancel: PropTypes.bool,\n case: PropTypes.object,\n patientCustomLabel: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n showMrns: PropTypes.bool,\n hideDpt: PropTypes.bool,\n hideRequester: PropTypes.bool,\n requester: PropTypes.object,\n permissions: PropTypes.object,\n viewer: PropTypes.object,\n customPrintHeader: PropTypes.node,\n};\n\nClinicianHeader.defaultProps = {\n showMrns: false,\n};\n\nexport default Relay.createContainer(ClinicianHeader, {\n initialVariables: {\n showMrns: false,\n },\n fragments: {\n case: ({ showMrns }) => Relay.QL`\n fragment on Case {\n id\n ${Mrn.getFragment(\"case\").if(showMrns)}\n ${CaseCancelDialog.getFragment(\"case\")}\n patient {\n ${PatientInformation.getFragment(\"patient\")}\n ${PreviousCases.getFragment(\"patient\")}\n\n demographic {\n ${BirthdayAndAge.getFragment(\"demographic\")}\n fullName\n gender\n }\n\n healthInsurance {\n number\n provinceCode\n }\n }\n \n permissions {\n canCancel\n }\n\n status {\n ${CaseCancelDialog.getFragment(\"status\")}\n name\n }\n\n data {\n ... on ConversationConsultData {\n fromDepartment {\n id\n name\n hospital {\n id\n name\n }\n }\n }\n ... on PatientConversationData {\n fromDepartment {\n id\n name\n hospital {\n id\n name\n }\n }\n }\n ... on ThoracicSurgeryData {\n fromDepartment {\n id\n name\n hospital {\n id\n name\n }\n }\n }\n ... on DynamicFormCaseData {\n fromDepartment {\n id\n name\n hospital {\n id\n name\n }\n }\n }\n }\n }\n `,\n requester: () => Relay.QL`\n fragment on IPerson {\n ${PersonInformation.getFragment(\"person\")}\n ... on Person {\n licenseNumber\n }\n ... on Physician {\n licenseNumber\n }\n }\n `,\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PatientInformation.getFragment(\"viewer\")}\n ${CaseCancelDialog.getFragment(\"viewer\")}\n }\n `,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { Card } from \"@akinoxsolutions/gerudo-ui\";\nimport classNames from \"classnames\";\n\nimport MobileMediaQuery from \"~/src/js/components/shared/MediaQuery/MobileMediaQuery\";\n\nimport { CaseStatusUpdate } from \"./\";\n\nimport styles from \"./style.scss\";\n\nconst MobileCaseHeader = ({ title, status }) => {\n return (\n \n \n {title}\n {status && }\n \n \n );\n};\n\nMobileCaseHeader.propTypes = {\n title: PropTypes.object,\n status: PropTypes.string,\n};\n\nexport default MobileCaseHeader;\n","export { default as PatientHeader } from \"./patientHeader\";\nexport { default as ClinicianHeader } from \"./clinicianHeader\";\nexport { default as MobileCaseHeader } from \"./mobileCaseHeader\";\nexport { default as CaseStatusUpdate } from \"./caseStatusUpdate\";\n","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./InputLabel.module.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./InputLabel.module.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./InputLabel.module.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport Relay from \"react-relay/classic\";\nimport Avatar from \"react-toolbox/lib/avatar\";\n\nimport style from \"./personAvatar.style\";\n\nclass PersonAvatar extends React.Component {\n static propTypes = {\n person: PropTypes.object.isRequired,\n className: PropTypes.string,\n firstNameOverride: PropTypes.string,\n lastNameOverride: PropTypes.string,\n pictureUrlOverride: PropTypes.string,\n };\n\n state = {\n errored: \"\",\n };\n\n render() {\n const {\n person,\n firstNameOverride,\n lastNameOverride,\n pictureUrlOverride,\n // eslint-disable-next-line no-unused-vars\n relay,\n className,\n ...props\n } = this.props;\n const hasOverride = pictureUrlOverride !== undefined && pictureUrlOverride !== null;\n const pictureUrl = hasOverride ? pictureUrlOverride : person.pictureUrl;\n const hasPicture = pictureUrl && pictureUrl.length > 0 && this.state.errored !== pictureUrl;\n const classNames = classnames(style[\"person-avatar\"], className, {\n [style[\"with-picture\"]]: hasPicture,\n [style[\"no-picture\"]]: !hasPicture,\n });\n let initials = \"\";\n let firstName = firstNameOverride,\n lastName = lastNameOverride;\n if (person) {\n firstName = firstName || person.firstName;\n lastName = lastName || person.lastName;\n if (firstName && firstName.length >= 1) {\n initials += firstName[0].toUpperCase();\n }\n\n if (lastName && lastName.length >= 1) {\n initials += lastName[0].toUpperCase();\n }\n }\n return (\n {\n this.setState({ errored: pictureUrl });\n }}>\n {hasPicture ? null : initials}\n \n );\n }\n}\n\nexport default Relay.createContainer(PersonAvatar, {\n initialVariables: {},\n fragments: {\n person: () => Relay.QL`\n fragment on IPerson {\n firstName\n lastName\n pictureUrl\n }`,\n },\n});\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages, FormattedMessage } from \"react-intl\";\nimport Relay from \"react-relay/classic\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport { List, ListItem, ListItemContent, ListItemText } from \"react-toolbox/lib/list\";\n\nimport { parseToDate, parseToCalendarDate } from \"../../../helpers/dates\";\nimport { isClientFeatureEnabled, clientFeatureKeys } from \"../../../helpers/features\";\nimport PersonAvatar from \"../../accounts/personAvatar\";\nimport { AttachmentListItem } from \"../../attachments/attachmentUploadAndList\";\nimport FormattedDateTime from \"../../shared/formattedDateTime\";\nimport FormattedRelative from \"../../shared/formattedRelative\";\nimport HtmlElement from \"../../shared/htmlElement\";\nimport PatientInformation from \"../../shared/patientInformation\";\nimport { PersonInformation } from \"../../shared/PersonInformation\";\n\nimport { messages as eConsultFormReportI18n } from \"./ECONSULT_form_report\";\n\nimport eConsultFormStyle from \"./ECONSULT_form.style\";\nimport baseI18n from \"../../../../messages/base.i18n\";\n\nexport const messages = defineMessages({\n created: {\n id: \"historyItem.created\",\n description: \"Small title for a conversation consult case history CREATED item\",\n defaultMessage: \"{name} created the case\",\n },\n submitted: {\n id: \"historyItem.submitted\",\n description: \"Small title for a conversation consult case history SUBMITTED item\",\n defaultMessage: \"{name} submitted the case\",\n },\n reported: {\n id: \"historyItem.reported\",\n description: \"Small title for a conversation consult case history REPORTED item\",\n defaultMessage: \"{name} created a report on the case\",\n },\n requestedMoreInformation: {\n id: \"historyItem.requestedMoreInformation\",\n description:\n \"Small title for a conversation consult case history REQUESTEDMOREINFORMATION item\",\n defaultMessage: \"{name} requested more information\",\n },\n contributed: {\n id: \"historyItem.contributed\",\n description: \"Small title for a conversation consult case history CONTRIBUTED item\",\n defaultMessage: \"{name} commented on the case\",\n },\n contributedMoreInformation: {\n id: \"historyItem.contributedMoreInformation\",\n description:\n \"Small title for a conversation consult case history CONTRIBUTEDMOREINFORMATION item\",\n defaultMessage: \"{name} added more information\",\n },\n contributedToReport: {\n id: \"historyItem.contributedToReport\",\n description: \"Small title for a conversation consult case history CONTRIBUTEDTOREPORT item\",\n defaultMessage: \"{name} contributed information\",\n },\n reopened: {\n id: \"historyItem.reopened\",\n description: \"Small title for a conversation consult case history REOPENED item\",\n defaultMessage: \"{name} reopened the request\",\n },\n closed: {\n id: \"historyItem.closed\",\n description: \"Small title for a conversation consult case history CLOSED item\",\n defaultMessage: \"{name} closed the request\",\n },\n canceled: {\n id: \"historyItem.canceled\",\n description: \"Small title for a conversation consult case history CANCELED item\",\n defaultMessage: \"{name} aborted the request\",\n },\n dispatched: {\n id: \"historyItem.dispatched\",\n description: \"Small title for a conversation consult case history DISPATCHED item\",\n defaultMessage: \"{name} dispatched the request\",\n },\n dispatchedToDepartment: {\n id: \"historyItem.dispatchedToDepartment\",\n description: \"Text for dispatched to department item\",\n defaultMessage: \"Destination department is: {name}\",\n },\n dispatchedToClinicalDomain: {\n id: \"historyItem.dispatchedToClinicalDomain\",\n description: \"Text for dispatched to clinical domain item\",\n defaultMessage: \"Destination specialty is: {name}\",\n },\n reporterAssigned: {\n id: \"historyItem.reporterAssigned\",\n description: \"Text for reporter assigned item\",\n defaultMessage: \"Reporter assigned: {name}\",\n },\n redispatchRequested: {\n id: \"historyItem.redispatchRequested\",\n description: \"Text for request for redispatch\",\n defaultMessage: \"{name} requested a re-assignment of the request\",\n },\n referred: {\n id: \"historyItem.referred\",\n description: \"Text for referral\",\n defaultMessage: \"{name} referred the request externally\",\n },\n redispatchedReason: {\n id: \"historyItem.redispatchedReason\",\n description: \"Text for redispatch reason\",\n defaultMessage: \"The following reason was specified:\",\n },\n unknown: {\n id: \"historyItem.unknown\",\n description:\n \"Small title for a conversation consult case history CONTRIBUTEDMOREINFORMATION item\",\n defaultMessage: \"This action is not yet supported by the interface...\",\n },\n attachedFile: {\n id: \"historyItem.attachedFile\",\n description: \"Label along with file name for history item file\",\n defaultMessage: \"With attachment\",\n },\n onBehalfOf: {\n id: \"historyItem.onBehalfOf\",\n description: \"Label added when an action is taken on behalf of someone else\",\n defaultMessage: \"on {isSelf, plural, one {your behalf} other {behalf of {name}}}\",\n },\n regarding: {\n id: \"historyItem.regarding\",\n description: \"Label added when an action is regarding a patient\",\n defaultMessage: \"regarding {name}\",\n },\n pursuingReferral: {\n id: \"historyItem.pursuingReferral\",\n description: \"Small title when clinician is pursuing the recommended referral\",\n defaultMessage: \"PCP intends to pursue the recommended referral\",\n },\n notPursuingReferral: {\n id: \"historyItem.notPursuingReferral\",\n description: \"Small title when clinician is NOT pursuing the recommended referral\",\n defaultMessage:\n \"PCP does not intend to pursue the recommended referral. The reason given is as follows:\",\n },\n reason: {\n id: \"historyItem.reason\",\n description: \"Label for reason\",\n defaultMessage: \"Reason\",\n },\n videoStarted: {\n id: \"historyItem.videoStarted\",\n description: \"Video started\",\n defaultMessage: \"{name} started a videoconference\",\n },\n videoEnded: {\n id: \"historyItem.videoEnded\",\n description: \"video ended\",\n defaultMessage: \"{name} ended the videoconference\",\n },\n videoExternalCallEnded: {\n id: \"historyItem.videoExternalCallEnded\",\n description: \"Label for the call for when a call for external provider has ended.\",\n defaultMessage: \"{name} ended the external videoconference.\",\n },\n videoStartTime: {\n id: \"historyItem.videoStartTime\",\n description: \"Label for the call for the start time of a videoconference.\",\n defaultMessage: \"Start time\",\n },\n videoEndTime: {\n id: \"historyItem.videoEndTime\",\n description: \"Label for the call for the end time of a videoconference.\",\n defaultMessage: \"End time\",\n },\n videoDuration: {\n id: \"historyItem.videoDuration\",\n description: \"Label for the call for duration of a videoconference.\",\n defaultMessage: \"Duration in minutes\",\n },\n videoNumberOfParticipants: {\n id: \"historyItem.videoNumberOfParticipants\",\n description: \"Label for the call for the number participants of a videoconference.\",\n defaultMessage: \"Number of participants\",\n },\n videoCallTopic: {\n id: \"historyItem.videoCallTopic\",\n description: \"Label for the call for the topic of a videoconference.\",\n defaultMessage: \"Subject\",\n },\n});\n\nexport function getItemIcon(item, fallback): string {\n let iconValue = \"\";\n switch (item.type) {\n case \"CREATED\":\n iconValue = \"folder_open\";\n break;\n\n case \"SUBMITTED\":\n iconValue = \"send\";\n break;\n\n case \"REPORTERASSIGNED\":\n case \"REPORTED\":\n iconValue = \"assignment_return\";\n break;\n\n case \"DISPATCHED\":\n iconValue = \"mail_outline\";\n break;\n\n case \"REDISPATCHREQUESTED\":\n iconValue = \"comment\";\n break;\n\n case \"REQUESTEDMOREINFORMATION\":\n iconValue = \"assignment_return\";\n break;\n\n case \"CONTRIBUTED\":\n iconValue = \"comment\";\n break;\n\n case \"CONTRIBUTEDMOREINFORMATION\":\n iconValue = \"send\";\n break;\n\n case \"CONTRIBUTEDTOREPORT\":\n iconValue = \"comment\";\n break;\n\n case \"REOPENED\":\n iconValue = \"refresh\";\n break;\n\n case \"CLOSED\":\n iconValue = \"done_all\";\n break;\n\n case \"CANCELED\":\n iconValue = \"cancel\";\n break;\n\n case \"REFERRED\":\n iconValue = \"arrow_forward\";\n break;\n\n default:\n iconValue = fallback ? fallback(item) : null;\n break;\n }\n\n return iconValue || \"history\";\n}\n\nclass _HistoryItemText extends React.Component {\n static propTypes = {\n viewer: PropTypes.any.isRequired,\n item: PropTypes.any.isRequired,\n fallback: PropTypes.func,\n intl: intlShape,\n };\n\n render() {\n const { item, fallback } = this.props;\n let title = \"\";\n\n switch (item.type) {\n case \"CREATED\":\n title = messages.created;\n break;\n\n case \"SUBMITTED\":\n title = messages.submitted;\n break;\n\n case \"REPORTED\":\n title = messages.reported;\n break;\n\n case \"DISPATCHED\":\n title = messages.dispatched;\n break;\n\n case \"REPORTERASSIGNED\":\n title = messages.reporterAssigned;\n break;\n\n case \"REDISPATCHREQUESTED\":\n title = messages.redispatchRequested;\n break;\n\n case \"REQUESTEDMOREINFORMATION\":\n title = messages.requestedMoreInformation;\n break;\n\n case \"CONTRIBUTED\":\n title = messages.contributed;\n break;\n\n case \"CONTRIBUTEDMOREINFORMATION\":\n title = messages.contributedMoreInformation;\n break;\n\n case \"CONTRIBUTEDTOREPORT\":\n title = messages.contributedToReport;\n break;\n\n case \"REOPENED\":\n title = messages.reopened;\n break;\n\n case \"CLOSED\":\n title = messages.closed;\n break;\n\n case \"CANCELED\":\n title = messages.canceled;\n break;\n\n case \"REFERRED\":\n title = messages.referred;\n break;\n\n case \"VIDEO_STARTED\":\n title = messages.videoStarted;\n break;\n\n case \"VIDEO_ENDED\":\n title = messages.videoEnded;\n break;\n\n case \"VIDEO_EXTERNAL_CALL_ENDED\":\n title = messages.videoExternalCallEnded;\n break;\n\n default:\n title = fallback ? fallback(item) : null;\n title = title || messages.unknown;\n break;\n }\n return (\n \n }}\n />\n\n {item.onBehalfOf && (\n \n {\" \"}\n \n ) : (\n \n ),\n }}\n />\n \n )}\n \n );\n }\n}\n\nexport const HistoryItemText = Relay.createContainer(injectIntl(_HistoryItemText), {\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n ${PatientInformation.getFragment(\"viewer\")}\n }\n `,\n item: () => Relay.QL`\n fragment on ConversationHistoryItem {\n author {\n id\n person {\n id\n fullName\n ${PersonAvatar.getFragment(\"person\")}\n ${PersonInformation.getFragment(\"person\")}\n }\n }\n onBehalfOf {\n __typename\n person {\n id\n fullName\n ${PersonInformation.getFragment(\"person\")}\n }\n patient {\n id\n demographic {\n fullName\n }\n ${PatientInformation.getFragment(\"patient\")}\n }\n }\n type\n }\n `,\n },\n});\n\nexport class HistoryItem extends React.Component {\n static propTypes = {\n viewer: PropTypes.any.isRequired,\n item: PropTypes.any.isRequired,\n viewerUrl: PropTypes.string,\n showPersonAvatar: PropTypes.bool,\n patientGender: PropTypes.string,\n fallbacks: PropTypes.shape({\n title: PropTypes.func,\n icon: PropTypes.func,\n content: PropTypes.func,\n }),\n intl: intlShape,\n };\n\n state = {\n errors: [],\n };\n\n render() {\n const { viewer, item, showPersonAvatar, fallbacks, ...props } = this.props;\n const t = this.props.intl.formatMessage;\n const icon = getItemIcon(item, fallbacks ? fallbacks.icon : null);\n const itemMessages = item.data.filter((x) => !x.attachment || !x.attachment.fileName);\n const attachments = item.data.filter((x) => x.attachment && x.attachment.fileName);\n return (\n : null}\n theme={eConsultFormStyle}\n className=\"history-item\"\n {...props}>\n \n \n {\" \"}\n \n ()\n \n \n {itemMessages.map((x, i) => (\n \n {x.reasonId && (\n

    \n \n {t(messages.reason)}\n {t(baseI18n.global.colon)}\n {\" \"}\n

    \n )}\n\n {x.message &&\n // eslint-disable-next-line no-underscore-dangle\n x.__typename !== \"ReferralRecommendedHistoryItemData\" && (\n \n )}\n\n {x.message &&\n // eslint-disable-next-line no-underscore-dangle\n x.__typename === \"ReferralRecommendedHistoryItemData\" && (\n

    \n \n \n

    \n )}\n\n {x.clinicalDomain && (\n

    {t(messages.dispatchedToClinicalDomain, { name: x.clinicalDomain.name })}

    \n )}\n\n {x.department && (\n

    {t(messages.dispatchedToDepartment, { name: x.department.name })}

    \n )}\n\n {x.priority && (\n

    \n {t(baseI18n.global.priority)}\n {t(baseI18n.global.colon)} {x.priority.name}\n

    \n )}\n\n {x.reason && (\n
    \n {t(messages.redispatchedReason)}\n \n
    \n )}\n\n {x.reporter && (\n
    \n \n {t(eConsultFormReportI18n.reporter)}\n {t(baseI18n.global.colon)}\n {\" \"}\n {x.reporter.person ? x.reporter.person.fullName : x.reporter.fullName}\n
    \n )}\n\n {fallbacks && fallbacks.content ? fallbacks.content(x) : null}\n\n {this.renderVideoFields(x)}\n\n {this.renderPreviewFields(x)}\n\n {this.renderPursuingReferral(x)}\n
    \n ))}\n \n {attachments.map((x) => (\n \n ))}\n \n
    \n \n );\n }\n\n renderVideoFields(x) {\n const t = this.props.intl.formatMessage;\n\n return (\n
    \n {x.modality && (\n

    \n \n {t({ id: \"forms.econsult.referral.modality\" }) + t(baseI18n.global.colon)}\n {\" \"}\n {x.modality}\n

    \n )}\n\n {x.startTime && (\n

    \n {t(messages.videoStartTime) + t(baseI18n.global.colon)}{\" \"}\n \n

    \n )}\n {x.endTime && (\n

    \n {t(messages.videoEndTime) + t(baseI18n.global.colon)}{\" \"}\n \n

    \n )}\n {x.duration && (\n

    \n {t(messages.videoDuration) + t(baseI18n.global.colon)} {x.duration}\n

    \n )}\n {x.participantsCount !== null && typeof x.participantsCount !== \"undefined\" && (\n

    \n {t(messages.videoNumberOfParticipants) + t(baseI18n.global.colon)}{\" \"}\n {x.participantsCount}\n

    \n )}\n {x.topic && (\n

    \n {t(messages.videoCallTopic) + t(baseI18n.global.colon)} {x.topic}\n

    \n )}\n
    \n );\n }\n\n renderPreviewFields(x) {\n const v4preview = isClientFeatureEnabled(clientFeatureKeys.V4Preview);\n if (!v4preview) {\n return;\n }\n\n return [\n x.isCrds && (\n
    \n Demandée via le CRDS\n
    \n ),\n x.destinationDepartment && (\n
    \n Département : \n {x.destinationDepartment.name}\n
    \n ),\n x.scheduledTime && (\n
    \n Rendez-vous : \n {x.mode && x.mode === \"person\" ? \"En personne\" : \"Virtuellement\"}\n {\" le \"}\n \n {x.modality && (\n \n {\" \"}\n via{\" \"}\n {x.modality.icon.type === \"img\" &&\n React.createElement(x.modality.icon.type, {\n ...x.modality.icon.props,\n style: { height: \"1.5rem\", fontSize: \"1rem\" },\n })}{\" \"}\n {x.modality.label}\n \n )}\n {x.room && dans la salle {x.room}}\n
    \n ),\n ];\n }\n\n renderPursuingReferral(item) {\n const t = this.props.intl.formatMessage;\n if (item.pursuingReferral !== null && item.pursuingReferral !== undefined) {\n return item.pursuingReferral ? (\n

    \n \n {t(messages.pursuingReferral)}\n

    \n ) : (\n
    \n

    \n \n {t(messages.notPursuingReferral)}\n

    \n \n
    \n );\n }\n }\n}\n\nexport default Relay.createContainer(injectIntl(HistoryItem), {\n initialVariables: {},\n fragments: {\n viewer: () => Relay.QL`\n fragment on RootQuery {\n features\n ${HistoryItemText.getFragment(\"viewer\")}\n }\n `,\n item: () => Relay.QL`\n fragment on ConversationHistoryItem {\n ${HistoryItemText.getFragment(\"item\")}\n author {\n id\n person {\n ${PersonAvatar.getFragment(\"person\")}\n }\n }\n date\n type\n data {\n __typename\n\n ... on MessageHistoryItemData {\n message\n }\n\n ... on MessageWithReasonHistoryItemData {\n message\n reasonId\n }\n\n ... on FileHistoryItemData {\n attachment {\n id\n fileName\n url\n previewUrl\n size\n description\n permissions {\n canDelete\n canEditDescription\n canEditDocumentType\n canEditBodyParts\n }\n bodyParts {\n id\n code\n name\n }\n }\n }\n\n ... on ReasonHistoryItemData {\n reason\n }\n\n ... on DispatchedHistoryItemData {\n department {\n id\n name\n }\n clinicalDomain {\n id\n name\n }\n \n reason\n }\n\n ... on DispatchedWithPriorityHistoryItemData {\n department {\n id\n name\n }\n priority {\n id\n name\n }\n clinicalDomain {\n id\n name\n }\n \n reason\n }\n\n ... on ClosedHistoryItemData {\n pursuingReferral\n notPursuingReferralReason\n }\n\n ... on ReporterAssignedHistoryItemData {\n reporter {\n person {\n fullName\n }\n }\n }\n\n ... on ReferralRecommendedHistoryItemData {\n message\n }\n }\n }\n `,\n },\n});\n","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./formHeader.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./formHeader.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./formHeader.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import React from \"react\";\nimport { FormattedTime } from \"react-intl\";\n\nimport FormattedDate from \"./formattedDate\";\n\nexport default class FormattedDateTime extends React.Component {\n static propTypes = FormattedDate.propTypes;\n\n render() {\n const { className, ...other } = this.props;\n return (\n \n );\n }\n}\n","import Relay from \"react-relay/classic\";\n\nexport default class UpdatePatientHealthInsuranceMutation extends Relay.Mutation {\n // IE <= 10 workaround URL: https://github.com/facebook/relay/issues/1444\n static getFragment(name) {\n return Relay.Mutation.getFragment.call(UpdatePatientHealthInsuranceMutation, name);\n }\n\n getMutation() {\n return Relay.QL`mutation { updatePatientHealthInsurance }`;\n }\n\n getVariables() {\n return {\n patientId: this.props.patient.id,\n healthInsurance: this.props.healthInsurance,\n };\n }\n\n getFatQuery() {\n return Relay.QL`\n fragment on UpdatePatientHealthInsurancePayload {\n patient {\n ${UpdatePatientHealthInsuranceMutation.getFragment(\"patient\")}\n }\n }\n `;\n }\n\n getConfigs() {\n return [\n {\n type: \"FIELDS_CHANGE\",\n fieldIDs: {\n patient: this.props.patient.id,\n },\n },\n ];\n }\n\n static fragments = {\n patient: () => Relay.QL`\n fragment on Patient {\n id\n updatedAt\n healthInsurance {\n provinceCode\n number\n expiration\n hl7RelationshipCode\n }\n }\n `,\n };\n}\n","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".formHeader-style__header-status-container___fx2gY{display:flex;justify-content:space-between}.formHeader-style__header-status-container___fx2gY span{font-size:12px;font-weight:500;color:white}.formHeader-style__thorsurg-container___39e16{justify-content:space-between}.formHeader-style__thorsurg-container___39e16 .formHeader-style__thorsurg-date___3Fk_1{align-items:center;display:flex;justify-content:space-between}.formHeader-style__thorsurg-container___39e16 .formHeader-style__thorsurg-date___3Fk_1 span{margin-left:8px}.formHeader-style__thorsurg-container___39e16 .formHeader-style__thorsurg-date___3Fk_1 span .formHeader-style__date-label___1y52T{font-size:14px}.formHeader-style__thorsurg-container___39e16 .formHeader-style__thorsurg-date___3Fk_1 span .formHeader-style__date___2Be5_{font-size:16px;font-weight:bold}@media (max-width: 601px){.formHeader-style__thorsurg-container___39e16 .formHeader-style__thorsurg-date___3Fk_1{display:none}}.formHeader-style__thorsurg-left___2W24d{align-items:center;display:flex;justify-content:space-between;width:400px}.formHeader-style__thorsurg-left___2W24d div{border-radius:3px;background-color:#9796ca;color:white;font-size:12px;height:25px;padding:5px 20px}@media (max-width: 641px){.formHeader-style__thorsurg-left___2W24d div{margin-right:10px}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"header-status-container\": \"formHeader-style__header-status-container___fx2gY\",\n\t\"thorsurg-container\": \"formHeader-style__thorsurg-container___39e16\",\n\t\"thorsurg-date\": \"formHeader-style__thorsurg-date___3Fk_1\",\n\t\"date-label\": \"formHeader-style__date-label___1y52T\",\n\t\"date\": \"formHeader-style__date___2Be5_\",\n\t\"thorsurg-left\": \"formHeader-style__thorsurg-left___2W24d\"\n};","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".ReportSignatureCard-style__signature-container___3YqZq{display:flex;flex-direction:row;flex-wrap:wrap}.ReportSignatureCard-style__signature-item___3gseg{display:flex;flex-direction:column;padding-right:4rem;padding-top:1rem;padding-bottom:1rem}.ReportSignatureCard-style__signature-item___3gseg .ReportSignatureCard-style__data___3taop{padding-top:0.5rem;font-size:16px;font-weight:bold}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"signature-container\": \"ReportSignatureCard-style__signature-container___3YqZq\",\n\t\"signature-item\": \"ReportSignatureCard-style__signature-item___3gseg\",\n\t\"data\": \"ReportSignatureCard-style__data___3taop\"\n};","import classnames from \"classnames\";\nimport { withFormsy } from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { themr } from \"react-css-themr\";\nimport Autocomplete from \"react-toolbox/lib/autocomplete\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\n\nimport { shouldShowError } from \"./inputHelpers\";\n\nimport style from \"./textInput.style\";\n\nexport class AutocompleteInput extends React.Component {\n static propTypes = {\n autoFocus: PropTypes.bool,\n className: PropTypes.string,\n direction: PropTypes.string,\n disabled: PropTypes.bool,\n errorMessage: PropTypes.string,\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n label: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n multiple: PropTypes.bool,\n name: PropTypes.string.isRequired,\n onBlur: PropTypes.func,\n onChange: PropTypes.func,\n onQueryChange: PropTypes.func,\n required: PropTypes.bool,\n rightIcon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n selectedPosition: PropTypes.string,\n source: PropTypes.any,\n suggestionMatch: PropTypes.string,\n theme: PropTypes.any,\n value: PropTypes.any,\n };\n\n constructor(props) {\n super(props);\n this.state = {\n value: this.props.value,\n };\n }\n\n handleChange(e: string) {\n this.setState({ value: e }, () => {\n this.props.setValue(e);\n if (this.props.onChange) {\n this.props.onChange(e);\n }\n });\n }\n\n render() {\n const errorMessage = this.props.errorMessage;\n // eslint-disable no-unused-vars\n const {\n label,\n icon,\n autoFocus,\n disabled,\n theme,\n className,\n direction,\n multiple,\n onQueryChange,\n source,\n suggestionMatch,\n onBlur,\n selectedPosition,\n } = this.props;\n const showError = shouldShowError(this);\n\n // Using !== false because default (undefined) is true\n const isMultiple = multiple !== false;\n const value = this.props.value;\n const classNames = classnames(className, {\n [theme[\"multiple\"]]: isMultiple,\n [theme[\"has-values\"]]: value && value.length > 0,\n [theme[\"has-icon\"]]: Boolean(icon),\n });\n const topClassNames = classnames({\n [theme[\"required-field\"]]: this.props.isRequired && !value,\n });\n\n const v = isMultiple ? value : this.state.value;\n const props = {\n direction,\n multiple,\n selectedPosition,\n onQueryChange: (e) => {\n this.setState({ value: e });\n if (onQueryChange) {\n onQueryChange(e);\n }\n },\n source,\n suggestionMatch,\n label: label,\n value: v,\n error: showError && errorMessage ? errorMessage : null,\n icon: icon,\n required: this.props.isRequired,\n autoFocus: autoFocus,\n disabled: disabled,\n name: this.props.name,\n theme,\n className: classNames,\n onKeyPress: (e) => {\n // Make sure change is propagated to Formsy before submiting the form.\n // Couldn't find a better way.\n if (e.charCode === 13) {\n this.handleChange(this.state.value);\n }\n },\n onChange: (e) => this.handleChange(e),\n onBlur,\n };\n\n return (\n \n );\n }\n\n renderRightIcon() {\n const rightIcon = this.props.rightIcon;\n if (!rightIcon) {\n return null;\n }\n\n return (\n \n {typeof rightIcon === \"string\" ? : rightIcon}\n \n );\n }\n}\n\nconst ThemedAutocompleteInput = themr(\"AKAutocompleteInput\", style)(AutocompleteInput);\nexport default withFormsy(ThemedAutocompleteInput);\n","import PropTypes from \"prop-types\";\n\nimport { PersonPropTypes } from \"../Person\";\n\nexport const UserPropTypes = PropTypes.shape({\n email: PropTypes.string,\n person: PersonPropTypes,\n isConfirmed: PropTypes.bool,\n});\n","import { UserPropTypes } from \"./UserPropTypes\";\n\nexport { UserPropTypes };\n","import PropTypes from \"prop-types\";\n\nconst itemPropTypes = PropTypes.shape({\n id: PropTypes.string,\n value: PropTypes.string,\n});\n\nexport const UserLanguagesPropTypes = PropTypes.shape({\n language: itemPropTypes,\n languageProficiencyLevel: itemPropTypes,\n});\n","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@-webkit-keyframes radioButton__error-animation___1OGpu{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}@keyframes radioButton__error-animation___1OGpu{0%{background:inherit}50%{background:#fff5f5}100%{background:inherit}}.radioButton__animate-error___3bluS{background:#fff5f5;-webkit-animation:radioButton__error-animation___1OGpu 1s 3 alternate;animation:radioButton__error-animation___1OGpu 1s 3 alternate;border:2px solid #f00}.radioButton__animate-error___3bluS *:not([data-react-toolbox]){background:transparent !important}.gerudo-input input::-webkit-input-placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input::placeholder,.gerudo-input input::-webkit-input-placeholder{color:#636363 !important;font-weight:400}.gerudo-input input:disabled{color:#424242 !important;font-weight:400 !important}.gerudo-input input:disabled::-webkit-input-placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}.gerudo-input input:disabled::placeholder,.gerudo-input input:disabled::-webkit-input-placeholder{color:#424242 !important;opacity:1}[data-react-toolbox=\\\"radio-group\\\"]{background-color:#fff;border-radius:5px}.radioButton__required___1K9Lt{position:absolute;font-size:1.6rem;margin-left:-3px}.radioButton__errored___LHJgv [data-react-toolbox=\\\"radio-group\\\"]{background-color:#fff5f5;border-bottom:1px solid #de3226}.radioButton__errored___LHJgv [data-react-toolbox=\\\"font-icon\\\"]{color:rgba(200,0,0,0.26)}.radioButton__errored___LHJgv .radioButton__field___Or2cI{margin-bottom:0 !important}.radioButton__errored___LHJgv .radioButton__error-text___eGo1b{margin-bottom:0 !important}.radioButton__with-icon___1nAUw .radioButton__label___JO8fT{margin-left:0}.radioButton__with-icon___1nAUw .radioButton__error-text___eGo1b{margin-left:4.8rem}.radioButton__with-label___36KFy [data-react-toolbox=\\\"font-icon\\\"]{margin-top:0.8rem}.radioButton__important-label___3d_Ga .radioButton__label___JO8fT{color:rgba(0,0,0,0.6);font-size:1.4rem;line-height:1.4rem;padding-bottom:0.5rem}.radioButton__label___JO8fT{color:rgba(0,0,0,0.4);font-size:1.2rem;line-height:1.2rem;white-space:pre-wrap;position:relative}.radioButton__radio-buttons___3Yynq{padding-bottom:1.5rem;padding-right:1rem}.radioButton__radio-buttons___3Yynq.radioButton__inline-errored___2EzDT{padding-bottom:0}.radioButton__radio-buttons___3Yynq>[data-react-toolbox=\\\"font-icon\\\"]{float:left;width:4.8rem;height:4.8rem;font-size:2.4rem !important;line-height:4.8rem !important;text-align:center;color:rgba(0,0,0,0.26);position:relative}.radioButton__radio-buttons___3Yynq.radioButton__with-label___36KFy>[data-react-toolbox=\\\"radio-group\\\"]{margin-top:0}.radioButton__radio-buttons___3Yynq:not(.radioButton__with-icon___1nAUw)>[data-react-toolbox=\\\"radio-group\\\"]{margin-left:0 !important;padding:0.8rem 0}.radioButton__radio-buttons___3Yynq>[data-react-toolbox=\\\"radio-group\\\"]{margin:0.7rem 0 0rem 4.8rem;padding:0.8rem 0}.radioButton__radio-buttons___3Yynq>[data-react-toolbox=\\\"radio-group\\\"]>label{margin-bottom:0.5rem !important;height:auto !important}.radioButton__radio-buttons___3Yynq>[data-react-toolbox=\\\"radio-group\\\"]>label [data-react-toolbox=\\\"radio\\\"][disabled]{border:0.2rem solid #333}.radioButton__radio-buttons___3Yynq>[data-react-toolbox=\\\"radio-group\\\"]>label [data-react-toolbox=\\\"radio\\\"][disabled]::before{background-color:#333}.radioButton__radio-buttons___3Yynq>[data-react-toolbox=\\\"radio-group\\\"]>label .radioButton__text___3BPi6{white-space:pre-wrap;color:#333}.radioButton__radio-buttons___3Yynq .radioButton__other-option-input___16gEJ{margin:0 3rem}.radioButton__radio-buttons___3Yynq .radioButton__other-option-input___16gEJ input{background-color:#fcfcfc !important}@media (max-width: 450px){.radioButton__radio-buttons___3Yynq.radioButton__inline___3TQQB{padding-bottom:1rem}}.radioButton__radio-buttons___3Yynq.radioButton__inline___3TQQB>[data-react-toolbox=\\\"radio-group\\\"]{display:flex}@media (max-width: 450px){.radioButton__radio-buttons___3Yynq.radioButton__inline___3TQQB>[data-react-toolbox=\\\"radio-group\\\"]{flex-direction:column}}.radioButton__radio-buttons___3Yynq.radioButton__inline___3TQQB>[data-react-toolbox=\\\"radio-group\\\"]>label{align-items:center;display:flex;margin-right:2rem;margin-bottom:0 !important}@media (max-width: 450px){.radioButton__radio-buttons___3Yynq.radioButton__inline___3TQQB>[data-react-toolbox=\\\"radio-group\\\"]>label{margin-right:0;margin-bottom:0.5rem !important}}.radioButton__questionnaire-error___1BzqV{margin-top:-1.5rem;margin-bottom:1.5rem;text-align:center}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"animate-error\": \"radioButton__animate-error___3bluS\",\n\t\"error-animation\": \"radioButton__error-animation___1OGpu\",\n\t\"required\": \"radioButton__required___1K9Lt\",\n\t\"errored\": \"radioButton__errored___LHJgv\",\n\t\"field\": \"radioButton__field___Or2cI\",\n\t\"error-text\": \"radioButton__error-text___eGo1b\",\n\t\"with-icon\": \"radioButton__with-icon___1nAUw\",\n\t\"label\": \"radioButton__label___JO8fT\",\n\t\"with-label\": \"radioButton__with-label___36KFy\",\n\t\"important-label\": \"radioButton__important-label___3d_Ga\",\n\t\"radio-buttons\": \"radioButton__radio-buttons___3Yynq\",\n\t\"inline-errored\": \"radioButton__inline-errored___2EzDT\",\n\t\"text\": \"radioButton__text___3BPi6\",\n\t\"other-option-input\": \"radioButton__other-option-input___16gEJ\",\n\t\"inline\": \"radioButton__inline___3TQQB\",\n\t\"questionnaire-error\": \"radioButton__questionnaire-error___1BzqV\"\n};","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".helpText-style__help-text___1f8PC{padding:2rem 1rem 0.25rem 4.8rem;color:rgba(0,0,0,0.6);font-size:1.4rem}.helpText-style__help-text___1f8PC.helpText-style__no-field___2Q3r_{padding-left:1rem}.helpText-style__help-text___1f8PC.helpText-style__element-above___1B7vr{padding-top:0;padding-bottom:2rem}.helpText-style__help-text___1f8PC ul{margin-left:3rem}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"help-text\": \"helpText-style__help-text___1f8PC\",\n\t\"no-field\": \"helpText-style__no-field___2Q3r_\",\n\t\"element-above\": \"helpText-style__element-above___1B7vr\"\n};","export const ReportTypes = {\n Final: 0,\n Preliminary: 1,\n Amended: 2,\n};\n","exports = module.exports = require(\"../../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".genericPrintContainer-style__print-container___1Kh1G{width:100%;display:none;font-size:1rem}@media print{.genericPrintContainer-style__print-container___1Kh1G{display:block}}.genericPrintContainer-style__print-container___1Kh1G h1{font-size:2rem;border-bottom:2px solid black;padding-top:20px}.genericPrintContainer-style__print-container___1Kh1G h2{font-size:1.5rem;border-bottom:2px solid black;padding-top:20px}.genericPrintContainer-style__print-container___1Kh1G table{width:100%}.genericPrintContainer-style__print-container___1Kh1G td{border-bottom:1px solid grey}.genericPrintContainer-style__print-container___1Kh1G td:first-child{width:30%}.genericPrintContainer-style__print-container___1Kh1G td:last-child{width:70%}.genericPrintContainer-style__print-container___1Kh1G [class*=\\\"personInformation-style__link-name\\\"]{color:black;font-weight:bold}.genericPrintContainer-style__print-container___1Kh1G>div:nth-of-type(2)>h2{padding-top:0}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"print-container\": \"genericPrintContainer-style__print-container___1Kh1G\"\n};","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".NavItem-style__nav-item___1Smaq{padding:1.5rem 1rem 1.5rem 1rem}.NavItem-style__nav-item___1Smaq.NavItem-style__row___1auia{border-bottom:0.5rem solid transparent;transition:border-bottom 350ms ease-in}.NavItem-style__nav-item___1Smaq.NavItem-style__column___2bsx7{border-left:0.5rem solid transparent;transition:border-left 350ms ease-in}.NavItem-style__nav-item___1Smaq:hover{cursor:pointer;background-color:#fafafa}.NavItem-style__nav-item___1Smaq.NavItem-style__active___uvsnq{color:#009688;font-weight:400}.NavItem-style__nav-item___1Smaq.NavItem-style__active___uvsnq.NavItem-style__row___1auia{border-bottom:0.5rem solid #009688}.NavItem-style__nav-item___1Smaq.NavItem-style__active___uvsnq.NavItem-style__column___2bsx7{border-left:0.5rem solid #009688}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"nav-item\": \"NavItem-style__nav-item___1Smaq\",\n\t\"row\": \"NavItem-style__row___1auia\",\n\t\"column\": \"NavItem-style__column___2bsx7\",\n\t\"active\": \"NavItem-style__active___uvsnq\"\n};","\nvar content = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./stepper.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./stepper.scss\", function() {\n\t\tvar newContent = require(\"!!../../node_modules/css-loader/index.js??ref--9-1!../../node_modules/postcss-loader/src/index.js??ref--9-2!../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../node_modules/toolbox-loader/index.js!./stepper.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","import classnames from \"classnames\";\nimport { withFormsy } from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { themr } from \"react-css-themr\";\nimport Input from \"react-toolbox/lib/input\";\n\nimport { shouldShowError } from \"./inputHelpers\";\n\nimport style from \"./hiddenInput.style\";\n\nexport class _HiddenInput extends React.Component {\n static propTypes = {\n name: PropTypes.string.isRequired,\n disabled: PropTypes.bool,\n className: PropTypes.string,\n theme: PropTypes.any,\n value: PropTypes.any,\n hint: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n required: PropTypes.bool,\n onChange: PropTypes.func,\n errorMessage: PropTypes.string,\n };\n\n handleChange(e) {\n this.props.setValue(e);\n\n if (this.props.onChange) {\n this.props.onChange(e);\n }\n }\n\n render() {\n const errorMessage = this.props.errorMessage;\n const { name, disabled, hint, theme, className } = this.props;\n const hasHint = Boolean(hint);\n const showError = shouldShowError(this);\n const classNames = classnames({\n [theme[\"with-hint\"]]: hasHint && !(showError && errorMessage),\n });\n const value = this.props.value;\n const topClassNames = classnames(className, style.root, theme.root, {\n [theme[\"required-field\"]]: this.props.isRequired && !value,\n });\n return (\n \n );\n }\n}\n\nconst ThemedHiddenInput = themr(\"AKHiddenInput\", style)(_HiddenInput);\nexport { ThemedHiddenInput as Hidden };\nexport default withFormsy(ThemedHiddenInput);\n","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./genericNewRequestForm.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./genericNewRequestForm.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./genericNewRequestForm.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./Popover.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./Popover.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./Popover.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ClinicalDomain.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ClinicalDomain.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./ClinicalDomain.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./ConclusionHeader.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./ConclusionHeader.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../../node_modules/toolbox-loader/index.js!./ConclusionHeader.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","exports = module.exports = require(\"../../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"@media print{.style__hide-on-print___1uuKl{display:none !important}}.style__container___xFxDb,.style__container___xFxDb aside:first-of-type{display:flex;flex-direction:row;justify-content:space-between}.style__container___xFxDb>div:not(:first-child):not(:last-child),.style__container___xFxDb aside:first-of-type>div:not(:first-child):not(:last-child){margin-right:1rem}@media (max-width: 641px){.style__container___xFxDb,.style__container___xFxDb aside:first-of-type{flex-wrap:wrap}.style__container___xFxDb aside,.style__container___xFxDb aside:first-of-type aside{margin:20px 10px}.style__container___xFxDb>div,.style__container___xFxDb aside:first-of-type>div{margin-bottom:1rem}}@media print{.style__container___xFxDb,.style__container___xFxDb aside:first-of-type{margin:0 auto;display:flex;flex-direction:row}.style__container___xFxDb>div,.style__container___xFxDb aside:first-of-type>div{width:unset}.style__container___xFxDb>div:not(:first-child):not(:last-child),.style__container___xFxDb aside:first-of-type>div:not(:first-child):not(:last-child){margin:0 1rem}}.style__container___xFxDb .style__patient-name___1tWNG,.style__container___xFxDb aside:first-of-type .style__patient-name___1tWNG{line-height:4rem}.style__container___xFxDb .style__link-name___3Poxl,.style__container___xFxDb aside:first-of-type .style__link-name___3Poxl{font-size:16px;font-weight:600}.style__container___xFxDb .style__link-name___3Poxl small{margin-left:1rem;color:#ccc;white-space:nowrap;font-weight:normal}.style__container___xFxDb p,.style__container___xFxDb aside:first-of-type p{font-weight:400;font-size:12px;line-height:18px}.style__container___xFxDb .style__button___39LSQ,.style__container___xFxDb aside:first-of-type .style__button___39LSQ{font-size:12px;padding:0;align-self:flex-start;margin-top:10px;text-transform:none}.style__container___xFxDb .style__avatar___3vrMN,.style__container___xFxDb aside:first-of-type .style__avatar___3vrMN{padding-right:15px}@media all and (max-width: 450px){.style__container___xFxDb .style__avatar___3vrMN,.style__container___xFxDb aside:first-of-type .style__avatar___3vrMN{padding-right:0}}.style__header-card___2GrYY{margin-bottom:20px;position:relative}.style__header-card___2GrYY .style__button-abort___2nbYU{bottom:1rem;float:right;position:absolute;right:1rem;width:16rem}.style__mobile-header-card___1rjE0{color:#009688 !important}.style__mobile-header-card___1rjE0>div>span{vertical-align:sub;max-width:45vw;display:inline-block}.style__mobile-header-status___14jNB{float:right;background-color:#9796ca !important;padding:0.5rem !important}.style__link-name___3Poxl{padding:0}.style__link-name___3Poxl:hover{background-color:transparent !important}.style__patient___1Vk3C{display:flex}.style__case-id-form-type___3EcKY{margin-left:1rem;display:flex;align-items:center}@media print{.style__header-card___2GrYY{border:none !important}.style__header-card-text___2NhnQ{padding:0;margin:0}.style__department___2WX0G{width:100px}.style__button-abort___2nbYU{display:none}}\\n\", \"\"]);\n\n// exports\nexports.locals = {\n\t\"hide-on-print\": \"style__hide-on-print___1uuKl\",\n\t\"container\": \"style__container___xFxDb\",\n\t\"patient-name\": \"style__patient-name___1tWNG\",\n\t\"link-name\": \"style__link-name___3Poxl\",\n\t\"button\": \"style__button___39LSQ\",\n\t\"avatar\": \"style__avatar___3vrMN\",\n\t\"header-card\": \"style__header-card___2GrYY\",\n\t\"button-abort\": \"style__button-abort___2nbYU\",\n\t\"mobile-header-card\": \"style__mobile-header-card___1rjE0\",\n\t\"mobile-header-status\": \"style__mobile-header-status___14jNB\",\n\t\"patient\": \"style__patient___1Vk3C\",\n\t\"case-id-form-type\": \"style__case-id-form-type___3EcKY\",\n\t\"header-card-text\": \"style__header-card-text___2NhnQ\",\n\t\"department\": \"style__department___2WX0G\"\n};","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport FontIcon from \"react-toolbox/lib/font_icon\";\nimport ProgressBar from \"react-toolbox/lib/progress_bar\";\n\nimport formStyle from \"../../../../../styles/forms\";\n\nexport class SpinnerIcon extends React.Component {\n static propTypes = {\n icon: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n onClick: PropTypes.func,\n loading: PropTypes.bool,\n };\n\n static defaultProps = {\n loading: false,\n icon: null,\n onClick: null,\n };\n\n constructor(props) {\n super(props);\n }\n\n render() {\n const { icon, loading, onClick, ...props } = this.props;\n return loading ? (\n \n ) : (\n \n );\n }\n}\n\nexport default SpinnerIcon;\n","import classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\n\nimport cqmfLogo from \"../../../../public/assets/images/cqmf-logo\";\nimport eConsultLogo from \"../../../../public/assets/images/econsult-logo\";\n\nimport style from \"./ECONSULT_form.style\";\n\nexport default function EConsultLogo(props) {\n const { className, ...other } = props;\n return (\n
    \n \"EConsult\n \"CQMF\n
    \n );\n}\n\nEConsultLogo.propTypes = {\n className: PropTypes.string,\n};\n","\nvar content = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./MUHCReportPrintHeader.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./MUHCReportPrintHeader.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../../node_modules/toolbox-loader/index.js!./MUHCReportPrintHeader.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","\nvar content = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./PrintCaseButton.style.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./PrintCaseButton.style.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../../node_modules/css-loader/index.js??ref--9-1!../../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../../node_modules/toolbox-loader/index.js!./PrintCaseButton.style.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}","export function highlightResults(query: string, s: string | number | null | undefined): string {\n if (typeof s === \"number\") {\n s = s.toString();\n }\n\n if (!query) {\n return s || \"\";\n }\n\n if (!s) {\n return \"\";\n }\n\n const sanitizedQuery = query.replace(/[#-.]|[[-^]|[?|{}]/g, \"\\\\$&\");\n const parts = sanitizedQuery.trim().split(/\\s+/gi);\n const regex = new RegExp(\n \"(\" +\n parts\n .map((x) => {\n return x.match(/(\\\\\\S|\\S)/g)?.join(\"\\\\s*\") || \"\";\n })\n .join(\"|\") +\n \")\",\n \"ig\"\n );\n return s.replace(regex, \"$1\");\n}\n\nexport function formatHealthInsuranceNumber(s: string | { number: string; provinceCode: string }): string {\n if (!s) {\n return \"\";\n }\n\n if (typeof s === \"object\") {\n s = s.number;\n\n if (!s) {\n return \"\";\n }\n }\n\n return s;\n}\n\nexport interface Address {\n city?: string;\n provinceCode?: string;\n postalCode?: string;\n address?: string;\n countryCode?: string;\n}\n\nexport function formatAddress(\n address: Address,\n multiline?: boolean,\n includeCountry?: boolean,\n countryMultiline?: boolean\n): string {\n const parts: string[] = [];\n if (address.city) {\n parts.push(address.city);\n }\n\n if (address.provinceCode) {\n parts.push(address.provinceCode);\n }\n\n if (address.postalCode) {\n parts.push(\"(\" + address.postalCode + \")\");\n }\n\n const resultParts = [];\n if (address.address) {\n resultParts.push(address.address);\n }\n\n const joinedMiddle = parts.join(\" \");\n if (joinedMiddle) {\n resultParts.push(joinedMiddle);\n }\n\n let result = resultParts.join(multiline ? \"\\n\" : \", \");\n\n if (address.countryCode && includeCountry) {\n result += (result ? (countryMultiline ? \"\\n\" : \", \") : \"\") + address.countryCode;\n }\n\n return result;\n}\n\nexport const supportedPhoneNumberCountryCodes = [\"CA\", \"US\"];\n\nexport function formatPhoneNumber(phoneNumber: string, countryCode?: string): string {\n if (!phoneNumber) {\n return \"\";\n }\n\n if (countryCode && supportedPhoneNumberCountryCodes.indexOf(countryCode) < 0) {\n return phoneNumber;\n }\n\n const parts = phoneNumber.replace(/[^\\dx]/g, \"\").split(/x/gi);\n\n let result = \"\";\n const num = parts[0];\n\n result += num.substr(0, 3);\n\n if (num.length > 3) {\n result += \" \" + num.substr(3, 3);\n }\n\n if (num.length > 6) {\n result += \"-\" + num.substr(6, 4);\n }\n\n if (parts[1]) {\n result += \" x\" + parts[1];\n }\n\n return result;\n}\n\nexport function queryString(search?: string, hash?: string): Record {\n if (!search) {\n search = window.location.search;\n }\n\n if (!search) {\n if (!hash) {\n hash = window.location.hash || \"\";\n }\n\n if (hash.indexOf(\"?\") >= 0) {\n search = hash.substring(hash.indexOf(\"?\"));\n }\n }\n\n if (!search) {\n return {};\n }\n\n if (search.startsWith(\"?\")) {\n search = search.substr(1);\n }\n\n const parts = search.split(\"&\");\n\n const result = {};\n for (let i = 0; i < parts.length; ++i) {\n const p = parts[i].split(\"=\");\n if (p.length !== 2) {\n continue;\n }\n result[p[0]] = decodeURIComponent(p[1].replace(/\\+/g, \" \"));\n }\n return result;\n}\n\nexport function normalizeFileName(s: string): string {\n return s\n .normalize(\"NFD\")\n .replace(/[\\u0300-\\u036f]/g, \"\")\n .replace(/ /g, \"_\")\n .replace(/[;<>:\"\\/\\\\|?*]/g, \"_\");\n}\n","import classnames from \"classnames\";\nimport Formsy from \"formsy-react\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { injectIntl, intlShape, defineMessages, FormattedMessage } from \"react-intl\";\nimport { Card, CardText } from \"react-toolbox/lib/card\";\nimport { Modal, ButtonGroup, Button, CheckIcon } from \"@akinoxsolutions/gerudo-ui\";\n\nimport { ErrorsContainer } from \"~/src/js/components/shared/ErrorsContainer\";\nimport TextInput from \"~/src/js/components/shared/inputs/textInput\";\nimport baseI18n from \"~/src/messages/base.i18n\";\nimport formStyle from \"~/src/styles/forms\";\nimport { useFormsySubmit } from \"~/src/js/hooks\";\n\nexport const messages = defineMessages({\n confirm: {\n id: \"global.confirm\",\n description: \"Confirm button\",\n defaultMessage: \"Confirm\",\n },\n irreversibleAction: {\n id: \"caseSearch.irreversibleAction\",\n description: \"Notification to the user that this action is irreversible\",\n defaultMessage: \"This action is irreversible\",\n },\n});\n\nexport const ConfirmDialog = ({\n onSubmit,\n onSuccess,\n onCancel,\n active,\n irreversibleAction,\n confirmTitle,\n confirmMessage,\n additionalInfo,\n requiresReason,\n reasonLabel,\n reasonHint,\n intl: { formatMessage },\n children,\n}) => {\n const closeDialog = () => onCancel();\n\n const { errors, isSubmitting, formsyProps } = useFormsySubmit({\n onSubmit: onSubmit,\n onSuccess: onSuccess,\n });\n\n const newActions = () => {\n return (\n \n \n formsyProps.ref.current.submit()}\n loading={isSubmitting}\n icon={}>\n \n \n \n );\n };\n\n return (\n \n \n \n \n
    \n {irreversibleAction && (\n

    \n \n

    \n )}\n

    {confirmMessage}

    \n {additionalInfo &&

    {additionalInfo}

    }\n
    \n {requiresReason && (\n
    \n \n
    \n )}\n {children}\n
    \n
    \n\n \n
    \n \n );\n};\n\nConfirmDialog.propTypes = {\n onSubmit: PropTypes.func.isRequired,\n onSuccess: PropTypes.func,\n onError: PropTypes.func,\n onCancel: PropTypes.func,\n active: PropTypes.bool,\n irreversibleAction: PropTypes.bool,\n confirmStyle: PropTypes.string,\n confirmIcon: PropTypes.string,\n confirmButtonKey: PropTypes.string,\n confirmTitle: PropTypes.string,\n confirmMessage: PropTypes.node,\n additionalInfo: PropTypes.node,\n requiresReason: PropTypes.bool,\n reasonLabel: PropTypes.string,\n reasonHint: PropTypes.string,\n intl: intlShape,\n};\n\nexport default injectIntl(ConfirmDialog);\n","\nvar content = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./button.scss\");\n\nif(typeof content === 'string') content = [[module.id, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = require(\"!../../../../node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(module.hot) {\n\tmodule.hot.accept(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./button.scss\", function() {\n\t\tvar newContent = require(\"!!../../../../node_modules/css-loader/index.js??ref--9-1!../../../../node_modules/postcss-loader/src/index.js??ref--9-2!../../../../node_modules/sass-loader/lib/loader.js??ref--9-3!../../../../node_modules/toolbox-loader/index.js!./button.scss\");\n\n\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\n\t\tvar locals = (function(a, b) {\n\t\t\tvar key, idx = 0;\n\n\t\t\tfor(key in a) {\n\t\t\t\tif(!b || a[key] !== b[key]) return false;\n\t\t\t\tidx++;\n\t\t\t}\n\n\t\t\tfor(key in b) idx--;\n\n\t\t\treturn idx === 0;\n\t\t}(content.locals, newContent.locals));\n\n\t\tif(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');\n\n\t\tupdate(newContent);\n\t});\n\n\tmodule.hot.dispose(function() { update(); });\n}"],"sourceRoot":""}