两篇介绍的blog 来自Keith Boone
感兴趣的同学都可以了解 参与一下,
我遇到的问题:
1、自己写的patientinfo和IBM的出生证明的xml文件都不能正常显示格式,原因待研究。
问题1的解决:仔细看了看wiki网站上的说明,发现有一条我没有按照上面说明来做,即就是在body部分的第一个section的必须包含一个而且其内容必须如下所示:
<observationMedia classCode="OBS" moodCode="EVN">
<value mediaType="text/css" representation="TXT" xml :id='css'>
// THIS IS STILL VERY MUCH DRAFT
paragraph, addr, text { display : block; }
ClinicalDocument { display : block; }
#css { display : none; }
entry { display : none; }
name { display : block; }
section>text { display : block; }
table { display : block; /* table; */border-spacing : 2px; }
tr { display : block; /* table-row;*/ vertical-align : inherit }
thead { display : block; /* table-header-group; */ vertical-align : middle }
tbody { display : block; /* table-row-group; */ vertical-align : middle }
tfoot { display : block; /* table-footer-group; */ vertical-align : middle }
col { display : table-column; }
colgroup { display : table-column-group; }
td { display : inline-block; /* table-cell; */ vertical-align : inherit; }
th { display : inline-block; /* table-cell; */ font-weight : bolder; text-align : center; vertical-align : inherit }
table>caption { display : block; /* table-caption; */ text-align : center; }
structuredBody { margin : 8px; display : block; }
ClinicalDocument>title { font-size : 2em; margin : .67em 0 }
structuredBody>component>section>title { font-size : 1.5em; margin : .75em 0; }
structuredBody>component>section>component>section>title { font-size : 1.17em; margin : .83em 0 }
structuredBody>component>section>component>section>component>section title { margin : 1.12em 0 }
structuredBody>component>section>component>section>component>section>component>section>title { font-size : .83em; margin : 1.5em 0 }
structuredBody>component>section>component>section>component>section>component>section>component>section>title { font-size : .75em; margin : 1.67em 0 }
title { padding-top : 10px; font-weight : bolder; display : block; }
addr { font-style : italic }
sub { font-size : .83em; vertical-align : sub }
sup { font-size : .83em; vertical-align : super }
list { margin : 1.12em 0; margin-left : 40px; display : block; }
list [listType="ordered"] { margin : 1.12em 0; margin-left : 40px; display : block; list-style-type : decimal; }
list [listType="unordered"] { margin : 1.12em 0; margin-left : 40px; display : block; list-style-type : decimal; }
item { display : list-item; }
list>list { margin-top : 0; margin-bottom : 0 }
br :before { content : "\A"; white-space : pre-line }
streetAddressLine :before,
city :before
country :before { content : "\A"; white-space : pre-line }
center { text-align : center }
:link, :visited { text-decoration : underline }
:focus { outline : thin dotted invert }
</value>
</observationMedia>
|
这样 就可以得到下面的截图
阅读(641) | 评论(0) | 转发(0) |