compose_fhir_v1.4.2 | R Documentation |
Compose BioCompute Object - FHIR Extension (v1.4.2)
compose_fhir_v1.4.2(endpoint = NULL, version = NULL, resources = NULL) compose_fhir(endpoint = NULL, version = NULL, resources = NULL)
endpoint |
Character string. The URL of the endpoint of the FHIR server containing the resource. |
version |
Character string. The FHIR version used. |
resources |
Data frame with two variables: |
A list of class bco.domain
fhir_endpoint <- "https://fhirtest.uhn.ca/baseDstu3" fhir_version <- "3" fhir_resources <- data.frame( "id" = c("21376", "6288583", "25544", "92440", "4588936"), "resource" = c( "Sequence", "DiagnosticReport", "ProcedureRequest", "Observation", "FamilyMemberHistory" ), stringsAsFactors = FALSE ) compose_fhir(fhir_endpoint, fhir_version, fhir_resources) %>% convert_json()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.