@openmrs/esm-appointments-app 5.1.1-pre.2203 → 5.1.1-pre.2207
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +3 -3
- package/dist/319.js +1 -1
- package/dist/328.js +1 -1
- package/dist/328.js.map +1 -1
- package/dist/574.js +1 -1
- package/dist/757.js +1 -1
- package/dist/788.js +1 -1
- package/dist/807.js +1 -1
- package/dist/833.js +1 -1
- package/dist/openmrs-esm-appointments-app.js.buildmanifest.json +23 -23
- package/dist/routes.json +1 -1
- package/package.json +2 -2
- package/src/appointments/forms/create-edit-form/appointments-form.component.tsx +1 -15
- package/translations/am.json +1 -0
- package/translations/en.json +1 -0
- package/translations/es.json +1 -0
- package/translations/fr.json +1 -0
- package/translations/he.json +1 -0
- package/translations/km.json +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -18,9 +18,9 @@ orphan modules 3.64 MiB [1m[33m[orphan][39m[22m 757 modules
|
|
|
18
18
|
runtime modules 38 KiB 28 modules
|
|
19
19
|
built modules 6.27 MiB (javascript) 168 bytes (share-init) 168 bytes (consume-shared) [1m[33m[built][39m[22m
|
|
20
20
|
modules by path [1m../../node_modules/[39m[22m 5.78 MiB 93 modules
|
|
21
|
-
modules by path [1m./[39m[22m
|
|
21
|
+
modules by path [1m./[39m[22m 501 KiB
|
|
22
22
|
modules by path [1m./src/[39m[22m 467 KiB 45 modules
|
|
23
|
-
modules by path [1m./translations/[39m[22m 33.
|
|
23
|
+
modules by path [1m./translations/[39m[22m 33.7 KiB 8 modules
|
|
24
24
|
provide-module modules 168 bytes
|
|
25
25
|
[1mprovide shared module (default) @openmrs/esm-framework@5.1.1-pre.1025 = ../../no...(truncated)[39m[22m 42 bytes [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
26
26
|
+ 3 modules
|
|
@@ -37,4 +37,4 @@ Assets:
|
|
|
37
37
|
738.js (489 KiB)
|
|
38
38
|
212.js (310 KiB)[39m[22m
|
|
39
39
|
|
|
40
|
-
webpack 5.86.0 compiled with [1m[33m1 warning[39m[22m in
|
|
40
|
+
webpack 5.86.0 compiled with [1m[33m1 warning[39m[22m in 152625 ms
|
package/dist/319.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[319],{8319:e=>{e.exports=JSON.parse('{"actions":"Acciones","add":"Agregar","addNewAppointment":"Agregar nueva cita","addNewClinicDay":"Agregar nuevo día de clínica","addPatientToQueue":"Agregar paciente a la cola","age":"Edad","all":"Todo","appointmentCancelError":"Error al cancelar la cita","appointmentCancelled":"Cita cancelada","appointmentCheckedIn":"Cita registrada","appointmentCheckInError":"Error al registrar la cita","appointmentColor":"Color de la cita","appointmentDateAndTime":"Fecha y hora de las citas","appointmentForm":"Formulario de citas","appointmentFormError":"Error al programar la cita","appointmentHistory":"Historial de citas","appointmentMarkedAsMissed":"Se ha marcado correctamente como Perdida","appointmentMetrics":"Métricas de citas","appointmentMetricsLoadError":"","appointmentMissed":"Cita perdida","appointmentMissedError":"Error al marcar la cita como perdida","appointmentNotes":"Notas de cita","appointmentNowVisible":"Ahora es visible en la página de Citas","appointments":"Citas","appointmentsCalendar":"Calendario de Citas","appointmentScheduled":"Cita programada","appointmentService":"Servicio de citas","appointmentServiceCreate":"Servicio de citas creado exitosamente","appointmentServiceName":"Nombre del servicio de citas","appointmentSuccessfullyCheckedIn":"Se ha registrado correctamente","back":"Atrás","calendar":"Calendario","cameEarly":"Llegó temprano","cancel":"Cancelar","cancelAppointment":"Cancelar cita","cancelled":"Cancelada","checkedIn":"Checked in","checkedOut":"Completada","checkFilters":"Compruebe los filtros anteriores","checkIn":"Registrar","checkInAppointment":"¿Está seguro de que desea marcar la cita como registrada?","checkinTime":"Hora de registro","checkOut":"Finalizar","chooseProvider":"Seleccionar proveedor","chooseService":"Seleccionar servicio","comment":"Comentario","complete":"Completar","completed":"Completado","count":"Conteo","createAppointment":"Crear cita","createAppointmentService":"Crear servicios de citas","createNewAppointment":"Crear nueva cita","daily":"Diario","date":"Fecha","dateAndTimeOfVisit":"Fecha y hora de la visita","dateTime":"Fecha y hora","discard":"Descartar","dob":"Fecha de nacimiento","download":"Descargar","durationMins":"Duración (min)","editAppointment":"Editar cita","editAppointments":"Editar cita","emptyStateText":"No hay {displayText} para mostrar","encounters":"Encuentros","encounterType":"Tipo de encuentro","endTime":"Hora de finalización","errorMessage":"Error al cancelar la cita","filter":"Filtrar","gender":"Género","highestServiceVolume":"Servicio de alto volumen: {time}","home":"Inicio","honored":"Honrado","identifier":"Identificador","launchFormUpForm":"Seguimiento","list":"Lista","location":"Ubicación","medications":"Medicamentos","missed":"Perdida","missingVisitType":"Tipo de visita faltante","monthly":"Mensual","name":"Nombre","next":"Siguiente","no":"No","noAppointmentsScheduledForTodayToDisplay":"No hay citas programadas para hoy en esta ubicación","noAppointmentsToDisplay":"No hay citas para mostrar en esta ubicación","noEncountersFound":"No se encontraron encuentros","noMatchingVisitTypeFound":"","noPreviousVisitFound":"No se encontraron visitas anteriores","notArrived":"No ha llegado","notes":"Notas","or":"o","patientDetails":"Detalles del paciente","patientName":"Nombre del paciente","patients":"Pacientes","patientSearch":"Búsqueda de pacientes","phoneNumber":"Número de teléfono","prev":"Anterior","provider":"Proveedor","providers":"Proveedores","providersAvailableToday":"Proveedores disponibles: {time}","queueAddedSuccessfully":"","queueEntryError":"Error al agregar paciente a la cola","reasonForChanges":"Motivo de los cambios","rescheduled":"Reprogramada","revertingAppointmentStatus":"Revirtiendo el estado de la cita","save":"Guardar","scheduled":"Programada","scheduledAppointments":"Citas programadas","search":"Buscar","searchForAVisitType":"Buscar un tipo de visita","seeAllAppointments":"Ver todas las citas","selectAppointmentStatus":"Seleccionar estado","selectAppointmentType":"Seleccionar tipo de cita","selectFacility":"Seleccionar instalación","selectLocation":"Seleccionar ubicación","selectOption":"Seleccionar una opción","selectProvider":"Seleccionar proveedor","selectService":"Seleccionar servicio","selectServiceType":"Seleccionar tipo de servicio","selectVisitType":"Por favor, seleccione un tipo de visita","service":"Servicio","serviceName":"Nombre del servicio","serviceType":"Tipo de servicio","serviceWorkloadTitle":"","startTime":"Hora de inicio","startVisitError":"Error al iniciar la visita","time":"Tiempo","todaysAppointments":"Citas de hoy","total":"Total","typeInComments":"Escriba un comentario sobre la cita","undo":"Deshacer","unscheduled":"No programada","unscheduledAppointments":"Citas no programadas","unscheduledAppointments_lower":"citas no programadas","upcoming":"Próximas","view":"Ver","viewCalendar":"Ver calendario","visitLocation":"Ubicación de la visita","visitStarted":"Visita iniciada","visitType":"Tipo de visita","vitals":"Signos vitales","weekly":"Semanal","yes":"Sí"}')}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[319],{8319:e=>{e.exports=JSON.parse('{"actions":"Acciones","add":"Agregar","addNewAppointment":"Agregar nueva cita","addNewClinicDay":"Agregar nuevo día de clínica","addPatientToQueue":"Agregar paciente a la cola","age":"Edad","all":"Todo","appointmentCancelError":"Error al cancelar la cita","appointmentCancelled":"Cita cancelada","appointmentCheckedIn":"Cita registrada","appointmentCheckInError":"Error al registrar la cita","appointmentColor":"Color de la cita","appointmentDateAndTime":"Fecha y hora de las citas","appointmentForm":"Formulario de citas","appointmentFormError":"Error al programar la cita","appointmentHistory":"Historial de citas","appointmentMarkedAsMissed":"Se ha marcado correctamente como Perdida","appointmentMetrics":"Métricas de citas","appointmentMetricsLoadError":"","appointmentMissed":"Cita perdida","appointmentMissedError":"Error al marcar la cita como perdida","appointmentNotes":"Notas de cita","appointmentNowVisible":"Ahora es visible en la página de Citas","appointments":"Citas","appointmentsCalendar":"Calendario de Citas","appointmentScheduled":"Cita programada","appointmentService":"Servicio de citas","appointmentServiceCreate":"Servicio de citas creado exitosamente","appointmentServiceName":"Nombre del servicio de citas","appointmentSuccessfullyCheckedIn":"Se ha registrado correctamente","back":"Atrás","calendar":"Calendario","cameEarly":"Llegó temprano","cancel":"Cancelar","cancelAppointment":"Cancelar cita","cancelled":"Cancelada","checkedIn":"Checked in","checkedOut":"Completada","checkFilters":"Compruebe los filtros anteriores","checkIn":"Registrar","checkInAppointment":"¿Está seguro de que desea marcar la cita como registrada?","checkinTime":"Hora de registro","checkOut":"Finalizar","chooseProvider":"Seleccionar proveedor","chooseService":"Seleccionar servicio","comment":"Comentario","complete":"Completar","completed":"Completado","count":"Conteo","createAppointment":"Crear cita","createAppointmentService":"Crear servicios de citas","createNewAppointment":"Crear nueva cita","daily":"Diario","date":"Fecha","dateAndTimeOfVisit":"Fecha y hora de la visita","dateTime":"Fecha y hora","discard":"Descartar","dob":"Fecha de nacimiento","download":"Descargar","durationMins":"Duración (min)","editAppointment":"Editar cita","editAppointments":"Editar cita","emptyStateText":"No hay {displayText} para mostrar","encounters":"Encuentros","encounterType":"Tipo de encuentro","endTime":"Hora de finalización","errorMessage":"Error al cancelar la cita","filter":"Filtrar","gender":"Género","highestServiceVolume":"Servicio de alto volumen: {time}","home":"Inicio","honored":"Honrado","identifier":"Identificador","launchFormUpForm":"Seguimiento","list":"Lista","location":"Ubicación","medications":"Medicamentos","missed":"Perdida","missingVisitType":"Tipo de visita faltante","monthly":"Mensual","name":"Nombre","next":"Siguiente","no":"No","noAppointmentsScheduledForTodayToDisplay":"No hay citas programadas para hoy en esta ubicación","noAppointmentsToDisplay":"No hay citas para mostrar en esta ubicación","noEncountersFound":"No se encontraron encuentros","noMatchingVisitTypeFound":"","noPreviousVisitFound":"No se encontraron visitas anteriores","notArrived":"No ha llegado","notes":"Notas","or":"o","patientDetails":"Detalles del paciente","patientName":"Nombre del paciente","patients":"Pacientes","patientSearch":"Búsqueda de pacientes","phoneNumber":"Número de teléfono","prev":"Anterior","provider":"Proveedor","providers":"Proveedores","providersAvailableToday":"Proveedores disponibles: {time}","queueAddedSuccessfully":"","queueEntryError":"Error al agregar paciente a la cola","reasonForChanges":"Motivo de los cambios","rescheduled":"Reprogramada","revertingAppointmentStatus":"Revirtiendo el estado de la cita","save":"Guardar","scheduled":"Programada","scheduledAppointments":"Citas programadas","search":"Buscar","searchForAVisitType":"Buscar un tipo de visita","seeAllAppointments":"Ver todas las citas","selectAppointmentLocation":"Seleccionar ubicación de la cita","selectAppointmentStatus":"Seleccionar estado","selectAppointmentType":"Seleccionar tipo de cita","selectFacility":"Seleccionar instalación","selectLocation":"Seleccionar ubicación","selectOption":"Seleccionar una opción","selectProvider":"Seleccionar proveedor","selectService":"Seleccionar servicio","selectServiceType":"Seleccionar tipo de servicio","selectVisitType":"Por favor, seleccione un tipo de visita","service":"Servicio","serviceName":"Nombre del servicio","serviceType":"Tipo de servicio","serviceWorkloadTitle":"","startTime":"Hora de inicio","startVisitError":"Error al iniciar la visita","time":"Tiempo","todaysAppointments":"Citas de hoy","total":"Total","typeInComments":"Escriba un comentario sobre la cita","undo":"Deshacer","unscheduled":"No programada","unscheduledAppointments":"Citas no programadas","unscheduledAppointments_lower":"citas no programadas","upcoming":"Próximas","view":"Ver","viewCalendar":"Ver calendario","visitLocation":"Ubicación de la visita","visitStarted":"Visita iniciada","visitType":"Tipo de visita","vitals":"Signos vitales","weekly":"Semanal","yes":"Sí"}')}}]);
|
package/dist/328.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[328],{8447:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(272),a=n.n(r),o=n(2609),i=n.n(o)()(a());i.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-appointments__appointments-form__productiveHeading01___f1B6i{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-appointments__appointments-form__productiveHeading02___FKWGW{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-appointments__appointments-form__productiveHeading03___wY7wA{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0)}.-esm-appointments__appointments-form__productiveHeading04___Uffg7{font-size:var(--cds-heading-04-font-size, 1.75rem);font-weight:var(--cds-heading-04-font-weight, 400);line-height:var(--cds-heading-04-line-height, 1.28572);letter-spacing:var(--cds-heading-04-letter-spacing, 0)}.-esm-appointments__appointments-form__bodyLong01___yGB1p{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-appointments__appointments-form__bodyShort01___AC_3i{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}.-esm-appointments__appointments-form__bodyShort02___Wlr7j{font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0)}.-esm-appointments__appointments-form__text02___RN5sR{color:#525252}.-esm-appointments__appointments-form__label01___zwrTc{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px)}.-esm-appointments__appointments-form__modal___dByeC{position:fixed;width:100vw;height:100vh;display:grid;background-color:rgba(0,0,0,.5);z-index:9000;justify-items:center;align-items:center}.-esm-appointments__appointments-form__formContainer___eFj89{margin:0 1rem}.-esm-appointments__appointments-form__stickyFormHeader___Knd9z{position:sticky;top:3rem;z-index:10}.-esm-appointments__appointments-form__row___kkp8W{display:flex;margin:.5rem}.-esm-appointments__appointments-form__select___AeArq{width:90%;margin-right:60%}.-esm-appointments__appointments-form__inputContainer___oAhyS{margin:1rem 0}.-esm-appointments__appointments-form__button___kM_VU{height:4rem;display:flex;align-content:flex-start;align-items:baseline;min-width:50%}.-esm-appointments__appointments-form__timePickerInput___giOkD{width:8rem}.-esm-appointments__appointments-form__datePickerInput___k31Uy{padding-bottom:1rem;margin-left:12.5rem}.-esm-appointments__appointments-form__workLoadCard___lsrdX{display:flex;margin:0 1rem;color:#525252}.-esm-appointments__appointments-form__monthlyWorkLoadCard___lT79I{color:#525252;display:flex;flex-wrap:wrap}.-esm-appointments__appointments-form__workLoadContainer___JZFqB{display:flex;flex-direction:column;background-color:#fff;padding-bottom:1rem}.-esm-appointments__appointments-form__workLoadTitle___MNLtt{padding-top:1rem;color:#525252;margin:0 1rem 1rem 1rem;font-size:var(--cds-legal-01-font-size, 0.75rem);font-weight:var(--cds-legal-01-font-weight, 400);line-height:var(--cds-legal-01-line-height, 1.33333);letter-spacing:var(--cds-legal-01-letter-spacing, 0.32px);font-weight:400}.-esm-appointments__appointments-form__input___wxHSE{width:13.5rem}.-esm-appointments__appointments-form__hide___ypOyp{display:none}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./src/appointments/forms/create-edit-form/appointments-form.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCnDF,mECs0BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CDl0BJ,mECk0BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CD9zBJ,mEC8zBI,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CD1zBJ,mEC0zBI,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CAAA,sDAAA,CDtzBJ,0DCszBI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CDlzBJ,2DCkzBI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CD9yBJ,2DC8yBI,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CD1yBJ,sDACE,aD5BQ,CC+BV,uDCsyBI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CDlyBJ,qDACE,cAAA,CACA,WAAA,CACA,YAAA,CACA,YAAA,CACA,+BAAA,CACA,YAAA,CACA,oBAAA,CACA,kBAAA,CE5CF,6DACE,aAAA,CAGF,gEACE,eAAA,CACA,QCyCW,CDxCX,UAAA,CAGF,mDACE,YAAA,CACA,YCKW,CDFb,sDACE,SAAA,CACA,gBAAA,CAGF,8DACE,aAAA,CAGF,sDACE,WAAA,CACA,YAAA,CACA,wBAAA,CACA,oBAAA,CACA,aAAA,CAGF,+DACE,UAAA,CAGF,+DACE,mBAAA,CACA,mBAAA,CAGF,4DACE,YAAA,CACA,aAAA,CACA,aAAA,CAEF,mEACE,aAAA,CACA,YAAA,CACA,cAAA,CAEF,iEACE,YAAA,CACA,qBAAA,CACA,qBAAA,CACA,mBAAA,CAGF,6DACE,gBChCW,CDiCX,aAAA,CACA,uBAAA,CDywBE,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CCvwBF,eAAA,CAEF,qDACE,aAAA,CAGF,oDACE,YAAA",sourceRoot:""}]),i.locals={productiveHeading01:"-esm-appointments__appointments-form__productiveHeading01___f1B6i",productiveHeading02:"-esm-appointments__appointments-form__productiveHeading02___FKWGW",productiveHeading03:"-esm-appointments__appointments-form__productiveHeading03___wY7wA",productiveHeading04:"-esm-appointments__appointments-form__productiveHeading04___Uffg7",bodyLong01:"-esm-appointments__appointments-form__bodyLong01___yGB1p",bodyShort01:"-esm-appointments__appointments-form__bodyShort01___AC_3i",bodyShort02:"-esm-appointments__appointments-form__bodyShort02___Wlr7j",text02:"-esm-appointments__appointments-form__text02___RN5sR",label01:"-esm-appointments__appointments-form__label01___zwrTc",modal:"-esm-appointments__appointments-form__modal___dByeC",formContainer:"-esm-appointments__appointments-form__formContainer___eFj89",stickyFormHeader:"-esm-appointments__appointments-form__stickyFormHeader___Knd9z",row:"-esm-appointments__appointments-form__row___kkp8W",select:"-esm-appointments__appointments-form__select___AeArq",inputContainer:"-esm-appointments__appointments-form__inputContainer___oAhyS",button:"-esm-appointments__appointments-form__button___kM_VU",timePickerInput:"-esm-appointments__appointments-form__timePickerInput___giOkD",datePickerInput:"-esm-appointments__appointments-form__datePickerInput___k31Uy",workLoadCard:"-esm-appointments__appointments-form__workLoadCard___lsrdX",monthlyWorkLoadCard:"-esm-appointments__appointments-form__monthlyWorkLoadCard___lT79I",workLoadContainer:"-esm-appointments__appointments-form__workLoadContainer___JZFqB",workLoadTitle:"-esm-appointments__appointments-form__workLoadTitle___MNLtt",input:"-esm-appointments__appointments-form__input___wxHSE",hide:"-esm-appointments__appointments-form__hide___ypOyp"};const s=i},3860:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(272),a=n.n(r),o=n(2609),i=n.n(o)()(a());i.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{padding:0;border:0;margin:0;font:inherit;font-size:100%;vertical-align:baseline}button,select,input,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote::before,blockquote::after,q::before,q::after{content:\"\"}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{font-weight:400;font-family:'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}code{font-family:'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace}strong{font-weight:600}@media screen and (-ms-high-contrast: active){svg{fill:ButtonText}}h1{font-size:2.625rem;font-weight:300;line-height:1.199;letter-spacing:0}h2{font-size:2rem;font-weight:400;line-height:1.25;letter-spacing:0}h3{font-size:1.75rem;font-weight:400;line-height:1.28572;letter-spacing:0}h4{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0}h5{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0}h6{font-size:.875rem;font-weight:600;line-height:1.28572;letter-spacing:.16px}p{font-size:1rem;font-weight:400;line-height:1.5;letter-spacing:0}a{color:#0f62fe}em{font-style:italic}@keyframes -esm-appointments__workload__skeleton___jhMhJ{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}100%{opacity:.3;transform:scaleX(0);transform-origin:left}}.-esm-appointments__workload__cardContainer___nHXRE{background-color:#fff;display:flex;height:6rem}.-esm-appointments__workload__tileContainer___bhF3C{padding:.5rem;flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;border:1px solid #a6c8ff}.-esm-appointments__workload__tileContainer___bhF3C:first-child{border-left-width:1px}.-esm-appointments__workload__tileContainer___bhF3C label{color:#525252}.-esm-appointments__workload__tileHeader___dHBCb{display:flex;justify-content:space-between;padding-bottom:1rem}.-esm-appointments__workload__headerLabel___PU12A{font-size:.875rem;font-weight:600;line-height:1.28572;letter-spacing:.16px;color:#525252}.-esm-appointments__workload__totalsLabel___DdXz0{font-size:.75rem;font-weight:400;line-height:1.33333;letter-spacing:.32px;color:#525252}.-esm-appointments__workload__totalsValue___J6rVn{font-size:1.75rem;font-weight:400;line-height:1.28572;letter-spacing:0;color:#161616}.-esm-appointments__workload__headerLabelContainer___vO88j{display:flex;align-items:center;height:2rem}.-esm-appointments__workload__link___sGRk_{text-decoration:none}.-esm-appointments__workload__activeWorkloadCard___uttch{background-color:#edf5ff}.-esm-appointments__workload__activeWorkloadCard___uttch label{color:#0f62fe}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./../../node_modules/carbon-components/src/globals/scss/_css--reset.scss","webpack://./../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss","webpack://./../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_font-family.scss","webpack://./../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/icons/mixins.scss","webpack://./../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.import.scss","webpack://./../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss","webpack://./src/appointments/forms/workload.scss","webpack://./../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/themes/generated/_mixins.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/colors/index.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA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CACA,sBAAA,CAGF,IACE,mBAAA,CACA,sBAAA,CAGF,IACE,mBAAA,CACA,sBAAA,CAGF,IACE,mBAAA,CACA,qBAAA,CAGF,IACE,mBAAA,CACA,qBAAA,CAGF,KACE,UAAA,CACA,mBAAA,CACA,qBAAA,CAAA,CCnPN,oDACE,qBCuCQ,CDtCR,YAAA,CACA,WEyDW,CFtDb,oDACE,aAAA,CACA,MAAA,CACA,YAAA,CACA,kBAAA,CACA,sBAAA,CACA,qBAAA,CACA,cAAA,CACA,wBAAA,CAEA,gEACE,qBAAA,CAGF,0DACE,aGqBM,CHjBV,iDACE,YAAA,CACA,6BAAA,CACA,mBEHW,CFMb,kDF2hBI,iBA0LsB,CA1LtB,eA0LsB,CA1LtB,mBA0LsB,CA1LtB,oBA0LsB,CEntBxB,aCYU,CDTZ,kDFshBI,gBA0LsB,CA1LtB,eA0LsB,CA1LtB,mBA0LsB,CA1LtB,oBA0LsB,CE9sBxB,aCOU,CDJZ,kDFihBI,iBA0LsB,CA1LtB,eA0LsB,CA1LtB,mBA0LsB,CA1LtB,gBA0LsB,CEzsBxB,aAAA,CAGF,2DACE,YAAA,CACA,kBAAA,CACA,WC0Ma,CDvMf,2CACE,oBAAA,CAGF,yDACE,wBGnDQ,CHqDR,+DACE,aGjDM",sourceRoot:""}]),i.locals={cardContainer:"-esm-appointments__workload__cardContainer___nHXRE",tileContainer:"-esm-appointments__workload__tileContainer___bhF3C",tileHeader:"-esm-appointments__workload__tileHeader___dHBCb",headerLabel:"-esm-appointments__workload__headerLabel___PU12A",totalsLabel:"-esm-appointments__workload__totalsLabel___DdXz0",totalsValue:"-esm-appointments__workload__totalsValue___J6rVn",headerLabelContainer:"-esm-appointments__workload__headerLabelContainer___vO88j",link:"-esm-appointments__workload__link___sGRk_",activeWorkloadCard:"-esm-appointments__workload__activeWorkloadCard___uttch",skeleton:"-esm-appointments__workload__skeleton___jhMhJ"};const s=i},3244:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(272),a=n.n(r),o=n(2609),i=n.n(o)()(a());i.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-appointments__patient-search__padded___UUzTu{padding:1rem}[data-extension-id=patient-search-bar]>div{width:100%}[data-extension-id=patient-search-bar]>div input{background-color:#fff;border-bottom:none;min-height:3rem}[data-extension-id=patient-search-bar]>div button{height:3rem}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/patient-search/patient-search.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCnDF,mDACE,YC0BW,CDtBX,2CACE,UAAA,CAEA,iDACE,qBDZE,CCaF,kBAAA,CACA,eCoCO,CDjCT,kDACE,WCgCO",sourceRoot:""}]),i.locals={padded:"-esm-appointments__patient-search__padded___UUzTu"};const s=i},7202:(e,t,n)=>{n.d(t,{Z:()=>q});var r=n(268),a=n.n(r),o=n(4924),i=n(8879),s=n.n(i),l=n(3504),c=n(2870),m=n(12),A=n(1354),u=n.n(A),d=n(1583),p=n.n(d),f=n(7378),_=n.n(f),v=n(5993),C=n.n(v),h=n(4154),g=n.n(h),b=n(8141),y=n.n(b),B=n(8447),w={};w.styleTagTransform=y(),w.setAttributes=C(),w.insert=_().bind(null,"head"),w.domAPI=p(),w.insertStyleElement=g(),u()(B.Z,w);const D=B.Z&&B.Z.locals?B.Z.locals:void 0;var E=n(3255),k=n(1027),F=n(1723),x=n(4546);function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var S=function(e,t,n){var r,a=(0,x.EN)(new Date(n),e),o=null!==(r=function(e,t){for(var n=new Map([]),r=0;r<=35;r++)n.set(s()(e).add(r,"day").format("YYYY-MM-DD"),0);return t.map((function(e){var t=e.date,r=e.count;n.has(t)&&n.set(t,r)})),Array.from(n).flatMap((function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e,2);return{date:t[0],count:t[1]}}))}(new Date(n),a))&&void 0!==r?r:[];return"month"===t?o:o.slice(0,7)},T=n(3860),I={};I.styleTagTransform=y(),I.setAttributes=C(),I.insert=_().bind(null,"head"),I.domAPI=p(),I.insertStyleElement=g(),u()(T.Z,I);const M=T.Z&&T.Z.locals?T.Z.locals:void 0,O=function(e){var t=e.date,n=e.count,r=e.isActive,i=e.onClick;return(0,o.useTranslation)().t,a().createElement("div",{tabIndex:0,role:"button",onClick:i,className:"".concat(M.tileContainer," ").concat(r&&M.activeWorkloadCard)},a().createElement("div",{className:M.tileHeader},a().createElement("label",{className:M.headerLabel},t)),a().createElement("div",null,a().createElement("label",{className:M.totalsLabel},n)))};var U=n(6196);const G=function(e){var t=e.selectedLocation,n=e.defaultFacility,r=e.locations,i=(0,o.useTranslation)().t;return t?n&&0!==Object.keys(n).length?a().createElement(l.QlF,{key:null==n?void 0:n.uuid,text:null==n?void 0:n.display,value:null==n?void 0:n.uuid},null==n?void 0:n.display):r&&r.length>0?a().createElement(a().Fragment,null,r.map((function(e){return a().createElement(l.QlF,{key:e.uuid,text:e.display,value:e.uuid},e.display)}))):null:a().createElement(l.QlF,{text:i("selectOption","Select an option"),value:""})};function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){z(e,t,n[t])}))}return e}function Y(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const q=function(e){var t,n=e.appointment,i=e.patientUuid,A=e.context,u=(0,o.useTranslation)().t,d=(0,c.useConfig)(),p=d.appointmentTypes,f=d.appointmentStatuses,_=d.hiddenFormFields,v=function(e,t){var n,r,a,o,i,l,m,A,u,d,p,f,_,v,C=(0,c.useSession)();return{appointmentKind:null!==(i=null==e?void 0:e.appointmentKind)&&void 0!==i?i:"Scheduled",status:null!==(l=null==e?void 0:e.status)&&void 0!==l?l:"Scheduled",serviceUuid:null!==(m=null==e?void 0:e.serviceUuid)&&void 0!==m?m:"",startDateTime:s()(new Date).format("hh:mm"),endDateTime:s()(new Date).format("hh:mm"),providers:null!==(A=null==e?void 0:e.providers)&&void 0!==A?A:[],providerUuid:null!==(u=null==e||null===(n=e.providers)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.uuid)&&void 0!==u?u:null==C||null===(a=C.currentProvider)||void 0===a?void 0:a.uuid,comments:null!==(d=null==e?void 0:e.comments)&&void 0!==d?d:"",locationUuid:null!==(p=null==e?void 0:e.location)&&void 0!==p?p:null==C||null===(o=C.sessionLocation)||void 0===o?void 0:o.uuid,frequency:"",uuid:null!==(f=null==e?void 0:e.id)&&void 0!==f?f:"",appointmentNumber:null!==(_=null==e?void 0:e.appointmentNumber)&&void 0!==_?_:"",patientUuid:null!==(v=null==e?void 0:e.patientUuid)&&void 0!==v?v:t,visitDate:(null==e?void 0:e.dateTime)?new Date(e.dateTime):new Date,timeFormat:(new Date).getHours()>=12?"PM":"AM",isFullDay:!0,day:null==e?void 0:e.dateTime}}(n,i),C=H((0,r.useState)(v),2),h=C[0],g=C[1],b=(0,c.usePatient)(null!=i?i:h.patientUuid),y=b.patient,B=b.isLoading,w=(0,c.useLocations)(),L=(0,c.useSession)(),T=(0,x.ko)().providers,I=(0,x.Su)().services,M=H((0,r.useState)(!1),2),j=M[0],z=M[1],q=(0,x.EN)(h.visitDate,h.serviceUuid),W=H((0,r.useState)(0),2),K=W[0],Z=W[1],J=S(h.serviceUuid,0===K?"week":"month",h.visitDate),Q=(0,k.zF)().currentAppointmentDate,R=H((0,r.useState)(""),2),X=R[0],V=R[1],$=(0,U.P)(),ee=$.defaultFacility,te=$.isLoading,ne=null==I?void 0:I.find((function(e){return e.uuid===h.serviceUuid})),re=s()().startOf("day").toDate();(0,r.useEffect)((function(){var e;(null==w?void 0:w.length)&&L?V(null==L||null===(e=L.sessionLocation)||void 0===e?void 0:e.uuid):!te&&ee&&V(null==ee?void 0:ee.uuid)}),[w,L,te]);var ae,oe,ie,se=(ae=function(){var e,t,n,r,a,o,i,l,m;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,r=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(6===o[0]&&i.label<a[1]){i.label=a[1],a=o;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(o);break}a[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],r=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(this,(function(A){return e=H((0,k.A8)(h.startDateTime,h.timeFormat),2),t=e[0],n=e[1],r=H((0,k.A8)(h.endDateTime,h.timeFormat),2),a=r[0],o=r[1],i=(0,x.iW)(h.visitDate,t,n),l=(0,x.iW)(h.visitDate,a,o),m={appointmentKind:h.appointmentKind,status:h.status,serviceUuid:h.serviceUuid,startDateTime:s()(i).format(),endDateTime:s()(l).format(),providerUuid:h.providerUuid,providers:[{uuid:h.providerUuid}],comments:h.comments,locationUuid:h.locationUuid,patientUuid:h.patientUuid,appointmentNumber:h.appointmentNumber,uuid:h.uuid},new AbortController,z(!0),(0,x.GB)(m).then((function(e){200===e.status&&((0,c.showToast)({critical:!0,kind:"success",description:u("appointmentNowVisible","It is now visible on the Appointments page"),title:u("appointmentScheduled","Appointment scheduled")}),z(!1),(0,E.JG)("/ws/rest/v1/appointment/appointmentStatus?forDate=".concat(Q,"&status=Scheduled")),(0,E.JG)("/ws/rest/v1/appointment/appointmentStatus?forDate=".concat(Q,"&status=CheckedIn")),(0,E.JG)("/ws/rest/v1/appointment/all?forDate=".concat(Q)),(0,E.JG)("/ws/rest/v1/appointment/appointmentStatus?status=Scheduled&forDate=".concat(Q)),(0,E.JG)("/ws/rest/v1/appointment/appointmentStatus?status=Pending&forDate=".concat(Q)),(0,F.Km)())}),(function(e){(0,c.showNotification)({title:u("appointmentFormError","Error scheduling appointment"),kind:"error",critical:!0,description:null==e?void 0:e.message}),z(!1)})),[2]}))},oe=function(){var e=this,t=arguments;return new Promise((function(n,r){var a=ae.apply(e,t);function o(e){P(a,n,r,o,i,"next",e)}function i(e){P(a,n,r,o,i,"throw",e)}o(void 0)}))},function(){return oe.apply(this,arguments)});return a().createElement("div",{className:D.formContainer},B?a().createElement(l.N2B,null):a().createElement("div",{className:D.stickyFormHeader},a().createElement(c.ExtensionSlot,{name:"patient-header-slot",state:{patient:y,patientUuid:h.patientUuid}})),a().createElement(l.PhF,{labelText:u("selectLocation","Select a location"),id:"location",invalidText:"Required",value:X,defaultSelected:X,onChange:function(e){return V(e.target.value)}},a().createElement(G,{selectedLocation:X,defaultFacility:ee,locations:w})),a().createElement(l.PhF,{id:"service",invalidText:"Required",labelText:u("selectService","Select a service"),className:D.inputContainer,onChange:function(e){return g(Y(N({},h),{serviceUuid:e.target.value}))},value:h.serviceUuid},h.serviceUuid&&"--"!=h.serviceUuid?null:a().createElement(l.QlF,{text:u("chooseService","Select service"),value:""}),(null==I?void 0:I.length)>0&&I.map((function(e){return a().createElement(l.QlF,{key:e.uuid,text:e.name,value:e.uuid},e.name)}))),a().createElement("p",null,u("appointmentDateAndTime","Appointments Date and Time")),a().createElement("div",{className:D.row},a().createElement(l.ZDl,{onToggle:function(e){return g(Y(N({},h),{isFullDay:e}))},id:"allDay",labelA:"Off",labelB:"On",labelText:"All Day",defaultToggled:h.isFullDay}),a().createElement(l.Mtg,{dateFormat:"d/m/Y",datePickerType:"single",id:"visitDate",minDate:re,className:D.datePickerInput,onChange:function(e){var t=H(e,1)[0];return g(Y(N({},h),{visitDate:t}))},value:h.visitDate},a().createElement(l.aj6,{id:"visitStartDateInput",labelText:u("date","Date"),placeholder:"dd/mm/yyyy",style:{width:"100%"}}))),h.isFullDay?null:a().createElement("div",{className:D.row},a().createElement(l.jII,{className:D.timePickerInput,pattern:"([\\d]+:[\\d]{2})",onChange:function(e){return g(Y(N({},h),{startDateTime:e.target.value}))},value:h.startDateTime,labelText:u("startTime","Start Time"),id:"start-time-picker"},a().createElement(l.M6n,{id:"start-time-picker",onChange:function(e){return g(Y(N({},h),{timeFormat:e.target.value}))},value:h.timeFormat,labelText:u("time","Time"),"aria-label":u("time","Time")},a().createElement(l.QlF,{value:"AM",text:"AM"}),a().createElement(l.QlF,{value:"PM",text:"PM"}))),a().createElement(l.jII,{className:D.timePickerInput,pattern:"([\\d]+:[\\d]{2})",onChange:function(e){return g(Y(N({},h),{endDateTime:e.target.value}))},value:h.endDateTime,labelText:u("endTime","End Time"),id:"end-time-picker"},a().createElement(l.M6n,{id:"end-time-picker",onChange:function(e){return g(Y(N({},h),{timeFormat:e.target.value}))},value:h.timeFormat,labelText:u("time","Time"),"aria-label":u("time","Time")},a().createElement(l.QlF,{value:"AM",text:"AM"}),a().createElement(l.QlF,{value:"PM",text:"PM"})))),h.serviceUuid&&a().createElement("div",{className:D.workLoadContainer},a().createElement(a().Fragment,null,a().createElement("p",{className:D.workLoadTitle},u("serviceWorkloadTitle","".concat(null==ne?void 0:ne.name," clinic work load on the week of ").concat(s()(null!==(ie=null===(t=(0,m.Z)(q))||void 0===t?void 0:t.date)&&void 0!==ie?ie:new Date).format("DD/MM")))),a().createElement(l.mQc,{selectedIndex:K,onChange:function(e){var t=e.selectedIndex;return Z(t)},className:D.tabs},a().createElement(l.tdY,{style:{paddingLeft:"1rem"}},a().createElement(l.OK9,null,u("weekly","WeeKly")),a().createElement(l.OK9,null,u("monthly","Monthly"))),a().createElement(l.nPR,null,a().createElement(l.x45,{style:{padding:0}},a().createElement("div",{className:D.workLoadCard},null==J?void 0:J.map((function(e,t){var n=e.date,r=e.count;return a().createElement(O,{onClick:function(){return g(Y(N({},h),{visitDate:new Date(n)}))},key:"".concat(n,"-").concat(t),date:s()(n).format("DD/MM"),count:r,isActive:s()(n).format("DD-MM-YYYY")===s()(h.visitDate).format("DD-MM-YYYY")})})))),a().createElement(l.x45,{style:{padding:0}},a().createElement("div",{className:D.monthlyWorkLoadCard},null==J?void 0:J.map((function(e){var t=e.date,n=e.count;return a().createElement(O,{onClick:function(){return g(Y(N({},h),{visitDate:new Date(t)}))},key:t,date:s()(t).format("DD/MM"),count:n,isActive:s()(t).format("DD-MM-YYYY")===s()(h.visitDate).format("DD-MM-YYYY")})})))))))),a().createElement(l.PhF,{id:"appointmentType",invalidText:"Required",labelText:u("selectAppointmentType","Select an appointment type"),className:D.inputContainer,onChange:function(e){return g(Y(N({},h),{appointmentKind:e.target.value}))},value:h.appointmentKind},h.appointmentKind&&"--"!=h.appointmentKind?null:a().createElement(l.QlF,{text:u("selectAppointmentType","Select an appointment type"),value:""}),(null==p?void 0:p.length)>0&&p.map((function(e){return a().createElement(l.QlF,{key:e,text:e,value:e},e)}))),"creating"!==A&&a().createElement(l.PhF,{id:"appointmentStatus",invalidText:"Required",labelText:u("selectAppointmentStatus","Select status"),className:D.inputContainer,onChange:function(e){return g(Y(N({},h),{status:e.target.value}))},value:h.status},h.status&&"--"!=h.status?null:a().createElement(l.QlF,{text:u("selectAppointmentStatus","Select status"),value:""}),(null==f?void 0:f.length)>0&&f.map((function(e){return a().createElement(l.QlF,{key:e,text:e,value:e},e)}))),a().createElement(l.PhF,{id:"providers",invalidText:"Required",labelText:u("selectProvider","Select a provider"),className:"".concat(D.inputContainer," ").concat(_.includes("providers")&&D.hide),onChange:function(e){g(Y(N({},h),{providerUuid:e.target.value}))},value:h.providerUuid},h.providerUuid?null:a().createElement(l.QlF,{text:u("chooseProvider","Select Provider"),value:""}),(null==T?void 0:T.length)>0&&T.map((function(e){return a().createElement(l.QlF,{key:e.uuid,text:e.display,value:e.uuid},e.display)}))),a().createElement(l.mh4,{style:{margin:"0.25rem 0"}},a().createElement(l.Kx8,{cols:50,id:"comment",invalidText:"A valid value is required",labelText:u("comment","Comment"),placeholder:u("typeInComments","Type in appointment comment"),rows:4,value:h.comments,onChange:function(e){return g(Y(N({},h),{comments:e.target.value}))}})),a().createElement(l.uVA,null,a().createElement(l.zxk,{onClick:F.Km,className:D.button,kind:"secondary"},u("discard","Discard")),a().createElement(l.zxk,{onClick:se,className:D.button,disabled:j||!h.serviceUuid,kind:"primary",type:"submit"},u("save","Save"))))}},4546:(e,t,n)=>{n.d(t,{EN:()=>C,GB:()=>f,Su:()=>d,iW:()=>h,ko:()=>p,v1:()=>v});var r=n(3255),a=n(2870),o=n(8879),i=n.n(o),s=n(8179),l=n(12);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){m(o,r,a,i,s,"next",e)}function s(e){m(o,r,a,i,s,"throw",e)}i(void 0)}))}}var u=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,r=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(6===o[0]&&i.label<a[1]){i.label=a[1],a=o;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(o);break}a[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],r=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};function d(){var e=(0,r.ZP)("/ws/rest/v1/appointmentService/all/default",a.openmrsFetch),t=e.data,n=e.error,o=e.isLoading,i=e.isValidating;return{services:t?t.data:[],isLoading:o,isError:n,isValidating:i}}function p(){var e=(0,r.ZP)("/ws/rest/v1/provider",a.openmrsFetch),t=e.data,n=e.error,o=e.isLoading;return{providers:t?t.data.results:null,isError:n,isLoading:o}}function f(e){var t=new AbortController;return(0,a.openmrsFetch)("/ws/rest/v1/appointment",{method:"POST",signal:t.signal,headers:{"Content-Type":"application/json"},body:e})}var _,v=(_=A((function(e,t){var n,r,o,l;return u(this,(function(c){switch(c.label){case 0:return n=new AbortController,r=Intl.DateTimeFormat().resolvedOptions().timeZone,o=i()(new Date).format(s.J$),l="/ws/rest/v1/appointments/".concat(t,"/status-change"),[4,(0,a.openmrsFetch)(l,{body:{toStatus:e,onDate:o,timeZone:r},method:"POST",headers:{"Content-Type":"application/json"},signal:n.signal})];case 1:return[2,c.sent()]}}))})),function(e,t){return _.apply(this,arguments)}),C=function(e,t){var n=i()(e).startOf("week").format(s.J$),o=i()(n).add(2,"week").format(s.J$),m="/ws/rest/v1/appointment/appointmentSummary?startDate=".concat(n,"&endDate=").concat(o),A=(0,r.ZP)(m,a.openmrsFetch),u=A.data,d=(A.error,(0,l.Z)(null==u?void 0:u.data.filter((function(e){return e.appointmentService.uuid===t})))),p=null==d?void 0:d.appointmentCountMap;return Object.entries(null!=p?p:[]).map((function(e){var t,n,r=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(t,n)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());return{date:r[0],count:r[1].allAppointmentsCount}})).sort((function(e,t){return new Date(e.date).getTime()-new Date(t.date).getTime()}))},h=(A((function(e){return u(this,(function(t){switch(t.label){case 0:return[4,(0,a.openmrsFetch)("/ws/rest/v1/appointments/conflicts",{method:"POST",body:{patientUuid:e.patientUuid,serviceUuid:e.serviceUuid,startDateTime:e.startDateTime,endDateTime:e.endDateTime,providers:[],locationUuid:e.locationUuid,appointmentKind:e.appointmentKind},headers:{"Content-Type":"application/json"}})];case 1:return[2,t.sent()]}}))})),function(e,t,n){return i()(new Date(i()(e).year(),i()(e).month(),i()(e).date(),t,n))})},5326:(e,t,n)=>{n.d(t,{Ey:()=>u,Gd:()=>v,IF:()=>f,Nz:()=>C,aN:()=>p,bf:()=>s,c1:()=>_,df:()=>A,g9:()=>l,vN:()=>c,xj:()=>d});var r=n(2870),a=n(8879),o=n.n(a);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=null==t?void 0:t.map((function(e){var t=e.countMap;return{serviceName:e.serviceName,count:t.reduce((function(e,t){return e+t.allAppointmentsCount}),0)}}));return n.find((function(t){return t.count===(e=Math).max.apply(e,function(e){if(Array.isArray(e))return i(e)}(r=n.map((function(e){return e.count})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var r}))},l=function(e){return e.flatMap((function(e){return{serviceName:e.appointmentService.name,countMap:Object.entries(e.appointmentCountMap).flatMap((function(e){return e[1]}))}}))},c=function(e,t){return e.map((function(e){return Object.entries(e.appointmentCountMap).flatMap((function(e){return e[1][t]}))})).flat(1).reduce((function(e,t){return e+t}),0)};function m(){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)-(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0);return Math.floor(e/6e4)+"min"}var A=function(e,t){var n,a,o,i,s,l,c,A,u,d,p,f,_,v,C,h,g;return{id:null==e?void 0:e.uuid,name:null===(n=e.patient)||void 0===n?void 0:n.name,age:null===(a=e.patient)||void 0===a?void 0:a.birthDate,gender:null===(o=e.patient)||void 0===o?void 0:o.gender,phoneNumber:null===(i=e.patient)||void 0===i?void 0:i.phoneNumber,dob:(0,r.formatDate)((0,r.parseDate)(null===(s=e.patient)||void 0===s?void 0:s.birthDate),{mode:"wide"}),patientUuid:null===(l=e.patient)||void 0===l?void 0:l.uuid,dateTime:(v=(0,r.parseDate)(e.startDateTime),C=v.getHours(),h=v.getMinutes(),g=C>=12?"PM":"AM",(C=(C%=12)||12)+":"+(h=h<10?"0"+h:h)+" "+g),serviceType:e.service?e.service.name:"--",serviceColor:(null===(c=e.service)||void 0===c?void 0:c.color)?e.service.color:"__",serviceUuid:e.service?e.service.uuid:null,appointmentKind:e.appointmentKind?e.appointmentKind:"--",status:e.status,provider:e.provider?null===(A=e.provider.person)||void 0===A?void 0:A.display:"--",location:e.location?e.location.name:"--",comments:e.comments?e.comments:"--",appointmentNumber:e.appointmentNumber,color:null!==(_=null==e||null===(u=e.service)||void 0===u?void 0:u.color)&&void 0!==_?_:"",identifier:null===(d=e.patient)||void 0===d?void 0:d.identifier,duration:(null===(p=e.service)||void 0===p?void 0:p.durationMins)?(null==e||null===(f=e.service)||void 0===f?void 0:f.durationMins)+t("minutes","min"):m(e.startDateTime,e.endDateTime),recurring:e.recurring}},u=function(e){var t,n,a,o,i,s,l,c;return{id:e.uuid,name:null===(t=e.patient)||void 0===t?void 0:t.name,age:null===(n=e.patient)||void 0===n?void 0:n.birthDate,gender:null===(a=e.patient)||void 0===a?void 0:a.gender,phoneNumber:null===(o=e.patient)||void 0===o?void 0:o.phoneNumber,dob:(0,r.formatDate)((0,r.parseDate)(null===(i=e.patient)||void 0===i?void 0:i.birthDate),{mode:"wide"}),patientUuid:null===(s=e.patient)||void 0===s?void 0:s.uuid,dateTime:e.startDateTime,serviceType:e.service?e.service.name:"--",serviceUuid:e.service?e.service.uuid:null,appointmentKind:e.appointmentKind?e.appointmentKind:"--",status:e.status,provider:e.providers?null===(l=null==e?void 0:e.providers[0])||void 0===l?void 0:l.name:"--",location:e.location?null===(c=e.location)||void 0===c?void 0:c.name:"--",comments:e.comments?e.comments:"--",appointmentNumber:e.appointmentNumber,providers:e.providers,identifier:e.patient.identifier}},d=function(e,t){return e.isSame(t,"month")},p=function(e){for(var t=o()(e).startOf("month"),n=o()(e).endOf("month"),r=o()(e).daysInMonth(),a=o()(e).subtract(1,"month"),i=o()(e).add(1,"month"),s=[],l=a.daysInMonth()-t.day();l<a.daysInMonth();l++)s.push(e.date(l).month(a.month()));for(var c=1;c<=r;c++)s.push(e.date(c));for(var m=s.length>30?7:14,A=1;A<m-n.day();A++)s.push(e.date(A).month(i.month()));return s},f=function(e,t){switch(e){case"M":return t("male","Male");case"F":return t("female","Female");case"O":return t("other","Other");case"U":return t("unknown","Unknown");default:return e}},_=function(e){for(var t=[],n=0;n<1;n++)for(var r=0;r<8;r++)t.push(o()(e).day(0===r?0:r-1).hour(n));return t},v=function(e){for(var t=[],n=0;n<24;n++)for(var r=0;r<8;r++)t.push(o()(e).day(0===r?0:r-1).hour(n));return t},C=function(e){for(var t=[],n=0;n<24;n++)t.push(o()(e).hour(n));return t}},1027:(e,t,n)=>{n.d(t,{es:()=>p,A8:()=>A,Nz:()=>r.Nz,g9:()=>r.g9,Ey:()=>r.Ey,IF:()=>r.IF,bf:()=>r.bf,vN:()=>r.vN,xj:()=>r.xj,df:()=>r.df,zF:()=>f,Gd:()=>r.Gd,c1:()=>r.c1});var r=n(5326),a=n(2870),o=n(8879),i=n.n(o),s=n(268),l=n(8179);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var A=function(e,t){var n=m(null==e?void 0:e.split(":"),2),r=n[0],a=n[1];return"12"===r&&"AM"===t&&(r="00"),"PM"===t&&(r="12"===r?r:parseInt(r,10)+12),[r,a]},u={appointmentDate:i()((new Date).setHours(0,0,0,0)).format(l.J$)};function d(){return(0,a.getGlobalStore)("appointmentStartDate",u)}function p(e){d().setState({appointmentDate:i()(new Date(e).setHours(0,0,0,0)).format(l.J$)})}var f=function(){var e=m((0,s.useState)(u.appointmentDate),2),t=e[0],n=e[1];return(0,s.useEffect)((function(){d().subscribe((function(e){var t=e.appointmentDate;return n(t.toString())}))}),[]),{currentAppointmentDate:t,setCurrentAppointmentDate:n}}},6196:(e,t,n)=>{n.d(t,{P:()=>o});var r=n(2870),a=n(2303),o=function(){var e=(0,r.useConfig)().defaultFacilityUrl,t=(0,a.Z)(e,r.openmrsFetch),n=t.data,o=t.error,i=t.isLoading;return{defaultFacility:n?null==n?void 0:n.data:null,isLoading:i,isError:o}}},1723:(e,t,n)=>{n.d(t,{I8:()=>l,Ir:()=>m,Km:()=>c});var r=n(2870),a=n(268);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var i={isOverlayOpen:!1,header:""},s=function(){return(0,r.getGlobalStore)("appointment-store",i)},l=function(e,t){s().setState({isOverlayOpen:!0,component:t,header:e})},c=function(){s().setState({component:null,isOverlayOpen:!1})},m=function(){var e,t,n=(e=(0,a.useState)(),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=n[0],i=n[1],l=(0,a.useCallback)((function(e){i(e)}),[]);(0,a.useEffect)((function(){l(s().getState()),s().subscribe(l)}),[l]);var c=null!=r?r:{};return{isOverlayOpen:c.isOverlayOpen,component:c.component,header:c.header}}},328:(e,t,n)=>{n.d(t,{Z:()=>w});var r=n(268),a=n.n(r),o=n(2870),i=n(1354),s=n.n(i),l=n(1583),c=n.n(l),m=n(7378),A=n.n(m),u=n(5993),d=n.n(u),p=n(4154),f=n.n(p),_=n(8141),v=n.n(_),C=n(3244),h={};h.styleTagTransform=v(),h.setAttributes=d(),h.insert=A().bind(null,"head"),h.domAPI=c(),h.insertStyleElement=f(),s()(C.Z,h);const g=C.Z&&C.Z.locals?C.Z.locals:void 0;var b=n(1723),y=n(4924),B=n(7202);const w=function(){var e=(0,y.useTranslation)().t;return a().createElement("div",{className:"omrs-main-content"},a().createElement("span",{className:g.searchBarWrapper},a().createElement(o.ExtensionSlot,{name:"patient-search-bar-slot",state:{selectPatientAction:function(t){(0,b.Km)(),(0,b.I8)(e("appointmentForm","Create Appointment"),a().createElement(B.Z,{patientUuid:t.uuid,context:"creating"}))},buttonProps:{kind:"primary"}}})))}}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[328],{8447:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(272),a=n.n(r),o=n(2609),i=n.n(o)()(a());i.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-appointments__appointments-form__productiveHeading01___f1B6i{font-size:var(--cds-heading-compact-01-font-size, 0.875rem);font-weight:var(--cds-heading-compact-01-font-weight, 600);line-height:var(--cds-heading-compact-01-line-height, 1.28572);letter-spacing:var(--cds-heading-compact-01-letter-spacing, 0.16px)}.-esm-appointments__appointments-form__productiveHeading02___FKWGW{font-size:var(--cds-heading-compact-02-font-size, 1rem);font-weight:var(--cds-heading-compact-02-font-weight, 600);line-height:var(--cds-heading-compact-02-line-height, 1.375);letter-spacing:var(--cds-heading-compact-02-letter-spacing, 0)}.-esm-appointments__appointments-form__productiveHeading03___wY7wA{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0)}.-esm-appointments__appointments-form__productiveHeading04___Uffg7{font-size:var(--cds-heading-04-font-size, 1.75rem);font-weight:var(--cds-heading-04-font-weight, 400);line-height:var(--cds-heading-04-line-height, 1.28572);letter-spacing:var(--cds-heading-04-letter-spacing, 0)}.-esm-appointments__appointments-form__bodyLong01___yGB1p{font-size:var(--cds-body-01-font-size, 0.875rem);font-weight:var(--cds-body-01-font-weight, 400);line-height:var(--cds-body-01-line-height, 1.42857);letter-spacing:var(--cds-body-01-letter-spacing, 0.16px)}.-esm-appointments__appointments-form__bodyShort01___AC_3i{font-size:var(--cds-body-compact-01-font-size, 0.875rem);font-weight:var(--cds-body-compact-01-font-weight, 400);line-height:var(--cds-body-compact-01-line-height, 1.28572);letter-spacing:var(--cds-body-compact-01-letter-spacing, 0.16px)}.-esm-appointments__appointments-form__bodyShort02___Wlr7j{font-size:var(--cds-body-compact-02-font-size, 1rem);font-weight:var(--cds-body-compact-02-font-weight, 400);line-height:var(--cds-body-compact-02-line-height, 1.375);letter-spacing:var(--cds-body-compact-02-letter-spacing, 0)}.-esm-appointments__appointments-form__text02___RN5sR{color:#525252}.-esm-appointments__appointments-form__label01___zwrTc{font-size:var(--cds-label-01-font-size, 0.75rem);font-weight:var(--cds-label-01-font-weight, 400);line-height:var(--cds-label-01-line-height, 1.33333);letter-spacing:var(--cds-label-01-letter-spacing, 0.32px)}.-esm-appointments__appointments-form__modal___dByeC{position:fixed;width:100vw;height:100vh;display:grid;background-color:rgba(0,0,0,.5);z-index:9000;justify-items:center;align-items:center}.-esm-appointments__appointments-form__formContainer___eFj89{margin:0 1rem}.-esm-appointments__appointments-form__stickyFormHeader___Knd9z{position:sticky;top:3rem;z-index:10}.-esm-appointments__appointments-form__row___kkp8W{display:flex;margin:.5rem}.-esm-appointments__appointments-form__select___AeArq{width:90%;margin-right:60%}.-esm-appointments__appointments-form__inputContainer___oAhyS{margin:1rem 0}.-esm-appointments__appointments-form__button___kM_VU{height:4rem;display:flex;align-content:flex-start;align-items:baseline;min-width:50%}.-esm-appointments__appointments-form__timePickerInput___giOkD{width:8rem}.-esm-appointments__appointments-form__datePickerInput___k31Uy{padding-bottom:1rem;margin-left:12.5rem}.-esm-appointments__appointments-form__workLoadCard___lsrdX{display:flex;margin:0 1rem;color:#525252}.-esm-appointments__appointments-form__monthlyWorkLoadCard___lT79I{color:#525252;display:flex;flex-wrap:wrap}.-esm-appointments__appointments-form__workLoadContainer___JZFqB{display:flex;flex-direction:column;background-color:#fff;padding-bottom:1rem}.-esm-appointments__appointments-form__workLoadTitle___MNLtt{padding-top:1rem;color:#525252;margin:0 1rem 1rem 1rem;font-size:var(--cds-legal-01-font-size, 0.75rem);font-weight:var(--cds-legal-01-font-weight, 400);line-height:var(--cds-legal-01-line-height, 1.33333);letter-spacing:var(--cds-legal-01-letter-spacing, 0.32px);font-weight:400}.-esm-appointments__appointments-form__input___wxHSE{width:13.5rem}.-esm-appointments__appointments-form__hide___ypOyp{display:none}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/root.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./src/appointments/forms/create-edit-form/appointments-form.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCnDF,mECs0BI,2DAAA,CAAA,0DAAA,CAAA,8DAAA,CAAA,mEAAA,CDl0BJ,mECk0BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CD9zBJ,mEC8zBI,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CD1zBJ,mEC0zBI,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CAAA,sDAAA,CDtzBJ,0DCszBI,gDAAA,CAAA,+CAAA,CAAA,mDAAA,CAAA,wDAAA,CDlzBJ,2DCkzBI,wDAAA,CAAA,uDAAA,CAAA,2DAAA,CAAA,gEAAA,CD9yBJ,2DC8yBI,oDAAA,CAAA,uDAAA,CAAA,yDAAA,CAAA,2DAAA,CD1yBJ,sDACE,aD5BQ,CC+BV,uDCsyBI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CDlyBJ,qDACE,cAAA,CACA,WAAA,CACA,YAAA,CACA,YAAA,CACA,+BAAA,CACA,YAAA,CACA,oBAAA,CACA,kBAAA,CE5CF,6DACE,aAAA,CAGF,gEACE,eAAA,CACA,QCyCW,CDxCX,UAAA,CAGF,mDACE,YAAA,CACA,YCKW,CDFb,sDACE,SAAA,CACA,gBAAA,CAGF,8DACE,aAAA,CAGF,sDACE,WAAA,CACA,YAAA,CACA,wBAAA,CACA,oBAAA,CACA,aAAA,CAGF,+DACE,UAAA,CAGF,+DACE,mBAAA,CACA,mBAAA,CAGF,4DACE,YAAA,CACA,aAAA,CACA,aAAA,CAEF,mEACE,aAAA,CACA,YAAA,CACA,cAAA,CAEF,iEACE,YAAA,CACA,qBAAA,CACA,qBAAA,CACA,mBAAA,CAGF,6DACE,gBChCW,CDiCX,aAAA,CACA,uBAAA,CDywBE,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CCvwBF,eAAA,CAEF,qDACE,aAAA,CAGF,oDACE,YAAA",sourceRoot:""}]),i.locals={productiveHeading01:"-esm-appointments__appointments-form__productiveHeading01___f1B6i",productiveHeading02:"-esm-appointments__appointments-form__productiveHeading02___FKWGW",productiveHeading03:"-esm-appointments__appointments-form__productiveHeading03___wY7wA",productiveHeading04:"-esm-appointments__appointments-form__productiveHeading04___Uffg7",bodyLong01:"-esm-appointments__appointments-form__bodyLong01___yGB1p",bodyShort01:"-esm-appointments__appointments-form__bodyShort01___AC_3i",bodyShort02:"-esm-appointments__appointments-form__bodyShort02___Wlr7j",text02:"-esm-appointments__appointments-form__text02___RN5sR",label01:"-esm-appointments__appointments-form__label01___zwrTc",modal:"-esm-appointments__appointments-form__modal___dByeC",formContainer:"-esm-appointments__appointments-form__formContainer___eFj89",stickyFormHeader:"-esm-appointments__appointments-form__stickyFormHeader___Knd9z",row:"-esm-appointments__appointments-form__row___kkp8W",select:"-esm-appointments__appointments-form__select___AeArq",inputContainer:"-esm-appointments__appointments-form__inputContainer___oAhyS",button:"-esm-appointments__appointments-form__button___kM_VU",timePickerInput:"-esm-appointments__appointments-form__timePickerInput___giOkD",datePickerInput:"-esm-appointments__appointments-form__datePickerInput___k31Uy",workLoadCard:"-esm-appointments__appointments-form__workLoadCard___lsrdX",monthlyWorkLoadCard:"-esm-appointments__appointments-form__monthlyWorkLoadCard___lT79I",workLoadContainer:"-esm-appointments__appointments-form__workLoadContainer___JZFqB",workLoadTitle:"-esm-appointments__appointments-form__workLoadTitle___MNLtt",input:"-esm-appointments__appointments-form__input___wxHSE",hide:"-esm-appointments__appointments-form__hide___ypOyp"};const s=i},3860:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(272),a=n.n(r),o=n(2609),i=n.n(o)()(a());i.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{padding:0;border:0;margin:0;font:inherit;font-size:100%;vertical-align:baseline}button,select,input,textarea{border-radius:0;font-family:inherit}input[type=text]::-ms-clear{display:none}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section{display:block}body{line-height:1}sup{vertical-align:super}sub{vertical-align:sub}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote::before,blockquote::after,q::before,q::after{content:\"\"}table{border-collapse:collapse;border-spacing:0}*{box-sizing:border-box}button{margin:0}html{font-size:100%}body{font-weight:400;font-family:'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}code{font-family:'IBM Plex Mono', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', Courier, monospace}strong{font-weight:600}@media screen and (-ms-high-contrast: active){svg{fill:ButtonText}}h1{font-size:2.625rem;font-weight:300;line-height:1.199;letter-spacing:0}h2{font-size:2rem;font-weight:400;line-height:1.25;letter-spacing:0}h3{font-size:1.75rem;font-weight:400;line-height:1.28572;letter-spacing:0}h4{font-size:1.25rem;font-weight:400;line-height:1.4;letter-spacing:0}h5{font-size:1rem;font-weight:600;line-height:1.375;letter-spacing:0}h6{font-size:.875rem;font-weight:600;line-height:1.28572;letter-spacing:.16px}p{font-size:1rem;font-weight:400;line-height:1.5;letter-spacing:0}a{color:#0f62fe}em{font-style:italic}@keyframes -esm-appointments__workload__skeleton___jhMhJ{0%{opacity:.3;transform:scaleX(0);transform-origin:left}20%{opacity:1;transform:scaleX(1);transform-origin:left}28%{transform:scaleX(1);transform-origin:right}51%{transform:scaleX(0);transform-origin:right}58%{transform:scaleX(0);transform-origin:right}82%{transform:scaleX(1);transform-origin:right}83%{transform:scaleX(1);transform-origin:left}96%{transform:scaleX(0);transform-origin:left}100%{opacity:.3;transform:scaleX(0);transform-origin:left}}.-esm-appointments__workload__cardContainer___nHXRE{background-color:#fff;display:flex;height:6rem}.-esm-appointments__workload__tileContainer___bhF3C{padding:.5rem;flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;border:1px solid #a6c8ff}.-esm-appointments__workload__tileContainer___bhF3C:first-child{border-left-width:1px}.-esm-appointments__workload__tileContainer___bhF3C label{color:#525252}.-esm-appointments__workload__tileHeader___dHBCb{display:flex;justify-content:space-between;padding-bottom:1rem}.-esm-appointments__workload__headerLabel___PU12A{font-size:.875rem;font-weight:600;line-height:1.28572;letter-spacing:.16px;color:#525252}.-esm-appointments__workload__totalsLabel___DdXz0{font-size:.75rem;font-weight:400;line-height:1.33333;letter-spacing:.32px;color:#525252}.-esm-appointments__workload__totalsValue___J6rVn{font-size:1.75rem;font-weight:400;line-height:1.28572;letter-spacing:0;color:#161616}.-esm-appointments__workload__headerLabelContainer___vO88j{display:flex;align-items:center;height:2rem}.-esm-appointments__workload__link___sGRk_{text-decoration:none}.-esm-appointments__workload__activeWorkloadCard___uttch{background-color:#edf5ff}.-esm-appointments__workload__activeWorkloadCard___uttch label{color:#0f62fe}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./../../node_modules/carbon-components/src/globals/scss/_css--reset.scss","webpack://./../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_reset.scss","webpack://./../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_font-family.scss","webpack://./../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/icons/mixins.scss","webpack://./../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/type/_styles.import.scss","webpack://./../../node_modules/carbon-components/src/globals/scss/_helper-mixins.scss","webpack://./src/appointments/forms/workload.scss","webpack://./../../node_modules/carbon-components/src/globals/scss/vendor/@carbon/elements/scss/themes/generated/_mixins.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/colors/index.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCpBE,2ZAiFE,SAAA,CACA,QAAA,CACA,QAAA,CACA,YAAA,CACA,cAAA,CACA,uBAAA,CAIF,6BAIE,eAAA,CACA,mBAAA,CAGF,4BACE,YAAA,CAIF,mFAYE,aAAA,CAGF,KACE,aAAA,CAGF,IACE,oBAAA,CAGF,IACE,kBAAA,CAGF,MAEE,eAAA,CAGF,aAEE,WAAA,CAGF,wDAIE,UAAA,CAGF,MACE,wBAAA,CACA,gBAAA,CAGF,EACE,qBAAA,CAIF,OACE,QAAA,CC3KJ,KACE,cAAA,CAGF,KC0CA,eAAA,CDvCE,gEAViB,CAWjB,iCAAA,CACA,kCAAA,CACA,iCAAA,CAGF,KACE,wGAhBiB,CAmBnB,OC6BA,eAAA,CCxDA,8CACE,IACE,eAAA,CAAA,CFkCJ,GGghBE,kBA0LsB,CA1LtB,eA0LsB,CA1LtB,iBA0LsB,CA1LtB,gBA0LsB,CHtsBxB,GG4gBE,cA0LsB,CA1LtB,eA0LsB,CA1LtB,gBA0LsB,CA1LtB,gBA0LsB,CHl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BA0LsB,CEzsBxB,aAAA,CAGF,2DACE,YAAA,CACA,kBAAA,CACA,WC0Ma,CDvMf,2CACE,oBAAA,CAGF,yDACE,wBGnDQ,CHqDR,+DACE,aGjDM",sourceRoot:""}]),i.locals={cardContainer:"-esm-appointments__workload__cardContainer___nHXRE",tileContainer:"-esm-appointments__workload__tileContainer___bhF3C",tileHeader:"-esm-appointments__workload__tileHeader___dHBCb",headerLabel:"-esm-appointments__workload__headerLabel___PU12A",totalsLabel:"-esm-appointments__workload__totalsLabel___DdXz0",totalsValue:"-esm-appointments__workload__totalsValue___J6rVn",headerLabelContainer:"-esm-appointments__workload__headerLabelContainer___vO88j",link:"-esm-appointments__workload__link___sGRk_",activeWorkloadCard:"-esm-appointments__workload__activeWorkloadCard___uttch",skeleton:"-esm-appointments__workload__skeleton___jhMhJ"};const s=i},3244:(e,t,n)=>{n.d(t,{Z:()=>s});var r=n(272),a=n.n(r),o=n(2609),i=n.n(o)()(a());i.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79}.-esm-appointments__patient-search__padded___UUzTu{padding:1rem}[data-extension-id=patient-search-bar]>div{width:100%}[data-extension-id=patient-search-bar]>div input{background-color:#fff;border-bottom:none;min-height:3rem}[data-extension-id=patient-search-bar]>div button{height:3rem}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/patient-search/patient-search.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CCnDF,mDACE,YC0BW,CDtBX,2CACE,UAAA,CAEA,iDACE,qBDZE,CCaF,kBAAA,CACA,eCoCO,CDjCT,kDACE,WCgCO",sourceRoot:""}]),i.locals={padded:"-esm-appointments__patient-search__padded___UUzTu"};const s=i},7202:(e,t,n)=>{n.d(t,{Z:()=>q});var r=n(268),a=n.n(r),o=n(4924),i=n(8879),s=n.n(i),l=n(3504),c=n(2870),m=n(12),A=n(1354),u=n.n(A),d=n(1583),p=n.n(d),f=n(7378),_=n.n(f),v=n(5993),C=n.n(v),h=n(4154),g=n.n(h),b=n(8141),y=n.n(b),B=n(8447),w={};w.styleTagTransform=y(),w.setAttributes=C(),w.insert=_().bind(null,"head"),w.domAPI=p(),w.insertStyleElement=g(),u()(B.Z,w);const D=B.Z&&B.Z.locals?B.Z.locals:void 0;var E=n(3255),k=n(1027),F=n(1723),x=n(4546);function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var S=function(e,t,n){var r,a=(0,x.EN)(new Date(n),e),o=null!==(r=function(e,t){for(var n=new Map([]),r=0;r<=35;r++)n.set(s()(e).add(r,"day").format("YYYY-MM-DD"),0);return t.map((function(e){var t=e.date,r=e.count;n.has(t)&&n.set(t,r)})),Array.from(n).flatMap((function(e){var t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e,2);return{date:t[0],count:t[1]}}))}(new Date(n),a))&&void 0!==r?r:[];return"month"===t?o:o.slice(0,7)},T=n(3860),I={};I.styleTagTransform=y(),I.setAttributes=C(),I.insert=_().bind(null,"head"),I.domAPI=p(),I.insertStyleElement=g(),u()(T.Z,I);const M=T.Z&&T.Z.locals?T.Z.locals:void 0,O=function(e){var t=e.date,n=e.count,r=e.isActive,i=e.onClick;return(0,o.useTranslation)().t,a().createElement("div",{tabIndex:0,role:"button",onClick:i,className:"".concat(M.tileContainer," ").concat(r&&M.activeWorkloadCard)},a().createElement("div",{className:M.tileHeader},a().createElement("label",{className:M.headerLabel},t)),a().createElement("div",null,a().createElement("label",{className:M.totalsLabel},n)))};var U=n(6196);const G=function(e){var t=e.selectedLocation,n=e.defaultFacility,r=e.locations,i=(0,o.useTranslation)().t;return t?n&&0!==Object.keys(n).length?a().createElement(l.QlF,{key:null==n?void 0:n.uuid,text:null==n?void 0:n.display,value:null==n?void 0:n.uuid},null==n?void 0:n.display):r&&r.length>0?a().createElement(a().Fragment,null,r.map((function(e){return a().createElement(l.QlF,{key:e.uuid,text:e.display,value:e.uuid},e.display)}))):null:a().createElement(l.QlF,{text:i("selectOption","Select an option"),value:""})};function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function P(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){z(e,t,n[t])}))}return e}function Y(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const q=function(e){var t,n=e.appointment,i=e.patientUuid,A=e.context,u=(0,o.useTranslation)().t,d=(0,c.useConfig)(),p=d.appointmentTypes,f=d.appointmentStatuses,_=d.hiddenFormFields,v=function(e,t){var n,r,a,o,i,l,m,A,u,d,p,f,_,v,C=(0,c.useSession)();return{appointmentKind:null!==(i=null==e?void 0:e.appointmentKind)&&void 0!==i?i:"Scheduled",status:null!==(l=null==e?void 0:e.status)&&void 0!==l?l:"Scheduled",serviceUuid:null!==(m=null==e?void 0:e.serviceUuid)&&void 0!==m?m:"",startDateTime:s()(new Date).format("hh:mm"),endDateTime:s()(new Date).format("hh:mm"),providers:null!==(A=null==e?void 0:e.providers)&&void 0!==A?A:[],providerUuid:null!==(u=null==e||null===(n=e.providers)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.uuid)&&void 0!==u?u:null==C||null===(a=C.currentProvider)||void 0===a?void 0:a.uuid,comments:null!==(d=null==e?void 0:e.comments)&&void 0!==d?d:"",locationUuid:null!==(p=null==e?void 0:e.location)&&void 0!==p?p:null==C||null===(o=C.sessionLocation)||void 0===o?void 0:o.uuid,frequency:"",uuid:null!==(f=null==e?void 0:e.id)&&void 0!==f?f:"",appointmentNumber:null!==(_=null==e?void 0:e.appointmentNumber)&&void 0!==_?_:"",patientUuid:null!==(v=null==e?void 0:e.patientUuid)&&void 0!==v?v:t,visitDate:(null==e?void 0:e.dateTime)?new Date(e.dateTime):new Date,timeFormat:(new Date).getHours()>=12?"PM":"AM",isFullDay:!0,day:null==e?void 0:e.dateTime}}(n,i),C=H((0,r.useState)(v),2),h=C[0],g=C[1],b=(0,c.usePatient)(null!=i?i:h.patientUuid),y=b.patient,B=b.isLoading,w=(0,c.useLocations)(),L=(0,c.useSession)(),T=(0,x.ko)().providers,I=(0,x.Su)().services,M=H((0,r.useState)(!1),2),j=M[0],z=M[1],q=(0,x.EN)(h.visitDate,h.serviceUuid),W=H((0,r.useState)(0),2),K=W[0],Z=W[1],J=S(h.serviceUuid,0===K?"week":"month",h.visitDate),Q=(0,k.zF)().currentAppointmentDate,R=H((0,r.useState)(""),2),X=R[0],V=R[1],$=(0,U.P)(),ee=$.defaultFacility,te=$.isLoading,ne=null==I?void 0:I.find((function(e){return e.uuid===h.serviceUuid})),re=s()().startOf("day").toDate();(0,r.useEffect)((function(){var e;(null==w?void 0:w.length)&&L?V(null==L||null===(e=L.sessionLocation)||void 0===e?void 0:e.uuid):!te&&ee&&V(null==ee?void 0:ee.uuid)}),[w,L,te]);var ae,oe,ie,se=(ae=function(){var e,t,n,r,a,o,i,l,m;return function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,r=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(6===o[0]&&i.label<a[1]){i.label=a[1],a=o;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(o);break}a[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],r=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}(this,(function(A){return e=H((0,k.A8)(h.startDateTime,h.timeFormat),2),t=e[0],n=e[1],r=H((0,k.A8)(h.endDateTime,h.timeFormat),2),a=r[0],o=r[1],i=(0,x.iW)(h.visitDate,t,n),l=(0,x.iW)(h.visitDate,a,o),m={appointmentKind:h.appointmentKind,status:h.status,serviceUuid:h.serviceUuid,startDateTime:s()(i).format(),endDateTime:s()(l).format(),providerUuid:h.providerUuid,providers:[{uuid:h.providerUuid}],comments:h.comments,locationUuid:h.locationUuid,patientUuid:h.patientUuid,appointmentNumber:h.appointmentNumber,uuid:h.uuid},new AbortController,z(!0),(0,x.GB)(m).then((function(e){200===e.status&&((0,c.showToast)({critical:!0,kind:"success",description:u("appointmentNowVisible","It is now visible on the Appointments page"),title:u("appointmentScheduled","Appointment scheduled")}),z(!1),(0,E.JG)("/ws/rest/v1/appointment/appointmentStatus?forDate=".concat(Q,"&status=Scheduled")),(0,E.JG)("/ws/rest/v1/appointment/appointmentStatus?forDate=".concat(Q,"&status=CheckedIn")),(0,E.JG)("/ws/rest/v1/appointment/all?forDate=".concat(Q)),(0,E.JG)("/ws/rest/v1/appointment/appointmentStatus?status=Scheduled&forDate=".concat(Q)),(0,E.JG)("/ws/rest/v1/appointment/appointmentStatus?status=Pending&forDate=".concat(Q)),(0,F.Km)())}),(function(e){(0,c.showNotification)({title:u("appointmentFormError","Error scheduling appointment"),kind:"error",critical:!0,description:null==e?void 0:e.message}),z(!1)})),[2]}))},oe=function(){var e=this,t=arguments;return new Promise((function(n,r){var a=ae.apply(e,t);function o(e){P(a,n,r,o,i,"next",e)}function i(e){P(a,n,r,o,i,"throw",e)}o(void 0)}))},function(){return oe.apply(this,arguments)});return a().createElement("div",{className:D.formContainer},B?a().createElement(l.N2B,null):a().createElement("div",{className:D.stickyFormHeader},a().createElement(c.ExtensionSlot,{name:"patient-header-slot",state:{patient:y,patientUuid:h.patientUuid}})),a().createElement("p",null,u("selectAppointmentLocation","Select where the appointment will take place")),a().createElement(l.PhF,{labelText:u("selectLocation","Select a location"),id:"location",invalidText:"Required",value:X,defaultSelected:X,onChange:function(e){return V(e.target.value)}},a().createElement(G,{selectedLocation:X,defaultFacility:ee,locations:w})),a().createElement(l.PhF,{id:"service",invalidText:"Required",labelText:u("selectService","Select a service"),className:D.inputContainer,onChange:function(e){return g(Y(N({},h),{serviceUuid:e.target.value}))},value:h.serviceUuid},h.serviceUuid&&"--"!=h.serviceUuid?null:a().createElement(l.QlF,{text:u("chooseService","Select service"),value:""}),(null==I?void 0:I.length)>0&&I.map((function(e){return a().createElement(l.QlF,{key:e.uuid,text:e.name,value:e.uuid},e.name)}))),a().createElement("p",null,u("appointmentDateAndTime","Appointments Date and Time")),a().createElement("div",{className:D.row},a().createElement(l.ZDl,{onToggle:function(e){return g(Y(N({},h),{isFullDay:e}))},id:"allDay",labelA:"Off",labelB:"On",labelText:"All Day",defaultToggled:h.isFullDay}),a().createElement(l.Mtg,{dateFormat:"d/m/Y",datePickerType:"single",id:"visitDate",minDate:re,className:D.datePickerInput,onChange:function(e){var t=H(e,1)[0];return g(Y(N({},h),{visitDate:t}))},value:h.visitDate},a().createElement(l.aj6,{id:"visitStartDateInput",labelText:u("date","Date"),placeholder:"dd/mm/yyyy",style:{width:"100%"}}))),h.isFullDay?null:a().createElement("div",{className:D.row},a().createElement(l.jII,{className:D.timePickerInput,pattern:"([\\d]+:[\\d]{2})",onChange:function(e){return g(Y(N({},h),{startDateTime:e.target.value}))},value:h.startDateTime,labelText:u("startTime","Start Time"),id:"start-time-picker"},a().createElement(l.M6n,{id:"start-time-picker",onChange:function(e){return g(Y(N({},h),{timeFormat:e.target.value}))},value:h.timeFormat,labelText:u("time","Time"),"aria-label":u("time","Time")},a().createElement(l.QlF,{value:"AM",text:"AM"}),a().createElement(l.QlF,{value:"PM",text:"PM"}))),a().createElement(l.jII,{className:D.timePickerInput,pattern:"([\\d]+:[\\d]{2})",onChange:function(e){return g(Y(N({},h),{endDateTime:e.target.value}))},value:h.endDateTime,labelText:u("endTime","End Time"),id:"end-time-picker"},a().createElement(l.M6n,{id:"end-time-picker",onChange:function(e){return g(Y(N({},h),{timeFormat:e.target.value}))},value:h.timeFormat,labelText:u("time","Time"),"aria-label":u("time","Time")},a().createElement(l.QlF,{value:"AM",text:"AM"}),a().createElement(l.QlF,{value:"PM",text:"PM"})))),h.serviceUuid&&a().createElement("div",{className:D.workLoadContainer},a().createElement(a().Fragment,null,a().createElement("p",{className:D.workLoadTitle},u("serviceWorkloadTitle","".concat(null==ne?void 0:ne.name," clinic work load on the week of ").concat(s()(null!==(ie=null===(t=(0,m.Z)(q))||void 0===t?void 0:t.date)&&void 0!==ie?ie:new Date).format("DD/MM")))),a().createElement(l.mQc,{selectedIndex:K,onChange:function(e){var t=e.selectedIndex;return Z(t)},className:D.tabs},a().createElement(l.tdY,{style:{paddingLeft:"1rem"}},a().createElement(l.OK9,null,u("weekly","WeeKly")),a().createElement(l.OK9,null,u("monthly","Monthly"))),a().createElement(l.nPR,null,a().createElement(l.x45,{style:{padding:0}},a().createElement("div",{className:D.workLoadCard},null==J?void 0:J.map((function(e,t){var n=e.date,r=e.count;return a().createElement(O,{onClick:function(){return g(Y(N({},h),{visitDate:new Date(n)}))},key:"".concat(n,"-").concat(t),date:s()(n).format("DD/MM"),count:r,isActive:s()(n).format("DD-MM-YYYY")===s()(h.visitDate).format("DD-MM-YYYY")})})))),a().createElement(l.x45,{style:{padding:0}},a().createElement("div",{className:D.monthlyWorkLoadCard},null==J?void 0:J.map((function(e){var t=e.date,n=e.count;return a().createElement(O,{onClick:function(){return g(Y(N({},h),{visitDate:new Date(t)}))},key:t,date:s()(t).format("DD/MM"),count:n,isActive:s()(t).format("DD-MM-YYYY")===s()(h.visitDate).format("DD-MM-YYYY")})})))))))),a().createElement(l.PhF,{id:"appointmentType",invalidText:"Required",labelText:u("selectAppointmentType","Select an appointment type"),className:D.inputContainer,onChange:function(e){return g(Y(N({},h),{appointmentKind:e.target.value}))},value:h.appointmentKind},h.appointmentKind&&"--"!=h.appointmentKind?null:a().createElement(l.QlF,{text:u("selectAppointmentType","Select an appointment type"),value:""}),(null==p?void 0:p.length)>0&&p.map((function(e){return a().createElement(l.QlF,{key:e,text:e,value:e},e)}))),"creating"!==A&&a().createElement(l.PhF,{id:"appointmentStatus",invalidText:"Required",labelText:u("selectAppointmentStatus","Select status"),className:D.inputContainer,onChange:function(e){return g(Y(N({},h),{status:e.target.value}))},value:h.status},h.status&&"--"!=h.status?null:a().createElement(l.QlF,{text:u("selectAppointmentStatus","Select status"),value:""}),(null==f?void 0:f.length)>0&&f.map((function(e){return a().createElement(l.QlF,{key:e,text:e,value:e},e)}))),a().createElement(l.PhF,{id:"providers",invalidText:"Required",labelText:u("selectProvider","Select a provider"),className:"".concat(D.inputContainer," ").concat(_.includes("providers")&&D.hide),onChange:function(e){g(Y(N({},h),{providerUuid:e.target.value}))},value:h.providerUuid},h.providerUuid?null:a().createElement(l.QlF,{text:u("chooseProvider","Select Provider"),value:""}),(null==T?void 0:T.length)>0&&T.map((function(e){return a().createElement(l.QlF,{key:e.uuid,text:e.display,value:e.uuid},e.display)}))),a().createElement(l.mh4,{style:{margin:"0.25rem 0"}},a().createElement(l.Kx8,{cols:50,id:"comment",invalidText:"A valid value is required",labelText:u("comment","Comment"),placeholder:u("typeInComments","Type in appointment comment"),rows:4,value:h.comments,onChange:function(e){return g(Y(N({},h),{comments:e.target.value}))}})),a().createElement(l.uVA,null,a().createElement(l.zxk,{onClick:F.Km,className:D.button,kind:"secondary"},u("discard","Discard")),a().createElement(l.zxk,{onClick:se,className:D.button,disabled:j||!h.serviceUuid,kind:"primary",type:"submit"},u("save","Save"))))}},4546:(e,t,n)=>{n.d(t,{EN:()=>C,GB:()=>f,Su:()=>d,iW:()=>h,ko:()=>p,v1:()=>v});var r=n(3255),a=n(2870),o=n(8879),i=n.n(o),s=n(8179),l=n(12);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){m(o,r,a,i,s,"next",e)}function s(e){m(o,r,a,i,s,"throw",e)}i(void 0)}))}}var u=function(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,r=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(6===o[0]&&i.label<a[1]){i.label=a[1],a=o;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(o);break}a[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],r=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}};function d(){var e=(0,r.ZP)("/ws/rest/v1/appointmentService/all/default",a.openmrsFetch),t=e.data,n=e.error,o=e.isLoading,i=e.isValidating;return{services:t?t.data:[],isLoading:o,isError:n,isValidating:i}}function p(){var e=(0,r.ZP)("/ws/rest/v1/provider",a.openmrsFetch),t=e.data,n=e.error,o=e.isLoading;return{providers:t?t.data.results:null,isError:n,isLoading:o}}function f(e){var t=new AbortController;return(0,a.openmrsFetch)("/ws/rest/v1/appointment",{method:"POST",signal:t.signal,headers:{"Content-Type":"application/json"},body:e})}var _,v=(_=A((function(e,t){var n,r,o,l;return u(this,(function(c){switch(c.label){case 0:return n=new AbortController,r=Intl.DateTimeFormat().resolvedOptions().timeZone,o=i()(new Date).format(s.J$),l="/ws/rest/v1/appointments/".concat(t,"/status-change"),[4,(0,a.openmrsFetch)(l,{body:{toStatus:e,onDate:o,timeZone:r},method:"POST",headers:{"Content-Type":"application/json"},signal:n.signal})];case 1:return[2,c.sent()]}}))})),function(e,t){return _.apply(this,arguments)}),C=function(e,t){var n=i()(e).startOf("week").format(s.J$),o=i()(n).add(2,"week").format(s.J$),m="/ws/rest/v1/appointment/appointmentSummary?startDate=".concat(n,"&endDate=").concat(o),A=(0,r.ZP)(m,a.openmrsFetch),u=A.data,d=(A.error,(0,l.Z)(null==u?void 0:u.data.filter((function(e){return e.appointmentService.uuid===t})))),p=null==d?void 0:d.appointmentCountMap;return Object.entries(null!=p?p:[]).map((function(e){var t,n,r=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(t,n)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());return{date:r[0],count:r[1].allAppointmentsCount}})).sort((function(e,t){return new Date(e.date).getTime()-new Date(t.date).getTime()}))},h=(A((function(e){return u(this,(function(t){switch(t.label){case 0:return[4,(0,a.openmrsFetch)("/ws/rest/v1/appointments/conflicts",{method:"POST",body:{patientUuid:e.patientUuid,serviceUuid:e.serviceUuid,startDateTime:e.startDateTime,endDateTime:e.endDateTime,providers:[],locationUuid:e.locationUuid,appointmentKind:e.appointmentKind},headers:{"Content-Type":"application/json"}})];case 1:return[2,t.sent()]}}))})),function(e,t,n){return i()(new Date(i()(e).year(),i()(e).month(),i()(e).date(),t,n))})},5326:(e,t,n)=>{n.d(t,{Ey:()=>u,Gd:()=>v,IF:()=>f,Nz:()=>C,aN:()=>p,bf:()=>s,c1:()=>_,df:()=>A,g9:()=>l,vN:()=>c,xj:()=>d});var r=n(2870),a=n(8879),o=n.n(a);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var s=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=null==t?void 0:t.map((function(e){var t=e.countMap;return{serviceName:e.serviceName,count:t.reduce((function(e,t){return e+t.allAppointmentsCount}),0)}}));return n.find((function(t){return t.count===(e=Math).max.apply(e,function(e){if(Array.isArray(e))return i(e)}(r=n.map((function(e){return e.count})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var r}))},l=function(e){return e.flatMap((function(e){return{serviceName:e.appointmentService.name,countMap:Object.entries(e.appointmentCountMap).flatMap((function(e){return e[1]}))}}))},c=function(e,t){return e.map((function(e){return Object.entries(e.appointmentCountMap).flatMap((function(e){return e[1][t]}))})).flat(1).reduce((function(e,t){return e+t}),0)};function m(){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)-(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0);return Math.floor(e/6e4)+"min"}var A=function(e,t){var n,a,o,i,s,l,c,A,u,d,p,f,_,v,C,h,g;return{id:null==e?void 0:e.uuid,name:null===(n=e.patient)||void 0===n?void 0:n.name,age:null===(a=e.patient)||void 0===a?void 0:a.birthDate,gender:null===(o=e.patient)||void 0===o?void 0:o.gender,phoneNumber:null===(i=e.patient)||void 0===i?void 0:i.phoneNumber,dob:(0,r.formatDate)((0,r.parseDate)(null===(s=e.patient)||void 0===s?void 0:s.birthDate),{mode:"wide"}),patientUuid:null===(l=e.patient)||void 0===l?void 0:l.uuid,dateTime:(v=(0,r.parseDate)(e.startDateTime),C=v.getHours(),h=v.getMinutes(),g=C>=12?"PM":"AM",(C=(C%=12)||12)+":"+(h=h<10?"0"+h:h)+" "+g),serviceType:e.service?e.service.name:"--",serviceColor:(null===(c=e.service)||void 0===c?void 0:c.color)?e.service.color:"__",serviceUuid:e.service?e.service.uuid:null,appointmentKind:e.appointmentKind?e.appointmentKind:"--",status:e.status,provider:e.provider?null===(A=e.provider.person)||void 0===A?void 0:A.display:"--",location:e.location?e.location.name:"--",comments:e.comments?e.comments:"--",appointmentNumber:e.appointmentNumber,color:null!==(_=null==e||null===(u=e.service)||void 0===u?void 0:u.color)&&void 0!==_?_:"",identifier:null===(d=e.patient)||void 0===d?void 0:d.identifier,duration:(null===(p=e.service)||void 0===p?void 0:p.durationMins)?(null==e||null===(f=e.service)||void 0===f?void 0:f.durationMins)+t("minutes","min"):m(e.startDateTime,e.endDateTime),recurring:e.recurring}},u=function(e){var t,n,a,o,i,s,l,c;return{id:e.uuid,name:null===(t=e.patient)||void 0===t?void 0:t.name,age:null===(n=e.patient)||void 0===n?void 0:n.birthDate,gender:null===(a=e.patient)||void 0===a?void 0:a.gender,phoneNumber:null===(o=e.patient)||void 0===o?void 0:o.phoneNumber,dob:(0,r.formatDate)((0,r.parseDate)(null===(i=e.patient)||void 0===i?void 0:i.birthDate),{mode:"wide"}),patientUuid:null===(s=e.patient)||void 0===s?void 0:s.uuid,dateTime:e.startDateTime,serviceType:e.service?e.service.name:"--",serviceUuid:e.service?e.service.uuid:null,appointmentKind:e.appointmentKind?e.appointmentKind:"--",status:e.status,provider:e.providers?null===(l=null==e?void 0:e.providers[0])||void 0===l?void 0:l.name:"--",location:e.location?null===(c=e.location)||void 0===c?void 0:c.name:"--",comments:e.comments?e.comments:"--",appointmentNumber:e.appointmentNumber,providers:e.providers,identifier:e.patient.identifier}},d=function(e,t){return e.isSame(t,"month")},p=function(e){for(var t=o()(e).startOf("month"),n=o()(e).endOf("month"),r=o()(e).daysInMonth(),a=o()(e).subtract(1,"month"),i=o()(e).add(1,"month"),s=[],l=a.daysInMonth()-t.day();l<a.daysInMonth();l++)s.push(e.date(l).month(a.month()));for(var c=1;c<=r;c++)s.push(e.date(c));for(var m=s.length>30?7:14,A=1;A<m-n.day();A++)s.push(e.date(A).month(i.month()));return s},f=function(e,t){switch(e){case"M":return t("male","Male");case"F":return t("female","Female");case"O":return t("other","Other");case"U":return t("unknown","Unknown");default:return e}},_=function(e){for(var t=[],n=0;n<1;n++)for(var r=0;r<8;r++)t.push(o()(e).day(0===r?0:r-1).hour(n));return t},v=function(e){for(var t=[],n=0;n<24;n++)for(var r=0;r<8;r++)t.push(o()(e).day(0===r?0:r-1).hour(n));return t},C=function(e){for(var t=[],n=0;n<24;n++)t.push(o()(e).hour(n));return t}},1027:(e,t,n)=>{n.d(t,{es:()=>p,A8:()=>A,Nz:()=>r.Nz,g9:()=>r.g9,Ey:()=>r.Ey,IF:()=>r.IF,bf:()=>r.bf,vN:()=>r.vN,xj:()=>r.xj,df:()=>r.df,zF:()=>f,Gd:()=>r.Gd,c1:()=>r.c1});var r=n(5326),a=n(2870),o=n(8879),i=n.n(o),s=n(268),l=n(8179);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var A=function(e,t){var n=m(null==e?void 0:e.split(":"),2),r=n[0],a=n[1];return"12"===r&&"AM"===t&&(r="00"),"PM"===t&&(r="12"===r?r:parseInt(r,10)+12),[r,a]},u={appointmentDate:i()((new Date).setHours(0,0,0,0)).format(l.J$)};function d(){return(0,a.getGlobalStore)("appointmentStartDate",u)}function p(e){d().setState({appointmentDate:i()(new Date(e).setHours(0,0,0,0)).format(l.J$)})}var f=function(){var e=m((0,s.useState)(u.appointmentDate),2),t=e[0],n=e[1];return(0,s.useEffect)((function(){d().subscribe((function(e){var t=e.appointmentDate;return n(t.toString())}))}),[]),{currentAppointmentDate:t,setCurrentAppointmentDate:n}}},6196:(e,t,n)=>{n.d(t,{P:()=>o});var r=n(2870),a=n(2303),o=function(){var e=(0,r.useConfig)().defaultFacilityUrl,t=(0,a.Z)(e,r.openmrsFetch),n=t.data,o=t.error,i=t.isLoading;return{defaultFacility:n?null==n?void 0:n.data:null,isLoading:i,isError:o}}},1723:(e,t,n)=>{n.d(t,{I8:()=>l,Ir:()=>m,Km:()=>c});var r=n(2870),a=n(268);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var i={isOverlayOpen:!1,header:""},s=function(){return(0,r.getGlobalStore)("appointment-store",i)},l=function(e,t){s().setState({isOverlayOpen:!0,component:t,header:e})},c=function(){s().setState({component:null,isOverlayOpen:!1})},m=function(){var e,t,n=(e=(0,a.useState)(),t=2,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,s=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(s)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r=n[0],i=n[1],l=(0,a.useCallback)((function(e){i(e)}),[]);(0,a.useEffect)((function(){l(s().getState()),s().subscribe(l)}),[l]);var c=null!=r?r:{};return{isOverlayOpen:c.isOverlayOpen,component:c.component,header:c.header}}},328:(e,t,n)=>{n.d(t,{Z:()=>w});var r=n(268),a=n.n(r),o=n(2870),i=n(1354),s=n.n(i),l=n(1583),c=n.n(l),m=n(7378),A=n.n(m),u=n(5993),d=n.n(u),p=n(4154),f=n.n(p),_=n(8141),v=n.n(_),C=n(3244),h={};h.styleTagTransform=v(),h.setAttributes=d(),h.insert=A().bind(null,"head"),h.domAPI=c(),h.insertStyleElement=f(),s()(C.Z,h);const g=C.Z&&C.Z.locals?C.Z.locals:void 0;var b=n(1723),y=n(4924),B=n(7202);const w=function(){var e=(0,y.useTranslation)().t;return a().createElement("div",{className:"omrs-main-content"},a().createElement("span",{className:g.searchBarWrapper},a().createElement(o.ExtensionSlot,{name:"patient-search-bar-slot",state:{selectPatientAction:function(t){(0,b.Km)(),(0,b.I8)(e("appointmentForm","Create Appointment"),a().createElement(B.Z,{patientUuid:t.uuid,context:"creating"}))},buttonProps:{kind:"primary"}}})))}}}]);
|
package/dist/328.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"328.js","mappings":"0MAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,skIAAukI,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,4BAA4B,gEAAgE,6EAA6E,8EAA8E,MAAQ,GAAG,SAAW,kiCAAkiC,WAAa,MAE/gLH,EAAwBI,OAAS,CAChC,oBAAuB,oEACvB,oBAAuB,oEACvB,oBAAuB,oEACvB,oBAAuB,oEACvB,WAAc,2DACd,YAAe,4DACf,YAAe,4DACf,OAAU,uDACV,QAAW,wDACX,MAAS,sDACT,cAAiB,8DACjB,iBAAo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,IAAQD,OAAS,IAAQA,YAASO,E,kCCQnE,QA3BgC,WAC9B,IAAM,GAAQ8B,EAAAA,EAAAA,kBAANC,EASR,OACE,kBAACC,MAAAA,CAAIG,UAAU,qBACb,kBAACqS,OAAAA,CAAKrS,UAAWC,EAAOqS,kBACtB,kBAAC9L,EAAAA,cAAaA,CACZC,KAAK,0BACLC,MAAO,CACL6L,oBAd0B,SAAChP,IACnC0C,EAAAA,EAAAA,OACA0L,EAAAA,EAAAA,IACE/R,EAAE,kBAAmB,sBACrB,kBAAC4S,EAAAA,EAAeA,CAAClR,YAAaiC,EAAQvC,KAAMO,QAAQ,aAExD,EASUkR,YAAa,CACX5M,KAAM,eAOpB,C","sources":["webpack://@openmrs/esm-appointments-app/./src/appointments/forms/create-edit-form/appointments-form.scss","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/workload.scss","webpack://@openmrs/esm-appointments-app/./src/patient-search/patient-search.scss","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/create-edit-form/appointments-form.scss?0aba","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/workload-helper.ts","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/workload.scss?b9df","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/workload.component.tsx","webpack://@openmrs/esm-appointments-app/./src/appointments/common-components/location-select-option.component.tsx","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/create-edit-form/appointments-form.component.tsx","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/useInitialFormValues.tsx","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/forms.resource.ts","webpack://@openmrs/esm-appointments-app/./src/helpers/functions.ts","webpack://@openmrs/esm-appointments-app/./src/helpers/time.tsx","webpack://@openmrs/esm-appointments-app/./src/hooks/useDefaultLocation.tsx","webpack://@openmrs/esm-appointments-app/./src/hooks/useOverlay.tsx","webpack://@openmrs/esm-appointments-app/./src/patient-search/patient-search.scss?692c","webpack://@openmrs/esm-appointments-app/./src/patient-search/patient-search.component.tsx"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","useCalendarDistribution","servieUuid","distributionType","appointmentDate","getMonthlyCalendarDistribution","appointmentSummary","useAppointmentSummary","Date","monthlyData","startDate","appointmentCount","distributionHashTable","Map","i","set","dayjs","add","format","map","date","count","has","Array","from","flatMap","value","slice","isActive","onClick","useTranslation","t","div","tabIndex","role","className","styles","tileContainer","activeWorkloadCard","tileHeader","label","headerLabel","totalsLabel","selectedLocation","defaultFacility","locations","Object","keys","length","SelectItem","key","uuid","text","display","location","first","appointment","patientUuid","context","useConfig","appointmentTypes","appointmentStatuses","hiddenFormFields","initialAppointmentFormValues","session","useSession","appointmentKind","status","serviceUuid","startDateTime","endDateTime","providers","providerUuid","currentProvider","comments","locationUuid","sessionLocation","frequency","appointmentNumber","visitDate","dateTime","timeFormat","getHours","isFullDay","day","useInitialAppointmentFormValue","useState","patientAppointment","setPatientAppointment","usePatient","patient","isLoading","useLocations","sessionUser","useProviders","useServices","services","isSubmitting","setIsSubmitting","selectedTab","setSelectedTab","calendarWorkload","useAppointmentDate","currentAppointmentDate","setSelectedLocation","useDefaultLoginLocation","appointmentService","find","today","startOf","toDate","useEffect","loadingDefaultFacility","handleSubmit","convertTime12to24","startHour","startMinutes","endHour","endMinutes","startDatetime","endDatetime","appointmentPayload","toAppointmentDateTime","AbortController","saveAppointment","then","showToast","critical","kind","description","title","mutate","closeOverlay","error","showNotification","message","formContainer","SkeletonText","stickyFormHeader","ExtensionSlot","name","state","Select","labelText","invalidText","defaultSelected","onChange","event","target","LocationSelectOption","inputContainer","service","p","row","Toggle","onToggle","labelA","labelB","defaultToggled","DatePicker","dateFormat","datePickerType","minDate","datePickerInput","DatePickerInput","placeholder","style","width","TimePicker","timePickerInput","pattern","TimePickerSelect","aria-label","workLoadContainer","workLoadTitle","Tabs","selectedIndex","tabs","TabList","paddingLeft","Tab","TabPanels","TabPanel","padding","workLoadCard","index","WorkloadCard","monthlyWorkLoadCard","includes","hide","provider","Layer","margin","TextArea","cols","rows","ButtonSet","Button","button","disabled","type","useSWR","openmrsFetch","data","isValidating","isError","results","abortController","method","signal","headers","body","cancelAppointment","toStatus","appointmentUuid","timeZone","statusChangeTime","url","Intl","DateTimeFormat","resolvedOptions","omrsDateFormat","onDate","fromDate","endDate","filter","appointmentCountMap","entries","allAppointmentsCount","sort","dateA","dateB","getTime","hours","minutes","year","month","getHighestAppointmentServiceLoad","Math","groupedAppointments","countMap","serviceName","reduce","cummulator","currentValue","summary","max","x","flattenAppointmentSummary","appointmentToTransfrom","el","getServiceCountByAppointmentType","appointmentType","flat","val","getAppointmentDuration","diff","endTime","startTime","floor","mapAppointmentProperties","ampm","age","birthDate","gender","phoneNumber","dob","formatDate","parseDate","mode","getMinutes","serviceType","serviceColor","color","person","identifier","duration","durationMins","recurring","getAppointment","isSameMonth","cellDate","currentDate","isSame","monthDays","monthStart","monthEnd","endOf","daysInMonth","lastMonth","subtract","nextMonth","days","dayLen","getGender","weekDays","hour","weekAllDays","dailyHours","time12h","split","parseInt","initialState","setHours","getStartDate","getGlobalStore","changeStartDate","updatedDate","setState","setCurrentAppointmentDate","subscribe","toString","apiUrl","defaultFacilityUrl","useSWRImmutable","isOverlayOpen","header","getOverlayStore","launchOverlay","headerTitle","componentToRender","component","useOverlay","overlay","setOverlay","update","useCallback","getState","span","searchBarWrapper","selectPatientAction","AppointmentForm","buttonProps"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"328.js","mappings":"0MAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,skIAAukI,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,4BAA4B,gEAAgE,6EAA6E,8EAA8E,MAAQ,GAAG,SAAW,kiCAAkiC,WAAa,MAE/gLH,EAAwBI,OAAS,CAChC,oBAAuB,oEACvB,oBAAuB,oEACvB,oBAAuB,oEACvB,oBAAuB,oEACvB,WAAc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5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,IAAQD,OAAS,IAAQA,YAASO,E,kCCQnE,QA3BgC,WAC9B,IAAM,GAAQ8B,EAAAA,EAAAA,kBAANC,EASR,OACE,kBAACC,MAAAA,CAAIG,UAAU,qBACb,kBAACqS,OAAAA,CAAKrS,UAAWC,EAAOqS,kBACtB,kBAAC9L,EAAAA,cAAaA,CACZC,KAAK,0BACLC,MAAO,CACL6L,oBAd0B,SAAChP,IACnC0C,EAAAA,EAAAA,OACA0L,EAAAA,EAAAA,IACE/R,EAAE,kBAAmB,sBACrB,kBAAC4S,EAAAA,EAAeA,CAAClR,YAAaiC,EAAQvC,KAAMO,QAAQ,aAExD,EASUkR,YAAa,CACX5M,KAAM,eAOpB,C","sources":["webpack://@openmrs/esm-appointments-app/./src/appointments/forms/create-edit-form/appointments-form.scss","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/workload.scss","webpack://@openmrs/esm-appointments-app/./src/patient-search/patient-search.scss","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/create-edit-form/appointments-form.scss?0aba","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/workload-helper.ts","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/workload.scss?b9df","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/workload.component.tsx","webpack://@openmrs/esm-appointments-app/./src/appointments/common-components/location-select-option.component.tsx","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/create-edit-form/appointments-form.component.tsx","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/useInitialFormValues.tsx","webpack://@openmrs/esm-appointments-app/./src/appointments/forms/forms.resource.ts","webpack://@openmrs/esm-appointments-app/./src/helpers/functions.ts","webpack://@openmrs/esm-appointments-app/./src/helpers/time.tsx","webpack://@openmrs/esm-appointments-app/./src/hooks/useDefaultLocation.tsx","webpack://@openmrs/esm-appointments-app/./src/hooks/useOverlay.tsx","webpack://@openmrs/esm-appointments-app/./src/patient-search/patient-search.scss?692c","webpack://@openmrs/esm-appointments-app/./src/patient-search/patient-search.component.tsx"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","useCalendarDistribution","servieUuid","distributionType","appointmentDate","getMonthlyCalendarDistribution","appointmentSummary","useAppointmentSummary","Date","monthlyData","startDate","appointmentCount","distributionHashTable","Map","i","set","dayjs","add","format","map","date","count","has","Array","from","flatMap","value","slice","isActive","onClick","useTranslation","t","div","tabIndex","role","className","styles","tileContainer","activeWorkloadCard","tileHeader","label","headerLabel","totalsLabel","selectedLocation","defaultFacility","locations","Object","keys","length","SelectItem","key","uuid","text","display","location","first","appointment","patientUuid","context","useConfig","appointmentTypes","appointmentStatuses","hiddenFormFields","initialAppointmentFormValues","session","useSession","appointmentKind","status","serviceUuid","startDateTime","endDateTime","providers","providerUuid","currentProvider","comments","locationUuid","sessionLocation","frequency","appointmentNumber","visitDate","dateTime","timeFormat","getHours","isFullDay","day","useInitialAppointmentFormValue","useState","patientAppointment","setPatientAppointment","usePatient","patient","isLoading","useLocations","sessionUser","useProviders","useServices","services","isSubmitting","setIsSubmitting","selectedTab","setSelectedTab","calendarWorkload","useAppointmentDate","currentAppointmentDate","setSelectedLocation","useDefaultLoginLocation","appointmentService","find","today","startOf","toDate","useEffect","loadingDefaultFacility","handleSubmit","convertTime12to24","startHour","startMinutes","endHour","endMinutes","startDatetime","endDatetime","appointmentPayload","toAppointmentDateTime","AbortController","saveAppointment","then","showToast","critical","kind","description","title","mutate","closeOverlay","error","showNotification","message","formContainer","SkeletonText","stickyFormHeader","ExtensionSlot","name","state","p","Select","labelText","invalidText","defaultSelected","onChange","event","target","LocationSelectOption","inputContainer","service","row","Toggle","onToggle","labelA","labelB","defaultToggled","DatePicker","dateFormat","datePickerType","minDate","datePickerInput","DatePickerInput","placeholder","style","width","TimePicker","timePickerInput","pattern","TimePickerSelect","aria-label","workLoadContainer","workLoadTitle","Tabs","selectedIndex","tabs","TabList","paddingLeft","Tab","TabPanels","TabPanel","padding","workLoadCard","index","WorkloadCard","monthlyWorkLoadCard","includes","hide","provider","Layer","margin","TextArea","cols","rows","ButtonSet","Button","button","disabled","type","useSWR","openmrsFetch","data","isValidating","isError","results","abortController","method","signal","headers","body","cancelAppointment","toStatus","appointmentUuid","timeZone","statusChangeTime","url","Intl","DateTimeFormat","resolvedOptions","omrsDateFormat","onDate","fromDate","endDate","filter","appointmentCountMap","entries","allAppointmentsCount","sort","dateA","dateB","getTime","hours","minutes","year","month","getHighestAppointmentServiceLoad","Math","groupedAppointments","countMap","serviceName","reduce","cummulator","currentValue","summary","max","x","flattenAppointmentSummary","appointmentToTransfrom","el","getServiceCountByAppointmentType","appointmentType","flat","val","getAppointmentDuration","diff","endTime","startTime","floor","mapAppointmentProperties","ampm","age","birthDate","gender","phoneNumber","dob","formatDate","parseDate","mode","getMinutes","serviceType","serviceColor","color","person","identifier","duration","durationMins","recurring","getAppointment","isSameMonth","cellDate","currentDate","isSame","monthDays","monthStart","monthEnd","endOf","daysInMonth","lastMonth","subtract","nextMonth","days","dayLen","getGender","weekDays","hour","weekAllDays","dailyHours","time12h","split","parseInt","initialState","setHours","getStartDate","getGlobalStore","changeStartDate","updatedDate","setState","setCurrentAppointmentDate","subscribe","toString","apiUrl","defaultFacilityUrl","useSWRImmutable","isOverlayOpen","header","getOverlayStore","launchOverlay","headerTitle","componentToRender","component","useOverlay","overlay","setOverlay","update","useCallback","getState","span","searchBarWrapper","selectPatientAction","AppointmentForm","buttonProps"],"sourceRoot":""}
|
package/dist/574.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[574],{3574:e=>{e.exports=JSON.parse('{"actions":"Actions","add":"Add","addNewAppointment":"Add new appointment","addNewClinicDay":"Add new clinic day","addPatientToQueue":"Add patient to queue","age":"Age","all":"All","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCheckedIn":"Appointment Checked-in","appointmentCheckInError":"Error checking in appointment","appointmentColor":"Appointment color","appointmentDateAndTime":"Appointments Date and Time","appointmentForm":"Appointments Form","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedAsMissed":"It has been successfully marked as Missed","appointmentMetrics":"Appointment metrics","appointmentMetricsLoadError":"","appointmentMissed":"Appointment Missed","appointmentMissedError":"Error marking appointment as Missed","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","appointmentsCalendar":"Appointments Calendar","appointmentScheduled":"Appointment scheduled","appointmentService":"Appointment service","appointmentServiceCreate":"Appointment service created successfully","appointmentServiceName":"Appointment service name","appointmentSuccessfullyCheckedIn":"It has been checked-in successfully","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkInAppointment":"Are you sure you want to mark appointment as Checked-in?","checkinTime":"Check-in time","checkOut":"Check out","chooseProvider":"Select Provider","chooseService":"Select service","comment":"Comment","complete":"Complete","completed":"Completed","count":"Count","createAppointment":"Create appointment","createAppointmentService":"Create appointment services","createNewAppointment":"Create new appointment","daily":"Daily","date":"Date","dateAndTimeOfVisit":"Date and time of visit","dateTime":"Date & time","discard":"Discard","dob":"Dob","download":"Download","durationMins":"Duration min","editAppointment":"Edit Appointment","editAppointments":"Edit Appointment","emptyStateText":"There are no {displayText} to display","encounters":"Encounters","encounterType":"Encounter type","endTime":"End Time","errorMessage":"Error canceling the appointment","filter":"Filter","gender":"Gender","highestServiceVolume":"High volume service: {time}","home":"Home","honored":"Honored","identifier":"Identifier","launchFormUpForm":"Follow up","list":"List","location":"Location","medications":"Medications","missed":"Missed","missingVisitType":"Missing visit type","monthly":"Monthly","name":"Name","next":"Next","no":"No","noAppointmentsScheduledForTodayToDisplay":"There are no appointments scheduled for today to display for this location","noAppointmentsToDisplay":"There are no appointments to display for this location","noEncountersFound":"No encounters found","noMatchingVisitTypeFound":"","noPreviousVisitFound":"No previous visit found","notArrived":"Not arrived","notes":"Notes","or":"or","patientDetails":"Patient Details","patientName":"Patient name","patients":"Patients","patientSearch":"Patient search","phoneNumber":"Phone number","prev":"Prev","provider":"Provider","providers":"Providers","providersAvailableToday":"Providers available: {time}","queueAddedSuccessfully":"","queueEntryError":"Error adding patient to the queue","reasonForChanges":"Reason For Changes","rescheduled":"Rescheduled","revertingAppointmentStatus":"Reverting appointment status","save":"Save","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","search":"Search","searchForAVisitType":"Search for a visit type","seeAllAppointments":"See all appointments","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectFacility":"Select a facility","selectLocation":"Select a location","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","selectServiceType":"Select service type","selectVisitType":"Please select a Visit Type","service":"Service","serviceName":"Service name","serviceType":"Service Type","serviceWorkloadTitle":"","startTime":"Start Time","startVisitError":"Error starting visit","time":"Time","todaysAppointments":"Today\'s Appointments","total":"Total","typeInComments":"Type in appointment comment","undo":"Undo","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","view":"View","viewCalendar":"View Calendar","visitLocation":"Visit Location","visitStarted":"Visit started","visitType":"Visit Type","vitals":"Vitals","weekly":"Weekly","yes":"Yes"}')}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[574],{3574:e=>{e.exports=JSON.parse('{"actions":"Actions","add":"Add","addNewAppointment":"Add new appointment","addNewClinicDay":"Add new clinic day","addPatientToQueue":"Add patient to queue","age":"Age","all":"All","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCheckedIn":"Appointment Checked-in","appointmentCheckInError":"Error checking in appointment","appointmentColor":"Appointment color","appointmentDateAndTime":"Appointments Date and Time","appointmentForm":"Appointments Form","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedAsMissed":"It has been successfully marked as Missed","appointmentMetrics":"Appointment metrics","appointmentMetricsLoadError":"","appointmentMissed":"Appointment Missed","appointmentMissedError":"Error marking appointment as Missed","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","appointmentsCalendar":"Appointments Calendar","appointmentScheduled":"Appointment scheduled","appointmentService":"Appointment service","appointmentServiceCreate":"Appointment service created successfully","appointmentServiceName":"Appointment service name","appointmentSuccessfullyCheckedIn":"It has been checked-in successfully","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkInAppointment":"Are you sure you want to mark appointment as Checked-in?","checkinTime":"Check-in time","checkOut":"Check out","chooseProvider":"Select Provider","chooseService":"Select service","comment":"Comment","complete":"Complete","completed":"Completed","count":"Count","createAppointment":"Create appointment","createAppointmentService":"Create appointment services","createNewAppointment":"Create new appointment","daily":"Daily","date":"Date","dateAndTimeOfVisit":"Date and time of visit","dateTime":"Date & time","discard":"Discard","dob":"Dob","download":"Download","durationMins":"Duration min","editAppointment":"Edit Appointment","editAppointments":"Edit Appointment","emptyStateText":"There are no {displayText} to display","encounters":"Encounters","encounterType":"Encounter type","endTime":"End Time","errorMessage":"Error canceling the appointment","filter":"Filter","gender":"Gender","highestServiceVolume":"High volume service: {time}","home":"Home","honored":"Honored","identifier":"Identifier","launchFormUpForm":"Follow up","list":"List","location":"Location","medications":"Medications","missed":"Missed","missingVisitType":"Missing visit type","monthly":"Monthly","name":"Name","next":"Next","no":"No","noAppointmentsScheduledForTodayToDisplay":"There are no appointments scheduled for today to display for this location","noAppointmentsToDisplay":"There are no appointments to display for this location","noEncountersFound":"No encounters found","noMatchingVisitTypeFound":"","noPreviousVisitFound":"No previous visit found","notArrived":"Not arrived","notes":"Notes","or":"or","patientDetails":"Patient Details","patientName":"Patient name","patients":"Patients","patientSearch":"Patient search","phoneNumber":"Phone number","prev":"Prev","provider":"Provider","providers":"Providers","providersAvailableToday":"Providers available: {time}","queueAddedSuccessfully":"","queueEntryError":"Error adding patient to the queue","reasonForChanges":"Reason For Changes","rescheduled":"Rescheduled","revertingAppointmentStatus":"Reverting appointment status","save":"Save","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","search":"Search","searchForAVisitType":"Search for a visit type","seeAllAppointments":"See all appointments","selectAppointmentLocation":"Select where the appointment will take place","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectFacility":"Select a facility","selectLocation":"Select a location","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","selectServiceType":"Select service type","selectVisitType":"Please select a Visit Type","service":"Service","serviceName":"Service name","serviceType":"Service Type","serviceWorkloadTitle":"","startTime":"Start Time","startVisitError":"Error starting visit","time":"Time","todaysAppointments":"Today\'s Appointments","total":"Total","typeInComments":"Type in appointment comment","undo":"Undo","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","view":"View","viewCalendar":"View Calendar","visitLocation":"Visit Location","visitStarted":"Visit started","visitType":"Visit Type","vitals":"Vitals","weekly":"Weekly","yes":"Yes"}')}}]);
|
package/dist/757.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[757],{2757:e=>{e.exports=JSON.parse('{"actions":"Actions","add":"Add","addNewAppointment":"Add new appointment","addNewClinicDay":"Add new clinic day","addPatientToQueue":"Add patient to queue","age":"Age","all":"All","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment cancelled","appointmentCheckedIn":"Appointment Checked-in","appointmentCheckInError":"Error checking in appointment","appointmentColor":"Appointment color","appointmentDateAndTime":"Appointments Date and Time","appointmentForm":"Create Appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedAsMissed":"It has been successfully marked as Missed","appointmentMetrics":"Appointment metrics","appointmentMetricsLoadError":"Metrics load error","appointmentMissed":"Appointment Missed","appointmentMissedError":"Error marking appointment as Missed","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"appointment","appointmentsCalendar":"Appointments Calendar","appointmentScheduled":"Appointment scheduled","appointmentService":"Appointment service","appointmentServiceCreate":"Appointment service created successfully","appointmentServiceName":"Appointment service name","appointmentSuccessfullyCheckedIn":"It has been checked-in successfully","back":"Back","calendar":"Calendar","cameEarly":"Came early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkInAppointment":"Are you sure you want to mark appointment as Checked-in?","checkinTime":"Check-in time","checkOut":"Check out","chooseProvider":"Select Provider","chooseService":"Select service","comment":"Comment","complete":"Complete","completed":"Completed","count":"Count","createAppointment":"Create appointment","createAppointmentService":"Create appointment service","createNewAppointment":"Create new appointment","daily":"Daily","date":"Date","dateAndTimeOfVisit":"Date and time of visit","dateTime":"Date & time","discard":"Discard","dob":"Dob","download":"Download","durationMins":"Duration min","editAppointment":"Edit Appointment","editAppointments":"Edit Appointment","emptyStateText":"There are no {displayText} to display","encounters":"Encounters","encounterType":"Encounter type","endTime":"End Time","errorMessage":"Error checking in the appointment","filter":"Filter","gender":"Gender","highestServiceVolume":"High volume service: {time}","home":"Home","honored":"Honored","identifier":"Identifier","launchFormUpForm":"Follow up","list":"List","location":"Location","medications":"Medications","missed":"Missed","missingVisitType":"Missing visit type","monthly":"Monthly","name":"Patient Name","next":"Next","no":"No","noAppointmentsScheduledForTodayToDisplay":"There are no appointments scheduled for today to display for this location","noAppointmentsToDisplay":"No appointments to display","noEncountersFound":"No encounters found","noMatchingVisitTypeFound":"","noPreviousVisitFound":"No previous visit found","notArrived":"Not arrived","notes":"Notes","or":"or","patientDetails":"Patient details","patientName":"Patient name","patients":"Patients","patientSearch":"Patient search","phoneNumber":"Phone number","prev":"Prev","provider":"Provider","providers":"Providers","providersAvailableToday":"Providers available: {time}","queueAddedSuccessfully":"","queueEntryError":"Error adding patient to the queue","reasonForChanges":"Reason For Changes","rescheduled":"Rescheduled","revertingAppointmentStatus":"Reverting appointment status","save":"Save","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","search":"Search","searchForAVisitType":"Search for a visit type","seeAllAppointments":"See all appointments","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectFacility":"Select a facility","selectLocation":"Select a location","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","selectServiceType":"Select service type","selectVisitType":"Please select a Visit Type","service":"Service","serviceName":"Service name","serviceType":"Service Type","serviceWorkloadTitle":"","startTime":"Start Time","startVisitError":"Error starting visit","time":"Time","todaysAppointments":"Today\'s Appointments","total":"Total","typeInComments":"Type in appointment comment","undo":"Undo","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","view":"View","viewCalendar":"View Calendar","visitLocation":"Visit Location","visitStarted":"Visit started","visitType":"Visit Type","vitals":"Vitals","weekly":"WeeKly","yes":"Yes"}')}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[757],{2757:e=>{e.exports=JSON.parse('{"actions":"Actions","add":"Add","addNewAppointment":"Add new appointment","addNewClinicDay":"Add new clinic day","addPatientToQueue":"Add patient to queue","age":"Age","all":"All","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment cancelled","appointmentCheckedIn":"Appointment Checked-in","appointmentCheckInError":"Error checking in appointment","appointmentColor":"Appointment color","appointmentDateAndTime":"Appointments Date and Time","appointmentForm":"Create Appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedAsMissed":"It has been successfully marked as Missed","appointmentMetrics":"Appointment metrics","appointmentMetricsLoadError":"Metrics load error","appointmentMissed":"Appointment Missed","appointmentMissedError":"Error marking appointment as Missed","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"appointment","appointmentsCalendar":"Appointments Calendar","appointmentScheduled":"Appointment scheduled","appointmentService":"Appointment service","appointmentServiceCreate":"Appointment service created successfully","appointmentServiceName":"Appointment service name","appointmentSuccessfullyCheckedIn":"It has been checked-in successfully","back":"Back","calendar":"Calendar","cameEarly":"Came early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkInAppointment":"Are you sure you want to mark appointment as Checked-in?","checkinTime":"Check-in time","checkOut":"Check out","chooseProvider":"Select Provider","chooseService":"Select service","comment":"Comment","complete":"Complete","completed":"Completed","count":"Count","createAppointment":"Create appointment","createAppointmentService":"Create appointment service","createNewAppointment":"Create new appointment","daily":"Daily","date":"Date","dateAndTimeOfVisit":"Date and time of visit","dateTime":"Date & time","discard":"Discard","dob":"Dob","download":"Download","durationMins":"Duration min","editAppointment":"Edit Appointment","editAppointments":"Edit Appointment","emptyStateText":"There are no {displayText} to display","encounters":"Encounters","encounterType":"Encounter type","endTime":"End Time","errorMessage":"Error checking in the appointment","filter":"Filter","gender":"Gender","highestServiceVolume":"High volume service: {time}","home":"Home","honored":"Honored","identifier":"Identifier","launchFormUpForm":"Follow up","list":"List","location":"Location","medications":"Medications","missed":"Missed","missingVisitType":"Missing visit type","monthly":"Monthly","name":"Patient Name","next":"Next","no":"No","noAppointmentsScheduledForTodayToDisplay":"There are no appointments scheduled for today to display for this location","noAppointmentsToDisplay":"No appointments to display","noEncountersFound":"No encounters found","noMatchingVisitTypeFound":"","noPreviousVisitFound":"No previous visit found","notArrived":"Not arrived","notes":"Notes","or":"or","patientDetails":"Patient details","patientName":"Patient name","patients":"Patients","patientSearch":"Patient search","phoneNumber":"Phone number","prev":"Prev","provider":"Provider","providers":"Providers","providersAvailableToday":"Providers available: {time}","queueAddedSuccessfully":"","queueEntryError":"Error adding patient to the queue","reasonForChanges":"Reason For Changes","rescheduled":"Rescheduled","revertingAppointmentStatus":"Reverting appointment status","save":"Save","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","search":"Search","searchForAVisitType":"Search for a visit type","seeAllAppointments":"See all appointments","selectAppointmentLocation":"Select where the appointment will take place","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectFacility":"Select a facility","selectLocation":"Select a location","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","selectServiceType":"Select service type","selectVisitType":"Please select a Visit Type","service":"Service","serviceName":"Service name","serviceType":"Service Type","serviceWorkloadTitle":"","startTime":"Start Time","startVisitError":"Error starting visit","time":"Time","todaysAppointments":"Today\'s Appointments","total":"Total","typeInComments":"Type in appointment comment","undo":"Undo","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","view":"View","viewCalendar":"View Calendar","visitLocation":"Visit Location","visitStarted":"Visit started","visitType":"Visit Type","vitals":"Vitals","weekly":"WeeKly","yes":"Yes"}')}}]);
|
package/dist/788.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[788],{8788:e=>{e.exports=JSON.parse('{"actions":"Actions","add":"Add","addNewAppointment":"Add new appointment","addNewClinicDay":"Add new clinic day","addPatientToQueue":"Add patient to queue","age":"Age","all":"All","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment cancelled","appointmentCheckedIn":"Appointment Checked-in","appointmentCheckInError":"Error checking in appointment","appointmentColor":"Appointment color","appointmentDateAndTime":"Appointments Date and Time","appointmentForm":"Create Appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedAsMissed":"It has been successfully marked as Missed","appointmentMetrics":"Appointment metrics","appointmentMetricsLoadError":"Metrics load error","appointmentMissed":"Appointment Missed","appointmentMissedError":"Error marking appointment as Missed","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"appointment","appointmentsCalendar":"Appointments Calendar","appointmentScheduled":"Appointment scheduled","appointmentService":"Appointment service","appointmentServiceCreate":"Appointment service created successfully","appointmentServiceName":"Appointment service name","appointmentSuccessfullyCheckedIn":"It has been checked-in successfully","back":"Back","calendar":"Calendar","cameEarly":"Came early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkInAppointment":"Are you sure you want to mark appointment as Checked-in?","checkinTime":"Check-in time","checkOut":"Check out","chooseProvider":"Select Provider","chooseService":"Select service","comment":"Comment","complete":"Complete","completed":"Completed","count":"Count","createAppointment":"Create appointment","createAppointmentService":"Create appointment service","createNewAppointment":"Create new appointment","daily":"Daily","date":"Date","dateAndTimeOfVisit":"Date and time of visit","dateTime":"Date & time","discard":"Discard","dob":"Dob","download":"Download","durationMins":"Duration min","editAppointment":"Edit Appointment","editAppointments":"Edit Appointment","emptyStateText":"There are no {displayText} to display","encounters":"Encounters","encounterType":"Encounter type","endTime":"End Time","errorMessage":"Error checking in the appointment","filter":"Filter","gender":"Gender","highestServiceVolume":"High volume service: {time}","home":"Home","honored":"Honored","identifier":"Identifier","launchFormUpForm":"Follow up","list":"List","location":"Location","medications":"Medications","missed":"Missed","missingVisitType":"Missing visit type","monthly":"Monthly","name":"Patient Name","next":"Next","no":"No","noAppointmentsScheduledForTodayToDisplay":"There are no appointments scheduled for today to display for this location","noAppointmentsToDisplay":"No appointments to display","noEncountersFound":"No encounters found","noMatchingVisitTypeFound":"","noPreviousVisitFound":"No previous visit found","notArrived":"Not arrived","notes":"Notes","or":"or","patientDetails":"Patient details","patientName":"Patient name","patients":"Patients","patientSearch":"Patient search","phoneNumber":"Phone number","prev":"Prev","provider":"Provider","providers":"Providers","providersAvailableToday":"Providers available: {time}","queueAddedSuccessfully":"","queueEntryError":"Error adding patient to the queue","reasonForChanges":"Reason For Changes","rescheduled":"Rescheduled","revertingAppointmentStatus":"Reverting appointment status","save":"Save","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","search":"Search","searchForAVisitType":"Search for a visit type","seeAllAppointments":"See all appointments","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectFacility":"Select a facility","selectLocation":"Select a location","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","selectServiceType":"Select service type","selectVisitType":"Please select a Visit Type","service":"Service","serviceName":"Service name","serviceType":"Service Type","serviceWorkloadTitle":"","startTime":"Start Time","startVisitError":"Error starting visit","time":"Time","todaysAppointments":"Today\'s Appointments","total":"Total","typeInComments":"Type in appointment comment","undo":"Undo","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","view":"View","viewCalendar":"View Calendar","visitLocation":"Visit Location","visitStarted":"Visit started","visitType":"Visit Type","vitals":"Vitals","weekly":"WeeKly","yes":"Yes"}')}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[788],{8788:e=>{e.exports=JSON.parse('{"actions":"Actions","add":"Add","addNewAppointment":"Add new appointment","addNewClinicDay":"Add new clinic day","addPatientToQueue":"Add patient to queue","age":"Age","all":"All","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment cancelled","appointmentCheckedIn":"Appointment Checked-in","appointmentCheckInError":"Error checking in appointment","appointmentColor":"Appointment color","appointmentDateAndTime":"Appointments Date and Time","appointmentForm":"Create Appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedAsMissed":"It has been successfully marked as Missed","appointmentMetrics":"Appointment metrics","appointmentMetricsLoadError":"Metrics load error","appointmentMissed":"Appointment Missed","appointmentMissedError":"Error marking appointment as Missed","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"appointment","appointmentsCalendar":"Appointments Calendar","appointmentScheduled":"Appointment scheduled","appointmentService":"Appointment service","appointmentServiceCreate":"Appointment service created successfully","appointmentServiceName":"Appointment service name","appointmentSuccessfullyCheckedIn":"It has been checked-in successfully","back":"Back","calendar":"Calendar","cameEarly":"Came early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkInAppointment":"Are you sure you want to mark appointment as Checked-in?","checkinTime":"Check-in time","checkOut":"Check out","chooseProvider":"Select Provider","chooseService":"Select service","comment":"Comment","complete":"Complete","completed":"Completed","count":"Count","createAppointment":"Create appointment","createAppointmentService":"Create appointment service","createNewAppointment":"Create new appointment","daily":"Daily","date":"Date","dateAndTimeOfVisit":"Date and time of visit","dateTime":"Date & time","discard":"Discard","dob":"Dob","download":"Download","durationMins":"Duration min","editAppointment":"Edit Appointment","editAppointments":"Edit Appointment","emptyStateText":"There are no {displayText} to display","encounters":"Encounters","encounterType":"Encounter type","endTime":"End Time","errorMessage":"Error checking in the appointment","filter":"Filter","gender":"Gender","highestServiceVolume":"High volume service: {time}","home":"Home","honored":"Honored","identifier":"Identifier","launchFormUpForm":"Follow up","list":"List","location":"Location","medications":"Medications","missed":"Missed","missingVisitType":"Missing visit type","monthly":"Monthly","name":"Patient Name","next":"Next","no":"No","noAppointmentsScheduledForTodayToDisplay":"There are no appointments scheduled for today to display for this location","noAppointmentsToDisplay":"No appointments to display","noEncountersFound":"No encounters found","noMatchingVisitTypeFound":"","noPreviousVisitFound":"No previous visit found","notArrived":"Not arrived","notes":"Notes","or":"or","patientDetails":"Patient details","patientName":"Patient name","patients":"Patients","patientSearch":"Patient search","phoneNumber":"Phone number","prev":"Prev","provider":"Provider","providers":"Providers","providersAvailableToday":"Providers available: {time}","queueAddedSuccessfully":"","queueEntryError":"Error adding patient to the queue","reasonForChanges":"Reason For Changes","rescheduled":"Rescheduled","revertingAppointmentStatus":"Reverting appointment status","save":"Save","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","search":"Search","searchForAVisitType":"Search for a visit type","seeAllAppointments":"See all appointments","selectAppointmentLocation":"Select where the appointment will take place","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectFacility":"Select a facility","selectLocation":"Select a location","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","selectServiceType":"Select service type","selectVisitType":"Please select a Visit Type","service":"Service","serviceName":"Service name","serviceType":"Service Type","serviceWorkloadTitle":"","startTime":"Start Time","startVisitError":"Error starting visit","time":"Time","todaysAppointments":"Today\'s Appointments","total":"Total","typeInComments":"Type in appointment comment","undo":"Undo","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","view":"View","viewCalendar":"View Calendar","visitLocation":"Visit Location","visitStarted":"Visit started","visitType":"Visit Type","vitals":"Vitals","weekly":"WeeKly","yes":"Yes"}')}}]);
|
package/dist/807.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[807],{7807:e=>{e.exports=JSON.parse('{"actions":"សកម្មភាព","add":"Add","addNewAppointment":"បន្ថែមការណាត់ជួបថ្មី","addNewClinicDay":"បន្ថែមថ្ងៃគ្លីនិកថ្មី","addPatientToQueue":"បន្ថែមអ្នកជំងឺទៅក្នុងជួរ","age":"Age","all":"ទាំងអស់","appointmentCancelError":"កំហុសក្នុងការបោះបង់ការណាត់ជួប","appointmentCancelled":"ការណាត់ជួបត្រូវបានលុបចោល","appointmentCheckedIn":"Appointment Checked-in","appointmentCheckInError":"Error checking in appointment","appointmentColor":"ពណ៌ណាត់ជួប","appointmentDateAndTime":"កាលបរិច្ឆេទ និងពេលវេលាណាត់ជួប","appointmentForm":"ទម្រង់នៃការណាត់ជួប","appointmentFormError":"កំហុសក្នុងការកំណត់ពេលណាត់ជួប","appointmentHistory":"ប្រវត្តិនៃការណាត់ជួប","appointmentMarkedAsMissed":"វាត្រូវបានសម្គាល់ដោយជោគជ័យថាបានខកខាន","appointmentMetrics":"មាត្រដ្ឋានណាត់ជួប","appointmentMetricsLoadError":"","appointmentMissed":"ខកខានការណាត់ជួប","appointmentMissedError":"កំហុសក្នុងការសម្គាល់ការណាត់ជួបថាបានខកខាន","appointmentNotes":"កំណត់សម្គាល់ការណាត់ជួប","appointmentNowVisible":"ឥឡូវនេះវាអាចមើលឃើញនៅលើទំព័រណាត់ជួប","appointments":"ការណាត់ជួប","appointmentsCalendar":"Appointments Calendar","appointmentScheduled":"ការណាត់ជួបតាមកាលវិភាគ","appointmentService":"សេវាកម្មណាត់ជួប","appointmentServiceCreate":"សេវាកម្មណាត់ជួបត្រូវបានបង្កើតដោយជោគជ័យ","appointmentServiceName":"ឈ្មោះសេវាកម្មណាត់ជួប","appointmentSuccessfullyCheckedIn":"It has been checked-in successfully","back":"Back","calendar":"ប្រតិទិន","cameEarly":"Came early","cancel":"បោះបង់","cancelAppointment":"បោះបង់ការណាត់ជួប","cancelled":"បានលុបចោល","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"ពិនិត្យតម្រងខាងលើ","checkIn":"កត់ឈ្មោះចូល","checkInAppointment":"Are you sure you want to mark appointment as Checked-in?","checkinTime":"Check-in time","checkOut":"Check out","chooseProvider":"ជ្រើសរើសអ្នកផ្តល់សេវា","chooseService":"ជ្រើសរើសសេវាកម្ម","comment":"Comment","complete":"បានបំពេញសព្វគ្រប់","completed":"បានបញ្ចប់","count":"Count","createAppointment":"Create appointment","createAppointmentService":"បង្កើតសេវាកម្មណាត់ជួប","createNewAppointment":"Create new appointment","daily":"ប្រចាំថ្ងៃ","date":"កាលបរិច្ឆេទ","dateAndTimeOfVisit":"កាលបរិច្ឆេទនិងពេលវេលានៃការមកពិនិត្យជំងឺ","dateTime":"កាលបរិច្ឆេទ និងពេលណាត់ជួប","discard":"បោះបង់","dob":"Dob","download":"Download","durationMins":"រយៈពេលអប្បបរមា","editAppointment":"កែសម្រួលការណាត់ជួប","editAppointments":"Edit Appointment","emptyStateText":"There are no {displayText} to display","encounters":"ការជួប","encounterType":"ប្រភេទជួប","endTime":"ពេលវេលាបញ្ចប់","errorMessage":"កំហុសក្នុងការលុបចោលការណាត់ជួប","filter":"តម្រង","gender":"Gender","highestServiceVolume":"ចំនួនមកទទួលសេវាកម្មខ្ពស់ {ពេលវេលា}","home":"Home","honored":"Honored","identifier":"អ្នកកំណត់អត្តសញ្ញាណ","launchFormUpForm":"Follow up","list":"List","location":"ទីតាំង","medications":"ថ្នាំ","missed":"ខកខាន","missingVisitType":"បាត់ប្រភេទនៃការមកពិនិត្យជំងឺ","monthly":"ប្រចាំខែ","name":"ឈ្មោះ","next":"Next","no":"No","noAppointmentsScheduledForTodayToDisplay":"There are no appointments scheduled for today to display for this location","noAppointmentsToDisplay":"មិនមានការណាត់ជួបដើម្បីបង្ហាញសម្រាប់ទីតាំងនេះទេ","noEncountersFound":"រកមិនឃើញការជួបគ្នាទេ។","noMatchingVisitTypeFound":"","noPreviousVisitFound":"រកមិនឃើញការមកពិនិត្យពីលើកមុនទេ។","notArrived":"Not arrived","notes":"កំណត់ចំណាំ","or":"ឬ","patientDetails":"ព័ត៌មានលម្អិតអ្នកជំងឺ","patientName":"ឈ្មោះអ្នកជំងឺ","patients":"អ្នកជំងឺ","patientSearch":"Patient search","phoneNumber":"Phone number","prev":"Prev","provider":"អ្នកផ្តល់សេវា","providers":"អ្នកផ្តល់សេវា","providersAvailableToday":"អ្នកផ្តល់សេវាមាន៖ {ពេលវេលា}","queueAddedSuccessfully":"","queueEntryError":"កំហុសក្នុងការបន្ថែមអ្នកជំងឺទៅជួរ","reasonForChanges":"ហេតុផលសម្រាប់ការផ្លាស់ប្តូរ","rescheduled":"Rescheduled","revertingAppointmentStatus":"Reverting appointment status","save":"រក្សាទុក","scheduled":"បានកំណត់ពេល","scheduledAppointments":"ការណាត់ជួបតាមកាលវិភាគ","search":"ស្វែងរក","searchForAVisitType":"ស្វែងរកប្រភេទនៃការមកពិនិត្យជំងឺ","seeAllAppointments":"See all appointments","selectAppointmentStatus":"ជ្រើសរើសស្ថានភាព","selectAppointmentType":"ជ្រើសរើសប្រភេទការណាត់ជួប","selectFacility":"Select a facility","selectLocation":"ជ្រើសរើសទីតាំង","selectOption":"Select an option","selectProvider":"ជ្រើសរើសអ្នកផ្តល់សេវា","selectService":"ជ្រើសរើសសេវាកម្ម","selectServiceType":"Select service type","selectVisitType":"សូមជ្រើសរើសប្រភេទការពិនិត្យជំងឺ","service":"សេវាកម្ម","serviceName":"Service name","serviceType":"ប្រភេទសេវាកម្ម","serviceWorkloadTitle":"","startTime":"ពេលវេលាចាប់ផ្តើម","startVisitError":"កំហុសក្នុងការចាប់ផ្តើមការមកពិនិត្យជំងឺ","time":"ពេលវេលា","todaysAppointments":"ការណាត់ជួបថ្ងៃនេះ","total":"Total","typeInComments":"Type in appointment comment","undo":"Undo","unscheduled":"មិនបានគ្រោងទុក","unscheduledAppointments":"ការណាត់ជួបដែលមិនបានគ្រោងទុក","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","view":"ពិនិត្យមើល","viewCalendar":"ពិនិត្យមើលប្រតិទិន","visitLocation":"ទីតាំងមកពិនិត្យ","visitStarted":"Visit started","visitType":"ប្រភេទនៃការមកពិនិត្យជំងឺ","vitals":"សញ្ញាជីវិត","weekly":"ប្រចាំសប្តាហ៍","yes":"Yes"}')}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[807],{7807:e=>{e.exports=JSON.parse('{"actions":"សកម្មភាព","add":"Add","addNewAppointment":"បន្ថែមការណាត់ជួបថ្មី","addNewClinicDay":"បន្ថែមថ្ងៃគ្លីនិកថ្មី","addPatientToQueue":"បន្ថែមអ្នកជំងឺទៅក្នុងជួរ","age":"Age","all":"ទាំងអស់","appointmentCancelError":"កំហុសក្នុងការបោះបង់ការណាត់ជួប","appointmentCancelled":"ការណាត់ជួបត្រូវបានលុបចោល","appointmentCheckedIn":"Appointment Checked-in","appointmentCheckInError":"Error checking in appointment","appointmentColor":"ពណ៌ណាត់ជួប","appointmentDateAndTime":"កាលបរិច្ឆេទ និងពេលវេលាណាត់ជួប","appointmentForm":"ទម្រង់នៃការណាត់ជួប","appointmentFormError":"កំហុសក្នុងការកំណត់ពេលណាត់ជួប","appointmentHistory":"ប្រវត្តិនៃការណាត់ជួប","appointmentMarkedAsMissed":"វាត្រូវបានសម្គាល់ដោយជោគជ័យថាបានខកខាន","appointmentMetrics":"មាត្រដ្ឋានណាត់ជួប","appointmentMetricsLoadError":"","appointmentMissed":"ខកខានការណាត់ជួប","appointmentMissedError":"កំហុសក្នុងការសម្គាល់ការណាត់ជួបថាបានខកខាន","appointmentNotes":"កំណត់សម្គាល់ការណាត់ជួប","appointmentNowVisible":"ឥឡូវនេះវាអាចមើលឃើញនៅលើទំព័រណាត់ជួប","appointments":"ការណាត់ជួប","appointmentsCalendar":"Appointments Calendar","appointmentScheduled":"ការណាត់ជួបតាមកាលវិភាគ","appointmentService":"សេវាកម្មណាត់ជួប","appointmentServiceCreate":"សេវាកម្មណាត់ជួបត្រូវបានបង្កើតដោយជោគជ័យ","appointmentServiceName":"ឈ្មោះសេវាកម្មណាត់ជួប","appointmentSuccessfullyCheckedIn":"It has been checked-in successfully","back":"Back","calendar":"ប្រតិទិន","cameEarly":"Came early","cancel":"បោះបង់","cancelAppointment":"បោះបង់ការណាត់ជួប","cancelled":"បានលុបចោល","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"ពិនិត្យតម្រងខាងលើ","checkIn":"កត់ឈ្មោះចូល","checkInAppointment":"Are you sure you want to mark appointment as Checked-in?","checkinTime":"Check-in time","checkOut":"Check out","chooseProvider":"ជ្រើសរើសអ្នកផ្តល់សេវា","chooseService":"ជ្រើសរើសសេវាកម្ម","comment":"Comment","complete":"បានបំពេញសព្វគ្រប់","completed":"បានបញ្ចប់","count":"Count","createAppointment":"Create appointment","createAppointmentService":"បង្កើតសេវាកម្មណាត់ជួប","createNewAppointment":"Create new appointment","daily":"ប្រចាំថ្ងៃ","date":"កាលបរិច្ឆេទ","dateAndTimeOfVisit":"កាលបរិច្ឆេទនិងពេលវេលានៃការមកពិនិត្យជំងឺ","dateTime":"កាលបរិច្ឆេទ និងពេលណាត់ជួប","discard":"បោះបង់","dob":"Dob","download":"Download","durationMins":"រយៈពេលអប្បបរមា","editAppointment":"កែសម្រួលការណាត់ជួប","editAppointments":"Edit Appointment","emptyStateText":"There are no {displayText} to display","encounters":"ការជួប","encounterType":"ប្រភេទជួប","endTime":"ពេលវេលាបញ្ចប់","errorMessage":"កំហុសក្នុងការលុបចោលការណាត់ជួប","filter":"តម្រង","gender":"Gender","highestServiceVolume":"ចំនួនមកទទួលសេវាកម្មខ្ពស់ {ពេលវេលា}","home":"Home","honored":"Honored","identifier":"អ្នកកំណត់អត្តសញ្ញាណ","launchFormUpForm":"Follow up","list":"List","location":"ទីតាំង","medications":"ថ្នាំ","missed":"ខកខាន","missingVisitType":"បាត់ប្រភេទនៃការមកពិនិត្យជំងឺ","monthly":"ប្រចាំខែ","name":"ឈ្មោះ","next":"Next","no":"No","noAppointmentsScheduledForTodayToDisplay":"There are no appointments scheduled for today to display for this location","noAppointmentsToDisplay":"មិនមានការណាត់ជួបដើម្បីបង្ហាញសម្រាប់ទីតាំងនេះទេ","noEncountersFound":"រកមិនឃើញការជួបគ្នាទេ។","noMatchingVisitTypeFound":"","noPreviousVisitFound":"រកមិនឃើញការមកពិនិត្យពីលើកមុនទេ។","notArrived":"Not arrived","notes":"កំណត់ចំណាំ","or":"ឬ","patientDetails":"ព័ត៌មានលម្អិតអ្នកជំងឺ","patientName":"ឈ្មោះអ្នកជំងឺ","patients":"អ្នកជំងឺ","patientSearch":"Patient search","phoneNumber":"Phone number","prev":"Prev","provider":"អ្នកផ្តល់សេវា","providers":"អ្នកផ្តល់សេវា","providersAvailableToday":"អ្នកផ្តល់សេវាមាន៖ {ពេលវេលា}","queueAddedSuccessfully":"","queueEntryError":"កំហុសក្នុងការបន្ថែមអ្នកជំងឺទៅជួរ","reasonForChanges":"ហេតុផលសម្រាប់ការផ្លាស់ប្តូរ","rescheduled":"Rescheduled","revertingAppointmentStatus":"Reverting appointment status","save":"រក្សាទុក","scheduled":"បានកំណត់ពេល","scheduledAppointments":"ការណាត់ជួបតាមកាលវិភាគ","search":"ស្វែងរក","searchForAVisitType":"ស្វែងរកប្រភេទនៃការមកពិនិត្យជំងឺ","seeAllAppointments":"See all appointments","selectAppointmentLocation":"ជ្រើសរើសកន្លែងដែលការណាត់ជួបនឹងប្រព្រឹត្តទៅ","selectAppointmentStatus":"ជ្រើសរើសស្ថានភាព","selectAppointmentType":"ជ្រើសរើសប្រភេទការណាត់ជួប","selectFacility":"Select a facility","selectLocation":"ជ្រើសរើសទីតាំង","selectOption":"Select an option","selectProvider":"ជ្រើសរើសអ្នកផ្តល់សេវា","selectService":"ជ្រើសរើសសេវាកម្ម","selectServiceType":"Select service type","selectVisitType":"សូមជ្រើសរើសប្រភេទការពិនិត្យជំងឺ","service":"សេវាកម្ម","serviceName":"Service name","serviceType":"ប្រភេទសេវាកម្ម","serviceWorkloadTitle":"","startTime":"ពេលវេលាចាប់ផ្តើម","startVisitError":"កំហុសក្នុងការចាប់ផ្តើមការមកពិនិត្យជំងឺ","time":"ពេលវេលា","todaysAppointments":"ការណាត់ជួបថ្ងៃនេះ","total":"Total","typeInComments":"Type in appointment comment","undo":"Undo","unscheduled":"មិនបានគ្រោងទុក","unscheduledAppointments":"ការណាត់ជួបដែលមិនបានគ្រោងទុក","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","view":"ពិនិត្យមើល","viewCalendar":"ពិនិត្យមើលប្រតិទិន","visitLocation":"ទីតាំងមកពិនិត្យ","visitStarted":"Visit started","visitType":"ប្រភេទនៃការមកពិនិត្យជំងឺ","vitals":"សញ្ញាជីវិត","weekly":"ប្រចាំសប្តាហ៍","yes":"Yes"}')}}]);
|
package/dist/833.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[833],{5833:e=>{e.exports=JSON.parse('{"actions":"פעולות","add":"Add","addNewAppointment":"הוספת תור חדש","addNewClinicDay":"הוספת יום קליניקה חדש","addPatientToQueue":"הוספת מטופל לתור","age":"Age","all":"הכל","appointmentCancelError":"שגיאה בביטול התור","appointmentCancelled":"התור בוטל","appointmentCheckedIn":"Appointment Checked-in","appointmentCheckInError":"Error checking in appointment","appointmentColor":"צבע התור","appointmentDateAndTime":"תאריך ושעת התור","appointmentForm":"טופס התור","appointmentFormError":"שגיאה בתזמון התור","appointmentHistory":"היסטוריית התורים","appointmentMarkedAsMissed":"סומן בהצלחה כנעדר","appointmentMetrics":"מדדי התורים","appointmentMetricsLoadError":"Metrics load error","appointmentMissed":"התור נעדר","appointmentMissedError":"שגיאה בסימון התור כנעדר","appointmentNotes":"הערות לתור","appointmentNowVisible":"התור כעת נראה בעמוד התורים","appointments":"תורים","appointmentsCalendar":"Appointments Calendar","appointmentScheduled":"התור נקבע","appointmentService":"שירות התור","appointmentServiceCreate":"שירות התור נוצר בהצלחה","appointmentServiceName":"שם שירות התור","appointmentSuccessfullyCheckedIn":"It has been checked-in successfully","back":"Back","calendar":"לוח שנה","cameEarly":"Came early","cancel":"ביטול","cancelAppointment":"ביטול תור","cancelled":"בוטל","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"בדוק את המסננים למעלה","checkIn":"הרשמה","checkInAppointment":"Are you sure you want to mark appointment as Checked-in?","checkinTime":"Check-in time","checkOut":"Check out","chooseProvider":"בחירת ספק","chooseService":"בחירת שירות","comment":"Comment","complete":"השלמה","completed":"הושלם","count":"Count","createAppointment":"Create appointment","createAppointmentService":"יצירת שירותי תורים","createNewAppointment":"Create new appointment","daily":"יומי","date":"תאריך","dateAndTimeOfVisit":"תאריך ושעת הביקור","dateTime":"תאריך ושעה","discard":"סגירה מבלי לשמור","dob":"Dob","download":"Download","durationMins":"משך בדקות","editAppointment":"עריכת תור","editAppointments":"Edit Appointment","emptyStateText":"There are no {displayText} to display","encounters":"פגישות","encounterType":"סוג הפגישה","endTime":"שעת סיום","errorMessage":"שגיאה בביטול התור","filter":"סינון","gender":"Gender","highestServiceVolume":"נפח שירות גבוה: {time}","home":"Home","honored":"Honored","identifier":"מזהה","launchFormUpForm":"Follow up","list":"List","location":"מיקום","medications":"תרופות","missed":"לא התקיים","missingVisitType":"סוג ביקור חסר","monthly":"חודשי","name":"שם","next":"Next","no":"No","noAppointmentsScheduledForTodayToDisplay":"There are no appointments scheduled for today to display for this location","noAppointmentsToDisplay":"אין תורים להצגה עבור מיקום זה","noEncountersFound":"לא נמצאו פגישות","noMatchingVisitTypeFound":"","noPreviousVisitFound":"לא נמצא ביקור קודם","notArrived":"Not arrived","notes":"הערות","or":"או","patientDetails":"פרטי המטופל","patientName":"שם המטופל","patients":"מטופלים","patientSearch":"Patient search","phoneNumber":"Phone number","prev":"Prev","provider":"ספק","providers":"ספקים","providersAvailableToday":"ספקים זמינים: {time}","queueAddedSuccessfully":"","queueEntryError":"שגיאה בהוספת המטופל לתור","reasonForChanges":"סיבת השינויים","rescheduled":"Rescheduled","revertingAppointmentStatus":"Reverting appointment status","save":"שמירה","scheduled":"מתוזמן","scheduledAppointments":"תורים מתוזמנים","search":"חיפוש","searchForAVisitType":"חיפוש סוג ביקור","seeAllAppointments":"See all appointments","selectAppointmentStatus":"בחר סטטוס","selectAppointmentType":"בחר סוג תור","selectFacility":"Select a facility","selectLocation":"בחר מיקום","selectOption":"Select an option","selectProvider":"בחר ספק","selectService":"בחר שירות","selectServiceType":"Select service type","selectVisitType":"בחר סוג ביקור","service":"שירות","serviceName":"Service name","serviceType":"סוג השירות","serviceWorkloadTitle":"","startTime":"שעת התחלה","startVisitError":"שגיאה בהתחלת הביקור","time":"זמן","todaysAppointments":"תורים להיום","total":"Total","typeInComments":"Type in appointment comment","undo":"Undo","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","view":"הצג","viewCalendar":"הצג לוח שנה","visitLocation":"מיקום הביקור","visitStarted":"Visit started","visitType":"סוג הביקור","vitals":"מדדים","weekly":"שבועי","yes":"Yes"}')}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[]).push([[833],{5833:e=>{e.exports=JSON.parse('{"actions":"פעולות","add":"Add","addNewAppointment":"הוספת תור חדש","addNewClinicDay":"הוספת יום קליניקה חדש","addPatientToQueue":"הוספת מטופל לתור","age":"Age","all":"הכל","appointmentCancelError":"שגיאה בביטול התור","appointmentCancelled":"התור בוטל","appointmentCheckedIn":"Appointment Checked-in","appointmentCheckInError":"Error checking in appointment","appointmentColor":"צבע התור","appointmentDateAndTime":"תאריך ושעת התור","appointmentForm":"טופס התור","appointmentFormError":"שגיאה בתזמון התור","appointmentHistory":"היסטוריית התורים","appointmentMarkedAsMissed":"סומן בהצלחה כנעדר","appointmentMetrics":"מדדי התורים","appointmentMetricsLoadError":"Metrics load error","appointmentMissed":"התור נעדר","appointmentMissedError":"שגיאה בסימון התור כנעדר","appointmentNotes":"הערות לתור","appointmentNowVisible":"התור כעת נראה בעמוד התורים","appointments":"תורים","appointmentsCalendar":"Appointments Calendar","appointmentScheduled":"התור נקבע","appointmentService":"שירות התור","appointmentServiceCreate":"שירות התור נוצר בהצלחה","appointmentServiceName":"שם שירות התור","appointmentSuccessfullyCheckedIn":"It has been checked-in successfully","back":"Back","calendar":"לוח שנה","cameEarly":"Came early","cancel":"ביטול","cancelAppointment":"ביטול תור","cancelled":"בוטל","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"בדוק את המסננים למעלה","checkIn":"הרשמה","checkInAppointment":"Are you sure you want to mark appointment as Checked-in?","checkinTime":"Check-in time","checkOut":"Check out","chooseProvider":"בחירת ספק","chooseService":"בחירת שירות","comment":"Comment","complete":"השלמה","completed":"הושלם","count":"Count","createAppointment":"Create appointment","createAppointmentService":"יצירת שירותי תורים","createNewAppointment":"Create new appointment","daily":"יומי","date":"תאריך","dateAndTimeOfVisit":"תאריך ושעת הביקור","dateTime":"תאריך ושעה","discard":"סגירה מבלי לשמור","dob":"Dob","download":"Download","durationMins":"משך בדקות","editAppointment":"עריכת תור","editAppointments":"Edit Appointment","emptyStateText":"There are no {displayText} to display","encounters":"פגישות","encounterType":"סוג הפגישה","endTime":"שעת סיום","errorMessage":"שגיאה בביטול התור","filter":"סינון","gender":"Gender","highestServiceVolume":"נפח שירות גבוה: {time}","home":"Home","honored":"Honored","identifier":"מזהה","launchFormUpForm":"Follow up","list":"List","location":"מיקום","medications":"תרופות","missed":"לא התקיים","missingVisitType":"סוג ביקור חסר","monthly":"חודשי","name":"שם","next":"Next","no":"No","noAppointmentsScheduledForTodayToDisplay":"There are no appointments scheduled for today to display for this location","noAppointmentsToDisplay":"אין תורים להצגה עבור מיקום זה","noEncountersFound":"לא נמצאו פגישות","noMatchingVisitTypeFound":"","noPreviousVisitFound":"לא נמצא ביקור קודם","notArrived":"Not arrived","notes":"הערות","or":"או","patientDetails":"פרטי המטופל","patientName":"שם המטופל","patients":"מטופלים","patientSearch":"Patient search","phoneNumber":"Phone number","prev":"Prev","provider":"ספק","providers":"ספקים","providersAvailableToday":"ספקים זמינים: {time}","queueAddedSuccessfully":"","queueEntryError":"שגיאה בהוספת המטופל לתור","reasonForChanges":"סיבת השינויים","rescheduled":"Rescheduled","revertingAppointmentStatus":"Reverting appointment status","save":"שמירה","scheduled":"מתוזמן","scheduledAppointments":"תורים מתוזמנים","search":"חיפוש","searchForAVisitType":"חיפוש סוג ביקור","seeAllAppointments":"See all appointments","selectAppointmentLocation":"בחר את מקום התור","selectAppointmentStatus":"בחר סטטוס","selectAppointmentType":"בחר סוג תור","selectFacility":"Select a facility","selectLocation":"בחר מיקום","selectOption":"Select an option","selectProvider":"בחר ספק","selectService":"בחר שירות","selectServiceType":"Select service type","selectVisitType":"בחר סוג ביקור","service":"שירות","serviceName":"Service name","serviceType":"סוג השירות","serviceWorkloadTitle":"","startTime":"שעת התחלה","startVisitError":"שגיאה בהתחלת הביקור","time":"זמן","todaysAppointments":"תורים להיום","total":"Total","typeInComments":"Type in appointment comment","undo":"Undo","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","view":"הצג","viewCalendar":"הצג לוח שנה","visitLocation":"מיקום הביקור","visitStarted":"Visit started","visitType":"סוג הביקור","vitals":"מדדים","weekly":"שבועי","yes":"Yes"}')}}]);
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"auxiliaryFiles": [
|
|
77
77
|
"main.js.map"
|
|
78
78
|
],
|
|
79
|
-
"hash": "
|
|
79
|
+
"hash": "0f6a80ca7cc83229",
|
|
80
80
|
"childrenByOrder": {}
|
|
81
81
|
},
|
|
82
82
|
{
|
|
@@ -157,9 +157,9 @@
|
|
|
157
157
|
"initial": false,
|
|
158
158
|
"entry": false,
|
|
159
159
|
"recorded": false,
|
|
160
|
-
"size":
|
|
160
|
+
"size": 5127,
|
|
161
161
|
"sizes": {
|
|
162
|
-
"javascript":
|
|
162
|
+
"javascript": 5127
|
|
163
163
|
},
|
|
164
164
|
"names": [],
|
|
165
165
|
"idHints": [],
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"319.js"
|
|
172
172
|
],
|
|
173
173
|
"auxiliaryFiles": [],
|
|
174
|
-
"hash": "
|
|
174
|
+
"hash": "a7274ecf741deaf4",
|
|
175
175
|
"childrenByOrder": {}
|
|
176
176
|
},
|
|
177
177
|
{
|
|
@@ -180,9 +180,9 @@
|
|
|
180
180
|
"entry": false,
|
|
181
181
|
"recorded": false,
|
|
182
182
|
"reason": "split chunk (cache group: default)",
|
|
183
|
-
"size":
|
|
183
|
+
"size": 87739,
|
|
184
184
|
"sizes": {
|
|
185
|
-
"javascript":
|
|
185
|
+
"javascript": 87739
|
|
186
186
|
},
|
|
187
187
|
"names": [],
|
|
188
188
|
"idHints": [],
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"auxiliaryFiles": [
|
|
197
197
|
"328.js.map"
|
|
198
198
|
],
|
|
199
|
-
"hash": "
|
|
199
|
+
"hash": "e11c16eaebc9c00c",
|
|
200
200
|
"childrenByOrder": {}
|
|
201
201
|
},
|
|
202
202
|
{
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
"auxiliaryFiles": [
|
|
245
245
|
"437.js.map"
|
|
246
246
|
],
|
|
247
|
-
"hash": "
|
|
247
|
+
"hash": "3b506f057fc807f8",
|
|
248
248
|
"childrenByOrder": {}
|
|
249
249
|
},
|
|
250
250
|
{
|
|
@@ -352,9 +352,9 @@
|
|
|
352
352
|
"initial": false,
|
|
353
353
|
"entry": false,
|
|
354
354
|
"recorded": false,
|
|
355
|
-
"size":
|
|
355
|
+
"size": 4979,
|
|
356
356
|
"sizes": {
|
|
357
|
-
"javascript":
|
|
357
|
+
"javascript": 4979
|
|
358
358
|
},
|
|
359
359
|
"names": [],
|
|
360
360
|
"idHints": [],
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
"574.js"
|
|
367
367
|
],
|
|
368
368
|
"auxiliaryFiles": [],
|
|
369
|
-
"hash": "
|
|
369
|
+
"hash": "be04d52cb00741d8",
|
|
370
370
|
"childrenByOrder": {}
|
|
371
371
|
},
|
|
372
372
|
{
|
|
@@ -476,9 +476,9 @@
|
|
|
476
476
|
"initial": false,
|
|
477
477
|
"entry": false,
|
|
478
478
|
"recorded": false,
|
|
479
|
-
"size":
|
|
479
|
+
"size": 4978,
|
|
480
480
|
"sizes": {
|
|
481
|
-
"javascript":
|
|
481
|
+
"javascript": 4978
|
|
482
482
|
},
|
|
483
483
|
"names": [],
|
|
484
484
|
"idHints": [],
|
|
@@ -490,7 +490,7 @@
|
|
|
490
490
|
"757.js"
|
|
491
491
|
],
|
|
492
492
|
"auxiliaryFiles": [],
|
|
493
|
-
"hash": "
|
|
493
|
+
"hash": "44b08f672c17a00d",
|
|
494
494
|
"childrenByOrder": {}
|
|
495
495
|
},
|
|
496
496
|
{
|
|
@@ -522,9 +522,9 @@
|
|
|
522
522
|
"initial": false,
|
|
523
523
|
"entry": false,
|
|
524
524
|
"recorded": false,
|
|
525
|
-
"size":
|
|
525
|
+
"size": 4978,
|
|
526
526
|
"sizes": {
|
|
527
|
-
"javascript":
|
|
527
|
+
"javascript": 4978
|
|
528
528
|
},
|
|
529
529
|
"names": [],
|
|
530
530
|
"idHints": [],
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
"788.js"
|
|
537
537
|
],
|
|
538
538
|
"auxiliaryFiles": [],
|
|
539
|
-
"hash": "
|
|
539
|
+
"hash": "50eaa80a08836030",
|
|
540
540
|
"childrenByOrder": {}
|
|
541
541
|
},
|
|
542
542
|
{
|
|
@@ -544,9 +544,9 @@
|
|
|
544
544
|
"initial": false,
|
|
545
545
|
"entry": false,
|
|
546
546
|
"recorded": false,
|
|
547
|
-
"size":
|
|
547
|
+
"size": 5160,
|
|
548
548
|
"sizes": {
|
|
549
|
-
"javascript":
|
|
549
|
+
"javascript": 5160
|
|
550
550
|
},
|
|
551
551
|
"names": [],
|
|
552
552
|
"idHints": [],
|
|
@@ -558,7 +558,7 @@
|
|
|
558
558
|
"807.js"
|
|
559
559
|
],
|
|
560
560
|
"auxiliaryFiles": [],
|
|
561
|
-
"hash": "
|
|
561
|
+
"hash": "e38fc0c3a82a981a",
|
|
562
562
|
"childrenByOrder": {}
|
|
563
563
|
},
|
|
564
564
|
{
|
|
@@ -566,9 +566,9 @@
|
|
|
566
566
|
"initial": false,
|
|
567
567
|
"entry": false,
|
|
568
568
|
"recorded": false,
|
|
569
|
-
"size":
|
|
569
|
+
"size": 4491,
|
|
570
570
|
"sizes": {
|
|
571
|
-
"javascript":
|
|
571
|
+
"javascript": 4491
|
|
572
572
|
},
|
|
573
573
|
"names": [],
|
|
574
574
|
"idHints": [],
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
"833.js"
|
|
581
581
|
],
|
|
582
582
|
"auxiliaryFiles": [],
|
|
583
|
-
"hash": "
|
|
583
|
+
"hash": "88bcccf4f88472f7",
|
|
584
584
|
"childrenByOrder": {}
|
|
585
585
|
},
|
|
586
586
|
{
|
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"}},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"check-in-appointment-modal","slot":"todays-appointment-slot","component":"checkInModal"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"}],"version":"5.1.1-pre.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"}},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"check-in-appointment-modal","slot":"todays-appointment-slot","component":"checkInModal"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"}],"version":"5.1.1-pre.2207"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-appointments-app",
|
|
3
|
-
"version": "5.1.1-pre.
|
|
3
|
+
"version": "5.1.1-pre.2207",
|
|
4
4
|
"description": "Appointments front-end module for the OpenMRS SPA",
|
|
5
5
|
"browser": "dist/openmrs-esm-appointments-app.js",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"webpack": "^5.74.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "73e07f4c886ed949cf500048a677842d2e1351a9"
|
|
52
52
|
}
|
|
@@ -4,14 +4,10 @@ import dayjs from 'dayjs';
|
|
|
4
4
|
import {
|
|
5
5
|
Button,
|
|
6
6
|
ButtonSet,
|
|
7
|
-
ContentSwitcher,
|
|
8
7
|
DatePicker,
|
|
9
8
|
DatePickerInput,
|
|
10
|
-
RadioButton,
|
|
11
|
-
RadioButtonGroup,
|
|
12
9
|
Select,
|
|
13
10
|
SelectItem,
|
|
14
|
-
Switch,
|
|
15
11
|
TimePicker,
|
|
16
12
|
TimePickerSelect,
|
|
17
13
|
Toggle,
|
|
@@ -163,17 +159,7 @@ const AppointmentForm: React.FC<AppointmentFormProps> = ({ appointment, patientU
|
|
|
163
159
|
</div>
|
|
164
160
|
)}
|
|
165
161
|
|
|
166
|
-
|
|
167
|
-
<p>{t('selectAppointmentLocation', 'Select where the appointment will take place')}</p>
|
|
168
|
-
<ContentSwitcher className={styles.inputContainer} data-testid="appointment-place">
|
|
169
|
-
<Switch value="facility" id="facility" text={t('facility', 'Facility')}>
|
|
170
|
-
{t('facility', 'Facility')}
|
|
171
|
-
</Switch>
|
|
172
|
-
<Switch value="community" id="community" text={t('community', 'Community')}>
|
|
173
|
-
{t('community', 'Community')}
|
|
174
|
-
</Switch>
|
|
175
|
-
</ContentSwitcher>
|
|
176
|
-
</div>*/}
|
|
162
|
+
<p>{t('selectAppointmentLocation', 'Select where the appointment will take place')}</p>
|
|
177
163
|
|
|
178
164
|
<Select
|
|
179
165
|
labelText={t('selectLocation', 'Select a location')}
|
package/translations/am.json
CHANGED
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"search": "Search",
|
|
111
111
|
"searchForAVisitType": "Search for a visit type",
|
|
112
112
|
"seeAllAppointments": "See all appointments",
|
|
113
|
+
"selectAppointmentLocation": "Select where the appointment will take place",
|
|
113
114
|
"selectAppointmentStatus": "Select status",
|
|
114
115
|
"selectAppointmentType": "Select an appointment type",
|
|
115
116
|
"selectFacility": "Select a facility",
|
package/translations/en.json
CHANGED
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"search": "Search",
|
|
111
111
|
"searchForAVisitType": "Search for a visit type",
|
|
112
112
|
"seeAllAppointments": "See all appointments",
|
|
113
|
+
"selectAppointmentLocation": "Select where the appointment will take place",
|
|
113
114
|
"selectAppointmentStatus": "Select status",
|
|
114
115
|
"selectAppointmentType": "Select an appointment type",
|
|
115
116
|
"selectFacility": "Select a facility",
|
package/translations/es.json
CHANGED
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"search": "Buscar",
|
|
111
111
|
"searchForAVisitType": "Buscar un tipo de visita",
|
|
112
112
|
"seeAllAppointments": "Ver todas las citas",
|
|
113
|
+
"selectAppointmentLocation": "Seleccionar ubicación de la cita",
|
|
113
114
|
"selectAppointmentStatus": "Seleccionar estado",
|
|
114
115
|
"selectAppointmentType": "Seleccionar tipo de cita",
|
|
115
116
|
"selectFacility": "Seleccionar instalación",
|
package/translations/fr.json
CHANGED
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"search": "Search",
|
|
111
111
|
"searchForAVisitType": "Search for a visit type",
|
|
112
112
|
"seeAllAppointments": "See all appointments",
|
|
113
|
+
"selectAppointmentLocation": "Select where the appointment will take place",
|
|
113
114
|
"selectAppointmentStatus": "Select status",
|
|
114
115
|
"selectAppointmentType": "Select an appointment type",
|
|
115
116
|
"selectFacility": "Select a facility",
|
package/translations/he.json
CHANGED
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"search": "חיפוש",
|
|
111
111
|
"searchForAVisitType": "חיפוש סוג ביקור",
|
|
112
112
|
"seeAllAppointments": "See all appointments",
|
|
113
|
+
"selectAppointmentLocation": "בחר את מקום התור",
|
|
113
114
|
"selectAppointmentStatus": "בחר סטטוס",
|
|
114
115
|
"selectAppointmentType": "בחר סוג תור",
|
|
115
116
|
"selectFacility": "Select a facility",
|
package/translations/km.json
CHANGED
|
@@ -110,6 +110,7 @@
|
|
|
110
110
|
"search": "ស្វែងរក",
|
|
111
111
|
"searchForAVisitType": "ស្វែងរកប្រភេទនៃការមកពិនិត្យជំងឺ",
|
|
112
112
|
"seeAllAppointments": "See all appointments",
|
|
113
|
+
"selectAppointmentLocation": "ជ្រើសរើសកន្លែងដែលការណាត់ជួបនឹងប្រព្រឹត្តទៅ",
|
|
113
114
|
"selectAppointmentStatus": "ជ្រើសរើសស្ថានភាព",
|
|
114
115
|
"selectAppointmentType": "ជ្រើសរើសប្រភេទការណាត់ជួប",
|
|
115
116
|
"selectFacility": "Select a facility",
|