# Location

Source: https://www.flexpa.com/docs/fhir/location
Description: Location is the FHIR resource for physical places where care is delivered. Fields and examples from the Flexpa API.

GET `https://api.flexpa.com/fhir/Location`

* [Location](https://www.hl7.org/fhir/Location.html) is a base FHIR Resource ( [JSON example](https://www.hl7.org/fhir/Location-example.json))
* Commonly available via [US Core Location Profile](https://www.hl7.org/fhir/us/core/StructureDefinition-us-core-location.html)

**Location** is a supporting FHIR resource containing the details and position information for a physical place where services are provided and resources and resources may be stored, found, contained, or accommodated.

In contrast to many of the other resources available through Flexpa that are patient-specific, it serves as a foundational resource that supports the clinical and financial resources in the API.
For instance, an AllergyIntolerance may have been documented at a particular Location or an ExplanationOfBenefit may have been issued for a particular Location.

As a result, Location is most often used as part of an `include` parameter in a search request to retrieve the related resources or is accessed via a [read](https://www.flexpa.com/docs/records#read) with a specific FHIR resource ID obtained from a financial or clinical resource.

## Sample request

This is a sample request using `curl`

```shell
ACCESS_TOKEN=patient-access-token

curl "https://api.flexpa.com/fhir/Location" \
  -H "Authorization: Bearer $ACCESS_TOKEN"
```

## Sample response

This is a sample response from Humana using Flexpa API in [test mode](https://www.flexpa.com/docs/test-mode#health-insurers)
