Recalculate Patient Risk Scores as Needed

Recalculate Medicare and Medicaid patient risk scores in Health Cloud as needed with a batch Apex job.

Available in: Lightning Experience

Available in: Enterprise and Unlimited Editions with Health Cloud


User Permissions Needed
To execute Apex classes: Author Apex
To invoke the class: Author Apex AND View All Data

Invoke the HcCMSRiskScoringScheduledJob class in your Apex job.

  1. Open the Developer Console.
  2. Select Debug | Open Execute Anonymous Window.
  3. In the Enter Apex Code window, enter this text.
    HealthcloudGA.HcCMSRiskScoringScheduledJob s = new HealthcloudGA.HcCMSRiskScoringScheduledJob (year); s.execute(null);
    • Enter the year as a four-digit number, for example, 2017.
    • The batch size is optional. If you don’t specify a batch size, the job processes up to 200 records.
    • Optionally, set a value to ignore the recalculate flag and run the algorithm for all active patients.
  4. Click Execute.