Learn R Programming

fhircrackr (version 0.2.1)

fhir_save_design: Write design to xml

Description

Writes a design for use with fhir_crack to an xml file

Usage

fhir_save_design(design, file = "design.xml")

Arguments

design

A list representing a valid design as used in fhir_crack

file

A string specifying the file to write to, defaults to writing "design.xml" into the current working directory

Examples

Run this code
# NOT RUN {
design <- list(
   Pat = list(
      resource = "//Patient",
      cols = "./*"
   )

)

fhir_save_design(design, file = tempfile())
# }

Run the code above in your browser using DataLab