View source: R/download_resources.R
fhir_current_request | R Documentation |
fhir_search()
or fhir_url()
Return FHIR search request used in last call to fhir_search()
or fhir_url()
fhir_current_request()
An object of class fhir_url()
#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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.