Skip to content
Alpha: see what works today →
Menu

Built on Cascade · Case study · Published Feb 2026 · Checked 15 Nov 2026

POTS Check

How a shipping iPhone and Apple Watch app was built on Cascade: what it uses, how its records are kept, and what that does and does not show about the protocol.

Status
On the App Store since December 2025 (v1.3a)
Platform
iOS 18+ and watchOS 11+
Uses
The pots vocabulary (now v1.4)
Stores
An encrypted local pod on the phone
Sends
No health data; optional anonymous usage analytics (privacy policy)

What it checks

The NASA Lean Test, at home.

POTS Check runs the NASA Lean Test: a 5-minute lying baseline, then 10 minutes standing, with Apple Watch heart rate and the patient's symptoms recorded throughout. A heart rate rise of 30 bpm or more from baseline (40 bpm or more for ages 13 to 19) meets its screening threshold, which is not a diagnosis; only a clinician can make one.

POTS Check home screen: start a test, and the last result at a glance: baseline 69, a rise of 39 beats per minute, recovery 75.
Home, with the last result Start a test; the last one at a glance: baseline 69, a rise of 39 bpm, recovery 75.
POTS Check on the iPhone during the standing phase: six minutes to go, heart rate live from the watch, a symptom one tap away.
Standing, on the iPhone Six minutes to go, heart rate live from the watch, a symptom one tap away.
POTS Check on the Apple Watch during the standing phase: heart rate, the countdown, up 35.
Standing, on the Apple Watch The same moment on the wrist: heart rate, the countdown, "up 35".
POTS Check test result: the heart rate over the test against the reference line, then the clinical data table.
One test's result The heart rate over the test against the reference line, then the clinical data table.
POTS Check history: six tests, four above the reference, average rise 33 beats per minute, and the PDF export.
History Six tests, four above the reference, average rise 33 bpm, and the PDF export.

How it's built

Watch to encrypted file, all on the phone.

ComponentRoleRuns on
POTS Check iOS appTest steps, timing, HealthKit accessiPhone
POTS Check watchOS appLive heart rate on the wristApple Watch
Apple HealthKitHeart rate sourceiPhone
The app's own codeRecords, Turtle, pod storage, AES-256-GCM encryptionInside the app
Local podEncrypted test sessions as Turtle filesApp sandbox
Pod exportEncrypted .pod file for a clinician or backupMade on request

Which parts of Cascade it uses

PartIn POTS Check
VocabularyThe pots vocabulary for the result, heart rate and symptoms, with FHIR and SNOMED terms where they fit.
ProvenanceFollows the app's pots vocabulary v1.4 (the pots vocabulary): a source label on each record, so a sensor reading and a reported symptom stay distinct. The app's source is not public.
Pod and encryptionTurtle files in an encrypted local pod, through an early copy of the SDK. The current runtime is not used.

Data flow

Apple Watch        heart rate samples          DeviceGenerated
   ↓
HealthKit          read per session, heart rate only
   ↓
POTS Check app     + symptoms entered by patient  SelfReported
   ↓
The app's code     pots: records in Turtle
   ↓
AES-256-GCM        key in the iOS Keychain
   ↓
Local pod          wellness/pots-sessions/*.ttl
   ↓  (only if the user exports)
.pod file          shared by Files, AirDrop or email

Nothing leaves the phone until the user exports. No health data is sent to a server.

The protocol in practice

A check result, in Cascade.

An illustrative result, written for this page with terms from pots.ttl v1.4. It is not an export from the app, and the values are made up.

<urn:uuid:e4f5a6b7-c8d9-0123-efab-234567890123>
  a pots:POTSCheckResult ;
  pots:date "2026-01-20T14:00:00Z"^^xsd:dateTime ;
  pots:protocol "nasaLean" ;
  pots:baselineDurationSeconds 300 ;
  pots:uprightDurationSeconds 600 ;
  pots:supineHeartRate [ a pots:HeartRateMeasurement ;
      fhir:valueQuantity [ fhir:value "58.0"^^xsd:double ] ] ;
  pots:standingHeartRates ( [ a pots:HeartRateMeasurement ;
      fhir:valueQuantity [ fhir:value "97.0"^^xsd:double ] ;
      pots:secondsSinceStand "180.0"^^xsd:double ] ) ;
  pots:symptomEvents ( [ a pots:SymptomEvent ;
      pots:symptom "Dizziness" ;
      pots:timestampSeconds "180.0"^^xsd:double ] ) ;
  pots:maxHeartRateDelta "39.0"^^xsd:double ;
  pots:potsThresholdMet true ;
  cascade:dataProvenance cascade:DeviceGenerated ;
  cascade:schemaVersion "1.4" .
Show the vocabulary excerpt from pots.ttl v1.4
pots:POTSCheckResult a owl:Class ;
  rdfs:label "POTS Check Result"@en ;
  rdfs:subClassOf prov:Entity .        # exactly one pots:date, pots:protocol
pots:HeartRateMeasurement a owl:Class ;
  rdfs:subClassOf fhir:Observation .
pots:SymptomEvent a owl:Class ;
  rdfs:comment "User-reported symptom captured during the standing phase"@en .
pots:supineHeartRate a owl:ObjectProperty ;
  rdfs:range pots:HeartRateMeasurement ;
  owl:equivalentProperty sct:78564009 .   # Heart rate at rest
pots:maxHeartRateDelta a owl:DatatypeProperty ;
  rdfs:range xsd:double .                  # 30-second rolling average
pots:potsThresholdMet a owl:DatatypeProperty ;
  rdfs:range xsd:boolean .                 # >=30 bpm adults, >=40 bpm ages 13-19

Full definitions: the pots vocabulary.

Provenance

Each record says where it came from.

One test session holds records from different sources, and each carries its own provenance, so a clinician reading the export can tell a sensor reading from a reported symptom.

  • Heart ratecascade:DeviceGenerated. Measured by Apple Watch through HealthKit.
  • Symptomscascade:SelfReported. Entered by the patient while standing, as pots:SymptomEvent.
  • The resultcascade:DeviceGenerated. Computed by the app from the sensor data, and holds the readings it was computed from.
  • Clinician notescascade:ClinicalGenerated, if a clinician adds notes to the pod later.

Encryption

Encrypted before it touches the disk.

With an account, every Turtle file is encrypted with AES-256-GCM before it is written. Guest mode keeps data in memory only and writes no files. The key is created on first launch and kept in the iOS Keychain. Exports stay encrypted; the user shares the key separately.

LimitsGCM detects a changed file but not a file swapped for an older copy or removed. The app's early SDK copy predates the current pod encryption spec, and the encryption has not been independently audited.

What it shows

What one shipping app shows, on an early copy of the SDK.

6.1

The vocabulary is enough

A whole NASA Lean Test check fits the pots vocabulary: result, heart rate and blood pressure, symptoms, posture, flags.

6.2

Mixed provenance works

Device readings and patient-reported symptoms sit in one session, each labeled.

6.3

Local-first is viable

Encryption, storage and serialization run with no server, offline.

6.4

Exports are readable

Once decrypted, the Turtle opens in any text editor or RDF viewer.

6.5

The pipeline runs end to end

Apple Watch to HealthKit to the app's early SDK copy to encrypted Turtle, in the released app.

6.6

The layers coexist

FHIR and SNOMED mappings, the pots vocabulary and the app's summary, with no change to core.

Scope and limits

A first deployment, not a mature ecosystem.

  • One team, one app. Built by the people who designed the protocol; no third-party implementation yet.
  • One condition. Says nothing about how well the vocabularies fit oncology, cardiology or genomics.
  • No EHR integration. The export is for individuals to share, not institutional exchange.
  • An early SDK copy. Its encryption predates the current spec.
  • Solid layout only. No sync with a Solid server has been built or tested.