This commit is contained in:
Tadgh 2024-09-26 10:43:17 -04:00 committed by GitHub
commit b7a6172eac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -19,6 +19,7 @@ import org.hl7.fhir.r4b.model.CarePlan;
import org.hl7.fhir.r4b.model.CodeableConcept;
import org.hl7.fhir.r4b.model.Condition;
import org.hl7.fhir.r4b.model.DateTimeType;
import org.hl7.fhir.r4b.model.Group;
import org.hl7.fhir.r4b.model.MedicationRequest;
import org.hl7.fhir.r4b.model.Observation;
import org.hl7.fhir.r4b.model.Observation.ObservationComponentComponent;
@ -70,6 +71,14 @@ public class ResourceProviderR4BTest extends BaseResourceProviderR4BTest {
this.myStorageSettings.setSearchPreFetchThresholds(new JpaStorageSettings().getSearchPreFetchThresholds());
}
@Test
public void testConditionalCreateOnEscapedPlus() {
Group group = new Group();
group.setName("FOO BAR");
myClient.create().resource(group).conditionalByUrl("Group?name=FOO+BAR").execute();
}
@Test
public void testSearchWithContainsLowerCase() {
this.myStorageSettings.setAllowContainsSearches(true);