One more test data creator
This commit is contained in:
parent
064e4f5e15
commit
3b8b3685f1
hapi-fhir-test-utilities/src/main/java/ca/uhn/fhir/test/utilities
|
@ -185,7 +185,7 @@ public interface ITestDataBuilder {
|
||||||
reference.setReference(theHasMember.getValue());
|
reference.setReference(theHasMember.getValue());
|
||||||
|
|
||||||
RuntimeResourceDefinition resourceDef = getFhirContext().getResourceDefinition(t.getClass());
|
RuntimeResourceDefinition resourceDef = getFhirContext().getResourceDefinition(t.getClass());
|
||||||
resourceDef.getChildByName("organization").getMutator().addValue(t, reference);
|
resourceDef.getChildByName("managingOrganization").getMutator().addValue(t, reference);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue