@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.
- package/README.md +20 -0
- package/dist/1287.js +1 -0
- package/dist/1287.js.map +1 -0
- package/dist/2230.js +1 -1
- package/dist/2230.js.map +1 -1
- package/dist/229.js +1 -1
- package/dist/229.js.map +1 -1
- package/dist/3202.js +1 -1
- package/dist/3202.js.map +1 -1
- package/dist/347.js +1 -1
- package/dist/347.js.map +1 -1
- package/dist/5344.js +1 -1
- package/dist/5344.js.map +1 -1
- package/dist/6530.js +1 -1
- package/dist/6530.js.map +1 -1
- package/dist/7260.js +1 -1
- package/dist/7260.js.map +1 -1
- package/dist/7426.js +1 -1
- package/dist/7426.js.map +1 -1
- package/dist/7736.js +1 -1
- package/dist/esm-dha-workflow-app.js.buildmanifest.json +51 -51
- package/dist/main.js +1 -1
- package/dist/routes.json +1 -1
- package/local-config.json +5 -0
- package/package.json +3 -2
- package/src/billing/dashboard/v2/billing-claims-dashboard.component.tsx +8 -15
- package/src/billing/dashboard/v2/claim-visits/claim-intervention-details/claim-intervention-details.component.tsx +7 -4
- package/src/billing/dashboard/v2/claim-visits/claim-visit-details/claim-visit-details.component.tsx +7 -9
- package/src/billing/dashboard/v2/facility-bills/preauths-datatables/pending-preauths.component.tsx +2 -2
- package/src/billing/dashboard/v2/patient-bill-details/bill-details/bill-details.tsx +3 -164
- package/src/billing/dashboard/v2/patient-bill-details/workspaces/add-claim-line/add-claim-line.workspace.tsx +86 -10
- package/src/billing/dashboard/v2/preauth/preauth-list.component.tsx +21 -9
- package/src/billing/dashboard/v2/preauth/preauth.resource.ts +41 -1
- package/src/billing/dashboard/v2/preauth/preauth.workspace.tsx +251 -41
- package/src/billing/dashboard/v2/preauth/preauthorizations-tab.component.tsx +45 -0
- package/src/billing/workspaces/create-order-bill-form-workspace/create-order-bill-form.workspace.tsx +6 -5
- package/src/claims/claims.component.tsx +9 -16
- package/src/claims/claims.resource.ts +147 -10
- package/src/registry/hie.resource.ts +37 -0
- package/src/registry/modal/send-to-triage/send-to-queue.modal.tsx +4 -9
- package/src/registry/modal/send-to-triage/send-to-triage.modal.tsx +4 -9
- package/dist/8584.js +0 -1
- 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
|