Run adaptive, decentralized studies without drowning the EDC — connect wearables, ePRO, eConsent, telehealth, and site EHR through one governed layer that resolves subject identity, enforces consent, reduces device streams to analyzable endpoints, and keeps raw data addressable as source.
Tags: life-sciences, pharma, decentralized-trials, clinical-trials, wearables, fhir, veeva, streaming
Decentralized Trials: Wearables and Remote Data to Clinical Platforms
Objective: Make decentralized and adaptive trial designs practical by getting continuous remote data — wearables, ePRO, telehealth, and site EHR — into the clinical platform in a form investigators and statisticians can actually use. Recruitment improves when participation does not require a site visit; the integration's job is to make that data trustworthy rather than merely voluminous.
What's Getting Built
- Device and app connectivity (System API) — wraps each wearable, ePRO, eConsent, telehealth, and EHR vendor and normalizes its stream into a canonical model ·
POST /device/observations, GET /Patient/{id}/Observation, POLL vendor sync
- Identity, consent, and summarize (Process API) — resolves device identity to the study subject, enforces consent at use time, and derives protocol endpoints from the raw timeline ·
POST /subjects/resolve, POST /endpoints/derive, POST /consent/withdraw
- Raw device data store (Object Store) — lands raw device payloads as retained source before derivation, addressable from the EDC record ·
STORE raw/{study}/{subject}, RETRIEVE raw/{study}/{subject}
- EDC / CDMS study datasets (target) — receives provenance-carrying derived endpoints idempotently as CDISC-aligned observations ·
POST /observations, PUT /observations/{key}
- Monitoring and safety signals (target) — receives threshold breaches and protocol deviations immediately, off the analytics schedule ·
POST /safety/breach, POST /deviation
Value chain phase
Phase 02 — Clinical Development. Phases I–III testing on human subjects to ensure safety and efficacy.
- Scope of this plan: Remote data capture into EDC and CDMS: device connectivity, subject identity and consent, endpoint derivation, and safety signal routing.
- Data in this phase: Electronic Data Capture (EDC), Clinical Trial Management Systems (CTMS), and EHR.
- Receives from: Phase 01 — Research & Discovery.
- Hands off to: Phase 03 — Regulatory & Compliance.
Prerequisites
- Anypoint Platform org with API Manager and a non-production deployment target.
- Secrets Manager or secure properties configured for every regulated system credential.
- Named validation owner — GxP flows need a change-control path agreed before the first deployment.
- Protocol-level agreement on which remote measures are endpoints and which are supportive — this decides what reaches the EDC.
- Device and app vendor API access (wearables, ePRO, eConsent, telehealth) with per-study provisioning.
- EDC or CDMS (Veeva CDMS, Medidata Rave, or equivalent) with an integration path and CDISC-aligned target structures.
- Object storage for raw device data retained as source, with retention matching the study record.
Choose your path
- Device-led capture — Choose when wearables and sensors carry the primary endpoints — continuous streams reduced to protocol-defined measures before they reach the EDC.
- eSource from site EHR — Choose when the burden is transcription at sites — FHIR-based eSource pulls existing clinical data instead of asking coordinators to re-key it.
Platform notes
Wearables and remote sensors
- Vendor APIs differ in sampling, gaps, and back-fill behavior — normalize at the System API and keep per-vendor quirks out of the study logic.
- Data arrives late and out of order after a device syncs; derive endpoints from the timeline rather than from arrival sequence.
EDC / CDMS
- EDC is designed for structured observations, not continuous signals — send the derived endpoint with a reference to the raw source, never the waveform.
- Align target structures to CDISC conventions early; retrofitting a study's data model mid-flight is expensive and visible to regulators.
eConsent and telehealth
- Consent version and scope govern what may be collected and reused — evaluate at use time, and stop collection promptly on withdrawal.
- Telehealth visit records are study documents; capture them with the same rigour as an on-site visit.
Architecture
1. Business requirements
- Widen recruitment by letting subjects participate from home without weakening data quality.
- Support adaptive designs that need current data, not a database lock months later.
- Keep investigators able to see and act on safety signals arriving between visits.
- Preserve every remote measurement as source data an inspector can trace.
2. Device and application connectivity
- Wrap each device platform, ePRO, eConsent, and telehealth vendor in its own System API.
- Handle late arrival, back-fill, and duplicate submissions as normal conditions, not exceptions.
- Detect non-adherent devices — a subject whose wearable stopped syncing is a study risk, not a data gap.
- Land raw payloads in object storage before derivation, and keep them addressable from the EDC record.
3. Subject identity and consent
- Resolve device and app identities to the study subject through a pseudonymized mapping held in one place.
- Never let a vendor platform hold both direct identifiers and study data.
- Evaluate consent scope at the point of use, including reuse for exploratory analysis.
- Propagate withdrawal promptly — stop collection, and mark the boundary in the record rather than deleting history.
4. Endpoint derivation and EDC delivery
- Derive protocol-defined endpoints from the raw timeline with a versioned, reviewable algorithm.
- Deliver the derived value plus provenance — algorithm version, window, completeness, and raw source reference.
- Flag insufficient wear time or coverage instead of emitting an endpoint computed from too little data.
- Make delivery idempotent so a re-derivation updates rather than duplicates the observation.
5. Safety signals and monitoring
- Route threshold breaches and potential adverse events immediately, never on the analytics schedule.
- Surface protocol deviations detectable from remote data — missed assessments, out-of-window measurements.
- Give monitors a per-subject data completeness view so remote sites are supervised like physical ones.
- Track device data yield per site and per cohort as a study health metric.
6. Security and GxP compliance
- Validate the integration under GAMP 5 — requirements, design, IQ/OQ/PQ evidence, and a traceability matrix retained for inspection.
- Meet 21 CFR Part 11 and EU Annex 11 for electronic records and signatures on every GxP-relevant flow.
- Preserve ALCOA+ data integrity — attributable, legible, contemporaneous, original, and accurate — with audit trails no operator can edit.
- Encrypt regulated data in transit and at rest, and keep production payload visibility to validated support roles only.
- Treat a mapping change on a GxP flow as a controlled change under change management, never as a hotfix.
- Remote source data must satisfy 21 CFR Part 11 and applicable eConsent expectations — signatures, versions, and audit trails included.
- Derivation algorithms that produce endpoints are part of the study's analytical record; version and document them like statistical code.
- Subject privacy is protected data — pseudonymize before any vendor or analytics platform sees it.
For pre-built API specifications, implementation templates, and reference architecture, see the MuleSoft Accelerator for Life Sciences on Anypoint Exchange.
Sample payload — Derived endpoint with provenance
{
"studyId": "STU-2026-0142",
"subjectPseudoId": "SUBJ-PS-0004411",
"endpoint": { "code": "STEPS-DAILY-MEAN", "value": 4128, "unit": "steps/day" },
"window": { "from": "2026-07-24", "to": "2026-07-30" },
"coverage": { "wearHours": 142.5, "requiredHours": 126.0, "sufficient": true },
"derivation": { "algorithm": "steps-daily-mean", "version": "2.1.0", "computedAt": "2026-07-31T02:10:00Z" },
"rawSource": "s3://dct-raw/STU-2026-0142/SUBJ-PS-0004411/2026-07/",
"consent": { "version": "IC-v3", "scope": ["primary-endpoint", "safety-monitoring"] }
}
Testing and validation
- Sync a device after several offline days and confirm back-filled data lands in the right timeline positions without duplicating observations.
- Reduce wear time below the protocol threshold and confirm the endpoint is withheld and flagged rather than computed.
- Withdraw consent and confirm collection stops, the boundary is recorded, and prior data remains intact.
- Re-run derivation with a new algorithm version and verify the EDC observation updates with new provenance instead of duplicating.
- Trigger a safety threshold and confirm immediate routing independent of the analytics schedule.
Phased rollout
Phase 1 — Connect
- Wrap one wearable platform and the ePRO app, and prove pseudonymized identity resolution end to end.
- Land raw data with retention and addressability confirmed before any derivation is built.
Phase 2 — Map and validate
- Implement one primary endpoint with coverage rules and deliver to the EDC in a sandbox study.
- Add safety routing and monitor views; validate Part 11 evidence with clinical operations.
Phase 3 — Production
- Extend to remaining devices, cohorts, and sites, keeping vendor quirks inside System APIs.
- Move data yield and device adherence monitoring into study operations with named owners.
Success metrics
- Screening and enrollment reach beyond the catchment of physical sites, measured against the prior study baseline.
- Device data yield per subject above the protocol threshold for the target share of the cohort.
- Safety threshold breaches routed to investigators within the agreed window, every time.
- Zero endpoints delivered to the EDC without provenance and coverage attached.
Troubleshooting
- Endpoint values shift after a routine re-run — Likely cause: derivation algorithm changed without version pinning. Fix: Pin the algorithm version per study and treat a change as a documented amendment with re-derivation.
- Duplicate observations in the EDC — Likely cause: delivery keyed on submission rather than subject, endpoint, and window. Fix: Make delivery idempotent on the derived observation key and update in place.
- Subject data appears under the wrong participant — Likely cause: device re-issued to a new subject without unmapping the previous one. Fix: Bind device identity to subject with effective dates and close the mapping on device return.
- EDC performance degrades as the study scales — Likely cause: high-frequency data being written to the EDC instead of derived endpoints. Fix: Keep raw in object storage and send only derived observations with a source reference.
Deliverable: A governed remote-data layer connecting wearables, ePRO, eConsent, telehealth, and EHR eSource to the EDC, delivering provenance-carrying derived endpoints and immediate safety routing.