Add fhirType() to IBase to bring it in line with what the core structures do
This commit is contained in:
parent
3e95ff3ca0
commit
4f5a2b3c0c
|
@ -56,4 +56,9 @@ public interface IBase extends Serializable {
|
||||||
*/
|
*/
|
||||||
List<String> getFormatCommentsPost();
|
List<String> getFormatCommentsPost();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns the FHIR type name for the given element, e.g. "Patient" or "unsignedInt"
|
||||||
|
*/
|
||||||
|
default String fhirType() { return null; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,7 +20,7 @@ public class TestSubscriptionDstu3Config extends SubscriptionDstu3Config {
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
@Primary
|
@Primary
|
||||||
public ISubscriptionProvider subsriptionProvider() {
|
public ISubscriptionProvider subscriptionProvider() {
|
||||||
return new MockFhirClientSubscriptionProvider();
|
return new MockFhirClientSubscriptionProvider();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue