API Reference mf_exam v#0.1.0

Copy Markdown View Source

Modules

Pure encounter decisions within Med Fabric.

Clinical selection from a completed synthetic PLXS indication with preserved source bits.

Validates the two clinical evidence inputs supported by the exam.

Composes evidence intake, clinician review and durable export.

Verifies and serves the canonical, write-once PCM WAV on the exam volume.

Qualified synthetic acquisition anchors and transport probes pinned at review.

Store, capture supervision, notifications and storage for an exam workflow.

Releases an expired acquisition only after fencing its generation and quiescing live writers.

One independently scheduled writer and one active socket per immutable source stream.

Verify native bytes before immutable manifest install and database completion.

One digest-bound clinical decision and atomic derived evidence/outbox creation.

Linux local-process lock. Deployment requires one service-managed BEAM per capture root.

Read models for the authenticated encounter's clinical device review.

Disposable feed. One in-flight request and one latest replacement per active source.

Coordinates local capture ownership and durable recording attempts.

Authenticated clinician actions used by the external clinical-workflow driver.

Authenticated independent WSS connections for control, authoritative streams and disposable monitor.

Phoenix endpoint owned by med_fabric/apps/exam.

Healthcare record exchange within Med Fabric.

Typed device metric export after clinical acceptance; collection/status events are not observations.

Maps accepted clinical observations (reviewed audio, manual pulse and typed device spot-check metrics) to HL7 FHIR R4 Observation resources and delivers them idempotently via conditional create (If-None-Exist) with strict typed read-back confirmation.

FHIR JSON with exact finite numeric decimals, string keys and duplicate-key rejection.

Compares the clinical content returned by FHIR with the accepted observation.

Clinical persistence and audit within Med Fabric.

Persistent command intent, observed results and historical uncertainty.

Encounter-scoped device grants, transport generations and immutable source bindings.

Binds each open encounter to its own participants and FHIR destination.

Postgrex JSONB codec preserving fractional quantities as exact Decimal values.

Durable gateway inventory with idempotent exact replay and terminal conflict audit.

Native PostgreSQL connection and schema setup.

Persists typed evidence and atomically accepts it with its export intent.