fix: rename pre-auth PDF group title from "Claims Preauth" to "Preauth"
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -38,7 +38,7 @@ async function savePdfFromSelenium(
|
|||||||
const resp = await axios.get(localUrl, { responseType: "arraybuffer", timeout: 30000 });
|
const resp = await axios.get(localUrl, { responseType: "arraybuffer", timeout: 30000 });
|
||||||
|
|
||||||
const groupTitleKey = variant === "claim-pre-auth" ? "INSURANCE_CLAIM_PREAUTH" : "INSURANCE_CLAIM";
|
const groupTitleKey = variant === "claim-pre-auth" ? "INSURANCE_CLAIM_PREAUTH" : "INSURANCE_CLAIM";
|
||||||
const groupTitle = variant === "claim-pre-auth" ? "Claims Preauth" : "Claims";
|
const groupTitle = variant === "claim-pre-auth" ? "Preauth" : "Claims";
|
||||||
|
|
||||||
let group = await storage.findPdfGroupByPatientTitleKey(patientId, groupTitleKey);
|
let group = await storage.findPdfGroupByPatientTitleKey(patientId, groupTitleKey);
|
||||||
if (!group) {
|
if (!group) {
|
||||||
|
|||||||
@@ -339,7 +339,7 @@ router.post(
|
|||||||
|
|
||||||
const GROUP_TITLES: Record<GroupKey, string> = {
|
const GROUP_TITLES: Record<GroupKey, string> = {
|
||||||
INSURANCE_CLAIM: "Claims",
|
INSURANCE_CLAIM: "Claims",
|
||||||
INSURANCE_CLAIM_PREAUTH: "Claims Preauth",
|
INSURANCE_CLAIM_PREAUTH: "Preauth",
|
||||||
};
|
};
|
||||||
const groupTitle = GROUP_TITLES[groupTitleKey];
|
const groupTitle = GROUP_TITLES[groupTitleKey];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user