Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.02 KB

File metadata and controls

27 lines (21 loc) · 1.02 KB

command line interface (CLI) examples

unzip synthea_sample_data_fhir_latest.zip -d ~/synthea-sample-data-fhir
  • convert the fhir resources to xlsx extract the Condition and Patient resources:
fhiry -i ~/synthea-sample-data-fhir -o ~/synthea-sample-data-fhir/output.xlsx --resource-types=Condition,Patient

All rows have a patientId column which is the FHIR resource id of the Patient resource.

  • You can load a config file to specify the resource types and other options:
fhiry -i ~/synthea-sample-data-fhir -o ~/synthea-sample-data-fhir/output.xlsx --config-file ~/synthea-sample-data-fhir/config.json --resource-types=Condition,Patient

Config file example (config.json):

{
    "REMOVE": ["text.div", "meta"],
    "RENAME": {}
}