fix - groupName fixed
This commit is contained in:
@@ -125,7 +125,7 @@ router.post(
|
|||||||
responseType: "arraybuffer",
|
responseType: "arraybuffer",
|
||||||
});
|
});
|
||||||
|
|
||||||
const groupTitle = "Insurance Claim";
|
const groupTitle = "Claims";
|
||||||
const groupTitleKey = "INSURANCE_CLAIM";
|
const groupTitleKey = "INSURANCE_CLAIM";
|
||||||
|
|
||||||
// ✅ Find or create PDF group for this claim
|
// ✅ Find or create PDF group for this claim
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ router.post(
|
|||||||
if (result.pdf_path && result.pdf_path.endsWith(".pdf")) {
|
if (result.pdf_path && result.pdf_path.endsWith(".pdf")) {
|
||||||
const pdfBuffer = await fs.readFile(result.pdf_path);
|
const pdfBuffer = await fs.readFile(result.pdf_path);
|
||||||
|
|
||||||
const groupTitle = "Eligibility Status PDFs";
|
const groupTitle = "Eligibility Status";
|
||||||
const groupTitleKey = "ELIGIBILITY_STATUS";
|
const groupTitleKey = "ELIGIBILITY_STATUS";
|
||||||
|
|
||||||
let group = await storage.findPdfGroupByPatientTitleKey(
|
let group = await storage.findPdfGroupByPatientTitleKey(
|
||||||
@@ -216,7 +216,7 @@ router.post(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (pdfBuffer && generatedPdfPath) {
|
if (pdfBuffer && generatedPdfPath) {
|
||||||
const groupTitle = "Insurance Status PDFs";
|
const groupTitle = "Claim Status";
|
||||||
const groupTitleKey = "CLAIM_STATUS";
|
const groupTitleKey = "CLAIM_STATUS";
|
||||||
|
|
||||||
let group = await storage.findPdfGroupByPatientTitleKey(
|
let group = await storage.findPdfGroupByPatientTitleKey(
|
||||||
|
|||||||
Reference in New Issue
Block a user