* #3738 renamed patient parameter to subject to be R4 compliant * #3738 removed accidental STU3 rename Co-authored-by: Anna <anna@MacBook-Pro.local>
This commit is contained in:
parent
6021a09288
commit
8fdfcaa9e6
|
@ -78,7 +78,7 @@ public class MeasureOperationsProvider {
|
|||
@OperationParam(name = "periodEnd") String periodEnd,
|
||||
@OperationParam(name = "measure") String measureRef,
|
||||
@OperationParam(name = "reportType") String reportType,
|
||||
@OperationParam(name = "patient") String patientRef,
|
||||
@OperationParam(name = "subject") String subjectRef,
|
||||
@OperationParam(name = "productLine") String productLine,
|
||||
@OperationParam(name = "practitioner") String practitionerRef,
|
||||
@OperationParam(name = "lastReceivedOn") String lastReceivedOn,
|
||||
|
@ -104,7 +104,7 @@ public class MeasureOperationsProvider {
|
|||
if (reportType != null) {
|
||||
switch (reportType) {
|
||||
case "subject":
|
||||
return evaluator.evaluatePatientMeasure(seed.getMeasure(), seed.getContext(), patientRef, practitionerRef, theRequestDetails);
|
||||
return evaluator.evaluatePatientMeasure(seed.getMeasure(), seed.getContext(), subjectRef, practitionerRef, theRequestDetails);
|
||||
case "subject-list":
|
||||
return evaluator.evaluateSubjectListMeasure(seed.getMeasure(), seed.getContext(), practitionerRef, theRequestDetails);
|
||||
case "population":
|
||||
|
@ -115,7 +115,7 @@ public class MeasureOperationsProvider {
|
|||
}
|
||||
|
||||
// default report type is subject
|
||||
MeasureReport report = evaluator.evaluatePatientMeasure(seed.getMeasure(), seed.getContext(), patientRef, practitionerRef, theRequestDetails);
|
||||
MeasureReport report = evaluator.evaluatePatientMeasure(seed.getMeasure(), seed.getContext(), subjectRef, practitionerRef, theRequestDetails);
|
||||
|
||||
if (productLine != null) {
|
||||
Extension ext = new Extension();
|
||||
|
|
Loading…
Reference in New Issue