@ampath/esm-dha-workflow-app 4.0.0-next.339 → 4.0.0-next.340
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/dist/1362.js +1 -1
- package/dist/1362.js.map +1 -1
- package/dist/347.js +1 -1
- package/dist/347.js.map +1 -1
- package/dist/5097.js +1 -1
- package/dist/5097.js.map +1 -1
- package/dist/esm-dha-workflow-app.js.buildmanifest.json +12 -12
- package/dist/main.js +1 -1
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/billing/workspaces/create-order-bill-form-workspace/create-order-bill-form.workspace.tsx +5 -5
- package/src/config-schema.ts +6 -1
- package/src/registry/modal/send-to-triage/send-to-queue.modal.tsx +2 -2
package/src/config-schema.ts
CHANGED
|
@@ -169,6 +169,10 @@ export const configSchema = {
|
|
|
169
169
|
_type: Type.ConceptUuid,
|
|
170
170
|
_default: "1be55f87-2931-41e0-89c8-8f5652c7c303"
|
|
171
171
|
},
|
|
172
|
+
shaVariantPaymentModeUuids: {
|
|
173
|
+
_type: Type.Array,
|
|
174
|
+
_default: ["1be55f87-2931-41e0-89c8-8f5652c7c303", "18763f02-16f7-4dfc-aff9-15b53eea20b2", "783ddd3c-52bb-489a-9b39-937eccc6c55c"]
|
|
175
|
+
},
|
|
172
176
|
cashPaymentModeUuid: {
|
|
173
177
|
_type: Type.ConceptUuid,
|
|
174
178
|
_default: "63eff7a4-6f82-43c4-a333-dbcc58fe9f74"
|
|
@@ -178,7 +182,7 @@ export const configSchema = {
|
|
|
178
182
|
_default: ["SHA-08-SC-02"]
|
|
179
183
|
},
|
|
180
184
|
startClaimVisitLocationAttributeUuid: {
|
|
181
|
-
|
|
185
|
+
_type: Type.String,
|
|
182
186
|
_default: "49df844d-79c0-40fc-8ca9-c27d6391f647"
|
|
183
187
|
},
|
|
184
188
|
pmfSchemeNames: {
|
|
@@ -246,6 +250,7 @@ export interface ConfigObject {
|
|
|
246
250
|
maternityDischargeFormUuid: string;
|
|
247
251
|
maternityDischargeEncounterTypeUuid: string;
|
|
248
252
|
shaPaymentModeUuid: string;
|
|
253
|
+
shaVariantPaymentModeUuids: Array<string>;
|
|
249
254
|
cashPaymentModeUuid: string;
|
|
250
255
|
subBenefitCodesWithHiddenClaimWidget: Array<string>;
|
|
251
256
|
startClaimVisitLocationAttributeUuid: string;
|
|
@@ -142,7 +142,7 @@ const SendToQueueModal: React.FC<SendToQueueModalProps> = ({
|
|
|
142
142
|
outPatientCareSettingUuid,
|
|
143
143
|
orderEncounterTypeUuid,
|
|
144
144
|
registrationServicequeues,
|
|
145
|
-
|
|
145
|
+
shaVariantPaymentModeUuids
|
|
146
146
|
} = useConfig<ConfigObject>();
|
|
147
147
|
|
|
148
148
|
const facilityCashPoints = useMemo(() => getfacilityCashpoints(), [cashPoints, locationUuid]);
|
|
@@ -609,7 +609,7 @@ const SendToQueueModal: React.FC<SendToQueueModalProps> = ({
|
|
|
609
609
|
return false;
|
|
610
610
|
}
|
|
611
611
|
if (paymentMode.trim().toUpperCase() === 'SHA') {
|
|
612
|
-
return selectedPaymentMode
|
|
612
|
+
return shaVariantPaymentModeUuids.includes(selectedPaymentMode);
|
|
613
613
|
}
|
|
614
614
|
return false;
|
|
615
615
|
}
|