Replies: 2 comments
-
Also, I am individually executing this module as backup.json |
Beta Was this translation helpful? Give feedback.
-
Two things. FIrst, do not use Second, this is probably to do with "years of history" which is a frequent topic in the Discussion boards here. The most recent being several days ago: #1586. Although you are having the opposite problem: the procedures are getting filtered out because they are outside the default time window and they are not active, but the condition diagnosis is active. From the documentation, https://github.com/synthetichealth/synthea/wiki/Common-Configuration#other-export-settings, the setting
Because your module has no |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Completely new to Synthea, Was just trying a sample custom module to generate 1000 patients. However, found that there were 1000 records generated in encounter and conditions files, but only around 113 in the procedures.csv. Could anyone please help in understanding why including a conditiononset state messes with the distributions and number of records generated.
Here's the sample module:
{
"name": "Debug_Test_Minimal",
"remarks": [
"Ultra-minimal test - no duration specified for procedure"
],
"states": {
"Initial": {
"type": "Initial",
"direct_transition": "Testcond"
},
"Testcond": {
"type": "ConditionOnset",
"codes": [
{
"system": "SNOMED-CT",
"code": 254837009,
"display": "breast cancer"
}
],
"target_encounter": "enc",
"direct_transition": "enc"
},
"enc": {
"type": "Encounter",
"encounter_class": "ambulatory",
"codes": [
{
"system": "SNOMED-CT",
"code": 86013001,
"display": "enc start"
}
],
"direct_transition": "proc"
},
"proc": {
"type": "Procedure",
"codes": [
{
"system": "SNOMED-CT",
"code": 24623002,
"display": "exproc"
}
],
"direct_transition": "end_enc",
"reason": "Testcond",
"distribution": {
"kind": "UNIFORM",
"parameters": {
"low": 30,
"high": 60
}
},
"unit": "minutes"
},
"end_enc": {
"type": "EncounterEnd",
"direct_transition": "Terminal"
},
"Terminal": {
"type": "Terminal"
}
},
"gmf_version": 2
}
Beta Was this translation helpful? Give feedback.
All reactions