use of org.hl7.fhir.definitions.model.TypeDefn in project kindling by HL7.
the class PageProcessor method produceDataTypeTx.
private String produceDataTypeTx(String dtname) throws Exception {
TypeDefn dt = definitions.getElementDefn(dtname);
ByteArrayOutputStream bs = new ByteArrayOutputStream();
TerminologyNotesGenerator tgen = new TerminologyNotesGenerator(bs, this);
tgen.setNoHeader(true);
tgen.generate("", dt);
tgen.close();
return new String(bs.toByteArray());
}
Aggregations