anv_fhir_test_find_patient: test extraction of Patient from a given store

View source: R/tests.R

anv_fhir_test_find_patientR Documentation

test extraction of Patient from a given store

Description

test extraction of Patient from a given store

Usage

anv_fhir_test_find_patient(
  url = anvurl(),
  id = "H_WX-999-999",
  pyrefs = abfhir_demo()
)

Arguments

url

character(1) URL for a FHIR store

pyrefs

list of Module references (anvil, fhirclient)

count_str

character(1) '_count' value for 'where' in ResearchStudy

Examples

t1 = anv_fhir_test_find_patient(url=anvurl("phs002282-DS-CVDRF")) # should be more universal
length(t1)
t1[[1]]$as_json()

vjcitn/AnvBiocFHIR documentation built on May 31, 2022, 10:39 a.m.