Skip to content

Commit

Permalink
Bumped version of core to 6.5.13, fixed label of message
Browse files Browse the repository at this point in the history
  • Loading branch information
madduci committed Mar 4, 2025
1 parent c5fa0ec commit b20f608
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public ValueSet resolveValueSet(FHIRPathEngine engine, Object appContext, String

@Override
public boolean paramIsType(String name, int index) {
return true;
return false;
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,11 @@ public void testCrossResourceBoundaries() throws FHIRException {

List<Base> value;


value = ourCtx.newFhirPath().evaluate(o, "Observation.specimen", Base.class);
assertThat(value).hasSize(1);
value = ourCtx.newFhirPath().evaluate(o, "Observation.specimen.resolve()", Base.class);
assertThat(value).hasSize(1);


value = ourCtx.newFhirPath().evaluate(o, "Observation.specimen.resolve().receivedTime", Base.class);
assertThat(value).hasSize(1);
assertEquals("2011-01-01", ((DateTimeType) value.get(0)).getValueAsString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ public void testSliceValidation() throws IOException {
assertThat(oo.getIssue()).hasSize(1);
assertEquals(OperationOutcome.IssueType.PROCESSING, oo.getIssue().get(0).getCode());
assertEquals(OperationOutcome.IssueSeverity.INFORMATION, oo.getIssue().get(0).getSeverity());
assertEquals("Details for Patient/A matching against profile http://hl7.org/fhir/StructureDefinition/Patient|4.0.1 - Observation.subject->Patient.text: Narrative.div: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Narrative|4.0.1)", oo.getIssue().get(0).getDiagnostics());
assertEquals("Details for Patient/A matching against profile http://hl7.org/fhir/StructureDefinition/Patient|4.0.1 - Observation.subject.resolve().ofType(Patient).text: Narrative.div: minimum required = 1, but only found 0 (from http://hl7.org/fhir/StructureDefinition/Narrative|4.0.1)", oo.getIssue().get(0).getDiagnostics());
assertThat(oo.getIssue().get(0).getLocation().stream().map(PrimitiveType::getValue).collect(Collectors.toList())).containsExactly("Observation.subject", "Line[1] Col[238]");
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@
</licenses>

<properties>
<fhir_core_version>6.5.11</fhir_core_version>
<fhir_core_version>6.5.13</fhir_core_version>
<spotless_version>2.41.1</spotless_version>
<surefire_jvm_args>-Dfile.encoding=UTF-8 -Xmx2048m</surefire_jvm_args>
<surefire_version>3.5.2</surefire_version>
Expand Down

0 comments on commit b20f608

Please sign in to comment.