Skip to content

Custom Module execution #1120

Answered by jawalonoski
andromedatsa asked this question in Q&A
Discussion options

You must be logged in to vote

Table-based lookup transitions are documented here: https://github.com/synthetichealth/synthea/wiki/Generic-Module-Framework%3A-Transitions#table

You can see examples of it in use in the AML, COVID, and HIV modules.

For example, from the acute_myeloid_leukemia.json module:

    "Determine_Levofloxacin_Prophylaxis": {
      "type": "Simple",
      "lookup_table_transition": [
        {
          "transition": "Levofloxacin",
          "default_probability": 0.2638,
          "lookup_table_name": "AML.csv"
        },
        {
          "transition": "No_Levofloxacin_Prophylaxis",
          "default_probability": 0.7362,
          "lookup_table_name": "AML.csv"
        }
      ]
    },

The A…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andromedatsa
Comment options

Answer selected by andromedatsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants