Skip to content

Instantly share code, notes, and snippets.

Josh Mandel jmandel

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jmandel on github.
  • I am jmandel ( on keybase.
  • I have a public key ASDjpMvWtTLcrmFpbEhzJ-HoQIjVx2OxJwIalLJQodCBBgo

To claim this, I am signing this object:

jmandel / gist:279e759fea8c9d1864cecd55f8799e08
Last active Nov 22, 2016 zulip upgrade status
View gist:279e759fea8c9d1864cecd55f8799e08
9:50p ET 11/21: beginning update
9:53p ET 11/21: complete
var calsToSynchronize = [
var BUSY = "Busy",
COPIED_FROM_CALENDAR = "copied-from-calendar",
COPIED_FROM_EVENT = "copied-from-event",
TIME_HORIZON = 365 / 2; // scan for 6 months
jmandel /
Last active Aug 11, 2016 zulip upgrade status

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 /
Created Jun 23, 2016
Python resource validation example
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
"id": "argo-example",
"div":"<div xmlns=\"\"> <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>"
jmandel / gist:bb9bb698fa4e1c662100d65285a1ade4
Created Jun 2, 2016
Example extension for patient portal FHIR endpoint
View gist:bb9bb698fa4e1c662100d65285a1ade4
"resourceType": "Organization",
"extension": [
"url": "",
"valueUri": ""
jmandel / names-in-room.ipynb
Created May 23, 2016
Names in a 1908s Room
View names-in-room.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View example.json
"resourceType": "Observation",
"id": "1725-lab",
"status": "final",
"category": {
"coding": [
"system": "",
"code": "laboratory",
"display": "Laboratory"
jmandel / after.json
Created May 2, 2016
CDS Hooks API before/after ?
View after.json
You can’t perform that action at this time.