diff --git a/website/src/assets/pages/vis6-maps-of-health/vis2.vl.json b/website/src/assets/pages/vis6-maps-of-health/vis2.vl.json index 59f5bbed..71bc6b70 100644 --- a/website/src/assets/pages/vis6-maps-of-health/vis2.vl.json +++ b/website/src/assets/pages/vis6-maps-of-health/vis2.vl.json @@ -93,27 +93,27 @@ ] }, { - "calculate": "datum.TIME_FIRST_OD == 253370764800000", - "as": "HAS_FIRST_OD" + "calculate": "datum.OVERDOSES == 0", + "as": "NO_FIRST_OD" }, { - "calculate": "datum.TIME_FIRST_RX == 253370764800000", - "as": "HAS_FIRST_RX" + "calculate": "datum.TOTAL_PRESCRIPTIONS == 0", + "as": "NO_FIRST_RX" }, { - "calculate": "datum.HAS_FIRST_OD ? 'N/A' : year(datetime(datum.TIME_FIRST_OD)) + ' Q' + quarter(datetime(datum.TIME_FIRST_OD))", + "calculate": "datum.NO_FIRST_OD ? 'N/A' : year(datetime(datum.TIME_FIRST_OD)) + ' Q' + quarter(datetime(datum.TIME_FIRST_OD))", "as": "TIME_FIRST_OD_VALUE" }, { - "calculate": "datum.HAS_FIRST_RX ? 'N/A' : year(datetime(datum.TIME_FIRST_RX)) + ' Q' + quarter(datetime(datum.TIME_FIRST_RX))", + "calculate": "datum.NO_FIRST_RX ? 'N/A' : year(datetime(datum.TIME_FIRST_RX)) + ' Q' + quarter(datetime(datum.TIME_FIRST_RX))", "as": "TIME_FIRST_RX_VALUE" }, { - "calculate": "datum.HAS_FIRST_OD ? 'N/A' : -datum.OD_DIFF", + "calculate": "datum.NO_FIRST_OD ? 'N/A' : -datum.OD_DIFF", "as": "OD_DIFF_VALUE" }, { - "calculate": "datum.HAS_FIRST_RX ? 'N/A' : -datum.RX_DIFF", + "calculate": "datum.NO_FIRST_RX ? 'N/A' : -datum.RX_DIFF", "as": "RX_DIFF_VALUE" } ],