Chinaunix首页 | 论坛 | 博客
  • 博客访问: 198790
  • 博文数量: 91
  • 博客积分: 3428
  • 博客等级: 中校
  • 技术积分: 902
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-21 13:41
文章分类

全部博文(91)

文章存档

2012年(2)

2011年(25)

2010年(64)

分类:

2010-12-03 16:27:24

两篇介绍的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>

这样 就可以得到下面的截图
阅读(563) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~