From 93e1bb23da972e2f488a1f908cfed526ea2c8e07 Mon Sep 17 00:00:00 2001 From: KONIJETI YASWANTHA NAGARJUNA <50859121+YaswanthNagarjuna@users.noreply.github.com> Date: Thu, 21 Sep 2023 20:32:41 +0530 Subject: [PATCH] Review changes --- mock-relying-party-ui-telecom/src/logo.svg | 1 - .../src/services/relyingPartyService.js | 93 +------------------ 2 files changed, 1 insertion(+), 93 deletions(-) delete mode 100644 mock-relying-party-ui-telecom/src/logo.svg diff --git a/mock-relying-party-ui-telecom/src/logo.svg b/mock-relying-party-ui-telecom/src/logo.svg deleted file mode 100644 index 9dfc1c05..00000000 --- a/mock-relying-party-ui-telecom/src/logo.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/mock-relying-party-ui-telecom/src/services/relyingPartyService.js b/mock-relying-party-ui-telecom/src/services/relyingPartyService.js index 94615715..28db3692 100644 --- a/mock-relying-party-ui-telecom/src/services/relyingPartyService.js +++ b/mock-relying-party-ui-telecom/src/services/relyingPartyService.js @@ -32,99 +32,8 @@ const post_fetchUserInfo = async ( }); return response.data; }; -const get_claimProvider = () => { - return { - claimproviders: [ - { - vaccinationName: "covaxin", - days: 7, - vaccinationCenter: "aiims_address", - totalCost: "$234", - }, - { - vaccinationName: "hepatitis_a.", - days: 40, - vaccinationCenter: "apollo_address", - totalCost: "$85", - }, - { - vaccinationName: "rubella", - days: 295, - vaccinationCenter: "urban_address", - totalCost: "$55", - }, - { - vaccinationName: "influenza", - days: 390, - vaccinationCenter: "manipal_address", - totalCost: "$75", - }, - ], - }; -}; -const get_currentMedications = () => { - return { - medications: [ - { - tabletName: "acebutolol_400mg", - dailyDosage: "dailydosage_2", - }, - { - tabletName: "aluminium_hydroxide_(otc)_320mg", - dailyDosage: "dailydosage_2", - }, - { - tabletName: "warfarin_2mg", - dailyDosage: "dailydoseage_1", - }, - ], - }; -}; -const get_messages = () => { - return { - messages: [ - { - doctorName: "dr_alexander_kalish", - days: "1", - message: "dr_alexander_kalish_message_1", - }, - { - doctorName: "dr_alexander_kalish", - days: "3", - message: - "dr_alexander_kalish_message_2", - }, - { - doctorName: "samantha_kleizar", - days: "4", - message: - "samantha_kleizar_message_1", - }, - { - doctorName: "dr_fariz", - days: "5", - message: "dr_fariz_message_1", - }, - ], - }; -}; -const get_nextAppointment = () => { - return { - appointment: [ - { - time: "10:30am - 11:00am 30mins", - location: "appointment_location", - doctorName: "dr_alexander_kalish", - department: "endocrin", - }, - ], - }; -}; + const relyingPartyService = { post_fetchUserInfo, - get_claimProvider, - get_currentMedications, - get_messages, - get_nextAppointment, }; export default relyingPartyService; \ No newline at end of file