Skip to content

Instantly share code, notes, and snippets.

@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.

@lawley
lawley / ontoserver-docker-compose.yml
Created March 17, 2016 04:22
Simple docker compose config for spinning up an Ontoserver instance.
version: "2"
services:
onto:
image: "aehrc/ontoserver"
links:
- "db"
ports:
- "8080:80"
db:
@lawley
lawley / ConceptMapReform.md
Last active February 28, 2021 08:42
ConceptMap reforms for R5

ConceptMap moving from R4 to R5

ConceptMap Resource

As of FHIR R4, ConceptMap is still a relatively immature resource. Some evidence of this is in the current state of the proposed R5 changes that:

  1. refine the set of valid relationship codes,
  2. explicitly broaden its scope beyond equivalence relationships, and
  3. re-structure handling of noMap.
@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()
//