{"version":3,"sources":["modules/Patients/strings.ts","shared/utils/useTestEnvironmentPath.ts","shared/hooks/useAuth.ts","shared/services/Msal.ts","shared/services/Api.ts","modules/Home/strings.ts","modules/Home/store/actions.ts","modules/Home/store/reducer.ts","modules/Home/index.ts","modules/Home/routes.ts","modules/RecentAuthorizations/routes.ts","modules/RecentAuthorizations/store/reducer.ts","modules/RecentAuthorizations/index.ts","modules/ProviderDirectory/routes.ts","modules/ProviderDirectory/store/reducer.ts","modules/ProviderDirectory/index.ts","modules/PatientAssignments/routes.ts","modules/PatientAssignments/store/reducer.ts","modules/PatientAssignments/index.ts","modules/Resources/routes.ts","modules/Resources/strings.ts","modules/Resources/store/actions.ts","modules/Resources/store/reducer.ts","modules/Resources/index.ts","modules/Patients/routes.ts","modules/Patients/store/reducer.ts","modules/Patients/index.ts","modules/UserAccount/store/reducer.ts","modules/UserAccount/routes.ts","modules/UserAccount/index.ts","modules/AdminPanel/store/reducer.ts","modules/AdminPanel/routes.ts","modules/AdminPanel/index.ts","modules/EOB/store/reducer.ts","modules/EOB/routes.ts","modules/EOB/index.ts","modules/DCEPatientRoster/store/reducer.ts","modules/DCEPatientRoster/routes.ts","modules/DCEPatientRoster/index.ts","modules/TrainingVideos/routes.ts","modules/TrainingVideos/strings.ts","modules/TrainingVideos/store/actions.ts","modules/TrainingVideos/store/reducer.ts","modules/TrainingVideos/index.ts","modules/HeathPlanReports/store/reducer.ts","modules/HeathPlanReports/routes.ts","modules/HeathPlanReports/index.ts","modules/index.ts","modules/Patients/store/selectors.ts","shared/store/auth/selectors.ts","modules/ProviderDirectory/store/selectors.ts","shared/images/logo.svg","shared/components/Logo/Logo.style.ts","shared/components/Logo/Logo.tsx","modules/DCEPatientRoster/store/selectors.ts","shared/components/Loader/index.ts","modules/AdminPanel/store/services.ts","modules/AdminPanel/store/actions.ts","modules/AdminPanel/store/selectors.ts","shared/store/auth/services.ts","modules/UserAccount/store/services.ts","modules/Patients/store/services.ts","shared/types/data.ts","modules/RecentAuthorizations/store/selectors.ts","modules/EOB/store/selectors.ts","modules/RecentAuthorizations/store/services.ts","config/theme/props.ts","config/theme/palette.ts","config/theme/overrides.ts","config/theme/typography.ts","config/theme/index.ts","shared/components/Loader/Loader.style.ts","shared/components/Loader/Loader.tsx","modules/ProviderDirectory/store/services.ts","modules/PatientAssignments/store/selectors.ts","modules/HeathPlanReports/store/selectors.ts","shared/components/Loadable/ErrorHandler.tsx","shared/components/Loadable/ErrorBoundary.tsx","shared/components/Loadable/Loadable.tsx","shared/components/PrivateRoute.tsx","config/jwt.ts","shared/store/auth/actions.ts","shared/types/enums.ts","modules/EOB/store/services.ts","config/colors.ts","shared/utils/config.ts","modules/AdminPanel/strings.ts","shared/services/Auth.ts","shared/store/auth/reducer.ts","shared/store/auth/index.ts","shared/store/index.ts","shared/routes.ts","app/Main.tsx","shared/components/TestBarWithData/TestBarWithData.style.ts","shared/components/TestBarWithData/TestBarWithData.tsx","shared/components/Maintenance/Maintenance.style.ts","shared/components/Maintenance/Maintenance.tsx","app/App.tsx","reportWebVitals.ts","index.tsx","modules/ProviderDirectory/store/actions.ts","modules/UserAccount/store/actions.ts","modules/RecentAuthorizations/strings.ts","modules/ProviderDirectory/strings.ts","modules/RecentAuthorizations/store/actions.ts","modules/UserAccount/strings.ts","modules/DCEPatientRoster/store/services.ts","modules/DCEPatientRoster/store/actions.ts","config/i18n.ts","config/index.ts","shared/strings.ts","modules/EOB/store/actions.ts","modules/PatientAssignments/strings.ts","shared/types/index.ts","modules/DCEPatientRoster/strings.ts","config/google-analytics.ts","modules/PatientAssignments/store/services.ts","modules/PatientAssignments/store/actions.ts","modules/Patients/store/actions.ts","modules/EOB/strings.ts","modules/HeathPlanReports/store/services.ts","modules/HeathPlanReports/store/actions.ts","modules/HeathPlanReports/strings.ts","config/paths.ts","modules/UserAccount/store/selectors.ts"],"names":["LineOfBusiness","MODULE_NAME","MMN","FCMG","useTestEnvironmentPath","hostName","window","location","host","includes","useAuth","isAuthenticated","Auth","Msal","msalObject","lineOfBusiness","localStorage","getItem","this","msal","msalConfig","msalConfigFCMG","getAllAccounts","accountId","getAccountByHomeId","getActiveAccount","account","setActiveAccount","loginPopup","msalLoginRequest","loginRedirect","handleRedirectPromise","logoutRequest","logoutPopup","acquireTokenPopup","forceRefresh","acquireTokenSilent","msalTokenRequest","instance","Api","api","axios","create","baseURL","config","API_URL","configFCMG","interceptors","request","use","headers","Authorization","getToken","response","getInstance","homeAccountId","getSilentToken","then","idToken","setToken","catch","clear","replace","paths","login","error","Promise","reject","status","googleAnalytics","clearUserId","doSomethingAsync","createAsyncThunk","resolve","setTimeout","initialState","something","loading","LoadingStatus","Idle","createReducer","builder","addCase","pending","state","Pending","fulfilled","action","payload","Succeeded","rejected","Failed","message","moduleConfig","name","reducer","routes","addBasePath","path","label","title","Icon","HomeIcon","exact","component","Loadable","RecentActorsIcon","loadingFilters","loadingList","loadingDetails","recentAuthFilters","requestedProviders","referringProviders","recentAuthList","currentPage","pageSize","sortingColumnName","sortingDirection","results","totalResults","recentAuthDetails","fetchRecentAuthFilters","fetchRecentAuthList","fetchRecentAuthHealthPlanList","fetchRecentAuthDetails","push","removeRecentAuthorizationDetails","filter","element","authorizationNumber","FolderSharedIcon","providersList","associatedProvidersList","referringProvidersList","providerDetailsList","loadingData","isDataFetched","subTableLoading","providersFilters","specialties","counties","cities","fetchProvidersFilters","fetchProvidersList","resetProvidersList","fetchProvidersListReferring","fetchProviderDetails","removeProviderDetails","id","fetchAssociatedProvidersList","fetchReferringProvidersList","AssignmentIcon","membersList","membersFiltersPoviders","providerLastName","providerFirstName","membersPayorsFilters","fetchProvidersMembersFilters","dataWithId","map","item","index","temporaryId","fetchPayorsMembersFilters","fetchMembersList","LiveHelpIcon","navDisplay","loadingPatientData","selectedPatientId","selectedPatientSpecialKey","patientTreatingRelationship","selectedPatientData","shortId","firstName","lastName","middleName","dateOfBirth","healthPlanCode","gender","specialKey","terminationDate","pcpFirstName","pcpLastName","isMeritagePatient","isClinicalRecordAvailable","patientsList","currentPatient","patientId","patientShortId","healthPlan","healthPlanName","eligibilityStart","eligibilityTermination","benefitOption","employerGroup","phoneNumber","providerFullName","pcpStartDate","addressFirstLine","addressSecondLine","city","zip","riskPool","primaryCareProvID","patientServices","serviceCategory","copayAmount","patientsTreatingRelationship","claimSubTableLoading","componentID","labsSubTableLoading","radiologySubTableLoading","transcriptionsSubTableLoading","authorizationSubTableLoading","authorizationsList","memberFirstName","memberLastName","requestedProvider","referringProvider","requested","finalized","claimsList","claimNumber","dateReceived","datePaid","providerName","organizationName","dateOfService","labsList","messageControlId","sendingFacility","procedureDate","reportName","claimDetails","labsDetails","authorizationDetails","pathologyList","reportType","pathologist","currentAuthorizationRequestsStep","serviceRequestsList","serviceRequestsListLoading","diagnosisList","diagnosisListLoading","placeOfServiceList","newAuthorizationRequest","validFrom","validFromTimeRange","validTo","retroDate","clinicalIndication","placeOfService","numberOfVisits","urgent","diagnoses","code","description","services","quantity","serviceTypeCode","patient","memberID","phone","fullName","fax","street","newAuthReqStatus","rxList","transcriptionsList","admitDate","dischargeDate","transcriptionsDetails","radiologyList","radiologyDetails","issueReportLoading","issueReportSubmitted","isReportSubmitted","authHealPlanType","isAuthRetroactive","isBabylon","behavioralProgram","fetchPatients","fetchPatientById","fetchPatientTreatingRelationship","setTreatingRelation","fetchPatientServices","fetchClaimsData","fetchClaimDetails","removeClaimDetails","fetchPathologyData","setSelectedPatientId","setSelectedPatientSpecialKey","setSelectedPatientData","fetchAuthorizationsData","fetchAuthorizationDetails","removeAuthorizationDetails","setCurrentAuthorizationRequestsStep","fetchServiceRequestsList","fetchDiagnosisList","fetchPlaceOfServiceCodes","createNewAuthorizationRequest","searchRxList","fetchTranscriptionsData","fetchTranscriptionsDetails","removeTranscriptionsDetails","fetchLabsData","fetchLabsDetails","removeLabsDetails","fetchRadiologyData","fetchRadiologyDetails","removeRadiologyDetails","createIssueReport","reportSubmittedAction","checkAuthHealthPlanType","setAuthHealthPlanTypeToDefault","setAuthRetroactiveStatus","resetBabylonCheck","checkIfBabylon","initialUserInfo","userName","email","supervisorFullName","supervisorEmail","taxIdOrNationalProviderId","profilePhotoUri","taxIds","cozeva","sentToCozeva","isAdmin","securityLevel","healthPlanCodes","lastSurveyDate","associatedOrganizations","userInfo","fetchLoading","imageLoading","saveDataLoading","modifyImageProcessLoading","addProfilePhoto","removeProfilePhoto","changeProfilePhoto","fetchUserInfoData","Date","getTime","saveUserPhoneFaxChanges","adminAuthRequestsList","showPast","acceptanceStatus","dateRequested","supervisorPhone","remindersCount","lastReminderSentAt","rowIndex","processedAt","adminAuthRequestsFetched","adminAuthRequestsLoading","approveOrDenyRequestLoading","approveOrDenyRequestFetched","adminUsersAndOrganizations","active","lastActive","adminUsersFetched","adminUsersLoading","adminUserEditLoadingStatus","adminUserEditFetchedStatus","editedUserInfo","lastLogin","accessLevel","editedUserInfoLoading","editedUserInfoFetched","expandedAdminUser","page","orderBy","userOrganizations","approved","approvedBy","modified","modifiedBy","loginCount","verified","expandedUserDataLoading","expandedUserDataFetched","listOfUserOrganizations","organizationShortId","orgName","taxId","listOfUserOrganizationsLoading","organizationActionFetched","listOfAdminSupervisors","listOfAdminSupervisorsLoading","addNewUserResponsePayload","addNewUserFetched","editUserRejectPayload","healthPlanCodesList","healthPlanCodeAndName","addNewUserLoading","verificationEmailResentLoading","verificationEmailResentRejected","importUsersResult","migratedUsers","password","usersAlreadyExistEmails","importUsersResultLoading","importUsersResultFetched","surveyAnalytics","experience","rating","numOfUsers","easyToUse","expectations","easyToFindInfo","proposals","proposalText","createdDate","feedbacksCount","surveyAnalyticsLoading","getAuthorizations","approveAuthorizationRequest","denyAuthorizationRequest","getAdminUsers","resetAdminUsersList","editAdminUser","resetEditUserRejectPayload","getAdminUserByUserName","getListOfUserOrganizations","addNewOrg","deleteUserOrg","getAdminSupervisors","addNewUser","getListOfHealthPlanCodes","setUserAdded","resendVerificationEmail","importUsers","resetUsersImportedStatus","fetchSurveyAnalytics","ManageAccountsIcon","loadingEOBData","isEOBDataFetched","eobList","checkNumber","orgID","EOBListItemDetails","paidTotal","allowTotal","billedTotal","checkNo","eobDetails","billingProviders","primaryCareProviderListItem","itemNo","memberFullName","accountNo","memberClaims","claimNo","cptCode","cptDescr","qty","billed","allowed","copay","deductible","coinsurance","net","adjCodeDescr","EOBListItemDetailsLoading","EOBListItemDetailsFetched","EOBOrgsList","fetchEOBData","fetchEOBListItemDetails","fetchEOBOrgs","dceRosterData","memberShortId","pcpEffectiveDate","suffix","dceRosterDataLoading","dceRosterDataFetched","dceProviderList","dceCompatible","dceProviderListLoading","fetchDCERosterData","fetchDCEProviders","resetDceProvidersList","fetchDCEAccessCheck","Assignment","OndemandVideoIcon","healthPlanReportsList","frequency","uri","healthPlanReportsListLoading","healthPlanReportsListFetched","fetchHealthPlanReportsList","AssignmentTurnedInIcon","home","RecentAuthorizations","ProviderDirectory","PatientAssignments","Patients","UserAccount","EOB","DCE","AdminPanel","PhysicianResources","TrainingVideos","HealthPlanReports","reducers","getPatientsData","getPatientsDataLoading","getPatientsIsDataFetched","getPatientDataLoading","getPatientsTreatignRelationshipDataLoading","getPatientsTreatignRelationshipDataFetched","getSelectedPatientId","getSelectedPatientSpecialKey","getPatientTreatingRelationship","getSelectedPatientData","getEligibilityPatientDataById","getClaimsListData","getClaimDetails","getClaimsSubTableLoading","getClaimsSubTableIsDataFetched","getLabsListData","getLabsDetails","getLabsSubTableLoading","getLabsSubTableIsDataFetched","getPatientServices","getPatientServicesLoading","getPatientServicesIsDataFetched","getAuthorizationsListData","getAuthorizationDetails","getPathologyListData","getAuthorizationsSubTableLoading","getCurrentAuthorizationRequestsStep","getServiceRequestsList","getServiceRequestsListLoading","getDiagnosisList","getDiagnosisListLoading","getPlaceOfServiceList","getNewAuthRequest","getNewAuthReqStatus","getRxList","getTranscriptionsListData","getTranscriptionsDetails","getTranscriptionsSubTableLoading","getTranscriptionsSubTableIsDataFetched","getRadiologyListData","getRadiologyDetails","getRadiologySubTableLoading","getRadiologySubTableIsDataFetched","getIssueReportLoading","getAuthHealthPlanType","getAuthRetroactiveStatus","getIsBabylon","getRegisterFormStatus","shared","auth","getRegisterLoading","getRegisterIsDataFetched","getRegisterIsSomethingGetsWrong","isSomethingGetsWrong","getIsRegistrationSetPasswordSucceed","isRegistrationSetPasswordSucceed","getRegistrationRequestUserData","registrationRequestUserData","getCozevaLink","cozevaLink","getSurveyLoading","surveyLoading","getSurveyFetched","surveyFetched","getProvidersFilters","getProvidersList","getAssociatedProvidersList","getReferringProvidersList","getProviderDetailsList","getDataLoading","getIsDataFetched","getSubTableLoading","getSubTableIsDataFetched","LogoWrapper","styled","theme","textAlign","marginBottom","width","maxWidth","StyledHealthPlanLabel","color","colors","font","blue","fontWeight","fontSize","background","boxShadow","borderRadius","padding","lineHeight","letterSpacing","white","margin","cursor","display","flexDirection","alignItems","fontFamily","StyledHealthPlanLineOfBusiness","lightBlueHover","paddingTop","StyledFCMGLabel","useLogoStyles","makeStyles","navigationLogo","marginTop","paddingLeft","paddingRight","Logo","brandLabel","isNavigation","isMaintenance","classes","getUsername","href","userSecurityLevel","HEALTH_PLAN_ACCESS","className","data-cy","src","logo","alt","getDCEListData","dceDataLoading","dceDataFetched","getDCEProviderList","getDCEProviderListLoading","getDCECompatible","appConfig","API","requestConfig","params","sortByColumn","order","get","data","accountRequestId","put","includeDeletedAccounts","username","orgTaxId","taxID","post","delete","createdBy","userId","migrationList","formData","FormData","append","days","validation","a","getListOfAuthorizations","toggleShowPastRequests","createAction","getUsersAndRelatedOrganizations","getUserByUserName","rejectWithValue","Message","file","fetchAdminAnalytics","azureUserSync","getAdminAuthRequestsList","getAdminAuthRequestsLoadingStatus","getAdminAuthRequestsFetchedStatus","getAdminApproveDenyLoadingStatus","getAdminApproveDenyFetchedStatus","getAdminUsersAndOrganizations","getAdminUsersLoadingStatus","getAdminUsersFetchedStatus","getEditAdminUsersFetchedStatus","getEditAdminUsersRejectPayload","getEditAdminUsersLoadingStatus","getExpandedUserData","getExpandedUserDataLoading","getUserOrganizations","getUserOrganizationsLoading","getUserOrgStatus","getListOfAdminSupervisors","getAddNewUserRejectPayload","getAddNewUserFetched","getAddNewUserLoading","getListOfHealthPlans","getVerificationEmailResentLoading","getVerificationEmailResentRejected","getImportUsersLoadingStatus","getImportUsersFetchedStatus","getImportedUsersResults","getSurveyAnalytics","AuthApi","Number","supervisorId","toString","module","issueDescription","attachment","isFeedbackGiven","UserAccountApi","formDataAdd","PatientsApi","direction","fromSingleDb","patientID","responseOption","requestBody","responseIfOther","claimID","authorizationID","patientHealthPlanCode","responseType","SortByColumn","diagnosisCodes","serviceRequestCodesAndQuantites","isUrgent","additionalNotes","supportingDocumentation","formOfDocumentation","isSupportingDocumentationAndPCPVisitMandatory","user","isRetro","retroAuthDate","diagnose","forEach","service","addressSequence","faxNumber","res","CurrentPage","PageSize","SortingDirection","htmlStr","newHtmlData","toUpperCase","moment","format","DATE_FORMAT","outputHTML","modifyDetailsTabHtml","transcriptionId","blob","Blob","type","objectUrl","URL","createObjectURL","url","company","referringToProvider","PhoneNumberMask","validEmail","RegExp","getRecentAuthFilters","getRecentAuthList","getRecentAuthLoadingFiltersStatus","getRecentAuthLoadingListStatus","getRecentAuthLoadingDetailsStatus","getRecentAuthDetails","getEOBListData","getEOBListDataLoading","getEOBListDataFetched","getEOBListItemDetails","getEOBListItemDetailsLoading","getEOBListOrgs","RecentAuthorizationApi","FileName","props","MuiTextField","fullWidth","variant","palette","primary","main","secondary","text","black","darkBlue","success","createPalette","overrides","MuiTab","root","orange","MuiCssBaseline","body","backgroundColor","from","transform","opacity","to","borderColor","decoration","transition","border","size","height","overflow","MuiOutlinedInput","input","MuiFilledInput","MuiInputBase","position","MuiTableSortLabel","fill","darkGrey","icon","iconDirectionDesc","iconDirectionAsc","MuiTableCell","alignRight","footer","MuiTablePagination","selectRoot","tertiary","toolbar","MuiSelect","MuiFormHelperText","top","right","MuiPickersDay","day","daySelected","button","current","MuiCheckbox","colorSecondary","MuiPaper","rounded","typography","h1","h2","h3","createMuiTheme","enUS","Container","justifyContent","spacing","useLoaderStyles","buttonColor","pageLoader","buttonLoader","Loader","typeCointainerClass","CircularProgress","ProviderDirectionApi","Boolean","length","specialtiesCount","join","replaceAll","getSpecialtiesString","providerID","officeType","showAssociation","userAssociation","UserName","Specialty","specialty","City","ContractType","contractType","ShowAssociation","nationalProviderShortId","getMembersList","getHealthPlanReportsList","getReportsLoading","getReportsFetched","ErrorHandler","reset","t","useTranslation","Box","Alert","severity","Button","onClick","AlertTitle","ErrorBoundary","componentDidCatch","errorInfo","console","setState","render","children","errorHandler","DefaultErrorHandler","Component","getDerivedStateFromError","loader","errorBoundaryProps","lazy","componentProps","fallback","PrivateRoute","useSelector","getUserInfo","setItem","decode","token","jwtDecode","oid","parseJwt","base64","split","jsonPayload","decodeURIComponent","atob","c","charCodeAt","slice","JSON","parse","handleRedirectResponse","idTokenClaims","setUserId","jwt","parsedIdToken","extension_UserName","setUsername","_","register","setRegistrationEmail","createAccount","request_sent_successfully","request_sent_fail","logout","acceptRegistrationRequest","request_link_expired","denyRegistrationRequest","request_denied","verifyEmail","createUser","getUserDataForRegistrationRequest","getCozeva","submitSurvey","UpdateIsUserActiveAndLoginCount","updateUserActiveStatus","EOBApi","rowsPerPage","el","lightBlue","homePageComponent","gradientFirst","gradientSecond","imgGradient","imgHomepageGradient","table","bgPrimary","bgSecondary","navigation","backgroud","backgroundHover","backgroundActive","fontHover","fontActive","grey","lightGrey","red","lightGreen","hover","header","gradient","start","middle","end","whiteBlue","mediumGrey","rowActiveBg","lightBorder","scrollBarColor","scrollColor","disable","lightOrange","green","subTable","headBackground","rowBackground","navActive","icons","positive","negative","changeImage","blueBg","redBg","DATE_FORMAT_WITH_TIME","basePath","route","API_TOKEN_FIELD","API_USERNAME_FIELD","API_ACTIVE_ACCOUNT_FIELD","API_REGISTRATION_EMAIL_FIELD","registrationStatus","accessToken","apiRegistrationError","errorStatus","cozevaLinkFetched","store","actions","selectors","combineReducers","registration","request_accepted","request_deny","set_password","Main","dispatch","useDispatch","useEffect","Bar","left","zIndex","TestBarWithData","useState","actualDate","setActualDate","intervalID","setInterval","clearTimeout","Banner","flex","minWidth","maxHeight","alignSelf","DownTimeText","UrgentSubmissions","Wrapper","Grid","Title","Typography","useFormStyles","maintenanceFooter","flexGrow","maintenanceDescription","techSupportText","fontWight","contactHeaders","marginLeft","Maintenance","style","history","createBrowserHistory","configureStore","App","maintenanceStartDate","maintenanceEndDate","getIsMaintenance","now","setIsMaintenance","interval","clearInterval","isTestEnv","initialize","listen","setPage","pathname","ThemeProvider","CssBaseline","sharedRoutes","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","i18n","init","ReactDOM","document","getElementById","ProviderDirectoryApi","searchProviders","searchProvidersReferring","searchProviderDetails","searchAssociatedProviders","searchReferringProviders","removeAssociatedProvider","addAssociatedProvider","NORTHBAY_MEDICAL","searchRecentAuthFilters","fetchRecentAuthFiltersForHP","searchRecentAuthFiltersForHP","searchRecentAuthList","searchRecentAuthHealthPlanList","searchRecentAuthDetails","fetchRecentAuthFiles","PCPLastName","PcpLastName","PatientId","searchValue","getDCEPatientRosters","arg","getDCEPatientProvidersList","dceAccessCheck","i18next","Backend","initReactI18next","lng","fallbackLng","interpolation","escapeValue","backend","loadPath","process","clientId","authority","knownAuthorities","redirectUri","cache","cacheLocation","storeAuthStateInCookie","scopes","ADMIN_ACCESS","REGULAR_ACCESS","SPECIAL_ACCESS","NBA","CV","INPATIENT_HOSPITAL_CODE","SKILLED_NURSING_FACILITY_CODE","COMPREHENSIVE_INPATIENT_REHAB_FACILITY_CODE","searchEOBList","getEOBItemDetails","getEOBOrgs","userAccount","NBA_GA4_TRACKING_ID","CV_GA4_TRACKING_ID","HP_GA4_TRACKING_ID","match","undefined","usersToExcludeGA","initializeSelectedOrg","ReactGA","set","ga4","initializeGA","sendEvent","category","event","sendGA4Login","fireLoginEvent","gtag","some","excludeUser","isInitialized","sendGAEvent","eventSelector","searchProvidersMembersFilters","searchPayorsMembersFilters","searchMembers","searchPatients","searchClaimsList","searchClaimDetails","searchLabsDetails","searchLabsData","searchAuthorizationDetails","searchAuthorizationsList","searchPathologyList","setTreatingRelationForPatient","searchPatientById","searchPatientServices","searchServiceRequestsList","searchDiagnosisList","fetchPlaceOfServiceList","searchTranscriptionsList","searchTranscriptionsDetails","searchRadiologyDetails","searchRadiologyData","isAuthRequiredForCpt","departmentType","DepartmentType","Frequency","getListOfHealthPlanReports","authorizations","provider","reports","raf","assignments","resources","getUserAccount","getUserInfoStatus"],"mappings":"sIAAA,wIAAO,IAIKA,EAJCC,EAAc,WACdC,EAAM,2BACNC,EAAO,8B,SAERH,O,aAAAA,I,gBAAAA,M,uCCJZ,kCAAO,IAAMI,EAAyB,WACpC,IAAMC,EAAWC,OAAOC,SAASC,KAEjC,OACEH,EAASI,SAAS,QAClBJ,EAASI,SAAS,UAClBJ,EAASI,SAAS,e,+ECJTC,EAAU,iBAAO,CAAEC,gBAAiBC,IAAKD,qB,qPCOhDE,E,WAIJ,aAAuB,yBAFfC,gBAEc,EACpB,IAAMC,EAAiBT,OAAOU,aAAaC,QAAQ,kBAEnDC,KAAKJ,WAAa,IAAIK,IACpBJ,IAAmBb,IAAMkB,IAAaC,K,kDAkB1C,WACE,OAAOH,KAAKJ,WAAWQ,mB,gCAGzB,SACEC,GAEA,OAAKA,EACEL,KAAKJ,WAAWU,mBAAmBD,GADnB,O,8BAIzB,WACE,OAAOL,KAAKJ,WAAWW,qB,8BAGzB,SAAwBF,GACtB,IAAMG,EAAUR,KAAKM,mBAAmBD,GACpCG,GACFR,KAAKJ,WAAWa,iBAAiBD,K,wBAIrC,WACE,OAAOR,KAAKJ,WAAWc,WAAWC,O,2BAGpC,WACEX,KAAKJ,WAAWgB,kB,mCAIlB,WACE,OAAOZ,KAAKJ,WAAWiB,0B,gEAGzB,WAAyBC,GAAzB,0FACSd,KAAKJ,WAAWmB,YAAYD,IADrC,gD,kFAIA,WACE,OAAOd,KAAKJ,WAAWoB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AD,OAAsBA,EAAM6Z,YAAYpK,UAKtDs1B,EAAoB,SAAC/kC,GAAD,OAC/BA,EAAM6Z,YAAYnK,gB","file":"static/js/main.4e092e92.chunk.js","sourcesContent":["export const MODULE_NAME = 'Patients'\nexport const MMN = 'Meritage Medical Network'\nexport const FCMG = 'First Choice Medical Group'\n\nexport enum LineOfBusiness {\n MMN = 1,\n FCMG = 2\n}","export const useTestEnvironmentPath = () => {\n const hostName = window.location.host\n\n return (\n hostName.includes('dev') ||\n hostName.includes('stage') ||\n hostName.includes('localhost')\n )\n}\n","import { Auth } from 'shared/services'\n\nexport const useAuth = () => ({ isAuthenticated: Auth.isAuthenticated() })\n","import * as msal from '@azure/msal-browser'\nimport {\n msalConfig,\n msalConfigFCMG,\n msalLoginRequest,\n msalTokenRequest,\n} from 'config'\nimport { MMN } from 'modules/Patients/strings'\n\nclass Msal {\n private static instance: Msal\n private msalObject: msal.PublicClientApplication\n\n private constructor() {\n const lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\n\n this.msalObject = new msal.PublicClientApplication(\n lineOfBusiness === MMN ? msalConfig : msalConfigFCMG\n )\n }\n\n public static renewInstance(): Msal {\n Msal.instance = new Msal()\n\n return Msal.instance\n }\n\n public static getInstance(): Msal {\n if (!Msal.instance) {\n Msal.instance = new Msal()\n }\n\n return Msal.instance\n }\n\n public getAllAccounts() {\n return this.msalObject.getAllAccounts()\n }\n\n public getAccountByHomeId(\n accountId: string | undefined\n ): msal.AccountInfo | null {\n if (!accountId) return null\n return this.msalObject.getAccountByHomeId(accountId)\n }\n\n public getActiveAccount(): msal.AccountInfo | null {\n return this.msalObject.getActiveAccount()\n }\n\n public setActiveAccount(accountId: string | undefined): void {\n const account = this.getAccountByHomeId(accountId)\n if (account) {\n this.msalObject.setActiveAccount(account)\n }\n }\n\n public loginPopup(): Promise {\n return this.msalObject.loginPopup(msalLoginRequest)\n }\n\n public loginRedirect(): void {\n this.msalObject.loginRedirect()\n }\n\n // Add the handleRedirectPromise method\n public handleRedirectPromise(): Promise {\n return this.msalObject.handleRedirectPromise()\n }\n\n public async logoutPopup(logoutRequest: any): Promise {\n return this.msalObject.logoutPopup(logoutRequest)\n }\n\n public getTokenPopup(): Promise {\n return this.msalObject.acquireTokenPopup(msalLoginRequest)\n }\n\n public getSilentToken(\n forceRefresh = false\n ): Promise {\n return this.msalObject.acquireTokenSilent({\n ...msalTokenRequest,\n forceRefresh,\n })\n }\n}\n\nexport default Msal\n","import axios, { AxiosInstance } from 'axios'\nimport { config, configFCMG } from 'config'\nimport googleAnalytics from 'config/google-analytics'\nimport Auth from './Auth'\nimport Msal from './Msal'\nimport paths from 'config/paths'\nconst lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\nconst MMN = 'Meritage Medical Network'\n\nclass Api {\n public api: AxiosInstance\n\n constructor() {\n this.api = axios.create({\n baseURL: lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL,\n })\n this.api.interceptors.request.use(\n config => {\n config.headers = {\n ...config.headers,\n Authorization: `Bearer ${Auth.getToken()}`,\n }\n\n // Refresh token\n const response = Msal.getInstance().getAllAccounts()\n\n if (response[0]?.homeAccountId) {\n Msal.getInstance().setActiveAccount(response[0].homeAccountId)\n Auth.setActiveAccount(response[0].homeAccountId)\n\n Msal.getInstance()\n .getSilentToken()\n .then(({ idToken }) => {\n Auth.setToken(idToken)\n })\n .catch(() => {\n localStorage.clear()\n window.location.replace(paths.login)\n })\n }\n\n return config\n },\n error => {\n return Promise.reject(error)\n }\n )\n\n this.api.interceptors.response.use(\n response => response,\n error => {\n if (error.response.status === 401 || error.response.status === 403) {\n googleAnalytics.clearUserId()\n localStorage.clear()\n window.location.replace(paths.login)\n } else {\n return Promise.reject(error)\n }\n }\n )\n }\n}\n\nexport default Api\n","export const MODULE_NAME = 'Home'\n","import { createAsyncThunk } from '@reduxjs/toolkit'\nimport { MODULE_NAME } from '../strings'\n\nexport const doSomethingAsync = createAsyncThunk(\n `${MODULE_NAME}/doSomethingAsync`,\n () =>\n new Promise(resolve =>\n setTimeout(() => resolve('Done'), 1000),\n ) as Promise,\n)\n","import { createReducer } from '@reduxjs/toolkit'\nimport { LoadingStatus } from 'shared/types'\nimport { doSomethingAsync } from './actions'\n\ninterface State {\n something: string\n loading: LoadingStatus\n error?: string | null\n}\n\nconst initialState: State = {\n something: '',\n loading: LoadingStatus.Idle,\n error: null,\n}\n\nexport default createReducer(initialState, builder =>\n builder\n .addCase(doSomethingAsync.pending, state => {\n state.loading = LoadingStatus.Pending\n state.error = null\n })\n .addCase(doSomethingAsync.fulfilled, (state, action) => {\n state.something = action.payload\n state.loading = LoadingStatus.Succeeded\n state.error = null\n })\n .addCase(doSomethingAsync.rejected, (state, action) => {\n state.loading = LoadingStatus.Failed\n state.error = action.error.message\n }),\n)\n","import { Module } from 'shared/types'\nimport { reducer } from './store'\nimport { MODULE_NAME } from './strings'\nimport routes from './routes'\n\nconst moduleConfig: Module = {\n name: MODULE_NAME,\n reducer,\n routes,\n}\n\nexport default moduleConfig\n","import HomeIcon from '@material-ui/icons/Home'\nimport { Loadable } from 'shared/components'\nimport { ModuleRoute } from 'shared/types'\nimport { addBasePath } from 'shared/utils'\n\nexport const BASE_PATH = '/'\n\nconst routes = addBasePath(BASE_PATH, [\n {\n path: '/',\n label: 'navigation.home',\n title: 'Home',\n Icon: HomeIcon,\n exact: true,\n component: Loadable({\n component: () => import('./containers/Home'),\n }),\n },\n])\n\nexport default routes\n","import { Loadable } from 'shared/components'\nimport { ModuleRoute } from 'shared/types'\nimport { addBasePath } from 'shared/utils'\nimport RecentActorsIcon from '@material-ui/icons/RecentActors'\n\nexport const BASE_PATH = '/'\n\nconst routes = addBasePath(BASE_PATH, [\n {\n path: '/authorizations',\n label: 'navigation.authorizations',\n title: 'Recent Authorizations',\n Icon: RecentActorsIcon,\n exact: true,\n component: Loadable({\n component: () => import('./containers/RecentAuthorizations'),\n }),\n },\n])\n\nexport default routes\n","import { createReducer } from '@reduxjs/toolkit'\nimport { LoadingStatus } from 'shared/types'\nimport {\n fetchRecentAuthFilters,\n fetchRecentAuthList,\n fetchRecentAuthDetails,\n removeRecentAuthorizationDetails,\n fetchRecentAuthHealthPlanList,\n} from './actions'\nimport { RecentAuthFilters, RecentAuthList } from '../types/data'\nimport { AuthorizationDetails } from 'shared/types/data'\n\ninterface State {\n loading: LoadingStatus\n loadingFilters: LoadingStatus\n loadingList: LoadingStatus\n loadingDetails: LoadingStatus\n error?: string | null\n recentAuthFilters: RecentAuthFilters\n recentAuthList: RecentAuthList\n recentAuthDetails: AuthorizationDetails[]\n}\n\nconst initialState: State = {\n loading: LoadingStatus.Idle,\n loadingFilters: LoadingStatus.Idle,\n loadingList: LoadingStatus.Idle,\n loadingDetails: LoadingStatus.Idle,\n error: null,\n recentAuthFilters: {\n requestedProviders: [],\n referringProviders: [],\n },\n recentAuthList: {\n currentPage: 1,\n pageSize: 10,\n sortingColumnName: '',\n sortingDirection: 0,\n results: [],\n totalResults: 0,\n },\n recentAuthDetails: [],\n}\n\nexport default createReducer(initialState, builder =>\n builder\n .addCase(fetchRecentAuthFilters.pending, state => {\n state.loadingFilters = LoadingStatus.Pending\n state.error = null\n })\n .addCase(fetchRecentAuthFilters.fulfilled, (state, action) => {\n state.loadingFilters = LoadingStatus.Succeeded\n state.error = null\n state.recentAuthFilters = action.payload\n })\n .addCase(fetchRecentAuthFilters.rejected, (state, action) => {\n state.loadingFilters = LoadingStatus.Failed\n state.error = action.error.message\n state.recentAuthFilters = initialState.recentAuthFilters\n })\n .addCase(fetchRecentAuthList.pending, state => {\n state.loadingList = LoadingStatus.Pending\n state.error = null\n })\n .addCase(fetchRecentAuthList.fulfilled, (state, action) => {\n state.loadingList = LoadingStatus.Succeeded\n state.error = null\n state.recentAuthList = action.payload\n })\n .addCase(fetchRecentAuthList.rejected, (state, action) => {\n state.loadingList = LoadingStatus.Failed\n state.error = action.error.message\n state.recentAuthList = initialState.recentAuthList\n })\n .addCase(fetchRecentAuthHealthPlanList.pending, state => {\n state.loadingList = LoadingStatus.Pending\n state.error = null\n })\n .addCase(fetchRecentAuthHealthPlanList.fulfilled, (state, action) => {\n state.loadingList = LoadingStatus.Succeeded\n state.error = null\n state.recentAuthList = action.payload\n })\n .addCase(fetchRecentAuthHealthPlanList.rejected, (state, action) => {\n state.loadingList = LoadingStatus.Failed\n state.error = action.error.message\n state.recentAuthList = initialState.recentAuthList\n })\n .addCase(fetchRecentAuthDetails.pending, state => {\n state.loadingDetails = LoadingStatus.Pending\n state.error = null\n })\n .addCase(fetchRecentAuthDetails.fulfilled, (state, action) => {\n state.loadingDetails = LoadingStatus.Succeeded\n state.error = null\n state.recentAuthDetails.push(action.payload)\n })\n .addCase(fetchRecentAuthDetails.rejected, (state, action) => {\n state.loadingDetails = LoadingStatus.Failed\n state.error = action.error.message\n })\n .addCase(removeRecentAuthorizationDetails, (state, action) => {\n state.recentAuthDetails = state.recentAuthDetails.filter(\n element => element.authorizationNumber !== action.payload\n )\n })\n)\n","import { Module } from 'shared/types'\nimport routes from './routes'\nimport { reducer } from './store'\nimport { MODULE_NAME } from './strings'\n\nconst moduleConfig: Module = {\n name: MODULE_NAME,\n reducer,\n routes,\n}\n\nexport default moduleConfig\n","import FolderSharedIcon from '@material-ui/icons/FolderShared'\nimport { Loadable } from 'shared/components'\nimport { ModuleRoute } from 'shared/types'\nimport { addBasePath } from 'shared/utils'\n\nexport const BASE_PATH = '/'\n\nconst routes = addBasePath(BASE_PATH, [\n {\n path: '/provider',\n label: 'navigation.provider',\n title: 'Provider Directory',\n Icon: FolderSharedIcon,\n exact: true,\n component: Loadable({\n component: () => import('./containers/ProviderDirectory'),\n }),\n },\n])\n\nexport default routes\n","import { createReducer } from '@reduxjs/toolkit'\nimport { LoadingStatus } from 'shared/types'\nimport { ProviderListPayload, ProviderDetails } from '../types/data'\nimport {\n fetchProvidersFilters,\n fetchProvidersList,\n fetchProviderDetails,\n removeProviderDetails,\n fetchAssociatedProvidersList,\n fetchReferringProvidersList,\n resetProvidersList,\n fetchProvidersListReferring,\n} from './actions'\nimport {\n AssociatedProviderListPayload,\n ReferringProviderItem,\n} from '../../Patients/components/AuthorizationRequestsTab/ReferringProvider/ReferringProvider.utils'\n\ninterface State {\n something: string\n loading: LoadingStatus\n error?: string | null\n providersList: ProviderListPayload\n associatedProvidersList: AssociatedProviderListPayload\n referringProvidersList: ReferringProviderItem[]\n providerDetailsList: ProviderDetails[]\n loadingData: boolean\n isDataFetched: boolean\n subTableLoading: {\n loadingData: boolean\n isDataFetched: boolean\n }\n providersFilters: {\n specialties: string[]\n counties: string[]\n cities: { cityName: string; countyName: string[] }[]\n }\n}\n\nconst initialState: State = {\n something: '',\n loading: LoadingStatus.Idle,\n error: null,\n providersList: {\n currentPage: 0,\n pageSize: 0,\n sortingColumnName: null,\n results: [],\n totalResults: 0,\n },\n associatedProvidersList: {\n currentPage: 0,\n pageSize: 0,\n sortingColumnName: null,\n results: [],\n totalResults: 0,\n },\n referringProvidersList: [],\n providerDetailsList: [],\n loadingData: true,\n isDataFetched: false,\n subTableLoading: {\n loadingData: true,\n isDataFetched: false,\n },\n providersFilters: {\n specialties: [],\n counties: [],\n cities: [],\n },\n}\n\nexport default createReducer(initialState, builder =>\n builder\n .addCase(fetchProvidersFilters.fulfilled, (state, action) => {\n state.providersFilters = action.payload\n })\n .addCase(fetchProvidersList.pending, (state, action) => {\n state.loadingData = true\n state.isDataFetched = false\n })\n .addCase(fetchProvidersList.fulfilled, (state, action) => {\n state.loadingData = false\n state.providersList = action.payload\n state.isDataFetched = true\n })\n .addCase(fetchProvidersList.rejected, (state, action) => {\n state.loadingData = false\n state.isDataFetched = false\n })\n .addCase(resetProvidersList, state => {\n state.providersList = {\n currentPage: 0,\n pageSize: 0,\n sortingColumnName: null,\n results: [],\n totalResults: 0,\n }\n })\n\n .addCase(fetchProvidersListReferring.pending, (state, action) => {\n state.loadingData = true\n state.isDataFetched = false\n })\n .addCase(fetchProvidersListReferring.fulfilled, (state, action) => {\n state.loadingData = false\n state.providersList = action.payload\n state.isDataFetched = true\n })\n .addCase(fetchProvidersListReferring.rejected, (state, action) => {\n state.loadingData = false\n state.isDataFetched = false\n })\n\n .addCase(fetchProviderDetails.pending, (state, action) => {\n state.subTableLoading.loadingData = true\n state.subTableLoading.isDataFetched = false\n })\n .addCase(fetchProviderDetails.fulfilled, (state, action) => {\n state.subTableLoading.loadingData = false\n state.providerDetailsList.push(action.payload)\n state.subTableLoading.isDataFetched = true\n })\n .addCase(fetchProviderDetails.rejected, (state, action) => {\n state.subTableLoading.loadingData = false\n state.subTableLoading.isDataFetched = false\n })\n .addCase(removeProviderDetails, (state, action) => {\n state.providerDetailsList = state.providerDetailsList.filter(\n element => element.id !== action.payload\n )\n })\n .addCase(fetchAssociatedProvidersList.pending, (state, action) => {\n state.loadingData = true\n state.isDataFetched = false\n })\n .addCase(fetchAssociatedProvidersList.fulfilled, (state, action) => {\n state.loadingData = false\n state.associatedProvidersList = action.payload\n state.isDataFetched = true\n })\n .addCase(fetchAssociatedProvidersList.rejected, (state, action) => {\n state.loadingData = false\n state.isDataFetched = false\n })\n\n .addCase(fetchReferringProvidersList.pending, (state, action) => {\n state.loadingData = true\n state.isDataFetched = false\n })\n .addCase(fetchReferringProvidersList.fulfilled, (state, action) => {\n state.referringProvidersList = action.payload\n })\n .addCase(fetchReferringProvidersList.rejected, (state, action) => {\n state.loadingData = false\n state.isDataFetched = false\n })\n)\n","import { Module } from 'shared/types'\nimport routes from './routes'\nimport { reducer } from './store'\nimport { MODULE_NAME } from './strings'\n\nconst moduleConfig: Module = {\n name: MODULE_NAME,\n reducer,\n routes,\n}\n\nexport default moduleConfig\n","import { Loadable } from 'shared/components'\nimport { ModuleRoute } from 'shared/types'\nimport { addBasePath } from 'shared/utils'\nimport AssignmentIcon from '@material-ui/icons/HowToReg'\n\nexport const BASE_PATH = '/'\n\nconst routes = addBasePath(BASE_PATH, [\n {\n path: '/assignments',\n label: 'navigation.assignments',\n title: 'Patient Assignments',\n Icon: AssignmentIcon,\n exact: true,\n component: Loadable({\n component: () => import('./containers/PatientAssignments'),\n }),\n },\n])\n\nexport default routes\n","import { createReducer } from '@reduxjs/toolkit'\nimport { ProviderMembersFilterItem, MembersListPayload } from '../types/data'\nimport {\n fetchProvidersMembersFilters,\n fetchMembersList,\n fetchPayorsMembersFilters,\n} from './actions'\n\ninterface State {\n membersList: MembersListPayload\n loadingData: boolean\n isDataFetched: boolean\n membersFiltersPoviders: ProviderMembersFilterItem[]\n membersPayorsFilters: string[]\n}\n\nconst initialState: State = {\n membersList: {\n currentPage: 0,\n pageSize: 0,\n sortingColumnName: null,\n results: [],\n totalResults: 0,\n },\n loadingData: true,\n isDataFetched: false,\n membersFiltersPoviders: [\n {\n providerLastName: '',\n providerFirstName: '',\n },\n ],\n membersPayorsFilters: [],\n}\n\nexport default createReducer(initialState, builder =>\n builder\n .addCase(fetchProvidersMembersFilters.fulfilled, (state, action) => {\n const dataWithId = action.payload.map(\n (item: ProviderMembersFilterItem, index: number) => {\n item.temporaryId = index + 1\n return item\n }\n )\n state.membersFiltersPoviders = dataWithId\n })\n .addCase(fetchPayorsMembersFilters.fulfilled, (state, action) => {\n state.membersPayorsFilters = action.payload\n })\n .addCase(fetchMembersList.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n })\n .addCase(fetchMembersList.fulfilled, (state, action) => {\n state.loadingData = false\n state.membersList = action.payload\n state.isDataFetched = true\n })\n .addCase(fetchMembersList.rejected, (state, action) => {\n state.loadingData = false\n state.isDataFetched = false\n })\n)\n","import { Module } from 'shared/types'\nimport routes from './routes'\nimport { reducer } from './store'\nimport { MODULE_NAME } from './strings'\n\nconst moduleConfig: Module = {\n name: MODULE_NAME,\n reducer,\n routes,\n}\n\nexport default moduleConfig\n","import { Loadable } from 'shared/components'\nimport { ModuleRoute } from 'shared/types'\nimport { addBasePath } from 'shared/utils'\nimport LiveHelpIcon from '@material-ui/icons/MenuBook'\n\nexport const BASE_PATH = '/'\n\nconst routes = addBasePath(BASE_PATH, [\n {\n path: '/resources',\n label: 'navigation.resources',\n title: 'Resources',\n Icon: LiveHelpIcon,\n exact: true,\n component: Loadable({\n component: () => import('./containers/Resources'),\n }),\n },\n])\n\nexport default routes\n","export const MODULE_NAME = 'PhysicianResources'\n","import { createAsyncThunk } from '@reduxjs/toolkit'\nimport { MODULE_NAME } from '../strings'\n\nexport const doSomethingAsync = createAsyncThunk(\n `${MODULE_NAME}/doSomethingAsync`,\n () =>\n new Promise(resolve =>\n setTimeout(() => resolve('Done'), 1000)\n ) as Promise\n)\n","import { createReducer } from '@reduxjs/toolkit'\nimport { LoadingStatus } from 'shared/types'\nimport { doSomethingAsync } from './actions'\n\ninterface State {\n something: string\n loading: LoadingStatus\n error?: string | null\n}\n\nconst initialState: State = {\n something: '',\n loading: LoadingStatus.Idle,\n error: null,\n}\n\nexport default createReducer(initialState, builder =>\n builder\n .addCase(doSomethingAsync.pending, state => {\n state.loading = LoadingStatus.Pending\n state.error = null\n })\n .addCase(doSomethingAsync.fulfilled, (state, action) => {\n state.something = action.payload\n state.loading = LoadingStatus.Succeeded\n state.error = null\n })\n .addCase(doSomethingAsync.rejected, (state, action) => {\n state.loading = LoadingStatus.Failed\n state.error = action.error.message\n })\n)\n","import { Module } from 'shared/types'\nimport routes from './routes'\nimport { reducer } from './store'\nimport { MODULE_NAME } from './strings'\n\nconst moduleConfig: Module = {\n name: MODULE_NAME,\n reducer,\n routes,\n}\n\nexport default moduleConfig\n","import HomeIcon from '@material-ui/icons/Home'\nimport { Loadable } from 'shared/components'\nimport { ModuleRoute } from 'shared/types'\nimport { addBasePath } from 'shared/utils'\n\nexport const BASE_PATH = '/'\n\nconst routes = addBasePath(BASE_PATH, [\n {\n path: '/results',\n label: 'navigation.results',\n title: 'Search results',\n exact: true,\n component: Loadable({\n component: () => import('./containers/SearchResults'),\n }),\n navDisplay: false,\n },\n {\n path: 'results/profile',\n label: 'navigation.profile',\n title: \"Patient's profile\",\n exact: true,\n component: Loadable({\n component: () => import('./containers/PatientProfile'),\n }),\n navDisplay: false,\n },\n])\n\nexport default routes\n","import { createReducer } from '@reduxjs/toolkit'\nimport { LoadingStatus } from 'shared/types'\nimport { ReducerStatus } from 'shared/utils/reducerStatus'\nimport {\n setSelectedPatientId,\n removeClaimDetails,\n fetchClaimsData,\n fetchClaimDetails,\n fetchPatientById,\n fetchPatients,\n fetchPatientServices,\n fetchAuthorizationsData,\n fetchPatientTreatingRelationship,\n removeAuthorizationDetails,\n fetchAuthorizationDetails,\n setSelectedPatientData,\n setCurrentAuthorizationRequestsStep,\n fetchServiceRequestsList,\n fetchDiagnosisList,\n setTreatingRelation,\n fetchPlaceOfServiceCodes,\n fetchPathologyData,\n createNewAuthorizationRequest,\n searchRxList,\n fetchTranscriptionsData,\n fetchTranscriptionsDetails,\n removeTranscriptionsDetails,\n fetchLabsData,\n fetchLabsDetails,\n removeLabsDetails,\n fetchRadiologyData,\n fetchRadiologyDetails,\n removeRadiologyDetails,\n setSelectedPatientSpecialKey,\n checkAuthHealthPlanType,\n setAuthHealthPlanTypeToDefault,\n setAuthRetroactiveStatus,\n resetBabylonCheck,\n checkIfBabylon,\n} from './actions'\nimport {\n SearchPatientsPayload,\n ClaimsListPayload,\n ClaimDetailsPayload,\n PatientProfile,\n PatientService,\n Patient,\n ServiceRequestItem,\n DiagnosisItem,\n PlaceOfService,\n LabsListPayload,\n LabsDetailsPayload,\n RxList,\n TranscriptionsListPayload,\n TranscriptionsDetailsPayload,\n PathologyListPayload,\n AuthorizationsListPayload,\n RadiologyListPayload,\n RadiologyDetailsPayload,\n} from '../types/data'\nimport { AuthorizationDetails } from 'shared/types/data'\nimport {\n createIssueReport,\n reportSubmittedAction,\n} from 'shared/store/auth/actions'\n\ninterface State {\n something: string\n loading: LoadingStatus\n loadingPatientData: LoadingStatus\n error?: string | null\n patientsList: SearchPatientsPayload\n selectedPatientId: string | null\n selectedPatientSpecialKey: string | number | null\n patientTreatingRelationship: boolean\n selectedPatientData: Patient\n loadingData: boolean\n isDataFetched: boolean\n patientsTreatingRelationship: {\n loadingData: boolean\n isDataFetched: boolean\n }\n claimSubTableLoading: {\n loadingData: boolean\n componentID: string\n isDataFetched: boolean\n }\n labsSubTableLoading: {\n loadingData: boolean\n componentID: string\n isDataFetched: boolean\n }\n claimsList: ClaimsListPayload\n labsList: LabsListPayload\n claimDetails: ClaimDetailsPayload[]\n labsDetails: LabsDetailsPayload[]\n currentPatient: PatientProfile\n patientServices: PatientService[]\n authorizationSubTableLoading: LoadingStatus\n authorizationsList: AuthorizationsListPayload\n authorizationDetails: AuthorizationDetails[]\n pathologyList: PathologyListPayload\n currentAuthorizationRequestsStep: number\n serviceRequestsList: ServiceRequestItem[]\n serviceRequestsListLoading: boolean\n diagnosisList: DiagnosisItem[]\n diagnosisListLoading: boolean\n placeOfServiceList: PlaceOfService[]\n newAuthorizationRequest: AuthorizationDetails\n newAuthReqStatus: ReducerStatus\n rxList: RxList\n transcriptionsSubTableLoading: {\n loadingData: boolean\n componentID: string\n isDataFetched: boolean\n }\n transcriptionsList: TranscriptionsListPayload\n transcriptionsDetails: TranscriptionsDetailsPayload[]\n radiologySubTableLoading: {\n loadingData: boolean\n componentID: string\n isDataFetched: boolean\n }\n radiologyList: RadiologyListPayload\n radiologyDetails: RadiologyDetailsPayload[]\n issueReportLoading: {\n loadingData: boolean\n isDataFetched: boolean\n }\n issueReportSubmitted: {\n isReportSubmitted: boolean\n }\n authHealPlanType: number\n isAuthRetroactive: boolean | null\n isBabylon: { behavioralProgram: string }\n}\n\nconst initialState: State = {\n something: '',\n loading: LoadingStatus.Idle,\n loadingPatientData: LoadingStatus.Idle,\n error: null,\n selectedPatientId: null,\n selectedPatientSpecialKey: null,\n patientTreatingRelationship: false,\n selectedPatientData: {\n id: '',\n shortId: '',\n firstName: '',\n lastName: '',\n middleName: '',\n dateOfBirth: '',\n healthPlanCode: '',\n gender: '',\n specialKey: '',\n terminationDate: '',\n pcpFirstName: '',\n pcpLastName: '',\n isMeritagePatient: false,\n isClinicalRecordAvailable: false,\n },\n patientsList: {\n currentPage: 0,\n pageSize: 10,\n sortingColumnName: 'firstName',\n results: [\n {\n id: '',\n shortId: '',\n firstName: '',\n lastName: '',\n middleName: '',\n dateOfBirth: '',\n gender: '',\n healthPlanCode: '',\n specialKey: '',\n terminationDate: '',\n pcpFirstName: '',\n pcpLastName: '',\n isMeritagePatient: false,\n isClinicalRecordAvailable: false,\n },\n ],\n totalResults: 0,\n },\n currentPatient: {\n patientId: '',\n patientShortId: '',\n dateOfBirth: '',\n healthPlan: '',\n healthPlanName: '',\n eligibilityStart: '',\n eligibilityTermination: '',\n benefitOption: '',\n employerGroup: '',\n phoneNumber: '',\n providerFullName: '',\n pcpStartDate: '',\n addressFirstLine: '',\n addressSecondLine: '',\n city: '',\n state: '',\n zip: '',\n riskPool: '',\n primaryCareProvID: '',\n },\n patientServices: [\n {\n id: '',\n serviceCategory: '',\n copayAmount: 0,\n },\n ],\n loadingData: true,\n isDataFetched: false,\n patientsTreatingRelationship: {\n loadingData: true,\n isDataFetched: false,\n },\n claimSubTableLoading: {\n loadingData: true,\n componentID: '',\n isDataFetched: false,\n },\n labsSubTableLoading: {\n loadingData: true,\n componentID: '',\n isDataFetched: false,\n },\n radiologySubTableLoading: {\n loadingData: true,\n componentID: '',\n isDataFetched: false,\n },\n transcriptionsSubTableLoading: {\n loadingData: true,\n componentID: '',\n isDataFetched: false,\n },\n authorizationSubTableLoading: LoadingStatus.Idle,\n authorizationsList: {\n currentPage: 0,\n pageSize: 10,\n sortingColumnName: 'authorizationNumber',\n results: [\n {\n memberFirstName: '',\n memberLastName: '',\n authorizationNumber: '',\n requestedProvider: '',\n referringProvider: '',\n requested: '',\n finalized: '',\n status: '',\n },\n ],\n totalResults: 0,\n },\n claimsList: {\n currentPage: 0,\n pageSize: 10,\n sortingColumnName: 'firstName',\n results: [\n {\n claimNumber: '',\n status: '',\n dateReceived: '',\n datePaid: '',\n providerName: '',\n organizationName: '',\n dateOfService: '',\n },\n ],\n totalResults: 0,\n },\n labsList: {\n currentPage: 0,\n pageSize: 10,\n sortingColumnName: 'procedureDate',\n results: [\n {\n id: 0,\n messageControlId: '',\n sendingFacility: '',\n procedureDate: '',\n reportName: '',\n },\n ],\n totalResults: 0,\n sortingDirection: 1,\n },\n claimDetails: [],\n labsDetails: [],\n authorizationDetails: [],\n pathologyList: {\n currentPage: 0,\n pageSize: 10,\n sortingColumnName: 'procedureDate',\n sortingDirection: 'asc',\n results: [\n {\n specialKey: '',\n id: '',\n procedureDate: '',\n referringProvider: '',\n reportType: '',\n pathologist: '',\n },\n ],\n totalResults: 0,\n },\n currentAuthorizationRequestsStep: 1,\n serviceRequestsList: [],\n serviceRequestsListLoading: false,\n diagnosisList: [],\n diagnosisListLoading: false,\n placeOfServiceList: [],\n newAuthorizationRequest: {\n authorizationNumber: '',\n requested: '',\n finalized: '',\n validFrom: '',\n validFromTimeRange: '',\n validTo: '',\n retroDate: '',\n status: '',\n clinicalIndication: '',\n placeOfService: '',\n numberOfVisits: 0,\n urgent: '',\n diagnoses: [\n {\n code: '',\n description: '',\n },\n ],\n services: [\n {\n quantity: 0,\n code: '',\n serviceTypeCode: '',\n description: '',\n },\n ],\n patient: {\n memberID: '',\n healthPlan: '',\n lastName: '',\n firstName: '',\n dateOfBirth: '',\n phone: '',\n pcpLastName: '',\n pcpFirstName: '',\n },\n requestedProvider: {\n fullName: '',\n phone: '',\n fax: '',\n street: '',\n city: '',\n state: '',\n zip: '',\n },\n referringProvider: {\n fullName: '',\n phone: '',\n fax: '',\n street: '',\n city: '',\n state: '',\n zip: '',\n },\n },\n newAuthReqStatus: 'none',\n rxList: {\n currentPage: 0,\n pageSize: 0,\n sortingColumnName: '',\n sortingDirection: 0,\n results: [],\n totalResults: 0,\n },\n transcriptionsList: {\n currentPage: 0,\n pageSize: 10,\n sortingColumnName: 'reportName',\n sortingDirection: 'asc',\n results: [\n {\n id: '',\n messageControlId: '',\n sendingFacility: '',\n procedureDate: '',\n admitDate: '',\n dischargeDate: '',\n reportName: '',\n },\n ],\n totalResults: 0,\n },\n transcriptionsDetails: [],\n radiologyList: {\n currentPage: 0,\n pageSize: 10,\n sortingColumnName: 'procedureDate',\n results: [\n {\n id: '',\n messageControlId: '',\n sendingFacility: '',\n procedureDate: '',\n reportName: '',\n },\n ],\n totalResults: 0,\n sortingDirection: 1,\n },\n radiologyDetails: [],\n issueReportLoading: {\n loadingData: false,\n isDataFetched: false,\n },\n issueReportSubmitted: {\n isReportSubmitted: false,\n },\n authHealPlanType: 0,\n isAuthRetroactive: null,\n isBabylon: { behavioralProgram: '' },\n}\n\nexport default createReducer(initialState, builder =>\n builder\n .addCase(fetchPatients.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n state.patientsTreatingRelationship.loadingData = false\n state.patientsTreatingRelationship.isDataFetched = false\n })\n .addCase(fetchPatients.fulfilled, (state, action) => {\n state.loadingData = false\n state.patientsList = action.payload\n state.isDataFetched = true\n })\n .addCase(fetchPatients.rejected, state => {\n state.loadingData = false\n state.isDataFetched = false\n })\n .addCase(fetchPatientById.pending, state => {\n state.loadingData = true\n state.loadingPatientData = LoadingStatus.Pending\n state.isDataFetched = false\n })\n .addCase(fetchPatientById.fulfilled, (state, action) => {\n state.loadingData = false\n state.loadingPatientData = LoadingStatus.Succeeded\n state.currentPatient = action.payload\n state.isDataFetched = true\n })\n .addCase(fetchPatientById.rejected, state => {\n state.loadingData = false\n state.loadingPatientData = LoadingStatus.Failed\n state.isDataFetched = false\n })\n .addCase(fetchPatientTreatingRelationship.pending, state => {\n state.patientsTreatingRelationship.loadingData = true\n state.patientsTreatingRelationship.isDataFetched = false\n\n state.isDataFetched = false\n })\n .addCase(fetchPatientTreatingRelationship.fulfilled, (state, action) => {\n state.patientsTreatingRelationship.loadingData = false\n state.patientsTreatingRelationship.isDataFetched = true\n state.patientTreatingRelationship = action.payload\n })\n .addCase(fetchPatientTreatingRelationship.rejected, state => {\n state.patientsTreatingRelationship.loadingData = false\n state.patientsTreatingRelationship.isDataFetched = false\n })\n\n .addCase(setTreatingRelation.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n })\n .addCase(setTreatingRelation.fulfilled, (state, action) => {\n state.loadingData = false\n state.isDataFetched = true\n state.patientTreatingRelationship = true\n })\n .addCase(setTreatingRelation.rejected, state => {\n state.loadingData = false\n state.isDataFetched = false\n })\n .addCase(fetchPatientServices.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n })\n .addCase(fetchPatientServices.fulfilled, (state, action) => {\n state.loadingData = false\n state.patientServices = action.payload\n state.isDataFetched = true\n })\n .addCase(fetchPatientServices.rejected, (state, action) => {\n state.loadingData = false\n state.isDataFetched = false\n })\n .addCase(fetchClaimsData.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n })\n .addCase(fetchClaimsData.fulfilled, (state, action) => {\n state.loadingData = false\n state.claimsList = action.payload\n state.isDataFetched = true\n })\n .addCase(fetchClaimsData.rejected, state => {\n state.loadingData = false\n state.isDataFetched = false\n })\n .addCase(fetchClaimDetails.pending, state => {\n state.claimSubTableLoading.loadingData = true\n state.claimSubTableLoading.isDataFetched = false\n })\n .addCase(fetchClaimDetails.fulfilled, (state, action) => {\n state.claimSubTableLoading.loadingData = false\n state.claimDetails.push(action.payload)\n state.claimSubTableLoading.isDataFetched = true\n })\n .addCase(fetchClaimDetails.rejected, state => {\n state.claimSubTableLoading.loadingData = false\n state.claimSubTableLoading.isDataFetched = false\n })\n .addCase(removeClaimDetails, (state, action) => {\n state.claimDetails = state.claimDetails.filter(\n element => element.claimNumber !== action.payload\n )\n })\n\n .addCase(fetchPathologyData.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n })\n .addCase(fetchPathologyData.fulfilled, (state, action) => {\n state.loadingData = false\n state.pathologyList = action.payload\n state.isDataFetched = true\n })\n .addCase(fetchPathologyData.rejected, state => {\n state.loadingData = false\n state.isDataFetched = false\n })\n\n .addCase(setSelectedPatientId, (state, action) => {\n state.selectedPatientId = action.payload\n })\n .addCase(setSelectedPatientSpecialKey, (state, action) => {\n state.selectedPatientSpecialKey = action.payload\n })\n .addCase(setSelectedPatientData, (state, action) => {\n state.selectedPatientData = action.payload\n })\n .addCase(fetchAuthorizationsData.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n })\n .addCase(fetchAuthorizationsData.fulfilled, (state, action) => {\n state.loadingData = false\n state.authorizationsList = action.payload\n state.isDataFetched = true\n })\n .addCase(fetchAuthorizationsData.rejected, state => {\n state.loadingData = false\n state.isDataFetched = false\n })\n\n .addCase(fetchAuthorizationDetails.pending, (state, action) => {\n state.authorizationSubTableLoading = LoadingStatus.Pending\n })\n .addCase(fetchAuthorizationDetails.fulfilled, (state, action) => {\n state.authorizationDetails.push(action.payload)\n state.authorizationSubTableLoading = LoadingStatus.Succeeded\n })\n .addCase(fetchAuthorizationDetails.rejected, (state, action) => {\n state.authorizationSubTableLoading = LoadingStatus.Failed\n })\n .addCase(removeAuthorizationDetails, (state, action) => {\n state.authorizationDetails = state.authorizationDetails.filter(\n element => element.authorizationNumber !== action.payload\n )\n })\n .addCase(setCurrentAuthorizationRequestsStep, (state, action) => {\n state.currentAuthorizationRequestsStep = action.payload\n })\n .addCase(fetchServiceRequestsList.fulfilled, (state, action) => {\n state.serviceRequestsList = action.payload\n state.serviceRequestsListLoading = false\n })\n .addCase(fetchServiceRequestsList.pending, state => {\n state.serviceRequestsListLoading = true\n })\n .addCase(fetchServiceRequestsList.rejected, state => {\n state.serviceRequestsListLoading = false\n })\n .addCase(fetchDiagnosisList.fulfilled, (state, action) => {\n state.diagnosisList = action.payload\n state.diagnosisListLoading = false\n })\n .addCase(fetchDiagnosisList.pending, state => {\n state.diagnosisListLoading = true\n })\n .addCase(fetchDiagnosisList.rejected, state => {\n state.diagnosisListLoading = false\n })\n .addCase(fetchPlaceOfServiceCodes.fulfilled, (state, action) => {\n state.placeOfServiceList = action.payload\n })\n .addCase(createNewAuthorizationRequest.pending, state => {\n state.newAuthReqStatus = 'pending'\n })\n .addCase(createNewAuthorizationRequest.fulfilled, (state, action) => {\n state.newAuthReqStatus = 'fulfilled'\n state.newAuthorizationRequest = action.payload\n })\n .addCase(createNewAuthorizationRequest.rejected, state => {\n state.newAuthReqStatus = 'rejected'\n })\n .addCase(searchRxList.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n })\n .addCase(searchRxList.fulfilled, (state, action) => {\n state.loadingData = false\n state.rxList = action.payload\n state.isDataFetched = true\n })\n .addCase(searchRxList.rejected, state => {\n state.loadingData = false\n state.isDataFetched = false\n })\n .addCase(fetchTranscriptionsData.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n })\n .addCase(fetchTranscriptionsData.fulfilled, (state, action) => {\n state.loadingData = false\n state.transcriptionsList = action.payload\n state.isDataFetched = true\n })\n .addCase(fetchTranscriptionsData.rejected, state => {\n state.loadingData = false\n state.isDataFetched = false\n })\n .addCase(fetchTranscriptionsDetails.pending, state => {\n state.transcriptionsSubTableLoading.loadingData = true\n state.transcriptionsSubTableLoading.isDataFetched = false\n })\n .addCase(fetchTranscriptionsDetails.fulfilled, (state, action) => {\n state.transcriptionsSubTableLoading.loadingData = false\n state.transcriptionsDetails.push(action.payload)\n state.transcriptionsSubTableLoading.isDataFetched = true\n })\n .addCase(fetchTranscriptionsDetails.rejected, state => {\n state.transcriptionsSubTableLoading.loadingData = false\n state.transcriptionsSubTableLoading.isDataFetched = false\n })\n .addCase(removeTranscriptionsDetails, (state, action) => {\n state.transcriptionsDetails = state.transcriptionsDetails.filter(\n element => element.id !== action.payload\n )\n })\n\n .addCase(fetchLabsData.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n })\n .addCase(fetchLabsData.fulfilled, (state, action) => {\n state.loadingData = false\n state.labsList = action.payload\n state.isDataFetched = true\n })\n .addCase(fetchLabsData.rejected, state => {\n state.loadingData = false\n state.isDataFetched = false\n })\n .addCase(fetchLabsDetails.pending, state => {\n state.labsSubTableLoading.loadingData = true\n state.labsSubTableLoading.isDataFetched = false\n })\n .addCase(fetchLabsDetails.fulfilled, (state, action) => {\n state.labsSubTableLoading.loadingData = false\n state.labsDetails.push(action.payload)\n state.labsSubTableLoading.isDataFetched = true\n })\n .addCase(fetchLabsDetails.rejected, state => {\n state.labsSubTableLoading.loadingData = false\n state.labsSubTableLoading.isDataFetched = false\n })\n .addCase(removeLabsDetails, (state, action) => {\n state.labsDetails = state.labsDetails.filter(\n element => element.messageControlId !== action.payload\n )\n })\n\n .addCase(fetchRadiologyData.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n })\n .addCase(fetchRadiologyData.fulfilled, (state, action) => {\n state.loadingData = false\n state.radiologyList = action.payload\n state.isDataFetched = true\n })\n .addCase(fetchRadiologyData.rejected, state => {\n state.loadingData = false\n state.isDataFetched = false\n })\n .addCase(fetchRadiologyDetails.pending, state => {\n state.radiologySubTableLoading.loadingData = true\n state.radiologySubTableLoading.isDataFetched = false\n })\n .addCase(fetchRadiologyDetails.fulfilled, (state, action) => {\n state.radiologySubTableLoading.loadingData = false\n state.radiologyDetails.push(action.payload)\n state.radiologySubTableLoading.isDataFetched = true\n })\n .addCase(fetchRadiologyDetails.rejected, state => {\n state.radiologySubTableLoading.loadingData = false\n state.radiologySubTableLoading.isDataFetched = false\n })\n .addCase(removeRadiologyDetails, (state, action) => {\n state.radiologyDetails = state.radiologyDetails.filter(\n element => element.messageControlId !== action.payload\n )\n })\n .addCase(createIssueReport.fulfilled, state => {\n state.issueReportLoading.loadingData = false\n state.issueReportLoading.isDataFetched = true\n })\n .addCase(createIssueReport.pending, state => {\n state.issueReportLoading.loadingData = true\n state.issueReportLoading.isDataFetched = false\n })\n .addCase(createIssueReport.rejected, state => {\n state.issueReportLoading.loadingData = false\n state.issueReportLoading.isDataFetched = false\n })\n .addCase(reportSubmittedAction, (state, action) => {\n state.issueReportSubmitted.isReportSubmitted = action.payload\n state.issueReportLoading.isDataFetched = false\n })\n .addCase(checkAuthHealthPlanType.fulfilled, (state, action) => {\n state.authHealPlanType = action.payload\n })\n .addCase(setAuthHealthPlanTypeToDefault, state => {\n state.authHealPlanType = 0\n })\n .addCase(setAuthRetroactiveStatus, (state, action) => {\n state.isAuthRetroactive = action.payload\n })\n .addCase(resetBabylonCheck, state => {\n state.isBabylon = { behavioralProgram: '' }\n })\n\n .addCase(checkIfBabylon.fulfilled, (state, action) => {\n state.isBabylon = action.payload\n })\n)\n","import { Module } from 'shared/types'\nimport routes from './routes'\nimport { reducer } from './store'\nimport { MODULE_NAME } from './strings'\n\nconst moduleConfig: Module = {\n name: MODULE_NAME,\n reducer,\n routes,\n}\n\nexport default moduleConfig\n","import { createReducer } from '@reduxjs/toolkit'\nimport { LoadingStatus } from 'shared/types'\nimport {\n addProfilePhoto,\n changeProfilePhoto,\n fetchUserInfoData,\n removeProfilePhoto,\n saveUserPhoneFaxChanges,\n} from './actions'\nimport { UserInfo } from './utils'\n\ninterface State {\n loading: LoadingStatus\n error?: string | null\n loadingData: LoadingStatus\n userInfo: UserInfo\n fetchLoading: LoadingStatus\n imageLoading: LoadingStatus\n saveDataLoading: LoadingStatus\n modifyImageProcessLoading: LoadingStatus\n}\nconst initialUserInfo: UserInfo = {\n userName: '',\n email: '',\n firstName: '',\n lastName: '',\n phone: '',\n fax: '',\n supervisorFullName: '',\n supervisorEmail: '',\n taxIdOrNationalProviderId: '',\n profilePhotoUri: '',\n taxIds: [],\n cozeva: 0,\n sentToCozeva: '',\n isAdmin: false,\n securityLevel: '',\n healthPlanCodes: [''],\n lastSurveyDate: '',\n associatedOrganizations: [],\n}\n\nconst initialState: State = {\n loading: LoadingStatus.Idle,\n error: null,\n loadingData: LoadingStatus.Idle,\n userInfo: initialUserInfo,\n fetchLoading: LoadingStatus.Idle,\n imageLoading: LoadingStatus.Idle,\n saveDataLoading: LoadingStatus.Idle,\n modifyImageProcessLoading: LoadingStatus.Idle,\n}\n\nexport default createReducer(initialState, builder =>\n builder\n .addCase(addProfilePhoto.pending, state => {\n state.loading = LoadingStatus.Pending\n state.error = null\n state.imageLoading = LoadingStatus.Pending\n state.modifyImageProcessLoading = LoadingStatus.Pending\n })\n .addCase(addProfilePhoto.fulfilled, (state, action) => {\n state.loading = LoadingStatus.Succeeded\n state.error = null\n state.imageLoading = LoadingStatus.Succeeded\n })\n .addCase(addProfilePhoto.rejected, (state, action) => {\n state.loading = LoadingStatus.Failed\n state.error = action.error.message\n state.imageLoading = LoadingStatus.Failed\n })\n\n .addCase(removeProfilePhoto.pending, state => {\n state.loading = LoadingStatus.Pending\n state.error = null\n state.imageLoading = LoadingStatus.Pending\n state.modifyImageProcessLoading = LoadingStatus.Pending\n })\n .addCase(removeProfilePhoto.fulfilled, (state, action) => {\n state.loading = LoadingStatus.Succeeded\n state.error = null\n state.imageLoading = LoadingStatus.Succeeded\n })\n .addCase(removeProfilePhoto.rejected, (state, action) => {\n state.loading = LoadingStatus.Failed\n state.error = action.error.message\n state.imageLoading = LoadingStatus.Failed\n })\n\n .addCase(changeProfilePhoto.pending, state => {\n state.loading = LoadingStatus.Pending\n state.error = null\n state.imageLoading = LoadingStatus.Pending\n state.modifyImageProcessLoading = LoadingStatus.Pending\n })\n .addCase(changeProfilePhoto.fulfilled, (state, action) => {\n state.loading = LoadingStatus.Succeeded\n state.error = null\n state.imageLoading = LoadingStatus.Succeeded\n })\n .addCase(changeProfilePhoto.rejected, (state, action) => {\n state.loading = LoadingStatus.Failed\n state.error = action.error.message\n state.imageLoading = LoadingStatus.Failed\n })\n\n .addCase(fetchUserInfoData.pending, (state, action: any) => {\n state.fetchLoading = LoadingStatus.Pending\n })\n .addCase(fetchUserInfoData.rejected, (state, action: any) => {\n state.fetchLoading = LoadingStatus.Failed\n state.userInfo = initialUserInfo\n })\n .addCase(fetchUserInfoData.fulfilled, (state, action) => {\n state.userInfo = action.payload\n if (action.payload.profilePhotoUri) {\n state.userInfo.profilePhotoUri += `?t=${new Date().getTime()}`\n }\n state.fetchLoading = LoadingStatus.Succeeded\n state.modifyImageProcessLoading = LoadingStatus.Succeeded\n })\n\n .addCase(saveUserPhoneFaxChanges.pending, (state, action: any) => {\n state.saveDataLoading = LoadingStatus.Pending\n state.error = null\n })\n .addCase(saveUserPhoneFaxChanges.rejected, (state, action: any) => {\n state.saveDataLoading = LoadingStatus.Failed\n state.error = action.error.message\n })\n .addCase(saveUserPhoneFaxChanges.fulfilled, (state, action) => {\n state.saveDataLoading = LoadingStatus.Succeeded\n state.error = null\n })\n)\n","import { Loadable } from 'shared/components'\nimport { ModuleRoute } from 'shared/types'\nimport { addBasePath } from 'shared/utils'\nimport HomeIcon from '@material-ui/icons/Home'\n\nexport const BASE_PATH = '/'\n\nconst routes = addBasePath(BASE_PATH, [\n {\n path: '/my-account',\n label: 'navigation.myAccount',\n title: 'My account',\n Icon: HomeIcon,\n exact: true,\n component: Loadable({\n component: () => import('./containers/UserAccount'),\n }),\n navDisplay: false,\n },\n])\n\nexport default routes\n","import { Module } from 'shared/types'\nimport { reducer } from './store'\nimport { MODULE_NAME } from './strings'\nimport routes from './routes'\n\nconst moduleConfig: Module = {\n name: MODULE_NAME,\n reducer,\n routes,\n}\n\nexport default moduleConfig\n","import { createReducer, SerializedError } from '@reduxjs/toolkit'\nimport {\n addNewOrg,\n addNewUser,\n approveAuthorizationRequest,\n deleteUserOrg,\n denyAuthorizationRequest,\n editAdminUser,\n fetchSurveyAnalytics,\n getAdminSupervisors,\n getAdminUserByUserName,\n getAdminUsers,\n getAuthorizations,\n getListOfHealthPlanCodes,\n getListOfUserOrganizations,\n importUsers,\n resendVerificationEmail,\n resetAdminUsersList,\n resetEditUserRejectPayload,\n resetUsersImportedStatus,\n setUserAdded,\n} from './actions'\nimport {\n AccountRequestListItemPayload,\n ExpandedAdminUserPayload,\n GetHealthPlanCodesPayload,\n ImportUserPayload,\n SupervisorDetails,\n SurveyAnalyticsPayload,\n UserOrganizationsPayload,\n UsersListItemPayload,\n} from '../types/data'\nimport { UserPayload } from '../components/AdminTabs/AdminUsersTab/AdminUsersTable/AdminUsersSubTable/UsersDetailedInfoTable/UsersDetailedInnfoTable.utils'\n\ninterface State {\n adminAuthRequestsList: AccountRequestListItemPayload\n adminAuthRequestsFetched: boolean\n adminAuthRequestsLoading: boolean\n approveOrDenyRequestLoading: boolean\n approveOrDenyRequestFetched: boolean\n adminUsersAndOrganizations: UsersListItemPayload\n adminUsersFetched: boolean\n adminUsersLoading: boolean\n adminUserEditLoadingStatus: boolean\n adminUserEditFetchedStatus: boolean\n editedUserInfo: UserPayload\n editedUserInfoLoading: boolean\n editedUserInfoFetched: boolean\n expandedAdminUser: ExpandedAdminUserPayload\n expandedUserDataLoading: boolean\n expandedUserDataFetched: boolean\n listOfUserOrganizations: UserOrganizationsPayload\n listOfUserOrganizationsLoading: boolean\n organizationActionFetched: boolean\n listOfAdminSupervisors: SupervisorDetails[]\n listOfAdminSupervisorsLoading: boolean\n addNewUserResponsePayload: string\n addNewUserFetched: boolean\n addNewUserLoading: boolean\n editUserRejectPayload: string\n healthPlanCodesList: GetHealthPlanCodesPayload[]\n verificationEmailResentLoading: boolean\n verificationEmailResentRejected: boolean\n importUsersResult: ImportUserPayload\n importUsersResultLoading: boolean\n importUsersResultFetched: boolean\n surveyAnalytics: SurveyAnalyticsPayload\n surveyAnalyticsLoading: boolean\n}\n\nconst initialState: State = {\n adminAuthRequestsList: {\n currentPage: 0,\n pageSize: 10,\n sortingColumnName: 'firstName',\n results: [\n {\n id: 0,\n showPast: false,\n acceptanceStatus: '',\n dateRequested: '',\n email: '',\n firstName: '',\n lastName: '',\n taxIdOrNationalProviderId: '',\n sortingColumnName: '',\n phone: '',\n fax: '',\n userName: '',\n supervisorFullName: '',\n supervisorPhone: '',\n supervisorEmail: '',\n remindersCount: 0,\n lastReminderSentAt: '',\n rowIndex: 0,\n cozeva: 0,\n processedAt: '',\n },\n ],\n totalResults: 0,\n },\n adminAuthRequestsFetched: false,\n adminAuthRequestsLoading: false,\n approveOrDenyRequestLoading: false,\n approveOrDenyRequestFetched: false,\n adminUsersAndOrganizations: {\n currentPage: 0,\n pageSize: 10,\n sortingColumnName: 'firstName',\n results: [\n {\n id: 0,\n lastName: '',\n firstName: '',\n email: '',\n taxIdOrNationalProviderId: '',\n active: 0,\n lastActive: '',\n securityLevel: '',\n userName: '',\n },\n ],\n totalResults: 0,\n },\n adminUsersFetched: false,\n adminUsersLoading: false,\n adminUserEditLoadingStatus: false,\n adminUserEditFetchedStatus: false,\n editedUserInfo: {\n id: 0,\n lastName: '',\n firstName: '',\n email: '',\n taxIdOrNationalProviderId: '',\n active: 0,\n lastLogin: '',\n accessLevel: '',\n userName: '',\n },\n editedUserInfoLoading: false,\n editedUserInfoFetched: false,\n expandedAdminUser: {\n id: 0,\n lastName: '',\n firstName: '',\n email: '',\n sortingColumnName: '',\n taxIdOrNationalProviderId: '',\n phone: '',\n userName: '',\n fax: '',\n supervisorFullName: '',\n supervisorPhone: '',\n supervisorEmail: '',\n page: 0,\n pageSize: 0,\n orderBy: '',\n securityLevel: '',\n lastLogin: '',\n active: 0,\n userOrganizations: [],\n approved: '',\n approvedBy: '',\n modified: '',\n modifiedBy: '',\n lastActive: '',\n loginCount: 0,\n cozeva: 0,\n isAdmin: 0,\n verified: 0,\n },\n expandedUserDataLoading: false,\n expandedUserDataFetched: false,\n listOfUserOrganizations: {\n currentPage: 0,\n pageSize: 10,\n sortingColumnName: '',\n results: [\n {\n organizationShortId: '',\n orgName: '',\n taxId: '',\n },\n ],\n totalResults: 0,\n },\n listOfUserOrganizationsLoading: false,\n organizationActionFetched: false,\n listOfAdminSupervisors: [\n {\n fullName: '',\n },\n ],\n listOfAdminSupervisorsLoading: false,\n addNewUserResponsePayload: '',\n addNewUserFetched: false,\n editUserRejectPayload: '',\n healthPlanCodesList: [\n {\n healthPlanCode: '',\n healthPlanCodeAndName: '',\n },\n ],\n addNewUserLoading: false,\n verificationEmailResentLoading: false,\n verificationEmailResentRejected: false,\n importUsersResult: {\n migratedUsers: [\n {\n firstName: '',\n lastName: '',\n email: '',\n password: '',\n },\n ],\n usersAlreadyExistEmails: [],\n error: '',\n },\n importUsersResultLoading: false,\n importUsersResultFetched: false,\n surveyAnalytics: {\n experience: [\n {\n rating: 0,\n numOfUsers: 0,\n },\n ],\n easyToUse: [\n {\n rating: 0,\n numOfUsers: 0,\n },\n ],\n expectations: [\n {\n rating: 0,\n numOfUsers: 0,\n },\n ],\n easyToFindInfo: [\n {\n rating: 0,\n numOfUsers: 0,\n },\n ],\n proposals: [\n {\n proposalText: '',\n createdDate: '',\n },\n ],\n feedbacksCount: 0,\n },\n surveyAnalyticsLoading: false,\n}\n\nexport default createReducer(initialState, builder => {\n builder\n .addCase(getAuthorizations.fulfilled, (state, action) => {\n state.adminAuthRequestsList = action.payload\n state.adminAuthRequestsLoading = false\n state.adminAuthRequestsFetched = true\n state.approveOrDenyRequestFetched = false\n })\n .addCase(getAuthorizations.pending, state => {\n state.adminAuthRequestsFetched = false\n state.adminAuthRequestsLoading = true\n })\n .addCase(getAuthorizations.rejected, state => {\n state.adminAuthRequestsFetched = false\n state.adminAuthRequestsLoading = false\n })\n .addCase(approveAuthorizationRequest.pending, state => {\n state.approveOrDenyRequestLoading = true\n state.approveOrDenyRequestFetched = false\n })\n .addCase(approveAuthorizationRequest.fulfilled, state => {\n state.approveOrDenyRequestLoading = false\n state.approveOrDenyRequestFetched = true\n })\n .addCase(approveAuthorizationRequest.rejected, state => {\n state.approveOrDenyRequestLoading = false\n state.approveOrDenyRequestFetched = false\n })\n .addCase(denyAuthorizationRequest.pending, state => {\n state.approveOrDenyRequestLoading = true\n state.approveOrDenyRequestFetched = false\n })\n .addCase(denyAuthorizationRequest.fulfilled, state => {\n state.approveOrDenyRequestLoading = false\n state.approveOrDenyRequestFetched = true\n })\n .addCase(denyAuthorizationRequest.rejected, state => {\n state.approveOrDenyRequestLoading = false\n state.approveOrDenyRequestFetched = false\n })\n\n // fetch admin orgs for Organizations autocomplete\n .addCase(getAdminUsers.fulfilled, (state, action) => {\n state.adminUsersAndOrganizations = action.payload\n state.adminUsersLoading = false\n state.adminUsersFetched = true\n })\n .addCase(getAdminUsers.pending, state => {\n state.adminUsersLoading = true\n state.adminUsersFetched = false\n })\n .addCase(getAdminUsers.rejected, state => {\n state.adminUsersLoading = false\n state.adminUsersFetched = false\n })\n\n // reset admin orgs for Organizations autocomplete\n .addCase(resetAdminUsersList, state => {\n state.listOfUserOrganizations = {\n currentPage: 0,\n pageSize: 10,\n sortingColumnName: '',\n results: [\n {\n organizationShortId: '',\n orgName: '',\n taxId: '',\n },\n ],\n totalResults: 0,\n }\n })\n\n .addCase(editAdminUser.fulfilled, (state, action: any) => {\n state.adminUserEditLoadingStatus = false\n state.adminUserEditFetchedStatus = true\n state.editUserRejectPayload = 'success'\n })\n .addCase(editAdminUser.pending, state => {\n state.adminUserEditLoadingStatus = true\n state.adminUserEditFetchedStatus = false\n state.editUserRejectPayload = ''\n })\n .addCase(editAdminUser.rejected, (state, action: any) => {\n state.adminUserEditLoadingStatus = false\n state.adminUserEditFetchedStatus = true //// TODO check here\n state.editUserRejectPayload = action.payload.message\n })\n .addCase(resetEditUserRejectPayload, state => {\n state.editUserRejectPayload = ''\n })\n .addCase(getAdminUserByUserName.fulfilled, (state, action) => {\n state.expandedAdminUser = action.payload\n state.expandedUserDataFetched = true\n state.expandedUserDataLoading = false\n })\n .addCase(getAdminUserByUserName.pending, state => {\n state.expandedUserDataFetched = false\n state.expandedUserDataLoading = true\n })\n .addCase(getAdminUserByUserName.rejected, state => {\n state.expandedUserDataFetched = false\n state.expandedUserDataLoading = false\n })\n .addCase(getListOfUserOrganizations.fulfilled, (state, action) => {\n state.listOfUserOrganizations = action.payload\n state.listOfUserOrganizationsLoading = false\n })\n .addCase(getListOfUserOrganizations.pending, state => {\n state.listOfUserOrganizationsLoading = true\n })\n .addCase(getListOfUserOrganizations.rejected, state => {\n state.listOfUserOrganizationsLoading = false\n })\n .addCase(addNewOrg.fulfilled, state => {\n state.organizationActionFetched = true\n })\n .addCase(addNewOrg.pending, state => {\n state.organizationActionFetched = false\n })\n .addCase(addNewOrg.rejected, state => {\n state.organizationActionFetched = false\n })\n .addCase(deleteUserOrg.fulfilled, state => {\n state.organizationActionFetched = true\n })\n .addCase(deleteUserOrg.pending, state => {\n state.organizationActionFetched = false\n })\n .addCase(deleteUserOrg.rejected, state => {\n state.organizationActionFetched = false\n })\n .addCase(getAdminSupervisors.fulfilled, (state, action) => {\n state.listOfAdminSupervisors = action.payload\n state.listOfAdminSupervisorsLoading = false\n })\n .addCase(getAdminSupervisors.pending, state => {\n state.listOfAdminSupervisorsLoading = true\n })\n .addCase(getAdminSupervisors.rejected, state => {\n state.listOfAdminSupervisorsLoading = false\n })\n .addCase(addNewUser.rejected, (state, action: any) => {\n state.addNewUserResponsePayload = action.payload.message\n state.addNewUserFetched = false\n state.addNewUserLoading = false\n })\n .addCase(addNewUser.fulfilled, state => {\n state.addNewUserResponsePayload = ''\n state.addNewUserFetched = true\n state.addNewUserLoading = false\n })\n .addCase(addNewUser.pending, state => {\n state.addNewUserResponsePayload = ''\n state.addNewUserFetched = false\n state.addNewUserLoading = true\n })\n .addCase(getListOfHealthPlanCodes.fulfilled, (state, action) => {\n state.healthPlanCodesList = action.payload\n })\n .addCase(setUserAdded, state => {\n state.addNewUserFetched = false\n })\n .addCase(resendVerificationEmail.fulfilled, state => {\n state.verificationEmailResentLoading = false\n state.verificationEmailResentRejected = false\n })\n .addCase(resendVerificationEmail.pending, state => {\n state.verificationEmailResentLoading = true\n state.verificationEmailResentRejected = false\n })\n .addCase(resendVerificationEmail.rejected, state => {\n state.verificationEmailResentLoading = false\n state.verificationEmailResentRejected = true\n })\n\n // import users from admin panel\n .addCase(importUsers.fulfilled, (state, action) => {\n state.importUsersResult = action.payload\n state.importUsersResultLoading = false\n state.importUsersResultFetched = true\n })\n .addCase(importUsers.pending, state => {\n state.importUsersResultLoading = true\n state.importUsersResultFetched = false\n })\n .addCase(importUsers.rejected, state => {\n state.importUsersResultLoading = false\n state.importUsersResultFetched = false\n })\n .addCase(resetUsersImportedStatus, state => {\n state.importUsersResultFetched = false\n state.importUsersResult = {\n migratedUsers: [\n {\n firstName: '',\n lastName: '',\n email: '',\n password: '',\n },\n ],\n usersAlreadyExistEmails: [],\n error: '',\n }\n })\n\n // SURVEY ANALYTICS\n .addCase(fetchSurveyAnalytics.fulfilled, (state, action) => {\n state.surveyAnalytics = action.payload\n state.surveyAnalyticsLoading = false\n })\n .addCase(fetchSurveyAnalytics.rejected, state => {\n state.surveyAnalyticsLoading = false\n })\n .addCase(fetchSurveyAnalytics.pending, state => {\n state.surveyAnalyticsLoading = true\n })\n})\n","import ManageAccountsIcon from '@material-ui/icons/AccountBoxRounded'\n\nimport { Loadable } from 'shared/components'\nimport { ModuleRoute } from 'shared/types'\nimport { addBasePath } from 'shared/utils'\n\nexport const BASE_PATH = '/'\n\nconst routes = addBasePath(BASE_PATH, [\n {\n path: '/admin',\n label: 'Admin',\n title: 'Admin Panel',\n Icon: ManageAccountsIcon,\n exact: true,\n component: Loadable({\n component: () => import('./containers/AdminPanel'),\n }),\n },\n])\n\nexport default routes\n","import { Module } from 'shared/types'\nimport { reducer } from './store'\nimport { MODULE_NAME } from './strings'\nimport routes from './routes'\n\nconst moduleConfig: Module = {\n name: MODULE_NAME,\n reducer,\n routes,\n}\n\nexport default moduleConfig\n","import { createReducer } from '@reduxjs/toolkit'\nimport { EOBListItemDetailsPayload, EOBListPayload } from '../types/data'\nimport { fetchEOBData, fetchEOBListItemDetails, fetchEOBOrgs } from './actions'\n\ninterface State {\n loadingEOBData: boolean\n isEOBDataFetched: boolean\n eobList: EOBListPayload\n EOBListItemDetails: EOBListItemDetailsPayload[] // TODO check here\n EOBListItemDetailsLoading: boolean\n EOBListItemDetailsFetched: boolean\n EOBOrgsList: string[]\n}\n\nconst initialState: State = {\n loadingEOBData: false,\n isEOBDataFetched: false,\n eobList: {\n currentPage: 0,\n pageSize: 10,\n sortingColumnName: 'checkNo',\n results: [\n {\n checkNumber: 0,\n datePaid: '',\n organizationName: '',\n orgID: '',\n },\n ],\n totalResults: 0,\n },\n EOBListItemDetails: [\n {\n paidTotal: 0,\n allowTotal: 0,\n billedTotal: 0,\n checkNo: 0,\n datePaid: '',\n orgName: '',\n eobDetails: [\n {\n healthPlanName: '',\n billingProviders: [\n {\n providerFullName: '',\n primaryCareProviderListItem: [\n {\n itemNo: 0,\n memberID: '',\n memberFullName: '',\n accountNo: '',\n memberClaims: [\n {\n claimNo: '',\n memberClaims: [\n {\n dateOfService: '',\n cptCode: '',\n cptDescr: '',\n qty: 0,\n billed: 0,\n allowed: 0,\n copay: 0,\n deductible: 0,\n coinsurance: 0,\n net: 0,\n adjCodeDescr: '',\n },\n ],\n },\n ],\n },\n ],\n },\n ],\n },\n ],\n },\n ],\n EOBListItemDetailsLoading: false,\n EOBListItemDetailsFetched: false,\n EOBOrgsList: [''],\n}\n\nexport default createReducer(initialState, builder =>\n builder\n .addCase(fetchEOBData.pending, state => {\n state.loadingEOBData = true\n state.isEOBDataFetched = false\n })\n .addCase(fetchEOBData.fulfilled, (state, action) => {\n state.loadingEOBData = false\n state.eobList = action.payload\n state.isEOBDataFetched = true\n })\n .addCase(fetchEOBData.rejected, state => {\n state.loadingEOBData = false\n state.isEOBDataFetched = false\n })\n .addCase(fetchEOBListItemDetails.fulfilled, (state, action) => {\n state.EOBListItemDetails = action.payload\n state.EOBListItemDetailsLoading = false\n state.EOBListItemDetailsFetched = true\n })\n .addCase(fetchEOBListItemDetails.rejected, state => {\n state.EOBListItemDetailsLoading = false\n state.EOBListItemDetailsFetched = false\n })\n .addCase(fetchEOBListItemDetails.pending, state => {\n state.EOBListItemDetailsLoading = true\n state.EOBListItemDetailsFetched = false\n })\n .addCase(fetchEOBOrgs.fulfilled, (state, action) => {\n state.EOBOrgsList = action.payload\n })\n)\n","import ManageAccountsIcon from '@material-ui/icons/ListAlt'\n\nimport { Loadable } from 'shared/components'\nimport { ModuleRoute } from 'shared/types'\nimport { addBasePath } from 'shared/utils'\n\nexport const BASE_PATH = '/'\n\nconst routes = addBasePath(BASE_PATH, [\n {\n path: '/explanation-of-benefits',\n label: 'Recent EOBs',\n title: 'Recent EOBs',\n Icon: ManageAccountsIcon,\n exact: true,\n component: Loadable({\n component: () => import('./containers/EOB'),\n }),\n },\n])\n\nexport default routes\n","import { Module } from 'shared/types'\nimport { reducer } from './store'\nimport { MODULE_NAME } from './strings'\nimport routes from './routes'\n\nconst moduleConfig: Module = {\n name: MODULE_NAME,\n reducer,\n routes,\n}\n\nexport default moduleConfig\n","import { createReducer } from '@reduxjs/toolkit'\nimport { DCEListData } from '../types/data'\nimport {\n fetchDCEAccessCheck,\n fetchDCEProviders,\n fetchDCERosterData,\n resetDceProvidersList,\n} from './actions'\n\ninterface State {\n dceRosterData: DCEListData\n dceRosterDataLoading: boolean\n dceRosterDataFetched: boolean\n dceProviderList: [{ fullName: string; lastName: string }] | []\n dceProviderListLoading: boolean\n dceCompatible: boolean\n}\n\nconst initialState: State = {\n dceRosterData: {\n currentPage: 0,\n pageSize: 0,\n sortingColumnName: '',\n sortingDirection: 0,\n results: [\n {\n lastName: '',\n firstName: '',\n dateOfBirth: '',\n memberShortId: '',\n pcpLastName: '',\n pcpFirstName: '',\n healthPlanCode: '',\n healthPlanName: '',\n pcpEffectiveDate: '',\n phoneNumber: '',\n suffix: '',\n },\n ],\n totalResults: 0,\n },\n dceRosterDataLoading: false,\n dceRosterDataFetched: false,\n dceProviderList: [],\n dceCompatible: false,\n dceProviderListLoading: false,\n}\n\nexport default createReducer(initialState, builder =>\n builder\n // DCE providers list\n .addCase(fetchDCERosterData.pending, state => {\n state.dceRosterDataLoading = true\n state.dceRosterDataFetched = false\n })\n .addCase(fetchDCERosterData.fulfilled, (state, action) => {\n state.dceRosterDataLoading = false\n state.dceRosterDataFetched = true\n state.dceRosterData = action.payload\n })\n .addCase(fetchDCERosterData.rejected, state => {\n state.dceRosterDataLoading = false\n state.dceRosterDataFetched = false\n })\n\n // DCE providers for a autocomplete dropdown\n .addCase(fetchDCEProviders.fulfilled, (state, action) => {\n state.dceProviderList = action.payload\n state.dceProviderListLoading = false\n })\n .addCase(fetchDCEProviders.rejected, state => {\n state.dceProviderListLoading = false\n })\n .addCase(fetchDCEProviders.pending, state => {\n state.dceProviderListLoading = true\n })\n\n // resetting list of DCE providers on autocomplete blur\n .addCase(resetDceProvidersList, state => {\n state.dceProviderList = []\n })\n\n // DCE access check\n .addCase(fetchDCEAccessCheck.fulfilled, (state, action) => {\n state.dceCompatible = action.payload\n })\n)\n","import Assignment from '@material-ui/icons/Assignment'\n\nimport { Loadable } from 'shared/components'\nimport { ModuleRoute } from 'shared/types'\nimport { addBasePath } from 'shared/utils'\n\nexport const BASE_PATH = '/'\n\nconst routes = addBasePath(BASE_PATH, [\n {\n path: '/DCE-patient-rosters',\n label: 'DCE Patient Rosters',\n title: 'DCE Patient Rosters',\n Icon: Assignment,\n exact: true,\n component: Loadable({\n component: () => import('./containers/DCE'),\n }),\n },\n])\n\nexport default routes\n","import { Module } from 'shared/types'\nimport { reducer } from './store'\nimport routes from './routes'\nimport { MODULE_NAME } from './strings'\n\nconst moduleConfig: Module = {\n name: MODULE_NAME,\n reducer,\n routes,\n}\n\nexport default moduleConfig\n","import { Loadable } from 'shared/components'\nimport { ModuleRoute } from 'shared/types'\nimport { addBasePath } from 'shared/utils'\nimport OndemandVideoIcon from '@material-ui/icons/OndemandVideo'\nexport const BASE_PATH = '/'\n\nconst routes = addBasePath(BASE_PATH, [\n {\n path: '/training-videos',\n label: 'Training Videos',\n title: 'Training Videos',\n Icon: OndemandVideoIcon,\n exact: true,\n component: Loadable({\n component: () => import('./containers/TrainingVideos'),\n }),\n },\n])\n\nexport default routes\n","export const MODULE_NAME = 'TrainingVideos'\n","import { createAsyncThunk } from '@reduxjs/toolkit'\nimport { MODULE_NAME } from '../strings'\n\nexport const doSomethingAsync = createAsyncThunk(\n `${MODULE_NAME}/doSomethingAsync`,\n () =>\n new Promise(resolve =>\n setTimeout(() => resolve('Done'), 1000)\n ) as Promise\n)\n","import { createReducer } from '@reduxjs/toolkit'\nimport { LoadingStatus } from 'shared/types'\nimport { doSomethingAsync } from './actions'\n\ninterface State {\n something: string\n loading: LoadingStatus\n error?: string | null\n}\n\nconst initialState: State = {\n something: '',\n loading: LoadingStatus.Idle,\n error: null,\n}\n\nexport default createReducer(initialState, builder =>\n builder\n .addCase(doSomethingAsync.pending, state => {\n state.loading = LoadingStatus.Pending\n state.error = null\n })\n .addCase(doSomethingAsync.fulfilled, (state, action) => {\n state.something = action.payload\n state.loading = LoadingStatus.Succeeded\n state.error = null\n })\n .addCase(doSomethingAsync.rejected, (state, action) => {\n state.loading = LoadingStatus.Failed\n state.error = action.error.message\n })\n)\n","import { Module } from 'shared/types'\nimport routes from './routes'\nimport { reducer } from './store'\nimport { MODULE_NAME } from './strings'\n\nconst moduleConfig: Module = {\n name: MODULE_NAME,\n reducer,\n routes,\n}\n\nexport default moduleConfig\n","import { createReducer } from '@reduxjs/toolkit'\nimport { HealthPlanReports } from '../types/data'\nimport { fetchHealthPlanReportsList } from './actions'\n\ninterface State {\n healthPlanReportsList: HealthPlanReports\n healthPlanReportsListLoading: boolean\n healthPlanReportsListFetched: boolean\n}\n\nconst initialState: State = {\n healthPlanReportsList: {\n currentPage: 0,\n pageSize: 0,\n sortingColumnName: '',\n sortingDirection: 0,\n results: [\n {\n name: '',\n description: '',\n createdDate: '',\n frequency: 68,\n uri: '',\n },\n ],\n totalResults: 0,\n },\n healthPlanReportsListLoading: false,\n healthPlanReportsListFetched: false,\n}\n\nexport default createReducer(initialState, builder =>\n builder\n .addCase(fetchHealthPlanReportsList.fulfilled, (state, action) => {\n state.healthPlanReportsList = action.payload\n state.healthPlanReportsListLoading = false\n state.healthPlanReportsListFetched = true\n })\n .addCase(fetchHealthPlanReportsList.rejected, state => {\n state.healthPlanReportsListLoading = false\n state.healthPlanReportsListFetched = false\n })\n .addCase(fetchHealthPlanReportsList.pending, state => {\n state.healthPlanReportsListLoading = true\n state.healthPlanReportsListFetched = false\n })\n)\n","import { Loadable } from 'shared/components'\nimport { ModuleRoute } from 'shared/types'\nimport { addBasePath } from 'shared/utils'\nimport AssignmentTurnedInIcon from '@material-ui/icons/AssignmentTurnedIn'\n\nexport const BASE_PATH = '/'\n\nconst routes = addBasePath(BASE_PATH, [\n {\n path: 'health-plan-reports/:tabId',\n label: 'Health Plan Reports',\n title: 'Health Plan Reports',\n Icon: AssignmentTurnedInIcon,\n exact: true,\n component: Loadable({\n component: () => import('./containers/HealthPlanReports'),\n }),\n },\n])\n\nexport default routes\n","import { Module } from 'shared/types'\nimport { reducer } from './store'\nimport { MODULE_NAME } from './strings'\nimport routes from './routes'\n\nconst moduleConfig: Module = {\n name: MODULE_NAME,\n reducer,\n routes,\n}\n\nexport default moduleConfig\n","import home from './Home'\nimport RecentAuthorizations from './RecentAuthorizations'\nimport ProviderDirectory from './ProviderDirectory'\nimport PatientAssignments from './PatientAssignments'\nimport PhysicianResources from './Resources'\nimport Patients from './Patients'\nimport UserAccount from './UserAccount'\nimport AdminPanel from './AdminPanel'\nimport EOB from './EOB'\nimport DCE from './DCEPatientRoster'\nimport TrainingVideos from './TrainingVideos'\nimport HealthPlanReports from './HeathPlanReports'\n\nexport const routes = [\n ...home.routes,\n ...RecentAuthorizations.routes,\n ...ProviderDirectory.routes,\n ...PatientAssignments.routes,\n ...Patients.routes,\n ...UserAccount.routes,\n ...EOB.routes,\n ...DCE.routes,\n ...AdminPanel.routes,\n ...PhysicianResources.routes,\n ...TrainingVideos.routes,\n ...HealthPlanReports.routes,\n]\n\nexport const reducers = {\n home: home.reducer,\n RecentAuthorizations: RecentAuthorizations.reducer,\n ProviderDirectory: ProviderDirectory.reducer,\n PhysicianResources: PhysicianResources.reducer,\n PatientAssignments: PatientAssignments.reducer,\n Patients: Patients.reducer,\n UserAccount: UserAccount.reducer,\n AdminPanel: AdminPanel.reducer,\n EOB: EOB.reducer,\n DCE: DCE.reducer,\n TrainingVideos: TrainingVideos.reducer,\n HealthPlanReports: HealthPlanReports.reducer,\n}\n","import { RootState } from 'app'\n\nexport const getPatientsData = (state: RootState) => state.Patients.patientsList\nexport const getPatientsDataLoading = (state: RootState) =>\n state.Patients.loadingData\nexport const getPatientsIsDataFetched = (state: RootState) =>\n state.Patients.isDataFetched\n\nexport const getPatientDataLoading = (state: RootState) =>\n state.Patients.loadingPatientData\n\nexport const getPatientsTreatignRelationshipDataLoading = (state: RootState) =>\n state.Patients.patientsTreatingRelationship.loadingData\nexport const getPatientsTreatignRelationshipDataFetched = (state: RootState) =>\n state.Patients.patientsTreatingRelationship.isDataFetched\n\nexport const getSelectedPatientId = (state: RootState) =>\n state.Patients.selectedPatientId\nexport const getSelectedPatientSpecialKey = (state: RootState) =>\n state.Patients.selectedPatientSpecialKey\nexport const getPatientTreatingRelationship = (state: RootState) =>\n state.Patients.patientTreatingRelationship\nexport const getSelectedPatientData = (state: RootState) =>\n state.Patients.selectedPatientData\nexport const getEligibilityPatientDataById = (state: RootState) =>\n state.Patients.currentPatient\n\nexport const getClaimsListData = (state: RootState) => state.Patients.claimsList\nexport const getClaimDetails = (state: RootState) => state.Patients.claimDetails\nexport const getClaimsSubTableLoading = (state: RootState) =>\n state.Patients.claimSubTableLoading.loadingData\nexport const getClaimsSubTableIsDataFetched = (state: RootState) =>\n state.Patients.claimSubTableLoading.isDataFetched\n\nexport const getLabsListData = (state: RootState) => state.Patients.labsList\nexport const getLabsDetails = (state: RootState) => state.Patients.labsDetails\nexport const getLabsSubTableLoading = (state: RootState) =>\n state.Patients.labsSubTableLoading.loadingData\nexport const getLabsSubTableIsDataFetched = (state: RootState) =>\n state.Patients.labsSubTableLoading.isDataFetched\n\nexport const getPatientServices = (state: RootState) =>\n state.Patients.patientServices\nexport const getPatientServicesLoading = (state: RootState) =>\n state.Patients.loadingData\nexport const getPatientServicesIsDataFetched = (state: RootState) =>\n state.Patients.isDataFetched\n\nexport const getAuthorizationsListData = (state: RootState) =>\n state.Patients.authorizationsList\nexport const getAuthorizationDetails = (state: RootState) =>\n state.Patients.authorizationDetails\n\nexport const getPathologyListData = (state: RootState) =>\n state.Patients.pathologyList\n\nexport const getAuthorizationsSubTableLoading = (state: RootState) =>\n state.Patients.authorizationSubTableLoading\n\nexport const getCurrentAuthorizationRequestsStep = (state: RootState) =>\n state.Patients.currentAuthorizationRequestsStep\n\nexport const getServiceRequestsList = (state: RootState) =>\n state.Patients.serviceRequestsList\n\nexport const getServiceRequestsListLoading = (state: RootState) =>\n state.Patients.serviceRequestsListLoading\n\nexport const getDiagnosisList = (state: RootState) =>\n state.Patients.diagnosisList\n\nexport const getDiagnosisListLoading = (state: RootState) =>\n state.Patients.diagnosisListLoading\n\nexport const getPlaceOfServiceList = (state: RootState) =>\n state.Patients.placeOfServiceList\n\nexport const getNewAuthRequest = (state: RootState) =>\n state.Patients.newAuthorizationRequest\n\nexport const getNewAuthReqStatus = (state: RootState) =>\n state.Patients.newAuthReqStatus\n\nexport const getRxList = (state: RootState) => state.Patients.rxList\n\nexport const getTranscriptionsListData = (state: RootState) =>\n state.Patients.transcriptionsList\nexport const getTranscriptionsDetails = (state: RootState) =>\n state.Patients.transcriptionsDetails\nexport const getTranscriptionsSubTableLoading = (state: RootState) =>\n state.Patients.transcriptionsSubTableLoading.loadingData\nexport const getTranscriptionsSubTableIsDataFetched = (state: RootState) =>\n state.Patients.transcriptionsSubTableLoading.isDataFetched\n\nexport const getRadiologyListData = (state: RootState) =>\n state.Patients.radiologyList\nexport const getRadiologyDetails = (state: RootState) =>\n state.Patients.radiologyDetails\nexport const getRadiologySubTableLoading = (state: RootState) =>\n state.Patients.radiologySubTableLoading.loadingData\nexport const getRadiologySubTableIsDataFetched = (state: RootState) =>\n state.Patients.radiologySubTableLoading.isDataFetched\nexport const getIssueReportLoading = (state: RootState) =>\n state.Patients.issueReportLoading\nexport const getIssueReportSubmitted = (state: RootState) =>\n state.Patients.issueReportSubmitted\n\nexport const getAuthHealthPlanType = (state: RootState) =>\n state.Patients.authHealPlanType\nexport const getAuthRetroactiveStatus = (state: RootState) =>\n state.Patients.isAuthRetroactive\n\nexport const getIsBabylon = (state: RootState) => state.Patients.isBabylon\n","import { RootState } from 'app'\n\nexport const getRegisterFormStatus = (state: RootState) => state.shared.auth\nexport const getRegisterLoading = (state: RootState) =>\n state.shared.auth.loadingData\nexport const getRegisterIsDataFetched = (state: RootState) =>\n state.shared.auth.isDataFetched\nexport const getRegisterIsSomethingGetsWrong = (state: RootState) =>\n state.shared.auth.isSomethingGetsWrong\n\nexport const getIsRegistrationSetPasswordSucceed = (state: RootState) =>\n state.shared.auth.isRegistrationSetPasswordSucceed\n\nexport const getRegistrationRequestUserData = (state: RootState) =>\n state.shared.auth.registrationRequestUserData\n\nexport const getCozevaLink = (state: RootState) => state.shared.auth.cozevaLink\n\nexport const getSurveyLoading = (state: RootState) =>\n state.shared.auth.surveyLoading\nexport const getSurveyFetched = (state: RootState) =>\n state.shared.auth.surveyFetched\n","import { RootState } from 'app'\n\nexport const getProvidersFilters = (state: RootState) =>\n state.ProviderDirectory.providersFilters\n\nexport const getProvidersList = (state: RootState) =>\n state.ProviderDirectory.providersList\n\nexport const getAssociatedProvidersList = (state: RootState) =>\n state.ProviderDirectory.associatedProvidersList\n\nexport const getReferringProvidersList = (state: RootState) =>\n state.ProviderDirectory.referringProvidersList\n\nexport const getProviderDetailsList = (state: RootState) =>\n state.ProviderDirectory.providerDetailsList\n\nexport const getDataLoading = (state: RootState) =>\n state.ProviderDirectory.loadingData\n\nexport const getIsDataFetched = (state: RootState) =>\n state.ProviderDirectory.isDataFetched\n\nexport const getSubTableLoading = (state: RootState) =>\n state.ProviderDirectory.subTableLoading.loadingData\n\nexport const getSubTableIsDataFetched = (state: RootState) =>\n state.ProviderDirectory.subTableLoading.isDataFetched\n","export default __webpack_public_path__ + \"static/media/logo.bae00065.svg\";","import { makeStyles, styled } from '@material-ui/core'\nimport { colors } from 'config'\n\nexport const LogoWrapper = styled('div')(({ theme }) => ({\n textAlign: 'center',\n marginBottom: '1rem',\n\n width: '100%',\n '& > img': {\n width: '100%',\n maxWidth: 310,\n },\n}))\n\nexport const TestEnvComponent = styled('div')({\n color: colors.font.blue,\n fontWeight: 700,\n fontSize: '1.2rem',\n})\n\nexport const StyledHealthPlanLabel = styled('div')({\n width: '125%',\n background:\n 'linear-gradient(90deg, #002B5F 0%, #002B5F 46.41%, #0685BD 103.61%)',\n boxShadow: '0px 4px 20px rgba(0, 0, 0, 0.1)',\n borderRadius: '0px 15px 15px 0px',\n padding: '.75rem 1rem .75rem 2rem',\n fontSize: '17px !important',\n lineHeight: '17px',\n letterSpacing: '0.02em',\n color: colors.font.white,\n margin: '10px -10px 0 -20px',\n fontWeight: 'bold',\n cursor: 'default',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'start',\n fontFamily: 'Gotham Light !important',\n})\n\nexport const StyledHealthPlanLineOfBusiness = styled('div')({\n color: colors.font.lightBlueHover,\n paddingTop: '.5rem',\n})\n\nexport const StyledFCMGLabel = styled('div')({\n width: '125%',\n background:\n 'linear-gradient(90deg, #002B5F 0%, #002B5F 46.41%, #0685BD 103.61%)',\n boxShadow: '0px 4px 20px rgba(0, 0, 0, 0.1)',\n borderRadius: '0px 15px 15px 0px',\n padding: '.75rem .3rem .75rem 2rem',\n fontSize: '17px !important',\n lineHeight: '17px',\n letterSpacing: '0.02em',\n color: colors.font.white,\n margin: '10px 0px 10px -20px',\n fontWeight: 'bold',\n cursor: 'default',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'start',\n fontFamily: 'Gotham Light !important',\n})\n\nexport const useLogoStyles = makeStyles({\n navigationLogo: {\n marginBottom: 0,\n marginTop: 0,\n paddingLeft: 20,\n paddingRight: 20,\n '& > img': {\n display: 'block',\n margin: '0 auto',\n },\n '& > div': {\n fontSize: '0.71rem',\n },\n },\n})\n","import { useTestEnvironmentPath } from 'shared/utils/useTestEnvironmentPath'\nimport logo from 'shared/images/logo.svg'\nimport {\n LogoWrapper,\n StyledFCMGLabel,\n StyledHealthPlanLabel,\n StyledHealthPlanLineOfBusiness,\n TestEnvComponent,\n useLogoStyles,\n} from './Logo.style'\nimport { Auth } from 'shared/services'\nimport { MMN, FCMG } from 'modules/Patients/strings'\nimport { HEALTH_PLAN_ACCESS } from 'shared/strings'\n\ninterface LogoProps {\n isNavigation?: boolean\n isMaintenance?: boolean\n}\n\nconst Logo: React.FC = ({\n isNavigation = false,\n isMaintenance = false,\n}) => {\n const classes = useLogoStyles()\n const userName = Auth.getUsername()\n const isTestEnv = useTestEnvironmentPath()\n\n const location = window.location.href\n const lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\n const userSecurityLevel = localStorage.getItem('currentAccessLevel')\n\n let brandLabel\n\n switch (lineOfBusiness) {\n case MMN:\n switch (userSecurityLevel) {\n case HEALTH_PLAN_ACCESS:\n if (\n userName &&\n !location.includes('login') &&\n !location.includes('set_password') &&\n !isMaintenance\n )\n brandLabel = (\n \n
Health Plan View
\n \n North Bay Area\n \n
\n )\n break\n\n default:\n if (\n userName &&\n !location.includes('login') &&\n !location.includes('set_password') &&\n !isMaintenance\n )\n brandLabel = (\n North Bay Area\n )\n break\n }\n break\n\n case FCMG:\n switch (userSecurityLevel) {\n case HEALTH_PLAN_ACCESS:\n if (\n userName &&\n !location.includes('login') &&\n !location.includes('set_password')\n )\n brandLabel = (\n \n
Health Plan View
\n \n Central Valley\n \n
\n )\n break\n\n default:\n if (\n userName &&\n !location.includes('login') &&\n !location.includes('set_password') &&\n !isMaintenance\n )\n brandLabel = (\n Central Valley\n )\n break\n }\n break\n\n default:\n break\n }\n\n return (\n \n \n {/* {isTestEnv && (\n MERITAGE MEDICAL NETWORK - TEST\n )} */}\n {brandLabel}\n \n )\n}\n\nexport default Logo\n","import { RootState } from 'app'\n\nexport const getDCEListData = (state: RootState) => state.DCE.dceRosterData\nexport const dceDataLoading = (state: RootState) =>\n state.DCE.dceRosterDataLoading\nexport const dceDataFetched = (state: RootState) =>\n state.DCE.dceRosterDataFetched\n\nexport const getDCEProviderList = (state: RootState) =>\n state.DCE.dceProviderList\nexport const getDCEProviderListLoading = (state: RootState) =>\n state.DCE.dceProviderListLoading\n\nexport const getDCECompatible = (state: RootState) => state.DCE.dceCompatible\n","export { default } from './Loader'\n","import { Api, Auth } from 'shared/services'\nimport {\n AdminRequestPayload,\n AccountRequestListItem,\n AdminUsersRequestPayload,\n EditAdminUserPayload,\n GetAdminUserByUserNamePayload,\n AddUserOrgPayload,\n GetOrgListPayload,\n AddNewUserPayload,\n} from '../types/data'\nimport { config, configFCMG } from 'config'\nimport { MMN } from '../strings'\n\nconst lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\n\nexport default class AdminPanelApi extends Api {\n public appConfig =\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n\n public async getListOfAuthorizations(payload: AdminRequestPayload) {\n const API = `${this.appConfig}/admin/account-requests`\n\n const requestConfig = {\n params: {\n showPast: payload.showPast,\n userName: Auth.getUsername(),\n currentPage: payload.page,\n pageSize: payload.pageSize,\n sortByColumn: payload.orderBy,\n sortingDirection: payload.order === 'asc' ? 0 : 1,\n email: payload.email,\n taxId: payload.taxId,\n firstName: payload.firstName,\n lastName: payload.lastName,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n public async approveAuthorizationRequest(payload: AccountRequestListItem) {\n const API = `${this.appConfig}/admin/approve-account`\n\n const requestConfig = {\n modifiedBy: Auth.getUsername(),\n accountRequestId: +payload.id,\n }\n\n return this.api.put(API, requestConfig).then(response => response.data)\n }\n\n public async denyAuthorizationRequest(payload: AccountRequestListItem) {\n const API = `${this.appConfig}/admin/deny-account`\n\n const requestConfig = {\n modifiedBy: Auth.getUsername(),\n accountRequestId: +payload.id,\n }\n\n return this.api.put(API, requestConfig).then(response => response.data)\n }\n\n public async getUsersAndRelatedOrganizations(\n payload: AdminUsersRequestPayload\n ) {\n const API = `${this.appConfig}/admin/users`\n\n const requestConfig = {\n params: {\n userName: Auth.getUsername(),\n currentPage: payload.page,\n pageSize: payload.pageSize,\n sortByColumn: payload.orderBy,\n sortingDirection: payload.order === 'asc' ? 0 : 1,\n email: payload.email,\n taxId: payload.taxId,\n firstName: payload.firstName,\n lastName: payload.lastName,\n securityLevel: payload.securityLevel,\n orgName: payload.orgName,\n supervisorFullName: payload.supervisorFullName,\n includeDeletedAccounts: payload.includeDeletedAccounts,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n public async getUserByUserName(payload: GetAdminUserByUserNamePayload) {\n const API = `${this.appConfig}/admin/users/${payload.userName}`\n\n return this.api.get(API).then(response => response.data)\n }\n\n public async editAdminUser(payload: EditAdminUserPayload) {\n const API = `${this.appConfig}/admin/${payload.username}`\n\n return this.api\n .put(API, {\n firstName: payload.firstName,\n lastName: payload.lastName,\n email: payload.email,\n phone: payload.phone,\n fax: payload.fax,\n securityLevel: payload.accessLevel,\n active: payload.active,\n cozeva: payload.cozeva,\n modifiedBy: Auth.getUsername(),\n isAdmin: !!payload.isAdmin,\n })\n .then(response => response.data)\n }\n\n public async getListOfUserOrganizations(payload: GetOrgListPayload) {\n const API = `${this.appConfig}/admin/organizations`\n\n const requestConfig = {\n params: {\n currentPage: payload.currentPage,\n pageSize: payload.pageSize,\n },\n }\n\n if (payload.orgName) requestConfig.params.orgName = payload.orgName\n if (payload.orgTaxId) requestConfig.params.taxId = payload.orgTaxId\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n public async addNewOrg(payload: AddUserOrgPayload) {\n const API = `${this.appConfig}/admin/organizations`\n\n const params = {\n userName: payload.userName,\n taxID: payload.taxID,\n }\n\n return this.api.post(API, params).then(response => response.data)\n }\n\n public async deleteUserOrg(payload: AddUserOrgPayload) {\n const API = `${this.appConfig}/admin/organizations`\n const requestConfig = {\n data: {\n userName: payload.userName,\n taxID: payload.taxID,\n },\n }\n\n return this.api.delete(API, requestConfig).then(response => response.data)\n }\n\n public async getAdminSupervisors() {\n const API = `${this.appConfig}/admin/supervisors`\n\n return this.api.get(API).then(response => response.data)\n }\n\n public async addNewUser(payload: AddNewUserPayload) {\n const API = `${this.appConfig}/admin/users`\n\n const requestConfig = {\n userName: payload.userName,\n firstName: payload.firstName,\n lastName: payload.lastName,\n email: payload.email,\n phone: payload.phone,\n fax: payload.fax,\n securityLevel: payload.securityLevel,\n healthPlanCodes: payload.healthPlanCode,\n active: payload.active,\n taxIdOrNationalProviderId: payload.taxIdOrNationalProviderId,\n createdBy: Auth.getUsername(),\n isAdmin: !!payload.isAdmin,\n }\n\n return this.api.post(API, requestConfig).then(response => response.data)\n }\n\n public async getListOfHealthPlanCodes() {\n const API = `${this.appConfig}/admin/health-plans`\n\n return this.api.get(API).then(response => response.data)\n }\n\n public async resendVerificationEmail(userId: number) {\n const API = `${this.appConfig}/admin/verify-email/${userId}`\n\n return this.api.put(API).then(response => response.data)\n }\n\n public async importUsers(migrationList: File) {\n const formData = new FormData()\n formData.append('attachment', migrationList)\n const API = `${this.appConfig}/admin/users-migration`\n\n return this.api.post(API, formData).then(response => response.data)\n }\n\n public async fetchAdminAnalytics(days: number) {\n const API = `${this.appConfig}/User/survey?days=${days}`\n\n return this.api.get(API).then(response => response.data)\n }\n\n public async azureUserSync() {\n const API = `${this.appConfig}/User/sync-users-with-azure/sign-in`\n const requestConfig = {\n params: {\n validation: 'update-last-login-code',\n },\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n}\n","import { createAction, createAsyncThunk } from '@reduxjs/toolkit'\nimport { MODULE_NAME } from '../strings'\nimport {\n AccountRequestListItem,\n AddNewUserPayload,\n AddUserOrgPayload,\n AdminRequestPayload,\n AdminUsersRequestPayload,\n EditAdminUserPayload,\n GetAdminUserByUserNamePayload,\n GetOrgListPayload,\n} from '../types/data'\nimport AdminPanelApi from './services'\n\nconst api = new AdminPanelApi()\n\nexport const getAuthorizations = createAsyncThunk(\n `${MODULE_NAME}/authorizations`,\n async (payload: AdminRequestPayload) => api.getListOfAuthorizations(payload)\n)\n\nexport const approveAuthorizationRequest = createAsyncThunk(\n `${MODULE_NAME}/approve-request`,\n async (payload: AccountRequestListItem) =>\n api.approveAuthorizationRequest(payload)\n)\n\nexport const denyAuthorizationRequest = createAsyncThunk(\n `${MODULE_NAME}/deny-request`,\n async (payload: AccountRequestListItem) =>\n api.denyAuthorizationRequest(payload)\n)\n\nexport const toggleShowPastRequests = createAction(\n `${MODULE_NAME}/toggleShowPastRequests`\n)\n\nexport const getAdminUsers = createAsyncThunk(\n `${MODULE_NAME}/users`,\n async (payload: AdminUsersRequestPayload) =>\n api.getUsersAndRelatedOrganizations(payload)\n)\n\nexport const resetAdminUsersList = createAction(\n `${MODULE_NAME}/resetAdminUsersList`\n)\n\nexport const getAdminUserByUserName = createAsyncThunk(\n `${MODULE_NAME}/user-by-username`,\n async (payload: GetAdminUserByUserNamePayload) =>\n api.getUserByUserName(payload)\n)\n\nexport const editAdminUser = createAsyncThunk(\n `${MODULE_NAME}/edit-user`,\n async (payload: EditAdminUserPayload, { rejectWithValue }) => {\n try {\n await api.editAdminUser(payload)\n } catch (error) {\n return rejectWithValue({\n message: (error as any).response.data.Message,\n status: (error as any).response.status,\n error,\n })\n }\n }\n)\n\nexport const getListOfUserOrganizations = createAsyncThunk(\n `${MODULE_NAME}/organizations`,\n async (payload: GetOrgListPayload) => api.getListOfUserOrganizations(payload)\n)\n\nexport const addNewOrg = createAsyncThunk(\n `${MODULE_NAME}/add-org`,\n async (payload: AddUserOrgPayload) => api.addNewOrg(payload)\n)\n\nexport const deleteUserOrg = createAsyncThunk(\n `${MODULE_NAME}/delete-org`,\n async (payload: AddUserOrgPayload) => api.deleteUserOrg(payload)\n)\n\nexport const getAdminSupervisors = createAsyncThunk(\n `${MODULE_NAME}/admin-supervisors`,\n async () => api.getAdminSupervisors()\n)\n\nexport const addNewUser = createAsyncThunk(\n `${MODULE_NAME}/add-user`,\n async (payload: AddNewUserPayload, { rejectWithValue }) => {\n try {\n await api.addNewUser(payload)\n } catch (error) {\n return rejectWithValue({\n message: (error as any).response.data.Message,\n status: (error as any).response.status,\n error,\n })\n }\n }\n)\n\nexport const resetEditUserRejectPayload = createAction(\n `${MODULE_NAME}/resetEditUserPayload`\n)\n\nexport const getListOfHealthPlanCodes = createAsyncThunk(\n `${MODULE_NAME}/healthPlanCodes`,\n async () => api.getListOfHealthPlanCodes()\n)\n\nexport const setUserAdded = createAction(`${MODULE_NAME}/userAdded`)\n\nexport const resendVerificationEmail = createAsyncThunk(\n `${MODULE_NAME}/resendVerificationEmail`,\n async (userId: number) => api.resendVerificationEmail(userId)\n)\n\nexport const importUsers = createAsyncThunk(\n `${MODULE_NAME}/importUsers`,\n async (file: File) => api.importUsers(file)\n)\n\nexport const resetUsersImportedStatus = createAction(\n `${MODULE_NAME}/resetUsersImportedStatus`\n)\n\nexport const fetchSurveyAnalytics = createAsyncThunk(\n `${MODULE_NAME}/surveyAnalytics`,\n async (days: number) => api.fetchAdminAnalytics(days)\n)\n\nexport const syncUsersWithAzure = createAsyncThunk(\n `${MODULE_NAME}/syncUsersWithAzure`,\n async () => api.azureUserSync()\n)\n","import { RootState } from 'app'\n\nexport const getAdminAuthRequestsList = (state: RootState) =>\n state.AdminPanel.adminAuthRequestsList\n\nexport const getAdminAuthRequestsLoadingStatus = (state: RootState) =>\n state.AdminPanel.adminAuthRequestsLoading\n\nexport const getAdminAuthRequestsFetchedStatus = (state: RootState) =>\n state.AdminPanel.adminAuthRequestsFetched\n\nexport const getAdminApproveDenyLoadingStatus = (state: RootState) =>\n state.AdminPanel.approveOrDenyRequestLoading\n\nexport const getAdminApproveDenyFetchedStatus = (state: RootState) =>\n state.AdminPanel.approveOrDenyRequestFetched\n\nexport const getAdminUsersAndOrganizations = (state: RootState) =>\n state.AdminPanel.adminUsersAndOrganizations\n\nexport const getAdminUsersLoadingStatus = (state: RootState) =>\n state.AdminPanel.adminUsersLoading\n\nexport const getAdminUsersFetchedStatus = (state: RootState) =>\n state.AdminPanel.adminUsersFetched\n\nexport const getEditAdminUsersFetchedStatus = (state: RootState) =>\n state.AdminPanel.adminUserEditFetchedStatus\n\nexport const getEditAdminUsersRejectPayload = (state: RootState) =>\n state.AdminPanel.editUserRejectPayload\n\nexport const getEditAdminUsersLoadingStatus = (state: RootState) =>\n state.AdminPanel.adminUserEditLoadingStatus\n\nexport const getUserDetails = (state: RootState) =>\n state.AdminPanel.editedUserInfo\n\nexport const getUserDetailsLoading = (state: RootState) =>\n state.AdminPanel.editedUserInfoLoading\n\nexport const getUserDetailsFetched = (state: RootState) =>\n state.AdminPanel.editedUserInfoFetched\n\nexport const getExpandedUserData = (state: RootState) =>\n state.AdminPanel.expandedAdminUser\n\nexport const getExpandedUserDataLoading = (state: RootState) =>\n state.AdminPanel.expandedUserDataLoading\n\nexport const getExpandedUserDataFetched = (state: RootState) =>\n state.AdminPanel.expandedUserDataFetched\n\nexport const getUserOrganizations = (state: RootState) =>\n state.AdminPanel.listOfUserOrganizations\n\nexport const getUserOrganizationsLoading = (state: RootState) =>\n state.AdminPanel.listOfUserOrganizationsLoading\n\nexport const getUserOrgStatus = (state: RootState) =>\n state.AdminPanel.organizationActionFetched\n\nexport const getListOfAdminSupervisors = (state: RootState) =>\n state.AdminPanel.listOfAdminSupervisors\n\nexport const getListOfAdminSupervisorsLoading = (state: RootState) =>\n state.AdminPanel.listOfAdminSupervisorsLoading\n\nexport const getAddNewUserRejectPayload = (state: RootState) =>\n state.AdminPanel.addNewUserResponsePayload\n\nexport const getAddNewUserFetched = (state: RootState) =>\n state.AdminPanel.addNewUserFetched\n\nexport const getAddNewUserLoading = (state: RootState) =>\n state.AdminPanel.addNewUserLoading\n\nexport const getListOfHealthPlans = (state: RootState) =>\n state.AdminPanel.healthPlanCodesList\n\nexport const getVerificationEmailResentLoading = (state: RootState) =>\n state.AdminPanel.verificationEmailResentLoading\n\nexport const getVerificationEmailResentRejected = (state: RootState) =>\n state.AdminPanel.verificationEmailResentRejected\n\nexport const getImportUsersLoadingStatus = (state: RootState) =>\n state.AdminPanel.importUsersResultLoading\n\nexport const getImportUsersFetchedStatus = (state: RootState) =>\n state.AdminPanel.importUsersResultFetched\n\nexport const getImportedUsersResults = (state: RootState) =>\n state.AdminPanel.importUsersResult\n\nexport const getSurveyAnalytics = (state: RootState) =>\n state.AdminPanel.surveyAnalytics\n\nexport const getSurveyAnalyticsLoading = (state: RootState) =>\n state.AdminPanel.surveyAnalyticsLoading\n","import { Api, Auth } from 'shared/services'\nimport { config, configFCMG } from 'config'\nimport { RegistrationPayload } from '../../components/RegistrationForm/RegistrationForm.utils'\nimport {\n CreateAccountRequestValues,\n CreateUserPayload,\n UserRegistrationRequestPayload,\n VerifyEmailPayload,\n} from '../../components/Registration/Registration.utils'\nimport { CreateIssueReportPayload } from 'shared/components/Navigation/NavigationForm.utils'\nimport { MMN, LineOfBusiness } from 'modules/Patients/strings'\nimport { SubmitSurveyPayload } from 'shared/types'\n\nconst lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\n\nexport default class AuthApi extends Api {\n public appConfig =\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n\n public createAccount(payload: RegistrationPayload) {\n const lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\n const { firstName, lastName, username, email, taxId, phone, fax } = payload\n const API = `${\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n }/User/account-request`\n\n const requestConfig = {\n params: {\n firstName,\n lastName,\n userName: username,\n email,\n taxIdOrNationalProviderId: taxId,\n phone,\n fax,\n },\n }\n\n return this.api.post(API, requestConfig.params)\n }\n\n public async acceptRegistrationRequest(payload: CreateAccountRequestValues) {\n const API = `${this.appConfig}/User/approve-account`\n const accountRequestId = Number(payload.accountRequestId)\n\n const requestConfig = {\n params: {\n accountRequestId: accountRequestId,\n supervisorId: payload.supervisorId && +payload.supervisorId,\n code: payload.code,\n },\n }\n return this.api\n .put(API, requestConfig.params)\n .then(response => response.data)\n }\n\n public async denyRegistrationRequest(payload: CreateAccountRequestValues) {\n const API = `${this.appConfig}/User/deny-account`\n const accountRequestId = Number(payload.accountRequestId)\n\n const requestConfig = {\n params: {\n accountRequestId: accountRequestId,\n supervisorId: payload.supervisorId && +payload.supervisorId,\n code: payload.code,\n },\n }\n\n return this.api.put(API, requestConfig.params).then(response => {\n return response.data\n })\n }\n\n public async verifyEmail(payload: VerifyEmailPayload) {\n const appConfig =\n payload.lineOfBusiness.toString() === LineOfBusiness.MMN.toString()\n ? config.API_URL\n : configFCMG.API_URL\n\n const API = `${appConfig}/User/verify-email`\n\n const userId = Number(payload.userId)\n\n const requestConfig = {\n params: {\n userId: userId,\n code: payload.code,\n },\n }\n return this.api.put(API, requestConfig.params).then(response => {\n return response.data\n })\n }\n\n public async createUser(payload: CreateUserPayload) {\n const appConfig =\n payload.lineOfBusiness.toString() === LineOfBusiness.MMN.toString()\n ? config.API_URL\n : configFCMG.API_URL\n const API = `${appConfig}/User/create-user`\n const userId = Number(payload.userId)\n\n const requestConfig = {\n params: {\n userId: userId,\n password: payload.password,\n },\n }\n\n return this.api.post(API, requestConfig.params).then(response => {\n return response.data\n })\n }\n\n public async getUserDataForRegistrationRequest(\n payload: UserRegistrationRequestPayload\n ) {\n const id = payload.id\n const API = `${this.appConfig}/User/registration/${id}`\n const requestConfig = {\n params: {\n ...payload,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public async createIssueReport(payload: CreateIssueReportPayload) {\n const API = `${this.appConfig}/User/report`\n const { userName, module, issueDescription, attachment } = payload\n\n const formData = new FormData()\n if (userName) formData.append('userName', userName)\n if (module) formData.append('module', module)\n if (issueDescription) formData.append('issueDescription', issueDescription)\n if (attachment) formData.append('attachment', [...attachment][0])\n\n return this.api.put(API, formData).then(response => response.data)\n }\n\n public async getCozeva() {\n const API = `${this.appConfig}/user/cozeva`\n return this.api.get(API).then(response => response.data)\n }\n\n public async submitSurvey(payload: SubmitSurveyPayload) {\n const API = `${this.appConfig}/user/survey?isFeedbackGiven=${\n payload.isFeedbackGiven\n }&userName=${Auth.getUsername()}`\n\n delete payload.isFeedbackGiven\n\n return this.api.post(API, payload).then(response => response.data)\n }\n\n public async updateUserActiveStatus() {\n const API = `${this.appConfig}/user/last-login/${Auth.getUsername()}`\n\n return this.api.put(API).then(response => response.data)\n }\n}\n","import Auth from 'shared/services/Auth'\nimport { config, configFCMG } from 'config'\nimport { Api } from 'shared/services'\nimport { ProfilePhotoPayload, SavePhoneFaxPayload } from './utils'\nimport { MMN } from '../strings'\n\nconst lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\nclass UserAccountApi extends Api {\n public async addProfilePhoto(payload: ProfilePhotoPayload) {\n const username = Auth.getUsername()\n const API = `${\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n }/User/photo`\n\n let formDataAdd = new FormData()\n if (username) formDataAdd.append('UserName', username)\n formDataAdd.append('Photo', payload.profilePhotoUri)\n\n const requestConfig = {\n data: formDataAdd,\n }\n return this.api.post(API, requestConfig.data)\n }\n\n public async changeProfilePhoto(payload: ProfilePhotoPayload) {\n const username = Auth.getUsername()\n const API = `${\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n }/User/photo`\n let formData = new FormData()\n if (username) formData.append('UserName', username)\n formData.append('Photo', payload.profilePhotoUri)\n\n const requestConfig = {\n data: formData,\n }\n return this.api.put(API, requestConfig.data)\n }\n\n public async removeProfilePhoto() {\n const username = Auth.getUsername()\n const API = `${\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n }/User/photo`\n const requestConfig = {\n params: {\n userName: username,\n },\n }\n const response = await this.api.delete(API, requestConfig)\n return response.data\n }\n\n public async getUserInfo(payload: string | null) {\n const API = `${\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n }/User/${payload}`\n const requestConfig = {\n params: {\n userName: payload,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public async saveUserPhoneFaxChanges(payload: SavePhoneFaxPayload) {\n const username = Auth.getUsername()\n const API = `${\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n }/User/${username}`\n const requestConfig = {\n params: {\n phone: payload.phone || null,\n fax: payload.fax || null,\n },\n }\n return this.api.put(API, requestConfig.params)\n }\n}\nexport default UserAccountApi\n","import { ResponseType } from 'axios'\nimport moment from 'moment'\nimport {\n SearchPatientsForm,\n SearchClaimsList,\n searchClaimDetails,\n SearchPatientByIdForm,\n SearchPatientServicesForm,\n searchAuthorizationDetails,\n SearchAuthorizationsList,\n SearchServiceRequestsPayload,\n SearchDiagnosisPayload,\n TreatingRelationshipForm,\n SetTreatingRelationshipForm,\n RxListPayload,\n SearchTranscriptionsDetails,\n SearchTranscriptionsList,\n SearchLabsDetails,\n SearchLabs,\n Patient,\n SearchPathologyList,\n SearchPathologyDetails,\n SearchRadiology,\n SearchRadiologyDetails,\n CheckAuthHealthPlanTypePayload,\n CheckBehavioralHealthProviders,\n} from '../types/data'\nimport { Api } from 'shared/services'\nimport Auth from 'shared/services/Auth'\nimport { DATE_FORMAT } from 'shared/utils'\nimport { config, configFCMG } from 'config'\nimport { FCMG, MMN } from '../strings'\n\nconst lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\n\nexport default class PatientsApi extends Api {\n public appConfig =\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n\n public async searchPatients(payload: SearchPatientsForm) {\n const currentPage = payload.currentPage + 1\n const direction = payload.sortingDirection === 'asc' ? 0 : 1\n const API = `${this.appConfig}/Patient`\n\n const requestConfig = {\n params: {\n ...payload,\n currentPage,\n sortingDirection: direction,\n fromSingleDb: lineOfBusiness === FCMG,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n public async searchClaimsList(payload: SearchClaimsList) {\n const API = `${this.appConfig}/Patient/${payload.patientID}/claims`\n const { currentPage, pageSize, sortByColumn, sortingDirection } = payload\n const direction = sortingDirection === 'asc' ? 0 : 1\n const username = Auth.getUsername()\n\n const requestConfig = {\n params: {\n userName: username,\n currentPage: currentPage + 1,\n pageSize,\n sortByColumn,\n sortingDirection: direction,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public async searchPatientById(payload: SearchPatientByIdForm) {\n const id = payload.id\n const API = `${this.appConfig}/Patient/${id}/eligibility`\n const requestConfig = {\n params: {\n ...payload,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n public async getPatientTreatingRelationship(\n payload: TreatingRelationshipForm\n ) {\n const username = Auth.getUsername()\n const API = `${this.appConfig}/Patient/treating-relationship`\n const requestConfig = {\n params: {\n userName: username,\n ...payload,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public async setTreatingRelationForPatient(\n payload: SetTreatingRelationshipForm\n ) {\n const username = Auth.getUsername()\n const response = Number(payload.responseOption)\n const API = `${this.appConfig}/Patient/treating-relationship`\n\n const requestBody = {\n userName: username,\n response: response,\n responseIfOther: payload.responseIfOther,\n }\n\n const requestConfig = {\n params: {\n specialKey: payload.specialKey,\n },\n }\n return this.api.post(API, requestBody, requestConfig)\n }\n\n public async searchClaimDetails(payload: searchClaimDetails) {\n const API = `${this.appConfig}/Patient/${payload.patientID}/claims/${payload.claimID}`\n const username = Auth.getUsername()\n const requestConfig = {\n params: { userName: username, ...payload },\n }\n\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public async searchAuthorizationDetails(payload: searchAuthorizationDetails) {\n const API = `${this.appConfig}/Patient/authorizations/${payload.authorizationID}`\n const requestConfig = {\n params: {\n ...payload,\n securityLevel: payload.securityLevel,\n },\n }\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n public async searchAuthorizationsList(payload: SearchAuthorizationsList) {\n const API = `${this.appConfig}/Patient/${payload.patientID}/${payload.patientHealthPlanCode}/authorizations`\n const { currentPage, pageSize, sortByColumn, sortingDirection } = payload\n\n const direction = sortingDirection === 'asc' ? 0 : 1\n\n const requestConfig = {\n params: {\n currentPage: currentPage + 1,\n pageSize,\n sortByColumn,\n sortingDirection: direction,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n public async searchPathologyList(payload: SearchPathologyList) {\n const API = `${this.appConfig}/${payload.specialKey}/pathology`\n const {\n specialKey,\n currentPage,\n pageSize,\n sortByColumn,\n sortingDirection,\n } = payload\n\n const direction = sortingDirection === 'asc' ? 0 : 1\n\n const requestConfig = {\n params: {\n specialKey,\n currentPage: currentPage + 1,\n pageSize,\n sortByColumn,\n sortingDirection: direction,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public async searchPathologyDetails(payload: SearchPathologyDetails) {\n const API = `${this.appConfig}/pathology/${payload.id}`\n const requestConfig = {\n responseType: 'blob' as ResponseType,\n\n params: {\n id: payload.id,\n },\n }\n\n this.api.interceptors.response.use(\n response => response,\n error => {\n if (error.response.status === 404) {\n return error.response.status\n } else {\n return Promise.reject(error)\n }\n }\n )\n\n return this.api.get(API, requestConfig)\n }\n\n public async searchPatientServices(payload: SearchPatientServicesForm) {\n const patientId = payload.id\n const API = `${this.appConfig}/Patient/${patientId}/copay`\n\n const { sortingColumnName, sortingDirection } = payload\n const direction = sortingDirection === 'asc' ? 0 : 1\n\n const requestConfig = {\n params: {\n SortByColumn: sortingColumnName,\n sortingDirection: direction,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public async searchServiceRequestsList(\n payload: SearchServiceRequestsPayload\n ) {\n const API = `${this.appConfig}/Services/services`\n\n const requestConfig = {\n params: {\n ...payload,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public async searchDiagnosisList(payload: SearchDiagnosisPayload) {\n const API = `${this.appConfig}/Services/diagnoses`\n\n const requestConfig = {\n params: {\n ...payload,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public async fetchPlaceOfServiceList() {\n const API = `${this.appConfig}/placeofservicecodes`\n\n return this.api.get(API).then(response => {\n return response.data\n })\n }\n\n public async createNewAuthorizationRequest(payload: any) {\n const {\n diagnosisCodes,\n serviceRequestCodesAndQuantites,\n placeOfService,\n isUrgent,\n additionalNotes,\n supportingDocumentation,\n formOfDocumentation,\n isSupportingDocumentationAndPCPVisitMandatory,\n referringProvider,\n requestedProvider,\n patient,\n user,\n isRetro,\n retroAuthDate,\n } = payload\n\n const API = `${this.appConfig}/Patient/${patient.id}/AuthorizationRequests`\n\n const requestConfig = {\n headers: { 'Content-Type': 'multipart/form-data' },\n params: { patientId: patient.id },\n }\n\n const formData = new FormData()\n\n diagnosisCodes.map((diagnose: string) =>\n formData.append('diagnosisCodes', diagnose)\n )\n serviceRequestCodesAndQuantites.forEach((service: any, index: number) => {\n formData.append(\n `ServiceRequestCodesAndQuantites[${index}].Code`,\n service.code\n )\n formData.append(\n `ServiceRequestCodesAndQuantites[${index}].Quantity`,\n service.quantity\n )\n })\n formData.append('PlaceOfService', placeOfService)\n formData.append('IsUrgent', isUrgent)\n formData.append('AdditionalNotes', additionalNotes)\n formData.append('FormOfDocumentation', formOfDocumentation)\n supportingDocumentation.forEach((file: File, index: number) => {\n formData.append(`SupportingDocumentation`, file)\n })\n formData.append(\n 'IsSupportingDocumentationAndPCPVisitMandatory',\n isSupportingDocumentationAndPCPVisitMandatory\n )\n formData.append('ReferringProvider.Id', referringProvider.id)\n formData.append(\n 'ReferringProvider.AddressSequence',\n referringProvider.addressSequence\n )\n formData.append('RequestedProvider.Id', requestedProvider.id)\n formData.append(\n 'RequestedProvider.AddressSequence',\n requestedProvider.addressSequence\n )\n formData.append('Patient.PhoneNumber', patient.phoneNumber)\n formData.append('User.Username', user.username)\n formData.append('User.PhoneNumber', user.phoneNumber)\n formData.append('User.FaxNumber', user.faxNumber)\n formData.append('Company', lineOfBusiness === MMN ? '1' : '2')\n isRetro && formData.append('IsRetro', isRetro)\n retroAuthDate && formData.append('RetroDate', retroAuthDate)\n\n return this.api.post(API, formData, requestConfig).then(res => res.data)\n }\n\n public async searchLabsData(payload: SearchLabs) {\n const API = `${this.appConfig}/${payload.specialKey}/lab`\n const direction = payload.sortingDirection === 'asc' ? 0 : 1\n\n const requestConfig = {\n params: {\n specialKey: payload.specialKey,\n CurrentPage: payload.currentPage + 1,\n PageSize: payload.pageSize,\n SortByColumn: payload.sortByColumn,\n SortingDirection: direction,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public modifyDetailsTabHtml(htmlStr: string, patient: Patient) {\n if (\n patient &&\n patient.lastName &&\n patient.firstName &&\n patient.dateOfBirth\n ) {\n const newHtmlData =\n 'Patient: ' +\n patient.lastName.toUpperCase() +\n ', ' +\n patient.firstName.toUpperCase() +\n '
' +\n 'DOB: ' +\n moment(patient.dateOfBirth).format(DATE_FORMAT) +\n '
'\n return newHtmlData + htmlStr + newHtmlData\n }\n }\n\n public async searchLabsDetails(payload: SearchLabsDetails) {\n const API = `${this.appConfig}/lab/${payload.messageControlId}`\n const { messageControlId } = payload\n const requestConfig = {\n params: {\n messageControlId,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => {\n if (!response.data.messageControlId) {\n response.data.messageControlId = payload.messageControlId\n }\n\n response.data.outputHTML = this.modifyDetailsTabHtml(\n response.data.outputHTML,\n payload.patient\n )\n return response.data\n })\n }\n\n public async searchRxList(payload: RxListPayload) {\n const API = `${this.appConfig}/${payload.specialKey}/rx`\n\n const { pageSize, sortByColumn, sortingDirection, currentPage } = payload\n const direction = sortingDirection === 'asc' ? 0 : 1\n\n const requestConfig = {\n params: {\n CurrentPage: currentPage + 1,\n PageSize: pageSize,\n SortByColumn: sortByColumn,\n SortingDirection: direction,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n public async searchTranscriptionsList(payload: SearchTranscriptionsList) {\n const API = `${this.appConfig}/${payload.specialKey}/transcription`\n const {\n specialKey,\n currentPage,\n pageSize,\n sortByColumn,\n sortingDirection,\n } = payload\n const direction = sortingDirection === 'asc' ? 0 : 1\n\n const requestConfig = {\n params: {\n specialKey: specialKey,\n currentPage: currentPage + 1,\n pageSize,\n sortByColumn,\n sortingDirection: direction,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public async searchTranscriptionsDetails(\n payload: SearchTranscriptionsDetails\n ) {\n const API = `${this.appConfig}/Transcription/${payload.id}`\n\n let requestConfig = {}\n if (payload.messageControlId) {\n //to receive html file\n requestConfig = {\n params: {\n transcriptionId: payload.id,\n messageControlId: payload.messageControlId,\n },\n }\n } else {\n //to receive pdf file\n requestConfig = {\n responseType: 'blob' as ResponseType,\n\n params: {\n transcriptionId: payload.id,\n },\n }\n }\n\n this.api.interceptors.response.use(\n response => response,\n error => {\n if (error.response.status === 404) {\n return error.response.status\n } else {\n return Promise.reject(error)\n }\n }\n )\n\n return this.api.get(API, requestConfig).then(response => {\n if (!response.data.id) {\n response.data.id = payload.id\n }\n\n if (response.data.outputHTML && payload.patient) {\n response.data.outputHTML = this.modifyDetailsTabHtml(\n response.data.outputHTML,\n payload.patient\n )\n return response.data\n }\n\n const blob = new Blob([response.data], {\n type: 'application/pdf',\n })\n const objectUrl = window.URL.createObjectURL(blob)\n\n return { url: `${objectUrl}`, id: payload.id }\n })\n }\n\n public async searchRadiologyData(payload: SearchRadiology) {\n const API = `${this.appConfig}/${payload.specialKey}/radiology`\n const direction = payload.sortingDirection === 'asc' ? 0 : 1\n\n const requestConfig = {\n params: {\n specialKey: payload.specialKey,\n CurrentPage: payload.currentPage + 1,\n PageSize: payload.pageSize,\n SortByColumn: payload.sortByColumn,\n SortingDirection: direction,\n },\n }\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public async searchRadiologyDetails(payload: SearchRadiologyDetails) {\n const API = `${this.appConfig}/radiology/${payload.messageControlId}`\n const username = Auth.getUsername()\n\n const requestConfig = {\n params: {\n userName: username,\n messageControlId: payload.messageControlId,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => {\n if (!response.data.messageControlId) {\n response.data.messageControlId = payload.messageControlId\n }\n response.data.outputHTML = this.modifyDetailsTabHtml(\n response.data.outputHTML,\n payload.patient\n )\n return response.data\n })\n }\n\n public async checkAuthHealthPlanType(\n payload: CheckAuthHealthPlanTypePayload\n ) {\n const API = `${this.appConfig}/Patient/${payload.patientId}/AuthorizationRequests/hp-type`\n const requestConfig = {\n params: {\n patientId: payload.patientId,\n company: payload.company,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n public async isAuthRequiredForCpt(payload: {\n code: string\n company: number\n referringProvider: string | undefined\n referringToProvider: string | undefined\n }) {\n const { code, company, referringProvider, referringToProvider } = payload\n const API = `${\n this.appConfig\n }/Services/cpt/validation?Code=${code}&Company=${company}&referringProvider=${\n referringProvider ? referringProvider : ''\n }&ReferringToProvider=${referringToProvider ? referringToProvider : ''}`\n\n return this.api.get(API).then(response => response)\n }\n\n public async checkBehavioralHealthProviders(\n payload: CheckBehavioralHealthProviders\n ) {\n const API = `${this.appConfig}/Patient/authorizations/bbpr`\n const requestConfig = {\n params: {\n ...payload,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n public async checkIfBabylon(payload: {\n code: string\n addressSequence: number\n }) {\n const { code, addressSequence } = payload\n const API = `${this.appConfig}/Services/services/behavioral-program?id=${code}&AddressSequence=${addressSequence}`\n\n return this.api.get(API).then(response => response.data)\n }\n}\n","export type Order = 'asc' | 'desc'\n\nexport const PhoneNumberMask = [\n '(',\n /[1-9]/,\n /\\d/,\n /\\d/,\n ')',\n ' ',\n /\\d/,\n /\\d/,\n /\\d/,\n '-',\n /\\d/,\n /\\d/,\n /\\d/,\n /\\d/,\n]\n\nexport const validEmail = new RegExp(\n /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/\n)\n\nexport interface Authorization {\n memberFirstName: string\n memberLastName: string\n authorizationNumber: string\n requestedProvider: string\n referringProvider: string\n requested: string\n finalized: string\n status: string\n}\n\nexport interface AuthorizationsList {\n currentPage: number\n pageSize: number\n sortingColumnName: string\n results: Authorization[]\n totalResults: number\n}\n\nexport interface AuthorizationsProvider {\n fullName: string\n phone: string\n fax: string\n street: string\n city: string\n state: string\n zip: string\n}\n\nexport interface Diagnose {\n code: string\n description: string\n}\n\nexport interface Service {\n quantity: number\n code: string\n serviceTypeCode?: string\n description: string\n}\n\nexport interface PatientAuth {\n memberID: string\n healthPlan: string\n lastName: string\n firstName: string\n dateOfBirth: string\n phone: string\n pcpLastName: string\n pcpFirstName: string\n}\n\nexport interface AuthorizationDetails {\n authorizationNumber: string\n requested: string\n finalized: string\n validFrom: string\n validFromTimeRange: string\n validTo: string\n retroDate: string\n status: string\n diagnoses: Diagnose[]\n clinicalIndication: string\n notes?: string\n placeOfService: string\n numberOfVisits: number\n urgent: string\n services: Service[]\n patient: PatientAuth\n requestedProvider: AuthorizationsProvider\n referringProvider: AuthorizationsProvider\n admitTime?: string\n dischargeTime?: string\n placeOfServiceCode?: string\n comments?: {\n comments: string\n createdBy: string\n modified: string\n }\n attachedDocuments?: [\n {\n originalFileName: string\n fileName: string\n }\n ]\n}\n\nexport interface SubmitSurveyPayload {\n experience?: number\n easyToUse?: number\n expectations?: number\n easyToFindInfo?: number\n proposals?: string\n isFeedbackGiven?: boolean\n}\n","import { RootState } from 'app'\n\nexport const getRecentAuthFilters = (state: RootState) =>\n state.RecentAuthorizations.recentAuthFilters\n\nexport const getRecentAuthList = (state: RootState) =>\n state.RecentAuthorizations.recentAuthList\n\nexport const getRecentAuthLoadingFiltersStatus = (state: RootState) =>\n state.RecentAuthorizations.loadingFilters\n\nexport const getRecentAuthLoadingListStatus = (state: RootState) =>\n state.RecentAuthorizations.loadingList\n\nexport const getRecentAuthLoadingDetailsStatus = (state: RootState) =>\n state.RecentAuthorizations.loadingDetails\n\nexport const getRecentAuthDetails = (state: RootState) =>\n state.RecentAuthorizations.recentAuthDetails\n","import { RootState } from 'app'\n\nexport const getEOBListData = (state: RootState) => state.EOB.eobList\n\nexport const getEOBListDataLoading = (state: RootState) =>\n state.EOB.loadingEOBData\n\nexport const getEOBListDataFetched = (state: RootState) =>\n state.EOB.isEOBDataFetched\n\nexport const getEOBListItemDetails = (state: RootState) =>\n state.EOB.EOBListItemDetails\n\nexport const getEOBListItemDetailsLoading = (state: RootState) =>\n state.EOB.EOBListItemDetailsLoading\n\nexport const getEOBListItemDetailsFetched = (state: RootState) =>\n state.EOB.EOBListItemDetailsFetched\n\nexport const getEOBListOrgs = (state: RootState) => state.EOB.EOBOrgsList\n","import { config, configFCMG } from 'config'\nimport {\n RecentAuthFiltersPayload,\n RecentAuthListPayload,\n RecentAuthDetailsPayload,\n RecentAuthListPayloadByHealthPlan,\n RecentHPAuthFiltersPayload,\n RecentAuthFileDownloadPayload,\n} from '../types/data'\nimport { Api } from 'shared/services'\nimport { MMN } from '../strings'\n\nconst lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\n\nclass RecentAuthorizationApi extends Api {\n public async searchRecentAuthFilters({\n username,\n ...params\n }: RecentAuthFiltersPayload) {\n const API = `${\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n }/RecentAuthorization/filters/${username}`\n const requestConfig = {\n params,\n }\n\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public async searchRecentAuthFiltersForHP({\n username,\n ...params\n }: RecentHPAuthFiltersPayload) {\n const API = `${\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n }/RecentAuthorization/filters/${username}/hpu`\n const requestConfig = {\n params,\n }\n\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public async searchRecentAuthList({\n username,\n ...payload\n }: RecentAuthListPayload) {\n const API = `${\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n }/RecentAuthorization/${username}`\n\n const params = {\n ...payload,\n currentPage: payload.currentPage + 1,\n sortingDirection: payload.sortingDirection === 'asc' ? 0 : 1,\n }\n\n const requestConfig = {\n params,\n }\n\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public async searchRecentAuthHealthPlanList({\n username,\n ...payload\n }: RecentAuthListPayloadByHealthPlan) {\n const API = `${\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n }/RecentAuthorization/${username}/hpu`\n\n const params = {\n ...payload,\n currentPage: payload.currentPage + 1,\n sortingDirection: payload.sortingDirection === 'asc' ? 0 : 1,\n }\n\n const requestConfig = {\n params,\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n public async searchRecentAuthDetails({\n authorizationNumber,\n securityLevel,\n }: RecentAuthDetailsPayload) {\n const API = `${\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n }/RecentAuthorization/details/${authorizationNumber}`\n\n const params = {\n securityLevel,\n }\n\n const requestConfig = {\n params,\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n public async fetchRecentAuthFiles({\n authorizationNumber,\n FileName,\n }: RecentAuthFileDownloadPayload) {\n const API = `${\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n }/RecentAuthorization/details/${authorizationNumber}/download`\n\n const requestConfig = {\n responseType: 'blob' as ResponseType,\n\n params: {\n authorizationNumber,\n FileName,\n },\n }\n\n return this.api.get(API, requestConfig as any).then(response => response)\n }\n}\n\nexport default RecentAuthorizationApi\n","import { ComponentsProps } from '@material-ui/core/styles/props'\n\nconst props: ComponentsProps = {\n MuiTextField: {\n fullWidth: true,\n variant: 'filled',\n },\n}\n\nexport default props\n","import createPalette, {\n PaletteOptions,\n} from '@material-ui/core/styles/createPalette'\nimport colors from 'config/colors'\n\nconst palette: PaletteOptions = {\n primary: {\n main: colors.font.white,\n },\n secondary: {\n main: colors.background.secondary,\n },\n text: {\n primary: colors.font.black,\n secondary: colors.font.darkBlue,\n },\n success: {\n main: colors.success,\n },\n error: {\n main: colors.error,\n },\n}\n\nexport default createPalette(palette)\n","import colors from 'config/colors'\nimport { Overrides } from '@material-ui/core/styles/overrides'\nimport { MuiPickersOverrides } from '@material-ui/pickers/typings/overrides'\n\ntype overridesNameToClassKey = {\n [P in keyof MuiPickersOverrides]: keyof MuiPickersOverrides[P]\n}\n\ndeclare module '@material-ui/core/styles/overrides' {\n export interface ComponentNameToClassKey extends overridesNameToClassKey {}\n}\n\nconst overrides: Overrides = {\n MuiTab: {\n root: {\n '&.Mui-selected': {\n color: colors.font.orange,\n },\n },\n },\n MuiCssBaseline: {\n '@global': {\n body: {\n margin: 0,\n backgroundColor: colors.background.primary,\n },\n '@keyframes fadeIn': {\n from: {\n transform: 'translateY(-30px)',\n opacity: 0,\n },\n to: {\n transform: 'translateY(0)',\n opacity: 1,\n },\n },\n '.Mui-focused.Mui-focused.Mui-focused': {\n borderColor: colors.decoration.primary,\n transition: '.3s',\n },\n '.MuiOutlinedInput-notchedOutline.MuiOutlinedInput-notchedOutline': {\n border: 'none',\n },\n '@page': {\n size: '210mm 297mm',\n /* Chrome sets own margins, we change these printer settings */\n margin: '27mm 16mm 27mm 16mm',\n },\n '@media print': {\n '@page': {\n size: 'A4' /* DIN A4 standard, Europe */,\n margin: 0,\n },\n 'html, body': {\n width: '210mm',\n /* height: 297mm; */\n height: '282mm',\n fontSize: 11,\n background: '#FFF',\n overflow: 'visible',\n },\n body: {\n paddingTop: '15mm',\n },\n },\n },\n },\n\n MuiOutlinedInput: {\n root: {\n backgroundColor: colors.background.primary,\n borderRadius: 15,\n border: '1px solid transparent',\n transition: '.3s',\n },\n input: {\n padding: '18px 27px',\n },\n },\n\n MuiFilledInput: {\n root: {\n margin: 0,\n padding: 0,\n backgroundColor: 'transparent',\n '&:hover': {\n backgroundColor: 'transparent',\n },\n '&::before': {\n display: 'none',\n },\n '&::after': {\n display: 'none',\n },\n },\n input: {\n display: 'block',\n padding: '17px 27px',\n borderRadius: 15,\n backgroundColor: colors.background.primary,\n },\n },\n\n MuiInputBase: {\n root: {\n position: 'relative',\n },\n input: {\n letterSpacing: 1,\n fontWeight: 600,\n '&::placeholder': {\n fontWeight: 400,\n color: colors.font.black,\n opacity: 0.6,\n },\n },\n },\n\n MuiTableSortLabel: {\n root: {\n color: colors.font.black,\n '&>div>svg': {\n fill: '#B2B0B0',\n opacity: 1,\n },\n '&:hover': {\n color: colors.font.black,\n },\n },\n active: {\n '&>div>svg': {\n fill: colors.decoration.darkGrey,\n },\n },\n icon: {\n opacity: 1,\n '&&': {\n margin: 0,\n },\n '&>svg': {\n fill: colors.decoration.darkGrey,\n },\n },\n iconDirectionDesc: {\n '&>svg:last-child': {\n fill: colors.decoration.black,\n },\n },\n iconDirectionAsc: {\n '&>svg:first-child': {\n fill: colors.decoration.black,\n },\n },\n },\n\n MuiTableCell: {\n alignRight: {\n flexDirection: 'row',\n },\n footer: {\n color: colors.font.black,\n fontWeight: 600,\n },\n },\n\n MuiTablePagination: {\n selectRoot: {\n border: `1px solid ${colors.decoration.tertiary}`,\n borderRadius: 4,\n overflow: 'hidden',\n },\n toolbar: {\n paddingTop: 25,\n },\n },\n\n MuiSelect: {\n root: {\n fontWeight: 400,\n fontSize: 13,\n },\n },\n\n MuiFormHelperText: {\n root: {\n position: 'absolute',\n top: -26,\n right: 0,\n },\n },\n\n MuiPickersDay: {\n day: {\n color: colors.font.black,\n },\n daySelected: {\n backgroundColor: colors.background.primary,\n border: `2px solid ${colors.button.root}`,\n color: colors.button.root,\n\n '&:hover': {\n backgroundColor: colors.button.root,\n color: colors.font.white,\n },\n },\n current: {\n color: colors.font.black,\n },\n },\n MuiCheckbox: {\n root: {\n color: colors.button.root,\n },\n colorSecondary: {\n '&&': {\n color: colors.button.root,\n },\n },\n },\n\n MuiPaper: {\n rounded: {\n borderRadius: 15,\n },\n },\n}\n\nexport default overrides\n","import { TypographyOptions } from '@material-ui/core/styles/createTypography'\n\nconst typography: TypographyOptions = {\n h1: {\n fontSize: 45,\n fontWeight: 500,\n letterSpacing: 2,\n fontFamily: 'Bank Gotham Light',\n },\n h2: { fontSize: 28, letterSpacing: 2 },\n h3: {\n fontSize: 28,\n fontWeight: 'bold',\n },\n}\n\nexport default typography\n","import { Theme, createMuiTheme } from '@material-ui/core'\nimport { enUS } from '@material-ui/core/locale'\nimport props from './props'\nimport palette from './palette'\nimport overrides from './overrides'\nimport typography from './typography'\n\nconst theme: Theme = createMuiTheme(\n {\n props,\n palette,\n overrides,\n typography,\n },\n enUS,\n)\n\nexport default theme\n","import { styled, makeStyles } from '@material-ui/core'\nimport { colors } from 'config'\n\nexport const Container = styled('div')(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n alignItems: 'center',\n height: '100%',\n width: '100%',\n '& > .MuiCircularProgress-root': {\n marginTop: theme.spacing(10),\n marginBottom: theme.spacing(10),\n },\n}))\n\nexport const useLoaderStyles = makeStyles({\n color: {\n color: colors.decoration.blue,\n },\n buttonColor: {\n color: colors.decoration.tertiary,\n },\n pageLoader: {\n height: '100vh',\n },\n buttonLoader: {\n '& > .MuiCircularProgress-root': {\n marginTop: 0,\n marginBottom: 0,\n },\n },\n})\n","import { HTMLAttributes } from 'react'\nimport { CircularProgress } from '@material-ui/core'\nimport { Container, useLoaderStyles } from './Loader.style'\n\nexport interface LoaderProps extends HTMLAttributes {\n size?: number\n type?: 'page' | 'button'\n}\n\nconst Loader = ({ size = 100, type, ...props }: LoaderProps) => {\n const classes = useLoaderStyles()\n\n const typeCointainerClass = () => {\n switch (type) {\n case 'page':\n return classes.pageLoader\n case 'button':\n return classes.buttonLoader\n default:\n return ''\n }\n }\n\n return (\n \n \n \n )\n}\n\nexport default Loader\n","import { config, configFCMG } from 'config'\nimport {\n ProviderDetailsPayload,\n SearchProvidersForm,\n SearchProvidersReferringForm,\n} from '../types/data'\nimport { Api } from 'shared/services'\nimport {\n ManageAssociatedProvidersPayload,\n SearchAssociatedProvidersForm,\n SearchReferingProvidersPayload,\n} from '../../Patients/components/AuthorizationRequestsTab/ReferringProvider/ReferringProvider.utils'\nimport Auth from 'shared/services/Auth'\nimport { MMN } from '../strings'\n\nconst lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\n\nclass ProviderDirectionApi extends Api {\n public appConfig =\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n\n public async providersFilters() {\n const API = `${this.appConfig}/ProviderDirectory/filters/${\n lineOfBusiness === MMN ? 1 : 2\n }`\n\n return this.api.get(API).then(response => response.data)\n }\n\n public getSpecialtiesString(specialties: string[] | undefined) {\n if (specialties?.filter(Boolean).length) {\n const specialtiesCount = specialties.filter(Boolean).length\n\n if (specialtiesCount > 1)\n return specialties\n ? specialties.join('&specialties=').replaceAll(' ', '+')\n : []\n else if (specialtiesCount === 1)\n return `specialties=${specialties?.join()}`.replace('&', '%26')\n } else return ''\n }\n\n // Providers directory\n public async searchProviders(payload: SearchProvidersForm) {\n const { currentPage, sortingDirection, specialties } = payload\n const API = `${\n this.appConfig\n }/services/providers?${this.getSpecialtiesString(specialties)}`\n delete payload.specialties\n const requestConfig = {\n params: {\n ...payload,\n currentPage: currentPage + 1,\n sortingDirection: sortingDirection === 'asc' ? 0 : 1,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n // Referring to\n public async searchProvidersReferring(payload: SearchProvidersReferringForm) {\n const { currentPage, sortingDirection, specialties } = payload\n const API = `${\n this.appConfig\n }/services/providers/patients?${this.getSpecialtiesString(specialties)}`\n delete payload.specialties\n const requestConfig = {\n params: {\n ...payload,\n currentPage: currentPage + 1,\n sortingDirection: sortingDirection === 'asc' ? 0 : 1,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n public async searchProviderDetails(payload: ProviderDetailsPayload) {\n const API = `${this.appConfig}/ProviderDirectory/${payload.providerID}`\n const requestConfig = {\n params: {\n officeType: payload.officeType,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => {\n response.data.id = payload.providerID\n return response.data\n })\n }\n\n public async searchAssociatedProviders(\n payload: SearchAssociatedProvidersForm\n ) {\n const direction = payload.order === 'asc' ? 0 : 1\n const showAssociation =\n payload.userAssociation === 'showEnabled'\n ? 1\n : payload.userAssociation === 'showDisabled'\n ? 0\n : null\n\n const username = Auth.getUsername()\n const API = `${this.appConfig}/User/manage-providers`\n const requestConfig = {\n params: {\n UserName: username,\n Specialty: payload.specialty,\n City: payload.city,\n ContractType: payload.contractType,\n ShowAssociation: showAssociation,\n CurrentPage: payload.page,\n PageSize: payload.pageSize,\n sortByColumn: payload.orderBy,\n sortingDirection: direction,\n providerFirstName: payload.providerFirstName,\n providerLastName: payload.providerLastName,\n },\n }\n const response = await this.api.get(API, requestConfig)\n return response.data\n }\n\n public async addAssociatedProvider(\n payload: ManageAssociatedProvidersPayload\n ) {\n const username = Auth.getUsername()\n const API = `${this.appConfig}/User/manage-providers`\n const requestConfig = {\n params: {\n nationalProviderShortId: payload.nationalProviderShortId,\n username,\n },\n }\n return this.api.post(API, requestConfig.params)\n }\n\n public async removeAssociatedProvider(\n payload: ManageAssociatedProvidersPayload\n ) {\n const username = Auth.getUsername()\n const API = `${this.appConfig}/User/manage-providers`\n const requestConfig = {\n params: {\n nationalProviderShortId: payload.nationalProviderShortId,\n username,\n },\n }\n\n const response = await this.api.delete(API, requestConfig)\n return response.data\n }\n\n public async searchReferringProviders(\n payload: SearchReferingProvidersPayload\n ) {\n const API = `${this.appConfig}/services/referring-providers`\n const requestConfig = {\n params: payload,\n }\n\n const response = await this.api.get(API, requestConfig)\n return response.data\n }\n}\n\nexport default ProviderDirectionApi\n","import { RootState } from 'app'\n\nexport const getIsDataLoading = (state: RootState) =>\n state.PatientAssignments.loadingData\nexport const getIsDataFetched = (state: RootState) =>\n state.PatientAssignments.isDataFetched\n\nexport const getMembersProvidersFilters = (state: RootState) =>\n state.PatientAssignments.membersFiltersPoviders\n\nexport const getMembersPayorsFilters = (state: RootState) =>\n state.PatientAssignments.membersPayorsFilters\n\nexport const getMembersList = (state: RootState) =>\n state.PatientAssignments.membersList","import { RootState } from 'app'\n\nexport const getHealthPlanReportsList = (state: RootState) =>\n state.HealthPlanReports.healthPlanReportsList\n\nexport const getReportsLoading = (state: RootState) =>\n state.HealthPlanReports.healthPlanReportsListLoading\n\nexport const getReportsFetched = (state: RootState) =>\n state.HealthPlanReports.healthPlanReportsListFetched\n","import { useTranslation } from 'react-i18next'\nimport { Box, Button } from '@material-ui/core'\nimport { Alert, AlertTitle } from '@material-ui/lab'\n\nexport interface ErrorHandlerProps {\n error: Error\n reset: () => void\n}\n\nconst ErrorHandler = ({ error, reset }: ErrorHandlerProps) => {\n const { t } = useTranslation()\n return (\n \n \n {t('common.error.reset')}\n \n }\n >\n {t('common.error.title')}\n {error.message}\n \n \n )\n}\n\nexport default ErrorHandler\n","import { Component, ErrorInfo } from 'react'\nimport DefaultErrorHandler, { ErrorHandlerProps } from './ErrorHandler'\n\nexport interface ErrorBoundaryProps {\n errorHandler?: (props: ErrorHandlerProps) => JSX.Element\n}\n\nexport interface ErrorBoundaryState {\n error: Error | null\n}\n\nclass ErrorBoundary extends Component {\n state: ErrorBoundaryState = { error: null }\n\n static getDerivedStateFromError = (error: Error) => ({ error })\n\n componentDidCatch = (error: Error, errorInfo: ErrorInfo) => {\n console.error(error, errorInfo)\n this.setState({ error })\n }\n\n private reset = () => this.setState({ error: null })\n\n render = () => {\n const {\n children,\n errorHandler: ErrorHandler = DefaultErrorHandler,\n } = this.props\n const { error } = this.state\n return error ? : children\n }\n}\n\nexport default ErrorBoundary\n","import { Suspense, SuspenseProps, lazy } from 'react'\nimport { Loader } from 'shared/components'\nimport ErrorBoundary, { ErrorBoundaryProps } from './ErrorBoundary'\n\nexport interface LoadableProps extends ErrorBoundaryProps {\n component(): Promise<{ default: React.ComponentType }>\n loader?: SuspenseProps['fallback']\n}\n\nconst Loadable = ({\n component,\n errorHandler,\n loader,\n ...errorBoundaryProps\n}: LoadableProps) => {\n const Component = lazy(component)\n return (componentProps: T) => (\n \n }>\n \n \n \n )\n}\n\nexport default Loadable\n","import { Redirect, Route, RouteProps } from 'react-router-dom'\nimport { paths } from 'config'\nimport { useAuth } from 'shared/hooks'\nimport { getUserInfo } from 'modules/UserAccount/store/selectors'\nimport { useSelector } from 'react-redux'\nimport { HEALTH_PLAN_ACCESS, MMN } from 'shared/strings'\nimport MaintenanceBanner from './MaintenanceBanner'\n// import NotificationBanner from './NotificationBanner/NotificationBanner'\n\nconst PrivateRoute = (props: RouteProps) => {\n const { isAuthenticated } = useAuth()\n const userInfo = useSelector(getUserInfo)\n const lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\n\n if (userInfo.securityLevel) {\n localStorage.setItem('currentAccessLevel', userInfo.securityLevel)\n if (userInfo.securityLevel === HEALTH_PLAN_ACCESS)\n localStorage.setItem(\n 'healthPlanCode',\n userInfo.healthPlanCodes.toString()\n )\n }\n\n return isAuthenticated ? (\n <>\n {/* */}\n \n \n ) : (\n \n )\n}\n\nexport default PrivateRoute\n","import jwtDecode from 'jwt-decode'\n\nconst decode = (token: string): any => {\n return jwtDecode(token)\n}\n\nconst getUserIdFromToken = (token: string): string => {\n return decode(token).oid\n}\n\n// eslint-disable-next-line import/no-anonymous-default-export\nexport default { decode, getUserIdFromToken }\n","import { createAction, createAsyncThunk } from '@reduxjs/toolkit'\nimport { paths } from 'config'\nimport googleAnalytics from 'config/google-analytics'\nimport jwt from 'config/jwt'\nimport { MODULE_NAME } from 'modules/Patients/strings'\nimport { Auth, Msal } from 'shared/services'\nimport { RegistrationPayload } from 'shared/components/RegistrationForm/RegistrationForm.utils'\nimport AuthApi from './services'\nimport {\n CreateAccountRequestValues,\n CreateUserPayload,\n UserRegistrationRequestPayload,\n VerifyEmailPayload,\n} from '../../components/Registration/Registration.utils'\nimport { CreateIssueReportPayload } from 'shared/components/Navigation/NavigationForm.utils'\nimport { SubmitSurveyPayload } from 'shared/types'\n\nconst api = new AuthApi()\n\nfunction parseJwt(token: any) {\n let base64Url = token.split('.')[1]\n let base64 = base64Url.replace(/-/g, '+').replace(/_/g, '/')\n let jsonPayload = decodeURIComponent(\n atob(base64)\n .split('')\n .map(function (c) {\n return '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2)\n })\n .join('')\n )\n\n return JSON.parse(jsonPayload)\n}\n\n// export const login = createAsyncThunk(\n// `auth/login`,\n// async (_, { rejectWithValue }) => {\n// try {\n// const response = await Msal.getInstance().loginPopup()\n// Msal.getInstance().setActiveAccount(response.account?.homeAccountId)\n\n// if (response.account?.homeAccountId) {\n// Auth.setActiveAccount(response.account?.homeAccountId)\n// }\n// const { idToken } = await Msal.getInstance().getSilentToken()\n\n// Auth.setToken(idToken)\n// if (response.idTokenClaims) {\n// googleAnalytics.setUserId(jwt.getUserIdFromToken(idToken))\n// const parsedIdToken = parseJwt(idToken)\n// const username = parsedIdToken.extension_UserName\n// if (username) Auth.setUsername(username)\n// }\n// window.location.replace(paths.home)\n// return idToken\n// } catch (err) {\n// return rejectWithValue(err.response)\n// }\n// }\n// )\n\nexport const handleRedirectResponse = async () => {\n try {\n const response = await Msal.getInstance().handleRedirectPromise();\n if (response) {\n Msal.getInstance().setActiveAccount(response.account?.homeAccountId);\n\n if (response.account?.homeAccountId) {\n Auth.setActiveAccount(response.account?.homeAccountId);\n }\n const { idToken } = await Msal.getInstance().getSilentToken();\n\n Auth.setToken(idToken);\n if (response.idTokenClaims) {\n googleAnalytics.setUserId(jwt.getUserIdFromToken(idToken));\n const parsedIdToken = parseJwt(idToken);\n const username = parsedIdToken.extension_UserName;\n if (username) Auth.setUsername(username);\n }\n window.location.replace(paths.home);\n }\n } catch (err) {\n console.error('Error handling redirect response', err);\n }\n};\n\nexport const login = createAsyncThunk(\n `auth/login`,\n async (_, { rejectWithValue }) => {\n try {\n Msal.getInstance().loginRedirect(); // Changed from loginPopup to loginRedirect\n } catch (err) {\n return rejectWithValue(err.response);\n }\n }\n);\n\nexport const register = createAsyncThunk(\n `${MODULE_NAME}/registration`,\n async (payload: RegistrationPayload, { rejectWithValue }) => {\n try {\n Auth.setRegistrationEmail(payload.email)\n await api.createAccount(payload)\n window.location.replace(paths.request_sent_successfully)\n } catch (error) {\n if (error.response.status !== 400 && error.response.status !== 404) {\n window.location.replace(paths.request_sent_fail)\n }\n return rejectWithValue({\n message: error.response.data.Message,\n status: error.response.status,\n error,\n })\n }\n }\n)\n\nexport const logout = createAsyncThunk(\n `auth/logout`,\n async (_, { rejectWithValue }) => {\n try {\n const homeAccountId = Auth.getActiveAccount()\n if (homeAccountId) {\n const logoutRequest = {\n account: Msal.getInstance().getAccountByHomeId(homeAccountId),\n }\n return await Msal.getInstance()\n .logoutPopup(logoutRequest)\n .then(() => {\n googleAnalytics.clearUserId()\n localStorage.clear()\n window.location.replace(paths.login)\n })\n }\n } catch (error) {\n return error\n }\n }\n)\n\nexport const acceptRegistrationRequest = createAsyncThunk(\n `${MODULE_NAME}/acceptreqistrationrequest`,\n async (payload: CreateAccountRequestValues, { rejectWithValue }) => {\n try {\n await api.acceptRegistrationRequest(payload)\n } catch (error) {\n if (error.response.status === 400) {\n window.location.replace(paths.request_link_expired)\n }\n return rejectWithValue({\n message: error.response.data.Message,\n status: error.response.status,\n error,\n })\n }\n }\n)\n\nexport const denyRegistrationRequest = createAsyncThunk(\n `${MODULE_NAME}/denyreqistrationrequest`,\n async (payload: CreateAccountRequestValues, { rejectWithValue }) => {\n try {\n await api.denyRegistrationRequest(payload)\n const url = `${paths.request_denied}?lastName=${payload.lastName}&firstName=${payload.firstName}`\n window.location.replace(url)\n } catch (error) {\n if (error.response.status === 400) {\n window.location.replace(paths.request_link_expired)\n }\n return rejectWithValue({\n message: error.response.data.Message,\n status: error.response.status,\n error,\n })\n }\n }\n)\nexport const verifyEmail = createAsyncThunk(\n `${MODULE_NAME}/verifyEmail`,\n async (payload: VerifyEmailPayload, { rejectWithValue }) => {\n try {\n await api.verifyEmail(payload)\n } catch (error) {\n if (error.response.status === 400) {\n window.location.replace(paths.request_link_expired)\n }\n return rejectWithValue({\n message: error.response.data.Message,\n status: error.response.status,\n error,\n })\n }\n }\n)\nexport const createUser = createAsyncThunk(\n `${MODULE_NAME}/createUser`,\n async (payload: CreateUserPayload, { rejectWithValue }) => {\n try {\n await api.createUser(payload)\n window.location.replace(paths.login)\n } catch (error) {\n if (error.response.status === 400) {\n window.location.replace(paths.request_link_expired)\n }\n return rejectWithValue({\n message: error.response.data.Message,\n status: error.response.status,\n error,\n })\n }\n }\n)\n\nexport const getUserDataForRegistrationRequest = createAsyncThunk(\n `${MODULE_NAME}/getuserdataforregistrationrequest`,\n async (payload: UserRegistrationRequestPayload, { rejectWithValue }) => {\n try {\n return await api.getUserDataForRegistrationRequest(payload)\n } catch (error) {\n if (error.response.status === 400) {\n window.location.replace(paths.request_link_expired)\n }\n return rejectWithValue({\n message: error.response.data.Message,\n status: error.response.status,\n error,\n })\n }\n }\n)\n\nexport const createIssueReport = createAsyncThunk(\n `${MODULE_NAME}/report`,\n async (payload: CreateIssueReportPayload, { rejectWithValue }) => {\n try {\n await api.createIssueReport(payload)\n } catch (error) {\n return rejectWithValue({\n message: error.response.data.Message,\n status: error.response.status,\n error,\n })\n }\n }\n)\n\nexport const reportSubmittedAction = createAction(\n `${MODULE_NAME}/submitReport`\n)\n\nexport const getCozeva = createAsyncThunk(\n `${MODULE_NAME}/get-coziva`,\n async () => await api.getCozeva()\n)\n\nexport const submitSurvey = createAsyncThunk(\n `${MODULE_NAME}/feedback-survey`,\n async (payload: SubmitSurveyPayload) => await api.submitSurvey(payload)\n)\n\nexport const UpdateIsUserActiveAndLoginCount = createAsyncThunk(\n `${MODULE_NAME}/update-active-status-login-count`,\n async () => await api.updateUserActiveStatus()\n)\n","export enum LoadingStatus {\n Idle = 'idle',\n Pending = 'pending',\n Succeeded = 'succeeded',\n Failed = 'failed',\n}\n","import { Api, Auth } from 'shared/services'\nimport { EOBDetailsPayload, EOBListReqPayload } from '../types/data'\nimport { config, configFCMG } from 'config'\nimport { MMN } from '../strings'\n\nconst lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\n\nexport default class EOBApi extends Api {\n public appConfig =\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n\n public async searchEOBList(payload: EOBListReqPayload) {\n const {\n page,\n rowsPerPage,\n order,\n orderBy,\n organizationName,\n checkNumber,\n } = payload\n const username = Auth.getUsername()\n const API = `${this.appConfig}/EOB/${username}/claims`\n\n const requestConfig = {\n params: {\n currentPage: page + 1,\n pageSize: rowsPerPage,\n sortByColumn: orderBy,\n sortingDirection: order === 'asc' ? 0 : 1,\n checkNumber,\n organizationName,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n public async getEOBItemDetails(payload: EOBDetailsPayload[]) {\n const API = `${this.appConfig}/EOB/details`\n\n const requestConfig = payload.map(el => ({\n checkNumber: +el.checkNumber,\n orgID: el.orgID,\n }))\n\n return this.api.post(API, requestConfig).then(response => response.data)\n }\n\n public async getEOBOrgs() {\n const username = Auth.getUsername()\n const API = `${this.appConfig}/User/${username}/organizations`\n\n return this.api.get(API).then(response => response.data)\n }\n}\n","const colors = {\n background: {\n primary: '#ffffff',\n secondary: '#ECEFF3',\n tertiary: '#F9FDFF',\n lightBlue: '#E6F1F6',\n homePageComponent: '#DDE5F0',\n gradientFirst:\n 'linear-gradient(161.31deg, rgba(0, 43, 95, 0.385) -1.13%, rgba(0, 43, 95, 0.055) 70.77%)',\n gradientSecond:\n 'linear-gradient(142.25deg, rgba(255, 255, 255, 0.49) 1.05%, rgba(255, 255, 255, 0.07) 100%)',\n },\n imgGradient:\n 'linear-gradient(90deg, rgba(0, 43, 95, 0.6) 49.71%, rgba(196, 216, 224, 0.44) 100%)',\n imgHomepageGradient:\n 'linear-gradient(270.07deg, rgba(0, 43, 95, 0.4) 1.23%, rgba(0, 43, 95, 0.63) 99.54%);',\n\n table: {\n bgPrimary: '#FCFEFF',\n bgSecondary: '#F2F9FB',\n },\n navigation: {\n backgroud: '#F6F6F6',\n backgroundHover: '#007BB6',\n backgroundActive: '#002B5F',\n font: '#002B5F',\n fontHover: '#FFFFFF',\n fontActive: '#FFFFFF',\n },\n border: {\n primary: '#ffffff',\n root: '#1E65BA',\n grey: '#C4C4C4',\n white: '#ffffff',\n },\n font: {\n primary: '#1E65BA',\n black: '#35363A',\n lightGrey: '#827C7C',\n grey: '#343333',\n darkBlue: '#002B5F',\n orange: '#F27824',\n white: '#ffffff',\n red: '#E60303',\n blue: '#0685BD',\n lightBlue: '#BCE5F6',\n lightBlueHover: '#58C4F4',\n lightGreen: '#80BA00',\n },\n button: {\n root: '#1E65BA',\n hover: '#669BDC',\n grey: '#C4C4C4',\n },\n header: {\n gradient: {\n start: 'rgba(0, 43, 95, 0.6)',\n middle: 'rgba(0, 43, 95, 0.306)',\n end: 'rgba(0, 43, 95, 0.03)',\n },\n },\n footer: '#D2DCEB',\n login: {\n gradient: {\n start: 'rgba(0, 43, 95, 0.85)',\n middle: 'rgba(0, 43, 95, 0.306)',\n end: 'rgba(0, 43, 95, 0.1)',\n },\n },\n decoration: {\n primary: '#002B5F',\n secondary: '#F27824',\n tertiary: '#1E65BA',\n lightBlue: '#0685BD',\n blue: '#0685BD',\n whiteBlue: '#F4F7FC',\n white: '#FFFFFF',\n black: '#35363A',\n lightGrey: '#ECEFF3',\n mediumGrey: '#C4C4C4',\n darkGrey: '#B2B0B0',\n rowActiveBg: '#C4D8E0',\n lightBorder: '#C4D8E0',\n scrollBarColor: '#E9E8E8',\n scrollColor: '#BEBDBD',\n disable: '#E9E8E8',\n lightOrange: '#FFEDE0',\n green: '#80BA00',\n lightGreen: 'rgba(128, 186, 0, 0.19)',\n red: '#AC0909',\n },\n subTable: {\n headBackground: '#FFEDE0',\n rowBackground: '#FDFBFA',\n lightGrey: '#C4C4C4',\n },\n navActive: {\n background: 'rgba(30, 101, 186, 0.05)',\n border: '#002B5F',\n font: '#002B5F',\n },\n icons: {\n positive: '#80BA00',\n negative: '#AC0909',\n },\n changeImage: {\n blueBg: 'rgb(0, 43, 95, .7)',\n redBg: 'rgb(172, 9, 9, .5)',\n },\n success: '#289203',\n error: '#AC0909',\n}\n\nexport default colors\n","import { RouteProps } from 'react-router-dom'\n\nexport const DATE_FORMAT = 'MM/DD/YYYY'\nexport const DATE_FORMAT_WITH_TIME = 'MM/DD/YYYY, HH:MM'\n\nexport const addBasePath = (\n basePath: string,\n routes: T[]\n) =>\n routes.map(({ path, ...route }) => ({\n ...route,\n path: `${basePath}${path}`.replace('//', '/'),\n }))\n","export const MODULE_NAME = 'AdminPanel'\nexport const MMN = 'Meritage Medical Network'\nexport const FCMG = 'First Choice Medical Group'\n","import { config } from 'config'\n\nclass Auth {\n static setToken(token: string) {\n return localStorage.setItem(config.API_TOKEN_FIELD, token)\n }\n\n static getToken() {\n return localStorage.getItem(config.API_TOKEN_FIELD)\n }\n\n static setUsername(username: string) {\n return localStorage.setItem(config.API_USERNAME_FIELD, username)\n }\n\n static getUsername() {\n return localStorage.getItem(config.API_USERNAME_FIELD)\n }\n\n static setActiveAccount(account: string) {\n return localStorage.setItem(config.API_ACTIVE_ACCOUNT_FIELD, account)\n }\n\n static getActiveAccount() {\n return localStorage.getItem(config.API_ACTIVE_ACCOUNT_FIELD)\n }\n\n static setRegistrationEmail(email: string | string[]) {\n return localStorage.setItem(\n config.API_REGISTRATION_EMAIL_FIELD,\n email as string\n )\n }\n\n static getRegistrationEmail() {\n return localStorage.getItem(config.API_REGISTRATION_EMAIL_FIELD)\n }\n\n static isAuthenticated() {\n return !!Auth.getToken()\n }\n}\n\nexport default Auth\n","import { createReducer } from '@reduxjs/toolkit'\nimport { LoadingStatus } from 'shared/types'\nimport paths from 'config/paths'\nimport {\n acceptRegistrationRequest,\n createUser,\n denyRegistrationRequest,\n getCozeva,\n getUserDataForRegistrationRequest,\n login,\n register,\n submitSurvey,\n verifyEmail,\n} from './actions'\nimport { UserRegistrationRequestData } from '../../components/Registration/Registration.utils'\n\ninterface State {\n isAuthenticated: boolean\n registrationStatus: LoadingStatus\n accessToken: string\n loading: LoadingStatus\n error?: string | null\n loadingData: boolean\n isDataFetched: boolean\n isSomethingGetsWrong: boolean\n isRegistrationSetPasswordSucceed: boolean\n apiRegistrationError: string\n errorStatus: number | null\n registrationRequestUserData: UserRegistrationRequestData | any\n cozevaLink: {\n url: string\n }\n cozevaLinkFetched: boolean\n surveyLoading: boolean\n surveyFetched: boolean\n}\n\nconst initialState: State = {\n isAuthenticated: false,\n registrationStatus: LoadingStatus.Idle,\n accessToken: '',\n loading: LoadingStatus.Idle,\n error: null,\n loadingData: false,\n isDataFetched: false,\n isSomethingGetsWrong: false,\n isRegistrationSetPasswordSucceed: false,\n apiRegistrationError: '',\n errorStatus: null,\n registrationRequestUserData: {\n firstName: '',\n lastName: '',\n email: '',\n },\n cozevaLink: { url: '' },\n cozevaLinkFetched: false,\n surveyLoading: false,\n surveyFetched: false,\n}\n\nexport default createReducer(initialState, builder =>\n builder\n .addCase(login.pending, state => {\n state.loading = LoadingStatus.Pending\n state.error = initialState.error\n })\n .addCase(login.fulfilled, (state, action) => {\n // state.accessToken = action.payload\n state.loading = LoadingStatus.Succeeded\n state.error = null\n })\n .addCase(login.rejected, (state, action) => {\n state.loading = LoadingStatus.Pending\n state.error = action.error.message\n })\n\n .addCase(register.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n state.registrationStatus = LoadingStatus.Pending\n state.apiRegistrationError = ''\n })\n .addCase(register.fulfilled, (state, action) => {\n state.loadingData = false\n state.isDataFetched = true\n state.registrationStatus = LoadingStatus.Succeeded\n })\n .addCase(register.rejected, (state, action: any) => {\n state.apiRegistrationError = action.payload.message\n state.errorStatus = action.payload.status\n state.isDataFetched = false\n state.registrationStatus = LoadingStatus.Failed\n })\n\n .addCase(acceptRegistrationRequest.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n state.isSomethingGetsWrong = false\n })\n .addCase(acceptRegistrationRequest.fulfilled, (state, action) => {\n state.loadingData = false\n state.isDataFetched = true\n state.isSomethingGetsWrong = false\n })\n .addCase(acceptRegistrationRequest.rejected, (state, action: any) => {\n state.isDataFetched = false\n state.loadingData = false\n state.isSomethingGetsWrong = true\n })\n\n .addCase(denyRegistrationRequest.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n state.isSomethingGetsWrong = false\n })\n .addCase(denyRegistrationRequest.fulfilled, (state, action) => {\n state.loadingData = false\n state.isDataFetched = true\n state.isSomethingGetsWrong = false\n })\n .addCase(denyRegistrationRequest.rejected, (state, action: any) => {\n state.isDataFetched = false\n state.loadingData = false\n state.isSomethingGetsWrong = true\n })\n\n .addCase(verifyEmail.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n state.isSomethingGetsWrong = false\n })\n .addCase(verifyEmail.fulfilled, (state, action) => {\n state.loadingData = false\n state.isDataFetched = true\n state.isSomethingGetsWrong = false\n })\n .addCase(verifyEmail.rejected, (state, action: any) => {\n state.isDataFetched = false\n state.loadingData = false\n state.isSomethingGetsWrong = true\n })\n\n .addCase(createUser.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n state.isSomethingGetsWrong = false\n state.isRegistrationSetPasswordSucceed = false\n })\n .addCase(createUser.fulfilled, (state, action) => {\n state.loadingData = false\n state.isDataFetched = true\n state.isSomethingGetsWrong = false\n state.isRegistrationSetPasswordSucceed = true\n })\n .addCase(createUser.rejected, (state, action: any) => {\n state.isDataFetched = false\n state.loadingData = false\n state.isSomethingGetsWrong = true\n state.isRegistrationSetPasswordSucceed = false\n })\n\n .addCase(getUserDataForRegistrationRequest.pending, state => {\n state.loadingData = true\n state.isDataFetched = false\n state.isSomethingGetsWrong = false\n })\n .addCase(getUserDataForRegistrationRequest.fulfilled, (state, action) => {\n state.loadingData = false\n state.isDataFetched = true\n state.registrationRequestUserData = action.payload\n state.isSomethingGetsWrong = false\n })\n .addCase(\n getUserDataForRegistrationRequest.rejected,\n (state, action: any) => {\n state.isDataFetched = false\n state.loadingData = false\n state.isSomethingGetsWrong = true\n }\n )\n .addCase(getCozeva.fulfilled, (state, action) => {\n state.cozevaLink = action.payload\n state.cozevaLinkFetched = true\n })\n .addCase(getCozeva.rejected, state => {\n state.cozevaLinkFetched = false\n })\n .addCase(submitSurvey.fulfilled, state => {\n state.surveyLoading = false\n state.surveyFetched = true\n })\n .addCase(submitSurvey.rejected, state => {\n state.surveyLoading = false\n state.surveyFetched = false\n })\n .addCase(submitSurvey.pending, state => {\n state.surveyLoading = true\n state.surveyFetched = false\n })\n)\n","import reducer from './reducer'\nimport * as actions from './actions'\nimport * as selectors from './selectors'\n\nconst store = { actions, reducer, selectors }\n\nexport default store\n","import { combineReducers } from 'redux'\nimport auth from './auth'\n\nexport const actions = {\n auth: auth.actions,\n}\n\nexport const selectors = {\n auth: auth.selectors,\n}\n\nexport const reducer = combineReducers({\n auth: auth.reducer,\n})\n","import { paths } from 'config'\nimport { RouteProps } from 'react-router-dom'\nimport { Loadable } from './components'\n\nconst routes: RouteProps[] = [\n {\n path: paths.login,\n exact: true,\n component: Loadable({\n component: () => import('./components/Login'),\n }),\n },\n {\n path: paths.registration,\n exact: true,\n component: Loadable({\n component: () => import('./components/Registration'),\n }),\n },\n {\n path: paths.request_sent_successfully,\n exact: true,\n component: Loadable({\n component: () =>\n import(\n './components/Registration/RegistrationFirstPhase/RequestSentSuccessfullyComponent'\n ),\n }),\n },\n {\n path: paths.request_sent_fail,\n exact: true,\n component: Loadable({\n component: () =>\n import(\n './components/Registration/RegistrationFirstPhase/RequestSentFailedComponent'\n ),\n }),\n },\n\n {\n path: paths.request_accepted,\n exact: true,\n component: Loadable({\n component: () =>\n import(\n './components/Registration/SupervisorFlow/RequestAcceptedComponent'\n ),\n }),\n },\n {\n path: paths.request_deny,\n exact: true,\n component: Loadable({\n component: () =>\n import('./components/Registration/SupervisorFlow/RequestDenyComponent'),\n }),\n },\n {\n path: paths.request_denied,\n exact: true,\n component: Loadable({\n component: () =>\n import(\n './components/Registration/SupervisorFlow/RequestDeniedComponent'\n ),\n }),\n },\n {\n path: paths.set_password,\n exact: true,\n component: Loadable({\n component: () =>\n import(\n './components/Registration/RegistrationSecondPhase/RegistrationSetPasswordComponent'\n ),\n }),\n },\n {\n path: paths.request_link_expired,\n exact: true,\n component: Loadable({\n component: () => import('./components/Registration/RequestLinkExpired'),\n }),\n },\n]\n\nexport default routes\n","import { useEffect } from 'react'\nimport { useDispatch } from 'react-redux'\nimport { Auth } from 'shared/services'\nimport { fetchUserInfoData } from 'modules/UserAccount/store/actions'\nimport { fetchDCEAccessCheck } from 'modules/DCEPatientRoster/store/actions'\nimport { MMN } from 'shared/strings'\n\nconst Main = (props: any) => {\n const dispatch = useDispatch()\n const userName = Auth.getUsername()\n const lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\n\n useEffect(() => {\n const isAuthenticated = Auth.isAuthenticated()\n if (isAuthenticated && typeof userName === 'string') {\n dispatch(fetchUserInfoData(userName))\n }\n if (lineOfBusiness === MMN) dispatch(fetchDCEAccessCheck())\n }, [dispatch, userName])\n\n return props.children\n}\n\nexport default Main\n","import { styled } from '@material-ui/core'\nimport { colors } from 'config'\n\nexport const Bar = styled('div')({\n position: 'fixed',\n top: 0,\n left: 0,\n zIndex: 1000,\n width: '100%',\n height: 20,\n backgroundColor: colors.error,\n color: colors.font.white,\n textAlign: 'center',\n '& + div': {\n marginTop: 20,\n },\n})\n","import { useState, useEffect } from 'react'\nimport moment from 'moment'\nimport { Bar } from './TestBarWithData.style'\n\nconst TestBarWithData: React.FC = () => {\n const [actualDate, setActualDate] = useState(\n moment().format('MMMM Do YYYY, h:mm:ss a')\n )\n\n useEffect(() => {\n const intervalID = setInterval(() => {\n setActualDate(moment().format('MMMM Do YYYY, h:mm:ss a'))\n }, 1000)\n\n return () => {\n clearTimeout(intervalID)\n }\n }, [])\n\n return {actualDate}\n}\n\nexport default TestBarWithData\n","import { styled, Grid, makeStyles, Typography } from '@material-ui/core'\nimport { colors } from 'config'\n\nexport const Banner = styled('div')({\n display: 'flex',\n flexDirection: 'column',\n flex: 4,\n minWidth: '60%',\n maxWidth: '60%',\n maxHeight: '50%',\n alignSelf: 'center',\n background: colors.background.gradientSecond,\n borderRadius: '32px',\n alignItems: 'center',\n padding: '4.375rem 4.75rem',\n\n '@media (max-width:1024px)': {\n padding: '1rem 2.75rem ',\n },\n})\n\nexport const DownTimeText = styled('span')({\n color: colors.decoration.red,\n fontWeight: 700,\n fontSize: '24px',\n lineHeight: '30px',\n textAlign: 'center',\n margin: '3.75rem 0 2.75rem 0',\n fontFamily: 'Gotham',\n\n '@media (max-width:1024px)': {\n margin: '1.75rem 1.75rem ',\n },\n})\n\nexport const UrgentSubmissions = styled('span')({\n fontSize: '20px',\n textAlign: 'center',\n fontWeight: 700,\n marginTop: '2.75rem',\n fontFamily: 'Gotham',\n\n '@media (max-width:768px)': {\n marginTop: '0.75rem ',\n },\n})\n\nexport const Wrapper = styled(Grid)({\n display: 'flex',\n height: '100%',\n width: '100%',\n flexDirection: 'column',\n position: 'absolute',\n justifyContent: 'center',\n alignItems: 'stretch',\n padding: '0 0 5rem 0',\n\n background: colors.background.gradientFirst,\n})\n\nexport const Title = styled(Typography)(({ theme }) => ({\n fontSize: 35,\n lineHeight: '33px',\n height: 'fit-content',\n textAlign: 'center',\n\n color: colors.decoration.primary,\n '& em': {\n fontFamily: 'Gotham',\n },\n}))\n\nexport const useFormStyles = makeStyles({\n maintenanceFooter: {\n flexGrow: 1,\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'start',\n },\n maintenanceDescription: {\n fontSize: '20px',\n textAlign: 'center',\n fontWeight: 500,\n fontFamily: 'Gotham Light',\n },\n techSupportText: {\n fontWight: 'bold',\n fontSize: '18px',\n lineHeight: '30px',\n textAlign: 'center',\n fontWeight: 700,\n margin: '4.25rem 0 0.75rem 4.75rem',\n },\n contactHeaders: {\n fontWight: 'bold',\n fontSize: '18px',\n lineHeight: '30px',\n textAlign: 'center',\n fontWeight: 700,\n margin: '0.5rem 0 1.25rem 4.75rem',\n },\n phone: {\n fontWight: 'bold',\n fontSize: '18px',\n lineHeight: '30px',\n textAlign: 'center',\n marginLeft: '5px',\n },\n email: {\n fontWight: 'bold',\n fontSize: '18px',\n lineHeight: '30px',\n textAlign: 'center',\n marginLeft: '5px',\n color: '#1E65BA',\n fontWeight: 700,\n },\n})\n","import {\n Wrapper,\n useFormStyles,\n Title,\n Banner,\n DownTimeText,\n UrgentSubmissions,\n} from './Maintenance.style'\nimport Logo from '../../components/Logo/Logo'\nimport { useTranslation } from 'react-i18next'\n\nconst Maintenance = () => {\n const classes = useFormStyles()\n const { t } = useTranslation()\n\n return (\n \n
\n \n
\n {/* */}\n \n {t('maintenancePage.title')}\n {t('maintenancePage.downTime')}\n \n {t('maintenancePage.downTimeDescription')}\n \n \n {t('maintenancePage.urgentSubmission')}\n \n \n {/* */}\n
\n \n {t('maintenancePage.technicalSupport')}\n \n \n \n {t('maintenancePage.phoneNumber')}\n \n \n {t('maintenancePage.phoneNumberValue')}\n \n \n \n \n {t('maintenancePage.email')}\n \n \n {t('maintenancePage.emailValue')}\n \n \n
\n
\n )\n}\n\nexport default Maintenance\n","import { Provider } from 'react-redux'\nimport { Router, Route, Switch } from 'react-router-dom'\nimport { configureStore, combineReducers } from '@reduxjs/toolkit'\nimport { ThemeProvider, CssBaseline } from '@material-ui/core'\nimport { theme } from 'config'\nimport { createBrowserHistory } from 'history'\nimport { reducer as shared } from 'shared/store'\nimport { PrivateRoute } from 'shared/components'\nimport sharedRoutes from 'shared/routes'\nimport { routes, reducers } from 'modules'\nimport { useTestEnvironmentPath } from 'shared/utils/useTestEnvironmentPath'\nimport Main from './Main'\nimport TestBarWithData from 'shared/components/TestBarWithData/TestBarWithData'\nimport googleAnalytics from 'config/google-analytics'\nimport { useEffect, useState } from 'react'\nimport { useAuth } from 'shared/hooks'\nimport Maintenance from 'shared/components/Maintenance'\nimport { handleRedirectResponse } from \"shared/store/auth/actions\";\n\nconst history = createBrowserHistory()\n\nexport const store = configureStore({\n reducer: combineReducers({ shared, ...reducers }),\n})\n\nexport type RootState = ReturnType\n\nconst App = () => {\n const maintenanceStartDate = new Date('November 27, 2024 16:00:00')\n const maintenanceEndDate = new Date('November 29, 2024 9:00:00')\n\n const getIsMaintenance = () => {\n const now = new Date()\n return (\n now.getTime() >= maintenanceStartDate.getTime() &&\n now.getTime() <= maintenanceEndDate.getTime()\n )\n }\n const [isMaintenance, setIsMaintenance] = useState(getIsMaintenance())\n useEffect(() => {\n const interval = setInterval(\n () => setIsMaintenance(getIsMaintenance()),\n 1000\n )\n return () => {\n clearInterval(interval)\n }\n }, [])\n\n const isTestEnv = useTestEnvironmentPath()\n const { isAuthenticated } = useAuth()\n googleAnalytics.initialize()\n\n useEffect(() => {\n history.listen(location => {\n if (isAuthenticated) googleAnalytics.setPage(location.pathname)\n })\n })\n\n // Add the useEffect to handle redirect response\n useEffect(() => {\n handleRedirectResponse();\n }, []);\n\n if (isMaintenance) {\n return \n } else {\n return (\n \n \n \n \n {isTestEnv && }\n
\n \n {sharedRoutes.map(route => (\n \n ))}\n {routes.map(route => (\n \n ))}\n \n
\n
\n
\n
\n )\n }\n}\n\nexport default App\n","import { ReportHandler } from 'web-vitals'\n\nconst reportWebVitals = (onPerfEntry?: ReportHandler) => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry)\n getFID(onPerfEntry)\n getFCP(onPerfEntry)\n getLCP(onPerfEntry)\n getTTFB(onPerfEntry)\n })\n }\n}\n\nexport default reportWebVitals\n","import { StrictMode, Suspense } from 'react'\nimport ReactDOM from 'react-dom'\nimport { i18n } from 'config'\nimport { Loader } from 'shared/components'\nimport App from './app'\nimport reportWebVitals from './reportWebVitals'\nimport './shared/fonts/index'\n\ni18n.init()\n\nReactDOM.render(\n \n }>\n \n \n ,\n document.getElementById('root')\n)\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals()\n","import { createAsyncThunk, createAction } from '@reduxjs/toolkit'\nimport { MODULE_NAME } from '../strings'\nimport ProviderDirectoryApi from './services'\nimport { SearchProvidersForm, ProviderDetailsPayload } from '../types/data'\nimport {\n ManageAssociatedProvidersPayload,\n SearchAssociatedProvidersForm,\n SearchReferingProvidersPayload,\n} from '../../Patients/components/AuthorizationRequestsTab/ReferringProvider/ReferringProvider.utils'\n\nconst api = new ProviderDirectoryApi()\n\nexport const fetchProvidersFilters = createAsyncThunk(\n `${MODULE_NAME}/providersFiltersData`,\n async () => api.providersFilters()\n)\n\n// Provider Directory\nexport const fetchProvidersList = createAsyncThunk(\n `${MODULE_NAME}/providersListData`,\n async (payload: SearchProvidersForm) => api.searchProviders(payload)\n)\n\n// Referring To on Auth Req\nexport const fetchProvidersListReferring = createAsyncThunk(\n `${MODULE_NAME}/providersListDataForReferringTo`,\n async (payload: SearchProvidersForm) => api.searchProvidersReferring(payload)\n)\n\nexport const resetProvidersList = createAction(\n `${MODULE_NAME}/resetProvidersListData`\n)\n\nexport const fetchProviderDetails = createAsyncThunk(\n `${MODULE_NAME}/providerDetailsData`,\n async (payload: ProviderDetailsPayload) => api.searchProviderDetails(payload)\n)\n\nexport const removeProviderDetails = createAction(\n `${MODULE_NAME}/removeClaim`\n)\n\nexport const fetchAssociatedProvidersList = createAsyncThunk(\n `${MODULE_NAME}/associatedProvidersListData`,\n async (payload: SearchAssociatedProvidersForm) =>\n api.searchAssociatedProviders(payload)\n)\n\nexport const fetchReferringProvidersList = createAsyncThunk(\n `${MODULE_NAME}/referringProvidersListData`,\n async (payload: SearchReferingProvidersPayload) =>\n api.searchReferringProviders(payload)\n)\n\nexport const removeAssociatedProvider = createAsyncThunk(\n `${MODULE_NAME}/removeAssociatedProvider`,\n async (payload: ManageAssociatedProvidersPayload) =>\n api.removeAssociatedProvider(payload)\n)\n\nexport const addAssociatedProvider = createAsyncThunk(\n `${MODULE_NAME}/addAssociatedProvider`,\n async (payload: ManageAssociatedProvidersPayload) =>\n api.addAssociatedProvider(payload)\n)\n","import { createAsyncThunk } from '@reduxjs/toolkit'\nimport { MODULE_NAME } from '../strings'\nimport UserAccountApi from './services'\nimport { ProfilePhotoPayload, SavePhoneFaxPayload } from './utils'\n\nconst api = new UserAccountApi()\n\nexport const addProfilePhoto = createAsyncThunk(\n `${MODULE_NAME}/addProfilePhoto`,\n async (payload: ProfilePhotoPayload) => api.addProfilePhoto(payload)\n)\n\nexport const changeProfilePhoto = createAsyncThunk(\n `${MODULE_NAME}/changeProfilePhoto`,\n async (payload: ProfilePhotoPayload) => api.changeProfilePhoto(payload)\n)\n\nexport const removeProfilePhoto = createAsyncThunk(\n `${MODULE_NAME}/removeProfilePhoto`,\n async () => api.removeProfilePhoto()\n)\n\nexport const fetchUserInfoData = createAsyncThunk(\n `${MODULE_NAME}/getUserInfo`,\n async (payload: string) => api.getUserInfo(payload)\n)\n\nexport const saveUserPhoneFaxChanges = createAsyncThunk(\n `${MODULE_NAME}/saveUserPhoneFaxChanges`,\n async (payload: SavePhoneFaxPayload) => api.saveUserPhoneFaxChanges(payload)\n)","export const MODULE_NAME = 'RecentAuthorizations'\nexport const MMN = 'Meritage Medical Network'\nexport const FCMG = 'First Choice Medical Group'\nexport const ADMIN_ACCESS = '1'\nexport const REGULAR_ACCESS = '2'\nexport const HEALTH_PLAN_ACCESS = '6'\n","export const MODULE_NAME = 'ProviderDirectory'\nexport const MMN = 'Meritage Medical Network'\nexport const FCMG = 'First Choice Medical Group'\nexport const NORTHBAY_MEDICAL = 'NORTHBAY MEDICAL CENTER'\n","import { createAsyncThunk, createAction } from '@reduxjs/toolkit'\nimport { MODULE_NAME } from '../strings'\nimport RecentAuthorizationApi from './services'\nimport {\n RecentAuthFiltersPayload,\n RecentAuthListPayload,\n RecentAuthDetailsPayload,\n RecentAuthListPayloadByHealthPlan,\n RecentHPAuthFiltersPayload,\n RecentAuthFileDownloadPayload,\n} from '../types/data'\n\nconst api = new RecentAuthorizationApi()\n\nexport const fetchRecentAuthFilters = createAsyncThunk(\n `${MODULE_NAME}/recentAuthFilters`,\n async (payload: RecentAuthFiltersPayload) =>\n api.searchRecentAuthFilters(payload)\n)\n\nexport const fetchRecentAuthFiltersForHP = createAsyncThunk(\n `${MODULE_NAME}/recentAuthFilters`,\n async (payload: RecentHPAuthFiltersPayload) =>\n api.searchRecentAuthFiltersForHP(payload)\n)\n\nexport const fetchRecentAuthList = createAsyncThunk(\n `${MODULE_NAME}/recentAuthList`,\n async (payload: RecentAuthListPayload) => api.searchRecentAuthList(payload)\n)\n\nexport const fetchRecentAuthHealthPlanList = createAsyncThunk(\n `${MODULE_NAME}/recentHealthPlanAuthList`,\n async (payload: RecentAuthListPayloadByHealthPlan) =>\n api.searchRecentAuthHealthPlanList(payload)\n)\n\nexport const fetchRecentAuthDetails = createAsyncThunk(\n `${MODULE_NAME}/recentAuthDetails`,\n async (payload: RecentAuthDetailsPayload) =>\n api.searchRecentAuthDetails(payload)\n)\n\nexport const downloadRecentAuthFiles = createAsyncThunk(\n `${MODULE_NAME}/recentAuthFilesDownload`,\n async (payload: RecentAuthFileDownloadPayload) =>\n api.fetchRecentAuthFiles(payload)\n)\n\nexport const removeRecentAuthorizationDetails = createAction(\n `${MODULE_NAME}/removeRecentAuthorization`\n)\n","export const MODULE_NAME = 'Home'\nexport const MMN = 'Meritage Medical Network'\nexport const FCMG = 'First Choice Medical Group'\n","import { Api, Auth } from 'shared/services'\nimport { config, configFCMG } from 'config'\nimport { MMN } from '../strings'\nimport { DCERosterPayload } from '../types/data'\n\nconst lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\n\nexport default class DCERosterApi extends Api {\n public appConfig =\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n\n public async getDCEPatientRosters(payload: DCERosterPayload) {\n const API = `${this.appConfig}/dce`\n const username = Auth.getUsername()\n\n const { currentPage, sortingDirection, PCPLastName, patientId } = payload\n\n const requestConfig = {\n params: {\n ...payload,\n currentPage: currentPage + 1,\n sortingDirection: sortingDirection === 'asc' ? 1 : 0,\n username: username,\n PcpLastName: PCPLastName,\n PatientId: patientId,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n\n public async dceAccessCheck() {\n const username = Auth.getUsername()\n if (username) {\n const API = `${this.appConfig}/dce/access/${username}/`\n\n return this.api.get(API).then(response => response.data)\n }\n }\n\n public async getDCEPatientProvidersList(searchValue: string) {\n const API = `${this.appConfig}/dce/providers/${searchValue}/pcpname`\n\n return this.api.get(API).then(response => response.data)\n }\n}\n","import { createAction, createAsyncThunk } from '@reduxjs/toolkit'\nimport { MODULE_NAME } from '../strings'\nimport DCERosterApi from './services'\n\nconst api = new DCERosterApi()\n\nexport const fetchDCERosterData = createAsyncThunk(\n `${MODULE_NAME}/dceData`,\n async (payload: any) => api.getDCEPatientRosters(payload)\n)\n\nexport const fetchDCEProviders = createAsyncThunk(\n `${MODULE_NAME}/dceProviders`,\n async (arg: string) => api.getDCEPatientProvidersList(arg)\n)\n\nexport const fetchDCEAccessCheck = createAsyncThunk(\n `${MODULE_NAME}/dceAccessCheck`,\n async () => api.dceAccessCheck()\n)\n\nexport const resetDceProvidersList = createAction(\n `${MODULE_NAME}/resetDceProvidersList`\n)\n","import i18next from 'i18next'\nimport Backend from 'i18next-http-backend'\nimport { initReactI18next } from 'react-i18next'\n\nconst DEFAULT_LANGUAGE = 'en'\n\nconst i18n = {\n init: () =>\n i18next\n .use(Backend)\n .use(initReactI18next)\n .init({\n lng: DEFAULT_LANGUAGE,\n fallbackLng: DEFAULT_LANGUAGE,\n interpolation: {\n escapeValue: false,\n },\n backend: {\n loadPath: '/locales/{{lng}}.json',\n },\n }),\n}\n\nexport default i18n\n","import * as msal from '@azure/msal-browser'\n\nconst config = {\n API_URL: process.env.REACT_APP_API_URL,\n API_TOKEN_FIELD: 'authToken',\n API_USERNAME_FIELD: 'username',\n API_ACTIVE_ACCOUNT_FIELD: 'account',\n API_REGISTRATION_EMAIL_FIELD: 'email',\n}\n\nconst msalConfig = {\n auth: {\n clientId: process.env.REACT_APP_MSAL_CLIENT_ID,\n authority: process.env.REACT_APP_MSAL_AUTHORITY,\n knownAuthorities: [process.env.REACT_APP_MSAL_KNOWN_AUTHORITY],\n redirectUri: process.env.REACT_APP_MSAL_REDIRECT_URI,\n },\n cache: {\n cacheLocation: 'localStorage',\n storeAuthStateInCookie: false,\n },\n} as msal.Configuration\n\nconst configFCMG = {\n API_URL: process.env.REACT_APP_API_URL_FCMG,\n API_TOKEN_FIELD: 'authToken',\n API_USERNAME_FIELD: 'username',\n API_ACTIVE_ACCOUNT_FIELD: 'account',\n API_REGISTRATION_EMAIL_FIELD: 'email',\n}\n\nconst msalConfigFCMG = {\n auth: {\n clientId: process.env.REACT_APP_MSAL_CLIENT_ID_FCMG,\n authority: process.env.REACT_APP_MSAL_AUTHORITY_FCMG,\n knownAuthorities: [process.env.REACT_APP_MSAL_KNOWN_AUTHORITY_FCMG],\n redirectUri: process.env.REACT_APP_MSAL_REDIRECT_URI,\n },\n cache: {\n cacheLocation: 'localStorage',\n storeAuthStateInCookie: false,\n },\n} as msal.Configuration\n\nconst msalLoginRequest = {\n scopes: ['openid'],\n} as msal.PopupRequest\n\nconst msalTokenRequest = {\n scopes: ['openid'],\n forceRefresh: false,\n} as msal.SilentRequest\n\nexport {\n config,\n msalConfig,\n msalLoginRequest,\n msalTokenRequest,\n configFCMG,\n msalConfigFCMG,\n}\nexport { default as i18n } from './i18n'\nexport { default as theme } from './theme'\nexport { default as paths } from './paths'\nexport { default as colors } from './colors'\n","export const ADMIN_ACCESS = '1'\nexport const REGULAR_ACCESS = '2'\nexport const SPECIAL_ACCESS = '3' // we have no info on this access level. need to rename once we do\nexport const HEALTH_PLAN_ACCESS = '6'\nexport const MMN = 'Meritage Medical Network'\nexport const FCMG = 'First Choice Medical Group'\nexport const NBA = 'North Bay Area'\nexport const CV = 'Central Valley formerly FCMG'\n\nexport const INPATIENT_HOSPITAL_CODE = '21'\nexport const SKILLED_NURSING_FACILITY_CODE = '31'\nexport const COMPREHENSIVE_INPATIENT_REHAB_FACILITY_CODE = '61'\n","import { createAsyncThunk } from '@reduxjs/toolkit'\nimport { MODULE_NAME } from '../strings'\nimport { EOBDetailsPayload, EOBListReqPayload } from '../types/data'\nimport EOBApi from './services'\n\nconst api = new EOBApi()\n\nexport const fetchEOBData = createAsyncThunk(\n `${MODULE_NAME}/eobData`,\n async (payload: EOBListReqPayload) => api.searchEOBList(payload)\n)\n\nexport const fetchEOBListItemDetails = createAsyncThunk(\n `${MODULE_NAME}/eobListItem`,\n async (payload: EOBDetailsPayload[]) => api.getEOBItemDetails(payload)\n)\n\nexport const fetchEOBOrgs = createAsyncThunk(\n `${MODULE_NAME}/eobOrgs`,\n async () => api.getEOBOrgs()\n)\n","export const MODULE_NAME = 'PatientAssignments'\nexport const MMN = 'Meritage Medical Network'\nexport const FCMG = 'First Choice Medical Group'\n","export * from './config'\nexport * from './enums'\nexport * from './data'\n","export const MODULE_NAME = 'DCEPatientRoster'\nexport const MMN = 'Meritage Medical Network'\nexport const FCMG = 'First Choice Medical Group'\n","import ReactGA from 'react-ga'\nimport * as ga4 from 'react-ga4'\nimport TagManager from 'react-gtm-module'\n\nimport { FCMG, HEALTH_PLAN_ACCESS, MMN } from 'shared/strings'\n\nconst tagManagerArgs = {\n gtmId: 'GTM-M5W453H',\n}\n\nconst NBA_TRACKING_ID = process.env.NBA_GA4_TRACKING_ID || ''\nconst CV_TRACKING_ID = process.env.CV_GA4_TRACKING_ID || ''\nconst HP_TRACKING_ID = process.env.HP_GA4_TRACKING_ID || ''\n\nconst trackingId = process.env.REACT_APP_GA_TRACKING_ID || ''\nconst userAccount = window.localStorage.getItem('account')!\nconst userId = userAccount ? userAccount.match(/^(.*?)\\-b2c/)![1] : undefined\n\nconst lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\nconst accessLevel = window.localStorage.getItem('currentAccessLevel')\n\nconst usersToExcludeGA = [\n { userName: 'BFeeney', email: 'BFeeney@meritagemed.com' },\n { userName: 'btrief1', email: 'btrief@meritagemed.com' },\n { userName: 'erice1', email: 'erice@meritagemed.com' },\n { userName: 'hporter', email: 'hporter@meritagemed.com' },\n { userName: 'wnichols', email: 'wnichols@meritagemed.com' },\n { userName: 'rramos', email: 'rramos@meritagemed.com' },\n { userName: 'jconlin', email: 'jconlin@meritagemed.com' },\n { userName: 'Mfleetwood', email: 'mfleetwood@meritagemed.com' },\n { userName: 'KBartunek1', email: 'kbartunek@meritagemed.com' },\n]\n\nconst initializeSelectedOrg = (id: string) => {\n ReactGA.initialize(trackingId)\n ReactGA.set({ userId })\n ga4.default.initialize(id)\n ga4.default.set({ userId })\n}\n\nconst initializeTagManager = () => {\n TagManager.initialize(tagManagerArgs)\n}\n\nconst initializeGA = () => {\n if (accessLevel === HEALTH_PLAN_ACCESS) initializeSelectedOrg('G-Z6RBT5HGV7')\n else\n switch (lineOfBusiness) {\n case MMN:\n initializeSelectedOrg('G-V22RXP718D')\n break\n\n case FCMG:\n initializeSelectedOrg('G-3R7NNTSVWZ')\n break\n\n default:\n break\n }\n}\n\nconst initialize = () => {\n // initializeTagManager()\n initializeGA()\n}\n\n// for sending GA4 custom Login event\nconst sendGA4Login = (\n taxId: string,\n firstName: string,\n lastName: string,\n email: string,\n userName: string\n) => {\n const fireLoginEvent = () =>\n ga4.default.gtag('event', 'login_event', {\n taxId,\n userId,\n firstName,\n lastName,\n })\n\n // skip firing the event for specific subset of users defined above\n if (\n usersToExcludeGA.some(\n excludeUser =>\n excludeUser.email === email && excludeUser.userName === userName\n )\n )\n return\n\n if (ga4.default.isInitialized) {\n fireLoginEvent()\n } else {\n // reinitialize and then fire event\n initializeGA()\n fireLoginEvent()\n }\n}\n\n// for sending GA4 custom events\nconst sendGAEvent = (\n eventSelector: string,\n taxId: string,\n firstName: string,\n lastName: string,\n email: string,\n userName: string\n) => {\n // skipping firing the event for specific subset of users only\n if (\n usersToExcludeGA.some(\n excludeUser =>\n excludeUser.email === email && excludeUser.userName === userName\n )\n )\n return\n\n ga4.default.gtag('event', eventSelector, {\n taxId,\n userId,\n firstName,\n lastName,\n })\n}\n\nconst setUserId = (id?: string) => ReactGA.set({ userId: id })\n\nconst clearUserId = () => ReactGA.set({ userId: undefined })\n\nconst setPage = (page: string) => {\n ReactGA.set({ page })\n // ReactGA.pageview(page)\n // ga4.default.send({ hitType: 'pageview', page: page })\n}\n\nconst sendEvent = (category: string, action: string, label: string) => {\n ga4.default.event({\n category,\n action,\n label,\n })\n}\n\nconst instance = ReactGA\n\n// eslint-disable-next-line import/no-anonymous-default-export\nexport default {\n initialize,\n setUserId,\n clearUserId,\n sendEvent,\n setPage,\n sendGA4Login,\n sendGAEvent,\n instance,\n}\n","import { config, configFCMG } from 'config'\nimport { Api } from 'shared/services'\nimport { SearchMembersForm } from '../types/data'\nimport Auth from 'shared/services/Auth'\nimport { MMN } from '../strings'\n\nconst lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\n\nclass PatientAssignmentsApi extends Api {\n public async searchProvidersMembersFilters() {\n const userName = Auth.getUsername()\n\n const API = `${\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n }/PatientAssignment/unique-providers/${userName}`\n const requestConfig = {\n params: {\n userName,\n },\n }\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n\n public async searchPayorsMembersFilters() {\n const API = `${\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n }/PatientAssignment/health-plans`\n\n return this.api.get(API).then(response => {\n return response.data\n })\n }\n\n public async searchMembers(payload: SearchMembersForm) {\n const currentPage = payload.currentPage + 1\n const username = Auth.getUsername()\n const direction = payload.sortingDirection === 'asc' ? 0 : 1\n\n const API = `${\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n }/PatientAssignment`\n const requestConfig = {\n params: {\n ...payload,\n username,\n currentPage,\n sortingDirection: direction,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => {\n return response.data\n })\n }\n}\n\nexport default PatientAssignmentsApi\n","import { createAsyncThunk } from '@reduxjs/toolkit'\nimport { MODULE_NAME } from '../strings'\nimport { SearchMembersForm } from '../types/data'\nimport PatientAssignmentsApi from './services'\n\nconst api = new PatientAssignmentsApi()\n\nexport const fetchProvidersMembersFilters = createAsyncThunk(\n `${MODULE_NAME}/membersProvidersFiltersData`,\n async () => api.searchProvidersMembersFilters()\n)\n\nexport const fetchPayorsMembersFilters = createAsyncThunk(\n `${MODULE_NAME}/membersPayorsFiltersData`,\n async () => api.searchPayorsMembersFilters()\n)\n\nexport const fetchMembersList = createAsyncThunk(\n `${MODULE_NAME}/membersListData`,\n async (payload: SearchMembersForm) => api.searchMembers(payload)\n)\n","import { createAction, createAsyncThunk } from '@reduxjs/toolkit'\nimport { MODULE_NAME } from '../strings'\nimport PatientsApi from './services'\nimport {\n SearchPatientsForm,\n SearchClaimsList,\n searchClaimDetails,\n SearchPatientByIdForm,\n SearchPatientServicesForm,\n searchAuthorizationDetails,\n SearchAuthorizationsList,\n SearchServiceRequestsPayload,\n SearchDiagnosisPayload,\n TreatingRelationshipForm,\n SetTreatingRelationshipForm,\n Patient,\n RxListPayload,\n SearchTranscriptionsDetails,\n SearchTranscriptionsList,\n SearchLabs,\n SearchLabsDetails,\n SearchPathologyList,\n SearchRadiology,\n SearchRadiologyDetails,\n CheckAuthHealthPlanTypePayload,\n} from '../types/data'\n\nconst api = new PatientsApi()\n\nexport const fetchPatients = createAsyncThunk(\n `${MODULE_NAME}/data`,\n async (payload: SearchPatientsForm) => api.searchPatients(payload)\n)\n\nexport const fetchClaimsData = createAsyncThunk(\n `${MODULE_NAME}/claimsData`,\n async (payload: SearchClaimsList) => api.searchClaimsList(payload)\n)\n\nexport const fetchClaimDetails = createAsyncThunk(\n `${MODULE_NAME}/claimDetailData`,\n async (payload: searchClaimDetails) => api.searchClaimDetails(payload)\n)\n\nexport const removeLabsDetails = createAction(\n `${MODULE_NAME}/removeLabs`\n)\n\nexport const fetchLabsDetails = createAsyncThunk(\n `${MODULE_NAME}/labsDetailData`,\n async (payload: SearchLabsDetails) => api.searchLabsDetails(payload)\n)\n\nexport const fetchLabsData = createAsyncThunk(\n `${MODULE_NAME}/fetchLabsData`,\n async (payload: SearchLabs) => api.searchLabsData(payload)\n)\n\nexport const removeClaimDetails = createAction(\n `${MODULE_NAME}/removeClaim`\n)\n\nexport const fetchAuthorizationDetails = createAsyncThunk(\n `${MODULE_NAME}/authorizationDetailData`,\n async (payload: searchAuthorizationDetails) =>\n api.searchAuthorizationDetails(payload)\n)\n\nexport const fetchAuthorizationsData = createAsyncThunk(\n `${MODULE_NAME}/authorizationsData`,\n async (payload: SearchAuthorizationsList) =>\n api.searchAuthorizationsList(payload)\n)\n\nexport const removeAuthorizationDetails = createAction(\n `${MODULE_NAME}/removeAuthorization`\n)\n\nexport const fetchPathologyData = createAsyncThunk(\n `${MODULE_NAME}/pathologyData`,\n async (payload: SearchPathologyList) => api.searchPathologyList(payload)\n)\n\nexport const setSelectedPatientId = createAction(\n `${MODULE_NAME}/setselectedpatientid`\n)\nexport const setSelectedPatientSpecialKey = createAction(\n `${MODULE_NAME}/setselectedpatientspecialkey`\n)\nexport const setSelectedPatientData = createAction(\n `${MODULE_NAME}/setSelectedPatientData`\n)\n\nexport const fetchPatientTreatingRelationship = createAsyncThunk(\n `${MODULE_NAME}/treatingrelationship`,\n async (payload: TreatingRelationshipForm) =>\n api.getPatientTreatingRelationship(payload)\n)\n\nexport const setTreatingRelation = createAsyncThunk(\n `${MODULE_NAME}/settreatingrelationship`,\n async (payload: SetTreatingRelationshipForm) =>\n api.setTreatingRelationForPatient(payload)\n)\n\nexport const fetchPatientById = createAsyncThunk(\n `${MODULE_NAME}/profiledata`,\n async (payload: SearchPatientByIdForm) => api.searchPatientById(payload)\n)\n\nexport const fetchPatientServices = createAsyncThunk(\n `${MODULE_NAME}/patientservicesdata`,\n async (payload: SearchPatientServicesForm) =>\n api.searchPatientServices(payload)\n)\n\nexport const setCurrentAuthorizationRequestsStep = createAction(\n `${MODULE_NAME}/setCurrentAuthorizationRequestsStep`\n)\n\nexport const fetchServiceRequestsList = createAsyncThunk(\n `${MODULE_NAME}/serviceRequestsList`,\n async (payload: SearchServiceRequestsPayload) =>\n api.searchServiceRequestsList(payload)\n)\n\nexport const fetchDiagnosisList = createAsyncThunk(\n `${MODULE_NAME}/diagnosisList`,\n async (payload: SearchDiagnosisPayload) => api.searchDiagnosisList(payload)\n)\n\nexport const fetchPlaceOfServiceCodes = createAsyncThunk(\n `${MODULE_NAME}/placeOfServiceList`,\n async () => api.fetchPlaceOfServiceList()\n)\n\nexport const createNewAuthorizationRequest = createAsyncThunk(\n `${MODULE_NAME}/newAuthRequest`,\n async (payload: any) => api.createNewAuthorizationRequest(payload)\n)\n\nexport const searchRxList = createAsyncThunk(\n `${MODULE_NAME}/rxList`,\n async (payload: RxListPayload) => api.searchRxList(payload)\n)\n\nexport const fetchTranscriptionsData = createAsyncThunk(\n `${MODULE_NAME}/transcriptionsData`,\n async (payload: SearchTranscriptionsList) =>\n api.searchTranscriptionsList(payload)\n)\n\nexport const fetchTranscriptionsDetails = createAsyncThunk(\n `${MODULE_NAME}/transcriptionsDetailData`,\n async (payload: SearchTranscriptionsDetails) =>\n api.searchTranscriptionsDetails(payload)\n)\n\nexport const removeTranscriptionsDetails = createAction(\n `${MODULE_NAME}/removeTranscription`\n)\n\nexport const removeRadiologyDetails = createAction(\n `${MODULE_NAME}/removeRadiology`\n)\n\nexport const fetchRadiologyDetails = createAsyncThunk(\n `${MODULE_NAME}/radiologyDetailData`,\n async (payload: SearchRadiologyDetails) => api.searchRadiologyDetails(payload)\n)\n\nexport const fetchRadiologyData = createAsyncThunk(\n `${MODULE_NAME}/fetchRadiologyData`,\n async (payload: SearchRadiology) => api.searchRadiologyData(payload)\n)\n\nexport const checkAuthHealthPlanType = createAsyncThunk(\n `${MODULE_NAME}/checkAuthHealthPlanType`,\n async (payload: CheckAuthHealthPlanTypePayload) =>\n api.checkAuthHealthPlanType(payload)\n)\n\nexport const setAuthHealthPlanTypeToDefault = createAction(\n `${MODULE_NAME}/setAuthHealthPlanTypeToDefault`\n)\n\nexport const isAuthRequiredForCpt = createAsyncThunk(\n `${MODULE_NAME}/isAuthRequiredForCpt`,\n async (payload: {\n code: string\n company: number\n referringProvider: string | undefined\n referringToProvider: string | undefined\n }) => api.isAuthRequiredForCpt(payload)\n)\n\nexport const setAuthRetroactiveStatus = createAction(\n `${MODULE_NAME}/setAuthRetroactiveStatus`\n)\n\nexport const checkIfBabylon = createAsyncThunk(\n `${MODULE_NAME}/checkIfBabylon`,\n async (payload: { code: string; addressSequence: number }) =>\n api.checkIfBabylon(payload)\n)\n\nexport const resetBabylonCheck = createAction(\n `${MODULE_NAME}/resetBabylonCheck`\n)\n","export const MODULE_NAME = 'EOB'\nexport const MMN = 'Meritage Medical Network'\nexport const FCMG = 'First Choice Medical Group'\n","import { Api, Auth } from 'shared/services'\n\nimport { config, configFCMG } from 'config'\nimport { MMN } from '../strings'\nimport { GetHealthPlanReportsListPayload } from '../types/data'\n\nconst lineOfBusiness = window.localStorage.getItem('lineOfBusiness')\n\nexport default class HealthPlanReportsApi extends Api {\n public appConfig =\n lineOfBusiness === MMN ? config.API_URL : configFCMG.API_URL\n\n public async getListOfHealthPlanReports(\n payload: GetHealthPlanReportsListPayload\n ) {\n const API = `${this.appConfig}/reports/health-plans`\n const username = Auth.getUsername()\n const {\n departmentType,\n frequency,\n currentPage,\n pageSize,\n sortByColumn,\n sortingDirection,\n } = payload\n\n const requestConfig = {\n params: {\n UserName: username,\n DepartmentType: departmentType,\n Frequency: frequency,\n CurrentPage: currentPage,\n PageSize: pageSize,\n SortByColumn: sortByColumn,\n SortingDirection: sortingDirection,\n },\n }\n\n return this.api.get(API, requestConfig).then(response => response.data)\n }\n}\n","import { createAsyncThunk } from '@reduxjs/toolkit'\nimport { MODULE_NAME } from '../strings'\nimport { GetHealthPlanReportsListPayload } from '../types/data'\nimport HealthPlanReportsApi from './services'\n\nconst api = new HealthPlanReportsApi()\n\nexport const fetchHealthPlanReportsList = createAsyncThunk(\n `${MODULE_NAME}/health-plan-reports-list`,\n async (payload: GetHealthPlanReportsListPayload) =>\n api.getListOfHealthPlanReports(payload)\n)\n","export const MODULE_NAME = 'EOB'\nexport const MMN = 'Meritage Medical Network'\nexport const FCMG = 'First Choice Medical Group'\n","const paths = {\n home: '/',\n login: '/login',\n registration: '/registration',\n authorizations: '/authorizations',\n provider: '/provider',\n reports: '/reports',\n raf: '/raf',\n assignments: '/assignments',\n resources: '/resources',\n request_accepted: '/request_accepted',\n request_deny: '/request_deny',\n request_denied: '/request_denied',\n request_link_expired: '/request_link_expired',\n request_sent_successfully: '/request_sent_successfully',\n request_sent_fail: '/request_sent_fail',\n set_password: '/set_password',\n}\n\nexport default paths\n","import { RootState } from 'app'\n\nexport const getUserAccount = (state: RootState) => state.UserAccount\nexport const getUserInfo = (state: RootState) => state.UserAccount.userInfo\nexport const getLoadingStatus = (state: RootState) => state.UserAccount.loading\nexport const getDataLoadingStatus = (state: RootState) =>\n state.UserAccount.loadingData\n\nexport const getUserInfoStatus = (state: RootState) =>\n state.UserAccount.fetchLoading\nexport const getImageStatus = (state: RootState) =>\n state.UserAccount.imageLoading\nexport const getNewDataStatus = (state: RootState) =>\n state.UserAccount.saveDataLoading\nexport const getImageSavingProcessStatus = (state: RootState) =>\n state.UserAccount.modifyImageProcessLoading\n"],"sourceRoot":""}