fix package type
This commit is contained in:
parent
1ac0e90c07
commit
162cf6f049
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue