Graph-Powered Analytics and Machine Learning with TigerGraph by Victor Lee Ph.D

Graph-Powered Analytics and Machine Learning with TigerGraph by Victor Lee Ph.D

Author:Victor Lee Ph.D
Language: eng
Format: epub
Publisher: O'Reilly Media
Published: 2023-07-28T00:00:00+00:00


Start = {input_prescriber}; my_claims = SELECT t FROM Start:s -(<submitted_by:e)- :t POST-ACCUM t.@visited = true; my_patients = SELECT t FROM my_claims:s -(associated>:e)- :t // A Patient may have multiple claims; save each date ACCUM t.@date_list += s.rx_fill_date;

Now we want to find the claims made by other prescribers for these patients. The clause WHERE t.@visited == false in the following code ensures that these other claims are different from the ones we looked at before. We then compare the date of a claim encountered in this step against the dates of claims in the Patient’s @date_list. If the time difference is less than max_days, we mark this new claim as a referral (earlier in the query, we converted max_days to max_seconds):



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Categories