{
  "version": "1.0.0",
  "projectName": "Hospital Discharge Summary & Care Plan",
  "targetLibrary": "react-pdf-renderer",
  "createdAt": "2026-09-12T00:00:00.000Z",
  "updatedAt": "2026-09-12T00:00:00.000Z",
  "metadata": {
    "title": "Hospital Discharge Summary & Care Plan",
    "subject": "Inpatient transition-of-care summary featuring hospital course, repeating home medication regimen cards, and red-flag warnings.",
    "creator": "CodePDF",
    "producer": "CodePDF",
    "defaultPageSize": "A4",
    "defaultOrientation": "portrait"
  },
  "defaults": {
    "fontFamily": "Helvetica",
    "fontSize": 12,
    "textColor": "#000000",
    "locale": "en-US",
    "currency": "USD",
    "currencyDisplay": "symbol",
    "timeZone": "GMT",
    "dateFormat": "DD/MM/YYYY",
    "timeFormat": "HH:mm",
    "showPageNumbers": false,
    "pageNumberFormat": "{{page}} / {{total}}",
    "pageNumberPosition": "center"
  },
  "fonts": [],
  "components": {
    "root": {
      "id": "root",
      "type": "Document",
      "props": {
        "title": "Hospital Discharge Summary & Care Plan"
      },
      "style": {},
      "children": [
        "hospital-discharge-summary-page"
      ],
      "parent": null
    },
    "hospital-discharge-summary-page": {
      "id": "hospital-discharge-summary-page",
      "type": "Page",
      "props": {
        "size": "A4",
        "orientation": "portrait",
        "wrap": true
      },
      "style": {
        "paddingTop": 28,
        "paddingBottom": 24,
        "paddingLeft": 36,
        "paddingRight": 36,
        "backgroundColor": "#ffffff",
        "flexDirection": "column",
        "gap": 8
      },
      "children": [
        "hospital-discharge-summary-hdr-000",
        "hospital-discharge-summary-kpi-row-006",
        "hospital-discharge-summary-cols-019",
        "hospital-discharge-summary-cal-026",
        "hospital-discharge-summary-rc-sec-029",
        "hospital-discharge-summary-lst-sec-036",
        "hospital-discharge-summary-sig-row-039",
        "hospital-discharge-summary-footer-043"
      ],
      "parent": "root"
    },
    "hospital-discharge-summary-hdr-000": {
      "id": "hospital-discharge-summary-hdr-000",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "minHeight": 52,
        "paddingTop": 10,
        "paddingBottom": 10,
        "paddingLeft": 12,
        "paddingRight": 12,
        "backgroundColor": "#1e3a8a",
        "flexDirection": "row",
        "justifyContent": "space-between",
        "alignItems": "center",
        "gap": 10
      },
      "children": [
        "hospital-discharge-summary-hdr-left-001",
        "hospital-discharge-summary-hdr-badge-004"
      ],
      "parent": "hospital-discharge-summary-page",
      "label": "Document Header"
    },
    "hospital-discharge-summary-hdr-left-001": {
      "id": "hospital-discharge-summary-hdr-left-001",
      "type": "View",
      "props": {},
      "style": {
        "width": 353.28,
        "flexDirection": "column",
        "gap": 3
      },
      "children": [
        "hospital-discharge-summary-hdr-title-002",
        "hospital-discharge-summary-hdr-sub-003"
      ],
      "parent": "hospital-discharge-summary-hdr-000",
      "label": "Header Titles"
    },
    "hospital-discharge-summary-hdr-title-002": {
      "id": "hospital-discharge-summary-hdr-title-002",
      "type": "Text",
      "props": {
        "content": "{{hospitalName}}"
      },
      "style": {
        "width": 353.28,
        "fontSize": 12.5,
        "fontWeight": "bold",
        "color": "#ffffff"
      },
      "children": [],
      "parent": "hospital-discharge-summary-hdr-left-001",
      "label": "Header Title",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "hospitalName"
        }
      }
    },
    "hospital-discharge-summary-hdr-sub-003": {
      "id": "hospital-discharge-summary-hdr-sub-003",
      "type": "Text",
      "props": {
        "content": "{{deptSubtitle}}"
      },
      "style": {
        "width": 353.28,
        "fontSize": 8,
        "color": "#cbd5e1"
      },
      "children": [],
      "parent": "hospital-discharge-summary-hdr-left-001",
      "label": "Header Subtitle",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "deptSubtitle"
        }
      }
    },
    "hospital-discharge-summary-hdr-badge-004": {
      "id": "hospital-discharge-summary-hdr-badge-004",
      "type": "View",
      "props": {},
      "style": {
        "width": 134,
        "paddingTop": 4,
        "paddingBottom": 4,
        "paddingLeft": 8,
        "paddingRight": 8,
        "backgroundColor": "#172554",
        "borderRadius": 10,
        "alignItems": "center"
      },
      "children": [
        "hospital-discharge-summary-hdr-badge-txt-005"
      ],
      "parent": "hospital-discharge-summary-hdr-000",
      "label": "Status Badge"
    },
    "hospital-discharge-summary-hdr-badge-txt-005": {
      "id": "hospital-discharge-summary-hdr-badge-txt-005",
      "type": "Text",
      "props": {
        "content": "{{dispositionBadge}}"
      },
      "style": {
        "width": 118,
        "fontSize": 7.2,
        "fontWeight": "bold",
        "color": "#93c5fd",
        "textAlign": "center"
      },
      "children": [],
      "parent": "hospital-discharge-summary-hdr-badge-004",
      "label": "Badge Text",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "dispositionBadge"
        }
      }
    },
    "hospital-discharge-summary-kpi-row-006": {
      "id": "hospital-discharge-summary-kpi-row-006",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "flexDirection": "row",
        "gap": 8,
        "alignItems": "stretch"
      },
      "children": [
        "hospital-discharge-summary-kpi-007",
        "hospital-discharge-summary-kpi-011",
        "hospital-discharge-summary-kpi-015"
      ],
      "parent": "hospital-discharge-summary-page",
      "label": "KPI Metrics Row"
    },
    "hospital-discharge-summary-kpi-007": {
      "id": "hospital-discharge-summary-kpi-007",
      "type": "View",
      "props": {},
      "style": {
        "width": 169.09,
        "minHeight": 46,
        "paddingTop": 6,
        "paddingBottom": 6,
        "paddingLeft": 8,
        "paddingRight": 8,
        "backgroundColor": "#f8fafc",
        "borderWidth": 1,
        "borderColor": "#e2e8f0",
        "borderTopWidth": 2.5,
        "borderTopColor": "#1e3a8a",
        "flexDirection": "column",
        "gap": 2
      },
      "children": [
        "hospital-discharge-summary-kpi-lbl-008",
        "hospital-discharge-summary-kpi-val-009",
        "hospital-discharge-summary-kpi-sub-010"
      ],
      "parent": "hospital-discharge-summary-kpi-row-006",
      "label": "KPI: PATIENT & DOB"
    },
    "hospital-discharge-summary-kpi-lbl-008": {
      "id": "hospital-discharge-summary-kpi-lbl-008",
      "type": "Text",
      "props": {
        "content": "PATIENT & DOB"
      },
      "style": {
        "width": 153.09,
        "fontSize": 6.8,
        "fontWeight": "bold",
        "color": "#64748b"
      },
      "children": [],
      "parent": "hospital-discharge-summary-kpi-007",
      "label": "KPI Label"
    },
    "hospital-discharge-summary-kpi-val-009": {
      "id": "hospital-discharge-summary-kpi-val-009",
      "type": "Text",
      "props": {
        "content": "{{patientName}}"
      },
      "style": {
        "width": 153.09,
        "fontSize": 11,
        "fontWeight": "bold",
        "color": "#0f172a"
      },
      "children": [],
      "parent": "hospital-discharge-summary-kpi-007",
      "label": "KPI Value",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "patientName"
        }
      }
    },
    "hospital-discharge-summary-kpi-sub-010": {
      "id": "hospital-discharge-summary-kpi-sub-010",
      "type": "Text",
      "props": {
        "content": "{{mrnEncounter}}"
      },
      "style": {
        "width": 153.09,
        "fontSize": 6.8,
        "color": "#64748b"
      },
      "children": [],
      "parent": "hospital-discharge-summary-kpi-007",
      "label": "KPI Detail",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "mrnEncounter"
        }
      }
    },
    "hospital-discharge-summary-kpi-011": {
      "id": "hospital-discharge-summary-kpi-011",
      "type": "View",
      "props": {},
      "style": {
        "width": 169.09,
        "minHeight": 46,
        "paddingTop": 6,
        "paddingBottom": 6,
        "paddingLeft": 8,
        "paddingRight": 8,
        "backgroundColor": "#f8fafc",
        "borderWidth": 1,
        "borderColor": "#e2e8f0",
        "borderTopWidth": 2.5,
        "borderTopColor": "#0284c7",
        "flexDirection": "column",
        "gap": 2
      },
      "children": [
        "hospital-discharge-summary-kpi-lbl-012",
        "hospital-discharge-summary-kpi-val-013",
        "hospital-discharge-summary-kpi-sub-014"
      ],
      "parent": "hospital-discharge-summary-kpi-row-006",
      "label": "KPI: ADMISSION DATE"
    },
    "hospital-discharge-summary-kpi-lbl-012": {
      "id": "hospital-discharge-summary-kpi-lbl-012",
      "type": "Text",
      "props": {
        "content": "ADMISSION DATE"
      },
      "style": {
        "width": 153.09,
        "fontSize": 6.8,
        "fontWeight": "bold",
        "color": "#64748b"
      },
      "children": [],
      "parent": "hospital-discharge-summary-kpi-011",
      "label": "KPI Label"
    },
    "hospital-discharge-summary-kpi-val-013": {
      "id": "hospital-discharge-summary-kpi-val-013",
      "type": "Text",
      "props": {
        "content": "{{admitDate}}"
      },
      "style": {
        "width": 153.09,
        "fontSize": 11,
        "fontWeight": "bold",
        "color": "#0f172a"
      },
      "children": [],
      "parent": "hospital-discharge-summary-kpi-011",
      "label": "KPI Value",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "admitDate"
        }
      }
    },
    "hospital-discharge-summary-kpi-sub-014": {
      "id": "hospital-discharge-summary-kpi-sub-014",
      "type": "Text",
      "props": {
        "content": "Via Emergency Dept"
      },
      "style": {
        "width": 153.09,
        "fontSize": 6.8,
        "color": "#64748b"
      },
      "children": [],
      "parent": "hospital-discharge-summary-kpi-011",
      "label": "KPI Detail"
    },
    "hospital-discharge-summary-kpi-015": {
      "id": "hospital-discharge-summary-kpi-015",
      "type": "View",
      "props": {},
      "style": {
        "width": 169.09,
        "minHeight": 46,
        "paddingTop": 6,
        "paddingBottom": 6,
        "paddingLeft": 8,
        "paddingRight": 8,
        "backgroundColor": "#f8fafc",
        "borderWidth": 1,
        "borderColor": "#e2e8f0",
        "borderTopWidth": 2.5,
        "borderTopColor": "#059669",
        "flexDirection": "column",
        "gap": 2
      },
      "children": [
        "hospital-discharge-summary-kpi-lbl-016",
        "hospital-discharge-summary-kpi-val-017",
        "hospital-discharge-summary-kpi-sub-018"
      ],
      "parent": "hospital-discharge-summary-kpi-row-006",
      "label": "KPI: DISCHARGE DATE"
    },
    "hospital-discharge-summary-kpi-lbl-016": {
      "id": "hospital-discharge-summary-kpi-lbl-016",
      "type": "Text",
      "props": {
        "content": "DISCHARGE DATE"
      },
      "style": {
        "width": 153.09,
        "fontSize": 6.8,
        "fontWeight": "bold",
        "color": "#64748b"
      },
      "children": [],
      "parent": "hospital-discharge-summary-kpi-015",
      "label": "KPI Label"
    },
    "hospital-discharge-summary-kpi-val-017": {
      "id": "hospital-discharge-summary-kpi-val-017",
      "type": "Text",
      "props": {
        "content": "{{dischargeDate}}"
      },
      "style": {
        "width": 153.09,
        "fontSize": 11,
        "fontWeight": "bold",
        "color": "#047857"
      },
      "children": [],
      "parent": "hospital-discharge-summary-kpi-015",
      "label": "KPI Value",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "dischargeDate"
        }
      }
    },
    "hospital-discharge-summary-kpi-sub-018": {
      "id": "hospital-discharge-summary-kpi-sub-018",
      "type": "Text",
      "props": {
        "content": "Room Air SpO2 98%"
      },
      "style": {
        "width": 153.09,
        "fontSize": 6.8,
        "color": "#64748b"
      },
      "children": [],
      "parent": "hospital-discharge-summary-kpi-015",
      "label": "KPI Detail"
    },
    "hospital-discharge-summary-cols-019": {
      "id": "hospital-discharge-summary-cols-019",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "flexDirection": "row",
        "gap": 10,
        "alignItems": "stretch"
      },
      "children": [
        "hospital-discharge-summary-col-0-020",
        "hospital-discharge-summary-col-1-023"
      ],
      "parent": "hospital-discharge-summary-page",
      "label": "Multi-Column Section"
    },
    "hospital-discharge-summary-col-0-020": {
      "id": "hospital-discharge-summary-col-0-020",
      "type": "View",
      "props": {},
      "style": {
        "width": 256.64,
        "paddingTop": 8,
        "paddingBottom": 8,
        "paddingLeft": 8,
        "paddingRight": 8,
        "backgroundColor": "#fffbeb",
        "borderWidth": 1,
        "borderColor": "#fde68a",
        "flexDirection": "column",
        "gap": 3
      },
      "children": [
        "hospital-discharge-summary-col-title-021",
        "hospital-discharge-summary-col-ln-022"
      ],
      "parent": "hospital-discharge-summary-cols-019",
      "label": "ADMITTING CLINICAL DIAGNOSIS"
    },
    "hospital-discharge-summary-col-title-021": {
      "id": "hospital-discharge-summary-col-title-021",
      "type": "Text",
      "props": {
        "content": "ADMITTING CLINICAL DIAGNOSIS"
      },
      "style": {
        "width": 240.64,
        "fontSize": 7.5,
        "fontWeight": "bold",
        "color": "#b45309"
      },
      "children": [],
      "parent": "hospital-discharge-summary-col-0-020",
      "label": "Card Heading"
    },
    "hospital-discharge-summary-col-ln-022": {
      "id": "hospital-discharge-summary-col-ln-022",
      "type": "Text",
      "props": {
        "content": "{{admitDiagnosis}}"
      },
      "style": {
        "width": 240.64,
        "fontSize": 8,
        "fontWeight": "normal",
        "color": "#78350f"
      },
      "children": [],
      "parent": "hospital-discharge-summary-col-0-020",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "admitDiagnosis"
        }
      }
    },
    "hospital-discharge-summary-col-1-023": {
      "id": "hospital-discharge-summary-col-1-023",
      "type": "View",
      "props": {},
      "style": {
        "width": 256.64,
        "paddingTop": 8,
        "paddingBottom": 8,
        "paddingLeft": 8,
        "paddingRight": 8,
        "backgroundColor": "#f0fdf4",
        "borderWidth": 1,
        "borderColor": "#bbf7d0",
        "flexDirection": "column",
        "gap": 3
      },
      "children": [
        "hospital-discharge-summary-col-title-024",
        "hospital-discharge-summary-col-ln-025"
      ],
      "parent": "hospital-discharge-summary-cols-019",
      "label": "FINAL DISCHARGE DIAGNOSIS"
    },
    "hospital-discharge-summary-col-title-024": {
      "id": "hospital-discharge-summary-col-title-024",
      "type": "Text",
      "props": {
        "content": "FINAL DISCHARGE DIAGNOSIS"
      },
      "style": {
        "width": 240.64,
        "fontSize": 7.5,
        "fontWeight": "bold",
        "color": "#15803d"
      },
      "children": [],
      "parent": "hospital-discharge-summary-col-1-023",
      "label": "Card Heading"
    },
    "hospital-discharge-summary-col-ln-025": {
      "id": "hospital-discharge-summary-col-ln-025",
      "type": "Text",
      "props": {
        "content": "{{dischargeDiagnosis}}"
      },
      "style": {
        "width": 240.64,
        "fontSize": 8,
        "fontWeight": "bold",
        "color": "#14532d"
      },
      "children": [],
      "parent": "hospital-discharge-summary-col-1-023",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "dischargeDiagnosis"
        }
      }
    },
    "hospital-discharge-summary-cal-026": {
      "id": "hospital-discharge-summary-cal-026",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "paddingTop": 6,
        "paddingBottom": 6,
        "paddingLeft": 10,
        "paddingRight": 10,
        "backgroundColor": "#f8fafc",
        "borderWidth": 1,
        "borderColor": "#e2e8f0",
        "borderLeftWidth": 3,
        "borderLeftColor": "#1e3a8a",
        "flexDirection": "column",
        "gap": 2
      },
      "children": [
        "hospital-discharge-summary-cal-t-027",
        "hospital-discharge-summary-cal-b-028"
      ],
      "parent": "hospital-discharge-summary-page",
      "label": "HOSPITAL COURSE & THERAPEUTIC SUMMARY"
    },
    "hospital-discharge-summary-cal-t-027": {
      "id": "hospital-discharge-summary-cal-t-027",
      "type": "Text",
      "props": {
        "content": "HOSPITAL COURSE & THERAPEUTIC SUMMARY"
      },
      "style": {
        "width": 503.28,
        "fontSize": 7.4,
        "fontWeight": "bold",
        "color": "#1e3a8a"
      },
      "children": [],
      "parent": "hospital-discharge-summary-cal-026",
      "label": "Callout Heading"
    },
    "hospital-discharge-summary-cal-b-028": {
      "id": "hospital-discharge-summary-cal-b-028",
      "type": "Text",
      "props": {
        "content": "{{hospitalCourse}}"
      },
      "style": {
        "width": 503.28,
        "fontSize": 7.8,
        "color": "#334155"
      },
      "children": [],
      "parent": "hospital-discharge-summary-cal-026",
      "label": "Callout Text",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "hospitalCourse"
        }
      }
    },
    "hospital-discharge-summary-rc-sec-029": {
      "id": "hospital-discharge-summary-rc-sec-029",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "flexDirection": "column",
        "gap": 4
      },
      "children": [
        "hospital-discharge-summary-rc-hdr-030",
        "hospital-discharge-summary-rc-rep-031"
      ],
      "parent": "hospital-discharge-summary-page",
      "label": "DISCHARGE MEDICATION RECONCILIATION REGIMEN"
    },
    "hospital-discharge-summary-rc-hdr-030": {
      "id": "hospital-discharge-summary-rc-hdr-030",
      "type": "Text",
      "props": {
        "content": "DISCHARGE MEDICATION RECONCILIATION REGIMEN"
      },
      "style": {
        "width": 523.28,
        "fontSize": 8.2,
        "fontWeight": "bold",
        "color": "#1e3a8a"
      },
      "children": [],
      "parent": "hospital-discharge-summary-rc-sec-029",
      "label": "Section Heading"
    },
    "hospital-discharge-summary-rc-rep-031": {
      "id": "hospital-discharge-summary-rc-rep-031",
      "type": "RepeatingView",
      "props": {
        "arrayMode": "dynamic",
        "arrayBinding": "medications"
      },
      "style": {
        "width": 523.28,
        "paddingTop": 5,
        "paddingBottom": 6,
        "paddingLeft": 10,
        "paddingRight": 10,
        "backgroundColor": "#ffffff",
        "borderLeftWidth": 3,
        "borderLeftColor": "#2563eb",
        "borderBottomWidth": 0.5,
        "borderBottomColor": "#e2e8f0",
        "flexDirection": "column",
        "gap": 2
      },
      "children": [
        "hospital-discharge-summary-rc-top-032",
        "hospital-discharge-summary-rc-b-035"
      ],
      "parent": "hospital-discharge-summary-rc-sec-029",
      "label": "Repeating Cards ({{medications}})"
    },
    "hospital-discharge-summary-rc-top-032": {
      "id": "hospital-discharge-summary-rc-top-032",
      "type": "View",
      "props": {},
      "style": {
        "width": 503.28,
        "flexDirection": "row",
        "justifyContent": "space-between",
        "alignItems": "flex-start",
        "gap": 8
      },
      "children": [
        "hospital-discharge-summary-rc-t-033",
        "hospital-discharge-summary-rc-m-034"
      ],
      "parent": "hospital-discharge-summary-rc-rep-031",
      "label": "Card Header Row"
    },
    "hospital-discharge-summary-rc-t-033": {
      "id": "hospital-discharge-summary-rc-t-033",
      "type": "Text",
      "props": {
        "content": "{{item.action}} — {{item.drug}}"
      },
      "style": {
        "width": 375.28,
        "fontSize": 8.5,
        "fontWeight": "bold",
        "color": "#0f172a"
      },
      "children": [],
      "parent": "hospital-discharge-summary-rc-top-032",
      "label": "Card Title",
      "bindings": {
        "content": {
          "mode": "expression",
          "expression": "{{item.action}} — {{item.drug}}"
        }
      }
    },
    "hospital-discharge-summary-rc-m-034": {
      "id": "hospital-discharge-summary-rc-m-034",
      "type": "Text",
      "props": {
        "content": "{{item.timing}}"
      },
      "style": {
        "width": 120,
        "fontSize": 7.8,
        "fontWeight": "bold",
        "color": "#1e3a8a",
        "textAlign": "right"
      },
      "children": [],
      "parent": "hospital-discharge-summary-rc-top-032",
      "label": "Card Meta",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "item.timing"
        }
      }
    },
    "hospital-discharge-summary-rc-b-035": {
      "id": "hospital-discharge-summary-rc-b-035",
      "type": "Text",
      "props": {
        "content": "{{item.instructions}}"
      },
      "style": {
        "width": 503.28,
        "fontSize": 7.8,
        "color": "#334155"
      },
      "children": [],
      "parent": "hospital-discharge-summary-rc-rep-031",
      "label": "Card Description",
      "bindings": {
        "content": {
          "mode": "dynamic",
          "expression": "item.instructions"
        }
      }
    },
    "hospital-discharge-summary-lst-sec-036": {
      "id": "hospital-discharge-summary-lst-sec-036",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "flexDirection": "column",
        "gap": 4
      },
      "children": [
        "hospital-discharge-summary-lst-hdr-037",
        "hospital-discharge-summary-lst-038"
      ],
      "parent": "hospital-discharge-summary-page",
      "label": "POST-DISCHARGE FOLLOW-UP & RED-FLAG WARNING PRECAUTIONS"
    },
    "hospital-discharge-summary-lst-hdr-037": {
      "id": "hospital-discharge-summary-lst-hdr-037",
      "type": "Text",
      "props": {
        "content": "POST-DISCHARGE FOLLOW-UP & RED-FLAG WARNING PRECAUTIONS"
      },
      "style": {
        "width": 523.28,
        "fontSize": 8,
        "fontWeight": "bold",
        "color": "#1e3a8a"
      },
      "children": [],
      "parent": "hospital-discharge-summary-lst-sec-036",
      "label": "List Heading"
    },
    "hospital-discharge-summary-lst-038": {
      "id": "hospital-discharge-summary-lst-038",
      "type": "List",
      "props": {
        "items": [
          "{{redFlags}}"
        ],
        "dataBinding": "redFlags",
        "markerType": "bullet",
        "spacing": 4,
        "indent": 12,
        "color": "#334155"
      },
      "style": {
        "width": 523.28,
        "fontSize": 7.8,
        "color": "#334155"
      },
      "children": [],
      "parent": "hospital-discharge-summary-lst-sec-036",
      "label": "List (redFlags)",
      "bindings": {
        "items": {
          "mode": "dynamic",
          "expression": "redFlags[].Value"
        }
      }
    },
    "hospital-discharge-summary-sig-row-039": {
      "id": "hospital-discharge-summary-sig-row-039",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "marginTop": 4,
        "flexDirection": "row",
        "justifyContent": "space-between",
        "alignItems": "flex-end",
        "gap": 16
      },
      "children": [
        "hospital-discharge-summary-sig-col-040"
      ],
      "parent": "hospital-discharge-summary-page",
      "label": "Signatures & Attestation"
    },
    "hospital-discharge-summary-sig-col-040": {
      "id": "hospital-discharge-summary-sig-col-040",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "flexDirection": "column",
        "gap": 2
      },
      "children": [
        "hospital-discharge-summary-sig-041",
        "hospital-discharge-summary-sig-sub-042"
      ],
      "parent": "hospital-discharge-summary-sig-row-039",
      "label": "Signatory 1"
    },
    "hospital-discharge-summary-sig-041": {
      "id": "hospital-discharge-summary-sig-041",
      "type": "Signature",
      "props": {
        "label": "Attending Physician Sign-Off",
        "hideLabel": false,
        "mode": "type",
        "value": "Dr. Katherine Vance, MD, FACP",
        "name": "attendingPhysician"
      },
      "style": {
        "width": 523.28,
        "height": 36,
        "fontSize": 8.5,
        "color": "#0f172a",
        "backgroundColor": "#f8fafc",
        "borderColor": "#cbd5e1",
        "borderWidth": 1
      },
      "children": [],
      "parent": "hospital-discharge-summary-sig-col-040",
      "label": "Attending Physician Sign-Off",
      "bindings": {
        "value": {
          "mode": "dynamic",
          "expression": "attendingPhysician"
        }
      }
    },
    "hospital-discharge-summary-sig-sub-042": {
      "id": "hospital-discharge-summary-sig-sub-042",
      "type": "Text",
      "props": {
        "content": "Internal Medicine Inpatient Service · Mass General"
      },
      "style": {
        "width": 523.28,
        "fontSize": 7.2,
        "color": "#64748b"
      },
      "children": [],
      "parent": "hospital-discharge-summary-sig-col-040",
      "label": "Signatory Title"
    },
    "hospital-discharge-summary-footer-043": {
      "id": "hospital-discharge-summary-footer-043",
      "type": "View",
      "props": {},
      "style": {
        "width": 523.28,
        "marginTop": 6,
        "flexDirection": "column",
        "alignItems": "center",
        "gap": 3
      },
      "children": [
        "hospital-discharge-summary-f-rule-044",
        "hospital-discharge-summary-f-txt-045"
      ],
      "parent": "hospital-discharge-summary-page",
      "label": "Document Footer"
    },
    "hospital-discharge-summary-f-rule-044": {
      "id": "hospital-discharge-summary-f-rule-044",
      "type": "HorizontalLine",
      "props": {
        "thickness": 1,
        "color": "#e2e8f0",
        "lineStyle": "solid",
        "length": 523.28
      },
      "style": {
        "width": 523.28,
        "height": 1
      },
      "children": [],
      "parent": "hospital-discharge-summary-footer-043",
      "label": "Footer Rule"
    },
    "hospital-discharge-summary-f-txt-045": {
      "id": "hospital-discharge-summary-f-txt-045",
      "type": "Text",
      "props": {
        "content": "Inpatient Transitional Care Record · JCAHO & CMS Compliant · Generated via CodePDF"
      },
      "style": {
        "width": 523.28,
        "fontSize": 7.2,
        "color": "#94a3b8",
        "textAlign": "center"
      },
      "children": [],
      "parent": "hospital-discharge-summary-footer-043",
      "label": "Footer Text"
    }
  },
  "componentOrder": [
    "root",
    "hospital-discharge-summary-page",
    "hospital-discharge-summary-hdr-000",
    "hospital-discharge-summary-hdr-left-001",
    "hospital-discharge-summary-hdr-title-002",
    "hospital-discharge-summary-hdr-sub-003",
    "hospital-discharge-summary-hdr-badge-004",
    "hospital-discharge-summary-hdr-badge-txt-005",
    "hospital-discharge-summary-kpi-row-006",
    "hospital-discharge-summary-kpi-007",
    "hospital-discharge-summary-kpi-lbl-008",
    "hospital-discharge-summary-kpi-val-009",
    "hospital-discharge-summary-kpi-sub-010",
    "hospital-discharge-summary-kpi-011",
    "hospital-discharge-summary-kpi-lbl-012",
    "hospital-discharge-summary-kpi-val-013",
    "hospital-discharge-summary-kpi-sub-014",
    "hospital-discharge-summary-kpi-015",
    "hospital-discharge-summary-kpi-lbl-016",
    "hospital-discharge-summary-kpi-val-017",
    "hospital-discharge-summary-kpi-sub-018",
    "hospital-discharge-summary-cols-019",
    "hospital-discharge-summary-col-0-020",
    "hospital-discharge-summary-col-title-021",
    "hospital-discharge-summary-col-ln-022",
    "hospital-discharge-summary-col-1-023",
    "hospital-discharge-summary-col-title-024",
    "hospital-discharge-summary-col-ln-025",
    "hospital-discharge-summary-cal-026",
    "hospital-discharge-summary-cal-t-027",
    "hospital-discharge-summary-cal-b-028",
    "hospital-discharge-summary-rc-sec-029",
    "hospital-discharge-summary-rc-hdr-030",
    "hospital-discharge-summary-rc-rep-031",
    "hospital-discharge-summary-rc-top-032",
    "hospital-discharge-summary-rc-t-033",
    "hospital-discharge-summary-rc-m-034",
    "hospital-discharge-summary-rc-b-035",
    "hospital-discharge-summary-lst-sec-036",
    "hospital-discharge-summary-lst-hdr-037",
    "hospital-discharge-summary-lst-038",
    "hospital-discharge-summary-sig-row-039",
    "hospital-discharge-summary-sig-col-040",
    "hospital-discharge-summary-sig-041",
    "hospital-discharge-summary-sig-sub-042",
    "hospital-discharge-summary-footer-043",
    "hospital-discharge-summary-f-rule-044",
    "hospital-discharge-summary-f-txt-045"
  ],
  "dataModel": [
    {
      "id": "hospitalName",
      "name": "hospitalName",
      "type": "string",
      "label": "Hospital Name",
      "sampleValue": "MASSACHUSETTS GENERAL INPATIENT MEDICAL CENTER"
    },
    {
      "id": "deptSubtitle",
      "name": "deptSubtitle",
      "type": "string",
      "label": "Dept Subtitle",
      "sampleValue": "Department of Internal Medicine & Acute Care · Inpatient Care Transition Summary"
    },
    {
      "id": "dispositionBadge",
      "name": "dispositionBadge",
      "type": "string",
      "label": "Disposition Badge",
      "sampleValue": "DISCHARGED HOME · STABLE"
    },
    {
      "id": "patientName",
      "name": "patientName",
      "type": "string",
      "label": "Patient Name",
      "sampleValue": "Robert E. Langdon (DOB: 1968-11-12 · Age 57)"
    },
    {
      "id": "mrnEncounter",
      "name": "mrnEncounter",
      "type": "string",
      "label": "Mrn Encounter",
      "sampleValue": "MRN-2026-90418 · Encounter #ENC-44109"
    },
    {
      "id": "admitDate",
      "name": "admitDate",
      "type": "string",
      "label": "Admit Date",
      "sampleValue": "08 Sep 2026"
    },
    {
      "id": "dischargeDate",
      "name": "dischargeDate",
      "type": "string",
      "label": "Discharge Date",
      "sampleValue": "12 Sep 2026 (LOS: 4 Days)"
    },
    {
      "id": "admitDiagnosis",
      "name": "admitDiagnosis",
      "type": "string",
      "label": "Admit Diagnosis",
      "sampleValue": "Acute Community-Acquired Right Lower Lobe Bacterial Pneumonia with Mild Hypoxemia"
    },
    {
      "id": "dischargeDiagnosis",
      "name": "dischargeDiagnosis",
      "type": "string",
      "label": "Discharge Diagnosis",
      "sampleValue": "Resolved Community-Acquired Pneumonia; Essential Hypertension (Controlled)"
    },
    {
      "id": "hospitalCourse",
      "name": "hospitalCourse",
      "type": "string",
      "label": "Hospital Course",
      "sampleValue": "Admitted via Emergency Department with 72-hour productive cough, fever (102.4°F), and right basilar consolidation. Blood cultures remained negative. Treated with IV Ceftriaxone and Azithromycin with rapid defervescence; transitioned to oral Levofloxacin on Day 3. Ambulating on room air with SpO2 98% at discharge."
    },
    {
      "id": "medications",
      "name": "medications",
      "type": "array",
      "label": "medications",
      "itemType": "object",
      "sampleValue": "",
      "sampleItems": [
        {
          "action": "NEW Rx",
          "drug": "Levofloxacin 500 mg Oral Tablet",
          "timing": "1 Tab Daily × 5 Days",
          "instructions": "Complete full 5-day antibiotic course. Avoid magnesium/aluminum antacids within 2 hours."
        },
        {
          "action": "CONTINUE",
          "drug": "Lisinopril 10 mg Oral Tablet",
          "timing": "1 Tab Every Morning",
          "instructions": "Continue home antihypertensive regimen; monitor home blood pressure log."
        },
        {
          "action": "PRN",
          "drug": "Guaifenesin ER 600 mg Tablet",
          "timing": "Every 12 Hours PRN",
          "instructions": "Take with full glass of water as needed for residual cough clearance."
        }
      ],
      "itemKeys": [
        "action",
        "drug",
        "timing",
        "instructions"
      ]
    },
    {
      "id": "redFlags",
      "name": "redFlags",
      "type": "array",
      "label": "redFlags",
      "itemType": "string",
      "sampleValue": "",
      "sampleItems": [
        "Return to Emergency Care immediately for fever > 101.0°F, worsening shortness of breath, or chest pain.",
        "Schedule Primary Care follow-up with Dr. David Marcus within 7 days (Target: 19 Sep 2026).",
        "Complete outpatient PA & Lateral chest radiograph in 4 weeks to confirm radiographic resolution."
      ],
      "itemKeys": [
        "Value"
      ]
    },
    {
      "id": "attendingPhysician",
      "name": "attendingPhysician",
      "type": "string",
      "label": "Attending Physician",
      "sampleValue": "Dr. Katherine Vance, MD, FACP"
    }
  ],
  "sampleData": {
    "hospitalName": "MASSACHUSETTS GENERAL INPATIENT MEDICAL CENTER",
    "deptSubtitle": "Department of Internal Medicine & Acute Care · Inpatient Care Transition Summary",
    "dispositionBadge": "DISCHARGED HOME · STABLE",
    "patientName": "Robert E. Langdon (DOB: 1968-11-12 · Age 57)",
    "mrnEncounter": "MRN-2026-90418 · Encounter #ENC-44109",
    "admitDate": "08 Sep 2026",
    "dischargeDate": "12 Sep 2026 (LOS: 4 Days)",
    "admitDiagnosis": "Acute Community-Acquired Right Lower Lobe Bacterial Pneumonia with Mild Hypoxemia",
    "dischargeDiagnosis": "Resolved Community-Acquired Pneumonia; Essential Hypertension (Controlled)",
    "hospitalCourse": "Admitted via Emergency Department with 72-hour productive cough, fever (102.4°F), and right basilar consolidation. Blood cultures remained negative. Treated with IV Ceftriaxone and Azithromycin with rapid defervescence; transitioned to oral Levofloxacin on Day 3. Ambulating on room air with SpO2 98% at discharge.",
    "medications": [
      {
        "action": "NEW Rx",
        "drug": "Levofloxacin 500 mg Oral Tablet",
        "timing": "1 Tab Daily × 5 Days",
        "instructions": "Complete full 5-day antibiotic course. Avoid magnesium/aluminum antacids within 2 hours."
      },
      {
        "action": "CONTINUE",
        "drug": "Lisinopril 10 mg Oral Tablet",
        "timing": "1 Tab Every Morning",
        "instructions": "Continue home antihypertensive regimen; monitor home blood pressure log."
      },
      {
        "action": "PRN",
        "drug": "Guaifenesin ER 600 mg Tablet",
        "timing": "Every 12 Hours PRN",
        "instructions": "Take with full glass of water as needed for residual cough clearance."
      }
    ],
    "redFlags": [
      "Return to Emergency Care immediately for fever > 101.0°F, worsening shortness of breath, or chest pain.",
      "Schedule Primary Care follow-up with Dr. David Marcus within 7 days (Target: 19 Sep 2026).",
      "Complete outpatient PA & Lateral chest radiograph in 4 weeks to confirm radiographic resolution."
    ],
    "attendingPhysician": "Dr. Katherine Vance, MD, FACP"
  }
}
