DocumentSearchRequest
API Information
The DocumentSearchRequest is a GET message that will use the following web service API endpoint information.
Operation | API Endpoint Description | Description |
---|---|---|
Document Search | GET [base]/DocumentReference/?patient= [Surescripts Patient ID]&assigningAuthority=[Surescripts Assinging Authority ID] | Returns a bundle of document references for the requested patient. |
FHIR DocumentSearchRequest URLs can also include parameters known as prefixes that can be used for date-specific searches like this R4 example that specifies a search for documents between 2023-01-01 and 2023-05-31.
https://rle.surescripts.net/fhir/R4/DocumentReference?patient=
The following date-related FHIR prefixes are supported:
'eq', 'ge', 'gt', 'le', 'lt'
(equal, greater than or equal, greater than, less than or equal, less than)