Skip to content

Instantly share code, notes, and snippets.

Josh Mandel jmandel

View GitHub Profile
@jmandel
jmandel / measure-report-examples.txt
Last active Mar 25, 2020
Example Locations, Groups for tracking beds (work in progress)
View measure-report-examples.txt
example.pypf
Example measure report (pseudo-yaml-pseydo-FHIR)(TM)
----
resourceType: MeasureReport
status: complete
type: summary (??)
measure: https://audaciousinquiry.github.io/saner-ig/Measure/bed-availability-measure
date: today
View certified-ehr-apis-and-query-networks.md

Background: Consumer API Access via Certified EHR APIS

In a series of EHR Certification and Meaningful Use programs since 2010, US national policy has driven toward better consumer access to clinical data – first through online portals; then through downloadable documents; and most recently through APIs that enable third-party application access. This technology is enabling consumers to connect apps like Apple Health or MyFHR to their health records, helping individuals understand their health and shop for better care. API access is expanding, but key struggles include:

  • App registration does not scale. Today, connecting an app requires not only permission from a patient, but also (as a pre-requisite), two additional hurdles that limit the ability for apps to scale: registration with an EHR vendor and approval by a healthcare provider organization. These two steps mean that apps must seek approvals from institutions that may not share common values or business incentives. The first hurdle should be
@jmandel
jmandel / handshake-bare.json
Last active Feb 20, 2020
R5 Subscription Notifications: Packaging Discussion
View handshake-bare.json
{
"resourceType": "Bundle",
"id": "handshake",
"type": "history",
"timestamp": "2019-08-07T10:24:13.1882432-05:00",
"meta": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/subscription-event-count",
"valueInteger64": "0"
@jmandel
jmandel / auto-trascript-for-self-owned-identity-in-healthcare.md
Created Feb 19, 2020
Automated captions for self-owned Identity in healthcare overview
View auto-trascript-for-self-owned-identity-in-healthcare.md

Automated captions for https://www.youtube.com/watch?v=LEfgVrzwipw

I wanted to spend a few minutes, and introduced some vocabulary around a few court challenges in managing identity in healthcare and beyond. I want to argue that today. Things are pretty broken. Even when they seem to be working kind of OK and then point forward to a set of emerging specifications that are the first thing I've seen in a long time that really look like they could actually make a dent in the problem.

I think a little bit about a road map towards getting there so to start I want

@jmandel
jmandel / careevolution.json
Last active Sep 15, 2019
CARIN Blue Button Examples from FHIR 2019-09 Connectathon
View careevolution.json
{
"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"
},
{
View example.sh
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 Sep 9, 2019
Realtime Benefits Check Examples
View examples.md

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
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
You can’t perform that action at this time.