diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/NPMPackageGenerator.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/NPMPackageGenerator.java index 906151e44..d7212d7b7 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/NPMPackageGenerator.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/NPMPackageGenerator.java @@ -258,7 +258,11 @@ public class NPMPackageGenerator { packageManifest = new JsonObject(); packageManifest.addProperty("version", ig.getVersion()); - packageManifest.addProperty("fhirVersion", fhirVersion.toString()); + JsonArray fv = new JsonArray(); + for (String v : fhirVersion) { + fv.add(v); + } + packageManifest.add("fhirVersion", fv); packageManifest.addProperty("date", dt); packageManifest.addProperty("name", ig.getPackageId());