diff --git a/api/src/main/java/org/openmrs/module/clientregistry/providers/r4/FhirCRPatientResourceProvider.java b/api/src/main/java/org/openmrs/module/clientregistry/providers/r4/FhirCRPatientResourceProvider.java index 7460570..206e9d2 100644 --- a/api/src/main/java/org/openmrs/module/clientregistry/providers/r4/FhirCRPatientResourceProvider.java +++ b/api/src/main/java/org/openmrs/module/clientregistry/providers/r4/FhirCRPatientResourceProvider.java @@ -1,7 +1,6 @@ package org.openmrs.module.clientregistry.providers.r4; import ca.uhn.fhir.model.valueset.BundleTypeEnum; -import ca.uhn.fhir.rest.annotation.Search; import ca.uhn.fhir.rest.param.StringParam; import ca.uhn.fhir.rest.param.StringOrListParam; import ca.uhn.fhir.rest.param.TokenParam; @@ -91,7 +90,7 @@ public List getCRPatientById( return patients; } - @Search + @Operation(name = "$search", idempotent = true) public List searchClientRegistryPatients() { throw new NotImplementedOperationException("search client registry is not yet implemented"); }