Skip to content

Commit

Permalink
Module syntax corrections: remove fields, correct booleans.
Browse files Browse the repository at this point in the history
  • Loading branch information
jawalonoski authored and hadleynet committed May 28, 2024
1 parent ec4cd5c commit fa17e2a
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 37 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@
"display": "Wheat (substance)"
}
],
"reaction": [
"reactions": [
{
"reaction": {"system": "SNOMED-CT", "code": "267036007", "display": "Dyspnea (finding)"},
"possible_severities": [
Expand All @@ -543,7 +543,7 @@
"reaction": {"system": "SNOMED-CT", "code": "271807003", "display": "Eruption of skin (disorder)"},
"possible_severities": [
{"level": "moderate", "value": 0.9},
{"level": "none", "value": 0.09999999999999998}
{"level": "none", "value": 0.1}
]
},
{
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/modules/appendicitis.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@
},
"Appendicitis_Encounter": {
"type": "Encounter",
"wellness": false,
"encounter_class": "emergency",
"reason": "Appendicitis",
"remarks": [
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/modules/asthma.json
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@
},
"Next_Wellness_Encounter": {
"type": "Encounter",
"wellness": "true",
"wellness": true,
"direct_transition": "Maintenance_Medication_End",
"reason": "asthma_condition"
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/modules/cystic_fibrosis.json
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@
"Meconium_Ileus_Resolved": {
"type": "ConditionEnd",
"direct_transition": "Sweat_Test",
"condition_onset": "Meconium_Ileus"
"condition_onset": "Meconium Ileus"
},
"CF_CarePlan": {
"type": "CarePlanStart",
Expand Down
12 changes: 0 additions & 12 deletions src/main/resources/modules/epilepsy.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,10 @@
}
],
"direct_transition": "Seizure_Encounter",
"remarks": [
""
],
"assign_to_attribute": "seizure"
},
"Seizure_Encounter": {
"type": "Encounter",
"wellness": false,
"encounter_class": "emergency",
"reason": "seizure",
"remarks": [
Expand Down Expand Up @@ -410,19 +406,11 @@
},
"Medicine_Encounter": {
"type": "Encounter",
"encounter_class": "outpatient",
"wellness": true,
"reason": "seizure",
"remarks": [
"Patients start with medication prescription or follow-up."
],
"codes": [
{
"system": "SNOMED-CT",
"code": "390906007",
"display": "Follow-Up Encounter"
}
],
"distributed_transition": [
{
"distribution": 0.33,
Expand Down
8 changes: 0 additions & 8 deletions src/main/resources/modules/mTBI.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,7 @@
},
"Wellness Encounter": {
"type": "Encounter",
"encounter_class": "ambulatory",
"reason": "mTBI",
"codes": [
{
"system": "SNOMED-CT",
"code": 185345009,
"display": "Encounter for symptom (procedure)"
}
],
"direct_transition": "end encounter",
"wellness": true
},
Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/modules/pregnancy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1691,7 +1691,7 @@
},
"Miscarriage_In_Second_Trimester": {
"type": "ConditionOnset",
"target_encounter": "Week_15_Visit",
"target_encounter": "Week_16_Visit",
"codes": [
{
"system": "SNOMED-CT",
Expand Down Expand Up @@ -1800,7 +1800,7 @@
},
"Late_Fetal_Chromosomal_Anomaly": {
"type": "ConditionOnset",
"target_encounter": "Week_15_Visit",
"target_encounter": "Week_16_Visit",
"assign_to_attribute": "fatal_pregnancy_complication",
"remarks": [
"This is a separate state due to the limitation that a ConditionOnset must occur ",
Expand All @@ -1817,7 +1817,7 @@
},
"Uterine_Anomaly": {
"type": "ConditionOnset",
"target_encounter": "Week_15_Visit",
"target_encounter": "Week_16_Visit",
"assign_to_attribute": "fatal_pregnancy_complication",
"codes": [
{
Expand All @@ -1830,7 +1830,7 @@
},
"Unknown_Complication": {
"type": "ConditionOnset",
"target_encounter": "Week_15_Visit",
"target_encounter": "Week_16_Visit",
"assign_to_attribute": "fatal_pregnancy_complication",
"codes": [
{
Expand Down
8 changes: 0 additions & 8 deletions src/main/resources/modules/veteran_hyperlipidemia.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,7 @@
},
"Hyperlipidemia initial workup encounter": {
"type": "Encounter",
"encounter_class": "ambulatory",
"reason": "hyperlipidemia",
"codes": [
{
"system": "SNOMED-CT",
"code": 185345009,
"display": "Encounter for symptom"
}
],
"direct_transition": "Record_LipidPanel",
"wellness": true
},
Expand Down

0 comments on commit fa17e2a

Please sign in to comment.