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));
|
vs.setId(vs.getId().substring(0, 64));
|
||||||
}
|
}
|
||||||
if (ids.contains(vs.getId())) {
|
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());
|
ids.add(vs.getId());
|
||||||
gen.addFile(Category.RESOURCE, "ValueSet-"+vs.getId()+".json", new JsonParser().setOutputStyle(OutputStyle.NORMAL).composeBytes(vs));
|
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() {
|
private JsonObject buildPackage() {
|
||||||
JsonObject npm = new JsonObject();
|
JsonObject npm = new JsonObject();
|
||||||
npm.addProperty("tools-version", 3);
|
npm.addProperty("tools-version", 3);
|
||||||
npm.addProperty("type", "fhir.ig");
|
npm.addProperty("type", "Conformance");
|
||||||
npm.addProperty("license", "free");
|
npm.addProperty("license", "free");
|
||||||
npm.addProperty("author", "FHIR Project for DICOM");
|
npm.addProperty("author", "FHIR Project for DICOM");
|
||||||
npm.addProperty("name", "fhir.dicom");
|
npm.addProperty("name", "fhir.dicom");
|
||||||
|
|
Loading…
Reference in New Issue