This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from fhirclient.models.fhirabstractbase import FHIRValidationError | |
from fhirclient.models.fhirelementfactory import FHIRElementFactory | |
resource = json.loads("""{ | |
"resourceType": "Condition", | |
"patient": { | |
"reference": "Patient/123" | |
} | |
}""") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"resourceType": "Organization", | |
"extension": [ | |
{ | |
"url": "http://fhir-registry.smarthealthit.org/StructureDefinition/patient-portal-fhir-endpoint", | |
"valueUri": "https://open-ic.epic.com/...whatever" | |
} | |
], | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2.7 | |
from __future__ import print_function | |
import sys | |
import os | |
import optparse | |
import json | |
import random | |
import zulip | |
zulip_client = zulip.Client( |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"resourceType": "Observation", | |
"id": "1725-lab", | |
"status": "final", | |
"category": { | |
"coding": [ | |
{ | |
"system": "http://hl7.org/fhir/observation-category", | |
"code": "laboratory", | |
"display": "Laboratory" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"hook":"patient-view", | |
"hookInstance":"e456d5b6-8f98-4e83-b586-40def6bc7778", | |
"fhirServer":"http://hooks.smarthealthit.org:9080", | |
"redirect":"http://hooks2.smarthealthit.org/service-done.html", | |
"user":"Practitioner/example", | |
"patient":"1288992", | |
"prefetch":{ | |
"patientToGreet":{ | |
"resource":{ |