When running r4 evaluate-measure operation while specifying "practitioner" parameter with an individual practitioner.id reference, evaluate measure is incorrectly updating resource type in front of the passed parameter, which causes getSubject logic to set it as a patient resource instead of practitioner.
When running r4 evaluate-measure operation while specifying "practitioner" parameter with an individual practitioner.id reference, evaluate measure is incorrectly updating resource type in front of the passed parameter, which causes getSubject logic to set it as a patient resource instead of practitioner.
This needs to be fixed here: https://github.com/cqframework/clinical-reasoning/blob/b23535668314f1349ca99bd0881fe770b72f62c9/cqf-fhir-cr/src/main/java/org/opencds/cqf/fhir/cr/measure/r4/R4MeasureService.java#L72
Steps:
Solution: replace subject setting with practitioner, where "Practitioner/" gets concatenated