Skip to content

Architecture

%%{init: {"themeVariables": {"fontSize": "11px"}, "flowchart": {"nodeSpacing": 18, "rankSpacing": 24}, "sequence": {"actorFontSize": 11, "messageFontSize": 11, "noteFontSize": 11}}}%%
graph TD
  Sources["Sources"] --> Register["Source register"]
  Register --> Evidence["Evidence matrix"]
  Evidence --> Queue["Evidence validation queue"]
  Queue --> WorkPackages["Evidence work packages"]
  Register --> Freshness["Source freshness"]
  Register --> CrossDeck["Cross-deck evidence carry-over"]
  Evidence --> Synthesis["Human synthesis pages"]
  Synthesis --> Guidance["Guidance decision model"]
  Synthesis --> Registration["Registration state model"]
  Synthesis --> ArchitectureIndex["Architecture index"]
  Synthesis --> MkDocs["MkDocs Material site"]
  Synthesis --> LLM["LLM operational wiki"]
  Synthesis --> Indexer["No-API code index script"]
  Indexer --> Generated["src/generated\nllmWikiKnowledge.generated.ts"]
  Synthesis --> Graphify["Graphify structural map"]
  Graphify --> Assets["docs/assets/graphify/ named communities"]
  Revision["Optional revision tools"] --> MkDocs

Human Markdown remains the source of truth. The generated TypeScript index exists for no-cost structured inspection and must not be imported into production runtime code.

Topic Architecture

%%{init: {"themeVariables": {"fontSize": "11px"}, "flowchart": {"nodeSpacing": 18, "rankSpacing": 24}, "sequence": {"actorFontSize": 11, "messageFontSize": 11, "noteFontSize": 11}}}%%
graph TD
  Patient["Patient / linked profile user"] --> NHSAccount["NHS account / NHS login"]
  NHSAccount --> NHSApp["NHS App"]
  NHSApp --> Core["Core national services"]
  Core --> Public["Health A to Z\nand Find services"]
  Core --> Urgent["NHS 111 online\nPathways / DoS"]
  Core --> Choices["Organ donation / data choice\nresearch / vaccination"]
  NHSApp --> RegistrationRoute["View / change GP surgery"]
  RegistrationRoute --> PCRM["PCRM formal registration"]
  RegistrationRoute --> GP2GP["GP2GP record transfer"]
  PCRM --> PDS
  NHSApp --> GPFeatures["GP-linked features"]
  GPFeatures --> GPPFS["GP Connect Patient Facing APIs"]
  GPPFS --> APIPlatform["NHS API Platform"]
  APIPlatform --> PDS["PDS registered GP / NHS number context"]
  APIPlatform --> ODS["ODS organisation identifiers"]
  ODS --> SDS["Spine Directory Service endpoint lookup"]
  SDS --> GPSystem["Registered GP system"]
  GPSystem --> IM1["Interface Mechanism 1"]
  NHSApp --> Messaging["NHS App messaging / notifications"]
  Messaging --> Notify["NHS Notify"]
  Notify --> MESH["NHS Notify API / MESH"]
  NHSApp --> Referrals["Referrals / waiting-list journeys"]
  Referrals --> PCA["Patient Care Aggregator / Wayfinder"]
  PCA --> ERS["e-RS"]
  PCA --> BookingAPI["Get Appointments API"]
  PCA --> RecordAPI["Record Service API"]
  PCA --> PEP["Patient Engagement Portals"]
  NHSApp --> SHC["SHC appointments / documents / results"]
  SHC --> PCA
  SHC --> GPRecordDocs["GP health-record documents / results"]
  DPHC --> DMICPVisibility["DMICP PHC appointment visibility"]
  DMICPVisibility -. candidate feed .-> HC
  DPHC -. management likely unavailable .-> DMICPManagement["DMICP PHC appointment management"]
  DMICPManagement -. write-back evidence needed .-> HC
  HC -. visibility route evidence needed .-> GPPFS
  HC -. management route evidence needed .-> IM1
  HC -. messages only .-> Notify
  NHSApp --> Prescriptions["Prescription journeys"]
  Prescriptions --> EPS["EPS context"]
  Professional["Professional systems"] --> GPPro["GP Connect Professional APIs"]
  GPPro --> Spine["Spine / Spine Secure Proxy"]
  Onboarding["Partner onboarding / assurance"] --> GPPFS
  Onboarding --> Notify
  Onboarding --> PCA
  Onboarding --> IM1
  DPHC["DMedC / DPHC registration"] -. evidence gap .-> GPSystem
  DPHC -. route status unknown .-> Onboarding
  Cortisone["Programme Cortisone"] -. integration unknown .-> Onboarding
  Cortisone --> UCR["HealthShare Unified Care Record"]
  Cortisone --> HC["Health Connect /\nIntegration Platform\nevidence"]
  HC --> EMPI["Enterprise Master Patient Index"]
  HC -. candidate route .-> IM1
  HC -. candidate route .-> GPPFS