Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
kweli
command
kweli is a FHIR CapabilityStatement truth-tester CLI.
|
kweli is a FHIR CapabilityStatement truth-tester CLI. |
|
internal
|
|
|
capstmt
Package capstmt parses the subset of a FHIR CapabilityStatement that kweli probes.
|
Package capstmt parses the subset of a FHIR CapabilityStatement that kweli probes. |
|
client
Package client implements kweli's HTTP layer for talking to a FHIR server: authentication, rate limiting, retry logic for throttling, and request/response redaction for verbose logging.
|
Package client implements kweli's HTTP layer for talking to a FHIR server: authentication, rate limiting, retry logic for throttling, and request/response redaction for verbose logging. |
|
expect
Package expect implements brief Phase 3's "--expect us-core" mode: a fourth finding class, "missing", for a search param (or whole resource type) US Core 6.1 requires that the target server's CapabilityStatement never claims at all.
|
Package expect implements brief Phase 3's "--expect us-core" mode: a fourth finding class, "missing", for a search param (or whole resource type) US Core 6.1 requires that the target server's CapabilityStatement never claims at all. |
|
model
Package model defines the shared vocabulary every other kweli package speaks: probe results ("findings"), their status/kind enums, and the top-level Report that internal/report renders as text/json/markdown.
|
Package model defines the shared vocabulary every other kweli package speaks: probe results ("findings"), their status/kind enums, and the top-level Report that internal/report renders as text/json/markdown. |
|
probe
Package probe implements the per-resource and system-level probes from brief §5: it takes a parsed CapabilityStatement and an HTTP client, and produces a model.Report of which claims are true, false, or untested.
|
Package probe implements the per-resource and system-level probes from brief §5: it takes a parsed CapabilityStatement and an HTTP client, and produces a model.Report of which claims are true, false, or untested. |
|
report
Package report renders kweli findings in text, JSON, and Markdown formats.
|
Package report renders kweli findings in text, JSON, and Markdown formats. |
|
sample
Package sample fetches sample resources from a search response and implements the value-extraction side of the two-query test (brief §5.3): finding a real value for a search param via the curated Paths table (paths.go), formatting it as a query value, and comparing it back against entries in a result set — all without a FHIRPath engine.
|
Package sample fetches sample resources from a search response and implements the value-extraction side of the two-query test (brief §5.3): finding a real value for a search param via the curated Paths table (paths.go), formatting it as a query value, and comparing it back against entries in a result set — all without a FHIRPath engine. |
|
smart
Package smart implements SMART Backend Services authentication (brief Phase 2): loading a private JWK, signing a private_key_jwt client assertion (RS384/ES384), discovering the token endpoint, exchanging the assertion for an access token, and caching it across a run.
|
Package smart implements SMART Backend Services authentication (brief Phase 2): loading a private JWK, signing a private_key_jwt client assertion (RS384/ES384), discovering the token endpoint, exchanging the assertion for an access token, and caching it across a run. |
|
testserver
Package testserver is the acceptance-test fixture from brief §7: an httptest.Server serving a synthetic R4 CapabilityStatement and synthetic resources, with twelve deliberately planted lies.
|
Package testserver is the acceptance-test fixture from brief §7: an httptest.Server serving a synthetic R4 CapabilityStatement and synthetic resources, with twelve deliberately planted lies. |
Click to show internal directories.
Click to hide internal directories.