Skip to content

How to create complete patient health records as FHIR resources and how to upload them to a FHIR server

Notifications You must be signed in to change notification settings

PHT-Medic/fhir-data-synthesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fhir-data-synthesis

How to create complete patient health records as FHIR resources with synthea synthea and how to upload them to a FHIR server

  1. Clone the synthea repository to any location
  2. For FHIR purposes it is necessary to change certain configuration attributes. Follow these instructions on this website. There are also more information about how FHIR needs to be treated.
  3. Create the necessary FHIR resources via the terminal command (you need to be in the cloned repo): ./run_synthea -p 100 (This creates 100 patients with random health records)
  4. Add FHIR folder to upload_fhir_resources-script
    1. Copy the absolute path of the synthea/output/fhir-folder
    2. Add the path to the path_to_fhir_resources variable
  5. Add the server-credentials (server_address,username,password)
  6. If some error occurs, the count/position-value is always printed out of the last uploaded transaction bundle. With the start_pos attribute you can define the starting file, so you can skip already uploaded bundles and start over with a different fhir bundle defined with the file position inside the folder.
  7. Run the upload_fhir_resources-script

About

How to create complete patient health records as FHIR resources and how to upload them to a FHIR server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages