Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Active Duty Readiness #721

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
325 changes: 325 additions & 0 deletions src/main/resources/modules/injury_poisoning_ad_military_2018.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,325 @@
{
"name": "injury-poisoning_ad-military_2018",
"remarks": [
"This module simulates the annual rate of ambulatory visits due to the major diagnostic category Injury/Poisoning (ICD-10-CM: S00-T98) in 2018 in U.S. Armed Forces [1]. Rates are stratified by age and gender. These grouped ICD-10-CM codes are simulated by the post-coordinated SNOMED CT code [2]: 225888002|:42752001|=417163006, which textual translates to 'Unfit due to traumatic and/or non-traumatic injury (disorder). For up-to-date individual-level data, you may request a Defense Medical Epidemiology Database (DMED) account here:",
"",
"https://www.health.mil/Military-Health-Topics/Combat-Support/Armed-Forces-Health-Surveillance-Branch/Data-Management-and-Technical-Support/Defense-Medical-Epidemiology-Database",
"",
"",
"1) Armed Forces Health Surveillance Branch. Ambulatory Visits, Active Component, U.S. Armed Forces, 2018. MSMR 2019; 26(5): 2-25. Available at: https://health.mil/Reference-Center/Reports/2019/05/01/Medical-Surveillance-Monthly-Report-Volume-26-Number-5.",
"2) SNOMED International. SNOMED CT Starter Guide: SNOMED CT Expressions. Available at: https://confluence.ihtsdotools.org/display/DOCSTART/7.+SNOMED+CT+Expressions.",
"",
""
],
"states": {
"Initial": {
"type": "Initial",
"direct_transition": "Age Guard"
},
"Male": {
"type": "Simple",
"conditional_transition": [
{
"transition": "Male < 20",
"condition": {
"condition_type": "Age",
"operator": "<",
"quantity": 20,
"unit": "years",
"value": 0
}
},
{
"transition": "Male 20-29",
"condition": {
"condition_type": "And",
"conditions": [
{
"condition_type": "Age",
"operator": ">=",
"quantity": 20,
"unit": "years",
"value": 0
},
{
"condition_type": "Age",
"operator": "<=",
"quantity": 29,
"unit": "years",
"value": 0
}
]
}
},
{
"transition": "Male 30-39",
"condition": {
"condition_type": "And",
"conditions": [
{
"condition_type": "Age",
"operator": ">=",
"quantity": 30,
"unit": "years",
"value": 0
},
{
"condition_type": "Age",
"operator": "<=",
"quantity": 39,
"unit": "years",
"value": 0
}
]
}
},
{
"transition": "Male 40+"
}
]
},
"Female": {
"type": "Simple",
"conditional_transition": [
{
"transition": "Female < 20",
"condition": {
"condition_type": "Age",
"operator": "<",
"quantity": 20,
"unit": "years",
"value": 0
}
},
{
"transition": "Female 20-29",
"condition": {
"condition_type": "And",
"conditions": [
{
"condition_type": "Age",
"operator": ">=",
"quantity": 20,
"unit": "years",
"value": 0
},
{
"condition_type": "Age",
"operator": "<=",
"quantity": 29,
"unit": "years",
"value": 0
}
]
}
},
{
"transition": "Female 30-39",
"condition": {
"condition_type": "And",
"conditions": [
{
"condition_type": "Age",
"operator": ">=",
"quantity": 30,
"unit": "years",
"value": 0
},
{
"condition_type": "Age",
"operator": "<=",
"quantity": 39,
"unit": "years",
"value": 0
}
]
}
},
{
"transition": "Female 40+"
}
]
},
"Male < 20": {
"type": "Simple",
"distributed_transition": [
{
"transition": "Start Injury (S00-T98)",
"distribution": 0.58
},
{
"transition": "Annual Wait",
"distribution": 0.42000000000000004
}
]
},
"Male 20-29": {
"type": "Simple",
"distributed_transition": [
{
"transition": "Start Injury (S00-T98)",
"distribution": 0.59
},
{
"transition": "Annual Wait",
"distribution": 0.41000000000000014
}
]
},
"Male 40+": {
"type": "Simple",
"distributed_transition": [
{
"transition": "Annual Wait",
"distribution": 0.45
},
{
"transition": "Start Injury (S00-T98)",
"distribution": 0.55
}
]
},
"Female < 20": {
"type": "Simple",
"distributed_transition": [
{
"transition": "Start Injury (S00-T98)",
"distribution": 0.89
},
{
"transition": "Annual Wait",
"distribution": 0.11
}
]
},
"Female 20-29": {
"type": "Simple",
"distributed_transition": [
{
"transition": "Start Injury (S00-T98)",
"distribution": 0.64
},
{
"transition": "Annual Wait",
"distribution": 0.36
}
]
},
"Female 30-39": {
"type": "Simple",
"distributed_transition": [
{
"transition": "Start Injury (S00-T98)",
"distribution": 0.52
},
{
"transition": "Annual Wait",
"distribution": 0.48
}
]
},
"Female 40+": {
"type": "Simple",
"distributed_transition": [
{
"transition": "Start Injury (S00-T98)",
"distribution": 0.56
},
{
"transition": "Annual Wait",
"distribution": 0.43999999999999995
}
]
},
"Male 30-39": {
"type": "Simple",
"distributed_transition": [
{
"transition": "Start Injury (S00-T98)",
"distribution": 0.5
},
{
"transition": "Annual Wait",
"distribution": 0.5
}
]
},
"Age Guard": {
"type": "Guard",
"allow": {
"condition_type": "Age",
"operator": ">=",
"quantity": 17,
"unit": "years",
"value": 0
},
"direct_transition": "Start"
},
"Start Injury (S00-T98)": {
"type": "ConditionOnset",
"assign_to_attribute": "injury",
"target_encounter": "",
"codes": [
{
"system": "SNOMED-CT",
"code": "225888002|:42752001|=417163006",
"display": "Unfit Due to Traumatic AND/OR non-traumatic injury (disorder)"
}
],
"direct_transition": "Delay"
},
"End Injury (S00-T98)": {
"type": "ConditionEnd",
"direct_transition": "Annual Wait",
"referenced_by_attribute": "injury"
},
"Annual Wait": {
"type": "Delay",
"range": {
"low": 10,
"high": 14,
"unit": "months"
},
"conditional_transition": [
{
"transition": "Terminal",
"condition": {
"condition_type": "Age",
"operator": ">",
"quantity": 65,
"unit": "years"
}
},
{
"transition": "Start"
}
]
},
"Delay": {
"type": "Delay",
"exact": {
"quantity": 14,
"unit": "days"
},
"direct_transition": "End Injury (S00-T98)"
},
"Terminal": {
"type": "Terminal"
},
"Start": {
"type": "Simple",
"conditional_transition": [
{
"transition": "Female",
"condition": {
"condition_type": "Gender",
"gender": "F"
}
},
{
"transition": "Male"
}
]
}
}
}
Loading