ADR: Evaluation of Loom as a FHIR-Native Cohort Discovery and DataFrame Platform
- Status: Proposed
- Date: 2026-06-23
- Authors: Architecture Review
- Decision Type: Technical Evaluation
Context
The Loom project aims to bridge the gap between FHIR interoperability data models and practical biomedical analytics.
FHIR resources are highly expressive and interoperable but are often difficult to use directly for cohort discovery, translational research, and analytical workflows. Researchers typically require flat, analysis-ready tables rather than deeply nested FHIR JSON documents.
Loom addresses this challenge by:
- Ingesting FHIR NDJSON resources.
- Building graph relationships between resources.
- Discovering populated fields and references.
- Generating dataframe-oriented outputs.
- Exposing results through GraphQL and API services.
This review evaluates Loom from the perspectives of:
- Biomedical informatics
- Bioinformatics
- Data engineering
- GraphQL architecture
- Long-term platform strategy
Decision Drivers
The primary evaluation criteria are:
- Ability to support cohort discovery
- Ability to preserve FHIR fidelity
- Suitability for biomedical research workflows
- Extensibility across disease domains
- Ease of use for scientists and analysts
- Architectural sustainability
- Backend portability
- Production readiness
Summary Assessment
| Dimension |
Assessment |
| FHIR Fidelity |
Strong |
| Cohort Discovery |
Strong |
| Biomedical Metadata Analysis |
Strong |
| Molecular Analysis |
Limited |
| DataFrame Generation |
Strong |
| GraphQL Architecture |
Promising |
| End User Usability |
Moderate |
| Portability |
Moderate |
| Production Readiness |
Moderate-Low |
| Strategic Potential |
High |
Findings
Finding 1: Strong FHIR-to-Analytics Architecture
The most compelling aspect of Loom is its architecture.
FHIR NDJSON
↓
Graph Construction
↓
Metadata Discovery
↓
DataFrame Builder
↓
GraphQL / Export
Rather than forcing users to query raw FHIR resources directly, Loom constructs graph-linked analytical views suitable for cohort discovery and metadata exploration.
This is a meaningful improvement over traditional FHIR repositories where users must manually navigate complex resource relationships.
Assessment
Positive.
Finding 2: Biomedical Semantics Are Preserved
The graph model reflects real-world translational research workflows.
Example relationships:
Patient
├── Condition
├── ResearchSubject
├── MedicationAdministration
└── Specimen
└── DocumentReference
This structure closely aligns with common biomedical reasoning patterns:
- Patient-centric cohorts
- Specimen tracking
- Study enrollment
- Treatment history
- Assay inventory
Assessment
Strong positive.
Finding 3: DataFrame Builder Is the Strategic Asset
The most valuable component appears to be:
The subsystem supports:
- Traversals
- Field selection
- Aggregations
- Pivots
- Representative slices
Conceptually, this functions as a semantic query planner rather than a collection of fixed reports.
The design enables future low-code cohort construction and analytical export workflows.
Assessment
Highest-value component of the platform.
Finding 4: Current Focus Is Metadata Rather Than Biology
Loom currently answers questions such as:
- Which assays exist?
- Which files are available?
- Which specimens are linked to a patient?
- Which studies contain a patient?
It does not yet answer:
- Which patients contain TP53 mutations?
- Which tumors overexpress EGFR?
- Which samples contain a specific pathway signature?
The platform is currently a metadata-discovery engine rather than a molecular-analysis engine.
Assessment
Expected limitation for current scope.
Finding 5: Current Implementation Is GDC-Oriented
Many assumptions appear tied to:
- GDC terminology
- Oncology workflows
- Specific identifier systems
- Specific coding conventions
- US Core extensions
This creates uncertainty regarding portability across:
- Rare disease repositories
- Pediatric research repositories
- Infectious disease repositories
- Longitudinal clinical datasets
Assessment
Moderate architectural risk.
Finding 6: GraphQL Architecture Is Promising
The GraphQL implementation demonstrates several strong characteristics:
Strengths
- Semantic query model
- Validation before execution
- Authorization-aware planning
- Separation of API from AQL execution
Concerns
- Contract duplication across layers
- Selector mini-language complexity
- Arango-oriented execution assumptions
- Incomplete separation between semantic and execution models
Assessment
Strong foundation requiring additional refinement.
Architectural Strengths
Cohort-Oriented Thinking
The system is designed around cohort construction rather than document retrieval.
Preservation of Raw FHIR
Original payloads remain available for traceability and validation.
Validation Against Actual Data
The platform validates requests against populated fields and references rather than relying solely on schema definitions.
Future Low-Code Potential
The dataframe abstraction creates a path toward scientist-facing cohort builders.
Architectural Risks
Risk: Hardcoded Biomedical Assumptions
Current implementations rely heavily on GDC-specific conventions.
Impact
Medium
Mitigation
Introduce configurable semantic mappings and terminology abstraction layers.
Risk: User Experience Gap
The dataframe model still exposes technical concepts such as:
- Traversal labels
- Selector syntax
- Resource paths
Impact
High
Mitigation
Develop:
- Templates
- Wizards
- Field catalogs
- Autocomplete-driven builders
Risk: Backend Coupling
The dataframe compiler remains closely aligned with ArangoDB execution semantics.
Impact
Medium
Mitigation
Introduce an explicit intermediate representation between semantic plans and backend execution plans.
Strategic Opportunities
Scientist-Facing Cohort Builder
The strongest opportunity is creation of a no-code cohort builder.
Desired workflow:
Show one row per patient with diagnosis, specimen type, RNA-seq availability, WGS availability, and study membership.
without requiring knowledge of:
- Graph traversal
- FHIRPath
- AQL
- GraphQL internals
Cross-Repository FHIR Analytics
Loom could become a generic analytics layer for:
- NCPI repositories
- Gen3 deployments
- Institutional FHIR repositories
- Research data commons
if semantic assumptions become configurable.
Recommendation
Continue Investment In
- Dataframe Builder
- GraphQL abstraction layer
- Metadata discovery services
- Template-driven cohort extraction
- Backend portability efforts
Deprioritize
- Additional hardcoded GDC-specific exports
- Specialized oncology-only reports
Prioritize Next
- Scientist-facing cohort builder UI/REPL/Library
- Template library
- Semantic field catalog
- Backend-neutral execution planning
- Domain-independent terminology mapping
Decision
Loom should be viewed primarily as:
A FHIR-native cohort discovery and dataframe generation platform.
It should not currently be viewed as:
A molecular analytics platform.
The architecture demonstrates significant promise and is aligned with long-term goals for biomedical interoperability and cohort construction.
The dataframe builder subsystem represents the most strategically valuable component and should become the center of future platform investment.
Consequences
Positive
- Preserves FHIR fidelity
- Enables cohort discovery
- Supports graph-based biomedical traversal
- Provides foundation for low-code analytics
- Creates path toward reusable research data platforms
Negative
- Not yet suitable for direct molecular discovery
- Requires stronger abstraction from GDC-specific assumptions
- Requires substantial UX/Library work before broad scientist adoption
- Remains partially coupled to ArangoDB execution semantics
Final Verdict
Loom is a strong architectural prototype and emerging platform for FHIR-native cohort discovery.
Its greatest value is not the current set of hardcoded cohort reports, but the underlying dataframe-builder architecture that could eventually provide a reusable analytical layer across diverse biomedical FHIR repositories.
ADR: Evaluation of Loom as a FHIR-Native Cohort Discovery and DataFrame Platform
Context
The Loom project aims to bridge the gap between FHIR interoperability data models and practical biomedical analytics.
FHIR resources are highly expressive and interoperable but are often difficult to use directly for cohort discovery, translational research, and analytical workflows. Researchers typically require flat, analysis-ready tables rather than deeply nested FHIR JSON documents.
Loom addresses this challenge by:
This review evaluates Loom from the perspectives of:
Decision Drivers
The primary evaluation criteria are:
Summary Assessment
Findings
Finding 1: Strong FHIR-to-Analytics Architecture
The most compelling aspect of Loom is its architecture.
Rather than forcing users to query raw FHIR resources directly, Loom constructs graph-linked analytical views suitable for cohort discovery and metadata exploration.
This is a meaningful improvement over traditional FHIR repositories where users must manually navigate complex resource relationships.
Assessment
Positive.
Finding 2: Biomedical Semantics Are Preserved
The graph model reflects real-world translational research workflows.
Example relationships:
This structure closely aligns with common biomedical reasoning patterns:
Assessment
Strong positive.
Finding 3: DataFrame Builder Is the Strategic Asset
The most valuable component appears to be:
The subsystem supports:
Conceptually, this functions as a semantic query planner rather than a collection of fixed reports.
The design enables future low-code cohort construction and analytical export workflows.
Assessment
Highest-value component of the platform.
Finding 4: Current Focus Is Metadata Rather Than Biology
Loom currently answers questions such as:
It does not yet answer:
The platform is currently a metadata-discovery engine rather than a molecular-analysis engine.
Assessment
Expected limitation for current scope.
Finding 5: Current Implementation Is GDC-Oriented
Many assumptions appear tied to:
This creates uncertainty regarding portability across:
Assessment
Moderate architectural risk.
Finding 6: GraphQL Architecture Is Promising
The GraphQL implementation demonstrates several strong characteristics:
Strengths
Concerns
Assessment
Strong foundation requiring additional refinement.
Architectural Strengths
Cohort-Oriented Thinking
The system is designed around cohort construction rather than document retrieval.
Preservation of Raw FHIR
Original payloads remain available for traceability and validation.
Validation Against Actual Data
The platform validates requests against populated fields and references rather than relying solely on schema definitions.
Future Low-Code Potential
The dataframe abstraction creates a path toward scientist-facing cohort builders.
Architectural Risks
Risk: Hardcoded Biomedical Assumptions
Current implementations rely heavily on GDC-specific conventions.
Impact
Medium
Mitigation
Introduce configurable semantic mappings and terminology abstraction layers.
Risk: User Experience Gap
The dataframe model still exposes technical concepts such as:
Impact
High
Mitigation
Develop:
Risk: Backend Coupling
The dataframe compiler remains closely aligned with ArangoDB execution semantics.
Impact
Medium
Mitigation
Introduce an explicit intermediate representation between semantic plans and backend execution plans.
Strategic Opportunities
Scientist-Facing Cohort Builder
The strongest opportunity is creation of a no-code cohort builder.
Desired workflow:
without requiring knowledge of:
Cross-Repository FHIR Analytics
Loom could become a generic analytics layer for:
if semantic assumptions become configurable.
Recommendation
Continue Investment In
Deprioritize
Prioritize Next
Decision
Loom should be viewed primarily as:
It should not currently be viewed as:
The architecture demonstrates significant promise and is aligned with long-term goals for biomedical interoperability and cohort construction.
The dataframe builder subsystem represents the most strategically valuable component and should become the center of future platform investment.
Consequences
Positive
Negative
Final Verdict
Loom is a strong architectural prototype and emerging platform for FHIR-native cohort discovery.
Its greatest value is not the current set of hardcoded cohort reports, but the underlying dataframe-builder architecture that could eventually provide a reusable analytical layer across diverse biomedical FHIR repositories.