@kenyaemr/esm-appointments-app 8.1.2-pre.154 → 8.1.2-pre.160

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.
Files changed (120) hide show
  1. package/.turbo/turbo-build.log +26 -27
  2. package/dist/{460.js → 132.js} +1 -1
  3. package/dist/144.js +2 -0
  4. package/dist/144.js.LICENSE.txt +19 -0
  5. package/dist/144.js.map +1 -0
  6. package/dist/{261.js → 146.js} +1 -1
  7. package/dist/167.js +1 -0
  8. package/dist/167.js.map +1 -0
  9. package/dist/{228.js → 173.js} +1 -1
  10. package/dist/{788.js → 197.js} +1 -1
  11. package/dist/214.js +1 -0
  12. package/dist/214.js.map +1 -0
  13. package/dist/216.js +2 -0
  14. package/dist/{372.js.LICENSE.txt → 216.js.LICENSE.txt} +2 -2
  15. package/dist/216.js.map +1 -0
  16. package/dist/{272.js → 241.js} +1 -1
  17. package/dist/{240.js → 294.js} +1 -1
  18. package/dist/300.js +1 -0
  19. package/dist/323.js +1 -0
  20. package/dist/323.js.map +1 -0
  21. package/dist/{807.js → 335.js} +1 -1
  22. package/dist/41.js +2 -0
  23. package/dist/41.js.map +1 -0
  24. package/dist/442.js +1 -0
  25. package/dist/449.js +1 -0
  26. package/dist/449.js.map +1 -0
  27. package/dist/457.js +2 -0
  28. package/dist/{123.js.LICENSE.txt → 457.js.LICENSE.txt} +11 -24
  29. package/dist/457.js.map +1 -0
  30. package/dist/{566.js → 468.js} +1 -1
  31. package/dist/495.js +1 -0
  32. package/dist/495.js.map +1 -0
  33. package/dist/538.js +1 -0
  34. package/dist/55.js +1 -0
  35. package/dist/618.js +1 -0
  36. package/dist/651.js +1 -0
  37. package/dist/651.js.map +1 -0
  38. package/dist/652.js +1 -1
  39. package/dist/{271.js → 661.js} +1 -1
  40. package/dist/{378.js → 679.js} +1 -1
  41. package/dist/690.js +1 -0
  42. package/dist/712.js +1 -0
  43. package/dist/{529.js.map → 712.js.map} +1 -1
  44. package/dist/{539.js → 723.js} +1 -1
  45. package/dist/745.js +1 -0
  46. package/dist/745.js.map +1 -0
  47. package/dist/753.js +2 -0
  48. package/dist/753.js.LICENSE.txt +3 -0
  49. package/dist/753.js.map +1 -0
  50. package/dist/830.js +1 -0
  51. package/dist/830.js.map +1 -0
  52. package/dist/831.js +2 -0
  53. package/dist/831.js.map +1 -0
  54. package/dist/833.js +1 -1
  55. package/dist/84.js +1 -0
  56. package/dist/84.js.map +1 -0
  57. package/dist/840.js +1 -0
  58. package/dist/859.js +1 -0
  59. package/dist/876.js +1 -0
  60. package/dist/876.js.map +1 -0
  61. package/dist/{644.js → 879.js} +1 -1
  62. package/dist/900.js +1 -0
  63. package/dist/913.js +2 -0
  64. package/dist/{591.js.LICENSE.txt → 913.js.LICENSE.txt} +3 -3
  65. package/dist/913.js.map +1 -0
  66. package/dist/944.js +1 -0
  67. package/dist/99.js +1 -0
  68. package/dist/kenyaemr-esm-appointments-app.js +1 -1
  69. package/dist/kenyaemr-esm-appointments-app.js.buildmanifest.json +313 -286
  70. package/dist/kenyaemr-esm-appointments-app.js.map +1 -1
  71. package/dist/main.js +1 -1
  72. package/dist/main.js.LICENSE.txt +7 -2
  73. package/dist/main.js.map +1 -1
  74. package/dist/routes.json +1 -1
  75. package/package.json +1 -1
  76. package/dist/111.js +0 -2
  77. package/dist/111.js.LICENSE.txt +0 -15
  78. package/dist/111.js.map +0 -1
  79. package/dist/123.js +0 -2
  80. package/dist/123.js.map +0 -1
  81. package/dist/130.js +0 -2
  82. package/dist/130.js.map +0 -1
  83. package/dist/139.js +0 -1
  84. package/dist/139.js.map +0 -1
  85. package/dist/171.js +0 -1
  86. package/dist/171.js.map +0 -1
  87. package/dist/2.js +0 -1
  88. package/dist/2.js.map +0 -1
  89. package/dist/236.js +0 -1
  90. package/dist/269.js +0 -1
  91. package/dist/269.js.map +0 -1
  92. package/dist/319.js +0 -1
  93. package/dist/325.js +0 -1
  94. package/dist/325.js.map +0 -1
  95. package/dist/336.js +0 -1
  96. package/dist/372.js +0 -2
  97. package/dist/372.js.map +0 -1
  98. package/dist/443.js +0 -1
  99. package/dist/443.js.map +0 -1
  100. package/dist/529.js +0 -1
  101. package/dist/574.js +0 -1
  102. package/dist/581.js +0 -1
  103. package/dist/581.js.map +0 -1
  104. package/dist/591.js +0 -2
  105. package/dist/591.js.map +0 -1
  106. package/dist/673.js +0 -1
  107. package/dist/705.js +0 -1
  108. package/dist/711.js +0 -1
  109. package/dist/711.js.map +0 -1
  110. package/dist/727.js +0 -1
  111. package/dist/737.js +0 -1
  112. package/dist/744.js +0 -1
  113. package/dist/757.js +0 -1
  114. package/dist/784.js +0 -2
  115. package/dist/784.js.map +0 -1
  116. package/dist/899.js +0 -1
  117. package/dist/923.js +0 -1
  118. package/dist/923.js.map +0 -1
  119. /package/dist/{784.js.LICENSE.txt → 41.js.LICENSE.txt} +0 -0
  120. /package/dist/{130.js.LICENSE.txt → 831.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"651.js","mappings":"4MAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,6pDAAgqD,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,4FAA4F,6EAA6E,iEAAiE,MAAQ,GAAG,SAAW,gZAAgZ,eAAiB,CAAC,o7DAAo7D,+7BAA+7B,05DAA05D,w8uBAAw8uB,WAAa,MAEhr9BH,EAAwBI,OAAS,CAChC,cAAiB,wDACjB,aAAgB,wDAEjB,S,kECRIJ,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,s8DAA28D,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,kGAAkG,6EAA6E,iEAAiE,MAAQ,GAAG,SAAW,wfAAwf,eAAiB,CAAC,o7DAAo7D,miCAAmiC,05DAA05D,w8uBAAw8uB,WAAa,MAE7q+BH,EAAwBI,OAAS,CAChC,OAAU,iDACV,QAAW,kDACX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,UAAW,6BAA+B,GAAe,OAAZvT,EAAY,WAAWqT,EAAgB,IAAkB,OAAdA,GAAkB,IAC1G/R,cAAeA,EACfkS,WAAY,WAAuB,OAAZxT,GACvBkT,gBAAAA,GAEJ,CAEO,SAASO,GAAmDnS,GACjE,IAAM,EAAkBI,IAAhB1B,YACF,EAAyB8S,KAAvBC,mBACF,EAAmBjO,GAAuB9E,GAAxCgG,aAYR,OAViC4G,EAAAA,EAAAA,cAC/B,SAACsG,IACMH,GAAsB/M,EACzB7E,GAAuBG,EAAe4R,GAEtCjS,GAEJ,GACA,CAAC+E,EAAc+M,EAAoBzR,GAGvC,C","sources":["webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/cards/card-header.scss","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/empty-state/empty-state.scss","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/error-state/error-state.scss","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/pagination/pagination.scss","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/cards/card-header.scss?3aa6","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/cards/card-header.component.tsx","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/compare.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/dashboards/DashboardExtension.tsx","webpack://@kenyaemr/esm-appointments-app/../../node_modules/lodash-es/last.js","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/dashboards/createDashboardLink.tsx","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/empty-state/empty-data-illustration.component.tsx","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/empty-state/empty-state.scss?5439","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/empty-state/empty-state.component.tsx","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/error-state/error-state.scss?d986","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/error-state/error-state.component.tsx","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/form-entry-interop.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/store/patient-chart-store.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/get-patient-uuid-from-url.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/launchStartVisitPrompt.tsx","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/nav-group/DashboardGroupExtension.tsx","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/nav-group/createDashboardGroup.tsx","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/nav-group/nav-group.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/uuid/dist/esm-browser/rng.js","webpack://@kenyaemr/esm-appointments-app/../../node_modules/uuid/dist/esm-browser/regex.js","webpack://@kenyaemr/esm-appointments-app/../../node_modules/uuid/dist/esm-browser/stringify.js","webpack://@kenyaemr/esm-appointments-app/../../node_modules/uuid/dist/esm-browser/validate.js","webpack://@kenyaemr/esm-appointments-app/../../node_modules/uuid/dist/esm-browser/v4.js","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/offline/visit.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/orders/store.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/orders/useOrderBasket.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/orders/postOrders.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/orders/useOrders.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/orders/useOrderableConceptSets.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/orders/useOrderType.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/orders/useOrderTypes.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/pagination/usePaginationInfo.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/pagination/pagination.scss?8167","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/pagination/pagination.component.tsx","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/patient-summary/patient-summary-extension-order.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/programs/usePatientProgramEnrollment.tsx","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/time-helper.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/useAllowedFileExtensions.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/useSystemVisitSetting.ts","webpack://@kenyaemr/esm-appointments-app/../../node_modules/@openmrs/esm-patient-common-lib/src/workspaces.ts"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","CardHeader","title","children","isTablet","useLayoutType","div","className","classNames","styles","tabletHeader","desktopHeader","h4","compare","x","y","DashboardExtension","path","basePath","moduleName","useTranslation","t","location","useLocation","navLink","useMemo","decodeURIComponent","array","pathname","split","length","key","ConfigurableLink","to","encodeURIComponent","createDashboardLink","db","BrowserRouter","EmptyDataIllustration","width","height","svg","viewBox","g","fill","fillRule","d","circle","cx","cy","r","EmptyState","props","Layer","layer","Tile","tile","tabletHeading","desktopHeading","headerTitle","p","content","displayText","toLowerCase","action","launchForm","Button","onClick","kind","size","ErrorState","error","errorMessage","response","status","statusText","errorCopy","clinicalFormsWorkspace","formEntryWorkspace","htmlFormEntryWorkspace","launchFormEntryOrHtmlForms","htmlFormEntryForms","patientUuid","formUuid","visitUuid","encounterUuid","formName","visitTypeUuid","visitStartDatetime","visitStopDatetime","mutateForms","clinicalFormsWorkspaceName","formEntryWorkspaceName","htmlFormEntryWorkspaceName","htmlForm","find","form","launchHtmlFormEntry","launchFormEntry","launchStartVisitPrompt","mutateForm","launchPatientWorkspace","workspaceTitle","formInfo","workspaceName","patientChartStore","createGlobalStore","getPatientChartStore","usePatientChartStore","useStore","getPatientUuidFromStore","getState","getPatientUuidFromUrl","match","exec","dispose","showModal","closeModal","DashboardGroupExtension","slotName","isExpanded","useEffect","registerNavGroup","Accordion","AccordionItem","open","style","border","ExtensionSlot","name","state","createDashboardGroup","navGroupStore","navGroups","store","setState","getRandomValues","useNavGroups","createUseStore","rnds8","Uint8Array","rng","crypto","bind","msCrypto","Error","byteToHex","i","toString","substr","arr","offset","arguments","uuid","test","TypeError","buf","rnds","random","visitSyncType","useVisitOrOfflineVisit","isOnline","useConnectivity","onlineVisit","useVisit","offlineVisit","useOfflineVisit","useState","data","isLoading","offlineVisitState","setOfflineVisitState","getOfflineVisitForPatient","then","offlineVisitToVisit","catch","err","activeVisit","currentVisit","isValidating","currentVisitIsRetrospective","mutate","useAutoCreatedOfflineVisit","offlineVisitTypeUuid","useSession","sessionLocation","createOfflineVisitForPatient","Date","finally","getSynchronizationItems","visit","patient","startDatetime","patientRegistrationSyncItems","isVisitForOfflineRegisteredPatient","descriptor","some","item","fhirPatient","visitType","displayName","dependencies","type","queueSynchronizationItem","stopDatetime","encounters","display","orderBasketStore","items","postDataPrepFunctions","orderBasketStoreActions","setOrderBasketItems","grouping","value","Object","keys","includes","console","warn","setPostDataPrepFunctionForGrouping","clearOrders","exceptThoseMatchingFcn","exceptThoseMatching","patientItems","newPatientItems","fromEntries","entries","map","orders","filter","useOrderBasket","postDataPrepFunction","useStoreWithActions","values","flat","getOrderItems","setOrders","groupingKey","postOrdersOnNewEncounter","orderEncounterType","sessionLocationUuid","abortController","now","visitStartDate","visitEndDate","encounterDate","encounterPostData","parseDate","forEach","groupOrders","order","encounterType","encounterDatetime","obs","openmrsFetch","restBaseUrl","headers","method","body","signal","res","postOrders","erroredItems","dataPrepFn","postOrder","orderError","extractedOrderError","extractErrorDetails","errorObject","errorDetails","message","responseBody","fieldErrors","globalErrors","fieldName","careSettingUuid","drugCustomRepresentation","usePatientOrders","orderType","startDate","endDate","useSWRConfig","baseOrdersUrl","ordersUrl","useSWR","mutateOrders","useCallback","startsWith","results","sort","order1","order2","dateActivated","getDrugOrderByUuid","orderUuid","priorityOptions","label","openmrsFetchMultipleConcepts","urls","Promise","all","url","useOrderableConceptSets","searchTerm","orderableConcepts","useOrderableConceptSWR","orderableConceptSets","useSWRImmutable","c","reportError","concepts","flatMap","setMembers","concept","names","toLocaleLowerCase","testConcept1","testConcept2","localeCompare","pos","useOrderType","orderTypeUuid","isLoadingOrderType","errorFetchingOrderType","isValidatingOrderType","useOrderTypes","orderTypesUrl","usePaginationInfo","pageSize","totalItems","pageNumber","currentItems","pageSizes","numberOfPages","Math","ceil","isNaN","Array","itemsDisplayed","count","pageItemsCount","PatientChartPagination","onPageNumberChange","dashboardLinkUrl","dashboardLinkLabel","tablet","desktop","configurableLink","urlLabel","Pagination","pagination","page","onChange","pageRangeText","_","total","patientSummaryExtensionOrder","Vitals","Biometrics","Conditions","Medications","getPatientSummaryOrder","extensionName","max","useActivePatientEnrollment","customRepresentation","activePatientEnrollment","a","b","dateEnrolled","enrollment","dateCompleted","uniqBy","program","time12HourFormatRegex","RegExp","convertTime12to24","time12h","timeFormat","parseInt","hours","useAllowedFileExtensions","allowedFileExtensionsGlobalProperty","allowedFileExtensions","useSystemVisitSetting","systemVisitEnabled","errorFetchingSystemVisitSetting","isLoadingSystemVisitSetting","additionalProps","launchWorkspace","launchPatientChartWithWorkspaceOpen","dashboardName","navigateAndLaunchWorkspace","targetUrl","contextKey","useLaunchWorkspaceRequiringVisit"],"sourceRoot":""}
package/dist/652.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[652],{3652:e=>{e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","age":"Age","allDay":"All day","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"Appointment color","appointmentConflict":"Appointment conflict","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentMetrics":"Appointment metrics","appointmentMetricsLoadError":"","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentService":"Appointment service","appointmentServiceCreate":"Appointment service created successfully","appointmentServiceName":"Appointment service name","appointmentsScheduledForToday":"appointments scheduled for today","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createAppointmentService":"Create appointment services","createNewAppointment":"Create new appointment","date":"Date","date&Time":"Date & time","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateOfBirth":"Date of birth","dateScheduled":"Date appointment issued","dateScheduledDetail":"Date appointment issued","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","durationMins":"Duration min","edit":"Edit","editAppointment":"Edit Appointment","editAppointments":"Edit Appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","encounters":"Encounters","encounterType":"Encounter type","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","endDate":"End date","endTime":"End Time","errorCreatingAppointmentService":"Error creating appointment service","expected":"Expected","filterTable":"Filter table","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","identifier":"Identifier","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","medications":"Medications","missed":"Missed","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noEncountersFound":"No encounters found","noPastAppointments":"There are no past appointments to display for this patient","noPreviousVisitFound":"No previous visit found","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","save":"Save","saveAndClose":"Save and close","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectLocation":"Select location","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","selectServiceType":"Select service type","service":"Service","serviceName":"Service name","serviceType":"Service Type","serviceUnavailable":"Appointment time is outside of service hours","startDate":"Start date","startTime":"Start Time","status":"Status","time":"Time","today":"Today","todays":"Today\'s","type":"Type","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","view":"View","vitals":"Vitals","week":"Week","yes":"Yes"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[652],{4652:e=>{e.exports=JSON.parse('{"action":"פעולה","actions":"פעולות","add":"הוספה","age":"גיל","allDay":"כל היום","appointmentCancelError":"שגיאה בביטול התור","appointmentCancelled":"התור בוטל","appointmentCancelledSuccessfully":"התור בוטל בהצלחה","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"צבע התור","appointmentConflict":"סתירת תורים","appointmentEdited":"התור נערך","appointmentEditError":"שגיאה בעריכת תור","appointmentEnded":"התור הסתיים","appointmentEndedAndVisitClosedSuccessfully":"התור הסתיים והביקור נסגר בהצלחה","appointmentEndedButVisitNotClosedError":"התור הסתיים אבל אירעה שגיאה בסגירת הביקור","appointmentEndedSuccessfully":"התור הסתיים בהצלחה.","appointmentEndError":"שגיאה בסיום תור","appointmentFormError":"שגיאה בתזמון התור","appointmentHistory":"היסטוריית התורים","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentMetrics":"מדדי התורים","appointmentMetricsLoadError":"","appointmentNoteLabel":"הצגת הערה נוספ","appointmentNotePlaceholder":"כאן ניתן לכתוב נקודות נוספות","appointmentNotes":"הערות לתור","appointmentNowVisible":"התור מופיע כעת בעמוד התורים","appointments":"תורים","Appointments":"תורים","appointments_lower":"תורים","appointmentsCalendar":"לוח תורים","appointmentScheduled":"התור נקבע","appointmentService":"שירות התורים","appointmentServiceCreate":"שירות התורים נוצר בהצלחה","appointmentServiceName":"שם שירות התורים","appointmentsScheduledForToday":"תורים שתוזמנו להיום","appointmentsTable":"טבלת תורים","appointmentStatus":"מצב התור","appointmentToFulfill":"נא לבחור תור למילוי","appointmentType":"סוג התור","appointmentType_title":"סוג התור","back":"חזרה","calendar":"לוח שנה","cameEarly":"הקדמה","cancel":"ביטול","cancelAppointment":"ביטול תור","cancelAppointmentModalConfirmationText":"לבטל את התור הזה?","cancelled":"בוטל","checkedIn":"נרשם","checkedOut":"נסגר","checkFilters":"נא לסמן את המסננים לעיל","checkIn":"הרשמה","checkOut":"סגירה","chooseAppointmentType":"בחירת סוג תור","chooseLocation":"נא לבחור מקום","chooseProvider":"נא לבחור ספק","chooseService":"בחירת שירות","completed":"הושלם","Contact":"יצירת קשר עם {{index}}","countMore_one":"עוד {{count}}","countMore_other":"עוד {{count}}","createAppointmentService":"יצירת שירותי תורים","createNewAppointment":"יצירת תור חדש","date":"תאריך","date&Time":"תאריך ושעה","dateAppointmentIssuedCannotBeAfterAppointmentDate":"תאריך התור שהונפק לא יכול להיות אחרי תאריך התור","dateOfBirth":"תאריך לידה","dateScheduled":"הונפק תאריך לתור","dateScheduledDetail":"הונפק תאריך לתור","dateTime":"תאריך ושעה","day":"יום","daysOfWeek":"ימי השבוע","discard":"סגירה מבלי לשמור","download":"הורדה","durationErrorMessage":"המשך צריך להיות גדול מאפס","durationInMinutes":"משך (דקות)","durationMins":"משך בדקות","edit":"עריכה","editAppointment":"עריכת תור","editAppointments":"עריכת תור","emptyStateText":"אין <1>{{displayText}}</1> להצגה","encounters":"פגישות","encounterType":"סוג הפגישה","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","endDate":"תאריך סיום","endTime":"שעת סיום","errorCreatingAppointmentService":"שגיאה ביצירת שירות התור","expected":"צפוי","filterTable":"סינון הטבלה","gender":"מגדר","highestServiceVolume":"השירות הכי עמוס: {{time}}","identifier":"מזהה","invalidNumber":"המספר שגוי","isRecurringAppointment":"זה תור חוזר?","itemsPerPage":"פריטים בעמוד","loading":"בטעינה","location":"מקום","medications":"תרופות","missed":"הוחמץ","next":"הבא","nextMonth":"חודש הבא","nextPage":"העמוד הבא","no":"לא","noAppointmentsToDisplay":"אין תורים להצגה","noContent":"אין תוכן","noCurrentAppointments":"אין תורים מתוזמנים להצגה עבור מטופל זה ליום הזה","noEncountersFound":"לא נמצאו פגישות","noPastAppointments":"אין תורי עבר להצגה עבור מטופל/ת אלה","noPreviousVisitFound":"לא נמצא ביקור קודם","notArrived":"לא הגיע/ה","note":"הערה","notes":"הערות","noUpcomingAppointments":"לא נמצאו תורים עתידיים","noUpcomingAppointmentsForPatient":"לא נמצאו תורים עתידיים למטפל/ת האלה","pageNumber":"מספר עמוד","past":"עבר","patientDetails":"פרטי המטופל","patientDoubleBooking":"למטופל/ת כבר הוזמן תור במועד הזה","patientName":"שם המטופל","patients":"מטופלים","period":"תקופה","prev":"הקודם","previousMonth":"החודש הקודם","previousPage":"העמוד הקודם","provider":"ספק","providers":"ספקים","providersBooked":"ספקים שהוזמנו: {{time}}","recurringAppointment":"תור חוזר","recurringAppointmentShouldHaveEndDate":"לתור חוזר צריך להיות תאריך סיום","repeatEvery":"חוזר כל","save":"שמירה","saveAndClose":"שמירה וסגירה","scheduled":"מתוזמן","scheduledAppointments":"תורים מתוזמנים","scheduledForToday":"מתוזמן להיום","selectALocation":"בחירת מקום","selectAppointmentStatus":"בחירת מצב","selectAppointmentType":"בחירת סוג תור","selectLocation":"בחירת מקום","selectOption":"בחירת אפשרות","selectProvider":"בחירת ספק","selectService":"בחירת שירות","selectServiceType":"בחירת סוג שירות","service":"שירות","serviceName":"שם השירות","serviceType":"סוג השירות","serviceUnavailable":"זמן התור הוא מחוץ לשעות השירות","startDate":"תאריך התחלה","startTime":"שעת התחלה","status":"מצב","time":"זמן","today":"היום","todays":"להיום","type":"סוג","unscheduled":"לא מתוזמן","unscheduledAppointments":"תורים שאינם מתוזמנים","unscheduledAppointments_lower":"תורים שאינם מתוזמנים","upcoming":"בקרוב","upcomingAppointments":"תורים עתידיים","updateError":"Error updating upcoming appointment","view":"הצגה","vitals":"מדדים","week":"Week","yes":"כן"}')}}]);
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[271],{8271:e=>{e.exports=JSON.parse('{"action":"操作","actions":"操作","add":"添加","age":"年龄","allDay":"全天","appointmentCancelError":"取消预约时出现错误","appointmentCancelled":"预约已取消","appointmentCancelledSuccessfully":"预约已成功取消","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"预约颜色","appointmentConflict":"Appointment conflict","appointmentEdited":"预约已编辑","appointmentEditError":"编辑预约时出现错误","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"安排预约时出现错误","appointmentHistory":"预约历史","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentMetrics":"预约指标","appointmentMetricsLoadError":"","appointmentNoteLabel":"输入附加备注","appointmentNotePlaceholder":"在这里输入任何额外的要点备注","appointmentNotes":"预约备注","appointmentNowVisible":"现在在预约页面上可见","appointments":"预约","Appointments":"预约","appointments_lower":"预约","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"预约已安排","appointmentService":"预约服务","appointmentServiceCreate":"预约服务创建成功","appointmentServiceName":"预约服务名称","appointmentsScheduledForToday":"今日预约","appointmentsTable":"预约表","appointmentStatus":"预约状态","appointmentToFulfill":"选择要履行的预约","appointmentType":"预约类型","appointmentType_title":"预约类型","back":"返回","calendar":"日历","cameEarly":"提前到达","cancel":"取消","cancelAppointment":"取消预约","cancelAppointmentModalConfirmationText":"您确定要取消这个预约吗?","cancelled":"已取消","checkedIn":"已签到","checkedOut":"已结账","checkFilters":"检查上方的筛选条件","checkIn":"签到","checkOut":"结账","chooseAppointmentType":"选择预约类型","chooseLocation":"选择一个地点","chooseProvider":"选择一个提供者","chooseService":"选择服务","completed":"已完成","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createAppointmentService":"创建预约服务","createNewAppointment":"创建新预约","date":"日期","date&Time":"日期&时间","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateOfBirth":"出生日期","dateScheduled":"Date appointment issued","dateScheduledDetail":"Date appointment issued","dateTime":"日期&时间","day":"天","daysOfWeek":"星期几","discard":"放弃","download":"下载","durationErrorMessage":"持续时间应大于零","durationInMinutes":"持续时间(分钟)","durationMins":"持续时间(分钟)","edit":"编辑","editAppointment":"编辑预约","editAppointments":"编辑预约","emptyStateText":"没有<1>{{displayText}}</1>可显示","encounters":"问诊","encounterType":"问诊类型","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","endDate":"结束日期","endTime":"结束时间","errorCreatingAppointmentService":"创建预约服务时出现错误","expected":"预期的","filterTable":"筛选表格","gender":"性别","highestServiceVolume":"最高量服务:{{time}}","identifier":"ID","invalidNumber":"数值无效","isRecurringAppointment":"这是一个定期预约吗?","itemsPerPage":"每页条目数","loading":"加载中","location":"地点","medications":"药物","missed":"未就诊","next":"Next","nextMonth":"Next month","nextPage":"下一页","no":"否","noAppointmentsToDisplay":"没有预约可显示","noContent":"没有内容","noCurrentAppointments":"该患者没有安排在今日的预约","noEncountersFound":"未找到问诊记录","noPastAppointments":"该患者没有历史预约","noPreviousVisitFound":"未找到先前的就诊","notArrived":"未到达","note":"备注","notes":"备注","noUpcomingAppointments":"未找到即将到来的预约","noUpcomingAppointmentsForPatient":"该患者没有即将到来的预约","pageNumber":"页码","past":"过往","patientDetails":"患者详情","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"患者姓名","patients":"患者","period":"周期","prev":"Prev","previousMonth":"Previous month","previousPage":"上一页","provider":"提供者","providers":"提供者","providersBooked":"提供者预订:{{time}}","recurringAppointment":"定期预约","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"重复每","save":"保存","saveAndClose":"保存并关闭","scheduled":"已安排","scheduledAppointments":"已安排的预约","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"选择状态","selectAppointmentType":"选择一个预约类型","selectLocation":"选择地点","selectOption":"选择一个选项","selectProvider":"选择一个提供者","selectService":"选择一个服务","selectServiceType":"选择服务类型","service":"服务","serviceName":"服务名称","serviceType":"服务类型","serviceUnavailable":"Appointment time is outside of service hours","startDate":"开始日期","startTime":"开始时间","status":"状态","time":"时间","today":"今日","todays":"今日","type":"Type","unscheduled":"未安排","unscheduledAppointments":"未安排的预约","unscheduledAppointments_lower":"未安排的预约","upcoming":"即将到来","upcomingAppointments":"即将到来的预约","updateError":"Error updating upcoming appointment","view":"查看","vitals":"生命体征","week":"周","yes":"是"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[661],{5661:e=>{e.exports=JSON.parse('{"action":"操作","actions":"操作","add":"添加","age":"年龄","allDay":"全天","appointmentCancelError":"取消预约时出现错误","appointmentCancelled":"预约已取消","appointmentCancelledSuccessfully":"预约已成功取消","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"预约颜色","appointmentConflict":"Appointment conflict","appointmentEdited":"预约已编辑","appointmentEditError":"编辑预约时出现错误","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"安排预约时出现错误","appointmentHistory":"预约历史","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentMetrics":"预约指标","appointmentMetricsLoadError":"","appointmentNoteLabel":"输入附加备注","appointmentNotePlaceholder":"在这里输入任何额外的要点备注","appointmentNotes":"预约备注","appointmentNowVisible":"现在在预约页面上可见","appointments":"预约","Appointments":"预约","appointments_lower":"预约","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"预约已安排","appointmentService":"预约服务","appointmentServiceCreate":"预约服务创建成功","appointmentServiceName":"预约服务名称","appointmentsScheduledForToday":"今日预约","appointmentsTable":"预约表","appointmentStatus":"预约状态","appointmentToFulfill":"选择要履行的预约","appointmentType":"预约类型","appointmentType_title":"预约类型","back":"返回","calendar":"日历","cameEarly":"提前到达","cancel":"取消","cancelAppointment":"取消预约","cancelAppointmentModalConfirmationText":"您确定要取消这个预约吗?","cancelled":"已取消","checkedIn":"已签到","checkedOut":"已结账","checkFilters":"检查上方的筛选条件","checkIn":"签到","checkOut":"结账","chooseAppointmentType":"选择预约类型","chooseLocation":"选择一个地点","chooseProvider":"选择一个提供者","chooseService":"选择服务","completed":"已完成","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createAppointmentService":"创建预约服务","createNewAppointment":"创建新预约","date":"日期","date&Time":"日期&时间","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateOfBirth":"出生日期","dateScheduled":"Date appointment issued","dateScheduledDetail":"Date appointment issued","dateTime":"日期&时间","day":"天","daysOfWeek":"星期几","discard":"放弃","download":"下载","durationErrorMessage":"持续时间应大于零","durationInMinutes":"持续时间(分钟)","durationMins":"持续时间(分钟)","edit":"编辑","editAppointment":"编辑预约","editAppointments":"编辑预约","emptyStateText":"没有<1>{{displayText}}</1>可显示","encounters":"问诊","encounterType":"问诊类型","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","endDate":"结束日期","endTime":"结束时间","errorCreatingAppointmentService":"创建预约服务时出现错误","expected":"预期的","filterTable":"筛选表格","gender":"性别","highestServiceVolume":"最高量服务:{{time}}","identifier":"ID","invalidNumber":"数值无效","isRecurringAppointment":"这是一个定期预约吗?","itemsPerPage":"每页条目数","loading":"加载中","location":"地点","medications":"药物","missed":"未就诊","next":"Next","nextMonth":"Next month","nextPage":"下一页","no":"否","noAppointmentsToDisplay":"没有预约可显示","noContent":"没有内容","noCurrentAppointments":"该患者没有安排在今日的预约","noEncountersFound":"未找到问诊记录","noPastAppointments":"该患者没有历史预约","noPreviousVisitFound":"未找到先前的就诊","notArrived":"未到达","note":"备注","notes":"备注","noUpcomingAppointments":"未找到即将到来的预约","noUpcomingAppointmentsForPatient":"该患者没有即将到来的预约","pageNumber":"页码","past":"过往","patientDetails":"患者详情","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"患者姓名","patients":"患者","period":"周期","prev":"Prev","previousMonth":"Previous month","previousPage":"上一页","provider":"提供者","providers":"提供者","providersBooked":"提供者预订:{{time}}","recurringAppointment":"定期预约","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"重复每","save":"保存","saveAndClose":"保存并关闭","scheduled":"已安排","scheduledAppointments":"已安排的预约","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"选择状态","selectAppointmentType":"选择一个预约类型","selectLocation":"选择地点","selectOption":"选择一个选项","selectProvider":"选择一个提供者","selectService":"选择一个服务","selectServiceType":"选择服务类型","service":"服务","serviceName":"服务名称","serviceType":"服务类型","serviceUnavailable":"Appointment time is outside of service hours","startDate":"开始日期","startTime":"开始时间","status":"状态","time":"时间","today":"今日","todays":"今日","type":"Type","unscheduled":"未安排","unscheduledAppointments":"未安排的预约","unscheduledAppointments_lower":"未安排的预约","upcoming":"即将到来","upcomingAppointments":"即将到来的预约","updateError":"Error updating upcoming appointment","view":"查看","vitals":"生命体征","week":"周","yes":"是"}')}}]);
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[378],{4378:e=>{e.exports=JSON.parse('{"action":"Ação","actions":"Ações","add":"Adicionar","age":"Idade","allDay":"Todo dia","appointmentCancelError":"Erro ao cancelar a marcação de consulta","appointmentCancelled":"Consulta Cancelada ","appointmentCancelledSuccessfully":"Consulta cancelada com sucesso","appointmentCheckedIn":"Marcação de consulta registada","appointmentColor":"Cor da consulta","appointmentConflict":"Conflito no agendamento da consulta","appointmentEdited":"Agendamento da consulta editado","appointmentEditError":"Erro ao editar o agendamento de consulta","appointmentEnded":"Agendamento encerrado","appointmentEndedAndVisitClosedSuccessfully":"Consulta finalizada com sucesso e a visita fechada com sucesso","appointmentEndedButVisitNotClosedError":"Consulta finalizada, mas houve erro ao fechar a visita","appointmentEndedSuccessfully":"Consulta fechada com sucesso.","appointmentEndError":"Erro ao encerrar a consulta","appointmentFormError":"Erro ao agendar a consulta","appointmentHistory":"Historico de Consultas","appointmentMarkedChecked":"Consulta marcada como registada.","appointmentMetrics":"Metricas de Consulta","appointmentMetricsLoadError":"","appointmentNoteLabel":"Escreva uma nota adicional","appointmentNotePlaceholder":"Providencie aqui quaisquer pontos adicionais","appointmentNotes":"Notas da Consulta","appointmentNowVisible":"Agora está visível na página de consultas","appointments":"Consultas","Appointments":"Consultas","appointments_lower":"consultas","appointmentsCalendar":"Calendário de Consultas","appointmentScheduled":"Consulta marcada","appointmentService":"Servico de consulta","appointmentServiceCreate":"Serviço de consulta criado com sucesso","appointmentServiceName":"Nome do serviço de consulta","appointmentsScheduledForToday":"consultas marcadas para hoje","appointmentsTable":"Tabela de consultas","appointmentStatus":"Estado da consulta","appointmentToFulfill":"Selecione a consulta para completar","appointmentType":"Tipo de consulta","appointmentType_title":"Tipo de Consulta","back":"Voltar","calendar":"Calendário","cameEarly":"Chegou Cedo","cancel":"Cancelar","cancelAppointment":"Cancelar Consulta","cancelAppointmentModalConfirmationText":"Tem certeza de que deseja cancelar esta consulta?","cancelled":"Cancelado","checkedIn":"Admitido","checkedOut":"Sair","checkFilters":"Verifique os filtros acima","checkIn":"Admitir","checkOut":"Sair","chooseAppointmentType":"Selecione o tipo de consulta","chooseLocation":"Selecione o local","chooseProvider":"Selecione o provedor","chooseService":"Selecione o serviço","completed":"Finalizado","Contact":"Contacto {{index}}","countMore_one":"{{count}} mais","countMore_other":"{{count}} mais","createAppointmentService":"Criar serviços de agendamento","createNewAppointment":"Criar nova consulta","date":"Data","date&Time":"Data e hora","dateAppointmentIssuedCannotBeAfterAppointmentDate":"A data da emissão da consulta não pode ser posterior à data da consulta","dateOfBirth":"Data de nascimento","dateScheduled":"Data da emissão da consulta","dateScheduledDetail":"Data da emissão da consulta","dateTime":"Data e hora","day":"Dia","daysOfWeek":"Dias da semana","discard":"Descartar","download":"Baixar","durationErrorMessage":"A duração deve ser maior que zero","durationInMinutes":"Duração (minutos)","durationMins":"Duração min","edit":"Editar","editAppointment":"Editar Consulta","editAppointments":"Editar Consulta","emptyStateText":"Não tem <1> {{displayText}} </1> para mostrar","encounters":"Consultas","encounterType":"Tipo de consulta","endAppointmentAndVisitConfirmationMessage":"Ao retirar o utente marcará a consulta como concluída e encerrará a visita ativa desse utente.","endAppointmentConfirmation":"Tem certeza de que deseja retirar o utente desta consulta?","endAppointmentConfirmationMessage":"A retirada do utente marcará a consulta como concluída.","endDate":"Data Final","endTime":"Hora de Fim","errorCreatingAppointmentService":"Erro ao criar serviço de consulta","expected":"Esperado","filterTable":"Tabela de filtro","gender":"Sexo","highestServiceVolume":"Serviço de maior volume: {{time}}","identifier":"Identificador","invalidNumber":"Número não é válido","isRecurringAppointment":"Esta é uma consulta recorrente?","itemsPerPage":"Itens por página","loading":"Carregando","location":"Local","medications":"Medicamentos","missed":"Perdido","next":"Próximo","nextMonth":"Próximo mês","nextPage":"Próxima página","no":"Não","noAppointmentsToDisplay":"Nenhuma consulta para mostrar","noContent":"Sem Conteúdo","noCurrentAppointments":"Não há consultas marcadas para hoje por mostrar para este utente","noEncountersFound":"Nenhuma consulta encontrada","noPastAppointments":"Não há consultas anteriores por mostrar para este utente","noPreviousVisitFound":"Nenhuma visita anterior foi encontrada","notArrived":"Não chegou","note":"Nota","notes":"Notas","noUpcomingAppointments":"Nenhuma próxima consulta foi encontrada","noUpcomingAppointmentsForPatient":"Não há consultas marcadas por mostrar para este utente","pageNumber":"Número da página","past":"Passado","patientDetails":"Detalhes do utente","patientDoubleBooking":"Utente já tem uma consulta marcada nesta hora","patientName":"Nome do utente","patients":"Utentes","period":"Período","prev":"Anterior","previousMonth":"Mês anterior","previousPage":"Página anterior","provider":"Provedor","providers":"Provedores","providersBooked":"Provedores reservados: {{time}}","recurringAppointment":"Consulta recorrente","recurringAppointmentShouldHaveEndDate":"Uma consulta recorrente deve ter uma data de término","repeatEvery":"Repetir a cada","save":"Salvar","saveAndClose":"Salvar e fechar","scheduled":"Marcado","scheduledAppointments":"Consultas marcadas","scheduledForToday":"Marcada para hoje","selectALocation":"Selecione um local","selectAppointmentStatus":"Selecione estado","selectAppointmentType":"Selecione algum tipo de consulta","selectLocation":"Selecione o local","selectOption":"Selecione uma opção","selectProvider":"Selecione um provedor","selectService":"Selecione um serviço","selectServiceType":"Selecione tipo de serviço","service":"Serviço","serviceName":"Nome do serviço","serviceType":"Tipo de Serviço","serviceUnavailable":"A hora da consulta está fora do horário de atendimento","startDate":"Data inicial","startTime":"Tempo Inicial","status":"Estado","time":"Tempo","today":"Hoje","todays":"Hoje","type":"Tipo","unscheduled":"Não marcada","unscheduledAppointments":"Consultas não marcadas","unscheduledAppointments_lower":"consultas não marcadas","upcoming":"Por vir","upcomingAppointments":"Próximas consultas","updateError":"Error updating upcoming appointment","view":"Visualizar","vitals":"Sinais vitais","week":"Semana","yes":"Sim"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[679],{6679:e=>{e.exports=JSON.parse('{"action":"Ação","actions":"Ações","add":"Adicionar","age":"Idade","allDay":"Todo dia","appointmentCancelError":"Erro ao cancelar a marcação de consulta","appointmentCancelled":"Consulta Cancelada ","appointmentCancelledSuccessfully":"Consulta cancelada com sucesso","appointmentCheckedIn":"Marcação de consulta registada","appointmentColor":"Cor da consulta","appointmentConflict":"Conflito no agendamento da consulta","appointmentEdited":"Agendamento da consulta editado","appointmentEditError":"Erro ao editar o agendamento de consulta","appointmentEnded":"Agendamento encerrado","appointmentEndedAndVisitClosedSuccessfully":"Consulta finalizada com sucesso e a visita fechada com sucesso","appointmentEndedButVisitNotClosedError":"Consulta finalizada, mas houve erro ao fechar a visita","appointmentEndedSuccessfully":"Consulta fechada com sucesso.","appointmentEndError":"Erro ao encerrar a consulta","appointmentFormError":"Erro ao agendar a consulta","appointmentHistory":"Historico de Consultas","appointmentMarkedChecked":"Consulta marcada como registada.","appointmentMetrics":"Metricas de Consulta","appointmentMetricsLoadError":"","appointmentNoteLabel":"Escreva uma nota adicional","appointmentNotePlaceholder":"Providencie aqui quaisquer pontos adicionais","appointmentNotes":"Notas da Consulta","appointmentNowVisible":"Agora está visível na página de consultas","appointments":"Consultas","Appointments":"Consultas","appointments_lower":"consultas","appointmentsCalendar":"Calendário de Consultas","appointmentScheduled":"Consulta marcada","appointmentService":"Servico de consulta","appointmentServiceCreate":"Serviço de consulta criado com sucesso","appointmentServiceName":"Nome do serviço de consulta","appointmentsScheduledForToday":"consultas marcadas para hoje","appointmentsTable":"Tabela de consultas","appointmentStatus":"Estado da consulta","appointmentToFulfill":"Selecione a consulta para completar","appointmentType":"Tipo de consulta","appointmentType_title":"Tipo de Consulta","back":"Voltar","calendar":"Calendário","cameEarly":"Chegou Cedo","cancel":"Cancelar","cancelAppointment":"Cancelar Consulta","cancelAppointmentModalConfirmationText":"Tem certeza de que deseja cancelar esta consulta?","cancelled":"Cancelado","checkedIn":"Admitido","checkedOut":"Sair","checkFilters":"Verifique os filtros acima","checkIn":"Admitir","checkOut":"Sair","chooseAppointmentType":"Selecione o tipo de consulta","chooseLocation":"Selecione o local","chooseProvider":"Selecione o provedor","chooseService":"Selecione o serviço","completed":"Finalizado","Contact":"Contacto {{index}}","countMore_one":"{{count}} mais","countMore_other":"{{count}} mais","createAppointmentService":"Criar serviços de agendamento","createNewAppointment":"Criar nova consulta","date":"Data","date&Time":"Data e hora","dateAppointmentIssuedCannotBeAfterAppointmentDate":"A data da emissão da consulta não pode ser posterior à data da consulta","dateOfBirth":"Data de nascimento","dateScheduled":"Data da emissão da consulta","dateScheduledDetail":"Data da emissão da consulta","dateTime":"Data e hora","day":"Dia","daysOfWeek":"Dias da semana","discard":"Descartar","download":"Baixar","durationErrorMessage":"A duração deve ser maior que zero","durationInMinutes":"Duração (minutos)","durationMins":"Duração min","edit":"Editar","editAppointment":"Editar Consulta","editAppointments":"Editar Consulta","emptyStateText":"Não tem <1> {{displayText}} </1> para mostrar","encounters":"Consultas","encounterType":"Tipo de consulta","endAppointmentAndVisitConfirmationMessage":"Ao retirar o utente marcará a consulta como concluída e encerrará a visita ativa desse utente.","endAppointmentConfirmation":"Tem certeza de que deseja retirar o utente desta consulta?","endAppointmentConfirmationMessage":"A retirada do utente marcará a consulta como concluída.","endDate":"Data Final","endTime":"Hora de Fim","errorCreatingAppointmentService":"Erro ao criar serviço de consulta","expected":"Esperado","filterTable":"Tabela de filtro","gender":"Sexo","highestServiceVolume":"Serviço de maior volume: {{time}}","identifier":"Identificador","invalidNumber":"Número não é válido","isRecurringAppointment":"Esta é uma consulta recorrente?","itemsPerPage":"Itens por página","loading":"Carregando","location":"Local","medications":"Medicamentos","missed":"Perdido","next":"Próximo","nextMonth":"Próximo mês","nextPage":"Próxima página","no":"Não","noAppointmentsToDisplay":"Nenhuma consulta para mostrar","noContent":"Sem Conteúdo","noCurrentAppointments":"Não há consultas marcadas para hoje por mostrar para este utente","noEncountersFound":"Nenhuma consulta encontrada","noPastAppointments":"Não há consultas anteriores por mostrar para este utente","noPreviousVisitFound":"Nenhuma visita anterior foi encontrada","notArrived":"Não chegou","note":"Nota","notes":"Notas","noUpcomingAppointments":"Nenhuma próxima consulta foi encontrada","noUpcomingAppointmentsForPatient":"Não há consultas marcadas por mostrar para este utente","pageNumber":"Número da página","past":"Passado","patientDetails":"Detalhes do utente","patientDoubleBooking":"Utente já tem uma consulta marcada nesta hora","patientName":"Nome do utente","patients":"Utentes","period":"Período","prev":"Anterior","previousMonth":"Mês anterior","previousPage":"Página anterior","provider":"Provedor","providers":"Provedores","providersBooked":"Provedores reservados: {{time}}","recurringAppointment":"Consulta recorrente","recurringAppointmentShouldHaveEndDate":"Uma consulta recorrente deve ter uma data de término","repeatEvery":"Repetir a cada","save":"Salvar","saveAndClose":"Salvar e fechar","scheduled":"Marcado","scheduledAppointments":"Consultas marcadas","scheduledForToday":"Marcada para hoje","selectALocation":"Selecione um local","selectAppointmentStatus":"Selecione estado","selectAppointmentType":"Selecione algum tipo de consulta","selectLocation":"Selecione o local","selectOption":"Selecione uma opção","selectProvider":"Selecione um provedor","selectService":"Selecione um serviço","selectServiceType":"Selecione tipo de serviço","service":"Serviço","serviceName":"Nome do serviço","serviceType":"Tipo de Serviço","serviceUnavailable":"A hora da consulta está fora do horário de atendimento","startDate":"Data inicial","startTime":"Tempo Inicial","status":"Estado","time":"Tempo","today":"Hoje","todays":"Hoje","type":"Tipo","unscheduled":"Não marcada","unscheduledAppointments":"Consultas não marcadas","unscheduledAppointments_lower":"consultas não marcadas","upcoming":"Por vir","upcomingAppointments":"Próximas consultas","updateError":"Error updating upcoming appointment","view":"Visualizar","vitals":"Sinais vitais","week":"Semana","yes":"Sim"}')}}]);
package/dist/690.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[690],{2690:e=>{e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","age":"Age","allDay":"All day","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"Appointment color","appointmentConflict":"Appointment conflict","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentMetrics":"Appointment metrics","appointmentMetricsLoadError":"","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentService":"Appointment service","appointmentServiceCreate":"Appointment service created successfully","appointmentServiceName":"Appointment service name","appointmentsScheduledForToday":"appointments scheduled for today","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createAppointmentService":"Create appointment services","createNewAppointment":"Create new appointment","date":"Date","date&Time":"Date & time","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateOfBirth":"Date of birth","dateScheduled":"Date appointment issued","dateScheduledDetail":"Date appointment issued","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","durationMins":"Duration min","edit":"Edit","editAppointment":"Edit Appointment","editAppointments":"Edit Appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","encounters":"Encounters","encounterType":"Encounter type","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","endDate":"End date","endTime":"End Time","errorCreatingAppointmentService":"Error creating appointment service","expected":"Expected","filterTable":"Filter table","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","identifier":"Identifier","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","medications":"Medications","missed":"Missed","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noEncountersFound":"No encounters found","noPastAppointments":"There are no past appointments to display for this patient","noPreviousVisitFound":"No previous visit found","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","save":"Save","saveAndClose":"Save and close","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectLocation":"Select location","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","selectServiceType":"Select service type","service":"Service","serviceName":"Service name","serviceType":"Service Type","serviceUnavailable":"Appointment time is outside of service hours","startDate":"Start date","startTime":"Start Time","status":"Status","time":"Time","today":"Today","todays":"Today\'s","type":"Type","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","view":"View","vitals":"Vitals","week":"Week","yes":"Yes"}')}}]);
package/dist/712.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[712],{9712:(e,t,n)=>{n.r(t),n.d(t,{default:()=>r});var i=n(1343),o=n.n(i),a=n(3150),s=n(7046),l=n(8254),c=n(493),p=n(9862);const r=function(e){var t=e.patientUuid,n=e.appointmentUuid,r=e.closeModal,u=(0,a.useTranslation)().t,d=(0,l.useVisit)(t),m=d.activeVisit,h=d.mutate,k=(0,p.q4)().mutateAppointments,f=(0,i.useCallback)((function(){(0,c.y)("Completed",n).then((function(){if(k(),m){var e=new AbortController,t={stopDatetime:new Date};return(0,l.updateVisit)(m.uuid,t,e).then((function(){(0,l.showSnackbar)({title:u("appointmentEnded","Appointment ended"),subtitle:u("appointmentEndedAndVisitClosedSuccessfully","Appointment successfully ended and visit successfully closed"),isLowContrast:!0,kind:"success"}),h()})).catch((function(e){(0,l.showSnackbar)({title:u("appointmentEndedButVisitNotClosedError","Appointment ended successfully, but there was an error closing the visit."),subtitle:null==e?void 0:e.message,kind:"error",isLowContrast:!0})}))}(0,l.showSnackbar)({title:u("appointmentEnded","Appointment ended"),subtitle:u("appointmentEndedSuccessfully","Appointment successfully ended."),isLowContrast:!0,kind:"success"})})).catch((function(e){(0,l.showSnackbar)({title:u("appointmentEndError","Error ending appointment"),subtitle:null==e?void 0:e.message,kind:"error",isLowContrast:!0})})).finally((function(){r()}))}),[m,n,r,h,k,u]);return o().createElement("div",null,o().createElement(s.rQ0,{closeModal:r,title:u("endAppointmentConfirmation","Are you sure you want to check the patient out for this appointment?")}),o().createElement(s.cwr,null,o().createElement("p",null,m?u("endAppointmentAndVisitConfirmationMessage","Checking the patient out will mark the appointment as complete and close out the active visit for this patient."):u("endAppointmentConfirmationMessage","Checking the patient out will mark the appointment as complete."))),o().createElement(s.jlY,null,o().createElement(s.$nd,{kind:"secondary",onClick:r},u("cancel","Cancel")),o().createElement(s.$nd,{kind:"danger",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EAAiBC,EAAYK,EAAQE,EAAoBL,IAE1E,OACE,kBAAC0B,MAAAA,KACC,kBAACC,EAAAA,IAAWA,CACV7B,WAAYA,EACZoB,MAAOlB,EAAE,6BAA8B,0EAEzC,kBAAC4B,EAAAA,IAASA,KACR,kBAACC,IAAAA,KACE3B,EACGF,EACE,4CACA,mHAEFA,EAAE,oCAAqC,qEAG/C,kBAAC8B,EAAAA,IAAWA,KACV,kBAACC,EAAAA,IAAMA,CAACV,KAAK,YAAYW,QAASlC,GAC/BE,EAAE,SAAU,WAEf,kBAAC+B,EAAAA,IAAMA,CAACV,KAAK,SAASW,QAAS1B,GAC5BN,EAAE,WAAY,eAKzB,C","sources":["webpack://@kenyaemr/esm-appointments-app/./src/appointments/common-components/end-appointment.modal.tsx"],"names":["patientUuid","appointmentUuid","closeModal","useTranslation","t","useVisit","activeVisit","mutate","useMutateAppointments","mutateAppointments","handleEndAppointment","useCallback","changeAppointmentStatus","then","abortController","AbortController","endVisitPayload","stopDatetime","Date","updateVisit","uuid","showSnackbar","title","subtitle","isLowContrast","kind","catch","error","message","finally","div","ModalHeader","ModalBody","p","ModalFooter","Button","onClick"],"sourceRoot":""}
1
+ {"version":3,"file":"712.js","mappings":"iQAoGA,QAvFgE,Y,IAAGA,EAAAA,EAAAA,YAAaC,EAAAA,EAAAA,gBAAiBC,EAAAA,EAAAA,WACzF,GAAQC,EAAAA,EAAAA,kBAANC,EACwBC,GAAAA,EAAAA,EAAAA,UAASL,GAAjCM,EAAwBD,EAAxBC,YAAaC,EAAWF,EAAXE,OACf,GAAyBC,EAAAA,EAAAA,MAAvBC,mBAEFC,GAAuBC,EAAAA,EAAAA,cAAY,YACvCC,EAAAA,EAAAA,GAAwB,YAAaX,GAClCY,MAAK,WAEJ,GADAJ,IACIH,EAAa,CACf,IAAMQ,EAAkB,IAAIC,gBACtBC,EAAkB,CAAEC,aAAc,IAAIC,MAE5C,OAAOC,EAAAA,EAAAA,aAAYb,EAAYc,KAAMJ,EAAiBF,GACnDD,MAAK,YACJQ,EAAAA,EAAAA,cAAa,CACXC,MAAOlB,EAAE,mBAAoB,qBAC7BmB,SAAUnB,EACR,6CACA,gEAEFoB,eAAe,EACfC,KAAM,YAERlB,GACF,IACCmB,OAAM,SAACC,IACNN,EAAAA,EAAAA,cAAa,CACXC,MAAOlB,EACL,yCACA,6EAEFmB,SAAUI,aAAAA,EAAAA,EAAOC,QACjBH,KAAM,QACND,eAAe,GAEnB,GACJ,EACEH,EAAAA,EAAAA,cAAa,CACXC,MAAOlB,EAAE,mBAAoB,qBAC7BmB,SAAUnB,EAAE,+BAAgC,mCAC5CoB,eAAe,EACfC,KAAM,WAGZ,IACCC,OAAM,SAACC,IACNN,EAAAA,EAAAA,cAAa,CACXC,MAAOlB,EAAE,sBAAuB,4BAChCmB,SAAUI,aAAAA,EAAAA,EAAOC,QACjBH,KAAM,QACND,eAAe,GAEnB,IACCK,SAAQ,WACP3B,GACF,GACJ,GAAG,CAACI,EAAaL,EAAiBC,EAAYK,EAAQE,EAAoBL,IAE1E,OACE,kBAAC0B,MAAAA,KACC,kBAACC,EAAAA,IAAWA,CACV7B,WAAYA,EACZoB,MAAOlB,EAAE,6BAA8B,0EAEzC,kBAAC4B,EAAAA,IAASA,KACR,kBAACC,IAAAA,KACE3B,EACGF,EACE,4CACA,mHAEFA,EAAE,oCAAqC,qEAG/C,kBAAC8B,EAAAA,IAAWA,KACV,kBAACC,EAAAA,IAAMA,CAACV,KAAK,YAAYW,QAASlC,GAC/BE,EAAE,SAAU,WAEf,kBAAC+B,EAAAA,IAAMA,CAACV,KAAK,SAASW,QAAS1B,GAC5BN,EAAE,WAAY,eAKzB,C","sources":["webpack://@kenyaemr/esm-appointments-app/./src/appointments/common-components/end-appointment.modal.tsx"],"names":["patientUuid","appointmentUuid","closeModal","useTranslation","t","useVisit","activeVisit","mutate","useMutateAppointments","mutateAppointments","handleEndAppointment","useCallback","changeAppointmentStatus","then","abortController","AbortController","endVisitPayload","stopDatetime","Date","updateVisit","uuid","showSnackbar","title","subtitle","isLowContrast","kind","catch","error","message","finally","div","ModalHeader","ModalBody","p","ModalFooter","Button","onClick"],"sourceRoot":""}
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[539],{539:e=>{e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","age":"Age","allDay":"All day","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"Appointment color","appointmentConflict":"Appointment conflict","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentMetrics":"Appointment metrics","appointmentMetricsLoadError":"","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentService":"Appointment service","appointmentServiceCreate":"Appointment service created successfully","appointmentServiceName":"Appointment service name","appointmentsScheduledForToday":"appointments scheduled for today","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createAppointmentService":"Create appointment services","createNewAppointment":"Create new appointment","date":"Date","date&Time":"Date & time","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateOfBirth":"Date of birth","dateScheduled":"Date appointment issued","dateScheduledDetail":"Date appointment issued","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","durationMins":"Duration min","edit":"Edit","editAppointment":"Edit Appointment","editAppointments":"Edit Appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","encounters":"Encounters","encounterType":"Encounter type","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","endDate":"End date","endTime":"End Time","errorCreatingAppointmentService":"Error creating appointment service","expected":"Expected","filterTable":"Filter table","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","identifier":"Identifier","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","medications":"Medications","missed":"Missed","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noEncountersFound":"No encounters found","noPastAppointments":"There are no past appointments to display for this patient","noPreviousVisitFound":"No previous visit found","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","save":"Save","saveAndClose":"Save and close","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectLocation":"Select location","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","selectServiceType":"Select service type","service":"Service","serviceName":"Service name","serviceType":"Service Type","serviceUnavailable":"Appointment time is outside of service hours","startDate":"Start date","startTime":"Start Time","status":"Status","time":"Time","today":"Today","todays":"Today\'s","type":"Type","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","view":"View","vitals":"Vitals","week":"Week","yes":"Yes"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[723],{723:e=>{e.exports=JSON.parse('{"action":"Action","actions":"Actions","add":"Add","age":"Age","allDay":"All day","appointmentCancelError":"Error cancelling appointment","appointmentCancelled":"Appointment Cancelled","appointmentCancelledSuccessfully":"Appointment cancelled successfully","appointmentCheckedIn":"Appointment Checked In","appointmentColor":"Appointment color","appointmentConflict":"Appointment conflict","appointmentEdited":"Appointment edited","appointmentEditError":"Error editing appointment","appointmentEnded":"Appointment ended","appointmentEndedAndVisitClosedSuccessfully":"Appointment successfully ended and visit successfully closed","appointmentEndedButVisitNotClosedError":"Appointment ended, but error closing visit","appointmentEndedSuccessfully":"Appointment successfully ended.","appointmentEndError":"Error ending appointment","appointmentFormError":"Error scheduling appointment","appointmentHistory":"Appointment History","appointmentMarkedChecked":"Appointment marked as Checked In","appointmentMetrics":"Appointment metrics","appointmentMetricsLoadError":"","appointmentNoteLabel":"Write an additional note","appointmentNotePlaceholder":"Write any additional points here","appointmentNotes":"Appointment Notes","appointmentNowVisible":"It is now visible on the Appointments page","appointments":"Appointments","Appointments":"Appointments","appointments_lower":"appointments","appointmentsCalendar":"Appointments calendar","appointmentScheduled":"Appointment scheduled","appointmentService":"Appointment service","appointmentServiceCreate":"Appointment service created successfully","appointmentServiceName":"Appointment service name","appointmentsScheduledForToday":"appointments scheduled for today","appointmentsTable":"Appointments table","appointmentStatus":"Appointment status","appointmentToFulfill":"Select appointment to fulfill","appointmentType":"Appointment type","appointmentType_title":"Appointment Type","back":"Back","calendar":"Calendar","cameEarly":"Came Early","cancel":"Cancel","cancelAppointment":"Cancel Appointment","cancelAppointmentModalConfirmationText":"Are you sure you want to cancel this appointment?","cancelled":"Cancelled","checkedIn":"Checked in","checkedOut":"Checked out","checkFilters":"Check the filters above","checkIn":"Check In","checkOut":"Check out","chooseAppointmentType":"Choose appointment type","chooseLocation":"Choose a location","chooseProvider":"Choose a provider","chooseService":"Select service","completed":"Completed","Contact":"Contact {{index}}","countMore_one":"{{count}} more","countMore_other":"{{count}} more","createAppointmentService":"Create appointment services","createNewAppointment":"Create new appointment","date":"Date","date&Time":"Date & time","dateAppointmentIssuedCannotBeAfterAppointmentDate":"Date appointment issued cannot be after the appointment date","dateOfBirth":"Date of birth","dateScheduled":"Date appointment issued","dateScheduledDetail":"Date appointment issued","dateTime":"Date & Time","day":"Day","daysOfWeek":"Days of the week","discard":"Discard","download":"Download","durationErrorMessage":"Duration should be greater than zero","durationInMinutes":"Duration (minutes)","durationMins":"Duration min","edit":"Edit","editAppointment":"Edit Appointment","editAppointments":"Edit Appointment","emptyStateText":"There are no <1>{{displayText}}</1> to display","encounters":"Encounters","encounterType":"Encounter type","endAppointmentAndVisitConfirmationMessage":"Checking the patient out will mark the appointment as complete, and close out the active visit for this patient.","endAppointmentConfirmation":"Are you sure you want to check the patient out for this appointment?","endAppointmentConfirmationMessage":"Checking the patient out will mark the appointment as complete.","endDate":"End date","endTime":"End Time","errorCreatingAppointmentService":"Error creating appointment service","expected":"Expected","filterTable":"Filter table","gender":"Gender","highestServiceVolume":"Highest volume service: {{time}}","identifier":"Identifier","invalidNumber":"Number is not valid","isRecurringAppointment":"Is this a recurring appointment?","itemsPerPage":"Items per page","loading":"Loading","location":"Location","medications":"Medications","missed":"Missed","next":"Next","nextMonth":"Next month","nextPage":"Next page","no":"No","noAppointmentsToDisplay":"No appointments to display","noContent":"No Content","noCurrentAppointments":"There are no appointments scheduled for today to display for this patient","noEncountersFound":"No encounters found","noPastAppointments":"There are no past appointments to display for this patient","noPreviousVisitFound":"No previous visit found","notArrived":"Not arrived","note":"Note","notes":"Notes","noUpcomingAppointments":"No upcoming appointments found","noUpcomingAppointmentsForPatient":"There are no upcoming appointments to display for this patient","pageNumber":"Page number","past":"Past","patientDetails":"Patient Details","patientDoubleBooking":"Patient already booked for an appointment at this time","patientName":"Patient name","patients":"Patients","period":"Period","prev":"Prev","previousMonth":"Previous month","previousPage":"Previous page","provider":"Provider","providers":"Providers","providersBooked":"Providers booked: {{time}}","recurringAppointment":"Recurring Appointment","recurringAppointmentShouldHaveEndDate":"A recurring appointment should have an end date","repeatEvery":"Repeat every","save":"Save","saveAndClose":"Save and close","scheduled":"Scheduled","scheduledAppointments":"Scheduled appointments","scheduledForToday":"Scheduled For Today","selectALocation":"Select a location","selectAppointmentStatus":"Select status","selectAppointmentType":"Select an appointment type","selectLocation":"Select location","selectOption":"Select an option","selectProvider":"Select a provider","selectService":"Select a service","selectServiceType":"Select service type","service":"Service","serviceName":"Service name","serviceType":"Service Type","serviceUnavailable":"Appointment time is outside of service hours","startDate":"Start date","startTime":"Start Time","status":"Status","time":"Time","today":"Today","todays":"Today\'s","type":"Type","unscheduled":"Unscheduled","unscheduledAppointments":"Unscheduled appointments","unscheduledAppointments_lower":"unscheduled appointments","upcoming":"Upcoming","upcomingAppointments":"Upcoming appointments","updateError":"Error updating upcoming appointment","view":"View","vitals":"Vitals","week":"Week","yes":"Yes"}')}}]);
package/dist/745.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_kenyaemr_esm_appointments_app=globalThis.webpackChunk_kenyaemr_esm_appointments_app||[]).push([[745],{5196:(n,e,t)=>{t.d(e,{A:()=>s});var a=t(977),i=t.n(a),o=t(5924),p=t.n(o)()(i());p.push([n.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-appointments__patient-upcoming-appointments-card__container___KFtGG{margin:1rem}.-esm-appointments__patient-upcoming-appointments-card__container___KFtGG section{margin:1rem 0}.-esm-appointments__patient-upcoming-appointments-card__sectionTitle___Jj\\+iv{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);color:#525252;margin:0 0 .5rem 0}.-esm-appointments__patient-upcoming-appointments-card__checkbox___Q0bWB:not(:first-child){margin:0}.-esm-appointments__patient-upcoming-appointments-card__input___IVxme{margin:0 1rem 1rem}.-esm-appointments__patient-upcoming-appointments-card__headerLabel___uqtaE{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);color:#525252}.-esm-appointments__patient-upcoming-appointments-card__checkboxContainer___te\\+1s{display:grid;grid-template-columns:1fr 1fr}.-esm-appointments__patient-upcoming-appointments-card__structuredList___wnDvB{padding:.5rem .5rem .5rem}.-esm-appointments__patient-upcoming-appointments-card__inlineNotification___gw6y0{width:100%;max-width:unset;padding:0}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/patient-appointments/patient-upcoming-appointments-card.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss"],names:[],mappings:"AAoDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCvDF,0EACE,WC0BW,CDxBX,kFACE,aAAA,CAIJ,8EEs1BI,uDAAA,CAAA,0DAAA,CAAA,4DAAA,CAAA,8DAAA,CFp1BF,aDTQ,CCUR,kBAAA,CAIA,2FACE,QAAA,CAIJ,sEACE,kBAAA,CAGF,4EEs0BI,gDAAA,CAAA,gDAAA,CAAA,oDAAA,CAAA,yDAAA,CFp0BF,aDzBQ,CC4BV,mFACE,YAAA,CACA,6BAAA,CAGF,+EACE,yBAAA,CAGF,mFACE,UAAA,CACA,eAAA,CACA,SAAA",sourcesContent:["$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: 4rem;\n --workspace-header-height: 3rem;\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.container {\n margin: layout.$spacing-05;\n\n & section {\n margin: layout.$spacing-05 0;\n }\n}\n\n.sectionTitle {\n @include type.type-style('heading-compact-02');\n color: $text-02;\n margin: 0 0 layout.$spacing-03 0;\n}\n\n.checkbox {\n &:not(:first-child) {\n margin: 0;\n }\n}\n\n.input {\n margin: 0 layout.$spacing-05 layout.$spacing-05;\n}\n\n.headerLabel {\n @include type.type-style('label-01');\n color: $text-02;\n}\n\n.checkboxContainer {\n display: grid;\n grid-template-columns: 1fr 1fr;\n}\n\n.structuredList {\n padding: layout.$spacing-03 layout.$spacing-03 layout.$spacing-03;\n}\n\n.inlineNotification {\n width: 100%;\n max-width: unset;\n padding: 0;\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n"],sourceRoot:""}]),p.locals={container:"-esm-appointments__patient-upcoming-appointments-card__container___KFtGG",sectionTitle:"-esm-appointments__patient-upcoming-appointments-card__sectionTitle___Jj+iv",checkbox:"-esm-appointments__patient-upcoming-appointments-card__checkbox___Q0bWB",input:"-esm-appointments__patient-upcoming-appointments-card__input___IVxme",headerLabel:"-esm-appointments__patient-upcoming-appointments-card__headerLabel___uqtaE",checkboxContainer:"-esm-appointments__patient-upcoming-appointments-card__checkboxContainer___te+1s",structuredList:"-esm-appointments__patient-upcoming-appointments-card__structuredList___wnDvB",inlineNotification:"-esm-appointments__patient-upcoming-appointments-card__inlineNotification___gw6y0"};const s=p},4745:(n,e,t)=>{t.r(e),t.d(e,{default:()=>E});var a=t(1343),i=t.n(a),o=t(3150),p=t(7046),s=t(8254),l=t(493),r=t(4936),c=t(2591),u=t.n(c),d=t(1740),g=t.n(d),f=t(8128),h=t.n(f),y=t(855),m=t.n(y),b=t(3051),$=t.n(b),v=t(3656),k=t.n(v),w=t(5196),A={};A.styleTagTransform=k(),A.setAttributes=m(),A.insert=h().bind(null,"head"),A.domAPI=g(),A.insertStyleElement=$(),u()(w.A,A);const x=w.A&&w.A.locals?w.A.locals:void 0;var _=t(3464),z=t.n(_),C=t(9862);function M(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,a=new Array(e);t<e;t++)a[t]=n[t];return a}const E=function(n){var e,t,c,u,d=n.patientUuid,g=n.setVisitFormCallbacks,f=n.patientChartConfig,h=(0,o.useTranslation)().t,y=z()((new Date).toISOString()).subtract(6,"month").toISOString(),m=h("upcomingAppointments","Upcoming appointments"),b=(c=(0,a.useState)(null),u=2,function(n){if(Array.isArray(n))return n}(c)||function(n,e){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var a,i,o=[],p=!0,s=!1;try{for(t=t.call(n);!(p=(a=t.next()).done)&&(o.push(a.value),!e||o.length!==e);p=!0);}catch(n){s=!0,i=n}finally{try{p||null==t.return||t.return()}finally{if(s)throw i}}return o}}(c,u)||function(n,e){if(n){if("string"==typeof n)return M(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?M(n,e):void 0}}(c,u)||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.")}()),$=b[0],v=b[1],k=(0,C.q4)().mutateAppointments,w=(0,a.useMemo)((function(){return k}),[k]),A=(0,a.useMemo)((function(){return new AbortController}),[]);(0,a.useEffect)((function(){return function(){return A.abort()}}),[A]);var _=(0,l.D)(d,y,A),E=_.data,T=_.error,I=_.isLoading,N=(0,a.useMemo)((function(){return{onVisitCreatedOrUpdated:function(){return $?(0,l.y)("CheckedIn",$.uuid).then((function(){w(),(0,s.showSnackbar)({isLowContrast:!0,kind:"success",subtitle:h("appointmentMarkedChecked","Appointment marked as Checked In"),title:h("appointmentCheckedIn","Appointment Checked In")})})).catch((function(n){(0,s.showSnackbar)({title:h("updateError","Error updating upcoming appointment"),kind:"error",isLowContrast:!1,subtitle:null==n?void 0:n.message})})):Promise.resolve()}}}),[$,w,h]);(0,a.useEffect)((function(){g(N)}),[N,g]);var B=(null==E||null===(e=E.todaysAppointments)||void 0===e?void 0:e.length)?null==E?void 0:E.todaysAppointments:[],D=(null==E||null===(t=E.upcomingAppointments)||void 0===t?void 0:t.length)?null==E?void 0:E.upcomingAppointments:[],S=B.concat(D).filter((function(n){return"CheckedIn"!==n.status}));return f.showUpcomingAppointments?T?i().createElement(r.ErrorState,{headerTitle:m,error:T}):I?i().createElement("span",null,i().createElement(p.OuH,null)):S.length?i().createElement("div",null,i().createElement("div",null,i().createElement("p",{className:x.sectionTitle},m),i().createElement("span",{className:x.headerLabel},h("appointmentToFulfill","Select appointment to fulfill"))),i().createElement(p.r9c,null,i().createElement(p.AVA,null,i().createElement(p.Cvq,{head:!0},i().createElement(p.Um2,{head:!0},h("date","Date")),i().createElement(p.Um2,{head:!0},h("appointmentType","Appointment type")),i().createElement(p.Um2,{head:!0},h("action","Action")))),i().createElement(p.GRJ,null,S.map((function(n,e){return i().createElement(p.Cvq,{key:e,className:x.structuredList},i().createElement(p.Um2,null,(0,s.formatDate)((0,s.parseDate)(n.startDateTime),{mode:"wide"})),i().createElement(p.Um2,null,n.service?n.service.name:"——"),i().createElement(p.Um2,null,i().createElement(p.aaP,{className:x.radioButton,labelText:"",id:"radio-".concat(e),name:"appointmentRadio",value:n.uuid,checked:$===n,onChange:function(){return function(n){v(n)}(n)}})))}))))):i().createElement(p.jeF,{kind:"info",lowContrast:!0,className:x.inlineNotification,title:h("upcomingAppointments","Upcoming appointments"),subtitle:h("noUpcomingAppointments","No upcoming appointments found")}):i().createElement(i().Fragment,null)}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"745.js","mappings":"4MAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,6qDAA8qD,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,+EAA+E,6EAA6E,iEAAiE,MAAQ,GAAG,SAAW,sXAAsX,eAAiB,CAAC,o7DAAo7D,gyBAAgyB,05DAA05D,w8uBAAw8uB,WAAa,MAEx/8BH,EAAwBI,OAAS,CAChC,UAAa,2EACb,aAAgB,8EAChB,SAAY,0EACZ,MAAS,uEACT,YAAe,6EACf,kBAAqB,mFACrB,eAAkB,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AaqB,KAAI,SAAClB,EAAamB,G,OAC9B,kBAACL,EAAAA,IAAiBA,CAACM,IAAKD,EAAOX,UAAWC,EAAOY,gBAC/C,kBAACL,EAAAA,IAAkBA,MAChBM,EAAAA,EAAAA,aAAWC,EAAAA,EAAAA,WAAUvB,EAAYwB,eAAgB,CAAEC,KAAM,UAE5D,kBAACT,EAAAA,IAAkBA,KAAEhB,EAAY0B,QAAU1B,EAAY0B,QAAQC,KAAO,MACtE,kBAACX,EAAAA,IAAkBA,KACjB,kBAACY,EAAAA,IAAWA,CACVpB,UAAWC,EAAOoB,YAClBC,UAAU,GACVtF,GAAI,SAAe,OAAN2E,GACbQ,KAAK,mBACLI,MAAO/B,EAAYlB,KACnBkD,QAASlE,IAAwBkC,EACjCiC,SAAU,W,OAjDF,SAACjC,GACzBjC,EAAuBiC,EACzB,CA+CkCkC,CAAkBlC,E,YAYlD,kBAACmC,EAAAA,IAAkBA,CACjBjD,KAAM,OACNkD,aAAAA,EACA5B,UAAWC,EAAO4B,mBAClBjD,MAAO9B,EAAE,uBAAwB,yBACjC6B,SAAU7B,EAAE,yBAA0B,oCA7DjC,oCAgEX,C","sources":["webpack://@kenyaemr/esm-appointments-app/./src/patient-appointments/patient-upcoming-appointments-card.scss","webpack://@kenyaemr/esm-appointments-app/./src/patient-appointments/patient-upcoming-appointments-card.scss?d765","webpack://@kenyaemr/esm-appointments-app/./src/patient-appointments/patient-upcoming-appointments-card.component.tsx"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","appointmentsData","patientUuid","setVisitFormCallbacks","patientChartConfig","useTranslation","t","startDate","dayjs","Date","toISOString","subtract","headerTitle","useState","selectedAppointment","setSelectedAppointment","useMutateAppointments","mutateAppointments","memoMutateAppointments","useMemo","ac","AbortController","useEffect","abort","usePatientAppointments","data","error","isLoading","onVisitCreatedOrUpdated","changeAppointmentStatus","uuid","then","showSnackbar","isLowContrast","kind","subtitle","title","catch","message","Promise","resolve","todaysAppointments","length","futureAppointments","upcomingAppointments","appointments","concat","filter","appointment","status","showUpcomingAppointments","ErrorState","span","InlineLoading","div","p","className","styles","sectionTitle","headerLabel","StructuredListWrapper","StructuredListHead","StructuredListRow","head","StructuredListCell","StructuredListBody","map","index","key","structuredList","formatDate","parseDate","startDateTime","mode","service","name","RadioButton","radioButton","labelText","value","checked","onChange","handleRadioChange","InlineNotification","lowContrast","inlineNotification"],"sourceRoot":""}