Skip to content

Instantly share code, notes, and snippets.

View jmandel's full-sized avatar

Josh Mandel jmandel

View GitHub Profile
@jmandel
jmandel / careevolution.json
Last active September 15, 2019 13:32
CARIN Blue Button Examples from FHIR 2019-09 Connectathon
{
"resourceType": "Bundle",
"type": "searchset",
"total": 3,
"link": [
{
"relation": "self",
"url": "https://fhir.careevolution.com/Master.Adapter1.WebClient/api/fhir-r4/ExplanationOfBenefit?patient=d4b1d050-584f-4797-a9c7-ab72e4cd4452&_count=20"
},
{
@jmandel
jmandel / example.sh
Last active September 12, 2019 16:47
curl -X POST \
'https://r4-dot-hum-hcs-rapid-fhir-sbx.appspot.com/fhir/Claim/$submit' \
--data @sample-request.json
@jmandel
jmandel / examples.md
Last active September 9, 2019 14:31
Realtime Benefits Check Examples

POST /$rx-pricing

Where can I fulfill my simvastatin prescription within two miles of 85054?

{
  "resourceType": "Parameters",
  "parameter": [{
    "name": "patient",
    "resource": {
@jmandel
jmandel / Dockerfile
Created May 15, 2019 22:11
HAPI CLI docker example
FROM ubuntu as gethapi
RUN apt-get update && \
apt-get install -y curl bzip2
RUN mkdir /hapi && \
cd /hapi && \
curl -L https://github.com/jamesagnew/hapi-fhir/releases/download/v3.7.0/hapi-fhir-3.7.0-cli.tar.bz2 \
| tar -xj
FROM openjdk
WORKDIR /hapi

Keybase proof

I hereby claim:

  • I am jmandel on github.
  • I am jmandel (https://keybase.io/jmandel) on keybase.
  • I have a public key whose fingerprint is E806 ABF7 88C0 37FF B521 0AA8 4A43 ED5A F234 1FBE

To claim this, I am signing this object:

@jmandel
jmandel / keybase.md
Created October 27, 2017 02:22
keybase.md

Keybase proof

I hereby claim:

  • I am jmandel on github.
  • I am jmandel (https://keybase.io/jmandel) on keybase.
  • I have a public key ASDjpMvWtTLcrmFpbEhzJ-HoQIjVx2OxJwIalLJQodCBBgo

To claim this, I am signing this object:

@jmandel
jmandel / extract.js
Created April 3, 2015 04:11
Extract Housing Details from Craigslist
listings = [];
$.each($("span.txt"), function(i, l){
var url = $("a", l).attr("href");
var title = $("a", l).text();
var posted = $("time", l).attr("datetime");
var price = $("span.price", l).text();
var neighborhood = $("span.pnr small", l).text();
var br = $("span.housing", l).text();
var fees = $("a.gc", l).text();
listings.push([title, url, posted, price, neighborhood, fees].join("\t"));
@jmandel
jmandel / gist:279e759fea8c9d1864cecd55f8799e08
Last active November 22, 2016 02:54
Chat.fhir.org zulip upgrade status
9:50p ET 11/21: beginning update
9:53p ET 11/21: complete