diff --git a/hapi-fhir-testpage-overlay/src/test/java/ca/uhn/fhir/jpa/test/OverlayTestApp.java b/hapi-fhir-testpage-overlay/src/test/java/ca/uhn/fhir/jpa/test/OverlayTestApp.java index 851cb24df9f..fd101ff6afd 100644 --- a/hapi-fhir-testpage-overlay/src/test/java/ca/uhn/fhir/jpa/test/OverlayTestApp.java +++ b/hapi-fhir-testpage-overlay/src/test/java/ca/uhn/fhir/jpa/test/OverlayTestApp.java @@ -121,7 +121,7 @@ public class OverlayTestApp { Organization o1 = new Organization(); o1.getName().setValue("Some Org"); MethodOutcome create = client.create(o1); - IdDt orgId = create.getId(); + IdDt orgId = (IdDt) create.getId(); Patient p1 = new Patient(); p1.addIdentifier("foo:bar", "12345");