fix dicom package builder - add dependency

This commit is contained in:
Grahame Grieve 2021-11-05 17:05:40 +11:00
parent 27852389d6
commit 5dcb4e3e37
1 changed files with 4 additions and 1 deletions

View File

@ -122,7 +122,10 @@ public class DicomPackageBuilder {
npm.addProperty("version", version); npm.addProperty("version", version);
JsonArray fv = new JsonArray(); JsonArray fv = new JsonArray();
npm.add("fhirVersions", fv); npm.add("fhirVersions", fv);
fv.add("4.0"); fv.add("4.0.1");
JsonObject dep = new JsonObject();
npm.add("dependencies", dep);
dep.addProperty("hl7.fhir.r4.core", "4.0.1");
return npm; return npm;
} }