BastCare solution architecture
Small by design. Patient-controlled by default.
This public view explains the people, components, data boundaries, decisions, functional requirements, and quality requirements behind BastCare.
Architecture snapshotSeptember 9, 2026
Take the architecture with you.Download the public six-page system context, visit lifecycle, CareTeam sharing, deletion, and accountability view.
Download PDF
Context
The patient is in control.
A patient records with everyone’s permission, receives a plain-language summary, and decides whether a CareTeam can see it. BastCare organizes and communicates; it does not provide medical advice.
Patient
controls →
BastCare appconsent · capture · summary · choice
↗Apple servicesSpeech · sign-in
→Bast platformtemporary processing · encrypted relay · evidence
↘CareTeam membersees only what was shared
Visit flow
One simple path from permission to a private summary.
- 1
Ask
Everyone agrees before recording.
- 2
Capture
Audio and Apple Speech stay on the iPhone.
- 3
Summarize
A masked copy travels securely for temporary processing.
- 4
Keep the source
Audio is removed; the original transcript remains on the iPhone.
- 5
Choose
Review, regenerate, share, or keep the summary private.
Content boundary: Bast server logs and storage exclude audio, transcript words, prompt and response bodies, summary words, diagnoses, and medications.
Components
Each part has one job.
01BastCare iPhone app
Consent, on-device capture, local summaries, encryption keys, sharing choices, and deletion.
02Apple services
Device speech and Sign in with Apple.
03Summary boundary
Authenticated temporary processing with content-free success, failure, timing, and token-count evidence.
04CareTeam relay
Delivers only patient-approved encrypted summary copies and removes access after revocation.
05Metadata ledger
Stores limited operational facts without visit words and records deletion outcomes.
06Selected AI provider
Anthropic or OpenAI temporarily turns the requested masked text into a summary response.
Which AI does BastCare use? BastCare can use Anthropic or OpenAI models. We match the model to the task and evaluate quality, reliability, speed, and resource use. The provider can change as those needs change; each request goes only to the selected provider.
Account deletion
Confirm → delete server data → clear the phone.
- Patientconfirms account deletion
- BastCaresends one authenticated request
- Bastrevokes sessions and deletes account-linked auth, relay, and metadata
- Evidencede-links aggregate token counts and records a content-free deletion event
- BastCareclears the iPhone only after success
Design commitments
What you can expect
- No server transcript archive. Bast does not persist or log transcript text.
- On-device source. The original transcript stays protected with the visit until the user deletes it.
- User-controlled regeneration. A new summary remains a preview until the user chooses Use this summary; sharing it again is a separate choice.
- Explicit sharing. Sharing nothing is valid; every share is patient-selected and revocable.
- Full account deletion. Deleting a Bast account removes account-linked identity, access, encrypted shares, and local app data.
- Not a medical device. BastCare organizes and communicates; it does not make clinical claims.
Functional requirements
What the product must do
- Ask for cloud-processing choice and fresh recording permission.
- Keep the original transcript protected on-device and remove audio after a summary is saved successfully.
- Let the patient view or download the transcript and regenerate a summary from it.
- Keep regeneration as a preview until the patient chooses Use this summary.
- Let the patient preview, share, change, and revoke from My Visits.
- Delete a visit with its transcript and summary; delete account-linked server and local app data when the account is deleted.
Non-functional requirements
How it must behave
- Privacy
- No server persistence or logging of visit content.
- Security
- Account isolation, secure connections, protected keys, and encrypted sharing.
- Reliability
- Try Again without silent loss; server success before audio deletion.
- Accessibility
- VoiceOver, Dynamic Type, text-first actions, visible focus, and no color-only meaning.
- Auditability
- De-identified usage and content-free events without retaining a deleted identity.
- Performance
- Immediate feedback; network waits never freeze navigation.