synthea | Synthetic Patient Population Simulator

 by   synthetichealth Java Version: 3.2.0 License: Apache-2.0

kandi X-RAY | synthea Summary

kandi X-RAY | synthea Summary

synthea is a Java library typically used in Simulation, Deep Learning applications. synthea has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has medium support. You can download it from GitHub, Maven.

SyntheaTM is a Synthetic Patient Population Simulator. The goal is to output synthetic, realistic (but not real), patient data and associated health records in a variety of formats. Read our wiki for more information.

            kandi-support Support

              synthea has a medium active ecosystem.
              It has 1730 star(s) with 532 fork(s). There are 74 watchers for this library.
              It had no major release in the last 12 months.
              There are 150 open issues and 370 have been closed. On average issues are closed in 145 days. There are 13 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of synthea is 3.2.0

            kandi-Quality Quality

              synthea has 0 bugs and 0 code smells.

            kandi-Security Security

              synthea has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              synthea code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              synthea is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              synthea releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              synthea saves you 20516 person hours of effort in developing the same functionality from scratch.
              It has 48336 lines of code, 2287 functions and 218 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed synthea and discovered the below as its top functions. This is intended to give you an instant insight into synthea implemented functionality, and help decide if they suit your requirements.
            • Provides explanation of the explanation of explanation .
            • Generate claim .
            • Export an in patient record .
            • Gets the special type of the customer special property .
            • Simulates the claim process .
            • Calculates the vital signs .
            • Export a record .
            • This method creates and returns a MedicationRequest for the MedicationRequest .
            • Creates a chart from a MultiTableConfig .
            • Set the birth statistics for a person .
            Get all kandi verified functions for this library.

            synthea Key Features

            No Key Features are available at this moment for synthea.

            synthea Examples and Code Snippets

            No Code Snippets are available at this moment for synthea.

            Community Discussions


            What resources are (typically|supposed |required) to be in a /Patient/[ID]/$everything FHIR resource?
            Asked 2022-Mar-15 at 08:21

            The short version is this: The /Patient/[ID]/$everything for the example patient shown below has a reference to a procedure that is not also included in the /Patient/$everything resource.

            Specifically: This example is from synthea. Synthea is an amazing tool that provides synthetic patients in FHIR format. (

            I have this example patient:

            This exists in the $everything resource as part of a claim resource:



            Answered 2022-Mar-14 at 23:08

            Why is the Procedure resource not in the /Patient/$everything?

            That's an error that should be reported against Synthea

            Are there other synthea data sets that might be helpful to us (I’m pretty sure I’ve heard of a covid one that’s out there somewhere).

            I don't know; google might be your friend



            How to get multiple patients $everything from synthea ( in single request?
            Asked 2022-Jan-28 at 21:05

            Does Synthea ( support the ability to get multiple Patent?$everything resources in a single request?

            I've tried some permutations of the the following but I'm not able to get it to return multiple patients in the same request.

            Requests (POST)





            Requests Body



            Answered 2022-Jan-28 at 21:05

            SyntheticMass does not support bulk data export.

            If you want all the data, download the data from the downloads section:

            Source: I am responsible for the system.



            Finding an element within an array that contains an array with a given string: JsonPath Java
            Asked 2021-Nov-08 at 06:19

            I'm new to JsonPath and am using the Java port

            I have a JSON object that looks like this (there are actually many entries, but I have removed the additional entries for brevity).



            Answered 2021-Nov-08 at 06:19

            Jayway Jsonpath implementation doesn't support indexOf. use in instead.



            Do Synthea names generally end with a number
            Asked 2021-Sep-28 at 21:00

            I'm using data from synthea and it looks like most (all?) of the given and family names I'm getting back end with a three digit number (e.g. Gregg522). Is this part of the design of synthea or am I parsing the data incorrectly. A snippet of the json I'm getting back is shown below. If this is part of the design, what is the motivation of ending the name with a number (I would think this would make the data less realistic).



            Answered 2021-Sep-28 at 21:00

            Yes, they generally do. It is sometimes nice to be able to see that the patients are fake/synthetic ones. However, this is a setting you can change: In the file, look for the setting "append_numbers_to_person_names" and set it to false.



            NextGen (Mirth) Connect & MongoDB java driver error
            Asked 2021-Feb-20 at 02:00

            I am trying to configure Mirth Connect Server 3.10.1 (Java version: 1.8.0_181), to write FHIR JSON docs to MongoDB. I've followed instructions from this post and have these drivers in custom-lib/

            • bson-4.2.0.jar
            • mongodb-driver-3.9.1.jar
            • mongodb-driver-core-4.2.0.jar

            My conf/dbdrivers.xml has an entry like this,



            Answered 2021-Feb-20 at 02:00

            I have a feeling this is due to the mismatched driver versions. Version 3.9 has the method indicated in the error, but 4.2 does not.

            Once you get that sorted out, you are going to want to change this line



            Angular 9 display data from nested json, fetched from rest api
            Asked 2020-Oct-01 at 18:02

            I would like to know how to display certain properties from nested json data fetched from REST API.

            It only shows as [Object object][Object object]. However I want to access and display properties stored within Entry -> Resource.

            I cannot really figure out what the problem is... amongst component and the interface.. and even if I write extensionally on my html such as {{observation.entry.resource}}, it is not working....

            Thank you very much in advance!

            1. my service code


            Answered 2020-Oct-01 at 17:08
            1. The API returns an Observation which contains a list of Entry items, not a list of Observation items
            2. Use map to transform from the Observation to the list of Entry items



            Creating multiple bundles in Azure API for FHIR
            Asked 2020-Apr-17 at 19:55

            Using Synthea i have generated 10 patient information. I have an azure account where i have setup "Azure API for FHIR" service. i did all the setup and tried pushing a sample patient (as mentioned in the official docs). i am able to retrieve the patient information by patient id as well.

            However, the generated resource from Synthea are not just one resource type.. It has many entries like Patient, Organization, Claim etc.. everything bundled under one resource - bundle

            Something like this.. but having more than 100 resource types for a patient. Its good that, it covers entire journey of the patient.



            Answered 2020-Apr-17 at 19:55

            When you need to process bundles at the FHIR endpoint, you need to POST it to the root / of the FHIR server. This is all described in

            That said, the managed Azure API for FHIR only supports "batch" bundles at the moment. Bundle type transaction is not currently supported on Azure API for FHIR.

            Both batch and transaction are supported on the OSS FHIR Server for Azure ( when deployed with the SQL server persistence provider.

            If you want to convert the transaction bundle that Synthea produces to a batch bundle, then you could take a look at something like this:



            Example or plugin to anonymize FHIR Json
            Asked 2020-Apr-16 at 14:39

            I have a set of health care information in FHIR json format. Before storing such sensitive information i would like to anonymize the sensitive information such as name , phone number, address, physician contacts, etc.

            I googled about anonimizing the fhir json and found there exist some security labels which classifies the information as Confidential , restricted , etc -

   - This talks about the extension and the structure of anonymized data.

            I am not sure how to replace these variables with security codes. Is there any api which does that or i have to find all the tags which are sensitive and loop the json and replace tags with security code.

            Can someone give me an example of this can be achieved.

            i have attached a sample json which i generated via synthea



            Answered 2020-Apr-16 at 14:39

            There is no 'standard' way to anonymize because anonymization is a risk-reduction approach that requires knowledge of both the threats you're trying to defend against and how the data needs to be used. When combined with other data, any element could potentially be 'sensitive'. It could also be essential to the intended analysis.

            The extension you're looking at is specific to audit event. The way you'd actually flag a Patient resource as having been anonymized is using the ANONYED security tag in resource.meta. I don't believe there's a standard extension for marking what elements should be anonymized. If there were such an element, the element would also need to indicated how the data should be anonymized and the alorithm would typically need to take into account multiple elements - or even multiple resources. E.g. Should dates be changed to a random value, or just have the day shifted? Should all dates in the set of related resources be shifted by the same amount or should they be adjusted independently. If you're changing the practitioners pointed to by different resources, should they be left as is, each one changed randomly, the same practitioner changed to the same random practitioner?



            What is the purpose of the post request object at the end of my patient resource generated with Synthea?
            Asked 2020-Feb-18 at 08:41

            I have generated a patient with the default settings using Synthea. The first entry in the bundle generated is as follows:



            Answered 2020-Feb-18 at 08:41

            So this Bundle can be used as a transaction or a batch, that is - when the bundle is sent to the server, the server will know what operation (method) to do with this resource and on what endpoint (url).


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install synthea

            These instructions are intended for those wishing to examine the Synthea source code, extend it or build the code locally. Those just wishing to run Synthea should follow the Basic Setup and Running instructions instead.
            System Requirements: SyntheaTM requires Java 1.8 or above.


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone synthetichealth/synthea

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link