UNPKG

@ugandaemr/esm-patient-queues-app

Version:
284 lines (281 loc) 7.89 kB
export const mockAppointmentsData = { data: [ { uuid: '0d54aa56-0411-47f9-9ce9-23d702965881', appointmentNumber: '0000', patient: { identifier: '100GEJ', name: 'Hungai Kevin', uuid: '8673ee4f-e2ab-4077-ba55-4980f408773e', age: 32, gender: 'Male', phone_number: '0798654231', }, service: { appointmentServiceId: 1, name: 'Outpatient', description: null, speciality: {}, startTime: '', endTime: '', maxAppointmentsLimit: null, durationMins: null, location: {}, uuid: 'e2ec9cf0-ec38-4d2b-af6c-59c82fa30b90', color: '#006400', initialAppointmentStatus: 'Scheduled', creatorName: null, }, serviceType: null, provider: null, location: { name: 'Isolation Ward', uuid: '2131aff8-2e2a-480a-b7ab-4ac53250262b' }, startDateTime: 1628598900000, endDateTime: 1628599020000, appointmentKind: 'Adult HIV return visit', status: 'Scheduled', comments: null, additionalInfo: null, providers: [], recurring: false, }, { uuid: '0f445395-74a7-4d8b-a6ae-8f5195cc172e', appointmentNumber: '0000', patient: { identifier: '100GEJ', name: 'Neil Amstrong', uuid: '8673ee4f-e2ab-4077-ba55-4980f408773e', age: 48, gender: 'Female', phone_number: '0798654231', }, service: { appointmentServiceId: 1, name: 'Outpatient', description: null, speciality: {}, startTime: '', endTime: '', maxAppointmentsLimit: null, durationMins: null, location: {}, uuid: 'e2ec9cf0-ec38-4d2b-af6c-59c82fa30b90', color: '#006400', initialAppointmentStatus: 'Scheduled', creatorName: null, }, serviceType: null, provider: null, location: { name: 'Isolation Ward', uuid: '2131aff8-2e2a-480a-b7ab-4ac53250262b' }, startDateTime: 1628598900000, endDateTime: 1628599020000, appointmentKind: 'Diabetes return visit', status: 'Scheduled', comments: null, additionalInfo: null, providers: [], recurring: false, }, { uuid: 'c5f4fdab-2d48-4412-adf4-ee26a6b0816f', appointmentNumber: '0000', patient: { identifier: '100GEJ', name: 'John Wilson', uuid: '8673ee4f-e2ab-4077-ba55-4980f408773e', age: 12, gender: 'Male', phone_number: '0798654231', }, service: { appointmentServiceId: 1, name: 'Outpatient', description: null, speciality: {}, startTime: '', endTime: '', maxAppointmentsLimit: null, durationMins: null, location: {}, uuid: 'e2ec9cf0-ec38-4d2b-af6c-59c82fa30b90', color: '#006400', initialAppointmentStatus: 'Scheduled', creatorName: null, }, serviceType: null, provider: null, location: { name: 'Isolation Ward', uuid: '2131aff8-2e2a-480a-b7ab-4ac53250262b' }, startDateTime: 1628599800000, endDateTime: 1628600100000, appointmentKind: 'Hypertension consultation visit', status: 'Scheduled', comments: null, additionalInfo: null, providers: [], recurring: false, }, ], }; export const mockPastAndUpcomingAppointments = { pastAppointments: [ { uuid: 'a4662406-2bfe-49be-8465-6dbdfe9b4d5d', appointmentNumber: '0000', patient: { identifier: '1003R8', name: 'Brian Evans', uuid: '8f75dbf1-833d-498a-bc99-3a24cad5cee9', }, service: { appointmentServiceId: 1, name: 'HIV return visit', description: null, speciality: {}, startTime: '', endTime: '', maxAppointmentsLimit: null, durationMins: null, location: {}, uuid: 'e2ec9cf0-ec38-4d2b-af6c-59c82fa30b90', color: '#006400', initialAppointmentStatus: 'Scheduled', creatorName: null, }, serviceType: null, provider: null, location: { name: 'Outpatient Clinic', uuid: 'f76c0c8e-2c3a-443c-b26d-96a9f3847764', }, startDateTime: '2021-10-28T11:14:17.064Z', endDateTime: 1649935800000, appointmentKind: 'Scheduled', status: 'Scheduled', comments: null, additionalInfo: null, teleconsultation: null, providers: [], voided: false, extensions: { patientEmailDefined: false, }, teleconsultationLink: null, recurring: false.valueOf, }, ], upcomingAppointments: [ { uuid: 'a4662406-2bfe-49be-8465-6dbdfe9b4d5d', appointmentNumber: '0000', patient: { identifier: '1003R8', name: 'Brian Evans', uuid: '8f75dbf1-833d-498a-bc99-3a24cad5cee9', }, service: { appointmentServiceId: 1, name: 'Clinical observation', description: null, speciality: {}, startTime: '', endTime: '', maxAppointmentsLimit: null, durationMins: null, location: {}, uuid: 'e2ec9cf0-ec38-4d2b-af6c-59c82fa30b90', color: '#006400', initialAppointmentStatus: 'Scheduled', creatorName: null, }, serviceType: null, provider: null, location: { name: 'Outpatient Clinic', uuid: 'f76c0c8e-2c3a-443c-b26d-96a9f3847764', }, startDateTime: 1649934000000, endDateTime: 1649935800000, appointmentKind: 'Scheduled', status: 'Scheduled', comments: null, additionalInfo: null, teleconsultation: null, providers: [], voided: false, extensions: { patientEmailDefined: false, }, teleconsultationLink: null, recurring: false.valueOf, }, ], }; export const mockUseAppointmentServiceData = [ { appointmentServiceId: 1, name: 'Outpatient', description: null, speciality: {}, startTime: '', endTime: '', maxAppointmentsLimit: null, durationMins: null, location: {}, uuid: 'e2ec9cf0-ec38-4d2b-af6c-59c82fa30b90', color: '#006400', initialAppointmentStatus: 'Scheduled', creatorName: null, weeklyAvailability: [ { dayOfWeek: 'MONDAY', startTime: '07:00:00', endTime: '20:00:00', maxAppointmentsLimit: null, uuid: '7c7c53c8-c104-40cc-9926-50fc6fe4c4c1', }, { dayOfWeek: 'TUESDAY', startTime: '07:00:00', endTime: '20:00:00', maxAppointmentsLimit: null, uuid: '7683b94e-6c48-4132-b402-54837a8c0fb2', }, { dayOfWeek: 'SUNDAY', startTime: '07:00:00', endTime: '20:00:00', maxAppointmentsLimit: null, uuid: '00be8427-0037-4984-8875-6a5a2bc57e8e', }, { dayOfWeek: 'FRIDAY', startTime: '07:00:00', endTime: '20:00:00', maxAppointmentsLimit: null, uuid: 'af6b8d5b-be05-4e24-8601-30573f848bec', }, { dayOfWeek: 'THURSDAY', startTime: '07:00:00', endTime: '20:00:00', maxAppointmentsLimit: null, uuid: 'eb35e91b-6909-41fe-9d09-750b83fb3b9c', }, { dayOfWeek: 'SATURDAY', startTime: '07:00:00', endTime: '20:00:00', maxAppointmentsLimit: null, uuid: '7f6347fd-c514-4fd2-ab79-d7fd760bf82f', }, { dayOfWeek: 'WEDNESDAY', startTime: '07:00:00', endTime: '20:00:00', maxAppointmentsLimit: null, uuid: 'dad83f54-a0a2-4ba9-819b-01e906c89b69', }, ], serviceTypes: [{ duration: 15, name: 'Chemotherapy', uuid: '53d58ff1-0c45-4e2e-9bd2-9cc826cb46e1' }], }, ];