Export patient records
- Open Settings → Export Patient Records.
- Review the patient and encounter counts.
- Tap Export Patient Records and keep Maestra in the foreground while PDFs are generated.
- Save the completed archive from the share sheet or browser download.
Archive layout
Section titled “Archive layout”The version 3 filename is maestra-export-<user-id>-<YYYY-MM-DD>.zip.
manifest.jsoncontains version, export time, user ID, and aggregate counts.user.jsoncontains exported user metadata and preferences.patients/<id>.jsoncontains one patient with contacts, custom form values, effective stage, encounters, transcripts, generated notes, encounter-assistant history, and Patient Assistant history.patients/<id>.pdfcontains the human-readable patient record.
The export does not include finance ledgers, finance settings, expenses, or reusable generated-note and patient-form template definitions.
Processing boundary
Section titled “Processing boundary”Fetching, decryption, JSON serialization, and final ZIP assembly happen locally. Each included patient PDF is different: the app renders clinical HTML locally, sends that plaintext HTML transiently to the authenticated Maestra relay renderer, and adds the returned PDF to the ZIP. The renderer does not store the clinical payload.

