Skip to content
View klaritylabs-us's full-sized avatar

Block or report klaritylabs-us

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
klaritylabs-us/README.md

Klarity FHIR exhibits — catalog (35 chapters)

Klarity Labs publishes one small Rust library + CLI per topic—synthetic fixtures only, MIT reference code. This is an exhibit hall, not HAPI, Firely, or Inferno.

Published on GitHub: exhibit repos 01–25 are live. Days 26–35 are listed below; links activate when each repo is published.

How this relates to other tools

Tool class Role
HL7 FHIR Validator, HAPI, Firely Full validation, servers, SDKs, IG packages
Inferno, Touchstone, vendor cert suites Conformance against test plans
These exhibits Pre-flight construction on synthetic fixtures—catch shape mistakes before wire traffic

Conformance tools test whether your API behaves; exhibits focus on whether your payloads and pipes are built to survive real partners.

Start here (by role)

If you care about… Open these exhibits
USCDI / demographics & profiles 01 Patient, 07 MustSupport
Patient Access / bulk download 10 Bulk export, 25 $everything, 30 Async bulk polling
CMS & consumer/payer programs 13 CMS-0057 map, 14 CARIN BB
SMART & security 11 Backend services, 12 App launch, 28 Scope drift, 29 JWKS
Da Vinci / prior auth 15 PDex, 16 PAS, 17 CRD hooks, 21 ATR roster
Integration survival 08 Search, 19 HL7v2 bridge, 20 Fake door capstone
Claims / EDI sketch edition 22 Eligibility, 24 837P, 34 834 enrollment, 35 835 remittance

Onboarding path: 01 → 10 → 13 → 20 → 22

Editions

Edition Days Note
FHIR interoperability 1–21 (except 22), 23, 25–33 US Core, REST, SMART, Da Vinci, documents, audit
Claims / EDI sketch 22, 24, 34, 35 Structural X12 + FHIR mapping—not adjudication or eligibility decisions

Full table (days 1–35)

Day Repo Buyer pain (one line)
1 us-core-patient Bad demographics & identifiers break matching
2 observation-vitals Vitals without LOINC/UCUM fail analytics
3 condition Problem list bindings wrong at the sink
4 medication-request Rx intent/status/RxNorm gaps
5 allergy Allergy negation & criticality
6 docref-diagnosticreport Labs/docs pipeline shape
7 mustsupport-slicing MustSupport & slicing surprises
8 fhir-search Search param handlers vs advertised CapabilityStatement
9 validate-operation $validate request/response contract
10 bulk-fhir-export Bulk manifest & NDJSON stream shape
11 smart-backend-services Backend service JWT sketch
12 smart-app-launch EHR launch config outline
13 cms-0057-patient-access-map Patient Access API surface map
14 carin-blue-button Consumer-directed EOB patterns
15 da-vinci-pdex Payer PDex shapes
16 da-vinci-pas PAS preauth Claim shape
17 da-vinci-crd-hooks CRD hook + prefetch contract
18 plan-net-directory Provider directory PractitionerRole
19 hl7v2-fhir-bridge v2 ADT seed → FHIR sketch
20 fake-door-integration 200 OK but broken Bundle graphs
21 da-vinci-atr-roster ATR/roster attribution shape
22 eligibility-fhir-x12-map Eligibility FHIR + 271 sketch
23 fhir-consent-exchange Consent for exchange
24 x12-837p-claim-structure 837P / professional Claim structure
25 patient-compartment-everything Compartment & $everything
26 operationoutcome-error-semantics Partner-debuggable API errors
27 provenance-auditevent-access Access audit evidence
28 smart-scope-capability-drift SMART scopes vs server capability
29 jwks-backend-services JWKS rotation shape
30 bulk-export-polling-async Bulk async poll JSON
31 patient-match-mpi $match / MPI parameters
32 ccda-document-bundle Document Bundle + Composition
33 search-include-chains _include graph integrity
34 x12-834-enrollment-coverage 834 → Coverage sketch
35 835-remittance-eob 835 → EOB sketch

Security

Exhibits use synthetic fixtures only (no PHI). Reporting and scope: see SECURITY.md in this repo. Each exhibit repo also has its own SECURITY.md at the repository root.

License

Each exhibit repo is MIT unless noted. Synthetic data only; not legal or clinical advice.

Need this on your payloads or API? 20-minute FHIR Scan — sk@klaritylabs.ai · klaritylabs.ai

What we do commercially

Independent verification (Klarity Sentinel™) and engineering services—see klaritylabs.ai. Exhibits do not ship the Sentinel engine or licensed rule packs.

Pinned Loading

  1. klarity-exhibit-01-us-core-patient klarity-exhibit-01-us-core-patient Public

    US Core Patient payload checks for FHIR R4 (Rust). Profiles, Must Support fields, SSN system URI, unknown DOB. Klarity Labs.

    Rust

  2. klarity-exhibit-10-bulk-fhir-export klarity-exhibit-10-bulk-fhir-export Public

    Small library and CLI that sanity-check **Bulk Data export manifest** JSON and **NDJSON line** shape before your async export job finishes: manifest **`Bundle`**, **`output`** links, and one JSON o…

    Rust

  3. klarity-exhibit-13-cms-0057-patient-access-map klarity-exhibit-13-cms-0057-patient-access-map Public

    Small library and CLI that sanity-check a **patient access capability map** JSON before you publish API documentation or run gap analysis against **CMS-0057-F** expectations: which resources are ex…

    Rust

  4. klarity-exhibit-20-fake-door-integration klarity-exhibit-20-fake-door-integration Public

    Small library and CLI that sanity-check **FHIR Bundle** JSON used in **fake-door** or stub integrations before demos or contract tests: every **`entry`** must carry a **`resource`**, with warnings …

    Rust

  5. klarity-exhibit-22-eligibility-fhir-x12-map klarity-exhibit-22-eligibility-fhir-x12-map Public

    Small library and CLI that sanity-check **CoverageEligibilityRequest/Response** JSON and a minimal **271** segment sketch before real-time eligibility traffic hits your gateway. Structural only — n…

    Rust

  6. klarity-fhir-exhibits klarity-fhir-exhibits Public