Drs® Enterprise - FHIR®© API Documentation

Information about encounters, visits

Retrieving a patient’s visits

The logical ID (of the patient to retrieve) is passed as part of the URL. The logical ID is found as the result of a search.

GET https://<hosturl>/FHIR/<databasename>/Patient/123/Encounters
GET https://<hosturl>/FHIR/<databasename>/Patient/123/Encounters?date=2016-01-01
GET https://<hosturl>/FHIR/<databasename>/Patient/123/Encounters?datefrom=2016-01-01&dateto=2017-01-01

 

Name Required? Type Description
id Yes string The logical ID of the patient. This is retrieved using the search function.
date No string A string representing a date to include in the search.
datefrom No string Date range, date to start search from.
dateto No string Date range, date to finish search.

This API call can return patient data based on date range or exact date filtering for encounters. If no dates are supplied, all patient data is returned for encounters.

Sample Output