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

Space Health Module #1054

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
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,14 @@ Generating the population one at a time...
```

Command-line arguments may be provided to specify a state, city, population size, or seed for randomization.

```
run_synthea [-s seed] [-p populationSize] [state [city]]
```

Full usage info can be printed by passing the `-h` option.
```
$ ./run_synthea -h
$ ./run_synthea -h

> Task :run
Usage: run_synthea [options] [state [city]]
Expand Down
48 changes: 48 additions & 0 deletions src/main/resources/modules/space/shuttle_launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "Vehicle Launch",
"remarks": [
"This module simulates a space craft shuttle accident.",
"Source: https://en.wikipedia.org/wiki/List_of_spaceflight-related_accidents_and_incidents",
"Source: https://en.wikipedia.org/wiki/List_of_space_travelers_by_name",
"Space Travel Participants: 601; Deaths: 31"
],
"states": {
"Initial": {
"type": "Initial",
"direct_transition": "Launch"
},
"Launch": {
"type": "Encounter",
"wellness": true,
"distributed_transition": [
{
"distribution": 0.05,
"transition": "Accident"
},
{
"distribution": 0.95,
"transition": "End_Launch"
}
]
},
"Accident": {
"type": "Procedure",
"codes": [
{
"system": "SNOMED-CT",
"code": "418161006",
"display": "Vehicle accident (event)"
}
],
"remarks": [
"Shuttle accident"
],
"direct_transition": "End_Launch"
},
"End_Launch": {
"type": "Terminal",
"name": "Terminal"
}
},
"gmf_version": 1
}