fhir_current_request {fhircrackr} | R Documentation |
Return FHIR search request used in last call to fhir_search()
or fhir_url()
Description
Return FHIR search request used in last call to fhir_search()
or fhir_url()
Usage
fhir_current_request()
Value
An object of class fhir_url()
Examples
#the try({}, silent = TRUE) statement is only there to catch errors when the server is down
#you can skip it when the server is reachable
try({
request <- fhir_url(url = "https://server.fire.ly", resource = "Patient")
fhir_current_request()
fhir_search("https://server.fire.ly/Medication", max_bundles = 1)
fhir_current_request()
},silent = TRUE)
[Package fhircrackr version 2.2.0 Index]