neuro

byMonin Modi

this is the requirement doc

RecommendationsAuditLogPendingActionsAssessmentResultsPatientRosterDashboardTimelineClinicalSummaryNudgesAssessmentsSecurityConsoleDeploymentConsoleGraphMemoryChatbotPatientProfileWearableDataNudgeQueueClinicalDashboardAIInsightsAssessmentAssignAIOrchestrationTaskAssignAssessmentReviewNeuroWorld Clinical EnrollmentRule GovernanceNeuroWorld Enrollment ConfirmationClinician DashboardMedical Director Population ViewNeuroWorld Clinical Consent & Data PermissionsOrganization/Site/Clinician ManagementNeuroWorld Consent & Data ConnectionsAction QueueLandingAssign TaskActionsAssign AssessmentClinical Copilot
Recommendations

Comments (0)

No comments yet. Be the first!

Architecture

Service Dependenciesv17
External systems
LLM stack
Persistence
FHIR adapter - backend/app/fhir/
Consent & RBAC - backend/app/consent/
Operational workflow - backend/app/operations/
Identity linking - backend/app/identity/
Routing layer - backend/app/routes/
Access audit trail - backend/app/audit/
Gateway cross-cutting - backend/app/gateway/
Entry point
Client tier
REACT_APP_API_BASE_URL
register_sink(logging_sink)
to_access_event()
access_events table
DB sink seam - only logging_sink registered
register_routes
operations_router /operations/status
patient_link_id FK
job_id FK
shares FailureStateMixin
integration_status()
mysql+pymysql
forward-only idempotent migrations
httpx POST /chat/completions
provider keys optional
account resolution seam - fails closed
accepts neuroworld-issued JWT - optional issuer
epic_configured
healthlake_configured
endpoint + cursor metadata only, no client yet
delivery state tracked, no dispatcher yet
NeuroWorld API
gated: neuroworld_configured
Epic FHIR R4
gated: epic_configured
AWS HealthLake
canonical FHIR store
gated: healthlake_configured
Webhook targets
declared per target_system
Azure OpenAI
provider keys optional
litellm :4000
LLM proxy
postgres
LiteLLM model/log store
redis
LiteLLM cache
backend/app/database.py
engine, get_db()
backend/app/models.py
Base, User, Admin
backend/app/security.py
bcrypt + JWT SECRET_KEY
backend/alembic/versions
head 36457250c291
database :3306
MariaDB
fhir/adapter.py
single FHIR egress point
fhir/mapping.py + resources.py + sources.py
consent/org.py
Org > Site > Panel > PatientRecord
consent/roles.py
role + panel assignments, grants
consent/records.py
consent records + events
consent/provenance.py
SourceMetadata
operations/jobs.py
OperationalQueue, ProcessingJob, JobEvent
operations/webhooks.py
WebhookDelivery
operations/integration.py
IntegrationEndpoint, SyncState, Idempotency
operations/backoff.py
BackoffPolicy retry schedule
operations/vocabulary.py
job / delivery / sync state machines
identity/service.py
propose / confirm / reject
identity/resolver.py
resolve_subject_id()
identity/links.py
PatientIdentityLink + challenges
identity/identifiers.py
ExternalPatientIdentifier
identity/schemas.py
routes/v1/router.py
/api/v1 assembly
routes/v1/boundaries.py
boundary routers + /status
routes/v1/identity.py
propose / confirm link
routes/auth.py
register / login
routes/health.py
/health
routes/chat.py
httpx stream proxy
audit/recorder.py
build_access_event / build_domain_event
audit/events.py
AccessEvent append-only row
audit/redaction.py
scrub_metadata, fingerprint
audit/vocabulary.py
actor / outcome / decision terms
gateway/context.py
CorrelationIdMiddleware
gateway/audit.py
AuditMiddleware + sink registry
gateway/errors.py
GatewayError envelopes
gateway/auth.py
Principal, RequireScopes
gateway/boundaries.py
ServiceBoundary registry
gateway/schemas.py
Pydantic contracts
backend/app/main.py
FastAPI app + middleware order
backend/config/settings.py
Settings + integration_status()
frontend :7012
React SPA
Recommendations design preview
Login: Sign In
Dashboard: View Alerts
PatientRoster: Manage Patients
NudgeQueue: Review Action Queue
PatientProfile: View 360 Patient
ClinicalSummary: Review Summary
AIInsights: Review Insights
WearableData: Review Data
AssessmentReview: Review Assessment
Timeline: Review Timeline
AssessmentAssign: Assign Assessment
TaskAssign: Assign Task
Recommendations: Send Recommendation
NudgeQueue: Add To Queue
NeuroWorld: Receive Handoff
Recommendations design preview
Login: Sign In
Dashboard: View Alerts
PatientRoster: Manage Patients
NudgeQueue: Review Action Queue
PatientProfile: View 360 Patient
ClinicalSummary: Review Summary
AIInsights: Review Insights
WearableData: Review Data
AssessmentReview: Review Assessment
Timeline: Review Timeline
AssessmentAssign: Assign Assessment
TaskAssign: Assign Task
Recommendations: Send Recommendation
NudgeQueue: Add To Queue
NeuroWorld: Receive Handoff