Skip to content

Instantly share code, notes, and snippets.

@lawley
lawley / fhirpath-async.ts
Created March 25, 2024 00:36 — forked from brianpos/fhirpath-async.ts
POC showing one possible way to do async functions in the fhirpath.js library without forcing the entire library to be async.
import type { CodeableConcept, Coding, OperationOutcome, OperationOutcomeIssue, Reference, Resource } from "fhir/r4b";
import fhirpath from "fhirpath";
import { logMessage, CreateOperationOutcome } from "~/utils/create-outcome";
// --------------------------------------------------------------------------
// The concept of this POC is to demonstrate an approach to perform some
// async based methods as functions inside the fhirpath engine without
// converting the entire engine to process things asynchronously.
// e.g. Terminology functions such as memberOf, subsumes, or resolve()
//
@lawley
lawley / README.md
Last active August 29, 2015 14:00 — forked from mbostock/.block

Experiment with dendrogram of graph (cf tree)

A dendrogram is a node-link diagram that places leaf nodes of the tree at the same depth. In this example, the classes (leaf nodes) are aligned on the right edge, with the packages (internal nodes) to the left. Data shows the Flare class hierarchy, courtesy Jeff Heer.

Compare to this radial layout.