@openmrs/esm-ward-app 9.2.1-pre.7385 → 9.2.1-pre.7405

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 (114) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/dist/1119.js +1 -1
  3. package/dist/1197.js +1 -1
  4. package/dist/1326.js +1 -1
  5. package/dist/1326.js.map +1 -1
  6. package/dist/2146.js +1 -1
  7. package/dist/2690.js +1 -1
  8. package/dist/3099.js +1 -1
  9. package/dist/3584.js +1 -1
  10. package/dist/380.js +1 -1
  11. package/dist/380.js.map +1 -1
  12. package/dist/4055.js +1 -1
  13. package/dist/4098.js +1 -0
  14. package/dist/4098.js.map +1 -0
  15. package/dist/4132.js +1 -1
  16. package/dist/4300.js +1 -1
  17. package/dist/4335.js +1 -1
  18. package/dist/439.js +1 -1
  19. package/dist/4618.js +1 -1
  20. package/dist/4652.js +1 -1
  21. package/dist/4944.js +1 -1
  22. package/dist/5173.js +1 -1
  23. package/dist/5241.js +1 -1
  24. package/dist/5442.js +1 -1
  25. package/dist/5661.js +1 -1
  26. package/dist/5885.js +1 -1
  27. package/dist/5885.js.map +1 -1
  28. package/dist/6022.js +1 -1
  29. package/dist/6468.js +1 -1
  30. package/dist/6589.js +1 -1
  31. package/dist/6679.js +1 -1
  32. package/dist/6840.js +1 -1
  33. package/dist/6859.js +1 -1
  34. package/dist/7097.js +1 -1
  35. package/dist/7159.js +1 -1
  36. package/dist/723.js +1 -1
  37. package/dist/7512.js +1 -1
  38. package/dist/7524.js +1 -1
  39. package/dist/7524.js.map +1 -1
  40. package/dist/7617.js +1 -1
  41. package/dist/795.js +1 -1
  42. package/dist/8163.js +1 -1
  43. package/dist/8349.js +1 -1
  44. package/dist/8371.js +1 -1
  45. package/dist/8618.js +1 -1
  46. package/dist/890.js +1 -1
  47. package/dist/9214.js +1 -1
  48. package/dist/9538.js +1 -1
  49. package/dist/9569.js +1 -1
  50. package/dist/9775.js +1 -1
  51. package/dist/9775.js.map +1 -1
  52. package/dist/986.js +1 -1
  53. package/dist/9879.js +1 -1
  54. package/dist/9895.js +1 -1
  55. package/dist/9900.js +1 -1
  56. package/dist/9913.js +1 -1
  57. package/dist/main.js +1 -1
  58. package/dist/openmrs-esm-ward-app.js.buildmanifest.json +166 -166
  59. package/dist/routes.json +1 -1
  60. package/package.json +1 -1
  61. package/src/types/index.ts +11 -0
  62. package/src/utils.ts +15 -0
  63. package/src/ward-view/default-ward/default-ward-view.component.tsx +3 -1
  64. package/src/ward-view/materal-ward/maternal-ward-view.component.tsx +15 -2
  65. package/src/ward-view/ward-view.resource.test.ts +140 -0
  66. package/src/ward-view/ward-view.resource.ts +21 -22
  67. package/src/ward-view-header/ward-metrics.component.tsx +59 -38
  68. package/src/ward-view-header/ward-metrics.test.tsx +17 -17
  69. package/src/ward-view-header/ward-view-header.component.tsx +3 -3
  70. package/translations/am.json +2 -2
  71. package/translations/ar.json +2 -2
  72. package/translations/ar_SY.json +2 -2
  73. package/translations/bn.json +2 -2
  74. package/translations/cs.json +2 -2
  75. package/translations/de.json +2 -2
  76. package/translations/en.json +2 -4
  77. package/translations/en_US.json +2 -2
  78. package/translations/es.json +2 -2
  79. package/translations/es_MX.json +2 -2
  80. package/translations/fr.json +2 -2
  81. package/translations/he.json +2 -2
  82. package/translations/hi.json +2 -2
  83. package/translations/hi_IN.json +2 -2
  84. package/translations/id.json +2 -2
  85. package/translations/it.json +2 -2
  86. package/translations/ka.json +2 -2
  87. package/translations/km.json +2 -2
  88. package/translations/ku.json +2 -2
  89. package/translations/ky.json +2 -2
  90. package/translations/lg.json +2 -2
  91. package/translations/ne.json +2 -2
  92. package/translations/pl.json +2 -2
  93. package/translations/pt.json +2 -2
  94. package/translations/pt_BR.json +2 -2
  95. package/translations/qu.json +2 -2
  96. package/translations/ro_RO.json +2 -2
  97. package/translations/ru_RU.json +2 -2
  98. package/translations/si.json +2 -2
  99. package/translations/sq.json +2 -2
  100. package/translations/sw.json +2 -2
  101. package/translations/sw_KE.json +2 -2
  102. package/translations/tr.json +2 -2
  103. package/translations/tr_TR.json +2 -2
  104. package/translations/uk.json +2 -2
  105. package/translations/uz.json +2 -2
  106. package/translations/uz@Latn.json +2 -2
  107. package/translations/uz_UZ.json +2 -2
  108. package/translations/vi.json +2 -2
  109. package/translations/zh.json +2 -2
  110. package/translations/zh_CN.json +2 -2
  111. package/translations/zh_TW.json +2 -2
  112. package/dist/8610.js +0 -1
  113. package/dist/8610.js.map +0 -1
  114. /package/src/{ward-view-header → ward-view}/ward-metrics.scss +0 -0
package/dist/7159.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[7159],{77159:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Admission request cancelled.","admissionRequests":"Admission requests","admissionRequestsCount_one":"{{count}} admission request","admissionRequestsCount_other":"{{count}} admission requests","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"Admit","admitElsewhere":"Admit elsewhere","admitPatient":"Admit patient","admittedTo":"Admitted to {{locationName}}","admitting":"Admitting...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"Back to search results","bedShare":"Bed share","bedSwap":"Bed swap","cancel":"Cancel","cancelAdmissionRequest":"Cancel admission request","capacity":"Capacity","capacityMetricValue":"{{ metricValue }} %","chooseAnOption":"Choose an option","clinicalForms":"Clinical forms","clinicalNoteLabel":"Write your notes","clinicalNotes":"Clinical notes","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} day","days_other":"{{count}} days","discharge":"Discharge","emptyBed":"Empty bed","emptyStateIllustration":"Empty state illustration","emptyText":"Empty","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"Error configuring patient card","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"Failed to admit patient","errorCreatingTransferRequest":"Error creating transfer request","errorDischargingPatient":"Error discharging patient","errorLoadingBedDetails":"Error loading bed details","errorLoadingChildren":"Error loading children info","errorLoadingMother":"Error loading mother info","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"Error loading patient info","errorLoadingPatients":"Error loading admitted patients","errorLoadingWardLocation":"Error loading ward location","female":"Female","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"Free beds","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} hour","hours_other":"{{count}} hours","inpatientNotesWorkspaceTitle":"In-patient notes","invalidLocationSpecified":"Invalid location specified","invalidWardLocation":"Invalid ward location: {{location}}","labelColon":"{{label}}:","male":"Male","manage":"Manage","minutes_one":"{{count}} minutes","minutes_other":"{{count}} minutes","motherChildBedShare":"Mother / Child","nextPage":"Next page","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"No bed","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"No locations found","noPendingAdmissionRequests":"No pending admission requests","note":"Note","notes":"Notes","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"Orders","other":"Other","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"Patient admitted successfully","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"Patient currently not admitted","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"Error saving patient note","patientNotesDidntLoad":"Patient notes didn\'t load","patients":"Patients","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Patient transfer request created","patientUnassignedFromBed":"Patient unassigned from bed","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"Patient was discharged","pendingAdmissions":"Pending admissions","pendingDischarge":"Pending Discharge","pendingOut":"Pending out","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Pending Transfer","pleaseSelectBed":"Please select a bed","pleaseSelectTransferLocation":"Please select transfer location","pleaseSelectTransferType":"Please select transfer type","previousPage":"Previous page","proceedWithPatientDischarge":"Proceed with patient discharge","save":"Save","saving":"Saving...","searchLocations":"Search locations","seconds_one":"{{count}} second","seconds_other":"{{count}} seconds","selectABed":"Select a bed","selectALocation":"Select a location","showingLocations_one":"{{start}}-{{end}} of {{count}} locations","showingLocations_other":"{{start}}-{{end}} of {{count}} locations","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"Admitted: {{timeSinceAdmission}}","transfer":"Transfer","transferElsewhere":"Transfer elsewhere","transferPatient":"Transfer patient","transfers":"Transfers","transferToDispositionLocation":"Transfer to {{location}}","transferType":"Transfer type","typeOfTransfer":"Type of transfer","unknown":"Unknown","unknownError":"An unknown error occurred","visitNoteSaved":"Patient note saved","wardClinicalNotePlaceholder":"Write any notes here","wardPatient":"Ward patient","wards":"Wards"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[7159],{77159:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Admission request cancelled.","admissionRequests":"Admission requests","admissionRequestsCount_one":"{{count}} admission request","admissionRequestsCount_other":"{{count}} admission requests","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"Admit","admitElsewhere":"Admit elsewhere","admitPatient":"Admit patient","admittedTo":"Admitted to {{locationName}}","admitting":"Admitting...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"Back to search results","bedShare":"Bed share","bedSwap":"Bed swap","cancel":"Cancel","cancelAdmissionRequest":"Cancel admission request","chooseAnOption":"Choose an option","clinicalForms":"Clinical forms","clinicalNoteLabel":"Write your notes","clinicalNotes":"Clinical notes","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} day","days_other":"{{count}} days","discharge":"Discharge","emptyBed":"Empty bed","emptyStateIllustration":"Empty state illustration","emptyText":"Empty","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"Error configuring patient card","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"Failed to admit patient","errorCreatingTransferRequest":"Error creating transfer request","errorDischargingPatient":"Error discharging patient","errorLoadingBedDetails":"Error loading bed details","errorLoadingChildren":"Error loading children info","errorLoadingMother":"Error loading mother info","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"Error loading patient info","errorLoadingPatients":"Error loading admitted patients","errorLoadingWardLocation":"Error loading ward location","female":"Female","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"Free beds","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} hour","hours_other":"{{count}} hours","inpatientNotesWorkspaceTitle":"In-patient notes","invalidLocationSpecified":"Invalid location specified","invalidWardLocation":"Invalid ward location: {{location}}","labelColon":"{{label}}:","male":"Male","manage":"Manage","minutes_one":"{{count}} minutes","minutes_other":"{{count}} minutes","motherChildBedShare":"Mother / Child","nextPage":"Next page","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"No bed","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"No locations found","noPendingAdmissionRequests":"No pending admission requests","note":"Note","notes":"Notes","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"Orders","other":"Other","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"Patient admitted successfully","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"Patient currently not admitted","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"Error saving patient note","patientNotesDidntLoad":"Patient notes didn\'t load","patients":"Patients","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Patient transfer request created","patientUnassignedFromBed":"Patient unassigned from bed","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"Patient was discharged","pendingAdmissions":"Pending admissions","pendingDischarge":"Pending Discharge","pendingOut":"Pending out","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Pending Transfer","pleaseSelectBed":"Please select a bed","pleaseSelectTransferLocation":"Please select transfer location","pleaseSelectTransferType":"Please select transfer type","previousPage":"Previous page","proceedWithPatientDischarge":"Proceed with patient discharge","save":"Save","saving":"Saving...","searchLocations":"Search locations","seconds_one":"{{count}} second","seconds_other":"{{count}} seconds","selectABed":"Select a bed","selectALocation":"Select a location","showingLocations_one":"{{start}}-{{end}} of {{count}} locations","showingLocations_other":"{{start}}-{{end}} of {{count}} locations","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"Admitted: {{timeSinceAdmission}}","totalBeds":"Total beds","totalBedsMetricValue":"{{ metricValue }}","transfer":"Transfer","transferElsewhere":"Transfer elsewhere","transferPatient":"Transfer patient","transfers":"Transfers","transferToDispositionLocation":"Transfer to {{location}}","transferType":"Transfer type","typeOfTransfer":"Type of transfer","unknown":"Unknown","unknownError":"An unknown error occurred","visitNoteSaved":"Patient note saved","wardClinicalNotePlaceholder":"Write any notes here","wardPatient":"Ward patient","wards":"Wards"}')}}]);
package/dist/723.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[723],{60723:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Admission request cancelled.","admissionRequests":"Admission requests","admissionRequestsCount_one":"{{count}} admission request","admissionRequestsCount_other":"{{count}} admission requests","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"Admit","admitElsewhere":"Admit elsewhere","admitPatient":"Admit patient","admittedTo":"Admitted to {{locationName}}","admitting":"Admitting...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"Back to search results","bedShare":"Bed share","bedSwap":"Bed swap","cancel":"Cancel","cancelAdmissionRequest":"Cancel admission request","capacity":"Capacity","capacityMetricValue":"{{ metricValue }} %","chooseAnOption":"Choose an option","clinicalForms":"Clinical forms","clinicalNoteLabel":"Write your notes","clinicalNotes":"Clinical notes","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} day","days_other":"{{count}} days","discharge":"Discharge","emptyBed":"Empty bed","emptyStateIllustration":"Empty state illustration","emptyText":"Empty","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"Error configuring patient card","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"Failed to admit patient","errorCreatingTransferRequest":"Error creating transfer request","errorDischargingPatient":"Error discharging patient","errorLoadingBedDetails":"Error loading bed details","errorLoadingChildren":"Error loading children info","errorLoadingMother":"Error loading mother info","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"Error loading patient info","errorLoadingPatients":"Error loading admitted patients","errorLoadingWardLocation":"Error loading ward location","female":"Female","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"Free beds","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} hour","hours_other":"{{count}} hours","inpatientNotesWorkspaceTitle":"In-patient notes","invalidLocationSpecified":"Invalid location specified","invalidWardLocation":"Invalid ward location: {{location}}","labelColon":"{{label}}:","male":"Male","manage":"Manage","minutes_one":"{{count}} minutes","minutes_other":"{{count}} minutes","motherChildBedShare":"Mother / Child","nextPage":"Next page","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"No bed","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"No locations found","noPendingAdmissionRequests":"No pending admission requests","note":"Note","notes":"Notes","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"Orders","other":"Other","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"Patient admitted successfully","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"Patient currently not admitted","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"Error saving patient note","patientNotesDidntLoad":"Patient notes didn\'t load","patients":"Patients","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Patient transfer request created","patientUnassignedFromBed":"Patient unassigned from bed","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"Patient was discharged","pendingAdmissions":"Pending admissions","pendingDischarge":"Pending Discharge","pendingOut":"Pending out","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Pending Transfer","pleaseSelectBed":"Please select a bed","pleaseSelectTransferLocation":"Please select transfer location","pleaseSelectTransferType":"Please select transfer type","previousPage":"Previous page","proceedWithPatientDischarge":"Proceed with patient discharge","save":"Save","saving":"Saving...","searchLocations":"Search locations","seconds_one":"{{count}} second","seconds_other":"{{count}} seconds","selectABed":"Select a bed","selectALocation":"Select a location","showingLocations_one":"{{start}}-{{end}} of {{count}} locations","showingLocations_other":"{{start}}-{{end}} of {{count}} locations","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"Admitted: {{timeSinceAdmission}}","transfer":"Transfer","transferElsewhere":"Transfer elsewhere","transferPatient":"Transfer patient","transfers":"Transfers","transferToDispositionLocation":"Transfer to {{location}}","transferType":"Transfer type","typeOfTransfer":"Type of transfer","unknown":"Unknown","unknownError":"An unknown error occurred","visitNoteSaved":"Patient note saved","wardClinicalNotePlaceholder":"Write any notes here","wardPatient":"Ward patient","wards":"Wards"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[723],{60723:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Admission request cancelled.","admissionRequests":"Admission requests","admissionRequestsCount_one":"{{count}} admission request","admissionRequestsCount_other":"{{count}} admission requests","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"Admit","admitElsewhere":"Admit elsewhere","admitPatient":"Admit patient","admittedTo":"Admitted to {{locationName}}","admitting":"Admitting...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"Back to search results","bedShare":"Bed share","bedSwap":"Bed swap","cancel":"Cancel","cancelAdmissionRequest":"Cancel admission request","chooseAnOption":"Choose an option","clinicalForms":"Clinical forms","clinicalNoteLabel":"Write your notes","clinicalNotes":"Clinical notes","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} day","days_other":"{{count}} days","discharge":"Discharge","emptyBed":"Empty bed","emptyStateIllustration":"Empty state illustration","emptyText":"Empty","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"Error configuring patient card","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"Failed to admit patient","errorCreatingTransferRequest":"Error creating transfer request","errorDischargingPatient":"Error discharging patient","errorLoadingBedDetails":"Error loading bed details","errorLoadingChildren":"Error loading children info","errorLoadingMother":"Error loading mother info","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"Error loading patient info","errorLoadingPatients":"Error loading admitted patients","errorLoadingWardLocation":"Error loading ward location","female":"Female","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"Free beds","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} hour","hours_other":"{{count}} hours","inpatientNotesWorkspaceTitle":"In-patient notes","invalidLocationSpecified":"Invalid location specified","invalidWardLocation":"Invalid ward location: {{location}}","labelColon":"{{label}}:","male":"Male","manage":"Manage","minutes_one":"{{count}} minutes","minutes_other":"{{count}} minutes","motherChildBedShare":"Mother / Child","nextPage":"Next page","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"No bed","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"No locations found","noPendingAdmissionRequests":"No pending admission requests","note":"Note","notes":"Notes","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"Orders","other":"Other","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"Patient admitted successfully","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"Patient currently not admitted","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"Error saving patient note","patientNotesDidntLoad":"Patient notes didn\'t load","patients":"Patients","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Patient transfer request created","patientUnassignedFromBed":"Patient unassigned from bed","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"Patient was discharged","pendingAdmissions":"Pending admissions","pendingDischarge":"Pending Discharge","pendingOut":"Pending out","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Pending Transfer","pleaseSelectBed":"Please select a bed","pleaseSelectTransferLocation":"Please select transfer location","pleaseSelectTransferType":"Please select transfer type","previousPage":"Previous page","proceedWithPatientDischarge":"Proceed with patient discharge","save":"Save","saving":"Saving...","searchLocations":"Search locations","seconds_one":"{{count}} second","seconds_other":"{{count}} seconds","selectABed":"Select a bed","selectALocation":"Select a location","showingLocations_one":"{{start}}-{{end}} of {{count}} locations","showingLocations_other":"{{start}}-{{end}} of {{count}} locations","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"Admitted: {{timeSinceAdmission}}","totalBeds":"Total beds","totalBedsMetricValue":"{{ metricValue }}","transfer":"Transfer","transferElsewhere":"Transfer elsewhere","transferPatient":"Transfer patient","transfers":"Transfers","transferToDispositionLocation":"Transfer to {{location}}","transferType":"Transfer type","typeOfTransfer":"Type of transfer","unknown":"Unknown","unknownError":"An unknown error occurred","visitNoteSaved":"Patient note saved","wardClinicalNotePlaceholder":"Write any notes here","wardPatient":"Ward patient","wards":"Wards"}')}}]);
package/dist/7512.js CHANGED
@@ -1 +1 @@
1
- (globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[7512],{7512:(e,t,n)=>{"use strict";n.r(t),n.d(t,{admissionRequestWorkspace:()=>m,admissionRequestsWorkspaceSideRailIcon:()=>U,admitPatientFormWorkspace:()=>_,cancelAdmissionRequestWorkspace:()=>L,clinicalFormWorkspaceSideRailIcon:()=>S,createAdmissionEncounterWorkspace:()=>W,createAdmissionEncounterWorkspaceSideRailIcon:()=>R,defaultWardView:()=>q,importTranslation:()=>p,maternalWardView:()=>O,orderBasketWorkspaceSideRailIcon:()=>C,patientDischargeWorkspace:()=>j,patientDischargeWorkspaceSideRailIcon:()=>P,patientTransferAndSwapWorkspace:()=>v,patientTransferAndSwapWorkspaceSiderailIcon:()=>I,patientTransferRequestWorkspace:()=>k,root:()=>y,startupApp:()=>N,wardDashboardLink:()=>f,wardPatientActionButton:()=>b,wardPatientCancelAdmissionRequestWorkspace:()=>w,wardPatientNotesActionButton:()=>T,wardPatientNotesWorkspace:()=>g,wardPatientWorkspace:()=>A,wardPatientWorkspaceBanner:()=>D,wardView:()=>h});var i,s=n(54440),o={patientCardElements:{_description:"Configuration of various patient card elements. Each configured element must have a unique id, defined in the ward React component being used.",obs:{_type:s.Type.Array,_default:[],_description:"Configures obs values to display.",_elements:{id:{_type:s.Type.String,_description:"The unique identifier for this patient card element"},conceptUuid:{_type:s.Type.UUID,_description:"Identifies the concept to use to identify the desired observations."},label:{_type:s.Type.String,_default:"",_description:"Optional. The custom label or i18n key to the translated label to display. If not provided, defaults to the concept's name. (Note that this can be set to an empty string to not show a label)"},orderBy:{_type:s.Type.String,_default:"descending",_description:"One of 'ascending' or 'descending', specifying whether to display the obs by obsDatetime ascendingly or descendingly.",_validators:[s.validators.oneOf(["ascending","descending"])]},limit:{_type:s.Type.Number,_default:1,_description:"If set to a number greater than one, this will show multiple obs for this concept, which will appear as a list. Set to 0 for unlimited."},onlyWithinCurrentVisit:{_type:s.Type.Boolean,_default:!1,_description:"Optional. If true, limits display to only observations within current visit. Defaults to false"}}},pendingItems:{_type:s.Type.Array,_default:[{id:"pending-items",orders:{orderTypes:[{label:"Labs",uuid:"52a447d3-a64a-11e3-9aeb-50e549534c5e"}]},showPendingItems:!0}],_description:"Configures pending orders and transfers to display.",_elements:{id:{_type:s.Type.String,_description:"The unique identifier for this patient card element"},orders:{orderTypes:{_type:s.Type.Array,_description:"Configures pending orders and transfers to display.",_elements:{uuid:{_type:s.Type.UUID,_description:"Identifies the order type."},label:{_type:s.Type.String,_default:"",_description:"The label or i18n key to the translated label to display. If not provided, defaults to 'Orders'"}}}},showPendingItems:{_type:s.Type.Boolean,_description:"Optional. If true, pending items (e.g., number of pending orders) will be displayed on the patient card."}}},patientIdentifier:{_type:s.Type.Array,_default:[{id:"patient-identifier",showIdentifierLabel:!1}],_description:"Configures patient identifier to display. An unconfigured element displays the preferred identifier.",_elements:{id:{_type:s.Type.String,_description:"The unique identifier for this patient card element"},showIdentifierLabel:{_type:s.Type.Boolean,_description:'If true, the identifier type (eg: "OpenMRS ID") is shown along with the identifier itself. Defaults to false'}}},patientAddress:{_type:s.Type.Array,_default:[{id:"patient-address",fields:["cityVillage","country"]}],_description:"Configures patient address elements.",_elements:{id:{_type:s.Type.String,_description:"The unique identifier for this patient card element"},fields:{_type:s.Type.Array,_description:"The fields of the address to display",_elements:{_type:s.Type.String,_validators:[s.validators.oneOf(["cityVillage","stateProvince","country","postalCode","countyDistrict","latitude","longitude","address1","address2","address3","address4","address5","address6","address7","address8","address9","address10","address11","address12","address13","address14","address15"])]}}}},admissionRequestNote:{_type:s.Type.Array,_default:[{id:"admission-request-note",conceptUuid:"161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],_description:"Configures admission request notes to display.",_elements:{id:{_type:s.Type.String,_description:"The unique identifier for this patient card element"},conceptUuid:{_type:s.Type.UUID,_description:"Required. Identifies the concept for the admission request note."}}},coloredObsTags:{_type:s.Type.Array,_default:[],_description:"Configures observation values to display as Carbon tags.",_elements:{conceptUuid:{_type:s.Type.UUID,_default:"1284AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",_description:"Required. Identifies the concept to use to identify the desired observations."},summaryLabel:{_type:s.Type.String,_default:"",_description:"Optional. The custom label or i18n key to the translated label to display for the summary tag. The summary tag shows the count of the number of answers that are present but not configured to show as their own tags. If not provided, defaults to the name of the concept."},summaryLabelI18nModule:{_type:s.Type.String,_default:"",_description:"Optional. The custom module to use for translation of the summary label"},summaryLabelColor:{_type:s.Type.String,_default:"",_description:"The color of the summary tag. See https://react.carbondesignsystem.com/?path=/docs/components-tag--overview for a list of supported colors"},tags:{_type:s.Type.Array,_default:[],_description:"An array specifying concept sets and color. Observations with coded values that are members of the specified concept sets will be displayed as their own tags with the specified color. Any observation with coded values not belonging to any concept sets specified will be summarized as a count in the summary tag. If a concept set is listed multiple times, the first matching applied-to rule takes precedence.",_elements:{color:{_type:s.Type.String,_description:"Color of the tag. See https://react.carbondesignsystem.com/?path=/docs/components-tag--overview for a list of supported colors."},appliedToConceptSets:{_type:s.Type.Array,_description:"The concept sets which the color applies to. Observations with coded values that are members of the specified concept sets will be displayed as their own tag with the specified color. If an observation's coded value belongs to multiple concept sets, the first matching applied-to rule takes precedence.",_elements:{_type:s.Type.UUID}}}}}}},wards:{_type:s.Type.Array,_default:[{id:"default-ward"}],_description:"Configuration of what type of ward to use at different ward locations.",_elements:{id:{_type:s.Type.String,_description:'The ward type to use. Currently, "default-ward" and "maternal-ward" are supported. This string also serves as the extension slot name for the ward view.'},appliedTo:{_type:s.Type.Array,_description:"Optional. Conditions under which this card definition should be used. If not provided, the configuration is applied to all wards.",_elements:{location:{_type:s.Type.UUID,_default:"",_description:"The UUID of the location. If not provided, applies to all wards."}}}}},hideWorkspaceVitalsLinks:{_type:s.Type.Boolean,_default:!1,_description:"Configure whether to hide vital history and record vital links in the ward patient workspace."},additionalInpatientNotesConceptUuids:{_type:s.Type.Array,_default:[],_description:"List of uuids of concepts that represent notes to display in the notes view in addition to the consultFreeTextCommentsConcept defined by EMR-API"}},r=n(11340),a=n(1343),d=n.n(a),l=n(8877),c={path:"ward",slot:"ward-dashboard-slot",title:"wards",basePath:"".concat(window.spaBase,"/home")},p=n(84767),u={featureName:"ward",moduleName:r.A},y=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(2339),n.e(8010),n.e(9775)]).then(n.bind(n,99775))},u),f=(0,s.getSyncLifecycle)((i=c,function(){return d().createElement(l.BrowserRouter,null,d().createElement(s.DashboardExtension,{path:i.path,title:i.title,basePath:i.basePath,icon:i.icon}))}),u),h=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(2339),n.e(8010),n.e(7524)]).then(n.bind(n,27524))},u),m=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(2339),n.e(8010),n.e(581)]).then(n.bind(n,80581))},u),_=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(9559),n.e(2339),n.e(8010),n.e(5434),n.e(2728)]).then(n.bind(n,12728))},u),A=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(2339),n.e(8501)]).then(n.bind(n,88501))},u),g=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(9559),n.e(2339),n.e(8010),n.e(1987)]).then(n.bind(n,61987))},u),b=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(2339),n.e(5603)]).then(n.bind(n,55603))},u),w=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(9559),n.e(2339),n.e(8010),n.e(4189),n.e(9756)]).then(n.bind(n,69756))},u),T=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(2339),n.e(2216)]).then(n.bind(n,22216))},u),v=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(9559),n.e(2339),n.e(8010),n.e(380),n.e(7661),n.e(3365)]).then(n.bind(n,23365))},u),j=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(2339),n.e(8010),n.e(283)]).then(n.bind(n,80283))},u),I=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(2339),n.e(3413)]).then(n.bind(n,23413))},u),k=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(9559),n.e(2339),n.e(8010),n.e(380),n.e(7661),n.e(2948)]).then(n.bind(n,12948))},u),P=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(8622),n.e(2339),n.e(3982)]).then(n.bind(n,33982))},u),L=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(9559),n.e(2339),n.e(8010),n.e(4189),n.e(3673)]).then(n.bind(n,53673))},u),S=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(1899),n.e(2339),n.e(1741)]).then(n.bind(n,71741))},u),C=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(2339),n.e(917)]).then(n.bind(n,30917))},u),U=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(2339),n.e(8522)]).then(n.bind(n,48522))},u),R=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(2339),n.e(9117)]).then(n.bind(n,59117))},u),W=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(2339),n.e(8010),n.e(5434),n.e(7179)]).then(n.bind(n,27179))},u),q=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(2898),n.e(2339),n.e(8010),n.e(5434),n.e(380),n.e(8610),n.e(1326)]).then(n.bind(n,61326))},{featureName:"default-ward-view",moduleName:r.A,swrConfig:{refreshInterval:6e4}}),O=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(2898),n.e(2339),n.e(8010),n.e(5434),n.e(380),n.e(8610),n.e(5885)]).then(n.bind(n,35885))},{featureName:"maternal-ward-view",moduleName:r.A,swrConfig:{refreshInterval:6e4}}),D=(0,s.getAsyncLifecycle)(function(){return n.e(1776).then(n.bind(n,81776))},u);function N(){(0,s.registerBreadcrumbs)([]),(0,s.defineConfigSchema)(r.A,o),(0,s.registerFeatureFlag)("bedmanagement-module","Bed management module","Enables features related to bed management / assignment. Requires the backend bed management module to be installed.")}},11340:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var i="@openmrs/esm-ward-app"},84767:(e,t,n)=>{var i={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./cs.json":[86589,6589],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sq.json":[88371,8371],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879],"./zh_TW.json":[10439,439]};function s(e){if(!n.o(i,e))return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],s=t[0];return n.e(t[1]).then(()=>n(s))}s.keys=()=>Object.keys(i),s.id=84767,e.exports=s}}]);
1
+ (globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[7512],{7512:(e,t,n)=>{"use strict";n.r(t),n.d(t,{admissionRequestWorkspace:()=>m,admissionRequestsWorkspaceSideRailIcon:()=>U,admitPatientFormWorkspace:()=>_,cancelAdmissionRequestWorkspace:()=>L,clinicalFormWorkspaceSideRailIcon:()=>S,createAdmissionEncounterWorkspace:()=>W,createAdmissionEncounterWorkspaceSideRailIcon:()=>R,defaultWardView:()=>q,importTranslation:()=>p,maternalWardView:()=>O,orderBasketWorkspaceSideRailIcon:()=>C,patientDischargeWorkspace:()=>j,patientDischargeWorkspaceSideRailIcon:()=>P,patientTransferAndSwapWorkspace:()=>v,patientTransferAndSwapWorkspaceSiderailIcon:()=>I,patientTransferRequestWorkspace:()=>k,root:()=>y,startupApp:()=>N,wardDashboardLink:()=>f,wardPatientActionButton:()=>b,wardPatientCancelAdmissionRequestWorkspace:()=>w,wardPatientNotesActionButton:()=>T,wardPatientNotesWorkspace:()=>g,wardPatientWorkspace:()=>A,wardPatientWorkspaceBanner:()=>D,wardView:()=>h});var i,s=n(54440),o={patientCardElements:{_description:"Configuration of various patient card elements. Each configured element must have a unique id, defined in the ward React component being used.",obs:{_type:s.Type.Array,_default:[],_description:"Configures obs values to display.",_elements:{id:{_type:s.Type.String,_description:"The unique identifier for this patient card element"},conceptUuid:{_type:s.Type.UUID,_description:"Identifies the concept to use to identify the desired observations."},label:{_type:s.Type.String,_default:"",_description:"Optional. The custom label or i18n key to the translated label to display. If not provided, defaults to the concept's name. (Note that this can be set to an empty string to not show a label)"},orderBy:{_type:s.Type.String,_default:"descending",_description:"One of 'ascending' or 'descending', specifying whether to display the obs by obsDatetime ascendingly or descendingly.",_validators:[s.validators.oneOf(["ascending","descending"])]},limit:{_type:s.Type.Number,_default:1,_description:"If set to a number greater than one, this will show multiple obs for this concept, which will appear as a list. Set to 0 for unlimited."},onlyWithinCurrentVisit:{_type:s.Type.Boolean,_default:!1,_description:"Optional. If true, limits display to only observations within current visit. Defaults to false"}}},pendingItems:{_type:s.Type.Array,_default:[{id:"pending-items",orders:{orderTypes:[{label:"Labs",uuid:"52a447d3-a64a-11e3-9aeb-50e549534c5e"}]},showPendingItems:!0}],_description:"Configures pending orders and transfers to display.",_elements:{id:{_type:s.Type.String,_description:"The unique identifier for this patient card element"},orders:{orderTypes:{_type:s.Type.Array,_description:"Configures pending orders and transfers to display.",_elements:{uuid:{_type:s.Type.UUID,_description:"Identifies the order type."},label:{_type:s.Type.String,_default:"",_description:"The label or i18n key to the translated label to display. If not provided, defaults to 'Orders'"}}}},showPendingItems:{_type:s.Type.Boolean,_description:"Optional. If true, pending items (e.g., number of pending orders) will be displayed on the patient card."}}},patientIdentifier:{_type:s.Type.Array,_default:[{id:"patient-identifier",showIdentifierLabel:!1}],_description:"Configures patient identifier to display. An unconfigured element displays the preferred identifier.",_elements:{id:{_type:s.Type.String,_description:"The unique identifier for this patient card element"},showIdentifierLabel:{_type:s.Type.Boolean,_description:'If true, the identifier type (eg: "OpenMRS ID") is shown along with the identifier itself. Defaults to false'}}},patientAddress:{_type:s.Type.Array,_default:[{id:"patient-address",fields:["cityVillage","country"]}],_description:"Configures patient address elements.",_elements:{id:{_type:s.Type.String,_description:"The unique identifier for this patient card element"},fields:{_type:s.Type.Array,_description:"The fields of the address to display",_elements:{_type:s.Type.String,_validators:[s.validators.oneOf(["cityVillage","stateProvince","country","postalCode","countyDistrict","latitude","longitude","address1","address2","address3","address4","address5","address6","address7","address8","address9","address10","address11","address12","address13","address14","address15"])]}}}},admissionRequestNote:{_type:s.Type.Array,_default:[{id:"admission-request-note",conceptUuid:"161011AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}],_description:"Configures admission request notes to display.",_elements:{id:{_type:s.Type.String,_description:"The unique identifier for this patient card element"},conceptUuid:{_type:s.Type.UUID,_description:"Required. Identifies the concept for the admission request note."}}},coloredObsTags:{_type:s.Type.Array,_default:[],_description:"Configures observation values to display as Carbon tags.",_elements:{conceptUuid:{_type:s.Type.UUID,_default:"1284AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",_description:"Required. Identifies the concept to use to identify the desired observations."},summaryLabel:{_type:s.Type.String,_default:"",_description:"Optional. The custom label or i18n key to the translated label to display for the summary tag. The summary tag shows the count of the number of answers that are present but not configured to show as their own tags. If not provided, defaults to the name of the concept."},summaryLabelI18nModule:{_type:s.Type.String,_default:"",_description:"Optional. The custom module to use for translation of the summary label"},summaryLabelColor:{_type:s.Type.String,_default:"",_description:"The color of the summary tag. See https://react.carbondesignsystem.com/?path=/docs/components-tag--overview for a list of supported colors"},tags:{_type:s.Type.Array,_default:[],_description:"An array specifying concept sets and color. Observations with coded values that are members of the specified concept sets will be displayed as their own tags with the specified color. Any observation with coded values not belonging to any concept sets specified will be summarized as a count in the summary tag. If a concept set is listed multiple times, the first matching applied-to rule takes precedence.",_elements:{color:{_type:s.Type.String,_description:"Color of the tag. See https://react.carbondesignsystem.com/?path=/docs/components-tag--overview for a list of supported colors."},appliedToConceptSets:{_type:s.Type.Array,_description:"The concept sets which the color applies to. Observations with coded values that are members of the specified concept sets will be displayed as their own tag with the specified color. If an observation's coded value belongs to multiple concept sets, the first matching applied-to rule takes precedence.",_elements:{_type:s.Type.UUID}}}}}}},wards:{_type:s.Type.Array,_default:[{id:"default-ward"}],_description:"Configuration of what type of ward to use at different ward locations.",_elements:{id:{_type:s.Type.String,_description:'The ward type to use. Currently, "default-ward" and "maternal-ward" are supported. This string also serves as the extension slot name for the ward view.'},appliedTo:{_type:s.Type.Array,_description:"Optional. Conditions under which this card definition should be used. If not provided, the configuration is applied to all wards.",_elements:{location:{_type:s.Type.UUID,_default:"",_description:"The UUID of the location. If not provided, applies to all wards."}}}}},hideWorkspaceVitalsLinks:{_type:s.Type.Boolean,_default:!1,_description:"Configure whether to hide vital history and record vital links in the ward patient workspace."},additionalInpatientNotesConceptUuids:{_type:s.Type.Array,_default:[],_description:"List of uuids of concepts that represent notes to display in the notes view in addition to the consultFreeTextCommentsConcept defined by EMR-API"}},r=n(11340),a=n(1343),d=n.n(a),l=n(8877),c={path:"ward",slot:"ward-dashboard-slot",title:"wards",basePath:"".concat(window.spaBase,"/home")},p=n(84767),u={featureName:"ward",moduleName:r.A},y=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(2339),n.e(8010),n.e(9775)]).then(n.bind(n,99775))},u),f=(0,s.getSyncLifecycle)((i=c,function(){return d().createElement(l.BrowserRouter,null,d().createElement(s.DashboardExtension,{path:i.path,title:i.title,basePath:i.basePath,icon:i.icon}))}),u),h=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(2339),n.e(8010),n.e(7524)]).then(n.bind(n,27524))},u),m=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(2339),n.e(8010),n.e(581)]).then(n.bind(n,80581))},u),_=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(9559),n.e(2339),n.e(8010),n.e(5434),n.e(2728)]).then(n.bind(n,12728))},u),A=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(2339),n.e(8501)]).then(n.bind(n,88501))},u),g=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(9559),n.e(2339),n.e(8010),n.e(1987)]).then(n.bind(n,61987))},u),b=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(2339),n.e(5603)]).then(n.bind(n,55603))},u),w=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(9559),n.e(2339),n.e(8010),n.e(4189),n.e(9756)]).then(n.bind(n,69756))},u),T=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(2339),n.e(2216)]).then(n.bind(n,22216))},u),v=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(9559),n.e(2339),n.e(8010),n.e(380),n.e(7661),n.e(3365)]).then(n.bind(n,23365))},u),j=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(2339),n.e(8010),n.e(283)]).then(n.bind(n,80283))},u),I=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(2339),n.e(3413)]).then(n.bind(n,23413))},u),k=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(9559),n.e(2339),n.e(8010),n.e(380),n.e(7661),n.e(2948)]).then(n.bind(n,12948))},u),P=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(8622),n.e(2339),n.e(3982)]).then(n.bind(n,33982))},u),L=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(9559),n.e(2339),n.e(8010),n.e(4189),n.e(3673)]).then(n.bind(n,53673))},u),S=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(1899),n.e(2339),n.e(1741)]).then(n.bind(n,71741))},u),C=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(2339),n.e(917)]).then(n.bind(n,30917))},u),U=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(2339),n.e(8522)]).then(n.bind(n,48522))},u),R=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(2339),n.e(9117)]).then(n.bind(n,59117))},u),W=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(2339),n.e(8010),n.e(5434),n.e(7179)]).then(n.bind(n,27179))},u),q=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(2898),n.e(2339),n.e(8010),n.e(5434),n.e(380),n.e(4098),n.e(1326)]).then(n.bind(n,61326))},{featureName:"default-ward-view",moduleName:r.A,swrConfig:{refreshInterval:6e4}}),O=(0,s.getAsyncLifecycle)(function(){return Promise.all([n.e(3144),n.e(8622),n.e(4439),n.e(2898),n.e(2339),n.e(8010),n.e(5434),n.e(380),n.e(4098),n.e(5885)]).then(n.bind(n,35885))},{featureName:"maternal-ward-view",moduleName:r.A,swrConfig:{refreshInterval:6e4}}),D=(0,s.getAsyncLifecycle)(function(){return n.e(1776).then(n.bind(n,81776))},u);function N(){(0,s.registerBreadcrumbs)([]),(0,s.defineConfigSchema)(r.A,o),(0,s.registerFeatureFlag)("bedmanagement-module","Bed management module","Enables features related to bed management / assignment. Requires the backend bed management module to be installed.")}},11340:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var i="@openmrs/esm-ward-app"},84767:(e,t,n)=>{var i={"./am.json":[81197,1197],"./ar.json":[14132,4132],"./ar_SY.json":[37617,7617],"./bn.json":[77159,7159],"./cs.json":[86589,6589],"./de.json":[34944,4944],"./en.json":[34300,4300],"./en_US.json":[59569,9569],"./es.json":[93099,3099],"./es_MX.json":[88349,8349],"./fr.json":[94055,4055],"./he.json":[84652,4652],"./hi.json":[36840,6840],"./hi_IN.json":[55442,5442],"./id.json":[72690,2690],"./it.json":[9538,9538],"./ka.json":[70795,795],"./km.json":[54335,4335],"./ku.json":[9895,9895],"./ky.json":[88163,8163],"./lg.json":[64618,4618],"./ne.json":[12146,2146],"./pl.json":[41119,1119],"./pt.json":[96679,6679],"./pt_BR.json":[36468,6468],"./qu.json":[35173,5173],"./ro_RO.json":[46022,6022],"./ru_RU.json":[60986,986],"./si.json":[56859,6859],"./sq.json":[88371,8371],"./sw.json":[89913,9913],"./sw_KE.json":[88618,8618],"./tr.json":[55241,5241],"./tr_TR.json":[99900,9900],"./uk.json":[60723,723],"./uz.json":[43584,3584],"./uz@Latn.json":[27097,7097],"./uz_UZ.json":[70890,890],"./vi.json":[79214,9214],"./zh.json":[35661,5661],"./zh_CN.json":[99879,9879],"./zh_TW.json":[10439,439]};function s(e){if(!n.o(i,e))return Promise.resolve().then(()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=i[e],s=t[0];return n.e(t[1]).then(()=>n(s))}s.keys=()=>Object.keys(i),s.id=84767,e.exports=s}}]);
package/dist/7524.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[7524],{19108:(n,e,a)=>{a.d(e,{A:()=>c});var r=a(30977),t=a.n(r),i=a(95924),o=a.n(i)()(t());o.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-ward__ward-view__wardView___FbpB2{background-color:#e4e4e4;display:flex;flex-direction:column;padding:0 1rem}.-esm-ward__ward-view__wardView___FbpB2.-esm-ward__ward-view__verticalTiling___As-Jz{height:calc(100vh - var(--omrs-topnav-height))}.-esm-ward__ward-view__wardViewMain___jYzEv{background-color:#e4e4e4;grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));display:grid;gap:1rem}.-esm-ward__ward-view__wardViewMain___jYzEv.-esm-ward__ward-view__verticalTiling___As-Jz{display:block;column-width:280px;overflow-x:auto;height:calc(100% - 4rem)}.-esm-ward__ward-view__wardViewMain___jYzEv.-esm-ward__ward-view__verticalTiling___As-Jz>div{break-inside:avoid;margin-bottom:10px}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/ward-view/ward-view.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,wCACE,wBAAA,CACA,YAAA,CACA,qBAAA,CACA,cAAA,CAEA,qFACE,8CAAA,CAIJ,4CACE,wBAAA,CACA,2DAAA,CACA,YAAA,CACA,QCaW,CDXX,yFACE,aAAA,CACA,kBAAA,CACA,eAAA,CACA,wBAAA,CAEA,6FACE,kBAAA,CACA,kBAAA",sourcesContent:["@use '@carbon/layout';\n\n$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: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\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 '@openmrs/esm-styleguide/src/vars' as *;\n\n.wardView {\n background-color: #e4e4e4;\n display: flex;\n flex-direction: column;\n padding: 0 layout.$spacing-05;\n\n &.verticalTiling {\n height: calc(100vh - var(--omrs-topnav-height));\n }\n}\n\n.wardViewMain {\n background-color: #e4e4e4;\n grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));\n display: grid;\n gap: layout.$spacing-05;\n\n &.verticalTiling {\n display: block;\n column-width: 280px;\n overflow-x: auto;\n height: calc(100% - 4rem);\n\n > div {\n break-inside: avoid;\n margin-bottom: 10px;\n }\n }\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"],sourceRoot:""}]),o.locals={wardView:"-esm-ward__ward-view__wardView___FbpB2",verticalTiling:"-esm-ward__ward-view__verticalTiling___As-Jz",wardViewMain:"-esm-ward__ward-view__wardViewMain___jYzEv"};const c=o},27524:(n,e,a)=>{a.r(e),a.d(e,{default:()=>g});var r=a(17801),t=a(54440),i=a(53373),o=a.n(i),c=a(1343),d=a.n(c),l=a(72339),u=a(92891),s=a(35487),p=a(90102);const g=function(){var n=(0,u.A)(),e=n.isLoadingLocation,a=n.invalidLocation,i=n.location,c=(0,l.useTranslation)().t,g=null==i?void 0:i.uuid,m=(0,s.k9)(g);if(e)return d().createElement(d().Fragment,null);if(a)return d().createElement(r.jeF,{kind:"error",title:c("invalidLocationSpecified","Invalid location specified")});var b=m.id;return d().createElement("div",{className:o()(p.A.wardView,p.A.verticalTiling)},d().createElement(t.ExtensionSlot,{name:b}))}},35487:(n,e,a)=>{a.d(e,{Jk:()=>s,U1:()=>u,UG:()=>g,eD:()=>l,j3:()=>p,k9:()=>m,yZ:()=>d});var r=a(54440),t=a(1343),i=a(72339);function o(n,e){(null==e||e>n.length)&&(e=n.length);for(var a=0,r=new Array(e);a<e;a++)r[a]=n[a];return r}function c(n){return function(n){if(Array.isArray(n))return o(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,e){if(n){if("string"==typeof n)return o(n,e);var a=Object.prototype.toString.call(n).slice(8,-1);return"Object"===a&&n.constructor&&(a=n.constructor.name),"Map"===a||"Set"===a?Array.from(a):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o(n,e):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(n){return{id:n.bedId,uuid:n.bedUuid,bedNumber:n.bedNumber,bedType:n.bedType,row:n.rowNumber,column:n.columnNumber,status:n.status}}function l(n,e){var a,r,t,i=null!==(a=null==e?void 0:e.totalPatientsCount)&&void 0!==a?a:0,o=null!==(r=null==n?void 0:n.length)&&void 0!==r?r:0,c=null!==(t=null==n?void 0:n.filter(function(n){var e;return(null===(e=n.patients)||void 0===e?void 0:e.length)>0}).length)&&void 0!==t?t:0;return{patients:i.toString(),freeBeds:(o-c).toString(),totalBeds:o.toString()}}function u(n,e,a,r,t){var i,o=function(n){var e=new Map,a=!0,r=!1,t=void 0;try{for(var i,o=(null!=n?n:[])[Symbol.iterator]();!(a=(i=o.next()).done);a=!0){var c=i.value;c&&e.set(c.patient.uuid,c)}}catch(n){r=!0,t=n}finally{try{a||null==o.return||o.return()}finally{if(r)throw t}}return e}(c(null!=n?n:[]).concat(c(null!=r?r:[]))),d=new Map,l=new Map,u=e&&function(n){var e=new Intl.Collator([],{numeric:!0});return n.bedLayouts.filter(function(n){return n.bedId}).sort(function(n,a){return e.compare(n.bedNumber,a.bedNumber)})}(e),s=new Set,p=0;null==u||u.map(function(n){n.patients.map(function(n){var e,a=o.get(n.uuid);if(s.add(n.uuid),(null==a||null===(e=a.currentInpatientLocation)||void 0===e?void 0:e.uuid)==t.uuid){var r;d.set(n.uuid,a);var i=null===(r=a.currentInpatientRequest)||void 0===r?void 0:r.dispositionType;"TRANSFER"!=i&&"DISCHARGE"!=i||p++}else l.set(n.uuid,n)})});var g=null!==(i=null==n?void 0:n.filter(function(n){return s.add(n.patient.uuid),!d.has(n.patient.uuid)&&!l.has(n.patient.uuid)}))&&void 0!==i?i:[],m=s.size,b=!0,f=!1,A=void 0;try{for(var v,w=(null!=a?a:[])[Symbol.iterator]();!(b=(v=w.next()).done);b=!0){var y=v.value;y&&s.add(y.patient.uuid)}}catch(n){f=!0,A=n}finally{try{b||null==w.return||w.return()}finally{if(f)throw A}}return{wardAdmittedPatientsWithBed:d,wardUnadmittedPatientsWithBed:l,wardPatientPendingCount:p,bedLayouts:u,wardUnassignedPatientsList:g,allWardPatientUuids:s,totalPatientsCount:m,inpatientAdmissionsByPatientUuid:o}}function s(n,e){switch(n){case"patients":return e("patients","Patients");case"freeBeds":return e("freeBeds","Free beds");case"totalBeds":return e("totalBeds","Total beds");case"pendingOut":return e("pendingOut","Pending out")}}function p(n,e,a){switch(n){case"patients":return e("patientsMetricValue","{{ metricValue }}",{metricValue:a});case"freeBeds":return e("freeBedsMetricValue","{{ metricValue }}",{metricValue:a});case"totalBeds":return e("totalBedsMetricValue","{{ metricValue }}",{metricValue:a});case"pendingOut":return e("pendingOutMetricValue","{{ metricValue }}",{metricValue:a})}}function g(n,e){var a=(0,r.useConfig)(),t=(0,i.useTranslation)().t;try{var o,c;return null==a||null===(c=a.patientCardElements)||void 0===c||null===(o=c[n])||void 0===o?void 0:o.find(function(n){return(null==n?void 0:n.id)==e})}catch(a){return(0,r.showNotification)({title:t("errorConfiguringPatientCard","Error configuring patient card"),kind:"error",critical:!0,description:t("errorConfiguringPatientCardMessage","Unable to find configuration for {{elementType}}, id: {{id}}",{elementType:n,id:e})}),null}}function m(n){var e=(0,r.useConfig)().wards;return(0,t.useMemo)(function(){return null==e?void 0:e.find(function(e){var a;return null==e.appliedTo||0==(null===(a=e.appliedTo)||void 0===a?void 0:a.length)||e.appliedTo.some(function(e){return e.location==n})})},[e,n])||(console.warn("No ward card configuration has `appliedTo` criteria that matches the current location. Using the default configuration."),{id:"default-ward"})}},90102:(n,e,a)=>{a.d(e,{A:()=>A});var r=a(72591),t=a.n(r),i=a(1740),o=a.n(i),c=a(88128),d=a.n(c),l=a(30855),u=a.n(l),s=a(93051),p=a.n(s),g=a(73656),m=a.n(g),b=a(19108),f={};f.styleTagTransform=m(),f.setAttributes=u(),f.insert=d().bind(null,"head"),f.domAPI=o(),f.insertStyleElement=p(),t()(b.A,f);const A=b.A&&b.A.locals?b.A.locals:void 0},92891:(n,e,a)=>{a.d(e,{A:()=>c});var r=a(54440),t=a(8877),i=a(88010),o=a.n(i);function c(){var n=(0,t.useParams)().locationUuid,e=(0,r.useSession)().sessionLocation,a=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"custom:(display,uuid)";return o()(n?"".concat(r.restBaseUrl,"/location/").concat(n,"?v=").concat(e):null,r.openmrsFetch)}(n||null),i=a.data,c=a.isLoading,d=a.error,l=n&&d;return{location:n?null==i?void 0:i.data:e,isLoadingLocation:c,errorFetchingLocation:d,invalidLocation:l}}}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[7524],{19108:(n,e,r)=>{r.d(e,{A:()=>d});var a=r(30977),t=r.n(a),i=r(95924),o=r.n(i)()(t());o.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-ward__ward-view__wardView___FbpB2{background-color:#e4e4e4;display:flex;flex-direction:column;padding:0 1rem}.-esm-ward__ward-view__wardView___FbpB2.-esm-ward__ward-view__verticalTiling___As-Jz{height:calc(100vh - var(--omrs-topnav-height))}.-esm-ward__ward-view__wardViewMain___jYzEv{background-color:#e4e4e4;grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));display:grid;gap:1rem}.-esm-ward__ward-view__wardViewMain___jYzEv.-esm-ward__ward-view__verticalTiling___As-Jz{display:block;column-width:280px;overflow-x:auto;height:calc(100% - 4rem)}.-esm-ward__ward-view__wardViewMain___jYzEv.-esm-ward__ward-view__verticalTiling___As-Jz>div{break-inside:avoid;margin-bottom:10px}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/ward-view/ward-view.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CC1DF,wCACE,wBAAA,CACA,YAAA,CACA,qBAAA,CACA,cAAA,CAEA,qFACE,8CAAA,CAIJ,4CACE,wBAAA,CACA,2DAAA,CACA,YAAA,CACA,QCaW,CDXX,yFACE,aAAA,CACA,kBAAA,CACA,eAAA,CACA,wBAAA,CAEA,6FACE,kBAAA,CACA,kBAAA",sourcesContent:["@use '@carbon/layout';\n\n$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: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\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 '@openmrs/esm-styleguide/src/vars' as *;\n\n.wardView {\n background-color: #e4e4e4;\n display: flex;\n flex-direction: column;\n padding: 0 layout.$spacing-05;\n\n &.verticalTiling {\n height: calc(100vh - var(--omrs-topnav-height));\n }\n}\n\n.wardViewMain {\n background-color: #e4e4e4;\n grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));\n display: grid;\n gap: layout.$spacing-05;\n\n &.verticalTiling {\n display: block;\n column-width: 280px;\n overflow-x: auto;\n height: calc(100% - 4rem);\n\n > div {\n break-inside: avoid;\n margin-bottom: 10px;\n }\n }\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"],sourceRoot:""}]),o.locals={wardView:"-esm-ward__ward-view__wardView___FbpB2",verticalTiling:"-esm-ward__ward-view__verticalTiling___As-Jz",wardViewMain:"-esm-ward__ward-view__wardViewMain___jYzEv"};const d=o},27524:(n,e,r)=>{r.r(e),r.d(e,{default:()=>g});var a=r(17801),t=r(54440),i=r(53373),o=r.n(i),d=r(1343),l=r.n(d),u=r(72339),c=r(92891),s=r(79830),p=r(90102);const g=function(){var n=(0,c.A)(),e=n.isLoadingLocation,r=n.invalidLocation,i=n.location,d=(0,u.useTranslation)().t,g=null==i?void 0:i.uuid,b=(0,s.k9)(g);if(e)return l().createElement(l().Fragment,null);if(r)return l().createElement(a.jeF,{kind:"error",title:d("invalidLocationSpecified","Invalid location specified")});var m=b.id;return l().createElement("div",{className:o()(p.A.wardView,p.A.verticalTiling)},l().createElement(t.ExtensionSlot,{name:m}))}},79830:(n,e,r)=>{r.d(e,{yZ:()=>l,U1:()=>c,Jk:()=>s,eD:()=>u,UG:()=>p,k9:()=>g});var a=r(54440),t=r(1343),i=r(72339);function o(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,a=new Array(e);r<e;r++)a[r]=n[r];return a}function d(n){return function(n){if(Array.isArray(n))return o(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,e){if(n){if("string"==typeof n)return o(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(n,e):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(n){return{id:n.bedId,uuid:n.bedUuid,bedNumber:n.bedNumber,bedType:n.bedType,row:n.rowNumber,column:n.columnNumber,status:n.status}}function u(n){var e,r,a,t,i,o,l,u,c,s,p,g,b=d(null===(e=n.wardUnadmittedPatientsWithBed)||void 0===e?void 0:e.values()).concat(d(d(null===(r=n.wardAdmittedPatientsWithBed)||void 0===r?void 0:r.values()).map(function(n){return n.patient})),d(null===(a=n.wardUnassignedPatientsList)||void 0===a?void 0:a.map(function(n){return n.patient}))),m=null!==(u=null==b?void 0:b.length)&&void 0!==u?u:0,f=null!==(c=null===(t=b.filter(function(n){return n.person.age<1}))||void 0===t?void 0:t.length)&&void 0!==c?c:0,v=null!==(s=null===(i=function(n){return n.filter(function(n){return n.person.age>=10})}(b.filter(function(n){return"F"===n.person.gender})))||void 0===i?void 0:i.length)&&void 0!==s?s:0,A=null!==(p=null===(o=n.bedLayouts)||void 0===o?void 0:o.length)&&void 0!==p?p:0,w=null!==(g=null===(l=n.bedLayouts)||void 0===l?void 0:l.filter(function(n){var e;return(null===(e=n.patients)||void 0===e?void 0:e.length)>0}).length)&&void 0!==g?g:0;return{patients:m.toString(),freeBeds:(A-w).toString(),totalBeds:A.toString(),newborns:f.toString(),femalesOfReproductiveAge:v.toString()}}function c(n,e,r,a,t){var i,o=function(n){var e=new Map,r=!0,a=!1,t=void 0;try{for(var i,o=(null!=n?n:[])[Symbol.iterator]();!(r=(i=o.next()).done);r=!0){var d=i.value;d&&e.set(d.patient.uuid,d)}}catch(n){a=!0,t=n}finally{try{r||null==o.return||o.return()}finally{if(a)throw t}}return e}(d(null!=n?n:[]).concat(d(null!=a?a:[]))),l=new Map,u=new Map,c=e&&function(n){var e=new Intl.Collator([],{numeric:!0});return n.bedLayouts.filter(function(n){return n.bedId}).sort(function(n,r){return e.compare(n.bedNumber,r.bedNumber)})}(e),s=new Set,p=0;null==c||c.map(function(n){n.patients.map(function(n){var e,r=o.get(n.uuid);if(s.add(n.uuid),(null==r||null===(e=r.currentInpatientLocation)||void 0===e?void 0:e.uuid)==t.uuid){var a;l.set(n.uuid,r);var i=null===(a=r.currentInpatientRequest)||void 0===a?void 0:a.dispositionType;"TRANSFER"!=i&&"DISCHARGE"!=i||p++}else u.set(n.uuid,n)})});var g=null!==(i=null==n?void 0:n.filter(function(n){return s.add(n.patient.uuid),!l.has(n.patient.uuid)&&!u.has(n.patient.uuid)}))&&void 0!==i?i:[],b=!0,m=!1,f=void 0;try{for(var v,A=(null!=r?r:[])[Symbol.iterator]();!(b=(v=A.next()).done);b=!0){var w=v.value;w&&s.add(w.patient.uuid)}}catch(n){m=!0,f=n}finally{try{b||null==A.return||A.return()}finally{if(m)throw f}}return{wardAdmittedPatientsWithBed:l,wardUnadmittedPatientsWithBed:u,wardPatientPendingCount:p,bedLayouts:c,wardUnassignedPatientsList:g,allWardPatientUuids:s,inpatientAdmissionsByPatientUuid:o}}function s(n,e){switch(n){case"patients":return e("patients","Patients");case"freeBeds":return e("freeBeds","Free beds");case"totalBeds":return e("totalBeds","Total beds");case"pendingOut":return e("pendingOut","Pending out");case"femalesOfReproductiveAge":return e("mothers","Mothers");case"newborns":return e("infants","Infants")}}function p(n,e){var r=(0,a.useConfig)(),t=(0,i.useTranslation)().t;try{var o,d;return null==r||null===(d=r.patientCardElements)||void 0===d||null===(o=d[n])||void 0===o?void 0:o.find(function(n){return(null==n?void 0:n.id)==e})}catch(r){return(0,a.showNotification)({title:t("errorConfiguringPatientCard","Error configuring patient card"),kind:"error",critical:!0,description:t("errorConfiguringPatientCardMessage","Unable to find configuration for {{elementType}}, id: {{id}}",{elementType:n,id:e})}),null}}function g(n){var e=(0,a.useConfig)().wards;return(0,t.useMemo)(function(){return null==e?void 0:e.find(function(e){var r;return null==e.appliedTo||0==(null===(r=e.appliedTo)||void 0===r?void 0:r.length)||e.appliedTo.some(function(e){return e.location==n})})},[e,n])||(console.warn("No ward card configuration has `appliedTo` criteria that matches the current location. Using the default configuration."),{id:"default-ward"})}},90102:(n,e,r)=>{r.d(e,{A:()=>v});var a=r(72591),t=r.n(a),i=r(1740),o=r.n(i),d=r(88128),l=r.n(d),u=r(30855),c=r.n(u),s=r(93051),p=r.n(s),g=r(73656),b=r.n(g),m=r(19108),f={};f.styleTagTransform=b(),f.setAttributes=c(),f.insert=l().bind(null,"head"),f.domAPI=o(),f.insertStyleElement=p(),t()(m.A,f);const v=m.A&&m.A.locals?m.A.locals:void 0},92891:(n,e,r)=>{r.d(e,{A:()=>d});var a=r(54440),t=r(8877),i=r(88010),o=r.n(i);function d(){var n=(0,t.useParams)().locationUuid,e=(0,a.useSession)().sessionLocation,r=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"custom:(display,uuid)";return o()(n?"".concat(a.restBaseUrl,"/location/").concat(n,"?v=").concat(e):null,a.openmrsFetch)}(n||null),i=r.data,d=r.isLoading,l=r.error,u=n&&l;return{location:n?null==i?void 0:i.data:e,isLoadingLocation:d,errorFetchingLocation:l,invalidLocation:u}}}}]);
package/dist/7524.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"7524.js","mappings":"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","sources":["webpack://@openmrs/esm-ward-app/./src/ward-view/ward-view.scss","webpack://@openmrs/esm-ward-app/./src/ward-view/ward-view.component.tsx","webpack://@openmrs/esm-ward-app/./src/ward-view/ward-view.resource.ts","webpack://@openmrs/esm-ward-app/./src/ward-view/ward-view.scss?c127","webpack://@openmrs/esm-ward-app/./src/hooks/useWardLocation.ts","webpack://@openmrs/esm-ward-app/./src/hooks/useLocation.ts"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","response","useWardLocation","isLoadingLocation","invalidLocation","location","useTranslation","t","locationUuid","uuid","wardConfig","useWardConfig","InlineNotification","kind","title","wardId","div","className","classNames","styles","wardView","verticalTiling","ExtensionSlot","name","bedLayoutToBed","bedLayout","bedId","bedUuid","bedNumber","bedType","row","rowNumber","column","columnNumber","status","getWardMetrics","bedLayouts","wardPatientGroup","patients","totalPatientsCount","totalBeds","length","occupiedBeds","filter","bed","toString","freeBeds","createAndGetWardPatientGrouping","inpatientAdmissionsAtCurrentLocation","admissionLocation","inpatientRequests","inpatientAdmissionsAtOtherLocations","currentWardLocation","inpatientAdmissionsByPatientUuid","inpatientAdmissions","map","Map","inpatientAdmission","set","patient","getInpatientAdmissionsUuidMap","wardAdmittedPatientsWithBed","wardUnadmittedPatientsWithBed","collator","Intl","Collator","numeric","bl","sort","bedA","bedB","compare","filterBeds","allWardPatientUuids","Set","wardPatientPendingCount","admission","get","add","currentInpatientLocation","dispositionType","currentInpatientRequest","wardUnassignedPatientsList","has","size","inpatientRequest","getWardMetricNameTranslation","getWardMetricValueTranslation","value","metricValue","useElementConfig","elementType","config","useConfig","patientCardElements","find","elementConfig","e","showNotification","critical","description","wards","useMemo","wardDef","appliedTo","some","criteria","console","warn","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","useParams","useSession","sessionLocation","useLocation","rep","useSWRImmutable","restBaseUrl","openmrsFetch","locationUuidFromUrl","data","isLoading","error","errorFetchingLocation","locationResponse"],"sourceRoot":""}
1
+ {"version":3,"file":"7524.js","mappings":"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","sources":["webpack://@openmrs/esm-ward-app/./src/ward-view/ward-view.scss","webpack://@openmrs/esm-ward-app/./src/ward-view/ward-view.component.tsx","webpack://@openmrs/esm-ward-app/./src/ward-view/ward-view.resource.ts","webpack://@openmrs/esm-ward-app/./src/utils.ts","webpack://@openmrs/esm-ward-app/./src/ward-view/ward-view.scss?c127","webpack://@openmrs/esm-ward-app/./src/hooks/useWardLocation.ts","webpack://@openmrs/esm-ward-app/./src/hooks/useLocation.ts"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","response","useWardLocation","isLoadingLocation","invalidLocation","location","useTranslation","t","locationUuid","uuid","wardConfig","useWardConfig","InlineNotification","kind","title","wardId","div","className","classNames","styles","wardView","verticalTiling","ExtensionSlot","name","bedLayoutToBed","bedLayout","bedId","bedUuid","bedNumber","bedType","row","rowNumber","column","columnNumber","status","getWardMetrics","wardPatientGroup","filterNewborns","filterReproductiveAge","allPatients","wardUnadmittedPatientsWithBed","values","wardAdmittedPatientsWithBed","map","admission","patient","wardUnassignedPatientsList","patientCount","length","newborns","filter","person","age","femalesOfReproductiveAge","patients","gender","totalBeds","bedLayouts","occupiedBeds","bed","toString","freeBeds","createAndGetWardPatientGrouping","inpatientAdmissionsAtCurrentLocation","admissionLocation","inpatientRequests","inpatientAdmissionsAtOtherLocations","currentWardLocation","inpatientAdmissionsByPatientUuid","inpatientAdmissions","Map","inpatientAdmission","set","getInpatientAdmissionsUuidMap","collator","Intl","Collator","numeric","bl","sort","bedA","bedB","compare","filterBeds","allWardPatientUuids","Set","wardPatientPendingCount","get","add","currentInpatientLocation","dispositionType","currentInpatientRequest","has","inpatientRequest","getWardMetricNameTranslation","useElementConfig","elementType","config","useConfig","patientCardElements","find","elementConfig","e","showNotification","critical","description","wards","useMemo","wardDef","appliedTo","some","criteria","console","warn","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","useParams","useSession","sessionLocation","useLocation","rep","useSWRImmutable","restBaseUrl","openmrsFetch","locationUuidFromUrl","data","isLoading","error","errorFetchingLocation","locationResponse"],"sourceRoot":""}
package/dist/7617.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[7617],{37617:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Admission request cancelled.","admissionRequests":"Admission requests","admissionRequestsCount_one":"{{count}} admission request","admissionRequestsCount_other":"{{count}} admission requests","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"Admit","admitElsewhere":"Admit elsewhere","admitPatient":"Admit patient","admittedTo":"Admitted to {{locationName}}","admitting":"Admitting...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"Back to search results","bedShare":"Bed share","bedSwap":"Bed swap","cancel":"Cancel","cancelAdmissionRequest":"Cancel admission request","capacity":"Capacity","capacityMetricValue":"{{ metricValue }} %","chooseAnOption":"Choose an option","clinicalForms":"Clinical forms","clinicalNoteLabel":"Write your notes","clinicalNotes":"Clinical notes","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} day","days_other":"{{count}} days","discharge":"Discharge","emptyBed":"Empty bed","emptyStateIllustration":"Empty state illustration","emptyText":"Empty","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"Error configuring patient card","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"Failed to admit patient","errorCreatingTransferRequest":"Error creating transfer request","errorDischargingPatient":"Error discharging patient","errorLoadingBedDetails":"Error loading bed details","errorLoadingChildren":"Error loading children info","errorLoadingMother":"Error loading mother info","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"Error loading patient info","errorLoadingPatients":"Error loading admitted patients","errorLoadingWardLocation":"Error loading ward location","female":"Female","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"Free beds","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} hour","hours_other":"{{count}} hours","inpatientNotesWorkspaceTitle":"In-patient notes","invalidLocationSpecified":"Invalid location specified","invalidWardLocation":"Invalid ward location: {{location}}","labelColon":"{{label}}:","male":"Male","manage":"Manage","minutes_one":"{{count}} minutes","minutes_other":"{{count}} minutes","motherChildBedShare":"Mother / Child","nextPage":"Next page","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"No bed","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"No locations found","noPendingAdmissionRequests":"No pending admission requests","note":"Note","notes":"Notes","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"Orders","other":"Other","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"Patient admitted successfully","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"Patient currently not admitted","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"Error saving patient note","patientNotesDidntLoad":"Patient notes didn\'t load","patients":"Patients","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Patient transfer request created","patientUnassignedFromBed":"Patient unassigned from bed","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"Patient was discharged","pendingAdmissions":"Pending admissions","pendingDischarge":"Pending Discharge","pendingOut":"Pending out","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Pending Transfer","pleaseSelectBed":"Please select a bed","pleaseSelectTransferLocation":"Please select transfer location","pleaseSelectTransferType":"Please select transfer type","previousPage":"Previous page","proceedWithPatientDischarge":"Proceed with patient discharge","save":"Save","saving":"Saving...","searchLocations":"Search locations","seconds_one":"{{count}} second","seconds_other":"{{count}} seconds","selectABed":"Select a bed","selectALocation":"Select a location","showingLocations_one":"{{start}}-{{end}} of {{count}} locations","showingLocations_other":"{{start}}-{{end}} of {{count}} locations","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"Admitted: {{timeSinceAdmission}}","transfer":"Transfer","transferElsewhere":"Transfer elsewhere","transferPatient":"Transfer patient","transfers":"Transfers","transferToDispositionLocation":"Transfer to {{location}}","transferType":"Transfer type","typeOfTransfer":"Type of transfer","unknown":"Unknown","unknownError":"An unknown error occurred","visitNoteSaved":"Patient note saved","wardClinicalNotePlaceholder":"Write any notes here","wardPatient":"Ward patient","wards":"Wards"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[7617],{37617:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Admission request cancelled.","admissionRequests":"Admission requests","admissionRequestsCount_one":"{{count}} admission request","admissionRequestsCount_other":"{{count}} admission requests","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"Admit","admitElsewhere":"Admit elsewhere","admitPatient":"Admit patient","admittedTo":"Admitted to {{locationName}}","admitting":"Admitting...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"Back to search results","bedShare":"Bed share","bedSwap":"Bed swap","cancel":"Cancel","cancelAdmissionRequest":"Cancel admission request","chooseAnOption":"Choose an option","clinicalForms":"Clinical forms","clinicalNoteLabel":"Write your notes","clinicalNotes":"Clinical notes","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} day","days_other":"{{count}} days","discharge":"Discharge","emptyBed":"Empty bed","emptyStateIllustration":"Empty state illustration","emptyText":"Empty","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"Error configuring patient card","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"Failed to admit patient","errorCreatingTransferRequest":"Error creating transfer request","errorDischargingPatient":"Error discharging patient","errorLoadingBedDetails":"Error loading bed details","errorLoadingChildren":"Error loading children info","errorLoadingMother":"Error loading mother info","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"Error loading patient info","errorLoadingPatients":"Error loading admitted patients","errorLoadingWardLocation":"Error loading ward location","female":"Female","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"Free beds","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} hour","hours_other":"{{count}} hours","inpatientNotesWorkspaceTitle":"In-patient notes","invalidLocationSpecified":"Invalid location specified","invalidWardLocation":"Invalid ward location: {{location}}","labelColon":"{{label}}:","male":"Male","manage":"Manage","minutes_one":"{{count}} minutes","minutes_other":"{{count}} minutes","motherChildBedShare":"Mother / Child","nextPage":"Next page","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"No bed","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"No locations found","noPendingAdmissionRequests":"No pending admission requests","note":"Note","notes":"Notes","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"Orders","other":"Other","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"Patient admitted successfully","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"Patient currently not admitted","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"Error saving patient note","patientNotesDidntLoad":"Patient notes didn\'t load","patients":"Patients","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Patient transfer request created","patientUnassignedFromBed":"Patient unassigned from bed","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"Patient was discharged","pendingAdmissions":"Pending admissions","pendingDischarge":"Pending Discharge","pendingOut":"Pending out","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Pending Transfer","pleaseSelectBed":"Please select a bed","pleaseSelectTransferLocation":"Please select transfer location","pleaseSelectTransferType":"Please select transfer type","previousPage":"Previous page","proceedWithPatientDischarge":"Proceed with patient discharge","save":"Save","saving":"Saving...","searchLocations":"Search locations","seconds_one":"{{count}} second","seconds_other":"{{count}} seconds","selectABed":"Select a bed","selectALocation":"Select a location","showingLocations_one":"{{start}}-{{end}} of {{count}} locations","showingLocations_other":"{{start}}-{{end}} of {{count}} locations","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"Admitted: {{timeSinceAdmission}}","totalBeds":"Total beds","totalBedsMetricValue":"{{ metricValue }}","transfer":"Transfer","transferElsewhere":"Transfer elsewhere","transferPatient":"Transfer patient","transfers":"Transfers","transferToDispositionLocation":"Transfer to {{location}}","transferType":"Transfer type","typeOfTransfer":"Type of transfer","unknown":"Unknown","unknownError":"An unknown error occurred","visitNoteSaved":"Patient note saved","wardClinicalNotePlaceholder":"Write any notes here","wardPatient":"Ward patient","wards":"Wards"}')}}]);
package/dist/795.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[795],{70795:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"მიღების მოთხოვნა გაუქმდა","admissionRequests":"მიღების მოთხოვნები","admissionRequestsCount_one":"{{count}} მიღების მოთხოვნა","admissionRequestsCount_other":"{{count}} მიღების მოთხოვნა","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"მიღება","admitElsewhere":"სხვაგან მიღება","admitPatient":"პაციენტის მიღება","admittedTo":"Admitted to {{locationName}}","admitting":"მიმდინარეობს მიღება...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"დაბრუნება ძებნის შედეგებზე","bedShare":"საწოლის გაზიარება","bedSwap":"საწოლის გადაცვლა","cancel":"გაუქმება","cancelAdmissionRequest":"მიღების მთხოვნის გაუქმება","capacity":"მოცულობა","capacityMetricValue":"{{ metricValue }} %","chooseAnOption":"აირჩიეთ პარამეტრი","clinicalForms":"კლინიკური ფორმები","clinicalNoteLabel":"დაწერეთ თქვენი შენიშვნები","clinicalNotes":"კლინიკური შენიშვნები","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} დღე","days_other":"{{count}} დღე","discharge":"გაწერა","emptyBed":"ცარიელი საწოლი","emptyStateIllustration":"Empty state illustration","emptyText":"ცარიელია","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"პაციენტის ბარათის მორგების შეცდომა","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"პაციენტის მიღება ჩავარდა","errorCreatingTransferRequest":"გადაყვანის მოთხოვნის შექმნის შეცდომა","errorDischargingPatient":"პაციენტის გაწერის შეცდომა","errorLoadingBedDetails":"საწოლის დეტალების ჩატვირთვის შეცდომა","errorLoadingChildren":"ბავშვვების ინფორმაციის ჩატვირთვის შეცდომა","errorLoadingMother":"დედის ინფორმაციის ჩატვირთვის შეცდომა","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"პაციენტის ინფორმაციის ჩატვირთვის შეცდომა","errorLoadingPatients":"მიღებული პაციენტების ჩატვირთვის შეცდომა","errorLoadingWardLocation":"პალატის მდებარეობის ჩატვირთვის შეცდომა","female":"მდედრი","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"თავისუფალი საწოლი","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} საათი","hours_other":"{{count}} საათი","inpatientNotesWorkspaceTitle":"სტაციონარული ავადმყოფის შენიშვნები","invalidLocationSpecified":"მითითებულია არასწორი მდებარეობა","invalidWardLocation":"არასწორი პალატის მდებარეობა: {{location}}","labelColon":"{{label}}:","male":"მამრი","manage":"მართვა","minutes_one":"{{count}} წუთი","minutes_other":"{{count}} წუთი","motherChildBedShare":"დედა / შვილი","nextPage":"შემდეგი გვერდი","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"საწოლების გარეშე","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"მდებარეობები აღმოჩენილი არაა","noPendingAdmissionRequests":"No pending admission requests","note":"შენიშვნა","notes":"შენიშვნები","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"შეკვეთები","other":"სხვა","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"პაციენტის მიღება წარმატებულია","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"პაციენტი ამჟამად მიღებული არაა","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"პაციენტის შენიშვნის შენახვის შეცდომა","patientNotesDidntLoad":"პაციენტის შენიშვნები არ ჩატვირთულა","patients":"პაციენტები","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"პაციენტის გადაყვანის მოთხოვნა შეიქმნა","patientUnassignedFromBed":"პაციენტი მოხსნილია საწოლიდან","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"პაციენტი გაწერილია","pendingAdmissions":"Pending admissions","pendingDischarge":"რიგშია გასაწერად","pendingOut":"რიგშია გასასვლელად","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"რიგშია გადასაყვანად","pleaseSelectBed":"აირჩიეთ საწოლი","pleaseSelectTransferLocation":"აირჩიეთ გადაყვანის მდებარეობა","pleaseSelectTransferType":"აირჩიეთ გადაყვანის ტიპი","previousPage":"წინა გვერდი","proceedWithPatientDischarge":"პაციენტის გაწერის გაგრძელება","save":"შენახვა","saving":"მიმდინარეობს შენახვა...","searchLocations":"ძებნის მდებარეობები","seconds_one":"{{count}} წამი","seconds_other":"{{count}} წამი","selectABed":"აირჩიეთ საწოლი","selectALocation":"აირჩიეთ მდებარეობა","showingLocations_one":"{{start}}-{{end}} {{count}} მდებარეობიდან","showingLocations_other":"{{start}}-{{end}} {{count}} მდებარეობიდან","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"მიღებიდან გავიდა: {{timeSinceAdmission}}","transfer":"გადაყვანა","transferElsewhere":"სხვაგან გადაყვანა","transferPatient":"პაციენტის გადაყვანა","transfers":"გადაყვანები","transferToDispositionLocation":"გადაყვანა {{location}}-ში","transferType":"გადაყვანის ტიპი","typeOfTransfer":"გადაყვანის ტიპი","unknown":"უცნობი","unknownError":"An unknown error occurred","visitNoteSaved":"პაციენტის შენიშვნა შენახულია","wardClinicalNotePlaceholder":"დაწერეთ აქ ნებისმიერი შენიშვნა","wardPatient":"Ward patient","wards":"პალატები"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[795],{70795:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"მიღების მოთხოვნა გაუქმდა","admissionRequests":"მიღების მოთხოვნები","admissionRequestsCount_one":"{{count}} მიღების მოთხოვნა","admissionRequestsCount_other":"{{count}} მიღების მოთხოვნა","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"მიღება","admitElsewhere":"სხვაგან მიღება","admitPatient":"პაციენტის მიღება","admittedTo":"Admitted to {{locationName}}","admitting":"მიმდინარეობს მიღება...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"დაბრუნება ძებნის შედეგებზე","bedShare":"საწოლის გაზიარება","bedSwap":"საწოლის გადაცვლა","cancel":"გაუქმება","cancelAdmissionRequest":"მიღების მთხოვნის გაუქმება","chooseAnOption":"აირჩიეთ პარამეტრი","clinicalForms":"კლინიკური ფორმები","clinicalNoteLabel":"დაწერეთ თქვენი შენიშვნები","clinicalNotes":"კლინიკური შენიშვნები","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} დღე","days_other":"{{count}} დღე","discharge":"გაწერა","emptyBed":"ცარიელი საწოლი","emptyStateIllustration":"Empty state illustration","emptyText":"ცარიელია","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"პაციენტის ბარათის მორგების შეცდომა","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"პაციენტის მიღება ჩავარდა","errorCreatingTransferRequest":"გადაყვანის მოთხოვნის შექმნის შეცდომა","errorDischargingPatient":"პაციენტის გაწერის შეცდომა","errorLoadingBedDetails":"საწოლის დეტალების ჩატვირთვის შეცდომა","errorLoadingChildren":"ბავშვვების ინფორმაციის ჩატვირთვის შეცდომა","errorLoadingMother":"დედის ინფორმაციის ჩატვირთვის შეცდომა","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"პაციენტის ინფორმაციის ჩატვირთვის შეცდომა","errorLoadingPatients":"მიღებული პაციენტების ჩატვირთვის შეცდომა","errorLoadingWardLocation":"პალატის მდებარეობის ჩატვირთვის შეცდომა","female":"მდედრი","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"თავისუფალი საწოლი","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} საათი","hours_other":"{{count}} საათი","inpatientNotesWorkspaceTitle":"სტაციონარული ავადმყოფის შენიშვნები","invalidLocationSpecified":"მითითებულია არასწორი მდებარეობა","invalidWardLocation":"არასწორი პალატის მდებარეობა: {{location}}","labelColon":"{{label}}:","male":"მამრი","manage":"მართვა","minutes_one":"{{count}} წუთი","minutes_other":"{{count}} წუთი","motherChildBedShare":"დედა / შვილი","nextPage":"შემდეგი გვერდი","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"საწოლების გარეშე","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"მდებარეობები აღმოჩენილი არაა","noPendingAdmissionRequests":"No pending admission requests","note":"შენიშვნა","notes":"შენიშვნები","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"შეკვეთები","other":"სხვა","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"პაციენტის მიღება წარმატებულია","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"პაციენტი ამჟამად მიღებული არაა","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"პაციენტის შენიშვნის შენახვის შეცდომა","patientNotesDidntLoad":"პაციენტის შენიშვნები არ ჩატვირთულა","patients":"პაციენტები","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"პაციენტის გადაყვანის მოთხოვნა შეიქმნა","patientUnassignedFromBed":"პაციენტი მოხსნილია საწოლიდან","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"პაციენტი გაწერილია","pendingAdmissions":"Pending admissions","pendingDischarge":"რიგშია გასაწერად","pendingOut":"რიგშია გასასვლელად","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"რიგშია გადასაყვანად","pleaseSelectBed":"აირჩიეთ საწოლი","pleaseSelectTransferLocation":"აირჩიეთ გადაყვანის მდებარეობა","pleaseSelectTransferType":"აირჩიეთ გადაყვანის ტიპი","previousPage":"წინა გვერდი","proceedWithPatientDischarge":"პაციენტის გაწერის გაგრძელება","save":"შენახვა","saving":"მიმდინარეობს შენახვა...","searchLocations":"ძებნის მდებარეობები","seconds_one":"{{count}} წამი","seconds_other":"{{count}} წამი","selectABed":"აირჩიეთ საწოლი","selectALocation":"აირჩიეთ მდებარეობა","showingLocations_one":"{{start}}-{{end}} {{count}} მდებარეობიდან","showingLocations_other":"{{start}}-{{end}} {{count}} მდებარეობიდან","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"მიღებიდან გავიდა: {{timeSinceAdmission}}","totalBeds":"Total beds","totalBedsMetricValue":"{{ metricValue }}","transfer":"გადაყვანა","transferElsewhere":"სხვაგან გადაყვანა","transferPatient":"პაციენტის გადაყვანა","transfers":"გადაყვანები","transferToDispositionLocation":"გადაყვანა {{location}}-ში","transferType":"გადაყვანის ტიპი","typeOfTransfer":"გადაყვანის ტიპი","unknown":"უცნობი","unknownError":"An unknown error occurred","visitNoteSaved":"პაციენტის შენიშვნა შენახულია","wardClinicalNotePlaceholder":"დაწერეთ აქ ნებისმიერი შენიშვნა","wardPatient":"Ward patient","wards":"პალატები"}')}}]);
package/dist/8163.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[8163],{88163:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Admission request cancelled.","admissionRequests":"Admission requests","admissionRequestsCount_one":"{{count}} admission request","admissionRequestsCount_other":"{{count}} admission requests","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"Admit","admitElsewhere":"Admit elsewhere","admitPatient":"Admit patient","admittedTo":"Admitted to {{locationName}}","admitting":"Admitting...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"Back to search results","bedShare":"Bed share","bedSwap":"Bed swap","cancel":"Cancel","cancelAdmissionRequest":"Cancel admission request","capacity":"Capacity","capacityMetricValue":"{{ metricValue }} %","chooseAnOption":"Choose an option","clinicalForms":"Clinical forms","clinicalNoteLabel":"Write your notes","clinicalNotes":"Clinical notes","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} day","days_other":"{{count}} days","discharge":"Discharge","emptyBed":"Empty bed","emptyStateIllustration":"Empty state illustration","emptyText":"Empty","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"Error configuring patient card","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"Failed to admit patient","errorCreatingTransferRequest":"Error creating transfer request","errorDischargingPatient":"Error discharging patient","errorLoadingBedDetails":"Error loading bed details","errorLoadingChildren":"Error loading children info","errorLoadingMother":"Error loading mother info","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"Error loading patient info","errorLoadingPatients":"Error loading admitted patients","errorLoadingWardLocation":"Error loading ward location","female":"Female","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"Free beds","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} hour","hours_other":"{{count}} hours","inpatientNotesWorkspaceTitle":"In-patient notes","invalidLocationSpecified":"Invalid location specified","invalidWardLocation":"Invalid ward location: {{location}}","labelColon":"{{label}}:","male":"Male","manage":"Manage","minutes_one":"{{count}} minutes","minutes_other":"{{count}} minutes","motherChildBedShare":"Mother / Child","nextPage":"Next page","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"No bed","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"No locations found","noPendingAdmissionRequests":"No pending admission requests","note":"Note","notes":"Notes","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"Orders","other":"Other","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"Patient admitted successfully","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"Patient currently not admitted","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"Error saving patient note","patientNotesDidntLoad":"Patient notes didn\'t load","patients":"Patients","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Patient transfer request created","patientUnassignedFromBed":"Patient unassigned from bed","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"Patient was discharged","pendingAdmissions":"Pending admissions","pendingDischarge":"Pending Discharge","pendingOut":"Pending out","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Pending Transfer","pleaseSelectBed":"Please select a bed","pleaseSelectTransferLocation":"Please select transfer location","pleaseSelectTransferType":"Please select transfer type","previousPage":"Previous page","proceedWithPatientDischarge":"Proceed with patient discharge","save":"Save","saving":"Saving...","searchLocations":"Search locations","seconds_one":"{{count}} second","seconds_other":"{{count}} seconds","selectABed":"Select a bed","selectALocation":"Select a location","showingLocations_one":"{{start}}-{{end}} of {{count}} locations","showingLocations_other":"{{start}}-{{end}} of {{count}} locations","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"Admitted: {{timeSinceAdmission}}","transfer":"Transfer","transferElsewhere":"Transfer elsewhere","transferPatient":"Transfer patient","transfers":"Transfers","transferToDispositionLocation":"Transfer to {{location}}","transferType":"Transfer type","typeOfTransfer":"Type of transfer","unknown":"Unknown","unknownError":"An unknown error occurred","visitNoteSaved":"Patient note saved","wardClinicalNotePlaceholder":"Write any notes here","wardPatient":"Ward patient","wards":"Wards"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[8163],{88163:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Admission request cancelled.","admissionRequests":"Admission requests","admissionRequestsCount_one":"{{count}} admission request","admissionRequestsCount_other":"{{count}} admission requests","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"Admit","admitElsewhere":"Admit elsewhere","admitPatient":"Admit patient","admittedTo":"Admitted to {{locationName}}","admitting":"Admitting...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"Back to search results","bedShare":"Bed share","bedSwap":"Bed swap","cancel":"Cancel","cancelAdmissionRequest":"Cancel admission request","chooseAnOption":"Choose an option","clinicalForms":"Clinical forms","clinicalNoteLabel":"Write your notes","clinicalNotes":"Clinical notes","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} day","days_other":"{{count}} days","discharge":"Discharge","emptyBed":"Empty bed","emptyStateIllustration":"Empty state illustration","emptyText":"Empty","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"Error configuring patient card","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"Failed to admit patient","errorCreatingTransferRequest":"Error creating transfer request","errorDischargingPatient":"Error discharging patient","errorLoadingBedDetails":"Error loading bed details","errorLoadingChildren":"Error loading children info","errorLoadingMother":"Error loading mother info","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"Error loading patient info","errorLoadingPatients":"Error loading admitted patients","errorLoadingWardLocation":"Error loading ward location","female":"Female","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"Free beds","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} hour","hours_other":"{{count}} hours","inpatientNotesWorkspaceTitle":"In-patient notes","invalidLocationSpecified":"Invalid location specified","invalidWardLocation":"Invalid ward location: {{location}}","labelColon":"{{label}}:","male":"Male","manage":"Manage","minutes_one":"{{count}} minutes","minutes_other":"{{count}} minutes","motherChildBedShare":"Mother / Child","nextPage":"Next page","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"No bed","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"No locations found","noPendingAdmissionRequests":"No pending admission requests","note":"Note","notes":"Notes","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"Orders","other":"Other","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"Patient admitted successfully","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"Patient currently not admitted","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"Error saving patient note","patientNotesDidntLoad":"Patient notes didn\'t load","patients":"Patients","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Patient transfer request created","patientUnassignedFromBed":"Patient unassigned from bed","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"Patient was discharged","pendingAdmissions":"Pending admissions","pendingDischarge":"Pending Discharge","pendingOut":"Pending out","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Pending Transfer","pleaseSelectBed":"Please select a bed","pleaseSelectTransferLocation":"Please select transfer location","pleaseSelectTransferType":"Please select transfer type","previousPage":"Previous page","proceedWithPatientDischarge":"Proceed with patient discharge","save":"Save","saving":"Saving...","searchLocations":"Search locations","seconds_one":"{{count}} second","seconds_other":"{{count}} seconds","selectABed":"Select a bed","selectALocation":"Select a location","showingLocations_one":"{{start}}-{{end}} of {{count}} locations","showingLocations_other":"{{start}}-{{end}} of {{count}} locations","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"Admitted: {{timeSinceAdmission}}","totalBeds":"Total beds","totalBedsMetricValue":"{{ metricValue }}","transfer":"Transfer","transferElsewhere":"Transfer elsewhere","transferPatient":"Transfer patient","transfers":"Transfers","transferToDispositionLocation":"Transfer to {{location}}","transferType":"Transfer type","typeOfTransfer":"Type of transfer","unknown":"Unknown","unknownError":"An unknown error occurred","visitNoteSaved":"Patient note saved","wardClinicalNotePlaceholder":"Write any notes here","wardPatient":"Ward patient","wards":"Wards"}')}}]);
package/dist/8349.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[8349],{88349:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Admission request cancelled.","admissionRequests":"Admission requests","admissionRequestsCount_one":"{{count}} admission request","admissionRequestsCount_other":"{{count}} admission requests","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"Admit","admitElsewhere":"Admit elsewhere","admitPatient":"Admit patient","admittedTo":"Admitted to {{locationName}}","admitting":"Admitting...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"Back to search results","bedShare":"Bed share","bedSwap":"Bed swap","cancel":"Cancel","cancelAdmissionRequest":"Cancel admission request","capacity":"Capacity","capacityMetricValue":"{{ metricValue }} %","chooseAnOption":"Choose an option","clinicalForms":"Clinical forms","clinicalNoteLabel":"Write your notes","clinicalNotes":"Clinical notes","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} day","days_other":"{{count}} days","discharge":"Discharge","emptyBed":"Empty bed","emptyStateIllustration":"Empty state illustration","emptyText":"Empty","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"Error configuring patient card","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"Failed to admit patient","errorCreatingTransferRequest":"Error creating transfer request","errorDischargingPatient":"Error discharging patient","errorLoadingBedDetails":"Error loading bed details","errorLoadingChildren":"Error loading children info","errorLoadingMother":"Error loading mother info","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"Error loading patient info","errorLoadingPatients":"Error loading admitted patients","errorLoadingWardLocation":"Error loading ward location","female":"Female","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"Free beds","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} hour","hours_other":"{{count}} hours","inpatientNotesWorkspaceTitle":"In-patient notes","invalidLocationSpecified":"Invalid location specified","invalidWardLocation":"Invalid ward location: {{location}}","labelColon":"{{label}}:","male":"Male","manage":"Manage","minutes_one":"{{count}} minutes","minutes_other":"{{count}} minutes","motherChildBedShare":"Mother / Child","nextPage":"Next page","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"No bed","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"No locations found","noPendingAdmissionRequests":"No pending admission requests","note":"Note","notes":"Notes","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"Orders","other":"Other","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"Patient admitted successfully","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"Patient currently not admitted","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"Error saving patient note","patientNotesDidntLoad":"Patient notes didn\'t load","patients":"Patients","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Patient transfer request created","patientUnassignedFromBed":"Patient unassigned from bed","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"Patient was discharged","pendingAdmissions":"Pending admissions","pendingDischarge":"Pending Discharge","pendingOut":"Pending out","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Pending Transfer","pleaseSelectBed":"Please select a bed","pleaseSelectTransferLocation":"Please select transfer location","pleaseSelectTransferType":"Please select transfer type","previousPage":"Previous page","proceedWithPatientDischarge":"Proceed with patient discharge","save":"Save","saving":"Saving...","searchLocations":"Search locations","seconds_one":"{{count}} second","seconds_other":"{{count}} seconds","selectABed":"Select a bed","selectALocation":"Select a location","showingLocations_one":"{{start}}-{{end}} of {{count}} locations","showingLocations_other":"{{start}}-{{end}} of {{count}} locations","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"Admitted: {{timeSinceAdmission}}","transfer":"Transfer","transferElsewhere":"Transfer elsewhere","transferPatient":"Transfer patient","transfers":"Transfers","transferToDispositionLocation":"Transfer to {{location}}","transferType":"Transfer type","typeOfTransfer":"Type of transfer","unknown":"Unknown","unknownError":"An unknown error occurred","visitNoteSaved":"Patient note saved","wardClinicalNotePlaceholder":"Write any notes here","wardPatient":"Ward patient","wards":"Wards"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[8349],{88349:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Admission request cancelled.","admissionRequests":"Admission requests","admissionRequestsCount_one":"{{count}} admission request","admissionRequestsCount_other":"{{count}} admission requests","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"Admit","admitElsewhere":"Admit elsewhere","admitPatient":"Admit patient","admittedTo":"Admitted to {{locationName}}","admitting":"Admitting...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"Back to search results","bedShare":"Bed share","bedSwap":"Bed swap","cancel":"Cancel","cancelAdmissionRequest":"Cancel admission request","chooseAnOption":"Choose an option","clinicalForms":"Clinical forms","clinicalNoteLabel":"Write your notes","clinicalNotes":"Clinical notes","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} day","days_other":"{{count}} days","discharge":"Discharge","emptyBed":"Empty bed","emptyStateIllustration":"Empty state illustration","emptyText":"Empty","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"Error configuring patient card","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"Failed to admit patient","errorCreatingTransferRequest":"Error creating transfer request","errorDischargingPatient":"Error discharging patient","errorLoadingBedDetails":"Error loading bed details","errorLoadingChildren":"Error loading children info","errorLoadingMother":"Error loading mother info","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"Error loading patient info","errorLoadingPatients":"Error loading admitted patients","errorLoadingWardLocation":"Error loading ward location","female":"Female","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"Free beds","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} hour","hours_other":"{{count}} hours","inpatientNotesWorkspaceTitle":"In-patient notes","invalidLocationSpecified":"Invalid location specified","invalidWardLocation":"Invalid ward location: {{location}}","labelColon":"{{label}}:","male":"Male","manage":"Manage","minutes_one":"{{count}} minutes","minutes_other":"{{count}} minutes","motherChildBedShare":"Mother / Child","nextPage":"Next page","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"No bed","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"No locations found","noPendingAdmissionRequests":"No pending admission requests","note":"Note","notes":"Notes","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"Orders","other":"Other","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"Patient admitted successfully","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"Patient currently not admitted","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"Error saving patient note","patientNotesDidntLoad":"Patient notes didn\'t load","patients":"Patients","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Patient transfer request created","patientUnassignedFromBed":"Patient unassigned from bed","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"Patient was discharged","pendingAdmissions":"Pending admissions","pendingDischarge":"Pending Discharge","pendingOut":"Pending out","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Pending Transfer","pleaseSelectBed":"Please select a bed","pleaseSelectTransferLocation":"Please select transfer location","pleaseSelectTransferType":"Please select transfer type","previousPage":"Previous page","proceedWithPatientDischarge":"Proceed with patient discharge","save":"Save","saving":"Saving...","searchLocations":"Search locations","seconds_one":"{{count}} second","seconds_other":"{{count}} seconds","selectABed":"Select a bed","selectALocation":"Select a location","showingLocations_one":"{{start}}-{{end}} of {{count}} locations","showingLocations_other":"{{start}}-{{end}} of {{count}} locations","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"Admitted: {{timeSinceAdmission}}","totalBeds":"Total beds","totalBedsMetricValue":"{{ metricValue }}","transfer":"Transfer","transferElsewhere":"Transfer elsewhere","transferPatient":"Transfer patient","transfers":"Transfers","transferToDispositionLocation":"Transfer to {{location}}","transferType":"Transfer type","typeOfTransfer":"Type of transfer","unknown":"Unknown","unknownError":"An unknown error occurred","visitNoteSaved":"Patient note saved","wardClinicalNotePlaceholder":"Write any notes here","wardPatient":"Ward patient","wards":"Wards"}')}}]);
package/dist/8371.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[8371],{88371:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Admission request cancelled.","admissionRequests":"Admission requests","admissionRequestsCount_one":"{{count}} admission request","admissionRequestsCount_other":"{{count}} admission requests","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"Admit","admitElsewhere":"Admit elsewhere","admitPatient":"Admit patient","admittedTo":"Admitted to {{locationName}}","admitting":"Admitting...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"Back to search results","bedShare":"Bed share","bedSwap":"Bed swap","cancel":"Cancel","cancelAdmissionRequest":"Cancel admission request","capacity":"Capacity","capacityMetricValue":"{{ metricValue }} %","chooseAnOption":"Choose an option","clinicalForms":"Clinical forms","clinicalNoteLabel":"Write your notes","clinicalNotes":"Clinical notes","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} day","days_other":"{{count}} days","discharge":"Discharge","emptyBed":"Empty bed","emptyStateIllustration":"Empty state illustration","emptyText":"Empty","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"Error configuring patient card","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"Failed to admit patient","errorCreatingTransferRequest":"Error creating transfer request","errorDischargingPatient":"Error discharging patient","errorLoadingBedDetails":"Error loading bed details","errorLoadingChildren":"Error loading children info","errorLoadingMother":"Error loading mother info","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"Error loading patient info","errorLoadingPatients":"Error loading admitted patients","errorLoadingWardLocation":"Error loading ward location","female":"Female","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"Free beds","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} hour","hours_other":"{{count}} hours","inpatientNotesWorkspaceTitle":"In-patient notes","invalidLocationSpecified":"Invalid location specified","invalidWardLocation":"Invalid ward location: {{location}}","labelColon":"{{label}}:","male":"Male","manage":"Manage","minutes_one":"{{count}} minutes","minutes_other":"{{count}} minutes","motherChildBedShare":"Mother / Child","nextPage":"Next page","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"No bed","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"No locations found","noPendingAdmissionRequests":"No pending admission requests","note":"Note","notes":"Notes","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"Orders","other":"Other","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"Patient admitted successfully","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"Patient currently not admitted","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"Error saving patient note","patientNotesDidntLoad":"Patient notes didn\'t load","patients":"Patients","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Patient transfer request created","patientUnassignedFromBed":"Patient unassigned from bed","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"Patient was discharged","pendingAdmissions":"Pending admissions","pendingDischarge":"Pending Discharge","pendingOut":"Pending out","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Pending Transfer","pleaseSelectBed":"Please select a bed","pleaseSelectTransferLocation":"Please select transfer location","pleaseSelectTransferType":"Please select transfer type","previousPage":"Previous page","proceedWithPatientDischarge":"Proceed with patient discharge","save":"Save","saving":"Saving...","searchLocations":"Search locations","seconds_one":"{{count}} second","seconds_other":"{{count}} seconds","selectABed":"Select a bed","selectALocation":"Select a location","showingLocations_one":"{{start}}-{{end}} of {{count}} locations","showingLocations_other":"{{start}}-{{end}} of {{count}} locations","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"Admitted: {{timeSinceAdmission}}","transfer":"Transfer","transferElsewhere":"Transfer elsewhere","transferPatient":"Transfer patient","transfers":"Transfers","transferToDispositionLocation":"Transfer to {{location}}","transferType":"Transfer type","typeOfTransfer":"Type of transfer","unknown":"Unknown","unknownError":"An unknown error occurred","visitNoteSaved":"Patient note saved","wardClinicalNotePlaceholder":"Write any notes here","wardPatient":"Ward patient","wards":"Wards"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[8371],{88371:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Admission request cancelled.","admissionRequests":"Admission requests","admissionRequestsCount_one":"{{count}} admission request","admissionRequestsCount_other":"{{count}} admission requests","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"Admit","admitElsewhere":"Admit elsewhere","admitPatient":"Admit patient","admittedTo":"Admitted to {{locationName}}","admitting":"Admitting...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"Back to search results","bedShare":"Bed share","bedSwap":"Bed swap","cancel":"Cancel","cancelAdmissionRequest":"Cancel admission request","chooseAnOption":"Choose an option","clinicalForms":"Clinical forms","clinicalNoteLabel":"Write your notes","clinicalNotes":"Clinical notes","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} day","days_other":"{{count}} days","discharge":"Discharge","emptyBed":"Empty bed","emptyStateIllustration":"Empty state illustration","emptyText":"Empty","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"Error configuring patient card","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"Failed to admit patient","errorCreatingTransferRequest":"Error creating transfer request","errorDischargingPatient":"Error discharging patient","errorLoadingBedDetails":"Error loading bed details","errorLoadingChildren":"Error loading children info","errorLoadingMother":"Error loading mother info","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"Error loading patient info","errorLoadingPatients":"Error loading admitted patients","errorLoadingWardLocation":"Error loading ward location","female":"Female","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"Free beds","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} hour","hours_other":"{{count}} hours","inpatientNotesWorkspaceTitle":"In-patient notes","invalidLocationSpecified":"Invalid location specified","invalidWardLocation":"Invalid ward location: {{location}}","labelColon":"{{label}}:","male":"Male","manage":"Manage","minutes_one":"{{count}} minutes","minutes_other":"{{count}} minutes","motherChildBedShare":"Mother / Child","nextPage":"Next page","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"No bed","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"No locations found","noPendingAdmissionRequests":"No pending admission requests","note":"Note","notes":"Notes","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"Orders","other":"Other","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"Patient admitted successfully","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"Patient currently not admitted","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"Error saving patient note","patientNotesDidntLoad":"Patient notes didn\'t load","patients":"Patients","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Patient transfer request created","patientUnassignedFromBed":"Patient unassigned from bed","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"Patient was discharged","pendingAdmissions":"Pending admissions","pendingDischarge":"Pending Discharge","pendingOut":"Pending out","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Pending Transfer","pleaseSelectBed":"Please select a bed","pleaseSelectTransferLocation":"Please select transfer location","pleaseSelectTransferType":"Please select transfer type","previousPage":"Previous page","proceedWithPatientDischarge":"Proceed with patient discharge","save":"Save","saving":"Saving...","searchLocations":"Search locations","seconds_one":"{{count}} second","seconds_other":"{{count}} seconds","selectABed":"Select a bed","selectALocation":"Select a location","showingLocations_one":"{{start}}-{{end}} of {{count}} locations","showingLocations_other":"{{start}}-{{end}} of {{count}} locations","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"Admitted: {{timeSinceAdmission}}","totalBeds":"Total beds","totalBedsMetricValue":"{{ metricValue }}","transfer":"Transfer","transferElsewhere":"Transfer elsewhere","transferPatient":"Transfer patient","transfers":"Transfers","transferToDispositionLocation":"Transfer to {{location}}","transferType":"Transfer type","typeOfTransfer":"Type of transfer","unknown":"Unknown","unknownError":"An unknown error occurred","visitNoteSaved":"Patient note saved","wardClinicalNotePlaceholder":"Write any notes here","wardPatient":"Ward patient","wards":"Wards"}')}}]);
package/dist/8618.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[8618],{88618:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Admission request cancelled.","admissionRequests":"Admission requests","admissionRequestsCount_one":"{{count}} admission request","admissionRequestsCount_other":"{{count}} admission requests","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"Admit","admitElsewhere":"Admit elsewhere","admitPatient":"Admit patient","admittedTo":"Admitted to {{locationName}}","admitting":"Admitting...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"Back to search results","bedShare":"Bed share","bedSwap":"Bed swap","cancel":"Cancel","cancelAdmissionRequest":"Cancel admission request","capacity":"Capacity","capacityMetricValue":"{{ metricValue }} %","chooseAnOption":"Choose an option","clinicalForms":"Clinical forms","clinicalNoteLabel":"Write your notes","clinicalNotes":"Clinical notes","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} day","days_other":"{{count}} days","discharge":"Discharge","emptyBed":"Empty bed","emptyStateIllustration":"Empty state illustration","emptyText":"Empty","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"Error configuring patient card","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"Failed to admit patient","errorCreatingTransferRequest":"Error creating transfer request","errorDischargingPatient":"Error discharging patient","errorLoadingBedDetails":"Error loading bed details","errorLoadingChildren":"Error loading children info","errorLoadingMother":"Error loading mother info","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"Error loading patient info","errorLoadingPatients":"Error loading admitted patients","errorLoadingWardLocation":"Error loading ward location","female":"Female","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"Free beds","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} hour","hours_other":"{{count}} hours","inpatientNotesWorkspaceTitle":"In-patient notes","invalidLocationSpecified":"Invalid location specified","invalidWardLocation":"Invalid ward location: {{location}}","labelColon":"{{label}}:","male":"Male","manage":"Manage","minutes_one":"{{count}} minutes","minutes_other":"{{count}} minutes","motherChildBedShare":"Mother / Child","nextPage":"Next page","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"No bed","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"No locations found","noPendingAdmissionRequests":"No pending admission requests","note":"Note","notes":"Notes","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"Orders","other":"Other","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"Patient admitted successfully","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"Patient currently not admitted","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"Error saving patient note","patientNotesDidntLoad":"Patient notes didn\'t load","patients":"Patients","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Patient transfer request created","patientUnassignedFromBed":"Patient unassigned from bed","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"Patient was discharged","pendingAdmissions":"Pending admissions","pendingDischarge":"Pending Discharge","pendingOut":"Pending out","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Pending Transfer","pleaseSelectBed":"Please select a bed","pleaseSelectTransferLocation":"Please select transfer location","pleaseSelectTransferType":"Please select transfer type","previousPage":"Previous page","proceedWithPatientDischarge":"Proceed with patient discharge","save":"Save","saving":"Saving...","searchLocations":"Search locations","seconds_one":"{{count}} second","seconds_other":"{{count}} seconds","selectABed":"Select a bed","selectALocation":"Select a location","showingLocations_one":"{{start}}-{{end}} of {{count}} locations","showingLocations_other":"{{start}}-{{end}} of {{count}} locations","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"Admitted: {{timeSinceAdmission}}","transfer":"Transfer","transferElsewhere":"Transfer elsewhere","transferPatient":"Transfer patient","transfers":"Transfers","transferToDispositionLocation":"Transfer to {{location}}","transferType":"Transfer type","typeOfTransfer":"Type of transfer","unknown":"Unknown","unknownError":"An unknown error occurred","visitNoteSaved":"Patient note saved","wardClinicalNotePlaceholder":"Write any notes here","wardPatient":"Ward patient","wards":"Wards"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[8618],{88618:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Admission request cancelled.","admissionRequests":"Admission requests","admissionRequestsCount_one":"{{count}} admission request","admissionRequestsCount_other":"{{count}} admission requests","admissionRequestsEmptyHelperText":"Admission requests from other departments will appear here when patients are referred to this ward. You can also directly admit patients using the button below.","admit":"Admit","admitElsewhere":"Admit elsewhere","admitPatient":"Admit patient","admittedTo":"Admitted to {{locationName}}","admitting":"Admitting...","alsoSwap":"Also swap:","alsoTransfer":"Also transfer:","backToSearchResults":"Back to search results","bedShare":"Bed share","bedSwap":"Bed swap","cancel":"Cancel","cancelAdmissionRequest":"Cancel admission request","chooseAnOption":"Choose an option","clinicalForms":"Clinical forms","clinicalNoteLabel":"Write your notes","clinicalNotes":"Clinical notes","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} day","days_other":"{{count}} days","discharge":"Discharge","emptyBed":"Empty bed","emptyStateIllustration":"Empty state illustration","emptyText":"Empty","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Error cancelling admission request","errorChangingPatientBedAssignment":"Error changing patient bed assignment","errorConfiguringPatientCard":"Error configuring patient card","errorConfiguringPatientCardMessage":"Unable to find configuration for {{elementType}}, id: {{id}}","errorCreatingEncounter":"Failed to admit patient","errorCreatingTransferRequest":"Error creating transfer request","errorDischargingPatient":"Error discharging patient","errorLoadingBedDetails":"Error loading bed details","errorLoadingChildren":"Error loading children info","errorLoadingMother":"Error loading mother info","errorLoadingPatientAdmissionRequests":"Error loading patient admission requests","errorLoadingPatientInfo":"Error loading patient info","errorLoadingPatients":"Error loading admitted patients","errorLoadingWardLocation":"Error loading ward location","female":"Female","fetchingEmrConfigurationFailed":"Fetching EMR configuration failed. Try refreshing the page or contact your system administrator.","fetchingPatientNotesFailed":"Fetching patient notes failed. Try refreshing the page or contact your system administrator.","freeBeds":"Free beds","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} hour","hours_other":"{{count}} hours","inpatientNotesWorkspaceTitle":"In-patient notes","invalidLocationSpecified":"Invalid location specified","invalidWardLocation":"Invalid ward location: {{location}}","labelColon":"{{label}}:","male":"Male","manage":"Manage","minutes_one":"{{count}} minutes","minutes_other":"{{count}} minutes","motherChildBedShare":"Mother / Child","nextPage":"Next page","noActiveVisit":"No active visit","noAdmission":"No admission found","noBed":"No bed","noBedsConfigured":"No beds configured for this location","noBedsConfiguredForLocation":"No beds configured for {{location}} location","noLocationsFound":"No locations found","noPendingAdmissionRequests":"No pending admission requests","note":"Note","notes":"Notes","notesRequiredForCancellingRequest":"Notes required for cancelling admission or transfer request","orderBasket":"Order basket","Orders":"Orders","other":"Other","Patient":"patient","patientAdmittedButBedNotAssigned":"Patient admitted successfully but fail to assign bed to patient","patientAdmittedSuccessfully":"Patient admitted successfully","patientAdmittedSuccessfullySubtitle":"{{patientName}} has been successfully admitted and assigned to bed {{bedNumber}}","patientAdmittedWoBed":"Patient admitted successfully to {{location}}","patientAlreadyAdmittedToCurrentLocation":"Patient already admitted to current location","patientAssignedNewBed":"Patient assigned to new bed","patientAssignedNewBedDetail":"{{patientName}} assigned to bed {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Patient currently admitted to {{wardLocation}}","patientCurrentlyNotAdmitted":"Patient currently not admitted","patienthasNoActiveVisit":"Patient has no active visit","patientHasPendingAdmissionRequest":"Patient already has a pending admission request to location {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"It should be now visible in the notes history","patientNoteSaveError":"Error saving patient note","patientNotesDidntLoad":"Patient notes didn\'t load","patients":"Patients","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Patient transfer request created","patientUnassignedFromBed":"Patient unassigned from bed","patientUnassignedFromBedDetail":"{{patientName}} is now unassigned from bed","patientWasDischarged":"Patient was discharged","pendingAdmissions":"Pending admissions","pendingDischarge":"Pending Discharge","pendingOut":"Pending out","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Pending Transfer","pleaseSelectBed":"Please select a bed","pleaseSelectTransferLocation":"Please select transfer location","pleaseSelectTransferType":"Please select transfer type","previousPage":"Previous page","proceedWithPatientDischarge":"Proceed with patient discharge","save":"Save","saving":"Saving...","searchLocations":"Search locations","seconds_one":"{{count}} second","seconds_other":"{{count}} seconds","selectABed":"Select a bed","selectALocation":"Select a location","showingLocations_one":"{{start}}-{{end}} of {{count}} locations","showingLocations_other":"{{start}}-{{end}} of {{count}} locations","somePartsOfTheFormDidntLoad":"Some parts of the form didn\'t load","timeOnWard":"Time on this ward: {{timeOnWard}}","timeSinceAdmission":"Admitted: {{timeSinceAdmission}}","totalBeds":"Total beds","totalBedsMetricValue":"{{ metricValue }}","transfer":"Transfer","transferElsewhere":"Transfer elsewhere","transferPatient":"Transfer patient","transfers":"Transfers","transferToDispositionLocation":"Transfer to {{location}}","transferType":"Transfer type","typeOfTransfer":"Type of transfer","unknown":"Unknown","unknownError":"An unknown error occurred","visitNoteSaved":"Patient note saved","wardClinicalNotePlaceholder":"Write any notes here","wardPatient":"Ward patient","wards":"Wards"}')}}]);