Data model

The Keystone lists grouped by area, with their lifecycles.

Lists are defined in features/keystone/models/ and registered in models/index.ts. Each row below is one model file.

AreaLists
agentsAgentToolGrant, AgentRun, Proposal, AgentAction
billingFeeSchedule, FeeScheduleVersion, FeeItem, PriceRule, Estimate, EstimateVersion, EstimateOption, EstimateLine, EstimateAcceptance, TreatmentPlan, TreatmentPlanItem, OverageApproval, Deposit, ArPeriod, Invoice, ChargeLine, CreditNote, Payment, PaymentAttempt, PaymentAllocation, Refund, PaymentWebhookEvent, ClientLedgerEntry, PayerAuthorization, InsuranceClaimPacket
boardingRunType, Run, NightlyRunInventory, BoardingReservation, BoardingStay, RunAssignment, RunCard, BelongingItem, DailyCareLog, GroomAppointment, GroomNote, ServiceItem
clientsClient, ClientPerson, ContactPoint, ConsentRecord, Species, Breed, ColourMarking, Patient, PatientOwnership, WeightMeasurement, PatientAlert, AlertAcknowledgement, Microchip, VcprRecord, ThirdPartyPayer, PetInsurancePolicy, ReferralHospital, ReferringVet, RefillRequest, RecordsRequest, RecordsRelease
commsCommsThread, CommsMessage, MessageTemplate, CallRecord, Suppression, KnowledgeBaseEntry, PublicSiteProfile, PublicAppointmentType, PortalSession, RateLimitBucket
compliancePolicyPack, PolicyVersion, PolicyBinding, ComplianceTask, Task, Note, Tag, LegalHold, RetentionPolicy, Incident, MachineCredential
endOfLifeEuthanasiaConsent, DeathRecord, AftercareOrder, CustodyEvent, MemorialItem
importsImportBatch, ImportRow
inventoryUnitOfMeasure, Item, ItemUomConversion, StockLocation, StockMovement, StockLevel, Supplier, SupplierItem, PurchaseOrder, PurchaseOrderLine, GoodsReceipt, GoodsReceiptLine, ReorderRule, StockCount, StockCountLine, RecallCase, RecallExposure, TemperatureLog, TemperatureExcursion
pharmacyDrugProduct, Prescription, PrescriptionLine, CsContainer, CsLogEntry, Dispense, CsCount, CsCountLine, CsDiscrepancyCase, CsDestructionRecord, PdmpReport, CsWitness, CsOrderForm, CsOrderFormLine, CsTransfer, PdmpSubmission, CabinetAccessEvent, DispenseLabel, ExternalDispense, WrittenRxExport
phase6Laboratory, Analyte, LabTest, LabAnalyteMap, ReferenceRange, LabOrder, Specimen, LabResult, LabResultValue, ResultReview, ImagingOrder, ImagingStudy, ImagingReport, ProductionRuleVersion, ProductionCredit, Commission, PayPeriod, PayrollExportBatch, ExportJob, Campaign
platformAgentIdentity, AuditEvent, CommandReceipt, Sequence, Notification, BusinessCalendar, CalendarException, ApprovalPolicy, ApprovalRequest, ApprovalDecision, Document, SecretBox, ReadAudit, BreakGlassEvent, ProviderObservation, IntegrationConnection, ExternalId
practicePracticeSettings, Location, DeaRegistration, DeaPowerOfAttorney, StaffMember, ProfessionalLicense, LicenseEvaluation
preventiveVaccineProduct, VaccineAdministration, RabiesCertificate, ReminderType, ReminderProtocol, ReminderProtocolVersion, ReminderRule, PatientReminder, ReminderSatisfaction, AdverseEventReport
recordEncounter, SoapSection, SoapSectionRevision, Addendum, VitalsObservation, PhysicalExamFinding, DiagnosisCode, Problem, Diagnosis, ClinicalAttachment, ClinicalDocument, RecordTemplate, Glossary, ScribeSession, ScribeDraft, Referral
scheduleStaffSchedule, AppointmentType, Resource, ResourceReservation, ProviderReservation, Appointment, AppointmentPatient, AppointmentSegment, SegmentTransition, WaitlistEntry, TriageProtocol, TriageProtocolVersion, TriageAssessment, WhiteboardEntry
treatmentClinicalOrder, DoseCalculation, InventoryLot, Administration, Ward, Cage, HospitalStay, CageAssignment, TreatmentSheetOrder, TreatmentTask, AnaesthesiaRecord, MonitoringReading, SurgeryReport, DentalChart, DischargeInstruction
wellnessWellnessPlan, WellnessPlanVersion, Enrollment, EnrollmentConsent, EntitlementGrant, EntitlementEntry, PlanBillingRun, PlanBillingAttempt
authUser, Role, OAuthApp, OAuthToken

Lifecycles

ListStatuses
Appointmentrequested, booked, confirmed, checked_in, in_progress, ready_for_checkout, completed, cancelled, no_show, declined
Clientprospect, active, inactive, merged, closed
Patientpending, active, inactive, deceased, merged
Encounteropen, in_progress, pending_signature, signed, voided
ClinicalOrderordered, in_progress, completed, cancelled, reversed
Prescriptiondraft, active, exhausted, expired, cancelled
CsContainersealed, open, emptied, quarantined, disposed, retired
LabOrderordered, specimen_collected, sent, partial, final, corrected, reviewed, communicated, cancelled
Estimateopen, accepted, closed
Invoicedraft, posted, partially_paid, paid, written_off
Paymentpending, succeeded, failed, unknown, voided
Enrollmentpending_payment, active, cancelling, cancelled, suspended, completed, ended_by_death
BoardingReservationrequested, confirmed, checked_in, checked_out, cancelled, no_show
CallRecordringing, in_progress, completed, failed
ApprovalRequestpending, approved, rejected, expired, cancelled

Status fields cannot be updated through the generic API. Only the named mutations move them, and each move writes an audit event.

On this page