diff --git a/README.md b/README.md index f4cf5b59ca..dfd955ccb4 100644 --- a/README.md +++ b/README.md @@ -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]] diff --git a/src/main/resources/modules/space/shuttle_launch.json b/src/main/resources/modules/space/shuttle_launch.json new file mode 100644 index 0000000000..f21750db18 --- /dev/null +++ b/src/main/resources/modules/space/shuttle_launch.json @@ -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 +} \ No newline at end of file