fix rulebuilder

This commit is contained in:
Tadgh 2021-09-15 09:04:45 -04:00
parent a0c8cc4279
commit 171f0f8724
2 changed files with 3 additions and 1 deletions

View File

@ -467,6 +467,7 @@ public class FhirResourceDaoR4VersionedReferenceTest extends BaseJpaR4Test {
Patient patient = new Patient();
patient.setId(IdType.newRandomUuid());
patient.addName().setFamily("zoop");
patient.setActive(false);
builder
.addTransactionUpdateEntry(patient)
@ -488,7 +489,7 @@ public class FhirResourceDaoR4VersionedReferenceTest extends BaseJpaR4Test {
assertEquals("1", observationId.getVersionIdPart());
// Make sure we're not introducing any extra DB operations
assertEquals(4, myCaptureQueriesListener.logSelectQueries().size());
assertEquals(5, myCaptureQueriesListener.logSelectQueries().size());
// Read back and verify that reference is now versioned
observation = myObservationDao.read(observationId);

View File

@ -67,6 +67,7 @@ public interface IAuthRuleBuilder {
* and could be shown to the client, but has no semantic meaning within
* HAPI FHIR.
*/
IAuthRuleBuilderRuleOpClassifierFinished allowAll(String theRuleName);
/**
* Build the rule list