@ampath/esm-dha-workflow-app 4.0.0-claim-workflows.271 → 4.0.0-claim-workflows.272

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 (43) hide show
  1. package/README.md +20 -0
  2. package/dist/1287.js +1 -0
  3. package/dist/1287.js.map +1 -0
  4. package/dist/2230.js +1 -1
  5. package/dist/2230.js.map +1 -1
  6. package/dist/229.js +1 -1
  7. package/dist/229.js.map +1 -1
  8. package/dist/3202.js +1 -1
  9. package/dist/3202.js.map +1 -1
  10. package/dist/347.js +1 -1
  11. package/dist/347.js.map +1 -1
  12. package/dist/5344.js +1 -1
  13. package/dist/5344.js.map +1 -1
  14. package/dist/6530.js +1 -1
  15. package/dist/6530.js.map +1 -1
  16. package/dist/7260.js +1 -1
  17. package/dist/7260.js.map +1 -1
  18. package/dist/7426.js +1 -1
  19. package/dist/7426.js.map +1 -1
  20. package/dist/7736.js +1 -1
  21. package/dist/esm-dha-workflow-app.js.buildmanifest.json +51 -51
  22. package/dist/main.js +1 -1
  23. package/dist/routes.json +1 -1
  24. package/local-config.json +5 -0
  25. package/package.json +3 -2
  26. package/src/billing/dashboard/v2/billing-claims-dashboard.component.tsx +8 -15
  27. package/src/billing/dashboard/v2/claim-visits/claim-intervention-details/claim-intervention-details.component.tsx +7 -4
  28. package/src/billing/dashboard/v2/claim-visits/claim-visit-details/claim-visit-details.component.tsx +7 -9
  29. package/src/billing/dashboard/v2/facility-bills/preauths-datatables/pending-preauths.component.tsx +2 -2
  30. package/src/billing/dashboard/v2/patient-bill-details/bill-details/bill-details.tsx +3 -164
  31. package/src/billing/dashboard/v2/patient-bill-details/workspaces/add-claim-line/add-claim-line.workspace.tsx +86 -10
  32. package/src/billing/dashboard/v2/preauth/preauth-list.component.tsx +21 -9
  33. package/src/billing/dashboard/v2/preauth/preauth.resource.ts +41 -1
  34. package/src/billing/dashboard/v2/preauth/preauth.workspace.tsx +251 -41
  35. package/src/billing/dashboard/v2/preauth/preauthorizations-tab.component.tsx +45 -0
  36. package/src/billing/workspaces/create-order-bill-form-workspace/create-order-bill-form.workspace.tsx +6 -5
  37. package/src/claims/claims.component.tsx +9 -16
  38. package/src/claims/claims.resource.ts +147 -10
  39. package/src/registry/hie.resource.ts +37 -0
  40. package/src/registry/modal/send-to-triage/send-to-queue.modal.tsx +4 -9
  41. package/src/registry/modal/send-to-triage/send-to-triage.modal.tsx +4 -9
  42. package/dist/8584.js +0 -1
  43. package/dist/8584.js.map +0 -1
package/README.md CHANGED
@@ -17,6 +17,26 @@ yarn start # to run the dev server
17
17
 
18
18
  Once it is running, a browser window should open running the O3 reference application. Log in and then navigate to `/openmrs/spa/root`.
19
19
 
20
+ ## Local development — HIE / preauth
21
+
22
+ Claims and preauth API calls use config key `hieBaseUrl` (see `src/config-schema.ts`), resolved by `getHieBaseUrl()`. That URL should point at **amrs-integrations `hie-saf`**, which then calls DHA via its own `HIE_CLIAMS_BASE_URL`.
23
+
24
+ `yarn dev` loads [`local-config.json`](./local-config.json), which sets:
25
+
26
+ ```json
27
+ {
28
+ "@ampath/esm-dha-workflow-app": {
29
+ "hieBaseUrl": "http://localhost:3000"
30
+ }
31
+ }
32
+ ```
33
+
34
+ So preauth and other HIE proxy calls go to local hie-saf on port 3000. Use `yarn dev:remote-hie` to run without that override (remote o3-config only).
35
+
36
+ Keep `HIE_CLIAMS_BASE_URL` in `amrs-integrations/packages/hie-saf/.env` pointed at DHA UAT (or a mock). See that package’s `.env.example` and README.
37
+
38
+ Do not commit localhost as the schema `_default` for `hieBaseUrl`.
39
+
20
40
  ## Adapting the code
21
41
 
22
42
  1. Replace all instances of "template" with your frontend module's name