@openmrs/esm-dispensing-app 1.9.2-pre.997 → 1.10.0

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 (204) hide show
  1. package/.eslintrc +6 -5
  2. package/.husky/pre-commit +1 -1
  3. package/README.md +45 -4
  4. package/dist/1043.js +1 -0
  5. package/dist/1043.js.map +1 -0
  6. package/dist/1119.js +1 -1
  7. package/dist/1197.js +1 -1
  8. package/dist/2146.js +1 -1
  9. package/dist/2177.js +1 -1
  10. package/dist/2177.js.map +1 -1
  11. package/dist/2690.js +1 -1
  12. package/dist/2890.js +2 -0
  13. package/dist/2890.js.map +1 -0
  14. package/dist/2898.js +1 -1
  15. package/dist/2898.js.map +1 -1
  16. package/dist/3099.js +1 -1
  17. package/dist/3568.js +1 -0
  18. package/dist/3568.js.map +1 -0
  19. package/dist/3584.js +1 -1
  20. package/dist/4055.js +1 -1
  21. package/dist/4099.js +1 -1
  22. package/dist/4099.js.map +1 -1
  23. package/dist/4132.js +1 -1
  24. package/dist/4300.js +1 -1
  25. package/dist/4335.js +1 -1
  26. package/dist/439.js +1 -0
  27. package/dist/4618.js +1 -1
  28. package/dist/4652.js +1 -1
  29. package/dist/4944.js +1 -1
  30. package/dist/5173.js +1 -1
  31. package/dist/5241.js +1 -1
  32. package/dist/5442.js +1 -1
  33. package/dist/5661.js +1 -1
  34. package/dist/5897.js +1 -1
  35. package/dist/6022.js +1 -1
  36. package/dist/609.js +1 -1
  37. package/dist/609.js.map +1 -1
  38. package/dist/6468.js +1 -1
  39. package/dist/6589.js +1 -0
  40. package/dist/6679.js +1 -1
  41. package/dist/6825.js +1 -0
  42. package/dist/6825.js.map +1 -0
  43. package/dist/6840.js +1 -1
  44. package/dist/6841.js +1 -1
  45. package/dist/6841.js.map +1 -1
  46. package/dist/6859.js +1 -1
  47. package/dist/7097.js +1 -1
  48. package/dist/7159.js +1 -1
  49. package/dist/723.js +1 -1
  50. package/dist/7240.js +1 -0
  51. package/dist/7240.js.map +1 -0
  52. package/dist/7617.js +1 -1
  53. package/dist/795.js +1 -1
  54. package/dist/8163.js +1 -1
  55. package/dist/8349.js +1 -1
  56. package/dist/8371.js +1 -0
  57. package/dist/8569.js +2 -0
  58. package/dist/8569.js.map +1 -0
  59. package/dist/8600.js +1 -1
  60. package/dist/8600.js.map +1 -1
  61. package/dist/8618.js +1 -1
  62. package/dist/8885.js +1 -0
  63. package/dist/8885.js.map +1 -0
  64. package/dist/890.js +1 -1
  65. package/dist/9214.js +1 -1
  66. package/dist/9538.js +1 -1
  67. package/dist/9569.js +1 -1
  68. package/dist/963.js +1 -1
  69. package/dist/963.js.map +1 -1
  70. package/dist/986.js +1 -1
  71. package/dist/9879.js +1 -1
  72. package/dist/9895.js +1 -1
  73. package/dist/9900.js +1 -1
  74. package/dist/9913.js +1 -1
  75. package/dist/main.js +1 -1
  76. package/dist/main.js.map +1 -1
  77. package/dist/openmrs-esm-dispensing-app.js +1 -1
  78. package/dist/openmrs-esm-dispensing-app.js.buildmanifest.json +372 -330
  79. package/dist/openmrs-esm-dispensing-app.js.map +1 -1
  80. package/dist/routes.json +1 -1
  81. package/e2e/commands/drug-order-operations.ts +1 -1
  82. package/e2e/commands/visit-operations.ts +3 -3
  83. package/e2e/specs/active-prescriptions.spec.ts +62 -5
  84. package/e2e/specs/close-prescription.spec.ts +8 -4
  85. package/e2e/specs/dispense-medication.spec.ts +5 -3
  86. package/e2e/specs/pause-prescription.spec.ts +8 -4
  87. package/jest.config.js +5 -7
  88. package/package.json +6 -9
  89. package/src/components/action-buttons.component.tsx +1 -1
  90. package/src/components/action-buttons.scss +4 -3
  91. package/src/components/medication-card.component.tsx +19 -4
  92. package/src/components/medication-dispense-review.scss +7 -0
  93. package/src/components/medication-event.component.tsx +72 -52
  94. package/src/components/medication-event.scss +21 -0
  95. package/src/components/medication-event.test.tsx +212 -0
  96. package/src/components/prescription-actions/close-action-button.component.tsx +2 -2
  97. package/src/components/prescription-actions/dispense-action-button.component.tsx +2 -2
  98. package/src/components/prescription-actions/pause-action-button.component.tsx +2 -2
  99. package/src/conditions/conditions.component.tsx +49 -24
  100. package/src/conditions/conditions.resource.ts +3 -3
  101. package/src/conditions/conditions.scss +18 -1
  102. package/src/conditions/conditions.test.tsx +200 -0
  103. package/src/config-schema.ts +14 -1
  104. package/src/dashboard/dispensing-dashboard.component.tsx +3 -0
  105. package/src/declarations.d.ts +0 -1
  106. package/src/diagnoses/diagnoses.component.tsx +36 -17
  107. package/src/diagnoses/diagnoses.scss +23 -1
  108. package/src/dispensing.component.tsx +1 -1
  109. package/src/fill-prescription/fill-prescription-button.component.tsx +103 -0
  110. package/src/fill-prescription/fill-prescription-button.scss +8 -0
  111. package/src/fill-prescription/on-prescription-filled.modal.tsx +140 -0
  112. package/src/fill-prescription/on-prescription-filled.scss +7 -0
  113. package/src/forms/close-dispense-form.workspace.tsx +59 -56
  114. package/src/forms/dispense-form.workspace.test.tsx +334 -0
  115. package/src/forms/dispense-form.workspace.tsx +119 -74
  116. package/src/forms/forms.scss +15 -17
  117. package/src/forms/medication-dispense-review.component.tsx +276 -169
  118. package/src/forms/medication-dispense-review.test.tsx +18 -1
  119. package/src/forms/pause-dispense-form.workspace.tsx +61 -58
  120. package/src/history/history-and-comments.component.tsx +177 -161
  121. package/src/history/history-and-comments.scss +16 -22
  122. package/src/index.ts +9 -2
  123. package/src/location/location.resource.test.tsx +44 -109
  124. package/src/location/location.resource.tsx +20 -13
  125. package/src/medication-dispense/medication-dispense.resource.tsx +3 -8
  126. package/src/medication-request/medication-request.resource.test.tsx +40 -5
  127. package/src/medication-request/medication-request.resource.tsx +72 -56
  128. package/src/prescriptions/patient-search-tab-panel.component.tsx +1 -1
  129. package/src/prescriptions/prescription-details.component.tsx +73 -40
  130. package/src/prescriptions/prescription-details.scss +24 -10
  131. package/src/prescriptions/prescription-details.test.tsx +267 -0
  132. package/src/prescriptions/prescription-expanded.component.tsx +4 -7
  133. package/src/prescriptions/prescription-expanded.scss +29 -27
  134. package/src/prescriptions/prescription-tab-lists.component.tsx +27 -2
  135. package/src/prescriptions/prescription-tab-panel.component.tsx +42 -23
  136. package/src/prescriptions/prescriptions-table.component.tsx +45 -20
  137. package/src/prescriptions/prescriptions.scss +6 -1
  138. package/src/routes.json +44 -8
  139. package/src/types.ts +7 -11
  140. package/src/utils.test.ts +132 -31
  141. package/src/utils.ts +51 -33
  142. package/translations/am.json +22 -7
  143. package/translations/ar.json +22 -7
  144. package/translations/ar_SY.json +22 -7
  145. package/translations/bn.json +22 -7
  146. package/translations/cs.json +133 -0
  147. package/translations/de.json +22 -7
  148. package/translations/en.json +22 -7
  149. package/translations/en_US.json +22 -7
  150. package/translations/es.json +42 -27
  151. package/translations/es_MX.json +22 -7
  152. package/translations/fr.json +42 -27
  153. package/translations/he.json +22 -7
  154. package/translations/hi.json +22 -7
  155. package/translations/hi_IN.json +22 -7
  156. package/translations/id.json +22 -7
  157. package/translations/it.json +22 -7
  158. package/translations/ka.json +22 -7
  159. package/translations/km.json +22 -7
  160. package/translations/ku.json +22 -7
  161. package/translations/ky.json +22 -7
  162. package/translations/lg.json +22 -7
  163. package/translations/ne.json +22 -7
  164. package/translations/pl.json +22 -7
  165. package/translations/pt.json +22 -7
  166. package/translations/pt_BR.json +22 -7
  167. package/translations/qu.json +22 -7
  168. package/translations/ro_RO.json +22 -7
  169. package/translations/ru_RU.json +22 -7
  170. package/translations/si.json +22 -7
  171. package/translations/sq.json +133 -0
  172. package/translations/sw.json +22 -7
  173. package/translations/sw_KE.json +22 -7
  174. package/translations/tr.json +22 -7
  175. package/translations/tr_TR.json +22 -7
  176. package/translations/uk.json +22 -7
  177. package/translations/uz.json +22 -7
  178. package/translations/uz@Latn.json +22 -7
  179. package/translations/uz_UZ.json +22 -7
  180. package/translations/vi.json +22 -7
  181. package/translations/zh.json +28 -13
  182. package/translations/zh_CN.json +22 -7
  183. package/translations/zh_TW.json +133 -0
  184. package/.turbo/cache/b56e49540625ee4e-meta.json +0 -1
  185. package/.turbo/cache/b56e49540625ee4e.tar.zst +0 -0
  186. package/.turbo/turbo-build.log +0 -38
  187. package/dist/1282.js +0 -1
  188. package/dist/1282.js.map +0 -1
  189. package/dist/1856.js +0 -1
  190. package/dist/1856.js.map +0 -1
  191. package/dist/445.js +0 -2
  192. package/dist/445.js.map +0 -1
  193. package/dist/4999.js +0 -2
  194. package/dist/4999.js.map +0 -1
  195. package/dist/561.js +0 -1
  196. package/dist/561.js.map +0 -1
  197. package/dist/67.js +0 -1
  198. package/dist/67.js.map +0 -1
  199. package/dist/8651.js +0 -1
  200. package/dist/8651.js.map +0 -1
  201. package/src/components/patient-details.component.tsx +0 -72
  202. package/src/components/patient-details.scss +0 -93
  203. /package/dist/{445.js.LICENSE.txt → 2890.js.LICENSE.txt} +0 -0
  204. /package/dist/{4999.js.LICENSE.txt → 8569.js.LICENSE.txt} +0 -0
package/.eslintrc CHANGED
@@ -5,7 +5,7 @@
5
5
  "extends": [
6
6
  "eslint:recommended",
7
7
  "plugin:@typescript-eslint/recommended",
8
- "plugin:@typescript-eslint/recommended-requiring-type-checking"
8
+ "plugin:@typescript-eslint/recommended-type-checked"
9
9
  ],
10
10
  "overrides": [
11
11
  {
@@ -17,8 +17,7 @@
17
17
  ],
18
18
  "parser": "@typescript-eslint/parser",
19
19
  "parserOptions": {
20
- "project": true,
21
- "tsconfigRootDir": "__dirname"
20
+ "project": true
22
21
  },
23
22
  "plugins": ["@typescript-eslint", "import", "react-hooks", "unused-imports"],
24
23
  "root": true,
@@ -26,8 +25,10 @@
26
25
  "react-hooks/exhaustive-deps": "warn",
27
26
  "react-hooks/rules-of-hooks": "error",
28
27
  // The following rules need `noImplicitAny` to be set to `true` in our tsconfig. They are too restrictive for now, but should be reconsidered in future
29
- "@typescript-eslint/ban-types": "off",
30
28
  "@typescript-eslint/ban-ts-comment": "off",
29
+ "@typescript-eslint/no-empty-object-type": "off",
30
+ "@typescript-eslint/no-unsafe-function-type": "off",
31
+ "@typescript-eslint/no-unused-expressions": "off",
31
32
  "@typescript-eslint/no-explicit-any": "off",
32
33
  "@typescript-eslint/no-floating-promises": "off",
33
34
  "@typescript-eslint/no-unsafe-argument": "off",
@@ -74,6 +75,6 @@
74
75
  ]
75
76
  }
76
77
  ],
77
- "unused-imports/no-unused-imports-ts": "error"
78
+ "unused-imports/no-unused-imports": "error"
78
79
  }
79
80
  }
package/.husky/pre-commit CHANGED
@@ -3,5 +3,5 @@
3
3
 
4
4
  set -e # die on error
5
5
 
6
- yarn lint-staged
6
+ yarn lint-staged --no-stash
7
7
  yarn turbo run extract-translations
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
- ![Node.js CI](https://github.com/openmrs/openmrs-esm-dispensing-app/workflows/Node.js%20CI/badge.svg)
2
-
3
1
  # OpenMRS ESM Dispensing App
4
2
 
3
+ ![Node.js CI](https://github.com/openmrs/openmrs-esm-dispensing-app/workflows/Node.js%20CI/badge.svg)
4
+
5
5
  This repository is for the OpenMRS Dispensing App. For more information, please see the
6
6
  [OpenMRS Frontend Developer Documentation](https://openmrs.atlassian.net/wiki/x/sQubAQ).
7
7
 
@@ -50,6 +50,49 @@ Note that following privileges need to be installed and assigned to roles:
50
50
  - `Task: dispensing.delete.dispense` - Allows user to delete an existing Medication Dispense
51
51
  - `Task: dispensing.delete.dispense.ifCreator` - Allows user to delete an existing Medication Dispense, *but only* if they created it originally
52
52
 
53
+ ## Optional Configuration
54
+
55
+ ### Default filter locations
56
+
57
+ The Dispensing app allows users to filter orders in the order list by location. By default, when you open the dispensing app, no locations are selected.
58
+
59
+ You can set certain locations as default filter locations for specific locations by setting the "Associated Pharmacy Location" attribute on a location.
60
+ (You can also configure the attribute name in the config-schema)
61
+
62
+ For example, if you have an "Inpatient Pharmacy" location, and want only orders from inpatient locations to show by default, you can set the "Associated Pharmacy Location" attribute on all inpatients to (the uuid for) the Inpatient Pharmacy location.
63
+
64
+ ### Custom tabs in the prescriptions view
65
+
66
+ The Dispensing app, by default displays two views of prescriptions: "Active" and "All"
67
+
68
+ You can customize by adding custom tabs to the `customTabs` array in the config-schema.
69
+
70
+ Custom tabs have the following properties:
71
+
72
+ ```ts
73
+ export interface CustomTab {
74
+ title: string;
75
+ customPrescriptionsTableEndpoint: string;
76
+ associatedLocations: string[];
77
+ }
78
+ ```
79
+
80
+ Where "title" is the string (or message code) to display as the title of the tab, "customPrescriptionsTableEndpoint" is the endpoint to fetch the prescriptions from, and "associatedLocations" is an array of location uuids that the tab should be displayed for.
81
+
82
+ If "associatedLocations" is empty, the tab will be displayed for all locations.
83
+
84
+ The "customPrescriptionsTableEndpoint" should be an endpoint that returns a FHIR "Bundle" of encounters and medications requests that matches the format provided by the "encountersWithMedicationRequests" query in the FHIR2 module.
85
+
86
+ The following variable interpolations will be substituted if present in the endpoint:
87
+
88
+ - fhirBaseUrl
89
+ - status
90
+ - pageOffset
91
+ - pageSize
92
+ - date
93
+ - patientSearchTerm
94
+ - location
95
+
53
96
  ## Running this code
54
97
 
55
98
  First, install dependencies:
@@ -79,5 +122,3 @@ If you are unable to commit and push using Intellij, you may need to update the
79
122
  ## Contributing
80
123
 
81
124
  For more information, please see the [OpenMRS Frontend Developer Documentation](https://openmrs.atlassian.net/wiki/x/sQubAQ).
82
-
83
- In particular, the [Setup](https://openmrs.atlassian.net/wiki/x/sQubAQ) section can help you get started developing microfrontends in general.
package/dist/1043.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_dispensing_app=globalThis.webpackChunk_openmrs_esm_dispensing_app||[]).push([[1043],{41043:(n,e,r)=>{r.r(e),r.d(e,{default:()=>O});var t=r(16072),a=r.n(t),o=r(69689),i=r(2076),s=r(36920),c=r(85316),l=r(9806),p=r(24756),u=r(14290),d=r(27042),b=r(85072),f=r.n(b),m=r(97825),g=r.n(m),y=r(77659),h=r.n(y),$=r(55056),v=r.n($),A=r(10540),k=r.n(A),w=r(41113),C=r.n(w),_=r(61273),x={};x.styleTagTransform=C(),x.setAttributes=v(),x.insert=h().bind(null,"head"),x.domAPI=g(),x.insertStyleElement=k(),f()(_.A,x);const E=_.A&&_.A.locals?_.A.locals:void 0;function N(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function S(n,e,r,t,a,o,i){try{var s=n[o](i),c=s.value}catch(n){return void r(n)}s.done?e(c):Promise.resolve(c).then(t,a)}function T(n,e){var r,t,a,o={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},i=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return i.next=s(0),i.throw=s(1),i.return=s(2),"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(o=0)),o;)try{if(r=1,t&&(a=2&s[0]?t.return:s[0]?t.throw||((a=t.return)&&a.call(t),0):t.next)&&!(a=a.call(t,s[1])).done)return a;switch(t=0,a&&(s=[2&s[0],a.value]),s[0]){case 0:case 1:a=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,t=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((a=(a=o.trys).length>0&&a[a.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!a||s[1]>a[0]&&s[1]<a[3])){o.label=s[1];break}if(6===s[0]&&o.label<a[1]){o.label=a[1],a=s;break}if(a&&o.label<a[2]){o.label=a[2],o.ops.push(s);break}a[2]&&o.ops.pop(),o.trys.pop();continue}s=e.call(n,o)}catch(n){s=[6,n],t=0}finally{r=a=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}function D(n){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&n[e],t=0;if(r)return r.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&t>=n.length&&(n=void 0),{value:n&&n[t++],done:!n}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}const O=function(n){var e,r,t=n.patient,b=n.encounterUuid,f=n.close,m=(0,s.useConfig)().dispenserProviderRoles,g=(0,s.useSession)(),y=(0,p.u9)(m),h=(0,c.IQ)(b).medicationRequestBundles,$=(0,i.useTranslation)().t,v=(e=a().useState(!1),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,a,o=[],i=!0,s=!1;try{for(r=r.call(n);!(i=(t=r.next()).done)&&(o.push(t.value),!e||o.length!==e);i=!0);}catch(n){s=!0,a=n}finally{try{i||null==r.return||r.return()}finally{if(s)throw a}}return o}}(e,r)||function(n,e){if(n){if("string"==typeof n)return N(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),A=v[0],k=v[1],w=(0,s.getPatientName)(t);return a().createElement(a().Fragment,null,a().createElement(o.rQ0,null,$("dispenseAllPrescriptions","Dispense prescriptions")),a().createElement(o.cwr,null,a().createElement("p",{className:E.modalDescription},a().createElement(i.Trans,{i18nKey:"dispenseAllPrescriptionsConfirmation"},"Would you like to mark prescriptions ordered for ",a().createElement("strong",null,{patientName:w})," as dispensed? Orders with no refills will be marked as completed.")),h.map((function(n){return a().createElement(u.A,{key:n.request.id,medicationEvent:n.request})}))),a().createElement(o.jlY,null,a().createElement(o.$nd,{kind:"secondary",onClick:f},$("createOrderWithoutDispensing","Create order without dispensing")),a().createElement(o.$nd,{disabled:A,onClick:function(){var n;(n=function(){var n,e,r,t,a,o,i;return T(this,(function(u){switch(u.label){case 0:k(!0),(0,l.gY)(b),u.label=1;case 1:u.trys.push([1,,10,11]),n=!0,e=!1,r=void 0,u.label=2;case 2:u.trys.push([2,7,8,9]),t=function(){var n,e,r;return T(this,(function(t){switch(t.label){case 0:return n=o.value,e=(0,p.ux)(n.request,g,y,!0),r=(0,l.Q0)((0,l.H_)(n.request)),[4,(0,p.A7)(e,d.NV.completed).then((function(r){var t=0==n.request.dispenseRequest.numberOfRepeatsAllowed;return r.ok&&t?(0,c.NT)((0,l.vj)(e.authorizingPrescription[0].reference),d.O7.completed).then((function(){return r})):r})).then((function(){(0,s.showSnackbar)({title:$("stockDispensed","Stock dispensed"),subtitle:r,isLowContrast:!1})})).catch((function(n){(0,s.showSnackbar)({title:$("errorDispensingMedication","Error dispensing medication"),kind:"error",subtitle:$("errorDispensingMedicationMessage","{{medication}}: {{error}}",{medication:r,error:null==n?void 0:n.message})})}))];case 1:return t.sent(),[2]}}))},a=h[Symbol.iterator](),u.label=3;case 3:return(n=(o=a.next()).done)?[3,6]:[5,D(t())];case 4:u.sent(),u.label=5;case 5:return n=!0,[3,3];case 6:return[3,9];case 7:return i=u.sent(),e=!0,r=i,[3,9];case 8:try{n||null==a.return||a.return()}finally{if(e)throw r}return[7];case 9:return f(),[3,11];case 10:return(0,l.Yi)(b),k(!1),[7];case 11:return[2]}}))},function(){var e=this,r=arguments;return new Promise((function(t,a){var o=n.apply(e,r);function i(n){S(o,t,a,i,s,"next",n)}function s(n){S(o,t,a,i,s,"throw",n)}i(void 0)}))})()}},$("dispenseAllPrescriptions","Dispense all prescriptions"))))}},61273:(n,e,r)=>{r.d(e,{A:()=>s});var t=r(54991),a=r.n(t),o=r(76314),i=r.n(o)()(a());i.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-dispensing__on-prescription-filled__modalDescription___2TH\\+y{margin-bottom:1rem}","",{version:3,sources:["webpack://./node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/fill-prescription/on-prescription-filled.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,CCzDF,oEACE,kBC0BW",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 '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.modalDescription {\n margin-bottom: layout.$spacing-05;\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:""}]),i.locals={modalDescription:"-esm-dispensing__on-prescription-filled__modalDescription___2TH+y"};const s=i}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1043.js","mappings":"saAWIA,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,QAAe,KAAW,IAAQM,OAAS,IAAQA,YAASC,E,kpDCiHnE,QA/F4E,Y,QAAGC,EAAAA,EAAAA,QAASC,EAAAA,EAAAA,cAAeC,EAAAA,EAAAA,MAC/F,GAA6BC,EAAAA,EAAAA,aAA3BC,uBACFC,GAAUC,EAAAA,EAAAA,cACVC,GAAYC,EAAAA,EAAAA,IAAaJ,GACzB,GAA+BK,EAAAA,EAAAA,IAAuBR,GAApDS,yBACF,GAAQC,EAAAA,EAAAA,kBAANC,EACgCC,G,EAAAA,IAAAA,UAAe,G,EAAA,E,+zBAAhDC,EAAiCD,EAAAA,GAAnBE,EAAmBF,EAAAA,GAyDlCG,GAAcC,EAAAA,EAAAA,gBAAejB,GAEnC,OACE,oCACE,kBAACkB,EAAAA,IAAWA,KAAEN,EAAE,2BAA4B,2BAC5C,kBAACO,EAAAA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AAYxB,EACZuB,MAAOA,aAAAA,EAAAA,EAAOE,WAGpB,K,cA9BF,S,OA+BF,EA1CK,EAAiCzD,EAAAA,OAAAA,Y,wBAAjC,sB,wDAAA,K,kDAAA,S,iBAAA,6B,YAAA,E,MAAA,C,yBA4CLR,I,sBAEAkE,EAAAA,EAAAA,IAAWnE,GACXc,GAAgB,G,yBAEpB,E,gLA0BQ,GACCH,EAAE,2BAA4B,gCAKzC,C,sECtIIyD,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOvC,GAAI,waAAya,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,kEAAkE,gEAAgE,wEAAwE,MAAQ,GAAG,SAAW,wGAAwG,eAAiB,CAAC,g/DAAg/D,gKAAgK,25DAA25D,WAAa,MAE/3JqC,EAAwBvE,OAAS,CAChC,iBAAoB,qEAErB,S","sources":["webpack://@openmrs/esm-dispensing-app/./src/fill-prescription/on-prescription-filled.scss?382c","webpack://@openmrs/esm-dispensing-app/./src/fill-prescription/on-prescription-filled.modal.tsx","webpack://@openmrs/esm-dispensing-app/./src/fill-prescription/on-prescription-filled.scss"],"names":["options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","locals","undefined","patient","encounterUuid","close","useConfig","dispenserProviderRoles","session","useSession","providers","useProviders","usePrescriptionDetails","medicationRequestBundles","useTranslation","t","React","isSubmitting","setIsSubmitting","patientName","getPatientName","ModalHeader","ModalBody","p","className","styles","modalDescription","Trans","i18nKey","strong","map","bundle","MedicationEvent","key","request","id","medicationEvent","ModalFooter","Button","kind","onClick","disabled","markEncounterAsStale","medicationRequestBundle","medicationDispensePayload","medicationDisplay","initiateMedicationDispenseBody","getMedicationDisplay","getMedicationReferenceOrCodeableConcept","saveMedicationDispense","MedicationDispenseStatus","completed","then","response","hasNoRefills","dispenseRequest","numberOfRepeatsAllowed","ok","updateMedicationRequestFulfillerStatus","getUuidFromReference","authorizingPrescription","reference","MedicationRequestFulfillerStatus","showSnackbar","title","subtitle","isLowContrast","catch","error","medication","message","revalidate","___CSS_LOADER_EXPORT___","push","module"],"sourceRoot":""}
package/dist/1119.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_dispensing_app=globalThis.webpackChunk_openmrs_esm_dispensing_app||[]).push([[1119],{41119:e=>{e.exports=JSON.parse('{"active":"Active","activecondition":"Active Condition","activeConditions":"Active Condition","activePrescriptions":"Active prescriptions","age":"Age","allergiesCount_one":"{{count}} allergy","allergiesCount_other":"{{count}} allergies","allPrescriptions":"All prescriptions","appName":"Pharmacy","cancelled":"Cancelled","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","close":"Close","closed":"Closed","closedDispense":"closed dispense","closePrescription":"Close prescription","completed":"Completed","completeOrderWithThisDispense":"Complete order with this dispense","conditions":"Condition","conditionsAndDiagnoses":"Conditions and diagnoses","couldNotDeleteMedicationDispense":"Could not delete medication dispense","couldNotUpdateMedicationRequestStatus":"Could not update medication request status","created":"Created","datePrescribed":"Date prescribed","delete":"Delete","deleteDispenseRecord":"Delete Dispense Record","deleteDispenseRecordMessage":"Are you sure you want to delete this dispense record?","deleteFailed":"Delete Failed","diagnosis":"Diagnosis","dispense":"Dispense","dispensed":"Dispensed","dispenseDate":"Date of Dispense","dispensedBy":"Dispensed by","dispensedMedication":"dispensed medication","dispensePrescription":"Dispense prescription","dispensing":"Dispensing","dispensingAppError":"Dispensing App Error","dispensingAppMisconfigurationMessage":"Please contact your system administration: Misconfiguration - \'restrictTotalQuantityDispensed\' cannot be enabled if \'allowModifyingPrescription\' is enabled.","dose":"Dose","doseUnit":"Dose unit","drugDispensingUnit":"Dispensing unit","drugs":"Drugs","editCloseRecord":"Edit Close Record","editDispenseRecord":"Edit Dispense Record","editPauseRecord":"Edit Pause Record","editRecord":"Edit Record","error":"Error","errorLoadingInventoryItems":"Error fetching inventory items","expired":"Expired","filterByLocation":"Filter by location","finalDiagnoses":"Final Diagnoses","for":"for","frequency":"Frequency","historyComments":"History and comments","home":"Home","last14Days":"Last 14 days","lastDispenser":"Last dispenser","loadingInventoryItems":"Loading inventory items...","location":"Location","medicationDispenseActionMenu":"Medication Dispense Action Menu","medicationDispenseDeleted":"Medication dispense was deleted successfully","medicationFormulation":"Medication Formulation","medicationListUpdated":"Medication dispense list has been updated.","missedCollections":"Missed collections","noAllergyDetailsFound":"No allergy details found","noPrescriptionsToDisplay":"No prescriptions to display","noRefills":"No refills","numberIsNotValid":"Number is not valid","onsetDate":"Onset Date","ordered":"Ordered","orderedMedication ":"ordered medication","orders":"Orders","ordersForHomeDelivery":"Orders for home delivery","patientInstructions":"Patient instructions","patientName":"Patient name","pause":"Pause","paused":"Paused","pausedDispense":"paused dispense","pausePrescription":"Pause prescription","prescribed":"Prescribed","prescribedBy":"Prescribed By","prescriber":"Prescriber","prescriptionCompleted":"Prescription completed","prescriptionCompletedSuccessfully":"Medication dispensed and prescription marked as completed","prescriptionDetails":"Prescription details","prescriptionInstructions":"Prescription instructions","prescriptionsToFillToday":"Prescriptions to fill today","print":"Print","printPrescriptions":"Print prescriptions","quantity":"Quantity","quantityDispensed":"Quantity Dispensed","quantityPrescribed":"Quantity Prescribed","quantityRemaining":"Quantity Remaining to Dispense","reasonForClose":"Reason for close","reasonForPause":"Reason for pause","refills":"Refills","route":"Route","search":"Search","searchByPatientIdOrName":"Search by patient ID or name","searchForPatient":"Search for a patient by name or identifier number","searchForPatientHeader":"Search for a patient","selectPrescriptions":"Check prescriptions to print","selectStockDispense":"Select stock to dispense from","status":"Status","stockDispense":"Stock Dispense","stockDispensed":"Stock dispensed","stockDispenseDetails":"Batch: {{batchNumber}} - Quantity: {{quantity}} ({{quantityUoM}}) - Expiry: {{expiration}}","stockDispensedSuccessfully":"Stock dispensed successfully and batch level updated.","substitutionReason":"Reason for substitution","substitutionType":"Type of substitution","success":"Success","tabList":"Tab List","today":"Today","updateStatusFailed":"Update Status Failed","view":"View","visitFinalDiagnoses":"Visit final diagnoses"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_dispensing_app=globalThis.webpackChunk_openmrs_esm_dispensing_app||[]).push([[1119],{41119:e=>{e.exports=JSON.parse('{"active":"Active","activeConditions":"Active conditions","activeConditionsEmpty":"active conditions","activePrescriptions":"Active prescriptions","age":"Age","allergiesCount_one":"{{count}} allergy","allergiesCount_other":"{{count}} allergies","allPrescriptions":"All prescriptions","appName":"Pharmacy","cancelled":"Cancelled","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","close":"Close","closed":"Closed","closedDispense":"closed dispense","closePrescription":"Close prescription","completed":"Completed","completeOrderWithThisDispense":"Complete order with this dispense","conditions":"Condition","conditionsAndDiagnoses":"Conditions and diagnoses","couldNotDeleteMedicationDispense":"Could not delete medication dispense","couldNotUpdateMedicationRequestStatus":"Could not update medication request status","created":"Created","datePrescribed":"Date prescribed","delete":"Delete","deleteDispenseRecord":"Delete Dispense Record","deleteDispenseRecordMessage":"Are you sure you want to delete this dispense record?","deleteFailed":"Delete Failed","diagnoses":"Diagnoses","diagnosesEmpty":"diagnoses","diagnosis":"Diagnosis","dispense":"Dispense","dispensed":"Dispensed","dispenseDate":"Date of Dispense","dispensedBy":"Dispensed by","dispensedMedication":"dispensed medication","dispensePrescription":"Dispense prescription","dispensing":"Dispensing","dispensingAppError":"Dispensing App Error","dispensingAppMisconfigurationMessage":"Please contact your system administration: Misconfiguration - \'restrictTotalQuantityDispensed\' cannot be enabled if \'allowModifyingPrescription\' is enabled.","dose":"Dose","doseUnit":"Dose unit","drugDispensingUnit":"Dispensing unit","drugHelpText":"You may edit the formulation and quantity dispensed here","drugHelpTextNoEdit":"You may edit quantity dispensed here","drugs":"Drugs","editCloseRecord":"Edit Close Record","editDispenseRecord":"Edit Dispense Record","editFormulation":"Edit formulation","editPauseRecord":"Edit Pause Record","editRecord":"Edit Record","error":"Error","errorLoadingAllergies":"Error loading allergies","errorLoadingHistory":"Error loading history","errorLoadingInventoryItems":"Error fetching inventory items","errorLoadingPrescriptionDetails":"Error loading prescription details","errorLoadingPrescriptions":"Error loading prescriptions","expired":"Expired","fillPrescription":"Fill prescription","fillPrescriptionForPatient":"Fill prescription for patient","filterByLocations":"Filter by locations","for":"for","freeTextDosage":"Free text dosage","frequency":"Frequency","historyComments":"History and comments","home":"Home","last14Days":"Last 14 days","lastDispenser":"Last dispenser","loadingInventoryItems":"Loading inventory items...","location":"Location","medicationDispenseActionMenu":"Medication Dispense Action Menu","medicationDispenseDeleted":"Medication dispense was deleted successfully","medicationFormulation":"Medication Formulation","medicationListUpdated":"Medication dispense list has been updated.","missedCollections":"Missed collections","noAllergyDetailsFound":"No allergy details found","noHistoryFound":"No history found","noPrescriptionsFound":"No prescriptions found","noPrescriptionsToDisplay":"No prescriptions to display","noRefills":"No refills","numberIsNotValid":"Number is not valid","onsetDate":"Onset date","ordered":"Ordered","orderedMedication":"ordered medication","orders":"Orders","ordersForHomeDelivery":"Orders for home delivery","patientInstructions":"Patient instructions","patientName":"Patient name","pause":"Pause","paused":"Paused","pausedDispense":"paused dispense","pausePrescription":"Pause prescription","prescribed":"Prescribed","prescribedBy":"Prescribed By","prescriber":"Prescriber","prescriptionCompleted":"Prescription completed","prescriptionCompletedSuccessfully":"Medication dispensed and prescription marked as completed","prescriptionDetails":"Prescription details","prescriptionInstructions":"Prescription instructions","prescriptionsToFillToday":"Prescriptions to fill today","print":"Print","printPrescriptions":"Print prescriptions","quantity":"Quantity","quantityDispensed":"Quantity Dispensed","quantityPrescribed":"Quantity Prescribed","quantityRemaining":"Quantity Remaining to Dispense","reasonForClose":"Reason for close","reasonForPause":"Reason for pause","refills":"Refills","route":"Route","search":"Search","searchByPatientIdOrName":"Search by patient ID or name","searchForPatient":"Search for a patient by name or identifier number","searchForPatientHeader":"Search for a patient","selectPrescriptions":"Check prescriptions to print","selectStockDispense":"Select stock to dispense from","status":"Status","stockDispense":"Stock Dispense","stockDispensed":"Stock dispensed","stockDispenseDetails":"Batch: {{batchNumber}} - Quantity: {{quantity}} ({{quantityUoM}}) - Expiry: {{expiration}}","stockDispensedSuccessfully":"Stock dispensed successfully and batch level updated.","substitutionReason":"Reason for substitution","substitutionType":"Type of substitution","success":"Success","tabList":"Tab List","today":"Today","unknownAllergy":"Unknown allergy","updateStatusFailed":"Update Status Failed","view":"View","visitRequired":"Visit required","visitRequiredForPatientToFillPrescription":"Visit required for patient to fill prescription"}')}}]);
package/dist/1197.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_dispensing_app=globalThis.webpackChunk_openmrs_esm_dispensing_app||[]).push([[1197],{81197:e=>{e.exports=JSON.parse('{"active":"Active","activecondition":"Active Condition","activeConditions":"Active Condition","activePrescriptions":"Active prescriptions","age":"Age","allergiesCount_one":"{{count}} allergy","allergiesCount_other":"{{count}} allergies","allPrescriptions":"All prescriptions","appName":"Pharmacy","cancelled":"Cancelled","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","close":"Close","closed":"Closed","closedDispense":"closed dispense","closePrescription":"Close prescription","completed":"Completed","completeOrderWithThisDispense":"Complete order with this dispense","conditions":"Condition","conditionsAndDiagnoses":"Conditions and diagnoses","couldNotDeleteMedicationDispense":"Could not delete medication dispense","couldNotUpdateMedicationRequestStatus":"Could not update medication request status","created":"Created","datePrescribed":"Date prescribed","delete":"Delete","deleteDispenseRecord":"Delete Dispense Record","deleteDispenseRecordMessage":"Are you sure you want to delete this dispense record?","deleteFailed":"Delete Failed","diagnosis":"Diagnosis","dispense":"Dispense","dispensed":"Dispensed","dispenseDate":"Date of Dispense","dispensedBy":"Dispensed by","dispensedMedication":"dispensed medication","dispensePrescription":"Dispense prescription","dispensing":"Dispensing","dispensingAppError":"Dispensing App Error","dispensingAppMisconfigurationMessage":"Please contact your system administration: Misconfiguration - \'restrictTotalQuantityDispensed\' cannot be enabled if \'allowModifyingPrescription\' is enabled.","dose":"Dose","doseUnit":"Dose unit","drugDispensingUnit":"Dispensing unit","drugs":"Drugs","editCloseRecord":"Edit Close Record","editDispenseRecord":"Edit Dispense Record","editPauseRecord":"Edit Pause Record","editRecord":"Edit Record","error":"Error","errorLoadingInventoryItems":"Error fetching inventory items","expired":"Expired","filterByLocation":"Filter by location","finalDiagnoses":"Final Diagnoses","for":"for","frequency":"Frequency","historyComments":"History and comments","home":"Home","last14Days":"Last 14 days","lastDispenser":"Last dispenser","loadingInventoryItems":"Loading inventory items...","location":"Location","medicationDispenseActionMenu":"Medication Dispense Action Menu","medicationDispenseDeleted":"Medication dispense was deleted successfully","medicationFormulation":"Medication Formulation","medicationListUpdated":"Medication dispense list has been updated.","missedCollections":"Missed collections","noAllergyDetailsFound":"No allergy details found","noPrescriptionsToDisplay":"No prescriptions to display","noRefills":"No refills","numberIsNotValid":"Number is not valid","onsetDate":"Onset Date","ordered":"Ordered","orderedMedication ":"ordered medication","orders":"Orders","ordersForHomeDelivery":"Orders for home delivery","patientInstructions":"Patient instructions","patientName":"Patient name","pause":"Pause","paused":"Paused","pausedDispense":"paused dispense","pausePrescription":"Pause prescription","prescribed":"Prescribed","prescribedBy":"Prescribed By","prescriber":"Prescriber","prescriptionCompleted":"Prescription completed","prescriptionCompletedSuccessfully":"Medication dispensed and prescription marked as completed","prescriptionDetails":"Prescription details","prescriptionInstructions":"Prescription instructions","prescriptionsToFillToday":"Prescriptions to fill today","print":"Print","printPrescriptions":"Print prescriptions","quantity":"Quantity","quantityDispensed":"Quantity Dispensed","quantityPrescribed":"Quantity Prescribed","quantityRemaining":"Quantity Remaining to Dispense","reasonForClose":"Reason for close","reasonForPause":"Reason for pause","refills":"Refills","route":"Route","search":"Search","searchByPatientIdOrName":"Search by patient ID or name","searchForPatient":"Search for a patient by name or identifier number","searchForPatientHeader":"Search for a patient","selectPrescriptions":"Check prescriptions to print","selectStockDispense":"Select stock to dispense from","status":"Status","stockDispense":"Stock Dispense","stockDispensed":"Stock dispensed","stockDispenseDetails":"Batch: {{batchNumber}} - Quantity: {{quantity}} ({{quantityUoM}}) - Expiry: {{expiration}}","stockDispensedSuccessfully":"Stock dispensed successfully and batch level updated.","substitutionReason":"Reason for substitution","substitutionType":"Type of substitution","success":"Success","tabList":"Tab List","today":"Today","updateStatusFailed":"Update Status Failed","view":"View","visitFinalDiagnoses":"Visit final diagnoses"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_dispensing_app=globalThis.webpackChunk_openmrs_esm_dispensing_app||[]).push([[1197],{81197:e=>{e.exports=JSON.parse('{"active":"Active","activeConditions":"Active conditions","activeConditionsEmpty":"active conditions","activePrescriptions":"Active prescriptions","age":"Age","allergiesCount_one":"{{count}} allergy","allergiesCount_other":"{{count}} allergies","allPrescriptions":"All prescriptions","appName":"Pharmacy","cancelled":"Cancelled","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","close":"Close","closed":"Closed","closedDispense":"closed dispense","closePrescription":"Close prescription","completed":"Completed","completeOrderWithThisDispense":"Complete order with this dispense","conditions":"Condition","conditionsAndDiagnoses":"Conditions and diagnoses","couldNotDeleteMedicationDispense":"Could not delete medication dispense","couldNotUpdateMedicationRequestStatus":"Could not update medication request status","created":"Created","datePrescribed":"Date prescribed","delete":"Delete","deleteDispenseRecord":"Delete Dispense Record","deleteDispenseRecordMessage":"Are you sure you want to delete this dispense record?","deleteFailed":"Delete Failed","diagnoses":"Diagnoses","diagnosesEmpty":"diagnoses","diagnosis":"Diagnosis","dispense":"Dispense","dispensed":"Dispensed","dispenseDate":"Date of Dispense","dispensedBy":"Dispensed by","dispensedMedication":"dispensed medication","dispensePrescription":"Dispense prescription","dispensing":"Dispensing","dispensingAppError":"Dispensing App Error","dispensingAppMisconfigurationMessage":"Please contact your system administration: Misconfiguration - \'restrictTotalQuantityDispensed\' cannot be enabled if \'allowModifyingPrescription\' is enabled.","dose":"Dose","doseUnit":"Dose unit","drugDispensingUnit":"Dispensing unit","drugHelpText":"You may edit the formulation and quantity dispensed here","drugHelpTextNoEdit":"You may edit quantity dispensed here","drugs":"Drugs","editCloseRecord":"Edit Close Record","editDispenseRecord":"Edit Dispense Record","editFormulation":"Edit formulation","editPauseRecord":"Edit Pause Record","editRecord":"Edit Record","error":"Error","errorLoadingAllergies":"Error loading allergies","errorLoadingHistory":"Error loading history","errorLoadingInventoryItems":"Error fetching inventory items","errorLoadingPrescriptionDetails":"Error loading prescription details","errorLoadingPrescriptions":"Error loading prescriptions","expired":"Expired","fillPrescription":"Fill prescription","fillPrescriptionForPatient":"Fill prescription for patient","filterByLocations":"Filter by locations","for":"for","freeTextDosage":"Free text dosage","frequency":"Frequency","historyComments":"History and comments","home":"Home","last14Days":"Last 14 days","lastDispenser":"Last dispenser","loadingInventoryItems":"Loading inventory items...","location":"Location","medicationDispenseActionMenu":"Medication Dispense Action Menu","medicationDispenseDeleted":"Medication dispense was deleted successfully","medicationFormulation":"Medication Formulation","medicationListUpdated":"Medication dispense list has been updated.","missedCollections":"Missed collections","noAllergyDetailsFound":"No allergy details found","noHistoryFound":"No history found","noPrescriptionsFound":"No prescriptions found","noPrescriptionsToDisplay":"No prescriptions to display","noRefills":"No refills","numberIsNotValid":"Number is not valid","onsetDate":"Onset date","ordered":"Ordered","orderedMedication":"ordered medication","orders":"Orders","ordersForHomeDelivery":"Orders for home delivery","patientInstructions":"Patient instructions","patientName":"Patient name","pause":"Pause","paused":"Paused","pausedDispense":"paused dispense","pausePrescription":"Pause prescription","prescribed":"Prescribed","prescribedBy":"Prescribed By","prescriber":"Prescriber","prescriptionCompleted":"Prescription completed","prescriptionCompletedSuccessfully":"Medication dispensed and prescription marked as completed","prescriptionDetails":"Prescription details","prescriptionInstructions":"Prescription instructions","prescriptionsToFillToday":"Prescriptions to fill today","print":"Print","printPrescriptions":"Print prescriptions","quantity":"Quantity","quantityDispensed":"Quantity Dispensed","quantityPrescribed":"Quantity Prescribed","quantityRemaining":"Quantity Remaining to Dispense","reasonForClose":"Reason for close","reasonForPause":"Reason for pause","refills":"Refills","route":"Route","search":"Search","searchByPatientIdOrName":"Search by patient ID or name","searchForPatient":"Search for a patient by name or identifier number","searchForPatientHeader":"Search for a patient","selectPrescriptions":"Check prescriptions to print","selectStockDispense":"Select stock to dispense from","status":"Status","stockDispense":"Stock Dispense","stockDispensed":"Stock dispensed","stockDispenseDetails":"Batch: {{batchNumber}} - Quantity: {{quantity}} ({{quantityUoM}}) - Expiry: {{expiration}}","stockDispensedSuccessfully":"Stock dispensed successfully and batch level updated.","substitutionReason":"Reason for substitution","substitutionType":"Type of substitution","success":"Success","tabList":"Tab List","today":"Today","unknownAllergy":"Unknown allergy","updateStatusFailed":"Update Status Failed","view":"View","visitRequired":"Visit required","visitRequiredForPatientToFillPrescription":"Visit required for patient to fill prescription"}')}}]);
package/dist/2146.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_dispensing_app=globalThis.webpackChunk_openmrs_esm_dispensing_app||[]).push([[2146],{12146:e=>{e.exports=JSON.parse('{"active":"Active","activecondition":"Active Condition","activeConditions":"Active Condition","activePrescriptions":"Active prescriptions","age":"Age","allergiesCount_one":"{{count}} allergy","allergiesCount_other":"{{count}} allergies","allPrescriptions":"All prescriptions","appName":"Pharmacy","cancelled":"Cancelled","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","close":"Close","closed":"Closed","closedDispense":"closed dispense","closePrescription":"Close prescription","completed":"Completed","completeOrderWithThisDispense":"Complete order with this dispense","conditions":"Condition","conditionsAndDiagnoses":"Conditions and diagnoses","couldNotDeleteMedicationDispense":"Could not delete medication dispense","couldNotUpdateMedicationRequestStatus":"Could not update medication request status","created":"Created","datePrescribed":"Date prescribed","delete":"Delete","deleteDispenseRecord":"Delete Dispense Record","deleteDispenseRecordMessage":"Are you sure you want to delete this dispense record?","deleteFailed":"Delete Failed","diagnosis":"Diagnosis","dispense":"Dispense","dispensed":"Dispensed","dispenseDate":"Date of Dispense","dispensedBy":"Dispensed by","dispensedMedication":"dispensed medication","dispensePrescription":"Dispense prescription","dispensing":"Dispensing","dispensingAppError":"Dispensing App Error","dispensingAppMisconfigurationMessage":"Please contact your system administration: Misconfiguration - \'restrictTotalQuantityDispensed\' cannot be enabled if \'allowModifyingPrescription\' is enabled.","dose":"Dose","doseUnit":"Dose unit","drugDispensingUnit":"Dispensing unit","drugs":"Drugs","editCloseRecord":"Edit Close Record","editDispenseRecord":"Edit Dispense Record","editPauseRecord":"Edit Pause Record","editRecord":"Edit Record","error":"Error","errorLoadingInventoryItems":"Error fetching inventory items","expired":"Expired","filterByLocation":"Filter by location","finalDiagnoses":"Final Diagnoses","for":"for","frequency":"Frequency","historyComments":"History and comments","home":"Home","last14Days":"Last 14 days","lastDispenser":"Last dispenser","loadingInventoryItems":"Loading inventory items...","location":"Location","medicationDispenseActionMenu":"Medication Dispense Action Menu","medicationDispenseDeleted":"Medication dispense was deleted successfully","medicationFormulation":"Medication Formulation","medicationListUpdated":"Medication dispense list has been updated.","missedCollections":"Missed collections","noAllergyDetailsFound":"No allergy details found","noPrescriptionsToDisplay":"No prescriptions to display","noRefills":"No refills","numberIsNotValid":"Number is not valid","onsetDate":"Onset Date","ordered":"Ordered","orderedMedication ":"ordered medication","orders":"Orders","ordersForHomeDelivery":"Orders for home delivery","patientInstructions":"Patient instructions","patientName":"Patient name","pause":"Pause","paused":"Paused","pausedDispense":"paused dispense","pausePrescription":"Pause prescription","prescribed":"Prescribed","prescribedBy":"Prescribed By","prescriber":"Prescriber","prescriptionCompleted":"Prescription completed","prescriptionCompletedSuccessfully":"Medication dispensed and prescription marked as completed","prescriptionDetails":"Prescription details","prescriptionInstructions":"Prescription instructions","prescriptionsToFillToday":"Prescriptions to fill today","print":"Print","printPrescriptions":"Print prescriptions","quantity":"Quantity","quantityDispensed":"Quantity Dispensed","quantityPrescribed":"Quantity Prescribed","quantityRemaining":"Quantity Remaining to Dispense","reasonForClose":"Reason for close","reasonForPause":"Reason for pause","refills":"Refills","route":"Route","search":"Search","searchByPatientIdOrName":"Search by patient ID or name","searchForPatient":"Search for a patient by name or identifier number","searchForPatientHeader":"Search for a patient","selectPrescriptions":"Check prescriptions to print","selectStockDispense":"Select stock to dispense from","status":"Status","stockDispense":"Stock Dispense","stockDispensed":"Stock dispensed","stockDispenseDetails":"Batch: {{batchNumber}} - Quantity: {{quantity}} ({{quantityUoM}}) - Expiry: {{expiration}}","stockDispensedSuccessfully":"Stock dispensed successfully and batch level updated.","substitutionReason":"Reason for substitution","substitutionType":"Type of substitution","success":"Success","tabList":"Tab List","today":"Today","updateStatusFailed":"Update Status Failed","view":"View","visitFinalDiagnoses":"Visit final diagnoses"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_dispensing_app=globalThis.webpackChunk_openmrs_esm_dispensing_app||[]).push([[2146],{12146:e=>{e.exports=JSON.parse('{"active":"Active","activeConditions":"Active conditions","activeConditionsEmpty":"active conditions","activePrescriptions":"Active prescriptions","age":"Age","allergiesCount_one":"{{count}} allergy","allergiesCount_other":"{{count}} allergies","allPrescriptions":"All prescriptions","appName":"Pharmacy","cancelled":"Cancelled","checkFilters":"Check the filters above","clearSearchInput":"Clear search input","close":"Close","closed":"Closed","closedDispense":"closed dispense","closePrescription":"Close prescription","completed":"Completed","completeOrderWithThisDispense":"Complete order with this dispense","conditions":"Condition","conditionsAndDiagnoses":"Conditions and diagnoses","couldNotDeleteMedicationDispense":"Could not delete medication dispense","couldNotUpdateMedicationRequestStatus":"Could not update medication request status","created":"Created","datePrescribed":"Date prescribed","delete":"Delete","deleteDispenseRecord":"Delete Dispense Record","deleteDispenseRecordMessage":"Are you sure you want to delete this dispense record?","deleteFailed":"Delete Failed","diagnoses":"Diagnoses","diagnosesEmpty":"diagnoses","diagnosis":"Diagnosis","dispense":"Dispense","dispensed":"Dispensed","dispenseDate":"Date of Dispense","dispensedBy":"Dispensed by","dispensedMedication":"dispensed medication","dispensePrescription":"Dispense prescription","dispensing":"Dispensing","dispensingAppError":"Dispensing App Error","dispensingAppMisconfigurationMessage":"Please contact your system administration: Misconfiguration - \'restrictTotalQuantityDispensed\' cannot be enabled if \'allowModifyingPrescription\' is enabled.","dose":"Dose","doseUnit":"Dose unit","drugDispensingUnit":"Dispensing unit","drugHelpText":"You may edit the formulation and quantity dispensed here","drugHelpTextNoEdit":"You may edit quantity dispensed here","drugs":"Drugs","editCloseRecord":"Edit Close Record","editDispenseRecord":"Edit Dispense Record","editFormulation":"Edit formulation","editPauseRecord":"Edit Pause Record","editRecord":"Edit Record","error":"Error","errorLoadingAllergies":"Error loading allergies","errorLoadingHistory":"Error loading history","errorLoadingInventoryItems":"Error fetching inventory items","errorLoadingPrescriptionDetails":"Error loading prescription details","errorLoadingPrescriptions":"Error loading prescriptions","expired":"Expired","fillPrescription":"Fill prescription","fillPrescriptionForPatient":"Fill prescription for patient","filterByLocations":"Filter by locations","for":"for","freeTextDosage":"Free text dosage","frequency":"Frequency","historyComments":"History and comments","home":"Home","last14Days":"Last 14 days","lastDispenser":"Last dispenser","loadingInventoryItems":"Loading inventory items...","location":"Location","medicationDispenseActionMenu":"Medication Dispense Action Menu","medicationDispenseDeleted":"Medication dispense was deleted successfully","medicationFormulation":"Medication Formulation","medicationListUpdated":"Medication dispense list has been updated.","missedCollections":"Missed collections","noAllergyDetailsFound":"No allergy details found","noHistoryFound":"No history found","noPrescriptionsFound":"No prescriptions found","noPrescriptionsToDisplay":"No prescriptions to display","noRefills":"No refills","numberIsNotValid":"Number is not valid","onsetDate":"Onset date","ordered":"Ordered","orderedMedication":"ordered medication","orders":"Orders","ordersForHomeDelivery":"Orders for home delivery","patientInstructions":"Patient instructions","patientName":"Patient name","pause":"Pause","paused":"Paused","pausedDispense":"paused dispense","pausePrescription":"Pause prescription","prescribed":"Prescribed","prescribedBy":"Prescribed By","prescriber":"Prescriber","prescriptionCompleted":"Prescription completed","prescriptionCompletedSuccessfully":"Medication dispensed and prescription marked as completed","prescriptionDetails":"Prescription details","prescriptionInstructions":"Prescription instructions","prescriptionsToFillToday":"Prescriptions to fill today","print":"Print","printPrescriptions":"Print prescriptions","quantity":"Quantity","quantityDispensed":"Quantity Dispensed","quantityPrescribed":"Quantity Prescribed","quantityRemaining":"Quantity Remaining to Dispense","reasonForClose":"Reason for close","reasonForPause":"Reason for pause","refills":"Refills","route":"Route","search":"Search","searchByPatientIdOrName":"Search by patient ID or name","searchForPatient":"Search for a patient by name or identifier number","searchForPatientHeader":"Search for a patient","selectPrescriptions":"Check prescriptions to print","selectStockDispense":"Select stock to dispense from","status":"Status","stockDispense":"Stock Dispense","stockDispensed":"Stock dispensed","stockDispenseDetails":"Batch: {{batchNumber}} - Quantity: {{quantity}} ({{quantityUoM}}) - Expiry: {{expiration}}","stockDispensedSuccessfully":"Stock dispensed successfully and batch level updated.","substitutionReason":"Reason for substitution","substitutionType":"Type of substitution","success":"Success","tabList":"Tab List","today":"Today","unknownAllergy":"Unknown allergy","updateStatusFailed":"Update Status Failed","view":"View","visitRequired":"Visit required","visitRequiredForPatientToFillPrescription":"Visit required for patient to fill prescription"}')}}]);
package/dist/2177.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see 2177.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunk_openmrs_esm_dispensing_app=globalThis.webpackChunk_openmrs_esm_dispensing_app||[]).push([[2177],{11496:(e,t,n)=>{n.d(t,{CC:()=>r,I0:()=>a,jB:()=>o,q2:()=>i});const r=0,o=1,i=2,a=3},14993:(e,t,n)=>{n.d(t,{Ht:()=>g,aw:()=>f,iX:()=>u,qm:()=>d});var r=n(27804),o=n(35430),i=n(16072);const a=r.i&&window.__SWR_DEVTOOLS_USE__,s=a?window.__SWR_DEVTOOLS_USE__:[],c=e=>(0,r.a)(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],u=()=>(0,r.m)(r.d,(0,i.useContext)(r.S)),l=s.concat((e=>(t,n,i)=>e(t,n&&((...e)=>{const[i]=(0,r.s)(t),[,,,a]=r.b.get(r.c);if(i.startsWith(o.q))return n(...e);const s=a[i];return(0,r.e)(s)?n(...e):(delete a[i],s)}),i))),d=e=>function(...t){const n=u(),[o,i,a]=c(t),s=(0,r.f)(n,a);let d=e;const{use:f}=s,g=(f||[]).concat(l);for(let e=g.length;e--;)d=g[e](d);return d(o,i||s.fetcher||null,s)},f=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},g=(e,t)=>(...n)=>{const[r,o,i]=c(n),a=(i.use||[]).concat(t);return e(r,o,{...i,use:a})};a&&(window.__SWR_DEVTOOLS_REACT__=i)},19888:(e,t,n)=>{e.exports=n(58493)},27804:(e,t,n)=>{n.d(t,{B:()=>g,I:()=>k,O:()=>u,S:()=>J,U:()=>c,a:()=>d,b:()=>a,c:()=>U,d:()=>z,e:()=>l,f:()=>H,g:()=>N,i:()=>w,j:()=>$,m:()=>f,n:()=>M,o:()=>F,r:()=>T,s:()=>q,t:()=>C,u:()=>L,z:()=>m});var r=n(16072),o=n(11496),i=Object.prototype.hasOwnProperty;const a=new WeakMap,s=()=>{},c=s(),u=Object,l=e=>e===c,d=e=>"function"==typeof e,f=(e,t)=>({...e,...t}),g=e=>d(e.then),p={},h={},v="undefined",w=typeof window!=v,y=typeof document!=v,b=w&&"Deno"in window,m=(e,t)=>{const n=a.get(e);return[()=>!l(t)&&e.get(t)||p,r=>{if(!l(t)){const o=e.get(t);t in h||(h[t]=o),n[5](t,f(o,r),o||p)}},n[6],()=>!l(t)&&t in h?h[t]:!l(t)&&e.get(t)||p]};let O=!0;const[S,_]=w&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[s,s],E={isOnline:()=>O,isVisible:()=>{const e=y&&document.visibilityState;return l(e)||"hidden"!==e}},R={initFocus:e=>(y&&document.addEventListener("visibilitychange",e),S("focus",e),()=>{y&&document.removeEventListener("visibilitychange",e),_("focus",e)}),initReconnect:e=>{const t=()=>{O=!0,e()},n=()=>{O=!1};return S("online",t),S("offline",n),()=>{_("online",t),_("offline",n)}}},k=!r.useId,T=!w||b,C=e=>w&&typeof window.requestAnimationFrame!=v?window.requestAnimationFrame(e):setTimeout(e,1),L=T?r.useEffect:r.useLayoutEffect,j="undefined"!=typeof navigator&&navigator.connection,V=!T&&j&&(["slow-2g","2g"].includes(j.effectiveType)||j.saveData),D=new WeakMap,I=(e,t)=>u.prototype.toString.call(e)===`[object ${t}]`;let x=0;const P=e=>{const t=typeof e,n=I(e,"Date"),r=I(e,"RegExp"),o=I(e,"Object");let i,a;if(u(e)!==e||n||r)i=n?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(i=D.get(e),i)return i;if(i=++x+"~",D.set(e,i),Array.isArray(e)){for(i="@",a=0;a<e.length;a++)i+=P(e[a])+",";D.set(e,i)}if(o){i="#";const t=u.keys(e).sort();for(;!l(a=t.pop());)l(e[a])||(i+=a+":"+P(e[a])+",");D.set(e,i)}}return i},q=e=>{if(d(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?P(e):"",t]};let A=0;const F=()=>++A;async function M(...e){const[t,n,r,i]=e,s=f({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{});let u=s.populateCache;const p=s.rollbackOnError;let h=s.optimisticData;const v=s.throwOnError;if(d(n)){const e=n,r=[],o=t.keys();for(const n of o)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&r.push(n);return Promise.all(r.map(w))}return w(n);async function w(n){const[i]=q(n);if(!i)return;const[f,w]=m(t,i),[y,b,O,S]=a.get(t),_=()=>{const e=y[i];return(d(s.revalidate)?s.revalidate(f().data,n):!1!==s.revalidate)&&(delete O[i],delete S[i],e&&e[0])?e[0](o.q2).then((()=>f().data)):f().data};if(e.length<3)return _();let E,R=r;const k=F();b[i]=[k,0];const T=!l(h),C=f(),L=C.data,j=C._c,V=l(j)?L:j;if(T&&(h=d(h)?h(V,L):h,w({data:h,_c:V})),d(R))try{R=R(V)}catch(e){E=e}if(R&&g(R)){if(R=await R.catch((e=>{E=e})),k!==b[i][0]){if(E)throw E;return R}E&&T&&(e=>"function"==typeof p?p(e):!1!==p)(E)&&(u=!0,w({data:V,_c:c}))}if(u&&!E)if(d(u)){const e=u(R,V);w({data:e,error:c,_c:c})}else w({data:R,error:c,_c:c});if(b[i][1]=F(),Promise.resolve(_()).then((()=>{w({_c:c})})),!E)return R;if(v)throw E}}const W=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},B=(e,t)=>{if(!a.has(e)){const n=f(R,t),r=Object.create(null),i=M.bind(c,e);let u=s;const l=Object.create(null),d=(e,t)=>{const n=l[e]||[];return l[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},g=(t,n,r)=>{e.set(t,n);const o=l[t];if(o)for(const e of o)e(n,r)},p=()=>{if(!a.has(e)&&(a.set(e,[r,Object.create(null),Object.create(null),Object.create(null),i,g,d]),!T)){const t=n.initFocus(setTimeout.bind(c,W.bind(c,r,o.CC))),i=n.initReconnect(setTimeout.bind(c,W.bind(c,r,o.jB)));u=()=>{t&&t(),i&&i(),a.delete(e)}}};return p(),[e,i,p,u]}return[e,a.get(e)[4]]},[U,$]=B(new Map),z=f({onLoadingSlow:s,onSuccess:s,onError:s,onErrorRetry:(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!l(i)&&a>i||setTimeout(r,s,o)},onDiscarded:s,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:V?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:V?5e3:3e3,compare:function e(t,n){var r,o;if(t===n)return!0;if(t&&n&&(r=t.constructor)===n.constructor){if(r===Date)return t.getTime()===n.getTime();if(r===RegExp)return t.toString()===n.toString();if(r===Array){if((o=t.length)===n.length)for(;o--&&e(t[o],n[o]););return-1===o}if(!r||"object"==typeof t){for(r in o=0,t){if(i.call(t,r)&&++o&&!i.call(n,r))return!1;if(!(r in n)||!e(t[r],n[r]))return!1}return Object.keys(n).length===o}}return t!=t&&n!=n},isPaused:()=>!1,cache:U,mutate:$,fallback:{}},E),H=(e,t)=>{const n=f(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=f(o,a))}return n},J=(0,r.createContext)({}),N=e=>{const{value:t}=e,n=(0,r.useContext)(J),o=d(t),i=(0,r.useMemo)((()=>o?t(n):t),[o,n,t]),a=(0,r.useMemo)((()=>o?i:H(n,i)),[o,n,i]),s=i&&i.provider,u=(0,r.useRef)(c);s&&!u.current&&(u.current=B(s(a.cache||U),i));const l=u.current;return l&&(a.cache=l[0],a.mutate=l[1]),L((()=>{if(l)return l[2]&&l[2](),l[3]}),[]),(0,r.createElement)(J.Provider,f(e,{value:a}))}},35430:(e,t,n)=>{n.d(t,{q:()=>r});const r="$inf$"},58493:(e,t,n)=>{var r=n(16072),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,c=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,l=r[1];return s((function(){o.value=n,o.getSnapshot=t,u(o)&&l({inst:o})}),[e,n,t]),a((function(){return u(o)&&l({inst:o}),e((function(){u(o)&&l({inst:o})}))}),[e]),c(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},92177:(e,t,n)=>{n.d(t,{Ay:()=>f,BE:()=>d});var r=n(16072),o=n(19888),i=n(27804),a=n(11496),s=n(14993);const c=()=>{};c(),new WeakMap;const u=r.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e}}),l={dedupe:!0},d=i.O.defineProperty(i.g,"defaultValue",{value:i.d}),f=(0,s.qm)(((e,t,n)=>{const{cache:c,compare:d,suspense:f,fallbackData:g,revalidateOnMount:p,revalidateIfStale:h,refreshInterval:v,refreshWhenHidden:w,refreshWhenOffline:y,keepPreviousData:b}=n,[m,O,S,_]=i.b.get(c),[E,R]=(0,i.s)(e),k=(0,r.useRef)(!1),T=(0,r.useRef)(!1),C=(0,r.useRef)(E),L=(0,r.useRef)(t),j=(0,r.useRef)(n),V=()=>j.current,D=()=>V().isVisible()&&V().isOnline(),[I,x,P,q]=(0,i.z)(c,E),A=(0,r.useRef)({}).current,F=(0,i.e)(g)?(0,i.e)(n.fallback)?i.U:n.fallback[E]:g,M=(e,t)=>{for(const n in A){const r=n;if("data"===r){if(!d(e[r],t[r])){if(!(0,i.e)(e[r]))return!1;if(!d(X,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},W=(0,r.useMemo)((()=>{const e=!!E&&!!t&&((0,i.e)(p)?!V().isPaused()&&!f&&!1!==h:p),n=t=>{const n=(0,i.m)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=I(),o=q(),a=n(r),s=r===o?a:n(o);let c=a;return[()=>{const e=n(I());return M(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>s]}),[c,E]),B=(0,o.useSyncExternalStore)((0,r.useCallback)((e=>P(E,((t,n)=>{M(n,t)||e()}))),[c,E]),W[0],W[1]),U=!k.current,$=m[E]&&m[E].length>0,z=B.data,H=(0,i.e)(z)?F&&(0,i.B)(F)?u(F):F:z,J=B.error,N=(0,r.useRef)(H),X=b?(0,i.e)(z)?(0,i.e)(N.current)?H:N.current:z:H,G=!($&&!(0,i.e)(J))&&(U&&!(0,i.e)(p)?p:!V().isPaused()&&(f?!(0,i.e)(H)&&h:(0,i.e)(H)||h)),K=!!(E&&t&&U&&G),Q=(0,i.e)(B.isValidating)?K:B.isValidating,Y=(0,i.e)(B.isLoading)?K:B.isLoading,Z=(0,r.useCallback)((async e=>{const t=L.current;if(!E||!t||T.current||V().isPaused())return!1;let r,o,s=!0;const c=e||{},u=!S[E]||!c.dedupe,l=()=>i.I?!T.current&&E===C.current&&k.current:E===C.current,f={isValidating:!1,isLoading:!1},g=()=>{x(f)},p=()=>{const e=S[E];e&&e[1]===o&&delete S[E]},h={isValidating:!0};(0,i.e)(I().data)&&(h.isLoading=!0);try{if(u&&(x(h),n.loadingTimeout&&(0,i.e)(I().data)&&setTimeout((()=>{s&&l()&&V().onLoadingSlow(E,n)}),n.loadingTimeout),S[E]=[t(R),(0,i.o)()]),[r,o]=S[E],r=await r,u&&setTimeout(p,n.dedupingInterval),!S[E]||S[E][1]!==o)return u&&l()&&V().onDiscarded(E),!1;f.error=i.U;const e=O[E];if(!(0,i.e)(e)&&(o<=e[0]||o<=e[1]||0===e[1]))return g(),u&&l()&&V().onDiscarded(E),!1;const a=I().data;f.data=d(a,r)?a:r,u&&l()&&V().onSuccess(r,E,n)}catch(e){p();const t=V(),{shouldRetryOnError:n}=t;t.isPaused()||(f.error=e,u&&l()&&(t.onError(e,E,t),(!0===n||(0,i.a)(n)&&n(e))&&(V().revalidateOnFocus&&V().revalidateOnReconnect&&!D()||t.onErrorRetry(e,E,t,(e=>{const t=m[E];t&&t[0]&&t[0](a.I0,e)}),{retryCount:(c.retryCount||0)+1,dedupe:!0}))))}return s=!1,g(),!0}),[E,c]),ee=(0,r.useCallback)(((...e)=>(0,i.n)(c,C.current,...e)),[]);if((0,i.u)((()=>{L.current=t,j.current=n,(0,i.e)(z)||(N.current=z)})),(0,i.u)((()=>{if(!E)return;const e=Z.bind(i.U,l);let t=0;if(V().revalidateOnFocus){const e=Date.now();t=e+V().focusThrottleInterval}const n=(0,s.aw)(E,m,((n,r={})=>{if(n==a.CC){const n=Date.now();V().revalidateOnFocus&&n>t&&D()&&(t=n+V().focusThrottleInterval,e())}else if(n==a.jB)V().revalidateOnReconnect&&D()&&e();else{if(n==a.q2)return Z();if(n==a.I0)return Z(r)}}));return T.current=!1,C.current=E,k.current=!0,x({_k:R}),G&&((0,i.e)(H)||i.r?e():(0,i.t)(e)),()=>{T.current=!0,n()}}),[E]),(0,i.u)((()=>{let e;function t(){const t=(0,i.a)(v)?v(I().data):v;t&&-1!==e&&(e=setTimeout(n,t))}function n(){I().error||!w&&!V().isVisible()||!y&&!V().isOnline()?t():Z(l).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[v,w,y,E]),(0,r.useDebugValue)(X),f&&(0,i.e)(H)&&E){if(!i.I&&i.r)throw new Error("Fallback data is required when using Suspense in SSR.");L.current=t,j.current=n,T.current=!1;const e=_[E];if(!(0,i.e)(e)){const t=ee(e);u(t)}if(!(0,i.e)(J))throw J;{const e=Z(l);(0,i.e)(X)||(e.status="fulfilled",e.value=!0),u(e)}}return{mutate:ee,get data(){return A.data=!0,X},get error(){return A.error=!0,J},get isValidating(){return A.isValidating=!0,Q},get isLoading(){return A.isLoading=!0,Y}}}))}}]);
2
+ "use strict";(globalThis.webpackChunk_openmrs_esm_dispensing_app=globalThis.webpackChunk_openmrs_esm_dispensing_app||[]).push([[2177],{11496:(e,t,n)=>{n.d(t,{CC:()=>r,I0:()=>a,jB:()=>o,q2:()=>i});const r=0,o=1,i=2,a=3},14993:(e,t,n)=>{n.d(t,{Ht:()=>f,aw:()=>d,qm:()=>l});var r=n(27804),o=n(35430),i=n(16072);const a=r.i&&window.__SWR_DEVTOOLS_USE__,s=a?window.__SWR_DEVTOOLS_USE__:[],c=e=>(0,r.a)(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],u=s.concat((e=>(t,n,i)=>e(t,n&&((...e)=>{const[i]=(0,r.s)(t),[,,,a]=r.b.get(r.c);if(i.startsWith(o.q))return n(...e);const s=a[i];return(0,r.e)(s)?n(...e):(delete a[i],s)}),i))),l=e=>function(...t){const n=(0,r.m)(r.d,(0,i.useContext)(r.S)),[o,a,s]=c(t),l=(0,r.f)(n,s);let d=e;const{use:f}=l,g=(f||[]).concat(u);for(let e=g.length;e--;)d=g[e](d);return d(o,a||l.fetcher||null,l)},d=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},f=(e,t)=>(...n)=>{const[r,o,i]=c(n),a=(i.use||[]).concat(t);return e(r,o,{...i,use:a})};a&&(window.__SWR_DEVTOOLS_REACT__=i)},19888:(e,t,n)=>{e.exports=n(58493)},27804:(e,t,n)=>{n.d(t,{B:()=>g,I:()=>k,O:()=>u,S:()=>J,U:()=>c,a:()=>d,b:()=>a,c:()=>U,d:()=>z,e:()=>l,f:()=>H,g:()=>N,i:()=>w,j:()=>$,m:()=>f,n:()=>M,o:()=>F,r:()=>T,s:()=>q,t:()=>C,u:()=>L,z:()=>m});var r=n(16072),o=n(11496),i=Object.prototype.hasOwnProperty;const a=new WeakMap,s=()=>{},c=s(),u=Object,l=e=>e===c,d=e=>"function"==typeof e,f=(e,t)=>({...e,...t}),g=e=>d(e.then),p={},h={},v="undefined",w=typeof window!=v,y=typeof document!=v,b=w&&"Deno"in window,m=(e,t)=>{const n=a.get(e);return[()=>!l(t)&&e.get(t)||p,r=>{if(!l(t)){const o=e.get(t);t in h||(h[t]=o),n[5](t,f(o,r),o||p)}},n[6],()=>!l(t)&&t in h?h[t]:!l(t)&&e.get(t)||p]};let O=!0;const[S,_]=w&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[s,s],E={isOnline:()=>O,isVisible:()=>{const e=y&&document.visibilityState;return l(e)||"hidden"!==e}},R={initFocus:e=>(y&&document.addEventListener("visibilitychange",e),S("focus",e),()=>{y&&document.removeEventListener("visibilitychange",e),_("focus",e)}),initReconnect:e=>{const t=()=>{O=!0,e()},n=()=>{O=!1};return S("online",t),S("offline",n),()=>{_("online",t),_("offline",n)}}},k=!r.useId,T=!w||b,C=e=>w&&typeof window.requestAnimationFrame!=v?window.requestAnimationFrame(e):setTimeout(e,1),L=T?r.useEffect:r.useLayoutEffect,j="undefined"!=typeof navigator&&navigator.connection,V=!T&&j&&(["slow-2g","2g"].includes(j.effectiveType)||j.saveData),D=new WeakMap,I=(e,t)=>u.prototype.toString.call(e)===`[object ${t}]`;let x=0;const P=e=>{const t=typeof e,n=I(e,"Date"),r=I(e,"RegExp"),o=I(e,"Object");let i,a;if(u(e)!==e||n||r)i=n?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(i=D.get(e),i)return i;if(i=++x+"~",D.set(e,i),Array.isArray(e)){for(i="@",a=0;a<e.length;a++)i+=P(e[a])+",";D.set(e,i)}if(o){i="#";const t=u.keys(e).sort();for(;!l(a=t.pop());)l(e[a])||(i+=a+":"+P(e[a])+",");D.set(e,i)}}return i},q=e=>{if(d(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?P(e):"",t]};let A=0;const F=()=>++A;async function M(...e){const[t,n,r,i]=e,s=f({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{});let u=s.populateCache;const p=s.rollbackOnError;let h=s.optimisticData;const v=s.throwOnError;if(d(n)){const e=n,r=[],o=t.keys();for(const n of o)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&r.push(n);return Promise.all(r.map(w))}return w(n);async function w(n){const[i]=q(n);if(!i)return;const[f,w]=m(t,i),[y,b,O,S]=a.get(t),_=()=>{const e=y[i];return(d(s.revalidate)?s.revalidate(f().data,n):!1!==s.revalidate)&&(delete O[i],delete S[i],e&&e[0])?e[0](o.q2).then((()=>f().data)):f().data};if(e.length<3)return _();let E,R=r;const k=F();b[i]=[k,0];const T=!l(h),C=f(),L=C.data,j=C._c,V=l(j)?L:j;if(T&&(h=d(h)?h(V,L):h,w({data:h,_c:V})),d(R))try{R=R(V)}catch(e){E=e}if(R&&g(R)){if(R=await R.catch((e=>{E=e})),k!==b[i][0]){if(E)throw E;return R}E&&T&&(e=>"function"==typeof p?p(e):!1!==p)(E)&&(u=!0,w({data:V,_c:c}))}if(u&&!E)if(d(u)){const e=u(R,V);w({data:e,error:c,_c:c})}else w({data:R,error:c,_c:c});if(b[i][1]=F(),Promise.resolve(_()).then((()=>{w({_c:c})})),!E)return R;if(v)throw E}}const W=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},B=(e,t)=>{if(!a.has(e)){const n=f(R,t),r=Object.create(null),i=M.bind(c,e);let u=s;const l=Object.create(null),d=(e,t)=>{const n=l[e]||[];return l[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},g=(t,n,r)=>{e.set(t,n);const o=l[t];if(o)for(const e of o)e(n,r)},p=()=>{if(!a.has(e)&&(a.set(e,[r,Object.create(null),Object.create(null),Object.create(null),i,g,d]),!T)){const t=n.initFocus(setTimeout.bind(c,W.bind(c,r,o.CC))),i=n.initReconnect(setTimeout.bind(c,W.bind(c,r,o.jB)));u=()=>{t&&t(),i&&i(),a.delete(e)}}};return p(),[e,i,p,u]}return[e,a.get(e)[4]]},[U,$]=B(new Map),z=f({onLoadingSlow:s,onSuccess:s,onError:s,onErrorRetry:(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!l(i)&&a>i||setTimeout(r,s,o)},onDiscarded:s,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:V?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:V?5e3:3e3,compare:function e(t,n){var r,o;if(t===n)return!0;if(t&&n&&(r=t.constructor)===n.constructor){if(r===Date)return t.getTime()===n.getTime();if(r===RegExp)return t.toString()===n.toString();if(r===Array){if((o=t.length)===n.length)for(;o--&&e(t[o],n[o]););return-1===o}if(!r||"object"==typeof t){for(r in o=0,t){if(i.call(t,r)&&++o&&!i.call(n,r))return!1;if(!(r in n)||!e(t[r],n[r]))return!1}return Object.keys(n).length===o}}return t!=t&&n!=n},isPaused:()=>!1,cache:U,mutate:$,fallback:{}},E),H=(e,t)=>{const n=f(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=f(o,a))}return n},J=(0,r.createContext)({}),N=e=>{const{value:t}=e,n=(0,r.useContext)(J),o=d(t),i=(0,r.useMemo)((()=>o?t(n):t),[o,n,t]),a=(0,r.useMemo)((()=>o?i:H(n,i)),[o,n,i]),s=i&&i.provider,u=(0,r.useRef)(c);s&&!u.current&&(u.current=B(s(a.cache||U),i));const l=u.current;return l&&(a.cache=l[0],a.mutate=l[1]),L((()=>{if(l)return l[2]&&l[2](),l[3]}),[]),(0,r.createElement)(J.Provider,f(e,{value:a}))}},35430:(e,t,n)=>{n.d(t,{q:()=>r});const r="$inf$"},58493:(e,t,n)=>{var r=n(16072),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,c=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,l=r[1];return s((function(){o.value=n,o.getSnapshot=t,u(o)&&l({inst:o})}),[e,n,t]),a((function(){return u(o)&&l({inst:o}),e((function(){u(o)&&l({inst:o})}))}),[e]),c(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l},92177:(e,t,n)=>{n.d(t,{Ay:()=>f,BE:()=>d});var r=n(16072),o=n(19888),i=n(27804),a=n(11496),s=n(14993);const c=()=>{};c(),new WeakMap;const u=r.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e}}),l={dedupe:!0},d=i.O.defineProperty(i.g,"defaultValue",{value:i.d}),f=(0,s.qm)(((e,t,n)=>{const{cache:c,compare:d,suspense:f,fallbackData:g,revalidateOnMount:p,revalidateIfStale:h,refreshInterval:v,refreshWhenHidden:w,refreshWhenOffline:y,keepPreviousData:b}=n,[m,O,S,_]=i.b.get(c),[E,R]=(0,i.s)(e),k=(0,r.useRef)(!1),T=(0,r.useRef)(!1),C=(0,r.useRef)(E),L=(0,r.useRef)(t),j=(0,r.useRef)(n),V=()=>j.current,D=()=>V().isVisible()&&V().isOnline(),[I,x,P,q]=(0,i.z)(c,E),A=(0,r.useRef)({}).current,F=(0,i.e)(g)?(0,i.e)(n.fallback)?i.U:n.fallback[E]:g,M=(e,t)=>{for(const n in A){const r=n;if("data"===r){if(!d(e[r],t[r])){if(!(0,i.e)(e[r]))return!1;if(!d(G,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},W=(0,r.useMemo)((()=>{const e=!!E&&!!t&&((0,i.e)(p)?!V().isPaused()&&!f&&!1!==h:p),n=t=>{const n=(0,i.m)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=I(),o=q(),a=n(r),s=r===o?a:n(o);let c=a;return[()=>{const e=n(I());return M(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>s]}),[c,E]),B=(0,o.useSyncExternalStore)((0,r.useCallback)((e=>P(E,((t,n)=>{M(n,t)||e()}))),[c,E]),W[0],W[1]),U=!k.current,$=m[E]&&m[E].length>0,z=B.data,H=(0,i.e)(z)?F&&(0,i.B)(F)?u(F):F:z,J=B.error,N=(0,r.useRef)(H),G=b?(0,i.e)(z)?(0,i.e)(N.current)?H:N.current:z:H,K=!($&&!(0,i.e)(J))&&(U&&!(0,i.e)(p)?p:!V().isPaused()&&(f?!(0,i.e)(H)&&h:(0,i.e)(H)||h)),Q=!!(E&&t&&U&&K),X=(0,i.e)(B.isValidating)?Q:B.isValidating,Y=(0,i.e)(B.isLoading)?Q:B.isLoading,Z=(0,r.useCallback)((async e=>{const t=L.current;if(!E||!t||T.current||V().isPaused())return!1;let r,o,s=!0;const c=e||{},u=!S[E]||!c.dedupe,l=()=>i.I?!T.current&&E===C.current&&k.current:E===C.current,f={isValidating:!1,isLoading:!1},g=()=>{x(f)},p=()=>{const e=S[E];e&&e[1]===o&&delete S[E]},h={isValidating:!0};(0,i.e)(I().data)&&(h.isLoading=!0);try{if(u&&(x(h),n.loadingTimeout&&(0,i.e)(I().data)&&setTimeout((()=>{s&&l()&&V().onLoadingSlow(E,n)}),n.loadingTimeout),S[E]=[t(R),(0,i.o)()]),[r,o]=S[E],r=await r,u&&setTimeout(p,n.dedupingInterval),!S[E]||S[E][1]!==o)return u&&l()&&V().onDiscarded(E),!1;f.error=i.U;const e=O[E];if(!(0,i.e)(e)&&(o<=e[0]||o<=e[1]||0===e[1]))return g(),u&&l()&&V().onDiscarded(E),!1;const a=I().data;f.data=d(a,r)?a:r,u&&l()&&V().onSuccess(r,E,n)}catch(e){p();const t=V(),{shouldRetryOnError:n}=t;t.isPaused()||(f.error=e,u&&l()&&(t.onError(e,E,t),(!0===n||(0,i.a)(n)&&n(e))&&(V().revalidateOnFocus&&V().revalidateOnReconnect&&!D()||t.onErrorRetry(e,E,t,(e=>{const t=m[E];t&&t[0]&&t[0](a.I0,e)}),{retryCount:(c.retryCount||0)+1,dedupe:!0}))))}return s=!1,g(),!0}),[E,c]),ee=(0,r.useCallback)(((...e)=>(0,i.n)(c,C.current,...e)),[]);if((0,i.u)((()=>{L.current=t,j.current=n,(0,i.e)(z)||(N.current=z)})),(0,i.u)((()=>{if(!E)return;const e=Z.bind(i.U,l);let t=0;if(V().revalidateOnFocus){const e=Date.now();t=e+V().focusThrottleInterval}const n=(0,s.aw)(E,m,((n,r={})=>{if(n==a.CC){const n=Date.now();V().revalidateOnFocus&&n>t&&D()&&(t=n+V().focusThrottleInterval,e())}else if(n==a.jB)V().revalidateOnReconnect&&D()&&e();else{if(n==a.q2)return Z();if(n==a.I0)return Z(r)}}));return T.current=!1,C.current=E,k.current=!0,x({_k:R}),K&&((0,i.e)(H)||i.r?e():(0,i.t)(e)),()=>{T.current=!0,n()}}),[E]),(0,i.u)((()=>{let e;function t(){const t=(0,i.a)(v)?v(I().data):v;t&&-1!==e&&(e=setTimeout(n,t))}function n(){I().error||!w&&!V().isVisible()||!y&&!V().isOnline()?t():Z(l).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[v,w,y,E]),(0,r.useDebugValue)(G),f&&(0,i.e)(H)&&E){if(!i.I&&i.r)throw new Error("Fallback data is required when using Suspense in SSR.");L.current=t,j.current=n,T.current=!1;const e=_[E];if(!(0,i.e)(e)){const t=ee(e);u(t)}if(!(0,i.e)(J))throw J;{const e=Z(l);(0,i.e)(G)||(e.status="fulfilled",e.value=!0),u(e)}}return{mutate:ee,get data(){return A.data=!0,G},get error(){return A.error=!0,J},get isValidating(){return A.isValidating=!0,X},get isLoading(){return A.isLoading=!0,Y}}}))}}]);
package/dist/2177.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"2177.js","mappings":";oMAAA,MAAMA,EAAc,EACdC,EAAkB,EAClBC,EAAe,EACfC,EAAyB,qGCO/B,MAAMC,EAAiB,EAAAC,GAAmBC,OAAOC,qBAC3CC,EAAMJ,EAAiBE,OAAOC,qBAAuB,GAQrDE,EAAaC,IACR,OAAWA,EAAK,IAAM,CACzBA,EAAK,GACLA,EAAK,GACLA,EAAK,IAAM,CAAC,GACZ,CACAA,EAAK,GACL,MACa,OAAZA,EAAK,GAAcA,EAAK,GAAKA,EAAK,KAAO,CAAC,GAI7CC,EAAe,KACV,IAAAC,GAAa,EAAAC,GAAe,IAAAC,YAAW,EAAAC,IA8B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ChB,GACF,CACCvT,KAGJ,IAAAkT,IAA0B,KACtB,IAAIM,EACJ,SAAS5S,IAGL,MAAM6S,GAAW,OAAa/D,GAAmBA,EAAgBY,IAAWzH,MAAQ6G,EAIhF+D,IAAuB,IAAXD,IACZA,EAAQzO,WAAW2O,EAASD,GAEpC,CACA,SAASC,IAGApD,IAAWxH,QAAU6G,IAAqBS,IAAYhM,cAAiBwL,IAAsBQ,IAAYjM,WAI1GvD,IAHA+G,EAAWwH,GAAapM,KAAKnC,EAKrC,CAEA,OADAA,IACO,KACC4S,IACAG,aAAaH,GACbA,GAAS,EACb,CACH,GACF,CACC9D,EACAC,EACAC,EACA5P,KAGJ,IAAAqO,eAAcyC,GAKVvB,IAAY,OAAc1G,IAAS7I,EAAK,CAIxC,IAAK,EAAAwS,GAAmB,IACpB,MAAM,IAAIoB,MAAM,yDAGpB1D,EAAWvC,QAAU5M,EACrBoP,EAAUxC,QAAU5N,EACpBiQ,EAAarC,SAAU,EACvB,MAAMrN,EAAMJ,EAAQF,GACpB,KAAK,OAAcM,GAAM,CACrB,MAAMuT,EAAUZ,GAAY3S,GAC5BpB,EAAI2U,EACR,CACA,KAAI,OAAc/K,GAQd,MAAMA,EARgB,CACtB,MAAM+K,EAAUlM,EAAWwH,IACtB,OAAc2B,KACf+C,EAAQ7E,OAAS,YACjB6E,EAAQjO,OAAQ,GAEpB1G,EAAI2U,EACR,CAGJ,CAoBA,MAnBoB,CAChBhK,OAAQoJ,GACR,QAAIpK,GAEA,OADA6H,EAAkB7H,MAAO,EAClBiI,CACX,EACA,SAAIhI,GAEA,OADA4H,EAAkB5H,OAAQ,EACnBA,CACX,EACA,gBAAIoI,GAEA,OADAR,EAAkBQ,cAAe,EAC1BA,CACX,EACA,aAAIC,GAEA,OADAT,EAAkBS,WAAY,EACvBA,CACX,EAEc","sources":["webpack://@openmrs/esm-dispensing-app/./node_modules/swr/dist/_internal/events.mjs","webpack://@openmrs/esm-dispensing-app/./node_modules/swr/dist/_internal/index.mjs","webpack://@openmrs/esm-dispensing-app/./node_modules/use-sync-external-store/shim/index.js","webpack://@openmrs/esm-dispensing-app/./node_modules/dequal/lite/index.mjs","webpack://@openmrs/esm-dispensing-app/./node_modules/swr/dist/_internal/config-context-client-v7VOFo66.mjs","webpack://@openmrs/esm-dispensing-app/./node_modules/swr/dist/_internal/constants.mjs","webpack://@openmrs/esm-dispensing-app/./node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","webpack://@openmrs/esm-dispensing-app/./node_modules/swr/dist/index/index.mjs"],"names":["FOCUS_EVENT","RECONNECT_EVENT","MUTATE_EVENT","ERROR_REVALIDATE_EVENT","enableDevtools","i","window","__SWR_DEVTOOLS_USE__","use","normalize","args","useSWRConfig","m","d","useContext","S","BUILT_IN_MIDDLEWARE","concat","useSWRNext","key_","fetcher_","config","key","s","PRELOAD","get","c","startsWith","req","withArgs","hook","fallbackConfig","fn","_config","next","middleware","length","fetcher","subscribeCallback","callbacks","callback","keyedRevalidators","push","index","indexOf","pop","withMiddleware","useSWR","uses","__SWR_DEVTOOLS_REACT__","module","exports","has","Object","prototype","hasOwnProperty","SWRGlobalState","WeakMap","noop","UNDEFINED","OBJECT","isUndefined","v","isFunction","mergeObjects","a","b","isPromiseLike","x","then","EMPTY_CACHE","INITIAL_CACHE","STR_UNDEFINED","isWindowDefined","isDocumentDefined","document","isLegacyDeno","createCacheHelper","cache","state","info","prev","online","onWindowEvent","offWindowEvent","addEventListener","bind","removeEventListener","preset","isOnline","isVisible","visibilityState","defaultConfigOptions","initFocus","initReconnect","onOnline","onOffline","IS_REACT_LEGACY","IS_SERVER","rAF","f","setTimeout","useIsomorphicLayoutEffect","useEffect","useLayoutEffect","navigatorConnection","navigator","connection","slowConnection","includes","effectiveType","saveData","table","isObjectType","value","type","toString","call","counter","stableHash","arg","isDate","isRegex","isPlainObject","result","toJSON","JSON","stringify","set","Array","isArray","keys","sort","serialize","err","__timestamp","getTimestamp","async","internalMutate","_key","_data","_opts","options","populateCache","throwOnError","revalidate","rollbackOnErrorOption","rollbackOnError","optimisticData","keyFilter","matchedKeys","it","test","_k","Promise","all","map","mutateByKey","EVENT_REVALIDATORS","MUTATION","FETCH","startRevalidate","revalidators","data","error","beforeMutationTs","hasOptimisticData","displayedData","currentData","_c","committedData","catch","populateCachedData","resolve","revalidateAllKeys","initCache","provider","opts","create","mutate","unmount","subscriptions","subscribe","subs","splice","setter","initProvider","releaseFocus","releaseReconnect","delete","Map","defaultConfig","onLoadingSlow","onSuccess","onError","onErrorRetry","_","__","maxRetryCount","errorRetryCount","currentRetryCount","retryCount","timeout","Math","random","errorRetryInterval","onDiscarded","revalidateOnFocus","revalidateOnReconnect","revalidateIfStale","shouldRetryOnError","focusThrottleInterval","dedupingInterval","loadingTimeout","compare","dequal","foo","bar","ctor","len","constructor","Date","getTime","RegExp","isPaused","fallback","mergeConfigs","u1","f1","u2","f2","SWRConfigContext","createContext","SWRConfig","props","parentConfig","isFunctionalConfig","useMemo","extendedConfig","cacheContextRef","useRef","current","cacheContext","createElement","Provider","INFINITE_PREFIX","React","objectIs","is","y","useState","useDebugValue","checkIfSnapshotChanged","inst","latestGetSnapshot","getSnapshot","nextValue","shim","_useState","forceUpdate","useSyncExternalStore","thenable","status","reason","e","WITH_DEDUPE","dedupe","O","defineProperty","suspense","fallbackData","revalidateOnMount","refreshInterval","refreshWhenHidden","refreshWhenOffline","keepPreviousData","fnArg","initialMountedRef","unmountedRef","keyRef","fetcherRef","configRef","getConfig","isActive","getCache","setCache","subscribeCache","getInitialCache","stateDependencies","U","isEqual","t","returnedData","shouldStartRequest","getSelectedCache","snapshot","isValidating","isLoading","cachedData","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","cached","useCallback","isInitialMount","hasRevalidator","laggyDataRef","shouldDoInitialRevalidation","defaultValidatingState","revalidateOpts","currentFetcher","newData","startAt","loading","shouldStartNewRequest","callbackSafeguard","I","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","mutationInfo","cacheData","currentConfig","boundMutate","u","softRevalidate","nextFocusRevalidatedAt","initNow","now","unsubEvents","timer","interval","execute","clearTimeout","Error","promise"],"sourceRoot":""}
1
+ {"version":3,"file":"2177.js","mappings":";oMAAA,MAAMA,EAAc,EACdC,EAAkB,EAClBC,EAAe,EACfC,EAAyB,4FCO/B,MAAMC,EAAiB,EAAAC,GAAmBC,OAAOC,qBAC3CC,EAAMJ,EAAiBE,OAAOC,qBAAuB,GAQrDE,EAAaC,IACR,OAAWA,EAAK,IAAM,CACzBA,EAAK,GACLA,EAAK,GACLA,EAAK,IAAM,CAAC,GACZ,CACAA,EAAK,GACL,MACa,OAAZA,EAAK,GAAcA,EAAK,GAAKA,EAAK,KAAO,CAAC,GAmC7CC,EAAsBH,EAAII,QAlBZC,GAAa,CAACC,EAAMC,EAAUC,IAenCH,EAAWC,EAbFC,GAAY,KAAKL,KAC7B,MAAOO,IAAO,IAAAC,GAAUJ,IACjB,CAAE,CAAE,CAAEK,GAAW,IAAeC,IAAI,EAAAC,GAC3C,GAAIJ,EAAIK,WAAW,KAGf,OAAOP,KAAYL,GAEvB,MAAMa,EAAMJ,EAAQF,GACpB,OAAI,OAAYM,GAAaR,KAAYL,WAClCS,EAAQF,GACRM,EACV,GACgCP,KAOnCQ,EAAYC,GACP,YAAuBf,GAE1B,MAAMgB,GArCH,IAAAC,GAAa,EAAAC,GAAe,IAAAC,YAAW,EAAAC,KAuCnCb,EAAKc,EAAIC,GAAWvB,EAAUC,GAE/BM,GAAS,OAAaU,EAAgBM,GAE5C,IAAIC,EAAOR,EACX,MAAM,IAAEjB,GAAQQ,EACVkB,GAAc1B,GAAO,IAAII,OAAOD,GACtC,IAAI,IAAIN,EAAI6B,EAAWC,OAAQ9B,KAC3B4B,EAAOC,EAAW7B,GAAG4B,GAEzB,OAAOA,EAAKhB,EAAKc,GAAMf,EAAOoB,SAAW,KAAMpB,EACnD,EAKEqB,EAAoB,CAACpB,EAAKqB,EAAWC,KACvC,MAAMC,EAAoBF,E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GAQd,MAAMA,EARgB,CACtB,MAAM+K,EAAUlM,EAAWwH,IACtB,OAAc2B,KACf+C,EAAQ7E,OAAS,YACjB6E,EAAQjO,OAAQ,GAEpBzG,EAAI0U,EACR,CAGJ,CAoBA,MAnBoB,CAChBhK,OAAQoJ,GACR,QAAIpK,GAEA,OADA6H,EAAkB7H,MAAO,EAClBiI,CACX,EACA,SAAIhI,GAEA,OADA4H,EAAkB5H,OAAQ,EACnBA,CACX,EACA,gBAAIoI,GAEA,OADAR,EAAkBQ,cAAe,EAC1BA,CACX,EACA,aAAIC,GAEA,OADAT,EAAkBS,WAAY,EACvBA,CACX,EAEc","sources":["webpack://@openmrs/esm-dispensing-app/./node_modules/swr/dist/_internal/events.mjs","webpack://@openmrs/esm-dispensing-app/./node_modules/swr/dist/_internal/index.mjs","webpack://@openmrs/esm-dispensing-app/./node_modules/use-sync-external-store/shim/index.js","webpack://@openmrs/esm-dispensing-app/./node_modules/dequal/lite/index.mjs","webpack://@openmrs/esm-dispensing-app/./node_modules/swr/dist/_internal/config-context-client-v7VOFo66.mjs","webpack://@openmrs/esm-dispensing-app/./node_modules/swr/dist/_internal/constants.mjs","webpack://@openmrs/esm-dispensing-app/./node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","webpack://@openmrs/esm-dispensing-app/./node_modules/swr/dist/index/index.mjs"],"names":["FOCUS_EVENT","RECONNECT_EVENT","MUTATE_EVENT","ERROR_REVALIDATE_EVENT","enableDevtools","i","window","__SWR_DEVTOOLS_USE__","use","normalize","args","BUILT_IN_MIDDLEWARE","concat","useSWRNext","key_","fetcher_","config","key","s","PRELOAD","get","c","startsWith","req","withArgs","hook","fallbackConfig","m","d","useContext","S","fn","_config","next","middleware","length","fetcher","subscribeCallback","callbacks","callback","keyedRevalidators","push","index","indexOf","pop","withMiddleware","useSWR","uses","__SWR_DEVTOOLS_REACT__","module","exports","has","Object","prototype","hasOwnProperty","SWRGlobalState","WeakMap","noop","UNDEFINED","OBJECT","isUndefined","v","isFunction","mergeObjects","a","b","isPromiseLike","x","then","EMPTY_CACHE","INITIAL_CACHE","STR_UNDEFINED","isWindowDefined","isDocumentDefined","document","isLegacyDeno","createCacheHelper","cache","state","info","prev","online","onWindowEvent","offWindowEvent","addEventListener","bind","removeEventListener","preset","isOnline","isVisible","visibilityState","defaultConfigOptions","initFocus","initReconnect","onOnline","onOffline","IS_REACT_LEGACY","IS_SERVER","rAF","f","setTimeout","useIsomorphicLayoutEffect","useEffect","useLayoutEffect","navigatorConnection","navigator","connection","slowConnection","includes","effectiveType","saveData","table","isObjectType","value","type","toString","call","counter","stableHash","arg","isDate","isRegex","isPlainObject","result","toJSON","JSON","stringify","set","Array","isArray","keys","sort","serialize","err","__timestamp","getTimestamp","async","internalMutate","_key","_data","_opts","options","populateCache","throwOnError","revalidate","rollbackOnErrorOption","rollbackOnError","optimisticData","keyFilter","matchedKeys","it","test","_k","Promise","all","map","mutateByKey","EVENT_REVALIDATORS","MUTATION","FETCH","startRevalidate","revalidators","data","error","beforeMutationTs","hasOptimisticData","displayedData","currentData","_c","committedData","catch","populateCachedData","resolve","revalidateAllKeys","initCache","provider","opts","create","mutate","unmount","subscriptions","subscribe","subs","splice","setter","initProvider","releaseFocus","releaseReconnect","delete","Map","defaultConfig","onLoadingSlow","onSuccess","onError","onErrorRetry","_","__","maxRetryCount","errorRetryCount","currentRetryCount","retryCount","timeout","Math","random","errorRetryInterval","onDiscarded","revalidateOnFocus","revalidateOnReconnect","revalidateIfStale","shouldRetryOnError","focusThrottleInterval","dedupingInterval","loadingTimeout","compare","dequal","foo","bar","ctor","len","constructor","Date","getTime","RegExp","isPaused","fallback","mergeConfigs","u1","f1","u2","f2","SWRConfigContext","createContext","SWRConfig","props","parentConfig","isFunctionalConfig","useMemo","extendedConfig","cacheContextRef","useRef","current","cacheContext","createElement","Provider","INFINITE_PREFIX","React","objectIs","is","y","useState","useDebugValue","checkIfSnapshotChanged","inst","latestGetSnapshot","getSnapshot","nextValue","shim","_useState","forceUpdate","useSyncExternalStore","thenable","status","reason","e","WITH_DEDUPE","dedupe","O","defineProperty","suspense","fallbackData","revalidateOnMount","refreshInterval","refreshWhenHidden","refreshWhenOffline","keepPreviousData","fnArg","initialMountedRef","unmountedRef","keyRef","fetcherRef","configRef","getConfig","isActive","getCache","setCache","subscribeCache","getInitialCache","stateDependencies","U","isEqual","t","returnedData","shouldStartRequest","getSelectedCache","snapshot","isValidating","isLoading","cachedData","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","cached","useCallback","isInitialMount","hasRevalidator","laggyDataRef","shouldDoInitialRevalidation","defaultValidatingState","revalidateOpts","currentFetcher","newData","startAt","loading","shouldStartNewRequest","callbackSafeguard","I","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","mutationInfo","cacheData","currentConfig","boundMutate","u","softRevalidate","nextFocusRevalidatedAt","initNow","now","unsubEvents","timer","interval","execute","clearTimeout","Error","promise"],"sourceRoot":""}
package/dist/2690.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_dispensing_app=globalThis.webpackChunk_openmrs_esm_dispensing_app||[]).push([[2690],{72690:e=>{e.exports=JSON.parse('{"active":"Aktif","activecondition":"Kondisi Aktif","activeConditions":"Kondisi Aktif","activePrescriptions":"Resep aktif","age":"Usia","allergiesCount_one":"{{count}} alergi","allergiesCount_other":"{{count}} alergi","allPrescriptions":"Semua resep","appName":"Farmasi","cancelled":"Dibatalkan","checkFilters":"Periksa filter di atas","clearSearchInput":"Hapus pencarian","close":"Tutup","closed":"Ditutup","closedDispense":"penyerahan ditutup","closePrescription":"Tutup resep","completed":"Selesai","completeOrderWithThisDispense":"Complete order with this dispense","conditions":"Kondisi","conditionsAndDiagnoses":"Kondisi dan diagnosis","couldNotDeleteMedicationDispense":"Could not delete medication dispense","couldNotUpdateMedicationRequestStatus":"Could not update medication request status","created":"Dibuat","datePrescribed":"Tanggal diresepkan","delete":"Hapus","deleteDispenseRecord":"Delete Dispense Record","deleteDispenseRecordMessage":"Are you sure you want to delete this dispense record?","deleteFailed":"Delete Failed","diagnosis":"Diagnosis","dispense":"Serahkan","dispensed":"Telah diserahkan","dispenseDate":"Tanggal Penyerahan","dispensedBy":"Diserahkan oleh","dispensedMedication":"obat yang diserahkan","dispensePrescription":"Serahkan resep","dispensing":"Penyerahan","dispensingAppError":"Error Aplikasi Penyerahan","dispensingAppMisconfigurationMessage":"Harap hubungi administrator sistem: Konfigurasi salah - \'restrictTotalQuantityDispensed\' tidak dapat diaktifkan jika \'allowModifyingPrescription\' diaktifkan.","dose":"Dosis","doseUnit":"Satuan dosis","drugDispensingUnit":"Unit penyerahan obat","drugs":"Obat-obatan","editCloseRecord":"Edit Close Record","editDispenseRecord":"Edit Rekaman Penyerahan","editPauseRecord":"Edit Rekaman Jeda","editRecord":"Edit Rekaman","error":"Kesalahan","errorLoadingInventoryItems":"Gagal mengambil item inventaris","expired":"Kadaluarsa","filterByLocation":"Filter berdasarkan lokasi","finalDiagnoses":"Diagnosis Akhir","for":"untuk","frequency":"Frekuensi","historyComments":"Riwayat dan komentar","home":"Beranda","last14Days":"14 hari terakhir","lastDispenser":"Penyerah terakhir","loadingInventoryItems":"Memuat item inventaris...","location":"Lokasi","medicationDispenseActionMenu":"Menu Aksi Penyerahan Obat","medicationDispenseDeleted":"Medication dispense was deleted successfully","medicationFormulation":"Medication Formulation","medicationListUpdated":"Daftar penyerahan obat telah diperbarui.","missedCollections":"Pengambilan terlewat","noAllergyDetailsFound":"Tidak ditemukan detail alergi","noPrescriptionsToDisplay":"Tidak ada resep untuk ditampilkan","noRefills":"Tidak ada isi ulang","numberIsNotValid":"Nomor tidak valid","onsetDate":"Tanggal Mulai","ordered":"Dipesan","orderedMedication ":"obat yang dipesan","orders":"Pesanan","ordersForHomeDelivery":"Pesanan untuk pengiriman ke rumah","patientInstructions":"Instruksi pasien","patientName":"Nama pasien","pause":"Jeda","paused":"Dijeda","pausedDispense":"penyerahan dijeda","pausePrescription":"Jeda resep","prescribed":"Diresepkan","prescribedBy":"Prescribed By","prescriber":"Peresep","prescriptionCompleted":"Prescription completed","prescriptionCompletedSuccessfully":"Medication dispensed and prescription marked as completed","prescriptionDetails":"Detail resep","prescriptionInstructions":"Instruksi resep","prescriptionsToFillToday":"Resep yang harus dipenuhi hari ini","print":"Cetak","printPrescriptions":"Cetak resep","quantity":"Kuantitas","quantityDispensed":"Quantity Dispensed","quantityPrescribed":"Quantity Prescribed","quantityRemaining":"Quantity Remaining to Dispense","reasonForClose":"Alasan penutupan","reasonForPause":"Alasan jeda","refills":"Isi ulang","route":"Rute","search":"Search","searchByPatientIdOrName":"Cari berdasarkan ID atau nama pasien","searchForPatient":"Search for a patient by name or identifier number","searchForPatientHeader":"Search for a patient","selectPrescriptions":"Pilih resep untuk dicetak","selectStockDispense":"Pilih stok untuk diserahkan","status":"Status","stockDispense":"Penyerahan Stok","stockDispensed":"Stok diserahkan","stockDispenseDetails":"Batch: {{batchNumber}} - Kuantitas: {{quantity}} ({{quantityUoM}}) - Kedaluwarsa: {{expiration}}","stockDispensedSuccessfully":"Stok berhasil diserahkan dan level batch diperbarui.","substitutionReason":"Alasan substitusi","substitutionType":"Jenis substitusi","success":"Success","tabList":"Daftar Tab","today":"Hari ini","updateStatusFailed":"Update Status Failed","view":"Lihat","visitFinalDiagnoses":"Diagnosis akhir kunjungan"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_dispensing_app=globalThis.webpackChunk_openmrs_esm_dispensing_app||[]).push([[2690],{72690:e=>{e.exports=JSON.parse('{"active":"Aktif","activeConditions":"Active conditions","activeConditionsEmpty":"active conditions","activePrescriptions":"Resep aktif","age":"Usia","allergiesCount_one":"{{count}} alergi","allergiesCount_other":"{{count}} alergi","allPrescriptions":"Semua resep","appName":"Farmasi","cancelled":"Dibatalkan","checkFilters":"Periksa filter di atas","clearSearchInput":"Hapus pencarian","close":"Tutup","closed":"Ditutup","closedDispense":"penyerahan ditutup","closePrescription":"Tutup resep","completed":"Selesai","completeOrderWithThisDispense":"Complete order with this dispense","conditions":"Kondisi","conditionsAndDiagnoses":"Kondisi dan diagnosis","couldNotDeleteMedicationDispense":"Could not delete medication dispense","couldNotUpdateMedicationRequestStatus":"Could not update medication request status","created":"Dibuat","datePrescribed":"Tanggal diresepkan","delete":"Hapus","deleteDispenseRecord":"Delete Dispense Record","deleteDispenseRecordMessage":"Are you sure you want to delete this dispense record?","deleteFailed":"Delete Failed","diagnoses":"Diagnoses","diagnosesEmpty":"diagnoses","diagnosis":"Diagnosis","dispense":"Serahkan","dispensed":"Telah diserahkan","dispenseDate":"Tanggal Penyerahan","dispensedBy":"Diserahkan oleh","dispensedMedication":"obat yang diserahkan","dispensePrescription":"Serahkan resep","dispensing":"Penyerahan","dispensingAppError":"Error Aplikasi Penyerahan","dispensingAppMisconfigurationMessage":"Harap hubungi administrator sistem: Konfigurasi salah - \'restrictTotalQuantityDispensed\' tidak dapat diaktifkan jika \'allowModifyingPrescription\' diaktifkan.","dose":"Dosis","doseUnit":"Satuan dosis","drugDispensingUnit":"Unit penyerahan obat","drugHelpText":"You may edit the formulation and quantity dispensed here","drugHelpTextNoEdit":"You may edit quantity dispensed here","drugs":"Obat-obatan","editCloseRecord":"Edit Close Record","editDispenseRecord":"Edit Rekaman Penyerahan","editFormulation":"Edit formulation","editPauseRecord":"Edit Rekaman Jeda","editRecord":"Edit Rekaman","error":"Kesalahan","errorLoadingAllergies":"Error loading allergies","errorLoadingHistory":"Error loading history","errorLoadingInventoryItems":"Gagal mengambil item inventaris","errorLoadingPrescriptionDetails":"Error loading prescription details","errorLoadingPrescriptions":"Error loading prescriptions","expired":"Kadaluarsa","fillPrescription":"Fill prescription","fillPrescriptionForPatient":"Fill prescription for patient","filterByLocations":"Filter by locations","for":"untuk","freeTextDosage":"Free text dosage","frequency":"Frekuensi","historyComments":"Riwayat dan komentar","home":"Beranda","last14Days":"14 hari terakhir","lastDispenser":"Penyerah terakhir","loadingInventoryItems":"Memuat item inventaris...","location":"Lokasi","medicationDispenseActionMenu":"Menu Aksi Penyerahan Obat","medicationDispenseDeleted":"Medication dispense was deleted successfully","medicationFormulation":"Medication Formulation","medicationListUpdated":"Daftar penyerahan obat telah diperbarui.","missedCollections":"Pengambilan terlewat","noAllergyDetailsFound":"Tidak ditemukan detail alergi","noHistoryFound":"No history found","noPrescriptionsFound":"No prescriptions found","noPrescriptionsToDisplay":"Tidak ada resep untuk ditampilkan","noRefills":"Tidak ada isi ulang","numberIsNotValid":"Nomor tidak valid","onsetDate":"Onset date","ordered":"Dipesan","orderedMedication":"ordered medication","orders":"Pesanan","ordersForHomeDelivery":"Pesanan untuk pengiriman ke rumah","patientInstructions":"Instruksi pasien","patientName":"Nama pasien","pause":"Jeda","paused":"Dijeda","pausedDispense":"penyerahan dijeda","pausePrescription":"Jeda resep","prescribed":"Diresepkan","prescribedBy":"Prescribed By","prescriber":"Peresep","prescriptionCompleted":"Prescription completed","prescriptionCompletedSuccessfully":"Medication dispensed and prescription marked as completed","prescriptionDetails":"Detail resep","prescriptionInstructions":"Instruksi resep","prescriptionsToFillToday":"Resep yang harus dipenuhi hari ini","print":"Cetak","printPrescriptions":"Cetak resep","quantity":"Kuantitas","quantityDispensed":"Quantity Dispensed","quantityPrescribed":"Quantity Prescribed","quantityRemaining":"Quantity Remaining to Dispense","reasonForClose":"Alasan penutupan","reasonForPause":"Alasan jeda","refills":"Isi ulang","route":"Rute","search":"Search","searchByPatientIdOrName":"Cari berdasarkan ID atau nama pasien","searchForPatient":"Search for a patient by name or identifier number","searchForPatientHeader":"Search for a patient","selectPrescriptions":"Pilih resep untuk dicetak","selectStockDispense":"Pilih stok untuk diserahkan","status":"Status","stockDispense":"Penyerahan Stok","stockDispensed":"Stok diserahkan","stockDispenseDetails":"Batch: {{batchNumber}} - Kuantitas: {{quantity}} ({{quantityUoM}}) - Kedaluwarsa: {{expiration}}","stockDispensedSuccessfully":"Stok berhasil diserahkan dan level batch diperbarui.","substitutionReason":"Alasan substitusi","substitutionType":"Jenis substitusi","success":"Success","tabList":"Daftar Tab","today":"Hari ini","unknownAllergy":"Unknown allergy","updateStatusFailed":"Update Status Failed","view":"Lihat","visitRequired":"Visit required","visitRequiredForPatientToFillPrescription":"Visit required for patient to fill prescription"}')}}]);