Skip to content

Instantly share code, notes, and snippets.

View mlapshin's full-sized avatar
🦖
I'm too old for this shit

Mike Lapshin mlapshin

🦖
I'm too old for this shit
  • Health Samurai
  • Manhattan Beach, CA
View GitHub Profile
@mlapshin
mlapshin / jute-article.md
Created October 13, 2015 14:04
JUTE article

Introduction

In real-world healthcare IT ecosystem HL7 v2 is a most widely used standard for data interoperability. New standards like HL7 v3 or FHIR are rather young to completely replace old and time-proven HL7 v2.

Blah-blah, we need to map from HL7 to FHIR.

So how can we describe mapping from HL7 v2 to FHIR? There are two options: imperative and declarative. Well-known products like MIRTH or

var RTCPeerConnection = null;
var getUserMedia = null;
var attachMediaStream = null;
var reattachMediaStream = null;
var webrtcDetectedBrowser = null;
var webrtcDetectedVersion = null;
function trace(text) {
// This function is used for logging.
if (text[text.length - 1] == '\n') {
@mlapshin
mlapshin / gist:dd755c1dd2556a615841
Last active August 29, 2015 14:13
Terminology Service translation notes

1.15.6

Тут ты перевела в полном соответствии с оригиналом, но понять с первого раза, о чем идет речь, довольно трудно. Мне кажется, отклонение от оригинала в пользу понимабельности русского перевода вполне допустимо. Я бы перевел примерно так:

Спецификация включает поддержку Терминологического Сервиса - сервиса, который упрощает медицинским
приложениям работу с Кодами и Наборами Значений (ValueSet), снимая необходимость разбираться в тонкостях
ресурса ValueSet и лежащих за ним кодовых систем.
#!/bin/ruby
require 'rubygems'
require 'bundler/setup'
require 'json'
require 'pg'
require 'benchmark'
$obs_tables = ['observation',
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
propertize(nil font-lock-face cider-stacktrace-error-class-face)
cider-stacktrace-render-cause(#<buffer *cider-error*> (dict "class" "java.lang.ArithmeticException" "id" "38" "message" "Divide by zero" "session" "71e53872-14df-4677-ba0d-a264d746a786" "stacktrace" ((dict "class" "clojure.lang.Numbers" "file" "Numbers.java" "flags" ("java") "line" 156 "method" "divide" "name" "clojure.lang.Numbers/divide" "type" "java") (dict "class" "clojure.lang.Numbers" "file" "Numbers.java" "flags" ("dup" "java") "line" 3691 "method" "divide" "name" "clojure.lang.Numbers/divide" "type" "java") (dict "class" "user$eval21369" "file" "form-init1386004177264683667.clj" "flags" ("repl" "clj") "fn" "eval21369" "line" 1 "method" "invoke" "name" "user$eval21369/invoke" "ns" "user" "type" "clj" "var" "user/eval21369") (dict "class" "clojure.lang.Compiler" "file" "Compiler.java" "flags" ("tooling" "java") "line" 6619 "method" "eval" "name" "clojure.lang.Compiler/eval
D3 Talk:
https://docs.google.com/presentation/d/1nlQJsesT9H5x3VlUKeABSW0MHs4U2Z1z4mPwhQdV3Tc/edit?usp=sharing
Foodtaster:
https://docs.google.com/presentation/d/1GJLjgm6QgEU4gyKU1smBY2zhKMPPIjV_mENXvaQvQyo/edit?usp=sharing
Vagrant:
https://docs.google.com/presentation/d/1H_X7EDuEJv6AlVezAQaPbiFCWVVgrxWjxj7hiSM1ldE/edit?usp=sharing
Foodtaster & Chef workshop:
(ns clojure-async-example.
(:require [clojure.core.async :as async :refer [chan
go go-loop
<! >! >!! <!!
alts! alts!!
timeout
tap mult pub sub
close!]]))
(def max-n 100)
(ns clojure-async-example.core
(:require [clojure.core.async :as async :refer [chan dropping-buffer sliding-buffer
go go-loop thread
<! >! >!! <!! take!
alts! alts!!
timeout
close!]]))
;; core.async:
(ns clojure-async-example.core
(:require [clojure.core.async :as async :refer [chan dropping-buffer sliding-buffer
go go-loop thread
<! >! >!! <!! take!
alts! alts!!
timeout
close!]]))
sudo apt-get install -y git build-essential gettext libreadline6 libreadline6-dev zlib1g-dev flex bison libxml2-dev libxslt-dev
test -d postgresql || git clone --depth=1 git://git.postgresql.org/git/postgresql.git postgresql
PROJECT_PATH=`pwd`
PG_PATH=`pwd`/build
cd postgresql