@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/890.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[890],{70890: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([[890],{70890: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/9214.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[9214],{79214: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([[9214],{79214: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/9538.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[9538],{9538:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Richiesta di ricovero annullata.","admissionRequests":"Richieste di ricovero","admissionRequestsCount_one":"{{count}} richiesta di ricovero","admissionRequestsCount_other":"{{count}} richieste di ricovero","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":"Ricovera","admitElsewhere":"Ricovera altrove","admitPatient":"Ricovera paziente","admittedTo":"Ricoverato in {{locationName}}","admitting":"Ricovero in corso...","alsoSwap":"Scambia anche:","alsoTransfer":"Trasferisci anche: ","backToSearchResults":"Torna ai risultati di ricerca","bedShare":"Condivisione letto","bedSwap":"Scambio letto","cancel":"Annulla","cancelAdmissionRequest":"Annulla richiesta di ricovero","capacity":"Capacità","capacityMetricValue":"{{ metricValue }} %","chooseAnOption":"Scegli un\'opzione","clinicalForms":"Moduli clinici","clinicalNoteLabel":"Scrivi le tue note","clinicalNotes":"Note cliniche","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} giorno","days_other":"{{count}} giorni","discharge":"Dimissione","emptyBed":"Letto libero","emptyStateIllustration":"Empty state illustration","emptyText":"Vuoto","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Errore nell\'annullamento della richiesta di ricovero","errorChangingPatientBedAssignment":"Errore nella modifica dell\'assegnazione del letto al paziente","errorConfiguringPatientCard":"Errore nella configurazione della scheda paziente","errorConfiguringPatientCardMessage":"Impossibile trovare la configurazione per {{elementType}}, id: {{id}}","errorCreatingEncounter":"Errore nel ricovero del paziente","errorCreatingTransferRequest":"Errore nella creazione della richiesta di trasferimento","errorDischargingPatient":"Errore nella dimissione del paziente","errorLoadingBedDetails":"Errore nel caricamento dei dettagli del letto","errorLoadingChildren":"Errore nel caricamento delle informazioni sui bambini","errorLoadingMother":"Errore nel caricamento delle informazioni sulla madre","errorLoadingPatientAdmissionRequests":"Errore nel caricamento delle richieste di ricovero del paziente","errorLoadingPatientInfo":"Errore nel caricamento delle informazioni del paziente","errorLoadingPatients":"Errore nel caricamento dei pazienti ricoverati","errorLoadingWardLocation":"Errore nel caricamento della posizione del reparto","female":"Femmina","fetchingEmrConfigurationFailed":"Errore nel recupero della configurazione EMR. Prova a ricaricare la pagina o contatta l\'amministratore di sistema.","fetchingPatientNotesFailed":"Errore nel recupero delle note del paziente. Prova a ricaricare la pagina o contatta l\'amministratore di sistema.","freeBeds":"Letti disponibili","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} ora","hours_other":"{{count}} ore","inpatientNotesWorkspaceTitle":"Note paziente ricoverato","invalidLocationSpecified":"Posizione specificata non valida","invalidWardLocation":"Posizione del reparto non valida: {{location}}","labelColon":"{{label}}:","male":"Maschio","manage":"Gestisci","minutes_one":"{{count}} minuto","minutes_other":"{{count}} minuti","motherChildBedShare":"Madre / Bambino","nextPage":"Pagina successiva","noActiveVisit":"Nessuna visita attiva","noAdmission":"Nessun ricovero trovato","noBed":"Nessun letto","noBedsConfigured":"Nessun letto configurato per questa posizione","noBedsConfiguredForLocation":"Nessun letto configurato per la posizione {{location}}","noLocationsFound":"Nessuna posizione trovata","noPendingAdmissionRequests":"No pending admission requests","note":"Nota","notes":"Note","notesRequiredForCancellingRequest":"Note obbligatorie per annullare la richiesta di ricovero o trasferimento","orderBasket":"Order basket","Orders":"Ordini","other":"Altro","Patient":"patient","patientAdmittedButBedNotAssigned":"Paziente ricoverato con successo, ma assegnazione del letto non riuscita","patientAdmittedSuccessfully":"Paziente ricoverato con successo","patientAdmittedSuccessfullySubtitle":"{{patientName}} è stato ricoverato con successo e assegnato al letto {{bedNumber}}","patientAdmittedWoBed":"Paziente ricoverato con successo in {{location}}","patientAlreadyAdmittedToCurrentLocation":"Il paziente è già ricoverato nella posizione attuale","patientAssignedNewBed":"Paziente assegnato a un nuovo letto","patientAssignedNewBedDetail":"{{patientName}} assegnato al letto {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Paziente attualmente ricoverato nel reparto {{wardLocation}}","patientCurrentlyNotAdmitted":"Il paziente non è attualmente ricoverato","patienthasNoActiveVisit":"Il paziente non ha visite attive","patientHasPendingAdmissionRequest":"Il paziente ha già una richiesta di ricovero in sospeso per la posizione {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"Ora dovrebbe essere visibile nella cronologia delle note","patientNoteSaveError":"Errore nel salvataggio della nota del paziente","patientNotesDidntLoad":"Le note del paziente non sono state caricate","patients":"Pazienti","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Richiesta di trasferimento del paziente creata","patientUnassignedFromBed":"Paziente disassegnato dal letto","patientUnassignedFromBedDetail":"{{patientName}} non è più assegnato a un letto","patientWasDischarged":"Paziente dimesso","pendingAdmissions":"Pending admissions","pendingDischarge":"Dimissione in sospeso","pendingOut":"Uscita in sospeso","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Trasferimento in sospeso","pleaseSelectBed":"Seleziona un letto","pleaseSelectTransferLocation":"Seleziona una posizione di trasferimento","pleaseSelectTransferType":"Seleziona un tipo di trasferimento","previousPage":"Pagina precedente","proceedWithPatientDischarge":"Procedi con la dimissione del paziente","save":"Salva","saving":"Salvataggio in corso...","searchLocations":"Cerca posizioni","seconds_one":"{{count}} secondo","seconds_other":"{{count}} secondi","selectABed":"Seleziona un letto","selectALocation":"Seleziona una posizione","showingLocations_one":"{{start}}-{{end}} di {{count}} posizione","showingLocations_other":"{{start}}-{{end}} di {{count}} posizioni","somePartsOfTheFormDidntLoad":"Alcune parti del modulo non sono state caricate","timeOnWard":"Tempo trascorso in questo reparto: {{timeOnWard}}","timeSinceAdmission":"Ricoverato: {{timeSinceAdmission}}","transfer":"Trasferimento","transferElsewhere":"Trasferisci altrove","transferPatient":"Trasferisci paziente","transfers":"Trasferimenti","transferToDispositionLocation":"Trasferisci a {{location}}","transferType":"Tipo di trasferimento","typeOfTransfer":"Tipo di trasferimento","unknown":"Sconosciuto","unknownError":"An unknown error occurred","visitNoteSaved":"Nota del paziente salvata","wardClinicalNotePlaceholder":"Scrivi qui eventuali note","wardPatient":"Ward patient","wards":"Reparti"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[9538],{9538:e=>{e.exports=JSON.parse('{"addPatientToWard":"Add patient to ward","admissionRequestCancelled":"Richiesta di ricovero annullata.","admissionRequests":"Richieste di ricovero","admissionRequestsCount_one":"{{count}} richiesta di ricovero","admissionRequestsCount_other":"{{count}} richieste di ricovero","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":"Ricovera","admitElsewhere":"Ricovera altrove","admitPatient":"Ricovera paziente","admittedTo":"Ricoverato in {{locationName}}","admitting":"Ricovero in corso...","alsoSwap":"Scambia anche:","alsoTransfer":"Trasferisci anche: ","backToSearchResults":"Torna ai risultati di ricerca","bedShare":"Condivisione letto","bedSwap":"Scambio letto","cancel":"Annulla","cancelAdmissionRequest":"Annulla richiesta di ricovero","chooseAnOption":"Scegli un\'opzione","clinicalForms":"Moduli clinici","clinicalNoteLabel":"Scrivi le tue note","clinicalNotes":"Note cliniche","countItems_one":"{{count}} {{item}}","countItems_other":"{{count}} {{item}}","days_one":"{{count}} giorno","days_other":"{{count}} giorni","discharge":"Dimissione","emptyBed":"Letto libero","emptyStateIllustration":"Empty state illustration","emptyText":"Vuoto","encounterDisplay":"{{encounterType}} {{encounterDate}}","errorCancellingAdmissionRequest":"Errore nell\'annullamento della richiesta di ricovero","errorChangingPatientBedAssignment":"Errore nella modifica dell\'assegnazione del letto al paziente","errorConfiguringPatientCard":"Errore nella configurazione della scheda paziente","errorConfiguringPatientCardMessage":"Impossibile trovare la configurazione per {{elementType}}, id: {{id}}","errorCreatingEncounter":"Errore nel ricovero del paziente","errorCreatingTransferRequest":"Errore nella creazione della richiesta di trasferimento","errorDischargingPatient":"Errore nella dimissione del paziente","errorLoadingBedDetails":"Errore nel caricamento dei dettagli del letto","errorLoadingChildren":"Errore nel caricamento delle informazioni sui bambini","errorLoadingMother":"Errore nel caricamento delle informazioni sulla madre","errorLoadingPatientAdmissionRequests":"Errore nel caricamento delle richieste di ricovero del paziente","errorLoadingPatientInfo":"Errore nel caricamento delle informazioni del paziente","errorLoadingPatients":"Errore nel caricamento dei pazienti ricoverati","errorLoadingWardLocation":"Errore nel caricamento della posizione del reparto","female":"Femmina","fetchingEmrConfigurationFailed":"Errore nel recupero della configurazione EMR. Prova a ricaricare la pagina o contatta l\'amministratore di sistema.","fetchingPatientNotesFailed":"Errore nel recupero delle note del paziente. Prova a ricaricare la pagina o contatta l\'amministratore di sistema.","freeBeds":"Letti disponibili","freeBedsMetricValue":"{{ metricValue }}","hours_one":"{{count}} ora","hours_other":"{{count}} ore","inpatientNotesWorkspaceTitle":"Note paziente ricoverato","invalidLocationSpecified":"Posizione specificata non valida","invalidWardLocation":"Posizione del reparto non valida: {{location}}","labelColon":"{{label}}:","male":"Maschio","manage":"Gestisci","minutes_one":"{{count}} minuto","minutes_other":"{{count}} minuti","motherChildBedShare":"Madre / Bambino","nextPage":"Pagina successiva","noActiveVisit":"Nessuna visita attiva","noAdmission":"Nessun ricovero trovato","noBed":"Nessun letto","noBedsConfigured":"Nessun letto configurato per questa posizione","noBedsConfiguredForLocation":"Nessun letto configurato per la posizione {{location}}","noLocationsFound":"Nessuna posizione trovata","noPendingAdmissionRequests":"No pending admission requests","note":"Nota","notes":"Note","notesRequiredForCancellingRequest":"Note obbligatorie per annullare la richiesta di ricovero o trasferimento","orderBasket":"Order basket","Orders":"Ordini","other":"Altro","Patient":"patient","patientAdmittedButBedNotAssigned":"Paziente ricoverato con successo, ma assegnazione del letto non riuscita","patientAdmittedSuccessfully":"Paziente ricoverato con successo","patientAdmittedSuccessfullySubtitle":"{{patientName}} è stato ricoverato con successo e assegnato al letto {{bedNumber}}","patientAdmittedWoBed":"Paziente ricoverato con successo in {{location}}","patientAlreadyAdmittedToCurrentLocation":"Il paziente è già ricoverato nella posizione attuale","patientAssignedNewBed":"Paziente assegnato a un nuovo letto","patientAssignedNewBedDetail":"{{patientName}} assegnato al letto {{bedNumber}}","patientCurrentlyAdmittedToWardLocation":"Paziente attualmente ricoverato nel reparto {{wardLocation}}","patientCurrentlyNotAdmitted":"Il paziente non è attualmente ricoverato","patienthasNoActiveVisit":"Il paziente non ha visite attive","patientHasPendingAdmissionRequest":"Il paziente ha già una richiesta di ricovero in sospeso per la posizione {{location}}","PatientNote":"Patient Note","patientNoteNowVisible":"Ora dovrebbe essere visibile nella cronologia delle note","patientNoteSaveError":"Errore nel salvataggio della nota del paziente","patientNotesDidntLoad":"Le note del paziente non sono state caricate","patients":"Pazienti","patientsMetricValue":"{{ metricValue }}","patientTransferRequestCreated":"Richiesta di trasferimento del paziente creata","patientUnassignedFromBed":"Paziente disassegnato dal letto","patientUnassignedFromBedDetail":"{{patientName}} non è più assegnato a un letto","patientWasDischarged":"Paziente dimesso","pendingAdmissions":"Pending admissions","pendingDischarge":"Dimissione in sospeso","pendingOut":"Uscita in sospeso","pendingOutMetricValue":"{{ metricValue }}","pendingTransfer":"Trasferimento in sospeso","pleaseSelectBed":"Seleziona un letto","pleaseSelectTransferLocation":"Seleziona una posizione di trasferimento","pleaseSelectTransferType":"Seleziona un tipo di trasferimento","previousPage":"Pagina precedente","proceedWithPatientDischarge":"Procedi con la dimissione del paziente","save":"Salva","saving":"Salvataggio in corso...","searchLocations":"Cerca posizioni","seconds_one":"{{count}} secondo","seconds_other":"{{count}} secondi","selectABed":"Seleziona un letto","selectALocation":"Seleziona una posizione","showingLocations_one":"{{start}}-{{end}} di {{count}} posizione","showingLocations_other":"{{start}}-{{end}} di {{count}} posizioni","somePartsOfTheFormDidntLoad":"Alcune parti del modulo non sono state caricate","timeOnWard":"Tempo trascorso in questo reparto: {{timeOnWard}}","timeSinceAdmission":"Ricoverato: {{timeSinceAdmission}}","totalBeds":"Total beds","totalBedsMetricValue":"{{ metricValue }}","transfer":"Trasferimento","transferElsewhere":"Trasferisci altrove","transferPatient":"Trasferisci paziente","transfers":"Trasferimenti","transferToDispositionLocation":"Trasferisci a {{location}}","transferType":"Tipo di trasferimento","typeOfTransfer":"Tipo di trasferimento","unknown":"Sconosciuto","unknownError":"An unknown error occurred","visitNoteSaved":"Nota del paziente salvata","wardClinicalNotePlaceholder":"Scrivi qui eventuali note","wardPatient":"Ward patient","wards":"Reparti"}')}}]);
package/dist/9569.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[9569],{59569: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([[9569],{59569: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/9775.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[7524,9775],{19108:(n,e,a)=>{a.d(e,{A:()=>l});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 l=o},27524:(n,e,a)=>{a.r(e),a.d(e,{default:()=>m});var r=a(17801),t=a(54440),i=a(53373),o=a.n(i),l=a(1343),c=a.n(l),u=a(72339),d=a(92891),s=a(35487),p=a(90102);const m=function(){var n=(0,d.A)(),e=n.isLoadingLocation,a=n.invalidLocation,i=n.location,l=(0,u.useTranslation)().t,m=null==i?void 0:i.uuid,g=(0,s.k9)(m);if(e)return c().createElement(c().Fragment,null);if(a)return c().createElement(r.jeF,{kind:"error",title:l("invalidLocationSpecified","Invalid location specified")});var b=g.id;return c().createElement("div",{className:o()(p.A.wardView,p.A.verticalTiling)},c().createElement(t.ExtensionSlot,{name:b}))}},35487:(n,e,a)=>{a.d(e,{Jk:()=>s,U1:()=>d,UG:()=>m,eD:()=>u,j3:()=>p,k9:()=>g,yZ:()=>c});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 l(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 c(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,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,l=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-l).toString(),totalBeds:o.toString()}}function d(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 l=i.value;l&&e.set(l.patient.uuid,l)}}catch(n){r=!0,t=n}finally{try{a||null==o.return||o.return()}finally{if(r)throw t}}return e}(l(null!=n?n:[]).concat(l(null!=r?r:[]))),c=new Map,u=new Map,d=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==d||d.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;c.set(n.uuid,a);var i=null===(r=a.currentInpatientRequest)||void 0===r?void 0:r.dispositionType;"TRANSFER"!=i&&"DISCHARGE"!=i||p++}else u.set(n.uuid,n)})});var m=null!==(i=null==n?void 0:n.filter(function(n){return s.add(n.patient.uuid),!c.has(n.patient.uuid)&&!u.has(n.patient.uuid)}))&&void 0!==i?i:[],g=s.size,b=!0,f=!1,v=void 0;try{for(var A,w=(null!=a?a:[])[Symbol.iterator]();!(b=(A=w.next()).done);b=!0){var y=A.value;y&&s.add(y.patient.uuid)}}catch(n){f=!0,v=n}finally{try{b||null==w.return||w.return()}finally{if(f)throw v}}return{wardAdmittedPatientsWithBed:c,wardUnadmittedPatientsWithBed:u,wardPatientPendingCount:p,bedLayouts:d,wardUnassignedPatientsList:m,allWardPatientUuids:s,totalPatientsCount:g,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 m(n,e){var a=(0,r.useConfig)(),t=(0,i.useTranslation)().t;try{var o,l;return null==a||null===(l=a.patientCardElements)||void 0===l||null===(o=l[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 g(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:()=>v});var r=a(72591),t=a.n(r),i=a(1740),o=a.n(i),l=a(88128),c=a.n(l),u=a(30855),d=a.n(u),s=a(93051),p=a.n(s),m=a(73656),g=a.n(m),b=a(19108),f={};f.styleTagTransform=g(),f.setAttributes=d(),f.insert=c().bind(null,"head"),f.domAPI=o(),f.insertStyleElement=p(),t()(b.A,f);const v=b.A&&b.A.locals?b.A.locals:void 0},92891:(n,e,a)=>{a.d(e,{A:()=>l});var r=a(54440),t=a(8877),i=a(88010),o=a.n(i);function l(){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,l=a.isLoading,c=a.error,u=n&&c;return{location:n?null==i?void 0:i.data:e,isLoadingLocation:l,errorFetchingLocation:c,invalidLocation:u}}},99775:(n,e,a)=>{a.r(e),a.d(e,{default:()=>l});var r=a(1343),t=a.n(r),i=a(8877),o=a(27524);const l=function(){var n=window.getOpenmrsSpaBase()+"home/ward";return t().createElement("main",null,t().createElement(i.BrowserRouter,{basename:n},t().createElement(i.Routes,null,t().createElement(i.Route,{path:"/",element:t().createElement(o.default,null)}),t().createElement(i.Route,{path:"/:locationUuid",element:t().createElement(o.default,null)}))))}}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[7524,9775],{19108:(n,e,a)=>{a.d(e,{A:()=>d});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 d=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),d=a(1343),l=a.n(d),u=a(72339),c=a(92891),s=a(79830),p=a(90102);const g=function(){var n=(0,c.A)(),e=n.isLoadingLocation,a=n.invalidLocation,i=n.location,d=(0,u.useTranslation)().t,g=null==i?void 0:i.uuid,m=(0,s.k9)(g);if(e)return l().createElement(l().Fragment,null);if(a)return l().createElement(r.jeF,{kind:"error",title:d("invalidLocationSpecified","Invalid location specified")});var b=m.id;return l().createElement("div",{className:o()(p.A.wardView,p.A.verticalTiling)},l().createElement(t.ExtensionSlot,{name:b}))}},79830:(n,e,a)=>{a.d(e,{yZ:()=>l,U1:()=>c,Jk:()=>s,eD:()=>u,UG:()=>p,k9:()=>g});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 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 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 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,a,r,t,i,o,l,u,c,s,p,g,m=d(null===(e=n.wardUnadmittedPatientsWithBed)||void 0===e?void 0:e.values()).concat(d(d(null===(a=n.wardAdmittedPatientsWithBed)||void 0===a?void 0:a.values()).map(function(n){return n.patient})),d(null===(r=n.wardUnassignedPatientsList)||void 0===r?void 0:r.map(function(n){return n.patient}))),b=null!==(u=null==m?void 0:m.length)&&void 0!==u?u:0,f=null!==(c=null===(t=m.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})}(m.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:b.toString(),freeBeds:(A-w).toString(),totalBeds:A.toString(),newborns:f.toString(),femalesOfReproductiveAge:v.toString()}}function c(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 d=i.value;d&&e.set(d.patient.uuid,d)}}catch(n){r=!0,t=n}finally{try{a||null==o.return||o.return()}finally{if(r)throw t}}return e}(d(null!=n?n:[]).concat(d(null!=r?r:[]))),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,a){return e.compare(n.bedNumber,a.bedNumber)})}(e),s=new Set,p=0;null==c||c.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;l.set(n.uuid,a);var i=null===(r=a.currentInpatientRequest)||void 0===r?void 0:r.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:[],m=!0,b=!1,f=void 0;try{for(var v,A=(null!=a?a:[])[Symbol.iterator]();!(m=(v=A.next()).done);m=!0){var w=v.value;w&&s.add(w.patient.uuid)}}catch(n){b=!0,f=n}finally{try{m||null==A.return||A.return()}finally{if(b)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 a=(0,r.useConfig)(),t=(0,i.useTranslation)().t;try{var o,d;return null==a||null===(d=a.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(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 g(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:()=>v});var r=a(72591),t=a.n(r),i=a(1740),o=a.n(i),d=a(88128),l=a.n(d),u=a(30855),c=a.n(u),s=a(93051),p=a.n(s),g=a(73656),m=a.n(g),b=a(19108),f={};f.styleTagTransform=m(),f.setAttributes=c(),f.insert=l().bind(null,"head"),f.domAPI=o(),f.insertStyleElement=p(),t()(b.A,f);const v=b.A&&b.A.locals?b.A.locals:void 0},92891:(n,e,a)=>{a.d(e,{A:()=>d});var r=a(54440),t=a(8877),i=a(88010),o=a.n(i);function d(){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,d=a.isLoading,l=a.error,u=n&&l;return{location:n?null==i?void 0:i.data:e,isLoadingLocation:d,errorFetchingLocation:l,invalidLocation:u}}},99775:(n,e,a)=>{a.r(e),a.d(e,{default:()=>d});var r=a(1343),t=a.n(r),i=a(8877),o=a(27524);const d=function(){var n=window.getOpenmrsSpaBase()+"home/ward";return t().createElement("main",null,t().createElement(i.BrowserRouter,{basename:n},t().createElement(i.Routes,null,t().createElement(i.Route,{path:"/",element:t().createElement(o.default,null)}),t().createElement(i.Route,{path:"/:locationUuid",element:t().createElement(o.default,null)}))))}}}]);
package/dist/9775.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"9775.js","mappings":"oMAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,ogCAAqgC,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,2CAA2C,8EAA8E,MAAQ,GAAG,SAAW,mRAAmR,eAAiB,CAAC,g/DAAg/D,gpBAAgpB,25DAA25D,WAAa,MAE7mMH,EAAwBI,OAAS,CAChC,SAAY,yCACZ,eAAkB,+CAClB,aAAgB,8CAEjB,S,6JCsBA,QAzB+B,WAC7B,IAAMC,GAAWC,EAAAA,EAAAA,KACTC,EAAiDF,EAAjDE,kBAAmBC,EAA8BH,EAA9BG,gBAAiBC,EAAaJ,EAAbI,SACtC,GAAQC,EAAAA,EAAAA,kBAANC,EAEFC,EAAeH,aAAAA,EAAAA,EAAUI,KACzBC,GAAaC,EAAAA,EAAAA,IAAcH,GAEjC,GAAIL,EACF,OAAO,qCAGT,GAAIC,EACF,OAAO,kBAACQ,EAAAA,IAAkBA,CAACC,KAAK,QAAQC,MAAOP,EAAE,2BAA4B,gCAG/E,IAAMQ,EAASL,EAAWX,GAE1B,OACE,kBAACiB,MAAAA,CAAIC,UAAWC,IAAWC,EAAAA,EAAOC,SAAUD,EAAAA,EAAOE,iBACjD,kBAACC,EAAAA,cAAaA,CAACC,KAAMR,IAG3B,C,+2BCPO,SAASS,EAAeC,GAC7B,MAAO,CACL1B,GAAI0B,EAAUC,MACdjB,KAAMgB,EAAUE,QAChBC,UAAWH,EAAUG,UACrBC,QAASJ,EAAUI,QACnBC,IAAKL,EAAUM,UACfC,OAAQP,EAAUQ,aAClBC,OAAQT,EAAUS,OAEtB,CAaO,SAASC,EAAeC,EAAyBC,G,IACrCA,EACCD,E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EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,IAAQ7G,OAAS,IAAQA,YAASmH,C,gFCtBpD,SAASjH,IAMtB,IAAQM,GAAsC4G,EAAAA,EAAAA,aAAtC5G,aACF,GAAsB6G,EAAAA,EAAAA,cAApBC,gBAKJC,ECbS,SAAqB/G,G,IAAsBgH,EAAAA,UAAAA,OAAAA,QAAAA,IAAAA,UAAAA,GAAAA,UAAAA,GAAc,wBACtE,OAAOC,IACLjH,EAAe,GAA2BA,OAAxBkH,EAAAA,YAAY,cAA8BF,OAAlBhH,EAAa,OAAS,OAAJgH,GAAQ,KACpEG,EAAAA,aAEJ,CDQMJ,CAAYK,GAA4C,MAH1DC,EAGEN,EAHFM,KACAC,EAEEP,EAFFO,UACAC,EACER,EADFQ,MAEI3H,EAAkBwH,GAAuBI,EAE/C,MAAO,CACL3H,SAAUuH,EAAsBK,aAAAA,EAAAA,EAAkBJ,KAAOP,EACzDnH,kBAAAA,EACA6H,sBAAAA,EACA5H,gBAAAA,EAEJ,C,4FELA,QAhBuB,WAErB,IAAM8H,EAAmBC,OAAOC,oBAAsB,YAEtD,OACE,kBAACC,OAAAA,KACC,kBAACC,EAAAA,cAAaA,CAACC,SAAUL,GACvB,kBAACM,EAAAA,OAAMA,KACL,kBAACC,EAAAA,MAAKA,CAACC,KAAK,IAAIC,QAAS,kBAACC,EAAAA,QAAQA,QAClC,kBAACH,EAAAA,MAAKA,CAACC,KAAK,iBAAiBC,QAAS,kBAACC,EAAAA,QAAQA,UAKzD,C","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","webpack://@openmrs/esm-ward-app/./src/root.component.tsx"],"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","wardViewBasename","window","getOpenmrsSpaBase","main","BrowserRouter","basename","Routes","Route","path","element","WardView"],"sourceRoot":""}
1
+ {"version":3,"file":"9775.js","mappings":"oMAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAA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QAhBuB,WAErB,IAAMmI,EAAmBC,OAAOC,oBAAsB,YAEtD,OACE,kBAACC,OAAAA,KACC,kBAACC,EAAAA,cAAaA,CAACC,SAAUL,GACvB,kBAACM,EAAAA,OAAMA,KACL,kBAACC,EAAAA,MAAKA,CAACC,KAAK,IAAIC,QAAS,kBAACC,EAAAA,QAAQA,QAClC,kBAACH,EAAAA,MAAKA,CAACC,KAAK,iBAAiBC,QAAS,kBAACC,EAAAA,QAAQA,UAKzD,C","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","webpack://@openmrs/esm-ward-app/./src/root.component.tsx"],"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","wardViewBasename","window","getOpenmrsSpaBase","main","BrowserRouter","basename","Routes","Route","path","element","WardView"],"sourceRoot":""}
package/dist/986.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[986],{60986: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([[986],{60986: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/9879.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[9879],{99879: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":"取消入院申请发生错误","errorChangingPatientBedAssignment":"调整床位时出错","errorConfiguringPatientCard":"配置患者卡片时出错","errorConfiguringPatientCardMessage":"无法找到 {{elementType}}(ID:{{id}})的配置 ","errorCreatingEncounter":"患者入院失败","errorCreatingTransferRequest":"创建转科/转床申请时出错","errorDischargingPatient":"患者出院时出错","errorLoadingBedDetails":"加载床位详细信息时发生错误","errorLoadingChildren":"加载子女信息时出错","errorLoadingMother":"加载母亲信息时出错","errorLoadingPatientAdmissionRequests":"加载患者入院申请时出错","errorLoadingPatientInfo":"加载患者信息时出错","errorLoadingPatients":"加载已入院患者时出错","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([[9879],{99879: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":"取消入院申请发生错误","errorChangingPatientBedAssignment":"调整床位时出错","errorConfiguringPatientCard":"配置患者卡片时出错","errorConfiguringPatientCardMessage":"无法找到 {{elementType}}(ID:{{id}})的配置 ","errorCreatingEncounter":"患者入院失败","errorCreatingTransferRequest":"创建转科/转床申请时出错","errorDischargingPatient":"患者出院时出错","errorLoadingBedDetails":"加载床位详细信息时发生错误","errorLoadingChildren":"加载子女信息时出错","errorLoadingMother":"加载母亲信息时出错","errorLoadingPatientAdmissionRequests":"加载患者入院申请时出错","errorLoadingPatientInfo":"加载患者信息时出错","errorLoadingPatients":"加载已入院患者时出错","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/9895.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[9895],{9895: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([[9895],{9895: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/9900.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[9900],{99900: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([[9900],{99900: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/9913.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_ward_app=globalThis.webpackChunk_openmrs_esm_ward_app||[]).push([[9913],{89913: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([[9913],{89913: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"}')}}]);