Add fhirType() to IBase to bring it in line with what the core structures do

This commit is contained in:
James Agnew 2019-08-09 09:42:26 -04:00
parent 3e95ff3ca0
commit 4f5a2b3c0c
2 changed files with 6 additions and 1 deletions

View File

@ -56,4 +56,9 @@ public interface IBase extends Serializable {
*/
List<String> getFormatCommentsPost();
/**
* Returns the FHIR type name for the given element, e.g. "Patient" or "unsignedInt"
*/
default String fhirType() { return null; }
}

View File

@ -20,7 +20,7 @@ public class TestSubscriptionDstu3Config extends SubscriptionDstu3Config {
@Bean
@Primary
public ISubscriptionProvider subsriptionProvider() {
public ISubscriptionProvider subscriptionProvider() {
return new MockFhirClientSubscriptionProvider();
}