Skip to content

Instantly share code, notes, and snippets.

@litlfred
Last active August 5, 2016 07:26
Show Gist options
  • Save litlfred/710e2af0ae7b6b20e1ca1bd19e9bd117 to your computer and use it in GitHub Desktop.
Save litlfred/710e2af0ae7b6b20e1ca1bd19e9bd117 to your computer and use it in GitHub Desktop.
{
"version": "0.1",
"name": "FHIR DSTU2 Test - Patient Resource",
"description": "Simple Test App for FHIR Patient Resource",
"launch_path": "index.html",
"developer": {
"name": "Carl Leitner <litlfred@gmail.com>",
"url": "http://github.com/litlfred/dhis-web-script-library"
},
"default_locale": "en",
"activities": {
"dhis": {
"href": "*"
}
},
"script-library": {
"dependencies" : {
"patient_base_library.js" : [
"base_library.js",
],
"patient_read.js" : [
"patient_base_library.js"
],
"patient_search.js" : [
"patient_base_library.js"
]
},
"bindings": [
{
"script" : "patient_read.js",
"RequestMapping" : "Patient/{id}",
"method" : ["GET"],
"consumes" : ["application/json+fhir","application/json","application/xml","application/xml+fhir","text/xml"],
"PathVariable" : ["id"]
},
{
"script" : "patient_search.js",
"RequestMapping" : "Patient",
"method" : ["GET"],
"consumes" : ["application/json+fhir","application/json","application/xml","application/xml+fhir","text/xml"],
"RequestParam" : ["_id","active","address","birthdate","family","given","gender","identifier"]
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment