View source: R/fhir_resource_type.R
fhir_resource_type | R Documentation |
This function creates an object of class fhir_resource_type. It checks the resource type against the list
of resource types provided at https://hl7.org/FHIR/resourcelist.html, corrects wrong cases (which can be disabled with fix_capitalization = FALSE
)
and throws a warning if the resource cannot be found at hl7.org.
fhir_resource_type(string, fix_capitalization = TRUE)
string |
A length one character vector containing the resource type. Will usually be one of the official FHIR resource types listed at https://hl7.org/FHIR/resourcelist.html |
fix_capitalization |
Correct wrong capitalization for known resource types? E.g. |
An fhir_resource_type object
fhir_resource_type(string = "Patient")
fhir_resource_type(string = "medicationadministration")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.