cqframework / cqf-ruler

FHIR Clinical Reasoning Module Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement the RA $approve operation

rob-reynolds opened this issue · comments

As a CC Coder, I need the MeasureReport/$ra.approve-coding-gaps operation implemented per the spec.

DESCRIPTION:

The Da Vinci Risk Adjustment IG (http://build.fhir.org/ig/HL7/davinci-ra/) has been updated to include the following stages:

  • Report Generation
  • Remediation
  • Resolution

Preconditions:
A valid set of $remediate result(s) exists in the FHIR server.

Implementation:

Image

  • implement the following functionality:

For the subject, Measure Id parameters:

Note: everything from the queried Coding Gap Document is retained, as is, except:

  • new Bundle (document), with new id
  • existing Composition
  • existing DetectedIssues (updated as above)
  • existing bundle entries

ACCEPTANCE CRITERIA:

  • the operation is named MeasureReport/$ra.approve-coding-gaps

  • the API is:
    Image

  • all the Clinical Evaluation type DetectedIssue resources have a status of either final or cancelled

  • Given a the ThunderClient Risk Adjustment Collection.Approve.Config requests have been posted, the corresponding $ra.resolve-coding-gaps request returns a valid Risk Adjustment Coding Gap Document, with the appropriate DetectedIssues status set to final and cancelled.

Pending Rob having a meeting with the RA leads.

Ready to implement.