Register all active platform services and base features in core DB so admin can manage them, add delivery/hospitality/sports-center backend phases, update apps catalog and production deploy tooling. Co-authored-by: Cursor <cursoragent@cursor.com>
116 lines
4.2 KiB
YAML
116 lines
4.2 KiB
YAML
# Healthcare service snapshot — phases 13.0–13.7 complete
|
||
# Spec: docs/ai-framework/service-snapshot-policy.md
|
||
|
||
schema_version: 1
|
||
snapshot_version: 1
|
||
|
||
service_name: healthcare
|
||
commercial_product: Torbat Healthcare
|
||
current_version: "0.13.7.0"
|
||
current_phase: healthcare-13-7
|
||
last_completed_phase: healthcare-13-7
|
||
next_phase: null
|
||
|
||
completed_phases:
|
||
- healthcare-13-0
|
||
- healthcare-13-1
|
||
- healthcare-13-2
|
||
- healthcare-13-3
|
||
- healthcare-13-4
|
||
- healthcare-13-5
|
||
- healthcare-13-6
|
||
- healthcare-13-7
|
||
remaining_phases: []
|
||
|
||
registered_modules:
|
||
- foundation
|
||
- profiles
|
||
- appointments
|
||
- doctor_panel
|
||
- visit_sessions
|
||
- visit_notes
|
||
- clinic_services
|
||
- staff_assignments
|
||
- clinic_policies
|
||
- operating_hours
|
||
- patient_portal
|
||
- medical_records
|
||
- encounters
|
||
- clinical_lists
|
||
- pharmacies
|
||
- prescription_orders
|
||
- delivery_integration
|
||
|
||
enabled_capabilities:
|
||
- foundation
|
||
- appointments
|
||
- doctor_panel
|
||
- clinic_management
|
||
- patient_portal
|
||
- medical_records
|
||
- pharmacy
|
||
- delivery_integration
|
||
|
||
enabled_bundles:
|
||
- torbat_healthcare
|
||
|
||
public_apis:
|
||
- { method: GET, path: /health, permission: public }
|
||
- { method: GET, path: /capabilities, permission: public }
|
||
- { method: GET, path: /metrics, permission: public }
|
||
- { method: POST, path: /api/v1/clinics, permission: healthcare.clinics.create }
|
||
- { method: GET, path: /api/v1/clinics, permission: healthcare.clinics.view }
|
||
- { method: POST, path: /api/v1/appointments, permission: healthcare.appointments.manage }
|
||
- { method: GET, path: /api/v1/appointments, permission: healthcare.appointments.view }
|
||
- { method: GET, path: /api/v1/doctor-panel/dashboard, permission: healthcare.doctor_panel.view }
|
||
- { method: POST, path: /api/v1/visit-sessions, permission: healthcare.visit_sessions.manage }
|
||
- { method: POST, path: "/api/v1/visit-sessions/{id}/finish", permission: healthcare.visit_sessions.manage }
|
||
- { method: POST, path: /api/v1/clinic-services, permission: healthcare.clinic_services.manage }
|
||
- { method: GET, path: /api/v1/patient-portal/me, permission: healthcare.patient_portal.view }
|
||
- { method: POST, path: /api/v1/patient-portal/appointments, permission: healthcare.patient_portal.manage }
|
||
- { method: POST, path: /api/v1/medical-records, permission: healthcare.medical_records.manage }
|
||
- { method: POST, path: "/api/v1/encounters/{id}/finalize", permission: healthcare.encounters.manage }
|
||
- { method: POST, path: /api/v1/pharmacies, permission: healthcare.pharmacies.manage }
|
||
- { method: POST, path: /api/v1/prescription-orders, permission: healthcare.prescriptions.submit }
|
||
- { method: POST, path: /api/v1/delivery-integrations, permission: healthcare.delivery_integration.manage }
|
||
- { method: POST, path: "/api/v1/delivery-job-intents/prescription-orders/{id}", permission: healthcare.delivery_integration.submit }
|
||
- { method: POST, path: /api/v1/webhooks/delivery-status, permission: webhook }
|
||
|
||
published_events:
|
||
- { event_type: healthcare.appointment.booked, version: "1" }
|
||
- { event_type: healthcare.appointment.completed, version: "1" }
|
||
- { event_type: healthcare.visit_session.finished, version: "1" }
|
||
- { event_type: healthcare.clinic_service.created, version: "1" }
|
||
- { event_type: healthcare.patient_portal.profile_created, version: "1" }
|
||
- { event_type: healthcare.encounter.finalized, version: "1" }
|
||
- { event_type: healthcare.prescription_order.submitted, version: "1" }
|
||
- { event_type: healthcare.delivery_job_intent.created, version: "1" }
|
||
|
||
permission_prefix: healthcare.
|
||
|
||
active_adrs:
|
||
- ADR-013
|
||
- ADR-018
|
||
- ADR-019
|
||
|
||
integration_contracts:
|
||
- CommunicationProvider
|
||
- DeliveryProvider
|
||
- StorageProvider
|
||
- AccountingProvider
|
||
- CRMProvider
|
||
- LoyaltyProvider
|
||
- IdentityProvider
|
||
- AIProvider
|
||
|
||
known_limitations:
|
||
- No frontend doctor/patient UI in Healthcare service
|
||
- Delivery dispatch owned by Delivery platform; mock provider in tests
|
||
- Medical records are shells; no national EHR exchange
|
||
- Binary document storage via Storage refs only
|
||
|
||
open_todos: []
|
||
|
||
last_handover_reference: docs/phase-handover/phase-13-7.md
|
||
last_updated: "2026-07-26"
|