get code generator compiling

This commit is contained in:
Grahame Grieve 2021-04-21 17:36:14 +10:00
parent ba18e1c11a
commit b68cf3ea4b
4 changed files with 6 additions and 6 deletions

View File

@ -996,7 +996,7 @@ private void generatePropertyMaker(Analysis analysis, TypeInfo ti, String indent
private List<TypeRefComponent> getTypes(List<TypeRefComponent> types) {
if (types.size() == 1 && types.get(0).getName().equals("*")) {
List<TypeRefComponent> t = new ArrayList<TypeRefComponent>();
for (String s : TypesUtilities.wildcardTypes()) {
for (String s : TypesUtilities.wildcardTypes("5.0")) {
t.add(new TypeRefComponent(s));
}
return t;

View File

@ -13,8 +13,8 @@ import org.hl7.fhir.r5.model.Resource;
import org.hl7.fhir.r5.model.SearchParameter;
import org.hl7.fhir.r5.model.StructureDefinition;
import org.hl7.fhir.r5.model.ValueSet;
import org.hl7.fhir.utilities.cache.NpmPackage;
import org.hl7.fhir.utilities.cache.ToolsVersion;
import org.hl7.fhir.utilities.npm.NpmPackage;
import org.hl7.fhir.utilities.npm.ToolsVersion;
public class DefinitionsLoader {

View File

@ -30,9 +30,9 @@ import org.hl7.fhir.r5.model.SearchParameter;
import org.hl7.fhir.r5.model.StructureDefinition;
import org.hl7.fhir.utilities.TextFile;
import org.hl7.fhir.utilities.Utilities;
import org.hl7.fhir.utilities.cache.FilesystemPackageCacheManager;
import org.hl7.fhir.utilities.cache.NpmPackage;
import org.hl7.fhir.utilities.cache.ToolsVersion;
import org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager;
import org.hl7.fhir.utilities.npm.NpmPackage;
import org.hl7.fhir.utilities.npm.ToolsVersion;
public class JavaCoreGenerator {