add evaluate measure to smile using the ProviderConstants definition of evaluate-measure (#2341)
* Make the dstu3 and r4 MeasureOperationProvider classes use the ProviderConstants definition for evaluate-measure.
This commit is contained in:
parent
ca28a4fe6c
commit
c46330f54b
|
@ -31,6 +31,7 @@ import ca.uhn.fhir.rest.annotation.IdParam;
|
|||
import ca.uhn.fhir.rest.annotation.Operation;
|
||||
import ca.uhn.fhir.rest.annotation.OperationParam;
|
||||
import ca.uhn.fhir.rest.server.exceptions.InternalErrorException;
|
||||
import ca.uhn.fhir.rest.server.provider.ProviderConstants;
|
||||
import org.hl7.fhir.dstu3.model.Extension;
|
||||
import org.hl7.fhir.dstu3.model.IdType;
|
||||
import org.hl7.fhir.dstu3.model.Library;
|
||||
|
@ -72,7 +73,7 @@ public class MeasureOperationsProvider {
|
|||
* for the FHIR $evaluate-measure operation
|
||||
*
|
||||
*/
|
||||
@Operation(name = "$evaluate-measure", idempotent = true, type = Measure.class)
|
||||
@Operation(name = ProviderConstants.CQL_EVALUATE_MEASURE, idempotent = true, type = Measure.class)
|
||||
public MeasureReport evaluateMeasure(@IdParam IdType theId,
|
||||
@OperationParam(name = "periodStart") String periodStart,
|
||||
@OperationParam(name = "periodEnd") String periodEnd,
|
||||
|
|
|
@ -31,6 +31,7 @@ import ca.uhn.fhir.rest.annotation.IdParam;
|
|||
import ca.uhn.fhir.rest.annotation.Operation;
|
||||
import ca.uhn.fhir.rest.annotation.OperationParam;
|
||||
import ca.uhn.fhir.rest.server.exceptions.InternalErrorException;
|
||||
import ca.uhn.fhir.rest.server.provider.ProviderConstants;
|
||||
import org.hl7.fhir.exceptions.FHIRException;
|
||||
import org.hl7.fhir.r4.model.Extension;
|
||||
import org.hl7.fhir.r4.model.IdType;
|
||||
|
@ -69,7 +70,7 @@ public class MeasureOperationsProvider {
|
|||
* for the FHIR $evaluate-measure operation
|
||||
*
|
||||
*/
|
||||
@Operation(name = "$evaluate-measure", idempotent = true, type = Measure.class)
|
||||
@Operation(name = ProviderConstants.CQL_EVALUATE_MEASURE, idempotent = true, type = Measure.class)
|
||||
public MeasureReport evaluateMeasure(@IdParam IdType theId,
|
||||
@OperationParam(name = "periodStart") String periodStart,
|
||||
@OperationParam(name = "periodEnd") String periodEnd,
|
||||
|
|
Loading…
Reference in New Issue