# mf_exam v0.1.0 - API Reference

## Modules

- [MedFabric.Domain](MedFabric.Domain.md): Pure encounter decisions within Med Fabric.

- [MedFabric.Domain.DeviceMeasurement](MedFabric.Domain.DeviceMeasurement.md): Clinical selection from a completed synthetic PLXS indication with preserved source bits.
- [MedFabric.Domain.Evidence](MedFabric.Domain.Evidence.md): Validates the two clinical evidence inputs supported by the exam.
- [MedFabric.Exam](MedFabric.Exam.md): Composes evidence intake, clinician review and durable export.
- [MedFabric.Exam.Artifact](MedFabric.Exam.Artifact.md): Verifies and serves the canonical, write-once PCM WAV on the exam volume.
- [MedFabric.Exam.ClockObservations](MedFabric.Exam.ClockObservations.md): Qualified synthetic acquisition anchors and transport probes pinned at review.
- [MedFabric.Exam.Context](MedFabric.Exam.Context.md): Store, capture supervision, notifications and storage for an exam workflow.
- [MedFabric.Exam.DeviceExpiry](MedFabric.Exam.DeviceExpiry.md): Releases an expired acquisition only after fencing its generation and quiescing live writers.
- [MedFabric.Exam.DeviceIngress](MedFabric.Exam.DeviceIngress.md): One independently scheduled writer and one active socket per immutable source stream.
- [MedFabric.Exam.DeviceManifest](MedFabric.Exam.DeviceManifest.md): Verify native bytes before immutable manifest install and database completion.
- [MedFabric.Exam.DeviceReviews](MedFabric.Exam.DeviceReviews.md): One digest-bound clinical decision and atomic derived evidence/outbox creation.
- [MedFabric.Exam.DeviceRootLock](MedFabric.Exam.DeviceRootLock.md): Linux local-process lock. Deployment requires one service-managed BEAM per capture root.
- [MedFabric.Exam.DeviceWorkflow](MedFabric.Exam.DeviceWorkflow.md): Read models for the authenticated encounter's clinical device review.
- [MedFabric.Exam.PreviewGateway](MedFabric.Exam.PreviewGateway.md): Disposable feed. One in-flight request and one latest replacement per active source.
- [MedFabric.Exam.Recordings](MedFabric.Exam.Recordings.md): Coordinates local capture ownership and durable recording attempts.
- [MedFabric.ExamWeb.DeviceAction](MedFabric.ExamWeb.DeviceAction.md): Authenticated clinician actions used by the external clinical-workflow driver.
- [MedFabric.ExamWeb.DeviceLive](MedFabric.ExamWeb.DeviceLive.md)
- [MedFabric.ExamWeb.DeviceSocket](MedFabric.ExamWeb.DeviceSocket.md): Authenticated independent WSS connections for control, authoritative streams and disposable monitor.
- [MedFabric.ExamWeb.Endpoint](MedFabric.ExamWeb.Endpoint.md): Phoenix endpoint owned by `med_fabric/apps/exam`.
- [MedFabric.Interop](MedFabric.Interop.md): Healthcare record exchange within Med Fabric.

- [MedFabric.Interop.DeviceObservation](MedFabric.Interop.DeviceObservation.md): Typed device metric export after clinical acceptance; collection/status events are not observations.
- [MedFabric.Interop.FhirClient](MedFabric.Interop.FhirClient.md): 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.

- [MedFabric.Interop.JSON](MedFabric.Interop.JSON.md): FHIR JSON with exact finite numeric decimals, string keys and duplicate-key rejection.
- [MedFabric.Interop.Observation](MedFabric.Interop.Observation.md): Compares the clinical content returned by FHIR with the accepted observation.
- [MedFabric.Store](MedFabric.Store.md): Clinical persistence and audit within Med Fabric.

- [MedFabric.Store.DeviceCommands](MedFabric.Store.DeviceCommands.md): Persistent command intent, observed results and historical uncertainty.
- [MedFabric.Store.DeviceSessions](MedFabric.Store.DeviceSessions.md): Encounter-scoped device grants, transport generations and immutable source bindings.
- [MedFabric.Store.Encounters](MedFabric.Store.Encounters.md): Binds each open encounter to its own participants and FHIR destination.
- [MedFabric.Store.JSON](MedFabric.Store.JSON.md): Postgrex JSONB codec preserving fractional quantities as exact Decimal values.
- [MedFabric.Store.MeasurementEvents](MedFabric.Store.MeasurementEvents.md): Durable gateway inventory with idempotent exact replay and terminal conflict audit.
- [MedFabric.Store.Postgres](MedFabric.Store.Postgres.md): Native PostgreSQL connection and schema setup.
- [MedFabric.Store.Records](MedFabric.Store.Records.md): Persists typed evidence and atomically accepts it with its export intent.

