Skip to content

Instantly share code, notes, and snippets.

Josh Mandel jmandel

Block or report user

Report or block jmandel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jmandel
jmandel / Dockerfile
Created May 15, 2019
HAPI CLI docker example
View Dockerfile
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
View 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 whose fingerprint is E806 ABF7 88C0 37FF B521 0AA8 4A43 ED5A F234 1FBE

To claim this, I am signing this object:

View 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 / gist:279e759fea8c9d1864cecd55f8799e08
Last active Nov 22, 2016
Chat.fhir.org zulip upgrade status
View gist:279e759fea8c9d1864cecd55f8799e08
9:50p ET 11/21: beginning update
9:53p ET 11/21: complete
View Code.gs
var calsToSynchronize = [
"address-one@gmail.com",
"address-two@gmail.com",
];
var BUSY = "Busy",
COPIED_FROM_CALENDAR = "copied-from-calendar",
COPIED_FROM_EVENT = "copied-from-event",
TIME_HORIZON = 365 / 2; // scan for 6 months
@jmandel
jmandel / status.md
Last active Aug 11, 2016
chat.fhir.org zulip upgrade status
View status.md

12:40ET working on update...

12:42ET cloud vm not responding :/

12:50ET looks like we're back.

13:05ET but unstable :/

14:00ET ok, back

@jmandel
jmandel / validate_resource.py
Created Jun 23, 2016
Python resource validation example
View validate_resource.py
import json
from fhirclient.models.fhirabstractbase import FHIRValidationError
from fhirclient.models.fhirelementfactory import FHIRElementFactory
resource = json.loads("""{
"resourceType": "Condition",
"patient": {
"reference": "Patient/123"
}
}""")
View gist:cbf2cc76adf3e10845bca72c3e8d08db
{
"resourceType":"CarePlan",
"id": "argo-example",
"text":{
"status":"generated",
"div":"<div xmlns=\"http://www.w3.org/1999/xhtml\"> <ol> <li>CareTeam Member: John Smith, MD Role = Allopathic and Osteopathic Physicians:Internal Medicine:Cardiovascular Disease</li> <li>CareTeam Member: Allen Vitalis Role = Patient (person)</li> </ol> </div>"
},
"subject":{
"reference":"Patient/99912345"
},
You can’t perform that action at this time.