Med Fabric Handheld logo

Med Fabric Handheld

GitHub source MIT license

mf_handheld is the standalone synthetic medical-peripheral client in Med Fabric. Built on the base med_ex SDK and gun, it owns synthetic RDP1 acoustic/ECG and PLXS pulse-oximetry peripherals, a local command journal, a bounded fsync-backed disk spool, and resumable TLS/WSS uplinks to mf_exam.

Installation

Add mf_handheld to your list of dependencies in mix.exs:

def deps do
  [
    {:mf_handheld, "~> 0.1.0"}
  ]
end

Requires Elixir ~> 1.20 (OTP 29), Linux with util-linux flock, a local filesystem supporting directory fsync, and OTP TLS.

Key Capabilities

Quick Usage

From a compiled release or checkout, run a scenario via MedExHandheld.CLI:

bin/mf_handheld eval \
  'Application.ensure_all_started(:mf_handheld); MedExHandheld.CLI.main(["--config", "/etc/handheld/fixture.json", "--scenario", "paired_exam"])'

Guides

License

Released under the MIT License.