Coder Social home page Coder Social logo

dbgap-fhir-api-docs's Introduction

DbGaP FHIR API Docs

This is the documentation repository for the dbGaP FHIR API. (API base URL)

dbGaP is the Database of Genotypes and Phenotypes.
FHIR is HL7's REST API standard for transmission of electronic health record data.

Prerequisites

You should already have a basic understanding of FHIR - especially before working through the Notebooks. The notebooks are based on the FHIR Exercises repo from the NIH Office of Data Sharing Strategy (ODSS).

For the Notebooks, you should also understand how Notebooks work and Pandas dataframes.

Issues

If you have a query that returns after 20 seconds with an error like the following:

{
	"error": {
		"status": 500,
		"message": "error forwarding request",
		"api-key": "192.168.0.1"
	}
}

Then you probably hit a 20-second timeout. Removing sorting, simplifying your query, or including fewer sub-queries in a batch can sometimes help.

For other issues please see the Issues list in this GitHub repository.

Privacy

The example code in this repository does not collect user data or send it to NCBI. However, using the code to access our FHIR servers will send data to NCBI. To learn more about how we handle that data, see the "NCBI Website and Data Usage Policies and Disclaimers" page.

Contact

The dbGaP FHIR API is provided by NCBI. Please contact us with any questions.

dbGaP FHIR is under active development; suggestions for features and data are welcome.

dbgap-fhir-api-docs's People

Contributors

ianfore avatar pjwin avatar radixseven avatar russettear avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dbgap-fhir-api-docs's Issues

URL links are bad- point to wrong server

In the example, you start with:

http://dbgap-api.ncbi.nlm.nih.gov/fhir/x1/ResearchStudy and get the next page using the link inside the result, which is:

https://dbgap-api-firewalled.ncbi.nlm.nih.gov/fhir/x1?_getpages=8776f07f-4b69-4260-86d1-13708db96d5e&_getpagesoffset=100&_count=100&_pretty=true&_bundletype=searchset

The issue is that link is for a firewalled server, not the public server. The actual address to get the second page is:
https://dbgap-api.ncbi.nlm.nih.gov//fhir/x1?_getpages=8776f07f-4b69-4260-86d1-13708db96d5e&_getpagesoffset=100&_count=100&_pretty=true&_bundletype=searchset

In each page, all of the links (self, next and previous) are displayed as the secure firewall addresses rather than the public ones. Inside each record the fullUrl value is also pointing at the firewalled data.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.