Remove test code that accudentally got committed

This commit is contained in:
James Agnew 2020-01-06 14:26:30 -05:00
parent 23ca94d3c5
commit 49ed374d2f
1 changed files with 0 additions and 27 deletions

View File

@ -1,27 +0,0 @@
package ca.uhn.fhir.jpa.term;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.interceptor.api.Hook;
import ca.uhn.fhir.interceptor.api.Interceptor;
import ca.uhn.fhir.interceptor.api.Pointcut;
import ca.uhn.fhir.rest.client.api.IGenericClient;
import org.springframework.beans.factory.annotation.Autowired;
@Interceptor
public class ParserConfigInterceptor {
@Autowired
private FhirContext myContext;
@Hook(Pointcut.INTERCEPTOR_REGISTERED)
public void start() {
myContext.getParserOptions().setStripVersionsFromReferences(false);
IGenericClient client = FhirContext.forR4().newRestfulGenericClient("aa");
client.read().resource("Patient").withIdAndVersion("100", "25").execute();
}
}