GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - deckyard/deck-astm: The ASTM protocol of clinical lab instruments, E1381 / E1394 (CLSI LIS01-A2 / LIS02-A2): records, results, orders, host queries, and the low-level link over TCP or serial

BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
examples
examples
 
 
src
src
 
 
tools
tools
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
deck.toml
deck.toml
 
 
grimoire.toml
grimoire.toml
 
 

Repository files navigation

@deckyard/astm

test Documentation release

The ASTM™ protocol of clinical laboratory instruments for Jennifer programs: ASTM E1381 / E1394, now CLSI™ LIS01-A2 (the low-level link) and LIS02-A2 (the records). Parse and build records and messages; read results, orders and host queries; answer queries with orders; and move messages over TCP or a serial port with the LIS01 handshake, framing, checksums, retries, timers and contention, for a LIS or for an instrument simulator. Strict: a damaged frame is refused with NAK, records that break LIS02 are an error, and a device that differs from the standard in a documented way gets a Profile, not leniency.

Documentation

Install

jvc add @deckyard/astm

This vendors the deck to vendor/<scope>/astm/. Without jvc, unpack the src/ subtree of a release archive (<scope>-astm-<version>.tar.gz) there.

Usage

use io;

import "@deckyard/astm/" as astm;

def link as astm.Link init astm.accept(astm.listen(":4001"), astm.profile());
for (def m in astm.receive($link, 60000)) {
    for (def r in astm.results($m)) {
        io.printf("%s %s = %s %s\n", $r.sampleId, $r.test, $r.value, $r.units);
    }
}
astm.close($link);

Requirements

Jennifer 0.28.0 or newer and the default jennifer binary: the deck needs net, which the stock jennifer-tiny lacks. A serial port needs Linux™.

Development

tools/check-all.sh                   # the full gate, as CI runs it
jennifer test src/astm_test.j        # the tests, against a scripted peer
tools/check-docs.sh                  # docs against the code
tools/pack.sh dist                   # build the release archive

Trademarks

ASTM™ is a trademark of the American Society for Testing and Materials (ASTM International). CLSI™ is a trademark of the Clinical and Laboratory Standards Institute, Inc. Linux™ is a trademark of Linus Torvalds. Other product and company names may be trademarks of their respective owners. They are used only to identify the standards and products this deck works with. This deck is an independent project, not affiliated with, sponsored or endorsed by the American Society for Testing and Materials or the Clinical and Laboratory Standards Institute, Inc.

Licence

LGPL-3.0-only, see LICENSE. Copyright (C) 2026 mplx <[email protected]>.

tools/check-headers.sh checks every source file's SPDX header against deck.toml.

About

The ASTM protocol of clinical lab instruments, E1381 / E1394 (CLSI LIS01-A2 / LIS02-A2): records, results, orders, host queries, and the low-level link over TCP or serial

deckyard.github.io/deck-astm/

Topics

analyzerastmclsideckyarde1394jennifer-deckjennifer-langlaboratorylislis01lis02

Resources

Readme
License

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.