Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 | 19x 114x | import Link from "next/link";
import {
BookOpen,
ShieldCheck,
Github,
Heart,
FlaskConical,
Globe,
Lock,
Network,
ExternalLink,
MessageCircle,
Code2,
Boxes,
KeyRound,
Scale,
Workflow,
} from "lucide-react";
import { DemoPersonaCards } from "@/components/DemoPersonaCards";
import { PersonaJourneyCards } from "@/components/PersonaJourneyCards";
import { FeatureCardGrid } from "@/components/FeatureCardGrid";
/* ── Page ─────────────────────────────────────────────────────────────────── */
export default function Home() {
return (
<div className="max-w-5xl mx-auto px-4 sm:px-6 py-8 sm:py-16">
{/* ── Hero section ──────────────────────────────────────────────────── */}
<section
className="mb-12 sm:mb-16 animate-fade-in-up"
aria-labelledby="hero-title"
>
<div className="flex items-center gap-3 mb-3">
<h1
id="hero-title"
className="text-2xl sm:text-3xl lg:text-4xl font-bold"
>
European Health Data Space
</h1>
<a
href="https://github.com/ma3u/MinimumViableHealthDataspacev2"
target="_blank"
rel="noopener noreferrer"
className="text-[var(--text-secondary)] hover:text-[var(--text-primary)] transition-colors touch-target-sm"
aria-label="View source on GitHub"
>
<Github size={24} aria-hidden="true" />
</a>
</div>
<p className="text-[var(--text-primary)] text-base sm:text-lg leading-relaxed max-w-3xl mb-4">
This interactive demo is an{" "}
<strong className="text-[var(--accent)]">
EHDS integration platform
</strong>{" "}
you can run, fork, and wire into your own stack. It shows how the{" "}
<a
href="https://health.ec.europa.eu/ehealth-digital-health-and-care/european-health-data-space_en"
target="_blank"
rel="noopener noreferrer"
className="underline underline-offset-2 hover:text-[var(--accent)] transition-colors"
>
EHDS regulation
</a>{" "}
enables secure cross-border health data sharing across Europe —
publishing clinical datasets, negotiating access contracts under ODRL,
and transferring FHIR / OMOP data through the{" "}
<strong className="text-[var(--text-primary)]">
Dataspace Protocol
</strong>
. Every flow is exposed as a REST API you can exercise from Swagger,
Scalar, Bruno, or your own client.
</p>
<div className="flex flex-wrap gap-3 text-sm text-[var(--text-secondary)]">
<span className="inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-[var(--surface-2)]/60 border border-[var(--border)]">
<Heart
size={14}
className="text-green-800 dark:text-green-300"
aria-hidden="true"
/>
<span>127 synthetic patients</span>
</span>
<span className="inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-[var(--surface-2)]/60 border border-[var(--border)]">
<Network
size={14}
className="text-blue-800 dark:text-blue-300"
aria-hidden="true"
/>
<span>5,300+ graph nodes</span>
</span>
<span className="inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-[var(--surface-2)]/60 border border-[var(--border)]">
<Globe
size={14}
className="text-teal-800 dark:text-teal-300"
aria-hidden="true"
/>
<span>7 demo personas</span>
</span>
<span className="inline-flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-[var(--surface-2)]/60 border border-[var(--border)]">
<Lock
size={14}
className="text-purple-800 dark:text-purple-300"
aria-hidden="true"
/>
<span>All data is synthetic</span>
</span>
</div>
</section>
{/* ── Why EHDS Matters ─────────────────────────────────────────────── */}
<section
className="mb-12 sm:mb-16 animate-fade-in-up"
style={{ animationDelay: "150ms" }}
aria-labelledby="why-ehds-title"
>
<h2 id="why-ehds-title" className="text-lg sm:text-xl font-bold mb-2">
Why the European Health Data Space Matters
</h2>
<p className="text-[var(--text-secondary)] text-sm leading-relaxed max-w-3xl mb-5">
The{" "}
<a
href="https://health.ec.europa.eu/ehealth-digital-health-and-care/european-health-data-space_en"
target="_blank"
rel="noopener noreferrer"
className="text-[var(--accent)] underline underline-offset-2 hover:text-[var(--text-primary)] transition-colors"
>
EHDS regulation
</a>{" "}
creates a unified framework for sharing health data across EU member
states while safeguarding patient rights under GDPR. It distinguishes
between{" "}
<strong className="text-[var(--text-primary)]">primary use</strong>{" "}
(patients accessing their own records) and{" "}
<strong className="text-[var(--text-primary)]">secondary use</strong>{" "}
(research, policy, innovation), each with strict governance and
oversight.
</p>
<div className="grid grid-cols-1 sm:grid-cols-2 gap-3">
<div className="rounded-xl border border-[var(--role-user-border)] bg-[var(--role-user-bg)] p-4 sm:p-5">
<div className="flex items-center gap-2 mb-2">
<FlaskConical
size={18}
className="text-[var(--role-user-text)]"
aria-hidden="true"
/>
<h3 className="font-semibold text-gray-900 dark:text-gray-100 text-sm sm:text-base">
For Researchers
</h3>
</div>
<p className="text-sm text-gray-700 dark:text-gray-300 leading-relaxed">
Cross-border access to standardised health datasets in{" "}
<strong className="text-gray-800 dark:text-gray-200">
FHIR R4
</strong>{" "}
and{" "}
<strong className="text-gray-800 dark:text-gray-200">
OMOP CDM
</strong>{" "}
format, ending bilateral negotiations with each hospital. The
Health Data Access Body (HDAB) provides a single-window approval
process under Art. 46, cutting months of bureaucracy to
weeks.
</p>
</div>
<div className="rounded-xl border border-[var(--role-holder-border)] bg-[var(--role-holder-bg)] p-4 sm:p-5">
<div className="flex items-center gap-2 mb-2">
<BookOpen
size={18}
className="text-[var(--role-holder-text)]"
aria-hidden="true"
/>
<h3 className="font-semibold text-gray-900 dark:text-gray-100 text-sm sm:text-base">
For Hospitals
</h3>
</div>
<p className="text-sm text-gray-700 dark:text-gray-300 leading-relaxed">
A clear legal basis for sharing data with researchers while
staying GDPR-compliant. Publish datasets once via{" "}
<strong className="text-gray-800 dark:text-gray-200">
HealthDCAT-AP
</strong>{" "}
catalogues, manage access through standardised{" "}
<strong className="text-gray-800 dark:text-gray-200">
DSP contracts
</strong>
, and let the HDAB handle regulatory approval, reducing legal risk
and administrative burden.
</p>
</div>
<div className="rounded-xl border border-[var(--role-patient-border)] bg-[var(--role-patient-bg)] p-4 sm:p-5">
<div className="flex items-center gap-2 mb-2">
<Heart
size={18}
className="text-[var(--role-patient-text)]"
aria-hidden="true"
/>
<h3 className="font-semibold text-gray-900 dark:text-gray-100 text-sm sm:text-base">
For Patients
</h3>
</div>
<p className="text-sm text-gray-700 dark:text-gray-300 leading-relaxed">
Full control over your health records across borders. Access your
data from any EU provider via{" "}
<strong className="text-gray-800 dark:text-gray-200">
EEHRxF
</strong>{" "}
(European Electronic Health Record exchange Format), with{" "}
<strong className="text-gray-800 dark:text-gray-200">
GDPR Art. 15-22
</strong>{" "}
rights to access, rectify, and control how your data is used for
research.
</p>
</div>
<div className="rounded-xl border border-[var(--role-hdab-border)] bg-[var(--role-hdab-bg)] p-4 sm:p-5">
<div className="flex items-center gap-2 mb-2">
<ShieldCheck
size={18}
className="text-[var(--role-hdab-text)]"
aria-hidden="true"
/>
<h3 className="font-semibold text-gray-900 dark:text-gray-100 text-sm sm:text-base">
For Regulators
</h3>
</div>
<p className="text-sm text-gray-700 dark:text-gray-300 leading-relaxed">
Enforce EHDS Art. 46-51 data access permits through the{" "}
<strong className="text-gray-800 dark:text-gray-200">
Health Data Access Body
</strong>
. Audit compliance via{" "}
<strong className="text-gray-800 dark:text-gray-200">
verifiable credentials
</strong>
, ensure protocol conformance, and govern trust anchors across the
dataspace.
</p>
</div>
</div>
</section>
{/* ── Standards & Interoperability ──────────────────────────────────── */}
<section
className="mb-12 sm:mb-16 animate-fade-in-up"
style={{ animationDelay: "180ms" }}
aria-labelledby="standards-title"
>
<h2 id="standards-title" className="text-lg sm:text-xl font-bold mb-2">
Standards & Interoperability
</h2>
<p className="text-[var(--text-secondary)] text-sm leading-relaxed max-w-3xl mb-5">
The EHDS builds on established open standards to ensure
interoperability across all EU member states. This demo implements
each standard end-to-end.
</p>
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-3">
{[
{
name: "EHDS Regulation",
abbr: "EHDS",
desc: "EU regulation establishing rules for primary use (patient access) and secondary use (research) of electronic health data across member states.",
href: "https://health.ec.europa.eu/ehealth-digital-health-and-care/european-health-data-space_en",
color: "border-layer5/50 text-purple-800 dark:text-purple-300",
},
{
name: "HL7 FHIR R4",
abbr: "FHIR",
desc: "Fast Healthcare Interoperability Resources, the global standard for exchanging clinical data (Patient, Condition, Observation, Medication).",
href: "https://hl7.org/fhir/R4/",
color: "border-layer3/50 text-green-800 dark:text-green-300",
},
{
name: "OMOP Common Data Model",
abbr: "OMOP",
desc: "Observational Medical Outcomes Partnership CDM v5.4. Standardises clinical data for large-scale observational research and cohort analytics.",
href: "https://ohdsi.github.io/CommonDataModel/",
color: "border-layer4/50 text-amber-800 dark:text-amber-300",
},
{
name: "HealthDCAT-AP",
abbr: "DCAT",
desc: "Health extension of DCAT-AP, a metadata standard for publishing and discovering health datasets in federated catalogues across the EU.",
href: "https://healthdcat-ap.github.io/",
color: "border-layer2/50 text-teal-800 dark:text-teal-300",
},
{
name: "Dataspace Protocol",
abbr: "DSP",
desc: "IDSA Dataspace Protocol 2025-1. Governs catalogue federation, contract negotiation, and secure data transfer between dataspace participants.",
href: "https://docs.internationaldataspaces.org/ids-knowledgebase/dataspace-protocol",
color: "border-layer1/50 text-blue-800 dark:text-blue-300",
},
{
name: "Decentralised Claims Protocol",
abbr: "DCP",
desc: "Verifiable credential issuance and presentation. Enables trust anchors, membership credentials, and data access permits without central authority.",
href: "https://docs.internationaldataspaces.org/ids-knowledgebase/decentralized-claims-protocol",
color: "border-purple-500/50 text-[var(--accent)]",
},
].map(({ name, abbr, desc, href, color }) => (
<a
key={abbr}
href={href}
target="_blank"
rel="noopener noreferrer"
className={`group flex flex-col rounded-xl border p-4 sm:p-5 transition-colors hover:bg-[var(--surface-2)]/50 ${
color.split(" ")[0]
}`}
>
<span className="font-semibold text-sm sm:text-base text-gray-900 dark:text-gray-100 mb-2">
{name}
</span>
<p className="flex-1 text-sm text-gray-700 dark:text-gray-300 leading-relaxed">
{desc}
</p>
<ExternalLink
size={14}
className="mt-3 text-[var(--text-secondary)] group-hover:text-[var(--text-secondary)] transition-colors"
aria-hidden="true"
/>
</a>
))}
</div>
</section>
{/* ── Learn by Doing: Dataspace & Data Mesh ───────────────────────── */}
<section
className="mb-12 sm:mb-16 animate-fade-in-up"
style={{ animationDelay: "190ms" }}
aria-labelledby="learn-title"
>
<h2 id="learn-title" className="text-lg sm:text-xl font-bold mb-2">
Learn the New Principles: Dataspaces & Data Mesh
</h2>
<p className="text-[var(--text-secondary)] text-sm leading-relaxed max-w-3xl mb-5">
Health data is no longer moved by point-to-point integrations. The
EHDS is built on{" "}
<strong className="text-[var(--text-primary)]">dataspace</strong> and{" "}
<strong className="text-[var(--text-primary)]">data mesh</strong>{" "}
principles: sovereign participants own their <em>data domains</em>,
publish them as <em>data products</em>, and exchange them through open
protocols instead of bulk copies. Use this demo to get hands-on with
the four building blocks every implementer needs to understand.
</p>
<div className="grid grid-cols-1 sm:grid-cols-2 gap-3">
<div className="rounded-xl border border-layer2/50 bg-[var(--surface-2)]/40 p-4 sm:p-5">
<div className="flex items-center gap-2 mb-2">
<Boxes
size={18}
className="text-teal-800 dark:text-teal-300"
aria-hidden="true"
/>
<h3 className="font-semibold text-[var(--text-primary)] text-sm sm:text-base">
Data Domains & Data Products
</h3>
</div>
<p className="text-sm text-[var(--text-secondary)] leading-relaxed">
Each hospital, registry, or research org is a domain that owns its
data end-to-end. A{" "}
<strong className="text-[var(--text-primary)]">
data product
</strong>{" "}
packages a dataset with metadata (HealthDCAT-AP), contract terms
(ODRL), and an access endpoint (FHIR / OMOP). Browse them in the
catalogue to see what federated ownership actually looks like.
</p>
<Link
href="/catalog"
className="mt-3 inline-flex items-center gap-1 text-xs font-medium text-[var(--accent)] hover:underline"
>
Explore the catalogue{" "}
<ExternalLink size={12} aria-hidden="true" />
</Link>
</div>
<div className="rounded-xl border border-layer1/50 bg-[var(--surface-2)]/40 p-4 sm:p-5">
<div className="flex items-center gap-2 mb-2">
<Workflow
size={18}
className="text-blue-800 dark:text-blue-300"
aria-hidden="true"
/>
<h3 className="font-semibold text-[var(--text-primary)] text-sm sm:text-base">
Dataspace Protocol (DSP) — Exchange
</h3>
</div>
<p className="text-sm text-[var(--text-secondary)] leading-relaxed">
DSP 2025-1 standardises the four exchange phases —{" "}
<em>catalogue → negotiation → agreement → transfer</em> — so any
two participants can trade data without bilateral glue code. Walk
through a full negotiation and watch the state transitions in the
live graph.
</p>
<Link
href="/negotiate"
className="mt-3 inline-flex items-center gap-1 text-xs font-medium text-[var(--accent)] hover:underline"
>
Run a DSP negotiation{" "}
<ExternalLink size={12} aria-hidden="true" />
</Link>
</div>
<div className="rounded-xl border border-purple-500/40 bg-[var(--surface-2)]/40 p-4 sm:p-5">
<div className="flex items-center gap-2 mb-2">
<KeyRound
size={18}
className="text-purple-800 dark:text-purple-300"
aria-hidden="true"
/>
<h3 className="font-semibold text-[var(--text-primary)] text-sm sm:text-base">
W3C DID & Verifiable Credentials — Authentication
</h3>
</div>
<p className="text-sm text-[var(--text-secondary)] leading-relaxed">
Participants identify themselves with{" "}
<strong className="text-[var(--text-primary)]">did:web</strong>{" "}
identifiers and prove membership, HDAB approval, or researcher
status with{" "}
<strong className="text-[var(--text-primary)]">
W3C Verifiable Credentials
</strong>{" "}
issued via the Decentralised Claims Protocol (DCP). No central
identity broker — trust is federated and cryptographically
verifiable.
</p>
<Link
href="/credentials"
className="mt-3 inline-flex items-center gap-1 text-xs font-medium text-[var(--accent)] hover:underline"
>
Inspect credentials <ExternalLink size={12} aria-hidden="true" />
</Link>
</div>
<div className="rounded-xl border border-layer4/50 bg-[var(--surface-2)]/40 p-4 sm:p-5">
<div className="flex items-center gap-2 mb-2">
<Scale
size={18}
className="text-amber-800 dark:text-amber-300"
aria-hidden="true"
/>
<h3 className="font-semibold text-[var(--text-primary)] text-sm sm:text-base">
W3C ODRL Policies — Authorization
</h3>
</div>
<p className="text-sm text-[var(--text-secondary)] leading-relaxed">
Every data product is governed by a machine-readable{" "}
<strong className="text-[var(--text-primary)]">
ODRL 2.2 policy
</strong>{" "}
declaring permissions, prohibitions, and duties (purpose limits,
retention, geographic scope, anonymisation). Policies travel with
the contract and are enforced at the data plane — not as free-text
T&Cs.
</p>
<Link
href="/admin/policies"
className="mt-3 inline-flex items-center gap-1 text-xs font-medium text-[var(--accent)] hover:underline"
>
Edit ODRL policies <ExternalLink size={12} aria-hidden="true" />
</Link>
</div>
</div>
</section>
{/* ── REST API Integration Tools ──────────────────────────────────── */}
<section
className="mb-12 sm:mb-16 animate-fade-in-up"
style={{ animationDelay: "200ms" }}
aria-labelledby="integration-title"
>
<h2
id="integration-title"
className="text-lg sm:text-xl font-bold mb-2"
>
Integrate It: REST API Tools
</h2>
<p className="text-[var(--text-secondary)] text-sm leading-relaxed max-w-3xl mb-5">
All 36 endpoints are documented in{" "}
<strong className="text-[var(--text-primary)]">OpenAPI 3.1</strong>{" "}
and can be exercised from three interactive explorers, a portable
Bruno collection, or any HTTP client. Use them to test flows, build
integrations, or wire the platform into a downstream system.
</p>
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3">
<Link
href="/docs/developer/reference"
className="group flex flex-col rounded-xl border border-layer1/50 bg-[var(--surface-2)]/40 p-4 sm:p-5 transition-colors hover:bg-[var(--surface-2)]/70"
>
<div className="flex items-center gap-2 mb-2">
<Code2
size={18}
className="text-blue-800 dark:text-blue-300"
aria-hidden="true"
/>
<span className="font-semibold text-sm text-[var(--text-primary)]">
Scalar Reference
</span>
</div>
<p className="flex-1 text-xs text-[var(--text-secondary)] leading-relaxed">
Modern API reference with try-it-now requests, language samples,
and schema navigation. Powered by Scalar.
</p>
<ExternalLink
size={14}
className="mt-3 text-[var(--text-secondary)]"
aria-hidden="true"
/>
</Link>
<Link
href="/docs/developer/api"
className="group flex flex-col rounded-xl border border-layer3/50 bg-[var(--surface-2)]/40 p-4 sm:p-5 transition-colors hover:bg-[var(--surface-2)]/70"
>
<div className="flex items-center gap-2 mb-2">
<Code2
size={18}
className="text-green-800 dark:text-green-300"
aria-hidden="true"
/>
<span className="font-semibold text-sm text-[var(--text-primary)]">
Swagger UI
</span>
</div>
<p className="flex-1 text-xs text-[var(--text-secondary)] leading-relaxed">
Classic OpenAPI explorer for testing endpoints against the live
instance with OIDC auth.
</p>
<ExternalLink
size={14}
className="mt-3 text-[var(--text-secondary)]"
aria-hidden="true"
/>
</Link>
<a
href="/openapi.yaml"
className="group flex flex-col rounded-xl border border-layer2/50 bg-[var(--surface-2)]/40 p-4 sm:p-5 transition-colors hover:bg-[var(--surface-2)]/70"
download="mvhdv2-openapi.yaml"
>
<div className="flex items-center gap-2 mb-2">
<BookOpen
size={18}
className="text-teal-800 dark:text-teal-300"
aria-hidden="true"
/>
<span className="font-semibold text-sm text-[var(--text-primary)]">
OpenAPI 3.1 Spec
</span>
</div>
<p className="flex-1 text-xs text-[var(--text-secondary)] leading-relaxed">
Raw YAML spec for codegen, Postman import, or custom tooling.
Source of truth for every route.
</p>
<ExternalLink
size={14}
className="mt-3 text-[var(--text-secondary)]"
aria-hidden="true"
/>
</a>
<a
href="https://github.com/ma3u/MinimumViableHealthDataspacev2/tree/main/bruno/MVHDv2"
target="_blank"
rel="noopener noreferrer"
className="group flex flex-col rounded-xl border border-layer5/50 bg-[var(--surface-2)]/40 p-4 sm:p-5 transition-colors hover:bg-[var(--surface-2)]/70"
>
<div className="flex items-center gap-2 mb-2">
<Github
size={18}
className="text-purple-800 dark:text-purple-300"
aria-hidden="true"
/>
<span className="font-semibold text-sm text-[var(--text-primary)]">
Bruno Collection
</span>
</div>
<p className="flex-1 text-xs text-[var(--text-secondary)] leading-relaxed">
Git-friendly, offline-capable API client. Clone the repo and run
every DSP, FHIR, and OMOP journey locally.
</p>
<ExternalLink
size={14}
className="mt-3 text-[var(--text-secondary)]"
aria-hidden="true"
/>
</a>
</div>
</section>
{/* ── Persona Journeys ─────────────────────────────────────────────── */}
<section
className="mb-12 sm:mb-16 animate-fade-in-up"
style={{ animationDelay: "200ms" }}
aria-labelledby="workflow-title"
>
<h2 id="workflow-title" className="text-lg sm:text-xl font-bold mb-2">
How the EHDS Demo Works
</h2>
<p className="text-[var(--text-secondary)] text-sm mb-6 max-w-2xl">
Sign in as one of 5 personas and follow their journey through the
dataspace. Each role sees different pages, data, and actions,
mirroring real EHDS workflows.
</p>
<PersonaJourneyCards />
</section>
{/* ── Feature sections ──────────────────────────────────────────────── */}
<section aria-labelledby="explore-title">
<h2
id="explore-title"
className="text-sm font-semibold text-[var(--text-secondary)] uppercase tracking-wider mb-1"
>
Explore
</h2>
<p className="text-xs text-[var(--text-secondary)] mb-3 max-w-2xl">
Visualise the 5-layer knowledge graph, browse FHIR clinical data,
query OMOP analytics, and search the HealthDCAT-AP dataset catalogue.
All publicly accessible without sign-in.
</p>
<FeatureCardGrid section="explore" delay={1200} />
</section>
<div className="my-8 sm:my-10" />
<section aria-labelledby="exchange-title">
<h2
id="exchange-title"
className="text-sm font-semibold text-[var(--text-secondary)] uppercase tracking-wider mb-1"
>
Exchange · Transfer · Negotiate
</h2>
<p className="text-xs text-[var(--text-secondary)] mb-3 max-w-2xl">
The DSP data exchange lifecycle: hospitals publish datasets,
researchers discover and request access, contracts are negotiated
under ODRL policies, and approved FHIR/OMOP data is transferred
securely.
</p>
<FeatureCardGrid section="exchange" delay={1400} />
</section>
<div className="my-8 sm:my-10" />
<section aria-labelledby="govern-title">
<h2
id="govern-title"
className="text-sm font-semibold text-[var(--text-secondary)] uppercase tracking-wider mb-1"
>
Govern · Manage · Docs
</h2>
<p className="text-xs text-[var(--text-secondary)] mb-3 max-w-2xl">
EHDS compliance monitoring, DCP verifiable credentials, participant
onboarding with DID:web identities, portal administration, and
architecture documentation.
</p>
<FeatureCardGrid section="govern" delay={1600} />
</section>
<div className="my-8 sm:my-10" />
{/* ── Demo personas ─────────────────────────────────────────────────── */}
<section aria-labelledby="personas-title">
<DemoPersonaCards />
</section>
{/* ── Feedback ──────────────────────────────────────────────────────── */}
<section
className="mt-12 sm:mt-16 animate-fade-in-up"
style={{ animationDelay: "1800ms" }}
aria-labelledby="feedback-title"
>
<div className="rounded-xl border border-[var(--border)] bg-[var(--surface)]/60 p-6 text-center">
<div className="flex items-center justify-center gap-2 mb-2">
<MessageCircle
size={18}
className="text-blue-800 dark:text-blue-300"
aria-hidden="true"
/>
<h2
id="feedback-title"
className="text-sm sm:text-base font-semibold text-[var(--text-primary)]"
>
Feedback & Contributions
</h2>
</div>
<p className="text-sm text-[var(--text-secondary)] mb-4 max-w-lg mx-auto">
Found a bug, have a feature idea, or want to discuss the EHDS
architecture? We'd love to hear from you.
</p>
<div className="flex flex-wrap items-center justify-center gap-3">
<a
href="https://github.com/ma3u/MinimumViableHealthDataspacev2/issues"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium bg-[var(--surface-2)] text-[var(--text-primary)] border border-[var(--border-ui)] hover:border-layer1 hover:text-[var(--text-primary)] transition-colors"
>
<Github size={16} aria-hidden="true" />
Report an Issue
</a>
<a
href="https://github.com/ma3u/MinimumViableHealthDataspacev2/discussions"
target="_blank"
rel="noopener noreferrer"
className="inline-flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium bg-[var(--surface-2)] text-[var(--text-primary)] border border-[var(--border-ui)] hover:border-layer2 hover:text-[var(--text-primary)] transition-colors"
>
<MessageCircle size={16} aria-hidden="true" />
Join the Discussion
</a>
</div>
</div>
</section>
{/* ── Footer ────────────────────────────────────────────────────────── */}
<footer className="mt-8 sm:mt-10 pt-6 border-t border-[var(--border)] text-center text-xs text-[var(--text-secondary)]">
<p>
Reference implementation. All data is synthetic. No real patient
records.
</p>
<p className="mt-2 flex flex-wrap justify-center gap-x-1.5 gap-y-0.5">
<a
href="https://health.ec.europa.eu/ehealth-digital-health-and-care/european-health-data-space_en"
target="_blank"
rel="noopener noreferrer"
className="hover:text-[var(--text-secondary)] transition-colors"
>
EHDS Art. 3-12, 46-51
</a>
<span>·</span>
<a
href="https://hl7.org/fhir/R4/"
target="_blank"
rel="noopener noreferrer"
className="hover:text-[var(--text-secondary)] transition-colors"
>
FHIR R4
</a>
<span>·</span>
<a
href="https://ohdsi.github.io/CommonDataModel/"
target="_blank"
rel="noopener noreferrer"
className="hover:text-[var(--text-secondary)] transition-colors"
>
OMOP CDM v5.4
</a>
<span>·</span>
<a
href="https://docs.internationaldataspaces.org/ids-knowledgebase/dataspace-protocol"
target="_blank"
rel="noopener noreferrer"
className="hover:text-[var(--text-secondary)] transition-colors"
>
DSP 2025-1
</a>
<span>·</span>
<a
href="https://docs.internationaldataspaces.org/ids-knowledgebase/decentralized-claims-protocol"
target="_blank"
rel="noopener noreferrer"
className="hover:text-[var(--text-secondary)] transition-colors"
>
DCP v1.0
</a>
<span>·</span>
<span>GDPR Art. 15-22</span>
</p>
</footer>
</div>
);
}
|