Class R4CollectDataService
java.lang.Object
org.opencds.cqf.fhir.cr.measure.r4.R4CollectDataService
-
Constructor Summary
ConstructorsConstructorDescriptionR4CollectDataService(org.opencds.cqf.fhir.api.Repository repository, MeasureEvaluationOptions measureEvaluationOptions) -
Method Summary
Modifier and TypeMethodDescriptionorg.hl7.fhir.r4.model.ParameterscollectData(org.hl7.fhir.r4.model.IdType measureId, String periodStart, String periodEnd, String subject, String practitioner) Implements the $collect-data operation found in the FHIR Clinical Reasoning Module.protected voidpopulateEvaluatedResources(org.hl7.fhir.r4.model.MeasureReport measureReport, org.hl7.fhir.r4.model.Parameters parameters, String subject)
-
Constructor Details
-
R4CollectDataService
public R4CollectDataService(org.opencds.cqf.fhir.api.Repository repository, MeasureEvaluationOptions measureEvaluationOptions)
-
-
Method Details
-
collectData
public org.hl7.fhir.r4.model.Parameters collectData(org.hl7.fhir.r4.model.IdType measureId, String periodStart, String periodEnd, String subject, String practitioner) Implements the $collect-data operation found in the FHIR Clinical Reasoning Module.Returns a set of parameters with the generated MeasureReport and the resources that were used during the Measure evaluation
- Parameters:
measureId- the measureId of the Measure to sub data forperiodStart- The start of the reporting periodperiodEnd- The end of the reporting periodsubject- the subject to use for the evaluationpractitioner- the practitioner to use for the evaluation received.- Returns:
- Parameters the parameters containing the MeasureReport and the evaluated Resources
-
populateEvaluatedResources
protected void populateEvaluatedResources(org.hl7.fhir.r4.model.MeasureReport measureReport, org.hl7.fhir.r4.model.Parameters parameters, String subject)
-