PrevCare EHI Export Format — prevcare-ehi/1.0

This page documents the electronic health information (EHI) export format produced by PrevCare for single-patient and patient-population exports (ONC § 170.315(b)(10)). It is generated from the same data dictionary included as manifest.json in every export archive.

Machine-readable data dictionary (every field, type, enum value and relation): manifest

Schema fingerprint sha256:3ad84bb2912ae631faa612eeb55edcec78ea3f9b765cf612e5de62ac022e1d00 · manifest fingerprint sha256:bba051cb7f522f2baffb4d14b8f8f43c3a5d7f3ff7a50d26dd98f754e8985644 · 224 models (119 patient, 54 reference, 7 actor, 44 excluded)

Archive layout

Each export is a ZIP archive containing manifest.json (the data dictionary), export-metadata.json, reconciliation.json, README.txt, and:

Encoding rules

fileFormat
NDJSON — one JSON object per line, UTF-8, LF-terminated.
joins
Files are normalized. Join on the primaryKey and relation fields declared per model.
deletedRows
Soft-deleted rows are included and retain their stored deletion markers.
pointInTime
All export types select and serialize rows inside a repeatable-read snapshot; every model with createdAt is additionally bounded by the declared transactionTime.
nullEncoding
SQL NULL is encoded as JSON null. An empty string is a distinct value.
dateTimeEncoding
DateTime values are encoded as UTC ISO 8601 strings.
numericEncoding
Integers and floating-point values are JSON numbers; BigInt values are decimal strings.
jsonEncoding
JSON columns retain their stored JSON structure. JSON embedded in text remains a string.
enumEncoding
Enums use the stored Prisma enum value listed in the field definition.
binaries
Files named by a model's fileFields (an uploads/ path or a /documents/<id> link) are copied to binaries/; binaries/index.json maps each file to the rows that reference it, and unavailable files (or a /documents/<id> link whose upload row is gone) are listed in reconciliation.json.
actors
Actor rows are included only when referenced and contain only allowlisted fields.
patientAccounts
A model with patientAccount also writes the exported patients' own rows, in full except the listed excludedFields, to patientAccount.file (e.g. demographics on User).
redactions
Credentials carried inside rows are removed: the Chime JoinToken in MeetingAttendee.attendeeData, and the content of notifications that carried a one-time code or a sign-in, activation, payment or meeting link (replaced by a redaction marker).
references
Reference rows are included only when reached from exported patient, actor, or reference records.
exclusions
EXCLUDED models are documented for transparency but never receive an export file.

Patient models (119)

Rows belonging to the exported patients. A row is included when ANY listed path reaches the patient.

ModelFilePrimary keyPatient linkageFields
AddendumHistory ndjson/AddendumHistory.ndjson addendumHistoryId soapNote → SoapNote / patient → Patient 10
AIMessage ndjson/AIMessage.ndjson aiMessageId appointment → Appointment / patient → Patient 7
Allergy ndjson/Allergy.ndjson allergyId subjective → Subjective / soapNote → SoapNote / patient → Patient 11
Appointment ndjson/Appointment.ndjson id Direct: patientId 19
AppointmentAndServiceInstanceStateTransition ndjson/AppointmentAndServiceInstanceStateTransition.ndjson transitionId appointment → Appointment / patient → Patient
or serviceInstance → ServiceInstance / visit → Visit / patient → Patient
12
AppointmentNotes ndjson/AppointmentNotes.ndjson appointmentNotesId appointment → Appointment / patient → Patient 7
AppointmentReschedule ndjson/AppointmentReschedule.ndjson id appointment → Appointment / patient → Patient 11
Assessment ndjson/Assessment.ndjson assessmentId soapNote → SoapNote / patient → Patient 10
AssessmentPlacementDecision ndjson/AssessmentPlacementDecision.ndjson decisionId soapNote → SoapNote / patient → Patient 16
Attachment ndjson/Attachment.ndjson id message → Message / sender → User / patient → Patient
or message → Message / conversation → Conversation / participants[] → UserConversation / user → User / patient → Patient when written by staff (message → Message / sender → User is neither a patient nor a guardian)
Files from filePath, thumbnailPath are copied to binaries/
9
BloodPressureReading ndjson/BloodPressureReading.ndjson bloodPressureReadingId objective → Objective / soapNote → SoapNote / patient → Patient 10
CareDirectivePreference ndjson/CareDirectivePreference.ndjson id Direct: patientId 10
CarePlan ndjson/CarePlan.ndjson carePlanId problem → MasterProblemList / patient → Patient 9
CarePlanGoal ndjson/CarePlanGoal.ndjson carePlanGoalId carePlan → CarePlan / problem → MasterProblemList / patient → Patient 16
CarePlanGoalRevision ndjson/CarePlanGoalRevision.ndjson carePlanGoalRevisionId carePlanRevision → CarePlanRevision / plan → Plan / soapNote → SoapNote / patient → Patient 20
CarePlanRevision ndjson/CarePlanRevision.ndjson carePlanRevisionId plan → Plan / soapNote → SoapNote / patient → Patient 9
CarePlanVisit ndjson/CarePlanVisit.ndjson carePlanId, planId carePlan → CarePlan / problem → MasterProblemList / patient → Patient 2
Conversation ndjson/Conversation.ndjson id messages[] → Message / sender → User / patient → Patient
or participants[] → UserConversation / user → User / patient → Patient
7
Diagnosis ndjson/Diagnosis.ndjson diagnosisId assessment → Assessment / soapNote → SoapNote / patient → Patient 24
DiagnosisFinding ndjson/DiagnosisFinding.ndjson diagnosisId, findingId diagnosis → Diagnosis / assessment → Assessment / soapNote → SoapNote / patient → Patient 4
DiagnosisGroup ndjson/DiagnosisGroup.ndjson diagnosisGroupId assessment → Assessment / soapNote → SoapNote / patient → Patient 8
Document ndjson/Document.ndjson documentId Direct: patientId
Files from pdfUrl are copied to binaries/
13
EligibilityCheckHistory ndjson/EligibilityCheckHistory.ndjson eligibilityCheckHistoryId Direct: patientId 13
EmployeeToPatient ndjson/EmployeeToPatient.ndjson id Direct: patientId 5
Encounter ndjson/Encounter.ndjson encounterId Direct: patientId 12
EscalationGroup ndjson/EscalationGroup.ndjson escalationGroupId Direct: patientId 9
FamilyHistory ndjson/FamilyHistory.ndjson familyHistoryId subjective → Subjective / soapNote → SoapNote / patient → Patient 7
FemaleHealth ndjson/FemaleHealth.ndjson femaleHealthId subjective → Subjective / soapNote → SoapNote / patient → Patient 9
Finding ndjson/Finding.ndjson findingId soapNote → SoapNote / patient → Patient 5
ImagingOrder ndjson/ImagingOrder.ndjson imagingOrderId orderableValue → OrderableValue / Patient → Patient
or plan → Plan / soapNote → SoapNote / patient → Patient
17
ImagingOrderToDiagnosis ndjson/ImagingOrderToDiagnosis.ndjson imagingOrderToDiagnosisId imagingOrder → ImagingOrder / orderableValue → OrderableValue / Patient → Patient 4
ImplantableDevice ndjson/ImplantableDevice.ndjson implantableDeviceId Direct: patientId 19
InboundDocument ndjson/InboundDocument.ndjson inboundDocumentId Direct: patientId 26
InsuranceInfo ndjson/InsuranceInfo.ndjson insuranceInfoId Direct: patientId
Files from cardFrontUrl, cardBackUrl are copied to binaries/
32
Invoice ndjson/Invoice.ndjson invoiceId visit → Visit / patient → Patient
Files from invoiceBillUrl are copied to binaries/
10
InvoiceItem ndjson/InvoiceItem.ndjson invoiceItemId serviceInstance → ServiceInstance / visit → Visit / patient → Patient 15
LabOrder ndjson/LabOrder.ndjson labOrderId orderableValue → OrderableValue / Patient → Patient
or plan → Plan / soapNote → SoapNote / patient → Patient
16
LabOrderToDiagnosis ndjson/LabOrderToDiagnosis.ndjson labOrderToDiagnosisId labOrder → LabOrder / orderableValue → OrderableValue / Patient → Patient 4
Lifestyle ndjson/Lifestyle.ndjson lifestyleId Direct: patientId 9
MasterAllergyList ndjson/MasterAllergyList.ndjson allergyListId Direct: patientId 23
MasterClinicalFields ndjson/MasterClinicalFields.ndjson masterClinicalFieldsId Direct: patientId 13
MasterFamilyHistoryList ndjson/MasterFamilyHistoryList.ndjson familyHistoryListId Direct: patientId 15
MasterMedicationList ndjson/MasterMedicationList.ndjson medicationListId Direct: patientId 44
MasterPastMedicalHistoryList ndjson/MasterPastMedicalHistoryList.ndjson pastMedicalHistoryListId Direct: patientId 18
MasterProblemList ndjson/MasterProblemList.ndjson problemListId Direct: patientId 23
MasterScreeningList ndjson/MasterScreeningList.ndjson screeningListId Direct: patientId 22
MasterSocialHistoryList ndjson/MasterSocialHistoryList.ndjson socialHistoryListId Direct: patientId 26
MasterSurgicalHistoryList ndjson/MasterSurgicalHistoryList.ndjson surgicalHistoryListId Direct: patientId 17
MasterVaccinationList ndjson/MasterVaccinationList.ndjson vaccinationListId Direct: patientId 22
MedicalHistory ndjson/MedicalHistory.ndjson medicalHistoryId Direct: patientId 8
Medication ndjson/Medication.ndjson medicationId plan → Plan / soapNote → SoapNote / patient → Patient
or subjective → Subjective / soapNote → SoapNote / patient → Patient
57
MedicationDispense ndjson/MedicationDispense.ndjson medicationDispenseId Direct: patientId 19
MedicationToDiagnosis ndjson/MedicationToDiagnosis.ndjson medicationToDiagnosisId diagnosis → Diagnosis / assessment → Assessment / soapNote → SoapNote / patient → Patient 4
Meeting ndjson/Meeting.ndjson id soapNote → SoapNote / patient → Patient
or appointment → Appointment / patient → Patient
8
MeetingAttendee ndjson/MeetingAttendee.ndjson id user → User / patient → Patient 12
Message ndjson/Message.ndjson id sender → User / patient → Patient
or conversation → Conversation / participants[] → UserConversation / user → User / patient → Patient when written by staff (sender → User is neither a patient nor a guardian)
10
MessageRead ndjson/MessageRead.ndjson id user → User / patient → Patient 6
Notes ndjson/Notes.ndjson notesId Direct: patientId 6
NotificationDeviceDelivery ndjson/NotificationDeviceDelivery.ndjson notificationDeviceDeliveryId recipientDelivery → NotificationRecipientDelivery / patient → Patient 8
NotificationRecipientDelivery ndjson/NotificationRecipientDelivery.ndjson notificationRecipientDeliveryId Direct: patientId
or user → User / patient → Patient
21
Objective ndjson/Objective.ndjson objectiveId soapNote → SoapNote / patient → Patient 44
OrderableValue ndjson/OrderableValue.ndjson orderableValueId Direct: patientId
Files from fileUrl are copied to binaries/
24
OrderableValueSpecimen ndjson/OrderableValueSpecimen.ndjson orderableValueId, specimenId orderableValue → OrderableValue / Patient → Patient 3
PastMedicalHistory ndjson/PastMedicalHistory.ndjson pastMedicalHistoryId subjective → Subjective / soapNote → SoapNote / patient → Patient 7
Patient ndjson/Patient.ndjson patientId The patient row itself 25
PatientCondition ndjson/PatientCondition.ndjson id escalationGroup → EscalationGroup / patient → Patient 11
PatientEscalation ndjson/PatientEscalation.ndjson patientEscalationId Direct: patientId 17
PatientEscalationSnapshot ndjson/PatientEscalationSnapshot.ndjson patientEscalationSnapshotId Direct: patientId 19
PatientEthnicity ndjson/PatientEthnicity.ndjson id Direct: patientId 5
PatientOfficialLetter ndjson/PatientOfficialLetter.ndjson PatientOfficialLetterId Direct: patientId
Files from pdfUrl are copied to binaries/
22
PatientRace ndjson/PatientRace.ndjson patientRaceId Direct: patientId 5
PatientReportSubmission ndjson/PatientReportSubmission.ndjson patientReportSubmissionId Direct: patientId 9
PatientScore ndjson/PatientScore.ndjson patientScoreId Direct: patientId 10
PatientScoreToOrderableValue ndjson/PatientScoreToOrderableValue.ndjson id patientScore → PatientScore / patient → Patient 3
PatientTransfer ndjson/PatientTransfer.ndjson patientTransferId escalationGroup → EscalationGroup / patient → Patient 10
Payment ndjson/Payment.ndjson paymentId appointment → Appointment / patient → Patient 7
PaymentIntent ndjson/PaymentIntent.ndjson paymentIntentId invoice → Invoice / visit → Visit / patient → Patient 15
PaymentRecord ndjson/PaymentRecord.ndjson paymentRecordId invoice → Invoice / visit → Visit / patient → Patient 18
PharmacyInfo ndjson/PharmacyInfo.ndjson pharmacyInfoId Direct: patientId 11
Plan ndjson/Plan.ndjson planId soapNote → SoapNote / patient → Patient 9
PrescriptionLog ndjson/PrescriptionLog.ndjson prescriptionLogId soapNote → SoapNote / patient → Patient 9
ProcedureOrder ndjson/ProcedureOrder.ndjson procedureOrderId orderableValue → OrderableValue / Patient → Patient
or plan → Plan / soapNote → SoapNote / patient → Patient
16
ProcedureOrderToDiagnosis ndjson/ProcedureOrderToDiagnosis.ndjson procedureOrderToDiagnosisId procedureOrder → ProcedureOrder / orderableValue → OrderableValue / Patient → Patient 4
Reaction ndjson/Reaction.ndjson id user → User / patient → Patient 6
ReferenceDetail ndjson/ReferenceDetail.ndjson referenceDetailId diagnosis → Diagnosis / assessment → Assessment / soapNote → SoapNote / patient → Patient
or plan → Plan / soapNote → SoapNote / patient → Patient
or labOrder → LabOrder / orderableValue → OrderableValue / Patient → Patient
or imagingOrder → ImagingOrder / orderableValue → OrderableValue / Patient → Patient
or procedureOrder → ProcedureOrder / orderableValue → OrderableValue / Patient → Patient
or referralOrder → ReferralOrder / plan → Plan / soapNote → SoapNote / patient → Patient
or medication → Medication / plan → Plan / soapNote → SoapNote / patient → Patient
or medication → Medication / subjective → Subjective / soapNote → SoapNote / patient → Patient
or vaccination → Vaccination / orderableValue → OrderableValue / Patient → Patient
14
ReferralOrder ndjson/ReferralOrder.ndjson referralOrderId plan → Plan / soapNote → SoapNote / patient → Patient 12
ReferralOrderToDiagnosis ndjson/ReferralOrderToDiagnosis.ndjson referralOrderToDiagnosisId diagnosis → Diagnosis / assessment → Assessment / soapNote → SoapNote / patient → Patient 4
ReferralSource ndjson/ReferralSource.ndjson referralSourceId Direct: patientId 21
ResultableValue ndjson/ResultableValue.ndjson resultableValueId orderableValue → OrderableValue / Patient → Patient 11
RpmEvent ndjson/RpmEvent.ndjson eventId Direct: patientId 11
Screening ndjson/Screening.ndjson screeningId subjective → Subjective / soapNote → SoapNote / patient → Patient 15
ScreeningAnswer ndjson/ScreeningAnswer.ndjson screeningAnswerId masterScreeningList → MasterScreeningList / patient → Patient
or screening → Screening / subjective → Subjective / soapNote → SoapNote / patient → Patient
7
ScreeningResult ndjson/ScreeningResult.ndjson screeningResultId masterScreeningList → MasterScreeningList / patient → Patient
or screening → Screening / subjective → Subjective / soapNote → SoapNote / patient → Patient
10
ScriptSureLog ndjson/ScriptSureLog.ndjson logId soapNote → SoapNote / patient → Patient 20
ScriptSureMedication ndjson/ScriptSureMedication.ndjson scriptSureMedicationId soapNote → SoapNote / patient → Patient 41
ServiceInstance ndjson/ServiceInstance.ndjson serviceInstanceId visit → Visit / patient → Patient 20
ServiceInstanceIcd10Code ndjson/ServiceInstanceIcd10Code.ndjson serviceInstanceIcd10CodeId serviceInstance → ServiceInstance / visit → Visit / patient → Patient 6
ServiceInstanceStateTransition ndjson/ServiceInstanceStateTransition.ndjson transitionId serviceInstance → ServiceInstance / visit → Visit / patient → Patient 5
ShortCitations ndjson/ShortCitations.ndjson shortCitationsId plan → Plan / soapNote → SoapNote / patient → Patient
or labOrder → LabOrder / orderableValue → OrderableValue / Patient → Patient
or imagingOrder → ImagingOrder / orderableValue → OrderableValue / Patient → Patient
or procedureOrder → ProcedureOrder / orderableValue → OrderableValue / Patient → Patient
or referralOrder → ReferralOrder / plan → Plan / soapNote → SoapNote / patient → Patient
or medication → Medication / plan → Plan / soapNote → SoapNote / patient → Patient
or medication → Medication / subjective → Subjective / soapNote → SoapNote / patient → Patient
or diagnosis → Diagnosis / assessment → Assessment / soapNote → SoapNote / patient → Patient
11
SoapNote ndjson/SoapNote.ndjson soapNoteId Direct: patientId
Files from soapPdfUrl, visitSummaryPdfUrl, labOrdersPdfUrl, imagingOrdersPdfUrl, referralOrdersPdfUrl, allOrdersPdfUrl are copied to binaries/
57
SoapNoteDraft ndjson/SoapNoteDraft.ndjson soapNoteDraftId soapNote → SoapNote / patient → Patient 13
SoapNoteStateTransition ndjson/SoapNoteStateTransition.ndjson transitionId soapNote → SoapNote / patient → Patient 5
SoapNoteVisitRating ndjson/SoapNoteVisitRating.ndjson id Direct: patientId 15
SocialHistory ndjson/SocialHistory.ndjson socialHistoryId subjective → Subjective / soapNote → SoapNote / patient → Patient 17
Specimen ndjson/Specimen.ndjson specimenId orderableValueLinks[] → OrderableValueSpecimen / orderableValue → OrderableValue / Patient → Patient 10
SpecimenConditionCode ndjson/SpecimenConditionCode.ndjson specimenId, conditionCode specimen → Specimen / orderableValueLinks[] → OrderableValueSpecimen / orderableValue → OrderableValue / Patient → Patient 2
Subjective ndjson/Subjective.ndjson subjectiveId soapNote → SoapNote / patient → Patient 183
SuggestedQuestion ndjson/SuggestedQuestion.ndjson suggestedQuestionId soapNote → SoapNote / patient → Patient 11
SurgicalHistory ndjson/SurgicalHistory.ndjson surgicalHistoryId subjective → Subjective / soapNote → SoapNote / patient → Patient 7
SymptomCheckerAnswer ndjson/SymptomCheckerAnswer.ndjson symptomCheckerAnswerId session → SymptomCheckerSession / patient → Patient 11
SymptomCheckerSession ndjson/SymptomCheckerSession.ndjson symptomCheckerSessionId Direct: patientId 7
UserConversation ndjson/UserConversation.ndjson id user → User / patient → Patient 9
Vaccination ndjson/Vaccination.ndjson vaccinationId orderableValue → OrderableValue / Patient → Patient
or plan → Plan / soapNote → SoapNote / patient → Patient
or subjective → Subjective / soapNote → SoapNote / patient → Patient
23
VaccinationToDiagnosis ndjson/VaccinationToDiagnosis.ndjson vaccinationToDiagnosisId vaccination → Vaccination / orderableValue → OrderableValue / Patient → Patient
or vaccination → Vaccination / plan → Plan / soapNote → SoapNote / patient → Patient
or vaccination → Vaccination / subjective → Subjective / soapNote → SoapNote / patient → Patient
or diagnosis → Diagnosis / assessment → Assessment / soapNote → SoapNote / patient → Patient
4
Visit ndjson/Visit.ndjson visitId Direct: patientId 16

Reference models (54)

Supporting catalog and organization rows, included only when referenced by exported rows.

ModelFilePrimary keyRationaleFields
City reference/City.ndjson cityId — 5
Clinic reference/Clinic.ndjson id — 25
ClinicHoliday reference/ClinicHoliday.ndjson clinicHolidayId — 11
ClinicToInsuranceCompany reference/ClinicToInsuranceCompany.ndjson id — 5
CommonLabOrderGroup reference/CommonLabOrderGroup.ndjson commonLabOrderGroupId — 5
CommonLabOrderGroupItem reference/CommonLabOrderGroupItem.ndjson commonLabOrderGroupItemId — 6
CptCode reference/CptCode.ndjson cptCodeId — 5
CptCodeInsurancePrice reference/CptCodeInsurancePrice.ndjson id — 6
Deparment reference/Deparment.ndjson deparmentId — 4
DocumentUpload reference/DocumentUpload.ndjson id —
Files from filePath are copied to binaries/
7
ExistingCondition reference/ExistingCondition.ndjson existingConditionId — 4
EZClaimInsuranceCompany reference/EZClaimInsuranceCompany.ndjson id — 23
GlobalBodySiteCatalog reference/GlobalBodySiteCatalog.ndjson globalBodySiteCatalogId — 4
GlobalDiagnosisCatalog reference/GlobalDiagnosisCatalog.ndjson globalDiagnosisCatalogId — 6
GlobalIndustryCatalog reference/GlobalIndustryCatalog.ndjson globalIndustryCatalogId — 8
GlobalLabTestCatalog reference/GlobalLabTestCatalog.ndjson globalLabTestCatalogId — 11
GlobalLoincCatalog reference/GlobalLoincCatalog.ndjson globalLoincCatalogId — 4
GlobalMedicationCatalog reference/GlobalMedicationCatalog.ndjson globalMedicationCatalogId — 11
GlobalOccupationCatalog reference/GlobalOccupationCatalog.ndjson globalOccupationCatalogId — 8
GlobalProcedureCatalog reference/GlobalProcedureCatalog.ndjson globalProcedureCatalogId — 5
GlobalResultOptionCatalog reference/GlobalResultOptionCatalog.ndjson globalResultOptionCatalogId — 4
GlobalSpecimenTypeCatalog reference/GlobalSpecimenTypeCatalog.ndjson globalSpecimenTypeCatalogId — 4
GlobalUnitCatalog reference/GlobalUnitCatalog.ndjson globalUnitCatalogId — 4
Hub reference/Hub.ndjson id — 9
ImagingType reference/ImagingType.ndjson imagingTypeId — 4
Language reference/Language.ndjson alpha2 — 5
NotificationDeliveryGroup reference/NotificationDeliveryGroup.ndjson notificationDeliveryGroupId — 15
NotificationEvent reference/NotificationEvent.ndjson notificationEventId — 11
Orderable reference/Orderable.ndjson orderableId — 11
OrderableSpecimenType reference/OrderableSpecimenType.ndjson orderableId, globalSpecimenTypeCatalogId — 2
OrderableToResultable reference/OrderableToResultable.ndjson orderableToResultableId — 6
PatientRelationship reference/PatientRelationship.ndjson code — 4
PaymentDevice reference/PaymentDevice.ndjson paymentDeviceId — 7
PaymentMethod reference/PaymentMethod.ndjson paymentMethodId — 5
ProviderTaxonomy reference/ProviderTaxonomy.ndjson providerTaxonomyId — 5
Resource reference/Resource.ndjson resourceId — 7
ResourceAvailability reference/ResourceAvailability.ndjson availabilityId — 8
ResourceService reference/ResourceService.ndjson resourceServiceId — 5
Resultable reference/Resultable.ndjson resultableId — 16
ResultOptionSet reference/ResultOptionSet.ndjson optionSetId — 7
ResultOptionSetItem reference/ResultOptionSetItem.ndjson optionItemId — 5
ScreeningType reference/ScreeningType.ndjson screeningTypeId — 5
Service reference/Service.ndjson serviceId — 11
ServiceCptCode reference/ServiceCptCode.ndjson serviceCptCodeId — 5
Services reference/Services.ndjson servicesId — 7
SoapNoteSettings reference/SoapNoteSettings.ndjson soapNoteSettingsId — 8
SoapTemplate reference/SoapTemplate.ndjson soapTemplateId — 6
SocialHistoryType reference/SocialHistoryType.ndjson socialHistoryTypeId — 5
Specialty reference/Specialty.ndjson id — 5
State reference/State.ndjson stateId — 4
TemplateQuestion reference/TemplateQuestion.ndjson templateQuestionId — 9
UserSuffix reference/UserSuffix.ndjson id — 4
VaccinationType reference/VaccinationType.ndjson vaccinationTypeId — 4
VaccinationTypeCvx reference/VaccinationTypeCvx.ndjson vaccinationTypeCvxId — 8

Actor models (7)

Staff and user rows, included only when referenced and limited to allowlisted fields.

ModelFilePrimary keyRationaleFields
Doctor reference/Doctor.ndjson doctorId — 4
Employee reference/Employee.ndjson employeeId — 11
EmployeeLicense reference/EmployeeLicense.ndjson employeeLicenseId — 12
EmployeeToClinic reference/EmployeeToClinic.ndjson id — 5
ExternalProvider reference/ExternalProvider.ndjson externalProviderId — 15
EZClaimPhysician reference/EZClaimPhysician.ndjson id — 21
User reference/User.ndjson userId —
The exported patients' own rows (patient → Patient) are written in full to ndjson/User.ndjson, except password, zitadelUserId, charmsUserId, scriptSureUserEmail, lastLogin
9

Excluded models (44)

Stored data that is not part of the designated record set; never exported.

ModelFilePrimary keyRationaleFields
AICallLog — aiCallLogId AI usage and cost telemetry (token counts, opaque entity reference); generated clinical content is exported with its source records. 12
AIModel — aiModelId AI model configuration, not electronic health information. 10
AIModelCapability — aiModelCapabilityId AI model configuration, not electronic health information. 3
AIModelPrice — aiModelPriceId AI pricing configuration, not electronic health information. 9
AIOperation — aiOperationId AI operation taxonomy for usage accounting, not electronic health information. 9
Attribute — id Application configuration, not electronic health information. 4
AWSCallLog — awsCallLogId Cloud usage and cost telemetry (usage quantities, opaque entity reference). 12
AWSUsagePrice — awsUsagePriceId Cloud pricing configuration, not electronic health information. 9
AWSUsageType — awsUsageTypeId Cloud usage taxonomy, not electronic health information. 8
Device — id A user's app installation and push token; transport credential, not patient information. 13
DiagnosisResolutionCache — diagnosisResolutionCacheId Derived lookup cache that can be regenerated. 10
DoctorSchedule — id Provider availability configuration; booked appointments are exported. 13
EhiExportJob — ehiExportJobId Operational export metadata; not part of the designated record set. 14
EhiExportJobPatient — ehiExportJobPatientId Operational export selection metadata; not part of the designated record set. 3
EmailActionToken — emailActionTokenId Transient single-use security credential. 9
FavoriteDiagnosis — favoriteDiagnosisId Clinician preference rather than patient information. 8
FavoriteImagingOrder — favoriteImagingOrderId Clinician preference rather than patient information. 6
FavoriteLabOrder — favoriteLabOrderId Clinician preference rather than patient information. 6
FavoriteMedication — favoriteMedicationId Clinician preference rather than patient information. 18
FavoriteProcedureOrder — favoriteProcedureOrderId Clinician preference rather than patient information. 6
FavoriteReferralOrder — favoriteReferralOrderId Clinician preference rather than patient information. 7
FavoriteSet — favoriteSetId Clinician preference rather than patient information. 5
FavoriteSetToDiagnosis — favoriteSetId, favoriteDiagnosisId Membership of a clinician preference set. 2
FavoriteSetToImagingOrder — favoriteSetId, favoriteImagingOrderId Membership of a clinician preference set. 2
FavoriteSetToLabOrder — favoriteSetId, favoriteLabOrderId Membership of a clinician preference set. 2
FavoriteSetToMedication — favoriteSetId, favoriteMedicationId Membership of a clinician preference set. 2
FavoriteSetToProcedureOrder — favoriteSetId, favoriteProcedureOrderId Membership of a clinician preference set. 2
FavoriteSetToReferralOrder — favoriteSetId, favoriteReferralOrderId Membership of a clinician preference set. 2
FavoriteSetToVaccination — favoriteSetId, favoriteVaccinationId Membership of a clinician preference set. 2
FavoriteVaccination — favoriteVaccinationId Clinician preference rather than patient information. 5
GlobalMedicationCatalogRetiredHistory — globalMedicationCatalogRetiredHistoryId Retirement history of the medication catalogue; the referenced catalogue rows, with their current status, are exported. 6
InboundFaxEmailLog — inboundFaxEmailLogId Fax-to-email transport log; documents filed to a patient are exported as InboundDocument. 26
Otp — otpId Transient authentication credential. 10
PatientActivationToken — id Transient single-use security credential. 7
Permission — id Access-control configuration. 7
Reports — reportsId Regenerable clinic analytics; source patient records are exported. 12
Role — id Access-control configuration. 7
RolePermission — roleId, permissionId Access-control configuration. 5
RpmVitalsContextCache — patientId Expiring AI-prompt cache built from the patient's vitals and rebuilt on every vitals write; the source readings are exported. 3
UserAttribute — userId, attributeId Application configuration rather than patient information. 6
UserPermission — userId, permissionId Access-control configuration. 5
UserRole — userId, roleId Access-control configuration. 5
UserUiPreference — userUiPreferenceId Per-user screen layout preference, not patient information. 16
UserUiSystemDefaults — id Application screen layout defaults, not patient information. 15