diff --git a/template/core/versions/interface_version_type_map.php b/template/core/versions/interface_version_type_map.php index 50100c01..f1dc0a6e 100644 --- a/template/core/versions/interface_version_type_map.php +++ b/template/core/versions/interface_version_type_map.php @@ -16,9 +16,17 @@ * limitations under the License. */ +use DCarbone\PHPFHIR\Utilities\ImportUtils; + /** @var \DCarbone\PHPFHIR\Config $config */ /** @var \DCarbone\PHPFHIR\CoreFile $coreFile */ +$imports = $coreFile->getImports(); + +$imports->addCoreFileImportsByName( + PHPFHIR_INTERFACE_TYPE +); + $coreFiles = $config->getCoreFiles(); $typeInterface = $coreFiles->getCoreFileByEntityName(PHPFHIR_INTERFACE_TYPE); @@ -30,6 +38,8 @@ getBasePHPFHIRCopyrightComment(true); ?> + + interface {