{"version":3,"sources":["../Policy.tsx","../TermsAndCondition.tsx","helper/formvalidation.ts","store/WeatherForecasts.ts","helper/ErrorHandling.ts","store/doctor/OurDoctors.ts","store/patient/Contact.ts","store/widget/HeaderDrProfile.ts","store/siteaccount/siteMenu.ts","store/LanguageResoures.ts","store/ClientData.ts","store/patient/Dashboard.ts","store/patient/Message.ts","store/message/editMessage.ts","store/patient/Booking.ts","store/payment/PaymentProcess.ts","store/appointment/Condition.ts","store/account/Login.ts","store/siteaccount/Account.ts","store/payment/PayMethod.ts","store/autoComplete/timeZone.ts","components/widget/HeaderDrProfile.tsx","store/appointment/Reschedule.ts","helper/Script.js","helper/fbloader.tsx","helper/renderfield.tsx","components/Patient/Booking.tsx","store/patient/Transaction.ts","store/appointment/encounterModule.ts","store/appointment/VisitDetail.ts","store/library/document/DocumentList.ts","store/SiteDetail.ts","store/menu/NavDefault.ts","store/menu/DashboardNav.ts","store/doctor/DoctorProfile.ts","store/payment/Success.ts","store/payment/Failed.ts","store/account/Signup.ts","store/account/ChangePassword.ts","store/patient/ProfileSettings.ts","store/payment/Payment.ts","store/location/location.ts","store/account/ForgotPassword.ts","store/library/document/DocumentUpload.ts","store/siteaccount/Category.ts","store/library/flexiform/FlexiForm.ts","store/patient/AppointmentType.ts","store/patient/EncounterType.ts","store/family/familyMember.ts","store/autoComplete/insurance.ts","store/insurance/insuranceList.ts","store/insurance/addInsurance.ts","store/pharmacy/PharmacyList.ts","store/pharmacy/StateList.ts","store/PublicContent.ts","store/patient/getProviderId.ts","store/patient/AppointmentChildList.ts","store/appointment/CancelAppointmentModel.ts","store/menu/OurDoctorsNav.ts","store/menuHide.ts","store/menu/speciality.ts","store/library/topbar/notify.ts","store/message/addMessage.ts","store/menu/specialityreason.ts","store/menu/Ftr247DCT.ts","store/appointment/Prescription.ts","store/library/questionnaire/SpecialityQuestion.ts","store/survey/SurveyForm.ts","store/index.ts","store/Counter.ts","components/layout/menu/client/NavVirtuvets.tsx","components/layout/menu/MobLanguageList.tsx","components/layout/menu/LanguageList.tsx","components/layout/menu/client/NavDefault.tsx","components/layout/menu/client/NavTheraque.tsx","components/layout/menu/client/NavPrime.tsx","components/layout/menu/client/NavGoodoc.tsx","components/layout/menu/client/NavABC.tsx","components/layout/menu/client/NavWelshdale.tsx","components/layout/menu/client/Nav247DCT.tsx","components/layout/menu/client/NavVirtualCare.tsx","components/layout/menu/client/NavMetaCare.tsx","components/layout/menu/client/NavSanthigram.tsx","components/layout/menu/client/NavSmarthealthtec.tsx","components/layout/menu/client/NavAmarac.tsx","components/layout/menu/client/NavCare365Hub.tsx","components/layout/menu/NavDefault.tsx","components/layout/footer/client/FtrVirtuvets.tsx","helper/ExternalLink.tsx","components/layout/footer/client/FtrDefault.tsx","components/layout/footer/client/FtrTheraque.tsx","components/layout/footer/client/FtrPrime.tsx","components/layout/footer/client/FtrGoodoc.tsx","components/layout/footer/client/FtrABC.tsx","components/layout/footer/client/FtrWelshdale.tsx","components/layout/footer/client/Ftr247DCT.tsx","components/layout/footer/client/FtrMetaCare.tsx","components/layout/footer/client/FtrSanthigram.tsx","components/layout/footer/client/FtrVirtualCare.tsx","components/layout/footer/client/FtrSmarthealthtec.tsx","components/layout/footer/client/FtrAmarac.tsx","components/layout/footer/client/FtrCare365Hub.tsx","components/layout/footer/FtrDefault.tsx","components/breadcrumbs/BreadCrumbs.tsx","components/layout/topbar/Notify.tsx","components/layout/analytics/GoogleAnalytics.tsx","components/layout/Layout.tsx","components/Home.tsx","components/Counter.tsx","components/FetchData.tsx","components/account/Login.tsx","components/layout/menu/DashboardNav.tsx","components/account/ChangePassword.tsx","components/account/Signup.tsx","components/account/ForgotPassword.tsx","components/account/EmailActivation.tsx","components/account/ResetPassword.tsx","store/account/ResetPassword.ts","components/Patient/Message.tsx","components/Patient/MyAppointments.tsx","components/Patient/MyReferrals.tsx","components/appointment/CancelAppointmentModel.tsx","components/Patient/Dashboard.tsx","components/widget/ContactForm.tsx","components/library/document/DocumentUpload.tsx","components/Patient/ProfileSettings.tsx","components/layout/menu/OurDoctorsNav.tsx","components/doctor/OurDoctors.tsx","components/Patient/DashboardNoRecordsFound.tsx","components/account/NoRecordsFound.tsx","components/doctor/DoctorProfile.tsx","components/payment/Success.tsx","components/library/document/DocumentList.tsx","components/appointment/Conditions.tsx","components/payment/Failed.tsx","components/doctor/HealthProfile.tsx","components/Patient/Contact.tsx","components/payment/Payment.tsx","components/widget/Calendar.tsx","components/widget/CustomForm.tsx","components/payment/PaymentProcess.tsx","components/centralized/timing.tsx","components/library/chart/PieChart.tsx","components/library/flexiform/FlexiForm.tsx","components/questionnaire/Questions.tsx","components/form/DynamicForms.tsx","components/form/forms.tsx","components/account/CustomRoute.tsx","components/appointment/VisitDetail.tsx","components/family/familyMember.tsx","components/Patient/Transactions.tsx","components/doctor/WhatWeDo.tsx","components/doctor/WhoWeAre.tsx","components/doctor/ContactUs.tsx","components/family/memberForm.tsx","components/layout/menu/MemberSpeciality.tsx","components/message/EditMessage.tsx","components/form/InitialPageForm.tsx","components/Insurence/List.tsx","components/payment/PayMethod.tsx","components/payment/insurancelList.tsx","components/Insurence/Form.tsx","components/Insurence/Add.tsx","components/Insurence/AddInsurance.tsx","components/pharmacy/PharmacyList.tsx","components/library/document/DocumentView.tsx","components/PublicContent.tsx","components/pagenotfound/Page404Error.tsx","components/comingsoon/comingSoon.tsx","components/account/Logout.tsx","components/doctor/SpeakToVet.tsx","components/doctor/ScheduleCall.tsx","components/accessdenied/AccessDenied.tsx","components/message/AddMessag.tsx","components/library/questionnaire/SpecialityQuestion.tsx","components/library/questionnaire/Questionnaire.tsx","components/survey/SurveyForm.tsx","components/template.tsx","App.tsx","registerServiceWorker.ts","index.tsx","store/configureStore.ts"],"names":["langdata","actionCreators","requestWeatherForecasts","startDateIndex","dispatch","getState","appState","weatherForecasts","fetch","then","response","json","data","type","forecasts","unloadedState","isLoading","errorHandling","statuscode","toastr","error","window","location","href","localStorage","setItem","console","log","removeItem","requestDoctorLists","accountid","getItem","urlParams","URLSearchParams","search","get","doctorLists","axios","headers","Authorization","users","doctorlists","catch","statusCode","errorObject","JSON","parse","errorMessage","error_description","requestSearchDoctorLists","formvalues","languagecode","specialityid","Selectdate","undefined","doctorName","gender","NavigationUrl","id","childid","childname","push","NavigationUrlBA","LangValidations","initmessage","max","min","required","value","number","isNaN","Number","email","minValue","test","phoneNumber","zipCode","password","matchInput","input","allInputs","Password","passwordsMustMatch","NewPassword","statusColor","status","dateUTCFormat","Moment","utc","Date","format","dateFormat","langcode","locale","split","dateFormatConversion","offset","utcOffset","parseInt","timeFormatConversion","dateTimeFormat","getAge","dateString","today","birthDate","datePostFormat","age","getFullYear","m","getMonth","getDate","length","year","result","join","day","dateFormatSetting","date","datemonthFormatSetting","toConvertDate","parts","toDate","convertYeartoDate","momentDate","isValid","getPageGroup","page","setTittle","title","pageTitle","description","listConvertParentChild","list","node","i","map","roots","appointmentId","children","parentId","scrollTop","setTimeout","scrollTo","top","behavior","checkFamilyMember","getParameterByName","name","url","replace","results","RegExp","exec","decodeURIComponent","requestSaveContact","patient","loactionid","contact","_locationarray","pathname","MemberId","memberId","LocationId","locationId","dob","patientdate","showLoading","patientdata","Id","FirstName","firstName","trim","MiddleName","middleName","LastName","lastName","UserId","userId","PharmacyId","pharmacyId","DOB","PatientNo","patientNo","Gender","Address1","address1","Address2","address2","LocationName","locationName","Zipcode","zipcode","CellPhone","cellPhone","Email","BloodGroup","bloodGroup","IsEmail","isEmail","IsSMS","isSMS","Photo","photo","PharmacyName","pharmacyName","PharmacyAddress","pharmacyAddress","PharmacyCity","pharmacyCity","PharmacyState","pharmacyState","PharmacyZipCode","pharmacyZipCode","PharmacyPhoneNo","pharmacyPhoneNo","TimeZone","timeZone","ModifiedBy","modifiedBy","ModifiedOn","modifiedOn","Modified","modified","post","reset","hideLoading","requestPatient","_array","stringify","Name","Contact","timezonetimesloturl","newArray","account","Settings","filter","el","accountoffset","customizeValue","urldate","urltime","document","datetime","_offset","Math","sign","abs","CSTTime","getTime","setTime","setdateurl","updateQueryStringParameter","time","_url","success","patientLocalStroage","ModelState","Message","isContactLoading","preferredLanguage","patient_local_storage","requestSavePhoto","patientid","base64data","PatientId","Picture","goPharmacyNav","dateofbirth","accountName","uri","key","re","separator","indexOf","match","requestHeaderDrProfile","doctorid","headerDrProfile","visitTypeId","headerenableVisitType","se","consultationtypeid","encountertypeid","array2","doctorServiceDetails","durationCode","encounterTypeMode","minPrice","price","encounterTypeModeDurationId","serviceId","modeCode","headerdrprofile","doctorId","prefix","suffix","speciality","specialityName","facilityName","flag","bioIsLoading","getSiteMenu","category","theme_color","homepage","menu","Title","toLowerCase","PageId","TypeId","Src","startsWith","PageName","siteMenus","getLangResources","a","langResources","sitecode","group","groups","LanguageResoures","LANG_VALUES","getLangResourcesValidations","prefferedLanguage","IsLoading","requestClientData","code","hostname","clientData","FavIcon","requestAppointmentList","dashboard","alldata","_result","forEach","statusId","appointmentlists","redirectURL","referredDoctorId","patientReferrralId","referredSpecialityId","familyMemberId","memberName","requestVisitDetailURL","hummyurl","patientId","redirectPayNow","redirectDoctorPage","_NavDefault","goNextPage","redirectRequestQue","requestMessageList","messages","requestMessageDisplay","isMessageLoading","postReplyMessage","formvalue","tomemberid","replyMessage","FromMemberId","ToMemberId","ParentId","Content","message","RecordId","RecordTypeId","AccountId","isReplyLoading","requestReplyMessage","editMesssage","message_list","Messages","info_list","valueAtIndex","ModifiedTime","ModifiedDate","Subject","messageLists","UnloadedState","UnloadedListState","isListLoading","requestTiming","currentdate","doctor","dayNo","currentTime","currentOffset","getTimezoneOffset","SettingOffset","ConvertedTime","booking","userid","ptid","specialitid","encDetailStroage","enctypemode","durcode","encDetail","_doctorTimeslot","days","daysRequired","moment","add","dayno","month","fullmonthyear","fullday","getTimeSlots","getSlots","timing","weekdays","weekfullday","fullmonth","provider","enctypemode1","durcode1","typemode","Code","lengths","getEncounterTypes","jsonData","redirectAppointment","methodid","serviceid","params","refid","followup","appointmentid","origin","typeId","x","redirectCentralized","time1","date1","serivceid","sitename","storeTime","isTimeLoading","array","cols","chunk_size","ceil","arr","e","slice","requestPostPaymentProcess","route","currency","paymentProcess","patientname","paymentdetail","isPaymentProcessLoading","doc","forms","submit","requestPaymentlinkValidation","memberid","requestValidPostPaymentProcess","requestInsurancePay","requestScheduleUpdate","autoapprovel","statusid","discountid","discountamount","StatusId","DiscountId","DiscountAmount","requestScheduleUpdateFree","Amount","CancelUrl","ClientId","Currency","CustomerAddress","CustomerName","OrderID","Phone","RedirectUrl","ReturnUrl","CurrencyDisplayFormat","requestSaveAppointment","status1","modulename","moduleid","noappserviceid","noenctypeid","_price","noappointment","condition","referrralid","enctypeid","SpecialityReasons","childpatientid","parentid","appointmenton","AppointmentOn","formatAMPM","SecondaryAppointmentOn","appointmenttime","hours","getHours","minutes","getMinutes","seconds","getSeconds","DisplayCurrentTime","_date","Reason","Note","IsCustomFormFlow","Reasons","ReferredParentId","EncounterTypeId","PayConceptId","SpecialityId","ProviderId","MethodId","ServiceId","EncounterTypeModeDurationId","toString","appointment","isconditionLoading","paidamount","customFormModel","module","moduleName","moduleids","eprescription","_paymentProcess","online","inperson","insurance","requestEncounterType","encounterTypes","requestCalendarEvent","keyword","reasons","isreasonLoading","requestDiscountCode","getElementsByName","Type","percentage","Value","total","totalamount","parseFloat","toFixed","discount","validateSerivceId","ID","FacilityId","AppointmentTypeId","Time","Duration","FromUserId","ScheduleDetails","RecordType","Patient","ampm","padStart","createBrowserHistory","requestLoginSave","userObj","login","_navdefault","requestNavDefault","getFormModule","history","replaceState","isLoginLoading","getUser","selfpay","formArray","flexiform","formLists","showOnce","enablefamilymember","doctorappointment","requestqueue","anonymous","queueurl","getPtaient","getAppointmentOn","secondaryappointmenton","appointmentOn","apptdate","appttime","secondaryAppointmentOn","apptdate1","appttime1","UserName","getDefaultAccount","Account","getSiteSetting","accountId","enable_familymember","s","filetypeFilter","displaycode_currency","displayCode","myArray","preferredtimeslot","pickaprovider","isSettingsLoading","updatePaymethod","paymethodid","paymethod","_requestScheduleUpdate","PayMethodId","isPayLoading","redirectback","patientstore","go","requestTimeZone","timeZones","TimeZones","isTimeZoneLoading","__currency","languagecontent","Currenttimezone","consultationfree","HeaderDrProfile","props","navRoute","this","ensureDataFetched","renderHeaderDrProfile","appointmenton1","appointmenttime1","appointmenttype","familyenable","free","_currency","eprescrition","_eprescrition","tz","Offset","_timezone","curentdate","dateConversion","curenttime","className","innerWidth","y","rx","ry","width","height","viewBox","src","alt","spec","to","style","float","getDiscountPrice","React","connect","state","HeaderDrProfileStore","BookingStore","ContactStoreState","AccountStore","LanguageResourcesStore","TimeZoneStore","requestReScheduleUpdate","isResceduleLoading","datepickerJS","$","on","parents","toggleClass","currentTarget","options","addClass","floatingJS","trigger","floatJS","groupArrayOfObjects","reduce","rv","mobnav","removeClass","formatBytes","bytes","decimals","k","dm","sizes","floor","pow","dobcheck","dobchk","str","maxBirthdayDate","setDate","setFullYear","val","extdobcheck","convert","ModalClose","keyup","event","keyCode","getElementById","innerHTML","displayControl","coll","color","len","seo","metaDescription","display","handleReset","querySelector","prop","floatJSBack","ltrim","TextLoader","speed","backgroundColor","foregroundColor","TextBoxLoader","border","borderRadius","marginBottom","DashBoardContentLoading","cx","cy","r","DashBoardPageLoading","renderField","label","maxLength","bindvalue","isContentLoading","meta","touched","warning","hidden","background","fontSize","renderQuestionField","placeholder","renderDisabledField","disabled","renderFieldHidden","renderDatePicker","renderDob","class1","backgroundPosition","renderDoctorDob","renderInsurenceDob","loading","renderExpDob","renderSelectField","select","option","renderSelectFieldEncounter","encounterId","renderInsuranceSelectField","renderStateSelectField","State","renderSelectOptionField","onChange","renderTextSelectOptionField","renderRequiredSelect","renderIdSelectField","onClick","renderAutoComplete","Locations","onSearch","onChangeMethod","autoCompleteData","inputProps","highlightClassName","labelKey","Description","Location","filterBy","useCache","paginate","emptyLabel","searchText","promptText","defaultInputValue","selectHintOnEnter","renderInput","inputRef","referenceElementRef","ref","inputNode","renderTimeZoneAutoComplete","onTimeZoneSearch","onChangeTimeZoneMethod","renderReasonAutoComplete","localReason","minLength","renderInsuranceautoComplete","renderTextareaField","dataClass","dataRule","data-rule","renderFormTextareaField","renderTextareaHideField","renderSurveyTextareaField","marginTop","renderTextareaQuestionField","renderTextareaFooterField","renderRadioField","fielddisabled","optionName","o","checked","renderPublicRadioField","renderCheckSingle","classes","defaultChecked","checkData","rendersCheckSingle","renderCheckField","checkedTrue","dangerouslySetInnerHTML","__html","marginLeft","renderSignUpcheckBox","position","MultiEntryTextArea","currentvalue","updatedvalue","finalencountername","NewsLoader","indexdata","weekindex","TimeIndex","datepicker","storedData","encountertype","visitTypelength","visittypefielddisable","Booking","isShowTZNotification","closeTZ","setState","onSubmit","serviceencounterid","enableVisitType","encounter_type","FinalEncounterName","find","onrescheduleSubmit","formValues","selectEncType","getElementsByClassName","Price","updateTimeZone","previousredirectpage","openDatePicker","element1","selectEncTypes","_handleClickSearch","query","serviceencountertypeid","target","encounterid","encounter_name","renderTiming","isAuthenticated","queryParams","doctor_id","lancode","visitType","futureDate","index","element","classList","remove","elems","querySelectorAll","call","isAvailableSlot","timeslot","utcTimeSlot","appointmenttypemode","testdatepicker","currenttimezone","_VisitType","names","Field","component","doctorService","duration","wordWrap","weekday","onDate","times","root","paddingBottom","order","onTime","mapDispatchToProps","TimingStore","ConditionStore","LoginStore","NavMenuStore","PayMethodStore","RescheduleState","navDefault","reschedule","reduxForm","form","currentprice","discountprice","requestTransactionDetail","paymentDetail","paymentDetailLoading","requestPrintPaymentDetail","jsPDF","addFileToVFS","addFont","siteLogo","primaryColor","getComputedStyle","documentElement","getPropertyValue","setFontSize","addImage","SiteLogo","text","align","yaxis","yaxisR","PaymentDetails","PatientName","xaxis","PaidDate","City","ReceiptNo","DoctorName","splitTitle","splitTextToSize","body","PaymentMethod","TotalAmount","PaidAmount","autoTable","head","startY","tableWidth","styles","font","headStyles","fillColor","alternateRowStyles","tableLineWidth","finalY","lastAutoTable","autoPrint","output","redirectdrProfile","providerdetail","getEncounterModuleList","encounterModules","requestVisitDetail","toCamel","newO","origKey","newKey","Array","hasOwnProperty","charAt","constructor","Object","_notes","notes","n","encounterDetail","_medication","medication","me","prescription","appointmentDetail","filterUnique","seen","Set","item","has","labData","lab","RadiologyData","radiology","providerDetail","PatientVitals","vital","vitals","PatientAllergy","patientAllergy","Lab","Radiology","clientInstruction","BMI","bMI","CustomForms","customForms","visitDetailLoading","_paymentAction","_encounterModuleAction","requestPrintDetail","prescriptionid","Prescription","lines","pdfInMM","PrescribedOn","PatientAge","RxNo","PatientGender","Facility","header","drugTableData","footerData","colSpan","DrugDetails","drug","DrugName","SIG","Days","Quantity","RouteOfAdministration","hasFooter","foot","content","footStyles","fontStyle","textColor","appointmentType","reason","referenceNo","statusName","consultantName","hummyURL","cancelReason","rescheduleRefId","encounterTypeId","providerId","encounterTypeName","encounterOn","encounterNo","note","oldProviderId","modifiedUser","bMIColor","bMIValue","requestDocumentLists","recordid","doids","currentdoument","_data","insuranceDocs","_insuranceDocs","recordId","concat","seenIds","documentLists","Proxy","searchParams","_Docs","recordTypeId","docs","requestDocumentDelete","docid","setvalue","requestDocumentDownload","path","file_name","link","createElement","download","appendChild","click","removeChild","requestViewDownload","filePath","contenttype","objecturl","URL","createObjectURL","dataURI","mime","binary","atob","charCodeAt","Blob","Uint8Array","dataURItoBlob","w","open","onload","requestSettingDocument","DocumentSettings","isdocLoading","requestSiteDetail","siteDetail","layout","LayoutSettings","ca","CPStyle","keys","setProperty","IsSiteLoading","_clientData","HostName","getAccount","requestSiteDefaultLanguage","Default","_LangResources","getSignalRCredential","signalR","connection","HubConnectionBuilder","withUrl","build","_dashboard","_visitdetail","_documentListAction","_message","_editmessage","azureFucURL","start","connectionId","method","timeout","PageGroupCode","CPHostName","Logo","LogoPath","FavIconPath","FavIconType","navisLoading","isAuth","_getSignalRCredential","_contactAction","_siteMenu","requestRefeshToken","requestLogout","logoutUrl","reload","memberSpeciality","moduleId","_navAction","requestDoctorProfile","doctorBio","doctorTiming","doctorTimings","requestDoctorTiming","bioUnloadedState","bioData","timingUnloadedState","requestSuccess","appointmentDate","scheduleDate","requestFail","fail","isFailLoading","requestSignUpSave","signup","invitiationCode","getUserSignIn","langdata1","isSignUpLoading","ConfirmPassword","Checkuser","signin","EncounterOn","FromDate","ToDate","CallType","CallRefId","Device","requeschangePassword","changePassword","isCPLoading","oldPassword","newPassword","confirmPassword","member","requestLocation","dOB","requestPostPayment","transactionid","PaymentUnloadedState","requesForgetPassword","isFPLoading","forgotPassword","recordtypeid","_resultIds","requestSaveDocument","files","_modulename","documentValues","file","bas64","bs","object","FileName","size","ContentType","CategoryId","ModuleName","ModuleId","EncounterId","documentupload","docIds","_documentAction","getCategory","categories","requestFlexiForm","areaId","current_id","modelareaid","isanswered","CustomView","resultCustomFormSetting","option1","CustomFormSetting","resultResultHtml","ResultHtml","dynamicFormData","outputDate","__dateformat","dynamicForm","isdocformLoading","rule","from","e2","requestFormDisplay","formclienttitle","requestSaveQuestions","QuestionsInfo","nextModule","moduleAreaId","nextId","recordsid","isformLoading","CustomFormId","customFormId","areaid","CustomFormInputDetails","AppointmentId","paidAmount","multipleNotes","controls","CustomFormFieldsId","customFormFieldsId","Ismultientry","url_id","set","CustomList","urlcontact","requestModuleForm","moduleLists","downloadFile","defaultValue","requestSkipQuestions","isskipLoading","isFormListLoading","requestAppointmentType","appointmenttypes","encountertypes","clearFamilyForm","clearForm","initialize","postFamilyMember","familydetail","RelationShipId","ContactNumber","ContactId","getFamilyMemberList","isPostLoading","familyMembers","currentfile","formData","FormData","append","memid","requestInsurance","insuranceAutoCompletes","InsuranceAutoCompletes","isinsuranceLoading","getInsuranceList","lan_code","insuranceLists","InsuranceLists","addInsuranceList","editInsuranceList","previouspage","postInsurance","_expirydate","Level","InsuranceId","InsuredName","InsuranceName","InsuredDOB","PolicyNo","GroupNo","PlanName","PlanCode","ExpiryDate","DocIds","VerificationStatusId","VerificationStatus","PlatformType","insurancepath","_insuranceListAction","getSingleInsurance","addInsurance","goBackInsurance","requestPharmacyList","city","pagesize","pageindex","pharmacyLists","pharmacyList","requestPharmacyPost","pharmacyid","_contactRequest","isPhaLoading","isLoadingPharmacyList","requestReset","PharmacyModel","TotalRecords","requestPharmacyStateList","pharmacyStateLists","requestPublicContent","publicContent","Contents","PageTitle","SiteName","SiteURL","getProviderId","datetime1","isProviderIdLoading","appointmentchildlists","isChildLoading","setCancelAppointment","cancelAppointment","isCancelLoading","requestScheduleCancel","_DashboardList","appointmentUTCDate","requestSpecialityLists","requestMemberSpecialityLists","memberSpecialitiesState","requestNASearchDoctorLists","isLoadings","unloadedMemberState","requestMenuHide","isShow","isSpecialityLoading","doctorlistspeciality","getNotify","postMessage","addMessage","reciptent","getReciptentList","reciptentList","temp","reciptentLists","subject","requestspecialityreason","specialityreason","specialityReason","bootstrap","Modal","backdrop","keyboard","show","requestspecialityreasons","isEmergency","emergencyDescription","requestFtr247DCTSave","ftr247dct","getprescriptionprint","Print","requestSaveQuestionnaire","requestSpecialityModuleForm","postSurveyForm","surveyform","isFormLoading","requestSurveyForm","sessionSatisfactionId","suggestion","recommendation","reducers","incomingAction","action","counter","count","drBioData","drDoctorTimings","dashboardNav","profile","payment","documentlist","visitDetail","transactionDetail","appointmentChildLists","menuHide","notifyBar","questionnaire","printDetail","authLocalStroage","NavVirtuvets","goOurDoctor","script","async","renderDoctorList","publicMenus","updateTime","maxProgress","progressIncrease","borderBottom","sitemenu","logOut","data-toggle","padding","NavDefaultStore","SiteDetailStore","ContactStore","EncounterTypeStore","MenuHideStore","LanguageResouresStore","SiteMenusStore","FlexFromStore","MobLanguageList","Check","changeLanguage","languagelists","_languagelists","defaultlanguage","langname","right","left","languagelist","LanguageList","lineHeight","NavDefault","base64ImageData","clientsignup","scope","NavTheraque","NavPrime","textTransform","NavABC","NavWelshdale","localLayout","Nav247DCT","NavMetaCare","NavSanthigram","NavSmarthealthtec","NavAmarac","NavCare365Hub","NavMenu","_data1","String","checkWindow","rel","getElementsByTagName","dobformat","toUpperCase","NavGoodoc","NavVirtualCare","ClientDataStore","checkArray","FtrVirtuvets","renderFooter","chat","loadChatJS","aria-hidden","data-type","data-width","data-height","ExternalLink","FtrDefault","FtrTheraque","FtrPrime","sealHtml","ANSVerificationURL","AuthorizeNetSeal","verification_parameters","id_parameter_name","url_parameter_name","seal_image_file","seal_width","seal_height","seal_alt_text","display_url","text_color","text_size","line_spacing","new_window_height","new_window_width","current_url","display_location","no_click","debug","escape","seal","maxWidth","FtrGoodoc","marginRight","bottom","FtrABC","FtrWelshdale","Ftr247DCT","paddingLeft","xmlns","fill","paddingRight","d","handleSubmit","noValidate","autoComplete","validate","borderColor","Ftr247DCTStore","FtrMetaCare","FtrSanthigram","widgetId","FtrSmarthealthtec","FtrAmarac","FtrCare365Hub","Footer","FtrVirtualCare","BreadCrumbs","aria-label","aria-current","NotifyBar","prevProps","renderNotify","withRouter","NotifyBarStore","googleanalyticscode","GoogleAnalytics","renderGoogleAnalytics","ReactGA","send","hitType","layoutColor","Layout","cookies","cookie","c","cookieBase","encodeURIComponent","p","pop","shift","require","addCss1","addCss","renderLayout","Notify","fileName","Home","bookNow","home","paddingTop","MemberSpecialityStore","Counter","aria-live","increment","decrement","FetchData","renderForecastsTable","renderPagination","aria-labelledby","forecast","temperatureC","temperatureF","summary","prevStartDateIndex","nextStartDateIndex","WeatherForecastsStore","required_val","Login","passwordVisible","loader","handleToggle","prevState","renderLogin","defaultLangCode","DashboardNavMenu","renderDashboardNav","setMenuIcon","DashboardNavStore","ChangePassword","OldPassword","handleOldPassword","handleNewPassword","handleConfirmPassword","renderChangePassword","DashboardNav","ChangePasswordStore","ForgotPassword","ForgotPasswordStore","SignUp","renderSignUp","invitecode","termssrc","privacysrc","FriendlyUrl","SignUpStore","EmailActivation","renderPaymentDetail","ResetPassword","values","payload","resetPassword","ResetPasswordForm","renderMessage","sort","b","dateA","messagelist","healthCareProviderPhoto","healthCareProviderMemberId","notificationCount","cursor","navigatelistPage","healthCareProviderName","textAlign","msgType","EditMesssageStore","MessageStore","cancelduration","noSpaces","includes","CancelAppointmentModel","app_Date","ad","appDate","formattedUtcString","checkCancelDatetime","closeModel","renderCancelAppointment","data-backdrop","data-keyboard","tabIndex","data-dismiss","CancelAppointmentStore","enableReinitialize","currentDate","enablefollowup","enableappcancel","enableappreschedule","enablerescheduleduration","enablevisittype","payNow","goRequestQue","chooseRequestQueue","providerAppointment","chooseproviderAppointment","addFollowUp","specialityId","followupduration","rescheduleAppointment","checkDatetime","listFollowUp","appointmentStatus","renderDashboard","Appontment","appointmentlist","routeNavVisitDetail","isShowPayBtn","isRefButtonShow","routeNav","referredTo","relationship","aria-haspopup","aria-expanded","x-placement","role","aria-controls","methodId","overflow","rescheduleLimit","child","borderLeft","DashboardStore","AppointmentTypeStore","onchangeLocationid","locationid","reader","FileReader","locationCheck","_doblimit","selectedLocations","selectedTimeZone","addEventListener","ContactForm","crop","aspect","croppedImageUrl","croppedImageUrlrevert","onSelectFile","fileSize","fileType","readAsDataURL","onImageLoaded","image","naturalHeight","naturalWidth","imageRef","onCropComplete","makeClientCrop","onCropChange","percentCrop","timezone","myForm","elements","namedItem","doblimit","_handleSearch","_handleTimeZoneSearch","_handleTimeZoneClickSearch","_handleOnFocus","substring","_handleTimeZoneOnFocus","_handleOnChange","selected","_handleTimeZoneOnChange","focus","goPharmacyPage","getCroppedImg","canvas","pixelRatio","devicePixelRatio","scaleX","scaleY","ctx","getContext","setTransform","imageSmoothingQuality","drawImage","Promise","resolve","reject","fileUrl","toBlob","blob","revokeObjectURL","renderContact","current","confirm","_profiledata","profiledata","_selectedlocationdata","selectedlocationdata","_selectedtimezonedata","selectedtimezonedata","dateformat","localLocation","localTimeZone","lang","onRemove","onBlockFile","accept","ruleOfThirds","onComplete","onUpdate","onCancel","onClickMethod","DashboardNavMenuStore","LocationStore","CategoryStore","initialValues","Profile","ProfileStore","genderid","OurDoctorssNavMenu","selectGender","selectdate","ishowPreferred","specialtid","insurancedate","_datetime","renderOurDoctorsNav","specialtyid","maxHeight","overflowX","SpecialityStore","DoctorSearchFilter","OurDoctorsNav","doctorlist","handleClick","data-target","handleClickBA","DoctorListStore","NavLink","tag","Link","DoctorProfile","renderDoctorProfile","Timeslots","groupTimeslots","compare","te1","te2","DoctorProfileStore","Success","SuccessStore","dropzoneFile","filesize","filetype","filetypecheck","baseStyle","flexDirection","alignItems","borderWidth","borderStyle","transition","innerHeight","activeStyle","acceptStyle","rejectStyle","uploaddoc_btn","thumbs1","verticalAlign","thumbInner","minWidth","img","btn","fontWeight","docPreview","DropzoneComponent","useState","setFiles","ToBase64","onerror","onDrop","useCallback","acceptedFiles","myLoading","dProgressbar","assign","unshift","preview","useDropzone","getRootProps","getInputProps","isDragActive","isDragAccept","isDragReject","useMemo","removeFile","newFiles","splice","thumbs","closeModal","stringArray","elementsToRemove","maxSize","filetypes","obj","refs","setAttribute","some","removeAttribute","escFunction","bind","uploadDocument","aria-valuenow","aria-valuemin","aria-valuemax","documentStore","DocumentListStore","DocumentListClass","filename","onDownload","downloadUrl","onDelete","onView","contentType","Reaso","appointmentreasonfieldvisibility","appointment_reasonfieldvisibility","discountsetup","reasonfielddisable","reasonrequired","Condition","enctype","redirectprevious","isOpenOrder","discountAmount","totalAmount","renderCondition","calculateDiscount","accElements","removeCode","showDiscount","appointmentLocalStroage","Appointment","conditionReason","which","preventDefault","DocumentList","DocumentUpload","FlexiFormStore","PaymentProcessStore","onSubmitFail","errors","scrollIntoView","block","Failed","goDashboard","goRetry","FailStore","Payment","renderPayment","PaymentStore","justifyContent","isemail","_currentoffset","pageprevious","calIcon","timeformat","dateformat1","qureystatus","GetProviderId","PieChart","score","reverse","Percentage","chart","colors","labels","clientTitle","margin","offsetX","offsetY","floating","legend","showForSingleSeries","showForNullSeries","showForZeroSeries","horizontalAlign","fontFamily","formatter","inverseOrder","tooltipHoverFormatter","customLegendItems","useSeriesColors","markers","strokeWidth","strokeColor","fillColors","radius","customHTML","itemMargin","horizontal","vertical","onItemClick","toggleDataSeries","onItemHover","highlightDataSeries","plotOptions","pie","dataLabels","enabled","opts","globals","seriesIndex","responsive","breakpoint","series","pat","IsRequiredSkip","formList","activeFields","inactiveFields","checkedValues","_checkedValues","noteText","noteTextArray","editNoteIndex","jsonInitial","checkCheckbox","textvalue","radiowithtextbox","FlexiFormClass","handlecheckboxchange","handlecheckboxchange1","datas","splitArray","uniqueArray","processObjectValues","checkboxServerData","groupBy","entries","mergelist","customFormName","isAllowMultiple","fieldIndex","textbox","dropdown","pos","formlist","poss","formid","mergelistvalue","isRequired","localpatientId","downloadForm","elementHTML","html","callback","save","windowWidth","handlechange1","checkboxvalue","data2","checkvalue","regex","selectValue","addValue","valueCheck","currentid","checks","checks1","check","Pageonload","active","divelement","getAttribute","_array_current","formClientTitle","renderFlexiFormList","tagName","ruleSplit","vv1","isShowTextBox","els","pieChart","controlId","prakriti","hidesaveBtn","urldata","subTitle","autofocus","field","editnote","Updated","UpdatedOn","handleChange","option2","Questions","DynamicForms","loadForm","Forms","FlexiForm","PublicRoute","restOfProps","Component","render","ProtectedRoute","pageredirect","Patientname","VisitDetailView","prescriptionprint","docinnerhtml","write","print","close","prescriptionId","humurl","groupmedication","medicationprint","emptyFilter","discountfilter","discountnumber","takenOn","orderedDates","vitaldata","hightfilter","weightfilter","bpsisfilter","bpdiafilter","otherfilter","isVitalLength","isNoteLength","isLabLength","isRadiologyLength","isAllergyLength","isCILength","isMedicationLength","IsVital","isLab","isRadiology","isAllergy","isMedication","em","enableJampstart","prescriptiontype","_resultbmi","customform","ClientTitle","checkRow","prescribedOn","user","fullName","purchaseUrl","onpurchaseUrl","quantity","sIG","extRefId","startedOn","direction","refill","allergy","allergyTypeName","reaction","labOrderDetails","labTest","requestedByName","orderDate","orderStatus","radialogy","details","Details","procedureCode","prescribedByName","flexWrap","borderTop","patientvital","formdata","dataTypeId","replaceAll","PaymentDetail","ServiceType","PaymentStatus","onDownloadPaymentPrint","VisitDetail","PrintDetail","TransactionStore","EncounterModuleStore","acc","activePage","activePagecount","currentPagecount","lists","renderTransactionList","pageNumber","pagenumber","transaction","AppointmentNo","KarepayReference","itemsCountPerPage","totalItemsCount","pageRangeDisplayed","handlePageChange","profilephoto","closepopup","FamilyMember","isOpen","isOpenConsult","isFamily","isSelected","primaryClass","secondaryClass","firstname","lastname","_rel","dmyear","relId","relation","Relationship","isBase64UrlImage","addnew","componentDidMount","editFamilymember","Url","rel_grp","goMySelf","goFamily","goConsult","prf","Prefix","consultNow","requestQueue","renderFamilyMember","familymember","FamilyMemberStore","ProfileLoader","base64String","Image","popup","reciptent_name","MemberForm","la","Group","InitialPageForm","forward","activeInsurances","inActiveInsurances","InsurenceList","InsuranceInActive","InsuranceActive","editInsurance","InsuranceType","DocCount","htmlFor","ModifiedName","InsuranceListStore","AddInsuranceStore","PayMethod","selectPayType","submitPayMethod","renderPayMethod","_paymethod","nameA","nameB","InsuranceList","back","submitInsurance","_insurance","insuranceid","insurancename","InsurenceForm","textInput","insuranceFilter","Insurancevalue","insurancenames","goBack","renderInsurenceList","insurancetype","InsuranceAutoCompleStore","documentUploadStore","AddInsurence","InsurenceAdd","_city","_state","PharmacyList","selectPharmacyName","selectState","procced","isloading","Pharmacy","PhoneNo","PharmacyStateList","PharmacyListState","DocumentViewClass","DocumentView","PublicContent","replacements","websitename","websiteurl","siteurl","string","PublicContentStore","Pagenotfound","redirectpreviouspage","renderPageNotFound","Comingsoon","renderComingSoon","LogoutPage","logoutPage","SpeakToVet","speakToVet","ScheduleCall","scheduleCall","specialities","AccessDenied","specialityreasonid","specialityreasonname","specialtybasedcondition","specReason","MemberSpecialityMenu","selectEncTypeReason","ReasonId","saveReason","checkboxes","closePopup","agreeBtn","specialityIdz","keydown","SpecialityReasonStore","isGroupChatEnabled","AddMessage","trimStart","renderAddMessage","site_setting","NewMessageStore","EditMessage","tomember_id","from_member_id","jsonInitialupdate","source","tagstext","QuestionnaireClass","tags","tagsource","v","handlechange2","browserback","valuesArray","symptomName","data3","escapedPattern","valueArray","uncheck","foundTrue","handleChangetags","alert","SourceReferral","placeHolder","QuestionnaireStore","SurveyForm","selectSessionSatisfaction","renderSurveyForm","sessionSatisfaction","listStyle","SurveyFormStore","Template","renderTemplate","Page404Error","Logout","exact","ProfileSettings","MyAppointments","MyReferrals","Dashboard","OurDoctors","DashboardNoRecordsFound","NoRecordsFound","Policy","TermsAndCondition","Conditions","HealthProfile","HeaderProfile","Calendar","CustomForm","PaymentProcess","Centralized","FormsDetail","Transaction","InsuranceFlowList","WhatWeDo","WhoWeAre","ContactUs","MemberSpeciality","ComingSoon","SpecialityQuestion","isLocalhost","Boolean","register","navigator","process","swUrl","serviceWorker","ready","registration","unregister","registerValidSW","checkValidServiceWorker","onupdatefound","installingWorker","installing","onstatechange","controller","baseUrl","basename","siteThemeLocalStroage","siteTheme","store","initialState","middleware","thunk","routerMiddleware","rootReducer","combineReducers","router","connectRouter","formReducer","toastrReducer","loadingBar","loadingBarReducer","enhancers","windowIfDefined","__REDUX_DEVTOOLS_EXTENSION__","createStore","compose","applyMiddleware","loadingBarMiddleware","promiseTypeSuffixes","configureStore","ReactDOM","App","preventDuplicates","timeOut","registerServiceWorker"],"mappings":"2LAAA,WACA,OA+DA,UAAe,aA5DA,WAAM,OAEhB,EAAD,qBAAK,UAAU,WACX,uBAAK,UAAU,aACpB,uBAAK,UAAU,OACd,uBAAK,UAAU,UACd,uBAAK,UAAU,iBACd,uBAAK,UAAU,cACd,4CACA,6KACA,0BACC,yHACA,gGACA,yGACA,qGAGF,uBAAK,UAAU,cACd,0FACA,8QAEA,wSAEA,gIAED,uBAAK,UAAU,cACd,oFACA,oMACA,0BACC,+DACA,6DACA,kGACA,sFAGF,uBAAK,UAAU,cACd,sCACA,2IAEA,wSAEA,ggBAED,uBAAK,UAAU,cACd,uCAEA,+HAEA,yBAAG,8BAhDW,iN,kFCJrB,WACA,OA4CA,UAAe,aAzCW,WAAM,OAE9B,EAAD,qBAAK,UAAU,WACd,uBAAK,UAAU,aACd,uBAAK,UAAU,OACd,uBAAK,UAAU,UACd,uBAAK,UAAU,iBACd,uBAA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AAK,SAAUC,GACZg1E,SACI,gBAAC,WAAD,CAAUtB,MAAOA,IACb,gBAAC,IAAD,CAAiB9wD,QAASA,IACtB,gBAACqyD,GAAD,OAEJ,gBAAC,IAAD,CAAaC,mBAAiB,EAACniD,SAAS,YAAYoiD,QAAS,OAEjE5mE,SAAS8c,eAAe,SAC5B+pD,QAEHpzE,OAAM,SAAAtB,GACHM,QAAQC,IAAI,kCAEflB,MAAK,gB","file":"static/js/main.3cc738aa.chunk.js","sourcesContent":["\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar React = require(\"react\");\r\nvar react_redux_1 = require(\"react-redux\");\r\nvar Policy = function () { return (React.createElement(\"div\", { className: \"content\" },\r\n React.createElement(\"div\", { className: \"container\" },\r\n React.createElement(\"div\", { className: \"row\" },\r\n React.createElement(\"div\", { className: \"col-12\" },\r\n React.createElement(\"div\", { className: \"terms-content\" },\r\n React.createElement(\"div\", { className: \"terms-text\" },\r\n React.createElement(\"h2\", null, \"Privacy Policy\"),\r\n React.createElement(\"p\", null, \"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vel sodales mauris. Nunc accumsan mi massa, ut maximus magna ultricies et:\"),\r\n React.createElement(\"ol\", null,\r\n React.createElement(\"li\", null, \"Integer quam odio, ullamcorper id diam in, accumsan convallis libero. Duis at lacinia urna.\"),\r\n React.createElement(\"li\", null, \"Mauris eget turpis sit amet purus pulvinar facilisis at sed lacus.\"),\r\n React.createElement(\"li\", null, \"Quisque malesuada volutpat orci, accumsan scelerisque lorem pulvinar vitae.\"),\r\n React.createElement(\"li\", null, \"Vestibulum sit amet sem aliquam, vestibulum nisi sed, sodales libero.\"))),\r\n React.createElement(\"div\", { className: \"terms-text\" },\r\n React.createElement(\"h4\", null, \"Aenean accumsan aliquam justo, et rhoncus est ullamcorper at\"),\r\n React.createElement(\"p\", null, \"Donec posuere dictum enim, vel sollicitudin orci tincidunt ac. Maecenas mattis ex eu elit tincidunt egestas. Vivamus posuere nunc vel metus bibendum varius. Vestibulum suscipit lacinia eros a aliquam. Sed dapibus arcu eget egestas hendrerit.\"),\r\n React.createElement(\"p\", null, \"Vivamus consectetur metus at nulla efficitur mattis. Aenean egestas eu odio vestibulum vestibulum. Duis nulla lectus, lacinia vitae nibh vitae, sagittis interdum lacus. Mauris lacinia leo odio, eget finibus lectus pharetra ut. Nullam in semper enim, id gravida nulla.\"),\r\n React.createElement(\"p\", null, \"Fusce gravida auctor justo, vel lobortis sem efficitur id. Cras eu eros vitae justo dictum tempor.\")),\r\n React.createElement(\"div\", { className: \"terms-text\" },\r\n React.createElement(\"h4\", null, \"Etiam sed fermentum lectus. Quisque vitae ipsum libero\"),\r\n React.createElement(\"p\", null, \"Phasellus sit amet vehicula arcu. Etiam pulvinar dui libero, vitae fringilla nulla convallis in. Fusce sagittis cursus nisl, at consectetur elit vestibulum vestibulum:\"),\r\n React.createElement(\"ul\", null,\r\n React.createElement(\"li\", null, \"Nunc pulvinar efficitur interdum.\"),\r\n React.createElement(\"li\", null, \"Donec feugiat feugiat pulvinar.\"),\r\n React.createElement(\"li\", null, \"Suspendisse eu risus feugiat, pellentesque arcu eu, molestie lorem. \"),\r\n React.createElement(\"li\", null, \"Duis non leo commodo, euismod ipsum a, feugiat libero.\"))),\r\n React.createElement(\"div\", { className: \"terms-text\" },\r\n React.createElement(\"h4\", null, \"pulvinar\"),\r\n React.createElement(\"p\", null, \"Sed sollicitudin, diam nec tristique tincidunt, nulla ligula facilisis nunc, non condimentum tortor leo id ex.\"),\r\n React.createElement(\"p\", null, \"Vivamus consectetur metus at nulla efficitur mattis. Aenean egestas eu odio vestibulum vestibulum. Duis nulla lectus, lacinia vitae nibh vitae, sagittis interdum lacus. Mauris lacinia leo odio, eget finibus lectus pharetra ut. Nullam in semper enim, id gravida nulla.\"),\r\n React.createElement(\"p\", null, \"Donec posuere dictum enim, vel sollicitudin orci tincidunt ac. Maecenas mattis ex eu elit tincidunt egestas. Vivamus posuere nunc vel metus bibendum varius. Vestibulum suscipit lacinia eros a aliquam. Sed dapibus arcu eget egestas hendrerit.Donec posuere dictum enim, vel sollicitudin orci tincidunt ac. Maecenas mattis ex eu elit tincidunt egestas. Vivamus posuere nunc vel metus bibendum varius. Vestibulum suscipit lacinia eros a aliquam. Sed dapibus arcu eget egestas hendrerit.\")),\r\n React.createElement(\"div\", { className: \"terms-text\" },\r\n React.createElement(\"h4\", null, \"efficitur\"),\r\n React.createElement(\"p\", null, \"Fusce gravida auctor justo, vel lobortis sem efficitur id. Cras eu eros vitae justo dictum tempor.\"),\r\n React.createElement(\"p\", null,\r\n React.createElement(\"strong\", null, \"Vivamus posuere nunc vel metus bibendum varius. Vestibulum suscipit lacinia eros a aliquam. Sed dapibus arcu eget egestas hendrerit.Donec posuere dictum enim, vel sollicitudin orci tincidunt ac.\"))))))))); };\r\nexports.default = react_redux_1.connect()(Policy);\r\n//# sourceMappingURL=Policy.js.map","\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar React = require(\"react\");\r\nvar react_redux_1 = require(\"react-redux\");\r\nvar TermsAndCondition = function () { return (React.createElement(\"div\", { className: \"content\" },\r\n React.createElement(\"div\", { className: \"container\" },\r\n React.createElement(\"div\", { className: \"row\" },\r\n React.createElement(\"div\", { className: \"col-12\" },\r\n React.createElement(\"div\", { className: \"terms-content\" },\r\n React.createElement(\"div\", { className: \"terms-text\" },\r\n React.createElement(\"h2\", null, \"Terms And Condition\"),\r\n React.createElement(\"p\", null, \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip.\"),\r\n React.createElement(\"p\", null, \" Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\")),\r\n React.createElement(\"div\", { className: \"terms-text\" },\r\n React.createElement(\"h4\", null, \"Etiam sed fermentum lectus. Quisque vitae ipsum libero\"),\r\n React.createElement(\"p\", null, \"Phasellus sit amet vehicula arcu. Etiam pulvinar dui libero, vitae fringilla nulla convallis in. Fusce sagittis cursus nisl, at consectetur elit vestibulum vestibulum:\"),\r\n React.createElement(\"ul\", null,\r\n React.createElement(\"li\", null, \"Nunc pulvinar efficitur interdum.\"),\r\n React.createElement(\"li\", null, \"Donec feugiat feugiat pulvinar.\"),\r\n React.createElement(\"li\", null, \"Suspendisse eu risus feugiat, pellentesque arcu eu, molestie lorem. \"),\r\n React.createElement(\"li\", null, \"Duis non leo commodo, euismod ipsum a, feugiat libero.\"))),\r\n React.createElement(\"div\", { className: \"terms-text\" },\r\n React.createElement(\"h3\", null, \"Etiam blandit lacus\"),\r\n React.createElement(\"p\", null, \" Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\"),\r\n React.createElement(\"p\", null, \" Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\")),\r\n React.createElement(\"div\", { className: \"terms-text\" },\r\n React.createElement(\"h3\", null, \"Maecenas sit amet\"),\r\n React.createElement(\"p\", null, \"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\")))))))); };\r\nexports.default = react_redux_1.connect()(TermsAndCondition);\r\n//# sourceMappingURL=TermsAndCondition.js.map","import * as React from 'react'\r\nimport { Field, reduxForm } from 'redux-form'\r\nimport Moment from 'moment';\r\n//import 'moment/locale/es-us';\r\n//import 'moment/locale/es';\r\n\r\nvar langdata: any;\r\n\r\nvar LangValidations: any = localStorage.getItem(\"LangResourcesValidations\") || \"\"\r\nif (LangValidations == \"undefined\") {\r\n var initmessage: any = \"{\\\"invalidemail\\\":\\\"Invalidemailaddress\\\",\\\"required\\\":\\\"Required\\\",\\\"invalidpassword\\\":\\\"Invalidpassword\\\",\\\"yourcardincomplete\\\":\\\"Yourcardnumberisincomplete.\\\",\\\"cardexperation\\\":\\\"Yourcard'sexpirationdateisincomplete.\\\",\\\"cardsecurity\\\":\\\"Yourcard'ssecuritycodeisincomplete.\\\",\\\"userdobrange\\\":\\\"Ageshouldbeabove\\\",\\\"pleaseselctfile\\\":\\\"Pleaseselectfiles\\\",\\\"selectdateandtime\\\":\\\"Pleaseselectadateandtimetocontinue\\\",\\\"invalidcode\\\":\\\"Invalidcode\\\",\\\"selectpaymethod\\\":\\\"Pleaseselectpaymethodtoproceed\\\",\\\"uploadsuccessfully\\\":\\\"Uploadedsuccessfully\\\",\\\"areyousuretodelete\\\":\\\"Areyousuretodelete?\\\",\\\"deletedsuccessfully\\\":\\\"Deletedsuccessfully\\\",\\\"insurancinactive\\\":\\\"Areyousuretoinactivatetheinsurance?\\\",\\\"insuranceactive\\\":\\\"Areyousuretoactivatetheinsurance?\\\",\\\"nochanges\\\":\\\"Nochanges\\\",\\\"successfuly\\\":\\\"Savedsuccessfully\\\",\\\"changedsuccessfully\\\":\\\"Changedsuccessfully\\\",\\\"profilepictureupdate\\\":\\\"ProfilePictureUpdatedSuccessfully\\\",\\\"pharmacypostalcode\\\":\\\"PleaseselectStateorEnteravalidCityorPostalcode\\\",\\\"passwordsdonotmatch\\\":\\\"Passwordsdonotmatch\\\",\\\"mustbe\\\":\\\"Mustbe\\\",\\\"charactersorless\\\":\\\"charactersorless\\\",\\\"charactersormore\\\":\\\"charactersormore\\\",\\\"mustbeanumber\\\":\\\"Mustbeanumber\\\",\\\"mustbeatleast\\\":\\\"Mustbeatleast\\\",\\\"invalidphonenumbermustbe\\\":\\\"Invalidphonenumber,mustbe\\\",\\\"digits\\\":\\\"digits\\\",\\\"invalidzipcode\\\":\\\"Invalidzipcode\\\",\\\"years\\\":\\\"Years\\\",\\\"invalidinvitationcode\\\":\\\"Invalidinvitationcode\\\",\\\"updatedsuccessfully\\\":\\\"Updatedsuccessfully\\\",\\\"pleaseselectspeciality\\\":\\\"Pleasechooseaspecialtytoproceed\\\",\\\"appointmentalreadybooked\\\":\\\"AppointmentAlreadyBooked\\\",\\\"entervalidemail\\\":\\\"EnterValidEmail\\\",\\\"appointmentcancelledsuccesfully\\\":\\\"AppointmentCancelledSuccessfully\\\",\\\"loading\\\":\\\"Loading\\\",\\\"pastappointment\\\":\\\"Appointmentcannotbescheduledforpastdatesandtime\\\",\\\"messagesubmittedsuccesfully\\\":\\\"Yourmessagehasbeensubmittedsuccessfully\\\",\\\"existinginsurancepolicyisalreadyactive\\\":\\\"Existinginsurancepolicyisalreadyactive\\\",\\\"theusernameorpasswordisincorrect\\\":\\\"Theusernameorpasswordisincorrect\\\",\\\"emailalreadyexists\\\":\\\"Emailalreadyexists\\\",\\\"pleaseselectvalidcity/state\\\":\\\"Pleaseselectvalidcity/state\\\",\\\"invalidcurrentpassword\\\":\\\"Invalidcurrentpassword\\\",\\\"pleaseselectfilesize\\\":\\\"PleaseselectJPG,GIForPNG\\\",\\\"somethingwentwrong\\\":\\\"Somethingwentwrong\\\",\\\"invaliddate\\\":\\\"Invaliddate\\\",\\\"pleaseselectimagesize\\\":\\\"Pleaseselectimagesizelessthan2MB\\\",\\\"pleaseselectafilewithaspectratio\\\":\\\"Imagesizeistoosmall,pleaseselectafilewithaspectratiogreaterthan150*150*px\\\",\\\"nomatchesfound\\\":\\\"Nomatchesfound.\\\",\\\"searching\\\":\\\"Searching...\\\",\\\"typetosearch\\\":\\\"Typetosearch...\\\",\\\"allowedfiletypes\\\":\\\"Allowedfiletype(s)are\\\",\\\"pleasecheckthefiletypeandupload\\\":\\\"Pleasecheckthefiletypeandupload\\\",\\\"maximumfilesizeexceed\\\":\\\"Maximumfilesizeexceeded.Pleasecheckthefilesizeandupload\\\"}\"\r\n LangValidations = initmessage;\r\n localStorage.setItem(\"LangResourcesValidations\", initmessage);\r\n}\r\nif (LangValidations && LangValidations != null && LangValidations !== undefined)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n\r\n\r\n//export const required = (value: string) => (value || typeof value === 'number' ? undefined : langdata['required'] == undefined ? '' : langdata['required'])\r\n//export const required = (value: string) => value || typeof value === 'number' ? undefined : langdata && langdata['required'] ? langdata['required'] : '';\r\n\r\n/*console.log(langdata)*/\r\nexport const required = (value: string) => {\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n if (!langdata || langdata['required'] == undefined) {\r\n return '';\r\n }\r\n return value || typeof value === 'number' ? undefined : langdata && langdata['required'] ? langdata['required'] : '' \r\n\r\n};\r\n\r\nexport const maxLength = (max: any) => (value: string) =>\r\n value && value.length > max ? langdata['mustbe'] == undefined ? 'Must be' : langdata['mustbe'] + `${max}` + langdata['charactersorless'] == undefined ? 'characters or less' : langdata['charactersorless'] : undefined\r\nexport const maxLength15 = maxLength(15)\r\nexport const minLength = (min: any) => (value: any) =>\r\n value && value.length < min ? langdata['mustbe'] == undefined ? 'Must be' : langdata['mustbe'] + `${min}` + langdata['charactersormore'] == undefined ? 'characters or more' : langdata['charactersormore'] : undefined\r\nexport const minLength2 = minLength(2)\r\nexport const number = (value: any) =>\r\n value && isNaN(Number(value)) ? langdata['mustbeanumber'] == undefined ? 'Must be a number' : langdata['mustbeanumber'] : undefined\r\nexport const minValue = (min: any) => (value: any) =>\r\n value && value < min ? langdata['mustbeatleast'] == undefined ? 'Must be at least' : langdata['mustbeatleast'] + `${min}` : undefined\r\nexport const minValue13 = minValue(13)\r\n//export const email = (value: string) =>\r\n// value && !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$/i.test(value)\r\n// ? langdata['invalidemail'] == undefined ? 'Invalid email address' : langdata['invalidemail']\r\n// : undefined\r\nexport const email = (value: string) =>\r\n value && !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,4}$/i.test(value)\r\n ? langdata && langdata['invalidemail'] ? langdata['invalidemail'] : 'Invalid email address'\r\n : undefined;\r\nexport const tooYoung = (value: any) =>\r\n value && value < 13\r\n ? 'You do not meet the minimum age requirement!'\r\n : undefined\r\nexport const aol = (value: string) =>\r\n value && /.+@aol\\.com/.test(value)\r\n ? 'Really? You still use AOL for your email?'\r\n : undefined\r\nexport const alphaNumeric = (value: string) =>\r\n value && /[^a-zA-Z0-9 ]/i.test(value)\r\n ? 'Only alphanumeric characters'\r\n : undefined\r\n/*export const phoneNumber = (value: string) =>\r\n value.length<10 && !/^[ A-Za-z0-9 +-.()]*$/i.test(value)\r\n ? 'Invalid phone number'\r\n : undefined*/\r\n\r\nexport const phoneNumber = (value: string) =>\r\n value && !/(^\\d{10}$)|(^\\d{11}$)|(^\\d{12}$)|(^\\d{13}$)|(^\\d{14}$)|(^\\d{15}$)/i.test(value)\r\n ? ((langdata['invalidphonenumbermustbe'] == undefined ? 'Invalid phone number, must be 10 digits' : langdata['invalidphonenumbermustbe']) + \" 10 \" + (langdata['digits'] == undefined ? \"digits\" : langdata['digits']))\r\n : undefined\r\nexport const zipCode = (value: string) =>\r\n value && /(^\\d{8}$)|(^\\d{8}-\\d{4}$)/.test(value)\r\n ? langdata['invalidzipcode'] == undefined ? 'Invalid zipcode' : langdata['invalidzipcode']\r\n : undefined\r\nexport const password = (value: string) =>\r\n value && !/^(?=.*[0-9])(?=.*[!@#$%^&*?.])[a-zA-Z0-9!@#$%^&*?.]{6,16}$/.test(value)\r\n /* ? langdata && langdata['invalidpassword'] == undefined ? 'Invalid Password' : langdata['invalidpassword']*/\r\n ? langdata && langdata['invalidpassword'] ? langdata['invalidpassword'] : 'Invalid Password'\r\n : undefined\r\nexport const matchInput = (input: string, allInputs: any) => {\r\n \r\n return input === allInputs.Password ? undefined : langdata && langdata['passwordsdonotmatch'] ? langdata['passwordsdonotmatch'] : 'Passwords do not match' ;\r\n}\r\n\r\n\r\nexport const passwordsMustMatch = (input: any, allInputs: any) => {\r\n return input === allInputs.NewPassword ? undefined : langdata['passwordsdonotmatch'] == undefined ? 'Passwords do not match' : langdata['passwordsdonotmatch'];\r\n}\r\n\r\nexport const statusColor = (status: any) => {\r\n //console.log(status)\r\n if (status === 8)\r\n return \"badge badge-pill bg-success-light\";\r\n else if (status === 9)\r\n return \"badge badge-pill bg-primary-light\";\r\n else if (status === 1)\r\n return \"badge badge-pill bg-info-light\";\r\n //else if (status === \"InProgress\")\r\n // return \"badge badge-pill bg-warning-light\";\r\n else if (status === 6)\r\n return \"badge badge-pill bg-danger-light\";\r\n //else if (status === 5)\r\n // return \"badge badge-pill bg-success-light\";\r\n else if (status === 7)\r\n return \"badge badge-pill bg-success-light\";\r\n else if (status === 2 || status === 5 || status === 3 )\r\n return \"badge badge-pill bg-warning-light\";\r\n //else if (status === 3)\r\n // return \"badge badge-pill bg-success-light\";\r\n else if (status === 6)\r\n return \"badge badge-pill bg-danger-light\";\r\n else if (status === 11)\r\n return \"badge badge-pill bg-secondary\";\r\n else if (status === 12)\r\n return \"badge badge-pill bg-primary-light\";\r\n else\r\n return \"badge badge-pill bg-warning-light\";\r\n}\r\nexport const insuranceVerificationStatusColor = (status: any) => {\r\n console.log(status)\r\n if (status === 1)\r\n return \"badge badge-pill badge-secondary\";\r\n else if (status === 2)\r\n return \"badge badge-pill badge-success\";\r\n else\r\n return \"badge badge-pill badge-danger\";\r\n}\r\n\r\nexport const paymentstatusColor = (status: any) => {\r\n if (status === \"Applied\" || status === \"Aplicada\")\r\n return \"badge badge-pill bg-success-light\";\r\n else if (status === \"Paid\")\r\n return \"badge badge-pill bg-primary-light\";\r\n else if (status === \"Scheduled\")\r\n return \"badge badge-pill bg-info-light\";\r\n else if (status === \"InProgress\")\r\n return \"badge badge-pill bg-warning-light\";\r\n else if (status === \"Cancelled\")\r\n return \"badge badge-pill bg-danger-light\";\r\n else if (status === \"ReScheduled\" || status === \"Re Scheduled\" || status === \"Re scheduled\" || status === \"Rescheduled\")\r\n return \"badge badge-pill bg-info-light\";\r\n else if (status === \"Checkin\" || status === \"CheckIn\")\r\n return \"badge badge-pill bg-success-light\";\r\n else if (status === \"Checkout\")\r\n return \"badge badge-pill bg-success-light\";\r\n else if (status === \"UnApplied\")\r\n return \"badge badge-pill bg-danger-light\";\r\n else if (status === \"Payment Pending\")\r\n return \"badge badge-pill bg-secondary\";\r\n else\r\n return \"badge badge-pill bg-danger-light\";\r\n}\r\n\r\nexport const dateUTCFormat = (value: any) => {\r\n return Moment.utc(new Date(value)).format(\"D MMM YYYY\");\r\n\r\n}\r\nexport const dateFormat = (value: any) => {\r\n if (value == null) {\r\n return \"\";\r\n } else {\r\n var langcode: any = localStorage.getItem('DefaultLangCode');\r\n if (langcode == \"es-cr\")\r\n Moment.locale(\"es-us\");\r\n else\r\n Moment.locale(langcode.split(\"-\")[0]);\r\n return Moment(new Date(value)).format(\"D MMM YYYY\");\r\n }\r\n}\r\n\r\nexport const dateConversion = (offset: any) => {\r\n var langcode: any = localStorage.getItem('DefaultLangCode');\r\n if (langcode == \"es-cr\")\r\n Moment.locale(\"es-us\");\r\n else\r\n Moment.locale(langcode.split(\"-\")[0]);\r\n return Moment.utc().utcOffset(+parseInt(offset || \"\")).format('D MMM YYYY')\r\n}\r\n\r\nexport const timeConversion = (offset: any) => {\r\n return Moment.utc().utcOffset(+parseInt(offset || \"\")).format('LT');\r\n}\r\nexport const dateFormatConversion = (value: any, offset: any) => {\r\n if (value == null) {\r\n return \"\";\r\n }\r\n else {\r\n var langcode: any = localStorage.getItem('DefaultLangCode');\r\n if (langcode == \"es-cr\")\r\n Moment.locale(\"es-us\");\r\n else\r\n Moment.locale(langcode.split(\"-\")[0]);\r\n return Moment.utc(value).utcOffset(+parseInt(offset || \"\")).format('D MMM YYYY')\r\n }\r\n}\r\nexport const timeFormatConversion = (value: any, offset: any) => {\r\n if (value == null) {\r\n return \"\";\r\n }\r\n else\r\n return Moment.utc(value).utcOffset(+parseInt(offset || \"\")).format('LT');\r\n}\r\n\r\nexport const dateFormatConvert = (value: any) => {\r\n\r\n return Moment.utc(value).utcOffset(+parseInt(localStorage.getItem('timeOffset') || \"\")).format('D MMM YYYY')\r\n}\r\nexport const timeFormatConvert = (value: any) => {\r\n\r\n return Moment.utc(value).utcOffset(+parseInt(localStorage.getItem('timeOffset') || \"\")).format('LT')\r\n}\r\nexport const timeFormat = (value: any) => {\r\n\r\n return Moment.utc(value).format('LT')\r\n}\r\n\r\nexport const dateTimeFormat = (value: any) => {\r\n return Moment(new Date(value)).format(\"D MMM YYYY\") + \" \" + Moment(new Date(value)).format('LT');\r\n}\r\n\r\nexport const getAge = (dateString: any) => {\r\n var today = new Date();\r\n var birthDate = new Date(datePostFormat(dateString));\r\n var age = today.getFullYear() - birthDate.getFullYear();\r\n var m = today.getMonth() - birthDate.getMonth();\r\n if (m < 0 || (m === 0 && today.getDate() < birthDate.getDate())) {\r\n age--;\r\n }\r\n return age;\r\n}\r\nexport const datePostFormat = (value: any) => {\r\n if (localStorage.getItem(\"DateFormat\") === \"DD-MM-YYYY\") {\r\n if (value.split('-')[0].length == 4) {\r\n const year = value.split('-')[0];\r\n const month = value.split('-')[1];\r\n const day = value.split('-')[2];\r\n const result = [month, day.split('T')[0], year].join('/');\r\n return Moment(new Date(result)).format(\"D MMM YYYY\");\r\n }\r\n else if (value.split('-')[0].length == 2) {\r\n const [day, month, year] = value.split('-');\r\n const result = [month, day, year].join('/');\r\n return Moment(new Date(result)).format(\"D MMM YYYY\");\r\n }\r\n\r\n\r\n } else if (localStorage.getItem(\"DateFormat\") === \"MM-DD-YYYY\") {\r\n if (value.split('-')[0].length == 4) {\r\n const year = value.split('-')[0];\r\n const month = value.split('-')[1];\r\n const day = value.split('-')[2];\r\n const result = [month, day.split('T')[0], year].join('/');\r\n return Moment(new Date(result)).format(\"D MMM YYYY\");\r\n }\r\n else if (value.split('-')[0].length == 2) {\r\n const [month, day, year] = value.split('-');\r\n const result = [month, day, year].join('/');\r\n return Moment(new Date(result)).format(\"D MMM YYYY\");\r\n }\r\n } else if (localStorage.getItem(\"DateFormat\") === \"YYYY-MM-DD\") {\r\n const [year, month, day] = value.split('-');\r\n const result = [month, day, year].join('/');\r\n return Moment(new Date(result)).format(\"D MMM YYYY\");\r\n } else if (localStorage.getItem(\"DateFormat\") === \"YYYY-DD-MM\") {\r\n const [year, day, month] = value.split('-');\r\n const result = [month, day, year].join('/');\r\n return Moment(new Date(result)).format(\"D MMM YYYY\");\r\n } else if (localStorage.getItem(\"DateFormat\") === \"DD/MM/YYYY\") {\r\n const [day, month, year] = value.split('/');\r\n const result = [month, day, year].join('/');\r\n return Moment(new Date(result)).format(\"D MMM YYYY\");\r\n } else if (localStorage.getItem(\"DateFormat\") === \"MM/DD/YYYY\") {\r\n const [month, day, year] = value.split('/');\r\n const result = [month, day, year].join('/');\r\n return Moment(new Date(result)).format(\"D MMM YYYY\");\r\n } else if (localStorage.getItem(\"DateFormat\") === \"YYYY/MM/DD\") {\r\n const [year, month, day] = value.split('/');\r\n const result = [month, day, year].join('/');\r\n return Moment(new Date(result)).format(\"D MMM YYYY\");\r\n } else if (localStorage.getItem(\"DateFormat\") === \"YYYY/DD/MM\") {\r\n const [year, day, month] = value.split('/');\r\n const result = [month, day, year].join('/');\r\n return Moment(new Date(result)).format(\"D MMM YYYY\");\r\n } else {\r\n return value;\r\n }\r\n}\r\n\r\nexport const dateFormatSetting = (value: any) => {\r\n //console.log(value)\r\n if (value != null) {\r\n var format: any = localStorage.getItem(\"DateFormat\");\r\n Moment.locale();\r\n if (value == \"Invalid date\" || value == \"Fecha inválida\") {\r\n return \"\"\r\n }\r\n var date = Moment(new Date(value)).format(format);\r\n if (date == \"Invalid date\" || date == \"Fecha inválida\") {\r\n return value;\r\n } else {\r\n return date;\r\n }\r\n } else {\r\n return \"\";\r\n }\r\n\r\n}\r\nexport const datemonthFormatSetting = (value: any) => {\r\n //console.log(value)\r\n if (value != null) {\r\n var format: any = localStorage.getItem(\"DateFormat\");\r\n Moment.locale();\r\n if (value == \"Invalid date\" || value == \"Fecha inválida\") {\r\n return \"\"\r\n }\r\n var date = Moment(new Date(value)).format(format);\r\n if (date == \"Invalid date\" || date == \"Fecha inválida\") {\r\n return value;\r\n } else {\r\n return value;\r\n }\r\n } else {\r\n return \"\";\r\n }\r\n\r\n}\r\n\r\nexport const toConvertDate = (date: any) => {\r\n if (date != null) {\r\n var inputDate: any = date;\r\n var parts: any = inputDate.split('-');\r\n var outputDate: any = parts[0] + '/' + parts[1] + '/' + parts[2];\r\n return outputDate; \r\n }\r\n}\r\nexport const toDate = (date: any) => {\r\n if (date != null) {\r\n var currentDateTime = new Date(date);\r\n return currentDateTime\r\n }\r\n}\r\nexport const convertYeartoDate = (date: any) => {\r\n// var format: any = localStorage.getItem(\"DateFormat\");\r\n//if (date != null) {\r\n// var _dateofbirth: any = datePostFormat(date);\r\n// const IsoDateTo = Moment(_dateofbirth, format).format('YYYY-MM-DD');\r\n// console.log(IsoDateTo)\r\n\r\n// return Moment(_dateofbirth, 'DD/MM/YYYY').format('YYYY-MM-DD');\r\n\r\n//}\r\n//if (date != null) {\r\n// var _dateofbirth: any = datePostFormat(date);\r\n// return Moment(new Date(_dateofbirth)).format('YYYY-MM-DD');\r\n// }\r\n//if (date != null) {\r\n// var _dateofbirth: any = datePostFormat(date);\r\n// const IsoDateTo = Moment(_dateofbirth, 'DD/MM/YYYY').format('YYYY-MM-DD');\r\n// console.log(IsoDateTo)\r\n\r\n// return Moment(_dateofbirth, 'DD/MM/YYYY').format('YYYY-MM-DD');\r\n\r\n//}\r\n var format: any = localStorage.getItem(\"DateFormat\");\r\n\r\n if (!date) {\r\n return null;\r\n }\r\n\r\n const momentDate = Moment(date, format, true);\r\n\r\n if (!momentDate.isValid()) {\r\n return null;\r\n }\r\n\r\n return momentDate.format(\"YYYY-MM-DD\");\r\n}\r\nexport const getPageGroup = (data: any) => {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const page = urlParams.get('page');\r\n if (data == \"consultationrequest\")\r\n return \"consultationrequest,familymember,footer,header\"\r\n else if (data == \"\")\r\n return \"homepage,footer,header\"\r\n else if (data == \"dashboard\")\r\n return \"dashboard, leftsidemenu,footer,header\"\r\n else if (data == \"profilesettings\")\r\n return \"profilesettings, leftsidemenu,footer,header\"\r\n else if (data == \"changepassword\")\r\n return \"changepassword, leftsidemenu,footer,header\"\r\n else if (data == \"insurance\")\r\n return \"addinsurance,leftsidemenu,footer,header\"\r\n else if (data == \"transactions\")\r\n return \"transactions,leftsidemenu,footer,header\"\r\n else if (data == \"contact\")\r\n return \"profilesettings,footer,header\"\r\n else if (data == \"account\")\r\n return \"passwordretrieve,footer,header\"\r\n else if (data == \"formlist\")\r\n return \"formlist,leftsidemenu,footer,header\"\r\n else if (data == \"visitdetail\")\r\n return \"visitdetail,leftsidemenu,footer,header\"\r\n else if (data == \"paymentprocess\")\r\n return \"paymentprocessing,footer,header\"\r\n else if (page == \"privacy\")\r\n return \"privacy,footer,header\"\r\n else if (page == \"terms\")\r\n return \"terms,footer,header\"\r\n else if (page == \"refund\")\r\n return \"refund,footer,header\"\r\n else if (page == \"faq\")\r\n return \"faq,footer,header\"\r\n else if (data == \"forms\")\r\n return \"leftsidemenu,footer,header\"\r\n else if (data == \"surveyform\")\r\n return \"surveyform,footer,header\"\r\n else\r\n return data + \",footer,header\";\r\n}\r\nexport const setTittle = (data: any) => {\r\n return {\r\n title: data,\r\n pageTitle: data,\r\n description: ''\r\n }\r\n}\r\n\r\nexport const listConvertParentChild = (list: any) => {\r\n var map: any = {}, node, roots = [], i;\r\n for (i = 0; i < list.length; i += 1) {\r\n map[list[i].appointmentId] = i; // initialize the map\r\n list[i].children = []; // initialize the children\r\n }\r\n\r\n for (i = 0; i < list.length; i += 1) {\r\n node = list[i];\r\n if (node.parentId !== null) {\r\n // if you have dangling branches check that map[node.parentId] exists\r\n list[map[node.parentId]].children.push(node);\r\n } else {\r\n roots.push(node);\r\n }\r\n }\r\n return roots;\r\n}\r\n\r\nexport const scrollTop = () => {\r\n setTimeout(() => { window.scrollTo({ top: 0, behavior: 'smooth' }) }, 0)\r\n}\r\n\r\n\r\nexport const checkFamilyMember = () => {\r\n\r\n if (localStorage.getItem(\"familymember\") == \"Yes\") {\r\n if (localStorage.getItem(\"isAuth\") != \"true\") {\r\n window.location.href = \"/login\"\r\n }\r\n }\r\n}\r\n\r\nexport const isNegative = (num:any) => {\r\n if (Math.sign(num) === -1) {\r\n return true;\r\n }\r\n return false;\r\n}\r\nexport const addMinutes = (date:any, minutes:any) => {\r\n date.setMinutes(date.getMinutes() + minutes);\r\n return date;\r\n}\r\n\r\nexport const getParameterByName = (name: any, url: any) => {\r\n name = name.replace(/[\\[\\]]/g, '\\\\$&');\r\n var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'),\r\n results = regex.exec(url);\r\n if (!results) return null;\r\n if (!results[2]) return '';\r\n return decodeURIComponent(results[2].replace(/\\+/g, ' '));\r\n}\r\n//let connection = new HubConnectionBuilder()\r\n// .withUrl(\"https://devsignalbuzzapp.azurewebsites.net/api\")\r\n// .build();\r\n\r\n//connection.on(\"broadcastMessage\", data => {\r\n// console.log(data);\r\n//});\r\n//console.log(connection);\r\n//connection.start()\r\n// .then(() => connection.invoke(\"send\", \"Hello\"));\r\n\r\n//connection.onclose(error => {\r\n// console.assert(connection.state === HubConnectionState.Disconnected);\r\n// console.log('Connection closed due to error. Try refreshing this page to restart the connection', error);\r\n//});\r\n\r\n//connection.onreconnecting(error => {\r\n// console.assert(connection.state === HubConnectionState.Reconnecting);\r\n// console.log('Connection lost due to error. Reconnecting.', error);\r\n//});\r\n\r\n//connection.onreconnected(connectionId => {\r\n// console.assert(connection.state === HubConnectionState.Connected);\r\n// console.log('Connection reestablished. Connected with connectionId', connectionId);\r\n//});\r\n","import { Action, Reducer } from 'redux';\r\nimport { AppThunkAction } from './';\r\n\r\n// -----------------\r\n// STATE - This defines the type of data maintained in the Redux store.\r\n\r\nexport interface WeatherForecastsState {\r\n isLoading: boolean;\r\n startDateIndex?: number;\r\n forecasts: WeatherForecast[];\r\n}\r\n\r\nexport interface WeatherForecast {\r\n date: string;\r\n temperatureC: number;\r\n temperatureF: number;\r\n summary: string;\r\n}\r\n\r\n// -----------------\r\n// ACTIONS - These are serializable (hence replayable) descriptions of state transitions.\r\n// They do not themselves have any side-effects; they just describe something that is going to happen.\r\n\r\ninterface RequestWeatherForecastsAction {\r\n type: 'REQUEST_WEATHER_FORECASTS';\r\n startDateIndex: number;\r\n}\r\n\r\ninterface ReceiveWeatherForecastsAction {\r\n type: 'RECEIVE_WEATHER_FORECASTS';\r\n startDateIndex: number;\r\n forecasts: WeatherForecast[];\r\n}\r\n\r\n// Declare a 'discriminated union' type. This guarantees that all references to 'type' properties contain one of the\r\n// declared type strings (and not any other arbitrary string).\r\ntype KnownAction = RequestWeatherForecastsAction | ReceiveWeatherForecastsAction;\r\n\r\n// ----------------\r\n// ACTION CREATORS - These are functions exposed to UI components that will trigger a state transition.\r\n// They don't directly mutate state, but they can have external side-effects (such as loading data).\r\n\r\nexport const actionCreators = {\r\n requestWeatherForecasts: (startDateIndex: number): AppThunkAction => (dispatch, getState) => {\r\n // Only load data if it's something we don't already have (and are not already loading)\r\n const appState = getState();\r\n if (appState && appState.weatherForecasts && startDateIndex !== appState.weatherForecasts.startDateIndex) {\r\n fetch(`weatherforecast`)\r\n .then(response => response.json() as Promise)\r\n .then(data => {\r\n dispatch({ type: 'RECEIVE_WEATHER_FORECASTS', startDateIndex: startDateIndex, forecasts: data });\r\n });\r\n\r\n dispatch({ type: 'REQUEST_WEATHER_FORECASTS', startDateIndex: startDateIndex });\r\n }\r\n }\r\n};\r\n\r\n// ----------------\r\n// REDUCER - For a given state and action, returns the new state. To support time travel, this must not mutate the old state.\r\n\r\nconst unloadedState: WeatherForecastsState = { forecasts: [], isLoading: false };\r\n\r\nexport const reducer: Reducer = (state: WeatherForecastsState | undefined, incomingAction: Action): WeatherForecastsState => {\r\n if (state === undefined) {\r\n return unloadedState;\r\n }\r\n\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_WEATHER_FORECASTS':\r\n return {\r\n startDateIndex: action.startDateIndex,\r\n forecasts: state.forecasts,\r\n isLoading: true\r\n };\r\n case 'RECEIVE_WEATHER_FORECASTS':\r\n // Only accept the incoming data if it matches the most recent request. This ensures we correctly\r\n // handle out-of-order responses.\r\n if (action.startDateIndex === state.startDateIndex) {\r\n return {\r\n startDateIndex: action.startDateIndex,\r\n forecasts: action.forecasts,\r\n isLoading: false\r\n };\r\n }\r\n break;\r\n }\r\n\r\n return state;\r\n};\r\n","import { toastr } from \"react-redux-toastr\";\r\n\r\nexport const errorHandling = (statuscode: number) => {\r\n if (statuscode === 400) {\r\n return toastr.error('', \"BadRequest\");\r\n }\r\n else if (statuscode === 404)\r\n return window.location.href = \"/Page404Error\";\r\n else if (statuscode === 500)\r\n return toastr.error('', \"Internal Server Error\");\r\n else if (statuscode === 401) {\r\n localStorage.setItem(\"isAuth\", \"false\");\r\n console.log(\"error Handling TS\")\r\n localStorage.removeItem(\"Patient\");\r\n localStorage.removeItem(\"pathName\");\r\n localStorage.removeItem(\"redirectUrl\");\r\n localStorage.removeItem(\"EmailId\");\r\n localStorage.removeItem(\"redirectQequestQueueUrl\");\r\n localStorage.removeItem(\"Appointment\");\r\n localStorage.removeItem(\"ProfileData\");\r\n localStorage.removeItem(\"contactUrl\");\r\n window.location.href = \"/login\";\r\n }\r\n else if (statuscode === 403)\r\n return toastr.error('', \"Forbidden\");\r\n else if (statuscode === 405)\r\n return toastr.error('', \"Method Not Allowed\");\r\n else if (statuscode === 406)\r\n return toastr.error('', \"Not Acceptable\");\r\n else if (statuscode === 407)\r\n return toastr.error('', \"Proxy Authentication Required\");\r\n else if (statuscode === 408)\r\n return toastr.error('', \"Request Timeout\");\r\n else if (statuscode === 501)\r\n return toastr.error('', \"Not Implemented\");\r\n else if (statuscode === 502)\r\n return toastr.error('', \"Bad Gateway\");\r\n else if (statuscode === 503)\r\n return toastr.error('', \"Service Unavailable\");\r\n else if (statuscode === 511)\r\n return toastr.error('', \"Network Authentication Required\");\r\n else return (\"Invalid Request\")\r\n}\r\nexport const errorMessage = (data: any) => {\r\n var result: any = JSON.parse(data.errorMessage);\r\n return toastr.error('', result.Message);\r\n}\r\n\r\n","import axios from 'axios';\r\nimport { push } from 'connected-react-router';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport { Action, Reducer } from 'redux';\r\nimport { AppThunkAction } from '../';\r\nimport { errorHandling } from '../../helper/ErrorHandling';\r\n\r\n// -----------------\r\n// STATE - This defines the type of data maintained in the Redux store.\r\n\r\nexport interface DoctorListsState {\r\n isLoading: boolean;\r\n startDateIndex?: number;\r\n doctorlists: DoctorList[];\r\n}\r\n\r\nexport interface DoctorList {\r\n doctorId: string;\r\n prefix: string;\r\n suffix: string;\r\n gender: string;\r\n doctorName: string;\r\n accountName: string;\r\n location: string;\r\n accountId: string;\r\n serviceId: string;\r\n photo: string;\r\n facilityName: string;\r\n price: number;\r\n isPreferred: string;\r\n speciality: Specialities[];\r\n flag: boolean;\r\n minPrice: number;\r\n doctorServiceDetails: any;\r\n}\r\nexport interface Specialities {\r\n id: string;\r\n name: string;\r\n}\r\n\r\n\r\n\r\n// -----------------\r\n// ACTIONS - These are serializable (hence replayable) descriptions of state transitions.\r\n// They do not themselves have any side-effects; they just describe something that is going to happen.\r\n\r\n interface RequestDoctorListsAction {\r\n type: 'REQUEST_DOCTORLIST_FORECASTS';\r\n startDateIndex: number;\r\n}\r\n\r\n interface ReceiveDoctorListsAction {\r\n type: 'RECEIVE_DOCTORLIST_FORECASTS';\r\n startDateIndex: number;\r\n doctorlists: DoctorList[]\r\n}\r\n\r\n// Declare a 'discriminated union' type. This guarantees that all references to 'type' properties contain one of the\r\n// declared type strings (and not any other arbitrary string).\r\ntype KnownAction = RequestDoctorListsAction | ReceiveDoctorListsAction;\r\n\r\n// ----------------\r\n// ACTION CREATORS - These are functions exposed to UI components that will trigger a state transition.\r\n// They don't directly mutate state, but they can have external side-effects (such as loading data).\r\n\r\nexport const actionCreators = {\r\n requestDoctorLists: (startDateIndex: number): AppThunkAction => (dispatch, getState) => {\r\n const appState = getState();\r\n var accountid = localStorage.getItem(\"AccountId\");\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const specialityid = localStorage.getItem(\"SpecialityId\") != null ? localStorage.getItem(\"SpecialityId\") : urlParams.get('specialityid');\r\n if (appState && appState.doctorLists && startDateIndex !== appState.doctorLists.startDateIndex && accountid != \"\") {\r\n axios.get('/doctor/getdoctor/' + accountid, { headers: { Authorization: \"BasicAuth\" } })\r\n .then(function (response) {\r\n const users = response.data; \r\n localStorage.removeItem(\"AppointmentOn\");\r\n localStorage.removeItem(\"AppointmentTime\");\r\n localStorage.removeItem(\"AppointmentTime1\");\r\n localStorage.removeItem(\"AppointmentOn1\");\r\n localStorage.removeItem(\"AppointmentBookedOn\");\r\n localStorage.removeItem(\"AppointmentUTCTime\")\r\n localStorage.removeItem(\"AppointmentUTCTime1\")\r\n //localStorage.setItem(\"AccountId\", users[0].user.accountId)\r\n dispatch({ type: 'RECEIVE_DOCTORLIST_FORECASTS', startDateIndex: startDateIndex, doctorlists: users});\r\n })\r\n .catch(error => {\r\n if (error.response.data.statusCode == 400) {\r\n var errorObject = JSON.parse(error.response.data.errorMessage);\r\n toastr.error('', errorObject.error_description);\r\n } else {\r\n errorHandling(error.response.data.statusCode);\r\n }\r\n })\r\n .then(function () {\r\n });\r\n dispatch({ type: 'REQUEST_DOCTORLIST_FORECASTS', startDateIndex: startDateIndex});\r\n }\r\n },\r\n\r\n requestSearchDoctorLists: (formvalues: any): AppThunkAction => (dispatch: any, getState: any) => {\r\n const appState = getState();\r\n var accountid = localStorage.getItem(\"AccountId\");\r\n var languagecode: any = localStorage.getItem(\"DefaultLangCode\");\r\n\r\n const urlParams = new URLSearchParams(window.location.search);\r\n var specialityid = localStorage.getItem(\"SpecialityId\") != null ? localStorage.getItem(\"SpecialityId\") : urlParams.get('specialityid');\r\n //var specialityid = formvalues.specialityid;\r\n if (specialityid == \"\")\r\n specialityid = null\r\n var Selectdate = formvalues.Selectdate;\r\n if (Selectdate == undefined)\r\n Selectdate = null;\r\n var doctorName = formvalues.doctorName;\r\n if (doctorName == undefined)\r\n doctorName = \"-\";\r\n var gender = formvalues.gender;\r\n if (gender == undefined)\r\n gender = \"-\";\r\n\r\n if (appState && appState.doctorLists && accountid != \"\") {\r\n axios.get('/doctor/GetSearchDoctor/' + accountid + \"/\" + specialityid + \"/\" + Selectdate + \"/\" + doctorName + \"/\" + gender + \"/\" + languagecode, { headers: { Authorization: \"BasicAuth\" } })\r\n .then(function (response) {\r\n const users = response.data; \r\n localStorage.removeItem(\"AppointmentOn\");\r\n localStorage.removeItem(\"AppointmentTime\");\r\n localStorage.removeItem(\"AppointmentUTCTime\") \r\n localStorage.removeItem(\"AppointmentBookedOn\");\r\n dispatch({ type: 'RECEIVE_DOCTORLIST_FORECASTS', doctorlists: users });\r\n })\r\n .catch(error => {\r\n if (error.response.data.statusCode == 400) {\r\n var errorObject = JSON.parse(error.response.data.errorMessage);\r\n toastr.error('', errorObject.error_description);\r\n } else {\r\n errorHandling(error.response.data.statusCode);\r\n }\r\n })\r\n .then(function () {\r\n });\r\n dispatch({ type: 'REQUEST_DOCTORLIST_FORECASTS' });\r\n }\r\n },\r\n\r\n NavigationUrl: (id: any): any => (dispatch: any) => {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const childid = urlParams.get('childid');\r\n const name = urlParams.get('name');\r\n const childname = urlParams.get('childname');\r\n const specialityid = urlParams.get('specialityid') || urlParams.get('specialityid');\r\n if (childid == null)\r\n dispatch(push(\"/doctorprofile/\" + id + \"?specialityid=\" + specialityid));\r\n else\r\n dispatch(push(\"/doctorprofile/\" + id + \"?childid=\" + childid + \"&childname=\" + childname + \"&specialityid=\" + specialityid));\r\n },\r\n NavigationUrlBA: (id: any): any => (dispatch: any) => {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const childid = urlParams.get('childid');\r\n const name = urlParams.get('name');\r\n const childname = urlParams.get('childname');\r\n const specialityid = localStorage.getItem(\"SpecialityId\") || urlParams.get('specialityid');\r\n if (childid == null)\r\n dispatch(push(\"/booking/\" + id + \"?specialityid=\" + specialityid));\r\n else\r\n dispatch(push(\"/booking/\" + id + \"?childid=\" + childid + \"&childname=\" + childname + \"&specialityid=\" + specialityid));\r\n }\r\n};\r\n\r\n// ----------------\r\n// REDUCER - For a given state and action, returns the new state. To support time travel, this must not mutate the old state.\r\n\r\nconst unloadedState: DoctorListsState = { doctorlists: [], isLoading: false };\r\n\r\nexport const reducer: Reducer = (state: DoctorListsState | undefined, incomingAction: Action): DoctorListsState => {\r\n if (state === undefined) {\r\n return unloadedState;\r\n }\r\n\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_DOCTORLIST_FORECASTS':\r\n return {\r\n startDateIndex: action.startDateIndex,\r\n doctorlists: state.doctorlists,\r\n isLoading: true\r\n };\r\n case 'RECEIVE_DOCTORLIST_FORECASTS':\r\n // Only accept the incoming data if it matches the most recent request. This ensures we correctly\r\n // handle out-of-order responses.\r\n if (action.startDateIndex === state.startDateIndex) {\r\n return {\r\n startDateIndex: action.startDateIndex,\r\n doctorlists: action.doctorlists,\r\n isLoading: false\r\n };\r\n }\r\n break;\r\n }\r\n\r\n return state;\r\n};\r\n","import axios from 'axios';\r\nimport { push } from 'connected-react-router';\r\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport { Action, Reducer } from 'redux';\r\nimport { reset } from 'redux-form';\r\nimport { AppThunkAction } from '../';\r\nimport Moment from 'moment';\r\nimport { errorHandling } from '../../helper/ErrorHandling';\r\nimport { convertYeartoDate, dateFormatSetting, datePostFormat, getParameterByName } from '../../helper/formvalidation';\r\n\r\n// -----------------\r\n// STATE - This defines the type of data maintained in the Redux store.\r\nexport interface ContactState {\r\n isContactLoading: boolean;\r\n contact: Contact;\r\n}\r\nexport interface Contact {\r\n id: string;\r\n memberId: string;\r\n patientNo: string;\r\n firstName: string;\r\n middleName: string;\r\n lastName: string;\r\n dob: string;\r\n gender: string;\r\n address1: string;\r\n address2: string;\r\n zipcode: string;\r\n cellPhone: string;\r\n email: string;\r\n bloodGroup: string;\r\n locationName: string;\r\n locationId: string;\r\n photo: string;\r\n pharmacyAddress: string;\r\n pharmacyCity: string;\r\n pharmacyName: string;\r\n pharmacyPhoneNo: string;\r\n pharmacyState: string;\r\n pharmacyZipCode: string;\r\n pharmacyId: string;\r\n timeZone: string;\r\n dateofbirth: string;\r\n accountName: string;\r\n}\r\n// -----------------\r\n// ACTIONS - These are serializable (hence replayable) descriptions of state transitions.\r\n// They do not themselves have any side-effects; they just describe something that is going to happen.\r\n// Use @typeName and isActionType for type detection that works even after serialization/deserialization.\r\nexport interface RequestContactAction { type: 'REQUEST_PATIENT_CONTACT', Contact: Contact }\r\nexport interface ReciveContactAction { type: 'RECEIVE_PATIENT_CONTACT', Contact: Contact }\r\n\r\n\r\n// Declare a 'discriminated union' type. This guarantees that all references to 'type' properties contain one of the\r\n// declared type strings (and not any other arbitrary string).\r\nexport type KnownAction = RequestContactAction | ReciveContactAction;\r\n// ----------------\r\n// ACTION CREATORS - These are functions exposed to UI components that will trigger a state transition.\r\n// They don't directly mutate state, but they can have external side-effects (such as loading data).\r\n\r\nexport const actionCreators = {\r\n requestSaveContact: (data: any, patient: any, loactionid: any): AppThunkAction => (dispatch: any, getState) => {\r\n const appState: any = getState();\r\n if (appState && appState.contact) {\r\n var locationdata = window.location.pathname;\r\n const _locationarray = locationdata.split('/');\r\n data.MemberId = patient.memberId;\r\n var LocationId = loactionid == \"\" ? patient.locationId : loactionid;\r\n if (data.dob != null) {\r\n data.patientdate = convertYeartoDate(data.dob);\r\n }\r\n dispatch(showLoading('sectionBar'));\r\n var patientdata = {\r\n Id: data.id,\r\n MemberId: data.memberId,\r\n FirstName: data.firstName.trim(),\r\n MiddleName: data.middleName,\r\n LastName: data.lastName.trim(),\r\n UserId: data.userId,\r\n PharmacyId: data.pharmacyId,\r\n DOB: data.patientdate,\r\n PatientNo: data.patientNo,\r\n Gender: data.gender,\r\n Address1: data.address1,\r\n Address2: data.address2,\r\n LocationId: LocationId,\r\n LocationName: data.locationName,\r\n Zipcode: data.zipcode,\r\n CellPhone: data.cellPhone,\r\n Email: data.email,\r\n BloodGroup: data.bloodGroup,\r\n IsEmail: data.isEmail,\r\n IsSMS: data.isSMS,\r\n Photo: data.photo,\r\n PharmacyName: data.pharmacyName,\r\n PharmacyAddress: data.pharmacyAddress,\r\n PharmacyCity: data.pharmacyCity,\r\n PharmacyState: data.pharmacyState,\r\n PharmacyZipCode: data.pharmacyZipCode,\r\n PharmacyPhoneNo: data.pharmacyPhoneNo,\r\n TimeZone: data.timeZone,\r\n ModifiedBy: data.modifiedBy,\r\n ModifiedOn: data.modifiedOn,\r\n Modified: data.modified\r\n }\r\n axios.post('patient/profileupdate', patientdata)\r\n .then(response => {\r\n dispatch(reset(\"contactForm\"));\r\n dispatch(hideLoading('sectionBar'))\r\n const result = response.data;\r\n dispatch(actionCreators.requestPatient())\r\n result[\"dateofbirth\"] = result.dob;\r\n result.dob = dateFormatSetting(result.dob)\r\n var data = window.location.pathname;\r\n const _array = data.split('/');\r\n localStorage.removeItem(\"SelectedLocation\");\r\n localStorage.removeItem(\"ProfileData\");\r\n var oldpatient: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n var offset: any = oldpatient.offset;\r\n localStorage.setItem(\"Patient\", JSON.stringify({ id: result.id, memberId: result.memberId, userId: result.userId, Name: result.firstName + \" \" + result.lastName, FirstName: result.firstName, LastName: result.lastName, Address1: result.address1, Address2: result.address2, Email: result.email, locationName: result.locationName, zipcode: result.zipcode, locationId: result.locationId, dob: result.dob, cellPhone: result.cellPhone, gender: result.gender, timeZone: result.timeZone }));\r\n var url = localStorage.getItem(\"redirectUrl\");\r\n if (url == null)\r\n url = \"\";\r\n else\r\n url = localStorage.getItem(\"redirectUrl\");\r\n\r\n dispatch({ type: 'RECEIVE_PATIENT_CONTACT', Contact: result });\r\n var timezonetimesloturl = localStorage.getItem(\"TimeZoneTimeSlot\");\r\n if (timezonetimesloturl != null) {\r\n return window.location.href = timezonetimesloturl;\r\n }\r\n if (localStorage.getItem(\"pathName\") == \"conditions\" && _array[1] == \"contact\") {\r\n var newArray: any = \"\";\r\n url = localStorage.getItem(\"redirectUrl\") + \"&patientId=\" + result.id;\r\n if (appState != undefined) {\r\n newArray = appState.account.Settings.filter(function (el: any) {\r\n return (el.name == \"Reason for Visit\");\r\n });\r\n }\r\n if (url != null) {\r\n var accountoffset: any = localStorage.getItem(\"timeOffset\");\r\n if (newArray[0].name == \"Reason for Visit\" && newArray[0].customizeValue == \"Yes\") {\r\n var urldate = getParameterByName(\"date\", url);\r\n var urltime = getParameterByName(\"time\", url);\r\n if (offset == parseInt(accountoffset)) {\r\n document.location.href = url\r\n } else {\r\n var datetime: any = new Date(urldate + \" \" + urltime);\r\n //datetime.setTime(datetime.getTime() + -330 * 60000);\r\n //datetime.setTime(datetime.getTime() + offset * 60000);\r\n if (Math.sign(parseInt(accountoffset)) == -1)\r\n accountoffset = Math.abs(parseInt(accountoffset));\r\n else\r\n accountoffset = -Math.abs(parseInt(accountoffset))\r\n\r\n var CSToffSet = accountoffset; //CST is -6:00 of UTC; i.e. 60*6 = -360 in minutes\r\n var _offset = CSToffSet * 60 * 1000;\r\n var CSTTime = new Date(datetime.getTime() + _offset);\r\n CSTTime.setTime(CSTTime.getTime() + (offset * 60000));\r\n\r\n var date = Moment(CSTTime).format('YYYY-MM-DD');\r\n var setdateurl = updateQueryStringParameter(url, \"date\", date) + \"&patientId=\" + result.id;\r\n var time = Moment(CSTTime).format('hh:mm A');\r\n document.location.href = updateQueryStringParameter(setdateurl, \"time\", time);\r\n }\r\n \r\n }\r\n }\r\n } else if (localStorage.getItem(\"pathName\") == \"RequestQueue\" && _array[1] == \"contact\"){\r\n var patient = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n var _url: any = localStorage.getItem(\"redirectQequestQueueUrl\") + \"&patientId=\" + patient.id;\r\n window.location.href = _url;\r\n } else {\r\n var langdata: any = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n toastr.success('', langdata['successfuly'])\r\n }\r\n })\r\n .catch(function (error) {\r\n var patientLocalStroage: any = localStorage.getItem('Patient');\r\n var patient = JSON.parse(patientLocalStroage);\r\n localStorage.removeItem(\"SelectedLocation\");\r\n localStorage.removeItem(\"ProfileData\");\r\n var dateformat: any = localStorage.getItem(\"DateFormat\");\r\n const result = {\r\n \"id\": patient.id,\r\n \"memberId\": patient.memberId,\r\n \"firstName\": patient.FirstName,\r\n \"middleName\": patient.LastName,\r\n \"lastName\": patient.LastName,\r\n \"userId\": patient.userId,\r\n \"dob\": dateFormatSetting(data.dob),\r\n \"gender\": patient.gender,\r\n \"address1\": patient.Address1,\r\n \"address2\": patient.Address2,\r\n \"locationId\": patient.locationId,\r\n \"locationName\": patient.locationName,\r\n \"zipcode\": patient.zipcode,\r\n \"cellPhone\": patient.cellPhone,\r\n \"email\": patient.Email,\r\n \"dateofbirth\": patient.dob\r\n };\r\n\r\n if (error.response.data.statusCode == 400) {\r\n var errorObject = JSON.parse(error.response.data.errorMessage);\r\n if (errorObject.ModelState != undefined) {\r\n toastr.error('', errorObject.ModelState[\"\"][0]);\r\n } else {\r\n var langdata: any = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n if (errorObject.Message == \"No Changes\") {\r\n if (_locationarray[1] == \"contact\") {\r\n var url = localStorage.getItem(\"redirectUrl\");\r\n if (url == null)\r\n url = \"\";\r\n else\r\n url = localStorage.getItem(\"redirectUrl\");\r\n if (localStorage.getItem(\"pathName\") == \"conditions\") {\r\n var newArray: any = \"\";\r\n url = localStorage.getItem(\"redirectUrl\") + \"&patientId=\" + patient.id;\r\n if (appState != undefined) {\r\n newArray = appState.account.Settings.filter(function (el: any) {\r\n return (el.name == \"Reason for Visit\");\r\n });\r\n }\r\n if (url != null) {\r\n if (newArray[0].name == \"Reason for Visit\" && newArray[0].customizeValue == \"Yes\") {\r\n window.location.href = url;\r\n }\r\n }\r\n } else if (localStorage.getItem(\"pathName\") == \"RequestQueue\") {\r\n var newArray: any = \"\";\r\n var _url = localStorage.getItem(\"redirectQequestQueueUrl\");\r\n if (appState != undefined) {\r\n newArray = appState.account.Settings.filter(function (el: any) {\r\n return (el.name == \"Reason for Visit\");\r\n });\r\n }\r\n if (_url != null) {\r\n if (newArray[0].name == \"Reason for Visit\" && newArray[0].customizeValue == \"Yes\") {\r\n window.location.href = _url;\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n var timezonetimesloturl = localStorage.getItem(\"TimeZoneTimeSlot\");\r\n if (timezonetimesloturl != null) {\r\n return window.location.href = timezonetimesloturl;\r\n }\r\n toastr.success('', errorObject.Message == \"No Changes\" ? langdata['nochanges'] : errorObject.Message);\r\n }\r\n dispatch(actionCreators.requestPatient());\r\n \r\n }\r\n else {\r\n if (errorObject.Message == \"SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.\") {\r\n toastr.error('', langdata['invaliddate']);\r\n dispatch(actionCreators.requestPatient());\r\n } else {\r\n toastr.error('', errorObject.Message);\r\n }\r\n }\r\n }\r\n\r\n } else {\r\n localStorage.removeItem(\"ProfileData\");\r\n //errorHandling(error.response.data.statusCode);\r\n if (error.response.data == \"Please select valid timezone\") {\r\n var langdata: any;\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n toastr.error('', langdata['pleaseselectvalidtimezone']);\r\n dispatch(actionCreators.requestPatient());\r\n }\r\n //else if (dob == \"undefined\")\r\n //{ toastr.error('', langdata['invaliddate']); }\r\n else {\r\n toastr.error('', langdata['somethingwentwrong']);\r\n }\r\n }\r\n dispatch(actionCreators.requestPatient());\r\n dispatch({ type: 'RECEIVE_PATIENT_CONTACT', Contact: result, isContactLoading: false });\r\n dispatch(reset(\"contactForm\"));\r\n\r\n dispatch({ ...hideLoading('sectionBar') })\r\n })\r\n .then(function () {\r\n });\r\n }\r\n\r\n },\r\n requestPatient: (): AppThunkAction => (dispatch: any, getState:any) => {\r\n const appState = getState();\r\n if (appState && appState.contact) {\r\n axios.get('/patient/getpatient')\r\n .then(function (response) {\r\n const result = response.data;\r\n if (result.preferredLanguage && result.preferredLanguage !== \"\") {\r\n localStorage.setItem(\"DefaultLangCode\", result.preferredLanguage)\r\n } else {\r\n localStorage.setItem(\"DefaultLangCode\", \"en-us\")\r\n }\r\n localStorage.setItem(\"Patient\", JSON.stringify({ id: result.id, memberId: result.memberId, userId: result.userId, Name: result.firstName + \" \" + result.lastName, FirstName: result.firstName, LastName: result.lastName, Address1: result.address1, Address2: result.address2, Email: result.email, locationName: result.locationName, zipcode: result.zipcode, locationId: result.locationId, dob: result.dob, cellPhone: result.cellPhone, gender: result.gender, timeZone: result.timeZone, offset: result.offset }));\r\n\r\n const patient_local_storage:any = localStorage.getItem('Patient');\r\n\r\n const patient:any = JSON.parse(patient_local_storage);\r\n\r\n patient.offset = result.offset;\r\n\r\n const updatedPatient:any = JSON.stringify(patient);\r\n\r\n // localStorage.setItem('Patient', updatedPatient);\r\n\r\n result.photo = response.data.photo == null ? \"client/default/img/blankimg.jpg\" : response.data.photo;\r\n result[\"dateofbirth\"] = result.dob;\r\n result.dob = dateFormatSetting(result.dob)\r\n\r\n dispatch({ type: 'RECEIVE_PATIENT_CONTACT', Contact: result });\r\n })\r\n .catch(function (error) {\r\n console.log(error)\r\n if (error.response != undefined) {\r\n\r\n if (error.response.data.statusCode == 401) {\r\n localStorage.setItem(\"isAuth\", \"false\");\r\n console.log(\"contact ts\")\r\n localStorage.removeItem(\"Patient\");\r\n //localStorage.removeItem(\"isAuth\");\r\n localStorage.removeItem(\"pathName\");\r\n localStorage.removeItem(\"redirectUrl\");\r\n localStorage.removeItem(\"EmailId\");\r\n localStorage.removeItem(\"redirectQequestQueueUrl\");\r\n localStorage.removeItem(\"Appointment\");\r\n localStorage.removeItem(\"ProfileData\");\r\n window.location.href = \"/login\";\r\n } else {\r\n // errorHandling(error);\r\n console.log(error)\r\n\r\n }\r\n } else {\r\n return;\r\n }\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n dispatch({ type: 'REQUEST_PATIENT_CONTACT' });\r\n }\r\n },\r\n requestSavePhoto: (patientid: any, base64data: any): AppThunkAction => (dispatch: any, getState) => {\r\n const appState = getState();\r\n if (appState && appState.contact) {\r\n var data = { PatientId: patientid, Picture: base64data }\r\n axios.post('patient/postphoto', data)\r\n .then(response => {\r\n var langdata: any;\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n toastr.success('', langdata['profilepictureupdate']);\r\n dispatch(actionCreators.requestPatient());\r\n })\r\n .catch(error => {\r\n if (error.response.data.statusCode == 400) {\r\n var errorObject = JSON.parse(error.response.data.errorMessage);\r\n toastr.error('', errorObject.error_description);\r\n } else {\r\n errorHandling(error.response.data.statusCode);\r\n }\r\n })\r\n .then(function () {\r\n });\r\n }\r\n },\r\n goPharmacyNav: (data: any): AppThunkAction => (dispatch: any, getState) => {\r\n const appState = getState();\r\n if (appState && appState.contact) {\r\n var locationdata = window.location.pathname;\r\n const _locationarray = locationdata.split('/');\r\n setTimeout(() => {\r\n dispatch({ type: 'RECEIVE_PATIENT_CONTACT', Contact: data });\r\n dispatch(push(\"/pharmacylist?memberid=\" + _locationarray[2] + \"&type=profile\"))\r\n }, 0)\r\n dispatch({ type: 'REQUEST_PATIENT_CONTACT' });\r\n }\r\n }\r\n};\r\n\r\n// ----------------\r\n// REDUCER - For a given state and action, returns the new state. To support time travel, this must not mutate the old state.\r\nconst unloadedState: ContactState = {\r\n contact: {\r\n id: \"\",\r\n memberId: \"\",\r\n patientNo: \"\",\r\n firstName: \"\",\r\n middleName: \"\",\r\n lastName: \"\",\r\n dob: \"\",\r\n gender: \"\",\r\n address1: \"\",\r\n address2:\"\",\r\n zipcode: \"\",\r\n cellPhone: \"\",\r\n email: \"\",\r\n bloodGroup: \"\",\r\n locationName: \"\",\r\n locationId: \"\",\r\n photo: \"client/default/img/blankimg.jpg\",\r\n pharmacyAddress: \"\",\r\n pharmacyCity: \"\",\r\n pharmacyName: \"\",\r\n pharmacyPhoneNo: \"\",\r\n pharmacyState: \"\",\r\n pharmacyZipCode: \"\",\r\n pharmacyId: \"\",\r\n timeZone: \"\",\r\n dateofbirth: \"\",\r\n accountName: \"\",\r\n },\r\n isContactLoading: false\r\n};\r\nexport const reducer: Reducer = (state: ContactState | undefined, incomingAction: Action): ContactState => {\r\n if (state === undefined) {\r\n return unloadedState;\r\n }\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_PATIENT_CONTACT':\r\n return {\r\n contact: state.contact,\r\n isContactLoading: true\r\n };\r\n case 'RECEIVE_PATIENT_CONTACT':\r\n return {\r\n contact: action.Contact,\r\n isContactLoading: false\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\nfunction toDate(date: any) {\r\n if (date != null) {\r\n var currentDateTime = new Date(date);\r\n return currentDateTime\r\n }\r\n}\r\nfunction DisplayCurrentTime(datetime: Date) {\r\n var date = datetime;\r\n var hours = date.getHours() < 10 ? \"0\" + date.getHours() : date.getHours();\r\n var minutes = date.getMinutes() < 10 ? \"0\" + date.getMinutes() : date.getMinutes();\r\n var seconds = date.getSeconds() < 10 ? \"0\" + date.getSeconds() : date.getSeconds();\r\n return (hours + \":\" + minutes + \":\" + seconds);\r\n};\r\nfunction updateQueryStringParameter(uri: any, key: any, value: any) {\r\n var re = new RegExp(\"([?&])\" + key + \"=.*?(&|$)\", \"i\");\r\n var separator = uri.indexOf('?') !== -1 ? \"&\" : \"?\";\r\n if (uri.match(re)) {\r\n return uri.replace(re, '$1' + key + \"=\" + value + '$2');\r\n }\r\n else {\r\n return uri + separator + key + \"=\" + value;\r\n }\r\n};","import axios from 'axios';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport { useParams } from 'react-router';\r\nimport { Action, Reducer } from 'redux';\r\nimport { AppThunkAction } from '../';\r\nimport { errorHandling } from '../../helper/ErrorHandling';\r\n\r\n\r\n\r\nexport interface HeaderDrProfileState {\r\n bioIsLoading: boolean;\r\n startDateIndex?: number;\r\n headerdrprofile: HeaderDrProfile;\r\n}\r\n\r\nexport interface HeaderDrProfile {\r\n doctorId: string;\r\n prefix: string;\r\n suffix: string;\r\n doctorName: string;\r\n speciality: Speciality[];\r\n doctorServiceDetails: DoctorServiceDetail[];\r\n gender: string;\r\n accountName: string;\r\n price: number;\r\n minPrice: any;\r\n encounterTypeMode: string;\r\n specialityName: string;\r\n facilityName: string;\r\n photo: string;\r\n flag: boolean;\r\n encounterTypeModeDurationId: string;\r\n durationCode: string;\r\n modeCode: string;\r\n}\r\nexport interface Speciality {\r\n id: string;\r\n name: string;\r\n}\r\nexport interface DoctorServiceDetail {\r\n serviceId: string;\r\n price: string;\r\n modeCode: string,\r\n encounterTypeMode: string;\r\n durationCode: string;\r\n duration: string,\r\n encounterTypeId: string;\r\n}\r\ninterface RequestHeaderDrProfile {\r\n type: 'REQUEST_HEADER_DRPROFILE';\r\n}\r\n\r\ninterface ReceiveHeaderDrProfile {\r\n type: 'RECEIVE_HEADER_DRPROFILE';\r\n headerdrprofile: HeaderDrProfile;\r\n}\r\n\r\ntype KnownAction = RequestHeaderDrProfile | ReceiveHeaderDrProfile;\r\n\r\nexport const actionCreators = {\r\n requestHeaderDrProfile: (doctorid:any): AppThunkAction => (dispatch, getState) => {\r\n const appState: any = getState();\r\n \r\n if (appState && appState.headerDrProfile) {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n var visitTypeId = urlParams.get('visitTypeId')\r\n var langcode: any = localStorage.getItem(\"DefaultLangCode\");\r\n //const specialityid = urlParams.get('specialityid');\r\n var specialityid: any = localStorage.getItem(\"SpecialityId\") || urlParams.get('specialityid');\r\n //var _enableVisitType: any = appState.account.Settings.filter((se: any) => se.name == \"Enable Visit Type\")[0];\r\n //var enableVisitType: any = _enableVisitType.customizeValue;\r\n if (appState.account.Settings.length != 0) {\r\n var _headerenableVisitType: any = appState.account.Settings.filter((se: any) => se.name == \"Enable Visit Type\")[0];\r\n var headerenableVisitType = _headerenableVisitType.customizeValue\r\n }\r\n var consultationtypeid : any = \"\"\r\n /*var encountertypeid: any = \"\";*/\r\n const status = urlParams.get('status');\r\n if (status == \"followup\" || localStorage.getItem(\"followup\") == \"followup\" )\r\n consultationtypeid = 2\r\n else\r\n consultationtypeid = 1\r\n var encountertypeid: any= \"\"\r\n if (headerenableVisitType == \"Yes\" && (visitTypeId == \"\" || visitTypeId == null || visitTypeId == undefined))\r\n encountertypeid = localStorage.getItem(\"ServiceEncounterTypeId\");\r\n else if(visitTypeId != \"\" || null || undefined)\r\n encountertypeid = visitTypeId\r\n else\r\n encountertypeid = null\r\n axios.get('/doctor/GetDoctorDetails/' + doctorid + \"/\" + langcode + \"/\" + specialityid + \"/\" + consultationtypeid + \"/\" + encountertypeid, { headers: { Authorization: \"BasicAuth\" } })\r\n .then(function (response) {\r\n const value = response.data;\r\n var data = window.location.pathname;\r\n const _array = data.split('/');\r\n let array2 = value.doctorServiceDetails\r\n // .sort((a: any, b: any) => {\r\n // if (b.duration === a.duration) {\r\n // // If two elements have same number, then the one who has larger rating.average wins\r\n // return a.duration - b.duration;\r\n // } else {\r\n // // If two elements have different number, then the one who has larger number wins\r\n // return a.duration - b.duration;\r\n // }\r\n //});\r\n //array2.filter((element: any, index: any) => {\r\n // //return element;\r\n // return index === 0 || element.duration !== array2[index - 1].duration;\r\n //});\r\n if (_array[1] == \"ourdoctors\" && !localStorage.getItem(\"EncDetail\")) {\r\n localStorage.setItem(\"EncDetail\", JSON.stringify({ durationCode: array2[0].durationCode, encounterTypeMode: array2[0].encounterTypeMode, minPrice: array2[0].price, encounterTypeModeDurationId: array2[0].encounterTypeModeDurationId, serviceId: array2[0].serviceId, modeCode: array2[0].modeCode }))\r\n }\r\n if (_array[1] == \"booking\" && !localStorage.getItem(\"EncDetail\")) {\r\n localStorage.setItem(\"EncDetail\", JSON.stringify({ durationCode: array2[0].durationCode, encounterTypeMode: array2[0].encounterTypeMode, minPrice: array2[0].price, encounterTypeModeDurationId: array2[0].encounterTypeModeDurationId, serviceId: array2[0].serviceId, modeCode: array2[0].modeCode }))\r\n }\r\n if (_array[1] == \"centralized\" && !localStorage.getItem(\"EncDetail\")) {\r\n localStorage.setItem(\"EncDetail\", JSON.stringify({ durationCode: array2[0].durationCode, encounterTypeMode: array2[0].encounterTypeMode, minPrice: array2[0].price, encounterTypeModeDurationId: array2[0].encounterTypeModeDurationId, serviceId: array2[0].serviceId, modeCode: array2[0].modeCode }))\r\n }\r\n dispatch({ type: 'RECEIVE_HEADER_DRPROFILE', headerdrprofile: value});\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n })\r\n .then(function () {\r\n });\r\n dispatch({ type: 'REQUEST_HEADER_DRPROFILE' });\r\n }\r\n }\r\n};\r\n\r\n\r\nconst unloadedState: HeaderDrProfileState = {\r\n headerdrprofile: { doctorId: \"\", prefix: \"\", suffix: \"\", doctorName: \"\", speciality: [], doctorServiceDetails: [], gender: \"\", accountName: \"\", price: 0, encounterTypeMode: \"\", specialityName: \"\", facilityName: \"\", photo: \"\", flag: false, minPrice: 0, encounterTypeModeDurationId: \"\", durationCode: \"\", modeCode:\"\"}, bioIsLoading: false\r\n};\r\n\r\nexport const reducer: Reducer = (state: HeaderDrProfileState | undefined, incomingAction: Action): HeaderDrProfileState => {\r\n if (state === undefined) {\r\n return unloadedState;\r\n }\r\n\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_HEADER_DRPROFILE':\r\n return {\r\n headerdrprofile: state.headerdrprofile,\r\n bioIsLoading: true\r\n };\r\n case 'RECEIVE_HEADER_DRPROFILE':\r\n if (action.headerdrprofile !== state.headerdrprofile) {\r\n return {\r\n headerdrprofile: action.headerdrprofile,\r\n bioIsLoading: false\r\n };\r\n }\r\n break;\r\n }\r\n return state;\r\n};\r\n","import axios from 'axios';\r\nimport { Action, Reducer } from 'redux';\r\nimport { AppThunkAction } from '../';\r\nimport { errorHandling } from '../../helper/ErrorHandling';\r\n// -----------------\r\n// STATE - This defines the type of data maintained in the Redux store.\r\nexport interface SiteMenuState {\r\n siteMenus: siteMenu[]\r\n}\r\n\r\nexport interface siteMenu {\r\n PageId: string;\r\n FriendlyUrl: string;\r\n PageName: string;\r\n Src: string;\r\n TypeId: string;\r\n Title: string;\r\n}\r\n\r\n\r\n// -----------------\r\n// ACTIONS - These are serializable (hence replayable) descriptions of state transitions.\r\n// They do not themselves have any side-effects; they just describe something that is going to happen.\r\n// Use @typeName and isActionType for type detection that works even after serialization/deserialization.\r\nexport interface RequestSiteMenuAction { type: 'REQUEST_SITEMENU', siteMenus: siteMenu[] }\r\nexport interface ReciveSiteMenuAction { type: 'RECEIVE_SITEMENU', siteMenus: siteMenu[] }\r\n\r\n\r\n// Declare a 'discriminated union' type. This guarantees that all references to 'type' properties contain one of the\r\n// declared type strings (and not any other arbitrary string).\r\nexport type KnownAction = RequestSiteMenuAction | ReciveSiteMenuAction;\r\n// ----------------\r\n// ACTION CREATORS - These are functions exposed to UI components that will trigger a state transition.\r\n// They don't directly mutate state, but they can have external side-effects (such as loading data).\r\n\r\nexport const actionCreators = {\r\n getSiteMenu: (): AppThunkAction => (dispatch: any, getState) => {\r\n const appState = getState();\r\n var languagecode: any = localStorage.getItem(\"DefaultLangCode\");\r\n if (appState && appState.category) {\r\n axios.get('/site/GetSiteMenu/' + \"2\" + '/' + languagecode)\r\n .then(function (response) {\r\n const theme_color = localStorage.getItem('siteThemeColor')\r\n const result = response.data;\r\n\r\n var homepage: any = result.filter((menu: any) => (menu.Title.toLowerCase() == 'home' || menu.PageId == \"450c5fe5-2b34-4428-88fd-95f6f94949d2\") && menu.TypeId == \"1\") || []\r\n\r\n const isExternal = homepage.length > 0 ? homepage[0].Src.startsWith('http://') || homepage[0].Src.startsWith('https://') : '';\r\n\r\n \r\n if (isExternal) {\r\n localStorage.setItem('isExternal', 'true')\r\n } else {\r\n localStorage.setItem('isExternal', 'false')\r\n }\r\n\r\n if (theme_color == 'NavVirtuvets') {\r\n /*result.filter((list: any) => list.PageName == 'home')*/\r\n result.map((list: any) => {\r\n if (list.PageName == 'home') {\r\n list.Src = 'https://virtuvets.com/'\r\n }\r\n })\r\n }\r\n \r\n dispatch({ type: 'RECEIVE_SITEMENU', siteMenus: result });\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n dispatch({ type: 'REQUEST_SITEMENU' });\r\n }\r\n },\r\n};\r\n\r\n// ----------------\r\n// REDUCER - For a given state and action, returns the new state. To support time travel, this must not mutate the old state.\r\nconst unloadedState: SiteMenuState = {\r\n siteMenus: []\r\n};\r\nexport const reducer: Reducer = (state: SiteMenuState | undefined, incomingAction: Action): SiteMenuState => {\r\n if (state === undefined) {\r\n return unloadedState;\r\n }\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_SITEMENU':\r\n return {\r\n siteMenus: state.siteMenus,\r\n };\r\n case 'RECEIVE_SITEMENU':\r\n return {\r\n siteMenus: action.siteMenus,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n","import axios from 'axios';\r\nimport { Action, Reducer } from 'redux';\r\nimport { AppThunkAction } from './';\r\nimport { errorHandling } from '../helper/ErrorHandling';\r\nimport { getPageGroup } from '../helper/formvalidation';\r\n\r\n\r\nexport interface LanguageResouresState {\r\n IsLoading: boolean;\r\n LanguageResoures: any;\r\n}\r\n\r\nexport interface LanguageResoures {\r\n Id: string,\r\n PageGroupCode: string,\r\n Code: string,\r\n Name: string,\r\n Logo: string,\r\n CPStyle: string,\r\n FavIconPath: string,\r\n FavIconType: string,\r\n LayoutSettings: any,\r\n}\r\n\r\ninterface RequestHeaderDrProfile {\r\n type: 'REQUEST_LANG_RESOURCES';\r\n LanguageResoures: any;\r\n}\r\n\r\ninterface ReceiveHeaderDrProfile {\r\n type: 'RECEIVE_LANG_RESOURCES';\r\n LanguageResoures: any;\r\n}\r\n\r\ntype KnownAction = RequestHeaderDrProfile | ReceiveHeaderDrProfile;\r\n\r\nexport const actionCreators = {\r\n getLangResources: (): AppThunkAction => async (dispatch: any, getState: any) => {\r\n const appState = getState();\r\n if (appState && appState.langResources) {\r\n var sitecode: any = localStorage.getItem(\"SiteCode\");\r\n var languagecode: any = localStorage.getItem(\"DefaultLangCode\");\r\n var data: any = window.location.pathname;\r\n var group: any = \"\";\r\n const _array = data.split('/');\r\n if (_array.length >= 1)\r\n group = _array[1];\r\n var groups: any = getPageGroup(group);\r\n axios.get('LangResources/GetLangResources/' + \"1\" + \"/\" + languagecode + \"/\" + sitecode + \"/\" + groups, { headers: { Authorization: \"BasicAuth\" } })\r\n .then(function (response) {\r\n const data = response.data;\r\n localStorage.setItem(\"LangResources\", JSON.stringify(data));\r\n dispatch({ type: 'RECEIVE_LANG_RESOURCES', LanguageResoures: data.LANG_VALUES });\r\n dispatch(actionCreators.getLangResourcesValidations());\r\n })\r\n .catch(function (error) {\r\n //errorHandling(error.response.data.statusCode);\r\n })\r\n .then(function () {\r\n });\r\n dispatch({ type: 'REQUEST_LANG_RESOURCES' });\r\n }\r\n },\r\n getLangResourcesValidations: (): AppThunkAction => async (dispatch: any, getState: any) => {\r\n const appState = getState();\r\n if (appState && appState.langResources) {\r\n var sitecode: any = localStorage.getItem(\"SiteCode\");\r\n var languagecode: any = localStorage.getItem(\"DefaultLangCode\");\r\n var data: any = window.location.pathname;\r\n var group: any = \"\";\r\n const _array = data.split('/');\r\n if (_array.length >= 1)\r\n group = _array[1];\r\n axios.get('LangResources/GetLangResources/' + \"1\" + \"/\" + languagecode + \"/\" + sitecode + \"/\" + \"validation\", { headers: { Authorization: \"BasicAuth\" } })\r\n .then(function (response) {\r\n const data = response.data;\r\n localStorage.setItem(\"LangResourcesValidations\", JSON.stringify(data.LANG_VALUES));\r\n })\r\n .catch(function (error) {\r\n //errorHandling(error.response.data.statusCode);\r\n })\r\n .then(function () {\r\n });\r\n }\r\n },\r\n prefferedLanguage: (): AppThunkAction => (dispatch: any, getState: any) => {\r\n const appState = getState();\r\n if (appState && appState.langResources) {\r\n var languagecode: any = localStorage.getItem(\"DefaultLangCode\");\r\n const patientLocalStroage: any = localStorage.getItem('Patient');\r\n const patient: any = JSON.parse(patientLocalStroage);\r\n\r\n\r\n axios.post('/familymember/PreferredLanguageUpdate', { Id: patient.memberId, languagecode: languagecode })\r\n .then(function (response) {\r\n const data = response.data;\r\n \r\n \r\n })\r\n .catch(function (error) {\r\n\r\n errorHandling(error.response.data.statusCode);\r\n })\r\n .then(function () {\r\n });\r\n }\r\n }\r\n};\r\n\r\n\r\nconst unloadedState: LanguageResouresState = {\r\n LanguageResoures: [],\r\n IsLoading: false,\r\n};\r\n\r\nexport const reducer: Reducer = (state: LanguageResouresState | undefined, incomingAction: Action): LanguageResouresState => {\r\n if (state === undefined) {\r\n return unloadedState;\r\n }\r\n\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_LANG_RESOURCES':\r\n return {\r\n LanguageResoures: state.LanguageResoures,\r\n IsLoading: true,\r\n };\r\n case 'RECEIVE_LANG_RESOURCES':\r\n if (action.LanguageResoures !== state.LanguageResoures) {\r\n return {\r\n LanguageResoures: action.LanguageResoures,\r\n IsLoading: false,\r\n };\r\n }\r\n break;\r\n }\r\n return state;\r\n};\r\n\r\n\r\nexport const filterLanguagedata = (name: any, language: any) => {\r\n return language[name];\r\n}","import axios from 'axios';\r\nimport { Action, Reducer } from 'redux';\r\nimport { AppThunkAction } from './';\r\nimport { errorHandling } from '../helper/ErrorHandling';\r\nimport { actionCreators as _LangResources } from '../store/LanguageResoures';\r\nexport interface ClientDataState {\r\n clientData: ClientData;\r\n}\r\n\r\nexport interface ClientData {\r\n FavIcon: string,\r\n}\r\n\r\ninterface RequestClientData {\r\n type: 'REQUEST_CLIENT_DATA';\r\n}\r\n\r\ninterface ReceiveClientData {\r\n type: 'RECEIVE_CLIENT_DATA';\r\n clientData: ClientData;\r\n}\r\n\r\ntype KnownAction = RequestClientData | ReceiveClientData;\r\n\r\nexport const actionCreators = {\r\n requestClientData: (code:any, hostname:any): AppThunkAction => (dispatch: any, getState: any) => {\r\n const appState = getState();\r\n if (appState && appState.clientData) {\r\n axios.get('site/GetClientData/' + code + \"/\" + hostname)\r\n .then(function (response) {\r\n dispatch({ type: 'RECEIVE_CLIENT_DATA', clientData: response.data });\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n })\r\n .then(function () {\r\n });\r\n dispatch({ type: 'REQUEST_CLIENT_DATA' });\r\n }\r\n }\r\n};\r\n\r\n\r\nconst unloadedState: ClientDataState = {\r\n clientData :{ FavIcon:\"\" }\r\n};\r\n\r\nexport const reducer: Reducer = (state: ClientDataState | undefined, incomingAction: Action): ClientDataState => {\r\n if (state === undefined) {\r\n return unloadedState;\r\n }\r\n\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_CLIENT_DATA':\r\n return {\r\n clientData: state.clientData,\r\n };\r\n case 'RECEIVE_CLIENT_DATA':\r\n if (action.clientData !== state.clientData) {\r\n return {\r\n clientData: action.clientData,\r\n };\r\n }\r\n break;\r\n }\r\n return state;\r\n};\r\n","import axios from 'axios';\r\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\r\nimport { Action, Reducer } from 'redux';\r\nimport { AppThunkAction } from '../';\r\nimport { errorHandling } from '../../helper/ErrorHandling';\r\nimport { push } from 'connected-react-router';\r\nimport { actionCreators as _NavDefault } from '../../store/menu/NavDefault';\r\nimport { listConvertParentChild } from '../../helper/formvalidation';\r\n\r\n// -----------------\r\n// STATE - This defines the type of data maintained in the Redux store.\r\nvar patientLocalStroage: any = localStorage.getItem('Patient');\r\nvar patient = JSON.parse(patientLocalStroage);\r\n\r\nexport interface DashboardState {\r\n isLoading: boolean;\r\n startDateIndex?: number;\r\n appointmentlists: AppointmentList[];\r\n}\r\n\r\nexport interface AppointmentList {\r\n appointmentId: string;\r\n doctorId: string;\r\n doctorName: string;\r\n appointmentDate: string;\r\n reason: string;\r\n type: string;\r\n appointmentStatus: string;\r\n scheduleDate: string;\r\n hummyURL: string;\r\n referredBy: string;\r\n referredTo: string;\r\n isRefButtonShow: boolean;\r\n photo: string;\r\n patientReferrralId: string;\r\n referredDoctorId: string;\r\n accountId: string\r\n duration: string;\r\n showReschedule: boolean;\r\n doctorSpeciality: any;\r\n appointmentType: string;\r\n note: string;\r\n referenceNo: string\r\n encounterId: string\r\n payConceptId: any,\r\n paymentStatusId: any,\r\n relationship: any,\r\n memberName: any,\r\n isShowPayBtn: any;\r\n parentId: any;\r\n familyMemberId: any;\r\n rescheduleRefId: any;\r\n methodId: any;\r\n statusId: any;\r\n specialityId: any;\r\n children: AppointmentList[];\r\n patientId: any;\r\n secondaryAppointmentOn: string;\r\n rescheduleLimit: any;\r\n followupduration: string;\r\n visitType: string;\r\n visitTypeId: any;\r\n}\r\n\r\n\r\n\r\n// -----------------\r\n// ACTIONS - These are serializable (hence replayable) descriptions of state transitions.\r\n// They do not themselves have any side-effects; they just describe something that is going to happen.\r\n\r\ninterface RequestAppointmentListAction {\r\n type: 'REQUEST_APPOINTMENT_LIST';\r\n startDateIndex: number;\r\n appointmentlists: AppointmentList[]\r\n}\r\n\r\ninterface ReceiveAppointmentListAction {\r\n type: 'RECEIVE_APPOINTMENT_LIST';\r\n startDateIndex: number;\r\n appointmentlists: AppointmentList[]\r\n}\r\n\r\n// Declare a 'discriminated union' type. This guarantees that all references to 'type' properties contain one of the\r\n// declared type strings (and not any other arbitrary string).\r\ntype KnownAction = RequestAppointmentListAction | ReceiveAppointmentListAction;\r\n\r\n// ----------------\r\n// ACTION CREATORS - These are functions exposed to UI components that will trigger a state transition.\r\n// They don't directly mutate state, but they can have external side-effects (such as loading data).\r\n\r\nexport const actionCreators = {\r\n requestAppointmentList: (): AppThunkAction => async (dispatch: any, getState:()=> any) => {\r\n const appState = getState();\r\n dispatch(showLoading('sectionBar'));\r\n if (appState && appState.dashboard) {\r\n //var accountid = null;\r\n var alldata: any = [];\r\n var accountid: any = localStorage.getItem(\"AccountId\");\r\n var langcode: any = localStorage.getItem(\"DefaultLangCode\");\r\n dispatch(hideLoading('sectionBar'));\r\n await axios.get('/appointment/getappointmentLists/' + patient.id + \"/\" + accountid + \"/\" + \"-\" + \"/\" + langcode)\r\n \r\n .then(function (response) {\r\n \r\n //dispatch(hideLoading('sectionBar'));\r\n \r\n const result = response.data;\r\n var _result: any = listConvertParentChild(result);\r\n \r\n _result.forEach((value:any) => {\r\n if (value.appointmentId == \"00000000-0000-0000-0000-000000000000\" && value.statusId == 7) {\r\n value.statusId = 8;\r\n }\r\n })\r\n //_result.forEach((value: any) => {\r\n // if (value.children.length > 0) {\r\n // alldata = _result.concat(value.children);\r\n // } \r\n //})\r\n\r\n _result.forEach((value: any) => {\r\n alldata.push(value); // Add the current element to the flattened array\r\n alldata.push(...value.children); // Add the children elements to the flattened array\r\n });\r\n\r\n\r\n if (alldata.length == 0)\r\n alldata = _result;\r\n else\r\n alldata = alldata;\r\n /*setTimeout(() => {*/\r\n //console.log(alldata);\r\n dispatch({ type: 'RECEIVE_APPOINTMENT_LIST', appointmentlists: alldata });\r\n /*}, 100)*/\r\n })\r\n .catch(function (error) {\r\n if (error.response.data.statusCode == 401) {\r\n localStorage.setItem(\"isAuth\", \"false\");\r\n console.log(\"dashboard ts\")\r\n localStorage.removeItem(\"Patient\");\r\n //localStorage.removeItem(\"isAuth\");\r\n localStorage.removeItem(\"pathName\");\r\n localStorage.removeItem(\"redirectUrl\");\r\n localStorage.removeItem(\"EmailId\");\r\n localStorage.removeItem(\"redirectQequestQueueUrl\");\r\n localStorage.removeItem(\"Appointment\");\r\n localStorage.removeItem(\"ProfileData\");\r\n window.location.href = \"/login\";\r\n } else {\r\n errorHandling(error);\r\n }\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n dispatch({ type: 'REQUEST_APPOINTMENT_LIST'});\r\n }\r\n },\r\n redirectURL: (data: any): AppThunkAction => (dispatch: any, getState) => {\r\n dispatch(push(\"/booking/\" + data.referredDoctorId + \"?referrralid=\" + data.patientReferrralId + \"&specialityid=\" + data.referredSpecialityId + \"&childid=\" + data.familyMemberId + \"&childname=\" + data.memberName ));\r\n },\r\n requestVisitDetailURL: (id: any,hummyurl: any, patientId: any): AppThunkAction => (dispatch: any, getState) => {\r\n const patientLocalStroage: any = localStorage.getItem('Patient');\r\n const patient: any = JSON.parse(patientLocalStroage);\r\n dispatch(push(\"/visitdetail/\" + id + \"/\" + hummyurl + \"?memberid=\" + patient.memberId + \"&patientid=\" + patientId ))\r\n },\r\n redirectPayNow: (value: any): AppThunkAction => (dispatch: any, getState) => {\r\n localStorage.removeItem(\"DiscountId\");\r\n localStorage.removeItem(\"DiscountAmount\");\r\n const patientLocalStroage: any = localStorage.getItem('Patient');\r\n const patient:any = JSON.parse(patientLocalStroage);\r\n window.location.href = \"/paymentprocess/\" + value.doctorId + \"/\" + value.appointmentId + \"/\" + patient.FirstName + \" \" + patient.LastName + \"/\" + patient.Email;\r\n },\r\n redirectDoctorPage: (): AppThunkAction => (dispatch: any, getState) => {\r\n dispatch(_NavDefault.goNextPage());\r\n },\r\n redirectRequestQue: (): AppThunkAction => (dispatch: any, getState) => {\r\n var result: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n window.location.href = \"/memberspeciality?name=consultnow&patientid=\" + result.id;\r\n },\r\n};\r\n\r\n// ----------------\r\n// REDUCER - For a given state and action, returns the new state. To support time travel, this must not mutate the old state.\r\n\r\nconst unloadedState: DashboardState = { appointmentlists: [], isLoading: false };\r\n\r\nexport const reducer: Reducer = (state: DashboardState | undefined, incomingAction: Action): DashboardState => {\r\n if (state === undefined) {\r\n return unloadedState;\r\n }\r\n\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_APPOINTMENT_LIST':\r\n return {\r\n appointmentlists: state.appointmentlists,\r\n isLoading: true\r\n };\r\n case 'RECEIVE_APPOINTMENT_LIST':\r\n return {\r\n appointmentlists: action.appointmentlists,\r\n isLoading: false\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\n\r\n","import axios from 'axios';\r\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\r\nimport { Action, Reducer } from 'redux';\r\nimport { AppThunkAction } from '../';\r\nimport { errorHandling } from '../../helper/ErrorHandling';\r\nimport { Patient } from '../appointment/Condition';\r\nimport * as HandleRequest from '../../helper/Request';\r\nimport { push } from 'connected-react-router';\r\nimport { actionCreators as _NavDefault } from '../../store/menu/NavDefault';\r\nimport { listConvertParentChild } from '../../helper/formvalidation';\r\n\r\n// -----------------\r\n// STATE - This defines the type of data maintained in the Redux store.\r\nvar patientLocalStroage: any = localStorage.getItem('Patient');\r\nvar patient = JSON.parse(patientLocalStroage);\r\nexport interface MessageState {\r\n isMessageLoading: boolean;\r\n startDateIndex?: number;\r\n messages: MessageList[];\r\n}\r\n\r\nexport interface MessageList {\r\n id: string;\r\n name: string;\r\n subject: string;\r\n content: string;\r\n modifiedOn: string;\r\n fromMemberId: string;\r\n toMemberId: string; \r\n photoUrl: string; \r\n msgType: string;\r\n isRead: boolean;\r\n notificationCount: string;\r\n healthCareProviderPhoto: string;\r\n healthCareProviderName: any;\r\n healthCareProviderMemberId: any;\r\n}\r\n\r\n\r\n\r\n// -----------------\r\n// ACTIONS - These are serializable (hence replayable) descriptions of state transitions.\r\n// They do not themselves have any side-effects; they just describe something that is going to happen.\r\n\r\ninterface RequestMessageListAction {\r\n type: 'REQUEST_MESSAGE_LIST';\r\n startDateIndex: number;\r\n messages: MessageList[]\r\n}\r\n\r\ninterface ReceiveMessageListAction {\r\n type: 'RECEIVE_MESSAGE_LIST';\r\n startDateIndex: number;\r\n messages: MessageList[]\r\n}\r\n\r\n// Declare a 'discriminated union' type. This guarantees that all references to 'type' properties contain one of the\r\n// declared type strings (and not any other arbitrary string).\r\ntype KnownAction = RequestMessageListAction | ReceiveMessageListAction;\r\n\r\n// ----------------\r\n// ACTION CREATORS - These are functions exposed to UI components that will trigger a state transition.\r\n// They don't directly mutate state, but they can have external side-effects (such as loading data).\r\n\r\nexport const actionCreators = {\r\n requestMessageList: (): AppThunkAction => (dispatch: any, getState) => {\r\n const appState = getState();\r\n dispatch(showLoading('sectionBar'));\r\n if (appState && appState.messages) {\r\n var accountid: any = localStorage.getItem(\"AccountId\"); \r\n axios.get('/message/GetMessageLists/' + accountid + \"/\" + patient.memberId)\r\n .then(function (response) {\r\n const result = response.data;\r\n dispatch({ type: 'RECEIVE_MESSAGE_LIST', messages: result });\r\n dispatch(hideLoading('sectionBar'));\r\n })\r\n .catch(function (error) {\r\n if (error.response.data.statusCode == 401) {\r\n localStorage.setItem(\"isAuth\", \"false\");\r\n console.log(\"message ts\")\r\n localStorage.removeItem(\"Patient\");\r\n //localStorage.removeItem(\"isAuth\");\r\n localStorage.removeItem(\"pathName\");\r\n localStorage.removeItem(\"redirectUrl\");\r\n localStorage.removeItem(\"EmailId\");\r\n localStorage.removeItem(\"redirectQequestQueueUrl\");\r\n localStorage.removeItem(\"Appointment\");\r\n localStorage.removeItem(\"ProfileData\");\r\n window.location.href = \"/login\";\r\n } else {\r\n errorHandling(error);\r\n }\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n }\r\n dispatch({ type: 'REQUEST_MESSAGE_LIST' });\r\n },\r\n\r\n requestMessageDisplay: (id: any): AppThunkAction => (dispatch: any, getState) => {\r\n dispatch(push(\"/replymessage/\" + \"?id=\" + id))\r\n\r\n /* window.location.reload()*/\r\n },\r\n \r\n};\r\n\r\n// ----------------\r\n// REDUCER - For a given state and action, returns the new state. To support time travel, this must not mutate the old state.\r\n\r\nconst unloadedState: MessageState = { messages: [], isMessageLoading: false };\r\n\r\nexport const reducer: Reducer = (state: MessageState | undefined, incomingAction: Action): MessageState => {\r\n if (state === undefined) {\r\n return unloadedState;\r\n }\r\n\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_MESSAGE_LIST':\r\n return {\r\n messages: state.messages,\r\n isMessageLoading: true\r\n };\r\n case 'RECEIVE_MESSAGE_LIST':\r\n return {\r\n messages: action.messages,\r\n isMessageLoading: false\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\n\r\n","import axios from 'axios';\r\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport { Action, Reducer } from 'redux';\r\nimport { reset } from 'redux-form';\r\nimport { AppThunkAction } from '../index';\r\nimport { errorHandling } from '../../helper/ErrorHandling';\r\nimport { dateFormat } from \"../../../src/helper/formvalidation\"\r\nimport Moment from 'moment';\r\n\r\n\r\nexport interface ReplyMessageState {\r\n isReplyLoading: boolean;\r\n replyMessage: ReplyMessage;\r\n}\r\n\r\n\r\nexport interface EditMessageState {\r\n isListLoading: boolean,\r\n messageLists: MessageLists[],\r\n list: List\r\n}\r\n\r\nexport interface List {\r\n\r\n Subject: string;\r\n ToMemberId: string;\r\n FromMemberId: string;\r\n ModifiedTime: string;\r\n ModifiedDate: string;\r\n ModifiedOn: string;\r\n\r\n}\r\n\r\nexport interface ReplyMessage {\r\n \r\n message: string;\r\n\r\n}\r\n\r\nexport interface MessageLists {\r\n Content: string;\r\n FromMemberId: string;\r\n HealthCareProviderName: string;\r\n Id: string;\r\n IsRead: boolean;\r\n ModifiedOn: string;\r\n MsgType: string;\r\n Name: string;\r\n NotificationCount: number;\r\n OrderNo: number;\r\n ParentId: string;\r\n PhotoUrl: string;\r\n Subject: string; \r\n ToMemberId: string;\r\n TotalRecords: number;\r\n \r\n}\r\n\r\n\r\nexport interface RequestReplyMessage {\r\n type: 'REQUEST_REPLY_MESSAGE';\r\n /*replyMessage: ReplyMessage;*/\r\n}\r\n\r\nexport interface ReceiveReplyMessage {\r\n replyMessage: ReplyMessage;\r\n type: 'RECEIVE_REPLY_MESSAGE';\r\n}\r\n\r\n\r\n\r\n\r\nexport interface RequestMessagesList {\r\n type: 'REQUEST_MESSAGE_LIST',\r\n messageLists: MessageLists[],\r\n list: List\r\n}\r\n\r\nexport interface ReceiveMessagesList {\r\n type: 'RECEIVE_MESSAGE_LIST',\r\n messageLists: MessageLists[],\r\n list: List\r\n}\r\n\r\n\r\n\r\n\r\ntype KnownAction = RequestReplyMessage | ReceiveReplyMessage | RequestMessagesList | ReceiveMessagesList;\r\n\r\nexport const actionCreators = {\r\n\r\n postReplyMessage: (formvalue: any): AppThunkAction => (dispatch: any, getState) => {\r\n const appState = getState();\r\n var accountid: any = localStorage.getItem(\"AccountId\");\r\n if (localStorage.getItem(\"TomemberId\"))\r\n var tomemberid: any = localStorage.getItem(\"TomemberId\");\r\n var patient: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const id = urlParams.get('id');\r\n \r\n \r\n dispatch(showLoading('sectionBar'))\r\n if (appState && appState.replyMessage) {\r\n var data = {\r\n FromMemberId: patient.memberId,\r\n ToMemberId: tomemberid ? tomemberid : null,\r\n ParentId: id,\r\n Content: formvalue.message,\r\n RecordId: patient.id,\r\n RecordTypeId: 1,\r\n AccountId: accountid,\r\n };\r\n\r\n axios.post('/Message/PostMessage', data)\r\n .then(function (response) {\r\n dispatch({ type: 'RECEIVE_REPLY_MESSAGE' });\r\n var locationdata = window.location.pathname;\r\n //var _modulename: any = locationdata.split('/')[1]; \r\n //if (_modulename == 'replymessage') {\r\n // dispatch(actionCreators.requestListMessage())\r\n //}\r\n var langdata: any = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n localStorage.removeItem(\"TomemberId\");\r\n dispatch(hideLoading('sectionBar'))\r\n toastr.success('', langdata['messagesubmittedsuccesfully'])\r\n dispatch(reset(\"editMessageForm\"));\r\n /*dispatch(push(\"/message\"));*/\r\n // dispatch(actionCreators.requestReplyMessage())\r\n })\r\n .catch(function (error) {\r\n if (error.response.data.statusCode == 400) {\r\n var errorObject = JSON.parse(error.response.data.errorMessage);\r\n if (errorObject.error_description) {\r\n toastr.error('', errorObject.error_description);\r\n } errorHandling(error.response.data.statusCode);\r\n\r\n } else {\r\n errorHandling(error.response.data.statusCode);\r\n }\r\n dispatch({ type: 'RECEIVE_REPLY_MESSAGE', isReplyLoading: false });\r\n dispatch({ ...hideLoading('sectionBar') })\r\n })\r\n .then(function () {\r\n });\r\n\r\n dispatch({ type: 'REQUEST_REPLY_MESSAGE', isReplyLoading: true });\r\n }\r\n },\r\n requestReplyMessage: (): AppThunkAction => (dispatch: any, getState) => {\r\n\r\n const appState = getState();\r\n var patient: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n dispatch(showLoading('sectionBar'));\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const id = urlParams.get('id'); \r\n if (appState && appState.editMesssage && id !== null ) {\r\n axios.get('/message/GetDetailView/' + id + '/' + patient.userId )\r\n .then(function (response) {\r\n const message_list = response.data.Messages;\r\n const info_list:any = {\r\n }\r\n if (message_list.length > 0) {\r\n /* var list = response.data.Messages;*/\r\n const list = []\r\n for (let i = message_list.length - 1; i >= 0; i--) {\r\n const valueAtIndex = message_list[i]\r\n list.push(valueAtIndex)\r\n } \r\n const modifiedOn = Moment(list[0].ModifiedOn);\r\n info_list.ModifiedTime = modifiedOn.format('hh.mm a').replace(/^0+/, '');\r\n info_list.ModifiedDate = dateFormat(list[0].ModifiedOn)\r\n info_list.ToMemberId = list[0].ToMemberId\r\n info_list.FromMemberId = list[0].FromMemberId\r\n info_list.Subject = list[0].Subject\r\n info_list.ModifiedOn = list[0].ModifiedOn\r\n dispatch({ type: 'RECEIVE_MESSAGE_LIST', messageLists: message_list, list: info_list });\r\n } \r\n \r\n dispatch(hideLoading('sectionBar'));\r\n })\r\n .catch(error => { \r\n if (error.response && error.response.data) {\r\n if (error.response.data.statusCode == 400) {\r\n var errorObject = JSON.parse(error.response.data.errorMessage);\r\n toastr.error('', errorObject.error_description);\r\n } else {\r\n errorHandling(error.response.data.statusCode);\r\n }\r\n } else {\r\n console.log(error)\r\n }\r\n })\r\n .then(function () {\r\n });\r\n }\r\n dispatch({ type: 'REQUEST_MESSAGE_LIST' });\r\n },\r\n \r\n};\r\n\r\nconst UnloadedState: ReplyMessageState = {\r\n replyMessage: {\r\n \r\n message: \"\",\r\n },\r\n isReplyLoading: false,\r\n\r\n};\r\n\r\nconst UnloadedListState: EditMessageState = {\r\n messageLists: [],\r\n isListLoading: false,\r\n list: {\r\n Subject: '',\r\n ToMemberId: '',\r\n FromMemberId: '',\r\n ModifiedTime: '',\r\n ModifiedDate: '',\r\n ModifiedOn:''\r\n }\r\n};\r\n\r\nexport const replyMessagereducer: Reducer = (state: ReplyMessageState | undefined, incomingAction: Action): ReplyMessageState => {\r\n if (state === undefined) {\r\n return UnloadedState;\r\n }\r\n\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_REPLY_MESSAGE':\r\n return {\r\n replyMessage: state.replyMessage,\r\n isReplyLoading: true,\r\n };\r\n case 'RECEIVE_REPLY_MESSAGE':\r\n return {\r\n replyMessage: action.replyMessage,\r\n isReplyLoading: false,\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport const listreducer: Reducer = (state: EditMessageState | undefined, incomingAction: Action): EditMessageState => {\r\n if (state === undefined) {\r\n return UnloadedListState;\r\n }\r\n\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_MESSAGE_LIST':\r\n return {\r\n messageLists: state.messageLists,\r\n isListLoading: true,\r\n list: state.list,\r\n };\r\n case 'RECEIVE_MESSAGE_LIST':\r\n return {\r\n messageLists: action.messageLists,\r\n list: action.list,\r\n isListLoading: false,\r\n\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\n\r\n","import axios from 'axios';\r\nimport moment from 'moment';\r\nimport { push } from 'connected-react-router';\r\nimport { Action, Reducer } from 'redux';\r\nimport { AppThunkAction } from '../';\r\nimport { errorHandling, errorMessage } from '../../helper/ErrorHandling';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport Moment from 'moment';\r\n// -----------------\r\n// STATE - This defines the type of data maintained in the Redux store.\r\nconst search = window.location.search;\r\nconst params = new URLSearchParams(search);\r\nexport interface BookingState {\r\n isLoading: boolean;\r\n startDateIndex?: number;\r\n timing: Root[];\r\n weekdays: WeekDay[];\r\n weekfullday: WeekFullDay;\r\n provider: Provider;\r\n lengths: number;\r\n isTimeLoading: boolean;\r\n time: any\r\n}\r\nexport interface Provider {\r\n id: string;\r\n}\r\nexport interface time {\r\n time: string;\r\n}\r\n\r\nexport interface RootEntity {\r\n id: number;\r\n n: number;\r\n start: string;\r\n end: string;\r\n timeslot: string;\r\n memberId: string;\r\n isAvailableSlot: boolean;\r\n order: number;\r\n TotalSlots: number;\r\n UsedSlots: number;\r\n modifiedBy?: null;\r\n modifiedOn?: null;\r\n modified?: null;\r\n}\r\nexport type Root = (RootEntity)[] | null;\r\n\r\nexport interface TimingSlot {\r\n id: string;\r\n start: string;\r\n end: string;\r\n timeslot: string;\r\n memberId: string;\r\n usedTime: string\r\n\r\n}\r\nexport interface WeekDay {\r\n date: string;\r\n dayno: string;\r\n day: string;\r\n month: string;\r\n year: string\r\n}\r\nexport interface WeekFullDay {\r\n fullday: string;\r\n fullmonth: string;\r\n}\r\nexport interface Calendar {\r\n appointmentDateTime: string;\r\n}\r\n\r\n// -----------------\r\n// ACTIONS - These are serializable (hence replayable) descriptions of state transitions.\r\n// They do not themselves have any side-effects; they just describe something that is going to happen.\r\n\r\ninterface RequestTimingAction {\r\n type: 'REQUEST_DOCTOR_TIMING';\r\n isLoading: boolean;\r\n isTimeLoading: boolean;\r\n}\r\n\r\ninterface ReceiveTimingAction {\r\n type: 'RECEIVE_DOCTOR_TIMING';\r\n timing: Root[];\r\n weekdays: WeekDay[];\r\n weekfullday: WeekFullDay;\r\n provider: Provider;\r\n lengths: number;\r\n isLoading: boolean;\r\n isTimeLoading: boolean;\r\n}\r\ninterface ReceiveStoreAction {\r\n type: 'RECEIVE_STORE_TIMING';\r\n\r\n time: string\r\n}\r\n\r\n// Declare a 'discriminated union' type. This guarantees that all references to 'type' properties contain one of the\r\n// declared type strings (and not any other arbitrary string).\r\ntype KnownAction = RequestTimingAction | ReceiveTimingAction | ReceiveStoreAction;\r\n\r\n// ----------------\r\n// ACTION CREATORS - These are functions exposed to UI components that will trigger a state transition.\r\n// They don't directly mutate state, but they can have external side-effects (such as loading data).\r\n\r\nexport const actionCreators = {\r\n requestTiming: (currentdate: any, doctor: any, type: any, dayNo: number = 0): AppThunkAction => async (dispatch: any, getState) => {\r\n const appState = getState();\r\n if (type == \"clear\" || type == \"centralized\") {\r\n if (localStorage.getItem(\"preferredtimeslot\") == \"No\" && localStorage.getItem(\"pickaprovider\") == \"Yes\") {\r\n localStorage.removeItem(\"AppointmentTime\");\r\n localStorage.removeItem(\"AppointmentUTCTime\")\r\n }\r\n }\r\n\r\n setTimeout(() => {\r\n const patientLocalStroage: any = localStorage.getItem('Patient');\r\n const patient = JSON.parse(patientLocalStroage);\r\n //if (patient != null) {\r\n // if (patient.timeZone != \"\") {\r\n // this.props.requestTimeZone(patient.timeZone);\r\n // }\r\n //}\r\n var currentTime = new Date();\r\n\r\n var currentOffset = currentTime.getTimezoneOffset();\r\n\r\n var SettingOffset = patient && patient.offset ? patient.offset : parseInt(localStorage.getItem('timeOffset') || \"\")\r\n\r\n var ConvertedTime = new Date(currentTime.getTime() + (SettingOffset + currentOffset) * 60000);\r\n\r\n const today = Moment(ConvertedTime).format('YYYY-MM-DD');\r\n\r\n\r\n if (type == \"centralized\") {\r\n if (appState && appState.booking) {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const name = urlParams.get('status');\r\n const typemode = urlParams.get('type');\r\n const Code = urlParams.get('code');\r\n const specialityid = urlParams.get('specialityid');\r\n const childid = urlParams.get('childid');\r\n if (patient == null)\r\n userid = \"-\";\r\n else\r\n userid = patient.userId;\r\n var ptid: any = \"\";\r\n if (childid == null || childid == undefined)\r\n ptid = null;\r\n else\r\n ptid = childid;\r\n\r\n var specialitid: any = localStorage.getItem('SpecialityId');\r\n if (specialitid == \"\" || specialitid == null)\r\n specialitid = urlParams.get('specialityid');\r\n var accountid = localStorage.getItem(\"AccountId\");\r\n var encDetailStroage: any = localStorage.getItem('EncDetail');\r\n var encDetail = JSON.parse(encDetailStroage);\r\n\r\n var enctypemode = \"\";\r\n var durcode = \"\";\r\n if (encDetail != null) {\r\n enctypemode = encDetail.encounterTypeMode == undefined ? \"-\" : encDetail.encounterTypeMode;\r\n durcode = encDetail.encounterTypeMode == undefined ? \"-\" : encDetail.durationCode;\r\n } else {\r\n enctypemode = \"-\";\r\n durcode = \"-\"\r\n }\r\n //var patientLocalStroage: any = localStorage.getItem('Patient');\r\n //var patient = JSON.parse(patientLocalStroage);\r\n\r\n axios.get('/doctor/CentralizedGettiming/' + accountid + '/' + currentdate + '/' + enctypemode + '/' + durcode + '/' + userid + '/' + specialitid + \"/\" + null + \"/\" + ptid, { headers: { Authorization: \"BasicAuth\" } })\r\n .then(function (response) {\r\n const data = response.data._doctorTimeslot;\r\n const days = [];\r\n let daysRequired = 0;\r\n if (response && response.data && response.data._doctorTimeslot.length == 0) {\r\n if (!localStorage.getItem(\"AppointmentOn\") && dayNo < 6) {\r\n\r\n dayNo++;\r\n dispatch(actionCreators.requestTiming(moment(currentdate).add(1, 'day').format('YYYY-MM-DD'), \"\", \"centralized\", dayNo))\r\n\r\n }\r\n\r\n else {\r\n if (dayNo == 6) {\r\n localStorage.setItem(\"AppointmentOn\", moment(currentdate).add(-6, 'day').format('YYYY-MM-DD'))\r\n\r\n }\r\n for (let i = daysRequired; i <= 6; i++) {\r\n days.push({ date: moment(ConvertedTime).add(i, 'days').format('YYYY-MM-DD'), dayno: moment(ConvertedTime).add(i, 'days').format('D'), day: moment(ConvertedTime).add(i, 'days').format('ddd'), month: moment(ConvertedTime).add(i, 'days').format('MMM'), year: moment(ConvertedTime).add(i, 'days').format('yyyy') })\r\n daysRequired++;\r\n }\r\n const fullmonthyear = moment(ConvertedTime).format('Do MMMM YYYY');\r\n const fullday = moment(ConvertedTime).format('dddd');\r\n var getTimeSlots = getSlots(data, 7);\r\n dispatch({ type: 'RECEIVE_DOCTOR_TIMING', timing: getTimeSlots, weekdays: days, weekfullday: { fullday: fullday, fullmonth: fullmonthyear }, provider: response.data, isLoading: false });\r\n }\r\n }\r\n else {\r\n for (let i = daysRequired; i <= 6; i++) {\r\n days.push({ date: moment(ConvertedTime).add(i, 'days').format('YYYY-MM-DD'), dayno: moment(ConvertedTime).add(i, 'days').format('D'), day: moment(ConvertedTime).add(i, 'days').format('ddd'), month: moment(ConvertedTime).add(i, 'days').format('MMM'), year: moment(ConvertedTime).add(i, 'days').format('yyyy') })\r\n daysRequired++;\r\n }\r\n const fullmonthyear = moment(ConvertedTime).format('Do MMMM YYYY');\r\n const fullday = moment(ConvertedTime).format('dddd');\r\n var getTimeSlots = getSlots(data, 7);\r\n if (!localStorage.getItem(\"AppointmentOn\"))\r\n localStorage.setItem(\"AppointmentOn\", currentdate);\r\n\r\n if (!localStorage.getItem(\"SelectedDate\"))\r\n localStorage.setItem(\"SelectedDate\", currentdate);\r\n dispatch({ type: 'RECEIVE_DOCTOR_TIMING', timing: getTimeSlots, weekdays: days, weekfullday: { fullday: fullday, fullmonth: fullmonthyear }, provider: response.data, isLoading: false });\r\n\r\n }\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n dispatch({ type: 'REQUEST_DOCTOR_TIMING', isLoading: true });\r\n }\r\n }\r\n\r\n if (type != \"centralized\") {\r\n\r\n if (appState && appState.booking) {\r\n var accountid = localStorage.getItem(\"AccountId\");\r\n var encDetailStroage: any = localStorage.getItem('EncDetail');\r\n var encDetail = JSON.parse(encDetailStroage);\r\n var enctypemode1: any = \"\";\r\n var durcode1: any = \"\";\r\n var userid: any = \"\";\r\n var urlParams = new URLSearchParams(window.location.search);\r\n var name = urlParams.get('status');\r\n var typemode = urlParams.get('type');\r\n var Code = urlParams.get('code');\r\n var childid = urlParams.get('childid');\r\n var ptid: any = \"\";\r\n if (patient == null)\r\n userid = \"-\";\r\n else\r\n userid = patient.userId;\r\n if (childid == null || childid == undefined)\r\n ptid = null;\r\n else\r\n ptid = childid\r\n \r\n var specialitid: any = localStorage.getItem('SpecialityId') || urlParams.get('specialityid');\r\n if (specialitid == \"\" || specialitid == null)\r\n specialitid = urlParams.get('specialityid');\r\n if (name == 'reschedule' || name == 'followup') {\r\n enctypemode1 = typemode;\r\n durcode1 = Code;\r\n }\r\n //else if (name == 'followup')\r\n //{\r\n // durcode1 = localStorage.getItem(\"followupduration\");\r\n // enctypemode1 = localStorage.getItem(\"followuptypemode\");\r\n //}\r\n else {\r\n if (encDetail != null) {\r\n enctypemode1 = encDetail.encounterTypeMode == undefined ? \"-\" : encDetail.encounterTypeMode;\r\n durcode1 = encDetail.encounterTypeMode == undefined ? \"-\" : encDetail.durationCode;\r\n } else {\r\n enctypemode1 = \"-\";\r\n durcode1 = \"-\"\r\n }\r\n }\r\n\r\n //var patientLocalStroage: any = localStorage.getItem('Patient');\r\n //console.log(currentdate)\r\n //var patient = JSON.parse(patientLocalStroage);\r\n\r\n\r\n axios.get('/doctor/Gettiming/' + doctor.doctorid + '/' + accountid + '/' + currentdate + '/' + enctypemode1 + '/' + durcode1 + \"/\" + userid + \"/\" + specialitid + \"/\" + null + \"/\" + ptid, { headers: { Authorization: \"BasicAuth\" } })\r\n .then(function (response) {\r\n if (response.data.length > 0) {\r\n var lengths = 1;\r\n }\r\n else {\r\n var lengths = 0;\r\n }\r\n if (response && response.data && response.data.length == 0) {\r\n\r\n if (!localStorage.getItem(\"AppointmentOn\") && dayNo < 6) {\r\n\r\n dayNo++;\r\n dispatch(actionCreators.requestTiming(moment(currentdate).add(1, 'day').format('YYYY-MM-DD'), doctor, \"\", dayNo))\r\n\r\n }\r\n else {\r\n if (dayNo == 6) {\r\n localStorage.setItem(\"AppointmentOn\", moment(currentdate).add(-6, 'day').format('YYYY-MM-DD'))\r\n\r\n }\r\n const days = [];\r\n let daysRequired = 0\r\n for (let i = daysRequired; i <= 6; i++) {\r\n days.push({ date: moment(ConvertedTime).add(i, 'days').format('YYYY-MM-DD'), dayno: moment(ConvertedTime).add(i, 'days').format('D'), day: moment(ConvertedTime).add(i, 'days').format('ddd'), month: moment(ConvertedTime).add(i, 'days').format('MMM'), year: moment(ConvertedTime).add(i, 'days').format('yyyy') })\r\n daysRequired++;\r\n }\r\n const fullmonthyear = moment(ConvertedTime).format('Do MMMM YYYY');\r\n const fullday = moment(ConvertedTime).format('dddd');\r\n var getTimeSlots = getSlots([], 7);\r\n dispatch({ type: 'RECEIVE_DOCTOR_TIMING', timing: getTimeSlots, weekdays: days, weekfullday: { fullday: fullday, fullmonth: fullmonthyear }, lengths: lengths, isLoading: false });\r\n }\r\n\r\n }\r\n else {\r\n const data = response.data;\r\n\r\n\r\n\r\n const days = [];\r\n let daysRequired = 0\r\n /* for (let i = daysRequired; i <= 6; i++) {\r\n days.push({ date: moment().add(i, 'days').format('YYYY-MM-DD'), dayno: moment().add(i, 'days').format('D'), day: moment().add(i, 'days').format('ddd'), month: moment().add(i, 'days').format('MMM'), year: moment().add(i, 'days').format('yyyy') })\r\n daysRequired++;\r\n }\r\n const fullmonthyear = moment().format('Do MMMM YYYY');\r\n const fullday = moment().format('dddd');*/\r\n for (let i = daysRequired; i <= 6; i++) {\r\n days.push({ date: moment(ConvertedTime).add(i, 'days').format('YYYY-MM-DD'), dayno: moment(ConvertedTime).add(i, 'days').format('D'), day: moment(ConvertedTime).add(i, 'days').format('ddd'), month: moment(ConvertedTime).add(i, 'days').format('MMM'), year: moment(ConvertedTime).add(i, 'days').format('yyyy') })\r\n daysRequired++;\r\n }\r\n const fullmonthyear = moment(ConvertedTime).format('Do MMMM YYYY');\r\n const fullday = moment(ConvertedTime).format('dddd');\r\n\r\n var getTimeSlots = getSlots(data, 7);\r\n\r\n if (!localStorage.getItem(\"AppointmentOn\"))\r\n localStorage.setItem(\"AppointmentOn\", currentdate);\r\n\r\n if (!localStorage.getItem(\"SelectedDate\"))\r\n localStorage.setItem(\"SelectedDate\", currentdate);\r\n\r\n dispatch({ type: 'RECEIVE_DOCTOR_TIMING', timing: getTimeSlots, weekdays: days, weekfullday: { fullday: fullday, fullmonth: fullmonthyear }, lengths: lengths });\r\n }\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n if (error.response.status == \"404\")\r\n errorHandling(error.response.status);\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n dispatch({ type: 'REQUEST_DOCTOR_TIMING', isLoading: true });\r\n }\r\n }\r\n }, 1000)\r\n },\r\n getEncounterTypes: (): AppThunkAction => (dispatch: any, getState: any) => {\r\n const appState = getState();\r\n var accountid = localStorage.getItem(\"AccountId\");\r\n if (appState && appState.booking && accountid != \"\") {\r\n axios.get('/doctor/GetEncounterType/' + accountid)\r\n .then(function (response) {\r\n const result = response.data;\r\n //const temp: any = []\r\n\r\n //result.map((list: any) => {\r\n // temp.push({ value: list.encounterId, name: list.name })\r\n //})\r\n //var encountertype: any = temp;\r\n //console.log(encountertype)\r\n //dispatch({ reciptentLists: temp });\r\n /*const resultset = [result]*/\r\n const jsonData = JSON.stringify(result);\r\n localStorage.setItem(\"Encountertypes\", jsonData);\r\n })\r\n .catch(error => {\r\n if (error.response.data.statusCode == 400) {\r\n var errorObject = JSON.parse(error.response.data.errorMessage);\r\n toastr.error('', errorObject.error_description);\r\n } else {\r\n errorHandling(error.response.data.statusCode);\r\n }\r\n })\r\n .then(function () {\r\n });\r\n }\r\n },\r\n redirectAppointment: (doctor: any, methodid: any, time: any, date: any, encountertypeid: any, encounterTypeMode: any, durationCode: any, encounterTypeModeDurationId: any, price: any, serviceid: any): AppThunkAction => (dispatch: any, getState) => {\r\n var patientLocalStroage: any = localStorage.getItem('Patient');\r\n var patientdata = JSON.parse(patientLocalStroage);\r\n const search = window.location.search;\r\n const params = new URLSearchParams(search);\r\n var refid = params.get(\"referrralid\");\r\n var followup = params.get(\"followup\");\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const childid = urlParams.get('childid');\r\n const name = urlParams.get('childname');\r\n const childname = urlParams.get('childname');\r\n const status = urlParams.get('status');\r\n const appointmentid = urlParams.get('appointment');\r\n const specialityid = urlParams.get('specialityid');\r\n if (childid == null)\r\n localStorage.setItem(\"redirectUrl\", window.location.origin + \"/conditions/\" + doctor.doctorid + \"/appointment?time=\" + time + \"&date=\" + date + \"&encountertypeid=\" + encountertypeid + \"&encountertypemode=\" + encounterTypeMode + \"&durationcode=\" + durationCode + \"&enctypeid=\" + encounterTypeModeDurationId + \"&methodid=\" + methodid + \"&price=\" + price + \"&referrralid=\" + refid + \"&serviceid=\" + serviceid + \"&followup=\" + followup + \"&appointmentid=\" + appointmentid + \"&status=\" + status + \"&specialityid=\" + specialityid);\r\n else\r\n localStorage.setItem(\"redirectUrl\", window.location.origin + \"/conditions/\" + doctor.doctorid + \"/appointment?time=\" + time + \"&date=\" + date + \"&encountertypeid=\" + encountertypeid + \"&encountertypemode=\" + encounterTypeMode + \"&durationcode=\" + durationCode + \"&enctypeid=\" + encounterTypeModeDurationId + \"&methodid=\" + methodid + \"&price=\" + price + \"&referrralid=\" + refid + \"&serviceid=\" + serviceid + \"&childid=\" + childid + \"&childname=\" + childname + \"&followup=\" + followup + \"&appointmentid=\" + appointmentid + \"&status=\" + status + + \"&specialityid=\" + specialityid);\r\n var isfree = price == 0 ? \"Free\" : price;\r\n localStorage.setItem(\"pathName\", \"conditions\");\r\n localStorage.setItem(\"DoctorId\", doctor.doctorid);\r\n const appState: any = getState();\r\n var newArray: any = \"\";\r\n if (appState != undefined) {\r\n newArray = appState.account.Settings.filter(function (el: any) {\r\n return (el.typeId == 9);\r\n });\r\n }\r\n\r\n if (localStorage.getItem('isAuth') == \"true\") {\r\n var patient = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n var memberId = patient.memberId;\r\n if (childid == null)\r\n localStorage.setItem(\"redirectUrl\", window.location.origin + \"/conditions/\" + doctor.doctorid + \"/appointment?time=\" + time + \"&date=\" + date + \"&encountertypeid=\" + encountertypeid + \"&encountertypemode=\" + encounterTypeMode + \"&durationcode=\" + durationCode + \"&enctypeid=\" + encounterTypeModeDurationId + \"&methodid=\" + methodid + \"&price=\" + price + \"&referrralid=\" + refid + \"&patientId=\" + patientdata['id'] + \"&serviceid=\" + serviceid + \"&followup=\" + followup + \"&appointmentid=\" + appointmentid + \"&status=\" + status + \"&specialityid=\" + specialityid);\r\n else\r\n localStorage.setItem(\"redirectUrl\", window.location.origin + \"/conditions/\" + doctor.doctorid + \"/appointment?time=\" + time + \"&date=\" + date + \"&encountertypeid=\" + encountertypeid + \"&encountertypemode=\" + encounterTypeMode + \"&durationcode=\" + durationCode + \"&enctypeid=\" + encounterTypeModeDurationId + \"&methodid=\" + methodid + \"&price=\" + price + \"&referrralid=\" + refid + \"&patientId=\" + patientdata['id'] + \"&serviceid=\" + serviceid + \"&childid=\" + childid + \"&childname=\" + childname + \"&followup=\" + followup + \"&appointmentid=\" + appointmentid + \"&status=\" + status + \"&specialityid=\" + specialityid);\r\n\r\n if (patient != null)\r\n localStorage.setItem(\"EmailId\", patient.Email);\r\n if (patient.Address1 == \"\" || patient.Address1 == null) {\r\n dispatch(push(\"/contact/\" + doctor.doctorid + \"/\" + memberId + \"?childid=\" + childid + \" &childname=\" + childname));\r\n }\r\n else {\r\n var reasonforvisit: any = newArray.filter((x: any) => x.name == \"Reason for Visit\" && x.customizeValue == \"Yes\");\r\n if (reasonforvisit.length == 1) {\r\n if (childid == null)\r\n dispatch(push(\"/conditions/\" + doctor.doctorid + \"/appointment?time=\" + time + \"&date=\" + date + \"&encountertypeid=\" + encountertypeid + \"&encountertypemode=\" + encounterTypeMode + \"&durationcode=\" + durationCode + \"&enctypeid=\" + encounterTypeModeDurationId + \"&methodid=\" + methodid + \"&price=\" + price + \"&referrralid=\" + refid + \"&patientId=\" + patient.id + \"&serviceid=\" + serviceid + \"&followup=\" + followup + \"&appointmentid=\" + appointmentid + \"&status=\" + status + \"&specialityid=\" + specialityid));\r\n else\r\n dispatch(push(\"/conditions/\" + doctor.doctorid + \"/appointment?time=\" + time + \"&date=\" + date + \"&encountertypeid=\" + encountertypeid + \"&encountertypemode=\" + encounterTypeMode + \"&durationcode=\" + durationCode + \"&enctypeid=\" + encounterTypeModeDurationId + \"&methodid=\" + methodid + \"&price=\" + price + \"&referrralid=\" + refid + \"&patientId=\" + patient.id + \"&serviceid=\" + serviceid + \"&childid=\" + childid + \"&childname=\" + childname + \"&followup=\" + followup + \"&appointmentid=\" + appointmentid + \"&status=\" + status + \"&specialityid=\" + specialityid));\r\n }\r\n }\r\n } else {\r\n dispatch(push(\"/login\"));\r\n }\r\n },\r\n redirectCentralized: (id: any, doctor: any, methodid: any, time: any, date: any, time1: any, date1: any, encountertypeid: any, encounterTypeMode: any, durationCode: any, encounterTypeModeDurationId: any, price: any, serivceid: any): AppThunkAction => (dispatch: any, getState) => {\r\n const search = window.location.search;\r\n const params = new URLSearchParams(search);\r\n var refid = params.get(\"referrralid\");\r\n var patientLocalStroage: any = localStorage.getItem('Patient');\r\n var patientdata = JSON.parse(patientLocalStroage);\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const childid = urlParams.get('childid');\r\n const childname = urlParams.get('childname');\r\n const sitename = urlParams.get('childname');\r\n var followup = params.get(\"followup\");\r\n const status = urlParams.get('status');\r\n const appointmentid = urlParams.get('appointment');\r\n const specialityid = urlParams.get('specialityid');\r\n if (patientLocalStroage) {\r\n if (childid == null) {\r\n localStorage.setItem(\"redirectUrl\", window.location.origin + \"/conditions/\" + id + \"/appointment?time=\" + time + \"&date=\" + date + \"&time1=\" + time1 + \"&date1=\" + date1 + \"&encountertypeid=\" + encountertypeid + \"&encountertypemode=\" + encounterTypeMode + \"&durationcode=\" + durationCode + \"&enctypeid=\" + encounterTypeModeDurationId + \"&methodid=\" + methodid + \"&price=\" + price + \"&referrralid=\" + refid + \"&patientId=\" + patientdata['id'] + \"&serviceid=\" + serivceid + \"&followup=\" + followup + \"&appointmentid=\" + appointmentid + \"&status=\" + status + \"&specialityid=\" + specialityid);\r\n } else {\r\n localStorage.setItem(\"redirectUrl\", window.location.origin + \"/conditions/\" + id + \"/appointment?time=\" + time + \"&date=\" + date + \"&time1=\" + time1 + \"&date1=\" + date1 + \"&encountertypeid=\" + encountertypeid + \"&encountertypemode=\" + encounterTypeMode + \"&durationcode=\" + durationCode + \"&enctypeid=\" + encounterTypeModeDurationId + \"&methodid=\" + methodid + \"&price=\" + price + \"&referrralid=\" + refid + \"&patientId=\" + patientdata['id'] + \"&childid=\" + childid + \"&childname=\" + sitename + \"&serviceid=\" + serivceid + \"&followup=\" + followup + \"&appointmentid=\" + appointmentid + \"&status=\" + status + \"&specialityid=\" + specialityid);\r\n }\r\n localStorage.setItem(\"pathName\", \"conditions\");\r\n localStorage.setItem(\"DoctorId\", id);\r\n var refid = params.get(\"referrralid\");\r\n } else {\r\n if (childid == null) {\r\n localStorage.setItem(\"redirectUrl\", window.location.origin + \"/conditions/\" + id + \"/appointment?time=\" + time + \"&date=\" + date + \"&time1=\" + time1 + \"&date1=\" + date1 + \"&encountertypeid=\" + encountertypeid + \"&encountertypemode=\" + encounterTypeMode + \"&durationcode=\" + durationCode + \"&enctypeid=\" + encounterTypeModeDurationId + \"&methodid=\" + methodid + \"&price=\" + price + \"&referrralid=\" + refid + \"&serviceid=\" + serivceid + \"&followup=\" + followup + \"&appointmentid=\" + appointmentid + \"&status=\" + status + \"&specialityid=\" + specialityid);\r\n } else {\r\n localStorage.setItem(\"redirectUrl\", window.location.origin + \"/conditions/\" + id + \"/appointment?time=\" + time + \"&date=\" + date + \"&time1=\" + time1 + \"&date1=\" + date1 + \"&encountertypeid=\" + encountertypeid + \"&encountertypemode=\" + encounterTypeMode + \"&durationcode=\" + durationCode + \"&enctypeid=\" + encounterTypeModeDurationId + \"&methodid=\" + methodid + \"&price=\" + price + \"&referrralid=\" + refid + \"&childid=\" + childid + \"&childname=\" + sitename + \"&serviceid=\" + serivceid + \"&followup=\" + followup + \"&appointmentid=\" + appointmentid + \"&status=\" + status + \"&specialityid=\" + specialityid);\r\n }\r\n localStorage.setItem(\"pathName\", \"conditions\");\r\n localStorage.setItem(\"DoctorId\", id);\r\n var refid = params.get(\"referrralid\");\r\n }\r\n\r\n const appState: any = getState();\r\n var newArray: any = \"\";\r\n if (appState != undefined) {\r\n newArray = appState.account.Settings.filter(function (el: any) {\r\n return (el.typeId == 9);\r\n });\r\n }\r\n\r\n if (localStorage.getItem('isAuth') == \"true\") {\r\n var patient = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n var memberId = patient.memberId;\r\n if (patient != null)\r\n localStorage.setItem(\"EmailId\", patient.Email);\r\n if (patient.Address1 == \"\" || patient.Address1 == null) {\r\n dispatch(push(\"/contact/\" + id + \"/\" + memberId + \"?childid=\" + childid + \" &childname=\" + childname));\r\n }\r\n else {\r\n var reasonforvisit: any = newArray.filter((x: any) => x.name == \"Reason for Visit\" && x.customizeValue == \"Yes\");\r\n if (reasonforvisit.length == 1) {\r\n if (childid == null) {\r\n dispatch(push(\"/conditions/\" + id + \"/appointment?time=\" + time + \"&date=\" + date + \"&time1=\" + time1 + \"&date1=\" + date1 + \"&encountertypeid=\" + encountertypeid + \"&encountertypemode=\" + encounterTypeMode + \"&durationcode=\" + durationCode + \"&enctypeid=\" + encounterTypeModeDurationId + \"&methodid=\" + methodid + \"&price=\" + price + \"&referrralid=\" + refid + \"&patientId=\" + patientdata['id'] + \"&serviceid=\" + serivceid + \"&followup=\" + followup + \"&appointmentid=\" + appointmentid + \"&status=\" + status + \"&specialityid=\" + specialityid));\r\n } else {\r\n dispatch(push(\"/conditions/\" + id + \"/appointment?time=\" + time + \"&date=\" + date + \"&time1=\" + time1 + \"&date1=\" + date1 + \"&encountertypeid=\" + encountertypeid + \"&encountertypemode=\" + encounterTypeMode + \"&durationcode=\" + durationCode + \"&enctypeid=\" + encounterTypeModeDurationId + \"&methodid=\" + methodid + \"&price=\" + price + \"&referrralid=\" + refid + \"&patientId=\" + patientdata['id'] + \"&childid=\" + childid + \"&childname=\" + sitename + \"&serviceid=\" + serivceid + \"&followup=\" + followup + \"&appointmentid=\" + appointmentid + \"&status=\" + status + \"&specialityid=\" + specialityid));\r\n }\r\n }\r\n }\r\n } else {\r\n dispatch(push(\"/login\"));\r\n }\r\n },\r\n \r\n //getProviderId: (datetime: any, offset:any): AppThunkAction => (dispatch: any, getState) => {\r\n // const appState = getState();\r\n // if (appState && appState.booking) {\r\n // var encDetailStroage: any = localStorage.getItem('EncDetail');\r\n // var encDetail = JSON.parse(encDetailStroage);\r\n // if (localStorage.getItem(\"isAuth\") == \"true\") {\r\n // var patientLocalStroage: any = localStorage.getItem('Patient');\r\n // var patient = JSON.parse(patientLocalStroage);\r\n // if (patient.timeZone == \"\") {\r\n // var totalMinuteOffset: any = offset;\r\n // var d = new Date(datetime);\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(totalMinuteOffset)), 0, 0);\r\n // datetime = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // } else {\r\n // const tzOffset = offset;\r\n // const [hourOffset, minuteOffset] = tzOffset.split(':').map(Number);\r\n // var totalMinuteOffset: any = hourOffset * 60 + minuteOffset;\r\n // var d = new Date(datetime);\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(totalMinuteOffset)), 0, 0);\r\n // datetime = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // }\r\n // }\r\n // else {\r\n // var totalMinuteOffset: any = parseInt(offset);\r\n // var d = new Date(datetime);\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(totalMinuteOffset)), 0, 0);\r\n // datetime = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // }\r\n // axios.get('/doctor/GetProvider/' + datetime + '/' + encDetail.durationCode)\r\n // .then(function (response) {\r\n // localStorage.setItem(\"ProviderId\", response.data)\r\n // })\r\n // .catch(function (error) {\r\n // errorMessage(error.response.data);\r\n // })\r\n // .then(function () {\r\n // });\r\n // }\r\n //},\r\n storeTime: (time: any): AppThunkAction => async (dispatch: any, getState) => {\r\n\r\n\r\n dispatch({ type: 'RECEIVE_STORE_TIMING', time: time });\r\n\r\n },\r\n //requestReScheduleUpdate: (formvalue: any,date: any,time :any): AppThunkAction => (dispatch: any, getState: any) => {\r\n // const appState: any = getState(); \r\n // const urlParams: any = new URLSearchParams(window.location.search);\r\n // const type = urlParams.get('type');\r\n // var noappointment = appState.account.Settings.filter((se: any) => se.name == \"Request Queue\")[0];\r\n // if (date != null) {\r\n // if (window.location.hostname == \"localhost\") {\r\n // if ((noappointment.customizeValue == \"Yes\") && (type == \"noappointment\")) {\r\n // var appointmenton = Moment.utc(new Date()).format('YYYY/MM/DD'); //Current datetime\r\n // formvalue.AppointmentOn = Moment.utc(toDate(appointmenton + \" \" + formatAMPM(new Date()))).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // } else {\r\n // var appointmenton = Moment.utc(new Date(date)).format('YYYY/MM/DD'); //Current datetime\r\n // var totalMinuteOffset: any = 0;\r\n // if (formvalue.Offset == \"\") {\r\n // var timezone = appState.account.Settings.filter((se: any) => se.name == \"Time Zone\")[0]\r\n // var _timezone = timezone.displayCode.split(\"|\");\r\n // totalMinuteOffset = _timezone[1];\r\n // var d = new Date(appointmenton + \" \" + time);\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(totalMinuteOffset)), 0, 0);\r\n // formvalue.AppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // } else {\r\n // const tzOffset = formvalue.Offset;\r\n // const [hourOffset, minuteOffset] = tzOffset.split(':').map(Number);\r\n // const totalMinuteOffset = hourOffset * 60 + minuteOffset;\r\n // var d = new Date(appointmenton + \" \" + time);\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(totalMinuteOffset)), 0, 0);\r\n // formvalue.AppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // }\r\n // }\r\n // } else {\r\n // if ((noappointment.customizeValue == \"Yes\") && (type == \"noappointment\")) {\r\n // var appointmenton = Moment(new Date()).format('YYYY/MM/DD');\r\n // var datetime: any = toDate(appointmenton + \" \" + formatAMPM(new Date()));\r\n // var appointmenttime = DisplayCurrentTime(datetime);\r\n // appointmenton = Moment(new Date()).format('YYYY-MM-DD');\r\n // var _date = new Date(appointmenton + \"T\" + appointmenttime);\r\n // formvalue.AppointmentOn = Moment.utc(_date).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // } else {\r\n // var totalMinuteOffset: any = 0;\r\n // if (formvalue.Offset == \"\") {\r\n // var timezone = appState.account.Settings.filter((se: any) => se.name == \"Time Zone\")[0]\r\n // var _timezone = timezone.displayCode.split(\"|\");\r\n // var offset = _timezone[1];\r\n // var appointmenton = Moment.utc(new Date(date)).format('YYYY/MM/DD');\r\n // var datetime: any = toDate(appointmenton + \" \" + time);\r\n // var d = new Date(appointmenton + \" \" + time); // get current date\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(offset)), 0, 0);\r\n // formvalue.AppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // } else {\r\n // const tzOffset = formvalue.Offset;\r\n // const [hourOffset, minuteOffset] = tzOffset.split(':').map(Number);\r\n // const totalMinuteOffset = hourOffset * 60 + minuteOffset;\r\n // var appointmenton = Moment.utc(new Date(date)).format('YYYY/MM/DD');\r\n // var datetime: any = toDate(appointmenton + \" \" + time);\r\n // var d = new Date(appointmenton + \" \" + time); // get current date\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(totalMinuteOffset)), 0, 0);\r\n // formvalue.AppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // }\r\n // }\r\n\r\n // }\r\n // }\r\n // var data: any = {\r\n // Id: formvalue.appointmentid, \r\n // AppointmentOn: formvalue.AppointmentOn\r\n // }\r\n // axios.post('/appointment/ReSchedulePost', data)\r\n // .then(function (response) {\r\n // dispatch({ type: 'RECEIVE_PAYMENTDETAIL_SUCCESS', isLoading: false, isPaymentProcessLoading: false });\r\n // dispatch(push(\"/success/\" + formvalue.appointmentid))\r\n // })\r\n // .catch(function (error) {\r\n // dispatch({ type: 'RECEIVE_PAYMENTDETAIL_SUCCESS', isLoading: false, isPaymentProcessLoading: false });\r\n // var errorObject = JSON.parse(error.response.data.errorMessage);\r\n // if (errorObject.Message == \"No Changes\") {\r\n // dispatch(push(\"/success/\" + formvalue.appointmentid))\r\n // } else {\r\n // errorHandling(error.response.data.statusCode);\r\n // }\r\n // })\r\n // .then(function () {\r\n // });\r\n // dispatch({ type: 'REQUEST_PAYMENTDETAIL_SUCCESS', isLoading: true, isPaymentProcessLoading: true });\r\n\r\n //}\r\n};\r\n\r\n// ----------------\r\n// REDUCER - For a given state and action, returns the new state. To support time travel, this must not mutate the old state.\r\n\r\nconst unloadedState: BookingState = {\r\n timing: [], weekdays: [], weekfullday: { fullday: \"\", fullmonth: \"\" }, provider: { id: \"\" }, isLoading: false, lengths: 0, isTimeLoading: false, time: \"\"\r\n};\r\n\r\nexport const reducer: Reducer = (state: BookingState | undefined, incomingAction: Action): BookingState => {\r\n if (state === undefined) {\r\n return unloadedState;\r\n }\r\n\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_DOCTOR_TIMING':\r\n return {\r\n timing: state.timing,\r\n weekdays: state.weekdays,\r\n weekfullday: state.weekfullday,\r\n provider: state.provider,\r\n isLoading: true,\r\n lengths: 0,\r\n isTimeLoading: true,\r\n time: state.time\r\n };\r\n case 'RECEIVE_DOCTOR_TIMING':\r\n return {\r\n timing: action.timing,\r\n weekdays: action.weekdays,\r\n weekfullday: action.weekfullday,\r\n provider: action.provider,\r\n isLoading: false,\r\n lengths: action.lengths,\r\n isTimeLoading: false,\r\n time: state.time\r\n };\r\n case 'RECEIVE_STORE_TIMING':\r\n return {\r\n timing: state.timing,\r\n weekdays: state.weekdays,\r\n weekfullday: state.weekfullday,\r\n provider: state.provider,\r\n isLoading: false,\r\n lengths: state.lengths,\r\n isTimeLoading: false,\r\n time: action.time\r\n };\r\n default:\r\n return state;\r\n\r\n }\r\n};\r\n\r\n\r\nfunction getSlots(array: any, cols: any) {\r\n if (cols === 1) return array;\r\n if (array === undefined) return;\r\n var size = Math.ceil(array.length / cols);\r\n var chunk_size = size;\r\n var arr = array;\r\n var group = arr.map(function (e: any, i: any) {\r\n return i % chunk_size === 0 ? arr.slice(i, i + chunk_size) : null;\r\n }).filter(function (e: any) { return e; });\r\n return group;\r\n}\r\n\r\nfunction addDays(cuurentdate: any, days: number): Date {\r\n var futureDate = new Date(cuurentdate);\r\n futureDate.setDate(futureDate.getDate() + days);\r\n return futureDate;\r\n}\r\n\r\nfunction toDate(date: any) {\r\n if (date != null) {\r\n var currentDateTime = new Date(date);\r\n return currentDateTime\r\n }\r\n}\r\nfunction DisplayCurrentTime(datetime: Date) {\r\n var date = datetime;\r\n var hours = date.getHours() < 10 ? \"0\" + date.getHours() : date.getHours();\r\n var minutes = date.getMinutes() < 10 ? \"0\" + date.getMinutes() : date.getMinutes();\r\n var seconds = date.getSeconds() < 10 ? \"0\" + date.getSeconds() : date.getSeconds();\r\n return (hours + \":\" + minutes + \":\" + seconds);\r\n};\r\nconst formatAMPM = (date: any) => {\r\n let hours = date.getHours();\r\n let minutes = date.getMinutes();\r\n let ampm = hours >= 12 ? 'PM' : 'AM';\r\n hours = hours % 12;\r\n hours = hours ? hours : 12;\r\n minutes = minutes.toString().padStart(2, '0');\r\n let strTime = hours + ':' + minutes + ' ' + ampm;\r\n return strTime;\r\n}","import axios from 'axios';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport { Action, Reducer } from 'redux';\r\nimport { AppThunkAction } from '../';\r\nimport { errorHandling } from '../../helper/ErrorHandling';\r\nimport { push } from 'connected-react-router';\r\nimport Moment from 'moment';\r\nexport interface PaymentProcessState {\r\n isLoading: boolean;\r\n isPaymentProcessLoading: boolean;\r\n paymentdetail: PaymentDetail;\r\n}\r\n\r\nexport interface PaymentDetail {\r\n Amount: string,\r\n CancelUrl: string,\r\n ClientId: string,\r\n Currency: string,\r\n CustomerAddress: string,\r\n CustomerName: string,\r\n Email: string,\r\n OrderID: string,\r\n Phone: string,\r\n RedirectUrl: string,\r\n ReturnUrl: string,\r\n CurrencyDisplayFormat: string\r\n}\r\n\r\n\r\ninterface RequestPaymentProccessAction {\r\n type: 'REQUEST_PAYMENTDETAIL_SUCCESS';\r\n isLoading: boolean;\r\n isPaymentProcessLoading: boolean;\r\n}\r\n\r\ninterface ReceivePaymentProccessAction {\r\n type: 'RECEIVE_PAYMENTDETAIL_SUCCESS';\r\n paymentdetail: PaymentDetail;\r\n isLoading: boolean;\r\n isPaymentProcessLoading: boolean;\r\n}\r\n\r\ntype KnownAction = RequestPaymentProccessAction | ReceivePaymentProccessAction;\r\n\r\nexport const actionCreators = {\r\n requestPostPaymentProcess: (route: any): AppThunkAction => (dispatch, getState) => {\r\n const appState = getState();\r\n var currency: any = localStorage.getItem(\"currency\");\r\n localStorage.removeItem(\"SpecailityReasonId\");\r\n localStorage.removeItem(\"SpecailityReasonName\")\r\n if (appState && appState.paymentProcess) {\r\n axios.get('/payment/KarePay/' + route.doctorid + \"/\" + route.appointmentid + \"/\" + route.patientname + \"/\" + route.email + \"/\" + currency)\r\n .then(function (response) {\r\n const data = response.data;\r\n dispatch({ type: 'RECEIVE_PAYMENTDETAIL_SUCCESS', paymentdetail: data, isLoading: false, isPaymentProcessLoading: false });\r\n setTimeout(function () {\r\n var doc = document.forms\r\n if (doc != null) {\r\n localStorage.setItem(\"PaymentRetry\", window.location.href);\r\n doc[0].submit();\r\n }\r\n }, 5000);\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n })\r\n .then(function () {\r\n });\r\n dispatch({ type: 'REQUEST_PAYMENTDETAIL_SUCCESS', isLoading: true, isPaymentProcessLoading: true});\r\n }\r\n },\r\n requestPaymentlinkValidation: (route: any, memberid:any): AppThunkAction => (dispatch:any, getState:any) => {\r\n const appState = getState();\r\n if (appState && appState.paymentProcess) {\r\n var langcode: any = localStorage.getItem(\"DefaultLangCode\");\r\n axios.get('/payment/PaymentLinkStatus/' + route.appointmentid + '/' + memberid +'/'+ langcode)\r\n .then(function (response) {\r\n const message = response.data;\r\n \r\n if (message == \"Active\") {\r\n dispatch(actionCreators.requestValidPostPaymentProcess())\r\n } else if (message == \"Access denied, contact support.\") {\r\n window.location.href = \"/accessdenied\"\r\n }\r\n else {\r\n toastr.error('', message)\r\n setTimeout(function () {\r\n window.location.href = \"/dashboard\"\r\n }, 5000);\r\n }\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n })\r\n .then(function () {\r\n });\r\n }\r\n },\r\n requestValidPostPaymentProcess: (): AppThunkAction => (dispatch, getState) => {\r\n const appState = getState();\r\n var currency: any = localStorage.getItem(\"currency\");\r\n if (appState && appState.paymentProcess) {\r\n var array = window.location.pathname.split(\"/\");\r\n var doctorid = array[2];\r\n var appointmentid = array[3];\r\n var patientname = array[4];\r\n var email = array[5];\r\n axios.get('/payment/KarePay/' + doctorid + \"/\" + appointmentid + \"/\" + patientname + \"/\" + email + \"/\" + currency)\r\n .then(function (response) {\r\n const data = response.data;\r\n dispatch({ type: 'RECEIVE_PAYMENTDETAIL_SUCCESS', paymentdetail: data, isLoading: false, isPaymentProcessLoading: false});\r\n setTimeout(function () {\r\n var doc = document.forms\r\n if (doc != null) {\r\n doc[0].submit();\r\n }\r\n }, 5000);\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n })\r\n .then(function () {\r\n });\r\n dispatch({ type: 'REQUEST_PAYMENTDETAIL_SUCCESS', isLoading: true, isPaymentProcessLoading: true });\r\n }\r\n },\r\n requestInsurancePay: (): AppThunkAction => (dispatch: any, getState: any) => {\r\n const appState = getState();\r\n if (appState && appState.paymentProcess) {\r\n dispatch(actionCreators.requestScheduleUpdate());\r\n }\r\n },\r\n requestScheduleUpdate: (): AppThunkAction => (dispatch: any, getState: any) => {\r\n const appState = getState();\r\n if (appState && appState.paymentProcess) {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const appointmentid = urlParams.get('appointmentid');\r\n const methodid = urlParams.get('methodid');\r\n var autoapprovel: any = appState.account.Settings.filter((se: any) => se.name == \"Appointment Auto Approval\")[0];\r\n var autoproviderselect: any = appState.account.Settings.filter((se: any) => se.name == \"Auto Provider Selection in PickaProvider\")[0];\r\n var statusid: any = \"\";\r\n if (autoproviderselect.customizeValue == \"No\") {\r\n if (methodid == \"2\") {\r\n statusid = \"9\";\r\n } else if (methodid == \"3\") {\r\n statusid = \"9\";\r\n }\r\n else if (methodid == \"1\") {\r\n if (autoapprovel.customizeValue == \"Yes\") {\r\n statusid = \"1\";\r\n } else{\r\n statusid = \"9\";\r\n }\r\n }\r\n } else{\r\n if (autoapprovel.customizeValue == \"Yes\") {\r\n if (methodid == \"3\") {\r\n statusid = \"9\";\r\n }\r\n else if (methodid == \"2\") {\r\n statusid = \"1\";\r\n }\r\n else if (methodid == \"1\"){\r\n statusid = \"1\";\r\n }\r\n } else {\r\n statusid = \"9\";\r\n }\r\n if (autoapprovel.customizeValue == \"No\") {\r\n statusid = \"9\";\r\n }\r\n }\r\n var discountid: any = localStorage.getItem(\"DiscountId\");\r\n var discountamount: any = localStorage.getItem(\"DiscountAmount\");\r\n var data: any = {\r\n Id: appointmentid,\r\n StatusId: statusid,\r\n DiscountId: discountid,\r\n DiscountAmount: discountamount\r\n }\r\n axios.post('/appointment/ScheduleUpdate', data)\r\n .then(function (response) {\r\n dispatch({ type: 'RECEIVE_PAYMENTDETAIL_SUCCESS', isLoading: false });\r\n dispatch(push(\"/success/\" + appointmentid))\r\n })\r\n .catch(function (error) {\r\n dispatch({ type: 'RECEIVE_PAYMENTDETAIL_SUCCESS', isLoading: false });\r\n if (error.response && error.response.data) {\r\n var errorObject = JSON.parse(error.response.data.errorMessage);\r\n if (errorObject.Message == \"No Changes\") {\r\n dispatch(push(\"/success/\" + appointmentid))\r\n } else {\r\n dispatch(push(\"/failed/\" + appointmentid))\r\n }\r\n } else {\r\n console.log(error)\r\n dispatch(push(\"/failed/\" + appointmentid))\r\n }\r\n //var errorObject = JSON.parse(error.response.data.errorMessage);\r\n //if (errorObject.Message == \"No Changes\") {\r\n // dispatch(push(\"/success/\" + appointmentid))\r\n //} else {\r\n // dispatch(push(\"/failed/\" + appointmentid))\r\n //}\r\n })\r\n .then(function () {\r\n });\r\n dispatch({ type: 'REQUEST_PAYMENTDETAIL_SUCCESS', isLoading: true });\r\n }\r\n },\r\n requestScheduleUpdateFree: (appointmentid:any): AppThunkAction => (dispatch: any, getState: any) => {\r\n const appState = getState();\r\n if (appState && appState.paymentProcess) {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n var methodid = urlParams.get('methodid');\r\n if (methodid == \"5\") {\r\n methodid = \"3\";\r\n } else {\r\n methodid = methodid;\r\n }\r\n var autoapprovel: any = appState.account.Settings.filter((se: any) => se.name == \"Appointment Auto Approval\")[0];\r\n var autoproviderselect: any = appState.account.Settings.filter((se: any) => se.name == \"Auto Provider Selection in PickaProvider\")[0];\r\n var statusid: any = \"\";\r\n if (autoproviderselect.customizeValue == \"No\") {\r\n if (methodid == \"2\") {\r\n statusid = \"9\"\r\n } else if (methodid == \"3\") {\r\n statusid = \"9\"\r\n }\r\n else if (methodid == \"1\") {\r\n if (autoapprovel.customizeValue == \"Yes\") {\r\n statusid = \"1\";\r\n } else {\r\n statusid = \"9\";\r\n }\r\n }\r\n } else {\r\n if (autoapprovel.customizeValue == \"Yes\") {\r\n if (methodid == \"3\") {\r\n statusid = \"9\";\r\n }\r\n else if (methodid == \"2\") {\r\n statusid = \"1\";\r\n }\r\n else if (methodid == \"1\") {\r\n statusid = \"1\";\r\n }\r\n } else {\r\n statusid = \"9\"\r\n }\r\n }\r\n var discountid: any = localStorage.getItem(\"DiscountId\");\r\n var discountamount: any = localStorage.getItem(\"DiscountAmount\");\r\n var data: any = {\r\n Id: appointmentid,\r\n StatusId: statusid,\r\n DiscountId: discountid,\r\n DiscountAmount: discountamount\r\n }\r\n axios.post('/appointment/ScheduleUpdate', data)\r\n .then(function (response) {\r\n dispatch({ type: 'RECEIVE_PAYMENTDETAIL_SUCCESS', isLoading: false, isPaymentProcessLoading: false });\r\n dispatch(push(\"/success/\" + appointmentid))\r\n })\r\n .catch(function (error) {\r\n dispatch({ type: 'RECEIVE_PAYMENTDETAIL_SUCCESS', isLoading: false, isPaymentProcessLoading: false });\r\n //var errorObject = JSON.parse(error.response.data.errorMessage);\r\n //if (error.response && error.response.data) {\r\n var errorObject = JSON.parse(error.response.data.errorMessage);\r\n if (errorObject.Message == \"No Changes\") {\r\n dispatch(push(\"/success/\" + appointmentid))\r\n } \r\n // else {\r\n // dispatch(push(\"/failed/\" + appointmentid))\r\n // }\r\n //} \r\n else {\r\n console.log(error)\r\n errorHandling(error.response.data.statusCode);\r\n }\r\n })\r\n .then(function () {\r\n });\r\n dispatch({ type: 'REQUEST_PAYMENTDETAIL_SUCCESS', isLoading: true, isPaymentProcessLoading:true });\r\n }\r\n }\r\n}; \r\n\r\n\r\nconst UnloadedState: PaymentProcessState = {\r\n paymentdetail: {\r\n Amount: \"\",\r\n CancelUrl: \"\",\r\n ClientId: \"\",\r\n Currency: \"\",\r\n CustomerAddress: \"\",\r\n CustomerName: \"\",\r\n Email: \"\",\r\n OrderID: \"\",\r\n Phone: \"\",\r\n RedirectUrl: \"\",\r\n ReturnUrl: \"\",\r\n CurrencyDisplayFormat:\"\"\r\n }, isLoading: false, isPaymentProcessLoading: false\r\n};\r\n\r\n\r\nexport const reducer: Reducer = (state: PaymentProcessState | undefined, incomingAction: Action): PaymentProcessState => {\r\n if (state === undefined) {\r\n return UnloadedState;\r\n }\r\n\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_PAYMENTDETAIL_SUCCESS':\r\n return {\r\n paymentdetail: state.paymentdetail,\r\n isLoading: true,\r\n isPaymentProcessLoading: true,\r\n };\r\n case 'RECEIVE_PAYMENTDETAIL_SUCCESS':\r\n return {\r\n paymentdetail: action.paymentdetail,\r\n isLoading: false,\r\n isPaymentProcessLoading:false\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\n","import axios from 'axios';\r\nimport { push } from 'connected-react-router';\r\nimport { Action, Reducer } from 'redux';\r\nimport { reset } from 'redux-form';\r\nimport { AppThunkAction } from '../';\r\nimport { errorHandling } from '../../helper/ErrorHandling';\r\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\r\nimport Moment from 'moment';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport { actionCreators as _paymentProcess } from '../payment/PaymentProcess';\r\n// -----------------\r\n// STATE - This defines the type of data maintained in the Redux store.\r\n\r\nexport interface ConditionState {\r\n isreasonLoading: boolean;\r\n isconditionLoading: boolean;\r\n appointment: Appointment;\r\n encounterTypes: EncounterType[];\r\n reasons: CalendarEvent[];\r\n discount: Discount;\r\n}\r\nexport interface CalendarEvent {\r\n id: string;\r\n colorCode: string;\r\n name: string;\r\n}\r\nexport interface ScheduleDetail {\r\n RecordId: string;\r\n RecordType: string;\r\n}\r\n\r\nexport interface EncounterType {\r\n id: string;\r\n name: string;\r\n description: string;\r\n icon: string;\r\n parentIcon: string;\r\n encounterTypeModeId: string;\r\n accountId: string;\r\n}\r\nexport interface Discount {\r\n value: string;\r\n}\r\n\r\nexport interface Patient {\r\n Id: string;\r\n}\r\n\r\nexport interface Appointment {\r\n ID: string;\r\n FacilityId: null;\r\n AppointmentTypeId: string;\r\n AppointmentOn: Date;\r\n Time: string;\r\n Note: string;\r\n Title: string;\r\n Duration: number;\r\n FromUserId: string;\r\n StatusId: number;\r\n AccountId: string\r\n ScheduleDetails: ScheduleDetail[]\r\n Patient: Patient\r\n}\r\n\r\n\r\n// -----------------\r\n// ACTIONS - These are serializable (hence replayable) descriptions of state transitions.\r\n// They do not themselves have any side-effects; they just describe something that is going to happen.\r\n// Use @typeName and isActionType for type detection that works even after serialization/deserialization.\r\nexport interface RequestContactAction { type: 'REQUEST_APPOINTMENT', appointment: Appointment, encounterTypes: EncounterType[], reasons: CalendarEvent[], discount: Discount }\r\nexport interface ReciveContactAction { type: 'RECEIVE_APPOINTMENT', appointment: Appointment, encounterTypes: EncounterType[], reasons: CalendarEvent[], discount: Discount }\r\nexport interface RequestReasonAction { type: 'REQUEST_REASON', appointment: Appointment, encounterTypes: EncounterType[], reasons: CalendarEvent[], discount: Discount }\r\nexport interface ReciveReasonAction { type: 'RECEIVE_REASON', appointment: Appointment, encounterTypes: EncounterType[], reasons: CalendarEvent[], discount: Discount }\r\nexport interface RequestDiscountAction { type: 'REQUEST_DISCOUNT', appointment: Appointment, encounterTypes: EncounterType[], reasons: CalendarEvent[], discount: Discount }\r\nexport interface ReciveDiscountAction { type: 'RECEIVE_DISCOUNT', appointment: Appointment, encounterTypes: EncounterType[], reasons: CalendarEvent[], discount: Discount }\r\n\r\n// Declare a 'discriminated union' type. This guarantees that all references to 'type' properties contain one of the\r\n// declared type strings (and not any other arbitrary string).\r\nexport type KnownAction = RequestContactAction | ReciveContactAction | RequestReasonAction | ReciveReasonAction | RequestDiscountAction | ReciveDiscountAction;\r\n// ----------------\r\n// ACTION CREATORS - These are functions exposed to UI components that will trigger a state transition.\r\n// They don't directly mutate state, but they can have external side-effects (such as loading data).\r\n\r\nexport const actionCreators = {\r\n requestSaveAppointment: (formvalue: any, patient: any, doctor: any, status1: any, accountid: any, modulename: any, moduleid: any, noappserviceid: any, noenctypeid: any, _price: any): AppThunkAction => (dispatch: any, getState) => {\r\n\r\n const appState: any = getState();\r\n const urlParams: any = new URLSearchParams(window.location.search);\r\n const type = urlParams.get('type');\r\n var noappointment = appState.account.Settings.filter((se: any) => se.name == \"Request Queue\")[0];\r\n var langdata: any;\r\n var AppointmentReasonFieldVisibility: any = appState.account.Settings.filter((se: any) => se.name == \"Appointment Reason Field Visibility\")[0];\r\n if (appState && appState.condition) {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const childid = urlParams.get('childid');\r\n const childname = urlParams.get('childname');\r\n const serviceid = urlParams.get('serviceid');\r\n const search = window.location.search;\r\n const params = new URLSearchParams(search);\r\n dispatch(showLoading('sectionBar'));\r\n var date = params.get('date');\r\n var time = params.get('time');\r\n var date1: any = params.get('date1');\r\n var time1 = params.get('time1');\r\n var referrralid = params.get('referrralid');\r\n var enctypeid = params.get('enctypeid');\r\n var methodid = params.get('methodid'); //3\r\n var price = params.get('price');\r\n var SpecialityReasons: any = \"\";\r\n var enctypemode: any = params.get('encountertypemode')\r\n var status= params.get('status');\r\n var childpatientid: any = localStorage.getItem(\"childpatientid\");\r\n if (status == 'followup') {\r\n localStorage.setItem(\"enctypemode\", enctypemode);\r\n }\r\n if (localStorage.getItem(\"SpecailityReasonId\") != null)\r\n SpecialityReasons = JSON.parse(localStorage.getItem(\"SpecailityReasonId\") || \"\");\r\n else\r\n SpecialityReasons = null;\r\n\r\n var specialityid = localStorage.getItem(\"SpecialityId\") != null ? localStorage.getItem(\"SpecialityId\") : params.get('specialityid');\r\n var parentid = params.get('followup') == \"null\" ? \"\" : params.get('followup');\r\n if (date != null) {\r\n if (window.location.hostname == \"localhosts\") {\r\n if ((noappointment.customizeValue == \"Yes\") && (type == \"noappointment\")) {\r\n var appointmenton = Moment.utc(new Date()).format('YYYY/MM/DD'); //Current datetime\r\n formvalue.AppointmentOn = Moment.utc(toDate(appointmenton + \" \" + formatAMPM(new Date()))).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n } else {\r\n formvalue.AppointmentOn = Moment(localStorage.getItem(\"AppointmentUTCTime\")).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n if (localStorage.getItem(\"AppointmentUTCTime1\"))\r\n formvalue.SecondaryAppointmentOn = Moment(localStorage.getItem(\"AppointmentUTCTime1\")).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n\r\n //var appointmenton = Moment.utc(new Date(date)).format('YYYY/MM/DD'); //Current datetime \r\n\r\n //var totalMinuteOffset: any = 0;\r\n //if (formvalue.Offset == \"\") {\r\n // var timezone = appState.account.Settings.filter((se: any) => se.name == \"Time Zone\")[0]\r\n // var _timezone = timezone.displayCode.split(\"|\");\r\n // totalMinuteOffset = _timezone[1];\r\n // var d = new Date(appointmenton + \" \" + time);\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(totalMinuteOffset)), 0, 0);\r\n // formvalue.AppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // if (date1 != null && date1 != \"null\" && time1 != null && time1 != \"null\") {\r\n // var appointmenton1 = Moment.utc(new Date(date1)).format('YYYY/MM/DD'); //Current datetime \r\n // var d = new Date(appointmenton1 + \" \" + time1);\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(totalMinuteOffset)), 0, 0);\r\n // formvalue.SecondaryAppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // }\r\n //} else {\r\n // var tzOffset: any = formvalue.Offset;\r\n // var [hourOffset, minuteOffset] = tzOffset.split(':').map(Number);\r\n // var totalMinuteOffset: any = hourOffset * 60 + minuteOffset;\r\n // var d = new Date(appointmenton + \" \" + time);\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(totalMinuteOffset)), 0, 0);\r\n // formvalue.AppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // if (date1 != null && date1 != \"null\" && time1 != null && time1 != \"null\") {\r\n // var appointmenton1 = Moment.utc(new Date(date1)).format('YYYY/MM/DD'); //Current datetime \r\n // var d = new Date(appointmenton1 + \" \" + time1);\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(totalMinuteOffset)), 0, 0);\r\n // formvalue.SecondaryAppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // }\r\n //}\r\n }\r\n } else {\r\n if ((noappointment.customizeValue == \"Yes\") && (type == \"noappointment\")) {\r\n var appointmenton = Moment(new Date()).format('YYYY/MM/DD');\r\n var datetime: any = toDate(appointmenton + \" \" + formatAMPM(new Date()));\r\n var appointmenttime = DisplayCurrentTime(datetime);\r\n appointmenton = Moment(new Date()).format('YYYY-MM-DD');\r\n var _date = new Date(appointmenton + \"T\" + appointmenttime);\r\n formvalue.AppointmentOn = Moment.utc(_date).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n } else {\r\n formvalue.AppointmentOn = Moment(localStorage.getItem(\"AppointmentUTCTime\")).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n if (localStorage.getItem(\"AppointmentUTCTime1\"))\r\n formvalue.SecondaryAppointmentOn = Moment(localStorage.getItem(\"AppointmentUTCTime1\")).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n //var totalMinuteOffset: any = 0;\r\n //if (formvalue.Offset == \"\") {\r\n // var timezone = appState.account.Settings.filter((se: any) => se.name == \"Time Zone\")[0]\r\n // var _timezone = timezone.displayCode.split(\"|\");\r\n // var offset = _timezone[1];\r\n // var appointmenton = Moment.utc(new Date(date)).format('YYYY/MM/DD');\r\n // var datetime: any = toDate(appointmenton + \" \" + time);\r\n // var d = new Date(appointmenton + \" \" + time); // get current date\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(offset)), 0, 0);\r\n // formvalue.AppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // if (date1 != null && date1 != \"null\" && time1 != null && time1 != \"null\") {\r\n // var appointmenton1 = Moment.utc(new Date(date1)).format('YYYY/MM/DD');\r\n // var datetime1: any = toDate(appointmenton1 + \" \" + time1);\r\n // var d = new Date(appointmenton1 + \" \" + time1); // get current date\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(offset)), 0, 0);\r\n // formvalue.SecondaryAppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // }\r\n //} else {\r\n // var tzOffset: any = formvalue.Offset;\r\n // var [hourOffset, minuteOffset] = tzOffset.split(':').map(Number);\r\n // var totalMinuteOffset: any = hourOffset * 60 + minuteOffset;\r\n // var appointmenton = Moment.utc(new Date(date)).format('YYYY/MM/DD');\r\n // var datetime: any = toDate(appointmenton + \" \" + time);\r\n // var d = new Date(appointmenton + \" \" + time); // get current date \r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(totalMinuteOffset)), 0, 0);\r\n // formvalue.AppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // if (date1 != null && date1 != \"null\" && time1 != null && time1 != \"null\") {\r\n // var appointmenton1 = Moment.utc(new Date(date1)).format('YYYY/MM/DD');\r\n // var datetime1: any = toDate(appointmenton1 + \" \" + time1);\r\n // var d = new Date(appointmenton1 + \" \" + time1); // get current date\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(totalMinuteOffset)), 0, 0);\r\n // formvalue.SecondaryAppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n // }\r\n //}\r\n }\r\n\r\n }\r\n }\r\n localStorage.setItem(\"doctorid\", doctor.doctorid);\r\n if (childid == \"null\" || childid == null) {\r\n formvalue.UserId = patient.userId;\r\n }\r\n else {\r\n formvalue.UserId = childid;\r\n }\r\n \r\n if (childid == \"null\" || childid == null) {\r\n formvalue.PatientId = patient.id;\r\n } else if (childpatientid ==\"00000000-0000-0000-0000-000000000000\") {\r\n formvalue.PatientId = null;\r\n } else {\r\n \r\n formvalue.PatientId = childpatientid;\r\n }\r\n\r\n //if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n // langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n //if (AppointmentReasonFieldVisibility.customizeValue == \"Yes\") {\r\n // formvalue.Reason = formvalue.Reason;\r\n //}\r\n //else {\r\n // formvalue.Reason = langdata['consultantwilldecide']\r\n //}\r\n formvalue.Reason = formvalue.Reason;\r\n formvalue.Note = formvalue.Note;\r\n formvalue.IsCustomFormFlow = status;\r\n\r\n formvalue.Reasons = SpecialityReasons;\r\n //console.log(status,)\r\n if (referrralid != \"null\")\r\n formvalue.ReferredParentId = referrralid;\r\n else\r\n formvalue.ReferredParentId = \"\";\r\n formvalue.EncounterTypeId = localStorage.getItem(\"ServiceEncounterTypeId\");\r\n formvalue.AccountId = accountid;\r\n formvalue.PayConceptId = \"2\";\r\n formvalue.ParentId = parentid;\r\n formvalue.SpecialityId = specialityid;\r\n if ((noappointment.customizeValue == \"Yes\") && (type == \"noappointment\")) {\r\n formvalue.ProviderId = \"\";\r\n formvalue.MethodId = \"3\";\r\n formvalue.ServiceId = noappserviceid;\r\n formvalue.EncounterTypeModeDurationId = noenctypeid;\r\n formvalue.Amount = _price.toString();\r\n } else {\r\n formvalue.ProviderId = doctor.doctorid;\r\n formvalue.MethodId = methodid;\r\n formvalue.ServiceId = serviceid;\r\n formvalue.EncounterTypeModeDurationId = enctypeid;\r\n formvalue.Amount = _price == null ? price : _price.toString();\r\n }\r\n localStorage.setItem(\"Appointment\", JSON.stringify(formvalue));\r\n axios.post('appointment', formvalue)\r\n .then(response => {\r\n dispatch(hideLoading('sectionBar'))\r\n var result = response.data;\r\n dispatch({ type: 'RECEIVE_APPOINTMENT', appointment: result, isconditionLoading: false });\r\n dispatch(reset(\"conditionForm\"));\r\n localStorage.setItem(\"childpatientid\", result.patientId);\r\n localStorage.setItem(\"AppointmentId\", result.id);\r\n localStorage.setItem(\"paidAmount\", formvalue.Amount);\r\n var paidamount: any = formvalue.Amount;\r\n if (status1 == \"Yes\") {\r\n\r\n var newArray: any = \"\";\r\n if (appState != undefined) {\r\n newArray = appState.account.Settings.filter(function (el: any) {\r\n return (el.name == \"Intake Forms\");\r\n });\r\n }\r\n if (result.customFormModel) {\r\n if (result.customFormModel.length != 0) {\r\n var module = result.customFormModel[0].moduleName;\r\n var moduleids = result.customFormModel[0].id;\r\n const childid = urlParams.get('childid');\r\n const childname = urlParams.get('childname');\r\n return dispatch(push(\"/specialityquestion/\" + doctor.doctorid + \"/\" + module + \"/\" + result.id + \"/\" + patient.firstName + \" \" + patient.lastName + \"/\" + patient.email + \"/\" + moduleids + \"?methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname));\r\n }\r\n else if (newArray[0].name == \"Intake Forms\" && newArray[0].customizeValue == \"Yes\") {\r\n const childid = urlParams.get('childid');\r\n const childname = urlParams.get('childname');\r\n return dispatch(push(\"/questionnaire/\" + doctor.doctorid + \"/\" + modulename + \"/\" + result.id + \"/\" + patient.firstName + \" \" + patient.lastName + \"/\" + patient.email + \"/\" + moduleid + \"?methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname));\r\n }\r\n else {\r\n if ((paidamount == \"0\") || (paidamount == \"0.00\") || (paidamount == null)) {\r\n var eprescription: any = appState.account.Settings.filter((se: any) => se.name == \"E-Prescription Provider\")[0];\r\n if (eprescription.customizeValue == \"DoseSpot\" || eprescription.customizeValue == \"Both\") {\r\n dispatch(push(\"/pharmacylist?types=appointment&memberid=\" + patient.memberId + \"&appointmentid=\" + result.id + \"&doctorid=\" + doctor.doctorid + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else {\r\n dispatch(_paymentProcess.requestScheduleUpdateFree(result.id))\r\n }\r\n }\r\n else {\r\n var eprescription: any = appState.account.Settings.filter((se: any) => se.name == \"E-Prescription Provider\")[0];\r\n if (eprescription.customizeValue == \"DoseSpot\" || eprescription.customizeValue == \"Both\") {\r\n dispatch(push(\"/pharmacylist?types=appointment&memberid=\" + patient.memberId + \"&appointmentid=\" + result.id + \"&doctorid=\" + doctor.doctorid + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else {\r\n var online: any = appState.account.Settings.filter((se: any) => se.name == \"Self-pay (Online)\")[0];\r\n var inperson: any = appState.account.Settings.filter((se: any) => se.name == \"Self-pay (Inperson)\")[0];\r\n var insurance: any = appState.account.Settings.filter((se: any) => se.name == \"Insurance\")[0];\r\n\r\n if ((online.customizeValue == \"Yes\") && (inperson.customizeValue == \"Yes\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/paymethod?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"No\") && (inperson.customizeValue == \"Yes\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/paymethod?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"No\") && (inperson.customizeValue == \"No\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/insurancelist?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"Yes\") && (inperson.customizeValue == \"No\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/paymethod?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"No\") && (inperson.customizeValue == \"Yes\") && (insurance.customizeValue == \"No\")) {\r\n dispatch(_paymentProcess.requestScheduleUpdate())\r\n } else if ((online.customizeValue == \"Yes\") && (inperson.customizeValue == \"No\") && (insurance.customizeValue == \"No\")) {\r\n dispatch(push(\"/paymentprocess/\" + doctor.doctorid + \"/\" + result.id + \"/\" + patient.firstName + \" \" + patient.lastName + \"/\" + patient.email));\r\n } else {\r\n dispatch(push(\"/paymentprocess/\" + doctor.doctorid + \"/\" + result.id + \"/\" + patient.firstName + \" \" + patient.lastName + \"/\" + patient.email));\r\n }\r\n }\r\n\r\n }\r\n }\r\n }\r\n else if (newArray[0].name == \"Intake Forms\" && newArray[0].customizeValue == \"Yes\") {\r\n const childid = urlParams.get('childid');\r\n const childname = urlParams.get('childname');\r\n return dispatch(push(\"/questionnaire/\" + doctor.doctorid + \"/\" + modulename + \"/\" + result.id + \"/\" + patient.firstName + \" \" + patient.lastName + \"/\" + patient.email + \"/\" + moduleid + \"?methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname));\r\n }\r\n else {\r\n if ((paidamount == \"0\") || (paidamount == \"0.00\") || (paidamount == null)) {\r\n var eprescription: any = appState.account.Settings.filter((se: any) => se.name == \"E-Prescription Provider\")[0];\r\n if (eprescription.customizeValue == \"DoseSpot\" || eprescription.customizeValue == \"Both\") {\r\n dispatch(push(\"/pharmacylist?types=appointment&memberid=\" + patient.memberId + \"&appointmentid=\" + result.id + \"&doctorid=\" + doctor.doctorid + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else {\r\n dispatch(_paymentProcess.requestScheduleUpdateFree(result.id))\r\n }\r\n }\r\n else {\r\n var eprescription: any = appState.account.Settings.filter((se: any) => se.name == \"E-Prescription Provider\")[0];\r\n if (eprescription.customizeValue == \"DoseSpot\" || eprescription.customizeValue == \"Both\") {\r\n dispatch(push(\"/pharmacylist?types=appointment&memberid=\" + patient.memberId + \"&appointmentid=\" + result.id + \"&doctorid=\" + doctor.doctorid + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else {\r\n var online: any = appState.account.Settings.filter((se: any) => se.name == \"Self-pay (Online)\")[0];\r\n var inperson: any = appState.account.Settings.filter((se: any) => se.name == \"Self-pay (Inperson)\")[0];\r\n var insurance: any = appState.account.Settings.filter((se: any) => se.name == \"Insurance\")[0];\r\n\r\n if ((online.customizeValue == \"Yes\") && (inperson.customizeValue == \"Yes\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/paymethod?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"No\") && (inperson.customizeValue == \"Yes\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/paymethod?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"No\") && (inperson.customizeValue == \"No\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/insurancelist?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"Yes\") && (inperson.customizeValue == \"No\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/paymethod?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"No\") && (inperson.customizeValue == \"Yes\") && (insurance.customizeValue == \"No\")) {\r\n dispatch(_paymentProcess.requestScheduleUpdate())\r\n } else if ((online.customizeValue == \"Yes\") && (inperson.customizeValue == \"No\") && (insurance.customizeValue == \"No\")) {\r\n dispatch(push(\"/paymentprocess/\" + doctor.doctorid + \"/\" + result.id + \"/\" + patient.firstName + \" \" + patient.lastName + \"/\" + patient.email));\r\n } else {\r\n dispatch(push(\"/paymentprocess/\" + doctor.doctorid + \"/\" + result.id + \"/\" + patient.firstName + \" \" + patient.lastName + \"/\" + patient.email));\r\n }\r\n }\r\n\r\n }\r\n }\r\n }\r\n else {\r\n if (result.customFormModel) {\r\n if (result.customFormModel.length != 0) {\r\n var module = result.customFormModel[0].moduleName;\r\n var moduleids = result.customFormModel[0].id;\r\n const childid = urlParams.get('childid');\r\n const childname = urlParams.get('childname');\r\n return dispatch(push(\"/specialityquestion/\" + doctor.doctorid + \"/\" + module + \"/\" + result.id + \"/\" + patient.firstName + \" \" + patient.lastName + \"/\" + patient.email + \"/\" + moduleids + \"?methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname));\r\n }\r\n else if ((paidamount == \"0\") || (paidamount == \"0.00\") || (paidamount == null)) {\r\n var eprescription: any = appState.account.Settings.filter((se: any) => se.name == \"E-Prescription Provider\")[0];\r\n if (eprescription.customizeValue == \"DoseSpot\" || eprescription.customizeValue == \"Both\") {\r\n dispatch(push(\"/pharmacylist?types=appointment&memberid=\" + patient.memberId + \"&appointmentid=\" + result.id + \"&doctorid=\" + doctor.doctorid + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else {\r\n dispatch(_paymentProcess.requestScheduleUpdateFree(result.id))\r\n }\r\n }\r\n else {\r\n var eprescription: any = appState.account.Settings.filter((se: any) => se.name == \"E-Prescription Provider\")[0];\r\n if (eprescription.customizeValue == \"DoseSpot\" || eprescription.customizeValue == \"Both\") {\r\n dispatch(push(\"/pharmacylist?types=appointment&memberid=\" + patient.memberId + \"&appointmentid=\" + result.id + \"&doctorid=\" + doctor.doctorid + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else {\r\n var online: any = appState.account.Settings.filter((se: any) => se.name == \"Self-pay (Online)\")[0];\r\n var inperson: any = appState.account.Settings.filter((se: any) => se.name == \"Self-pay (Inperson)\")[0];\r\n var insurance: any = appState.account.Settings.filter((se: any) => se.name == \"Insurance\")[0];\r\n\r\n if ((online.customizeValue == \"Yes\") && (inperson.customizeValue == \"Yes\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/paymethod?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"No\") && (inperson.customizeValue == \"Yes\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/paymethod?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"No\") && (inperson.customizeValue == \"No\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/insurancelist?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"Yes\") && (inperson.customizeValue == \"No\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/paymethod?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"No\") && (inperson.customizeValue == \"Yes\") && (insurance.customizeValue == \"No\")) {\r\n dispatch(_paymentProcess.requestScheduleUpdate())\r\n } else if ((online.customizeValue == \"Yes\") && (inperson.customizeValue == \"No\") && (insurance.customizeValue == \"No\")) {\r\n dispatch(push(\"/paymentprocess/\" + doctor.doctorid + \"/\" + result.id + \"/\" + patient.firstName + \" \" + patient.lastName + \"/\" + patient.email));\r\n } else {\r\n dispatch(push(\"/paymentprocess/\" + doctor.doctorid + \"/\" + result.id + \"/\" + patient.firstName + \" \" + patient.lastName + \"/\" + patient.email));\r\n }\r\n }\r\n }\r\n }\r\n else if ((paidamount == \"0\") || (paidamount == \"0.00\") || (paidamount == null)) {\r\n var eprescription: any = appState.account.Settings.filter((se: any) => se.name == \"E-Prescription Provider\")[0];\r\n if (eprescription.customizeValue == \"DoseSpot\" || eprescription.customizeValue == \"Both\") {\r\n dispatch(push(\"/pharmacylist?types=appointment&memberid=\" + patient.memberId + \"&appointmentid=\" + result.id + \"&doctorid=\" + doctor.doctorid + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else {\r\n dispatch(_paymentProcess.requestScheduleUpdateFree(result.id))\r\n }\r\n }\r\n else {\r\n var eprescription: any = appState.account.Settings.filter((se: any) => se.name == \"E-Prescription Provider\")[0];\r\n if (eprescription.customizeValue == \"DoseSpot\" || eprescription.customizeValue == \"Both\") {\r\n dispatch(push(\"/pharmacylist?types=appointment&memberid=\" + patient.memberId + \"&appointmentid=\" + result.id + \"&doctorid=\" + doctor.doctorid + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else {\r\n var online: any = appState.account.Settings.filter((se: any) => se.name == \"Self-pay (Online)\")[0];\r\n var inperson: any = appState.account.Settings.filter((se: any) => se.name == \"Self-pay (Inperson)\")[0];\r\n var insurance: any = appState.account.Settings.filter((se: any) => se.name == \"Insurance\")[0];\r\n\r\n if ((online.customizeValue == \"Yes\") && (inperson.customizeValue == \"Yes\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/paymethod?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"No\") && (inperson.customizeValue == \"Yes\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/paymethod?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"No\") && (inperson.customizeValue == \"No\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/insurancelist?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"Yes\") && (inperson.customizeValue == \"No\") && (insurance.customizeValue == \"Yes\")) {\r\n dispatch(push(\"/paymethod?doctorid=\" + doctor.doctorid + \"&appointmentid=\" + result.id + \"&name=\" + patient.firstName + \" \" + patient.lastName + \"&email=\" + patient.email + \"&methodid=\" + formvalue.MethodId + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if ((online.customizeValue == \"No\") && (inperson.customizeValue == \"Yes\") && (insurance.customizeValue == \"No\")) {\r\n dispatch(_paymentProcess.requestScheduleUpdate())\r\n } else if ((online.customizeValue == \"Yes\") && (inperson.customizeValue == \"No\") && (insurance.customizeValue == \"No\")) {\r\n dispatch(push(\"/paymentprocess/\" + doctor.doctorid + \"/\" + result.id + \"/\" + patient.firstName + \" \" + patient.lastName + \"/\" + patient.email));\r\n } else {\r\n dispatch(push(\"/paymentprocess/\" + doctor.doctorid + \"/\" + result.id + \"/\" + patient.firstName + \" \" + patient.lastName + \"/\" + patient.email));\r\n }\r\n }\r\n }\r\n }\r\n })\r\n .catch(error => {\r\n\r\n if (error.response.data.statusCode == 400) {\r\n var errorObject = JSON.parse(error.response.data.errorMessage);\r\n if (errorObject.ModelState != undefined) {\r\n toastr.error('', errorObject.ModelState[\"\"][0]);\r\n }\r\n else if (errorObject.Message == \"Appointments cannot be scheduled for past dates and time\") {\r\n var langdata: any;\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n\r\n dispatch({ type: 'RECEIVE_APPOINTMENT', isconditionLoading: false });\r\n return toastr.error('', langdata['pastappointment']);\r\n\r\n }\r\n else if (errorObject.Message == \"Already exists.\") {\r\n var langdata: any;\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n\r\n dispatch({ type: 'RECEIVE_APPOINTMENT', isconditionLoading: false });\r\n return toastr.error('', langdata['alreadyexists'])\r\n\r\n }\r\n else if (errorObject.Message == \"Referral Appointment already created.\") {\r\n var langdata: any;\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n dispatch({ type: 'RECEIVE_APPOINTMENT', isconditionLoading: false });\r\n return toastr.error('', langdata['referalappointmentalreadycreated'])\r\n\r\n }\r\n else {\r\n toastr.error('', errorObject.Message);\r\n\r\n }\r\n\r\n } else {\r\n errorHandling(error.response.data.statusCode);\r\n }\r\n dispatch({ type: 'RECEIVE_APPOINTMENT', isconditionLoading: false });\r\n dispatch({ ...hideLoading('sectionBar') });\r\n\r\n\r\n });\r\n }\r\n dispatch({ type: 'REQUEST_APPOINTMENT', isconditionLoading: false });\r\n },\r\n requestEncounterType: (): AppThunkAction => (dispatch: any, getState) => {\r\n axios.get('/appointment/encountertype', { headers: { Authorization: \"BasicAuth\" } })\r\n .then(function (response) {\r\n const result = response.data;\r\n dispatch({ type: 'RECEIVE_APPOINTMENT', encounterTypes: result });\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n dispatch({ type: 'REQUEST_APPOINTMENT', isconditionLoading: false });\r\n },\r\n requestCalendarEvent: (keyword: any): AppThunkAction => (dispatch: any, getState) => {\r\n axios.get('/autocomplete/searchreason?keyword=' + keyword)\r\n .then(function (response) {\r\n const result = response.data;\r\n dispatch({ type: 'RECEIVE_REASON', reasons: result, isreasonLoading: false });\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n dispatch({ type: 'REQUEST_REASON', isreasonLoading: true });\r\n },\r\n requestDiscountCode: (code: any): AppThunkAction => (dispatch: any, getState) => {\r\n var langdata: any = \"\";\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const childid = urlParams.get('childid');\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n const patientLocalStroage: any = localStorage.getItem('Patient');\r\n const patient = JSON.parse(patientLocalStroage);\r\n var memberid = childid == null ? patient.memberId : childid;\r\n\r\n var accountid: any = localStorage.getItem(\"AccountId\");\r\n axios.get('/Appointment/GetDiscountCode/' + code + \"/\" + memberid + \"/\" + accountid)\r\n .then(function (response) {\r\n const result = response.data;\r\n var discountamount: any = \"\";\r\n if (result.Id) {\r\n if (result.Type.toLowerCase() == \"percentage\") {\r\n var percentage: any = result.Value;\r\n var paidamount: any = localStorage.getItem(\"Amount\");\r\n var total: any = (paidamount * percentage) / 100;\r\n var totalamount: any = paidamount - total;\r\n discountamount = parseFloat(totalamount).toFixed(2);\r\n localStorage.setItem(\"DiscountAmount\", parseFloat(total).toFixed(2));\r\n }\r\n else {\r\n var percentage: any = result.Value;\r\n var paidamount: any = localStorage.getItem(\"Amount\");\r\n var totalamount: any = (paidamount - percentage);\r\n discountamount = parseFloat(totalamount).toFixed(2);\r\n localStorage.setItem(\"DiscountAmount\", parseFloat(result.Value).toFixed(2));\r\n } \r\n localStorage.setItem(\"DiscountId\", result.Id);\r\n localStorage.setItem(\"TotalAmount\", discountamount);\r\n localStorage.setItem(\"Discount\", discountamount);\r\n \r\n dispatch({ type: 'RECEIVE_DISCOUNT', discount: \"\" });\r\n setTimeout(() => {\r\n dispatch({ type: 'RECEIVE_DISCOUNT', discount: discountamount});\r\n }, 1000)\r\n }\r\n else {\r\n var element: any = document.getElementsByName('Discount')[0] as HTMLElement;\r\n element.value = \"\";\r\n localStorage.removeItem(\"Discount\");\r\n localStorage.removeItem(\"DiscountId\");\r\n localStorage.removeItem(\"DiscountAmount\");\r\n localStorage.removeItem(\"TotalAmount\");\r\n return toastr.error('', langdata['invalidcode']);\r\n }\r\n\r\n\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n dispatch({ type: 'REQUEST_DISCOUNT' });\r\n },\r\n validateSerivceId: (message: any): AppThunkAction => (dispatch: any, getState) => {\r\n toastr.error('', message)\r\n }\r\n};\r\n\r\n// ----------------\r\n// REDUCER - For a given state and action, returns the new state. To support time travel, this must not mutate the old state.\r\n\r\nconst unloadedState: ConditionState = {\r\n appointment: {\r\n ID: \"\",\r\n FacilityId: null,\r\n AppointmentTypeId: \"\",\r\n AppointmentOn: new Date(),\r\n Time: \"\",\r\n Note: \"\",\r\n Duration: 15,\r\n Title: \"\",\r\n FromUserId: \"\",\r\n StatusId: 1,\r\n AccountId: \"\",\r\n ScheduleDetails: [{ RecordId: \"\", RecordType: \"\" }],\r\n Patient: { Id: \"\" },\r\n },\r\n encounterTypes: [],\r\n reasons: [],\r\n discount: {\r\n value: \"\",\r\n\r\n },\r\n isreasonLoading: false,\r\n isconditionLoading: false,\r\n};\r\nexport const reducer: Reducer = (state: ConditionState | undefined, incomingAction: Action): ConditionState => {\r\n if (state === undefined) {\r\n return unloadedState;\r\n }\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_APPOINTMENT':\r\n return {\r\n appointment: state.appointment,\r\n encounterTypes: state.encounterTypes,\r\n reasons: state.reasons,\r\n discount: state.discount,\r\n isconditionLoading: true,\r\n isreasonLoading: false,\r\n\r\n };\r\n case 'RECEIVE_APPOINTMENT':\r\n return {\r\n appointment: action.appointment,\r\n encounterTypes: action.encounterTypes,\r\n reasons: state.reasons,\r\n discount: state.discount,\r\n isreasonLoading: false,\r\n isconditionLoading: false,\r\n };\r\n case 'REQUEST_REASON':\r\n return {\r\n appointment: state.appointment,\r\n encounterTypes: state.encounterTypes,\r\n reasons: state.reasons,\r\n discount: state.discount,\r\n isconditionLoading: false,\r\n isreasonLoading: true,\r\n\r\n };\r\n case 'RECEIVE_REASON':\r\n return {\r\n appointment: state.appointment,\r\n encounterTypes: state.encounterTypes,\r\n reasons: action.reasons,\r\n discount: state.discount,\r\n isconditionLoading: false,\r\n isreasonLoading: false,\r\n\r\n };\r\n case 'REQUEST_DISCOUNT':\r\n return {\r\n appointment: state.appointment,\r\n encounterTypes: state.encounterTypes,\r\n reasons: state.reasons,\r\n discount: state.discount,\r\n isconditionLoading: false,\r\n isreasonLoading: false,\r\n\r\n };\r\n case 'RECEIVE_DISCOUNT':\r\n return {\r\n appointment: state.appointment,\r\n encounterTypes: state.encounterTypes,\r\n reasons: state.reasons,\r\n discount: action.discount,\r\n isconditionLoading: false,\r\n isreasonLoading: false,\r\n\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nfunction toDate(date: any) {\r\n if (date != null) {\r\n var currentDateTime = new Date(date);\r\n return currentDateTime\r\n }\r\n}\r\nfunction DisplayCurrentTime(datetime: Date) {\r\n var date = datetime;\r\n var hours = date.getHours() < 10 ? \"0\" + date.getHours() : date.getHours();\r\n var minutes = date.getMinutes() < 10 ? \"0\" + date.getMinutes() : date.getMinutes();\r\n var seconds = date.getSeconds() < 10 ? \"0\" + date.getSeconds() : date.getSeconds();\r\n return (hours + \":\" + minutes + \":\" + seconds);\r\n};\r\nconst formatAMPM = (date: any) => {\r\n let hours = date.getHours();\r\n let minutes = date.getMinutes();\r\n let ampm = hours >= 12 ? 'PM' : 'AM';\r\n hours = hours % 12;\r\n hours = hours ? hours : 12;\r\n minutes = minutes.toString().padStart(2, '0');\r\n let strTime = hours + ':' + minutes + ' ' + ampm;\r\n return strTime;\r\n}\r\n","import axios from 'axios';\r\nimport Moment from 'moment';\r\nimport { hideLoading, showLoading } from 'react-redux-loading-bar';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport { Action, Reducer } from 'redux';\r\nimport { AppThunkAction } from '../';\r\nimport { errorHandling } from '../../helper/ErrorHandling';\r\nimport { actionCreators as _navdefault } from '../menu/NavDefault';\r\n\r\n//import { Router, Route, browserHistory } from 'react-router';\r\n\r\nimport { createBrowserHistory } from 'history';\r\nimport { getParameterByName } from '../../helper/formvalidation';\r\nconst history = createBrowserHistory();\r\nexport interface LoginState {\r\n isLoginLoading: boolean;\r\n login: Login;\r\n patient: Patient;\r\n}\r\nexport interface Meta {\r\n touched: string\r\n error: string\r\n warning: string\r\n}\r\nexport interface Login {\r\n UserName: string;\r\n Password: string;\r\n}\r\nexport interface Patient {\r\n id: string;\r\n memberId: string;\r\n patientNo: string;\r\n firstName: string;\r\n middleName: string;\r\n lastName: string;\r\n dob: string;\r\n gender: string;\r\n address1: string;\r\n zipcode: string;\r\n cellPhone: string;\r\n email: string;\r\n bloodGroup: string;\r\n locationName: string;\r\n locationId: string;\r\n}\r\ninterface RequestLogin {\r\n type: 'REQUEST_ADD_USER';\r\n login: Login;\r\n patient: Patient;\r\n}\r\n\r\ninterface ReceiveLogin {\r\n type: 'RECEIVE_ADD_USER';\r\n login: Login;\r\n patient: Patient;\r\n}\r\n\r\ntype KnownAction = RequestLogin | ReceiveLogin;\r\n\r\nexport const actionCreators = {\r\n requestLoginSave: (userObj: any): AppThunkAction => (dispatch: any, getState) => {\r\n // window.history.pushState({ prevUrl: window.location.href }, \"\", \"\")\r\n // console.log(window.location.href, \"window.location.href\")\r\n var tt = window.location.href;\r\n var arr = tt.split(\"/\")[3];\r\n // console.log(tt.split(\"/\"), \"window.location.href\")\r\n const appState = getState();\r\n dispatch(showLoading('sectionBar'))\r\n if (appState && appState.login) {\r\n axios.post('account/login', userObj)\r\n .then(function (response) {\r\n dispatch(hideLoading('sectionBar'))\r\n dispatch(_navdefault.requestNavDefault())\r\n if (localStorage.getItem(\"isAuth\") == \"true\") {\r\n //if (window.history.state.prevUrl.split(\"/\"))\r\n if (arr == \"login\") {\r\n document.location.href = \"/dashboard\";\r\n }\r\n\r\n //dispatch(actionCreators.getFormModule());\r\n }\r\n else {\r\n const data = response.data;\r\n\r\n dispatch({ type: 'RECEIVE_ADD_USER', login: data });\r\n //dispatch(reset(\"loginForm\"));\r\n localStorage.setItem(\"isAuth\", \"true\");\r\n dispatch(actionCreators.getFormModule()); \r\n window.history.replaceState({}, \"\", \"/\")\r\n }\r\n\r\n })\r\n .catch(error => {\r\n if (error.response.data.statusCode == 400) {\r\n var langdata: any = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n var errorObject = JSON.parse(error.response.data.errorMessage);\r\n if (errorObject.error_description == \"The username or password is incorrect.\")\r\n toastr.error('', langdata['theusernameorpasswordisincorrect']);\r\n else if (errorObject.error_description ==\"Your account has been locked. Please contact administrator.\") {\r\n toastr.error('', langdata['accountlocked']);\r\n }else\r\n toastr.error('', errorObject.error_description);\r\n } else {\r\n errorHandling(error.response.data.statusCode);\r\n }\r\n dispatch({ type: 'RECEIVE_ADD_USER', isLoginLoading: false });\r\n dispatch(hideLoading('sectionBar'))\r\n })\r\n .then(function () {\r\n });\r\n dispatch({ type: 'REQUEST_ADD_USER', isLoginLoading: true });\r\n }\r\n },\r\n getUser: (dispatch: any, getState: any): AppThunkAction => (dispatch: any, getState: any) => {\r\n axios.get('/patient/getpatient')\r\n .then(function (response) {\r\n const result = response.data;\r\n if (result.preferredLanguage && result.preferredLanguage !== \"\") {\r\n localStorage.setItem(\"DefaultLangCode\", result.preferredLanguage)\r\n } else {\r\n localStorage.setItem(\"DefaultLangCode\", \"en-us\")\r\n }\r\n localStorage.setItem(\"Patient\", JSON.stringify({ id: result.id, memberId: result.memberId, userId: result.userId, name: result.firstName + \" \" + result.lastName, FirstName: result.firstName, LastName: result.lastName, Email: result.email, Address1: result.address1, Address2: result.address2, locationName: result.locationName, zipcode: result.zipcode, locationId: result.locationId, dob: result.dob, cellPhone: result.cellPhone, gender: result.gender, timeZone: result.timeZone, offset: result.offset}));\r\n var currentTime = new Date();\r\n var selfpay = localStorage.getItem(\"selfpayurl\");\r\n\r\n var currentOffset = currentTime.getTimezoneOffset();\r\n\r\n var SettingOffset = parseInt(localStorage.getItem('timeOffset') || \"\"); // IST offset UTC +5:30\r\n\r\n var ConvertedTime = new Date(currentTime.getTime() + (SettingOffset + currentOffset) * 60000);\r\n var patient = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n\r\n var today = Moment(ConvertedTime).format('YYYY/MM/DD hh:mm A');\r\n localStorage.setItem(\"today\", today);\r\n\r\n var url: any = localStorage.getItem(\"redirectUrl\");\r\n const appState = getState();\r\n var newArray: any = \"\";\r\n if (appState != undefined) {\r\n newArray = appState.account.Settings.filter(function (el: any) {\r\n return (el.name == \"Intake Forms\");\r\n });\r\n }\r\n var timezonetimesloturl = localStorage.getItem(\"TimeZoneTimeSlot\");\r\n if (timezonetimesloturl != null) {\r\n return window.location.href = \"/profilesettings/\" + patient.memberId;\r\n }\r\n if (newArray[0].name == \"Intake Forms\" && newArray[0].customizeValue == \"Yes\") {\r\n var formArray: any = appState.flexiform.formLists.filter(function (el: any) {\r\n return ((el.id == null) && (el.showOnce == true));\r\n });\r\n if (formArray != 0) {\r\n if (localStorage.getItem(\"pathName\") == \"conditions\") {\r\n if (result.dob == null || result.gender == \"\" || result.cellPhone == \"\" || result.address1 == \"\" || result.zipcode == \"\" || result.locationName == \"\") {\r\n var doctorid = localStorage.getItem(\"DoctorId\");\r\n var _url: any = \"/contact/\" + doctorid + \"/\" + result.memberId;\r\n localStorage.setItem(\"contactUrl\", _url);\r\n return window.location.href = \"/initialpageforms/\" + formArray[0].moduleName + \"/\" + result.id + \"/\" + result.id + \"/\" + null;\r\n }\r\n } else {\r\n return window.location.href = \"/initialpageforms/\" + formArray[0].moduleName + \"/\" + result.id + \"/\" + result.id + \"/\" + null;\r\n }\r\n }\r\n }\r\n //var url :any = \"\";\r\n var appointment_date_time = Moment(localStorage.getItem(\"AppointmentOn\")).format('YYYY/MM/DD') + \" \" + localStorage.getItem(\"AppointmentTime\");\r\n\r\n if ((selfpay != null) || (selfpay != undefined)) {\r\n //var u = new URL(selfpay)\r\n //u.hash = ''\r\n //u.search = ''\r\n //localStorage.removeItem(\"selfpayurl\");\r\n return window.location.href = selfpay;\r\n }\r\n\r\n // console.log(new Date(today).getTime());\r\n // console.log((appointment_date_time));\r\n //if (new Date(today).getTime() < new Date(appointment_date_time).getTime()) {\r\n\r\n // if (url == null)\r\n // url = \"\";\r\n // else\r\n // url = localStorage.getItem(\"redirectUrl\") || null;\r\n //}\r\n //else {\r\n // const appState = getState();\r\n // var enablefamilymember: any = appState.account.Settings.filter((se: any) => se.name == \"Enable Family Member\")[0];\r\n // var doctorappointment: any = appState.account.Settings.filter((se: any) => se.name == \"Doctor Appointment\")[0];\r\n // var requestqueue: any = appState.account.Settings.filter((se: any) => se.name == \"Request Queue\")[0];\r\n // var anonymous: any = appState.account.Settings.filter((se: any) => se.name == \"Anonymous\")[0];\r\n // if ((enablefamilymember.customizeValue == \"No\") && (doctorappointment.customizeValue == \"Yes\") && (requestqueue.customizeValue == \"No\") && (anonymous.customizeValue == \"No\")) {\r\n // url = \"/dashboard\";\r\n // }\r\n // else if (localStorage.getItem(\"speaktovet\") == \"true\") {\r\n // localStorage.removeItem(\"speaktovet\");\r\n // var queueurl: any = localStorage.getItem(\"redirectQequestQueueUrl\");\r\n // url = queueurl + result.id;\r\n // }\r\n // else if ((enablefamilymember.customizeValue == \"No\") && (doctorappointment.customizeValue == \"No\") && (requestqueue.customizeValue == \"No\") && (anonymous.customizeValue == \"Yes\")) {\r\n // url = \"/dashboard\";\r\n // }\r\n // else if ((enablefamilymember.customizeValue == \"No\") && (doctorappointment.customizeValue == \"Yes\") && (requestqueue.customizeValue == \"No\") && (anonymous.customizeValue == \"Yes\")) {\r\n // url = \"/consultationrequest?memberid=\" + result.memberId;\r\n // }\r\n // else if ((enablefamilymember.customizeValue == \"No\") && (doctorappointment.customizeValue == \"Yes\") && (requestqueue.customizeValue == \"Yes\") && (anonymous.customizeValue == \"Yes\")) {\r\n // var queueurl: any = localStorage.getItem(\"redirectQequestQueueUrl\");\r\n // if (queueurl == null) {\r\n // url = \"/consultationrequest?memberid=\" + result.memberId;\r\n // } else {\r\n // if (localStorage.getItem(\"pathName\") == \"RequestQueue\") {\r\n // if (result.dob == null || result.gender == \"\" || result.cellPhone == \"\" || result.address1 == \"\" || result.zipcode == \"\" || result.locationName == \"\") {\r\n // url = \"/contact/\" + null + \"/\" + result.memberId;\r\n // } else {\r\n // var patient = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n // url = queueurl + \"&patientId=\" + result.id;\r\n // }\r\n // }\r\n // }\r\n // }\r\n // else if ((enablefamilymember.customizeValue == \"No\") && (doctorappointment.customizeValue == \"No\") && (requestqueue.customizeValue == \"Yes\") && (anonymous.customizeValue == \"No\")) {\r\n // var queueurl: any = localStorage.getItem(\"redirectQequestQueueUrl\");\r\n // if (queueurl == null) {\r\n // url = \"/dashboard\";\r\n // } else {\r\n // if (localStorage.getItem(\"pathName\") == \"RequestQueue\") {\r\n // if (result.dob == null || result.gender == \"\" || result.cellPhone == \"\" || result.address1 == \"\" || result.zipcode == \"\" || result.locationName == \"\") {\r\n // url = \"/contact/\" + null + \"/\" + result.memberId;\r\n // } else {\r\n // var patient = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n // url = queueurl + \"&patientId=\" + result.id;\r\n // }\r\n // }\r\n // }\r\n // }\r\n // else if ((enablefamilymember.customizeValue == \"No\") && (doctorappointment.customizeValue == \"No\") && (requestqueue.customizeValue == \"No\") && (anonymous.customizeValue == \"Yes\")) {\r\n // var queueurl: any = localStorage.getItem(\"redirectQequestQueueUrl\");\r\n // if (queueurl == null) {\r\n // url = \"/consultationrequest?memberid=\" + result.memberId;\r\n // } else {\r\n // if (localStorage.getItem(\"pathName\") == \"RequestQueue\") {\r\n // if (result.dob == null || result.gender == \"\" || result.cellPhone == \"\" || result.address1 == \"\" || result.zipcode == \"\" || result.locationName == \"\") {\r\n // url = \"/contact/\" + null + \"/\" + result.memberId;\r\n // } else {\r\n // var patient = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n // url = queueurl + \"&patientId=\" + result.id;\r\n // }\r\n // }\r\n // }\r\n // }\r\n // else if ((enablefamilymember.customizeValue == \"No\") && (doctorappointment.customizeValue == \"No\") && (requestqueue.customizeValue == \"Yes\") && (anonymous.customizeValue == \"Yes\")) {\r\n // var queueurl: any = localStorage.getItem(\"redirectQequestQueueUrl\");\r\n // if (queueurl == null) {\r\n // url = \"/consultationrequest?memberid=\" + result.memberId;\r\n // } else {\r\n // if (localStorage.getItem(\"pathName\") == \"RequestQueue\") {\r\n // if (result.dob == null || result.gender == \"\" || result.cellPhone == \"\" || result.address1 == \"\" || result.zipcode == \"\" || result.locationName == \"\") {\r\n // url = \"/contact/\" + null + \"/\" + result.memberId;\r\n // } else {\r\n // var patient = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n // url = queueurl + \"&patientId=\" + result.id;\r\n // }\r\n // }\r\n // }\r\n // }\r\n // else if ((enablefamilymember.customizeValue == \"Yes\") && (doctorappointment.customizeValue == \"Yes\") && (requestqueue.customizeValue == \"Yes\") && (anonymous.customizeValue == \"Yes\")) {\r\n // var queueurl: any = localStorage.getItem(\"redirectQequestQueueUrl\");\r\n // if (queueurl == null) {\r\n // url = \"/consultationrequest?memberid=\" + result.memberId;\r\n // } else {\r\n // if (localStorage.getItem(\"pathName\") == \"RequestQueue\") {\r\n // if (result.dob == null || result.gender == \"\" || result.cellPhone == \"\" || result.address1 == \"\" || result.zipcode == \"\" || result.locationName == \"\") {\r\n // url = \"/contact/\" + null + \"/\" + result.memberId;\r\n // } else {\r\n // var patient = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n // url = queueurl + \"&patientId=\" + result.id;\r\n // }\r\n // }\r\n // }\r\n // }\r\n // else if (enablefamilymember.customizeValue == \"Yes\") {\r\n // url = \"/consultationrequest?memberid=\" + result.memberId;\r\n // }\r\n \r\n // else {\r\n // url = \"/dashboard\";\r\n // }\r\n\r\n // /*localStorage.removeItem(\"pathName\");*/\r\n // /* localStorage.removeItem(\"redirectUrl\");*/\r\n // /* localStorage.removeItem(\"redirectQequestQueueUrl\");*/\r\n //}\r\n\r\n\r\n\r\n\r\n if (localStorage.getItem(\"pathName\") == \"conditions\") {\r\n if (result.dob == null || result.gender == \"\" || result.cellPhone == \"\" || result.address1 == \"\" || result.zipcode == \"\" || result.locationName == \"\") {\r\n var doctorid = localStorage.getItem(\"DoctorId\");\r\n if (localStorage.getItem(\"EmailId\") != result.email) {\r\n var _url: any = \"/contact/\" + doctorid + \"/\" + result.memberId;\r\n localStorage.setItem(\"contactUrl\", _url);\r\n document.location.href = \"/contact/\" + doctorid + \"/\" + result.memberId; \r\n } else if (localStorage.getItem(\"pathName\") == \"conditions\") {\r\n if (url != null)\r\n document.location.href = updateQueryStringParameter(url, \"date\", \"08/01/2020\") + \"&patientId=\" + result.id;\r\n }\r\n else {\r\n document.location.href = \"/dashboard\";\r\n }\r\n } else {\r\n if (url != null) {\r\n var urldate = getParameterByName(\"date\", url);\r\n var urltime = getParameterByName(\"time\", url);\r\n var accountoffset:any = localStorage.getItem(\"timeOffset\");\r\n if (result.offset == parseInt(accountoffset)) {\r\n document.location.href = url + \"&patientId=\" + result.id;\r\n } else {\r\n //var datetime = convertUTCDateToLocalDate(urldate, urltime, result.offset);\r\n var datetime: any = new Date(urldate + \" \" + urltime);\r\n if (Math.sign(parseInt(accountoffset)) == -1)\r\n accountoffset = Math.abs(parseInt(accountoffset));\r\n else\r\n accountoffset = -Math.abs(parseInt(accountoffset))\r\n\r\n var CSToffSet = accountoffset; //CST is -6:00 of UTC; i.e. 60*6 = -360 in minutes\r\n var offset = CSToffSet * 60 * 1000;\r\n var CSTTime = new Date(datetime.getTime() + offset);\r\n CSTTime.setTime(CSTTime.getTime() + (result.offset * 60000));\r\n var date = Moment(CSTTime).format('YYYY-MM-DD');\r\n var setdateurl = updateQueryStringParameter(url, \"date\", date) + \"&patientId=\" + result.id;\r\n var time = Moment(CSTTime).format('hh:mm A');\r\n document.location.href = updateQueryStringParameter(setdateurl, \"time\", time);\r\n }\r\n \r\n }\r\n }\r\n } else {\r\n if (url == \"\" || url == null) {\r\n const appState = getState();\r\n var enablefamilymember: any = appState.account.Settings.filter((se: any) => se.name == \"Enable Family Member\")[0];\r\n var doctorappointment: any = appState.account.Settings.filter((se: any) => se.name == \"Doctor Appointment\")[0];\r\n var requestqueue: any = appState.account.Settings.filter((se: any) => se.name == \"Request Queue\")[0];\r\n var anonymous: any = appState.account.Settings.filter((se: any) => se.name == \"Anonymous\")[0];\r\n if ((enablefamilymember.customizeValue == \"No\") && (doctorappointment.customizeValue == \"Yes\") && (requestqueue.customizeValue == \"No\") && (anonymous.customizeValue == \"No\")) {\r\n document.location.href = \"/dashboard\";\r\n }\r\n else if (localStorage.getItem(\"speaktovet\") == \"true\") {\r\n localStorage.removeItem(\"speaktovet\");\r\n var queueurl: any = localStorage.getItem(\"redirectQequestQueueUrl\");\r\n document.location.href = queueurl + result.id;\r\n }\r\n else if ((enablefamilymember.customizeValue == \"No\") && (doctorappointment.customizeValue == \"Yes\") && (requestqueue.customizeValue == \"No\") && (anonymous.customizeValue == \"Yes\")) {\r\n document.location.href = \"/consultationrequest?memberid=\" + result.memberId;\r\n }\r\n else if ((enablefamilymember.customizeValue == \"No\") && (doctorappointment.customizeValue == \"Yes\") && (requestqueue.customizeValue == \"Yes\") && (anonymous.customizeValue == \"Yes\")) {\r\n var queueurl: any = localStorage.getItem(\"redirectQequestQueueUrl\");\r\n if (queueurl == null) {\r\n document.location.href = \"/consultationrequest?memberid=\" + result.memberId;\r\n } else {\r\n if (localStorage.getItem(\"pathName\") == \"RequestQueue\") {\r\n if (result.dob == null || result.gender == \"\" || result.cellPhone == \"\" || result.address1 == \"\" || result.zipcode == \"\" || result.locationName == \"\")\r\n {\r\n document.location.href = \"/contact/\" + null + \"/\" + result.memberId;\r\n } else {\r\n var patient = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n document.location.href = queueurl + \"&patientId=\" + result.id;\r\n }\r\n } \r\n\r\n }\r\n }\r\n else if ((enablefamilymember.customizeValue == \"Yes\") && (doctorappointment.customizeValue == \"Yes\") && (requestqueue.customizeValue == \"Yes\") && (anonymous.customizeValue == \"Yes\")) {\r\n var queueurl: any = localStorage.getItem(\"redirectQequestQueueUrl\");\r\n if (queueurl == null) {\r\n document.location.href = \"/consultationrequest?memberid=\" + result.memberId;\r\n } else {\r\n if (localStorage.getItem(\"pathName\") == \"RequestQueue\") {\r\n if (result.dob == null || result.gender == \"\" || result.cellPhone == \"\" || result.address1 == \"\" || result.zipcode == \"\" || result.locationName == \"\") {\r\n document.location.href = \"/contact/\" + null + \"/\" + result.memberId;\r\n } else {\r\n\r\n document.location.href = \"/consultationrequest?memberid=\" + result.memberId;\r\n\r\n }\r\n }\r\n }\r\n }\r\n else if (enablefamilymember.customizeValue == \"Yes\") {\r\n document.location.href = \"/consultationrequest?memberid=\" + result.memberId;\r\n }\r\n\r\n else {\r\n document.location.href = \"/dashboard\";\r\n }\r\n } else {\r\n document.location.href = url;\r\n }\r\n }\r\n localStorage.removeItem(\"speaktovet\");\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n dispatch(hideLoading('sectionBar'))\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n },\r\n getPtaient: (): AppThunkAction => (dispatch: any) => {\r\n axios.get('/patient/getpatient')\r\n .then(function (response) {\r\n const result = response.data;\r\n if (result.preferredLanguage && result.preferredLanguage !== \"\") {\r\n localStorage.setItem(\"DefaultLangCode\", result.preferredLanguage)\r\n } else {\r\n localStorage.setItem(\"DefaultLangCode\", \"en-us\")\r\n }\r\n dispatch({ type: 'RECEIVE_ADD_USER', patient: result });\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n dispatch(hideLoading('sectionBar'))\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n dispatch({ type: 'REQUEST_ADD_USER' });\r\n },\r\n getFormModule: (): AppThunkAction => (dispatch: any, getState: any) => {\r\n var accountid: any = localStorage.getItem(\"AccountId\");\r\n const appState = getState();\r\n axios.get('/patient/GetFormModule/' + accountid + \"/\" + \"6\")\r\n .then(function (response) {\r\n const result = response.data;\r\n appState.flexiform.formLists = result;\r\n dispatch(actionCreators.getAppointmentOn());\r\n dispatch(actionCreators.getUser(dispatch, getState));\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n dispatch(hideLoading('sectionBar'))\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n },\r\n getAppointmentOn: (): AppThunkAction => (dispatch: any, getState: any) => {\r\n var accountid: any = localStorage.getItem(\"AccountId\");\r\n var appointmenton: any = null;\r\n if (localStorage.getItem(\"AppointmentUTCTime\"))\r\n appointmenton = Moment(localStorage.getItem(\"AppointmentUTCTime\")).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n var secondaryappointmenton: any = null;\r\n if (localStorage.getItem(\"AppointmentUTCTime1\"))\r\n secondaryappointmenton = Moment(localStorage.getItem(\"AppointmentUTCTime1\")).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n if (appointmenton != null) {\r\n axios.get('/appointment/GetLocalAppointmentOn/' + accountid + \"/\" + appointmenton + \"/\" + secondaryappointmenton)\r\n .then(function (response) {\r\n const result = response.data;\r\n if (result) {\r\n if (result.appointmentOn) {\r\n var apptdate: any = (result.appointmentOn).split('T')[0];\r\n var appttime: any = Moment(result.appointmentOn).format('LT')\r\n localStorage.setItem(\"AppointmentOn\", apptdate);\r\n localStorage.setItem(\"AppointmentTime\", appttime);\r\n }\r\n if (result.secondaryAppointmentOn) {\r\n var apptdate1: any = (result.secondaryAppointmentOn).split('T')[0];\r\n var appttime1: any = Moment(result.secondaryAppointmentOn).format('LT')\r\n localStorage.setItem(\"AppointmentOn1\", apptdate1);\r\n localStorage.setItem(\"AppointmentTime1\", appttime1);\r\n }\r\n }\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n dispatch(hideLoading('sectionBar'))\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n }\r\n },\r\n};\r\n\r\nconst UnloadedState: LoginState = {\r\n login: {\r\n UserName: \"\",\r\n Password: \"\",\r\n },\r\n patient: {\r\n id: \"\",\r\n memberId: \"\",\r\n patientNo: \"\",\r\n firstName: \"\",\r\n middleName: \"\",\r\n lastName: \"\",\r\n dob: \"\",\r\n gender: \"\",\r\n address1: \"\",\r\n zipcode: \"\",\r\n cellPhone: \"\",\r\n email: \"\",\r\n bloodGroup: \"\",\r\n locationName: \"\",\r\n locationId: \"\"\r\n },\r\n isLoginLoading: false\r\n};\r\n\r\nexport const reducer: Reducer = (state: LoginState | undefined, incomingAction: Action): LoginState => {\r\n if (state === undefined) {\r\n return UnloadedState;\r\n }\r\n\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_ADD_USER':\r\n return {\r\n login: state.login,\r\n patient: state.patient,\r\n isLoginLoading: true\r\n };\r\n case 'RECEIVE_ADD_USER':\r\n return {\r\n login: action.login,\r\n patient: action.patient,\r\n isLoginLoading: false\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\nfunction updateQueryStringParameter(uri:any, key:any, value:any) {\r\n var re = new RegExp(\"([?&])\" + key + \"=.*?(&|$)\", \"i\");\r\n var separator = uri.indexOf('?') !== -1 ? \"&\" : \"?\";\r\n if (uri.match(re)) {\r\n return uri.replace(re, '$1' + key + \"=\" + value + '$2');\r\n }\r\n else {\r\n return uri + separator + key + \"=\" + value;\r\n }\r\n}\r\n\r\n","import axios from 'axios';\r\nimport { Action, Reducer } from 'redux';\r\nimport { AppThunkAction } from '../';\r\nimport { errorHandling } from '../../helper/ErrorHandling';\r\n// -----------------\r\n// STATE - This defines the type of data maintained in the Redux store.\r\nexport interface AccountState {\r\n Account: Account,\r\n Settings: any,\r\n isSettingsLoading:boolean\r\n}\r\n\r\nexport interface Account {\r\n id: string;\r\n}\r\nexport interface Settings {\r\n Setting: [];\r\n}\r\n\r\n\r\n// -----------------\r\n// ACTIONS - These are serializable (hence replayable) descriptions of state transitions.\r\n// They do not themselves have any side-effects; they just describe something that is going to happen.\r\n// Use @typeName and isActionType for type detection that works even after serialization/deserialization.\r\nexport interface RequestAccountAction { type: 'REQUEST_ACCOUNT', Account: Account }\r\nexport interface ReciveAccountAction { type: 'RECEIVE_ACCOUNT', Account: Account }\r\nexport interface ReciveSiteSettingAction { type: 'RECEIVE_SITE_SETTING', Settings: any }\r\nexport interface RequestSiteSettingAction { type: 'REQUEST_SITE_SETTING', Settings: any }\r\n\r\n\r\n// Declare a 'discriminated union' type. This guarantees that all references to 'type' properties contain one of the\r\n// declared type strings (and not any other arbitrary string).\r\nexport type KnownAction = RequestAccountAction | ReciveAccountAction | ReciveSiteSettingAction | RequestSiteSettingAction;\r\n// ----------------\r\n// ACTION CREATORS - These are functions exposed to UI components that will trigger a state transition.\r\n// They don't directly mutate state, but they can have external side-effects (such as loading data).\r\n\r\nexport const actionCreators = {\r\n getDefaultAccount: (): AppThunkAction => (dispatch: any, getState) => {\r\n const appState = getState();\r\n if (appState && appState.location) {\r\n axios.get('/site/getdefaultaccount', { headers: { Authorization: \"BasicAuth\" } })\r\n .then(function (response) {\r\n const result = response.data;\r\n \r\n localStorage.setItem(\"AccountId\", result.id);\r\n dispatch({ type: 'RECEIVE_ACCOUNT', Account: result });\r\n dispatch(actionCreators.getSiteSetting(null));\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n dispatch({ type: 'REQUEST_ACCOUNT' });\r\n }\r\n },\r\n\r\n getSiteSetting: (name: any): AppThunkAction => async(dispatch: any, getState) => {\r\n const appState = getState();\r\n if (name == null)\r\n name = \"-\";\r\n const accountId = localStorage.getItem(\"AccountId\");\r\n if (appState && appState.location) {\r\n axios.get('/site/sitesettings/' + name + \"/\" + accountId, { headers: { Authorization: \"BasicAuth\" } })\r\n .then(function (response) {\r\n const result = response.data;\r\n /* console.log(result)*/\r\n\r\n var enable_familymember:any =\"\"\r\n var enablefamilymember: any = result.filter((s: any) => s.name == \"Enable Family Member\")\r\n \r\n if (enablefamilymember.length == 0)\r\n enable_familymember = null\r\n else\r\n enable_familymember = enablefamilymember[0].customizeValue\r\n\r\n localStorage.setItem(\"familymember\", enable_familymember);\r\n \r\n const filetypeFilter = response.data.filter(function (value:any) {\r\n return value.name === \"Time Zone\"\r\n });\r\n const currency = response.data.filter(function (value: any) {\r\n return value.name === \"Currency\"\r\n });\r\n currency.forEach((value: any) => {\r\n var displaycode_currency = value.displayCode;\r\n \r\n localStorage.setItem(\"currency\", displaycode_currency);\r\n })\r\n filetypeFilter.forEach((value: any) => {\r\n var displaycode = value.displayCode;\r\n const myArray = displaycode.split(\"|\");\r\n localStorage.setItem(\"timeOffset\", myArray[1]);\r\n })\r\n\r\n var preferredtimeslot: any = [];\r\n var pickaprovider: any = [];\r\n\r\n preferredtimeslot = response.data.filter((s: any) => s.name == \"Client preferred time slot\");\r\n if (preferredtimeslot.length != 0)\r\n preferredtimeslot = preferredtimeslot[0].customizeValue;\r\n else\r\n preferredtimeslot = null;\r\n localStorage.setItem(\"preferredtimeslot\", preferredtimeslot);\r\n\r\n pickaprovider = response.data.filter((s: any) => s.name == \"Auto Provider Selection in PickaProvider\");\r\n if (pickaprovider.length != 0)\r\n pickaprovider = pickaprovider[0].customizeValue;\r\n else\r\n pickaprovider = null;\r\n localStorage.setItem(\"pickaprovider\", pickaprovider);\r\n\r\n // localStorage.setItem(\"AccountId\", result.id);\r\n dispatch({ type: 'RECEIVE_SITE_SETTING', Settings: result, isSettingsLoading: false });\r\n })\r\n .catch(function (error) {\r\n errorHandling(error.response.data.statusCode);\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n dispatch({ type: 'REQUEST_ACCOUNT', isSettingsLoading:true});\r\n }\r\n },\r\n};\r\n\r\n// ----------------\r\n// REDUCER - For a given state and action, returns the new state. To support time travel, this must not mutate the old state.\r\nconst unloadedState: AccountState = {\r\n Account: { id: \"\" },\r\n Settings: [],\r\n isSettingsLoading:false\r\n};\r\nexport const reducer: Reducer = (state: AccountState | undefined, incomingAction: Action): AccountState => {\r\n if (state === undefined) {\r\n return unloadedState;\r\n }\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_ACCOUNT':\r\n return {\r\n Account: state.Account,\r\n Settings: state.Settings,\r\n isSettingsLoading: true\r\n };\r\n case 'RECEIVE_ACCOUNT':\r\n return {\r\n Account: action.Account,\r\n Settings: state.Settings,\r\n isSettingsLoading: false\r\n\r\n };\r\n case 'RECEIVE_SITE_SETTING':\r\n return {\r\n Account: state.Account,\r\n Settings: action.Settings,\r\n isSettingsLoading: false\r\n\r\n };\r\n case 'REQUEST_SITE_SETTING':\r\n return {\r\n Account: state.Account,\r\n Settings: action.Settings,\r\n isSettingsLoading: true\r\n\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n","import axios from 'axios';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport { Action, Reducer } from 'redux';\r\nimport { AppThunkAction } from '../';\r\nimport { errorHandling } from '../../helper/ErrorHandling';\r\nimport { push } from 'connected-react-router';\r\nimport Moment from 'moment';\r\n\r\nconst urlParams = new URLSearchParams(window.location.search);\r\nconst childid = urlParams.get('childid');\r\nconst childname = urlParams.get('childname');\r\n\r\nexport interface PayMethodState {\r\n isPayLoading: boolean;\r\n paymethod: Paymethod;\r\n}\r\n\r\nexport interface Paymethod {\r\n}\r\n\r\n\r\ninterface RequestPaymethodAction {\r\n type: 'REQUEST_PAY_METHOD';\r\n paymethod: Paymethod;\r\n isPayLoading: boolean;\r\n}\r\n\r\ninterface ReceivePaymethodAction {\r\n type: 'RECEIVE_PAY_METHOD';\r\n paymethod: Paymethod;\r\n isPayLoading: boolean;\r\n}\r\n\r\ntype KnownAction = RequestPaymethodAction | ReceivePaymethodAction;\r\n\r\nexport const actionCreators = {\r\n updatePaymethod: (paymethodid: any): AppThunkAction => (dispatch:any, getState:any) => {\r\n const appState = getState();\r\n if (appState && appState.paymethod) {\r\n if (paymethodid == \"1\") {\r\n dispatch(actionCreators.requestScheduleUpdate(paymethodid));\r\n } else if (paymethodid == \"2\") {\r\n dispatch(actionCreators.requestScheduleUpdate(paymethodid));\r\n } else if (paymethodid == \"3\") {\r\n dispatch(actionCreators._requestScheduleUpdate(paymethodid));\r\n } else {\r\n return;\r\n }\r\n }\r\n },\r\n requestScheduleUpdate: (paymethodid:any): AppThunkAction => (dispatch: any, getState: any) => {\r\n const appState = getState();\r\n if (appState && appState.paymentProcess) {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const appointmentid = urlParams.get('appointmentid');\r\n const doctorid = urlParams.get('doctorid');\r\n const email = urlParams.get('email');\r\n const name = urlParams.get('name');\r\n const methodid = urlParams.get('methodid');\r\n var data: any = {\r\n Id: appointmentid,\r\n PayMethodId: paymethodid\r\n }\r\n axios.post('/appointment/ScheduleUpdate', data)\r\n .then(function (response) {\r\n if (paymethodid == \"1\") {\r\n dispatch({ type: 'RECEIVE_PAY_METHOD', isPayLoading: false });\r\n dispatch(push(\"/insurancelist?doctorid=\" + doctorid + \"&appointmentid=\" + appointmentid + \"&name=\" + name + \"&email=\" + email + \"&methodid=\" + methodid + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if (paymethodid == \"2\") {\r\n dispatch({ type: 'RECEIVE_PAY_METHOD', isPayLoading: false });\r\n dispatch(push(\"/paymentprocess/\" + doctorid + \"/\" + appointmentid + \"/\" + name + \"/\" + email));\r\n } else {\r\n dispatch({ type: 'RECEIVE_PAY_METHOD' });\r\n return;\r\n }\r\n })\r\n .catch(function (error) {\r\n dispatch({ type: 'RECEIVE_PAY_METHOD', isPayLoading: false });\r\n var errorObject = JSON.parse(error.response.data.errorMessage);\r\n if (errorObject.Message == \"No Changes\") {\r\n if (paymethodid == \"1\") {\r\n dispatch({ type: 'RECEIVE_PAY_METHOD', isPayLoading: false });\r\n dispatch(push(\"/insurancelist?doctorid=\" + doctorid + \"&appointmentid=\" + appointmentid + \"&name=\" + name + \"&email=\" + email + \"&methodid=\" + methodid + \"&childid=\" + childid + \"&childname=\" + childname))\r\n } else if (paymethodid == \"2\") {\r\n dispatch({ type: 'RECEIVE_PAY_METHOD', isPayLoading: false });\r\n dispatch(push(\"/paymentprocess/\" + doctorid + \"/\" + appointmentid + \"/\" + name + \"/\" + email));\r\n } else {\r\n dispatch({ type: 'RECEIVE_PAY_METHOD' });\r\n return;\r\n }\r\n } else {\r\n errorHandling(error.response.data.statusCode);\r\n }\r\n })\r\n .then(function () {\r\n });\r\n dispatch({ type: 'REQUEST_PAY_METHOD', isPayLoading:true});\r\n }\r\n },\r\n _requestScheduleUpdate: (paymethodid: any): AppThunkAction => (dispatch: any, getState: any) => {\r\n const appState = getState();\r\n if (appState && appState.paymentProcess) {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const appointmentid = urlParams.get('appointmentid');\r\n const methodid = urlParams.get('methodid');\r\n var autoapprovel: any = appState.account.Settings.filter((se: any) => se.name == \"Appointment Auto Approval\")[0];\r\n var autoproviderselect: any = appState.account.Settings.filter((se: any) => se.name == \"Auto Provider Selection in PickaProvider\")[0];\r\n var statusid: any = \"\";\r\n if (autoproviderselect.customizeValue == \"No\") {\r\n if (methodid == \"2\" || methodid == \"1\") {\r\n statusid = \"9\"\r\n } \r\n } else {\r\n if (autoapprovel.customizeValue == \"Yes\") {\r\n if (methodid == \"3\") {\r\n statusid = \"9\"\r\n } else {\r\n statusid = \"1\"\r\n }\r\n } else {\r\n statusid = \"9\"\r\n }\r\n }\r\n \r\n var data: any = {\r\n Id: appointmentid,\r\n StatusId: statusid,\r\n PayMethodId: paymethodid\r\n }\r\n axios.post('/appointment/ScheduleUpdate', data)\r\n .then(function (response) {\r\n dispatch({ type: 'RECEIVE_PAY_METHOD', isPayLoading: false });\r\n dispatch(push(\"/success/\" + appointmentid))\r\n })\r\n .catch(function (error) {\r\n dispatch({ type: 'RECEIVE_PAY_METHOD', isPayLoading: false });\r\n var errorObject = JSON.parse(error.response.data.errorMessage);\r\n if (errorObject.Message == \"No Changes\") {\r\n dispatch(push(\"/success/\" + appointmentid))\r\n } else {\r\n errorHandling(error.response.data.statusCode);\r\n }\r\n })\r\n .then(function () {\r\n });\r\n }\r\n dispatch({ type: 'REQUEST_PAY_METHOD', isPayLoading: true });\r\n },\r\n redirectback: (): AppThunkAction => (dispatch: any, getState) => {\r\n const appState: any = getState();\r\n if (appState && appState.account) {\r\n var patientLocalStroage: any = localStorage.getItem('Patient');\r\n var patientstore: any = JSON.parse(patientLocalStroage);\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const methodid = urlParams.get('methodid');\r\n const appointmentid = urlParams.get('appointmentid');\r\n const doctorid = urlParams.get('doctorid');\r\n const childid = urlParams.get('childid');\r\n const childname = urlParams.get('childname');\r\n var eprescription: any = appState.account.Settings.filter((se: any) => se.name == \"E-Prescription Provider\")[0];\r\n if (eprescription.customizeValue == \"DoseSpot\" || eprescription.customizeValue == \"Both\") {\r\n dispatch(push(\"/pharmacylist?types=appointment&memberid=\" + patientstore.memberId + \"&appointmentid=\" + appointmentid + \"&doctorid=\" + doctorid + \"&type=appointment&methodid=\" + methodid + \"&childid=\" + childid + \"&childname=\" + childname));\r\n }\r\n else\r\n window.history.go(-1);\r\n }\r\n }\r\n};\r\n\r\n\r\nconst UnloadedState: PayMethodState = {\r\n paymethod: {},\r\n isPayLoading: false\r\n};\r\n\r\n\r\nexport const reducer: Reducer = (state: PayMethodState | undefined, incomingAction: Action): PayMethodState => {\r\n if (state === undefined) {\r\n return UnloadedState;\r\n }\r\n\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_PAY_METHOD':\r\n return {\r\n paymethod: state.paymethod,\r\n isPayLoading: true\r\n };\r\n case 'RECEIVE_PAY_METHOD':\r\n return {\r\n paymethod: action.paymethod,\r\n isPayLoading: false\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\nfunction toDate(date: any) {\r\n if (date != null) {\r\n var currentDateTime = new Date(date);\r\n return currentDateTime\r\n }\r\n}\r\nfunction DisplayCurrentTime(datetime: Date) {\r\n var date = datetime;\r\n var hours = date.getHours() < 10 ? \"0\" + date.getHours() : date.getHours();\r\n var minutes = date.getMinutes() < 10 ? \"0\" + date.getMinutes() : date.getMinutes();\r\n var seconds = date.getSeconds() < 10 ? \"0\" + date.getSeconds() : date.getSeconds();\r\n return (hours + \":\" + minutes + \":\" + seconds);\r\n};\r\nconst formatAMPM = (date: any) => {\r\n let hours = date.getHours();\r\n let minutes = date.getMinutes();\r\n let ampm = hours >= 12 ? 'PM' : 'AM';\r\n hours = hours % 12;\r\n hours = hours ? hours : 12;\r\n minutes = minutes.toString().padStart(2, '0');\r\n let strTime = hours + ':' + minutes + ' ' + ampm;\r\n return strTime;\r\n}","import axios from 'axios';\r\nimport { Action, Reducer } from 'redux';\r\nimport { AppThunkAction } from '../';\r\nimport { errorHandling } from '../../helper/ErrorHandling';\r\n// -----------------\r\n// STATE - This defines the type of data maintained in the Redux store.\r\n\r\nexport interface TimeZoneState {\r\n isTimeZoneLoading: boolean;\r\n TimeZones: TimeZone[]\r\n}\r\n\r\nexport interface TimeZone {\r\n Offset: string;\r\n Name: string;\r\n}\r\n// -----------------\r\n// ACTIONS - These are serializable (hence replayable) descriptions of state transitions.\r\n// They do not themselves have any side-effects; they just describe something that is going to happen.\r\n// Use @typeName and isActionType for type detection that works even after serialization/deserialization.\r\nexport interface RequestTimeZoneAutoCompleteAction { type: 'REQUEST_TIMEZONE_AUTO', TimeZones: TimeZone[], isTimeZoneLoading:true }\r\nexport interface ReciveITimeZoneAutoCompleteAction { type: 'RECEIVE_TIMEZONE_AUTO', TimeZones: TimeZone[], isTimeZoneLoading:false }\r\n\r\n\r\n// Declare a 'discriminated union' type. This guarantees that all references to 'type' properties contain one of the\r\n// declared type strings (and not any other arbitrary string).\r\nexport type KnownAction = RequestTimeZoneAutoCompleteAction | ReciveITimeZoneAutoCompleteAction;\r\n// ----------------\r\n// ACTION CREATORS - These are functions exposed to UI components that will trigger a state transition.\r\n// They don't directly mutate state, but they can have external side-effects (such as loading data).\r\n\r\nexport const actionCreators = {\r\n requestTimeZone: (keyword: any): AppThunkAction => (dispatch: any, getState) => {\r\n const appState = getState();\r\n if (appState && appState.timeZones) {\r\n axios.get('/autocomplete/SearchTimeZone/' + keyword)\r\n .then(function (response) {\r\n const result = response.data;\r\n dispatch({ type: 'RECEIVE_TIMEZONE_AUTO', TimeZones: result, isTimeZoneLoading:false });\r\n })\r\n .catch(function (error) {\r\n if (error.response == undefined) {\r\n return;\r\n } else {\r\n errorHandling(error.response.data.statusCode);\r\n }\r\n })\r\n .then(function () {\r\n // always executed\r\n });\r\n dispatch({ type: 'REQUEST_TIMEZONE_AUTO', isTimeZoneLoading:true});\r\n }\r\n },\r\n};\r\n\r\n// ----------------\r\n// REDUCER - For a given state and action, returns the new state. To support time travel, this must not mutate the old state.\r\nconst unloadedState: TimeZoneState = {\r\n isTimeZoneLoading: false,\r\n TimeZones: [],\r\n};\r\nexport const reducer: Reducer = (state: TimeZoneState | undefined, incomingAction: Action): TimeZoneState => {\r\n if (state === undefined) {\r\n return unloadedState;\r\n }\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_TIMEZONE_AUTO':\r\n return {\r\n isTimeZoneLoading: state.isTimeZoneLoading,\r\n TimeZones: state.TimeZones,\r\n };\r\n case 'RECEIVE_TIMEZONE_AUTO':\r\n return {\r\n isTimeZoneLoading: action.isTimeZoneLoading,\r\n TimeZones: action.TimeZones,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { ApplicationState } from '../../store/index';\r\nimport * as HeaderDrProfileStore from '../../store/widget/HeaderDrProfile';\r\nimport * as BookingStore from '../../store/patient/Booking';\r\nimport * as ContactStoreState from '../../store/patient/Contact';\r\nimport * as AccountStore from '../../store/siteaccount/Account';\r\nimport * as TimeZoneStore from '../../store/autoComplete/timeZone';\r\nimport ContentLoader from \"react-content-loader\"\r\nimport Moment from 'moment';\r\nimport { NavLink } from 'react-router-dom';\r\nimport { dateFormat, statusColor, dateUTCFormat, dateTimeFormat, dateConversion, timeFormat, timeConversion, checkFamilyMember, getParameterByName } from '../../helper/formvalidation';\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\nimport { stat } from 'fs';\r\nimport { getDiscountPrice } from '../Patient/Booking';\r\nimport * as Account from '../../store/siteaccount/Account';\r\n\r\n\r\n// At runtime, Redux will merge together...\r\ntype HeaderDrProfileProps =\r\n HeaderDrProfileStore.HeaderDrProfileState & BookingStore.BookingState & TimeZoneStore.TimeZoneState & ContactStoreState.ContactState & AccountStore.AccountState & LanguageResourcesStore.LanguageResouresState & Account.AccountState // ... state we've requested from the Redux store\r\n & typeof HeaderDrProfileStore.actionCreators & typeof BookingStore.actionCreators & typeof TimeZoneStore.actionCreators & typeof ContactStoreState.actionCreators & typeof AccountStore.actionCreators & typeof LanguageResourcesStore.actionCreators & RouteComponentProps<{ startDateIndex: string }>; // ... plus action creators we've requested\r\nvar encDetailStroage: any = localStorage.getItem('EncDetail');\r\nvar encDetail: any = JSON.parse(encDetailStroage);\r\nvar __currency: any = [];\r\nvar typemode: any = \"\";\r\nvar languagecontent: any = \"\";\r\nvar offset: any = \"\";\r\nvar langdata: any = \"\";\r\nvar Currenttimezone: any = \"\";\r\nvar appointmenttime: any = \"\";\r\nvar consultationfree: any = [];\r\nclass HeaderDrProfile extends React.PureComponent {\r\n // This method is called when the component is first added to the document\r\n constructor(props: any) {\r\n super(props);\r\n }\r\n\r\n public componentDidMount() {\r\n this.ensureDataFetched();\r\n checkFamilyMember();\r\n var data = window.location.pathname;\r\n const _array = data.split('/');\r\n if( _array[1] == \"booking\")\r\n localStorage.removeItem(\"ServiceEncounterTypeId\");\r\n\r\n }\r\n \r\n\r\n public render() {\r\n\r\n return (\r\n \r\n {this.renderHeaderDrProfile()}\r\n \r\n );\r\n }\r\n\r\n private ensureDataFetched() {\r\n var data = window.location.pathname;\r\n const _array = data.split('/');\r\n if (_array[2]) {\r\n this.props.requestHeaderDrProfile(_array[2]);\r\n }\r\n else {\r\n const queryParams = new URLSearchParams(window.location.search);\r\n\r\n const doctorid = queryParams.get('doctorid');\r\n this.props.requestHeaderDrProfile(doctorid);\r\n }\r\n\r\n\r\n \r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n\r\n\r\n }\r\n\r\n navRoute = (value: string) => {\r\n //this.props.redirectBooking(value);\r\n }\r\n private renderHeaderDrProfile() {\r\n //console.log('childname')\r\n //console.log(this.props.time,\"tttime\")\r\n var preferredtimeslot: any = this.props.Settings.filter((s: any) => s.name == \"Client preferred time slot\");\r\n if (preferredtimeslot.length != 0)\r\n preferredtimeslot = preferredtimeslot[0].customizeValue;\r\n else\r\n preferredtimeslot = \"\";\r\n\r\n var pickaprovider: any = this.props.Settings.filter((s: any) => s.name == \"Auto Provider Selection in PickaProvider\");\r\n if (pickaprovider.length != 0)\r\n pickaprovider = pickaprovider[0].customizeValue;\r\n else\r\n pickaprovider = \"\";\r\n var urlParams = new URLSearchParams(window.location.search);\r\n //var urldate = getParameterByName(\"date\", window.location.search);\r\n //var urltime = getParameterByName(\"time\", window.location.search);\r\n //var urldate1 = getParameterByName(\"date1\", window.location.search);\r\n //var urltime1 = getParameterByName(\"time1\", window.location.search);\r\n //if (urldate != null) {\r\n // localStorage.setItem(\"AppointmentOn\", dateUTCFormat(urldate + \" \" + urltime));\r\n // localStorage.setItem(\"AppointmentTime\", timeFormat(urldate + \" \" + urltime));\r\n //}\r\n //if (urldate1 != null && urldate1 != \"null\" && urltime1 != null && urltime1 !=\"null\") {\r\n // localStorage.setItem(\"AppointmentOn1\", dateUTCFormat(urldate1 + \" \" + urltime1));\r\n // localStorage.setItem(\"AppointmentTime1\", timeFormat(urldate1 + \" \" + urltime1));\r\n //}\r\n var childid = urlParams.get('childid');\r\n var name = urlParams.get('childname');\r\n var childname = urlParams.get('childname');\r\n //var statuses = urlParams.get('statuses')\r\n var status = urlParams.get('status');\r\n if (status == \"reschedule\") {\r\n name = urlParams.get(\"childname\")\r\n }\r\n var specialityid: any = urlParams.get('specialityid');\r\n var methodid: any = urlParams.get('methodid');\r\n var enctypemode: any = urlParams.get('type');\r\n if (enctypemode == null)\r\n enctypemode = urlParams.get('encountertypemode');\r\n \r\n if (enctypemode == null && localStorage.getItem(\"followup\") == \"followup\") {\r\n enctypemode= localStorage.getItem(\"enctypemode\");\r\n }\r\n languagecontent = this.props.LanguageResoures;\r\n var data = window.location.pathname;\r\n const _array = data.split('/');\r\n var appointmenton: any = localStorage.getItem(\"AppointmentOn\");\r\n if (preferredtimeslot == \"Yes\" && pickaprovider == \"No\") {\r\n var appointmenton1: any = \"\";\r\n if (localStorage.getItem(\"AppointmentOn1\") != null) {\r\n appointmenton1 = localStorage.getItem(\"AppointmentOn1\");\r\n var appointmenttime1: any = localStorage.getItem(\"AppointmentTime1\");\r\n }\r\n else {\r\n if (localStorage.getItem(\"AppointmentTime1\"))\r\n appointmenton1 = localStorage.getItem(\"AppointmentOn\");\r\n }\r\n //else\r\n // var appointmenton1: any = localStorage.getItem(\"AppointmentOn\");\r\n }\r\n appointmenttime = \"\";\r\n var encDetailStroage: any = localStorage.getItem('EncDetail');\r\n var encDetail = JSON.parse(encDetailStroage);\r\n if (encDetail != null) {\r\n typemode = encDetail.encounterTypeMode;\r\n }\r\n var isAuthenticated: any = localStorage.getItem(\"isAuth\");\r\n if (status == \"reschedule\" || status == \"followup\" || localStorage.getItem(\"followup\") == \"followup\" ) {\r\n var modeCode: any\r\n if (enctypemode == \"Teleconsultation\" || enctypemode == \"Videoconsulta\") {\r\n modeCode = \"TEC\"\r\n localStorage.setItem(\"modecode\", modeCode)\r\n } else if (enctypemode == \"In Person\" || enctypemode == \"En persona\") {\r\n modeCode = \"INP\"\r\n }\r\n else if (enctypemode == \"Phone\" || enctypemode == \"Teléfono\") {\r\n modeCode = \"PHN\";\r\n }\r\n localStorage.setItem(\"modecode\", modeCode)\r\n //console.log(modeCode, encDetail)\r\n var appointmenttype: any = this.props.headerdrprofile.doctorServiceDetails.filter((se: any) => se.modeCode == modeCode);\r\n if (appointmenttype.length != 0) {\r\n this.props.headerdrprofile.encounterTypeMode = appointmenttype[0].encounterTypeMode;\r\n this.props.headerdrprofile.minPrice = appointmenttype[0].price;\r\n }\r\n // console.log(appointmenttype, this.props.headerdrprofile.doctorServiceDetails)\r\n }\r\n else {\r\n var appointmenttype: any = [];\r\n if (enctypemode == \"noappointment\") {\r\n appointmenttype = this.props.headerdrprofile.doctorServiceDetails.filter((se: any) => se.modeCode == \"TEC\");\r\n if (appointmenttype.length != 0)\r\n localStorage.setItem(\"EncDetail\", JSON.stringify({ durationCode: appointmenttype[0].durationCode, encounterTypeMode: appointmenttype[0].encounterTypeMode, minPrice: appointmenttype[0].price, encounterTypeModeDurationId: appointmenttype[0].encounterTypeModeDurationId, serviceId: appointmenttype[0].serviceId, modeCode: appointmenttype[0].modeCode }))\r\n }\r\n else {\r\n if (encDetail != null) {\r\n appointmenttype = this.props.headerdrprofile.doctorServiceDetails.filter((se: any) => se.modeCode == encDetail.modeCode);\r\n }\r\n }\r\n if (methodid == \"3\") {\r\n appointmenttype = this.props.headerdrprofile.doctorServiceDetails.filter((se: any) => se.modeCode == \"TEC\");\r\n if (appointmenttype.length != 0)\r\n localStorage.setItem(\"EncDetail\", JSON.stringify({ durationCode: appointmenttype[0].durationCode, encounterTypeMode: appointmenttype[0].encounterTypeMode, minPrice: appointmenttype[0].price, encounterTypeModeDurationId: appointmenttype[0].encounterTypeModeDurationId, serviceId: appointmenttype[0].serviceId, modeCode: appointmenttype[0].modeCode }))\r\n }\r\n else {\r\n if (encDetail != null) {\r\n appointmenttype = this.props.headerdrprofile.doctorServiceDetails.filter((se: any) => se.modeCode == encDetail.modeCode);\r\n }\r\n }\r\n if (appointmenttype.length != 0) {\r\n this.props.headerdrprofile.encounterTypeMode = appointmenttype[0].encounterTypeMode;\r\n this.props.headerdrprofile.minPrice = appointmenttype[0].price;\r\n }\r\n }\r\n\r\n\r\n if (name == undefined || name == \"null\") {\r\n var patientLocalStroage: any = localStorage.getItem('Patient');\r\n var patient = JSON.parse(patientLocalStroage);\r\n if (patient != null)\r\n name = patient.FirstName + ' ' + patient.LastName;\r\n }\r\n var enablefamilymember: any = [];\r\n enablefamilymember = this.props.Settings.filter((s: any) => s.name == \"Enable Family Member\");\r\n var familyenable = \"\";\r\n if (enablefamilymember.length == 0)\r\n familyenable = \"\";\r\n else\r\n familyenable = enablefamilymember[0].customizeValue\r\n\r\n consultationfree = this.props.Settings.filter((s: any) => s.name == \"Show the consultation fee as Free\");\r\n var free: any = \"\";\r\n if (consultationfree.length != 0)\r\n free = consultationfree[0].customizeValue\r\n else\r\n free = \"\";\r\n\r\n __currency = this.props.Settings.filter((s: any) => s.name == \"Currency\");\r\n var _currency: any = \"\";\r\n //var value: any;\r\n if (__currency.length == 0) {\r\n _currency = \"\";\r\n }\r\n else {\r\n if (__currency[0].value == \"\") {\r\n _currency = __currency[0].displayCode;\r\n localStorage.setItem(\"currency\", _currency);\r\n }\r\n else {\r\n _currency = __currency[0].customizeValue;\r\n localStorage.setItem(\"currency\", _currency);\r\n }\r\n\r\n\r\n }\r\n\r\n var currency: any = _currency;\r\n var discount: any = localStorage.getItem(\"Discount\");\r\n var eprescrition: any = \"\";\r\n var _eprescrition: any = this.props.Settings.filter((s: any) => s.name == \"E-Prescription Provider\")[0];\r\n if (_eprescrition != undefined) {\r\n eprescrition = _eprescrition.customizeValue;\r\n } else {\r\n eprescrition = \"\";\r\n }\r\n if (localStorage.getItem(\"isAuth\") == \"true\") {\r\n const patientLocalStroage: any = localStorage.getItem('Patient');\r\n const patient = JSON.parse(patientLocalStroage);\r\n if (this.props.TimeZones.length != 0) {\r\n Currenttimezone = this.props.TimeZones.filter((tz: any) => tz.Name == patient.timeZone);\r\n if (patient.timeZone == \"India Standard Time\")\r\n offset = 330;\r\n else\r\n offset = Currenttimezone[0].Offset;\r\n }\r\n else {\r\n if (this.props.Settings.length != 0) {\r\n var timezone = this.props.Settings.filter((se: any) => se.name == \"Time Zone\")[0]\r\n var _timezone: any = timezone.displayCode.split(\"|\");\r\n offset = _timezone[1];\r\n }\r\n }\r\n }\r\n else {\r\n if (this.props.Settings.length != 0) {\r\n var timezone = this.props.Settings.filter((se: any) => se.name == \"Time Zone\")[0]\r\n var _timezone: any = timezone.displayCode.split(\"|\");\r\n offset = _timezone[1];\r\n }\r\n }\r\n if (enctypemode == \"noappointment\") {\r\n var curentdate: any = dateConversion(offset);\r\n var curenttime: any = timeConversion(offset);\r\n appointmenton = curentdate;\r\n appointmenttime = curenttime;\r\n localStorage.setItem(\"AppointmentOn\", curentdate);\r\n localStorage.setItem(\"AppointmentTime\", curenttime);\r\n\r\n }\r\n var time: any = urlParams.get(\"time\");\r\n //console.log(localStorage.getItem(\"AppointmentTime\"));\r\n // console.log(this.props.headerdrprofile)\r\n return (\r\n \r\n {(_array[1] == 'contact' && methodid == 5) || (_array[1] == 'contact' && appointmenton ==undefined) ? \"\" :\r\n (name != null && familyenable === \"Yes\") || this.props.headerdrprofile.doctorName != \"\" || appointmenton != undefined || appointmenton != null || appointmenton1 != undefined || appointmenton1 != null || encDetail != null || this.props.contact.pharmacyName != \"\" ?\r\n
\r\n
\r\n {this.props.bioIsLoading == true ?\r\n window.innerWidth <= 760 ?\r\n \r\n \r\n \r\n \r\n : \r\n {/* Only SVG shapes */}\r\n \r\n \r\n \r\n \r\n\r\n :\r\n \r\n
\r\n {\r\n this.props.headerdrprofile.doctorName == \"Not Assigned\" ? \"\" :\r\n\r\n this.props.headerdrprofile.doctorName == \"\" || this.props.headerdrprofile.doctorName == null || this.props.headerdrprofile.doctorName == \"Not Assigned\" ? \"\" :\r\n
\r\n
\r\n {\r\n this.props.headerdrprofile.photo != null ? \"User\r\n : \"User\r\n }\r\n
\r\n
\r\n

{this.props.headerdrprofile.doctorName == \"\" || null || undefined ? languagecontent['unknownprovider'] : this.props.headerdrprofile.doctorName}

\r\n {this.props.headerdrprofile.speciality.length != 0 ?\r\n

{this.props.headerdrprofile.speciality.map((spec: HeaderDrProfileStore.Speciality) =>\r\n spec.name\r\n ).join(', ')}\r\n

: ''\r\n }\r\n\r\n
\r\n
\r\n }\r\n\r\n {\r\n _array[1] == 'doctorprofile' ?
\r\n
{languagecontent['booknow']}
\r\n\r\n
: \"\"\r\n }\r\n\r\n
\r\n {\r\n _array[1] == 'doctorprofile' ? \"\" :\r\n
\r\n {this.props.headerdrprofile.doctorName == \"Not Assigned\" ? \"\" :\r\n this.props.headerdrprofile.doctorName == \"\" || this.props.headerdrprofile.doctorName == \"Not Assigned\" ? \"\" : familyenable == \"Yes\" && name != null || name != undefined ?
: \"\"\r\n }\r\n
\r\n
\r\n\r\n
\r\n
\r\n {\r\n familyenable == \"Yes\" ?\r\n \r\n {\r\n name == null || name == undefined ? \"\" :\r\n

{languagecontent['consultationfor'] == undefined || languagecontent['consultationfor'] == null ? \"Consultation for\" : languagecontent['consultationfor']} {name}

\r\n }\r\n
: \"\"\r\n }\r\n
\r\n
\r\n
\r\n }\r\n {\r\n _array[1] == 'doctorprofile' ? \"\" :\r\n
\r\n {\r\n name != null && familyenable === \"Yes\" ?
: \"\"\r\n }\r\n
\r\n }\r\n {\r\n _array[1] == 'doctorprofile' ? \"\" :\r\n \r\n \r\n
\r\n
\r\n \r\n {\r\n _array[1] == 'doctorprofile' ? \"\" :\r\n
\r\n {\r\n preferredtimeslot == \"Yes\" && pickaprovider == \"No\" ?\r\n
\r\n {appointmenton1 && appointmenttime1 != undefined ?\r\n
\r\n
\r\n {appointmenton != undefined ? methodid == 5 ? dateFormat(appointmenton) : dateUTCFormat(appointmenton) : ''} {localStorage.getItem(\"AppointmentTime\") ? localStorage.getItem(\"AppointmentTime\") : ''}
\r\n
\r\n
\r\n {\r\n {appointmenton1 && appointmenttime1 ? < i className=\"fas fa-calendar-alt\"> : \"\"} {appointmenton1 && appointmenttime1 ? dateUTCFormat(appointmenton1) : ''} {localStorage.getItem(\"AppointmentTime1\") ? localStorage.getItem(\"AppointmentTime1\") : ''}\r\n\r\n }\r\n
\r\n\r\n\r\n {\r\n status == 'reschedule' ?\r\n {languagecontent['reschedule'] == undefined || languagecontent['reschedule'] == null ? \"Reschedule\" : languagecontent['reschedule']} \r\n : \"\"}
:\r\n
{appointmenton != undefined ? methodid == 5 ? dateFormat(appointmenton) : dateFormat(appointmenton) : ''} {localStorage.getItem(\"AppointmentTime\") ? localStorage.getItem(\"AppointmentTime\") : ''}\r\n {\r\n {appointmenton1 && appointmenttime1 ? < i className=\"fas fa-calendar-alt\"> : \"\"} {appointmenton1 && appointmenttime1 ? dateUTCFormat(appointmenton1) : ''} {localStorage.getItem(\"AppointmentTime1\") ? localStorage.getItem(\"AppointmentTime1\") : ''}\r\n \r\n }\r\n\r\n\r\n {\r\n status == 'reschedule' ?\r\n {languagecontent['reschedule'] == undefined || languagecontent['reschedule'] == null ? \"Reschedule\" : languagecontent['reschedule']} \r\n : \"\"}\t
}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\r\n :
\r\n {appointmenton != undefined ? enctypemode == \"noappointment\" || methodid == 3 ? (appointmenton) : dateUTCFormat(appointmenton) : ''} {'-' + appointmenttime != null && appointmenttime != \"\" ? appointmenttime : localStorage.getItem(\"AppointmentTime\") ? localStorage.getItem(\"AppointmentTime\") : ''}\r\n\r\n\r\n {\r\n status == 'reschedule' ?\r\n {languagecontent['reschedule'] == undefined || languagecontent['reschedule'] == null ? \"Reschedule\" : languagecontent['reschedule']} \r\n : \"\"}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\r\n }\r\n {/*{*/}\r\n {/* !localStorage.getItem(\"AppointmentTime1\")?*/}\r\n {/*
*/}\r\n {/* {appointmenton != undefined ? enctypemode == \"noappointment\" || methodid == 3 ? (appointmenton) : dateFormat(appointmenton) : ''} {'-' + appointmenttime != null && appointmenttime != \"\" ? appointmenttime : localStorage.getItem(\"AppointmentTime\") ? localStorage.getItem(\"AppointmentTime\") : ''} */}\r\n\r\n\r\n {/* {*/}\r\n {/* status == 'reschedule' ?*/}\r\n {/* {languagecontent['reschedule'] == undefined || languagecontent['reschedule'] == null ? \"Reschedule\" : languagecontent['reschedule']} */}\r\n {/* : \"\"}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
*/}\r\n {/* : ''*/}\r\n\r\n {/*}*/}\r\n\r\n
{\r\n encDetail == null ? \"\" : {this.props.headerdrprofile.encounterTypeMode == undefined ? encDetail.encounterTypeMode : this.props.headerdrprofile.encounterTypeMode}\r\n } {(localStorage.getItem(\"FinalEncounterName\") && localStorage.getItem(\"ServiceEncounterTypeId\")) == null || \"\" || undefined? \"\" : | {localStorage.getItem(\"FinalEncounterName\")}\r\n }\r\n
\r\n
\r\n }\r\n\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n {\r\n _array[1] == 'doctorprofile' ? \"\" :\r\n
\r\n {\r\n appointmenton ?\r\n
{this.props.headerdrprofile.minPrice == 0 || discount == 0 ? free == \"Yes\" ? languagecontent['fee'] : \"\" : languagecontent['fee']}
\r\n : ''\r\n\r\n }\r\n\r\n {\r\n encDetail == null ? \"\" :
\r\n\r\n {\r\n discount == null || discount == \"\" ?\r\n

\r\n {this.props.headerdrprofile.minPrice == 0 ? free == \"Yes\" ? languagecontent['free'] : \"\" : currency + getDiscountPrice(this.props.headerdrprofile.minPrice, 0)}\r\n\r\n

:\r\n

\r\n {discount == 0 ? free == \"Yes\" ? languagecontent['free'] : \"\" : currency + discount}\r\n

\r\n }\r\n
\r\n }\r\n
\r\n }\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n }\r\n\r\n\r\n\r\n {\r\n this.props.contact.pharmacyName == \"\" ? \"\" : \"\"\r\n }\r\n {\r\n _array[1] == 'doctorprofile' ? \"\" :\r\n\r\n
\r\n
\r\n
\r\n\r\n {\r\n (eprescrition == \"DoseSpot\" || eprescrition == \"Both\") ?\r\n \r\n {\r\n this.props.contact.pharmacyName == \"\" ? \"\" :\r\n \r\n {languagecontent['preferredpharmacy']}: \r\n {this.props.contact.pharmacyName} \r\n {this.props.contact.pharmacyAddress == \"\" ? this.props.contact.pharmacyCity : this.props.contact.pharmacyAddress + \", \" + this.props.contact.pharmacyCity} \r\n {this.props.contact.pharmacyState + \"-\" + this.props.contact.pharmacyZipCode} \r\n \r\n }\r\n : \"\"\r\n }\r\n
\r\n
\r\n
\r\n\r\n }\r\n
\r\n }\r\n
\r\n
: \"\"\r\n }\r\n\r\n\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default connect(\r\n (state: ApplicationState) => ({ ...state.headerDrProfile, ...state.booking, ...state.contact, ...state.account, ...state.langResources, ...state.timeZones }), // Selects which state properties are merged into the component's props\r\n ({ ...HeaderDrProfileStore.actionCreators, ...BookingStore.actionCreators, ...ContactStoreState.actionCreators, ...AccountStore.actionCreators, ...LanguageResourcesStore.actionCreators, ...TimeZoneStore.actionCreators, ...Account.actionCreators, }) // Selects which action creators are merged into the component's props\r\n)(HeaderDrProfile as any);\r\n","import axios from 'axios';\r\nimport { push } from 'connected-react-router';\r\nimport { Action, Reducer } from 'redux';\r\nimport { AppThunkAction } from '../';\r\nimport { errorHandling, errorMessage } from '../../helper/ErrorHandling';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport Moment from 'moment';\r\nimport { toDate } from '../../helper/formvalidation';\r\n\r\nexport interface RescheduleState {\r\n isResceduleLoading: boolean;\r\n}\r\n\r\ninterface RequestRescheduleAction {\r\n type: 'REQUEST_APPOINTMENT_RESCHEDULE';\r\n isResceduleLoading: boolean;\r\n}\r\n\r\ninterface ReceiveRescheduleAction {\r\n type: 'RECEIVE_APPOINTMENT_RESCHEDULE';\r\n isResceduleLoading: boolean;\r\n}\r\n\r\ntype KnownAction = RequestRescheduleAction | ReceiveRescheduleAction;\r\n\r\nexport const actionCreators = {\r\n requestReScheduleUpdate: (formvalue: any, date: any, time: any): AppThunkAction => (dispatch: any, getState: any) => {\r\n const appState: any = getState();\r\n const urlParams: any = new URLSearchParams(window.location.search);\r\n const type = urlParams.get('type');\r\n var noappointment = appState.account.Settings.filter((se: any) => se.name == \"Request Queue\")[0];\r\n if (date != null) {\r\n if (window.location.hostname == \"localhost\") {\r\n if ((noappointment.customizeValue == \"Yes\") && (type == \"noappointment\")) {\r\n var appointmenton = Moment.utc(new Date()).format('YYYY/MM/DD'); //Current datetime\r\n formvalue.AppointmentOn = Moment.utc(toDate(appointmenton + \" \" + formatAMPM(new Date()))).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n } else {\r\n formvalue.AppointmentOn = Moment(localStorage.getItem(\"AppointmentUTCTime\")).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n if (localStorage.getItem(\"AppointmentUTCTime1\"))\r\n formvalue.SecondaryAppointmentOn = Moment(localStorage.getItem(\"AppointmentUTCTime1\")).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n //var appointmenton = Moment.utc(new Date(date)).format('YYYY/MM/DD'); //Current datetime\r\n //var totalMinuteOffset: any = 0;\r\n //if (formvalue.Offset == \"\") {\r\n // var timezone = appState.account.Settings.filter((se: any) => se.name == \"Time Zone\")[0]\r\n // var _timezone = timezone.displayCode.split(\"|\");\r\n // totalMinuteOffset = _timezone[1];\r\n // var d = new Date(appointmenton + \" \" + time);\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(totalMinuteOffset)), 0, 0);\r\n // formvalue.AppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n //} else {\r\n // const tzOffset = formvalue.Offset;\r\n // const [hourOffset, minuteOffset] = tzOffset.split(':').map(Number);\r\n // const totalMinuteOffset = hourOffset * 60 + minuteOffset;\r\n // var d = new Date(appointmenton + \" \" + time);\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(totalMinuteOffset)), 0, 0);\r\n // formvalue.AppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n //}\r\n }\r\n } else {\r\n if ((noappointment.customizeValue == \"Yes\") && (type == \"noappointment\")) {\r\n var appointmenton = Moment(new Date()).format('YYYY/MM/DD');\r\n var datetime: any = toDate(appointmenton + \" \" + formatAMPM(new Date()));\r\n var appointmenttime = DisplayCurrentTime(datetime);\r\n appointmenton = Moment(new Date()).format('YYYY-MM-DD');\r\n var _date = new Date(appointmenton + \"T\" + appointmenttime);\r\n formvalue.AppointmentOn = Moment.utc(_date).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n } else {\r\n formvalue.AppointmentOn = Moment(localStorage.getItem(\"AppointmentUTCTime\")).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n if (localStorage.getItem(\"AppointmentUTCTime1\"))\r\n formvalue.SecondaryAppointmentOn = Moment(localStorage.getItem(\"AppointmentUTCTime1\")).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n //var totalMinuteOffset: any = 0;\r\n //if (formvalue.Offset == \"\") {\r\n // var timezone = appState.account.Settings.filter((se: any) => se.name == \"Time Zone\")[0]\r\n // var _timezone = timezone.displayCode.split(\"|\");\r\n // var offset = _timezone[1];\r\n // var appointmenton = Moment.utc(new Date(date)).format('YYYY/MM/DD');\r\n // var datetime: any = toDate(appointmenton + \" \" + time);\r\n // var d = new Date(appointmenton + \" \" + time); // get current date\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(offset)), 0, 0);\r\n // formvalue.AppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n //} else {\r\n // const tzOffset = formvalue.Offset;\r\n // const [hourOffset, minuteOffset] = tzOffset.split(':').map(Number);\r\n // const totalMinuteOffset = hourOffset * 60 + minuteOffset;\r\n // var appointmenton = Moment.utc(new Date(date)).format('YYYY/MM/DD');\r\n // var datetime: any = toDate(appointmenton + \" \" + time);\r\n // var d = new Date(appointmenton + \" \" + time); // get current date\r\n // d.setHours(d.getHours(), d.getMinutes() - (parseInt(totalMinuteOffset)), 0, 0);\r\n // formvalue.AppointmentOn = Moment(d).format(\"YYYY-MM-DDTHH:mm:ss\");\r\n //}\r\n }\r\n\r\n }\r\n }\r\n var data: any = {\r\n Id: formvalue.appointmentid,\r\n AppointmentOn: formvalue.AppointmentOn,\r\n SecondaryAppointmentOn: formvalue.SecondaryAppointmentOn\r\n }\r\n axios.post('/appointment/ReSchedulePost', data)\r\n .then(function (response) {\r\n dispatch({ type: 'RECEIVE_APPOINTMENT_RESCHEDULE', isResceduleLoading: false });\r\n dispatch(push(\"/success/\" + formvalue.appointmentid))\r\n })\r\n .catch(function (error) {\r\n dispatch({ type: 'RECEIVE_APPOINTMENT_RESCHEDULE', isResceduleLoading: false });\r\n var errorObject = JSON.parse(error.response.data.errorMessage);\r\n if (errorObject.Message == \"No Changes\") {\r\n dispatch(push(\"/success/\" + formvalue.appointmentid))\r\n } else {\r\n errorHandling(error.response.data.statusCode);\r\n }\r\n })\r\n .then(function () {\r\n });\r\n dispatch({ type: 'REQUEST_APPOINTMENT_RESCHEDULE', isResceduleLoading: true});\r\n\r\n }\r\n};\r\n\r\nconst UnloadedState: RescheduleState = {\r\n isResceduleLoading: false\r\n};\r\n\r\n\r\nexport const reducer: Reducer = (state: RescheduleState | undefined, incomingAction: Action): RescheduleState => {\r\n if (state === undefined) {\r\n return UnloadedState;\r\n }\r\n\r\n const action = incomingAction as KnownAction;\r\n switch (action.type) {\r\n case 'REQUEST_APPOINTMENT_RESCHEDULE':\r\n return {\r\n isResceduleLoading: true\r\n };\r\n case 'RECEIVE_APPOINTMENT_RESCHEDULE':\r\n return {\r\n isResceduleLoading: false\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\nconst formatAMPM = (date: any) => {\r\n let hours = date.getHours();\r\n let minutes = date.getMinutes();\r\n let ampm = hours >= 12 ? 'PM' : 'AM';\r\n hours = hours % 12;\r\n hours = hours ? hours : 12;\r\n minutes = minutes.toString().padStart(2, '0');\r\n let strTime = hours + ':' + minutes + ' ' + ampm;\r\n return strTime;\r\n};\r\nfunction DisplayCurrentTime(datetime: Date) {\r\n var date = datetime;\r\n var hours = date.getHours() < 10 ? \"0\" + date.getHours() : date.getHours();\r\n var minutes = date.getMinutes() < 10 ? \"0\" + date.getMinutes() : date.getMinutes();\r\n var seconds = date.getSeconds() < 10 ? \"0\" + date.getSeconds() : date.getSeconds();\r\n return (hours + \":\" + minutes + \":\" + seconds);\r\n};","import * as $ from 'jquery';\r\nimport { isNullOrUndefined } from 'util';\r\nimport Moment from 'moment';\r\n//import * as SiteDetailStore from '../../../store/SiteDetail';\r\n//import { reset } from 'redux-form';\r\n\r\n// Floating Label\r\nexport const datepickerJS = () => {\r\n if ($('.floating').length > 0) {\r\n $('.floating').on('focus blur', function (e) {\r\n $(this).parents('.form-focus').toggleClass('focused', (e.type === 'focus' || this.value.length > 0));\r\n if (e.currentTarget.options != undefined) {\r\n $(this).parents('.form-focus').addClass('focused', (e.type === 'focus' || this.value.length > 0));\r\n }\r\n });\r\n }\r\n}\r\nexport const floatingJS = () => {\r\n setTimeout(function () {\r\n if ($('.floating').length > 0) {\r\n $('.floating').on('focus blur', function (e) {\r\n $(this).parents('.form-focus').toggleClass('focused', (e.type === 'focus' || this.value.length > 0));\r\n if (e.currentTarget.options != undefined) {\r\n $(this).parents('.form-focus').addClass('focused', (e.type === 'focus' || this.value.length > 0));\r\n }\r\n }).trigger('blur');\r\n }\r\n });\r\n \r\n \r\n}\r\n\r\nexport const floatJS = () => {\r\n if ($('.floating').length > 0) {\r\n $('.floating').on('blur keyup keydown focus', function (e) {\r\n $(this).parents('.form-focus').toggleClass('focused', (e.type === 'focus' || this.value.length > 0));\r\n if (e.currentTarget.options != undefined) {\r\n $(this).parents('.form-focus').addClass('focused', (e.type === 'focus' || this.value.length > 0));\r\n }\r\n }).trigger('keydown');\r\n }\r\n}\r\n\r\nexport const formatSizeUnits = (bytes) => {\r\n if (bytes >= 1073741824) { bytes = (bytes / 1073741824).toFixed(2) + \" GB\"; }\r\n else if (bytes >= 1048576) { bytes = (bytes / 1048576).toFixed(2) + \" MB\"; }\r\n else if (bytes >= 1024) { bytes = (bytes / 1024).toFixed(2) + \" KB\"; }\r\n else if (bytes > 1) { bytes = bytes + \" bytes\"; }\r\n else if (bytes == 1) { bytes = bytes + \" byte\"; }\r\n else { bytes = \"0 bytes\"; }\r\n return bytes;\r\n}\r\n\r\n\r\n\r\nexport const groupArrayOfObjects = (list, key) => {\r\n if (list != undefined) {\r\n return list.reduce(function (rv, x) {\r\n (rv[x[key]] = rv[x[key]] || []).push(x);\r\n return rv;\r\n }, {});\r\n }\r\n};\r\n\r\n/*export const mobnav = () => {\r\n $(document).on('click', '.dropdown-item', function () {\r\n $('html').removeClass('menu-opened');\r\n $('.sidebar-overlay').removeClass('opened');\r\n $('main-wrapper').removeClass('slide-nav');\r\n }); \r\n}*/\r\nexport const mobnav = () => {\r\n $(document).on('click', '.dropdown-item', function () {\r\n $('html').removeClass('menu-opened');\r\n $('.sidebar-overlay').removeClass('opened');\r\n $('main-wrapper').removeClass('slide-nav');\r\n });\r\n}\r\nexport const formatBytes = (bytes, decimals = 2) => {\r\n if (bytes === 0) return '0 Bytes';\r\n\r\n const k = 1024;\r\n const dm = decimals < 0 ? 0 : decimals;\r\n const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];\r\n\r\n const i = Math.floor(Math.log(bytes) / Math.log(k));\r\n\r\n return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i];\r\n}\r\nexport const focus = () => {\r\n $('.typefield').addClass('focused');\r\n}\r\nexport const datePicker = () => {\r\n\r\n var maxBirthdayDate = new Date();\r\n maxBirthdayDate.setFullYear(maxBirthdayDate.getFullYear() - 18);\r\n \r\n}\r\nexport const dobcheck = (date,dobchk) => {\r\n \r\n var maxBirthdayDate = new Date();\r\n maxBirthdayDate.setDate(maxBirthdayDate.getDate() + 1);\r\n maxBirthdayDate.setFullYear(maxBirthdayDate.getFullYear() - 18);\r\n function convert(str) {\r\n /* var date = new Date(str),\r\n mnth = (\"0\" + (date.getMonth() + 1)).slice(-2),\r\n day = (\"0\" + date.getDate()).slice(-2);\r\n return [mnth, day, date.getFullYear()].join(\"/\");*/\r\n return Moment(new Date(str)).format(\"D MMM YYYY\");\r\n }\r\n // convert(maxBirthdayDate);\r\n if (dobchk = \"checked\") {\r\n $('.dob').val(date);\r\n }\r\n else if ($('.dob').val() == convert(maxBirthdayDate)) {\r\n \r\n if (date == \"Invalid date\") {\r\n $('.dob').val(\"\");\r\n }\r\n else {\r\n $('.dob').val(date);\r\n \r\n }\r\n } else if (date == null) {\r\n $('.dob').val(\"\");\r\n } else if (date == \"\") {\r\n $('.dob').val(\"\");\r\n } \r\n else if (date == \"undefined\") {\r\n $('.dob').val(\"\");\r\n } else {\r\n $('.dob').val(date);\r\n \r\n }\r\n}\r\n\r\nexport const extdobcheck = (date, dobchk) => {\r\n\r\n var maxBirthdayDate = new Date();\r\n maxBirthdayDate.setDate(maxBirthdayDate.getDate() + 1);\r\n maxBirthdayDate.setFullYear(maxBirthdayDate.getFullYear() - 18);\r\n function convert(str) {\r\n /* var date = new Date(str),\r\n mnth = (\"0\" + (date.getMonth() + 1)).slice(-2),\r\n day = (\"0\" + date.getDate()).slice(-2);\r\n return [mnth, day, date.getFullYear()].join(\"/\");*/\r\n return Moment(new Date(str)).format(\"D MMM YYYY\");\r\n }\r\n // convert(maxBirthdayDate);\r\n if (dobchk == \"checked\") {\r\n return $('.dob').val(date);\r\n }\r\n else if ($('.dob').val() == convert(maxBirthdayDate)) {\r\n\r\n if (date == \"Invalid date\") {\r\n return $('.dob').val(\"\");\r\n }\r\n else {\r\n return $('.dob').val(date);\r\n\r\n }\r\n } else if (date == null) {\r\n return $('.dob').val(\"\");\r\n } else if (date == \"\") {\r\n return $('.dob').val(\"\");\r\n }\r\n else if (date == \"undefined\") {\r\n return $('.dob').val(Moment(new Date(convert(maxBirthdayDate))).format(\"D MMM YYYY\"));\r\n } else if (date == \"Invalid date\") {\r\n return $('.dob').val(\"\");\r\n } else {\r\n return $('.dob').val(date);\r\n }\r\n}\r\n\r\nexport const ModalClose = () => {\r\n $(\"body\").keyup(function (event) {\r\n if (event.keyCode == 27 ) {\r\n //document.getElementById(\"document_upload\").reset();\r\n document.getElementById(\"document_uploadNote\").value = \"\";\r\n document.getElementById(\"document_uploadNote\").innerHTML = \"\";\r\n //$('#document_uploadNote').val('');\r\n \r\n }\r\n });\r\n}\r\nexport function displayControl(coll, color) {\r\n\r\n for (var i = 0, len = coll.length; i < len; i++) {\r\n coll[i].style[\"display\"] = color;\r\n }\r\n}\r\nexport function seo(data = {}) {\r\n \r\n if (window.name != \"\") {\r\n data.title = window.name + \"-\" + data.title || localStorage.getItem(\"siteName\");\r\n }\r\n else {\r\n data.title = data.title || window.name;\r\n }\r\n \r\n data.metaDescription = data.metaDescription || 'Default description';\r\n\r\n window.document.title = data.title;\r\n if (data.pageTitle == \"\" ) {\r\n \r\n document.getElementById('breadcrumb-bar').style.display = \"none\";\r\n }\r\n else {\r\n document.getElementById('breadcrumb-bar').style.display = \"block\";\r\n }\r\n /* if (data.description)\r\n document.getElementById('description').innerHTML = data.description;*/\r\n if (data.pageTitle)\r\n document.getElementById('breadcrumb-title').innerHTML = data.pageTitle;\r\n \r\n // document.querySelector('#breadcrumb-title').innerHTML = data.pageTitle;\r\n //document.querySelector('meta[name=\"description\"]').setAttribute('content', data.metaDescription);\r\n}\r\n\r\nexport const handleReset = () => {\r\n var note = document.querySelector(\"#document_uploadNote\");\r\n note.value = \"\";\r\n $('#dSeleted').prop('selectedIndex', -1);\r\n document.getElementById(\"dSeleted\").value = \"\"; \r\n}\r\nexport function useQuery() {\r\n return new URLSearchParams(window.location.search);\r\n}\r\n\r\nexport const floatJSBack = () => {\r\n\r\n if ($('.floating').length > 0) {\r\n setTimeout(function () {\r\n $('.floating').on('focus blur', function (e) {\r\n \r\n \r\n $(this).parents('.form-focus').toggleClass('focused', (e.type === 'focus' || this.value.length > 0));\r\n if (e.currentTarget.options != undefined) {\r\n $(this).parents('.form-focus').addClass('focused', (e.type === 'focus' || this.value.length > 0));\r\n }\r\n }).trigger('blur');\r\n });\r\n }\r\n else {\r\n setTimeout(function () {\r\n $('.floating').on('focus blur', function (e) {\r\n \r\n $(this).parents('.form-focus').addClass('focused', (e.type === 'focus' || this.value.length > 0));\r\n \r\n }).trigger('blur');\r\n });\r\n }\r\n}\r\n\r\nexport const loadChat = () => {\r\n var fc_JS = document.createElement('script');\r\n fc_JS.type = 'text/javascript';\r\n fc_JS.src = 'https://wchat.freshchat.com/js/widget.js?t=' + Date.now();\r\n (document.body ? document.body : document.getElementsByTagName('head')[0]).appendChild(fc_JS);\r\n window.fcSettings = { token: '30eab18b-748b-49cb-acb0-910fb4fba771', host: 'https://wchat.freshchat.com' };\r\n}\r\n\r\nexport const menuFunction = () => {\r\n $('body').append('
');\r\n $(document).on('click', '#mobile_btn', function () {\r\n $('main-wrapper').toggleClass('slide-nav');\r\n $('.sidebar-overlay').toggleClass('opened');\r\n $('html').addClass('menu-opened');\r\n return false;\r\n });\r\n\r\n //$(document).on('click', '.sidebar-overlay', function () {\r\n // $('html').removeClass('menu-opened');\r\n // $(this).removeClass('opened');\r\n // $('main-wrapper').removeClass('slide-nav');\r\n //});\r\n\r\n //$(document).on('click', '.sidebar-overlay', function () {\r\n // $('html').removeClass('menu-opened');\r\n // $(this).removeClass('opened');\r\n // $('main-wrapper').removeClass('slide-nav');\r\n //});\r\n $(document).on('click', '.sidebar-overlay', function () {\r\n $('html').removeClass('menu-opened');\r\n $('.sidebar-overlay').removeClass('opened');\r\n $('.main-wrapper').removeClass('slide-nav');\r\n });\r\n\r\n $(document).on('click', '#menu_close', function () {\r\n $('html').removeClass('menu-opened');\r\n $('.sidebar-overlay').removeClass('opened');\r\n $('main-wrapper').removeClass('slide-nav');\r\n });\r\n\r\n $(document).on('click', '.dropdown-item', function () {\r\n $('html').removeClass('menu-opened');\r\n $('.sidebar-overlay').removeClass('opened');\r\n $('main-wrapper').removeClass('slide-nav');\r\n });\r\n}\r\n\r\nexport function ltrim(str) {\r\n if (!str) return str;\r\n //return str.replace(/^\\s+/g, '');\r\n return str.replace(/^\\s+|\\s+$/g, '');\r\n}","import * as React from 'react'\r\nimport ContentLoader from \"react-content-loader\"\r\n\r\n\r\nvar langdata: any = \"\";\r\n\r\nif (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n\tlangdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n\r\nexport const searchLoader = () => (\r\n\t\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
\r\n\t\t
\r\n\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t
\r\n\t\t
\r\n\t
\r\n);\r\n\r\nexport const TextLoader = () => {\r\n\treturn (\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t)\r\n}\r\n\r\nexport const SingleTextLoader = () => {\r\n\treturn (\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t)\r\n}\r\n\r\nexport const TextBoxLoader = () => {\r\n\treturn (\r\n\t\t
\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t
\r\n\t)\r\n}\r\n\r\nexport const BoxLoader = () => {\r\n\treturn (\r\n\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\t)\r\n}\r\nexport const DashBoardContentLoading = () => {\r\n\treturn (\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\r\n\t)\r\n}\r\nexport const DashBoardPageLoading = () => {\r\n\treturn (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n\t)\r\n}","import * as React from 'react'\r\nimport { Meta } from '../store/account/Login';\r\nimport * as Contact from '../components/Patient/Contact';\r\nimport { AsyncTypeahead } from 'react-bootstrap-typeahead';\r\nimport Moment from 'moment';\r\nimport { Field, reduxForm } from 'redux-form';\r\nimport ContentLoader from 'react-content-loader';\r\nimport { TextBoxLoader } from './fbloader';\r\nimport { useEffect, useState } from 'react';\r\n\r\nexport const renderField = ({\r\n input,\r\n type,\r\n label,\r\n maxLength,\r\n bindvalue,\r\n isContentLoading,\r\n meta: { touched, error, warning }\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n maxLength: number;\r\n bindvalue: string;\r\n isContentLoading: string;\r\n meta: Meta;\r\n\r\n\r\n}) => (\r\n \r\n \r\n \r\n \r\n)\r\nexport const renderQuestionField = ({\r\n input,\r\n type,\r\n label,\r\n maxLength,\r\n bindvalue,\r\n isContentLoading,\r\n meta: { touched, error, warning },\r\n placeholder\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n maxLength: number;\r\n bindvalue: string;\r\n isContentLoading: string;\r\n meta: Meta;\r\n placeholder: any;\r\n\r\n\r\n}) => (\r\n \r\n \r\n \r\n \r\n \r\n)\r\nexport const renderDisabledField = ({\r\n input,\r\n type,\r\n label,\r\n maxLength,\r\n bindvalue,\r\n meta: { touched, error, warning }\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n maxLength: number;\r\n bindvalue: string;\r\n meta: Meta;\r\n\r\n\r\n}) => (\r\n
\r\n \r\n \r\n {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n)\r\nexport const renderFieldHidden = ({\r\n input,\r\n type,\r\n label,\r\n maxLength,\r\n bindvalue,\r\n meta: { touched, error, warning }\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n maxLength: number;\r\n bindvalue: string;\r\n meta: Meta;\r\n\r\n\r\n}) => (\r\n
\r\n \r\n\r\n
\r\n)\r\n\r\nexport const renderHidden = ({\r\n input,\r\n type,\r\n label,\r\n maxLength,\r\n bindvalue,\r\n meta: { touched, error, warning }\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n maxLength: number;\r\n bindvalue: string;\r\n meta: Meta;\r\n\r\n\r\n}) => (\r\n
\r\n \r\n\r\n
\r\n)\r\n\r\nexport const renderDatePicker = ({\r\n input,\r\n type,\r\n label,\r\n bindvalue,\r\n meta: { touched, error, warning }\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n bindvalue: string;\r\n meta: Meta;\r\n\r\n}) => (\r\n
\r\n \r\n \r\n {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n)\r\n\r\nexport const renderDob = ({\r\n input,\r\n type,\r\n label,\r\n bindvalue,\r\n class1,\r\n meta: { touched, error, warning }\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n bindvalue: string;\r\n meta: Meta;\r\n class1: string;\r\n\r\n}) => (\r\n \r\n {\r\n label == undefined ? :\r\n
\r\n \r\n \r\n {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n }\r\n
\r\n)\r\nexport const renderDoctorDob = ({\r\n input,\r\n type,\r\n label,\r\n bindvalue,\r\n class1,\r\n meta: { touched, error, warning }\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n bindvalue: string;\r\n meta: Meta;\r\n class1: string;\r\n\r\n}) => (\r\n \r\n {\r\n label == undefined ? :\r\n
\r\n \r\n \r\n {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n }\r\n
\r\n)\r\nexport const renderInsurenceDob = ({\r\n input,\r\n type,\r\n label,\r\n bindvalue,\r\n class1,\r\n loading,\r\n meta: { touched, error, warning }\r\n}: {\r\n input: any;\r\n loading: any;\r\n type: string;\r\n label: string;\r\n bindvalue: string;\r\n meta: Meta;\r\n class1: string;\r\n\r\n}) => (\r\n \r\n\r\n \r\n \r\n \r\n\r\n)\r\n\r\nexport const renderExpDob = ({\r\n input,\r\n type,\r\n label,\r\n bindvalue,\r\n class1,\r\n loading,\r\n meta: { touched, error, warning }\r\n}: {\r\n input: any;\r\n loading: any;\r\n type: string;\r\n label: string;\r\n bindvalue: string;\r\n meta: Meta;\r\n class1: string;\r\n\r\n}) => (\r\n \r\n\r\n \r\n \r\n \r\n\r\n)\r\n\r\n//export const renderExpDob = ({\r\n// input,\r\n// type,\r\n// label,\r\n// bindvalue,\r\n// class1,\r\n// loading,\r\n// meta: { touched, error, warning }\r\n//}: {\r\n// input: any;\r\n// loading: any;\r\n// type: string;\r\n// label: string;\r\n// bindvalue: string;\r\n// meta: Meta;\r\n// class1: string;\r\n\r\n// }) => (\r\n// \r\n//
\r\n// \r\n// \r\n// {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n//
\r\n//
\r\n//)\r\n\r\nexport const renderSelectField = ({\r\n input,\r\n type,\r\n label,\r\n bindvalue,\r\n select,\r\n meta: { touched, error, warning },\r\n options\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n bindvalue: string;\r\n select: string;\r\n meta: Meta;\r\n options: any;\r\n}) => (\r\n \r\n \r\n \r\n {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n)\r\n\r\nexport const renderSelectFieldEncounter = ({\r\n input,\r\n type,\r\n label,\r\n bindvalue,\r\n select,\r\n meta: { touched, error, warning },\r\n options,\r\n disabled,\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n bindvalue: string;\r\n select: string;\r\n meta: Meta;\r\n options: any;\r\n disabled: any;\r\n}) => (\r\n \r\n {options.length != 0 ?\r\n \r\n : \"\"\r\n }\r\n \r\n {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n)\r\n\r\nexport const renderInsuranceSelectField = ({\r\n input,\r\n type,\r\n label,\r\n bindvalue,\r\n select,\r\n meta: { touched, error, warning },\r\n options\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n bindvalue: string;\r\n select: string,\r\n meta: Meta;\r\n options: any;\r\n}) => (\r\n \r\n \r\n \r\n {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n)\r\nexport const renderStateSelectField = ({\r\n input,\r\n type,\r\n label,\r\n select,\r\n bindvalue,\r\n meta: { touched, error, warning },\r\n options\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n bindvalue: string;\r\n meta: Meta;\r\n options: any;\r\n select: any;\r\n}) => (\r\n \r\n \r\n \r\n {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n)\r\nexport const renderSelectOptionField = ({\r\n input,\r\n type,\r\n label,\r\n bindvalue,\r\n onChange,\r\n meta: { touched, error, warning },\r\n options\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n bindvalue: string;\r\n meta: Meta;\r\n onChange: any,\r\n options: any;\r\n}) => (\r\n \r\n \r\n {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n)\r\n\r\nexport const renderTextSelectOptionField = ({\r\n input,\r\n type,\r\n label,\r\n bindvalue,\r\n meta: { touched, error, warning },\r\n options\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n bindvalue: string;\r\n meta: Meta;\r\n options: any;\r\n}) => (\r\n \r\n \r\n {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n)\r\nexport const renderRequiredSelect = ({\r\n input,\r\n type,\r\n label,\r\n bindvalue,\r\n select,\r\n meta: { touched, error, warning },\r\n options\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n bindvalue: string;\r\n select: string,\r\n meta: Meta;\r\n options: any;\r\n}) => (\r\n \r\n \r\n \r\n {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n)\r\nexport const renderIdSelectField = ({\r\n input,\r\n type,\r\n label,\r\n bindvalue,\r\n onChange,\r\n meta: { touched, error, warning },\r\n options\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n bindvalue: string;\r\n meta: Meta;\r\n options: any;\r\n onChange: any;\r\n}) => (\r\n \r\n \r\n \r\n {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n)\r\n\r\nvar langdata: any = \"\";\r\nif (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n\r\nvar languagecode: any = localStorage.getItem(\"DefaultLangCode\");\r\nexport const renderAutoComplete = ({\r\n input,\r\n type,\r\n label,\r\n meta: { touched, error, warning },\r\n Locations,\r\n isLoading,\r\n onSearch,\r\n onChangeMethod,\r\n value,\r\n autoCompleteData,\r\n ...props\r\n}: {\r\n input: string;\r\n type: string;\r\n label: string;\r\n meta: Meta;\r\n Locations: any;\r\n isLoading: boolean,\r\n Location: any,\r\n onSearch: any,\r\n onChangeMethod: any,\r\n value: any,\r\n autoCompleteData: any,\r\n}) => (\r\n \r\n {\r\n label == undefined ? :\r\n
\r\n `${option.Name}` + `, ` + `${option.Description != null ? `\\n` : \"\"}` + `${option.Description != null ? option.Description : \"\"}`}\r\n options={props.Location}\r\n filterBy={() => true}\r\n useCache={false}\r\n isLoading={isLoading}\r\n onSearch={onSearch}\r\n paginate={true}\r\n emptyLabel={languagecode == \"en-us\" ? \"No matches found.\" : \"No se encontraron coincidencias.\"}\r\n searchText={languagecode == \"en-us\" ? \"Type to search...\" : \"Escribe para buscar...\"}\r\n promptText={languagecode == \"en-us\" ? \"Searching...\" : \"Buscando...\"}\r\n defaultInputValue={autoCompleteData}\r\n onChange={onChangeMethod}\r\n selectHintOnEnter\r\n renderInput={({ inputRef, referenceElementRef, ...inputProps }: any) => (\r\n
\r\n {\r\n inputRef(inputNode);\r\n referenceElementRef(inputNode);\r\n }}\r\n />\r\n \r\n {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n )}\r\n />\r\n
\r\n }\r\n
\r\n)\r\n\r\nexport const renderTimeZoneAutoComplete = ({\r\n input,\r\n type,\r\n label,\r\n meta: { touched, error, warning },\r\n TimeZones,\r\n isTimeZoneLoading,\r\n onTimeZoneSearch,\r\n onChangeTimeZoneMethod,\r\n value,\r\n autoCompleteData,\r\n ...props\r\n}: {\r\n input: any;\r\n type: string;\r\n label: string;\r\n meta: Meta;\r\n TimeZones: any;\r\n isTimeZoneLoading: boolean,\r\n TimeZone: any,\r\n onTimeZoneSearch: any,\r\n onChangeTimeZoneMethod: any,\r\n value: any,\r\n autoCompleteData: any,\r\n}) => (\r\n \r\n {\r\n label == undefined ? :\r\n
\r\n `${option.Name}`}\r\n options={props.TimeZone}\r\n isLoading={isTimeZoneLoading}\r\n onSearch={onTimeZoneSearch}\r\n paginate={true} \r\n emptyLabel={languagecode == \"en-us\" ? \"No matches found.\" : \"No se encontraron coincidencias.\"}\r\n searchText={languagecode == \"en-us\" ? \"Type to search...\" : \"Escribe para buscar...\"}\r\n promptText={languagecode == \"en-us\" ? \"Searching...\" : \"Buscando...\"}\r\n defaultInputValue={autoCompleteData}\r\n onChange={onChangeTimeZoneMethod}\r\n selectHintOnEnter\r\n renderInput={({ inputRef, referenceElementRef, ...inputProps }: any) => (\r\n
\r\n {\r\n inputRef(inputNode);\r\n referenceElementRef(inputNode);\r\n }}\r\n />\r\n \r\n {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n )}\r\n />\r\n
\r\n }\r\n
\r\n)\r\n\r\nexport const renderReasonAutoComplete = ({\r\n input,\r\n type,\r\n label,\r\n meta: { touched, error, warning },\r\n reasons,\r\n isLoading,\r\n onSearch,\r\n onChangeMethod,\r\n localReason,\r\n disabled,\r\n required,\r\n ...props\r\n}: {\r\n input: any;\r\n type: string;\r\n label: string;\r\n meta: Meta;\r\n reasons: any;\r\n isLoading: boolean,\r\n Reason: any,\r\n onSearch: any,\r\n onChangeMethod: any,\r\n localReason: any,\r\n disabled: any,\r\n required: any,\r\n}) => (\r\n\r\n \r\n {\r\n label == undefined ? :\r\n
\r\n `${option.Name}`}\r\n options={props.Reason}\r\n isLoading={isLoading}\r\n minLength={1}\r\n onSearch={onSearch}\r\n paginate={true}\r\n emptyLabel={languagecode == \"en-us\" ? \"No matches found.\" : \"No se encontraron coincidencias.\"}\r\n searchText={languagecode == \"en-us\" ? \"Type to search...\" : \"Escribe para buscar...\"}\r\n promptText={languagecode == \"en-us\" ? \"Searching...\" : \"Buscando...\"}\r\n defaultInputValue={localReason}\r\n onChange={onChangeMethod}\r\n disabled={disabled}\r\n required={required}\r\n \r\n renderInput={({ inputRef, referenceElementRef, ...inputProps }: any) => (\r\n
\r\n {\r\n inputRef(inputNode);\r\n referenceElementRef(inputNode);\r\n }}\r\n style={{ backgroundColor: \"transparent\" }}/>\r\n \r\n {touched && inputProps.value==\"\" && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n )}\r\n />\r\n
\r\n }\r\n
\r\n\r\n)\r\nexport const renderInsuranceautoComplete = ({\r\n maxLength,\r\n input,\r\n type,\r\n label,\r\n meta: { touched, error, warning },\r\n Locations,\r\n isLoading,\r\n onSearch,\r\n onChangeMethod,\r\n value,\r\n autoCompleteData,\r\n ...props\r\n}: {\r\n maxLength: number,\r\n input: string;\r\n type: string;\r\n label: string;\r\n meta: Meta;\r\n Locations: any;\r\n isLoading: boolean,\r\n Location: any,\r\n onSearch: any,\r\n onChangeMethod: any,\r\n value: any,\r\n autoCompleteData: any,\r\n}) => (\r\n \r\n {\r\n label == undefined ? :\r\n
\r\n `${option.Name}`}\r\n options={props.Location}\r\n isLoading={isLoading}\r\n onSearch={onSearch}\r\n paginate={true}\r\n \r\n emptyLabel={languagecode == \"en-us\" ? \"No matches found.\" : \"No se encontraron coincidencias.\"}\r\n searchText={languagecode == \"en-us\" ? \"Type to search...\" : \"Escribe para buscar...\"}\r\n promptText={languagecode == \"en-us\" ? \"Searching...\" : \"Buscando...\"}\r\n defaultInputValue={autoCompleteData}\r\n onChange={onChangeMethod}\r\n selectHintOnEnter\r\n renderInput={({ inputRef, referenceElementRef, ...inputProps }: any) => (\r\n
\r\n {\r\n inputRef(inputNode);\r\n referenceElementRef(inputNode);\r\n }}\r\n maxLength={maxLength}\r\n />\r\n \r\n {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n
\r\n )}\r\n />\r\n
\r\n }\r\n
\r\n)\r\n//export const renderInsuranceautoComplete = ({\r\n// input,\r\n// type,\r\n// label,\r\n// meta: { touched, error, warning },\r\n// reasons,\r\n// isLoading,\r\n// onSearch,\r\n// onChangeMethod,\r\n// ...props\r\n//}: {\r\n// input: string;\r\n// type: string;\r\n// label: string;\r\n// meta: Meta;\r\n// reasons: any;\r\n// isLoading: boolean,\r\n// Reason: any,\r\n// onSearch: any,\r\n// onChangeMethod: any\r\n//}) => (\r\n//
\r\n// `${option.Name}`}\r\n// options={props.Reason}\r\n// isLoading={isLoading}\r\n// minLength={1}\r\n// onSearch={onSearch}\r\n// paginate={true}\r\n// onChange={onChangeMethod}\r\n// renderInput={({ inputRef, referenceElementRef, ...inputProps }: any) => (\r\n//
\r\n// {\r\n// inputRef(inputNode);\r\n// referenceElementRef(inputNode);\r\n// }}\r\n// />\r\n// \r\n// {touched && ((error &&
{error}
) || (warning && {warning}))}\r\n//
\r\n// )}\r\n// />\r\n//
Required
\r\n//
\r\n//)\r\nexport const renderTextareaField = ({\r\n input,\r\n type,\r\n label,\r\n maxLength,\r\n bindvalue,\r\n id,\r\n dataClass,\r\n addClass,\r\n dataRule,\r\n placeholder,\r\n meta: { touched, error, warning }\r\n}: {\r\n input: any;\r\n type: string;\r\n label: string;\r\n id: any;\r\n dataRule: any;\r\n maxLength: number;\r\n bindvalue: string;\r\n meta: Meta;\r\n dataClass: any;\r\n addClass: any;\r\n placeholder: any\r\n\r\n}) => (\r\n \r\n\r\n \r\n \r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n

\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n\t\t\t\t\t\t\t
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n

\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n\t\t\t\t\t\t\t
\r\n
\r\n \r\n\t\t\t\t\t\t\t
\r\n
\r\n \r\n\t\t\t\t\t\t\t
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n Dropdown \r\n
\r\n Action\r\n Another action\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n\t\t\t\t\t\t
\r\n
\r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n
\r\n\r\n\r\n);\r\n\r\nexport default connect()(customform);","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { ApplicationState } from '../../store';\r\nimport * as PaymentProcessStore from '../../store/payment/PaymentProcess';\r\nimport { floatingJS, mobnav, seo } from '../../helper/Script';\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\nimport {scrollTop, setTittle } from '../../helper/formvalidation';\r\n// At runtime, Redux will merge together...\r\ntype PaymentProcessStoreProps =\r\n\tPaymentProcessStore.PaymentProcessState & LanguageResourcesStore.LanguageResouresState // ... state we've requested from the Redux store\r\n\t& typeof PaymentProcessStore.actionCreators & typeof LanguageResourcesStore.actionCreators // ... plus action creators we've requested\r\n\t& RouteComponentProps<{ startDateIndex: string }>; // ... plus incoming routing parameters\r\nconst urlParams = new URLSearchParams(window.location.search);\r\nconst myParam = urlParams.get('type');\r\nif (myParam == \"selfpay\") {\r\n\tlocalStorage.setItem(\"selfpayurl\", window.location.href);\r\n}\r\nvar languagecontent: any = \"\";\r\nclass Success extends React.PureComponent {\r\n\r\n\tconstructor(props: any) {\r\n\t\tsuper(props);\r\n\t}\r\n\t// This method is called when the component is first added to the document\r\n\tpublic componentDidMount() {\r\n\t\tthis.ensureDataFetched();\r\n\t\tscrollTop();\r\n\t\tmobnav();\r\n\t}\r\n\tcomponentDidUpdate() {\r\n\t\tseo(setTittle(languagecontent == \"\" ? \"\" : languagecontent['breadcrumb']));\r\n\t}\r\n\t\r\n\r\n\tpublic render() {\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{this.renderPaymentDetail()}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n\t\r\n\tprivate ensureDataFetched() {\r\n\t\tthis.props.getLangResources();\r\n\t\tconst urlParams = new URLSearchParams(window.location.search);\r\n\t\tconst isemail = urlParams.get('isEmail');\r\n\t\tconst memberid = urlParams.get('memberid');\r\n\t\tif (isemail == \"true\") {\r\n\t\t\tlocalStorage.removeItem(\"selfpayurl\");\r\n\t\t\tthis.props.requestPaymentlinkValidation(this.props.match.params, memberid);\r\n\t\t} else {\r\n\t\t\tthis.props.requestPostPaymentProcess(this.props.match.params);\r\n\t\t}\r\n\t}\r\n\t\r\n\tprivate renderPaymentDetail() {\r\n\t\tlanguagecontent = this.props.LanguageResoures;\r\n\t\tif (this.props.paymentdetail == undefined) {\r\n\t\t\treturn;\r\n }\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t

{languagecontent['pleasewait']}...

\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default connect(\r\n\t(state: ApplicationState) => ({ ...state.paymentProcess, ...state.langResources }), // Selects which state properties are merged into the component's props\r\n\t({ ...PaymentProcessStore.actionCreators, ...LanguageResourcesStore.actionCreators })// Selects which action creators are merged into the component's props\r\n)(Success as any);\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { ApplicationState } from '../../store/index';\r\nimport * as TimingStore from '../../store/patient/Booking';\r\nimport * as ConditionStore from '../../store/appointment/Condition';\r\nimport * as LoginStore from '../../store/account/Login';\r\nimport * as NavMenuStore from '../../store/menu/NavDefault';\r\nimport * as HeaderDrProfileStore from '../../store/widget/HeaderDrProfile';\r\nimport * as AccountStore from '../../store/siteaccount/Account';\r\nimport * as TimeZoneStore from '../../store/autoComplete/timeZone';\r\nimport * as GetProviderId from '../../store/patient/getProviderId';\r\nimport ContentLoader, { Facebook } from 'react-content-loader';\r\nimport Moment, { locale } from 'moment';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport HeaderDrProfile from '../widget/HeaderDrProfile';\r\nimport { mobnav, seo } from '../../helper/Script';\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\nimport * as MenuHideStore from '../../store/menuHide';\r\nimport * as RescheduleState from '../../store/appointment/Reschedule';\r\nimport { dateUTCFormat} from '../../helper/formvalidation';\r\nimport { scrollTop, setTittle, checkFamilyMember } from '../../helper/formvalidation';\r\ntype TimingProps =\r\n TimingStore.BookingState & ConditionStore.ConditionState & LoginStore.LoginState & NavMenuStore.NavDefaultState & HeaderDrProfileStore.HeaderDrProfileState & AccountStore.AccountState & TimeZoneStore.TimeZoneState & GetProviderId.GetProviderIdState & LanguageResourcesStore.LanguageResouresState & MenuHideStore.MenuHideState & RescheduleState.RescheduleState // ... state we've requested from the Redux store\r\n & typeof TimingStore.actionCreators & typeof ConditionStore.actionCreators & typeof LoginStore.actionCreators & typeof NavMenuStore.actionCreators & typeof HeaderDrProfileStore.actionCreators & typeof AccountStore.actionCreators & typeof TimeZoneStore.actionCreators & typeof GetProviderId.actionCreators & typeof LanguageResourcesStore.actionCreators & typeof MenuHideStore.actionCreators & typeof RescheduleState.actionCreators// ... plus action creators we've requested\r\n & RouteComponentProps<{ startDateIndex: string }>; // ... plus incoming routing parameters\r\nvar seletedday = \"\";\r\nvar timeSeleted = \"\";\r\nvar encountertypeid = \"\";\r\nvar indexdata = 0;\r\nvar weekindex = 0;\r\nvar TimeIndex: any = \"\";\r\nvar serviceid: any = \"\";\r\nvar _currentoffset: any = \"\";\r\nvar languagecontent: any = \"\";\r\nvar langdata: any = \"\";\r\nvar consultationfree: any = [];\r\nvar preferredtimeslot: any = [];\r\nvar pickaprovider: any = [];\r\nvar sitesetting: any = [];\r\nvar Currenttimezone: any = [];\r\nvar datepicker: any = [];\r\nclass Booking extends React.PureComponent {\r\n \r\n onSubmit = () => {\r\n var langdata: any;\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n if (!localStorage.getItem(\"AppointmentTime\") && localStorage.getItem(\"AppointmentTime1\")) {\r\n localStorage.setItem(\"AppointmentOn\", localStorage.getItem(\"AppointmentOn1\") || \"\")\r\n localStorage.setItem(\"AppointmentTime\", localStorage.getItem(\"AppointmentTime1\") || \"\")\r\n localStorage.setItem(\"AppointmentUTCTime\", localStorage.getItem(\"AppointmentUTCTime1\") || \"\")\r\n localStorage.removeItem(\"AppointmentOn1\")\r\n localStorage.removeItem(\"AppointmentTime1\")\r\n localStorage.removeItem(\"AppointmentUTCTime1\")\r\n }\r\n\r\n var time = localStorage.getItem(\"AppointmentTime\");\r\n var date = localStorage.getItem(\"AppointmentOn\");\r\n if (!localStorage.getItem(\"AppointmentTime1\"))\r\n localStorage.removeItem(\"AppointmentOn1\")\r\n var time1 = localStorage.getItem(\"AppointmentTime1\");\r\n var date1 = localStorage.getItem(\"AppointmentOn1\");\r\n var encDetailStroage: any = localStorage.getItem('EncDetail');\r\n var encDetail = JSON.parse(encDetailStroage);\r\n if (encDetail == null) {\r\n return toastr.error('', \"Please select appointment type\");\r\n }\r\n if ((time == null) || (date == null))\r\n return toastr.error('', langdata['selectdateandtime']);\r\n this.props.encounterTypes.filter(function (value) {\r\n return value.name === \"PPT\"\r\n });\r\n this.props.encounterTypes.forEach(value => {\r\n encountertypeid = value.id\r\n })\r\n localStorage.setItem(\"EncounterTypeId\", encountertypeid);\r\n this.props.redirectCentralized(localStorage.getItem('ProviderId'), this.props.match.params, \"2\", time, date, time1, date1, encountertypeid, encDetail.encounterTypeMode, encDetail.durationCode, encDetail.encounterTypeModeDurationId, encDetail.minPrice, serviceid);\r\n }\r\n selectEncType = (value: any) => {\r\n localStorage.setItem(\"EncDetail\", JSON.stringify({ durationCode: value.durationCode, encounterTypeMode: value.encounterTypeMode, minPrice: value.price, encounterTypeModeDurationId: value.encounterTypeModeDurationId, serviceId: value.serviceId, modeCode: value.modeCode }))\r\n const today = Moment(new Date()).format('YYYY-MM-DD');\r\n seletedday = Moment(new Date()).format('ddd');\r\n //localStorage.removeItem(\"AppointmentOn\");\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const name = urlParams.get('status');\r\n serviceid = value.serviceId;\r\n localStorage.removeItem(\"AppointmentTime\");\r\n localStorage.removeItem(\"AppointmentUTCTime\");\r\n window.document.getElementsByClassName(\"time\")[0].innerHTML = \"\";\r\n localStorage.removeItem(\"AppointmentTime1\");\r\n localStorage.removeItem(\"AppointmentUTCTime1\");\r\n localStorage.removeItem(\"AppointmentOn1\");\r\n localStorage.removeItem(\"SelectedDate\");\r\n if (preferredtimeslot == \"Yes\" && pickaprovider == \"No\") {\r\n window.document.getElementsByClassName(\"time1\")[0].innerHTML = \"\";\r\n }\r\n\r\n //this.props.headerdrprofile.minPrice = value.minPrice;\r\n //this.props.headerdrprofile.encounterTypeMode = value.encounterTypeMode;\r\n //this.props.headerdrprofile.modeCode = value.modeCode;\r\n //if (localStorage.getItem('AppointmentOn'))\r\n // this.props.requestTiming(localStorage.getItem('AppointmentOn') || today, this.props.match.params, \"centralized\");\r\n //else\r\n // this.props.requestTiming(today, \"-\", \"centralized\");\r\n if (name != 'reschedule') {\r\n localStorage.setItem(\"EncDetail\", JSON.stringify({ durationCode: value.durationCode, encounterTypeMode: value.encounterTypeMode, minPrice: value.price, encounterTypeModeDurationId: value.encounterTypeModeDurationId, serviceId: value.serviceId, modeCode: value.modeCode }))\r\n const today = Moment(new Date()).format('YYYY-MM-DD');\r\n seletedday = Moment(new Date()).format('ddd');\r\n //localStorage.removeItem(\"AppointmentOn\");\r\n serviceid = value.serviceId;\r\n //localStorage.removeItem(\"AppointmentTime\");\r\n window.document.getElementsByClassName(\"time\")[0].innerHTML = \"\";\r\n this.props.headerdrprofile.minPrice = value.Price;\r\n this.props.headerdrprofile.encounterTypeMode = value.encounterTypeMode;\r\n this.props.headerdrprofile.modeCode = value.modeCode;\r\n this.props.headerdrprofile.durationCode = value.durationCode;\r\n this.props.headerdrprofile.encounterTypeModeDurationId = value.encounterTypeModeDurationId;\r\n if (localStorage.getItem('AppointmentOn'))\r\n this.props.requestTiming(localStorage.getItem('AppointmentOn') || today, this.props.match.params, \"centralized\");\r\n else\r\n this.props.requestTiming(today, \"-\", \"centralized\");\r\n mobnav();\r\n }\r\n }\r\n constructor(props: any) {\r\n super(props);\r\n this.state = {\r\n isLoading: true,\r\n isShowTZNotification: false \r\n };\r\n }\r\n state = {\r\n isLoading: true,\r\n isShowTZNotification: false\r\n };\r\n public componentDidMount() {\r\n this.ensureDataFetched();\r\n //this.onDateload();\r\n scrollTop();\r\n checkFamilyMember();\r\n\r\n const patientLocalStroage: any = localStorage.getItem('Patient');\r\n const patient = JSON.parse(patientLocalStroage);\r\n if (patient != null) {\r\n if (patient.timeZone != \"\") {\r\n this.props.requestTimeZone(patient.timeZone);\r\n }\r\n }\r\n if (preferredtimeslot == \"Yes\" && pickaprovider == \"No\") {\r\n localStorage.removeItem(\"Appointment\");\r\n localStorage.removeItem(\"Discount\");\r\n if (localStorage.getItem('AppointmentBookedOn') != localStorage.getItem('AppointmentOn')) {\r\n localStorage.removeItem('AppointmentOn')\r\n localStorage.removeItem('AppointmentOn1')\r\n }\r\n }\r\n else {\r\n localStorage.removeItem(\"Appointment\");\r\n localStorage.removeItem(\"Discount\"); \r\n if (localStorage.getItem('AppointmentBookedOn') != localStorage.getItem('AppointmentOn'))\r\n localStorage.removeItem('AppointmentOn')\r\n }\r\n }\r\n componentDidUpdate() {\r\n seo(setTittle(languagecontent == \"\" ? \"\" : languagecontent['breadcrumb']));\r\n }\r\n\r\n \r\n public render() {\r\n return (\r\n \r\n {this.renderTiming()}\r\n \r\n );\r\n }\r\n pageprevious = () => {\r\n window.history.go(-1);\r\n }\r\n private ensureDataFetched() {\r\n var isAuthenticated: any = localStorage.getItem(\"isAuth\");\r\n if (isAuthenticated == null) {\r\n window.location.href = \"/login\";\r\n }\r\n this.props.getSiteSetting(null);\r\n this.props.requestMenuHide(false);\r\n this.props.getLangResources();\r\n var currentTime = new Date();\r\n this.props.requestHeaderDrProfile(\"-\");\r\n localStorage.removeItem(\"Discount\");\r\n localStorage.removeItem(\"DiscountId\");\r\n localStorage.removeItem(\"DiscountAmount\");\r\n localStorage.removeItem(\"TotalAmount\");\r\n \r\n const patientLocalStroage: any = localStorage.getItem('Patient');\r\n const patient = JSON.parse(patientLocalStroage);\r\n\r\n var currentOffset = currentTime.getTimezoneOffset();\r\n\r\n var SettingOffset = patient && patient.offset ? patient.offset : parseInt(localStorage.getItem('timeOffset') || \"\"); // IST offset UTC +5:30\r\n\r\n var ConvertedTime = new Date(currentTime.getTime() + (SettingOffset + currentOffset) * 60000);\r\n\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n\r\n const today = Moment(ConvertedTime).format('YYYY-MM-DD');\r\n //const today = Moment(new Date()).format('YYYY-MM-DD');\r\n var langcode: any = localStorage.getItem('DefaultLangCode');\r\n seletedday = Moment(new Date()).format('ddd'); locale(langcode.split(\"-\")[0]);\r\n if (localStorage.getItem('AppointmentBookedOn')) {\r\n\r\n this.props.requestTiming(localStorage.getItem('AppointmentBookedOn') || today, \"-\", \"centralized\");\r\n this.props.storeTime(localStorage.getItem('AppointmentTime'))\r\n\r\n } else {\r\n this.props.requestTiming(today, \"-\", \"centralized\");\r\n }\r\n this.props.requestEncounterType();\r\n mobnav();\r\n this.setState({\r\n isShowTZNotification: false\r\n });\r\n localStorage.removeItem(\"TimeZoneTimeSlot\");\r\n }\r\n\r\n closeTZ = () => {\r\n this.setState({\r\n isShowTZNotification: true\r\n })\r\n }\r\n\r\n updateTimeZone = () => {\r\n localStorage.setItem(\"TimeZoneTimeSlot\", window.location.href);\r\n if (localStorage.getItem(\"isAuth\") == \"true\") {\r\n var patientLocalStroage: any = localStorage.getItem('Patient');\r\n var patient = JSON.parse(patientLocalStroage);\r\n window.location.href = \"/profilesettings/\" + patient.memberId;\r\n } else {\r\n window.location.href = \"/login\";\r\n }\r\n }\r\n\r\n openDatePicker = () => {\r\n var element1: any = document.getElementById(\"datePicker\");\r\n if (element1) {\r\n localStorage.setItem(\"AppointmentOn\", element1.value);\r\n const day = Moment.utc(new Date(element1.value)).format('YYYY-MM-DD');\r\n this.props.requestTiming(day, \"-\", \"centralized\");\r\n }\r\n };\r\n\r\n public onDate(value: any, index: any) {\r\n\r\n if (preferredtimeslot == \"Yes\" && pickaprovider == \"No\") {\r\n\r\n //if (localStorage.getItem(\"AppointmentTime\") && localStorage.getItem(\"AppointmentTime1\"))\r\n // return toastr.error('', \"You are allowed to select only two preferred time slots\");\r\n\r\n if (weekindex != null) {\r\n var element1 = document.getElementById(\"dWeekList0\");\r\n var element = document.getElementById(\"dWeekList\" + weekindex);\r\n if (element != null) {\r\n if (element1 != null)\r\n element1.classList.remove(\"active\");\r\n element.classList.remove(\"active\");\r\n }\r\n\r\n }\r\n var element = document.getElementById(\"dWeekList\" + index);\r\n if (element != null)\r\n element.classList.add(\"active\");\r\n var elems = document.querySelectorAll(\".selected\");\r\n if (elems != undefined) {\r\n [].forEach.call(elems, function (el: any) {\r\n if (el != undefined) {\r\n el.classList.remove(\"selected\");\r\n }\r\n });\r\n }\r\n\r\n weekindex = index;\r\n localStorage.setItem(\"SelectedDate\", value.date);\r\n if (localStorage.getItem(\"AppointmentOn\") == null) {\r\n localStorage.setItem(\"AppointmentOn\", value.date);\r\n //localStorage.removeItem(\"AppointmentTime\");\r\n }\r\n if (localStorage.getItem(\"AppointmentOn\") == value.date) {\r\n var element = document.getElementById(\"dWeekList\" + index);\r\n if (element != null)\r\n element.classList.add(\"active\");\r\n var elems = document.querySelectorAll(\".selected\");\r\n //localStorage.removeItem(\"AppointmentTime\");\r\n //localStorage.removeItem(\"AppointmentOn\");\r\n }\r\n if (localStorage.getItem(\"AppointmentOn\") && !localStorage.getItem(\"AppointmentTime\")) {\r\n localStorage.setItem(\"AppointmentOn\", value.date);\r\n }\r\n if (!localStorage.getItem(\"AppointmentOn1\") && !localStorage.getItem(\"AppointmentTime1\")) {\r\n localStorage.setItem(\"AppointmentOn1\", value.date);\r\n //localStorage.removeItem(\"AppointmentTime1\");\r\n }\r\n //if (localStorage.getItem(\"AppointmentOn\") == value.date || localStorage.getItem(\"AppointmentOn\") == value.date && !localStorage.getItem(\"AppointmentOn\"))\r\n //window.document.getElementsByClassName(\"time\")[0].innerHTML = \"\";\r\n const day = Moment.utc(new Date(value.date)).format('YYYY-MM-DD');\r\n this.props.requestTiming(day, \"-\", \"centralized\");\r\n }\r\n else {\r\n if (weekindex != null) {\r\n var element1 = document.getElementById(\"dWeekList0\");\r\n var element = document.getElementById(\"dWeekList\" + weekindex);\r\n if (element != null) {\r\n if (element1 != null)\r\n element1.classList.remove(\"active\");\r\n element.classList.remove(\"active\");\r\n }\r\n\r\n }\r\n var element = document.getElementById(\"dWeekList\" + index);\r\n if (element != null)\r\n element.classList.add(\"active\");\r\n var elems = document.querySelectorAll(\".selected\");\r\n if (elems != undefined) {\r\n [].forEach.call(elems, function (el: any) {\r\n if (el != undefined) {\r\n el.classList.remove(\"selected\");\r\n }\r\n });\r\n }\r\n\r\n weekindex = index;\r\n localStorage.setItem(\"AppointmentOn\", value.date);\r\n localStorage.removeItem(\"AppointmentTime\");\r\n localStorage.removeItem(\"AppointmentUTCTime\");\r\n window.document.getElementsByClassName(\"time\")[0].innerHTML = \"\";\r\n const day = Moment.utc(new Date(value.date)).format('YYYY-MM-DD');\r\n this.props.requestTiming(day, \"-\", \"centralized\");\r\n //console.log(day);\r\n //console.log(value.date);\r\n }\r\n }\r\n\r\n public onTime(value: any, index: number) {\r\n\r\n var langdata: any = \"\";\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n\r\n if (value.isAvailableSlot == false)\r\n return toastr.error('', langdata['appointmentalreadybooked ']);\r\n if (preferredtimeslot == \"Yes\" && pickaprovider == \"No\") {\r\n if (!localStorage.getItem(\"SelectedDate\"))\r\n localStorage.setItem(\"SelectedDate\", localStorage.getItem(\"AppointmentOn\") || \"\");\r\n\r\n if (indexdata != null) {\r\n //var element = document.getElementById(\"timeslot\" + indexdata);\r\n var element = document.getElementById(\"timeslot\" + (localStorage.getItem('TimeIndex') || 0));\r\n //if (element != null)\r\n // element.classList.remove(\"selected\");\r\n }\r\n if (localStorage.getItem(\"AppointmentTime\") == null || localStorage.getItem(\"AppointmentTime1\") == null) {\r\n var element = document.getElementById(\"timeslot\" + index);\r\n if (element != null)\r\n element.classList.add(\"selected\");\r\n }\r\n \r\n if (localStorage.getItem(\"AppointmentTime\") == null) {\r\n localStorage.setItem(\"AppointmentTime\", value.timeslot);\r\n localStorage.setItem(\"AppointmentUTCTime\", value.utcTimeSlot);\r\n window.document.getElementsByClassName(\"time\")[0].innerHTML = value.timeslot;\r\n if (localStorage.getItem(\"AppointmentOn1\") != null && localStorage.getItem(\"AppointmentTime1\") != null)\r\n //window.document.getElementById(\"date\").hidden = false;\r\n window.document.getElementsByClassName(\"time\")[0].innerHTML = value.timeslot;\r\n }\r\n\r\n else if (localStorage.getItem(\"AppointmentTime\") == value.timeslot && localStorage.getItem(\"AppointmentOn\") == localStorage.getItem(\"SelectedDate\")) {\r\n var element = document.getElementById(\"timeslot\" + index);\r\n if (element != null)\r\n element.classList.remove(\"selected\");\r\n localStorage.removeItem(\"AppointmentTime\");\r\n localStorage.removeItem(\"AppointmentUTCTime\");\r\n window.document.getElementsByClassName(\"time\")[0].innerHTML = \"\";\r\n if (localStorage.getItem(\"AppointmentOn1\") && localStorage.getItem(\"AppointmentTime1\"))\r\n window.document.getElementsByClassName(\"time\")[0].innerHTML = \"\";\r\n if (!localStorage.getItem(\"AppointmentTime\") && localStorage.getItem(\"AppointmentTime1\")) {\r\n localStorage.setItem(\"AppointmentOn\", localStorage.getItem(\"AppointmentOn1\") || \"\")\r\n localStorage.setItem(\"AppointmentTime\", localStorage.getItem(\"AppointmentTime1\") || \"\")\r\n localStorage.setItem(\"AppointmentUTCTime\", localStorage.getItem(\"AppointmentUTCTime1\") || \"\");\r\n localStorage.removeItem(\"AppointmentOn1\")\r\n localStorage.removeItem(\"AppointmentTime1\")\r\n localStorage.removeItem(\"AppointmentUTCTime1\")\r\n window.document.getElementsByClassName(\"time1\")[0].innerHTML = \"\";\r\n value.time = localStorage.getItem(\"AppointmentTime\");\r\n window.document.getElementsByClassName(\"time\")[0].innerHTML = value.time;\r\n //window.document.getElementById(\"date\").hidden = false;\r\n\r\n }\r\n //localStorage.removeItem(\"AppointmentOn\");\r\n }\r\n else if (localStorage.getItem(\"AppointmentTime1\") == null) {\r\n localStorage.setItem(\"AppointmentTime1\", value.timeslot);\r\n localStorage.setItem(\"AppointmentUTCTime1\", value.utcTimeSlot);\r\n\r\n /*if (localStorage.getItem(\"AppointmentOn1\") == null || localStorage.getItem(\"AppointmentOn1\") == \"\")*/\r\n localStorage.setItem(\"AppointmentOn1\", (localStorage.getItem(\"SelectedDate\") || localStorage.getItem(\"AppointmentOn\") || \"\"));\r\n\r\n if (localStorage.getItem(\"AppointmentOn1\") != null && localStorage.getItem(\"AppointmentTime1\") != null)\r\n //window.document.getElementById(\"date\").hidden = false;\r\n var calIcon: any = '';\r\n\r\n var divstart: any = \"
\"\r\n var divend : any= \"
\"\r\n window.document.getElementsByClassName(\"time1\")[0].innerHTML = divstart + calIcon +\" \"+ dateUTCFormat(localStorage.getItem(\"AppointmentOn1\")) +\" \" + value.timeslot + divend;\r\n //window.document.getElementById(\"date1\").hidden = false;\r\n //if (localStorage.getItem(\"AppointmentOn\") && localStorage.getItem(\"AppointmentTime\"))\r\n // window.document.getElementsByClassName(\"time1\")[0].innerHTML = \"\";\r\n\r\n }\r\n\r\n else if (localStorage.getItem(\"AppointmentTime1\") == value.timeslot && localStorage.getItem(\"AppointmentOn1\") == localStorage.getItem(\"SelectedDate\")) {\r\n var element = document.getElementById(\"timeslot\" + index);\r\n if (element != null)\r\n element.classList.remove(\"selected\");\r\n localStorage.removeItem(\"AppointmentTime1\");\r\n localStorage.removeItem(\"AppointmentUTCTime1\");\r\n localStorage.setItem(\"AppointmentOn1\", (localStorage.getItem(\"SelectedDate\") || \"\"));\r\n // window.document.getElementById(\"date1\").hidden = true; \r\n //if (localStorage.getItem(\"AppointmentTime\") && localStorage.getItem(\"AppointmentOn\")) {\r\n // localStorage.removeItem(\"AppointmentOn1\")\r\n // localStorage.removeItem(\"AppointmentTime1\") \r\n // window.document.getElementsByClassName(\"time1\")[0].innerHTML = \"\";\r\n // //window.document.getElementsByClassName(\"time2\")[0].innerHTML = \"\";\r\n //}\r\n if (localStorage.getItem(\"AppointmentTime\") && !localStorage.getItem(\"AppointmentTime1\")) {\r\n localStorage.removeItem(\"AppointmentOn1\")\r\n localStorage.removeItem(\"AppointmentTime1\")\r\n localStorage.removeItem(\"AppointmentUTCTime1\")\r\n window.document.getElementsByClassName(\"time1\")[0].innerHTML = \"\";\r\n value.time = localStorage.getItem(\"AppointmentTime\");\r\n window.document.getElementsByClassName(\"time\")[0].innerHTML = value.time;\r\n }\r\n }\r\n else\r\n return toastr.error('', langdata['allowedslots']);\r\n\r\n this.props.storeTime(value.timeslot)\r\n localStorage.setItem(\"AppointmentBookedOn\", localStorage.getItem('SelectedDate') || \"\");\r\n timeSeleted = value;\r\n indexdata = index;\r\n TimeIndex = index;\r\n localStorage.setItem(\"TimeIndex\", TimeIndex);\r\n if (localStorage.getItem(\"AppointmentOn\") != null) {\r\n var dateformat = Moment(localStorage.getItem(\"AppointmentOn\")).format('YYYY/MM/DD');\r\n\r\n if (preferredtimeslot == \"Yes\" && pickaprovider == \"No\") {\r\n if ((localStorage.getItem(\"AppointmentOn\") && localStorage.getItem(\"AppointmentTime\")) && (localStorage.getItem(\"AppointmentOn1\") && localStorage.getItem(\"AppointmentTime1\"))) {\r\n var timeformat = (localStorage.getItem(\"AppointmentTime\"));\r\n var dateformat1 = Moment(localStorage.getItem(\"AppointmentOn1\")).format('YYYY/MM/DD')\r\n this.props.getProviderId(dateformat + \" \" + timeformat, _currentoffset, dateformat1 + \" \" + value.timeslot);\r\n }\r\n else {\r\n this.props.getProviderId(dateformat + \" \" + value.timeslot, _currentoffset, null);\r\n }\r\n\r\n }\r\n else\r\n this.props.getProviderId(dateformat + \" \" + value.timeslot, _currentoffset, null);\r\n }\r\n else\r\n return toastr.error('', \"Please select appointment date\");\r\n\r\n\r\n\r\n //else\r\n //window.document.getElementsByClassName(\"time\")[0].innerHTML = \"\";\r\n }\r\n else {\r\n if (indexdata != null) {\r\n //var element = document.getElementById(\"timeslot\" + indexdata);\r\n var element = document.getElementById(\"timeslot\" + (localStorage.getItem('TimeIndex') || 0));\r\n if (element != null)\r\n element.classList.remove(\"selected\");\r\n }\r\n var element = document.getElementById(\"timeslot\" + index);\r\n if (element != null)\r\n element.classList.add(\"selected\");\r\n localStorage.setItem(\"AppointmentTime\", value.timeslot);\r\n localStorage.setItem(\"AppointmentUTCTime\", value.utcTimeSlot);\r\n this.props.storeTime(value.timeslot)\r\n localStorage.setItem(\"AppointmentBookedOn\", localStorage.getItem('AppointmentOn') || \"\");\r\n timeSeleted = value;\r\n indexdata = index;\r\n TimeIndex = index;\r\n localStorage.setItem(\"TimeIndex\", TimeIndex);\r\n if (localStorage.getItem(\"AppointmentOn\") != null) {\r\n var dateformat = Moment(localStorage.getItem(\"AppointmentOn\")).format('YYYY/MM/DD');\r\n this.props.getProviderId(dateformat + \" \" + value.timeslot, _currentoffset, null);\r\n\r\n }\r\n else\r\n return toastr.error('', \"Please select appointment date\");\r\n\r\n window.document.getElementsByClassName(\"time\")[0].innerHTML = value.timeslot;\r\n }\r\n\r\n }\r\n \r\n onrescheduleSubmit = (formValues: any) => {\r\n var langdata: any;\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const appointmentid = urlParams.get('appointment');\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n var time = localStorage.getItem(\"AppointmentTime\");\r\n var date = localStorage.getItem(\"AppointmentOn\");\r\n var encDetailStroage: any = localStorage.getItem('EncDetail');\r\n var encDetail = JSON.parse(encDetailStroage);\r\n if (encDetail == null) {\r\n return toastr.error('', \"Please select appointment type\");\r\n }\r\n if ((time == null) || (date == null))\r\n return toastr.error('', langdata['selectdateandtime']);\r\n this.props.encounterTypes.filter(function (value) {\r\n return value.name === \"PPT\"\r\n });\r\n this.props.encounterTypes.forEach(value => {\r\n encountertypeid = value.id\r\n })\r\n localStorage.setItem(\"EncounterTypeId\", encountertypeid);\r\n const patientLocalStroage: any = localStorage.getItem('Patient');\r\n const patient = JSON.parse(patientLocalStroage);\r\n\r\n if (this.props.TimeZones.length != 0) {\r\n Currenttimezone = this.props.TimeZones.filter((tz: any) => tz.Name == patient.timeZone);\r\n if (patient.timeZone == \"India Standard Time\")\r\n formValues.Offset = 330;\r\n else\r\n formValues.Offset = Currenttimezone[0].Offset;\r\n }\r\n if (Currenttimezone.length == 0) {\r\n formValues.Offset = \"\";\r\n } else {\r\n formValues.Offset = Currenttimezone[0].Offset;\r\n }\r\n formValues.appointmentid = appointmentid;\r\n formValues.date = date;\r\n formValues.time = time;\r\n this.props.requestReScheduleUpdate(formValues, date, time);\r\n }\r\n private renderTiming() {\r\n languagecontent = this.props.LanguageResoures; \r\n const urlParams = new URLSearchParams(window.location.search);\r\n const name = urlParams.get('status');\r\n const patientid = urlParams.get('patientid');\r\n var appointmenttypemode = urlParams.get('type');\r\n if (appointmenttypemode == null)\r\n appointmenttypemode = urlParams.get('encountertypemode');\r\n const qureystatus = urlParams.get('status');\r\n if (name == 'reschedule') {\r\n\r\n var modeCode: any\r\n if (appointmenttypemode == \"Teleconsultation\" || appointmenttypemode == \"Videoconsulta\") {\r\n modeCode = \"TEC\";\r\n\r\n }\r\n else if (appointmenttypemode == \"In Person\" || appointmenttypemode == \"En persona\") {\r\n modeCode = \"INP\";\r\n }\r\n else {\r\n modeCode = \"PHN\";\r\n }\r\n var typemode: any = this.props.headerdrprofile.doctorServiceDetails.filter((se: any) => se.modeCode == modeCode);\r\n\r\n\r\n if (typemode.length != 0) {\r\n var encDetailStroage: any = localStorage.getItem('EncDetail');\r\n var encDetail = JSON.parse(encDetailStroage);\r\n this.props.headerdrprofile.encounterTypeMode = typemode[0].encounterTypeMode;\r\n this.props.headerdrprofile.durationCode = typemode[0].durationCode;\r\n this.props.headerdrprofile.encounterTypeModeDurationId = typemode[0].encounterTypeModeDurationId;\r\n this.props.headerdrprofile.modeCode = typemode[0].modeCode;\r\n this.props.headerdrprofile.price = typemode[0].minPrice;\r\n serviceid = typemode[0].serviceId;\r\n }\r\n\r\n\r\n }\r\n else {\r\n if (localStorage.getItem(\"EncDetail\")) {\r\n var encDetailStroage: any = localStorage.getItem('EncDetail');\r\n var encDetail = JSON.parse(encDetailStroage);\r\n this.props.headerdrprofile.encounterTypeMode = encDetail.encounterTypeMode;\r\n this.props.headerdrprofile.durationCode = encDetail.durationCode;\r\n this.props.headerdrprofile.encounterTypeModeDurationId = encDetail.encounterTypeModeDurationId;\r\n this.props.headerdrprofile.modeCode = encDetail.modeCode;\r\n serviceid = encDetail.serviceId;\r\n }\r\n }\r\n\r\n //currency\r\n var __currency: any = [];\r\n __currency = this.props.Settings.filter((s: any) => s.name == \"Currency\");\r\n var _currency: any = \"\";\r\n \r\n if (__currency.length == 0) {\r\n _currency = \"\";\r\n }\r\n else {\r\n if (__currency[0].value == \"\") {\r\n _currency = __currency[0].displayCode;\r\n localStorage.setItem(\"currency\", _currency);\r\n }\r\n else {\r\n _currency = __currency[0].customizeValue;\r\n localStorage.setItem(\"currency\", _currency);\r\n }\r\n\r\n\r\n }\r\n var currency: any = _currency;\r\n \r\n preferredtimeslot = this.props.Settings.filter((s: any) => s.name == \"Client preferred time slot\");\r\n if (preferredtimeslot.length != 0)\r\n preferredtimeslot = preferredtimeslot[0].customizeValue;\r\n else\r\n preferredtimeslot = \"\";\r\n\r\n pickaprovider = this.props.Settings.filter((s: any) => s.name == \"Auto Provider Selection in PickaProvider\");\r\n if (pickaprovider.length != 0)\r\n pickaprovider = pickaprovider[0].customizeValue;\r\n else\r\n pickaprovider = \"\";\r\n\r\n //if(preferredtimeslot == \"Yes\" && pickaprovider == \"No\") {\r\n // var currentTime = new Date(); \r\n\r\n // const patientLocalStroage: any = localStorage.getItem('Patient');\r\n // const patient = JSON.parse(patientLocalStroage);\r\n\r\n // var currentOffset = currentTime.getTimezoneOffset();\r\n\r\n // var SettingOffset = patient && patient.offset ? patient.offset : parseInt(localStorage.getItem('timeOffset') || \"\"); // IST offset UTC +5:30\r\n\r\n // var ConvertedTime = new Date(currentTime.getTime() + (SettingOffset + currentOffset) * 60000);\r\n\r\n\r\n // const today = Moment(ConvertedTime).format('YYYY-MM-DD');\r\n // if (!localStorage.getItem(\"AppointmentOn\"))\r\n // this.props.requestTiming(today, \"-\", \"centralized\");\r\n\r\n\r\n //}\r\n\r\n\r\n consultationfree = this.props.Settings.filter((s: any) => s.name == \"Show the consultation fee as Free\");\r\n var free: any = \"\";\r\n if (consultationfree.length != 0)\r\n free = consultationfree[0].customizeValue\r\n else\r\n free = \"\";\r\n\r\n datepicker = this.props.Settings.filter((s: any) => s.name == \"CP Test Date Picker\");\r\n var testdatepicker: any = \"\";\r\n if (datepicker.length != 0)\r\n testdatepicker = datepicker[0].customizeValue\r\n else\r\n testdatepicker = \"\";\r\n\r\n var currenttimezone: any = \"\";\r\n\r\n if (localStorage.getItem(\"isAuth\") == \"true\") {\r\n var patientLocalStroage: any = localStorage.getItem('Patient');\r\n var patient = JSON.parse(patientLocalStroage);\r\n if (patient.timeZone == \"\") {\r\n var timezone = this.props.Settings.filter((se: any) => se.name == \"Time Zone\")[0]\r\n if (timezone != undefined) {\r\n var _timezone = timezone.displayCode.split(\"|\");\r\n currenttimezone = _timezone[0];\r\n _currentoffset = _timezone[1];\r\n }\r\n } else {\r\n currenttimezone = patient.timeZone;\r\n if (this.props.TimeZones.length != 0) {\r\n _currentoffset = this.props.TimeZones.filter((tz: any) => tz.Name == patient.timeZone);\r\n _currentoffset = _currentoffset[0].Offset;\r\n }\r\n }\r\n } else {\r\n if (this.props.Settings.length != 0) {\r\n var timezone = this.props.Settings.filter((se: any) => se.name == \"Time Zone\")[0]\r\n if (timezone != undefined) {\r\n var _timezone = timezone.displayCode.split(\"|\");\r\n currenttimezone = timezone.customizeValue;\r\n _currentoffset = _timezone[1];\r\n }\r\n }\r\n }\r\n return (\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n {\r\n this.props.headerdrprofile.doctorServiceDetails.length == 1 ?\r\n \r\n
{languagecontent['appointmenttype']}
\r\n
:\r\n \r\n
{languagecontent['appointmenttype']}
\r\n {languagecontent['appointmentdescription']}

\r\n
\r\n }\r\n\r\n
\r\n
    \r\n\r\n {this.props.bioIsLoading == true ? \r\n \r\n \r\n \r\n \r\n \r\n \r\n :\r\n this.props.headerdrprofile.doctorServiceDetails != undefined ?\r\n this.props.headerdrprofile.doctorServiceDetails.map((doctorService: HeaderDrProfileStore.DoctorServiceDetail, index) =>\r\n \r\n
  • \r\n
    \r\n \r\n
    \r\n
  • \r\n
    \r\n )\r\n : \"\"\r\n }\r\n\r\n
\r\n
\r\n
\r\n {\r\n testdatepicker == \"Yes\" ?\r\n \r\n : \"\"\r\n }\r\n\r\n
\r\n
\r\n
\r\n

{languagecontent['doctorselection']}

{preferredtimeslot == \"Yes\" && pickaprovider == \"No\" ? languagecontent['twoslts'] : languagecontent['doctor_selection']}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {\r\n testdatepicker != \"Yes\" ?\r\n this.props.weekdays != undefined ?\r\n : '': ''\r\n }\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {\r\n this.props.isLoading ? \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n :
\r\n {\r\n this.props.timing != null ?\r\n
\r\n \r\n {\r\n this.props.timing != undefined ? this.props.timing.length == 0 ?\r\n
\r\n
{languagecontent['norecordsfound']}
\r\n
: \"\" : ''\r\n }\r\n
: ''\r\n }\r\n
\r\n }\r\n
\r\n
\r\n
\r\n
\r\n \r\n {\r\n qureystatus == 'reschedule' ?\r\n \r\n :\r\n \r\n }\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default connect(\r\n (state: ApplicationState) => ({ ...state.booking, ...state.condition, ...state.login, ...state.navDefault, ...state.headerDrProfile, ...state.account, ...state.timeZones, ...state.getProviderId, ...state.langResources, ...state.menuHide, ...state.reschedule}),\r\n ({ ...TimingStore.actionCreators, ...ConditionStore.actionCreators, ...LoginStore.actionCreators, ...NavMenuStore.actionCreators, ...HeaderDrProfileStore.actionCreators, ...AccountStore.actionCreators, ...TimeZoneStore.actionCreators, ...GetProviderId.actionCreators, ...LanguageResourcesStore.actionCreators, ...MenuHideStore.actionCreators, ...RescheduleState.actionCreators }),// Selects which state properties are merged into the component's props\r\n)(Booking as any);\r\n\r\nexport const getDiscountPrice = (currentprice: any, discountprice: any) => {\r\n var price: any = (currentprice - discountprice);\r\n return parseFloat(price).toFixed(2);\r\n}\r\n","import * as React from 'react';\r\nimport ReactApexChart from \"react-apexcharts\";\r\n\r\n\r\nfunction PieChart(props:any) {\r\n /*console.log(JSON.parse(result[0].value))*/\r\n\r\n let data: any = props.result[0].value == '' ? [] : JSON.parse(props.result[0].value)\r\n let label: any = []\r\n let score: any = []\r\n\r\n if (data.length) {\r\n data.reverse().map((list: any) => {\r\n label.push(list.Type)\r\n score.push(list.Percentage)\r\n })\r\n }\r\n \r\n\r\n const options :any= {\r\n chart: {\r\n width:420,\r\n height: 420,\r\n type: 'pie',\r\n },\r\n colors: ['#0000CC', '#FF0000', '#009900'],\r\n labels: label,\r\n title: {\r\n text: props.result[0].clientTitle,\r\n \r\n align: 'left',\r\n margin: 5,\r\n offsetX: 0,\r\n offsetY: 0,\r\n floating: false,\r\n style: {\r\n fontSize: '14px',\r\n fontWeight: 'normal',\r\n \r\n },\r\n },\r\n legend: {\r\n show: true,\r\n style: {\r\n margin: 5,\r\n },\r\n showForSingleSeries: false,\r\n showForNullSeries: true,\r\n showForZeroSeries: true,\r\n position: 'top',\r\n horizontalAlign: 'center',\r\n floating: false,\r\n fontSize: '14px',\r\n fontFamily: 'Helvetica, Arial',\r\n fontWeight: 400,\r\n formatter: undefined,\r\n inverseOrder: false,\r\n width: undefined,\r\n height: undefined,\r\n tooltipHoverFormatter: undefined,\r\n customLegendItems: [],\r\n offsetX: 0,\r\n offsetY: 0,\r\n labels: {\r\n colors: undefined,\r\n useSeriesColors: false\r\n },\r\n markers: {\r\n width: 50,\r\n height: 15,\r\n strokeWidth: 0,\r\n strokeColor: '#fff',\r\n fillColors: undefined,\r\n radius: 0,\r\n customHTML: undefined,\r\n onClick: undefined,\r\n offsetX: 0,\r\n offsetY: 0\r\n },\r\n itemMargin: {\r\n horizontal: 5,\r\n vertical: 5\r\n },\r\n onItemClick: {\r\n toggleDataSeries: true\r\n },\r\n onItemHover: {\r\n highlightDataSeries: true\r\n },\r\n },\r\n \r\n plotOptions: {\r\n pie: {\r\n dataLabels: {\r\n offset: -30,\r\n }\r\n }\r\n },\r\n \r\n dataLabels: {\r\n enabled: true,\r\n formatter(val: any, opts: any) {\r\n const name = opts.w.globals.labels[opts.seriesIndex]\r\n return [val.toFixed(2) + '%']\r\n },\r\n \r\n },\r\n \r\n yaxis: {\r\n labels: {\r\n formatter: (value :any) => {\r\n return [value.toFixed(2) +'%']\r\n },\r\n \r\n }\r\n },\r\n \r\n \r\n responsive: [{\r\n breakpoint: 480,\r\n options: {\r\n chart: {\r\n width: 350,\r\n height:350\r\n },\r\n legend: {\r\n show: true,\r\n showForSingleSeries: false,\r\n showForNullSeries: true,\r\n showForZeroSeries: true,\r\n position: 'top',\r\n horizontalAlign: 'center',\r\n floating: false,\r\n fontSize: '14px',\r\n fontFamily: 'Helvetica, Arial',\r\n fontWeight: 400,\r\n formatter: undefined,\r\n inverseOrder: false,\r\n width: undefined,\r\n height: undefined,\r\n tooltipHoverFormatter: undefined,\r\n customLegendItems: [],\r\n offsetX: 0,\r\n offsetY: 0,\r\n labels: {\r\n colors: undefined,\r\n useSeriesColors: false\r\n },\r\n markers: {\r\n width: 30,\r\n height: 13,\r\n strokeWidth: 0,\r\n strokeColor: '#fff',\r\n fillColors: undefined,\r\n radius: 0,\r\n customHTML: undefined,\r\n onClick: undefined,\r\n offsetX: 0,\r\n offsetY: 0\r\n },\r\n itemMargin: {\r\n horizontal: 5,\r\n vertical: 0\r\n },\r\n onItemClick: {\r\n toggleDataSeries: true\r\n },\r\n onItemHover: {\r\n highlightDataSeries: true\r\n },\r\n },\r\n markers: {\r\n width: 35,\r\n height: 12,\r\n strokeWidth: 0,\r\n strokeColor: '#fff',\r\n fillColors: undefined,\r\n radius: 0,\r\n customHTML: undefined,\r\n onClick: undefined,\r\n offsetX: 0,\r\n offsetY: 0\r\n },\r\n\r\n }\r\n }]\r\n }\r\n\r\n\r\n return (\r\n <>\r\n {data.length ?\r\n : ''\r\n }\r\n\r\n \r\n )\r\n}\r\n\r\n\r\nexport default PieChart","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { Field, reduxForm, formValueSelector, change } from 'redux-form';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { ApplicationState } from '../../../store/index';\r\nimport { jsPDF } from 'jspdf';\r\nimport autoTable from 'jspdf-autotable';\r\nimport * as FlexiFormStore from '../../../store/library/flexiform/FlexiForm';\r\nimport { renderAutoComplete, renderDatePicker, renderField, renderQuestionField, renderSelectField, renderDob, renderRadioField, renderTextareaField, renderCheckboxField, renderCheckField, renderCheckboxFieldNew, renderFieldHidden, renderDisabledField, renderSelectOptionField, renderTextSelectOptionField, rendercheckField, renderCheckSingle, MultiEntryTextArea, renderFormTextareaField } from '../../../helper/renderfield';\r\nimport { phoneNumber, required, zipCode, email, number, dateFormat, dateFormatSetting, datePostFormat, convertYeartoDate, scrollTop, dateFormatConversion, timeFormatConversion, dateTimeFormat, datemonthFormatSetting } from '../../../helper/formvalidation';\r\nimport * as HandleRequest from '../../../helper/Request';\r\nimport { datepickerJS, floatingJS, floatJS, seo, floatJSBack, ltrim } from '../../../helper/Script';\r\nimport { useCallback, useEffect, useMemo, useState, createRef, RefObject } from 'react';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport ContentLoader, { Facebook } from 'react-content-loader';\r\nimport LoadingBar from 'react-redux-loading-bar';\r\nimport * as LoginStore from '../../../store/account/Login';\r\nimport Moment from 'moment';\r\nimport * as Account from '../../../store/siteaccount/Account';\r\nimport * as ContactStore from '../../../store/patient/Contact';\r\nimport * as LanguageResourcesStore from '../../../store/LanguageResoures';\r\nimport PieChart from '../chart/PieChart';\r\nimport { setTimeout } from 'timers';\r\n\r\n\r\n\r\nvar patientLocalStroage: any = localStorage.getItem('Patient');\r\nvar pat = JSON.parse(patientLocalStroage);\r\nlet IsRequiredSkip = \"\";\r\nvar formList: any = [];\r\nvar activeFields: any = [];\r\nvar inactiveFields: any = [];\r\nvar checked: any = false;\r\nvar checkboxServerData: any = [];\r\nvar checkboxArray: any = [];\r\nvar _checkboxArray: any = [];\r\nvar emptyValue: any = [];\r\nvar checkedValues: any = [];\r\nvar _checkedValues: any = [];\r\nvar checkboxresult: any = [];\r\nvar noteText: any = '';\r\nvar noteTextArray: any = [];\r\nvar editNoteIndex: any = '';\r\nvar langdata: any = \"\";\r\nvar jsonInitial: any = {};\r\nvar checkCheckbox: any = [];\r\nvar languagecontent: any = \"\";\r\nvar offset: any = \"\";\r\nvar textvalue: any = \"textboxwithdropdown\";\r\nvar radiowithtextbox: any = [];\r\n\r\n\r\n// At runtime, Redux will merge together...\r\ntype FlexiListProps =\r\n Account.AccountState & LoginStore.LoginState & FlexiFormStore.FlexiListsState & HandleRequest.Request & ContactStore.ContactState & LanguageResourcesStore.LanguageResouresState// ... state we've requested from the Redux store\r\n & typeof LoginStore.actionCreators & typeof FlexiFormStore.actionCreators & typeof ContactStore.actionCreators & typeof LanguageResourcesStore.actionCreators// ... plus action creators we've requested\r\n & RouteComponentProps<{ startDateIndex: string }>; // ... plus incoming routing parameters\r\n\r\n\r\nclass FlexiFormClass extends React.PureComponent {\r\n\r\n constructor(props: any) {\r\n super(props);\r\n }\r\n state = {\r\n modulename: \"\",\r\n status: \"\",\r\n }\r\n\r\n handlecheckboxchange = (e: any, id: any) => {\r\n if (checkCheckbox[id] == \"true\") {\r\n checkCheckbox[id] = \"false\"\r\n checked = false;\r\n }\r\n else {\r\n checkCheckbox[id] = \"true\"\r\n checked = true;\r\n }\r\n }\r\n\r\n\r\n\r\n handlecheckboxchange1 = (e: any, id: any, index: any) => {\r\n //console.log(id + \" - \" + index) \r\n if (checkCheckbox[id] == \"true\") {\r\n checkCheckbox[id] = \"false\"\r\n checked = false;\r\n }\r\n else {\r\n checkCheckbox[id] = \"true\"\r\n checked = true;\r\n }\r\n }\r\n\r\n\r\n\r\n onSubmit = (formValues: any) => {\r\n const queryParams = new URLSearchParams(window.location.search);\r\n var data: any = window.location.pathname;\r\n\r\n\r\n const _array = data.split('/');\r\n if (_array[1] == \"forms\") {\r\n var areaId = \"4\";\r\n var modulename = decodeURIComponent(_array[2]);\r\n var patientid = _array[3];\r\n var recordid = _array[5];\r\n }\r\n else if (_array[1] == \"initialpageforms\") {\r\n var areaId = \"6\";\r\n var modulename = decodeURIComponent(_array[2]);\r\n var patientid = _array[3];\r\n var recordid = _array[4];\r\n }\r\n else {\r\n var areaId = \"5\";\r\n var modulename = decodeURIComponent(_array[3]);\r\n var patientid = _array[4];\r\n var recordid = _array[5];\r\n }\r\n \r\n function processObjectValues(data: { [key: string]: string[] }) {\r\n for (let key in data) {\r\n let array = data[key];\r\n for (let i = 0; i < array.length; i++) {\r\n let splitArray = array[i].split(\"~\");\r\n let uniqueArray = Array.from(new Set(splitArray));\r\n array[i] = uniqueArray.join(\"~\");\r\n }\r\n }\r\n return data;\r\n }\r\n \r\n \r\n var data: any = groupBy(checkedValues, \"Id\");\r\n var datas: any = processObjectValues(data);\r\n\r\n const objectArray = Object.entries(datas);\r\n objectArray.forEach(([key, value]: any) => {\r\n formValues[key] = value.join('~');\r\n }); \r\n // changes for radiowithtextbox\r\n var obj: { [key: string]: string | null } = {};\r\n if (modulename == (\"HIPAA Privacy Notice\") || (modulename == \"Consent Form\")) {\r\n } else { \r\n var formList = this.props.formLists;\r\n\r\n formList.forEach((list) => {\r\n var formListValue = Object.keys(formValues).filter((mergelist) => {\r\n return list.customFormFieldsId === mergelist;\r\n });\r\n\r\n if (formListValue.length === 1) {\r\n obj[list.customFormFieldsId] = formValues[list.customFormFieldsId];\r\n } else {\r\n obj[list.customFormFieldsId] = \"\";\r\n }\r\n if (radiowithtextbox.includes(list.customFormFieldsId)) {\r\n /*radiowithtextbox.pop(el.name)*/\r\n obj[list.customFormFieldsId] = \"\";\r\n }\r\n });\r\n }\r\n // end\r\n let DisplayCurrentTime: any = (datetime: Date) => {\r\n var date = datetime;\r\n var hours = date.getHours() < 10 ? \"0\" + date.getHours() : date.getHours();\r\n var minutes = date.getMinutes() < 10 ? \"0\" + date.getMinutes() : date.getMinutes();\r\n var seconds = date.getSeconds() < 10 ? \"0\" + date.getSeconds() : date.getSeconds();\r\n return (hours + \":\" + minutes + \":\" + seconds);\r\n };\r\n let toDate: any = (date: any) => {\r\n if (date != null) {\r\n var currentDateTime = new Date(date);\r\n return currentDateTime\r\n }\r\n };\r\n this.props.formLists.filter(function (value) {\r\n if (value.controls === \"Checkbox\" && value.customFormName.toLowerCase() != (\"Medical_Assessment_Form\").toLowerCase() && value.isAllowMultiple != true) {\r\n Object.keys(formValues).forEach((fieldIndex) => {\r\n if (value.customFormFieldsId === fieldIndex) {\r\n formValues[fieldIndex] = value.option1\r\n }\r\n })\r\n }\r\n if (value.controls === \"Date\") {\r\n Object.keys(formValues).forEach(function (fieldIndex) {\r\n if (value.customFormFieldsId === fieldIndex) {\r\n var dateformat: any = localStorage.getItem(\"DateFormat\")\r\n var __dateformat: any = dateFormatSetting(formValues[fieldIndex]);\r\n if (__dateformat == \"Invalid date\") {\r\n\r\n } else {\r\n //if (dateformat == \"DD/MM/YYYY\") {\r\n // var parts: any = __dateformat.split('/');\r\n // var __dateformat: any = parts[1] + '/' + parts[0] + '/' + parts[2];\r\n // formValues[fieldIndex] = __dateformat;\r\n //}\r\n //else\r\n formValues[fieldIndex] = convertYeartoDate(formValues[fieldIndex]);\r\n }\r\n if (formValues[fieldIndex] == null) {\r\n formValues[fieldIndex] = \"\";\r\n }\r\n }\r\n })\r\n }\r\n });\r\n\r\n \r\n this.props.formLists.filter(function (value) {\r\n //if (value.controls === \"TextboxwithDropdown\") {\r\n // Object.keys(formValues).forEach((fieldIndex) => {\r\n // var result = fieldIndex.split(\"|\");\r\n // if (result.length > 1) {\r\n // formValues[result[0]] = value.option1 + \"~\" + formValues[fieldIndex]\r\n // delete formValues[fieldIndex];\r\n // }\r\n // })\r\n //}\r\n if (value.controls === \"TextboxwithDropdown\") {\r\n Object.keys(formValues).forEach((fieldIndex) => {\r\n var result = fieldIndex.split(\"|\");\r\n // console.log(result)\r\n // console.log(fieldIndex)\r\n if (result.length > 1) {\r\n var Value: any = document.getElementsByName(result[0] + '|' + result[1]);\r\n var textbox: any = Value[0].value;\r\n var Value1: any = document.getElementsByName(result[0]);\r\n var dropdown: any = Value1[0].value;\r\n if (textbox != null) {\r\n formValues[result[0]] = textbox + \"|\" + dropdown;\r\n delete formValues[fieldIndex];\r\n }\r\n }\r\n })\r\n } \r\n //if (value.controls === \"TextboxwithDropdown\" && value.customFormName == \"Common_condition_questionnaire\") {\r\n // Object.keys(formValues).forEach((fieldIndex) => {\r\n // var result = fieldIndex.split(\"|\");\r\n // if (result.length > 1) {\r\n // var textbox: any = document.getElementsByName(result[0] + '|textboxwithdropdown')[0].value;\r\n // var dropdown: any = document.getElementsByName(result[0])[0].value;\r\n // if (textbox != null) {\r\n // formValues[result[0]] = dropdown + \"~\" + textbox\r\n // delete formValues[fieldIndex];\r\n // }\r\n // }\r\n // })\r\n //}\r\n });\r\n\r\n this.props.formLists.filter(function (value) {\r\n if (value.controls === \"MultiEntryTextArea\") {\r\n let notes = [...noteTextArray]\r\n if (editNoteIndex === '') {\r\n if (noteText !== '') {\r\n notes.push({ Note: noteText })\r\n }\r\n } else {\r\n notes[editNoteIndex].Note = noteText\r\n }\r\n formValues[value.customFormFieldsId] = noteText !== '' ? JSON.stringify(notes) : ''\r\n }\r\n });\r\n\r\n\r\n\r\n \r\n\r\n var pos = this.props.moduleLists.map(function (e) {\r\n return e.moduleName;\r\n\r\n }).indexOf(modulename);\r\n\r\n \r\n var formlist: any = JSON.parse(localStorage.getItem('customId') || \"\")\r\n var poss = formlist.map(function (e: any) {\r\n return e.moduleName;\r\n\r\n }).indexOf(modulename);\r\n\r\n var nextModule: any;\r\n var nextId: any; \r\n if (this.props.moduleLists[pos] == undefined && formlist[poss] != undefined) {\r\n\r\n nextModule = formlist[poss + 1].moduleName;\r\n nextId = formlist[poss + 1].id;\r\n\r\n } else if (pos !== (this.props.moduleLists.length - 1)) {\r\n\r\n nextModule = this.props.moduleLists[pos + 1].moduleName;\r\n nextId = this.props.moduleLists[pos + 1].id;\r\n\r\n }\r\n else {\r\n nextModule = \"\";\r\n nextId = \"\";\r\n }\r\n // changes for radiowithtextbox\r\n var obj: { [key: string]: string | null } = {};\r\n if (modulename == (\"HIPAA Privacy Notice\") || (modulename == \"Consent Form\")) {\r\n } else {\r\n var formList = this.props.formLists;\r\n\r\n formList.forEach((list) => {\r\n var formListValue = Object.keys(formValues).filter((mergelist) => {\r\n return list.customFormFieldsId === mergelist;\r\n });\r\n\r\n if (formListValue.length === 1) {\r\n obj[list.customFormFieldsId] = formValues[list.customFormFieldsId];\r\n } else {\r\n obj[list.customFormFieldsId] = \"\";\r\n }\r\n if (radiowithtextbox.includes(list.customFormFieldsId)) {\r\n /*radiowithtextbox.pop(el.name)*/\r\n obj[list.customFormFieldsId] = \"\";\r\n }\r\n });\r\n }\r\n // end\r\n // console.log(this.props.formLists)\r\n // var recordid: any = this.props.patient.id;\r\n var formid: any\r\n if (modulename == (\"HIPAA Privacy Notice\") || (modulename == \"Consent Form\")) {\r\n formid = formValues;\r\n } else {\r\n formid = obj;\r\n }\r\n var formList = this.props.formLists;\r\n let formListValue: any = [];\r\n if (!(modulename == (\"HIPAA Privacy Notice\") || (modulename == \"Consent Form\") || (modulename == \"PHQ-9 Questionnaire\") || (modulename == \"DAST - 10\"))) {\r\n\r\n \r\n\r\n for (const mergelist of Object.keys(formValues)) {\r\n const list = formList.filter((value: any) => {\r\n return value.customFormFieldsId === mergelist;\r\n });\r\n\r\n const mergelistvalue = formValues[mergelist];\r\n\r\n if (list.length > 0 && list[0].isRequired && mergelistvalue === \"\") {\r\n // Handle the error here, e.g., using toastr\r\n toastr.error('', langdata['requirederrormessage']);\r\n\r\n // Exit the function if the condition is met\r\n return; // Exit the function or handle the error appropriately\r\n }\r\n\r\n // Add to formListValue if needed\r\n // formListValue.push(someValue);\r\n }\r\n }\r\n var recordTypeId = 1;\r\n checkedValues = [];\r\n _checkedValues = [];\r\n var patient: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n var localpatientId: any = patient.id;\r\n if (_array[1] == \"initialpageforms\" && localpatientId != patientid) {\r\n window.location.reload();\r\n } else {\r\n if (this.props.Settings) {\r\n this.props.Settings.forEach((key: any, index: any) => {\r\n if (key['name'] == \"CP-Custom Form Flow\") {\r\n if (this.props.formLists[pos] == undefined && modulename == \"Self assessment\") {\r\n window.history.go(+1);\r\n }\r\n else if (this.props.formLists[pos] == undefined) {\r\n this.props.requestSaveQuestions(formid, this.props.formLists[0], this.props.patient, this.props.patient.id, recordTypeId, modulename, formlist[poss].moduleId, key['customizeValue'], nextModule, areaId, nextId, this.props.formLists, recordid);\r\n\r\n }\r\n else {\r\n this.props.requestSaveQuestions(formid, this.props.formLists[pos], this.props.patient, this.props.patient.id, recordTypeId, this.props.moduleLists[pos].moduleName, this.props.formLists[pos].moduleId, key['customizeValue'], nextModule, areaId, nextId, this.props.formLists, recordid);\r\n }\r\n }\r\n })\r\n\r\n }\r\n }\r\n \r\n // console.log(formValues);\r\n noteText = '';\r\n editNoteIndex = '';\r\n noteTextArray = [];\r\n\r\n }\r\n\r\n downloadForm = () => {\r\n //this.props.formLists.forEach((value: any) => {\r\n // console.log(value);\r\n //})\r\n //window.jsPDF = window.jspdf.jsPDF;\r\n\r\n var doc: any = new jsPDF();\r\n var elementHTML = document.querySelector(\"#content\");\r\n doc.html(elementHTML, {\r\n callback: function (doc:any) {\r\n doc.save('Wellness Plan.pdf');\r\n },\r\n x: 15,\r\n y: 15,\r\n width: 170, \r\n windowWidth: 650 \r\n });\r\n }\r\n public handleClick() {\r\n const queryParams = new URLSearchParams(window.location.search);\r\n //const modulename = queryParams.get('modulename');\r\n floatJS();\r\n datepickerJS();\r\n floatingJS();\r\n floatJSBack();\r\n var data = window.location.pathname;\r\n const _array = data.split('/');\r\n if (_array[1] == \"forms\") {\r\n var areaId = \"4\";\r\n var modulename = decodeURIComponent(_array[2]);\r\n var patientid = _array[3];\r\n var recordid = _array[4];\r\n }\r\n else if (_array[1] == \"initialpageforms\") {\r\n var areaId = \"6\";\r\n var modulename = decodeURIComponent(_array[2]);\r\n var patientid = _array[3];\r\n var recordid = _array[4];\r\n }\r\n else {\r\n var areaId = \"5\";\r\n var modulename = decodeURIComponent(_array[3]);\r\n var patientid = _array[4];\r\n var recordid = _array[5];\r\n }\r\n var pos = this.props.moduleLists.map(function (e) {\r\n return e.moduleName;\r\n }).indexOf(modulename);\r\n if (pos !== (this.props.moduleLists.length - 1)) {\r\n var nextModule = this.props.moduleLists[pos + 1].moduleName;\r\n var nextId = this.props.moduleLists[pos + 1].id;\r\n\r\n }\r\n else {\r\n var nextModule = \"\";\r\n var nextId = \"\"\r\n }\r\n if (this.props.Settings) {\r\n this.props.Settings.forEach((key: any, index: any) => {\r\n if (key['name'] == \"CP-Custom Form Flow\") {\r\n //floatJS();\r\n datepickerJS();\r\n floatingJS();\r\n floatJSBack();\r\n this.props.requestSkipQuestions(nextModule, key['customizeValue'], nextId);\r\n }\r\n })\r\n }\r\n\r\n }\r\n componentDidMount() {\r\n checkboxServerData = [];\r\n checkboxArray = [];\r\n _checkboxArray = [];\r\n editNoteIndex = ''\r\n var data_current = window.location.pathname;\r\n const _array_current = data_current.split('/');\r\n this.Pageonload();\r\n if (_array_current[1] != \"forms\") {\r\n if (_array_current[1] != \"initialpageforms\") {\r\n var Email = _array_current[6];\r\n if (Email != pat.Email) {\r\n window.location.href = \"/dashboard\"\r\n }\r\n else {\r\n\r\n }\r\n window.addEventListener('popstate', (event) => {\r\n //floatJS();\r\n datepickerJS();\r\n floatingJS();\r\n floatJSBack();\r\n this.ensureDataFetched();\r\n this.props.getPtaient();\r\n floatJS();\r\n });\r\n } else {\r\n var patientid = _array_current[3];\r\n var recordid = _array_current[4];\r\n if (patientid != pat.id) {\r\n window.location.href = \"/dashboard\"\r\n }\r\n else {\r\n\r\n }\r\n }\r\n }\r\n else {\r\n var patientid = _array_current[3];\r\n var recordid = _array_current[4];\r\n if (patientid != pat.id) {\r\n window.location.href = \"/dashboard\"\r\n }\r\n else {\r\n\r\n }\r\n }\r\n\r\n this.ensureDataFetched();\r\n floatingJS();\r\n const script = document.createElement(\"script\");\r\n script.src = \"/Theme/Doccure/admin/assets/js/script.js\";\r\n script.async = true;\r\n document.body.appendChild(script);\r\n floatJSBack();\r\n datepickerJS();\r\n floatingJS();\r\n floatJS();\r\n scrollTop();\r\n //this.forceUpdate();\r\n }\r\n\r\n\r\n componentDidUpdate() {\r\n const script = document.createElement(\"script\");\r\n script.src = \"/Theme/Doccure/admin/assets/js/script.js\";\r\n script.async = true;\r\n document.body.appendChild(script);\r\n floatJS();\r\n //datepickerJS(); \r\n var data_current = window.location.pathname;\r\n const _array_current = data_current.split('/');\r\n\r\n\r\n if (_array_current[1] == \"forms\") {\r\n\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const formClientTitle = urlParams.get('formclientTitle');\r\n if (this.props.formLists.length != 0) {\r\n seo({\r\n title: formClientTitle,\r\n pageTitle: formClientTitle,\r\n description: ''\r\n });\r\n } else {\r\n seo({\r\n title: '',\r\n pageTitle: '',\r\n description: ''\r\n });\r\n }\r\n } \r\n else if (_array_current[1] == \"initialpageforms\") {\r\n if (this.props.formLists.length != 0) {\r\n seo({\r\n title: this.props.formLists[0].formClientTitle,\r\n pageTitle: this.props.formLists[0].formClientTitle,\r\n description: ''\r\n });\r\n } else {\r\n seo({\r\n title: '',\r\n pageTitle: '',\r\n description: ''\r\n });\r\n }\r\n }\r\n else {\r\n if (this.props.formLists.length != 0) {\r\n seo({\r\n title: this.props.formLists[0].formClientTitle,\r\n pageTitle: this.props.formLists[0].formClientTitle,\r\n description: ''\r\n });\r\n } else {\r\n seo({\r\n title: '',\r\n pageTitle: '',\r\n description: ''\r\n });\r\n }\r\n }\r\n \r\n\r\n }\r\n\r\n previouspage = () => {\r\n window.history.go(-1);\r\n }\r\n\r\n\r\n public render() {\r\n return (\r\n \r\n {this.renderFlexiFormList()}\r\n \r\n );\r\n }\r\n\r\n private ensureDataFetched() {\r\n this.props.getLangResources();\r\n const script = document.createElement(\"script\");\r\n script.src = \"/Theme/Doccure/admin/assets/js/script.js\";\r\n script.async = true;\r\n document.body.appendChild(script);\r\n var data = window.location.pathname;\r\n\r\n const _array = data.split('/');\r\n if (_array[1] == \"dashboard\") {\r\n return;\r\n }\r\n if (_array[1] == \"forms\") {\r\n var areaId = \"4\";\r\n var modulename = _array[2];\r\n var patientid = _array[3];\r\n var recordid = _array[4];\r\n var id = _array[5];\r\n } else if (_array[1] == \"initialpageforms\") {\r\n var areaId = \"6\";\r\n var modulename = _array[2];\r\n var patientid = _array[3];\r\n var recordid = _array[4];\r\n var id = _array[5];\r\n }\r\n else {\r\n var areaId = \"5\";\r\n var modulename = _array[3];\r\n var patientid = _array[4];\r\n var recordid = _array[5];\r\n var id = _array[7];\r\n }\r\n this.props.requestModuleForm(areaId, pat['id']);\r\n //floatJSBack();\r\n floatingJS();\r\n this.props.getPtaient();\r\n this.props.requestFlexiForm(pat['id'], modulename, \"\", id, pat['id'], localStorage.getItem(\"EncounterTypeId\"), areaId);\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n\r\n }\r\n handlechange1 = (e: any, id: any, checkboxvalue: any) => { \r\n if (e.target.checked == undefined)\r\n return;\r\n if (e.target.checked == true) {\r\n var data1: any = [];\r\n var data2: any = []; \r\n var checkvalue: any = []; \r\n data1 = checkedValues.filter((value: any) => (value.Id == id));\r\n data1.forEach((e2: any) => {\r\n checkvalue = e.target.value + \"~\" + e2.Value;\r\n data2.push({ Id: id, Value: checkvalue.replace(/^~|~$/g, '') });\r\n })\r\n _checkedValues = checkedValues.filter((value: any) => (value.Id != id));\r\n _checkedValues.push(data2[0]);\r\n checkedValues = _checkedValues; \r\n } else {\r\n var data1: any = [];\r\n var data2: any = []; \r\n var checkvalue: any = []; \r\n data1 = checkedValues.filter((value: any) => (value.Id == id)); \r\n //data1.forEach((e2: any) => {\r\n // var checkvalue = e2.Value.replace(e.target.value, \"\") \r\n // data2.push({ Id: id, Value: checkvalue.replace(/^~|~$/g, '') });\r\n //})\r\n data1.forEach((e2: any) => {\r\n var regex = new RegExp(e.target.value, 'g');\r\n var checkvalue = e2.Value.replace(regex, \"\");\r\n checkvalue = checkvalue.replace(/^~|~$/g, '');\r\n data2.push({ Id: id, Value: checkvalue });\r\n });\r\n _checkedValues = checkedValues.filter((value: any) => (value.Id != id)); \r\n _checkedValues.push(data2[0]);\r\n checkedValues = _checkedValues; \r\n }\r\n }\r\n selectValue = (e: any, id: any) => {\r\n var data: any = document.getElementById(id);\r\n if (e.target.value == \"Number of days\") {\r\n if (data != null) {\r\n data.style.display = \"block\";\r\n }\r\n } else {\r\n data.style.display = \"none\";\r\n }\r\n }\r\n addValue = (e: any, value: any) => {\r\n var data: any = document.getElementById(value);\r\n if (data != null) {\r\n data.value = \"Number of days\" + \"~\" + e.target.value;\r\n }\r\n }\r\n\r\n downloadFile = (value: any) => {\r\n this.props.downloadFile(value);\r\n }\r\n\r\n valueCheck = (value: any, currentid: any) => {\r\n\r\n jsonInitial = JSON.parse(JSON.stringify(Object.assign({}, this.props.dynamicForm)));\r\n let checks: any = this.props.formLists.filter((val) => val.customFormFieldsId == value && val.controls != \"Textarea\")\r\n let checks1: any = this.props.formLists.filter((val: any) => val.customFormFieldsId == currentid && val.controls == \"Textarea\")\r\n if (checks1.length > 0) {\r\n var check: any = Object.keys(jsonInitial).filter((fieldIndex) => value == fieldIndex && !(checks1[0].rule).split(\"~\").includes(jsonInitial[fieldIndex]))\r\n\r\n }\r\n else {\r\n var check: any = Object.keys(jsonInitial).filter((fieldIndex) => value == fieldIndex && jsonInitial[fieldIndex] == \"\")\r\n\r\n }\r\n\r\n\r\n\r\n if (checks.length > 0) {\r\n\r\n return check[0] == checks[0].customFormFieldsId;\r\n }\r\n\r\n return false;\r\n\r\n }\r\n\r\n\r\n handleChange(e: any) {\r\n\r\n const name: any = e.target.name;\r\n var element: any = document.getElementsByClassName(name);\r\n var divelement: any = document.getElementsByClassName(name + \"-hide\");\r\n var status: any = false;\r\n this.setState({ status: true })\r\n Array.from(element).forEach((el: any) => {\r\n // Do stuff here\r\n if (el.tagName != \"DIV\") {\r\n var rule: any = el.getAttribute('data-rule')\r\n //el.style.display = \"block\";\r\n var ruleSplit: any = rule.split(\"~\");\r\n if (ruleSplit.includes(e.target.value)) {\r\n el.style.display = \"block\";\r\n if (radiowithtextbox.includes(el.name)) {\r\n radiowithtextbox.pop(el.name)\r\n }\r\n //divelement.style.display = \"block\"\r\n status = true;\r\n Array.from(divelement).forEach((e2: any) => {\r\n e2.style.display = \"block\";\r\n })\r\n }\r\n else if (!ruleSplit.includes(e.target.value)) {\r\n el.style.display = \"none\";\r\n // el.value = \"\";\r\n //divelement.style.display = \"none\"\r\n status = false;\r\n if (!radiowithtextbox.includes(el.name)) {\r\n radiowithtextbox.push(el.name)\r\n }\r\n Array.from(divelement).forEach((e2: any) => {\r\n e2.style.display = \"none\";\r\n })\r\n }\r\n } \r\n });\r\n }\r\n\r\n \r\n\r\n Pageonload = () => {\r\n let parrent: any = this.props.formLists;\r\n let childElements = this.props.formLists.filter(function (value) {\r\n if (value.parentId != null && value.parentId != \"\") {\r\n\r\n Object.keys(jsonInitial).forEach((fieldIndex) => {\r\n if (value.parentId == fieldIndex && jsonInitial[fieldIndex] != \"\") {\r\n activeFields.push(value.parentId)\r\n }\r\n else {\r\n inactiveFields.push(value.parentId)\r\n }\r\n //console.log(fieldIndex, \"fieldIndex\", jsonInitial[fieldIndex])\r\n\r\n })\r\n //return value.parentId;\r\n }\r\n })\r\n let active: Set = new Set(activeFields);\r\n let inactive: Set = new Set(inactiveFields);\r\n\r\n\r\n inactive.forEach((value: any) => {\r\n\r\n var elementtype: any = document.querySelector('input[name=\"' + value + '\"]');\r\n\r\n var element: any = document.getElementsByClassName(value);\r\n var divelement: any = document.getElementsByClassName(value + \"-hide\");\r\n\r\n\r\n Array.from(divelement).forEach((e2: any) => {\r\n\r\n e2.style.display = \"none\";\r\n })\r\n Array.from(element).forEach((el: any) => {\r\n\r\n el.style.display = \"none\";\r\n Array.from(divelement).forEach((e2: any) => {\r\n e2.style.display = \"none\";\r\n })\r\n })\r\n })\r\n active.forEach((value: any) => {\r\n var element: any = document.getElementsByClassName(value);\r\n //console.log(this.valueCheck(value), \"active\")\r\n var divelement: any = document.getElementsByClassName(value + \"-hide\");\r\n Array.from(divelement).forEach((e2: any) => {\r\n e2.style.display = \"none\";\r\n })\r\n Array.from(element).forEach((el: any) => {\r\n let rule: any = el.getAttribute('data-rule')\r\n let ruleSplit: any = rule.split(\"~\");\r\n\r\n if (ruleSplit.includes(jsonInitial[value])) {\r\n el.style.display = \"block\";\r\n Array.from(divelement).forEach((e2: any) => {\r\n e2.style.display = \"block\";\r\n })\r\n }\r\n else {\r\n el.style.display = \"none\";\r\n Array.from(divelement).forEach((e2: any) => {\r\n e2.style.display = \"none\";\r\n })\r\n\r\n }\r\n //el.style.display = \"block\";\r\n })\r\n\r\n })\r\n this.props.formLists.filter(function (value) {\r\n\r\n if (value.controls === \"Date\") {\r\n Object.keys(jsonInitial).forEach((fieldIndex) => {\r\n if (value.customFormFieldsId === fieldIndex) {\r\n\r\n\r\n }\r\n })\r\n\r\n }\r\n\r\n\r\n\r\n if (value.controls === \"Checkbox\") {\r\n Object.keys(jsonInitial).forEach((fieldIndex) => {\r\n if (value.customFormFieldsId === fieldIndex) {\r\n var element1: any = document.getElementsByClassName('eb8221f1-da35-4ec7-8b7d-95988f923cf3[0]');\r\n element1.checked = true;\r\n\r\n\r\n }\r\n })\r\n\r\n }\r\n\r\n if (value.controls === \"Checkboxlist\") {\r\n Object.keys(jsonInitial).forEach((fieldIndex) => {\r\n if (value.customFormFieldsId === fieldIndex) {\r\n var element1: any = document.getElementsByClassName('eb8221f1-da35-4ec7-8b7d-95988f923cf3[0]');\r\n element1.checked = true;\r\n\r\n\r\n }\r\n })\r\n\r\n }\r\n\r\n })\r\n\r\n }\r\n private renderFlexiFormList() {\r\n languagecontent = this.props.LanguageResoures;\r\n const vv1 = this.props.formLists[0];\r\n const patientLocalStroage: any = localStorage.getItem('Patient');\r\n const patient = JSON.parse(patientLocalStroage);\r\n\r\n\r\n\r\n this.setState({\r\n isShowTextBox: true,\r\n })\r\n\r\n\r\n var data = window.location.pathname;\r\n const _array = data.split('/');\r\n\r\n\r\n\r\n\r\n jsonInitial = JSON.parse(JSON.stringify(Object.assign({}, this.props.dynamicForm)));\r\n this.props.formLists.filter(function (value) {\r\n if (value.controls === \"Checkbox\") {\r\n Object.keys(jsonInitial).forEach((fieldIndex) => {\r\n if (value.customFormFieldsId === fieldIndex) {\r\n if (checkCheckbox[value.customFormFieldsId] == undefined) {\r\n if (jsonInitial[fieldIndex] == value.option1) {\r\n checkCheckbox[value.customFormFieldsId] = 'true';\r\n }\r\n else {\r\n checkCheckbox[value.customFormFieldsId] = 'false';\r\n }\r\n }\r\n\r\n }\r\n })\r\n\r\n }\r\n if (value.controls === \"Checkboxlist\") {\r\n Object.keys(jsonInitial).forEach((fieldIndex) => {\r\n if (value.customFormFieldsId === fieldIndex) {\r\n if (checkCheckbox[value.customFormFieldsId] == undefined) {\r\n if (jsonInitial[fieldIndex] == value.option1) {\r\n checkCheckbox[value.customFormFieldsId] = 'true';\r\n }\r\n else {\r\n checkCheckbox[value.customFormFieldsId] = 'false';\r\n }\r\n }\r\n\r\n }\r\n })\r\n\r\n }\r\n /*if (value.controls === \"Date\")*/ \r\n // {Object.keys(jsonInitial).forEach((fieldIndex) => {\r\n // if (value.customFormFieldsId === fieldIndex) {\r\n\r\n\r\n\r\n // if (jsonInitial[fieldIndex] == \"\") {\r\n // jsonInitial[fieldIndex] = \"\";\r\n // }\r\n // else {\r\n // var __dateformat: any = dateFormatSetting(jsonInitial[fieldIndex]);\r\n // if (__dateformat == \"Invalid date\") {\r\n // jsonInitial[fieldIndex] = \"\"\r\n // } else {\r\n // setTimeout(function () {\r\n // var els: any = document.getElementsByName(fieldIndex);\r\n // for (var i = 0; i < els.length; i++) {\r\n // var format: any = localStorage.getItem(\"DateFormat\") || \"\";\r\n // els[i].value = Moment(jsonInitial[fieldIndex]).format(format);\r\n // }\r\n // }, 1000);\r\n // }\r\n\r\n // }\r\n // }\r\n // })\r\n\r\n //}\r\n if (value.controls === \"Date\") {\r\n Object.keys(jsonInitial).forEach((fieldIndex) => {\r\n if (value.customFormFieldsId === fieldIndex) {\r\n\r\n\r\n\r\n if (jsonInitial[fieldIndex] == \"\") {\r\n jsonInitial[fieldIndex] = \"\";\r\n }\r\n else {\r\n var __dateformat: any = datemonthFormatSetting(jsonInitial[fieldIndex]);\r\n if (__dateformat == \"Invalid date\") {\r\n jsonInitial[fieldIndex] = \"\"\r\n } else {\r\n setTimeout(function () {\r\n var els: any = document.getElementsByName(fieldIndex);\r\n for (var i = 0; i < els.length; i++) {\r\n //var inputDate: any = __dateformat;\r\n //var parts: any = inputDate.split('/');\r\n //var outputDate: any = parts[1] + '/' + parts[0] + '/' + parts[2];\r\n // var format: any = localStorage.getItem(\"DateFormat\") || \"\";\r\n els[i].value = __dateformat; /* Moment(jsonInitial[fieldIndex]).format(format);*/\r\n }\r\n }, 1000);\r\n }\r\n\r\n }\r\n }\r\n })\r\n\r\n }\r\n })\r\n\r\n\r\n this.props.formLists.filter(function (value) {\r\n if (value.controls === \"TextboxwithDropdown\") {\r\n Object.keys(jsonInitial).forEach((fieldIndex) => {\r\n var result: any = jsonInitial[fieldIndex].split(\"|\");\r\n if (result.length > 1) {\r\n delete jsonInitial[fieldIndex];\r\n jsonInitial[fieldIndex] = result[1];\r\n jsonInitial[fieldIndex + \"|\" + result[0]] = result[0];\r\n textvalue = result[0];\r\n var data: any = document.getElementById(fieldIndex);\r\n if (data != null) {\r\n data.style.display = \"block\";\r\n }\r\n }\r\n })\r\n\r\n }\r\n })\r\n if (_array[1] == \"forms\") {\r\n var areaId = \"4\";\r\n }\r\n else if (_array[1] == \"initialpageforms\") {\r\n var areaId = \"6\";\r\n }\r\n else {\r\n var areaId = \"5\";\r\n }\r\n\r\n this.props.CustomFormSetting.filter(function (value) {\r\n return value.name === \"Required\"\r\n });\r\n\r\n this.props.CustomFormSetting.forEach(value => {\r\n IsRequiredSkip = value.value\r\n })\r\n\r\n formList = this.props.formLists.filter(function (value: any) {\r\n return value.controls === \"DownloadLink\"\r\n });\r\n\r\n\r\n var pieChart = this.props.formLists.filter((e) => e.controls == \"PieChart\")\r\n\r\n var gender: any = pat[\"gender\"].charAt(0);\r\n if (_checkedValues.length == 0) {\r\n checkedValues = [];\r\n this.props.formLists.forEach((documentlist: any) => {\r\n if (documentlist.controlId == 4) {\r\n checkedValues.push({ Id: documentlist.customFormFieldsId, Value: documentlist.value });\r\n }\r\n if (documentlist.controlId == 21) {\r\n checkedValues.push({ Id: documentlist.customFormFieldsId, Value: documentlist.value });\r\n }\r\n })\r\n }\r\n var prakriti = [];\r\n prakriti = this.props.formLists.filter((value: any) => (value.moduleName == \"Prakriti Analysis\" && value.id != null));\r\n const multipleNotes: any = this.props.formLists.filter((value: any) => (value.controls.toLowerCase() == \"multientrytextarea\"));\r\n\r\n\r\n\r\n var hidesaveBtn: any = [];\r\n hidesaveBtn = this.props.formLists.filter(function (value: any) {\r\n return ((value.id == null) && (value.moduleName == \"Self assessment\"));\r\n });\r\n\r\n // console.log(hidesaveBtn)\r\n\r\n if (multipleNotes.length > 0) {\r\n\r\n if (multipleNotes[0].value !== '') {\r\n noteTextArray = JSON.parse(multipleNotes[0].value)\r\n }\r\n\r\n jsonInitial[multipleNotes[0].customFormFieldsId] = ''\r\n\r\n }\r\n\r\n //console.log(noteTextArray)\r\n\r\n\r\n\r\n const editnote = (id: any, value: any, index: any) => {\r\n\r\n editNoteIndex = index\r\n var field: any = document.getElementById(id);\r\n if (field && field.name == id) {\r\n\r\n field.value = value;\r\n field.classList.add(\"focused\");\r\n field.addEventListener(\"focusin\", () => {\r\n field.value = value;\r\n });\r\n }\r\n }\r\n\r\n var url: any = window.location.pathname;\r\n const urldata = url.split('/');\r\n offset = patient.offset\r\n\r\n // console.log(jsonInitial);\r\n return (\r\n\r\n this.props.isdocformLoading == false ?\r\n
\r\n \r\n\r\n {\r\n areaId == \"4\" && this.props.ResultHtml.length > 0 ?
: \"\"\r\n }\r\n\r\n\r\n
\r\n
\r\n
\r\n {\r\n vv1 ? \r\n

{vv1.formClientTitle}

\r\n\r\n

{vv1.subTitle.toLowerCase()}

: \"\"\r\n }\r\n\r\n {\r\n this.props.formLists.map((documentlist: FlexiFormStore.FormList) =>\r\n\r\n documentlist.controls.toLowerCase() == \"header3\" ?\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n < h3 key={documentlist.customFormFieldsId} className=\"widget-title pat-widget-title mb-2\" > {documentlist.clientTitle} :\r\n \"\" :\r\n < h3 key={documentlist.customFormFieldsId} className=\"widget-title pat-widget-title mb-2\" >{documentlist.clientTitle} :\r\n < h3 key={documentlist.customFormFieldsId} className=\"widget-title pat-widget-title mb-2\" >{documentlist.clientTitle}\r\n : documentlist.controls.toLowerCase() == \"header5\" ?\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n
{documentlist.clientTitle}
:\r\n \"\" :\r\n
{documentlist.clientTitle}
:\r\n
{documentlist.clientTitle}
\r\n\r\n : documentlist.controls.toLowerCase() == \"text\" ?\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n :\r\n \"\" :\r\n :\r\n \r\n\r\n : documentlist.controls.toLowerCase() == \"readonlytext\" ?\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n :\r\n \"\" :\r\n :\r\n \r\n : documentlist.controls.toLowerCase() == \"textarea\" && documentlist.customFormName.toLowerCase() != (\"Recommendation_(Wellness_care_plan)\").toLowerCase()?\r\n\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n :\r\n \"\" :\r\n :\r\n \r\n : documentlist.controls.toLowerCase() == \"multientrytextarea\" && documentlist.value !== \"\" ?
\r\n\r\n\r\n {\r\n noteText = e.target.value\r\n }}\r\n key={documentlist.customFormFieldsId}\r\n name={documentlist.customFormFieldsId} maxLength={documentlist.maxLength}\r\n component={MultiEntryTextArea} label={documentlist.clientTitle}\r\n placeholder={documentlist.clientTitle == \"\" ? documentlist.option1 : \"\"}\r\n //validate={documentlist.isRequired == true ? [required] : \"\"}\r\n validate={\"\"}\r\n type=\"text\"\r\n autofocus=\"autoFocus\"\r\n id={documentlist.customFormFieldsId}\r\n dataRule={documentlist.rule}\r\n //disabled={true}\r\n addClass={documentlist.parentId != null ? this.valueCheck(documentlist.parentId, documentlist.customFormFieldsId) ? documentlist.parentId + \"-hide hide\" : documentlist.parentId + \"-hide\" : \"\"}\r\n dataClass={documentlist.parentId != null ? documentlist.parentId : \"\"}\r\n\r\n />\r\n {noteTextArray.length > 0 ? noteTextArray.map((list: any, index: any) => (\r\n
\r\n

{list.Note}

\r\n

{`Updated by ${list.Updated}`}{`on ${dateTimeFormat(list.UpdatedOn)}`}

\r\n
\r\n )) : \"\"}\r\n\r\n\r\n
\r\n : documentlist.controls.toLowerCase() == \"multientrytextarea\" && documentlist.value === \"\" ?\r\n {\r\n noteText = e.target.value\r\n }}\r\n key={documentlist.customFormFieldsId}\r\n name={documentlist.customFormFieldsId} maxLength={documentlist.maxLength}\r\n component={MultiEntryTextArea} label={documentlist.clientTitle}\r\n placeholder={documentlist.clientTitle == \"\" ? documentlist.option1 : \"\"}\r\n //validate={documentlist.isRequired == true ? [required] : \"\"}\r\n validate={\"\"}\r\n type=\"text\"\r\n autofocus=\"autoFocus\"\r\n id={documentlist.customFormFieldsId}\r\n dataRule={documentlist.rule}\r\n addClass={documentlist.parentId != null ? this.valueCheck(documentlist.parentId, documentlist.customFormFieldsId) ? documentlist.parentId + \"-hide hide\" : documentlist.parentId + \"-hide\" : \"\"}\r\n dataClass={documentlist.parentId != null ? documentlist.parentId : \"\"}\r\n\r\n />\r\n\r\n :\r\n documentlist.controls.toLowerCase() == \"checkbox\" && documentlist.customFormName.toLowerCase() != (\"Medical_Assessment_Form\").toLowerCase()?\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n
\r\n \r\n
\r\n {(documentlist.option1).split(\"~\").map((options, i) =>\r\n this.handlecheckboxchange(e, documentlist.customFormFieldsId)}\r\n checked={ltrim(options) == ltrim(documentlist.value) && documentlist.name != \"consentagree\" ? true : false}\r\n validate={documentlist.isRequired == true ? [required] : \"\"} />\r\n )}\r\n
\r\n
:\r\n \"\" :\r\n
\r\n \r\n
\r\n {(documentlist.option1).split(\"~\").map((options, i) =>\r\n this.handlecheckboxchange(e, documentlist.customFormFieldsId)}\r\n checked={ltrim(options) == ltrim(documentlist.value) && documentlist.name != \"consentagree\" ? true : false}\r\n validate={documentlist.isRequired == true ? [required] : \"\"} />\r\n )}\r\n
\r\n
:\r\n
\r\n \r\n
\r\n {(documentlist.option1).split(\"~\").map((options, i) =>\r\n this.handlecheckboxchange(e, documentlist.customFormFieldsId)}\r\n checked={ltrim(options) == ltrim(documentlist.value) && documentlist.name != \"consentagree\" ? true : false}\r\n validate={documentlist.isRequired == true ? [required] : \"\"} />\r\n )}\r\n
\r\n
\r\n : documentlist.controls.toLowerCase() == \"checkbox\" && documentlist.customFormName.toLowerCase() == (\"Medical_Assessment_Form\").toLowerCase() && documentlist.isAllowMultiple != true ?\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n
this.handlechange1(e, documentlist.customFormFieldsId, documentlist)}>\r\n this.handlechange1(e, documentlist.customFormFieldsId, documentlist)}\r\n /*onClick={(e: any) => this.handleChange(e, documentlist.customFormFieldsId)}*/\r\n options={(documentlist.option1).split(\"~\").map((val) => { return { key: ltrim(val) + documentlist.customFormFieldsId, title: ltrim(val), value: ltrim(val) } })}\r\n validate={documentlist.isRequired == true ? [required] : \"\"} />
:\r\n \"\" :\r\n
this.handlechange1(e, documentlist.customFormFieldsId, documentlist)}>\r\n this.handlechange1(e, documentlist.customFormFieldsId, documentlist)}\r\n /*onClick={(e: any) => this.handleChange(e, documentlist.customFormFieldsId)}*/\r\n options={(documentlist.option1).split(\"~\").map((val) => { return { key: ltrim(val) + documentlist.customFormFieldsId, title: ltrim(val), value: ltrim(val) } })}\r\n validate={documentlist.isRequired == true ? [required] : \"\"} />
:\r\n
this.handlechange1(e, documentlist.customFormFieldsId, documentlist)}>\r\n this.handlechange1(e, documentlist.customFormFieldsId, documentlist)}\r\n /*onClick={(e: any) => this.handleChange(e, documentlist.customFormFieldsId)}*/\r\n options={(documentlist.option1).split(\"~\").map((val) => { return { key: ltrim(val) + documentlist.customFormFieldsId, title: ltrim(val), value: ltrim(val) } })}\r\n validate={documentlist.isRequired == true ? [required] : \"\"} />
\r\n :\r\n documentlist.controls.toLowerCase() == \"checkboxlist\" && documentlist.isAllowMultiple != true ?\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n
this.handlechange1(e, documentlist.customFormFieldsId, documentlist)}>\r\n this.handlechange1(e, documentlist.customFormFieldsId, documentlist)}\r\n /*onClick={(e: any) => this.handleChange(e, documentlist.customFormFieldsId)}*/\r\n options={(documentlist.option1).split(\"~\").map((val) => { return { key: ltrim(val) + documentlist.customFormFieldsId, title: ltrim(val), value: ltrim(val) } })}\r\n />
:\r\n \"\" :\r\n
this.handlechange1(e, documentlist.customFormFieldsId, documentlist)}>\r\n this.handlechange1(e, documentlist.customFormFieldsId, documentlist)}\r\n /*onClick={(e: any) => this.handleChange(e, documentlist.customFormFieldsId)}*/\r\n options={(documentlist.option1).split(\"~\").map((val) => { return { key: ltrim(val) + documentlist.customFormFieldsId, title: ltrim(val), value: ltrim(val) } })}\r\n />
:\r\n
this.handlechange1(e, documentlist.customFormFieldsId, documentlist)}>\r\n this.handlechange1(e, documentlist.customFormFieldsId, documentlist)}\r\n /*onClick={(e: any) => this.handleChange(e, documentlist.customFormFieldsId)}*/\r\n options={(documentlist.option1).split(\"~\").map((val) => { return { key: ltrim(val) + documentlist.customFormFieldsId, title: ltrim(val), value: ltrim(val) } })}\r\n />
\r\n :\r\n documentlist.controls.toLowerCase() == \"radio\" && documentlist.customFormName.toLowerCase() != (\"Recommendation_(Wellness_care_plan)\").toLowerCase() || documentlist.controls.toLowerCase() == \"radiobuttonlist\" && documentlist.customFormName.toLowerCase() != (\"Recommendation_(Wellness_care_plan)\").toLowerCase() ?\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n this.handleChange(e)}\r\n /*onClick={(e: any) => this.handleChange(e)}*/\r\n options={(documentlist.option1).split(\"~\").map((val) => { return { key: ltrim(val) + documentlist.customFormFieldsId, title: ltrim(val), value: ltrim(val) } })}\r\n validate={documentlist.isRequired == true ? [required] : \"\"}\r\n fielddisabled={documentlist.moduleName == \"Self assessment\" ? documentlist.id == null ? false : true : false}\r\n /> :\r\n \"\" :\r\n this.handleChange(e)}\r\n\r\n options={(documentlist.option1).split(\"~\").map((val) => { return { key: ltrim(val) + documentlist.customFormFieldsId, title: ltrim(val), value: ltrim(val) } })}\r\n validate={documentlist.isRequired == true ? [required] : \"\"}\r\n fielddisabled={documentlist.moduleName == \"Self assessment\" ? documentlist.id == null ? false : true : false} /> :\r\n this.handleChange(e)}\r\n options={(documentlist.option1).split(\"~\").map((val) => { return { key: ltrim(val) + documentlist.customFormFieldsId, title: ltrim(val), value: ltrim(val) } })}\r\n\r\n validate={documentlist.isRequired == true ? [required] : \"\"}\r\n fielddisabled={documentlist.moduleName == \"Self assessment\" ? documentlist.id == null ? false : true : false} />\r\n\r\n\r\n :\r\n (documentlist.controls.toLowerCase() == \"radio\" && documentlist.customFormName.toLowerCase() == (\"Recommendation_(Wellness_care_plan)\").toLowerCase()) || (documentlist.controls.toLowerCase() == \"radiobuttonlist\" && documentlist.customFormName.toLowerCase() == (\"Recommendation_(Wellness_care_plan)\").toLowerCase()) ?\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n \"\":\r\n \"\" :\r\n \"\" :\r\n
{documentlist.value}
\r\n :\r\n documentlist.controls.toLowerCase() == \"date\" ?\r\n\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n :\r\n \"\"\r\n : :\r\n \r\n\r\n\r\n : documentlist.controls.toLowerCase() == \"email\" ?\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n \r\n : \"\"\r\n : \r\n : \r\n\r\n\r\n : documentlist.controls.toLowerCase() == \"number\" ?\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n\r\n \r\n : \"\"\r\n : \r\n : \r\n : documentlist.controls.toLowerCase() == \"textboxwithdropdown\" ?\r\n
\r\n \r\n
\r\n
\r\n this.addValue(e, documentlist.customFormFieldsId)} type=\"text\" />\r\n
\r\n
\r\n { return { key: val, value: val, name: val } })} component={renderTextSelectOptionField} validate={documentlist.isRequired == true ? [required] : \"\"} className=\"form-control\" />
\r\n
\r\n
\r\n : documentlist.controls.toLowerCase() == \"dropdown\" ?\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n\r\n
\r\n \r\n this.handleChange(e)} options={(documentlist.option1).split(\"~\").map((val) => { return { key: val, value: val, name: val } })} component={renderSelectOptionField} validate={documentlist.isRequired == true ? [required] : \"\"} className=\"form-control\" />\r\n
: \"\" :\r\n
\r\n \r\n this.handleChange(e)} options={(documentlist.option1).split(\"~\").map((val) => { return { key: val, value: val, name: val } })} component={renderSelectOptionField} validate={documentlist.isRequired == true ? [required] : \"\"} className=\"form-control\" />\r\n
:\r\n
\r\n \r\n this.handleChange(e)} options={(documentlist.option1).split(\"~\").map((val) => { return { key: val, value: val, name: val } })} component={renderSelectOptionField} validate={documentlist.isRequired == true ? [required] : \"\"} className=\"form-control\" />\r\n
\r\n : documentlist.controls.toLowerCase() == \"textboxwithdropdown\" ?\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n
\r\n \r\n
\r\n
\r\n { return { key: val, value: val, name: val } })} onChange={(e: any) => this.selectValue(e, documentlist.customFormFieldsId)} component={renderTextSelectOptionField} validate={[required]} className=\"form-control\" />\r\n
\r\n
\r\n this.addValue(e, documentlist.option1)} type=\"text\" />\r\n
\r\n
\r\n
\r\n : \"\"\r\n\r\n\r\n :
\r\n \r\n
\r\n
\r\n { return { key: val, value: val, name: val } })} onChange={(e: any) => this.selectValue(e, documentlist.customFormFieldsId)} component={renderTextSelectOptionField} validate={[required]} className=\"form-control\" />\r\n
\r\n
\r\n this.addValue(e, documentlist.option1)} type=\"text\" autofocus=\"autoFocus\"/>\r\n
\r\n
\r\n
:\r\n
\r\n \r\n
\r\n
\r\n { return { key: val, value: val, name: val } })} onChange={(e: any) => this.selectValue(e, documentlist.customFormFieldsId)} component={renderTextSelectOptionField} validate={[required]} className=\"form-control\" />\r\n
\r\n
\r\n this.addValue(e, documentlist.option1)} type=\"text\" autofocus=\"autoFocus\"/>\r\n
\r\n
\r\n
\r\n : documentlist.controls.toLowerCase() == \"template\" ?\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n\r\n\r\n \r\n \r\n
\r\n : \"\"\r\n : \r\n \r\n
\r\n \r\n : \r\n \r\n
\r\n \r\n\r\n :\r\n documentlist.customFormName.toLowerCase() == (\"Recommendation_(Wellness_care_plan)\").toLowerCase() ?\r\n documentlist.controls.toLowerCase() == \"checkboxwithheader\" ?\r\n \r\n
{documentlist.clientTitle}
\r\n
\r\n :\r\n documentlist.controls.toLowerCase() == \"dropdown\" ?\r\n \r\n
\r\n \r\n this.handleChange(e)} options={(documentlist.option1).split(\"~\").map((val) => { return { key: val, value: val, name: val } })} component={renderSelectOptionField} validate={documentlist.isRequired == true ? [required] : \"\"} className=\"form-control\" />\r\n
\r\n
:\r\n documentlist.controls.toLowerCase() == \"textarea\" ? \r\n \r\n \r\n Note: \r\n
\r\n
: \"\"\r\n :\r\n documentlist.customFormName == \"\" ?\r\n

No records found

\r\n :\r\n documentlist.controls.toLowerCase() == \"piechart\" ?\r\n
\r\n \r\n
\r\n :\r\n documentlist.controls.toLowerCase() == \"downloadlink\" ?\r\n documentlist.rule != \"\" && documentlist.rule != null ? (documentlist.rule == \"M\" || documentlist.rule == \"F\") ? documentlist.rule == gender ?\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
: \"\"\r\n : \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n : \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
: \"\"\r\n )\r\n }\r\n
\r\n
\r\n {\r\n urldata[2] == \"Recommendation%20(Wellness%20care%20plan)\" ?\r\n \r\n {urldata[5] == \"null\" ? \"\" : }\r\n :\r\n \r\n {\r\n urldata[1] == \"forms\" ?\r\n
\r\n {\r\n formList.length == 1 ? \"\" :\r\n
\r\n {this.props.formLists.length > 0 ?\r\n : \"\"}\r\n {areaId == \"5\" && IsRequiredSkip == \"No\" ? : \"\"}\r\n\r\n
\r\n }\r\n
:\r\n
\r\n {\r\n formList.length == 1 ? \"\" :\r\n
\r\n {this.props.formLists.length > 0 ?\r\n : \"\"}\r\n {this.props.formLists.length > 0 && areaId == \"5\" ?\r\n \r\n : \"\"}\r\n {areaId == \"5\" && IsRequiredSkip == \"No\" ? : \"\"}\r\n\r\n
\r\n }\r\n
\r\n }\r\n
\r\n }\r\n \r\n\r\n
\r\n \r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n Personalized wellness plan\r\n
\r\n For digestive issue – constipation\r\n
\r\n \"\"\r\n\r\n
\r\n
\r\n \"\"\r\n
\r\n
\r\n \"\"\r\n
\r\n
\r\n \"\"\r\n\r\n \"\"\r\n\r\n \"\"\r\n
\r\n {\r\n this.props.formLists.map((documentlist: FlexiFormStore.FormList) =>\r\n\r\n documentlist.clientTitle == \"Aahar\" ?\r\n \r\n
\r\n
\r\n
AAHAR
\r\n Herbal and supplement recommendation\r\n
\r\n
\r\n
\r\n \"\"\r\n\r\n
\r\n
\r\n Aahar refers to the food and drink we consume, and Ayurveda\r\n recommends consuming  fresh, whole, and natural foods that\r\n suit our Dosha. It stresses mindful eating and proper\r\n preparation, which involves enhancing food's nutritional value\r\n and digestibility.\r\n
\r\n \"\"\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Recommendation\r\n
\r\n
\r\n
\r\n
\r\n
: documentlist.clientTitle == \"Achar\" ?\r\n \r\n
\r\n
\r\n
Aachar
\r\n Lifestyle Recommendations\r\n
\r\n
\r\n
\r\n \"\"\r\n\r\n
\r\n
\r\n Aachar refers to our daily routines and Ayurveda recommends\r\n following healthy habits that align with the diurnal and\r\n seasonal rhythms of nature. This includes waking up and going\r\n to bed at consistent times, maintaining a regular meal\r\n schedule, practicing good hygiene, and engaging in regular\r\n physical exercise to support the body's natural rhythms and\r\n promote balance of mind, body, and spirit.\r\n
\r\n \"\"\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Recommendation\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n : documentlist.clientTitle == \"Vihar\" ?\r\n \r\n
\r\n
\r\n
Vihar
\r\n Behavioral Recommendations\r\n
\r\n
\r\n
\r\n \"\"\r\n\r\n
\r\n
\r\n Vihar involves our social and environmental interactions,\r\n including creative and leisure activities that promote\r\n relaxation, positive social connections, and well-being.\r\n Ayurveda emphasizes the importance of maintaining healthy\r\n social interactions, engaging in enjoyable activities, and\r\n fostering a connection with our environment. By nurturing\r\n positive relationships and engaging in meaningful activities,\r\n we can promote our overall well-being.\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n Recommendation\r\n
\r\n
\r\n
\r\n
\r\n
\r\n : documentlist.clientTitle == \"Vichar\" ?\r\n \r\n
\r\n
\r\n
Vichar
\r\n Mindset Recommendations\r\n
\r\n
\r\n
\r\n \"\"\r\n\r\n
\r\n \"\"\r\n\r\n
\r\n Vichar refers to our thought patterns and mental attitudes.\r\n Ayurveda  encourages  cultivating a positive mindset and\r\n healthy emotional states, such as love, compassion, gratitude,\r\n and contentment that can help  in better social relationships\r\n and interactions and  maintain balance and harmony in our mind\r\n and body.\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Recommendation\r\n
\r\n
\r\n
\r\n
\r\n
: documentlist.clientTitle == \"Kriya\" ?\r\n \r\n
\r\n
\r\n
Kriya
\r\n Purification and Detoxification Practices\r\n
\r\n
\r\n
\r\n \"\"\r\n\r\n
\r\n
\r\n

\r\n Kriya practices in Ayurveda aim to support the body's\r\n natural functions of breathing, digestion, and elimination.\r\n

\r\n

\r\n Incorporating Kriya practices such as cleansing rituals and\r\n breathing exercises can promote the healthy functioning of\r\n channels responsible for elimination. These practices\r\n support physical, mental, and emotional balance, making them\r\n an essential aspect of Ayurvedic self-care.\r\n

\r\n
\r\n \"\"\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Recommendation\r\n
\r\n
    \r\n Practice yoga asanas that   stimulate  digestive system and aiding\r\n in bowel movements -  Paschimottanasana  and Pavanamuktasana\r\n
\r\n
\r\n
\r\n
: documentlist.clientTitle == \"Karma\" ?\r\n \r\n
\r\n
\r\n
Karma
\r\n Behaviour Modification\r\n
\r\n
\r\n
\r\n \"\"\r\n\r\n
\r\n \"\"\r\n\r\n
\r\n Karma in Ayurveda relates to the concept of cause and effect,\r\n where our actions have a direct impact on our health and\r\n wellbeing. It emphasizes the importance of conscious choices\r\n and intentional actions that align with our values and\r\n purpose.\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Recommendation\r\n
\r\n
\r\n
\r\n
\r\n
: documentlist.clientTitle == \"Aushadi\" ?\r\n \r\n
\r\n
\r\n
Oushadhi
\r\n Herbal and Supplement Recommendations\r\n
\r\n
\r\n
\r\n \"\"\r\n\r\n
\r\n \"\"\r\n\r\n
\r\n Aushadhi in Ayurveda  refers to the use of herbal remedies and\r\n other natural medicines  to prevent and treat illness. These\r\n remedies are tailored to an individual's constitution and are\r\n believed to bring balance and harmony to the body and mind. By\r\n using natural medicines, Ayurveda emphasizes the importance of\r\n addressing the root cause of an illness rather than just\r\n treating its symptoms.\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Recommendation\r\n
\r\n
\r\n
\r\n
\r\n
: documentlist.clientTitle == \"Vyayam\" ?\r\n \r\n
\r\n
\r\n
Vyayama
\r\n Physical Exercise Recommendations\r\n
\r\n
\r\n
\r\n \"\"\r\n\r\n
\r\n
\r\n Vyayam, the Ayurvedic concept of physical exercise, emphasizes\r\n the importance of regular physical activity such as yoga,\r\n walking, or other forms of exercise. Incorporating regular\r\n physical exercise into our daily routine can help improve\r\n flexibility, strength, balance, coordination, cardiovascular\r\n health, and boost the immune system.\r\n
\r\n \"\"\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Recommendation\r\n
\r\n
\r\n
\r\n
\r\n
: \"\"\r\n )\r\n }\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n :\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\n\r\nconst mapDispatchToProps = {\r\n ...LoginStore.actionCreators,\r\n ...FlexiFormStore.actionCreators,\r\n ...Account.actionCreators,\r\n ...ContactStore.actionCreators,\r\n ...LanguageResourcesStore.actionCreators\r\n};\r\n\r\n\r\nconst mapStateToProps = (state: ApplicationState) => {\r\n\r\n let values = {\r\n initialValues: jsonInitial,\r\n ...state.login, ...state.flexiform, ...state.account, ...state.contact, ...state.langResources\r\n };\r\n\r\n return values;\r\n}\r\n\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(reduxForm({\r\n form: 'FlexiForm',\r\n enableReinitialize: true,\r\n onSubmitFail: (errors) => {\r\n setTimeout(() => {\r\n if (document.getElementsByClassName(\"is-invalid\")[0]) {\r\n document.getElementsByClassName(\"is-invalid\")[0].scrollIntoView({ block: 'start' });\r\n }\r\n else {\r\n document.getElementsByClassName(\"flexiform\")[0].scrollIntoView({ block: 'start' });\r\n }\r\n }, 1000)\r\n }\r\n})(FlexiFormClass as any))\r\n\r\nfunction groupBy(checkboxServerData: any, key: any) {\r\n return checkboxServerData.reduce(function (rv: any, x: any) {\r\n (rv[x[key]] = rv[x[key]] || []).push(x.Value);\r\n //console.log(rv);\r\n return rv;\r\n }, {});\r\n};\r\n\r\n\r\n//function handlechange1(e: any, id: any, checkboxvalue: any) {\r\n// if (e.target.checked) {\r\n\r\n// var data1: any = [];\r\n// var data2: any = [];\r\n// data1 = checkedValues.filter((value: any) => (value.Id == id));\r\n// data1.forEach((e2: any) => {\r\n// var checkvalue = e.target.value + \"~\" + e2.Value;\r\n// data2.push({ Id: id, Value: checkvalue.replace(/^~|~$/g, '') });\r\n// })\r\n// _checkedValues = checkedValues.filter((value: any) => (value.Id != id));\r\n// _checkedValues.push(data2[0]);\r\n// checkedValues = _checkedValues;\r\n\r\n// } else {\r\n// var data1: any = [];\r\n// var data2: any = [];\r\n// data1 = checkedValues.filter((value: any) => (value.Id == id));\r\n// data1.forEach((e2: any) => {\r\n// var checkvalue = e2.Value.replace(e.target.value, \"\")\r\n// data2.push({ Id: id, Value: checkvalue.replace(/^~|~$/g, '') });\r\n// })\r\n// _checkedValues = checkedValues.filter((value: any) => (value.Id != id));\r\n// _checkedValues.push(data2[0]);\r\n// checkedValues = _checkedValues;\r\n\r\n// }\r\n//}","import { title } from 'process';\r\nimport * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { scrollTop } from '../../helper/formvalidation';\r\nimport { seo } from '../../helper/Script';\r\nimport Flexiform from '../library/flexiform/FlexiForm';\r\nimport HeaderDrProfile from '../widget/HeaderDrProfile';\r\ntype CounterProps = RouteComponentProps<{}>;\r\n\r\nclass Questions extends React.PureComponent {\r\n \r\n public componentDidMount() {\r\n\r\n seo({\r\n title: 'Appointments Questionnaire',\r\n pageTitle: 'Intake Questionnaire',\r\n description: ''\r\n });\r\n scrollTop();\r\n }\r\n componentDidUpdate() {\r\n seo({\r\n title: 'Appointments Questionnaire',\r\n pageTitle: 'Intake Questionnaire',\r\n description: '',\r\n\r\n });\r\n scrollTop();\r\n }\r\n public render() {\r\n return (\r\n //var formList: any = [];\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n );\r\n }\r\n};\r\nexport default connect(\r\n \r\n)(Questions);\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { ApplicationState } from '../../store/index';\r\nimport * as FlexiFormStore from '../../store/library/flexiform/FlexiForm';\r\nimport * as ContactStore from '../../store/patient/Contact';\r\nimport DashboardNavMenu from '../../components/layout/menu/DashboardNav'\r\nimport { seo } from '../../helper/Script';\r\nimport ContentLoader from 'react-content-loader';\r\nimport Moment from 'moment';\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\n\r\nimport { dateFormat, dateUTCFormat, dateFormatConvert, timeFormatConvert, dateTimeFormat, setTittle, scrollTop } from '../../helper/formvalidation';\r\n// At runtime, Redux will merge together...\r\ntype DocumentListProps =\r\n FlexiFormStore.FlexiListsState & ContactStore.ContactState & LanguageResourcesStore.LanguageResouresState // ... state we've requested from the Redux store\r\n & typeof FlexiFormStore.actionCreators & typeof ContactStore.actionCreators & typeof LanguageResourcesStore.actionCreators// ... plus action creators we've requested\r\n & RouteComponentProps<{ startDateIndex: string }>; // ... plus incoming routing parameters\r\nvar patientLocalStroage: any = localStorage.getItem('Patient');\r\nvar pat = JSON.parse(patientLocalStroage);\r\nvar languagecontent: any = \"\";\r\nvar langdata: any = \"\";\r\nclass DynamicForms extends React.PureComponent {\r\n constructor(props: any) {\r\n super(props);\r\n }\r\n\r\n // This method is called when the component is first added to the document\r\n public componentDidMount() {\r\n this.ensureDataFetched();\r\n scrollTop();\r\n }\r\n componentDidUpdate() {\r\n seo(setTittle(languagecontent == \"\" ? \"\" : languagecontent['breadcrumb']));\r\n }\r\n public render() {\r\n return (\r\n \r\n {this.renderDoctorList()}\r\n \r\n );\r\n }\r\n\r\n private ensureDataFetched() {\r\n this.props.requestModuleForm(\"4\", pat['id']);\r\n this.props.getLangResources();\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n }\r\n\r\n loadForm(modulename: any, id: any, formClientTitle: any) {\r\n this.props.requestFormDisplay(modulename, this.props.contact.id, this.props.contact.id, id, formClientTitle);\r\n }\r\n convertDate(time: any) {\r\n\r\n return Moment.utc(time).utcOffset(+parseInt(localStorage.getItem('timeOffset') || \"\")).format('D MMM YYYY')\r\n }\r\n convertTime(time: any) {\r\n\r\n return Moment.utc(time).utcOffset(+parseInt(localStorage.getItem('timeOffset') || \"\")).format('LT')\r\n }\r\n\r\n private renderDoctorList() {\r\n languagecontent = this.props.LanguageResoures;\r\n return (\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {\r\n this.props.isFormListLoading == true ? \r\n \r\n \r\n \r\n :
\r\n {\r\n this.props.moduleLists.length == 0 ?\r\n
{languagecontent['noformsfound']}
:\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {this.props.moduleLists.map((module: FlexiFormStore.ModuleList) =>\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n )\r\n }\r\n\r\n \r\n
{languagecontent['formnamelabel']}{languagecontent['modifiedon']}{languagecontent['modifiedby']}
this.loadForm(module.moduleName, module.id, module.formClientTitle)}>{module.formClientTitle}{module.modifiedOn ? dateTimeFormat(module.modifiedOn) : -}{module.modifiedBy ? module.modifiedBy : -}
\r\n }\r\n
\r\n }\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n );\r\n }\r\n}\r\n\r\nexport default connect(\r\n (state: ApplicationState) => ({ ...state.flexiform, ...state.contact, ...state.langResources }), // Selects which state properties are merged into the component's props\r\n ({ ...FlexiFormStore.actionCreators, ...ContactStore.actionCreators, ...LanguageResourcesStore.actionCreators })// Selects which action creators are merged into the component's props\r\n)(DynamicForms as any);\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { ApplicationState } from '../../store/index';\r\nimport * as FlexiFormStore from '../../store/library/flexiform/FlexiForm';\r\nimport * as ContactStore from '../../store/patient/Contact';\r\nimport DashboardNavMenu from '../../components/layout/menu/DashboardNav'\r\nimport FlexiFormClass from '../../components/library/flexiform/FlexiForm'\r\nimport * as LoginStore from '../../store/account/Login';\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\nimport { setTittle } from '../../helper/formvalidation';\r\nimport { seo } from '../../helper/Script';\r\n\r\n// At runtime, Redux will merge together...\r\ntype FormsProps =\r\n\tFlexiFormStore.FlexiListsState & ContactStore.ContactState & LoginStore.LoginState & LanguageResourcesStore.LanguageResouresState// ... state we've requested from the Redux store\r\n\t& typeof FlexiFormStore.actionCreators & typeof ContactStore.actionCreators & typeof LoginStore.actionCreators & typeof LanguageResourcesStore.actionCreators// ... plus action creators we've requested\r\n\t& RouteComponentProps<{ startDateIndex: string }>; // ... plus incoming routing parameters\r\nvar languagecontent: any = \"\";\r\nclass Forms extends React.PureComponent {\r\n\tconstructor(props: any) {\r\n\t\tsuper(props);\r\n\t}\r\n\r\n\t// This method is called when the component is first added to the document\r\n\tpublic componentDidMount() {\r\n\t\tthis.ensureDataFetched();\r\n\t}\r\n\t//public componentDidUpdate() {\r\n\t//\tseo(setTittle(languagecontent == \"\" ? \"\" : languagecontent['breadcrumb']));\r\n\t//}\r\n\tpublic render() {\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{this.renderDoctorList()}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n\r\n\tprivate ensureDataFetched() {\r\n\t\t//this.props.getPtaient();\r\n\t\t//this.props.getLangResources();\r\n\t\t//this.props.requestFlexiForm(this.props.contact.id, \"\", \"\", \"\", this.props.contact.id, \"\");\r\n\t}\r\n\r\n\tprivate renderDoctorList() {\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default connect(\r\n\t(state: ApplicationState) => ({ ...state.flexiform, ...state.contact, ...state.login, ...state.langResources }), // Selects which state properties are merged into the component's props\r\n\t({ ...FlexiFormStore.actionCreators, ...ContactStore.actionCreators, ...LoginStore.actionCreators, ...LanguageResourcesStore.actionCreators })// Selects which action creators are merged into the component's props\r\n)(Forms as any);\r\n","import React from \"react\";\r\nimport { Redirect, Route } from \"react-router-dom\";\r\nimport axios from 'axios';\r\nexport const PublicRoute = ({ component, path, ...restOfProps }: { component: any; path: any }) =>\r\n{\r\n \r\n const Component = component;\r\n \r\n var isAuthenticated = localStorage.getItem(\"isAuth\") || \"false\";\r\n //console.log(isAuthenticated, \"isAuthenticated -login\")\r\n return (\r\n \r\n \r\n !isAuthenticated ? : isAuthenticated == \"false\" ? : isAuthenticated == \"true\" ? : \"\"\r\n \r\n }\r\n />\r\n );\r\n\r\n}\r\n\r\nexport const ProtectedRoute= ({ component, path, ...restOfProps }: { component: any; path: any }) => {\r\n const Component = component;\r\n\r\n var isAuthenticated = localStorage.getItem(\"isAuth\") || \"false\";\r\n \r\n return (\r\n \r\n \r\n !isAuthenticated ? pageredirect() : isAuthenticated == \"true\" ? < Component {...props} /> : isAuthenticated == \"false\" ? pageredirect():\"\"\r\n \r\n }\r\n />\r\n );\r\n \r\n}\r\n\r\nfunction pageredirect() {\r\n axios.get('account/logout')\r\n .then(function (response:any) {\r\n localStorage.setItem(\"isAuth\", \"false\");\r\n console.log(\"custom route tsx\")\r\n localStorage.removeItem(\"Patient\");\r\n //localStorage.removeItem(\"isAuth\");\r\n localStorage.removeItem(\"pathName\");\r\n localStorage.removeItem(\"redirectUrl\");\r\n localStorage.removeItem(\"redirectQequestQueueUrl\");\r\n })\r\n .catch(function (error:any) {\r\n })\r\n .then(function () {\r\n });\r\n return window.location.href = \"/login\";\r\n}\r\n\r\n\r\n\r\n\r\n","import * as React from 'react';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { connect } from 'react-redux';\r\nimport { ApplicationState } from '../../store/index';\r\nimport * as DashboardNavStore from '../../store/menu/DashboardNav';\r\nimport * as ProfileStore from '../../store/patient/ProfileSettings';\r\nimport * as LoginStore from '../../store/account/Login';\r\nimport * as HandleRequest from '../../helper/Request';\r\nimport DashboardNavMenu from '../../components/layout/menu/DashboardNav'\r\nimport ContactForm from '../widget/ContactForm';\r\nimport 'react-bootstrap-typeahead/css/Typeahead.css';\r\nimport { floatingJS, groupArrayOfObjects, seo } from '../../helper/Script';\r\nimport * as VisitDetail from '../../store/appointment/VisitDetail';\r\nimport * as PrintDetail from '../../store/appointment/Prescription';\r\nimport { stat } from 'fs';\r\nimport ContentLoader from 'react-content-loader';\r\nimport { dateUTCFormat, dateFormat, statusColor, dateTimeFormat, paymentstatusColor, setTittle } from '../../helper/formvalidation';\r\nimport Moment from 'moment';\r\nimport * as TransactionStore from '../../store/patient/Transaction';\r\nimport * as SiteDetailStore from '../../store/SiteDetail';\r\nimport * as Account from '../../store/siteaccount/Account';\r\nimport * as documentStore from '../../store/library/document/DocumentList';\r\nimport * as FlexiFormStore from '../../store/library/flexiform/FlexiForm';\r\nimport * as EncounterModuleStore from '../../store/appointment/encounterModule';\r\nimport DocumentUpload from '../library/document/DocumentUpload';\r\nimport DocumentList from '../library/document/DocumentList';\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\nimport * as CancelAppointmentStore from '../../store/appointment/CancelAppointmentModel';\r\nimport CancelAppointmentModel from './CancelAppointmentModel';\r\nimport { getDiscountPrice } from '../Patient/Booking';\r\nimport { jsPDF } from 'jspdf';\r\ntype ProfileProps =\r\n ProfileStore.ProfileState & LoginStore.LoginState & HandleRequest.Request & TransactionStore.TransactionDetailState & SiteDetailStore.SiteDetailState & EncounterModuleStore.EncounterModuleState & Account.AccountState & LanguageResourcesStore.LanguageResouresState & typeof ProfileStore.actionCreators & VisitDetail.VisitDetailState & Account.AccountState & documentStore.DocumentListsState & CancelAppointmentStore.CancelAppointmentState & PrintDetail.PrintDetailState & typeof VisitDetail.actionCreators & typeof PrintDetail.actionCreators &\r\n typeof TransactionStore.actionCreators & typeof SiteDetailStore.actionCreators & typeof documentStore.actionCreators & typeof EncounterModuleStore.actionCreators & typeof Account.actionCreators & typeof LanguageResourcesStore.actionCreators & typeof CancelAppointmentStore.actionCreators & RouteComponentProps<{}>;\r\nvar locationid = \"\";\r\nvar contact: ProfileStore.Contact;\r\nvar vitaltakenon: any = [];\r\nvar __currency: any;\r\nvar Patientname: any;\r\nvar languagecontent: any;\r\nvar cancelduration: any = \"\";\r\nvar enableappcancel: any = \"\";\r\nvar langdata: any = \"\";\r\ndeclare var bootstrap: any;\r\nclass VisitDetailView extends React.PureComponent {\r\n constructor(props: any) {\r\n super(props);\r\n }\r\n componentDidMount() {\r\n //seo(setTittle(languagecontent == \"\" ? \"\" : languagecontent['breadcrumb']));\r\n this.ensureDataFetched();\r\n const script = document.createElement(\"script\");\r\n script.src = \"/Theme/Doccure/admin/assets/js/script.js\";\r\n script.async = true;\r\n document.body.appendChild(script);\r\n floatingJS();\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n }\r\n\r\n componentDidUpdate() {\r\n seo(setTittle(languagecontent == \"\" ? \"\" : languagecontent['breadcrumb']));\r\n }\r\n private ensureDataFetched() {\r\n //this.props.getSignalRCredential();\r\n this.props.getLangResources();\r\n const patientLocalStroage: any = localStorage.getItem('Patient');\r\n const patient = JSON.parse(patientLocalStroage);\r\n Patientname = patient.name;\r\n const moduleName = \"Patient\";\r\n const memberId = patient.memberId;\r\n this.props.requestVisitDetail(this.props.match.params);\r\n this.props.requestDocumentLists(memberId, moduleName);\r\n var data = window.location.pathname;\r\n //console.log(data, \"data\")\r\n\r\n }\r\n public render() {\r\n return (\r\n \r\n {this.renderContact()}\r\n \r\n );\r\n }\r\n handleRedirect(providerdetail: any) {\r\n this.props.redirectdrProfile(providerdetail);\r\n }\r\n onDownload(prescriptionid: any) {\r\n var layout: any = \"\";\r\n layout = this.props.siteDetail.LayoutSettings.filter((ca: any) => ca.Name == \"CPHeader\")[0];\r\n if (layout == undefined)\r\n layout = \"\";\r\n else\r\n layout = layout.Value;\r\n if (layout == \"NavSanthigram\") {\r\n var prescriptionprint: any = localStorage.getItem('prescriptionprint');\r\n if (prescriptionprint != \"null\" && prescriptionprint != null) {\r\n var docinnerhtml: any = document.getElementById('dMedicationPrint');\r\n var w: any = window.open();\r\n w.document.write(docinnerhtml.innerHTML);\r\n w.print();\r\n w.close();\r\n }\r\n }\r\n else {\r\n this.props.requestPrintDetail(prescriptionid);\r\n }\r\n }\r\n onDownloadPaymentPrint(Id: any, discount: any) {\r\n\r\n this.props.requestPrintPaymentDetail(Id, discount);\r\n\r\n }\r\n onpurchaseUrl(url: any,) {\r\n\r\n window.open(url, '_blank');\r\n //const a = document.createElement('a');\r\n //a.href = url;\r\n //a.target = '_blank';\r\n //a.rel = 'noopener noreferrer';\r\n //a.click();\r\n\r\n }\r\n cancelAppointment = (value: any) => {\r\n var myModal = new bootstrap.Modal(document.getElementById('dCancelModal'), {\r\n backdrop: 'static',\r\n keyboard: false\r\n })\r\n myModal.show();\r\n this.props.setCancelAppointment(value);\r\n }\r\n\r\n checkRow(Id: any) {\r\n //console.log(this.props.medication[0].prescriptionId, Id)\r\n return this.props.medication[0].prescriptionId == Id\r\n\r\n }\r\n public renderContact() {\r\n var dataloc = (window.location.pathname).split(\"/\");\r\n //console.log(dataloc, \"dataloc\")\r\n var humurl = this.props.appointmentDetail.hummyURL;\r\n let groupmedication = groupArrayOfObjects(this.props.medication, 'prescriptionId');\r\n var medicationprint = this.props.medication;\r\n if (medicationprint.length > 0) {\r\n var prescriptionid = medicationprint[0].prescriptionId;\r\n this.props.getprescriptionprint(prescriptionid);\r\n }\r\n //console.log(groupmedication);\r\n //const currency = this.props.Settings.filter(function (value: any) {\r\n // return value.name === \"Currency\"\r\n //});\r\n //currency.forEach((value: any) => {\r\n // var displayCurrencycode = value.displayCode;\r\n // localStorage.setItem(\"currency\", displayCurrencycode);\r\n //})\r\n var _currency: any = \"\";\r\n\r\n __currency = this.props.Settings.filter((s: any) => s.name == \"Currency\");\r\n\r\n var value: any;\r\n if (__currency.length == 0) {\r\n _currency = \"\";\r\n }\r\n else {\r\n if (__currency[0].value == \"\") {\r\n _currency = __currency[0].displayCode;\r\n localStorage.setItem(\"currency\", _currency);\r\n }\r\n else {\r\n _currency = __currency[0].customizeValue;\r\n localStorage.setItem(\"currency\", _currency);\r\n }\r\n\r\n\r\n }\r\n var currency: any = _currency;\r\n const emptyFilter = this.props.PatientVitals.filter(function (value: any) {\r\n return (value.value !== \"\")\r\n });\r\n const discountfilter = this.props.Settings.filter(function (value: any) {\r\n return (value.name == \"Client Discount Code\")\r\n });\r\n const discount = this.props.Settings.filter((ca: any) => ca.name == \"Client Discount Code\");\r\n if (discount.length != 0) {\r\n const myArray = discount[0].customizeValue.split(\"|\");\r\n var discountcode = myArray[0];\r\n var discountnumber = myArray[1];\r\n var discounttext = myArray[2];\r\n }\r\n var discountval = \"\";\r\n if (discountfilter.length > 0) {\r\n //console.log(discountfilter[0].customizeValue, \"discountfilter\")\r\n discountval = discountfilter[0].customizeValue;\r\n }\r\n\r\n var sorted_meetings = emptyFilter.sort((a, b) => {\r\n return new Date(a.takenOn).getTime() -\r\n new Date(b.takenOn).getTime()\r\n }).reverse();\r\n\r\n var data = groupBy(sorted_meetings, \"takenOn\");\r\n var orderedDates: any = {};\r\n Object.keys(data).sort(function (a: any, b: any) {\r\n return Date.parse(b) - Date.parse(a);\r\n }).forEach(function (key: any) {\r\n orderedDates[key] = data[key];\r\n })\r\n var vitaldata: any = [];\r\n var hightfilter: any = [];\r\n var weightfilter: any = [];\r\n var bmifilter: any = [];\r\n var bpsisfilter: any = [];\r\n var bpdiafilter: any = [];\r\n var otherfilter: any = [];\r\n\r\n vitaldata = { vital: Object.values(orderedDates)[0] == undefined ? [] : Object.values(orderedDates)[0] };\r\n if (vitaldata.length != 0) {\r\n\r\n hightfilter = vitaldata.vital.filter(function (value: any) {\r\n return (value.vital.name === \"Height\")\r\n });\r\n weightfilter = vitaldata.vital.filter(function (value: any) {\r\n return (value.vital.name === \"Weight\")\r\n });\r\n bmifilter = vitaldata.vital.filter(function (value: any) {\r\n return (value.vital.name === \"BMI\")\r\n });\r\n bpsisfilter = vitaldata.vital.filter(function (value: any) {\r\n return (value.vital.code === \"SYB\")\r\n });\r\n bpdiafilter = vitaldata.vital.filter(function (value: any) {\r\n return (value.vital.code === \"DIB\")\r\n });\r\n otherfilter = vitaldata.vital.filter(function (value: any) {\r\n return (value.vital.code !== \"Ht\" && value.vital.code !== \"Wt\" && value.vital.name != \"Height\" && value.vital.code !== \"SYB\" && value.vital.code !== \"DIB\")\r\n });\r\n }\r\n var isVitalLength: any = \"\";\r\n var IsVital: any = \"\";\r\n var IsNote: any = \"\";\r\n var IsCI: any = \"\";\r\n var isNoteLength: any = \"\";\r\n var isLab: any = \"\";\r\n var isLabLength: any = \"\";\r\n var isRadiology: any = \"\";\r\n var isRadiologyLength: any = \"\";\r\n var isAllergy: any = \"\";\r\n var isAllergyLength: any = \"\";\r\n var isCILength: any = \"\";\r\n var isMedicationLength: any = \"\";\r\n var isMedication: any = \"\";\r\n isVitalLength = this.props.encounterModules.filter((em: any) => em.ModuleId == \"1\")[0];\r\n isNoteLength = this.props.encounterModules.filter((em: any) => em.ModuleId == \"4\")[0];\r\n isLabLength = this.props.encounterModules.filter((em: any) => em.ModuleId == \"11\")[0];\r\n isRadiologyLength = this.props.encounterModules.filter((em: any) => em.ModuleId == \"22\")[0];\r\n isAllergyLength = this.props.encounterModules.filter((em: any) => em.ModuleId == \"8\")[0];\r\n isCILength = this.props.encounterModules.filter((em: any) => em.ModuleId == \"55\")[0];\r\n isMedicationLength = this.props.encounterModules.filter((em: any) => em.ModuleId == \"15\")[0];\r\n if (isVitalLength != undefined) {\r\n IsVital = isVitalLength;\r\n } else {\r\n IsVital = 0;\r\n }\r\n if (isNoteLength != undefined) {\r\n IsNote = isNoteLength;\r\n } else {\r\n IsNote = 0;\r\n }\r\n if (isLabLength != undefined) {\r\n isLab = isLabLength;\r\n } else {\r\n isLab = 0;\r\n } if (isMedicationLength != undefined) {\r\n isMedication = isMedicationLength;\r\n } else {\r\n isMedication = 0;\r\n }\r\n if (isRadiologyLength != undefined) {\r\n isRadiology = isRadiologyLength;\r\n } else {\r\n isRadiology = 0;\r\n }\r\n if (isAllergyLength != undefined) {\r\n isAllergy = isAllergyLength;\r\n } else {\r\n isAllergy = 0;\r\n }\r\n if (isCILength != undefined) {\r\n IsCI = isCILength;\r\n } else {\r\n IsCI = 0;\r\n }\r\n var enableJampstart: any = this.props.Settings.filter((se: any) => se.name == \"DoseSpotJumpStart\")[0];\r\n if (enableJampstart != undefined) {\r\n enableJampstart = enableJampstart.customizeValue\r\n }\r\n var prescriptiontype: any = this.props.Settings.filter((se: any) => se.name == \"E-Prescription Provider\")[0];\r\n if (prescriptiontype != undefined) {\r\n prescriptiontype = prescriptiontype.customizeValue\r\n }\r\n\r\n //console.log(prescriptiontype)\r\n\r\n cancelduration = this.props.Settings.filter((se: any) => se.name.toLowerCase() == \"cancel duration prior to appointment\")[0];\r\n if (cancelduration != undefined) {\r\n cancelduration = this.props.Settings.filter((se: any) => se.name.toLowerCase() == \"cancel duration prior to appointment\")[0].customizeValue;\r\n }\r\n enableappcancel = this.props.Settings.filter((se: any) => se.name.toLowerCase() == \"appointment cancel by patient\")[0];\r\n if (enableappcancel != undefined) {\r\n enableappcancel = this.props.Settings.filter((se: any) => se.name.toLowerCase() == \"appointment cancel by patient\")[0].customizeValue;\r\n }\r\n var _resultbmi: any = hightfilter.length != 0 && weightfilter.length != 0 ? true : false;\r\n var enablefamilymember: any = this.props.Settings.filter((s: any) => s.name == \"Enable Family Member\");\r\n if (enablefamilymember.length == 0)\r\n enablefamilymember = null\r\n else\r\n enablefamilymember = enablefamilymember[0].customizeValue\r\n\r\n languagecontent = this.props.LanguageResoures;\r\n\r\n var customform = groupBy(this.props.CustomForms, \"formClientTitle\");\r\n var patientId: any;\r\n if (patientId != null || patientId != undefined) {\r\n return (this.props.paymentDetail.map)\r\n }\r\n\r\n //console.log(this.props.providerDetail);\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {\r\n this.props.visitDetailLoading == true ?\r\n \r\n {window.innerWidth <= 760 ?\r\n \r\n \r\n \r\n \r\n : \r\n \r\n \r\n \r\n \r\n }\r\n \r\n :\r\n this.props.providerDetail ?\r\n
\r\n
\r\n
\r\n
\r\n {\r\n this.props.providerDetail.photo != null ? \"User\r\n : \"User\r\n }\r\n\r\n
\r\n
\r\n

{this.props.providerDetail.doctorName == \"Not Assigned\" ? languagecontent['notassigned'] : this.props.providerDetail.doctorName}

\r\n {\r\n this.props.providerDetail.doctorId != \"00000000-0000-0000-0000-000000000000\"\r\n ?

\r\n {this.props.providerDetail.speciality.length != 0 ?\r\n

{this.props.providerDetail.speciality.map((spec: VisitDetail.Speciality) =>\r\n spec.name\r\n ).join(', ')}\r\n

: ' '\r\n }\r\n

:\"\"}\r\n
\r\n
\r\n
\r\n
\r\n {/*
*/}\r\n {/* {this.props.encounterDetail ?*/}\r\n {/* this.props.encounterDetail.statusId != 1 ?*/}\r\n {/*
    */}\r\n {/*

    {this.props.encounterDetail ? this.props.encounterDetail.encounterTypeName : \"\"}

    */}\r\n\r\n {/* {*/}\r\n {/* this.props.appointmentDetail.appointmentOn != \"\" && this.props.appointmentDetail.appointmentOn != null ?*/}\r\n {/*

    {dateFormat(this.props.appointmentDetail.appointmentOn)} {Moment(this.props.appointmentDetail.appointmentOn).format('LT')}

    */}\r\n {/* :*/}\r\n {/*

    {this.props.encounterDetail ? dateFormat(this.props.encounterDetail.encounterOn) : \"\"} {this.props.encounterDetail ? Moment(this.props.encounterDetail.encounterOn).format('LT') : \"\"}

    */}\r\n {/* }*/}\r\n\r\n\r\n {/*

    {this.props.encounterDetail.statusName}

    */}\r\n {/*
*/}\r\n {/* : \"\" : \"\"}*/}\r\n {/*
*/}\r\n
\r\n
\r\n {/*{*/}\r\n {/* enableappcancel == \"Yes\" ?*/}\r\n {/* */}\r\n {/* {*/}\r\n {/* this.props.encounterDetail.statusName == \"Scheduled\" ?*/}\r\n {/* */}\r\n {/* this.cancelAppointment(this.props.appointmentDetail)}>Cancel*/}\r\n {/* : \"\"*/}\r\n {/* }*/}\r\n {/* : \"\"*/}\r\n {/*}*/}\r\n {enablefamilymember == \"Yes\" ?\r\n

{this.props.appointmentDetail == undefined ? \"\" : languagecontent['consultationfor']} {this.props.appointmentDetail.consultantName == \"\" ? Patientname : this.props.appointmentDetail.consultantName}

:\"\"}\r\n
\r\n
\r\n
\r\n
: \"\" \r\n }\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n {\r\n this.props.visitDetailLoading == true ?\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n :\r\n this.props.appointmentDetail.appointmentId ?\r\n \r\n
\r\n
\r\n
\r\n
\r\n

{languagecontent['appointmentinformation']}

\r\n
\r\n
\r\n
\r\n
\r\n

{this.props.appointmentDetail.reason} ({this.props.appointmentDetail.referenceNo}) {this.props.appointmentDetail.statusName}\r\n\r\n {\r\n this.props.appointmentDetail.rescheduleRefId == null ? \"\" :\r\n {languagecontent['rescheduled'] == undefined ? \"Rescheduled\" : languagecontent['rescheduled']}\r\n }\r\n

\r\n {\r\n this.props.encounterDetail.note == \"\" ? \"\" :

{languagecontent['note']} : {this.props.encounterDetail.note}

\r\n }\r\n {\r\n this.props.appointmentDetail.appointmentOn != \"\" && this.props.appointmentDetail.appointmentOn != null ?\r\n

{dateFormat(this.props.appointmentDetail.appointmentOn)} {Moment(this.props.appointmentDetail.appointmentOn).format('LT')}

\r\n :\r\n

{this.props.encounterDetail ? dateFormat(this.props.encounterDetail.encounterOn) : \"\"} {this.props.encounterDetail ? Moment(this.props.encounterDetail.encounterOn).format('LT') : \"\"}

\r\n }\r\n {/*

{dateFormat(this.props.appointmentDetail.appointmentOn)} {Moment(this.props.appointmentDetail.appointmentOn).format('LT')}

*/}\r\n\r\n

{this.props.appointmentDetail.appointmentType}

\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n {\r\n\r\n (this.props.encounterDetail.statusId === 1 || this.props.encounterDetail.statusId === 7) && this.props.encounterDetail.encounterTypeMode == languagecontent['teleconsultation'] ? : \"\"\r\n }\r\n \r\n {\r\n languagecontent['inprogress'] != undefined ?\r\n \r\n {\r\n\r\n this.props.encounterDetail.statusName.toLowerCase() === languagecontent['inprogress'].replace(/\\s/g, '').toLowerCase() && this.props.encounterDetail.encounterTypeMode == languagecontent['teleconsultation'] ? : \"\"\r\n }\r\n\r\n {\r\n\r\n this.props.encounterDetail.statusName.toLowerCase() === languagecontent['inprogress'].toLowerCase() && this.props.encounterDetail.encounterTypeMode == languagecontent['teleconsultation'] ? : \"\"\r\n }\r\n\r\n : \"\"\r\n }\r\n {\r\n languagecontent['checkin'] != undefined ?\r\n \r\n {\r\n\r\n this.props.encounterDetail.statusName.toLowerCase() === languagecontent['checkin'].replace(/\\s/g, '').toLowerCase() && this.props.encounterDetail.encounterTypeMode == languagecontent['teleconsultation'] ? : \"\"\r\n }\r\n : \"\"\r\n }\r\n\r\n \r\n {\r\n\r\n this.props.encounterDetail.statusId === 6 ?
\r\n \r\n
{languagecontent['reasonforcancellation']}
\r\n
{this.props.encounterDetail.statusId === 6 && this.props.encounterDetail.oldProviderId != null ? languagecontent['prvdrunassgnd'] : this.props.appointmentDetail.cancelReason}
\r\n
\r\n\r\n
: \"\"\r\n }\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n :\r\n\r\n this.props.encounterDetail ?\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Consultation information

\r\n
\r\n
\r\n
\r\n
\r\n

{this.props.encounterDetail.reason} ({this.props.encounterDetail.encounterNo}) {this.props.encounterDetail.statusName}

\r\n\r\n

{dateFormat(this.props.encounterDetail.encounterOn)} {Moment(this.props.encounterDetail.encounterOn).format('LT')}

\r\n\r\n

{this.props.encounterDetail.encounterTypeMode}

\r\n\r\n
\r\n
\r\n
\r\n \r\n {\r\n\r\n this.props.encounterDetail.statusId === 1 && this.props.encounterDetail.encounterTypeMode == languagecontent['teleconsultation'] ? : \"\"\r\n }\r\n \r\n \r\n {\r\n\r\n this.props.encounterDetail.statusName.toLowerCase() === languagecontent['inprogress'].replace(/\\s/g, '').toLowerCase() && this.props.encounterDetail.encounterTypeMode == languagecontent['teleconsultation'] ? : \"\"\r\n }\r\n \r\n \r\n {\r\n\r\n this.props.encounterDetail.statusName.toLowerCase() === languagecontent['checkin'].replace(/\\s/g, '').toLowerCase() && this.props.encounterDetail.encounterTypeMode == languagecontent['teleconsultation'] ? : \"\"\r\n }\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n : \"\"\r\n }\r\n\r\n {\r\n isMedication != 0 ?\r\n
\r\n {\r\n this.props.medication.length > 0 ?\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{isMedication.ClientTitle}

\r\n
\r\n
\r\n {\r\n Object.keys(groupmedication).map((item, index) =>\r\n \r\n {\r\n prescriptiontype == \"Both\" ?\r\n
\r\n {\r\n groupmedication[item].length > 1 ?\r\n\r\n
\r\n\r\n {\r\n groupmedication[item].map((medication: VisitDetail.MedicationDetail, index: number) =>\r\n
0 ? \"row detail-row\" : \"row\"}>\r\n
{languagecontent['medicine']}
\r\n
\r\n {medication.drug.name != null && medication.drug.name != \"\" ?

{languagecontent['drug']}: {medication.drug.name}

: \"\"}\r\n {medication.prescribedOn != null && medication.prescribedOn != \"\" ?

{languagecontent['prescribedon']}: {dateFormat(medication.prescribedOn)} {Moment(medication.prescribedOn).format('LT')}

: \"\"}\r\n {medication.user.fullName != null && medication.user.fullName != \"\" ?

{languagecontent['prescribedby']}: {medication.user.fullName}

: \"\"}\r\n {medication.purchaseUrl != null && medication.purchaseUrl != \"\" ?

{languagecontent['clickhereto']}:

this.onpurchaseUrl(medication.purchaseUrl)} style={{ fontSize: '13px', cursor: 'pointer' }}>{languagecontent['purchaseproduct']}

: \"\"}\r\n {medication.note != null && medication.note != \"\" ?

{languagecontent['note']}: {medication.note}

: \"\"}\r\n
\r\n
\r\n
{languagecontent['quantity']}
{medication.quantity != null ? medication.quantity : \"-\"}
\r\n
{languagecontent['frequency']}
{medication.sIG != null ? medication.sIG : \"-\"}
\r\n
{languagecontent['dayssupply']}
{medication.days != null ? medication.days : \"-\"}
\r\n
{medication.prescription.statusId == 0 ? \"\" : medication.prescription.statusId >= 1 && index == 0 ? : \"\"}
\r\n\r\n
\r\n )\r\n }\r\n
\r\n\r\n :\r\n\r\n
\r\n\r\n {\r\n groupmedication[item].map((medication: VisitDetail.MedicationDetail, index: number) =>\r\n
0 ? \"row detail-row\" : \"row\"}>\r\n
{languagecontent['medicine']}
\r\n
\r\n {medication.drug.name != null && medication.drug.name != \"\" ?

{languagecontent['drug']}: {medication.drug.name}

: \"\"}\r\n {medication.startedOn != null && medication.startedOn != \"\" ?

{languagecontent['effectivedate']}: {dateFormat(medication.startedOn)}

: \"\"}\r\n {medication.direction != null && medication.direction != \"\" ?

{languagecontent['direction']}: {medication.direction}

: \"\"}\r\n \r\n {medication.prescribedOn != null && medication.prescribedOn != \"\" ?

{languagecontent['prescribedon']}: {dateFormat(medication.prescribedOn)} {Moment(medication.prescribedOn).format('LT')}

: \"\"}\r\n {medication.user.fullName != null && medication.user.fullName != \"\" ?

{languagecontent['prescribedby']}: {medication.user.fullName}

: \"\"}\r\n {medication.purchaseUrl != null && medication.purchaseUrl != \"\" ?

{languagecontent['clickhereto']}:

this.onpurchaseUrl(medication.purchaseUrl)} style={{ fontSize: '13px', cursor: 'pointer' }}>{languagecontent['purchaseproduct']}

: \"\"}\r\n {medication.note != null && medication.note != \"\" ?

{languagecontent['note']}: {medication.note}

: \"\"}\r\n\r\n {/**/}\r\n
\r\n
\r\n
{languagecontent['quantity']}
{medication.quantity != null ? medication.quantity : \"-\"}
\r\n
{languagecontent['frequency']}
{medication.sIG != \"\" ? medication.sIG : \"-\"}
\r\n
{languagecontent['dayssupply']}
{medication.days != null ? medication.days : \"-\"}
\r\n
Refill
{medication.refill != null ? medication.refill : \"-\"}
\r\n
{medication.prescription.statusId == 0 ? \"\" : medication.prescription.statusId >= 1 && index == 0 ? : \"\"}
\r\n\r\n
\r\n\r\n )\r\n }\r\n
\r\n\r\n }\r\n
\r\n\r\n :\r\n\r\n prescriptiontype == \"DoseSpot\" ?\r\n
\r\n {\r\n
\r\n\r\n {\r\n groupmedication[item].map((medication: VisitDetail.MedicationDetail, index: number) =>\r\n
0 ? \"row detail-row\" : \"row\"}>\r\n
{languagecontent['medicine']}
\r\n {medication.drug.name != null && medication.drug.name != \"\" ?

{languagecontent['drug']}: {medication.drug.name}

: \"\"}\r\n {medication.startedOn != null && medication.startedOn != \"\" ?

{languagecontent['effectivedate']}: {dateFormat(medication.startedOn)}

: \"\"}\r\n {medication.direction != null && medication.direction != \"\" ?

{languagecontent['direction']}: {medication.direction}

: \"\"}\r\n \r\n {medication.prescribedOn != null && medication.prescribedOn != \"\" ?

{languagecontent['prescribedon']}: {dateFormat(medication.prescribedOn)} {Moment(medication.prescribedOn).format('LT')}

: \"\"}\r\n {medication.user.fullName != null && medication.user.fullName != \"\" ?

{languagecontent['prescribedby']}: {medication.user.fullName}

: \"\"}\r\n {medication.purchaseUrl != null && medication.purchaseUrl != \"\" ?

{languagecontent['clickhereto']}:

this.onpurchaseUrl(medication.purchaseUrl)} style={{ fontSize: '13px', cursor: 'pointer' }}>{languagecontent['purchaseproduct']}

: \"\"}\r\n {medication.note != null && medication.note != \"\" ?

{languagecontent['note']}: {medication.note}

: \"\"}\r\n {/**/}\r\n
\r\n
{languagecontent['quantity']}
{medication.quantity != null ? medication.quantity : \"-\"}
\r\n \r\n
{languagecontent['dayssupply']}
{medication.days != null ? medication.days : \"-\"}
\r\n \r\n
{medication.prescription.statusId == 0 ? \"\" : medication.prescription.statusId >= 1 && index == 0 ? : \"\"}
\r\n
\r\n )\r\n }\r\n
\r\n }\r\n
:\r\n
\r\n {\r\n groupmedication[item].length > 1 ?\r\n\r\n
\r\n\r\n {\r\n groupmedication[item].map((medication: VisitDetail.MedicationDetail, index: number) =>\r\n
0 ? \"row detail-row\" : \"row\"}>\r\n
{languagecontent['medicine']}
\r\n {medication.drug.name != null && medication.drug.name != \"\" ?

{languagecontent['drug']}: {medication.drug.name}

: \"\"}\r\n {medication.prescribedOn != null && medication.prescribedOn != \"\" ?

{languagecontent['prescribedon']}: {dateFormat(medication.prescribedOn)} {Moment(medication.prescribedOn).format('LT')}

: \"\"}\r\n {medication.user.fullName != null && medication.user.fullName != \"\" ?

{languagecontent['prescribedby']}: {medication.user.fullName}

: \"\"}\r\n {medication.purchaseUrl != null && medication.purchaseUrl != \"\" ?

{languagecontent['clickhereto']}:

this.onpurchaseUrl(medication.purchaseUrl)} style={{ fontSize: '13px', cursor: 'pointer' }}>{languagecontent['purchaseproduct']}

: \"\"}\r\n {medication.note != null && medication.note != \"\" ?

{languagecontent['note']}: {medication.note}

: \"\"}\r\n
\r\n
{languagecontent['quantity']}
{medication.quantity != null ? medication.quantity : \"-\"}
\r\n
{languagecontent['frequency']}
{medication.sIG != null ? medication.sIG : \"-\"}
\r\n
{languagecontent['dayssupply']}
{medication.days != null ? medication.days : \"-\"}
\r\n
{medication.prescription.statusId == 0 ? \"\" : medication.prescription.statusId >= 1 && index == 0 ? : \"\"}
\r\n
\r\n )\r\n }\r\n\r\n\r\n
\r\n\r\n :\r\n\r\n
\r\n\r\n {\r\n groupmedication[item].map((medication: VisitDetail.MedicationDetail, index: number) =>\r\n
0 ? \"row detail-row\" : \"row\"}>\r\n
{languagecontent['medicine']}
\r\n {medication.drug.name != null && medication.drug.name != \"\" ?

{languagecontent['drug']}: {medication.drug.name}

: \"\"}\r\n {medication.startedOn != null && medication.startedOn != \"\" ?

{languagecontent['effectivedate']}: {dateFormat(medication.startedOn)}

: \"\"}\r\n {medication.direction != null && medication.direction != \"\" ?

{languagecontent['direction']}: {medication.direction}

: \"\"}\r\n \r\n {medication.prescribedOn != null && medication.prescribedOn != \"\" ?

{languagecontent['prescribedon']}: {dateFormat(medication.prescribedOn)} {Moment(medication.prescribedOn).format('LT')}

: \"\"}\r\n {medication.user.fullName != null && medication.user.fullName != \"\" ?

{languagecontent['prescribedby']}: {medication.user.fullName}

: \"\"}\r\n {medication.purchaseUrl != null && medication.purchaseUrl != \"\" ?

{languagecontent['clickhereto']}:

this.onpurchaseUrl(medication.purchaseUrl)} style={{ fontSize: '13px', cursor: 'pointer' }}>{languagecontent['purchaseproduct']}

: \"\"}\r\n {medication.note != null && medication.note != \"\" ?

{languagecontent['note']}: {medication.note}

: \"\"}\r\n {/**/}\r\n
\r\n
{languagecontent['quantity']}
{medication.quantity != null ? medication.quantity : \"-\"}
\r\n \r\n
{languagecontent['dayssupply']}
{medication.days != null ? medication.days : \"-\"}
\r\n \r\n
{medication.prescription.statusId == 0 ? \"\" : medication.prescription.statusId >= 1 && index == 0 ? : \"\"}
\r\n\r\n
\r\n )\r\n }\r\n\r\n\r\n
\r\n\r\n }\r\n
\r\n }\r\n
\r\n )\r\n }\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n : \"\"}\r\n
\r\n : \"\"}\r\n\r\n\r\n\r\n\r\n {\r\n isAllergy != 0 ?\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{isAllergy.ClientTitle}

\r\n
\r\n
\r\n\r\n\r\n
\r\n {\r\n this.props.PatientAllergy.length > 0 ?\r\n\r\n
\r\n\r\n {\r\n this.props.PatientAllergy.map((allergy: any, index: number) =>\r\n
0 ? \"row detail-rows\" : \"row\"}>\r\n
{languagecontent['allergytype']}
\r\n {allergy.allergyTypeName != null && allergy.allergyTypeName != \"\" ?

{allergy.allergyTypeName}

: -}\r\n
\r\n
{languagecontent['allergyname']}
{allergy.name != null && allergy.name != \"\" ? allergy.name : -}
\r\n
{languagecontent['reaction']}
{allergy.reaction != null && allergy.reaction != \"\" ? allergy.reaction : -}
\r\n
{languagecontent['note']}
{allergy.note != null && allergy.note != \"\" ? allergy.note : -}
\r\n
\r\n )\r\n }\r\n\r\n\r\n
\r\n\r\n :\r\n\r\n
\r\n
{languagecontent['norecordsadded']}
\r\n
\r\n\r\n }\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n : \"\"}\r\n\r\n {\r\n isLab != 0 ?\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{isLab.ClientTitle}

\r\n
\r\n
\r\n\r\n\r\n
\r\n {\r\n this.props.Lab.length > 0 ?\r\n\r\n
\r\n\r\n {\r\n this.props.Lab.map((lab: any, index: number) =>\r\n
0 ? \"row detail-row\" : \"row\"}>\r\n
{languagecontent['testname']}
\r\n {lab.labOrderDetails && lab.labOrderDetails.length > 0 ? lab.labOrderDetails.map((labOrderDetails: any) => (\r\n

{labOrderDetails.labTest.name}

\r\n )\r\n ) : \"\"}\r\n

{languagecontent['orderby']} {lab.requestedByName} {languagecontent['orderon']} {dateFormat(lab.orderDate)} {Moment(lab.orderDate).format('LT')}

\r\n
\r\n
{languagecontent['status']}
{lab.orderStatus != null && lab.orderStatus != \"\" ? lab.orderStatus : -}
\r\n
{languagecontent['notechild']}
{lab.note != null && lab.note != \"\" ? lab.note : -}
\r\n\r\n
\r\n )\r\n }\r\n
\r\n\r\n :\r\n
\r\n
{languagecontent['norecordsadded']}
\r\n
\r\n }\r\n
\r\n
\r\n
\r\n
\r\n : \"\"}\r\n {\r\n isRadiology != 0 ?\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{isRadiology.ClientTitle}

\r\n
\r\n
\r\n\r\n\r\n
\r\n {\r\n this.props.Radiology.length > 0 ?\r\n\r\n
\r\n\r\n {\r\n this.props.Radiology.map((radialogy: any, index: number) =>\r\n
0 ? \"row detail-row\" : \"row\"}>\r\n
Test Name
\r\n {radialogy.details && radialogy.details.length > 0 ? radialogy.details.map((Details: any) => (\r\n

{Details.procedureCode.name}

\r\n )\r\n\r\n ) : \"\"}\r\n\r\n\r\n {radialogy.prescribedByName != null && radialogy.prescribedByName != \"\" ?

{languagecontent['updatedby']} {radialogy.prescribedByName} {languagecontent['updatedon\t']} {dateFormat(radialogy.prescribedOn)} {Moment(radialogy.prescribedOn).format('LT')}

: \"\"}\r\n\r\n\r\n
\r\n
Status
{radialogy.orderStatus != null && radialogy.orderStatus != \"\" ? radialogy.orderStatus : -}
\r\n
Note
{radialogy.note != null && radialogy.note != \"\" ? radialogy.note : -}
\r\n\r\n
\r\n )\r\n }\r\n\r\n\r\n
\r\n\r\n :\r\n\r\n
\r\n
{languagecontent['norecordsadded']}
\r\n
\r\n\r\n }\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n : \"\"}\r\n {/*{*/}\r\n {/* IsNote != 0 ?*/}\r\n {/*
*/}\r\n {/*
*/}\r\n {/*
*/}\r\n {/*
*/}\r\n {/*
*/}\r\n {/*

{IsNote.ClientTitle}

*/}\r\n {/*
*/}\r\n {/*
*/}\r\n\r\n\r\n {/*
*/}\r\n {/* {*/}\r\n {/* this.props.notes.length > 0 ?*/}\r\n\r\n {/*
*/}\r\n\r\n {/* {*/}\r\n {/* this.props.notes.map((note: any, index: number) =>*/}\r\n {/*
0 ? \"row detail-row\" : \"row\"}>*/}\r\n {/*
*/}\r\n {/*

*/}\r\n {/*
*/}\r\n {/*

{languagecontent['updatedby']} {note.modified.fullName} {languagecontent['updatedon']} {dateTimeFormat(note.modifiedOn)}

*/}\r\n {/*
*/}\r\n {/* )*/}\r\n {/* }*/}\r\n {/*
*/}\r\n\r\n {/* :*/}\r\n {/*
*/}\r\n {/*
{languagecontent['norecordsadded']}
*/}\r\n {/*
*/}\r\n {/* }*/}\r\n {/*
*/}\r\n {/*
*/}\r\n {/*
*/}\r\n {/*
*/}\r\n {/* : \"\"}*/}\r\n\r\n
\r\n
\r\n
{languagecontent['document']}
\r\n {\r\n\r\n this.props.encounterDetail.statusId == 13 || this.props.encounterDetail.statusId == 8 ?\r\n \"\" :
\r\n
\r\n }\r\n\r\n
\r\n \r\n
\r\n \r\n {\r\n IsVital != 0 ?\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{IsVital.ClientTitle}

\r\n
\r\n
\r\n
\r\n {otherfilter.length == 0 ? \"\" :
Vitals
\r\n }\r\n {\r\n this.props.visitDetailLoading == true ? \r\n \r\n \r\n \r\n :\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n {/*{otherfilter.length == 0 ? \"\" : {languagecontent['takenon'] + \" \" + dateTimeFormat(otherfilter[0].takenOn)}}*/}\r\n\r\n {otherfilter.map((patientvital: VisitDetail.PatientVital) =>\r\n
{patientvital.vital.name}
{patientvital.value == \"\" ? \"-\" : patientvital.value} {patientvital.vital.customizeValue}
\r\n )}\r\n {\r\n bpsisfilter.length == 0 ? \"\" :\r\n
{(bpsisfilter[0].vital.name).toLowerCase() == \"sys bp\" ? \"BP\" : bpsisfilter[0].vital.name}
{bpsisfilter[0].value == \"\" ? \"-\" : bpsisfilter[0].value + \"/\" + bpdiafilter[0].value} {bpsisfilter[0].vital.customizeValue}
\r\n }\r\n
\r\n
\r\n
\r\n {otherfilter.length == 0 ? \"\" : {languagecontent['takenon'] + \" \" + dateTimeFormat(otherfilter[0].takenOn)}}\r\n
\r\n
\r\n {otherfilter.length == 0 && bpsisfilter.length == 0 ?
{languagecontent['norecordsadded']}
: \"\"}\r\n
\r\n
\r\n\r\n\r\n }\r\n\r\n
\r\n
\r\n {\r\n ((hightfilter.length == 0) && (weightfilter.length == 0)) ? \"\" :\r\n
\r\n
\r\n
Body Measurements
\r\n {\r\n this.props.visitDetailLoading == true ? \r\n \r\n \r\n \r\n :\r\n
\r\n {hightfilter.map((patientvital: VisitDetail.PatientVital) =>\r\n
{patientvital.vital.name}
{patientvital.value == \"\" ? \"-\" : patientvital.value} {patientvital.vital.customizeValue}
\r\n )}\r\n {weightfilter.map((patientvital: VisitDetail.PatientVital) =>\r\n
{patientvital.vital.name}
{patientvital.value == \"\" ? \"-\" : patientvital.value} {patientvital.vital.customizeValue}
\r\n )}\r\n {\r\n _resultbmi == false ? \"\" :\r\n
\r\n {\r\n\r\n this.props.BMI.bMI == \"\" ? \"\" :\r\n
BMI
{this.props.BMI.bMI} {this.props.BMI.bMIValue}
\r\n\r\n }\r\n
\r\n }\r\n {hightfilter.length == 0 && weightfilter.length == 0 && hightfilter.length == 0 && weightfilter.length == 0 ?
{languagecontent['norecordsadded']}
: \"\"}\r\n
\r\n {hightfilter.length == 0 ? \"\" : {languagecontent['takenon'] + \" \" + dateTimeFormat(hightfilter[0].takenOn)}}\r\n
\r\n
\r\n\r\n }\r\n\r\n
\r\n
\r\n }\r\n
\r\n
\r\n
: \"\"\r\n }\r\n\r\n {\r\n Object.values(customform).map((array: any) =>\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{array[0].formClientTitle}

\r\n
\r\n
\r\n
\r\n {\r\n Object.entries(groupBy(array, \"modifiedOn\")).map((formdata: any) =>\r\n
\r\n\r\n\r\n {\r\n formdata.length == 0 ?\r\n
\r\n
{languagecontent['norecordsadded']}
\r\n
\r\n :\r\n\r\n
\r\n\r\n
\r\n {\r\n formdata[1].map((data: any) => (\r\n \r\n {data.value == null || data.value == \"\" ?\r\n
\r\n {\r\n data.modifiedOn == null || data.modifiedOn == \"\" ?
{languagecontent['norecordsadded']}
:
\r\n }\r\n
\r\n :\r\n \r\n {data.clientTitle}\r\n {data.dataTypeId == 37 ?\r\n

') }}>

\r\n : data.dataTypeId == 5 ?

{data.value.replaceAll('-', '/')}

\r\n :

{data.value.replaceAll('~', ', ').replace('|', ', ')}

}\r\n\r\n {/*

{data.value.replaceAll('~', ', ').replace('|', ', ')}

*/}\r\n
\r\n }\r\n
\r\n\r\n ))}\r\n\r\n
\r\n
\r\n }\r\n\r\n
\r\n )\r\n }\r\n {array[0].modifiedUser != null && array[0].modifiedUser != \"\" ?\r\n

{languagecontent['updatedby']} {array[0].modifiedUser} {languagecontent['updatedon']} {dateTimeFormat(array[0].modifiedOn)}

: \"\"}\r\n
\r\n
\r\n
\r\n
\r\n )\r\n }\r\n {this.props.paymentDetail.length == 0 ?\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{languagecontent['paymentinformation']}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
{languagecontent['servicetype']}
\r\n
{this.props.appointmentDetail ? this.props.appointmentDetail.appointmentType : this.props.encounterDetail ? this.props.encounterDetail.encounterTypeMode : \"\"}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{languagecontent['free']}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
:\r\n
\r\n {\r\n this.props.paymentDetail.map((PaymentDetail: TransactionStore.PaymentDetail) =>\r\n
\r\n {\r\n PaymentDetail.Price != 'Free' ?\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n

{languagecontent['paymentinformation']}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{languagecontent['receiptno']}
\r\n

{PaymentDetail.ReceiptNo}

\r\n
\r\n
\r\n
{languagecontent['date']}
\r\n
{dateFormat(PaymentDetail.PaidDate) + \" \" + Moment(PaymentDetail.PaidDate).format('LT')}
\r\n
\r\n
\r\n
{languagecontent['paymentmode']}
\r\n
{PaymentDetail.PaymentMethod}
\r\n
\r\n
\r\n
{languagecontent['servicetype']}
\r\n
{PaymentDetail.ServiceType}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {languagecontent['paidamount']}\r\n

{currency + getDiscountPrice(PaymentDetail.PaidAmount, 0)}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n :
\r\n
\r\n
\r\n
\r\n
\r\n

{languagecontent['paymentinformation']}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
{languagecontent['servicetype']}
\r\n
{this.props.appointmentDetail ? this.props.appointmentDetail.appointmentType : this.props.encounterDetail ? this.props.encounterDetail.encounterTypeMode : \"\"}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{languagecontent['free']}

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n }\r\n
\r\n )\r\n\r\n }\r\n
\r\n }\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n );\r\n\r\n }\r\n}\r\n\r\n\r\n\r\n\r\nexport default connect(\r\n (state: ApplicationState) => ({ ...state.dashboardNav, ...state.login, ...state.profile, ...state.visitDetail, ...state.printDetail, ...state.transactionDetail, ...state.siteDetail, ...state.documentlist, ...state.account, ...state.encounterModules, ...state.langResources, ...state.cancelAppointment }), // Selects which state properties are merged into the component's props\r\n ({ ...DashboardNavStore.actionCreators, ...LoginStore.actionCreators, ...ProfileStore.actionCreators, ...VisitDetail.actionCreators, ...PrintDetail.actionCreators, ...TransactionStore.actionCreators, ...documentStore.actionCreators, ...Account.actionCreators, ...EncounterModuleStore.actionCreators, ...LanguageResourcesStore.actionCreators, ...SiteDetailStore.actionCreators, ...CancelAppointmentStore.actionCreators }) // Selects which action creators are merged into the component's props\r\n)(VisitDetailView as any);\r\n\r\nfunction groupBy(data: any, key: any) {\r\n return data.reduce(function (acc: any, item: any) {\r\n (acc[item[key]] = acc[item[key]] || []).push(item);\r\n return acc;\r\n }, {});\r\n};\r\n\r\nfunction getBMICalc(vitalgroup: any, takenon: any) {\r\n //var vitalgroup = filter(data, 'TakenOn', takenon);\r\n //var Weight;\r\n //var Height;\r\n var bmivalue: any;\r\n if (vitalgroup == undefined) {\r\n return \"-

\";\r\n }\r\n else {\r\n vitalgroup.forEach(function (vital: any, key: any) {\r\n if (vital.vital.BMI != undefined) {\r\n if (vital.vital.BMI != \"\") {\r\n bmivalue = vital.Vital.BMI;\r\n }\r\n else {\r\n bmivalue = \"-\";\r\n }\r\n }\r\n else {\r\n bmivalue = \"-\";\r\n }\r\n })\r\n\r\n\r\n if (bmivalue != \"-\") {\r\n if (bmivalue < 16)\r\n return \"
\" + bmivalue + \"
\" + \" (Underweight)
\";\r\n else if (bmivalue >= 16 && bmivalue < 18.50)\r\n return \"
\" + bmivalue + \"
\" + \" (Underweight)
\";\r\n else if (bmivalue < 18.50)\r\n return bmivalue + \"
\" + \" (Underweight)\";\r\n\r\n else if (bmivalue >= 18.50 && bmivalue <= 24.90)\r\n return bmivalue + \"
\" + \" (Normal)\";\r\n\r\n else if (bmivalue >= 25.00 && bmivalue <= 29.90)\r\n return bmivalue + \"
\" + \" (Overweight)\";\r\n\r\n else if (bmivalue >= 30.00)\r\n return bmivalue + \"
\" + \" (Obese)\";\r\n else\r\n return \"-

\" + bmivalue;\r\n }\r\n else {\r\n return bmivalue;\r\n }\r\n }\r\n\r\n}\r\n\r\n\r\n\r\n\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { ApplicationState } from '../../store/index';\r\nimport * as ContactStore from '../../store/patient/Contact';\r\nimport { datepickerJS, floatingJS, ModalClose, seo, extdobcheck } from '../../helper/Script';\r\nimport * as FamilyMemberStore from '../../store/family/familyMember';\r\nimport * as CategoryStore from '../../store/siteaccount/Category';\r\nimport * as AccountStore from '../../store/siteaccount/Account';\r\nimport * as HandleRequest from '../../helper/Request';\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\nimport * as MemberSpecialityStore from '../../store/menu/speciality';\r\nimport { Field, reduxForm } from 'redux-form';\r\nimport { NewsLoader, renderDob, renderField, renderRequiredSelect, renderSelectField } from '../../helper/renderfield';\r\nimport { dateFormat, dateFormatSetting, email, getAge, phoneNumber, required, scrollTop, setTittle, checkFamilyMember } from '../../helper/formvalidation';\r\nimport ReactCrop from 'react-image-crop';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport ContentLoader from 'react-content-loader';\r\nvar reader = new FileReader();\r\nvar relationship: any = [];\r\nvar familydetail: any = \"\";\r\nvar enablefamilymember: any = [];\r\nvar doctorappointment: any = [];\r\nvar anonymous: any = [];\r\nvar requestqueue: any = [];\r\nvar rel: any = \"\";\r\nvar parentid: any = \"\";\r\nvar childpatientid: any = \"\";\r\nvar name: any = \"\";\r\nvar childname: any = \"\";\r\nvar childid: any = \"\";\r\nvar currentfile: any;\r\nvar profilephoto: any = \"\";\r\nvar dateofbirth: any = \"\";\r\nvar photo: any = \"\";\r\nvar languagecontent: any;\r\nvar speciality: any = []\r\nvar langdata: any = \"\";\r\nvar closepopup: any = \"\";\r\ntype Props = FamilyMemberStore.FamilyMemberState & AccountStore.AccountState & CategoryStore.CategoryState & LanguageResourcesStore.LanguageResouresState & MemberSpecialityStore.MemberSpecialityState & typeof FamilyMemberStore.actionCreators & typeof AccountStore.actionCreators & typeof CategoryStore.actionCreators & typeof LanguageResourcesStore.actionCreators & typeof MemberSpecialityStore.actionCreators & HandleRequest.Request & RouteComponentProps<{}>; // ... plus incoming routing parameters\r\nclass FamilyMember extends React.PureComponent {\r\n inputRef: any = React.createRef();\r\n state = {\r\n src: \"\",\r\n isOpen: true,\r\n isOpenConsult: true,\r\n isFamily: false,\r\n isSelected: \"\",\r\n primaryClass: \"btn-primary\",\r\n secondaryClass: \"btn-secondary\",\r\n crop: {\r\n x: 130,\r\n y: 50,\r\n width: 200,\r\n height: 200,\r\n aspect: 9 / 9,\r\n\r\n },\r\n croppedImageUrl: \"\",\r\n croppedImageUrlrevert: \"\"\r\n };\r\n constructor(props: any) {\r\n super(props);\r\n } \r\n onSubmit = async (formValues: any) => {\r\n var age: any = getAge(formValues.dob);\r\n var doblimit: any = this.props.Settings.filter((s: any) => s.name == \"Allowed User DOB Range\")[0];\r\n var firstname: any = document.querySelector('[name=\"firstName\"]');\r\n var lastname: any = document.querySelector('[name=\"lastName\"]');\r\n var gender: any = document.querySelector('[name=\"gender\"]');\r\n var dob: any = document.querySelector('[name=\"dob\"]');\r\n var email: any = document.querySelector('[name=\"email\"]');\r\n var cellPhone: any = document.querySelector('[name=\"cellPhone\"]');\r\n var _rel: any = document.querySelector('[name=\"relationship\"]');\r\n\r\n formValues.firstName = firstname.value;\r\n formValues.lastName = lastname.value;\r\n formValues.gender = gender.value;\r\n formValues.dob = dob.value;\r\n formValues.email = email.value;\r\n formValues.cellPhone = cellPhone.value;\r\n var date: any = (formValues.dob);\r\n const dmyear = date.split(\"/\");\r\n const year = dmyear[2];\r\n //console.log(year);\r\n if (year == (\"0000\" || \"000\" || \"00\" || \"0\")) {\r\n var langdata: any;\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n return toastr.error('', langdata['invaliddate']);\r\n }\r\n if (doblimit.customizeValue > age) {\r\n //console.log(age, doblimit);\r\n var langdata: any;\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n //console.log(age);\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n return toastr.error('', langdata['userdobrange'] + ' ' + doblimit.customizeValue + ' ' + langdata['years']);\r\n }\r\n var relId = relationship.filter((ca: any) => ca.value == _rel.value);\r\n if (familydetail.Id != null) {\r\n var relation = relationship.filter((ca: any) => ca.name == familydetail.Relationship);\r\n familydetail.RelationShipId = relation[0].id;\r\n }\r\n formValues.RelationShipId = relId[0].id;\r\n formValues.Id = familydetail.Id;\r\n formValues.ContactId = familydetail.ContactId;\r\n if (await isBase64UrlImage(photo) == true)\r\n formValues.Photo = photo;\r\n else\r\n formValues.Photo = \"\";\r\n\r\n this.props.postFamilyMember(formValues, familydetail);\r\n //window.history.pushState({ prevUrl: window.location.href }, null, \"/new/path/in/your/app\")\r\n //var url: any = window.history.state.prevUrl;\r\n //console.log(url); \r\n }\r\n\r\n onSelectFile = (e: any) => {\r\n var croppedImageUrl = \"\";\r\n var croppedImageUrlrevert = \"\";\r\n this.setState({ croppedImageUrl, croppedImageUrlrevert });\r\n var x = document.getElementById(\"showCrop\");\r\n if (x != null) {\r\n x.style.display = \"block\";\r\n }\r\n if (e.target.files && e.target.files.length > 0) {\r\n const fileSize = e.target.files[0].size / 1024 / 1024;\r\n const fileType = e.target.files[0].type;\r\n\r\n if (fileSize > 2) {\r\n return toastr.error('', langdata['pleaseselectimagesize']);\r\n }\r\n\r\n if (fileType !== \"image/png\" && fileType !== \"image/jpg\" && fileType !== \"image/gif\" && fileType !== \"image/jpeg\") {\r\n return toastr.error('', 'Please select JPG, GIF or PNG');\r\n }\r\n\r\n const reader = new FileReader();\r\n reader.addEventListener('load', () =>\r\n this.setState({ src: reader.result })\r\n );\r\n reader.readAsDataURL(e.target.files[0]);\r\n\r\n currentfile = e.target.files[0];\r\n }\r\n };\r\n onImageLoaded = (image: any) => {\r\n\r\n var x = document.getElementById(\"showCrop\");\r\n if ((image.naturalHeight >= 150 && image.naturalWidth >= 150)) {\r\n if (x != null) {\r\n if (x.style.display === \"none\") {\r\n x.style.display = \"block\";\r\n } else {\r\n x.style.display = \"block\";\r\n }\r\n }\r\n this.imageRef = image;\r\n } else {\r\n var croppedImageUrl = \"\";\r\n var src = \"\";\r\n var croppedImageUrlrevert = \"\";\r\n this.setState({ croppedImageUrl, src });\r\n if (x != null)\r\n x.style.display = \"none\";\r\n return toastr.error('', langdata['pleaseselectafilewithaspectratio']);\r\n }\r\n };\r\n onCropComplete = (crop: any) => {\r\n this.makeClientCrop(crop);\r\n };\r\n onCropChange = (crop: any, percentCrop: any) => {\r\n this.setState({ crop });\r\n };\r\n imageRef: any;\r\n async makeClientCrop(crop: any) {\r\n if (this.imageRef && crop.width && crop.height) {\r\n const croppedImageUrl = await this.getCroppedImg(\r\n this.imageRef,\r\n crop,\r\n 'newFile.jpeg'\r\n );\r\n this.setState({ croppedImageUrl });\r\n }\r\n }\r\n getCroppedImg(image: any, crop: any, fileName: any) {\r\n const canvas = document.createElement('canvas');\r\n const pixelRatio = window.devicePixelRatio;\r\n const scaleX = image.naturalWidth / image.width;\r\n const scaleY = image.naturalHeight / image.height;\r\n const ctx = canvas.getContext('2d');\r\n\r\n canvas.width = crop.width * pixelRatio * scaleX;\r\n canvas.height = crop.height * pixelRatio * scaleY;\r\n if (ctx != null) {\r\n ctx.setTransform(pixelRatio, 0, 0, pixelRatio, 0, 0);\r\n ctx.imageSmoothingQuality = 'high';\r\n\r\n ctx.drawImage(\r\n image,\r\n crop.x * scaleX,\r\n crop.y * scaleY,\r\n crop.width * scaleX,\r\n crop.height * scaleY,\r\n 0,\r\n 0,\r\n crop.width * scaleX,\r\n crop.height * scaleY\r\n );\r\n }\r\n return new Promise((resolve, reject) => {\r\n var fileUrl = \"\";\r\n canvas.toBlob(\r\n (blob) => {\r\n if (!blob) {\r\n //reject(new Error('Canvas is empty'));\r\n console.error('Canvas is empty');\r\n return;\r\n }\r\n window.URL.revokeObjectURL(fileUrl);\r\n fileUrl = window.URL.createObjectURL(blob);\r\n resolve(fileUrl);\r\n reader.readAsDataURL(blob);\r\n reader.onload = function () {\r\n return reader.result;\r\n };\r\n },\r\n 'image/png',\r\n 1\r\n );\r\n });\r\n }\r\n \r\n public componentDidMount() {\r\n localStorage.removeItem(\"Appointment\");\r\n localStorage.removeItem(\"SpecialityId\");\r\n localStorage.removeItem(\"AppointmentTime1\");\r\n localStorage.removeItem(\"AppointmentOn1\");\r\n localStorage.removeItem(\"AppointmentOn\");\r\n localStorage.removeItem(\"AppointmentTime\");\r\n localStorage.removeItem(\"AppointmentUTCTime\")\r\n localStorage.removeItem(\"AppointmentUTCTime1\")\r\n localStorage.removeItem(\"SelectedDate\");\r\n localStorage.removeItem(\"SpecailityReasonName\");\r\n localStorage.removeItem(\"SpecailityReasonId\");\r\n localStorage.removeItem(\"modecode\");\r\n localStorage.setItem(\"SpecialityId\",\"\");\r\n localStorage.removeItem(\"SpecReason\");\r\n localStorage.removeItem(\"followup\");\r\n const script = document.createElement(\"script\");\r\n script.src = \"/Theme/Doccure/admin/assets/js/script.js\";\r\n script.async = true;\r\n document.body.appendChild(script);\r\n datepickerJS();\r\n floatingJS();\r\n scrollTop();\r\n checkFamilyMember();\r\n //var dobchk = \"\";\r\n //if (familydetail.DOB != null && dobchk == \"\") {\r\n //\textdobcheck(dateFormat(familydetail.DOB), dobchk);\r\n //\tdobchk = \"checked\";\r\n //}\r\n\r\n //if (localStorage.getItem('isAuth') == \"true\") {\r\n // window.history.pushState(null, null);\r\n // window.onpopstate = function (event) {\r\n // window.history.go(1);\r\n // };\r\n //}\r\n //window.addEventListener('popstate', function (event) {\r\n // this.window.history.forward();\r\n //}, false);\r\n //this.ensureDataFetched();\r\n //var prevpageurl: any = window.history.go(-1);\r\n //if (prevpageurl == \" / initialpageforms / \") {\r\n // window.addEventListener('popstate', function (event) {\r\n // this.window.history.forward();\r\n // }, true);\r\n // this.ensureDataFetched();}\r\n //function confirmLeavePage(e) {\r\n // e.preventDefault();\r\n // e.returnValue = ''; // This is required for older browsers\r\n //}\r\n\r\n //// Attach the event listener when the page loads\r\n //window.addEventListener('load', function () {\r\n // // Attach the beforeunload event listener\r\n // window.addEventListener('beforeunload', confirmLeavePage);\r\n //});\r\n this.ensureDataFetched();\r\n this.setState({\r\n primaryClass: \"btn-primary\",\r\n secondaryClass: \"btn-secondary\"\r\n }); \r\n }\r\n componentDidUpdate() {\r\n seo(setTittle(languagecontent == \"\" || languagecontent == undefined || languagecontent == null ? \"\" : languagecontent['breadcrumb']));\r\n }\r\n \r\n public render() {\r\n return (\r\n \r\n {this.renderFamilyMember()}\r\n \r\n );\r\n }\r\n closeModal = () => {\r\n this.setState({ src: \"\" });\r\n if (closepopup == \"addnew\") {\r\n this.props.clearForm();\r\n } else {\r\n this.props.clearFamilyForm();\r\n }\r\n ModalClose();\r\n }\r\n private ensureDataFetched() {\r\n this.props.getLangResources();\r\n this.props.requestMemberSpecialityLists();\r\n var dobchk = \"\";\r\n extdobcheck(dateFormatSetting(dateofbirth), dobchk);\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const memberid = urlParams.get('memberid');\r\n if (memberid != undefined) {\r\n this.props.getCategory();\r\n this.props.getFamilyMemberList(memberid);\r\n }\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n }\r\n onRemove() {\r\n var result = window.confirm(\"Are you sure to want delete?\");\r\n if (result) {\r\n //this.props.requestSavePhoto(this.props.contact.id, null);\r\n }\r\n }\r\n onBlockFile() {\r\n\r\n var x = document.getElementById(\"showCrop\");\r\n if (x != null) {\r\n x.style.display = \"hide\";\r\n }\r\n\r\n }\r\n onUpdate() {\r\n var x = document.getElementById(\"showCrop\");\r\n this.setState({\r\n croppedImageUrl: \"\",\r\n croppedImageUrlrevert: \"\"\r\n });\r\n if (x != null) {\r\n if (x.style.display === \"none\") {\r\n x.style.display = \"block\";\r\n } else {\r\n x.style.display = \"none\";\r\n }\r\n }\r\n this.setState({ src: \"\" });\r\n this.inputRef.current.value = null;\r\n this.props.requestSavePhoto(childid, reader.result, currentfile);\r\n }\r\n onCancel() {\r\n var x = document.getElementById(\"showCrop\");\r\n var croppedImageUrl = \"\";\r\n var croppedImageUrlrevert = \"test\";\r\n const src = \"\";\r\n const crop = \"\";\r\n if (x != null) {\r\n if (x.style.display === \"block\") {\r\n x.style.display = \"none\";\r\n } else {\r\n x.style.display = \"block\";\r\n }\r\n }\r\n this.setState({ src: \"\" });\r\n this.inputRef.current.value = null;\r\n this.setState({ croppedImageUrl, croppedImageUrlrevert });\r\n }\r\n addnew = () => {\r\n this.componentDidMount();\r\n closepopup = \"addnew\";\r\n var dobchk = \"\";\r\n dateofbirth = '';\r\n extdobcheck(dateFormatSetting(dateofbirth), dobchk);\r\n rel = '';\r\n familydetail = { firstName: \"\", lastName: \"\", gender: \"\", relationship: \"\", cellPhone: \"\", email: \"\" };\r\n childid = null;\r\n photo = \"\";\r\n this.setState({\r\n primaryClass: \"btn-secondary\",\r\n secondaryClass: \"btn-primary\"\r\n });\r\n }\r\n editFamilymember = (value: any) => {\r\n closepopup = \"editFamilymember\";\r\n familydetail = value;\r\n childid = value.Id;\r\n var croppedImageUrl = \"\";\r\n var croppedImageUrlrevert = \"\";\r\n this.setState({ croppedImageUrl, croppedImageUrlrevert });\r\n profilephoto = value.Url == null ? \"client/default/img/blankimg.jpg\" : value.Url;\r\n if (value.Url != null) {\r\n photo = value.Photo;\r\n }\r\n if (value.Relationship != \"\") {\r\n\r\n var rel_grp = this.props.categories.filter((ca: any) => ca.group == \"Relationship\");\r\n rel = rel_grp.filter((ca: any) => ca.name == value.Relationship)[0]\r\n\r\n\r\n }\r\n \r\n dateofbirth = value.DOB;\r\n this.componentDidMount();\r\n this.setState({\r\n primaryClass: \"btn-secondary\",\r\n secondaryClass: \"btn-primary\"\r\n });\r\n }\r\n goMySelf = () => {\r\n doctorappointment = this.props.Settings.filter((s: any) => s.name == \"Doctor Appointment\");\r\n if (doctorappointment.length == 0)\r\n doctorappointment = null;\r\n else\r\n doctorappointment = doctorappointment[0].customizeValue\r\n\r\n anonymous = this.props.Settings.filter((s: any) => s.name == \"Anonymous\");\r\n if (anonymous.length == 0)\r\n anonymous = null;\r\n else\r\n anonymous = anonymous[0].customizeValue\r\n\r\n requestqueue = this.props.Settings.filter((s: any) => s.name == \"Request Queue\");\r\n if (requestqueue.length == 0)\r\n requestqueue = null;\r\n else\r\n requestqueue = requestqueue[0].customizeValue;\r\n if (doctorappointment == \"Yes\" && anonymous == \"No\" && requestqueue == \"No\") {\r\n if (this.props.speciality.length == 1)\r\n window.location.href = \"/ourdoctors?specialityid=\" + this.props.speciality[0].id;\r\n else\r\n window.location.href = \"/memberspeciality?name=ourdoctors\";\r\n }\r\n else if (doctorappointment == \"No\" && anonymous == \"Yes\" && requestqueue == \"No\") {\r\n if (this.props.speciality.length == 1)\r\n window.location.href = \"/centralized?specialityid=\" + this.props.speciality[0].id;\r\n else\r\n window.location.href = \"/memberspeciality?name=centralized\";\r\n } else if (doctorappointment == \"No\" && anonymous == \"No\" && requestqueue == \"Yes\") {\r\n var patient: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n var patientid = patient.id;\r\n if (this.props.speciality.length == 1) {\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n localStorage.setItem(\"pathName\", \"RequestQueue\");\r\n this.props.history.push(\"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n }\r\n else\r\n window.location.href = \"/memberspeciality?name=consultnow&patientid=\" + patientid;\r\n localStorage.setItem(\"methodId\",\"5\")\r\n \r\n }\r\n else {\r\n this.setState({\r\n isOpenConsult: false,\r\n isOpen: true,\r\n isFamily: false,\r\n primaryClass: \"btn-primary\",\r\n secondaryClass: \"btn-secondary\"\r\n });\r\n parentid = \"\";\r\n name = \"\";\r\n\r\n localStorage.removeItem(\"redirectUrl\");\r\n localStorage.removeItem(\"redirectQequestQueueUrl\");\r\n localStorage.removeItem(\"pathName\");\r\n localStorage.removeItem('AppointmentOn');\r\n }\r\n }\r\n goFamily = () => {\r\n this.setState({\r\n isOpen: false,\r\n isOpenConsult: true,\r\n isFamily: true,\r\n primaryClass: \"btn-secondary\",\r\n secondaryClass: \"btn-primary\"\r\n });\r\n localStorage.removeItem(\"redirectUrl\");\r\n localStorage.removeItem(\"redirectQequestQueueUrl\");\r\n localStorage.removeItem(\"pathName\");\r\n localStorage.removeItem('AppointmentOn');\r\n }\r\n goConsult = (value: any) => {\r\n parentid = value.Id;\r\n childpatientid = value.PatientId;\r\n localStorage.setItem(\"childpatientid\", childpatientid);\r\n var prf = value.Prefix == null ? \"\" : value.Prefix\r\n name = prf + \" \" + value.FirstName + \" \" + value.LastName;\r\n doctorappointment = this.props.Settings.filter((s: any) => s.name == \"Doctor Appointment\");\r\n if (doctorappointment.length == 0)\r\n doctorappointment = null;\r\n else\r\n doctorappointment = doctorappointment[0].customizeValue\r\n\r\n anonymous = this.props.Settings.filter((s: any) => s.name == \"Anonymous\");\r\n if (anonymous.length == 0)\r\n anonymous = null;\r\n else\r\n anonymous = anonymous[0].customizeValue\r\n\r\n requestqueue = this.props.Settings.filter((s: any) => s.name == \"Request Queue\");\r\n if (requestqueue.length == 0)\r\n requestqueue = null;\r\n else\r\n requestqueue = requestqueue[0].customizeValue;\r\n if (doctorappointment == \"Yes\" && anonymous == \"No\" && requestqueue == \"No\") {\r\n if (this.props.speciality.length == 1)\r\n window.location.href = \"/ourdoctors?childid=\" + parentid + \"&childname=\" + name + \"&specialityid=\" + this.props.speciality[0].id;\r\n else\r\n window.location.href = \"/memberspeciality?name=ourdoctors&childid=\" + parentid + \"&childname=\" + name;\r\n }\r\n else if (doctorappointment == \"No\" && anonymous == \"Yes\" && requestqueue == \"No\") {\r\n if (this.props.speciality.length == 1)\r\n window.location.href = \"/centralized?childid=\" + parentid + \"&childname=\" + name + \"&specialityid=\" + this.props.speciality[0].id;\r\n else\r\n window.location.href = \"/memberspeciality?name=centralized&childid=\" + parentid + \"&childname=\" + name;\r\n } else if (doctorappointment == \"No\" && anonymous == \"No\" && requestqueue == \"Yes\") {\r\n var patient: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n var patientid = patient.id;\r\n if (this.props.speciality.length == 1) {\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&childid=\" + parentid + \"&childname=\" + name + \"&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n localStorage.setItem(\"pathName\", \"RequestQueue\");\r\n this.props.history.push(\"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&childid=\" + parentid + \"&childname=\" + name + \"&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n }\r\n else\r\n window.location.href = \"/memberspeciality?name=consultnow&childid=\" + parentid + \"&childname=\" + name + \"&patientid=\" + patientid;\r\n }\r\n else {\r\n this.setState({\r\n isOpenConsult: false,\r\n isSelected: value.Id\r\n });\r\n }\r\n }\r\n providerAppointment = () => {\r\n if (this.state.isFamily == false) {\r\n if (this.props.speciality.length == 1)\r\n window.location.href = \"/ourdoctors?specialityid=\" + this.props.speciality[0].id;\r\n else\r\n window.location.href = \"/memberspeciality?name=ourdoctors\";\r\n /*this.props.history.push(\"/ourdoctors\");*/\r\n } else {\r\n if (this.props.speciality.length == 1)\r\n window.location.href = \"/ourdoctors?childid=\" + parentid + \"&childname=\" + name + \"&specialityid=\" + this.props.speciality[0].id;\r\n else\r\n window.location.href = \"/memberspeciality?name=ourdoctors&childid=\" + parentid + \"&childname=\" + name;\r\n //window.location.href = \"/ourdoctors?childid=\" + parentid + \"&childname=\" + name;\r\n //this.props.history.push(\"/ourdoctors?childid=\" + parentid + \"&name=\" + name);\r\n }\r\n }\r\n chooseproviderAppointment = () => {\r\n if (this.state.isFamily == false) {\r\n if (this.props.speciality.length == 1)\r\n window.location.href = \"/centralized?specialityid=\" + this.props.speciality[0].id;\r\n else\r\n window.location.href = \"/memberspeciality?name=centralized\";\r\n /*window.location.href = \"/centralized\";*/\r\n //this.props.history.push(\"/centralized\");\r\n } else {\r\n if (this.props.speciality.length == 1)\r\n window.location.href = \"/centralized?childid=\" + parentid + \"&childname=\" + name + \"&specialityid=\" + this.props.speciality[0].id;\r\n else\r\n window.location.href = \"/memberspeciality?name=centralized&childid=\" + parentid + \"&childname=\" + name;\r\n //window.location.href = \"/centralized?childid=\" + parentid + \"&childname=\" + name;\r\n //this.props.history.push(\"/centralized?childid=\" + parentid + \"&name=\" + name);\r\n }\r\n }\r\n consultNow = (doctorappointment: any, anonymous: any) => {\r\n if (doctorappointment == \"Yes\" && anonymous == \"Yes\")\r\n return;\r\n else if (doctorappointment == \"Yes\") {\r\n enablefamilymember = this.props.Settings.filter((s: any) => s.name == \"Enable Family Member\")[0];\r\n if ((enablefamilymember.customizeValue == \"Yes\") && (this.state.isFamily == true)) {\r\n if (this.props.speciality.length == 1)\r\n this.props.history.push(\"/ourdoctors?childid=\" + parentid + \"&childname=\" + name + \"&specialityid=\" + this.props.speciality[0].id);\r\n else\r\n window.location.href = \"/memberspeciality?name=ourdoctors\";\r\n } else {\r\n if (this.props.speciality.length == 1)\r\n window.location.href = \"/ourdoctors?specialityid=\" + this.props.speciality[0].id;\r\n else\r\n window.location.href = \"/memberspeciality?name=ourdoctors\";\r\n //this.props.history.push(\"/ourdoctors\");\r\n }\r\n }\r\n else if (anonymous == \"Yes\") {\r\n enablefamilymember = this.props.Settings.filter((s: any) => s.name == \"Enable Family Member\")[0];\r\n if ((enablefamilymember.customizeValue == \"Yes\") && (this.state.isFamily == true)) {\r\n if (this.props.speciality.length == 1)\r\n this.props.history.push(\"/centralized?childid=\" + parentid + \"&childname=\" + name + \"&specialityid=\" + this.props.speciality[0].id);\r\n else\r\n window.location.href = \"/memberspeciality?name=centralized\";\r\n } else {\r\n if (this.props.speciality.length == 1)\r\n window.location.href = \"/centralized?specialityid=\" + this.props.speciality[0].id;\r\n else\r\n window.location.href = \"/memberspeciality?name=centralized\";\r\n //this.props.history.push(\"/centralized\");\r\n }\r\n }\r\n else\r\n return;\r\n }\r\n requestQueue = () => {\r\n if (localStorage.getItem('isAuth') == \"true\") {\r\n var patient: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n if (patient.dob == null || patient.gender == \"\" || patient.cellPhone == \"\" || patient.address1 == \"\" || patient.zipcode == \"\" || patient.locationName == \"\") {\r\n this.props.history.push(\"/contact/\" + null + \"/\" + patient.memberId);\r\n } else {\r\n var patientid = patient.id;\r\n if (parentid == \"\") {\r\n if (this.props.speciality.length == 1) {\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n localStorage.setItem(\"pathName\", \"RequestQueue\");\r\n this.props.history.push(\"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n }\r\n else\r\n window.location.href = \"/memberspeciality?name=consultnow&patientid=\" + patientid;\r\n } else {\r\n if (this.props.speciality.length == 1) {\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&childid=\" + parentid + \"&childname=\" + name + \"&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n localStorage.setItem(\"pathName\", \"RequestQueue\");\r\n this.props.history.push(\"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&childid=\" + parentid + \"&childname=\" + name + \"&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n }\r\n else\r\n window.location.href = \"/memberspeciality?name=consultnow&childid=\" + parentid + \"&childname=\" + name + \"&patientid=\" + patientid;\r\n\r\n }\r\n }\r\n } else {\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=&patientId=&serviceid=&type=noappointment\")\r\n localStorage.setItem(\"pathName\", \"RequestQueue\");\r\n this.props.history.push(\"/login\");\r\n }\r\n }\r\n chooseRequestQueue = () => {\r\n if (localStorage.getItem('isAuth') == \"true\") {\r\n var patient: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n if (patient.dob == null || patient.gender == \"\" || patient.cellPhone == \"\" || patient.address1 == \"\" || patient.zipcode == \"\" || patient.locationName == \"\") {\r\n var patientid = patient.id;\r\n if (parentid == \"\") {\r\n if (this.props.speciality.length == 1) {\r\n var patient: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n if (patient.dob == null || patient.gender == \"\" || patient.cellPhone == \"\" || patient.address1 == \"\" || patient.zipcode == \"\" || patient.locationName == \"\") {\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n localStorage.setItem(\"pathName\", \"RequestQueue\");\r\n this.props.history.push(\"/contact/\" + null + \"/\" + patient.memberId);\r\n } else {\r\n this.props.history.push(\"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n }\r\n }\r\n else\r\n window.location.href = \"/memberspeciality?name=consultnow&patientid=\" + patientid;\r\n } else {\r\n if (this.props.speciality.length == 1) {\r\n var patient: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n if (patient.dob == null || patient.gender == \"\" || patient.cellPhone == \"\" || patient.address1 == \"\" || patient.zipcode == \"\" || patient.locationName == \"\") {\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&childid=\" + parentid + \"&childname=\" + name + \"&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n localStorage.setItem(\"pathName\", \"RequestQueue\");\r\n this.props.history.push(\"/contact/\" + null + \"/\" + patient.memberId);\r\n } else {\r\n this.props.history.push(\"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&childid=\" + parentid + \"&childname=\" + name + \"&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n }\r\n }\r\n else\r\n window.location.href = \"/memberspeciality?name=consultnow&childid=\" + parentid + \"&childname=\" + name + \"&patientid=\" + patientid;\r\n }\r\n } else {\r\n var patientid = patient.id;\r\n if (parentid == \"\") {\r\n if (this.props.speciality.length == 1) {\r\n var patient: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n if (patient.dob == null || patient.gender == \"\" || patient.cellPhone == \"\" || patient.address1 == \"\" || patient.zipcode == \"\" || patient.locationName == \"\") {\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n localStorage.setItem(\"pathName\", \"RequestQueue\");\r\n this.props.history.push(\"/contact/\" + null + \"/\" + patient.memberId);\r\n } else {\r\n this.props.history.push(\"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n }\r\n }\r\n else\r\n window.location.href = \"/memberspeciality?name=consultnow&patientid=\" + patientid;\r\n } else {\r\n if (this.props.speciality.length == 1) {\r\n var patient: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n if (patient.dob == null || patient.gender == \"\" || patient.cellPhone == \"\" || patient.address1 == \"\" || patient.zipcode == \"\" || patient.locationName == \"\") {\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&childid=\" + parentid + \"&childname=\" + name + \"&type=noappointment&specialityid=\" + this.props.speciality[0].id)\r\n localStorage.setItem(\"pathName\", \"RequestQueue\");\r\n this.props.history.push(\"/contact/\" + null + \"/\" + patient.memberId);\r\n } else {\r\n this.props.history.push(\"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&childid=\" + parentid + \"&childname=\" + name + \"&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n }\r\n }\r\n else\r\n window.location.href = \"/memberspeciality?name=consultnow&childid=\" + parentid + \"&childname=\" + name + \"&patientid=\" + patientid;\r\n }\r\n }\r\n } else {\r\n localStorage.removeItem(\"AppointmentOn\");\r\n localStorage.removeItem(\"AppointmentTime\");\r\n localStorage.removeItem(\"AppointmentTime1\");\r\n localStorage.removeItem(\"AppointmentOn1\");\r\n localStorage.removeItem(\"AppointmentUTCTime\")\r\n localStorage.removeItem(\"AppointmentUTCTime1\")\r\n localStorage.removeItem(\"SelectedDate\");\r\n localStorage.removeItem(\"DoctorId\");\r\n localStorage.removeItem(\"EncDetail\");\r\n localStorage.removeItem(\"Appointment\");\r\n localStorage.removeItem(\"SpecialityId\");\r\n localStorage.removeItem(\"EncounterTypeId\");\r\n localStorage.removeItem(\"currency\");\r\n if (this.props.speciality.length == 1) {\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&serviceid=&type=noappointment&specialityid=\" + this.props.speciality[0].id);\r\n localStorage.setItem(\"pathName\", \"RequestQueue\") \r\n window.location.href = \"/login\"; \r\n }\r\n else\r\n window.location.href = \"/memberspeciality?name=consultnow\";\r\n }\r\n }\r\n private renderFamilyMember() {\r\n var dateformat: any = localStorage.getItem(\"DateFormat\") == null ? \"\" : localStorage.getItem(\"DateFormat\");\r\n languagecontent = this.props.LanguageResoures;\r\n const gender = this.props.categories.filter((ca: any) => ca.group == \"Gender\");\r\n relationship = this.props.categories.filter((ca: any) => ca.group == \"Relationship\");\r\n enablefamilymember = this.props.Settings.filter((s: any) => s.name == \"Enable Family Member\");\r\n if (enablefamilymember.length == 0)\r\n enablefamilymember = null\r\n else\r\n enablefamilymember = enablefamilymember[0].customizeValue\r\n\r\n doctorappointment = this.props.Settings.filter((s: any) => s.name == \"Doctor Appointment\");\r\n if (doctorappointment.length == 0)\r\n doctorappointment = null;\r\n else\r\n doctorappointment = doctorappointment[0].customizeValue\r\n\r\n anonymous = this.props.Settings.filter((s: any) => s.name == \"Anonymous\");\r\n if (anonymous.length == 0)\r\n anonymous = null;\r\n else\r\n anonymous = anonymous[0].customizeValue\r\n\r\n requestqueue = this.props.Settings.filter((s: any) => s.name == \"Request Queue\");\r\n if (requestqueue.length == 0)\r\n requestqueue = null;\r\n else\r\n requestqueue = requestqueue[0].customizeValue;\r\n childid = childid == null ? \"\" : childid;\r\n\r\n var doblimit: any = this.props.Settings.filter((s: any) => s.name == \"Allowed User DOB Range\")[0];\r\n var _doblimit: any = 0;\r\n if (doblimit != undefined) {\r\n _doblimit = doblimit.customizeValue;\r\n } else {\r\n _doblimit = 0;\r\n }\r\n var IsLoading: any = this.props.IsLoading;\r\n return (\r\n
\r\n
\r\n
\r\n \r\n {\r\n enablefamilymember == \"Yes\" ?\r\n
\r\n
\r\n
\r\n {\r\n languagecontent['whoisconsultationfor'] == undefined ? :\r\n \r\n

{languagecontent['whoisconsultationfor']}

\r\n \r\n \r\n
\r\n }\r\n
\r\n
\r\n
: \"\"\r\n }\r\n\r\n \r\n\r\n
\r\n\r\n \r\n
\r\n {\r\n (doctorappointment == \"Yes\" && anonymous == \"Yes\" && requestqueue == \"Yes\" && enablefamilymember == \"No\") ?\r\n
\r\n
\r\n

{languagecontent['howwouldconsult']}

\r\n
\r\n
\r\n {languagecontent['chooseaproviderdesc']}\r\n
\r\n
\r\n {languagecontent['providerappointmentdesc']}
\r\n \r\n
{languagecontent['consultnowdescription']}\r\n
\r\n
\r\n
: \"\"\r\n }\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
{languagecontent['familymember']}
\r\n \r\n
\r\n
\r\n {\r\n childid == \"\" ? \"\" :\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \"Crop\"\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n {languagecontent['uploadphoto']}\r\n \r\n
\r\n {languagecontent['allowedfilesize']}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n }\r\n\r\n
\r\n
\r\n {this.state.src && (\r\n \r\n\r\n )}\r\n {\r\n this.state.croppedImageUrl == \"\" && this.state.croppedImageUrlrevert == \"\" && this.state.src == \"\" ? \"\" :\r\n
\r\n
\r\n \r\n


\r\n
\r\n }\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n {dateofbirth == \"\" ?\r\n \r\n : \r\n }\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n );\r\n }\r\n}\r\nconst mapDispatchToProps = { ...FamilyMemberStore.actionCreators, ...CategoryStore.actionCreators, ...AccountStore.actionCreators, ...LanguageResourcesStore.actionCreators, ...MemberSpecialityStore.actionCreators };\r\nconst mapStateToProps = (state: ApplicationState) => {\r\n let values = {\r\n initialValues: { firstName: familydetail.FirstName, lastName: familydetail.LastName, gender: familydetail.Gender, dob: (familydetail.DOB == null) || (familydetail.DOB == \"\") ? \"\" : dateFormatSetting(familydetail.DOB), relationship: rel.value, cellPhone: familydetail.ContactNumber, email: familydetail.Email },\r\n ...state.familyMembers, ...state.category, ...state.account, ...state.langResources, ...state.speciality,\r\n };\r\n return values; \r\n}\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(reduxForm({\r\n form: 'familyMemberForm',\r\n enableReinitialize: true,\r\n})(FamilyMember as any))\r\n\r\nexport const ProfileLoader = (props: any) => (\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n)\r\n\r\nfunction toDate(date: any) {\r\n if (date != null) {\r\n var currentDateTime = new Date(date);\r\n return currentDateTime\r\n }\r\n}\r\nasync function isBase64UrlImage(base64String: any) {\r\n let image = new Image()\r\n image.src = base64String\r\n return await (new Promise((resolve) => {\r\n image.onload = function () {\r\n if (image.height === 0 || image.width === 0) {\r\n resolve(false);\r\n return;\r\n }\r\n resolve(true)\r\n }\r\n image.onerror = () => {\r\n resolve(false)\r\n }\r\n }))\r\n}","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { ApplicationState } from '../../store/index';\r\nimport * as ContactStore from '../../store/patient/Contact';\r\nimport DashboardNavMenu from '../../components/layout/menu/DashboardNav'\r\nimport { seo } from '../../helper/Script';\r\nimport ContentLoader from 'react-content-loader';\r\nimport Moment from 'moment';\r\nimport * as AccountStore from '../../store/siteaccount/Account';\r\nimport * as TransactionStore from '../../store/patient/Transaction';\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\nimport { scrollTop, setTittle } from '../../helper/formvalidation';\r\nimport Pagination from \"react-js-pagination\";\r\nimport { dateFormat, dateUTCFormat, dateFormatConvert, timeFormatConvert } from '../../helper/formvalidation';\r\nimport { getDiscountPrice } from './Booking';\r\n// At runtime, Redux will merge together...\r\ntype DocumentListProps =\r\n\tContactStore.ContactState & TransactionStore.TransactionDetailState & AccountStore.AccountState & LanguageResourcesStore.LanguageResouresState// ... state we've requested from the Redux store\r\n\t& typeof ContactStore.actionCreators & typeof TransactionStore.actionCreators & typeof AccountStore.actionCreators & typeof LanguageResourcesStore.actionCreators// ... plus action creators we've requested\r\n\t& RouteComponentProps<{ startDateIndex: string }>; // ... plus incoming routing parameters\r\nvar patientLocalStroage: any = localStorage.getItem('Patient');\r\nvar pat = JSON.parse(patientLocalStroage);\r\nvar languagecontent: any = \"\";\r\nvar langdata: any = \"\";\r\nvar __currency: any = [];\r\nclass DynamicForms extends React.PureComponent {\r\n\tconstructor(props: any) {\r\n\t\tsuper(props);\r\n\t\t\r\n\t}\r\n\tstate = {\r\n\r\n\tactivePage: 1,\r\n\tactivePagecount: 10,\r\n\tcurrentPagecount: 1,\r\n\tlists: []\r\n\r\n}\r\n\r\n\t// This method is called when the component is first added to the document\r\n\tpublic componentDidMount() {\r\n\t\tthis.ensureDataFetched();\r\n\t\tscrollTop();\r\n\r\n\t}\r\n\tcomponentDidUpdate() {\r\n\t\tseo(setTittle(languagecontent == \"\" ? \"\" : languagecontent['breadcrumb']));\r\n\t\t\r\n\t}\r\n\tpublic render() {\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{this.renderTransactionList()}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n\r\n\tprivate ensureDataFetched() {\r\n\t\tthis.props.getLangResources();\r\n\t\tthis.props.requestTransactionDetail(pat['id'], null);\r\n\r\n\t\tif (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n\t\t\tlangdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n\r\n\t\t\r\n\r\n\t}\r\n\r\n\r\n\tconvertDate(time: any) {\r\n\r\n\t\treturn Moment.utc(time).utcOffset(+parseInt(localStorage.getItem('timeOffset') || \"\")).format('D MMM YYYY')\r\n\t}\r\n\tconvertTime(time: any) {\r\n\r\n\t\treturn Moment.utc(time).utcOffset(+parseInt(localStorage.getItem('timeOffset') || \"\")).format('LT')\r\n\t}\r\n\thandlePageChange(pageNumber: any) {\r\n\t\tvar page = (pageNumber * 10) - 10;\r\n\t\tvar pagenumber = page + 1;\r\n\t\t//console.log(page, pageNumber * 10)\r\n\t\tthis.setState({ activePage: pageNumber, activePagecount: pageNumber * 10, currentPagecount: pagenumber });\r\n\t\tthis.setState({ lists: this.props.paymentDetail.slice(page, pageNumber * 10) })\r\n\t\t//console.log(this.props.paymentDetail.slice(5, 10), \"this.props.paymentDetail.slice(page, pageNumber * 5)\")\r\n\t}\r\n\t\r\n\t/*componentWillMount() {\r\n\t\tthis.setState({ lists: this.props.paymentDetail.slice(0, 5) })\r\n }*/\r\n\r\n\t\r\n\r\n\tprivate renderTransactionList() {\r\n\t\t\r\n\r\n\t\tlanguagecontent = this.props.LanguageResoures;\r\n\t\tvar _currency: any = \"\";\r\n\t\t__currency = this.props.Settings.filter((s: any) => s.name == \"Currency\");\r\n\t\t//var value: any;\r\n\t\tif (__currency.length == 0) {\r\n\t\t\t_currency = \"\";\r\n\t\t}\r\n\t\telse {\r\n\t\t\tif (__currency[0].value == \"\") {\r\n\t\t\t\t_currency = __currency[0].displayCode;\r\n\t\t\t\tlocalStorage.setItem(\"currency\", _currency);\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\t_currency = __currency[0].customizeValue;\r\n\t\t\t\tlocalStorage.setItem(\"currency\", _currency);\r\n\t\t\t}\r\n\r\n\r\n\t\t}\r\n\t\t\r\n\t\tvar currency: any = _currency;\t\t\r\n\t\treturn (\t\t\t\r\n\t\t\t\r\n\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\tthis.props.paymentDetailLoading == true ? \r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t :\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.props.paymentDetail.length == 0 ?\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{languagecontent['norecordsfound']}
:\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t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t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{languagecontent['paymenthistory']}{languagecontent['type']}{languagecontent['transactionfor']}{languagecontent['paymentmethod']}{languagecontent['reference']}
{languagecontent['transactionon']}
{transaction.PaidDate ? dateFormat(transaction.PaidDate) : -}{transaction.PaidDate ? Moment(transaction.PaidDate).format('LT') : \"\"} {languagecontent['doctorfee']}
{currency + getDiscountPrice(transaction.PaidAmount, 0)}
{transaction.PaymentStatus}{languagecontent['appointmentreason']}
{transaction.Reason}
{languagecontent['appointmentno']}
{transaction.AppointmentNo}
{transaction.PaymentMethod}{transaction.KarepayReference? transaction.KarepayReference : \"-\"}
\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tthis.props.paymentDetail.length >= 15 ?\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
{this.state.currentPagecount} - {this.state.activePagecount} of {this.props.paymentDetail.length}
\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
: \"\"\r\n }\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t
\r\n\r\n\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default connect(\r\n\t(state: ApplicationState) => ({ ...state.flexiform, ...state.contact, ...state.transactionDetail, ...state.account, ...state.langResources }), // Selects which state properties are merged into the component's props\r\n\t({ ...ContactStore.actionCreators, ...TransactionStore.actionCreators, ...AccountStore.actionCreators, ...LanguageResourcesStore.actionCreators })// Selects which action creators are merged into the component's props\r\n)(DynamicForms as any);\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { NavLink } from 'react-router-dom';\r\n\r\nconst whatwedo = () => (\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n);\r\n\r\nexport default connect()(whatwedo);","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { NavLink } from 'react-router-dom';\r\n\r\nconst whoweare = () => (\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n);\r\n\r\nexport default connect()(whoweare);","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { NavLink } from 'react-router-dom';\r\n\r\nconst contactus = () => (\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n);\r\n\r\nexport default connect()(contactus);","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { Field, reduxForm } from 'redux-form';\r\nimport { dateFormat, phoneNumber, required, zipCode } from '../../helper/formvalidation';\r\nimport { renderAutoComplete, renderDatePicker, renderField, renderSelectField, renderDob } from '../../helper/renderfield';\r\nimport { ApplicationState } from '../../store/index';\r\nimport ReactCrop from 'react-image-crop';\r\nimport * as ContactStore from '../../store/patient/Contact';\r\nimport * as HandleRequest from '../../helper/Request';\r\nimport * as LoginStore from '../../store/account/Login';\r\nimport * as LocationStore from '../../store/location/location';\r\nimport * as DashboardNavMenuStore from '../../store/menu/DashboardNav';\r\nimport { datepickerJS, floatingJS, floatJS, dobcheck } from '../../helper/Script';\r\nimport * as DashboardNavStore from '../../store/menu/DashboardNav';\r\nimport 'react-image-crop/dist/ReactCrop.css';\r\nimport Moment from 'moment';\r\nimport { toastr } from 'react-redux-toastr';\r\nvar patientLocalStroage: any = localStorage.getItem('Patient');\r\nvar patientdata = JSON.parse(patientLocalStroage);\r\n\r\n\r\ntype ContactProps =\r\n\tContactStore.ContactState & LoginStore.LoginState & HandleRequest.Request & LoginStore.LoginState & DashboardNavMenuStore.DashboardNavState & LocationStore.LocationState &\r\n\ttypeof ContactStore.actionCreators & typeof LoginStore.actionCreators & typeof DashboardNavMenuStore.actionCreators & typeof LocationStore.actionCreators &\r\n\tRouteComponentProps<{}>;\r\nvar locationid = \"\";\r\nvar reader = new FileReader();\r\nvar patient = {};\r\nvar locationCheck = \"\";\r\nvar dobchk = \"\";\r\nclass MemberForm extends React.PureComponent {\r\n\tconstructor(props: any) {\r\n\t\tsuper(props);\r\n\t}\r\n\tonSubmit = (formValues: any, dispatch: any, props: any) => {\r\n\t\t/*if (locationid == \"\") {\r\n\t\t\treturn toastr.error('', 'Please select valid city/state');\r\n\t\t}*/\r\n\r\n\r\n\t\tif (this.props.Locations.length > 0) {\r\n\t\t\tconst filetypeFilter = this.props.Locations.filter(function (value) {\r\n\t\t\t\tif (value.Description != null || value.Description == \"\") {\r\n\t\t\t\t\tvar test = value.Name + \",\" + value.Description\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tvar test = value.Name\r\n\t\t\t\t}\r\n\r\n\r\n\t\t\t\treturn test.replace(/,| /g, '') === formValues.locationName.replace(/,| /g, '')\r\n\t\t\t});\r\n\t\t\tfiletypeFilter.forEach(value => {\r\n\t\t\t\tlocationCheck = value.Name;\r\n\t\t\t})\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.props.requestLocation(formValues.locationName);\r\n\t\t\tif (locationid != \"\") {\r\n\t\t\t\tif (locationid == patientdata.locationId) {\r\n\t\t\t\t\tif (patientdata.locationName.replace(/,| /g, '') == formValues.locationName.replace(/,| /g, ''))\r\n\t\t\t\t\t\tlocationCheck = locationid;\r\n\t\t\t\t\telse\r\n\t\t\t\t\t\tlocationCheck = \"\";\r\n\t\t\t\t}\r\n\r\n\t\t\t\telse if (patientdata.locationName.replace(/,| /g, '') == formValues.locationName.replace(/,| /g, '')) {\r\n\t\t\t\t\tlocationCheck = patientdata.locationName;\r\n\t\t\t\t}\r\n\r\n\t\t\t\telse if (locationid != patientdata.locationId) {\r\n\t\t\t\t\tlocationCheck = locationid;\r\n\t\t\t\t}\r\n\r\n\t\t\t\telse {\r\n\t\t\t\t\tlocationCheck = \"\";\r\n\t\t\t\t}\r\n\r\n\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\tlocationCheck = \"\";\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\tlet dob: HTMLElement = document.getElementsByName('dob')[0] as HTMLElement;\r\n\t\tdob.style.color = \"white\";\r\n\t\tif (locationCheck == \"\") {\r\n\t\t\treturn toastr.error('', 'Please select valid city/state');\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.props.requestSaveContact(formValues, this.props.contact, locationid);\r\n\r\n\t\t}\r\n\t\tthis.props.requestPatient();\r\n\t\tsetTimeout(function () {\r\n\t\t\tdob.style.color = \"#333\";\r\n\t\t}, 1500);\r\n\t}\r\n\tpublic render() {\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{this.renderContact()}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n\r\n\tpublic _handleSearch = (query: any) => {\r\n\t\tthis.props.requestLocation(query);\r\n\t}\r\n\tpublic _handleClickSearch = (query: any) => {\r\n\t\tthis.props.requestLocation(query);\r\n\t}\r\n\tpublic _handleOnFocus = (event: Event) => {\r\n\t\tvar data: any = event.target;\r\n\t\tthis.props.requestLocation(data.defaultValue.substring(0, 4))\r\n\t}\r\n\tpublic _handleOnChange = (selected: any) => {\r\n\r\n\t\tselected.map((value: any) => {\r\n\t\t\tlocationid = value.Id;\r\n\t\t\tthis.props.requestLocation(value.Name.substring(0, 3));\r\n\t\t})\r\n\t\tif (selected) {\r\n\t\t\tlet zipcode: HTMLElement = document.getElementsByName('zipcode')[0] as HTMLElement;\r\n\t\t\tzipcode.focus();\r\n\t\t}\r\n\t}\r\n\r\n\t\r\n\tprivate ensureDataFetched() {\r\n\t\tthis.props.requestPatient();\r\n\t\tdobcheck(dateFormat(this.props.contact.dob), dobchk);\r\n\t\tif (patientdata.locationName != \"\")\r\n\t\t\tthis.props.requestLocation(patientdata.locationName.substring(0, 4))\r\n\t}\r\n\tcomponentDidMount() {\r\n\t\tthis.ensureDataFetched();\r\n\t\tconst script = document.createElement(\"script\");\r\n\t\tscript.src = \"/Theme/Doccure/admin/assets/js/script.js\";\r\n\t\tscript.async = true;\r\n\t\tdocument.body.appendChild(script);\r\n\t\tthis.props.requestPatient();\r\n\t\tdatepickerJS();\r\n\t\tfloatingJS();\r\n\t\tdobchk = \"\";\r\n\t\tdobcheck(dateFormat(this.props.contact.dob), dobchk);\r\n\t\tif (patientdata.locationName != \"\")\r\n\t\t\tthis.props.requestLocation(patientdata.locationName.substring(0, 4))\r\n\t}\r\n\tcomponentDidUpdate() {\r\n\t\tfloatJS();\r\n\r\n\t\tif (patientdata['dob'] != null && dobchk == \"\") {\r\n\t\t\tdobcheck(dateFormat(this.props.contact.dob), dobchk);\r\n\t\t\tdobchk = \"checked\";\r\n\t\t}\r\n\r\n\t\t//this.props.requestLocation(this.props.contact.locationName);\r\n\t}\r\n\tpublic renderContact() {\r\n\t\tvar langResources = JSON.parse(localStorage.getItem(\"LangResources\") || \"\");\r\n\t\tvar signup: any = langResources.filter((la: any) => (la.Group == \"signup\"));\r\n\t\tvar profile: any = langResources.filter((la: any) => (la.Group == \"profile\"));\r\n\t\tvar profile_settings: any = langResources.filter((la: any) => (la.Group == \"profile_settings\"));\r\n\t\tvar data = window.location.pathname;\r\n\t\tconst _array = data.split('/');\r\n\t\tconst Locations = this.props.Locations;\r\n\r\n\t\tconst isLoading = this.props.isLoading;\r\n\t\tconst onSearch = this._handleSearch;\r\n\t\tconst onClickMethod = this._handleClickSearch;\r\n\t\tconst onChangeMethod = this._handleOnChange;\r\n\t\tconst onFocusMethod = this._handleOnFocus;\r\n\t\tconst bloodgroup = [{ value: '', name: 'Select' }, { value: 'A-', name: 'A-' }, { value: 'A+', name: 'A+' }, { value: 'B-', name: 'B+' }, { value: 'AB-', name: 'AB+' }, { value: 'O-', name: 'O+' },];\r\n\t\tconst gender = [{ value: '', name: 'Select' }, { value: 'Male', name: 'Male' }, { value: 'Female', name: 'Female' }];\r\n\t\tif (this.props.contact.gender == \"M\")\r\n\t\t\tthis.props.contact.gender = \"Male\";\r\n\t\telse if (this.props.contact.gender == \"F\")\r\n\t\t\tthis.props.contact.gender = \"Female\";\r\n\r\n\t\tif (Moment(this.props.contact.dob).format('MM/DD/YYYY') == \"Invalid date\")\r\n\t\t\tthis.props.contact.dob = \"\";\r\n\t\telse\r\n\t\t\tthis.props.contact.dob = dateFormat(this.props.contact.dob);\r\n\t\tconst localLocation = this.props.contact.locationName == \"\" || this.props.contact.locationName == null ? patientdata.locationName : this.props.contact.locationName;\r\n\t\tpatient = this.props.contact;\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t
\r\n\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t_array[1] == \"profilesettings\" ?\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t
0 ? \"form-group form-focus focused\" : \"form-group form-focus\"}>\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t\t
0 ? \"form-group form-focus focused\" : \"form-group form-focus\"}>\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t
: \"\"\r\n\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
0 ? \"form-group form-focus focused\" : \"form-group form-focus\"}>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
0 ? \"form-group form-focus focused\" : \"form-group form-focus\"}>\r\n\t\t\t\t\t\t\t\t
\r\n\r\n\t\t\t\t\t\t\t\t\t{this.props.contact ?\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t: \r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
0 ? \"form-group form-focus focused\" : \"form-group form-focus\"}>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
0 ? \"form-group form-focus focused\" : \"form-group form-focus\"}>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t
\r\n\r\n\r\n\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
0 ? \"form-group form-focus focused\" : \"form-group form-focus\"}>\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
\r\n\t\t\t\t\t\t
\r\n\t\t\t\t\t
\r\n\t\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\nconst mapDispatchToProps = { ...DashboardNavStore.actionCreators, ...LoginStore.actionCreators, ...ContactStore.actionCreators, ...DashboardNavMenuStore.actionCreators, ...LocationStore.actionCreators };\r\nconst mapStateToProps = (state: ApplicationState) => {\r\n\r\n\tlet values = {\r\n\t\tinitialValues: patient,\r\n\t\t...state.contact, ...state.login, ...state.dashboardNav, ...state.dashboardNav, ...state.location\r\n\t};\r\n\treturn values;\r\n\r\n}\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(reduxForm({\r\n\tform: 'memberForm',\r\n\tenableReinitialize: true,\r\n})(MemberForm as any))\r\n\r\n\r\n\r\n\r\n\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { Field, reduxForm } from 'redux-form';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport ContentLoader from 'react-content-loader';\r\nimport * as ContactStore from '../../../store/patient/Contact';\r\nimport * as HandleRequest from '../../../helper/Request';\r\nimport * as SiteDetailStore from '../../../store/SiteDetail';\r\nimport * as SiteMenusStore from '../../../store/siteaccount/siteMenu';\r\nimport { datepickerJS, floatingJS } from '../../../helper/Script';\r\nimport { ApplicationState } from '../../../store';\r\nimport { seo } from '../../../helper/Script';\r\nimport Moment from 'moment';\r\nimport * as AccountStore from '../../../store/siteaccount/Account';\r\nimport * as DoctorListStore from '../../../store/doctor/OurDoctors';\r\nimport * as CategoryStore from '../../../store/siteaccount/Category';\r\nimport { datePostFormat, setTittle, checkFamilyMember } from '../../../helper/formvalidation';\r\nimport * as MemberSpecialityStore from '../../../store/menu/speciality';\r\nimport * as SpecialityReasonStore from '../../../store/menu/specialityreason';\r\nimport * as LanguageResourcesStore from '../../../store/LanguageResoures';\r\nimport { toastr } from 'react-redux-toastr';\r\ntype MemberSpecialityStoreProps = MemberSpecialityStore.MemberSpecialityState & SpecialityReasonStore.SpecialityReasonState & HandleRequest.Request & CategoryStore.CategoryState & AccountStore.AccountState & ContactStore.ContactState & SiteDetailStore.SiteDetailState & SiteMenusStore.SiteMenuState & LanguageResourcesStore.LanguageResouresState\r\n & typeof SiteDetailStore.actionCreators & typeof DoctorListStore.actionCreators & typeof MemberSpecialityStore.actionCreators & typeof SpecialityReasonStore.actionCreators & typeof CategoryStore.actionCreators & typeof AccountStore.actionCreators & typeof ContactStore.actionCreators & typeof SiteMenusStore.actionCreators & typeof LanguageResourcesStore.actionCreators\r\n & RouteComponentProps<{ startDateIndex: string }>;\r\nvar specialityid: any = \"\";\r\nvar specialityreasonid: any = \"\";\r\nvar specialityreasonname: any = \"\";\r\nvar specialityname: any = \"\";\r\nvar genderid: any = \"\";\r\nvar gendername: any = \"\";\r\nvar languagecontent: any = \"\";\r\nvar langdata: any = \"\";\r\nvar specialtybasedcondition: any = \"\";\r\nvar testreason: any = \"\";\r\nvar specReason: any = [];\r\nvar checkedValues: any = [];\r\ndeclare var bootstrap: any;\r\nvar popup: any;\r\nclass MemberSpecialityMenu extends React.PureComponent {\r\n selectEncType = (value: any) => {\r\n localStorage.setItem(\"SpecDetail\", JSON.stringify({ Id: value.Id, Name: value.Name }))\r\n specialityid = value.id;\r\n specialityname = value.name;\r\n this.props.requestspecialityreason(value.id);\r\n if (localStorage.getItem(\"SpecialityId\") != specialityid) {\r\n localStorage.removeItem(\"SpecailityReasonId\");\r\n }\r\n localStorage.setItem(\"SpecialityId\", specialityid);\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const name = urlParams.get('name');\r\n if (name == \"ourdoctors\") {\r\n this.props.requestSearchDoctorLists(specialityid);\r\n }\r\n }\r\n selectEncTypeReason = (e:any, value: any) => {\r\n localStorage.setItem(\"SpecReason\", JSON.stringify({ Id: value.Id, Reason: value.Reason }))\r\n specialityreasonid = value.id;\r\n specialityreasonname = value.reason;\r\n \r\n \r\n //localStorage.setItem(\"SpecailityReasonId\", value.id);\r\n //for (let i = 0; i < specialityreasonid.length ; i++) {\r\n // arr.push(value.id);\r\n //}\r\n //console.log(value);\r\n if (e.target.checked == true) {\r\n //var data1: any = [];\r\n //var data2: any = [];\r\n //var id:any =\"\"\r\n //data1 = checkedValues.filter((value: any) => (value.id == id));\r\n //data1.forEach((value: any) => {\r\n // data2.push(value.id)\r\n // testreason = data2;\r\n specReason.push({ReasonId:value.id, Reason: value.reason })\r\n testreason = specReason; \r\n }\r\n \r\n else {\r\n \r\n specReason.splice(specReason.indexOf(value.id),1)\r\n //var filterreason: any = \"\"\r\n //var filterreason: any = arr.filter((x: any) => x != value.id)\r\n }\r\n //console.log(testreason)\r\n //console.log(specReason.map((item: any) => item).join(', '))\r\n }\r\n \r\n saveReason = () => {\r\n localStorage.setItem(\"SpecailityReasonId\", JSON.stringify(specReason))\r\n if (specialityreasonname != \"\") {\r\n localStorage.setItem(\"SpecailityReasonName\", specialityreasonname);\r\n }\r\n else {\r\n localStorage.removeItem(\"SpecailityReasonName\");\r\n }\r\n /*console.log(specReason[0].Reason);*/\r\n //console.log(specialityreasonname);\r\n //console.log(specReason.map((item: any) => item).join(', '))\r\n var checkboxes: any = document.getElementsByName('specialityreason');\r\n for (var checkbox of checkboxes) {\r\n checkbox.checked = false;\r\n }\r\n if(window.document.getElementById('emergencyModalCenter')) {\r\n setTimeout(function () {\r\n var myModal = new bootstrap.Modal(window.document.getElementById('emergencyModalCenter'), {\r\n backdrop: 'static',\r\n keyboard: false\r\n })\r\n myModal.show();\r\n }, 100);\r\n }\r\n \r\n\r\n }\r\n cancelReason = () => {\r\n var checkboxes: any = document.getElementsByName('specialityreason');\r\n for (var checkbox of checkboxes) {\r\n checkbox.checked = false;\r\n }\r\n }\r\n closePopup = () => {\r\n \r\n //opener.location.reload(true);\r\n //self.close();\r\n \r\n }\r\n //var arr: any = [];\r\n\r\n //let checkboxes = document.querySelectorAll(\"input[type='checkbox']:checked\");\r\n\r\n //checkboxes.forEach((value) => {\r\n\r\n // console.log(value)\r\n // arr.push(value)\r\n //})\r\n //console.log(checkboxes)}\r\n\r\n // //console.log(arr);\r\n // let checkboxes = document.querySelectorAll(\"input[type='checkbox']:checked\");\r\n // for (let i = 0; i < checkboxes.length; i++) {\r\n // var check: any = checkboxes[i]\r\n // arr.push(check.value.id);\r\n // }\r\n // // Converted array to string & alert\r\n // alert(arr.toString());\r\n //}\r\n\r\n// var i : any =\"\", checkboxes = document.querySelectorAll('input[type=checkbox]');\r\n\r\n//function save(value:any) {\r\n// for (i = 0; i < checkboxes.length; i++) {\r\n// localStorage.setItem(checkboxes[i].value, checkboxes[i].checked);\r\n// }\r\n//}\r\n\r\n//function load_() {\r\n// for (i = 0; i < checkboxes.length; i++) {\r\n// checkboxes[i].checked = localStorage.getItem(checkboxes[i].value) === 'true' ? true : false;\r\n// }\r\n//}\r\n// var myArray: = [];\r\n//let checkboxes = document.querySelectorAll('input[type=\"checkbox\"]');\r\n//checkboxes.forEach(function (checkbox) {\r\n// if (checkbox.checked) {\r\n// myArray.push(checkbox.value);\r\n// }\r\n//});\r\n /*specialtybasedcondition: any = this.props.Settings.filter((s: any) => s.name ==\"Specialty Based Condition\");*/\r\n \r\n onSubmit = (formValues: any) => {\r\n if (localStorage.getItem(\"SpecialityId\") != undefined && localStorage.getItem(\"SpecialityId\") != null && localStorage.getItem(\"SpecialityId\") != \"\") {\r\n popup = this.props.specialityReason;\r\n if (popup.specialityReason.length != 0 && (localStorage.getItem(\"SpecailityReasonId\") == \"\" || localStorage.getItem(\"SpecailityReasonId\") == null)) {\r\n if (window.document.getElementById('myModal')) {\r\n setTimeout(function () {\r\n var myModal = new bootstrap.Modal(window.document.getElementById('myModal'), {\r\n backdrop: 'static',\r\n keyboard: false\r\n })\r\n myModal.show();\r\n }, 100);\r\n }\r\n return;\r\n }\r\n else if (popup.isEmergency == true) {\r\n if (window.document.getElementById('emergencyModalCenter')) {\r\n setTimeout(function () {\r\n var myModal = new bootstrap.Modal(window.document.getElementById('emergencyModalCenter'), {\r\n backdrop: 'static',\r\n keyboard: false\r\n })\r\n myModal.show();\r\n }, 100);\r\n }\r\n\r\n return;\r\n }\r\n /*if (window.document.getElementById) { new bootstrap.Modal(window.document.getElementById('emergencyModalCenter')).style.visibility = 'hidden'; }*/\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const name = urlParams.get('name');\r\n var myForm: any = document.getElementById(\"dformsearchdoctor\");\r\n if (myForm.elements.namedItem(\"selectdate\") != null) {\r\n formValues.Selectdate = myForm.elements.namedItem(\"selectdate\").value;\r\n }\r\n if (myForm.elements.namedItem(\"doctorName\") != null) {\r\n formValues.doctorName = myForm.elements.namedItem(\"doctorName\").value;\r\n }\r\n formValues.gender = genderid;\r\n formValues.specialityid = specialityid;\r\n if (formValues.specialityid == \"\" && localStorage.getItem(\"SpecialityId\"))\r\n formValues.specialityid = localStorage.getItem(\"SpecialityId\");\r\n localStorage.setItem(\"SpecialityId\", formValues.specialityid);\r\n if (formValues.Selectdate != null && formValues.Selectdate != \"\") {\r\n var insurancedate: any = datePostFormat(formValues.Selectdate);\r\n var _datetime = Moment(new Date(insurancedate)).format('YYYY-MM-DD');\r\n formValues.Selectdate = _datetime;\r\n }\r\n var langdata: any;\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n if (formValues.specialityid == \"\" || formValues.specialityid == undefined || formValues.specialityid == null) {\r\n return toastr.error('', langdata['pleaseselectspeciality']);\r\n }\r\n const childid = urlParams.get('childid');\r\n //const parentid = urlParams.get('parentid');\r\n const patientid = urlParams.get('patientid') || urlParams.get('patientId');\r\n const childname = urlParams.get('childname');\r\n if (name == \"centralized\") {\r\n if (childid == null)\r\n window.location.href = \"/centralized?specialityid=\" + formValues.specialityid;\r\n else\r\n window.location.href = \"/centralized?childid=\" + childid + \"&childname=\" + childname + \"&specialityid=\" + formValues.specialityid;\r\n } else if (name == \"consultnow\") {\r\n if (localStorage.getItem('isAuth') == \"true\") {\r\n if (childid == null) {\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&type=noappointment&specialityid=\" + formValues.specialityid)\r\n localStorage.setItem(\"pathName\", \"RequestQueue\");\r\n var result: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n if (result.dob == null || result.gender == \"\" || result.cellPhone == \"\" || result.address1 == \"\" || result.zipcode == \"\" || result.locationName == \"\") {\r\n localStorage.setItem(\"pathName\", \"RequestQueue\")\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&type=noappointment&specialityid=\" + formValues.specialityid);\r\n window.location.href = \"/contact/\" + null + \"/\" + result.memberId + \"?methodid=5\" + \"&childid=\" + childid + \" &childname=\" + childname;\r\n } else {\r\n window.location.href = \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&type=noappointment&specialityid=\" + formValues.specialityid;\r\n }\r\n }\r\n else {\r\n var result: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n if (result.dob == null || result.gender == \"\" || result.cellPhone == \"\" || result.address1 == \"\" || result.zipcode == \"\" || result.locationName == \"\") {\r\n localStorage.setItem(\"pathName\", \"RequestQueue\")\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&childid=\" + childid + \"&childname=\" + childname + \"&type=noappointment&specialityid=\" + formValues.specialityid);\r\n window.location.href = \"/contact/\" + null + \"/\" + result.memberId + \"?methodid=5\" + \"&childid=\" + childid + \" &childname=\" + childname;\r\n } else {\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&childid=\" + childid + \"&childname=\" + childname + \"&type=noappointment&specialityid=\" + formValues.specialityid)\r\n localStorage.setItem(\"pathName\", \"RequestQueue\");\r\n window.location.href = \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&childid=\" + childid + \"&childname=\" + childname + \"&type=noappointment&specialityid=\" + formValues.specialityid;\r\n }\r\n }\r\n }\r\n else {\r\n localStorage.setItem(\"pathName\", \"RequestQueue\")\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&serviceid=&type=noappointment&specialityid=\" + formValues.specialityid);\r\n window.location.href = \"/login\";\r\n }\r\n }\r\n else {\r\n if (childid == null) {\r\n var doctorlistspeciality: any = this.props.doctorlistspeciality;\r\n if (doctorlistspeciality.length == 1) {\r\n var doctorid: any = this.props.doctorlistspeciality[0].doctorId;\r\n window.location.href = \"/booking/\" + doctorid + \"?specialityid=\" + formValues.specialityid;\r\n\r\n } else {\r\n window.location.href = \"/ourdoctors?specialityid=\" + formValues.specialityid;\r\n }\r\n }\r\n else {\r\n var doctorlistspeciality: any = this.props.doctorlistspeciality;\r\n if (doctorlistspeciality.length == 1) {\r\n var doctorid: any = this.props.doctorlistspeciality[0].doctorId;\r\n window.location.href = \"/booking/\" + doctorid + \"?childid=\" + childid + \"&childname=\" + childname + \"&specialityid=\" + formValues.specialityid;\r\n\r\n } else {\r\n window.location.href = \"/ourdoctors?childid=\" + childid + \"&childname=\" + childname + \"&specialityid=\" + formValues.specialityid;\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n specialityid = localStorage.getItem(\"SpecialityId\");\r\n var langdata: any;\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n if (specialityid == \"\" || specialityid == undefined || specialityid == null) {\r\n return toastr.error('', langdata['pleaseselectspeciality']);\r\n }\r\n }\r\n }\r\n agreeBtn = () => {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const name = urlParams.get('name');\r\n const childid = urlParams.get('childid');\r\n //const parentid = urlParams.get('parentid');\r\n const patientid = urlParams.get('patientid') || urlParams.get('patientId');\r\n const childname = urlParams.get('childname');\r\n if (localStorage.getItem(\"SpecialityId\") != \"\")\r\n specialityid = localStorage.getItem(\"SpecialityId\");\r\n if (name == \"centralized\") {\r\n if (childid == null)\r\n window.location.href = \"/centralized?specialityid=\" + specialityid;\r\n else\r\n window.location.href = \"/centralized?childid=\" + childid + \"&childname=\" + childname + \"&specialityid=\" + specialityid;\r\n } else if (name == \"consultnow\") {\r\n if (localStorage.getItem('isAuth') == \"true\") {\r\n if (childid == null) {\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&type=noappointment&specialityid=\" + specialityid)\r\n localStorage.setItem(\"pathName\", \"RequestQueue\");\r\n var result: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n if (result.dob == null || result.gender == \"\" || result.cellPhone == \"\" || result.address1 == \"\" || result.zipcode == \"\" || result.locationName == \"\") {\r\n localStorage.setItem(\"pathName\", \"RequestQueue\")\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&type=noappointment&specialityid=\" + specialityid);\r\n window.location.href = \"/contact/\" + null + \"/\" + result.memberId + \"?methodid=5\" + \"&childid=\" + childid + \" &childname=\" + childname;\r\n } else {\r\n window.location.href = \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&type=noappointment&specialityid=\" + specialityid;\r\n }\r\n }\r\n else {\r\n var result: any = JSON.parse(localStorage.getItem(\"Patient\") || \"\");\r\n if (result.dob == null || result.gender == \"\" || result.cellPhone == \"\" || result.address1 == \"\" || result.zipcode == \"\" || result.locationName == \"\") {\r\n localStorage.setItem(\"pathName\", \"RequestQueue\")\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&childid=\" + childid + \"&childname=\" + childname + \"&type=noappointment&specialityid=\" + specialityid);\r\n window.location.href = \"/contact/\" + null + \"/\" + result.memberId + \"?methodid=5\" + \"&childid=\" + childid + \" &childname=\" + childname;\r\n } else {\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&childid=\" + childid + \"&childname=\" + childname + \"&type=noappointment&specialityid=\" + specialityid)\r\n localStorage.setItem(\"pathName\", \"RequestQueue\");\r\n window.location.href = \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&patientId=\" + patientid + \"&serviceid=&childid=\" + childid + \"&childname=\" + childname + \"&type=noappointment&specialityid=\" + specialityid;\r\n }\r\n }\r\n }\r\n else {\r\n localStorage.setItem(\"pathName\", \"RequestQueue\")\r\n localStorage.setItem(\"redirectQequestQueueUrl\", \"/conditions/null/appointment?time=&date=&encountertypeid=&encountertypemode=&durationcode=&enctypeid=&methodid=5&price=0&referrralid=null&serviceid=&type=noappointment&specialityid=\" + specialityid);\r\n window.location.href = \"/login\";\r\n }\r\n }\r\n else {\r\n if (childid == null) {\r\n var doctorlistspeciality: any = this.props.doctorlistspeciality;\r\n if (doctorlistspeciality.length == 1) {\r\n var doctorid: any = this.props.doctorlistspeciality[0].doctorId;\r\n window.location.href = \"/booking/\" + doctorid + \"?specialityid=\" + specialityid;\r\n\r\n } else {\r\n\r\n window.location.href = \"/ourdoctors?specialityid=\" + specialityid;\r\n }\r\n }\r\n else {\r\n var doctorlistspeciality: any = this.props.doctorlistspeciality;\r\n if (doctorlistspeciality.length == 1) {\r\n var doctorid: any = this.props.doctorlistspeciality[0].doctorId;\r\n window.location.href = \"/booking/\" + doctorid + \"?childid=\" + childid + \"&childname=\" + childname + \"&specialityid=\" + specialityid;\r\n\r\n } else {\r\n window.location.href = \"/ourdoctors?childid=\" + childid + \"&childname=\" + childname + \"&specialityid=\" + specialityid;\r\n }\r\n }\r\n }\r\n }\r\n constructor(props: any) {\r\n super(props);\r\n }\r\n componentDidUpdate() {\r\n seo(setTittle(languagecontent == \"\" ? \"\" : languagecontent['breadcrumb']));\r\n\r\n }\r\n public componentDidMount() { \r\n localStorage.removeItem(\"speaktovet\");\r\n localStorage.removeItem(\"EncDetail\");\r\n localStorage.removeItem(\"Appointment\");\r\n localStorage.removeItem(\"AppointmentTime1\");\r\n localStorage.removeItem(\"AppointmentOn\");\r\n localStorage.removeItem(\"AppointmentOn1\");\r\n localStorage.removeItem(\"AppointmentTime\");\r\n localStorage.removeItem(\"AppointmentUTCTime\")\r\n localStorage.removeItem(\"AppointmentUTCTime1\")\r\n localStorage.removeItem(\"SelectedDate\");\r\n localStorage.removeItem(\"Discount\");\r\n localStorage.removeItem(\"DiscountId\");\r\n localStorage.removeItem(\"DiscountAmount\");\r\n localStorage.removeItem(\"TotalAmount\");\r\n localStorage.removeItem(\"ServiceEncounterTypeId\");\r\n localStorage.removeItem(\"FinalEncounterName\");\r\n this.ensureDataFetched();\r\n const script = document.createElement(\"script\");\r\n script.src = \"/Theme/Doccure/admin/assets/js/script.js\";\r\n script.async = true;\r\n document.body.appendChild(script);\r\n datepickerJS();\r\n floatingJS();\r\n checkFamilyMember()\r\n var specialityIdz: any = localStorage.getItem(\"SpecialityId\");\r\n if (specialityIdz == null) {\r\n specialityIdz=\"\"\r\n }\r\n\r\n if (specialityIdz != \"\" || specialityIdz != null || specialityIdz != \"null\") {\r\n this.props.requestspecialityreasons(specialityIdz);\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const name = urlParams.get('name');\r\n if (name == \"ourdoctors\") {\r\n this.props.requestSearchDoctorLists(specialityIdz);\r\n }\r\n\r\n } \r\n }\r\n \r\n private ensureDataFetched() {\r\n this.props.getSiteSetting(null);\r\n this.props.getLangResources();\r\n this.props.requestMemberSpecialityLists();\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n /*this.props.requestspecialityreason();*/\r\n }\r\n public render() {\r\n return (\r\n \r\n {this.renderOurDoctorsNav()}\r\n \r\n );\r\n }\r\n \r\n \r\n public renderOurDoctorsNav() { \r\n if (this.props.Settings.length != 0)\r\n specialtybasedcondition = this.props.Settings.filter((s: any) => s.name == \"Specialty based condition\")[0];\r\n languagecontent = this.props.LanguageResoures;\r\n const specialtyid = localStorage.getItem(\"SpecialityId\");\r\n //console.log(JSON.stringify(this.props.specialityReason, ['emergencyDescription']))\r\n popup = this.props.specialityReason; \r\n $(document).keydown(function (e) {\r\n e.preventDefault();\r\n });\r\n return ( \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n {\r\n this.props.speciality.length != 0 ?\r\n
\r\n

{languagecontent['findyourspecialist']}

\r\n
\r\n
\r\n {\r\n this.props.speciality.length != 0 ?\r\n this.props.speciality.map((speciality: MemberSpecialityStore.Specialities, index) =>\r\n\r\n
\r\n
  • \r\n
    \r\n \r\n
    \r\n
  • \r\n
    \r\n\r\n )\r\n : \"\"\r\n }\r\n\r\n
    \r\n
    \r\n\r\n\r\n :\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n\r\n\r\n }\r\n
    \r\n \r\n
    \r\n\r\n {\r\n this.props.speciality.length != 0 ?\r\n
    \r\n \r\n
    : \"\"\r\n \r\n }\r\n \r\n\r\n \r\n {\r\n popup.specialityReason != undefined ?\r\n\r\n popup.specialityReason.length != 0 ?\r\n\r\n specialtybasedcondition.customizeValue == \"Yes\" ?\r\n\r\n\r\n
    \r\n\r\n\r\n\r\n
    \r\n\r\n
    \r\n\r\n\r\n\r\n
    \r\n\r\n
    {languagecontent['conditions']}
    \r\n\r\n
    \r\n\r\n\r\n\r\n
    \r\n\r\n\r\n\r\n {\r\n\r\n popup.specialityReason.map((specialityReason: SpecialityReasonStore.SpecialitiesReason, index: any) =>\r\n\r\n
    \r\n\r\n
    \r\n )\r\n\r\n }\r\n\r\n
    \r\n\r\n
    \r\n\r\n \r\n\r\n \r\n\r\n
    \r\n\r\n\r\n\r\n
    \r\n\r\n
    \r\n\r\n
    : \"\" : \"\":\"\"\r\n\r\n }\r\n { popup.isEmergency == true ?\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n {languagecontent['cancel']}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    : \"\"\r\n \r\n\r\n }\r\n \r\n \r\n\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n );\r\n \r\n }\r\n \r\n}\r\nconst mapDispatchToProps = ({ ...MemberSpecialityStore.actionCreators, ...SpecialityReasonStore.actionCreators, ...CategoryStore.actionCreators, ...AccountStore.actionCreators, ...ContactStore.actionCreators, ...SiteDetailStore.actionCreators, ...SiteMenusStore.actionCreators, ...LanguageResourcesStore.actionCreators });\r\nconst mapStateToProps = (state: ApplicationState) => {\r\n let values = {\r\n ...state.memberSpeciality, ...state.speciality, ...state.specialityreason, ...DoctorListStore.actionCreators, ...state.contact, ...state.siteDetail, ...state.siteMenus, ...state.langResources, ...state.category, ...state.account\r\n };\r\n return values;\r\n\r\n}\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(reduxForm({\r\n form: 'dformsearchdoctor',\r\n enableReinitialize: true,\r\n})(MemberSpecialityMenu as any))\r\n\r\n\r\n\r\n\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { Field, reduxForm } from 'redux-form';\r\nimport { required, setTittle, scrollTop, dateFormat, timeFormatConversion, dateFormatConversion } from '../../helper/formvalidation';\r\nimport { renderField } from '../../helper/renderfield';\r\nimport { ApplicationState } from '../../store/index';\r\nimport * as HandleRequest from '../../helper/Request';\r\nimport DashboardNavMenu from '../../components/layout/menu/DashboardNav'\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\nimport * as EditMesssageStore from '../../store/message/editMessage';\r\nimport * as NewMessageStore from '../../store/message/addMessage';\r\nimport * as TimeZoneStore from '../../store/autoComplete/timeZone';\r\nimport * as AccountStore from '../../store/siteaccount/Account';\r\nimport * as SiteDetailStore from '../../store/SiteDetail';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport { floatingJS, mobnav, seo } from '../../helper/Script';\r\nimport { TextBoxLoader } from '../../helper/fbloader';\r\nimport ContentLoader from 'react-content-loader';\r\n\r\ntype ReplyMessageProps =\r\n SiteDetailStore.SiteDetailState & AccountStore.AccountState & TimeZoneStore.TimeZoneState & LanguageResourcesStore.LanguageResouresState & HandleRequest.Request & EditMesssageStore.EditMessageState & NewMessageStore.ReciptentListState & EditMesssageStore.ReplyMessageState &\r\n typeof LanguageResourcesStore.actionCreators & typeof EditMesssageStore.actionCreators & typeof NewMessageStore.actionCreators & typeof TimeZoneStore.actionCreators & typeof AccountStore.actionCreators & typeof SiteDetailStore.actionCreators&\r\n RouteComponentProps<{}>;\r\nvar languagecontent: any = \"\";\r\n//var reciptent_name: any = ''\r\nvar reciptent_name: any;\r\nvar offset: any = \"\";\r\n//var Currenttimezone: any = \"\";\r\nvar langdata: any = \"\";\r\nvar messages: any = [];\r\n\r\nclass EditMessage extends React.PureComponent {\r\n constructor(props: any) {\r\n super(props);\r\n }\r\n onSubmit = (formValues: any, dispatch: any, props: any) => {\r\n if (formValues.message.trimStart() == \"\") {\r\n toastr.error('', languagecontent['entermessage']);\r\n } else {\r\n this.props.postReplyMessage(formValues) \r\n }\r\n }\r\n public render() {\r\n return (\r\n \r\n {this.renderAddMessage()}\r\n \r\n );\r\n }\r\n public componentDidUpdate() {\r\n seo(setTittle(languagecontent == \"\" ? \"\" : languagecontent['breadcrumb']));\r\n }\r\n\r\n \r\n public componentDidMount() {\r\n scrollTop();\r\n this.ensureDataFetched();\r\n floatingJS()\r\n mobnav()\r\n }\r\n private ensureDataFetched() {\r\n const patientLocalStroage: any = localStorage.getItem('Patient');\r\n const patient = JSON.parse(patientLocalStroage);\r\n if (patient.timeZone != \"\") {\r\n this.props.requestTimeZone(patient.timeZone);\r\n }\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n\r\n // this.props.getSignalRCredential();\r\n this.props.getLangResources();\r\n this.props.getReciptentList();\r\n this.props.requestReplyMessage();\r\n }\r\n\r\n\r\n public renderAddMessage() {\r\n const patientLocalStroage: any = localStorage.getItem('Patient');\r\n const patient = JSON.parse(patientLocalStroage);\r\n // var message_List: any = [];\r\n // var reciptent_name: any;\r\n languagecontent = this.props.LanguageResoures; \r\n messages = this.props.messageLists || [];\r\n //const messages: any = [];\r\n //const reciptent_list = this.props.reciptentLists || []\r\n //const tomember_id: any = this.props.list.ToMemberId != undefined ? this.props.list.ToMemberId :\"\"\r\n const tomember_id = this.props.list && this.props.list.ToMemberId ? this.props.list.ToMemberId : \"\";\r\n const from_member_id = this.props.list && this.props.list.FromMemberId ? this.props.list.FromMemberId : \"\";\r\n\r\n\r\n const reciptent = this.props.reciptentLists.filter((doctor: any) => doctor.value == tomember_id || doctor.value == from_member_id)\r\n if (reciptent.length > 0) {\r\n localStorage.setItem(\"TomemberId\", reciptent[0].value);\r\n}\r\n else {\r\n var tomemberid = \"\"\r\n if (patient.memberId == from_member_id ) \r\n tomemberid = tomember_id\r\n else\r\n tomemberid = from_member_id\r\n localStorage.setItem(\"TomemberId\", tomemberid);\r\n if (tomemberid == null || tomemberid == \"\")\r\n localStorage.removeItem(\"TomemberId\")\r\n }\r\n \r\n reciptent_name = reciptent.length > 0 ? reciptent[0].name : ''\r\n \r\n offset = patient.offset\r\n //const time_zones: any = this.props.TimeZones || [];\r\n //if (localStorage.getItem(\"isAuth\") == \"true\") {\r\n // const patientLocalStroage: any = localStorage.getItem('Patient');\r\n // const patient = JSON.parse(patientLocalStroage); \r\n // if (time_zones.length != 0) {\r\n // Currenttimezone = this.props.TimeZones.filter((tz: any) => tz.Name == patient.timeZone);\r\n // if (patient.timeZone == \"India Standard Time\")\r\n // offset = 330;\r\n // else\r\n // offset = Currenttimezone[0].Offset;\r\n // }\r\n // else {\r\n // if (this.props.Settings.length != 0) {\r\n // var timezone = this.props.Settings.filter((se: any) => se.name == \"Time Zone\")[0]\r\n // var _timezone: any = timezone.displayCode.split(\"|\");\r\n // offset = _timezone[1];\r\n // }\r\n // }\r\n \r\n //}\r\n //else {\r\n // if (this.props.Settings.length != 0) {\r\n // var timezone = this.props.Settings.filter((se: any) => se.name == \"Time Zone\")[0]\r\n // var _timezone: any = timezone.displayCode.split(\"|\");\r\n // offset = _timezone[1];\r\n // }\r\n //}\r\n \r\n \r\n //message_List.map((list: any) => {\r\n // var Modified_Date:any = dateFormatConversion(list.ModifiedOn, offset)\r\n // var Modified_Time:any = timeFormatConversion(list.ModifiedOn, offset)\r\n // messages.push({ name: list.Name, content: list.Content, modified_Date: Modified_Date, modified_Time: Modified_Time, id: list.Id, fromid: list.FromMemberId, tomemberid: list.ToMemberId})\r\n //})\r\n \r\n\r\n //const recipientname = (fromid: any, name: any, toid: any) => {\r\n // let recipientName = name;\r\n // reciptent_list.forEach((list: any) => {\r\n // if (list.value === fromid || list.value === toid) {\r\n // recipientName = list.name;\r\n // }\r\n // });\r\n // return recipientName;\r\n //};\r\n return (\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n messages.length > 0 || this.props.isListLoading == false?\r\n
    \r\n {reciptent_name !== \"\" ?\r\n
    \r\n {languagecontent['recipient']}\r\n

    {reciptent_name}

    \r\n\r\n
    :\r\n
    \r\n {languagecontent['subject']}\r\n {this.props.list && this.props.list.Subject ?

    {this.props.list.Subject}

    : ''}\r\n\r\n
    \r\n }\r\n \r\n {this.props.isListLoading == false && messages.length > 0 ?\r\n
    \r\n

    {dateFormatConversion(this.props.list.ModifiedOn, offset)} {timeFormatConversion(this.props.list.ModifiedOn, offset)}

    \r\n
    : \"\"}\r\n
    : ''\r\n }\r\n {languagecontent['subject'] == undefined || this.props.isListLoading == true ? :\r\n
    \r\n {languagecontent['subject']}\r\n {this.props.list && this.props.list.Subject ?

    {this.props.list.Subject}

    : ''}\r\n\r\n
    \r\n }\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n\r\n
    \r\n
    \r\n {this.props.isListLoading == true && messages.length < 0 ?\r\n \r\n \r\n \r\n \r\n :\r\n
    \r\n {messages.map((list: EditMesssageStore.MessageLists) => (\r\n
    \r\n
    \r\n
    {/*recipientname (list.fromid, list.name, list.tomemberid)*/ list.Name}
    \r\n
    {dateFormatConversion(list.ModifiedOn, offset) /* list.modified_Date */} {timeFormatConversion(list.ModifiedOn, offset) /*list.modified_Time */ }
    \r\n
    \r\n
    \r\n

    {list.Content}

    \r\n
    \r\n\r\n
    \r\n ))}\r\n
    \r\n }\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n }\r\n}\r\nconst mapDispatchToProps = { ...LanguageResourcesStore.actionCreators, ...EditMesssageStore.actionCreators, ...NewMessageStore.actionCreators, ...AccountStore.actionCreators, ...SiteDetailStore.actionCreators, ...TimeZoneStore.actionCreators, };\r\nconst mapStateToProps = (state: ApplicationState) => ({ ...state.editMesssage, ...state.replyMessage, ...state.reciptentList, ...state.account, ...state.siteDetail, ...state.langResources, ...state.cancelAppointment, ...state.timeZones})\r\nexport default reduxForm({\r\n form: 'editMessageForm',\r\n})(connect(mapStateToProps, mapDispatchToProps)(EditMessage as any))\r\n\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { ApplicationState } from '../../store/index';\r\nimport * as FlexiFormStore from '../../store/library/flexiform/FlexiForm';\r\nimport * as ContactStore from '../../store/patient/Contact';\r\nimport DashboardNavMenu from '../../components/layout/menu/DashboardNav'\r\nimport * as LoginStore from '../../store/account/Login';\r\nimport FlexiFormClass from '../../components/library/flexiform/FlexiForm'\r\nimport { scrollTop } from '../../helper/formvalidation';\r\n// At runtime, Redux will merge together...\r\ntype FormsProps =\r\n\tFlexiFormStore.FlexiListsState & ContactStore.ContactState & LoginStore.LoginState // ... state we've requested from the Redux store\r\n\t& typeof FlexiFormStore.actionCreators & typeof ContactStore.actionCreators & typeof LoginStore.actionCreators// ... plus action creators we've requested\r\n\t& RouteComponentProps<{ startDateIndex: string }>; // ... plus incoming routing parameters\r\n\r\nclass InitialPageForm extends React.PureComponent {\r\n\tconstructor(props: any) {\r\n\t\tsuper(props);\r\n\t}\r\n\r\n\t// This method is called when the component is first added to the document\r\n\tpublic componentDidMount() {\r\n\t\twindow.addEventListener('popstate', function (event) {\r\n\t\t\tthis.window.history.forward();\r\n\t\t}, false);\r\n\t\tthis.ensureDataFetched();\r\n\t\tscrollTop();\r\n\t}\r\n\r\n\r\n\tpublic render() {\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{this.renderDoctorList()}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n\r\n\tprivate ensureDataFetched() {\r\n\t\tthis.props.getPtaient();\r\n\t\t//this.props.requestFlexiForm(this.props.contact.id, \"\", \"\", \"\", this.props.contact.id, \"\");\r\n\t}\r\n\r\n\tprivate renderDoctorList() {\r\n\t\t//console.log(this.props.patient);\r\n\t\treturn (\r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default connect(\r\n\t(state: ApplicationState) => ({ ...state.flexiform, ...state.contact, ...state.login }), // Selects which state properties are merged into the component's props\r\n\t({ ...FlexiFormStore.actionCreators, ...ContactStore.actionCreators, ...LoginStore.actionCreators })// Selects which action creators are merged into the component's props\r\n)(InitialPageForm as any);\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { ApplicationState } from '../../store/index';\r\nimport * as ContactStore from '../../store/patient/Contact';\r\nimport DashboardNavMenu from '../../components/layout/menu/DashboardNav'\r\nimport { seo } from '../../helper/Script';\r\nimport ContentLoader from 'react-content-loader';\r\nimport Moment from 'moment';\r\nimport * as TransactionStore from '../../store/patient/Transaction';\r\nimport * as InsuranceListStore from '../../store/insurance/insuranceList';\r\nimport * as AddInsuranceStore from '../../store/insurance/addInsurance';\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\nimport { dateFormat, dateUTCFormat, dateFormatConvert, timeFormatConvert, dateTimeFormat, setTittle, insuranceVerificationStatusColor} from '../../helper/formvalidation';\r\nimport { Button } from 'reactstrap';\r\n// At runtime, Redux will merge together...\r\ntype DocumentListProps =\r\n ContactStore.ContactState & TransactionStore.TransactionDetailState & InsuranceListStore.InsuranceListState & AddInsuranceStore.AddInsuranceState & LanguageResourcesStore.LanguageResouresState// ... state we've requested from the Redux store\r\n & typeof ContactStore.actionCreators & typeof TransactionStore.actionCreators & typeof InsuranceListStore.actionCreators & typeof AddInsuranceStore.actionCreators & typeof LanguageResourcesStore.actionCreators// ... plus action creators we've requested\r\n & RouteComponentProps<{ startDateIndex: string }>; // ... plus incoming routing parameters\r\nvar patientLocalStroage: any = localStorage.getItem('Patient');\r\nvar pat = JSON.parse(patientLocalStroage);\r\nvar activeInsurances: any = [];\r\nvar inActiveInsurances: any = [];\r\nvar languagecontent: any = \"\";\r\nvar langdata: any = \"\";\r\nclass InsurenceList extends React.PureComponent {\r\n constructor(props: any) {\r\n super(props);\r\n }\r\n public componentDidMount() {\r\n localStorage.removeItem(\"InsuranceName\");\r\n localStorage.removeItem(\"InsuredDOB\");\r\n localStorage.removeItem(\"ExpiryDate\");\r\n this.ensureDataFetched();\r\n }\r\n componentDidUpdate() {\r\n seo(setTittle(languagecontent == \"\" ? \"\" : languagecontent['breadcrumb']));\r\n }\r\n public render() {\r\n return (\r\n \r\n {this.renderTransactionList()}\r\n \r\n );\r\n }\r\n private ensureDataFetched() {\r\n this.props.getLangResources();\r\n const queryParams = new URLSearchParams(window.location.search);\r\n var memberid = queryParams.get('memberid');\r\n this.props.getInsuranceList(memberid);\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n }\r\n convertDate(time: any) {\r\n\r\n return Moment.utc(time).utcOffset(+parseInt(localStorage.getItem('timeOffset') || \"\")).format('D MMM YYYY')\r\n }\r\n convertTime(time: any) {\r\n\r\n return Moment.utc(time).utcOffset(+parseInt(localStorage.getItem('timeOffset') || \"\")).format('LT')\r\n }\r\n InsuranceInActive = (value: any) => {\r\n //var langResources: any = JSON.parse(localStorage.getItem(\"LangResources\") || \"\");\r\n //var language: any = langResources.filter((la: any) => la.Group == \"insurancelistview\");\r\n //var inauranceinactive: any = language.filter((la: any) => la.Name == \"insurancinactive\");\r\n //console.log(value)\r\n var langdata: any = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n if (value.PlatformType == null) {\r\n value.PlatformType = \"CP\";\r\n }\r\n var r = window.confirm(langdata['insurancinactive']);\r\n if (r == true) {\r\n //value.StatusId = \"2\";\r\n this.props.postInsurance(value, \"delete\",\"2\");\r\n } else {\r\n return;\r\n }\r\n }\r\n InsuranceActive = (value: any) => {\r\n //var langResources: any = JSON.parse(localStorage.getItem(\"LangResources\") || \"\");\r\n //var language: any = langResources.filter((la: any) => la.Group == \"insurancelistview\");\r\n //var inauranceactive: any = language.filter((la: any) => la.Name == \"insuranceactive\");\r\n //console.log(value)\r\n var langdata: any = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n var r = window.confirm(langdata['insuranceactive']);\r\n if (value.PlatformType == null) {\r\n value.PlatformType = \"CP\";\r\n }\r\n if (r == true) {\r\n //value.StatusId = \"1\";\r\n\r\n this.props.postInsurance(value, \"delete\",\"1\");\r\n } else {\r\n return;\r\n }\r\n }\r\n editInsurance = (value: any) => {\r\n localStorage.setItem(\"InsuranceName\", value.InsuranceName);\r\n localStorage.setItem(\"InsuredDOB\", value.InsuredDOB);\r\n localStorage.setItem(\"ExpiryDate\", value.ExpiryDate);\r\n this.props.editInsuranceList(value);\r\n }\r\n addInsuranceList = () => {\r\n this.props.addInsuranceList();\r\n }\r\n private renderTransactionList() {\r\n activeInsurances = this.props.InsuranceLists.filter((se: any) => se.StatusId == \"1\");\r\n\r\n inActiveInsurances = this.props.InsuranceLists.filter((se: any) => se.StatusId == \"2\");\r\n languagecontent = this.props.LanguageResoures;\r\n //console.log(this.props.InsuranceLists)\r\n return (\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n\r\n\t\t\t\t\t\t\t\t{\r\n this.props.isLoading == true ? \r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t :\r\n\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t{\r\n this.props.InsuranceLists.length == 0 ?
    {languagecontent['addinsurance'] == undefined ? \"\" :
    }
    {languagecontent['norecordsfound']}
    :\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tactiveInsurances.length == 0 ?\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"\" :
    \r\n

    {languagecontent['activeinsurance']} {languagecontent['addinsurance'] == undefined ? \"\" : }

    \r\n\r\n {activeInsurances.map((insurance: InsuranceListStore.InsuranceList) =>\r\n
    \r\n
    \r\n
    \r\n
    {insurance.InsuranceType}
    \r\n
    \r\n
    {insurance.InsuranceName}
    \r\n {\r\n insurance.PlanName == \"\" ? \"\" :\r\n
    {languagecontent['insuranceplan']}: {insurance.PlanName}
    \r\n\r\n }\r\n {\r\n insurance.PolicyNo == \"\" ? \"\" :\r\n
    {languagecontent['insuranceorpolicy']}: {insurance.PolicyNo}
    \r\n }\r\n
    \r\n
    \r\n

    \r\n
    {languagecontent['insuredname']}: {insurance.InsuredName}
    \r\n
    {(insurance.ExpiryDate == \"\") || (insurance.ExpiryDate == null) ? \"\" : languagecontent['expirydate'] === undefined ? \"\" : (languagecontent['expirydate'] ? `${languagecontent['expirydate'].trim()}:` : \"\") + \" \" + dateFormat(insurance.ExpiryDate)}
    \r\n {/* {insurance.VerificationStatus == \"\" ? \"\" :
    {languagecontent['verificationstatus']}: {insurance.VerificationStatus}
    }*/}\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n {insurance.DocCount == 0 ? \"\" : }\r\n this.InsuranceInActive(insurance)} />\r\n \r\n this.editInsurance(insurance)}>\r\n\r\n
    \r\n\r\n
    \r\n


    \r\n
    \r\n {languagecontent['updatedby']} {insurance.ModifiedName} {languagecontent['on']} {dateTimeFormat(insurance.ModifiedOn)}\r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n
    \r\n )}\r\n\r\n
    \r\n }\r\n
    \r\n }\r\n
    \r\n }\r\n\r\n
    \r\n
    \r\n {\r\n this.props.isLoading == true ? \r\n \r\n \r\n \r\n :
    \r\n {\r\n inActiveInsurances.length == 0 ?\r\n \"\" :
    \r\n

    {languagecontent['inactiveinsurance']}\r\n {\r\n activeInsurances.length == 0 ?\r\n \r\n : \"\"\r\n }\r\n

    \r\n {inActiveInsurances.map((insurance: InsuranceListStore.InsuranceList) =>\r\n
    \r\n
    \r\n
    \r\n
    {insurance.InsuranceType}
    \r\n
    \r\n
    {insurance.InsuranceName}
    \r\n {\r\n insurance.PlanName == \"\" ? \"\" :\r\n
    {languagecontent['insuranceplan']}: {insurance.PlanName}
    \r\n\r\n }\r\n {\r\n insurance.PolicyNo == \"\" ? \"\" :\r\n
    {languagecontent['insuranceorpolicy']}: {insurance.PolicyNo}
    \r\n }\r\n
    \r\n
    \r\n

    \r\n
    {languagecontent['insuredname']}: {insurance.InsuredName}
    \r\n
    {(insurance.ExpiryDate == \"\") || (insurance.ExpiryDate == null) ? \"\" : languagecontent['expirydate'] === undefined ? \"\" : (languagecontent['expirydate'] ? `${languagecontent['expirydate'].trim()}:` : \"\") + \" \" + dateFormat(insurance.ExpiryDate)}
    \r\n {/*{insurance.VerificationStatus == \"\" ? \"\" :
    {languagecontent['verificationstatus']}: {insurance.VerificationStatus}
    }*/}\r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n {insurance.DocCount == 0 ? \"\" : }\r\n this.InsuranceActive(insurance)} />\r\n \r\n this.editInsurance(insurance)}>\r\n
    \r\n
    \r\n


    \r\n
    \r\n {languagecontent['updatedby']} {insurance.ModifiedName} {languagecontent['on']} {dateTimeFormat(insurance.ModifiedOn)}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n )}\r\n
    \r\n }\r\n
    \r\n }\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n\r\n );\r\n }\r\n}\r\n\r\nexport default connect(\r\n (state: ApplicationState) => ({ ...state.flexiform, ...state.contact, ...state.transactionDetail, ...state.insuranceLists, ...state.addInsurance, ...state.langResources }), // Selects which state properties are merged into the component's props\r\n ({ ...ContactStore.actionCreators, ...TransactionStore.actionCreators, ...InsuranceListStore.actionCreators, ...AddInsuranceStore.actionCreators, ...LanguageResourcesStore.actionCreators })// Selects which action creators are merged into the component's props\r\n)(InsurenceList as any);\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport ContentLoader from \"react-content-loader\"\r\nimport { ApplicationState } from '../../store/index';\r\nimport * as FlexiFormStore from '../../store/library/flexiform/FlexiForm';\r\nimport * as AccountStore from '../../store/siteaccount/Account';\r\nimport * as CategoryStore from '../../store/siteaccount/Category';\r\nimport * as PayMethodStore from '../../store/payment/PayMethod';\r\nimport * as HeaderDrProfileStore from '../../store/widget/HeaderDrProfile';\r\nimport FlexiFormClass from '../../components/library/flexiform/FlexiForm'\r\nimport HeaderDrProfile from '../widget/HeaderDrProfile';\r\nimport { seo } from '../../helper/Script'\r\nimport { toastr } from 'react-redux-toastr';\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\nimport { scrollTop, setTittle } from '../../helper/formvalidation';\r\n// At runtime, Redux will merge together...\r\ntype Props =\r\n FlexiFormStore.FlexiListsState & AccountStore.AccountState & CategoryStore.CategoryState & PayMethodStore.PayMethodState & HeaderDrProfileStore.HeaderDrProfileState & LanguageResourcesStore.LanguageResouresState// ... state we've requested from the Redux store\r\n & typeof FlexiFormStore.actionCreators & typeof AccountStore.actionCreators & typeof CategoryStore.actionCreators & typeof PayMethodStore.actionCreators & typeof HeaderDrProfileStore.actionCreators & typeof LanguageResourcesStore.actionCreators// ... plus action creators we've requested\r\n & RouteComponentProps<{ startDateIndex: string }>; // ... plus incoming routing parameters\r\nvar paymethodid: any = \"\";\r\nvar languagecontent: any = \"\";\r\nvar pay_render: any = [];\r\n\r\n\r\n\r\nclass PayMethod extends React.PureComponent {\r\n\r\n constructor(props: any) {\r\n super(props);\r\n\r\n }\r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n // This method is called when the component is first added to the document\r\n public componentDidMount() {\r\n this.ensureDataFetched();\r\n scrollTop();\r\n }\r\n public componentDidUpdate() {\r\n seo(setTittle(languagecontent == \"\" ? \"\" : languagecontent['breadcrumb']));\r\n }\r\n public render() {\r\n return (\r\n \r\n {this.renderPayMethod()}\r\n \r\n );\r\n }\r\n private ensureDataFetched() {\r\n this.props.getLangResources();\r\n this.props.getCategory();\r\n }\r\n selectPayType = (value: any) => {\r\n if (value.name == 'Insurance') {\r\n paymethodid = \"1\";\r\n } else if (value.name == 'Self-pay (Online)') {\r\n paymethodid = \"2\";\r\n } else if (value.name == 'Self-pay (Inperson)') {\r\n paymethodid = \"3\";\r\n } else {\r\n return;\r\n }\r\n }\r\n submitPayMethod = () => {\r\n if (paymethodid != \"\") {\r\n this.props.updatePaymethod(paymethodid);\r\n } else {\r\n var langdata: any;\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n toastr.error('', langdata['selectpaymethod']);\r\n }\r\n paymethodid = \"\";\r\n }\r\n\r\n redirectback = () => {\r\n this.props.redirectback(); \r\n }\r\n\r\n private renderPayMethod() {\r\n \r\n languagecontent = this.props.LanguageResoures;\r\n var encDetailStroage: any = localStorage.getItem('EncDetail');\r\n var encDetail: any = JSON.parse(encDetailStroage);\r\n var paymethod: any = [];\r\n\r\n\r\n\r\n \r\n if (encDetail != null) {\r\n\r\n if (encDetail.encounterTypeMode == \"Teleconsultation\" || encDetail.encounterTypeMode == \"Videoconsulta\" || localStorage.getItem(\"modecode\") == \"TEC\") {\r\n var _paymethod = this.props.Settings.filter((se: any) => (se.typeId == 11 && se.customizeValue == \"Yes\" && (se.name != \"Self-pay (Inperson)\")))\r\n var paymethod = _paymethod\r\n }\r\n else {\r\n var _paymethod = this.props.Settings.filter((se: any) => (se.typeId == 11 && se.customizeValue == \"Yes\"))\r\n console.log(_paymethod)\r\n var paymethod = _paymethod\r\n }\r\n }\r\n paymethod.sort((a: { name: string; }, b: { name: string; }) => {\r\n const nameA = a.name.toLowerCase();\r\n const nameB = b.name.toLowerCase();\r\n if (nameA < nameB) {\r\n return -1; // nameA comes before nameB\r\n }\r\n if (nameA > nameB) {\r\n return 1; // nameA comes after nameB\r\n }\r\n return 0; // names are equal\r\n });\r\n\r\n // console.log(paymethod)\r\n\r\n\r\n\r\n return (\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    {languagecontent['payforservices']}
    \r\n
      \r\n\r\n {\r\n paymethod != undefined ?\r\n paymethod.map((_paymethod: any) =>\r\n \r\n
    • \r\n
      \r\n \r\n
      \r\n
    • \r\n
      \r\n )\r\n : \"\"\r\n }\r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default connect(\r\n (state: ApplicationState) => ({ ...state.flexiform, ...state.account, ...state.category, ...state.paymethod, ...state.headerDrProfile, ...state.langResources }), // Selects which state properties are merged into the component's props\r\n ({ ...FlexiFormStore.actionCreators, ...AccountStore.actionCreators, ...CategoryStore.actionCreators, ...PayMethodStore.actionCreators, ...HeaderDrProfileStore.actionCreators, ...LanguageResourcesStore.actionCreators })// Selects which action creators are merged into the component's props\r\n)(PayMethod as any);\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { ApplicationState } from '../../store/index';\r\nimport * as FlexiFormStore from '../../store/library/flexiform/FlexiForm';\r\nimport * as AccountStore from '../../store/siteaccount/Account';\r\nimport * as InsuranceListStore from '../../store/insurance/insuranceList';\r\nimport * as AddInsuranceStore from '../../store/insurance/addInsurance';\r\nimport * as PaymentProcessStore from '../../store/payment/PaymentProcess';\r\nimport { dateFormat, dateTimeFormat, insuranceVerificationStatusColor, scrollTop, setTittle } from '../../helper/formvalidation';\r\nimport { seo } from '../../helper/Script';\r\nimport HeaderDrProfile from '../widget/HeaderDrProfile';\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\n// At runtime, Redux will merge together...\r\ntype Props =\r\n\tFlexiFormStore.FlexiListsState & AccountStore.AccountState & InsuranceListStore.InsuranceListState & AddInsuranceStore.AddInsuranceState & PaymentProcessStore.PaymentProcessState & LanguageResourcesStore.LanguageResouresState// ... state we've requested from the Redux store\r\n\t& typeof FlexiFormStore.actionCreators & typeof AccountStore.actionCreators & typeof InsuranceListStore.actionCreators & typeof AddInsuranceStore.actionCreators & typeof PaymentProcessStore.actionCreators & typeof LanguageResourcesStore.actionCreators// ... plus action creators we've requested\r\n\t& RouteComponentProps<{ startDateIndex: string }>; // ... plus incoming routing parameters\r\nvar languagecontent: any = \"\";\r\nclass InsuranceList extends React.PureComponent {\r\n\tconstructor(props: any) {\r\n\t\tsuper(props);\r\n\t}\r\n\t// This method is called when the component is first added to the document\r\n\tpublic componentDidMount() {\r\n\t\tthis.ensureDataFetched();\r\n\t\tscrollTop();\r\n\t\tlocalStorage.removeItem(\"InsurancePath\");\r\n\r\n\t}\r\n\t\r\n\tpublic render() {\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{this.renderDoctorList()}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n\tpublic componentDidUpdate() {\r\n\t\tseo(setTittle(languagecontent == \"\" ? \"\" : languagecontent['breadcrumb']));\r\n\t}\r\n\tprivate ensureDataFetched() {\r\n\t\tthis.props.getLangResources();\r\n\t\tconst patientLocalStroage: any = localStorage.getItem('Patient');\r\n\t\tconst patient = JSON.parse(patientLocalStroage);\r\n\t\tthis.props.getInsuranceList(patient.memberId);\r\n\t}\r\n\taddInsuranceList = () => {\r\n\t\t//const patientLocalStroage: any = localStorage.getItem('Patient');\r\n\t\t//const patient = JSON.parse(patientLocalStroage);\r\n\t\t//const memberid: any = patient.memberId;\r\n\t\t/*localStorage.setItem('InsurancePath', window.location.href);*/\r\n\t\tthis.props.addInsuranceList();\r\n\t\t//window.location.href = \"/addinsurance?\" + window.location.search + \"&memberid=\" + memberid;\r\n\t}\r\n\tInsuranceInActive = (value: any) => {\r\n\t\tvar langdata: any = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n\t\tvar r = window.confirm(langdata['insurancinactive']);\r\n\t\tif (value.PlatformType == null) {\r\n\t\t\tvalue.PlatformType = \"CP\";\r\n\t\t}\r\n\t\tif (r == true) {\r\n\t\t\t//value.StatusId = \"2\";\r\n\t\t\tlocalStorage.setItem('InsurancePath', window.location.href);\r\n\t\t\tthis.props.postInsurance(value,\"delete\",\"2\");\r\n\t\t} else {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t}\r\n\teditInsurance = (value: any) => {\r\n\t\tlocalStorage.setItem(\"InsuranceName\", value.InsuranceName);\r\n\t\tlocalStorage.setItem(\"InsuredDOB\", value.InsuredDOB);\r\n\t\tlocalStorage.setItem(\"ExpiryDate\", value.ExpiryDate);\r\n\t\tlocalStorage.setItem('InsurancePath', window.location.href);\r\n\t\tthis.props.editInsuranceList(value);\r\n\t\t\r\n\t}\r\n\tback = () => {\r\n\t\tthis.props.previouspage();\t\t\r\n\t}\r\n\r\n\tsubmitInsurance = () => {\r\n\t\tthis.props.requestInsurancePay();\r\n }\r\n\tprivate renderDoctorList() {\r\n\t\tlanguagecontent = this.props.LanguageResoures;\r\n\t\tvar activeInsurances: any = this.props.InsuranceLists.filter((se: any) => se.StatusId == \"1\" && (se.VerificationStatusId == \"1\" || se.VerificationStatusId == \"2\" ||se.VerificationStatusId == \"4\" || se.VerificationStatusId == \"0\"));\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t\t\r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t
    \r\n\r\n\t\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\t\t/*activeInsurances.length == 0 ?
    {languagecontent['norecordsfound']}
    :*/\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tactiveInsurances.length == 0 ?
    {languagecontent['addinsurance'] == undefined ? \"\" :
    }
    {languagecontent['norecordsfound']}
    :\r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tactiveInsurances.length == 0 ?\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"\" :
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    {languagecontent['activeinsurance']} {languagecontent['addinsurance'] == undefined ? \"\" : }

    \r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{activeInsurances.map((insurance: InsuranceListStore.InsuranceList) => \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t insurance.VerificationStatus== \"Invalid\"? \"\":\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {insurance.InsuranceType}
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {insurance.InsuranceName}
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {languagecontent['planname']}: {insurance.PlanName}
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {languagecontent['insuranceorpolicy']}: {insurance.PolicyNo}
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t

    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {languagecontent['insuredname']}: {insurance.InsuredName}
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    {(insurance.ExpiryDate == \"\") || (insurance.ExpiryDate == null) ? \"\" : languagecontent['expirydate'] + \": \" + dateFormat(insurance.ExpiryDate)}
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{/*{insurance.VerificationStatus == \"\" ? \"\" :
    {languagecontent['verificationstatus']}: {insurance.VerificationStatus}
    }*/}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{insurance.DocCount == 0 ? \"\" : }\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t this.InsuranceInActive(insurance)} />\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t this.editInsurance(insurance)}>\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t


    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{languagecontent['updatedby']} {insurance.ModifiedName} {languagecontent['on']} {dateTimeFormat(insurance.ModifiedOn)}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t{/*
    */}\r\n\t\t\t\t\t\t\t\t\t{/**/}\r\n\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t
    \r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default connect(\r\n\t(state: ApplicationState) => ({ ...state.flexiform, ...state.account, ...state.insuranceLists, ...state.addInsurance, ...state.paymentProcess, ...state.langResources }), // Selects which state properties are merged into the component's props\r\n\t({ ...FlexiFormStore.actionCreators, ...AccountStore.actionCreators, ...InsuranceListStore.actionCreators, ...AddInsuranceStore.actionCreators, ...PaymentProcessStore.actionCreators, ...LanguageResourcesStore.actionCreators })// Selects which action creators are merged into the component's props\r\n)(InsuranceList as any);\r\n","import * as React from 'react';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { connect } from 'react-redux';\r\nimport { ApplicationState } from '../../store/index';\r\nimport * as DashboardNavStore from '../../store/menu/DashboardNav';\r\nimport * as ProfileStore from '../../store/patient/ProfileSettings';\r\nimport * as InsuranceAutoCompleStore from '../../store/autoComplete/insurance';\r\nimport * as LoginStore from '../../store/account/Login';\r\nimport * as HandleRequest from '../../helper/Request';\r\nimport * as CategoryStore from '../../store/siteaccount/Category';\r\nimport * as AddInsuranceStore from '../../store/insurance/addInsurance';\r\nimport * as AccountStore from '../../store/siteaccount/Account';\r\nimport 'react-bootstrap-typeahead/css/Typeahead.css';\r\nimport { datepickerJS, floatingJS, floatJS, dobcheck, mobnav } from '../../helper/Script';\r\nimport { seo } from '../../helper/Script';\r\nimport { Field, reduxForm } from 'redux-form';\r\nimport { renderDob, renderExpDob, renderField, renderInsuranceautoComplete, renderInsuranceSelectField, renderInsurenceDob, renderSelectField } from '../../helper/renderfield';\r\nimport { dateFormat, dateFormatSetting, getAge, required } from '../../helper/formvalidation';\r\nimport * as documentStore from '../../store/library/document/DocumentList';\r\nimport * as documentUploadStore from '../../store/library/document/DocumentUpload';\r\nimport DocumentList from '../library/document/DocumentList';\r\nimport DocumentUpload from '../library/document/DocumentUpload';\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport Moment from 'moment';\r\nimport { TextBoxLoader } from '../../helper/fbloader';\r\nimport { setTittle, scrollTop } from '../../helper/formvalidation'\r\nimport ContentLoader from 'react-content-loader';\r\n\r\nvar _insurance: any = {};\r\ntype ProfileProps =\r\n ProfileStore.ProfileState & LoginStore.LoginState & CategoryStore.CategoryState & InsuranceAutoCompleStore.InsuranceAutoCompleteState & documentStore.DocumentListsState & AddInsuranceStore.AddInsuranceState & documentUploadStore.DocumentUploadState & HandleRequest.Request & AccountStore.AccountState & LanguageResourcesStore.LanguageResouresState & typeof ProfileStore.actionCreators & typeof CategoryStore.actionCreators & typeof InsuranceAutoCompleStore.actionCreators & typeof documentStore.actionCreators & typeof AddInsuranceStore.actionCreators & typeof documentUploadStore.actionCreators & typeof AccountStore.actionCreators & typeof LanguageResourcesStore.actionCreators &\r\n RouteComponentProps<{}>;\r\nvar insuranceid: any = \"\";\r\nvar insurancename: any = \"\";\r\nvar insureddob: any = \"\";\r\nvar expdate: any = \"\";\r\nvar insurancenameChange: any = \"\";\r\nvar languagecontent: any = \"\";\r\nclass InsurenceForm extends React.PureComponent {\r\n constructor(props: any) {\r\n super(props);\r\n }\r\n textInput = React.createRef();\r\n onSubmit = (formValues: any) => {\r\n var langdata: any;\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n /* Validation for Insurance name and Id -- start by Arun */\r\n var myForm: any = document.getElementById(\"dformInsurance\");\r\n if (myForm.elements.namedItem(\"InsuredDOB\") != null) {\r\n formValues.InsuredDOB = myForm.elements.namedItem(\"InsuredDOB\").value;\r\n }\r\n if (myForm.elements.namedItem(\"ExpiryDate\") != null) {\r\n formValues.ExpiryDate = myForm.elements.namedItem(\"ExpiryDate\").value;\r\n }\r\n if (formValues.Id == \"\") {\r\n formValues.VerificationStatusId = null;\r\n formValues.VerificationStatus = null;\r\n formValues.PlatformType = \"CP\";\r\n }\r\n else {\r\n formValues.VerificationStatusId = null;\r\n formValues.VerificationStatus = null;\r\n formValues.PlatformType = \"CP\";\r\n }\r\n \r\n var age: any = getAge(formValues.InsuredDOB);\r\n var doblimit: any = this.props.Settings.filter((s: any) => s.name == \"Allowed User DOB Range\")[0];\r\n var date: any = (formValues.InsuredDOB);\r\n const dmyear = date.split(\"/\");\r\n const year = dmyear[2];\r\n if (year == (\"0000\" || \"000\" || \"00\" || \"0\") || age >=250) {\r\n var langdata: any;\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n return toastr.error('', langdata['invaliddate']);\r\n }\r\n //console.log(formValues);\r\n if (doblimit.customizeValue > age) {\r\n return toastr.error('', langdata['userdobrange'] + ' ' + + doblimit.customizeValue + ' ' + langdata['years']);\r\n }\r\n const insuranceFilter = this.props.InsuranceAutoCompletes.filter(function (value) {\r\n return value;\r\n })\r\n if (insuranceFilter.length > 0) {\r\n if (insuranceid == \"\") {\r\n formValues.InsuranceId = \"\";\r\n var Insurancevalue: any = document.getElementById(\"dInsurenceName\")\r\n if (Insurancevalue != null) {\r\n formValues.InsuranceName = Insurancevalue.value;\r\n }\r\n var array: any = [];\r\n var doids: any = localStorage.getItem(\"DocIds\");\r\n if (doids != null) {\r\n array = JSON.parse(doids);\r\n }\r\n formValues.DocIds = array.length == 0 ? \"\" : array.toString();\r\n //formValues.StatusId = \"1\"; \r\n var StatusId: any = formValues.StatusId == \"\" ? \"1\" : formValues.StatusId\r\n this.props.postInsurance(formValues, \"\", StatusId);\r\n }\r\n else {\r\n formValues.InsuranceId = insuranceid == \"\" ? _insurance.InsuranceId : insuranceid;\r\n var insurancenames: any = insuranceFilter.filter((se: any) => se.Id == formValues.InsuranceId)\r\n if (insurancenames.length != 0)\r\n formValues.InsuranceName = insurancenames[0].Name;\r\n var array: any = [];\r\n var doids: any = localStorage.getItem(\"DocIds\");\r\n if (doids != null) {\r\n array = JSON.parse(doids);\r\n }\r\n formValues.DocIds = array == null || array.length == 0 ? \"\" : array.toString();\r\n var StatusId :any = formValues.StatusId == \"\" ? \"1\" : formValues.StatusId\r\n this.props.postInsurance(formValues, \"\", StatusId);\r\n }\r\n }\r\n else {\r\n this.props.requestInsurance(formValues.InsuranceId)\r\n const insuranceFilter = this.props.InsuranceAutoCompletes.filter(function (value) {\r\n return value;\r\n })\r\n //console.log(insuranceFilter, \"insuranceFilter\", formValues.InsuranceId)\r\n if (insuranceFilter.length > 0) {\r\n //console.log(insuranceFilter.length, \"length\")\r\n formValues.InsuranceId = insuranceid;\r\n var array: any = [];\r\n var doids: any = localStorage.getItem(\"DocIds\");\r\n if (doids != null) {\r\n array = JSON.parse(doids);\r\n }\r\n formValues.DocIds = array.length == 0 ? \"\" : array.toString();\r\n //formValues.StatusId = \"1\"; \r\n var StatusId: any = formValues.StatusId == \"\" ? \"1\" : formValues.StatusId\r\n\r\n this.props.postInsurance(formValues, \"\", StatusId);\r\n }\r\n else {\r\n formValues.InsuranceId = insuranceid;\r\n var Insurancevalue: any = document.getElementById(\"dInsurenceName\")\r\n if (Insurancevalue != null) {\r\n formValues.InsuranceName = Insurancevalue.value;\r\n }\r\n var array: any = [];\r\n var doids: any = localStorage.getItem(\"DocIds\");\r\n if (doids != null) {\r\n array = JSON.parse(doids);\r\n }\r\n formValues.DocIds = array.length == 0 ? \"\" : array.toString();\r\n //formValues.StatusId = \"1\";\r\n if (formValues.Id == \"\") {\r\n var StatusId: any = formValues.StatusId == \"\" ? \"1\" : formValues.StatusId\r\n this.props.postInsurance(formValues, \"\", StatusId);\r\n }\r\n else {\r\n var StatusId: any = formValues.StatusId == \"\" ? \"1\" : formValues.StatusId\r\n this.props.postInsurance(formValues, \"\", StatusId);\r\n }\r\n }\r\n }\r\n /* Validation for Insurance name and Id -- end by Arun */\r\n }\r\n \r\n //const queryParams = new URLSearchParams(window.location.search);\r\n //var id = queryParams.get('id');\r\n //var memberid = queryParams.get('memberid');\r\n //if (id != null) {\r\n // this.props.getSingleInsurance(id);\r\n // this.props.requestDocumentLists(memberid, \"Patient Document\");\r\n //}\r\n\r\n //if (insureddob == null)\r\n //\tdobcheck(dobcheck(dateFormat(this.props.addInsurance.InsuredDOB), dobchk));\r\n //else\r\n //\tdobcheck(dobcheck(dateFormat(insureddob), dobchk));\r\n\r\n //if (expdate == null)\r\n //\tdobcheck(dobcheck(dateFormat(this.props.addInsurance.InsuredDOB), dobchk));\r\n //else\r\n //\tdobcheck(dobcheck(dateFormat(expdate), dobchk));\r\n /*this.ensureDataFetched()*/\r\n\r\n\r\n \r\n componentDidMount() {\r\n //seo({\r\n // title: 'Insurance',\r\n // pageTitle: 'Insurance',\r\n // description: ''\r\n //});\r\n //var dobchk = \"\";\r\n floatingJS();\r\n datepickerJS();\r\n dobcheck(\"\", \"\");\r\n mobnav();\r\n scrollTop();\r\n insurancename = localStorage.getItem(\"InsuranceName\");\r\n insureddob = localStorage.getItem(\"InsuredDOB\");\r\n expdate = localStorage.getItem(\"ExpiryDate\");\r\n const script = document.createElement(\"script\");\r\n script.src = \"/Theme/Doccure/admin/assets/js/script.js\";\r\n script.async = true;\r\n document.body.appendChild(script);\r\n \r\n var dobchk = \"\";\r\n //if (insureddob == null)\r\n //\tdobcheck(dobcheck(dateFormat(this.props.addInsurance.InsuredDOB), dobchk));\r\n //else\r\n //\tdobcheck(dobcheck(dateFormat(insureddob), dobchk));\r\n\r\n //if (expdate == null)\r\n //\tdobcheck(dobcheck(dateFormat(this.props.addInsurance.InsuredDOB), dobchk));\r\n //else\r\n //\tdobcheck(dobcheck(dateFormat(expdate), dobchk));\r\n\r\n this.ensureDataFetched()\r\n }\r\n\r\n componentDidUpdate() {\r\n seo(setTittle(languagecontent == \"\" ? \"\" : languagecontent['breadcrumb']));\r\n\r\n }\r\n\r\n public _handleSearch = (query: any) => {\r\n //console.log(\"query\", query.length)\r\n insuranceid = \"\";\r\n this.props.requestInsurance(query);\r\n }\r\n public _handleOnChange = (selected: any) => {\r\n //console.log(selected, \"selected\")\r\n selected.map((value: any) => {\r\n insuranceid = value.Id;\r\n })\r\n }\r\n private ensureDataFetched() {\r\n this.props.getLangResources();\r\n this.props.getCategory();\r\n const queryParams = new URLSearchParams(window.location.search);\r\n var id = queryParams.get('id');\r\n var memberid = queryParams.get('memberid');\r\n //if (id != null) {\r\n //\tthis.props.getSingleInsurance(id);\r\n //\tthis.props.requestDocumentLists(memberid, \"Patient Document\");\r\n //}\r\n }\r\n public render() {\r\n return (\r\n \r\n {this.renderInsurenceList()}\r\n \r\n );\r\n }\r\n goBack = () => {\r\n this.props.goBackInsurance();\r\n }\r\n public renderInsurenceList() {\r\n languagecontent = this.props.LanguageResoures;\r\n var dateformat: any = localStorage.getItem(\"DateFormat\") == null ? \"\" : localStorage.getItem(\"DateFormat\");\r\n const queryParams = new URLSearchParams(window.location.search);\r\n var id = queryParams.get('id');\r\n var memberid = queryParams.get('memberid');\r\n _insurance = this.props.addInsurance;\r\n insurancename = localStorage.getItem(\"InsuranceName\");\r\n insureddob = localStorage.getItem(\"InsuredDOB\");\r\n expdate = localStorage.getItem(\"ExpiryDate\");\r\n const script = document.createElement(\"script\");\r\n script.src = \"/Theme/Doccure/admin/assets/js/script.js\";\r\n script.async = true;\r\n document.body.appendChild(script);\r\n //if (this.props.addInsurance.InsuredDOB == \"\") {\r\n //\tthis.props.addInsurance.InsuredDOB = null;\r\n //} else {\r\n //\tvar __dateformat: any = dateFormatSetting(this.props.addInsurance.InsuredDOB);\r\n //\tif (__dateformat == \"Invalid date\" || __dateformat == \"Fecha inválida\") {\r\n //\t\tthis.props.addInsurance.InsuredDOB = null;\r\n //\t} else {\r\n //\t\tconsole.log(this.props.addInsurance.InsuredDOB);\r\n //\t\tthis.props.addInsurance.InsuredDOB = dateFormatSetting(this.props.addInsurance.InsuredDOB);\r\n //\t}\r\n //}\r\n\r\n\r\n //if (this.props.addInsurance.InsuredDOB == \"\") {\r\n //\t/*this.props.addInsurance.InsuredDOB = \"\";*/\r\n //}\r\n //else {\r\n //\tvar __dateformat: any = dateFormatSetting(this.props.addInsurance.InsuredDOB);\r\n //\tif (__dateformat == \"Invalid date\" || __dateformat == \"Fecha inválida\") {\r\n\r\n\r\n //\t} else {\t\t\t\t\r\n //\t\tconsole.log(this.props.addInsurance.InsuredDOB, )\r\n\r\n //\t\t/*this.props.addInsurance.InsuredDOB = dateFormatSetting(this.props.addInsurance.InsuredDOB)*/\r\n //\t\t/*this.props.addInsurance.InsuredDOB = __dateformat*/\r\n\r\n //\t\t_insurance.InsuredDOB = __dateformat\r\n\r\n //\t}\r\n //}\r\n //if (this.props.addInsurance.ExpiryDate == \"\") {\r\n //\t/*this.props.addInsurance.ExpiryDate = \"\";*/\r\n //}\r\n //else {\r\n //\tvar __dateExpformat: any = dateFormatSetting(this.props.addInsurance.ExpiryDate);\r\n //\tif (__dateExpformat == \"Invalid date\" || __dateExpformat == \"Fecha inválida\") {\r\n\r\n\r\n //\t} else {\r\n //\t\t/*this.props.addInsurance.ExpiryDate = dateFormatSetting(this.props.addInsurance.ExpiryDate);*/\r\n //\t\t/*this.props.addInsurance.ExpiryDate = __dateExpformat;*/\r\n //\t\t_insurance.ExpiryDate = __dateExpformat\r\n //\t\t/*console.log(__dateExpformat)*/\r\n //\t}\r\n //}\r\n\r\n /*\tconsole.log(_insurance)*/\r\n\r\n //if (Moment(this.props.addInsurance.InsuredDOB).format('MM/DD/YYYY') == \"Invalid date\")\r\n //\tthis.props.addInsurance.InsuredDOB = \"\";\r\n //else\r\n //\tthis.props.addInsurance.InsuredDOB = dateFormatSetting(this.props.addInsurance.InsuredDOB);\r\n\r\n //if (Moment(this.props.addInsurance.ExpiryDate).format('MM/DD/YYYY') == \"Invalid date\")\r\n //\tthis.props.addInsurance.ExpiryDate = \"\";\r\n //else\r\n //\tthis.props.addInsurance.ExpiryDate = dateFormatSetting(this.props.addInsurance.ExpiryDate);\r\n\r\n\r\n /*console.log(_insurance)*/\r\n const insurancetype = this.props.categories.filter((ca: any) => ca.group == \"Insurance Type\");\r\n\r\n if (id) {\r\n var localLocation = insurancename == \"\" || insurancename == null ? \"\" : insurancename;\r\n }\r\n else {\r\n localLocation = \"\";\r\n }\r\n\r\n const insurance = this.props.InsuranceAutoCompletes;\r\n const isLoading = this.props.isinsuranceLoading;\r\n const onSearch = this._handleSearch;\r\n const onChangeMethod = this._handleOnChange;\r\n var doblimit: any = this.props.Settings.filter((s: any) => s.name == \"Allowed User DOB Range\")[0];\r\n var _doblimit: any = 0;\r\n if (doblimit != undefined) {\r\n _doblimit = doblimit.customizeValue;\r\n } else {\r\n _doblimit = 0;\r\n }\r\n var data: any = window.location.pathname;\r\n const _array = data.split('/');\r\n localStorage.setItem(\"Documents\", \"true\");\r\n return (\r\n \r\n\r\n {this.props.isListLoading == true ?\r\n \r\n \r\n \r\n \r\n :\r\n \r\n
    \r\n\r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n languagecontent['insurancetype'] == undefined ? : \"\"\r\n }\r\n {\r\n
    \r\n \r\n \r\n
    \r\n }\r\n
    \r\n
    \r\n
    0 ? \"form-group form-focus focused\" : \"form-group form-focus\"}>\r\n
    \r\n
    \r\n
    \r\n
    0 ? \"form-group form-focus focused\" : \"form-group form-focus\"}>\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    0 ? \"form-group form-focus focused\" : \"form-group form-focus\"}>\r\n \r\n
    \r\n
    \r\n
    \r\n
    0 ? \"form-group form-focus focused\" : \"form-group form-focus\"}>\r\n
    \r\n
    \r\n
    \r\n
    0 ? \"form-group form-focus focused\" : \"form-group form-focus\"}>\r\n
    \r\n
    \r\n\r\n
    \r\n
    0 ? \"form-group form-focus focused\" : \"form-group form-focus\"}>\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    {languagecontent['document']}
    \r\n
    \r\n
    \r\n \r\n\r\n
    \r\n\r\n
    \r\n\r\n\r\n\r\n
    \r\n {\r\n _array[1] != \"addinsurance\" ?\r\n
    \r\n \r\n \r\n
    : \"\"\r\n }\r\n {\r\n _array[1] == \"addinsurance\" ?\r\n
    \r\n \r\n
    : \"\"\r\n }\r\n
    \r\n\r\n
    \r\n \r\n
    }\r\n
    \r\n );\r\n }\r\n}\r\n\r\n\r\nconst mapDispatchToProps = ({ ...DashboardNavStore.actionCreators, ...LoginStore.actionCreators, ...ProfileStore.actionCreators, ...CategoryStore.actionCreators, ...InsuranceAutoCompleStore.actionCreators, ...documentStore.actionCreators, ...AddInsuranceStore.actionCreators, ...documentUploadStore.actionCreators, ...AccountStore.actionCreators, ...LanguageResourcesStore.actionCreators });\r\nconst mapStateToProps = (state: ApplicationState) => {\r\n localStorage.setItem(\"InsuredDOB\", (_insurance.InsuredDOB == null) || (_insurance.InsuredDOB == \"\") ? \"\" : _insurance.InsuredDOB)\r\n localStorage.setItem(\"ExpiryDate\", (_insurance.ExpiryDate == null) || (_insurance.ExpiryDate == \"\") ? \"\" : _insurance.ExpiryDate)\r\n let values = {\r\n initialValues: _insurance,\r\n ...state.dashboardNav, ...state.login, ...state.profile, ...state.category, ...state.insuranceAutoCompletes, ...state.documentlist, ...state.addInsurance, ...state.documentupload, ...state.account, ...state.langResources\r\n };\r\n return values;\r\n\r\n}\r\nexport default connect(mapStateToProps, mapDispatchToProps)(reduxForm({\r\n form: 'dformInsurance',\r\n enableReinitialize: true,\r\n})(InsurenceForm as any))\r\n","import * as React from 'react';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { connect } from 'react-redux';\r\nimport { ApplicationState } from '../../store/index';\r\nimport * as DashboardNavStore from '../../store/menu/DashboardNav';\r\nimport * as ProfileStore from '../../store/patient/ProfileSettings';\r\nimport * as InsuranceAutoCompleStore from '../../store/autoComplete/insurance';\r\nimport * as LoginStore from '../../store/account/Login';\r\nimport * as HandleRequest from '../../helper/Request';\r\nimport * as CategoryStore from '../../store/siteaccount/Category';\r\nimport * as AddInsuranceStore from '../../store/insurance/addInsurance';\r\nimport * as AccountStore from '../../store/siteaccount/Account';\r\nimport DashboardNavMenu from '../../components/layout/menu/DashboardNav'\r\nimport ContactForm from '../widget/ContactForm';\r\nimport 'react-bootstrap-typeahead/css/Typeahead.css';\r\nimport { datepickerJS, floatingJS, floatJS, dobcheck, mobnav } from '../../helper/Script';\r\nimport { seo } from '../../helper/Script';\r\nimport { Field, reduxForm } from 'redux-form';\r\nimport { renderDob, renderExpDob, renderField, renderInsuranceautoComplete, renderInsuranceSelectField, renderInsurenceDob, renderSelectField } from '../../helper/renderfield';\r\nimport { dateFormat, getAge, required, dateFormatSetting } from '../../helper/formvalidation';\r\nimport * as documentStore from '../../store/library/document/DocumentList';\r\nimport * as documentUploadStore from '../../store/library/document/DocumentUpload';\r\nimport DocumentList from '../library/document/DocumentList';\r\nimport DocumentUpload from '../library/document/DocumentUpload';\r\nimport InsurenceForm from '../Insurence/Form';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport Moment from 'moment';\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\nvar _insurance: any = {};\r\ntype ProfileProps =\r\n\tProfileStore.ProfileState & LoginStore.LoginState & CategoryStore.CategoryState & InsuranceAutoCompleStore.InsuranceAutoCompleteState & documentStore.DocumentListsState & AddInsuranceStore.AddInsuranceState & documentUploadStore.DocumentUploadState & HandleRequest.Request & AccountStore.AccountState & LanguageResourcesStore.LanguageResouresState & typeof ProfileStore.actionCreators & typeof CategoryStore.actionCreators & typeof InsuranceAutoCompleStore.actionCreators & typeof documentStore.actionCreators & typeof AddInsuranceStore.actionCreators & typeof documentUploadStore.actionCreators & typeof AccountStore.actionCreators & typeof LanguageResourcesStore.actionCreators&\r\n\tRouteComponentProps<{}>;\r\nvar insuranceid: any = \"\";\r\nvar insurancename: any = \"\";\r\nvar insureddob: any = \"\";\r\nvar expdate: any = \"\";\r\nvar insurancenameChange: any = \"\";\r\nvar languagecontent: any = \"\";\r\nclass AddInsurence extends React.PureComponent {\r\n\tconstructor(props: any) {\r\n\t\tsuper(props);\r\n\t}\r\n\ttextInput = React.createRef();\r\n\tonSubmit = (formValues: any) => {\r\n\t\t/* Validation for Insurance name and Id -- start by Arun */\r\n\t\tvar age: any = getAge(formValues.dob);\r\n\t\tvar doblimit: any = this.props.Settings.filter((s: any) => s.name == \"Allowed User DOB Range\")[0];\r\n\r\n\t\t//console.log(age);\r\n\t\tif (doblimit.customizeValue >= age) {\r\n\t\t\treturn toastr.error('', 'Age should be above ' + doblimit.customizeValue + ' years');\r\n\t\t}\r\n\t\tif (formValues.Id == \"\") {\r\n\t\t\tformValues.VerificationStatusId = null;\r\n\t\t\tformValues.VerificationStatus = null;\r\n\t\t\tformValues.PlatformType = \"CP\";\r\n\t\t}\r\n\t\telse {\r\n\t\t\tformValues.VerificationStatusId = null;\r\n\t\t\tformValues.VerificationStatus = null;\r\n\t\t\tformValues.PlatformType = \"CP\";\r\n }\r\n\t\tif (formValues.InsuranceId == _insurance.InsuranceId) {\r\n\t\t\tformValues.InsuranceId = _insurance.InsuranceId == \"\" ? insuranceid : _insurance.InsuranceId;\r\n\t\t\tformValues.DocIds = this.props.docIds;\r\n\t\t\t//formValues.StatusId = \"1\";\r\n\t\t\tthis.props.postInsurance(formValues,\"\",\"1\");\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.props.requestInsurance(formValues.InsuranceId)\r\n\t\t\tconst insuranceFilter = this.props.InsuranceAutoCompletes.filter(function (value) {\r\n\t\t\t\treturn value;\r\n\t\t\t})\r\n\t\t\t//console.log(insuranceFilter, \"insuranceFilter\", formValues.InsuranceId)\r\n\t\t\tif (insuranceFilter.length > 0) {\r\n\t\t\r\n\t\t\t\tformValues.InsuranceId = insuranceid ;\r\n\t\t\t\tformValues.DocIds = this.props.docIds;\r\n\t\t\t\t//formValues.StatusId = \"1\";\r\n\t\t\t\tthis.props.postInsurance(formValues,\"\",\"1\");\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\treturn toastr.error('', 'Please select valid insurance name');\r\n\t\t\t}\r\n\t\t}\r\n\t\t/* Validation for Insurance name and Id -- end by Arun */\r\n\t}\r\n\t\r\n\tcomponentDidMount() {\r\n\t\tinsurancename = localStorage.getItem(\"InsuranceName\");\r\n\t\tinsureddob = localStorage.getItem(\"InsuredDOB\");\r\n\t\texpdate = localStorage.getItem(\"ExpiryDate\");\r\n\t\tconst script = document.createElement(\"script\");\r\n\t\tscript.src = \"/Theme/Doccure/admin/assets/js/script.js\";\r\n\t\tscript.async = true;\r\n\t\tdocument.body.appendChild(script);\r\n\t\tfloatingJS();\r\n\t\tdatepickerJS();\r\n\t\tdobcheck(\"\", \"\");\r\n\t\tmobnav();\r\n\t\tvar dobchk = \"\";\r\n\t\tseo({\r\n\t\t\ttitle: 'Insurance',\r\n\t\t\tpageTitle: 'Insurance',\r\n\t\t\tdescription: ''\r\n\t\t});\r\n\t\t//var dobchk = \"\";\r\n\r\n\t\t//if (insureddob == null)\r\n\t\t//\tdobcheck(dobcheck(dateFormat(this.props.addInsurance.InsuredDOB), dobchk));\r\n\t\t//else\r\n\t\t//\tdobcheck(dobcheck(dateFormat(insureddob), dobchk));\r\n\r\n\t\t//if (expdate == null)\r\n\t\t//\tdobcheck(dobcheck(dateFormat(this.props.addInsurance.InsuredDOB), dobchk));\r\n\t\t//else\r\n\t\t//\tdobcheck(dobcheck(dateFormat(expdate), dobchk));\r\n\r\n\t\tthis.ensureDataFetched()\r\n\t}\r\n\r\n\tcomponentDidUpdate() {\r\n\t\tseo({\r\n\t\t\ttitle: 'Insurance',\r\n\t\t\tpageTitle: 'Insurance',\r\n\t\t\tdescription: ''\r\n\t\t});\r\n\t}\r\n\r\n\tpublic _handleSearch = (query: any) => {\r\n\t\tthis.props.requestInsurance(query);\r\n\t}\r\n\tpublic _handleOnChange = (selected: any) => {\r\n\t\t//console.log(selected, \"selected\")\r\n\t\tselected.map((value: any) => {\r\n\t\t\tinsuranceid = value.Id;\r\n\t\t})\r\n\t}\r\n\tprivate ensureDataFetched() {\r\n\t\tthis.props.getCategory();\r\n\t\tconst queryParams = new URLSearchParams(window.location.search);\r\n\t\tvar id = queryParams.get('id');\r\n\t\tvar memberid = queryParams.get('memberid');\r\n\t\tif (id != null) {\r\n\t\t\tthis.props.getSingleInsurance(id);\r\n\t\t\tthis.props.requestDocumentLists(memberid, \"Patient Document\");\r\n\t\t}\r\n\t}\r\n\tpublic render() {\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{this.renderInsurenceList()}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n\tgoBack = () => {\r\n\t\tthis.props.goBackInsurance();\r\n\t}\r\n\tpublic renderInsurenceList() {\r\n\t\t//var date: any = document.getElementsByClassName(\"dval\")[0];\r\n\t\t//if (this.props.addInsurance.InsuredDOB != \"\") {\r\n\t\t//\tthis.props.addInsurance.InsuredDOB = dateFormat(this.props.addInsurance.InsuredDOB);\r\n\t\t//\tif (date != null)\r\n\t\t//\t\tdate.value = this.props.addInsurance.InsuredDOB;\r\n\t\t//}\r\n\t\t//var expdate: any = document.getElementsByClassName(\"expdate\")[0];\r\n\t\t//if (this.props.addInsurance.ExpiryDate != \"\") {\r\n\t\t//\tthis.props.addInsurance.ExpiryDate = dateFormat(this.props.addInsurance.ExpiryDate);\r\n\t\t//\tif (expdate != null)\r\n\t\t//\t\texpdate.value = this.props.addInsurance.ExpiryDate;\r\n\t\t//}\r\n\t\t_insurance = this.props.addInsurance;\r\n\t\tconst queryParams = new URLSearchParams(window.location.search);\r\n\t\tvar id = queryParams.get('id');\r\n\t\tvar memberid = queryParams.get('memberid');\r\n\t\t//if (Moment(this.props.addInsurance.InsuredDOB).format('MM/DD/YYYY') == \"Invalid date\")\r\n\t\t//\tthis.props.addInsurance.InsuredDOB = \"\";\r\n\t\t//else\r\n\t\t/*this.props.addInsurance.InsuredDOB = dateFormatSetting(this.props.addInsurance.InsuredDOB);*/\r\n\t\t//console.log(this.props.addInsurance.InsuredDOB)\r\n\t\t//if (Moment(this.props.addInsurance.ExpiryDate).format('MM/DD/YYYY') == \"Invalid date\")\r\n\t\t//\tthis.props.addInsurance.ExpiryDate = \"\";\r\n\t\t//else\r\n\t\t/*this.props.addInsurance.ExpiryDate = dateFormatSetting(this.props.addInsurance.ExpiryDate);*/\r\n\r\n\t\t\r\n\t\tconst insurancetype = this.props.categories.filter((ca: any) => ca.group == \"Insurance Type\");\r\n\t\tif (id) {\r\n\t\t\tvar localLocation = insurancename == \"\" || insurancename == null ? \"\" : insurancename;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlocalLocation = \"\" ;\r\n }\r\n\t\t\r\n\t\tconst insurance = this.props.InsuranceAutoCompletes;\r\n\t\t//console.log(insurance, \"insurance\")\r\n\t\tconst isLoading = this.props.isinsuranceLoading;\r\n\t\tconst onSearch = this._handleSearch;\r\n\t\tconst onChangeMethod = this._handleOnChange;\r\n\t\tvar doblimit: any = this.props.Settings.filter((s: any) => s.name == \"Allowed User DOB Range\")[0];\r\n\t\tvar _doblimit: any = 0;\r\n\t\tif (doblimit != undefined) {\r\n\t\t\t_doblimit = doblimit.customizeValue;\r\n\t\t} else {\r\n\t\t\t_doblimit = 0;\r\n\t\t}\r\n\t\t//console.log(_insurance, \"_insurance\")\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t
    \r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t
    \r\n\t\t\t
    \r\n\r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t);\r\n\t}\r\n}\r\nconst mapDispatchToProps = ({ ...DashboardNavStore.actionCreators, ...LoginStore.actionCreators, ...ProfileStore.actionCreators, ...CategoryStore.actionCreators, ...InsuranceAutoCompleStore.actionCreators, ...documentStore.actionCreators, ...AddInsuranceStore.actionCreators, ...documentUploadStore.actionCreators, ...AccountStore.actionCreators, ...LanguageResourcesStore.actionCreators});\r\nconst mapStateToProps = (state: ApplicationState) => {\r\n\tlocalStorage.setItem(\"InsuredDOB\", (_insurance.InsuredDOB == null) || (_insurance.InsuredDOB == \"\") ? \"\" : _insurance.InsuredDOB)\r\n\tlet values = {\r\n\t\tinitialValues: _insurance,\r\n\t\t...state.dashboardNav, ...state.login, ...state.profile, ...state.category, ...state.insuranceAutoCompletes, ...state.documentlist, ...state.addInsurance, ...state.documentupload, ...state.account, ...state.langResources\r\n\t};\r\n\treturn values;\r\n\r\n}\r\nexport default connect(mapStateToProps, mapDispatchToProps)(reduxForm({\r\n\tform: 'addInsurance',\r\n\tenableReinitialize: true,\r\n})(AddInsurence as any))\r\n\r\n\r\n const date_Format_Setting = (value: any) => {\r\n\t//console.log(value)\r\n\tif (value != null) {\r\n\t\tvar format: any = localStorage.getItem(\"DateFormat\");\r\n\t\tMoment.locale();\r\n\t\tif (value == \"Invalid date\" || value == \"Fecha inválida\") {\r\n\t\t\treturn \"\"\r\n\t\t}\r\n\t\tvar ad = new Date(value);\r\n\t\tvar date = Moment(ad).format(format);\r\n\t\t//var date = Moment(value, \"YYYY-MM-DDTHH:mm:ss\").format(format);\r\n\t\tif (date == \"Invalid date\" || date == \"Fecha inválida\") {\r\n\t\t\treturn value;\r\n\t\t} else {\r\n\t\t\treturn date;\r\n\t\t}\r\n\t} else {\r\n\t\treturn \"\";\r\n\t}\r\n\r\n}\r\n","import * as React from 'react';\r\nimport { RouteComponentProps } from 'react-router';\r\nimport { connect } from 'react-redux';\r\nimport { ApplicationState } from '../../store/index';\r\nimport * as DashboardNavStore from '../../store/menu/DashboardNav';\r\nimport * as ProfileStore from '../../store/patient/ProfileSettings';\r\nimport * as InsuranceAutoCompleStore from '../../store/autoComplete/insurance';\r\nimport * as LoginStore from '../../store/account/Login';\r\nimport * as HandleRequest from '../../helper/Request';\r\nimport * as CategoryStore from '../../store/siteaccount/Category';\r\nimport * as AddInsuranceStore from '../../store/insurance/addInsurance';\r\nimport * as AccountStore from '../../store/siteaccount/Account';\r\nimport DashboardNavMenu from '../../components/layout/menu/DashboardNav'\r\nimport ContactForm from '../widget/ContactForm';\r\nimport 'react-bootstrap-typeahead/css/Typeahead.css';\r\nimport { datepickerJS, floatingJS, floatJS, dobcheck, mobnav } from '../../helper/Script';\r\nimport { seo } from '../../helper/Script';\r\nimport { Field, reduxForm } from 'redux-form';\r\nimport { renderDob, renderExpDob, renderField, renderInsuranceautoComplete, renderInsuranceSelectField, renderInsurenceDob, renderSelectField } from '../../helper/renderfield';\r\nimport { dateFormat, getAge, required, dateFormatSetting } from '../../helper/formvalidation';\r\nimport * as documentStore from '../../store/library/document/DocumentList';\r\nimport * as documentUploadStore from '../../store/library/document/DocumentUpload';\r\nimport DocumentList from '../library/document/DocumentList';\r\nimport DocumentUpload from '../library/document/DocumentUpload';\r\nimport InsurenceForm from '../Insurence/Form';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport Moment from 'moment';\r\nimport HeaderDrProfile from '../widget/HeaderDrProfile';\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\nvar _insurance: any = {};\r\ntype ProfileProps =\r\n\tProfileStore.ProfileState & LoginStore.LoginState & CategoryStore.CategoryState & InsuranceAutoCompleStore.InsuranceAutoCompleteState & documentStore.DocumentListsState & AddInsuranceStore.AddInsuranceState & documentUploadStore.DocumentUploadState & HandleRequest.Request & AccountStore.AccountState & LanguageResourcesStore.LanguageResouresState & typeof ProfileStore.actionCreators & typeof CategoryStore.actionCreators & typeof InsuranceAutoCompleStore.actionCreators & typeof documentStore.actionCreators & typeof AddInsuranceStore.actionCreators & typeof documentUploadStore.actionCreators & typeof AccountStore.actionCreators & typeof LanguageResourcesStore.actionCreators &\r\n\tRouteComponentProps<{}>;\r\nvar insuranceid: any = \"\";\r\nvar insurancename: any = \"\";\r\nvar insureddob: any = \"\";\r\nvar expdate: any = \"\";\r\nvar insurancenameChange: any = \"\";\r\nvar languagecontent: any = \"\";\r\nclass InsurenceAdd extends React.PureComponent {\r\n\ttextInput = React.createRef();\r\n\tonSubmit = (formValues: any) => {\r\n\t\t/* Validation for Insurance name and Id -- start by Arun */\r\n\t\tvar age: any = getAge(formValues.dob);\r\n\t\tvar doblimit: any = this.props.Settings.filter((s: any) => s.name == \"Allowed User DOB Range\")[0];\r\n\t\tif (formValues.Id == \"\") {\r\n\t\t\t\r\n\t\t\tformValues.VerificationStatusId = null;\r\n\t\t\tformValues.VerificationStatus = null;\r\n\t\t\tformValues.PlatformType = \"CP\";\r\n\t\t}\r\n\t\telse {\r\n\t\t\tformValues.VerificationStatusId = null;\r\n\t\t\tformValues.VerificationStatus = null;\r\n\t\t\tformValues.PlatformType = \"CP\";\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\t//console.log(age);\r\n\t\tif (doblimit.customizeValue >= age) {\r\n\t\t\treturn toastr.error('', 'Age should be above ' + doblimit.customizeValue + ' years');\r\n\t\t}\r\n\t\tif (formValues.InsuranceId == _insurance.InsuranceId) {\r\n\t\t\tformValues.InsuranceId = _insurance.InsuranceId == \"\" ? insuranceid : _insurance.InsuranceId;\r\n\t\t\tformValues.DocIds = this.props.docIds;\r\n\t\t\t//formValues.StatusId = \"1\";\r\n\t\t\tthis.props.postInsurance(formValues,\"\",\"1\");\r\n\t\t}\r\n\t\telse {\r\n\t\t\tthis.props.requestInsurance(formValues.InsuranceId)\r\n\t\t\tconst insuranceFilter = this.props.InsuranceAutoCompletes.filter(function (value) {\r\n\t\t\t\treturn value;\r\n\t\t\t})\r\n\t\t\t//console.log(insuranceFilter, \"insuranceFilter\", formValues.InsuranceId)\r\n\t\t\tif (insuranceFilter.length > 0) {\r\n\t\t\t\t//console.log(insuranceFilter.length, \"length\")\r\n\t\t\t\tformValues.InsuranceId = insuranceid;\r\n\t\t\t\tformValues.DocIds = this.props.docIds;\r\n\t\t\t\t//formValues.StatusId = \"1\";\r\n\t\t\t\tthis.props.postInsurance(formValues,\"\",\"1\");\r\n\t\t\t}\r\n\t\t\telse {\r\n\t\t\t\treturn toastr.error('', 'Please select valid insurance name');\r\n\t\t\t}\r\n\t\t}\r\n\t\t/* Validation for Insurance name and Id -- end by Arun */\r\n\t}\r\n\t\r\n\tcomponentDidMount() {\r\n\t\tseo({\r\n\t\t\ttitle: 'Insurance',\r\n\t\t\tpageTitle: 'Insurance',\r\n\t\t\tdescription: ''\r\n\t\t});\r\n\t\tinsurancename = localStorage.getItem(\"InsuranceName\");\r\n\t\tinsureddob = localStorage.getItem(\"InsuredDOB\");\r\n\t\texpdate = localStorage.getItem(\"ExpiryDate\");\r\n\t\tconst script = document.createElement(\"script\");\r\n\t\tscript.src = \"/Theme/Doccure/admin/assets/js/script.js\";\r\n\t\tscript.async = true;\r\n\t\tdocument.body.appendChild(script);\r\n\t\tfloatingJS();\r\n\t\tdatepickerJS();\r\n\t\tdobcheck(\"\", \"\");\r\n\t\tmobnav();\r\n\t\t//var dobchk = \"\";\r\n\r\n\r\n\t\t//if (insureddob == null)\r\n\t\t//\tdobcheck(dobcheck(dateFormat(this.props.addInsurance.InsuredDOB), dobchk));\r\n\t\t//else\r\n\t\t//\tdobcheck(dobcheck(dateFormat(insureddob), dobchk));\r\n\r\n\t\t//if (expdate == null)\r\n\t\t//\tdobcheck(dobcheck(dateFormat(this.props.addInsurance.InsuredDOB), dobchk));\r\n\t\t//else\r\n\t\t//\tdobcheck(dobcheck(dateFormat(expdate), dobchk));\r\n\r\n\t\tthis.ensureDataFetched()\r\n\t}\r\n\r\n\tcomponentDidUpdate() {\r\n\t\tseo({\r\n\t\t\ttitle: 'Insurance',\r\n\t\t\tpageTitle: 'Insurance',\r\n\t\t\tdescription: ''\r\n\t\t});\r\n\t}\r\n\r\n\tpublic _handleSearch = (query: any) => {\r\n\t\tthis.props.requestInsurance(query);\r\n\t}\r\n\tpublic _handleOnChange = (selected: any) => {\r\n\t\t//console.log(selected, \"selected\")\r\n\t\tselected.map((value: any) => {\r\n\t\t\tinsuranceid = value.Id;\r\n\t\t})\r\n\t}\r\n\tprivate ensureDataFetched() {\r\n\t\tthis.props.getCategory();\r\n\t\tconst queryParams = new URLSearchParams(window.location.search);\r\n\t\tvar id = queryParams.get('id');\r\n\t\tvar memberid = queryParams.get('memberid');\r\n\t\tif (id != null) {\r\n\t\t\tthis.props.getSingleInsurance(id);\r\n\t\t\tthis.props.requestDocumentLists(memberid, \"Patient Document\");\r\n\t\t}\r\n\t}\r\n\tpublic render() {\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{this.renderInsurenceList()}\r\n\t\t\t\r\n\t\t);\r\n\t}\r\n\tgoBack = () => {\r\n\t\tthis.props.goBackInsurance();\r\n\t}\r\n\tpublic renderInsurenceList() {\r\n\t\t//var date: any = document.getElementsByClassName(\"dval\")[0];\r\n\t\t//if (this.props.addInsurance.InsuredDOB != \"\") {\r\n\t\t//\tthis.props.addInsurance.InsuredDOB = dateFormat(this.props.addInsurance.InsuredDOB);\r\n\t\t//\tif (date != null)\r\n\t\t//\t\tdate.value = this.props.addInsurance.InsuredDOB;\r\n\t\t//}\r\n\t\t//var expdate: any = document.getElementsByClassName(\"expdate\")[0];\r\n\t\t//if (this.props.addInsurance.ExpiryDate != \"\") {\r\n\t\t//\tthis.props.addInsurance.ExpiryDate = dateFormat(this.props.addInsurance.ExpiryDate);\r\n\t\t//\tif (expdate != null)\r\n\t\t//\t\texpdate.value = this.props.addInsurance.ExpiryDate;\r\n\t\t//}\r\n\t\tconst queryParams = new URLSearchParams(window.location.search);\r\n\t\tvar id = queryParams.get('id');\r\n\t\tvar memberid = queryParams.get('memberid');\r\n\t\t//if (Moment(this.props.addInsurance.InsuredDOB).format('MM/DD/YYYY') == \"Invalid date\")\r\n\t\t//\tthis.props.addInsurance.InsuredDOB = \"\";\r\n\t\t//else\r\n\t\t//this.props.addInsurance.InsuredDOB = dateFormatSetting(this.props.addInsurance.InsuredDOB);\r\n\r\n\t\t//if (Moment(this.props.addInsurance.ExpiryDate).format('MM/DD/YYYY') == \"Invalid date\")\r\n\t\t//\tthis.props.addInsurance.ExpiryDate = \"\";\r\n\t\t//else\r\n\t\t//this.props.addInsurance.ExpiryDate = dateFormatSetting(this.props.addInsurance.ExpiryDate);\r\n\r\n\t\t_insurance = this.props.addInsurance;\r\n\t\tconst insurancetype = this.props.categories.filter((ca: any) => ca.group == \"Insurance Type\");\r\n\t\tif (id) {\r\n\t\t\tvar localLocation = insurancename == \"\" || insurancename == null ? \"\" : insurancename;\r\n\t\t}\r\n\t\telse {\r\n\t\t\tlocalLocation = \"\";\r\n\t\t}\r\n\r\n\t\tconst insurance = this.props.InsuranceAutoCompletes;\r\n\t\t//console.log(insurance, \"insurance\")\r\n\t\tconst isLoading = this.props.isinsuranceLoading;\r\n\t\tconst onSearch = this._handleSearch;\r\n\t\tconst onChangeMethod = this._handleOnChange;\r\n\t\tvar doblimit: any = this.props.Settings.filter((s: any) => s.name == \"Allowed User DOB Range\")[0];\r\n\t\tvar _doblimit: any = 0;\r\n\t\tif (doblimit != undefined) {\r\n\t\t\t_doblimit = doblimit.customizeValue;\r\n\t\t} else {\r\n\t\t\t_doblimit = 0;\r\n\t\t}\r\n\t\t//console.log(_insurance, \"_insurance\")\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t
    \r\n\t\t\t\t\t
    \r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t
    \r\n\t\t\t\t\t\t\t
    \r\n\t\t\t\t
    \r\n\t\t\t
    \r\n\t\t);\r\n\t}\r\n}\r\nconst mapDispatchToProps = ({ ...DashboardNavStore.actionCreators, ...LoginStore.actionCreators, ...ProfileStore.actionCreators, ...CategoryStore.actionCreators, ...InsuranceAutoCompleStore.actionCreators, ...documentStore.actionCreators, ...AddInsuranceStore.actionCreators, ...documentUploadStore.actionCreators, ...AccountStore.actionCreators, ...LanguageResourcesStore.actionCreators});\r\nconst mapStateToProps = (state: ApplicationState) => {\r\n\tlocalStorage.setItem(\"InsuredDOB\", (_insurance.InsuredDOB == null) || (_insurance.InsuredDOB == \"\") ? \"\" : _insurance.InsuredDOB)\r\n\tlet values = {\r\n\t\tinitialValues: _insurance,\r\n\t\t...state.dashboardNav, ...state.login, ...state.profile, ...state.category, ...state.insuranceAutoCompletes, ...state.documentlist, ...state.addInsurance, ...state.documentupload, ...state.account, ...state.langResources\r\n\t};\r\n\treturn values;\r\n\r\n}\r\nexport default connect(mapStateToProps, mapDispatchToProps)(reduxForm({\r\n\tform: 'addInsurance',\r\n\tenableReinitialize: true,\r\n})(InsurenceAdd as any))\r\n\r\n\r\n\r\nconst date_Format_Setting = (value: any) => {\r\n\t\r\n\tif (value != null) {\r\n\t\tvar format: any = localStorage.getItem(\"DateFormat\");\r\n\t\tMoment.locale();\r\n\t\tif (value == \"Invalid date\" || value == \"Fecha inválida\") {\r\n\t\t\treturn \"\"\r\n\t\t}\r\n\t\tvar ad = new Date(value);\r\n\t\tvar date = Moment(ad).format(format);\r\n\t\t//var date = Moment(value, \"YYYY-MM-DDTHH:mm:ss\").format(format);\r\n\t\tif (date == \"Invalid date\" || date == \"Fecha inválida\") {\r\n\t\t\treturn value;\r\n\t\t} else {\r\n\t\t\treturn date;\r\n\t\t}\r\n\t} else {\r\n\t\treturn \"\";\r\n\t}\r\n\r\n}\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { seo } from '../../helper/Script';\r\nimport * as HandleRequest from '../../helper/Request';\r\nimport { NavLink, RouteComponentProps } from 'react-router-dom';\r\nimport { Field, reduxForm } from 'redux-form';\r\nimport { ApplicationState } from '../../store';\r\nimport HeaderDrProfile from '../widget/HeaderDrProfile';\r\nimport * as PharmacyStateList from '../../store/pharmacy/StateList';\r\nimport * as PharmacyListState from '../../store/pharmacy/PharmacyList';\r\nimport * as ContactStoreState from '../../store/patient/Contact';\r\nimport * as PaymentProcessStore from '../../store/payment/PaymentProcess';\r\nimport {floatingJS} from '../../helper/Script';\r\nimport Pagination from \"react-js-pagination\";\r\nimport ContentLoader from 'react-content-loader';\r\nimport { renderField, renderInsuranceSelectField, renderStateSelectField } from '../../helper/renderfield';\r\nimport { toastr } from 'react-redux-toastr';\r\nimport * as LanguageResourcesStore from '../../store/LanguageResoures';\r\nimport { scrollTop, setTittle } from '../../helper/formvalidation';\r\nimport { TextBoxLoader } from '../../helper/fbloader';\r\ntype Props = RouteComponentProps & PharmacyStateList.PharmacyStateListState & PharmacyListState.PharmacyListState & ContactStoreState.ContactState & PaymentProcessStore.PaymentProcessState & LanguageResourcesStore.LanguageResouresState & typeof PharmacyStateList.actionCreators & typeof ContactStoreState.actionCreators & typeof PharmacyListState.actionCreators & typeof PaymentProcessStore.actionCreators & typeof LanguageResourcesStore.actionCreators & HandleRequest.Request;\r\nvar pharmacyid: any = \"\";\r\nvar languagecontent: any = \"\";\r\nvar _city: any = \"-\";\r\nvar _state: any = \"-\";\r\nvar langdata: any = \"\";\r\nclass PharmacyList extends React.PureComponent {\r\n onSubmit = (formValues: any) => {\r\n this.setState({\r\n state: \"\",\r\n city: \"\",\r\n zipcode: \"\",\r\n isShow: false,\r\n ishowPreferred: true\r\n });\r\n this.setState({\r\n isShow: false\r\n });\r\n _state = (formValues.State == undefined) || (formValues.State == \"\") ? \"-\" : formValues.State;\r\n _city = (formValues.City == undefined) || (formValues.City == \"\") ? \"-\" : formValues.City;\r\n this.props.requestPharmacyList((formValues.State == undefined) || (formValues.State == \"\") ? \"-\" : formValues.State, (formValues.City == undefined) || (formValues.City == \"\") ? \"-\" : formValues.City, (formValues.Zipcode == \"\") || (formValues.Zipcode == undefined) ? \"-\" : formValues.Zipcode, \"15\", \"0\", \"\");\r\n }\r\n constructor(props:any) {\r\n super(props);\r\n }\r\n state = {\r\n state: \"\",\r\n city: \"\",\r\n zipcode: \"\",\r\n activePage: 1,\r\n activePagecount: 15,\r\n currentPagecount: 1,\r\n isShow: true,\r\n ishowPreferred: false\r\n }\r\n public componentDidMount() {\r\n this.setState({\r\n state: \"\",\r\n city: \"\",\r\n zipcode: \"\",\r\n isShow: true,\r\n ishowPreferred: false\r\n });\r\n floatingJS();\r\n this.ensureDataFetched();\r\n scrollTop();\r\n }\r\n componentDidUpdate() {\r\n seo(setTittle(languagecontent == \"\" ? \"\" : languagecontent['breadcrumb']));\r\n }\r\n handlePageChange(pageNumber: any) {\r\n var page = (pageNumber * 15) - 15;\r\n var pagenumber = page + 1\r\n this.setState({ activePage: pageNumber, activePagecount: pageNumber * 15, currentPagecount: pagenumber });\r\n this.props.requestPharmacyList(_state, _city, \"-\", \"15\", pageNumber.toString(), \"\");\r\n }\r\n private ensureDataFetched() {\r\n this.props.getLangResources();\r\n this.props.requestPharmacyStateList(\"5df899ad-540e-4902-a12b-fd460cc1dd3d\");\r\n /*this.props.requestPharmacyList(\"-\", \"-\", \"-\", \"15\", \"0\", \"\");*/\r\n if (localStorage.getItem(\"LangResourcesValidations\") != null)\r\n langdata = JSON.parse(localStorage.getItem(\"LangResourcesValidations\") || \"\");\r\n }\r\n public render() {\r\n return (\r\n \r\n {this.PharmacyList()}\r\n \r\n );\r\n }\r\n selectPharmacyName = (value: any) => {\r\n pharmacyid = value.Id;\r\n }\r\n selectState = (e: any) => {\r\n this.state.state = e.target.value\r\n \r\n }\r\n procced = () => {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const memberid = urlParams.get('memberid');\r\n pharmacyid = pharmacyid == \"\" ? this.props.contact.pharmacyId == \"00000000-0000-0000-0000-000000000000\" && this.props.contact.pharmacyName == \"\" ? \"\" : this.props.contact.pharmacyId : pharmacyid;\r\n if (pharmacyid == \"\") {\r\n toastr.error('', languagecontent['selectpharmacy']);\r\n } else {\r\n this.props.requestPharmacyPost(memberid, pharmacyid);\r\n }\r\n }\r\n reset = () => {\r\n pharmacyid = \"\";\r\n this.props.requestReset();\r\n this.setState({\r\n state: \"\",\r\n city: \"\",\r\n zipcode: \"\",\r\n isShow: true,\r\n ishowPreferred: false\r\n });\r\n }\r\n public PharmacyList() {\r\n languagecontent = this.props.LanguageResoures;\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const type = urlParams.get('type');\r\n var pharmacyLists: any = [];\r\n pharmacyLists = this.props.pharmacyList.PharmacyModel;\r\n if (type == \"profile\")\r\n var isloading: any = false;\r\n else\r\n var isloading: any = this.props.isPaymentProcessLoading ? true : this.props.isLoadingPharmacyList;\r\n return (\r\n \r\n
    \r\n
    \r\n {\r\n type == 'profile' ? \"\" : \r\n }\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    {languagecontent['pharmacydescription']}
    \r\n
    \r\n
    \r\n
    \r\n {\r\n languagecontent['state'] == undefined ? :\r\n
    \r\n this.selectState(e)} className=\"form-control\" />\r\n \r\n
    \r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n {languagecontent['or']}\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n this.props.contact.pharmacyName == \"\" ? \"\" :\r\n \r\n }\r\n \r\n \r\n {\r\n this.props.contact.pharmacyName == \"\" && pharmacyLists.length == 0 ? \"\" :\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n }\r\n
    \r\n
    \r\n
    \r\n\r\n )\r\n }\r\n}\r\nconst mapDispatchToProps = ({ ...PharmacyStateList.actionCreators, ...PharmacyListState.actionCreators, ...ContactStoreState.actionCreators, ...PaymentProcessStore.actionCreators, ...LanguageResourcesStore.actionCreators });\r\nconst mapStateToProps = (state: ApplicationState) => {\r\n let values = {\r\n ...state.pharmacyStateLists, ...state.pharmacyLists, ...state.contact, ...state.paymentProcess, ...state.langResources\r\n };\r\n return values;\r\n}\r\nexport default connect(mapStateToProps, mapDispatchToProps)(reduxForm({\r\n form: 'searchPharmacyList',\r\n enableReinitialize: true,\r\n})(PharmacyList as any))\r\n\r\n\r\n","import * as React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { NavLink, RouteComponentProps } from 'react-router-dom';\r\nimport { seo } from '../../../helper/Script';\r\nimport { ApplicationState } from '../../../store/index';\r\nimport * as NavDefaultStore from '../../../store/menu/NavDefault';\r\ntype Props = NavDefaultStore.NavDefaultState & typeof NavDefaultStore.actionCreators & RouteComponentProps;\r\nclass DocumentViewClass extends React.PureComponent {\r\n constructor(props: any) {\r\n super(props);\r\n }\r\n public componentDidMount() {\r\n seo({\r\n title: 'Dcoument View',\r\n pageTitle: '',\r\n description: ''\r\n })\r\n }\r\n componentDidUpdate() {\r\n seo({\r\n title: 'Dcoument View',\r\n pageTitle: '',\r\n description: ''\r\n })\r\n }\r\n\r\n public render() {\r\n return (\r\n \r\n {this.DocumentView()}\r\n \r\n );\r\n }\r\n bookNow = () => {\r\n this.props.goNextPage()\r\n }\r\n public DocumentView() {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const filePath: any = urlParams.get('url');\r\n const contenttype: any = urlParams.get('contenttype');\r\n return (\r\n
    \r\n
    \r\n
    \r\n {/*
    */}\r\n {/*
    */}\r\n {/*