MCPcopy Index your code
hub / github.com/HasteHealth/HasteHealth

github.com/HasteHealth/HasteHealth @0.107.11

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.107.11 ↗ · + Follow
4,507 symbols 9,764 edges 686 files 99 documented · 2% updated today0.107.11 · 2026-07-04★ 7251 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Overview

FHIR clinical data repository built for speed.

Running for Development

docker-compose -f docker-services-compose.yml up
cd backend
cargo run server start && cargo run worker

go to http://my-health_system.localhost:3001 and fill in the following credentails username: myuser@health.org password: testing_password

Binaries

Docker Images

Repository Structure

├── LICENSE
├── README.md
├── backend # Backend entry point see above for commands
│   ├── Cargo.lock
│   ├── Cargo.toml
│   ├── certifications
│   ├── crates
│   │   ├── access-control
│   │   ├── artifacts
│   │   ├── codegen
│   │   ├── config
│   │   ├── fhir-client
│   │   ├── fhir-generated-ops
│   │   ├── fhir-model
│   │   ├── fhir-operation-error
│   │   ├── fhir-operation-error-derive
│   │   ├── fhir-ops
│   │   ├── fhir-ops-derive
│   │   ├── fhir-search
│   │   ├── fhir-serialization-json
│   │   ├── fhir-serialization-json-derive
│   │   ├── fhir-terminology
│   │   ├── fhirpath
│   │   ├── worker
│   │   ├── jwt
│   │   ├── macro-loads
│   │   ├── reflect
│   │   ├── reflect-derive
│   │   ├── repository
│   │   └── server             # FHIR server.
│   ├── documentation          # Documentation site.
│   │   ├── book.toml
│   │   └── src
│   ├── rust-toolchain.toml
│   ├── scripts
│   │   ├── operation_build.sh # Generates code for parsing OperationDefinition parameters using codegen crate.
│   │   └── types_build.sh     # Generates rust types using FHIR StructureDefinition resources.
│   └── src
│       ├── commands
│       └── main.rs
└── frontend
    ├── README.md
    ├── artifacts
    │   ├── r4
    │   └── r4b
    ├── config
    │   ├── base.tsconfig.json
    │   └── jest.base.config.js
    ├── package.json
    ├── packages
    │   ├── admin-app
    │   ├── artifacts
    │   ├── cli
    │   ├── client
    │   ├── codegen
    │   ├── components
    │   ├── fhir-patch-building
    │   ├── fhir-pointer
    │   ├── fhir-types
    │   ├── fhir-validation
    │   ├── fhirpath
    │   ├── generated-ops
    │   ├── hl7v2-parsing
    │   ├── jwt
    │   ├── koa-multipart-form
    │   ├── lang-fp-codemirror
    │   ├── meta-value
    │   ├── operation-execution
    │   ├── operation-outcomes
    │   ├── performance-testing
    │   ├── smart-launch
    │   ├── testscript-runner
    │   └── x-fhir-query
    └── yarn.lock

RFCs (Request for Comments)

For large feature requests submit RFCS the following is a guide for viewing/submitting RFCs:

RFCs can be written here.

They should follow the format specified here.

RFCs can be read here

Performance

Using wrk for performance testing.

Example

wrk --latency -s crates/server/benchmarks/transaction.lua -t10 -c10 -d10s http://localhost:3000/w/ohio-health/zb154qm9/api/v1/fhir/r4/

M3 Macbook Air Local 10 threads Postgres 16

Latency (percentile:time) Requests per Second Concurrent connections Benchmark
50%:1.2ms, 90%:1.8ms, 99%:3.38 8058.15 10 backend/crates/server/benchmarks/observation.lua
50%:60ms, 90%:73ms, 99%:288.6ms 167 (100 resources per transaction) (16,700 total requests) 10 backend/crates/server/benchmarks/transaction.lua

M3 Macbook Air Local 10 threads Postgres 18

Latency (percentile:time) Requests per Second Concurrent connections Benchmark
50%:1.2ms, 90%:1.8ms, 99%:3.38 10344 10 backend/crates/server/benchmarks/observation.lua
50%:60ms, 90%:73ms, 99%:288.6ms 251 (100 resources per transaction) (25100 total writes) 10 backend/crates/server/benchmarks/transaction.lua
50%:116.73ms 75%:118.39ms 90%:121.45ms 99%:246.90ms 325 (100 reads per batch) (32500 total reads) 10 backend/crates/server/benchmarks/observation_batch_read.lua

Extension points exported contracts — how you extend this code

MetaValue (Interface)
(no doc) [20 implementers]
backend/crates/reflect/src/traits.rs
IMetaValue (Interface)
(no doc) [4 implementers]
frontend/packages/meta-value/src/interface.ts
FHIRJSONSerializer (Interface)
(no doc) [12 implementers]
backend/crates/fhir-serialization-json/src/traits.rs
IMetaValueArray (Interface)
(no doc) [3 implementers]
frontend/packages/meta-value/src/interface.ts
FHIRJSONDeserializer (Interface)
(no doc) [12 implementers]
backend/crates/fhir-serialization-json/src/traits.rs
FHIRClientAsync (Interface)
(no doc) [1 implementers]
frontend/packages/client/src/interface.ts
MiddlewareChain (Interface)
(no doc) [20 implementers]
backend/crates/fhir-client/src/middleware.rs
IOperation (Interface)
(no doc) [1 implementers]
frontend/packages/operation-execution/src/index.ts

Core symbols most depended-on inside this repo

to_string
called by 1420
backend/crates/fhir-model/src/r4/datetime/mod.rs
as_ref
called by 710
backend/crates/fhirpath/src/lib.rs
clone
called by 494
backend/crates/server/src/fhir_client/resolver.rs
clone
called by 391
backend/crates/fhirpath/src/lib.rs
iter
called by 333
backend/crates/fhirpath/src/lib.rs
into
called by 293
backend/crates/fhir-operation-error-derive/src/lib.rs
error
called by 283
frontend/packages/components/src/base/toaster.tsx
descend
called by 129
frontend/packages/fhir-pointer/src/index.ts

Shape

Interface 1,510
Function 1,461
Method 694
Class 645
Enum 197

Languages

TypeScript51%
Rust49%

Modules by API surface

frontend/packages/fhir-types/src/generated/r4/types.ts686 symbols
frontend/packages/fhir-types/src/generated/r4b/types.ts679 symbols
backend/crates/server/src/mcp/schemas/schema_2025_11_25.rs403 symbols
backend/crates/fhir-model/src/r4/generated/types.rs98 symbols
backend/crates/fhirpath/src/lib.rs72 symbols
backend/crates/fhir-client/src/request.rs54 symbols
frontend/packages/fhirpath/src/index.ts44 symbols
frontend/packages/client/src/types/index.ts43 symbols
frontend/packages/meta-value/src/v2/index.ts40 symbols
backend/crates/fhir-search/src/indexing_conversion.rs39 symbols
backend/crates/server/src/fhir_client/mod.rs33 symbols
backend/crates/fhir-client/src/http.rs31 symbols

Datastores touched

haste_healthDatabase · 1 repos

For agents

$ claude mcp add HasteHealth \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact