One option for Report Generation is a non-FHIR option that takes a CSV as input and creates a bundle of RA MeasureReports as the result. The spec describing this process has not been written yet so these requirements should be considered the specification.
add the RA MeasureReport as an entry to the Bundle
ACCEPTANCE CRITERIA:
[ ] Given a valid CSV input, the result is a transaction Bundle with a set of valid RA MeasureReport resources
[ ] The count of entries in the Bundle is the count of the distinct rows in the input of periodStart,periodEnd,modelId,modelVersion,patientId values
[ ] The count of group entries in each MeasureReport is the count of the distinct number of ccCode values, per distinct periodStart,periodEnd,modelId,modelVersion,patientId value
[ ] The count of extensions in each distinct group entry is the count of the suspectType,evidenceStatus,evidenceStatusDate,hiearchicalStatus values that are not null, per distinct ccCode, per distinct periodStart,periodEnd,modelId,modelVersion,patientId value
As a Payer, I need non-FHIR option for creating a RA MeasureReport that takes a CSV as input.
DESCRIPTION:
BACKGROUND: The Da Vinci Risk Adjustment IG (http://build.fhir.org/ig/HL7/davinci-ra/) has been updated to include the following stages:
One option for Report Generation is a non-FHIR option that takes a CSV as input and creates a bundle of RA MeasureReports as the result. The spec describing this process has not been written yet so these requirements should be considered the specification.
A stub of this has been implemented at as a non-fhir REST POST operation that takes CSV data: https://github.com/DBCG/cqf-ruler/blob/master/plugin/ra/src/main/java/org/opencds/cqf/ruler/ra/r4/AssistedServlet.java
Preconditions: The CSV data matches the following example:
The above data should create one MeasureReport, with 11 groups. Implementation:
[ ] implement the following functionality:
ACCEPTANCE CRITERIA: