eggbird
software development and
knowledge engineering

Mail

ClaM - A Classification Manager

Postprocessing ICD-10 in Open Office for publication

Our present XSL transform from ClaM to printed PDF format using Open Office Writer (OOW) is not yet perfect. There may be different causes/reasons why behaviour is not as expected. Below we describe the problems and how to fix those. At the moment of writing we have not yet run through all of ICD, so more issues may be published here over time. Hopefully some others will be solved as well. So watch this space.

WARNING: The ICD10.ott has been carefully designed. For example the paragraph style have been designed in such a way that no class will break at the end of a page. So do not make changes unless you completely understand why the formatting has been done as it is. We do welcome suggetions for improvements of course.

Page headers

In OOW we have defined the styles that must be applied to certain elements. We have a problem with the Chapter style. Chapter is assigned properly to the chapter level, but one of the characteristics of the chapter style that we designed is that it has numbering style 'Numbering 1'. At import this latter style is not applied to the chapters. To fix this you have to scroll through all 22 chapter paragraphs and reapply the chapter style manualy. Thuis is important to do, because the left and right page header are automatically derived from this chapter formatting.

Table in class H54.7

We have rendered the table in this class as a basic table, but because it has a very special layout, and the fact that it is the only real table in ICD10 we left the fine editing to be done in OOW. Below is an image of how the table should be formatted.

Cross references

There are many cross references within ICD10, which refer to a specific page. The ClaML representation has not a notion of page numbers. There are two appraoches possible: 1) Instead of referring to a specific page one could decide to refer to a code instead. 2) Leave the referal to explicit page numbers and do a global replace of those numbers with the numbers you get in your specific printed format. The advantage of solution 1, that it has to be done only once. The drawback is that you deviate from WHO practice.