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AAA,EAAAA,EAAAA,EAAAA,EAAM,QAASa,MAAAA,EAAAA,KAAAA,EAAAA,OAAAA,CAAAA,EAAAA,EAAGjB,QAAQ,GAAXiB,KAAAA,IAAAA,EAAAA,KAAAA,EAAAA,OAAAA,CAAAA,EAAAA,EAAavE,IAAI,GAAjBuE,KAAAA,IAAAA,EAAAA,KAAAA,EAAAA,EAAmBZ,OAAO,CAAE,IAAM,OAEnDzD,QAAQwD,KAAK,CAAC,gBAAiBa,EACjC,CACF,SASA,EACS,GAAAhE,EAAArG,GAAA,EAAC6Y,EAAAA,CAAaA,CAAAA,CAAAA,GAEhB,GAAAxS,EAAArG,GAAA,EAAAqG,EAAAoF,QAAA,WACFyM,CAAY,IAAZA,EAAmB,GAAA7R,EAAArG,GAAA,EAAC8Y,EAAAA,CAAYA,CAAAA,CAAC/S,OAAQ,UAAWc,MAAO,GAAIkS,SAAU,GAAIC,MAAO,GAAA3S,EAAArG,GAAA,EAACiL,EAAAA,EAAMA,CAAAA,CAACtE,KAAK,QAAQ9G,UAAU,eAAeoZ,MAAK,GAAC/N,KAAK,UAAU1L,QAASgZ,WAAc,aAqDjL,GAAAnS,EAAArG,GAAA,EAACJ,MAAAA,CAAAA,IAEL,EAkB0RsZ,CAAAA,aAK5R,EC5yDe,SAASC,IACtB,MAAO,GAAA9S,EAAArG,GAAA,EAACoZ,EAAAA,QAAQA,CAAAA,CAACC,SAAU,GAAAhT,EAAArG,GAAA,EAACJ,MAAAA,UAAI,eAAkB8B,sBAAoB,WAAW5B,wBAAsB,oBAAoBC,0BAAwB,oBAC/I,GAAAsG,EAAArG,GAAA,EAACsZ,EAAaA,CAAC5X,sBAAoB,gBAAgB3B,0BAAwB,cAEjF","sources":["webpack://_N_E/?3bae","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/LeftCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/LeftCircleOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/LeftOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons-svg/es/asn/RightOutlined.js","webpack://_N_E/./node_modules/@ant-design/icons/es/icons/RightOutlined.js","webpack://_N_E/./app/components/PracticeCard.jsx","webpack://_N_E/./app/components/PriceTier.jsx","webpack://_N_E/./app/contexts/MembershipProvider.jsx","webpack://_N_E/./app/patient/signup/SignUpComponent.jsx","webpack://_N_E/./app/patient/signup/page.jsx"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src3441668444/src/Dinma-webapp-frontend/app/patient/signup/page.jsx\");\n","// This icon file is generated automatically.\nvar LeftCircleOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M603.3 327.5l-246 178a7.95 7.95 0 000 12.9l246 178c5.3 3.8 12.7 0 12.7-6.5V643c0-10.2-4.9-19.9-13.2-25.9L457.4 512l145.4-105.2c8.3-6 13.2-15.6 13.2-25.9V334c0-6.5-7.4-10.3-12.7-6.5z\" } }, { \"tag\": \"path\", \"attrs\": { \"d\": \"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z\" } }] }, \"name\": \"left-circle\", \"theme\": \"outlined\" };\nexport default LeftCircleOutlined;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport LeftCircleOutlinedSvg from \"@ant-design/icons-svg/es/asn/LeftCircleOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar LeftCircleOutlined = function LeftCircleOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: LeftCircleOutlinedSvg\n }));\n};\n\n/**![left-circle](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYwMy4zIDMyNy41bC0yNDYgMTc4YTcuOTUgNy45NSAwIDAwMCAxMi45bDI0NiAxNzhjNS4zIDMuOCAxMi43IDAgMTIuNy02LjVWNjQzYzAtMTAuMi00LjktMTkuOS0xMy4yLTI1LjlMNDU3LjQgNTEybDE0NS40LTEwNS4yYzguMy02IDEzLjItMTUuNiAxMy4yLTI1LjlWMzM0YzAtNi41LTcuNC0xMC4zLTEyLjctNi41eiIgLz48cGF0aCBkPSJNNTEyIDY0QzI2NC42IDY0IDY0IDI2NC42IDY0IDUxMnMyMDAuNiA0NDggNDQ4IDQ0OCA0NDgtMjAwLjYgNDQ4LTQ0OFM3NTkuNCA2NCA1MTIgNjR6bTAgODIwYy0yMDUuNCAwLTM3Mi0xNjYuNi0zNzItMzcyczE2Ni42LTM3MiAzNzItMzcyIDM3MiAxNjYuNiAzNzIgMzcyLTE2Ni42IDM3Mi0zNzIgMzcyeiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(LeftCircleOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'LeftCircleOutlined';\n}\nexport default RefIcon;","// This icon file is generated automatically.\nvar LeftOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z\" } }] }, \"name\": \"left\", \"theme\": \"outlined\" };\nexport default LeftOutlined;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport LeftOutlinedSvg from \"@ant-design/icons-svg/es/asn/LeftOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar LeftOutlined = function LeftOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: LeftOutlinedSvg\n }));\n};\n\n/**![left](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcyNCAyMTguM1YxNDFjMC02LjctNy43LTEwLjQtMTIuOS02LjNMMjYwLjMgNDg2LjhhMzEuODYgMzEuODYgMCAwMDAgNTAuM2w0NTAuOCAzNTIuMWM1LjMgNC4xIDEyLjkuNCAxMi45LTYuM3YtNzcuM2MwLTQuOS0yLjMtOS42LTYuMS0xMi42bC0zNjAtMjgxIDM2MC0yODEuMWMzLjgtMyA2LjEtNy43IDYuMS0xMi42eiIgLz48L3N2Zz4=) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(LeftOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'LeftOutlined';\n}\nexport default RefIcon;","// This icon file is generated automatically.\nvar RightOutlined = { \"icon\": { \"tag\": \"svg\", \"attrs\": { \"viewBox\": \"64 64 896 896\", \"focusable\": \"false\" }, \"children\": [{ \"tag\": \"path\", \"attrs\": { \"d\": \"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z\" } }] }, \"name\": \"right\", \"theme\": \"outlined\" };\nexport default RightOutlined;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\n// GENERATE BY ./scripts/generate.ts\n// DON NOT EDIT IT MANUALLY\n\nimport * as React from 'react';\nimport RightOutlinedSvg from \"@ant-design/icons-svg/es/asn/RightOutlined\";\nimport AntdIcon from \"../components/AntdIcon\";\nvar RightOutlined = function RightOutlined(props, ref) {\n return /*#__PURE__*/React.createElement(AntdIcon, _extends({}, props, {\n ref: ref,\n icon: RightOutlinedSvg\n }));\n};\n\n/**![right](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTAiIGhlaWdodD0iNTAiIGZpbGw9IiNjYWNhY2EiIHZpZXdCb3g9IjY0IDY0IDg5NiA4OTYiIGZvY3VzYWJsZT0iZmFsc2UiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTc2NS43IDQ4Ni44TDMxNC45IDEzNC43QTcuOTcgNy45NyAwIDAwMzAyIDE0MXY3Ny4zYzAgNC45IDIuMyA5LjYgNi4xIDEyLjZsMzYwIDI4MS4xLTM2MCAyODEuMWMtMy45IDMtNi4xIDcuNy02LjEgMTIuNlY4ODNjMCA2LjcgNy43IDEwLjQgMTIuOSA2LjNsNDUwLjgtMzUyLjFhMzEuOTYgMzEuOTYgMCAwMDAtNTAuNHoiIC8+PC9zdmc+) */\nvar RefIcon = /*#__PURE__*/React.forwardRef(RightOutlined);\nif (process.env.NODE_ENV !== 'production') {\n RefIcon.displayName = 'RightOutlined';\n}\nexport default RefIcon;","const PracticeCard = ({\n practiceName,\n children,\n price,\n onClick\n}) => {\n return
\n
\n {practiceName}\n ${price}\n
\n
\n \n Provider\n \n \n \n
\n
\n {children}\n
\n
;\n};\nexport default PracticeCard;","import Image from \"next/image\";\nimport { useMembership } from \"../contexts/MembershipProvider\";\nimport { Divider } from \"antd\";\nimport { useState } from \"react\";\nconst PriceTier = ({\n handleNext,\n tiers\n}) => {\n const [stickBgColor, setStickBgColor] = useState({\n one: false,\n two: false,\n three: false,\n four: false\n });\n const {\n setSelectedTier\n } = useMembership();\n const handleClick = num => {\n switch (true) {\n case num === 1:\n setSelectedTier(tiers?.single_member ? \"single_member\" : \"insured_single_member\");\n setStickBgColor(prev => ({\n ...prev,\n one: true,\n two: false,\n three: false,\n four: false\n }));\n return;\n case num === 2:\n setSelectedTier(tiers?.family_2_members ? \"family_2_members\" : \"insured_family_2_members\");\n setStickBgColor(prev => ({\n ...prev,\n one: false,\n two: true,\n three: false,\n four: false\n }));\n return;\n case num === 3:\n setSelectedTier(tiers?.family_3_members ? \"family_3_members\" : \"insured_family_3_members\");\n setStickBgColor(prev => ({\n ...prev,\n one: false,\n two: false,\n three: true,\n four: false\n }));\n return;\n case num === 4:\n setSelectedTier(tiers?.family_4_members_plus ? \"family_4_members_plus\" : \"insured_family_4_members_plus\");\n setStickBgColor(prev => ({\n ...prev,\n one: false,\n two: false,\n three: false,\n four: true\n }));\n return;\n default:\n null;\n return;\n }\n };\n return
\n
\n
handleClick(1)} className={` ${stickBgColor.one ? \"bg-new2-20 text-white\" : \"bg-white\"} w-full flex items-start rounded-2xl p-3 hover:bg-new2-20 group-active:bg-new2-20 group-focus:bg-new2-20 hover:text-white gap-2 cursor-pointer group`}>\n \"🔘\"\n
\n \n Single Adult: $\n {tiers?.single_member || tiers?.insured_single_member} per month\n \n \n Allows access for only account holder\n \n
\n
\n \n
handleClick(2)} className={`${stickBgColor.two ? \"bg-new2-20 text-white\" : \"bg-white\"} w-full flex items-start rounded-2xl p-3 hover:bg-new2-20 hover:text-white gap-2 cursor-pointer group`}>\n \"🔘\"\n
\n \n Family (2 members): $\n {tiers?.family_2_members || tiers?.insured_family_2_members} per\n month\n \n \n Allows access for account holder plus one other family member\n \n
\n
\n \n
handleClick(3)} className={`${stickBgColor.three ? \"bg-new2-20 text-white\" : \"bg-white\"} w-full flex items-start rounded-2xl p-3 hover:bg-new2-20 hover:text-white gap-2 cursor-pointer group`}>\n \"🔘\"\n
\n \n Family (3 members): $\n {tiers?.family_3_members || tiers?.insured_family_3_members} per\n month\n \n \n Allows access for account holder plus 2 other family members\n \n
\n
\n \n
handleClick(4)} className={`${stickBgColor.four ? \"bg-new2-20 text-white\" : \"bg-white\"} w-full flex items-start rounded-2xl p-3 hover:bg-new2-20 hover:text-white gap-2 cursor-pointer group`}>\n \"🔘\"\n
\n \n Family (4+ members): $\n {tiers?.family_4_members_plus || tiers?.insured_family_4_members_plus}{\" \"}\n per month\n \n \n Allows access for account holder plus 3 or more family members\n \n
\n
\n
\n
;\n};\nexport default PriceTier;","\"use client\";\n\nimport React, { createContext, useContext, useState, useMemo } from \"react\";\nexport const MembershipContext = createContext({\n setPractices: () => {}\n});\nconst MembershipProvider = ({\n children\n}) => {\n const [practices, setPractices] = useState([]);\n const [selectedPractice, setSelectedPractice] = useState({});\n const [selectedTier, setSelectedTier] = useState(\"\");\n const [selectedInsurance, setSelectedInsurance] = useState(\"\");\n const [cardVerified, setCardVerified] = useState(false);\n const [zipcode, setZipcode] = useState(\"\");\n const values = useMemo(() => ({\n practices,\n setPractices,\n selectedPractice,\n setSelectedPractice,\n selectedTier,\n setSelectedTier,\n selectedInsurance,\n setSelectedInsurance,\n cardVerified,\n setCardVerified,\n zipcode,\n setZipcode\n }), [practices, setPractices, selectedPractice, setSelectedPractice, selectedTier, setSelectedTier, selectedInsurance, setSelectedInsurance, cardVerified, setCardVerified, zipcode, setZipcode]);\n return \n {children}\n ;\n};\nconst useMembership = () => {\n const context = useContext(MembershipContext);\n if (context === undefined) {\n throw Error(\"useMembership() MUST BE USED WITHIN A !!!\");\n }\n return context;\n};\nexport { MembershipProvider, useMembership };","\"use client\";\n\nimport { useEffect, useState } from \"react\";\nimport { Steps, Button, Form, Input, Select, Modal, DatePicker, Checkbox, Radio, Typography, Upload, InputNumber, Pagination } from \"antd\";\nimport SignInSignUpHeader from \"../../components/SignInSignUpHeader\";\nimport RenderResult from \"../../components/Result\";\nimport dayjs from \"dayjs\";\nimport customParseFormat from \"dayjs/plugin/customParseFormat\";\nimport { AuthService } from \"../../services/auth.service\";\nimport { AUTH_TOKEN_KEY, supportedInsurances, usaStates } from \"../../resources/resources\";\nimport { CloseCircleOutlined, LeftCircleOutlined, SearchOutlined } from \"@ant-design/icons\";\nimport { useStripe, useElements, CardNumberElement, CardExpiryElement, CardCvcElement } from \"@stripe/react-stripe-js\";\nimport { error } from \"../../components/Modals\";\nimport { LoadingScreen } from \"../../components/LoadingScreen\";\nimport { useAuth } from \"../../contexts/AuthProvider\";\nimport { useBooking } from \"../../contexts/BookingProvider\";\nimport { setAuthorizationToken } from \"../../services/api\";\nimport { useRouter, useSearchParams } from \"next/navigation\";\nimport ImgCrop from \"antd-img-crop\";\nimport axios from \"axios\";\nimport { useMembership } from \"../../contexts/MembershipProvider\";\nimport PracticeCard from \"../../components/PracticeCard\";\nimport Image from \"next/image\";\nimport PriceTier from \"../../components/PriceTier\";\ndayjs.extend(customParseFormat);\n\n// eslint-disable-next-line arrow-body-style\nconst disabledDate = current => {\n // Can not select days after today\n return current && current > dayjs().startOf(\"day\");\n};\nconst {\n Text,\n Paragraph\n} = Typography;\nconst CARD_ELEMENT_OPTIONS = {\n style: {\n base: {\n fontSize: \"16px\",\n color: \"#32325d\",\n \"::placeholder\": {\n color: \"#aab7c4\"\n }\n },\n invalid: {\n color: \"#fa755a\"\n }\n }\n};\nconst PatientSignup = () => {\n const [doneSteps, setDoneSteps] = useState(0);\n const [personalInfoForm, contactDetailsForm, verifyEmailForm, paymentDetailsForm] = Form.useForm();\n const [onboardingData, setOnboardingData] = useState({});\n const [loading, setLoading] = useState(false);\n const [onboardingPatientDetail, setOnboardingPatientDetail] = useState({\n first_name: \"\"\n });\n const router = useRouter();\n const searchParams = useSearchParams();\n const userId = searchParams.get(\"user_id\");\n const getDetails = async () => {\n const res = await AuthService.getOnboardingPatientDetail(userId);\n if (res?.data?.status === \"success\") {\n const values = {\n ...res?.data?.data\n };\n setOnboardingPatientDetail(prev => ({\n ...prev,\n ...values\n }));\n }\n console.log(\"onpatdet:\", res);\n };\n useEffect(() => {\n if (userId) {\n localStorage.clear();\n getDetails();\n }\n }, []);\n const items = [{\n title: \"Personal Info\"\n }, {\n title: \"Contact details\"\n }, {\n title: \"Payment details\"\n }, {\n title: \"Insurance info\"\n }, {\n title: \"Select practice\"\n }, {\n title: \"Compliance\"\n }];\n const mobileItems = [{\n title: \"\"\n }, {\n title: \"\"\n }, {\n title: \"\"\n }, {\n title: \"\"\n }, {\n title: \"\"\n }, {\n title: \"\"\n }];\n const PersonalInformationForm = () => {\n const [personalInfo, setPersonalInfo] = useState({\n first_name: \"\",\n last_name: \"\",\n gender: \"\",\n date_of_birth: \"\",\n email: \"\",\n password: \"\",\n confirm_password: \"\"\n });\n const [alpha, setAlpha] = useState(false);\n const [numeric, setNumeric] = useState(false);\n const [equals, setEquals] = useState(false);\n const [length, setLength] = useState(false);\n const [specialChar, setSpecialChar] = useState(false);\n const handleChange = (key, value) => {\n setPersonalInfo(prevInfo => ({\n ...prevInfo,\n [key]: value\n }));\n };\n const {\n setPatientProfilePhoto,\n patientProfilePhoto\n } = useBooking();\n const handleFileChange = info => {\n if (info.file.status === \"done\") {\n const file = info.file.originFileObj;\n setPatientProfilePhoto(file);\n }\n };\n useEffect(() => {\n const storedPersonalInfo = localStorage.getItem(\"personalInfo\");\n if (storedPersonalInfo) {\n setPersonalInfo(JSON.parse(storedPersonalInfo));\n }\n if (onboardingPatientDetail.first_name?.length > 0) {\n setPersonalInfo(onboardingPatientDetail);\n }\n }, []);\n useEffect(() => {\n if (/[a-zA-Z]/g.test(personalInfo?.password)) {\n setAlpha(true);\n } else {\n setAlpha(false);\n }\n if (/[!@#$%^&*()_+\\-=\\[\\]{};':\"\\\\|,.<>\\/?]/g.test(personalInfo?.password) && personalInfo?.password !== \" \") {\n setSpecialChar(true);\n } else {\n setSpecialChar(false);\n }\n if (personalInfo?.password?.length >= 8) {\n setLength(true);\n } else {\n setLength(false);\n }\n if (/\\d/.test(personalInfo?.password)) {\n setNumeric(true);\n } else {\n setNumeric(false);\n }\n if (personalInfo?.confirm_password && personalInfo?.password && personalInfo?.confirm_password === personalInfo?.password) {\n setEquals(true);\n } else {\n setEquals(false);\n }\n }, [personalInfo.password, personalInfo.confirm_password]);\n const disable = !personalInfo.last_name || !personalInfo.first_name || !personalInfo.date_of_birth || !personalInfo.gender || !personalInfo.email || !personalInfo.password || !personalInfo.confirm_password || !alpha || !numeric || !length || !specialChar || !equals;\n const handlePrev = () => {\n setDoneSteps(prev => prev - 1);\n };\n const handleNext = async () => {\n try {\n if (onboardingPatientDetail.first_name?.length < 1) {\n const formattedPersonalInfo = {\n ...personalInfo,\n date_of_birth: dayjs(personalInfo.date_of_birth, \"DD/MM/YYYY\").format(\"DD-MM-YYYY\")\n };\n console.log(\"1\");\n const response = await AuthService.createTempPatient(formattedPersonalInfo);\n console.log(\"first step endpoint:\", response);\n if (response.data.status === \"success\") {\n localStorage.setItem(\"personalInfo\", JSON.stringify(formattedPersonalInfo));\n setDoneSteps(prev => prev + 1);\n }\n if (response.data.status === \"failure\") {\n console.log(\"2\");\n localStorage.setItem(\"personalInfo\", JSON.stringify(formattedPersonalInfo));\n error(\"Oops!\", response.data.message, () => null);\n }\n } else {\n console.log(\"3\");\n let prevalues = {\n ...personalInfo,\n first_name: onboardingPatientDetail.first_name,\n last_name: onboardingPatientDetail.last_name,\n date_of_birth: dayjs(onboardingPatientDetail?.date_of_birth, \"DD/MM/YYYY\").format(\"DD-MM-YYYY\"),\n email: onboardingPatientDetail.email\n };\n const response = await AuthService.createTempPatient(prevalues);\n console.log(\"first step endpoint:\", response);\n if (response.data.status === \"success\") {\n localStorage.setItem(\"personalInfo\", JSON.stringify(prevalues));\n setDoneSteps(prev => prev + 1);\n }\n if (response.data.status === \"failure\") {\n localStorage.setItem(\"personalInfo\", JSON.stringify(prevalues));\n error(\"Oops!\", response.data.message, () => null);\n }\n }\n } catch (err) {\n console.error(\"step1:\", err);\n if (err.response.data.status === \"failure\" && err.response.data.message !== \"User with this email is a subscriber\") {\n localStorage.setItem(\"personalInfo\", JSON.stringify(personalInfo));\n error(\"Oops!\", err.response.data.message, () => null);\n }\n if (err.response.data.status === \"failure\" && err.response.data.message === \"User with this email is a subscriber\") {\n localStorage.setItem(\"personalInfo\", JSON.stringify(personalInfo));\n setDoneSteps(prev => prev + 1);\n }\n }\n };\n return
\n

\n Personal information\n

\n
\n \n handleChange(\"first_name\", e.target.value)} data-sentry-element=\"Input\" data-sentry-source-file=\"SignUpComponent.jsx\" />\n \n \n handleChange(\"last_name\", e.target.value)} data-sentry-element=\"Input\" data-sentry-source-file=\"SignUpComponent.jsx\" />\n \n \n handleChange(\"email\", e.target.value)} data-sentry-element=\"Input\" data-sentry-source-file=\"SignUpComponent.jsx\" />\n \n \n handleChange(\"password\", e.target.value)} data-sentry-element=\"unknown\" data-sentry-source-file=\"SignUpComponent.jsx\" />\n \n
\n

Your Password must:

\n
\n
\n \n

\n Be at least 8 characters long\n

\n
\n
\n \n

\n Include one alphabet\n

\n
\n
\n \n

\n Include one number\n

\n
\n
\n \n

\n Include a special character\n

\n
\n
\n
\n \n handleChange(\"confirm_password\", e.target.value)} data-sentry-element=\"unknown\" data-sentry-source-file=\"SignUpComponent.jsx\" />\n \n
\n
\n \n

\n Confirm Password must be the same as Password\n

\n
\n
\n
\n
\n {doneSteps > 0 ? <>\n \n \n : }\n
\n
;\n };\n const ContactDetailsForm = () => {\n const [emailVerification, setEmailVerification] = useState(false);\n const [alreadyVerified, setAlreadyVerified] = useState(false);\n const [timer, setTimer] = useState(90); // Countdown timer starts at 90 seconds\n const [canResend, setCanResend] = useState(false); // Controls visibility of the \"Resend OTP\" button\n const [contactDetails, setContactDetails] = useState({\n phone_number: \"\",\n address: \"\",\n city: \"\",\n state: \"\",\n residential_zipcode: \"\",\n preferred_communication: \"\",\n languages_spoken: []\n });\n const {\n setCardVerified\n } = useMembership();\n const handleChange = (key, value) => {\n setContactDetails(prevInfo => ({\n ...prevInfo,\n [key]: value\n }));\n };\n const disable = contactDetails?.phone_number?.length !== 10 || !contactDetails.address || !contactDetails.city || !contactDetails.state || contactDetails?.residential_zipcode?.length !== 5 || !contactDetails.preferred_communication || contactDetails?.languages_spoken?.length < 1;\n const handlePrev = () => {\n setDoneSteps(prev => prev - 1);\n };\n useEffect(() => {\n const storedContactDetails = localStorage.getItem(\"contactDetails\");\n if (storedContactDetails) {\n setContactDetails(JSON.parse(storedContactDetails));\n }\n if (onboardingPatientDetail.email?.length > 0) {\n setContactDetails(prev => ({\n ...prev,\n city: onboardingPatientDetail.city,\n address: onboardingPatientDetail.address,\n state: onboardingPatientDetail?.state,\n residential_zipcode: onboardingPatientDetail?.residential_zipcode\n }));\n }\n }, []);\n useEffect(() => {\n // Countdown logic\n const interval = setInterval(() => {\n if (timer > 0) {\n setTimer(prevTimer => prevTimer - 1);\n } else {\n setCanResend(true);\n clearInterval(interval);\n }\n }, 1000);\n return () => clearInterval(interval);\n }, [timer]);\n const handleResendOtp = async () => {\n setCanResend(false);\n setTimer(90);\n if (onboardingPatientDetail?.email) {\n const response2 = await AuthService.verifyEmail({\n email: onboardingPatientDetail?.email\n });\n console.log(\"sending verify otp:\", response2);\n } else {\n const response2 = await AuthService.verifyEmail({\n email: JSON.parse(storedPersonalInfo).email\n });\n console.log(\"sending verify otp:\", response2);\n }\n };\n const handleOTP = async value => {\n const response = await AuthService.confirmEmail({\n token: value\n });\n if (response?.data?.status === \"success\") {\n setAlreadyVerified(true);\n }\n if (response?.data?.status === \"failure\") {\n error(\"Oops!\", response.data.message, () => null);\n }\n console.log(\"verify otp endpoint:\", response);\n };\n const handleNext = async () => {\n if (onboardingPatientDetail?.card_verified === true) {\n localStorage.setItem(\"contactDetails\", JSON.stringify(contactDetails));\n setCardVerified(true);\n setDoneSteps(prev => prev + 2);\n } else {\n setDoneSteps(prev => prev + 1);\n }\n console.log(\"contact-info:\", contactDetails);\n };\n const storedPersonalInfo = localStorage.getItem(\"personalInfo\");\n const handleVerifyNext = async () => {\n try {\n const values = {\n ...contactDetails,\n address: onboardingPatientDetail?.address,\n city: onboardingPatientDetail?.city,\n state: onboardingPatientDetail?.state,\n residential_zipcode: onboardingPatientDetail?.residential_zipcode,\n email: onboardingPatientDetail?.email\n };\n const values2 = {\n ...contactDetails,\n address: onboardingPatientDetail?.address,\n city: onboardingPatientDetail?.city,\n email: JSON.parse(storedPersonalInfo).email\n };\n if (onboardingPatientDetail?.email) {\n const response = await AuthService.createTempPatient(values);\n console.log(\"second step endpoint:\", response);\n if (response?.data?.status === \"success\") {\n localStorage.setItem(\"contactDetails\", JSON.stringify(contactDetails));\n const response2 = await AuthService.verifyEmail({\n email: onboardingPatientDetail?.email\n });\n console.log(\"sending verify otp:\", response2);\n setEmailVerification(true);\n }\n if (response?.data?.status === \"failure\") {\n localStorage.setItem(\"contactDetails\", JSON.stringify(contactDetails));\n error(\"Oops!\", response.data.message, () => null);\n setEmailVerification(false);\n }\n } else {\n const response = await AuthService.createTempPatient(values2);\n console.log(\"second step endpoint:\", response);\n if (response?.data?.status === \"success\") {\n localStorage.setItem(\"contactDetails\", JSON.stringify(contactDetails));\n const response2 = await AuthService.verifyEmail({\n email: JSON.parse(storedPersonalInfo).email\n });\n console.log(\"sending verify otp:\", response2);\n setEmailVerification(true);\n }\n if (response?.data?.status === \"failure\") {\n localStorage.setItem(\"contactDetails\", JSON.stringify(contactDetails));\n error(\"Oops!\", response.data.message, () => null);\n setEmailVerification(false);\n }\n }\n } catch (err) {\n console.log(\"step 2:\", err);\n if (err?.response?.data?.status === \"failure\" && err?.response?.data?.message === \"User with this email is a subscriber\") {\n try {\n const response = await AuthService.verifyEmail({\n email: onboardingPatientDetail?.email || JSON.parse(storedPersonalInfo).email\n });\n if (response.data.status === \"success\") {\n console.log(\"sending verify otp:\", response);\n setEmailVerification(true);\n }\n } catch (e) {\n if (e?.response?.data?.status === \"failure\" && e?.response?.data?.message === \"Email already verified\") {\n localStorage.setItem(\"contactDetails\", JSON.stringify(contactDetails));\n handleNext();\n }\n }\n }\n if (err?.response?.data?.status === \"failure\" && err?.response?.data?.message === \"Email already verified\") {\n localStorage.setItem(\"contactDetails\", JSON.stringify(contactDetails));\n handleNext();\n }\n if (err?.response?.data?.status === \"failure\" && err?.response?.data?.message !== \"Email already verified\" && err?.response?.data?.message !== \"User with this email is a subscriber\") {\n localStorage.setItem(\"contactDetails\", JSON.stringify(contactDetails));\n setEmailVerification(false);\n error(\"Oops!\", err.response.data.message, () => null);\n }\n }\n };\n return
\n {emailVerification ?

\n Verify your email\n

:

\n Contact details\n

}\n {emailVerification ?
\n
\n

\n Enter the 6-digit code sent to {onboardingData.email}\n

\n \n \n \n {alreadyVerified ? \n Email verified\n : \"\"}\n
\n

\n {canResend ? : `Wait ${Math.floor(timer / 60)}:${(timer % 60).toString().padStart(2, \"0\")} seconds before requesting a new code`}\n

\n
\n \n \n
\n
: <>\n
\n \n {\n const value = e.target.value;\n // Allow only numbers and limit to 10 digits\n if (/^\\d*$/.test(value) && value.length <= 10) {\n handleChange(\"phone_number\", value);\n }\n }} />\n \n \n handleChange(\"address\", e.target.value)} />\n \n \n handleChange(\"city\", e.target.value)} />\n \n \n {\n const value = e.target.value;\n // Allow only numbers and limit to 5 digits\n if (/^\\d*$/.test(value) && value.length <= 5) {\n handleChange(\"residential_zipcode\", value);\n }\n }} />\n \n \n handleChange(\"preferred_communication\", e.target.value)}>\n Text\n Email\n Both\n \n \n \n {\n const value = e.target.value;\n // Only allow up to 5 digits\n if (/^\\d{0,5}$/.test(value)) {\n setZipCode(value);\n setZipError(\"\"); // Clear error on valid input\n }\n }} className=\"w-full h-10 p-2 border rounded-lg mb-4 text-lg focus:outline-none\" placeholder=\"ZIP\" required />\n {zipError &&
{zipError}
}\n\n
\n {eror &&
{eror}
}\n {verifiedCard &&
Card verification successful!
}\n \n

\n Please note that you won't be charged any fee until care has been\n delivered to you.\n

\n
\n \n \n
\n
;\n };\n const InsuranceInformationForm = () => {\n const [insuranceInfo, setInsuranceInfo] = useState({\n insurance_company_name: \"\",\n insurance_policy_number: \"\",\n insurance_group_number: \"\",\n insured_date_of_birth: \"\",\n patient_relationship: \"\",\n zipcode: \"\"\n });\n const [insuranceList, setInsuranceList] = useState([]);\n const {\n cardVerified\n } = useMembership();\n const handleChange = (key, value) => {\n if (key === \"insurance_company_name\" && value === \"no_insurance\") {\n localStorage.setItem(\"membType\", \"individual\");\n } else if (key === \"insurance_company_name\" && value === undefined) {\n localStorage.setItem(\"membType\", \"individual\");\n } else if (key === \"insurance_company_name\" && value === \"\") {\n localStorage.setItem(\"membType\", \"individual\");\n } else if (key === \"insurance_company_name\" && value === null) {\n localStorage.setItem(\"membType\", \"individual\");\n } else {\n localStorage.setItem(\"membType\", \"insured\");\n }\n setInsuranceInfo(prevInfo => ({\n ...prevInfo,\n [key]: value\n }));\n };\n const getListOfInsurances = async () => {\n try {\n const res = await AuthService.getProviderInsurance();\n console.log(\"insurance list:\", res);\n if (res.data.status === \"success\") {\n const formattedData = Array.from(new Set(res.data.data.map(item => item.toLowerCase()))).map(item => ({\n label: item.toLowerCase().replace(/\\b\\w/g, char => char.toUpperCase()),\n // Capitalize each word\n value: item.toLowerCase()\n }));\n\n // Prepend the default option\n const finalList = [{\n label: \"No insurance/Not included\",\n value: \"no_insurance\"\n }, ...formattedData];\n setInsuranceList(finalList);\n }\n } catch (error) {\n console.error(\"Failed to fetch insurance list:\", error);\n }\n };\n useEffect(() => {\n getListOfInsurances();\n }, []);\n const [cannotSeeZipcode, setCannotSeeZipcode] = useState(false);\n const {\n setPractices,\n setSelectedInsurance\n } = useMembership();\n useEffect(() => {\n const storedInsuranceInfo = localStorage.getItem(\"insuranceInfo\");\n if (storedInsuranceInfo) {\n setInsuranceInfo(JSON.parse(storedInsuranceInfo));\n }\n const storedContactDetails = localStorage.getItem(\"contactDetails\");\n if (storedContactDetails) {\n const parsedContactDetails = JSON.parse(storedContactDetails);\n const zipcode = parsedContactDetails.residential_zipcode;\n setInsuranceInfo(prev => ({\n ...prev,\n zipcode: zipcode\n }));\n }\n }, []);\n const handlePrev = () => {\n if (cardVerified === true) {\n setDoneSteps(prev => prev - 2);\n } else {\n setDoneSteps(prev => prev - 1);\n }\n };\n const handleNext = async () => {\n try {\n const response = await AuthService.requestMembership(insuranceInfo);\n console.log(\"ins:\", response);\n if (response?.data?.status === \"success\") {\n const providers = response?.data?.data?.result;\n setSelectedInsurance(insuranceInfo?.insurance);\n\n // Group by practice_name with smallest_value\n const groupedByPracticeName = Object.values(providers?.reduce((acc, providerItem) => {\n const practiceName = providerItem?.provider?.health_details?.practice_name;\n if (!acc[practiceName]) {\n acc[practiceName] = {\n practice_name: practiceName,\n smallest_value: providerItem?.provider?.health_details?.smallest_value,\n providers: []\n };\n }\n\n // Only add providers with matching practice_name\n if (providerItem?.provider?.health_details?.practice_name === practiceName) {\n acc[practiceName].providers.push(providerItem.provider);\n }\n return acc;\n }, {}));\n setPractices(() => groupedByPracticeName);\n console.log(\"grouped:\", groupedByPracticeName);\n localStorage.setItem(\"insuranceInfo\", JSON.stringify(insuranceInfo));\n setDoneSteps(prev => prev + 1);\n }\n if (response.data.status === \"failure\") {\n localStorage.setItem(\"insuranceInfo\", JSON.stringify(insuranceInfo));\n setCannotSeeZipcode(true);\n showModal();\n }\n } catch (e) {\n if (e.response.data.status === \"failure\" && e.response.data.message === \"No practitioners found matching the criteria\") {\n console.log(\"error:\", e);\n localStorage.setItem(\"insuranceInfo\", JSON.stringify(insuranceInfo));\n setCannotSeeZipcode(true);\n showModal();\n } else {\n console.log(\"error:\", e);\n localStorage.setItem(\"insuranceInfo\", JSON.stringify(insuranceInfo));\n error(\"Oops!\", e.response.data.message, () => null);\n setCannotSeeZipcode(true);\n }\n }\n };\n const [isModalOpen, setIsModalOpen] = useState(false);\n const showModal = () => {\n setIsModalOpen(true);\n };\n const handleOk = () => {\n setIsModalOpen(false);\n setDoneSteps(prev => prev + 1);\n };\n const handleCancel = () => {\n setIsModalOpen(false);\n };\n return
\n
\n

Let's get started

\n

Select Your Insurance

\n

\n Start by selecting your insurance provider\n

\n
\n {cannotSeeZipcode && \n
\n
\n \n We couldn't validate your insurance\n \n \n Please edit insurance or choose self pay option to proceed\n \n
\n \n \n
\n
\n
\n
}\n
\n \n handleChange(\"insurance_policy_number\", e.target.value)} data-sentry-element=\"Input\" data-sentry-source-file=\"SignUpComponent.jsx\" />\n \n \n handleChange(\"insurance_group_number\", e.target.value)} data-sentry-element=\"Input\" data-sentry-source-file=\"SignUpComponent.jsx\" />\n \n \n {\n if (date) {\n // Format the date for server as DD-MM-YYYY\n const formattedDate = date.format(\"DD-MM-YYYY\");\n handleChange(\"insured_date_of_birth\", formattedDate); // Store formatted date for server\n } else {\n handleChange(\"insured_date_of_birth\", null); // Handle case where the date is cleared\n }\n }} data-sentry-element=\"DatePicker\" data-sentry-source-file=\"SignUpComponent.jsx\" />\n \n \n } className=\"w-2/3 h-12 px-2\" placeholder=\"find a practice\" />\n\n {practices?.map((item, index) => {\n return handleSelectedPractice(item)} key={index} practiceName={item?.practice_name} price={item?.smallest_value}>\n {item?.providers?.map((provider, index) => {\n return
\n \n {provider.photo ? \"dr\" : \"\"}\n {provider.first_name + \" \" + provider.last_name}\n \n \n {\"5/5\"}\n \n \n {provider.headline}\n \n
;\n })}\n
;\n })}\n\n
\n \n
\n
\n \n
\n
\n
\n {doneSteps > 0 ? <>\n \n \n : }\n
\n }\n ;\n };\n const ComplianceForm = () => {\n const [complianceInfo, setComplianceInfo] = useState({\n agreed1: false,\n agreed2: false\n });\n const [showAgreed1, setShowAgreed1] = useState(true);\n const {\n patientCardDetails\n } = useBooking();\n const {\n cardVerified\n } = useMembership();\n const {\n selectedPractice,\n selectedTier\n } = useMembership();\n const handleChange = (key, value) => {\n setComplianceInfo(prevInfo => ({\n ...prevInfo,\n [key]: value\n }));\n setShowAgreed1(false);\n };\n const disable = !complianceInfo.agreed1 || !complianceInfo.agreed2;\n const handlePrev = () => {\n setDoneSteps(prev => prev - 2);\n };\n const {\n patientProfilePhoto\n } = useBooking();\n\n // we are doing this to update the patient profile with the photo they chose.\n const uploadPhoto = async token => {\n try {\n console.log(\"the photo:\", patientProfilePhoto);\n if (patientProfilePhoto !== null) {\n const formData = new FormData();\n formData.append(\"photo\", patientProfilePhoto);\n const response = await axios.put(\"https://dinma-staging.onrender.com/api/v1/authentication/edit_profile/\", formData, {\n headers: {\n // \"Content-Type\": \"multipart/form-data\",\n Authorization: `JWT ${token}`\n }\n });\n console.log(\"update provider profile:\", response);\n }\n } catch (error) {\n console.error(\"Error uploading file:\", error);\n throw error;\n }\n };\n const handleNext = async () => {\n // Retrieve and parse the data from local storage\n const personalInfo = JSON.parse(localStorage.getItem(\"personalInfo\") || \"{}\");\n const insuranceInfo = JSON.parse(localStorage.getItem(\"insuranceInfo\") || \"{}\");\n const contactDetails = JSON.parse(localStorage.getItem(\"contactDetails\") || \"{}\");\n const practiceInfo = JSON.parse(localStorage.getItem(\"practiceInfo\") || \"{}\");\n\n // Combine all the data into one object\n const patientData = {\n ...personalInfo,\n ...insuranceInfo,\n ...contactDetails,\n ...practiceInfo,\n membership_plan: selectedTier,\n practice_name: selectedPractice?.practice_name\n };\n let patientData2 = {\n ...personalInfo,\n ...insuranceInfo,\n ...contactDetails,\n ...practiceInfo,\n membership_plan: selectedTier,\n practice_name: selectedPractice?.practice_name,\n first_name: onboardingPatientDetail.first_name,\n last_name: onboardingPatientDetail.last_name,\n date_of_birth: dayjs(onboardingPatientDetail.date_of_birth, \"DD/MM/YYYY\").format(\"DD-MM-YYYY\"),\n email: onboardingPatientDetail.email,\n address: onboardingPatientDetail?.address,\n state: onboardingPatientDetail?.state,\n residential_zipcode: onboardingPatientDetail?.residential_zipcode,\n city: onboardingPatientDetail?.city\n };\n try {\n if (onboardingPatientDetail.first_name?.length === 0) {\n const response = await AuthService.createPatient(patientData);\n if (response?.data?.status === \"success\") {\n localStorage.setItem(\"onboarded\", true); // i am doing this so that the step knows the result\n setAuthorizationToken(response?.data?.token);\n const res = await AuthService.stripeOnboarding(patientCardDetails); // i save stripe after auth token comes\n const token = response?.data?.token;\n uploadPhoto(token);\n console.log(\"stripe onboarding res:\", res);\n setDoneSteps(prev => prev + 1);\n }\n console.log(\"fourth step endpoint:\", response);\n } else {\n const response = await AuthService.editOnboardPatientProfile(patientData2, onboardingPatientDetail.email);\n if (response?.data?.status === \"success\") {\n console.log(\"peak\", response);\n localStorage.setItem(\"onboarded\", true); // i am doing this so that the step knows the result\n setAuthorizationToken(response?.data?.token);\n if (response.data?.data?.card_verified === true) {\n setDoneSteps(prev => prev + 1);\n } else {\n const res = await AuthService.stripeOnboarding(patientCardDetails); // i save stripe after auth token comes\n const token = response?.data?.token;\n uploadPhoto(token);\n console.log(\"stripe onboarding res:\", res);\n setDoneSteps(prev => prev + 1);\n }\n }\n }\n } catch (err) {\n console.log(\"step 4:\", err);\n if (err?.response?.data?.status === \"failure\") {\n localStorage.setItem(\"onboarded\", false); // i am doing this so that the step knows the result\n setDoneSteps(prev => prev + 1);\n }\n }\n console.log(\"Compliance-info:\", complianceInfo);\n };\n return
\n {showAgreed1 === false ? <>\n

\n DINMA MEDICAL GROUP, P.A\n

\n\n
\n

\n

    \n
  1. \n CONSENT FOR TREATMENT: By\n this document, I do hereby request and authorize Dinma Medical\n Group, P.A., its medical practices and providers including\n physicians, technicians, nurses, and other qualified\n personnel, including appropriately supervised students and\n residents to perform evaluation and treatment services and\n procedures as may be necessary in accordance with the judgment\n of the attending medical practitioner(s). I acknowledge that\n no guarantee can be made by anyone concerning the results of\n treatments, examinations or procedures. I also understand that\n Dinma Medical Group, P.A., has no physical location and\n treatment will take place at my home or preferred location. I\n agree to provide a safe place for the provider to treat me and\n to restrict all pets/animals.\n
  2. \n
    \n
  3. \n \n TREATMENT OF MINOR CHILDREN:\n {\" \"}\n I understand minor children patients must be accompanied by a\n parent or legal guardian. Charges for services rendered to\n minor children are the responsibility of the guardian who\n seeks treatment for the child and are due at time of\n service(s) regardless of court-ordered responsibility.\n
  4. \n
    \n
  5. \n PHOTOGRAPHY/VIDEO:I\n acknowledge that my photograph may be taken for Chart\n identification and documentation purposes for my electronic\n health record and is the property Dinma Medical Group, P.A.\n unless I withdraw my consent in writing. I consent to\n videotaping for a telehealth appointment for medical and\n medical record documentation purposes, provided said\n photographs or videotapes are maintained and released in\n accordance with protected health information regulations. I\n understand and agree not to photograph, videotape, audiotape,\n record or otherwise capture imaging or sound on any device. I\n also understand it is my responsibility to assure those\n accompanying me comply with this requirement.\n
  6. \n
    \n
  7. \n \n INSURANCE AUTHORIZATION AND ASSIGNMENT:\n \n If Dinma Medical Group, P.A. has a contract with my insurance,\n I request that payment of authorized medical benefits is made\n on my behalf directly to the Dinma Medical Group, P.A.\n provider of service(s) furnished to me. I authorize Dinma\n Medical Group, P.A. to release any medical information to my\n health insurance carrier and/or its legitimate agents that is\n necessary to process related health insurance claims and/or to\n verify plan benefits in accordance with HIPAA health\n information standards. If Dinma Medical Group, P.A. has a\n contract with my insurance, I authorize payment of service(s),\n otherwise payable to me under the terms of my private, group\n employer’s or group health insurance plan, directly to Dinma\n Medical Group, P.A. I hereby authorize photocopies of this\n form to be valid as the original.\n
  8. \n
    \n
  9. \n SELF-PAY:Regardless of my\n insurance status, I acknowledge that I have been made aware of\n my financial responsibility during the provider booking\n process and accept the charges made to my payment card for\n services delivered. Charges cover provider visit, treatment\n and materials used during the visit. I also agree that I may\n receive additional charges from third party organizations if I\n am referred for further investigations/services.\n
  10. \n
    \n
  11. \n RESTRICTED SERVICE: I\n understand that all account balances must be in good standing\n prior to receiving additional services and will contact Dinma\n Medical Group, P.A.’s staff if I am unable to pay my balance.\n Past Due Accounts of 60 days or longer may be turned over to a\n third-party for collection, along with collection costs,\n attorneys’ fees and court fees. I also understand I may be\n discharged from the practice.\n
  12. \n
    \n
  13. \n ELECTRONIC HEALTH RECORD: I\n understand the following: Healthcare providers require access\n to patient medical information whenever or wherever a patient\n presents for care to assure safety, quality and to coordinate\n patient care across the provider network, avoiding duplication\n of services. Dinma Medical Group, P.A. has a system-wide\n electronic medical record that is available to caregivers on a\n “need to know” basis, to share information about patient care\n provided in the hospital, outpatient or physician office\n settings. Confidentiality of records including those\n reflecting treatment for behavioral health issues, HIV/AIDS or\n drug or alcohol problems is maintained per relevant\n governmental and regulatory standards. Patient care summaries\n are automatically sent to designated Dinma Medical Group, P.A.\n and other community primary care/family/referring physicians,\n as well as to physicians who are consulted by the attending\n physician for coordination of care. Dinma Medical Group, P.A.\n and/or the attending physician can furnish and release to\n federal and state healthcare oversight agencies, or upon\n written request, to all insurance companies or their\n representatives any information with respect to treatment of\n the patient herein named including copies of the medical\n record. I give permission to share my electronic medical\n record among my healthcare providers and obtain medication\n history through a Provider Health Information Exchange (HIE).\n Dinma Medical Group, P.A. will follow state and federal laws\n regarding the access by medical providers of any sensitive\n information, such as behavioral health, substance abuse\n treatment, sexual abuse, genetic test results, HIV/AIDS status\n and adoption records. If I have provided my email address, I\n am requesting the ability to access my medical information\n through the Dinma Medical Group, P.A. online Patient Portal.\n
  14. \n
    \n
  15. \n ELECTRONIC PRESCRIBING: I\n understand that Dinma Medical Group, P.A. medical practices\n and offices may use an electronic prescription system which\n allows prescriptions and related information to be\n electronically sent between my Dinma Medical Group, P.A.\n providers and my pharmacy. I have been informed and understand\n that Dinma Medical Group, P.A. providers using the electronic\n prescribing system will be able to see information about\n medications I am already taking, including those prescribed by\n other providers. I give my consent to my Dinma Medical Group,\n P.A. providers to see this health information.\n
  16. \n
    \n
  17. \n \n CONSENT FOR VIRTUAL HEALTH/TELEMEDICINE SERVICES:\n \n I hereby consent to engaging in virtual health or telemedicine\n services, where available, as part of my treatment. I\n understand that "virtual health" or\n "telemedicine services" includes the practice of\n health care delivery, diagnosis, consultation, treatment,\n transfers of medical data, and education using interactive\n audio, video, or data communications when the health care\n provider and patient are not in the same physical location.\n The interactive electronic systems used for these services\n will incorporate network and software security protocols to\n protect the confidentiality of patient identification and\n imaging data and will include measures to safeguard the data\n to ensure its integrity against intentional or unintentional\n corruption. I understand that the potential benefits of\n receiving care in this manner include improved access to care\n and the ability to obtain the expertise of a distant\n specialist. The potential risks include problems with\n information transmittal, including but not limited to poor\n data transfer which may include a poor video and data quality\n experience, or lack of access to my complete medical record by\n the remote physician. I understand that all information,\n including images, will be part of my medical record available\n to me if requested and with the same restrictions on\n dissemination without my consent. I understand I may withdraw\n my consent at any time.\n
  18. \n
    \n
  19. \n \n CONSENT TO SMS AND EMAIL COMMUNICATION:\n \n I By agreeing to these Terms of Service, I consent to receive\n SMS and email communications from Dinma Inc. for purposes such\n as appointment reminders and healthcare updates. Message\n frequency may vary, and standard message and data rates may\n apply. You can opt out at any time by replying\n "STOP" to any SMS or by following the unsubscribe\n instructions in any email, or by contacting our support team.\n Your personal information will be protected in accordance with\n our Privacy Policy. By providing your contact information and\n opting in, you agree to these terms, which may be updated\n periodically with notice\n
  20. \n
    \n
  21. \n IMMUNIZATION REGISTRY: I\n understand that Dinma Medical Group, P.A. may participate in\n the Georgia and South Carolina Dept. of Health's\n statewide immunization registry that collects vaccination\n history and information to serve the public health goal of\n preventing the spread of vaccine preventable diseases. The\n registry complies with federal health information privacy\n laws. I do hereby grant permission for Dinma Medical Group,\n P.A. to send or fax childhood immunization records to schools,\n upon request.\n
  22. \n
    \n
  23. \n CELL PHONES: I hereby\n consent to provide my telephone number(s), including my\n wireless telephone number(s), so that representatives from the\n Dinma Medical Group, P.A., its successors or assigns can\n contact me in any manner including but not limited to by\n manually placing a call, by using an automatic telephone\n dialing system or an artificial or prerecorded voice, by\n texting, or by e-mailing, regarding any matter, including but\n not limited to my medical treatment, prescriptions, insurance\n eligibility, insurance coverage, scheduling, billing or\n collection matters. This consent includes any updated or\n additional contact information that I may provide. I\n understand that I will be able to change my preference at any\n time\n
  24. \n
    \n
  25. \n \n RELEASE OF ANY RESPONSIBILITY FOR ANY LIABILITY DURING\n PROVIDER VISIT:\n \n I do hereby release Dinma Medical Group, P.A. and it's\n providers, agents and affiliates from any responsibility or\n liability due to loss or damage of any valuables during a\n provider visit for treatment\n
  26. \n
    \n
  27. \n \n NOTICE OF PRIVACY PRACTICES:{\" \"}\n \n Required pursuant to Health Insurance Portability and\n Accountability Act of 1996 (HIPAA), I acknowledge that I have\n been offered a copy of Dinma Medical Group, P.A.'s Notice\n of Privacy Practices. I hereby consent to the use and\n disclosure of my protected health information, including\n information generated through use of virtual health or\n telemedicine services, as described in the Notice of Privacy\n Practices. This will include all of my protected health\n information generated during hospitalization and outpatient\n treatment at the Physician Clinic, including but not limited\n to treatment for mental health, drug and alcohol abuse,\n communicable diseases such as HIV/AIDS, developmental\n disabilities, genetic testing, and other types of treatment\n received. I, or my legal representative, certify that I have\n read this document, that it has been fully explained to me and\n that I understand its contents, and hereby agree to all terms\n and conditions set forth above and acknowledge the receipt of\n a copy if requested. The undersigned certifies that s/he has\n read (or have had read to me) the foregoing, understands it,\n accepts its terms, and has received a copy of. I hereby agree\n to all terms and conditions set forth above.\n
  28. \n
\n

\n
\n

\n In order to proceed, you need to agree to the terms written above\n

\n
\n handleChange(\"agreed2\", e.target.checked)}>\n I agree\n \n : <>\n

\n THIS NOTICE DESCRIBES HOW MEDICAL INFORMATION ABOUT YOU MAY BE\n USED AND DISCLOSED AND HOW YOU CAN GET ACCESS TO THIS INFORMATION.\n PLEASE REVIEW IT CAREFULLY.\n

\n\n

\n The Health Insurance Portability and Accountability Act of 1996\n (HIPAA) is a federal program that requires that all medical and\n dental records and other individually identifiable health\n information used or disclosed by us in any form, whether\n electronically, on paper or orally, are kept properly\n confidential. This Act gives you, the patient, significant new\n rights to understand and control how your health information is\n used. HIPAA provides penalties for covered entities that misuse\n Protected Health Information (PHI).\n
\n
\n This Notice of Privacy Practices describes how we may use and\n disclose your Protected Health Information (PHI) to carry out\n treatment, payment or health care operations (TPO) and for other\n purposes that are permitted or required by law. It also describes\n your rights to access and control your protected health\n information. "Protected health information" is\n information about you, including demographic information, that may\n identify you and that relates to your past, present or future\n physical or mental health or condition and related health care\n services.\n
\n
\n Uses and Disclosures of Protected Health Information Your\n Protected Health Information may be used and disclosed by your\n physician, our office staff and others outside of our office that\n are involved in your care and treatment for the purpose of\n providing health care services to you, to pay your health care\n bills, to support the operation of the practice, and any other use\n required by law.\n
\n
\n Treatment: We will use and disclose your Protected Health\n Information to provide, coordinate, or manage your health care and\n any related services. This includes the coordination or management\n of your health care with a third party. For example, your\n protected health information may be provided to a physician to\n whom you have been referred to ensure that the health care\n professional has the necessary information to diagnose or treat\n you.
\n
\n Payment: Your protected health information will be used, as\n needed, to obtain payment for health care services. For example,\n obtaining approval for a hospital stay may require that your\n relevant protected health information be disclosed to the health\n plan to obtain approval for the hospital admission.
\n
\n Healthcare Operations: We may use or disclose, as-needed, your\n protected health information in order to support the business\n activities of your physician's practice. These activities\n include, but are not limited to, quality assessment activities,\n employee review activities, and conducting or arranging for other\n business activities. We may use or disclose, as needed, your\n protected health information to support the business activities of\n this practice. In addition, we may use a sign-in sheet at the\n registration desk where you will be asked to sign your name and\n indicate your physician. We may also call you by name in the\n waiting room when your physician is ready to see you. We may use\n or disclose your protected health information, as necessary, to\n contact you to remind you of your appointment. We may call your\n home and leave a message (either on an answering machine or with\n the person answering the phone) to remind you of an upcoming\n appointment, the need to schedule a new appointment or to call our\n office. We may also mail a postcard reminder to your home address.\n If you would prefer that we call or contact you at another\n telephone number or location, please let us know.
\n
\n We may use or disclose your protected health information in the\n following situations without your authorization. These situations\n include: as Required By Law, Public Health issues required by law,\n Communicable Diseases: Health Oversight: Abuse or Neglect: Food\n and Drug Administration requirements: Legal Proceedings: Law\n Enforcement: Coroners, Funeral Directors, and Organ Donation:\n Research: Criminal Activity: Military Activity and National\n Security: Workers' Compensation: Inmates: Required Uses and\n Disclosures: Under the law, we must make disclosures to you and\n when required by the Secretary of the Department of Health and\n Human Services to investigate or determine our compliance with the\n requirements of HIPAA.
\n
\n Other Permitted and Required Uses and Disclosures Will Be Made\n Only With Your Consent, Authorization or Opportunity to Object\n unless required by law.\n
\n
\n You may revoke this authorization, at any time, in writing, except\n to the extent that your physician or the physician's practice\n has taken an action in reliance on the use or disclosure indicated\n in the authorization.\n
\n
\n Your Rights The Following is a statement of your rights with\n respect to your protected health information.
\n
\n You have the right to inspect and copy your protected health\n information. Under federal law, however, you may not inspect or\n copy the following records; psychotherapy notes; information\n compiled in reasonable anticipation of, or use in, a civil,\n criminal, or administrative action or proceeding, and protected\n health information that is subject to law that prohibits access to\n protected health information.\n
\n
\n You have the right to request a restriction of your health\n information. This means you may ask us not to use or disclose any\n part of your protected health information for the purposes of\n treatment, payment or healthcare operations. You may also request\n that any part of your protected health information not be\n disclosed to family members or friends who may be involved in you\n care or for notification purposes described in this Notice of\n Privacy Practices. Your request must state the specific\n restriction and to whom you want the restriction to apply.\n
\n
\n Your physician is not required to agree to a restriction you may\n request. If your physician believes it is in your best interest to\n permit use and disclosure of your protected health information,\n your protected health information will not be restricted. You then\n have the right to use another Healthcare Professional.
\n
\n You have the right to request to receive confidential\n communications from us by alternative means or at an alternative\n location. You have the right to obtain a paper copy of this Notice\n from us, upon request, even if you have agreed to accept this\n Notice alternatively (i.e. electronically).
\n
\n You may have the right to have your physician amend your protected\n health information. If we deny your request for amendment, you\n have the right to file a statement of disagreement with us and we\n may prepare a rebuttal to your statement and will provide you with\n a copy of any such rebuttal.\n
\n
\n You have the right to receive an accounting of certain disclosures\n we have made, if any, of your protected health information. We\n reserve the right to change the terms of this Notice and will\n inform you of any changes. You then have the right to object or\n withdraw as provided in this Notice.
\n
\n Complaints You may complain to us or to the Secretary of Health\n and Human Services if you believe your privacy rights have been\n violated by us. You may file a complaint with us by notifying our\n privacy officer of your complaint at our office and main telephone\n number. We will not retaliate against you for filing a complaint.\n
\n
\n Check out our help center if you have any information about this\n notice\n

\n\n

\n In order to proceed, you need to agree to the terms written above\n

\n
\n handleChange(\"agreed1\", e.target.checked)}>\n I agree\n \n }\n
\n
\n \n \n
\n
;\n };\n const ResultPage = () => {\n const [success, setSuccess] = useState(false);\n const [finalLoading, setFinalLoading] = useState(true);\n const {\n flow\n } = useBooking();\n useEffect(() => {\n const onboarded = localStorage.getItem(\"onboarded\"); // i use this to know the final outcome of previous steps\n if (onboarded === \"true\") {\n handleFinish(); // we want to log them in directly if onboarding was successful\n // setSuccess(true); // we have no success message for patients\n // setFinalLoading(false); // do not set loading to false, login should happen while there is a spinner\n }\n if (onboarded === \"false\") {\n setSuccess(false);\n setFinalLoading(false);\n }\n }, []);\n const handleFinish = async () => {\n // Retrieve and parse login data from local storage\n const personalInfo = JSON.parse(localStorage.getItem(\"personalInfo\") || \"{}\");\n try {\n const response = await AuthService.loginUser(personalInfo.email, personalInfo.password);\n if (response.data.status === \"success\" && response.data.data.user.user_type === \"patient\" && flow === null) {\n localStorage.clear();\n setAuthorizationToken(response.data.data.token);\n localStorage.setItem(AUTH_TOKEN_KEY, response.data.data.token);\n router.replace(\"/patient/home/dashboard\");\n }\n if (response.data.status === \"success\" && response.data.data.user.user_type === \"patient\" && flow !== null) {\n localStorage.clear();\n setAuthorizationToken(response.data.data.token);\n localStorage.setItem(AUTH_TOKEN_KEY, response.data.data.token);\n router.replace(\"/patient/home/dashboard/bookprovider\");\n }\n console.log(\"login response:\", response);\n } catch (e) {\n if (e?.response?.data?.status === \"failure\") {\n setAuthorizationToken(null);\n error(\"Oops!\", e?.response?.data?.message, () => null);\n }\n console.error(\"loginn error:\", e);\n }\n };\n const handleGoback = () => {\n localStorage.removeItem(\"onboarded\");\n setDoneSteps(0);\n };\n const handleRetry = () => {\n localStorage.removeItem(\"onboarded\");\n setDoneSteps(prev => prev - 1);\n };\n if (finalLoading) {\n return ;\n }\n return <>\n {success === true ? \n Finish\n } /> :\n // \n // \n // Go back\n // \n // \n // Retry submission\n // \n // \n // }\n // body={\n //
\n // \n // \n // The following errors occured while submitting your form:\n // \n // \n\n // {/*\n // 1. Your email\n // is already in use.\n // */}\n //
\n // }\n // />\n
}\n ;\n };\n return
\n \n
\n

\n Create an account\n

\n

\n Please fill the details for account holder\n

\n
\n
\n \n
\n
\n \n
\n
\n {doneSteps === 0 ? : doneSteps === 1 ? : doneSteps === 2 ? : doneSteps === 3 ? : doneSteps === 4 ? : doneSteps === 5 ? : }\n
\n
\n
\n
;\n};\nexport default PatientSignup;","\"use client\";\n\nimport { Suspense } from \"react\";\nimport PatientSignup from \"./SignUpComponent\";\nexport default function PatientSignUpPage() {\n return loading...} data-sentry-element=\"Suspense\" data-sentry-component=\"PatientSignUpPage\" data-sentry-source-file=\"page.jsx\">\n \n ;\n}"],"names":["Promise","resolve","then","__webpack_require__","bind","asn_LeftCircleOutlined","icons_LeftCircleOutlined","React","props","ref","AntdIcon","_extends","icon","LeftCircleOutlinedSvg","asn_LeftOutlined","icons_LeftOutlined","LeftOutlinedSvg","asn_RightOutlined","icons_RightOutlined","RightOutlinedSvg","__webpack_exports__","Z","practiceName","children","price","onClick","param","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","div","className","data-sentry-component","data-sentry-source-file","jsx","span","handleNext","tiers","stickBgColor","setStickBgColor","useState","one","two","three","four","setSelectedTier","useMembership","handleClick","num","single_member","prev","family_2_members","family_3_members","family_4_members_plus","concat","Image","src","alt","width","height","data-sentry-element","insured_single_member","Divider","insured_family_2_members","insured_family_3_members","insured_family_4_members_plus","MembershipContext","createContext","setPractices","MembershipProvider","practices","selectedPractice","setSelectedPractice","selectedTier","selectedInsurance","setSelectedInsurance","cardVerified","setCardVerified","zipcode","setZipcode","values","useMemo","Provider","value","context","useContext","undefined","Error","dayjs","customParseFormat","disabledDate","current","startOf","Text","Paragraph","Typography","CARD_ELEMENT_OPTIONS","style","base","fontSize","color","invalid","SignUpComponent","doneSteps","setDoneSteps","personalInfoForm","contactDetailsForm","verifyEmailForm","paymentDetailsForm","Form","useForm","onboardingData","setOnboardingData","loading","setLoading","onboardingPatientDetail","setOnboardingPatientDetail","first_name","router","useRouter","userId","searchParams","useSearchParams","get","getDetails","res","AuthService","getOnboardingPatientDetail","data","status","console","log","useEffect","localStorage","clear","jsx_runtime","SignInSignUpHeader","h1","p","Steps","direction","size","items","title","labelPlacement","responsive","personalInfo","setPersonalInfo","last_name","gender","date_of_birth","email","password","confirm_password","alpha","setAlpha","numeric","setNumeric","equals","setEquals","length","setLength","specialChar","setSpecialChar","handleChange","key","prevInfo","setPatientProfilePhoto","patientProfilePhoto","useBooking","handleFileChange","info","file","originFileObj","storedPersonalInfo","getItem","JSON","parse","test","disable","formattedPersonalInfo","format","response","createTempPatient","setItem","stringify","error","message","prevalues","err","form","layout","name","Item","label","Input","placeholder","defaultValue","onChange","e","target","Select","allowClear","options","ImgCrop","rotationSlider","quality","Upload","listType","maxCount","onRemove","Button","type","DatePicker","date","dateString","Password","Checkbox","checked","Fragment","disabled","PersonalInformationForm","contactDetails","emailVerification","setEmailVerification","alreadyVerified","setAlreadyVerified","timer","setTimer","canResend","setCanResend","setContactDetails","phone_number","address","city","state","residential_zipcode","preferred_communication","languages_spoken","handlePrev","storedContactDetails","interval","setInterval","prevTimer","clearInterval","handleResendOtp","verifyEmail","handleOTP","confirmEmail","token","card_verified","handleVerifyNext","values2","response2","OTP","button","Math","floor","toString","padStart","validateStatus","help","hasFeedback","maxLength","usaStates","Radio","mode","ContactDetailsForm","setEmail","eror","setError","verifiedCard","setVerifiedCard","zipCode","setZipCode","zipError","setZipError","stripe","useStripe","elements","useElements","setPatientCardDetails","storedEmail","validateZipCode","zip","match","handleValidatePaymentMethod","formData","validatePmMethod","handleSubmit","event","preventDefault","cardNumberElement","getElement","CardNumberElement","cardExpiryElement","CardExpiryElement","cardCvCElement","CardCvcElement","paymentMethod","createPaymentMethod","card","billing_details","postal_code","payment_method_id","id","htmlFor","input","inputMode","pattern","required","br","PaymentDetailsForm","insuranceInfo","setInsuranceInfo","insurance_company_name","insurance_policy_number","insurance_group_number","insured_date_of_birth","patient_relationship","insuranceList","setInsuranceList","getListOfInsurances","getProviderInsurance","formattedData","Array","from","Set","map","item","toLowerCase","replace","char","toUpperCase","finalList","cannotSeeZipcode","setCannotSeeZipcode","storedInsuranceInfo","parsedContactDetails","requestMembership","providers","result","insurance","groupedByPracticeName","Object","reduce","acc","providerItem","provider","health_details","practice_name","smallest_value","push","showModal","isModalOpen","setIsModalOpen","handleOk","handleCancel","Modal","open","footer","closeIcon","borderRadius","centered","onOk","onCancel","InsuranceInformationForm","practiceInfo","setPracticeInfo","membership_plan","hasSelectedAPractice","setHasSelectedAPractice","membershipType","setMembershipType","handleSelectedPractice","membType","handleHasSelectedPracticeNext","setTiers","getPriceTier","filterPractice","practice_id","PriceTier","prefix","SearchOutlined","index","PracticeCard","photo","headline","Pagination","total","pageSize","itemRender","_","originalElement","a","LeftCircleOutlined","PracticeInformationForm","complianceInfo","setComplianceInfo","agreed1","agreed2","showAgreed1","setShowAgreed1","patientCardDetails","uploadPhoto","FormData","append","axios","put","headers","Authorization","patientData","patientData2","createPatient","setAuthorizationToken","stripeOnboarding","editOnboardPatientProfile","ol","li","ComplianceForm","success","setSuccess","finalLoading","setFinalLoading","flow","onboarded","handleFinish","loginUser","user","user_type","AUTH_TOKEN_KEY","LoadingScreen","RenderResult","subtitle","extra","block","ResultPage","PatientSignUpPage","Suspense","fallback","PatientSignup"],"sourceRoot":""}