Chapter 3#
Show code cell source
import networkx as nx
import matplotlib.pyplot as plt
# Creating a simplified directed acyclic graph (DAG) based on the clarified structure
G_simplified_dag = nx.DiGraph()
# Adding nodes
nodes_simplified = [
"Economic & Environmental Inequity",
"Racial & Ethnic Inequity",
"Chronic Disability Inequity",
"Access to Pediatric Rehabilitation",
"Outcomes from Pediatric Rehabilitation",
"Rehabilitation Service Utilization and Provision",
"Decreased high quality care",
"Decreased functional ability",
"Increased morbidity"
]
# Adding edges based on the clarified structure
edges_simplified = [
("Economic & Environmental Inequity", "Access to Pediatric Rehabilitation"),
("Racial & Ethnic Inequity", "Access to Pediatric Rehabilitation"),
("Chronic Disability Inequity", "Access to Pediatric Rehabilitation"),
("Access to Pediatric Rehabilitation", "Outcomes from Pediatric Rehabilitation"),
("Outcomes from Pediatric Rehabilitation", "Rehabilitation Service Utilization and Provision"),
("Rehabilitation Service Utilization and Provision", "Decreased high quality care"),
("Rehabilitation Service Utilization and Provision", "Decreased functional ability"),
("Rehabilitation Service Utilization and Provision", "Increased morbidity")
]
# Adding the nodes and edges to the new simplified DAG
G_simplified_dag.add_nodes_from(nodes_simplified)
G_simplified_dag.add_edges_from(edges_simplified)
# Plotting the simplified DAG
plt.figure(figsize=(12, 12))
pos_simplified = nx.spring_layout(G_simplified_dag, seed=343)
nx.draw(G_simplified_dag, pos=pos_simplified, with_labels=True, node_color="lightblue", node_size=3000, edge_color="black", linewidths=1, font_size=10, font_weight="bold", arrows=True)
plt.title("Simplified DAG: Pediatric Rehabilitation Inequity Flow")
plt.show()
Pediatric Rehabilitation Inequity Flow#
Key Factors#
Economic & Environmental Inequity
Racial & Ethnic Inequity
Chronic Disability Inequity
These contribute to limited access to pediatric rehabilitation services, resulting in:
Access to Pediatric Rehabilitation#
Decreased availability of service providers
Longer wait times to initiation of service
Decreased referral despite higher injury severity
Outcomes from Pediatric Rehabilitation#
Decreased motor and cognitive scores at discharge
Lower quality of life
Higher likelihood of functional deficit post injury
Rehabilitation Service Utilization & Provision#
Decreased utilization of mental health services
Decreased acute rehabilitation provision
Increased utilization of educational services and tools post injury
Final Consequences:#
Decreased high quality care
Decreased functional ability
Increased morbidity
Show code cell source
import networkx as nx
import matplotlib.pyplot as plt
# Creating a simplified directed acyclic graph (DAG) based on the clarified structure
G_simplified_dag = nx.DiGraph()
# Adding nodes
nodes_simplified = [
"Allegory",
"Type",
"Games",
"Archetype",
"Stereotype",
"Prototype",
"Comical",
"Tragical",
"Historical"
]
# Adding edges based on the clarified structure
edges_simplified = [
("Allegory", "Archetype"),
("Type", "Archetype"),
("Games", "Archetype"),
("Archetype", "Stereotype"),
("Stereotype", "Prototype"),
("Prototype", "Comical"),
("Prototype", "Tragical"),
("Prototype", "Historical")
]
# Adding the nodes and edges to the new simplified DAG
G_simplified_dag.add_nodes_from(nodes_simplified)
G_simplified_dag.add_edges_from(edges_simplified)
# Plotting the simplified DAG
plt.figure(figsize=(12, 12))
pos_simplified = nx.spring_layout(G_simplified_dag, seed=343)
nx.draw(G_simplified_dag, pos=pos_simplified, with_labels=True, node_color="lightblue", node_size=3000, edge_color="black", linewidths=1, font_size=10, font_weight="bold", arrows=True)
plt.title("Simplified DAG: Pediatric Rehabilitation Inequity Flow")
plt.show()