R FHIR client based on the python fhirclient
library with more features.
Major feature:
Install the latest python library fhirclient
first.
pip install git+https://github.com/smart-on-fhir/client-py.git
You can install the released version of fhiRclient from github with:
## install.packages("fhiRclient")
devtools::install_github("qhu75/fhiRclient")
library(fhiRclient)
ct <- Client(app_id = "my_app",
api_base = "https://r4.smarthealthit.org")
pt <- Patient(list(id = "326b4675-0bc8-4dbd-b406-a5564c282401"))
ct %>% Read(pt) %>% as_json %>% as_json_tbl
res <- Search(ct, "observation", "Observation",
list(code = "http://loinc.org|2339-0"), page = "all")
browseVignettes("fhiRclient")