Hospital / Organization API

1upHealth makes it possible to query hospital (FHIR Organization) resources that are generated from open data sources. We have done the work to parse and format open data from the US government and online sources and make them available via the standard FHIR API so you can incorporate hospital and organization information seamlessly into your application. This data includes clinics, outpatient and inpatient centers, along with large health systems, basically any organization that has an NPI.

To query any open hospital / organization data just append _public=true parameter to any FHIR endpoint. Like any other request against our platform, you must have a valid access_token to query our public data. Here's an example of how you could find a hospital (FHIR Organization) by name.

curl -XGET 'https://api.1up.health/fhir/dstu2/Organization?_public=true&name=children' \
  -H 'Authorization: Bearer access_token'

The response is a FHIR Bundle with all the matching organizations.

You can also search for these organizations by location or many other FHIR parameters

curl -XGET 'https://api.1up.health/fhir/dstu2/Organization?_public=true&state=MA' \
  -H 'Authorization: Bearer access_token'

Each public organization is identified by its NPI which you can use to query like so. If you have the NPI of a doctor or health care organization you can also look it up using that npi number as the resource id.

curl -XGET 'https://api.1up.health/fhir/dstu2/Organization/1234567890?_public=true' \
  -H 'Authorization: Bearer access_token'

Any other organization FHIR search parameters are allowed for these queries. If you query without the _public=true parameter, then you'll only get those resources that your user has connected from external systems or your app has posted to store on 1up's FHIR server.