{
  "$schema": "https://shadcn-vue.com/schema/registry-item.json",
  "name": "patient-medical-record",
  "title": "Patient Medical Record",
  "type": "registry:block",
  "files": [
    {
      "path": "packages/registry-vue/blocks/patient-medical-record/PatientMedicalRecord.vue",
      "content": "<script setup lang=\"ts\">\nimport {\n  Activity,\n  AlertTriangle,\n  Calendar,\n  CheckCircle2,\n  Clock,\n  Droplets,\n  FileText,\n  FlaskConical,\n  HeartPulse,\n  MapPin,\n  Phone,\n  Pill,\n  Printer,\n  Scale,\n  Stethoscope,\n  Thermometer,\n  UserCheck,\n  Wind,\n} from 'lucide-vue-next'\nimport { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'\nimport { Badge } from '@/components/ui/badge'\nimport { Button } from '@/components/ui/button'\nimport { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'\nimport { Separator } from '@/components/ui/separator'\nimport { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from '@/components/ui/table'\n</script>\n\n<template>\n  <div data-slot=\"patient-medical-record\" class=\"bg-background text-foreground w-full space-y-6\">\n    <!-- Patient Header Card -->\n    <header class=\"bg-card border-border rounded-xl border p-5 shadow-xs sm:p-6\">\n      <div class=\"flex flex-col gap-5\">\n        <!-- Top Row: Patient Demographics & Action Buttons -->\n        <div class=\"flex flex-col gap-4 lg:flex-row lg:items-center lg:justify-between\">\n          <div class=\"flex flex-wrap items-start gap-4 sm:items-center\">\n            <Avatar class=\"ring-border size-14 ring-2 sm:size-16\">\n              <AvatarImage\n                src=\"https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=150&auto=format&fit=crop&q=80\"\n                alt=\"David Chen\"\n              />\n              <AvatarFallback class=\"bg-primary/10 text-primary text-base font-semibold\">DC</AvatarFallback>\n            </Avatar>\n            <div class=\"space-y-1\">\n              <div class=\"flex flex-wrap items-center gap-2\">\n                <h1 class=\"text-foreground text-xl font-bold tracking-tight sm:text-2xl\">David Chen</h1>\n                <span class=\"text-muted-foreground text-sm font-medium\">48 yrs · Male</span>\n                <Badge variant=\"outline\" class=\"border-success/30 bg-success/10 text-success gap-1.5 font-medium\">\n                  <span class=\"bg-success size-1.5 animate-pulse rounded-full\" />\n                  Active Inpatient · Room 412B\n                </Badge>\n              </div>\n\n              <div class=\"text-muted-foreground flex flex-wrap items-center gap-x-4 gap-y-1 text-xs\">\n                <span class=\"text-foreground flex items-center gap-1 font-mono font-medium\"> #MRN-849201 </span>\n                <span class=\"flex items-center gap-1\">\n                  <Calendar class=\"size-3.5\" />\n                  DOB: <strong class=\"text-foreground font-medium tabular-nums\">Oct 14, 1978</strong>\n                </span>\n                <span class=\"flex items-center gap-1\">\n                  <Droplets class=\"text-destructive size-3.5\" />\n                  Blood: <strong class=\"text-foreground font-medium\">O+</strong>\n                </span>\n                <span class=\"flex items-center gap-1\">\n                  <Stethoscope class=\"text-primary size-3.5\" />\n                  PCP: <strong class=\"text-foreground font-medium\">Dr. Emily Vance, MD</strong>\n                </span>\n              </div>\n            </div>\n          </div>\n\n          <!-- Action Buttons -->\n          <div class=\"flex flex-wrap items-center gap-2\">\n            <Button variant=\"outline\" size=\"sm\" class=\"gap-1.5 text-xs font-medium\">\n              <FlaskConical class=\"text-primary size-3.5\" />\n              Order Labs\n            </Button>\n            <Button variant=\"outline\" size=\"sm\" class=\"gap-1.5 text-xs font-medium\">\n              <Pill class=\"text-primary size-3.5\" />\n              Write Prescription\n            </Button>\n            <Button variant=\"outline\" size=\"sm\" class=\"gap-1.5 text-xs font-medium\">\n              <Printer class=\"size-3.5\" />\n              Print Summary\n            </Button>\n          </div>\n        </div>\n\n        <!-- Red Alert Severe Allergy Pill / Banner -->\n        <div\n          class=\"border-destructive/30 bg-destructive/10 text-destructive dark:bg-destructive/20 flex flex-wrap items-center justify-between gap-3 rounded-lg border px-4 py-2.5 text-xs font-medium sm:text-sm\"\n        >\n          <div class=\"flex items-center gap-2\">\n            <AlertTriangle class=\"text-destructive size-4 shrink-0\" />\n            <span>\n              Severe Allergies: <strong class=\"font-semibold underline\">Penicillin</strong> (Anaphylaxis),\n              <strong class=\"font-semibold underline\">Sulfa drugs</strong> (Severe Rash)\n            </span>\n          </div>\n          <Badge variant=\"destructive\" class=\"text-xs font-semibold tracking-wider uppercase\"> High Alert </Badge>\n        </div>\n      </div>\n    </header>\n\n    <!-- 2-Column Clinical Layout -->\n    <div class=\"grid grid-cols-1 gap-6 lg:grid-cols-12\">\n      <!-- Left Main Panel (65%) -->\n      <main class=\"space-y-6 lg:col-span-8\">\n        <!-- Latest Vitals Strip -->\n        <Card>\n          <CardHeader class=\"flex-row items-center justify-between space-y-0 pb-3\">\n            <div>\n              <CardTitle class=\"flex items-center gap-2 text-base font-semibold\">\n                <Activity class=\"text-primary size-4\" />\n                Latest Vitals Strip\n              </CardTitle>\n              <CardDescription class=\"text-xs\">\n                Recorded today at 08:30 AM EDT · Nurse J. Miller, RN (Floor 4 East)\n              </CardDescription>\n            </div>\n            <Badge variant=\"secondary\" class=\"text-xs font-normal\">Within Normal Limits</Badge>\n          </CardHeader>\n          <CardContent>\n            <div class=\"grid grid-cols-2 gap-3 sm:grid-cols-5\">\n              <!-- BP -->\n              <div class=\"bg-muted/30 border-border space-y-1 rounded-lg border p-3\">\n                <div class=\"text-muted-foreground flex items-center justify-between\">\n                  <span class=\"text-xs font-medium tracking-wider uppercase\">Blood Pressure</span>\n                  <HeartPulse class=\"text-destructive size-3.5\" />\n                </div>\n                <div class=\"text-foreground text-xl font-bold tracking-tight tabular-nums sm:text-2xl\">124/82</div>\n                <p class=\"text-muted-foreground text-xs\">mmHg · Normal</p>\n              </div>\n\n              <!-- HR -->\n              <div class=\"bg-muted/30 border-border space-y-1 rounded-lg border p-3\">\n                <div class=\"text-muted-foreground flex items-center justify-between\">\n                  <span class=\"text-xs font-medium tracking-wider uppercase\">Heart Rate</span>\n                  <Activity class=\"text-destructive size-3.5\" />\n                </div>\n                <div class=\"text-foreground text-xl font-bold tracking-tight tabular-nums sm:text-2xl\">72</div>\n                <p class=\"text-muted-foreground text-xs\">bpm · Resting</p>\n              </div>\n\n              <!-- Temp -->\n              <div class=\"bg-muted/30 border-border space-y-1 rounded-lg border p-3\">\n                <div class=\"text-muted-foreground flex items-center justify-between\">\n                  <span class=\"text-xs font-medium tracking-wider uppercase\">Temp (Oral)</span>\n                  <Thermometer class=\"text-warning size-3.5\" />\n                </div>\n                <div class=\"text-foreground text-xl font-bold tracking-tight tabular-nums sm:text-2xl\">98.6</div>\n                <p class=\"text-muted-foreground text-xs\">°F · Afebrile</p>\n              </div>\n\n              <!-- SpO2 -->\n              <div class=\"bg-muted/30 border-border space-y-1 rounded-lg border p-3\">\n                <div class=\"text-muted-foreground flex items-center justify-between\">\n                  <span class=\"text-xs font-medium tracking-wider uppercase\">Oxygen SpO2</span>\n                  <Wind class=\"text-info size-3.5\" />\n                </div>\n                <div class=\"text-foreground text-xl font-bold tracking-tight tabular-nums sm:text-2xl\">98%</div>\n                <p class=\"text-muted-foreground text-xs\">Room air</p>\n              </div>\n\n              <!-- BMI -->\n              <div class=\"bg-muted/30 border-border space-y-1 rounded-lg border p-3\">\n                <div class=\"text-muted-foreground flex items-center justify-between\">\n                  <span class=\"text-xs font-medium tracking-wider uppercase\">BMI</span>\n                  <Scale class=\"text-success size-3.5\" />\n                </div>\n                <div class=\"text-foreground text-xl font-bold tracking-tight tabular-nums sm:text-2xl\">24.2</div>\n                <p class=\"text-muted-foreground text-xs\">kg/m² · Normal</p>\n              </div>\n            </div>\n          </CardContent>\n        </Card>\n\n        <!-- Active Diagnoses & Problem List -->\n        <Card>\n          <CardHeader class=\"flex-row items-center justify-between space-y-0 pb-3\">\n            <div>\n              <CardTitle class=\"flex items-center gap-2 text-base font-semibold\">\n                <FileText class=\"text-primary size-4\" />\n                Active Diagnoses & Problem List\n              </CardTitle>\n              <CardDescription class=\"text-xs\">\n                Chronic and active conditions under clinical management\n              </CardDescription>\n            </div>\n            <Badge variant=\"secondary\" class=\"text-xs font-normal\">3 Active Conditions</Badge>\n          </CardHeader>\n          <CardContent class=\"space-y-3\">\n            <!-- Item 1: Type 2 Diabetes -->\n            <div\n              class=\"border-border bg-card flex flex-col justify-between gap-2 rounded-lg border p-3.5 sm:flex-row sm:items-center\"\n            >\n              <div class=\"space-y-1\">\n                <div class=\"flex flex-wrap items-center gap-2\">\n                  <span class=\"text-foreground text-sm font-semibold\">Type 2 Diabetes Mellitus</span>\n                  <Badge variant=\"outline\" class=\"font-mono text-xs\">ICD-10 E11.9</Badge>\n                  <Badge variant=\"secondary\" class=\"text-xs\">Chronic</Badge>\n                </div>\n                <p class=\"text-muted-foreground text-xs\">\n                  Onset: <span class=\"text-foreground font-medium\">March 2019</span> · Managed with oral hypoglycemics ·\n                  Last HbA1c: <span class=\"text-foreground font-medium\">7.2%</span>\n                </p>\n              </div>\n              <div class=\"text-left sm:text-right\">\n                <span class=\"text-muted-foreground block text-xs\">Diagnosed by</span>\n                <span class=\"text-foreground text-xs font-medium\">Dr. Emily Vance, MD</span>\n              </div>\n            </div>\n\n            <!-- Item 2: Essential Hypertension -->\n            <div\n              class=\"border-border bg-card flex flex-col justify-between gap-2 rounded-lg border p-3.5 sm:flex-row sm:items-center\"\n            >\n              <div class=\"space-y-1\">\n                <div class=\"flex flex-wrap items-center gap-2\">\n                  <span class=\"text-foreground text-sm font-semibold\">Essential (Primary) Hypertension</span>\n                  <Badge variant=\"outline\" class=\"font-mono text-xs\">ICD-10 I10</Badge>\n                  <Badge variant=\"secondary\" class=\"text-xs\">Controlled</Badge>\n                </div>\n                <p class=\"text-muted-foreground text-xs\">\n                  Onset: <span class=\"text-foreground font-medium\">November 2021</span> · ACE inhibitor therapy ·\n                  Monitored daily\n                </p>\n              </div>\n              <div class=\"text-left sm:text-right\">\n                <span class=\"text-muted-foreground block text-xs\">Diagnosed by</span>\n                <span class=\"text-foreground text-xs font-medium\">Dr. Emily Vance, MD</span>\n              </div>\n            </div>\n\n            <!-- Item 3: Asthma -->\n            <div\n              class=\"border-border bg-card flex flex-col justify-between gap-2 rounded-lg border p-3.5 sm:flex-row sm:items-center\"\n            >\n              <div class=\"space-y-1\">\n                <div class=\"flex flex-wrap items-center gap-2\">\n                  <span class=\"text-foreground text-sm font-semibold\">Moderate Persistent Asthma</span>\n                  <Badge variant=\"outline\" class=\"font-mono text-xs\">ICD-10 J45.40</Badge>\n                  <Badge variant=\"secondary\" class=\"text-xs\">Intermittent</Badge>\n                </div>\n                <p class=\"text-muted-foreground text-xs\">\n                  Onset: <span class=\"text-foreground font-medium\">June 2015</span> · Bronchodilator PRN · No\n                  hospitalizations in past 12m\n                </p>\n              </div>\n              <div class=\"text-left sm:text-right\">\n                <span class=\"text-muted-foreground block text-xs\">Diagnosed by</span>\n                <span class=\"text-foreground text-xs font-medium\">Dr. Marcus Vance, MD</span>\n              </div>\n            </div>\n          </CardContent>\n        </Card>\n\n        <!-- Active Medications Table -->\n        <Card>\n          <CardHeader class=\"flex-row items-center justify-between space-y-0 pb-3\">\n            <div>\n              <CardTitle class=\"flex items-center gap-2 text-base font-semibold\">\n                <Pill class=\"text-primary size-4\" />\n                Active Medications Table\n              </CardTitle>\n              <CardDescription class=\"text-xs\">\n                Current inpatient and outpatient pharmacotherapy regimen\n              </CardDescription>\n            </div>\n            <Badge variant=\"secondary\" class=\"text-xs font-normal\">4 Prescriptions</Badge>\n          </CardHeader>\n          <CardContent>\n            <div class=\"border-border overflow-x-auto rounded-lg border\">\n              <Table>\n                <TableHeader>\n                  <TableRow>\n                    <TableHead class=\"text-xs\">Medication & Brand</TableHead>\n                    <TableHead class=\"text-xs\">Dosage & Route</TableHead>\n                    <TableHead class=\"hidden text-xs md:table-cell\">Instructions</TableHead>\n                    <TableHead class=\"text-xs\">Prescribed By</TableHead>\n                    <TableHead class=\"text-right text-xs\">Status</TableHead>\n                  </TableRow>\n                </TableHeader>\n                <TableBody>\n                  <TableRow>\n                    <TableCell>\n                      <div class=\"text-foreground text-sm font-medium\">Metformin HCl</div>\n                      <div class=\"text-muted-foreground text-xs\">Glucophage · Biguanide</div>\n                    </TableCell>\n                    <TableCell class=\"text-foreground font-mono text-xs font-medium\"> 500mg PO BID </TableCell>\n                    <TableCell class=\"text-muted-foreground hidden text-xs md:table-cell\">\n                      Take with morning & evening meals\n                    </TableCell>\n                    <TableCell class=\"text-foreground text-xs\"> Dr. Emily Vance, MD </TableCell>\n                    <TableCell class=\"text-right\">\n                      <Badge variant=\"default\" class=\"text-xs font-medium\">Active</Badge>\n                    </TableCell>\n                  </TableRow>\n\n                  <TableRow>\n                    <TableCell>\n                      <div class=\"text-foreground text-sm font-medium\">Lisinopril</div>\n                      <div class=\"text-muted-foreground text-xs\">Prinivil · ACE Inhibitor</div>\n                    </TableCell>\n                    <TableCell class=\"text-foreground font-mono text-xs font-medium\"> 10mg PO Daily </TableCell>\n                    <TableCell class=\"text-muted-foreground hidden text-xs md:table-cell\">\n                      Take once daily in morning with water\n                    </TableCell>\n                    <TableCell class=\"text-foreground text-xs\"> Dr. Emily Vance, MD </TableCell>\n                    <TableCell class=\"text-right\">\n                      <Badge variant=\"default\" class=\"text-xs font-medium\">Active</Badge>\n                    </TableCell>\n                  </TableRow>\n\n                  <TableRow>\n                    <TableCell>\n                      <div class=\"text-foreground text-sm font-medium\">Albuterol Sulfate</div>\n                      <div class=\"text-muted-foreground text-xs\">ProAir HFA · SABA</div>\n                    </TableCell>\n                    <TableCell class=\"text-foreground font-mono text-xs font-medium\">\n                      90mcg Inhalation Q4H PRN\n                    </TableCell>\n                    <TableCell class=\"text-muted-foreground hidden text-xs md:table-cell\">\n                      1–2 puffs every 4–6 hrs as needed\n                    </TableCell>\n                    <TableCell class=\"text-foreground text-xs\"> Dr. Emily Vance, MD </TableCell>\n                    <TableCell class=\"text-right\">\n                      <Badge variant=\"default\" class=\"text-xs font-medium\">Active</Badge>\n                    </TableCell>\n                  </TableRow>\n\n                  <TableRow>\n                    <TableCell>\n                      <div class=\"text-foreground text-sm font-medium\">Atorvastatin Calcium</div>\n                      <div class=\"text-muted-foreground text-xs\">Lipitor · Statin</div>\n                    </TableCell>\n                    <TableCell class=\"text-foreground font-mono text-xs font-medium\"> 20mg PO QHS </TableCell>\n                    <TableCell class=\"text-muted-foreground hidden text-xs md:table-cell\">\n                      Take once daily at bedtime\n                    </TableCell>\n                    <TableCell class=\"text-foreground text-xs\"> Dr. Marcus Vance, MD </TableCell>\n                    <TableCell class=\"text-right\">\n                      <Badge variant=\"default\" class=\"text-xs font-medium\">Active</Badge>\n                    </TableCell>\n                  </TableRow>\n                </TableBody>\n              </Table>\n            </div>\n          </CardContent>\n        </Card>\n\n        <!-- Recent Clinical Encounter Notes -->\n        <Card>\n          <CardHeader class=\"pb-3\">\n            <div class=\"flex flex-wrap items-center justify-between gap-2\">\n              <div>\n                <CardTitle class=\"flex items-center gap-2 text-base font-semibold\">\n                  <FileText class=\"text-primary size-4\" />\n                  Recent Clinical Encounter Notes\n                </CardTitle>\n                <CardDescription class=\"text-xs\">\n                  Inpatient Daily Progress Note · General Internal Medicine\n                </CardDescription>\n              </div>\n              <Badge variant=\"outline\" class=\"font-mono text-xs\">Encounter #ENC-91823</Badge>\n            </div>\n          </CardHeader>\n          <CardContent class=\"space-y-4\">\n            <div\n              class=\"bg-muted/30 border-border flex flex-wrap items-center justify-between gap-2 rounded-lg border p-3 text-xs\"\n            >\n              <div class=\"flex items-center gap-2\">\n                <span class=\"text-muted-foreground\">Provider:</span>\n                <span class=\"text-foreground font-medium\">Dr. Emily Vance, MD (Attending)</span>\n              </div>\n              <div class=\"flex items-center gap-2\">\n                <span class=\"text-muted-foreground\">Date:</span>\n                <span class=\"text-foreground font-medium tabular-nums\">Oct 24, 2026 · 09:30 AM EDT</span>\n              </div>\n            </div>\n\n            <!-- History of Present Illness -->\n            <div class=\"space-y-2\">\n              <h4\n                class=\"text-muted-foreground flex items-center gap-1.5 text-xs font-semibold tracking-wider uppercase\"\n              >\n                <span class=\"bg-primary size-1.5 rounded-full\" />\n                History of Present Illness (HPI)\n              </h4>\n              <div\n                class=\"border-border bg-card text-foreground/90 space-y-2 rounded-lg border p-3.5 text-sm leading-relaxed\"\n              >\n                <p>\n                  Patient is a 48-year-old male with a documented history of Type 2 Diabetes Mellitus and Essential\n                  Hypertension, currently admitted to Inpatient Floor 4 East (Room 412B) for glycemic optimization\n                  following mild erratic home glucose readings.\n                </p>\n                <p>\n                  This morning, patient reports feeling well with notable improvement in energy levels. Denies episodes\n                  of dizziness, diaphoresis, chest pain, palpitations, or acute dyspnea. Fasting blood glucose at 07:00\n                  was 118 mg/dL on Metformin 500mg BID. Vital signs remain within normal physiological parameters.\n                  Tolerating scheduled diabetic meal plan without gastrointestinal distress.\n                </p>\n              </div>\n            </div>\n\n            <!-- Assessment & Plan -->\n            <div class=\"space-y-2\">\n              <h4\n                class=\"text-muted-foreground flex items-center gap-1.5 text-xs font-semibold tracking-wider uppercase\"\n              >\n                <span class=\"bg-primary size-1.5 rounded-full\" />\n                Assessment & Plan (A&P)\n              </h4>\n              <div\n                class=\"border-border bg-card text-foreground/90 space-y-3 rounded-lg border p-3.5 text-sm leading-relaxed\"\n              >\n                <div>\n                  <div class=\"text-foreground text-xs font-semibold tracking-wide uppercase\">\n                    1. Type 2 Diabetes Mellitus (E11.9) — Controlled\n                  </div>\n                  <p class=\"text-muted-foreground mt-0.5 text-xs sm:text-sm\">\n                    Glycemic control stabilized. Continue Metformin HCl 500mg PO BID with meals. Re-check fasting blood\n                    sugar tomorrow at 07:00. HbA1c stable at 7.2%. No need for supplementary sliding-scale insulin at\n                    this time.\n                  </p>\n                </div>\n                <Separator />\n                <div>\n                  <div class=\"text-foreground text-xs font-semibold tracking-wide uppercase\">\n                    2. Essential Hypertension (I10) — Stable\n                  </div>\n                  <p class=\"text-muted-foreground mt-0.5 text-xs sm:text-sm\">\n                    Normotensive on Lisinopril 10mg PO Daily (today BP 124/82 mmHg). Maintain current dosage. Continue\n                    routine Q8H vital signs monitoring.\n                  </p>\n                </div>\n                <Separator />\n                <div>\n                  <div class=\"text-foreground text-xs font-semibold tracking-wide uppercase\">\n                    3. Bronchial Asthma (J45.40) — Quiescent\n                  </div>\n                  <p class=\"text-muted-foreground mt-0.5 text-xs sm:text-sm\">\n                    Bilateral breath sounds clear to auscultation without wheeze or crackles. Continue Albuterol 90mcg\n                    MDI PRN.\n                  </p>\n                </div>\n                <Separator />\n                <div>\n                  <div class=\"text-foreground text-xs font-semibold tracking-wide uppercase\">\n                    4. Disposition & Discharge Planning\n                  </div>\n                  <p class=\"text-muted-foreground mt-0.5 text-xs sm:text-sm\">\n                    Anticipate discharge tomorrow morning pending afternoon CMP and final attending evaluation.\n                    Outpatient follow-up with PCP in 2 weeks.\n                  </p>\n                </div>\n              </div>\n            </div>\n\n            <!-- Signature block -->\n            <div\n              class=\"border-border text-muted-foreground flex flex-wrap items-center justify-between border-t pt-3 text-xs\"\n            >\n              <div class=\"flex items-center gap-1.5\">\n                <CheckCircle2 class=\"text-success size-4\" />\n                <span>\n                  Electronically Signed by: <strong class=\"text-foreground font-medium\">Dr. Emily Vance, MD</strong>\n                </span>\n              </div>\n              <span class=\"tabular-nums\">Signed: Oct 24, 2026 at 10:15 AM EDT</span>\n            </div>\n          </CardContent>\n        </Card>\n      </main>\n\n      <!-- Right Side Panel (35%) -->\n      <aside class=\"space-y-6 lg:col-span-4\">\n        <!-- Upcoming Appointments & Labs schedule -->\n        <Card>\n          <CardHeader class=\"flex-row items-center justify-between space-y-0 pb-3\">\n            <div>\n              <CardTitle class=\"flex items-center gap-2 text-base font-semibold\">\n                <Calendar class=\"text-primary size-4\" />\n                Upcoming Schedule & Labs\n              </CardTitle>\n              <CardDescription class=\"text-xs\"> Pending orders and scheduled consultations </CardDescription>\n            </div>\n          </CardHeader>\n          <CardContent class=\"space-y-3\">\n            <!-- Item 1: CMP -->\n            <div class=\"border-border bg-muted/20 space-y-1.5 rounded-lg border p-3\">\n              <div class=\"flex items-center justify-between gap-2\">\n                <span class=\"text-foreground text-xs font-semibold\">Comprehensive Metabolic Panel</span>\n                <Badge variant=\"secondary\" class=\"text-xs\">Today</Badge>\n              </div>\n              <div class=\"text-muted-foreground flex items-center gap-2 text-xs\">\n                <Clock class=\"size-3.5\" />\n                <span class=\"text-foreground font-medium tabular-nums\">02:00 PM EDT</span>\n                <span>· Main Clinical Lab</span>\n              </div>\n              <div class=\"text-muted-foreground text-xs\">Order #LAB-4819 · Stat processing</div>\n            </div>\n\n            <!-- Item 2: Echocardiogram -->\n            <div class=\"border-border bg-muted/20 space-y-1.5 rounded-lg border p-3\">\n              <div class=\"flex items-center justify-between gap-2\">\n                <span class=\"text-foreground text-xs font-semibold\">Transthoracic Echocardiogram</span>\n                <Badge variant=\"outline\" class=\"text-xs\">Tomorrow</Badge>\n              </div>\n              <div class=\"text-muted-foreground flex items-center gap-2 text-xs\">\n                <Clock class=\"size-3.5\" />\n                <span class=\"text-foreground font-medium tabular-nums\">10:30 AM EDT</span>\n                <span>· Cardiology Suite 2B</span>\n              </div>\n              <div class=\"text-muted-foreground text-xs\">Non-invasive Doppler evaluation</div>\n            </div>\n\n            <!-- Item 3: Endo consult -->\n            <div class=\"border-border bg-muted/20 space-y-1.5 rounded-lg border p-3\">\n              <div class=\"flex items-center justify-between gap-2\">\n                <span class=\"text-foreground text-xs font-semibold\">Endocrinology Follow-Up</span>\n                <Badge variant=\"outline\" class=\"text-xs\">Nov 02</Badge>\n              </div>\n              <div class=\"text-muted-foreground flex items-center gap-2 text-xs\">\n                <Clock class=\"size-3.5\" />\n                <span class=\"text-foreground font-medium tabular-nums\">11:00 AM EDT</span>\n                <span>· Outpatient Clinic Rm 304</span>\n              </div>\n              <div class=\"text-muted-foreground text-xs\">Dr. Robert Chen, MD · Glycemic review</div>\n            </div>\n          </CardContent>\n        </Card>\n\n        <!-- Care Team Contact list -->\n        <Card>\n          <CardHeader class=\"pb-3\">\n            <CardTitle class=\"flex items-center gap-2 text-base font-semibold\">\n              <UserCheck class=\"text-primary size-4\" />\n              Care Team Directory\n            </CardTitle>\n            <CardDescription class=\"text-xs\"> Assigned inpatient clinical providers </CardDescription>\n          </CardHeader>\n          <CardContent class=\"space-y-3.5\">\n            <!-- Doctor -->\n            <div class=\"flex items-center justify-between gap-3\">\n              <div class=\"flex min-w-0 items-center gap-3\">\n                <Avatar class=\"size-9\">\n                  <AvatarFallback class=\"bg-primary/10 text-primary text-xs font-semibold\">EV</AvatarFallback>\n                </Avatar>\n                <div class=\"min-w-0\">\n                  <div class=\"text-foreground truncate text-sm font-semibold\">Dr. Emily Vance, MD</div>\n                  <div class=\"text-muted-foreground truncate text-xs\">Attending Physician · Internal Med</div>\n                </div>\n              </div>\n              <Badge variant=\"secondary\" class=\"shrink-0 font-mono text-xs\">ext. 2940</Badge>\n            </div>\n\n            <Separator />\n\n            <!-- Nurse -->\n            <div class=\"flex items-center justify-between gap-3\">\n              <div class=\"flex min-w-0 items-center gap-3\">\n                <Avatar class=\"size-9\">\n                  <AvatarFallback class=\"bg-primary/10 text-primary text-xs font-semibold\">JM</AvatarFallback>\n                </Avatar>\n                <div class=\"min-w-0\">\n                  <div class=\"text-foreground truncate text-sm font-semibold\">Jason Miller, BSN, RN</div>\n                  <div class=\"text-muted-foreground truncate text-xs\">Charge Nurse · Floor 4 East</div>\n                </div>\n              </div>\n              <Badge variant=\"secondary\" class=\"shrink-0 font-mono text-xs\">ext. 4802</Badge>\n            </div>\n\n            <Separator />\n\n            <!-- Pharmacist -->\n            <div class=\"flex items-center justify-between gap-3\">\n              <div class=\"flex min-w-0 items-center gap-3\">\n                <Avatar class=\"size-9\">\n                  <AvatarFallback class=\"bg-primary/10 text-primary text-xs font-semibold\">SL</AvatarFallback>\n                </Avatar>\n                <div class=\"min-w-0\">\n                  <div class=\"text-foreground truncate text-sm font-semibold\">Sarah Lin, PharmD</div>\n                  <div class=\"text-muted-foreground truncate text-xs\">Clinical Pharmacist · Inpatient</div>\n                </div>\n              </div>\n              <Badge variant=\"secondary\" class=\"shrink-0 font-mono text-xs\">ext. 3319</Badge>\n            </div>\n          </CardContent>\n        </Card>\n\n        <!-- Emergency Contact card -->\n        <Card>\n          <CardHeader class=\"flex-row items-center justify-between space-y-0 pb-3\">\n            <div>\n              <CardTitle class=\"flex items-center gap-2 text-base font-semibold\">\n                <Phone class=\"text-primary size-4\" />\n                Emergency Contact\n              </CardTitle>\n              <CardDescription class=\"text-xs\"> Designated healthcare surrogate </CardDescription>\n            </div>\n            <Badge variant=\"secondary\" class=\"text-xs font-medium\">Primary</Badge>\n          </CardHeader>\n          <CardContent class=\"space-y-3 text-xs\">\n            <div class=\"space-y-1\">\n              <div class=\"text-foreground text-sm font-semibold\">Elena Chen</div>\n              <div class=\"text-muted-foreground text-xs\">Spouse · Full Medical Power of Attorney</div>\n            </div>\n\n            <Separator />\n\n            <div class=\"text-muted-foreground space-y-2\">\n              <div class=\"flex items-center justify-between gap-2\">\n                <span class=\"text-foreground flex items-center gap-1.5 font-medium\">\n                  <Phone class=\"text-primary size-3.5\" />\n                  Primary Mobile\n                </span>\n                <span class=\"text-foreground font-mono font-medium tabular-nums\">+1 (555) 234-8901</span>\n              </div>\n              <div class=\"flex items-center justify-between gap-2\">\n                <span class=\"flex items-center gap-1.5\">\n                  <Phone class=\"size-3.5\" />\n                  Secondary Work\n                </span>\n                <span class=\"font-mono tabular-nums\">+1 (555) 234-8902</span>\n              </div>\n              <div class=\"flex items-start justify-between gap-2 pt-1\">\n                <span class=\"flex shrink-0 items-center gap-1.5\">\n                  <MapPin class=\"size-3.5\" />\n                  Home\n                </span>\n                <span class=\"text-foreground text-right\">742 Evergreen Terrace, Seattle, WA 98101</span>\n              </div>\n            </div>\n\n            <Separator />\n\n            <Button variant=\"outline\" size=\"sm\" class=\"w-full justify-center gap-1.5 text-xs font-medium\">\n              <Phone class=\"size-3.5\" />\n              Call Emergency Contact\n            </Button>\n          </CardContent>\n        </Card>\n      </aside>\n    </div>\n  </div>\n</template>\n",
      "type": "registry:block",
      "target": "~/app/components/blocks/PatientMedicalRecord.vue"
    }
  ],
  "dependencies": [
    "lucide-vue-next"
  ],
  "devDependencies": [],
  "registryDependencies": [
    "https://uipkge.dev/r/vue/avatar.json",
    "https://uipkge.dev/r/vue/badge.json",
    "https://uipkge.dev/r/vue/button.json",
    "https://uipkge.dev/r/vue/card.json",
    "https://uipkge.dev/r/vue/separator.json",
    "https://uipkge.dev/r/vue/table.json"
  ],
  "description": "Epic/Cerner-style EHR patient chart and clinical summary: patient demographics header with allergy alerts, latest vitals strip, active diagnoses and ICD-10 problem list, active medications table, recent clinical encounter notes (HPI and Assessment & Plan), upcoming appointments schedule, care team directory, and emergency contacts.",
  "categories": [
    "healthcare",
    "app"
  ]
}