fix package type

This commit is contained in:
Grahame Grieve 2021-11-29 16:08:49 +11:00
parent 1ac0e90c07
commit 162cf6f049
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ public class DicomPackageBuilder {
vs.setId(vs.getId().substring(0, 64));
}
if (ids.contains(vs.getId())) {
throw new Error("Duplicate Id once Ids cut off at 64 char: "+vs.getId());
throw new Error("Duplicate Id (note Ids cut off at 64 char): "+vs.getId());
}
ids.add(vs.getId());
gen.addFile(Category.RESOURCE, "ValueSet-"+vs.getId()+".json", new JsonParser().setOutputStyle(OutputStyle.NORMAL).composeBytes(vs));
@ -113,7 +113,7 @@ public class DicomPackageBuilder {
private JsonObject buildPackage() {
JsonObject npm = new JsonObject();
npm.addProperty("tools-version", 3);
npm.addProperty("type", "fhir.ig");
npm.addProperty("type", "Conformance");
npm.addProperty("license", "free");
npm.addProperty("author", "FHIR Project for DICOM");
npm.addProperty("name", "fhir.dicom");