hplx-feature-library 1.0.208 → 1.0.210

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.
@@ -120184,7 +120184,7 @@ const PrintPediaChartsPdf = memo(
120184
120184
  labReportData: N,
120185
120185
  labOrderData: W
120186
120186
  }) => {
120187
- const M = `${N.patient_name || "--"} (${N.gender || "N/A"}, ${N.age || "N/A"})`, Y = getFirstSampleCollectedDate(N);
120187
+ const M = `${N?.patient_name || "--"} (${N?.gender || "N/A"}, ${N?.age || "N/A"})`, Y = getFirstSampleCollectedDate(N);
120188
120188
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: styles.container, children: [
120189
120189
  /* @__PURE__ */ jsxRuntimeExports.jsxs(Column, { children: [
120190
120190
  /* @__PURE__ */ jsxRuntimeExports.jsx(DetailRow, { label: "ID", value: W?.lab_id || "" }),
@@ -120322,7 +120322,7 @@ const PrintPediaChartsPdf = memo(
120322
120322
  /* @__PURE__ */ jsxRuntimeExports.jsx(Header, { preferences: N, printEmailClick: I }),
120323
120323
  /* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: x.marginContainer, children: [
120324
120324
  W && /* @__PURE__ */ jsxRuntimeExports.jsx(LabReportPatientHeader, { labReportData: W, labOrderData: M }),
120325
- W?.test_templates && /* @__PURE__ */ jsxRuntimeExports.jsx(LabTestResultTable, { testTemplates: W.test_templates, colors: w, fontSize: 16 }),
120325
+ W?.test_templates && /* @__PURE__ */ jsxRuntimeExports.jsx(LabTestResultTable, { testTemplates: W?.test_templates || [], colors: w, fontSize: 16 }),
120326
120326
  /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: x.endOfReportText, children: "---- END OF REPORT ----" }),
120327
120327
  /* @__PURE__ */ jsxRuntimeExports.jsxs(View, { style: x.signatureSection, children: [
120328
120328
  /* @__PURE__ */ jsxRuntimeExports.jsx(Text, { style: x.signatureLabel, children: "Signature 1" }),