Skip to content

Ensure most cases of IllegalArgumentException for measures and caregaps are converted to FHIR InvalidRequestException #962

Ensure most cases of IllegalArgumentException for measures and caregaps are converted to FHIR InvalidRequestException

Ensure most cases of IllegalArgumentException for measures and caregaps are converted to FHIR InvalidRequestException #962

GitHub Actions / JUnit Test Report failed Nov 26, 2024 in 0s

1281 tests run, 1262 passed, 14 skipped, 5 failed.

Annotations

Check failure on line 345 in cqf-fhir-cr/src/test/java/org/opencds/cqf/fhir/cr/measure/r4/MeasureDefBuilderTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MeasureDefBuilderTest.noScoring

MeasureScoring must be specified on Group or Measure
Raw output
ca.uhn.fhir.rest.server.exceptions.InvalidRequestException: MeasureScoring must be specified on Group or Measure
	at org.opencds.cqf.fhir.cr.measure.r4.MeasureDefBuilderTest.measureDefBuilder(MeasureDefBuilderTest.java:116)
	at org.opencds.cqf.fhir.cr.measure.r4.MeasureDefBuilderTest.noScoring(MeasureDefBuilderTest.java:345)

Check failure on line 366 in cqf-fhir-cr/src/test/java/org/opencds/cqf/fhir/cr/measure/r4/MeasureDefBuilderTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MeasureDefBuilderTest.invalidGroupScoring

Measure Scoring code: attestation, is not a valid Measure Scoring Type for measure: null.
Raw output
ca.uhn.fhir.rest.server.exceptions.InvalidRequestException: Measure Scoring code: attestation, is not a valid Measure Scoring Type for measure: null.
	at org.opencds.cqf.fhir.cr.measure.r4.MeasureDefBuilderTest.measureDefBuilder(MeasureDefBuilderTest.java:116)
	at org.opencds.cqf.fhir.cr.measure.r4.MeasureDefBuilderTest.invalidGroupScoring(MeasureDefBuilderTest.java:366)

Check failure on line 355 in cqf-fhir-cr/src/test/java/org/opencds/cqf/fhir/cr/measure/r4/MeasureDefBuilderTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MeasureDefBuilderTest.invalidMeasureScoring

Measure Scoring code: attestation, is not a valid Measure Scoring Type for measure: null.
Raw output
ca.uhn.fhir.rest.server.exceptions.InvalidRequestException: Measure Scoring code: attestation, is not a valid Measure Scoring Type for measure: null.
	at org.opencds.cqf.fhir.cr.measure.r4.MeasureDefBuilderTest.measureDefBuilder(MeasureDefBuilderTest.java:116)
	at org.opencds.cqf.fhir.cr.measure.r4.MeasureDefBuilderTest.invalidMeasureScoring(MeasureDefBuilderTest.java:355)

Check failure on line 449 in cqf-fhir-cr/src/test/java/org/opencds/cqf/fhir/cr/measure/r4/MeasureDefBuilderTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MeasureDefBuilderTest.invalidImprovementNotation

ImprovementNotation Coding has invalid System: http://terminology.hl7.org/CodeSystem/measure-improvement-notation, code: fake, combination for Measure: null
Raw output
ca.uhn.fhir.rest.server.exceptions.InvalidRequestException: ImprovementNotation Coding has invalid System: http://terminology.hl7.org/CodeSystem/measure-improvement-notation, code: fake, combination for Measure: null
	at org.opencds.cqf.fhir.cr.measure.r4.MeasureDefBuilderTest.measureDefBuilder(MeasureDefBuilderTest.java:116)
	at org.opencds.cqf.fhir.cr.measure.r4.MeasureDefBuilderTest.invalidImprovementNotation(MeasureDefBuilderTest.java:449)

Check failure on line 263 in cqf-fhir-cr/src/test/java/org/opencds/cqf/fhir/cr/measure/r4/MeasureProcessorEvaluateTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MeasureProcessorEvaluateTest.measure_eval_group_measurescorer_invalidMeasureScore

expected: <MeasureScoring must be specified on Group or Measure for Measure: https://madie.cms.gov/Measure/DischargedonAntithromboticTherapyFHIR> but was: <MeasureScoring must be specified on Group or Measure>
Raw output
org.opentest4j.AssertionFailedError: expected: <MeasureScoring must be specified on Group or Measure for Measure: https://madie.cms.gov/Measure/DischargedonAntithromboticTherapyFHIR> but was: <MeasureScoring must be specified on Group or Measure>
	at org.opencds.cqf.fhir.cr.measure.r4.MeasureProcessorEvaluateTest.measure_eval_group_measurescorer_invalidMeasureScore(MeasureProcessorEvaluateTest.java:263)