The OPML snippet will create 3 providers. The root provider is Community Provider Network. There are two child providers: Night Vale Community Medicine and Desert Bluffs Family Medicine. In the provided Cat I snippet, line 12 will cause the patient to be associated with Night Vale Community Hospital.
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
package middleware | |
import ( | |
"encoding/json" | |
"github.com/intervention-engine/fhir/server" | |
"gopkg.in/mgo.v2" | |
"gopkg.in/mgo.v2/bson" | |
"io/ioutil" | |
"net/http" | |
"net/url" |
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
package controllers | |
import ( | |
"bufio" | |
"encoding/json" | |
"net/http" | |
"net/http/httptest" | |
"os" | |
"github.com/intervention-engine/fhir/server" |
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
"use strict"; | |
let async = require("async"); | |
let MongoClient = require('mongodb').MongoClient; | |
MongoClient.connect('mongodb://127.0.0.1:27017/fhir', function(err, db) { | |
let patientCollection = db.collection('patients'); | |
let cursor = patientCollection.find() | |
async.waterfall([ | |
callback => { |
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
<Bundle xmlns="http://hl7.org/fhir"> | |
<id value="10bb101f-a121-4264-a920-67be9cb82c74"/> | |
<type value="message"/> | |
<entry> | |
<fullUrl value="urn:uuid:267b18ce-3d37-4581-9baa-6fada338038b"/> | |
<resource> | |
<MessageHeader> | |
<id value="efdd254b-0e09-4164-883e-35cf3871715f"/> | |
<timestamp value="2015-12-08T11:15:33-05:00"/> | |
<event> |
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
package main | |
import ( | |
"github.com/labstack/echo" | |
"github.com/labstack/echo/middleware" | |
"github.com/mitre/ecqm/controllers" | |
"gopkg.in/mgo.v2" | |
) | |
func main() { |
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
{ | |
"name" : "FRIL - Equal Weight - Accept 60", | |
"description" : "FRIL on localhost. Nearly Equal weights on all fields; accept = 60", | |
"destinationEndpoint" : "http://mitre.org/ptmatchadapter-fril", | |
"serverEndpoint" : "http://localhost:3001", | |
"responseEndpoint" : "http://mitre.org/ptmatch" | |
} |
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
{ | |
"birthdate": 252478800, | |
"conditions": [ | |
{ | |
"anatomical_location": null, | |
"anatomical_target": null, | |
"causeOfDeath": null, | |
"codes": { | |
"ICD-10-CM": [ | |
"E10.10" |
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
{ | |
"birthdate": 252478800, | |
"conditions": [ | |
{ | |
"anatomical_location": null, | |
"anatomical_target": null, | |
"causeOfDeath": null, | |
"codes": { | |
"ICD-10-CM": [ | |
"I10" |
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
{ | |
"cards": [ | |
{ | |
"summary": "Positive Airway Pressure (PAP) Devices: Complying with Documentation & Coverage Requirements", | |
"indicator": "info", | |
"source": { | |
"label": "CMS" | |
}, | |
"links": [ | |
{ |