#3738 renamed patient parameter to subject (#4019)

* #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:
alackerbauer 2022-09-14 13:54:24 +02:00 committed by GitHub
parent 6021a09288
commit 8fdfcaa9e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ public class MeasureOperationsProvider {
@OperationParam(name = "periodEnd") String periodEnd, @OperationParam(name = "periodEnd") String periodEnd,
@OperationParam(name = "measure") String measureRef, @OperationParam(name = "measure") String measureRef,
@OperationParam(name = "reportType") String reportType, @OperationParam(name = "reportType") String reportType,
@OperationParam(name = "patient") String patientRef, @OperationParam(name = "subject") String subjectRef,
@OperationParam(name = "productLine") String productLine, @OperationParam(name = "productLine") String productLine,
@OperationParam(name = "practitioner") String practitionerRef, @OperationParam(name = "practitioner") String practitionerRef,
@OperationParam(name = "lastReceivedOn") String lastReceivedOn, @OperationParam(name = "lastReceivedOn") String lastReceivedOn,
@ -104,7 +104,7 @@ public class MeasureOperationsProvider {
if (reportType != null) { if (reportType != null) {
switch (reportType) { switch (reportType) {
case "subject": 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": case "subject-list":
return evaluator.evaluateSubjectListMeasure(seed.getMeasure(), seed.getContext(), practitionerRef, theRequestDetails); return evaluator.evaluateSubjectListMeasure(seed.getMeasure(), seed.getContext(), practitionerRef, theRequestDetails);
case "population": case "population":
@ -115,7 +115,7 @@ public class MeasureOperationsProvider {
} }
// default report type is subject // 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) { if (productLine != null) {
Extension ext = new Extension(); Extension ext = new Extension();