Location
Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained, or accommodated.
http://hl7.org/fhir/us/core/STU3.1.1/StructureDefinition-us-core-location.html
The FHIR Location resource corresponds to Canvas Practice Location.
Endpoints
Attributes
The identifier of the Location
Unique code or number identifying the location to its users.
Supported: Group NPI values using the http://hl7.org/fhir/sid/us-npi
system
The status property covers the general availability of the resource, not the current value which may be covered by the operationStatus, or by a schedule/slots if they are configured for the location
Name of the location as used by humans
A list of alternate names that the location is known as, or was known as, in the past
Additional details about the location that could be displayed as further information to identify the location beyond its name
Physical address
Location read
Read a Location resource.
Path Parameters
Responses
Errors
Location search
Search for Location resources.
Query Parameters
The identifier of the Location
Responses
Errors
curl --request GET \ --url 'https://fumage-example.canvasmedical.com/Location/<id>' \ --header 'Authorization: Bearer <token>' \ --header 'accept: application/json'
import requests url = "https://fumage-example.canvasmedical.com/Location/<id>" headers = { "accept": "application/json", "Authorization": "Bearer <token>" } response = requests.get(url, headers=headers) print(response.text)
{ "resourceType": "Location", "id": "a04b44ec-c7df-4808-9043-e9c4b1d352a9", "identifier": [ { "system": "http://hl7.org/fhir/sid/us-npi", "value": "12321" } ], "status": "active", "name": "Canvas Medical", "alias": [ "Canvas Medical HQ" ], "description": "Canvas Medical, San Francisco, CA", "address": { "use": "work", "line": [ "405 49th St" ], "city": "Oakland", "state": "CA", "postalCode": "94609", "country": "USA" } }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "unknown", "details": { "text": "Authentication failed" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "forbidden", "details": { "text": "Authorization failed" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "not-found", "details": { "text": "Unknown Location resource 'a04b44ec-c7df-4808-9043-e9c4b1d352a9'" } } ] }
curl --request GET \ --url 'https://fumage-example.canvasmedical.com/Location' \ --header 'Authorization: Bearer <token>' \ --header 'accept: application/json'
import requests url = "https://fumage-example.canvasmedical.com/Location" headers = { "accept": "application/json", "Authorization": "Bearer <token>" } response = requests.get(url, headers=headers) print(response.text)
{ "resourceType": "Bundle", "type": "searchset", "total": 1, "link": [ { "relation": "self", "url": "/Location?_count=10&_offset=0" }, { "relation": "first", "url": "/Location?_count=10&_offset=0" }, { "relation": "last", "url": "/Location?_count=10&_offset=0" } ], "entry": [ { "resource": { "resourceType": "Location", "id": "a04b44ec-c7df-4808-9043-e9c4b1d352a9", "identifier": [ { "system": "http://hl7.org/fhir/sid/us-npi", "value": "12321" } ], "status": "active", "name": "Canvas Medical", "alias": [ "Canvas Medical HQ" ], "description": "Canvas Medical, San Francisco, CA", "address": { "use": "work", "line": [ "405 49th St" ], "city": "Oakland", "state": "CA", "postalCode": "94609", "country": "USA" } } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "invalid", "details": { "text": "Bad request" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "unknown", "details": { "text": "Authentication failed" } } ] }
{ "resourceType": "OperationOutcome", "issue": [ { "severity": "error", "code": "forbidden", "details": { "text": "Authorization failed" } } ] }