Location

Locations - Compendium of places under an organization where care takes place.

General Information

The connectivity of this FHIR endpoint is as follows:

HTTP Method
GET, POST
URL Template
https://portal.viewmymed.com/fhir/Location?_id=token&_count=number&date=date&_pretty=boolean
Supported OAuth 2.0 User Types
Backend Systems, Clinicians or Administrative Users, Patients
Profiles Supported
  • Us Core Location
  • Request Parameters

    The following fields and datatypes are the parameters for the request string. All fields are optional, however if no settings are set, all values will be exported up to the maximum count of 100

    Name (type) Description (bindings)
    _id
    (token)
    A single or comma separated list of Location ids. It is a required field if the patient field is not given.
    _count
    (number)
    The maximum number of results to return in a page. Not honored when '_id' is set.
    date
    (date)
    A date or date range from which to find location. The 'date' parameter may be provided once without a prefix or time component to imply a date range or once without a prefix and with a time component to search for location at a specific time. Alternately it may be provided twice with 'le' and 'gt' prefixes to search for location within a specific range. The date prefix pair must create a closed range.
    _pretty
    (boolean)
    set to false to disable formatted output.

    Returned Data Fields

    The following fields and bindings are returned if valued

    Field (type) Description (bindings) Opt?
    id
    (Id)
    Id
    status
    (String)
    Whether the document is completed/final or otherwise.

    Location Status (https://hl7.org/fhir/ValueSet/location-status)
    name
    (name)
    The date and time or this resource.
    telecom
    (ContactPoint)
    Contact phone number of this location
    address
    (Address)
    Address of this location
    managingOrganization
    (CodeableConcept)
    A reference of Organization of this location

    Default Patient Query

    The following are live queries representative of a data request on our sandbox environment.

    Headers

    Accept: application/fhir+json
    Authorization: <OAuth2 Bearer Token>

    Request

    GET https://portal.viewmymed.com/fhir/Location?_id=6d102433793cace904174bebb6379f13

    HTTP/1.0 200 OK
    Cache-Control: no-cache, private
    Content-Type:  application/fhir+json
    Date:          Mon, 02 Feb 2026 13:36:09 GMT
    Etag:          W/"1"
    
    {
        "resourceType": "Location",
        "id": "6d102433793cace904174bebb6379f13",
        "meta": {
            "versionId": "6d102433793cace904174bebb6379f13",
            "lastUpdated": "2023-01-20T15:27:35+00:00"
        },
        "status": "active",
        "name": "Clinic One1",
        "telecom": [
            {
                "system": "phone",
                "value": "tel:+1-585-271-6170"
            }
        ],
        "address": {
            "use": "work",
            "type": "both",
            "line": [
                "3255 Brighton-Henrietta TL Rd"
            ],
            "city": "Rochester",
            "state": "NY",
            "postalCode": "14618-0000",
            "country": "US"
        },
        "managingOrganization": {
            "reference": "Organization/069dca595f357b1011b5b74ba54b51c9"
        }
    }

    Error Codes / Outcomes

    All endpoints share the same error codes and common outcomes.