Skip to content

Commit

Permalink
endometriosis module
Browse files Browse the repository at this point in the history
  • Loading branch information
awatson1978 committed Dec 30, 2023
1 parent 227883e commit 0d52c3c
Show file tree
Hide file tree
Showing 2 changed files with 526 additions and 510 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
{
"name": "Menstrual Cycle",
"remarks": [
"name": "Endometriosis",
"remarks": [
"The reproductive system of a female, unlike men, shows regular cyclic changes that teleologically may be regarded as periodic preparation for pregnancy and fertilization. In primates and humans, the cycle is a menstrual cycle, and its most conspicuous feature is the periodic vaginal bleeding that occurs with the shedding of uterine mucose (menstruation). The length of the cycle is notoriously variable, but an average figure is 28 days from the start of one menstrual period to the start of the next. By common usage, the days of the cycle are identified by number starting with the first day of menstruation. It begins at puberty, ranging from the ages of 10 to 16, and ends at menopause at an average age of 51. -Thiyagarajan, Basit, Jeanmonod 2022",
"",
"References",
"https://www.ncbi.nlm.nih.gov/books/NBK500020/",
"https://www.womenshealth.gov/a-z-topics/endometriosis",
"Roblitz2013_Menstrual_Cycle.pdf",
"",
"Roblitz2013_Menstrual_Cycle.pdf",
"https://www.womenshealth.gov/a-z-topics/endometriosis",
"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4921342",
"",
"Known model limitations:",
"This model is significantly more complex than other models included in Synthea, with nearly 10x more parameters than the circadian cycle.",
"Currently, only Estradiol output levels are mapped to output data.",
"This model generates continuous data over a 28 cycle, which would not be recorded in any known clinical test. Rather, laboratory tests would typically involve a blood draw, and a discrite value at a single point in time.",
"Details for writing intersection functions to extract a single value are explianed in greater detail in the Synthea Wiki."
],
],
"states": {
"Initial": {
"type": "Initial",
Expand All @@ -28,10 +30,12 @@
{
"transition": "Terminal"
}
]
],
"name": "Initial"
},
"Terminal": {
"type": "Terminal"
"type": "Terminal",
"name": "Terminal"
},
"Female": {
"type": "Simple",
Expand All @@ -40,72 +44,30 @@
],
"distributed_transition": [
{
"transition": "Age_13-19",
"distribution": 0.10
},
{
"transition": "Age_20-29",
"distribution": 0.20
"transition": "Age_15-44",
"distribution": 0.11
},
{
"transition": "Age_30-39",
"distribution": 0.35
},
{
"transition": "Age_40-49",
"distribution": 0.35
"distribution": 0.89,
"transition": "Terminal"
}
]
},
"Age_13-19": {
"type": "Delay",
"direct_transition": "Endometriosis",
"range": {
"low": 13,
"high": 19,
"unit": "years"
}
},
"Age_20-29": {
"type": "Delay",
"direct_transition": "Endometriosis",
"range": {
"low": 20,
"high": 29,
"unit": "years"
}
},
"Age_30-39": {
"type": "Delay",
"direct_transition": "Endometriosis",
"range": {
"low": 30,
"high": 39,
"unit": "years"
}
},
"Age_40-49": {
"type": "Delay",
"direct_transition": "Endometriosis",
"range": {
"low": 40,
"high": 49,
"unit": "years"
}
],
"name": "Female"
},


"Endometriosis": {
"type": "ConditionOnset",
"target_encounter": "Obgyn_Encounter",
"codes": [
{
"system": "SNOMED-CT",
"code": 129103003,
"display": "Endometriosis (disorder)"
"display": "Endometriosis (disorder)",
"value_set": ""
}
],
"remarks": [ "" ],
"remarks": [
""
],
"distributed_transition": [
{
"transition": "Obgyn_Encounter",
Expand All @@ -116,10 +78,11 @@
"distribution": 0.79
},
{
"transition": "Terminal",
"transition": "Endometriosis_End",
"distribution": 0.01
}
]
],
"name": "Endometriosis"
},
"Symptom_Onset_Delay": {
"type": "Delay",
Expand All @@ -128,75 +91,62 @@
"low": 1,
"high": 5,
"unit": "years"
}
},
"name": "Symptom_Onset_Delay"
},
"Menstrual_Cramps_Symptom": {
"type": "Symptom",
"symptom": "Cramps",
"cause": "Endometriosis",
"direct_transition": "Menstrual_Cramps_Symptom_Ends",
"distributed_transition": [
{
"transition": "Endometriosis_End",
"distribution": 0.05
},
{
"distribution": 0.95,
"transition": "Obgyn_Encounter"
}
],
"codes": [
{
"system": "SNOMED-CT",
"code": 431416001,
"display": "Menstrual cramp (finding)"
"display": "Menstrual cramp (finding)",
"value_set": ""
}
]
},
"Menstrual_Cramps_Symptom_Ends": {
"type": "Symptom",
"symptom": "Cramps",
"cause": "Endometriosis",
"direct_transition": "Endometriosis_End"
],
"name": "Menstrual_Cramps_Symptom"
},

"Endometriosis_End": {
"type": "ConditionEnd",
"condition_onset": "Endometriosis",
"direct_transition": "Terminal"
"direct_transition": "Terminal",
"name": "Endometriosis_End"
},

"Obgyn_Encounter": {
"type": "Encounter",
"encounter_class": "emergency",
"reason": "Gynecology_Exam",
"reason": "Blood Draw",
"codes": [
{
"system": "SNOMED-CT",
"code": 185221008,
"display": "Seen in gynecology clinic (finding)"
"display": "Seen in gynecology clinic (finding)",
"value_set": ""
}
],
"direct_transition": "Gynecology_Exam"
"direct_transition": "Blood Draw",
"name": "Obgyn_Encounter"
},


"Obgyn_Encounter_End": {
"type": "EncounterEnd",
"direct_transition": "Terminal",
"direct_transition": "Aromatase Inhibitor",
"discharge_disposition": {
"system": "NUBC",
"code": "01",
"display": "Discharged to home care or self care (routine discharge)"
}
},


"Gynecology_Exam": {
"type": "Procedure",
"codes": [
{
"system": "SNOMED-CT",
"code": 396540005,
"display": "Phlebotomy (procedure)"
}
],
"duration": {
"low": 5,
"high": 10,
"unit": "minutes"
},
"direct_transition": "Endocrinology_Sim"
"name": "Obgyn_Encounter_End"
},
"Endocrinology_Sim": {
"type": "Physiology",
Expand All @@ -214,7 +164,8 @@
}
],
"direct_transition": "HormonePanel",
"alt_direct_transition": "Clear_endocrinology_data"
"alt_direct_transition": "Clear_endocrinology_data",
"name": "Endocrinology_Sim"
},
"HormonePanel": {
"type": "Observation",
Expand All @@ -224,15 +175,17 @@
{
"system": "SNOMED-CT",
"code": "2243-4",
"display": "Estradiol (E2) [Mass/volume] in Serum or Plasma"
"display": "Estradiol (E2) [Mass/volume] in Serum or Plasma",
"value_set": ""
}
],
"sampled_data": {
"attributes": [
"endocrinology_data"
]
},
"direct_transition": "HormonePanel_Chart"
"direct_transition": "HormonePanel_Chart",
"name": "HormonePanel"
},
"HormonePanel_Chart": {
"type": "Observation",
Expand All @@ -242,7 +195,8 @@
{
"system": "SNOMED-CT",
"code": "2243-4",
"display": "Estradiol (E2) [Mass/volume] in Serum or Plasma"
"display": "Estradiol (E2) [Mass/volume] in Serum or Plasma",
"value_set": ""
}
],
"attachment": {
Expand All @@ -260,12 +214,68 @@
]
}
},
"direct_transition": "Clear_endocrinology_data"
"direct_transition": "Clear_endocrinology_data",
"name": "HormonePanel_Chart"
},
"Clear_endocrinology_data": {
"type": "SetAttribute",
"attribute": "endocrinology_data",
"direct_transition": "Obgyn_Encounter_End"
"direct_transition": "Prescribe Aromatase Inhibitor",
"name": "Clear_endocrinology_data"
},
"Blood Draw": {
"type": "Procedure",
"codes": [
{
"system": "SNOMED-CT",
"code": 396540005,
"display": "Phlebotomy (procedure)",
"value_set": ""
}
],
"duration": {
"low": 5,
"high": 10,
"unit": "minutes"
},
"direct_transition": "Endocrinology_Sim",
"name": "Blood Draw"
},
"Age_15-44": {
"type": "Delay",
"direct_transition": "Endometriosis",
"range": {
"low": 13,
"high": 19,
"unit": "years"
},
"name": "Age_15-44"
},
"Prescribe Aromatase Inhibitor": {
"type": "MedicationOrder",
"codes": [
{
"system": "RxNorm",
"code": 72965,
"display": "letrozole",
"value_set": ""
}
],
"direct_transition": "Obgyn_Encounter_End",
"name": "Prescribe Aromatase Inhibitor"
},
"Aromatase Inhibitor": {
"type": "MedicationEnd",
"direct_transition": "Endometriosis_End",
"name": "Aromatase Inhibitor",
"codes": [
{
"system": "RxNorm",
"code": 413575009,
"display": "Substance with aromatase inhibitor mechanism of action (substance)",
"value_set": ""
}
]
}
},
"gmf_version": 1
Expand Down
Loading

0 comments on commit 0d52c3c

Please sign in to comment.