"Fossies" - the Fresh Open Source Software Archive

Member "cda10.xsd" (15 Oct 2001, 79106 Bytes) of package /linux/privat/old/dtd2xs154.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0"?>
    2 
    3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    4   <xs:simpleType name="null.code.set">
    5     <xs:restriction base="xs:string">
    6       <xs:enumeration value="NI" />
    7       <xs:enumeration value="NA" />
    8       <xs:enumeration value="UNK" />
    9       <xs:enumeration value="NASK" />
   10       <xs:enumeration value="ASKU" />
   11       <xs:enumeration value="NAV" />
   12       <xs:enumeration value="OTH" />
   13       <xs:enumeration value="PINF" />
   14       <xs:enumeration value="NINF" />
   15     </xs:restriction>
   16   </xs:simpleType>
   17   <xs:simpleType name="boolean.code.set">
   18     <xs:restriction base="xs:string">
   19       <xs:enumeration value="true" />
   20       <xs:enumeration value="false" />
   21     </xs:restriction>
   22   </xs:simpleType>
   23   <xs:simpleType name="Character">
   24     <xs:restriction base="CDATA" />
   25   </xs:simpleType>
   26   <xs:simpleType name="Length">
   27     <xs:restriction base="CDATA" />
   28   </xs:simpleType>
   29   <xs:simpleType name="MultiLength">
   30     <xs:restriction base="CDATA" />
   31   </xs:simpleType>
   32   <xs:simpleType name="Number">
   33     <xs:restriction base="CDATA" />
   34   </xs:simpleType>
   35   <xs:simpleType name="Pixels">
   36     <xs:restriction base="CDATA" />
   37   </xs:simpleType>
   38   <xs:simpleType name="Text">
   39     <xs:restriction base="CDATA" />
   40   </xs:simpleType>
   41   <xs:simpleType name="TFrame">
   42     <xs:restriction base="xs:string">
   43       <xs:enumeration value="void" />
   44       <xs:enumeration value="above" />
   45       <xs:enumeration value="below" />
   46       <xs:enumeration value="hsides" />
   47       <xs:enumeration value="lhs" />
   48       <xs:enumeration value="rhs" />
   49       <xs:enumeration value="vsides" />
   50       <xs:enumeration value="box" />
   51       <xs:enumeration value="border" />
   52     </xs:restriction>
   53   </xs:simpleType>
   54   <xs:simpleType name="TRules">
   55     <xs:restriction base="xs:string">
   56       <xs:enumeration value="none" />
   57       <xs:enumeration value="groups" />
   58       <xs:enumeration value="rows" />
   59       <xs:enumeration value="cols" />
   60       <xs:enumeration value="all" />
   61     </xs:restriction>
   62   </xs:simpleType>
   63   <xs:simpleType name="Scope">
   64     <xs:restriction base="xs:string">
   65       <xs:enumeration value="row" />
   66       <xs:enumeration value="col" />
   67       <xs:enumeration value="rowgroup" />
   68       <xs:enumeration value="colgroup" />
   69     </xs:restriction>
   70   </xs:simpleType>
   71   <xs:group name="CD-cont.model">
   72     <xs:sequence>
   73       <xs:element minOccurs="0" maxOccurs="unbounded" ref="TRANSLTN" />
   74       <xs:element minOccurs="0" ref="ORIGTXT" />
   75       <xs:element minOccurs="0" maxOccurs="unbounded" ref="MODIFIER" />
   76       <xs:element minOccurs="0" ref="NOTE" />
   77       <xs:element minOccurs="0" ref="CONFID" />
   78     </xs:sequence>
   79   </xs:group>
   80   <xs:group name="CR-cont.model">
   81     <xs:sequence>
   82       <xs:element minOccurs="0" ref="NAME" />
   83       <xs:group ref="CD-cont.model" />
   84     </xs:sequence>
   85   </xs:group>
   86   <xs:group name="CS-cont.model">
   87     <xs:sequence>
   88       <xs:element minOccurs="0" ref="NOTE" />
   89       <xs:element minOccurs="0" ref="CONFID" />
   90     </xs:sequence>
   91   </xs:group>
   92   <xs:group name="CV-cont.model">
   93     <xs:sequence>
   94       <xs:element minOccurs="0" ref="ORIGTXT" />
   95       <xs:element minOccurs="0" ref="NOTE" />
   96       <xs:element minOccurs="0" ref="CONFID" />
   97     </xs:sequence>
   98   </xs:group>
   99   <xs:group name="CE-cont.model">
  100     <xs:sequence>
  101       <xs:element minOccurs="0" ref="ORIGTXT" />
  102       <xs:element minOccurs="0" maxOccurs="unbounded" ref="TRANSLTN" />
  103       <xs:element minOccurs="0" ref="NOTE" />
  104       <xs:element minOccurs="0" ref="CONFID" />
  105     </xs:sequence>
  106   </xs:group>
  107   <xs:group name="II-cont.model">
  108     <xs:sequence>
  109       <xs:element minOccurs="0" ref="TYPE" />
  110       <xs:element minOccurs="0" ref="NOTE" />
  111       <xs:element minOccurs="0" ref="CONFID" />
  112     </xs:sequence>
  113   </xs:group>
  114   <xs:group name="TEL-cont.model">
  115     <xs:sequence>
  116       <xs:element minOccurs="0" ref="NOTE" />
  117       <xs:element minOccurs="0" ref="CONFID" />
  118     </xs:sequence>
  119   </xs:group>
  120   <xs:group name="ADXP-cont.model">
  121     <xs:sequence>
  122       <xs:element minOccurs="0" ref="NOTE" />
  123       <xs:element minOccurs="0" ref="CONFID" />
  124     </xs:sequence>
  125   </xs:group>
  126   <xs:group name="AD-cont.model">
  127     <xs:sequence>
  128       <xs:choice minOccurs="0" maxOccurs="unbounded">
  129         <xs:element ref="LIT" />
  130         <xs:element ref="DEL" />
  131         <xs:element ref="CNT" />
  132         <xs:element ref="STA" />
  133         <xs:element ref="CTY" />
  134         <xs:element ref="ZIP" />
  135         <xs:element ref="STR" />
  136         <xs:element ref="HNR" />
  137         <xs:element ref="DIR" />
  138         <xs:element ref="ADL" />
  139         <xs:element ref="POB" />
  140       </xs:choice>
  141       <xs:element minOccurs="0" ref="NOTE" />
  142       <xs:element minOccurs="0" ref="CONFID" />
  143     </xs:sequence>
  144   </xs:group>
  145   <xs:group name="PNXP-cont.model">
  146     <xs:sequence>
  147       <xs:element minOccurs="0" ref="NOTE" />
  148       <xs:element minOccurs="0" ref="CONFID" />
  149     </xs:sequence>
  150   </xs:group>
  151   <xs:group name="PN-cont.model">
  152     <xs:sequence>
  153       <xs:choice minOccurs="0" maxOccurs="unbounded">
  154         <xs:element ref="GIV" />
  155         <xs:element ref="MID" />
  156         <xs:element ref="FAM" />
  157         <xs:element ref="PFX" />
  158         <xs:element ref="SFX" />
  159         <xs:element ref="DEL" />
  160       </xs:choice>
  161       <xs:element minOccurs="0" ref="NOTE" />
  162       <xs:element minOccurs="0" ref="CONFID" />
  163     </xs:sequence>
  164   </xs:group>
  165   <xs:group name="ON-cont.model">
  166     <xs:sequence>
  167       <xs:element minOccurs="0" ref="NOTE" />
  168       <xs:element minOccurs="0" ref="CONFID" />
  169     </xs:sequence>
  170   </xs:group>
  171   <xs:group name="INT-cont.model">
  172     <xs:sequence>
  173       <xs:element minOccurs="0" ref="NOTE" />
  174       <xs:element minOccurs="0" ref="CONFID" />
  175     </xs:sequence>
  176   </xs:group>
  177   <xs:group name="TS-cont.model">
  178     <xs:sequence>
  179       <xs:element minOccurs="0" ref="NOTE" />
  180       <xs:element minOccurs="0" ref="CONFID" />
  181     </xs:sequence>
  182   </xs:group>
  183   <xs:group name="IVL_TS-cont.model">
  184     <xs:sequence>
  185       <xs:element minOccurs="0" ref="NOTE" />
  186       <xs:element minOccurs="0" ref="CONFID" />
  187     </xs:sequence>
  188   </xs:group>
  189   <xs:group name="GTS-cont.model">
  190     <xs:sequence>
  191       <xs:element minOccurs="0" ref="NOTE" />
  192       <xs:element minOccurs="0" ref="CONFID" />
  193     </xs:sequence>
  194   </xs:group>
  195   <xs:group name="entries">
  196     <xs:choice>
  197       <xs:element ref="content" />
  198       <xs:element ref="link" />
  199       <xs:element ref="coded_entry" />
  200       <xs:element ref="observation_media" />
  201       <xs:element ref="local_markup" />
  202     </xs:choice>
  203   </xs:group>
  204   <xs:group name="structures">
  205     <xs:choice>
  206       <xs:element ref="paragraph" />
  207       <xs:element ref="list" />
  208       <xs:element ref="table" />
  209     </xs:choice>
  210   </xs:group>
  211   <xs:attributeGroup name="ED-attrib.list">
  212     <xs:attribute name="T" default="ED">
  213       <xs:simpleType>
  214         <xs:restriction base="xs:string">
  215           <xs:enumeration value="ST" />
  216           <xs:enumeration value="ED" />
  217         </xs:restriction>
  218       </xs:simpleType>
  219     </xs:attribute>
  220     <xs:attribute name="NULL" type="null.code.set" />
  221     <xs:attribute name="ENC" default="TXT">
  222       <xs:simpleType>
  223         <xs:restriction base="xs:string">
  224           <xs:enumeration value="B64" />
  225           <xs:enumeration value="TXT" />
  226         </xs:restriction>
  227       </xs:simpleType>
  228     </xs:attribute>
  229     <xs:attribute name="MT" type="xs:string" default="text/plain" />
  230     <xs:attribute name="MT-T" type="xs:NMTOKEN" fixed="CS" />
  231     <xs:attribute name="MT-DOMAIN" type="xs:NMTOKEN" fixed="2.16.840.1.113883.6.10" />
  232     <xs:attribute name="MT-HL7_NAME" type="xs:string" fixed="type" />
  233     <xs:attribute name="xml:lang" type="xs:NMTOKEN" />
  234     <xs:attribute name="xml:lang-T" type="xs:NMTOKEN" fixed="CS" />
  235     <xs:attribute name="xml:lang-HL7_NAME" type="xs:string" fixed="language" />
  236     <xs:attribute name="COMPN">
  237       <xs:simpleType>
  238         <xs:restriction base="xs:string">
  239           <xs:enumeration value="DF" />
  240           <xs:enumeration value="GZ" />
  241           <xs:enumeration value="ZL" />
  242           <xs:enumeration value="Z" />
  243         </xs:restriction>
  244       </xs:simpleType>
  245     </xs:attribute>
  246     <xs:attribute name="COMPN-T" type="xs:NMTOKEN" fixed="CS" />
  247     <xs:attribute name="COMPN-HL7_NAME" type="xs:string" fixed="compression" />
  248     <xs:attribute name="COMPN-DOMAIN" type="xs:NMTOKEN" fixed="2.16.840.1.113883.5.1009" />
  249     <xs:attribute name="IC" type="xs:string" />
  250     <xs:attribute name="IC-T" type="xs:NMTOKEN" fixed="BIN" />
  251     <xs:attribute name="IC-HL7_NAME" type="xs:string" fixed="integrityCheck" />
  252     <xs:attribute name="VT" type="xs:string" />
  253     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="IVL_TS" />
  254     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  255     <xs:attribute name="PROB" type="xs:string" />
  256     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  257     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  258   </xs:attributeGroup>
  259   <xs:attributeGroup name="CD-attrib.list">
  260     <xs:attribute name="T" default="CD">
  261       <xs:simpleType>
  262         <xs:restriction base="xs:string">
  263           <xs:enumeration value="CD" />
  264           <xs:enumeration value="CE" />
  265           <xs:enumeration value="CV" />
  266           <xs:enumeration value="CS" />
  267         </xs:restriction>
  268       </xs:simpleType>
  269     </xs:attribute>
  270     <xs:attribute name="NULL" type="null.code.set" />
  271     <xs:attribute name="V" type="xs:string" />
  272     <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
  273     <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
  274     <xs:attribute name="DN" type="xs:string" />
  275     <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
  276     <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
  277     <xs:attribute name="S" type="xs:string" />
  278     <xs:attribute name="S-T" type="xs:NMTOKEN" fixed="OID" />
  279     <xs:attribute name="S-HL7_NAME" type="xs:string" fixed="codeSystem" />
  280     <xs:attribute name="SN" type="xs:string" />
  281     <xs:attribute name="SN-T" type="xs:NMTOKEN" fixed="ST" />
  282     <xs:attribute name="SN-HL7_NAME" type="xs:string" fixed="codeSystemName" />
  283     <xs:attribute name="SV" type="xs:string" />
  284     <xs:attribute name="SV-T" type="xs:NMTOKEN" fixed="ST" />
  285     <xs:attribute name="SV-HL7_NAME" type="xs:string" fixed="codeSystemVersion" />
  286     <xs:attribute name="ORIGTXT" type="xs:IDREF" />
  287     <xs:attribute name="ORIGTXT-T" type="xs:NMTOKEN" fixed="ST" />
  288     <xs:attribute name="ORIGTXT-HL7_NAME" type="xs:string" fixed="originalText" />
  289     <xs:attribute name="VT" type="xs:string" />
  290     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="IVL_TS" />
  291     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  292     <xs:attribute name="PROB" type="xs:string" />
  293     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  294     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  295   </xs:attributeGroup>
  296   <xs:attributeGroup name="CR-attrib.list">
  297     <xs:attribute name="T" type="xs:NMTOKEN" fixed="CR" />
  298     <xs:attribute name="NULL" type="null.code.set" />
  299     <xs:attribute name="V" type="xs:string" />
  300     <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
  301     <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
  302     <xs:attribute name="DN" type="xs:string" />
  303     <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
  304     <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
  305     <xs:attribute name="ORIGTXT" type="xs:IDREF" />
  306     <xs:attribute name="ORIGTXT-T" type="xs:NMTOKEN" fixed="ST" />
  307     <xs:attribute name="ORIGTXT-HL7_NAME" type="xs:string" fixed="originalText" />
  308     <xs:attribute name="INV" type="boolean.code.set" default="false" />
  309     <xs:attribute name="INV-T" type="xs:NMTOKEN" fixed="BL" />
  310     <xs:attribute name="INV-HL7_NAME" type="xs:string" fixed="inverted" />
  311     <xs:attribute name="VT" type="xs:string" />
  312     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="IVL_TS" />
  313     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  314     <xs:attribute name="PROB" type="xs:string" />
  315     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  316     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  317   </xs:attributeGroup>
  318   <xs:attributeGroup name="CV-attrib.list">
  319     <xs:attribute name="T" default="CV">
  320       <xs:simpleType>
  321         <xs:restriction base="xs:string">
  322           <xs:enumeration value="CS" />
  323           <xs:enumeration value="CV" />
  324         </xs:restriction>
  325       </xs:simpleType>
  326     </xs:attribute>
  327     <xs:attribute name="NULL" type="null.code.set" />
  328     <xs:attribute name="V" type="xs:string" />
  329     <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
  330     <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
  331     <xs:attribute name="DN" type="xs:string" />
  332     <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
  333     <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
  334     <xs:attribute name="S" type="xs:string" />
  335     <xs:attribute name="S-T" type="xs:NMTOKEN" fixed="OID" />
  336     <xs:attribute name="S-HL7_NAME" type="xs:string" fixed="codeSystem" />
  337     <xs:attribute name="SN" type="xs:string" />
  338     <xs:attribute name="SN-T" type="xs:NMTOKEN" fixed="ST" />
  339     <xs:attribute name="SN-HL7_NAME" type="xs:string" fixed="codeSystemName" />
  340     <xs:attribute name="SV" type="xs:string" />
  341     <xs:attribute name="SV-T" type="xs:NMTOKEN" fixed="OID" />
  342     <xs:attribute name="SV-HL7_NAME" type="xs:string" fixed="codeSystemVersion" />
  343     <xs:attribute name="ORIGTXT" type="xs:IDREF" />
  344     <xs:attribute name="ORIGTXT-T" type="xs:NMTOKEN" fixed="ST" />
  345     <xs:attribute name="ORIGTXT-HL7_NAME" type="xs:string" fixed="originalText" />
  346     <xs:attribute name="VT" type="xs:string" />
  347     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="IVL_TS" />
  348     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  349     <xs:attribute name="PROB" type="xs:string" />
  350     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  351     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  352   </xs:attributeGroup>
  353   <xs:attributeGroup name="CE-attrib.list">
  354     <xs:attribute name="T" default="CE">
  355       <xs:simpleType>
  356         <xs:restriction base="xs:string">
  357           <xs:enumeration value="CS" />
  358           <xs:enumeration value="CV" />
  359           <xs:enumeration value="CE" />
  360         </xs:restriction>
  361       </xs:simpleType>
  362     </xs:attribute>
  363     <xs:attribute name="NULL" type="null.code.set" />
  364     <xs:attribute name="V" type="xs:string" />
  365     <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
  366     <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
  367     <xs:attribute name="DN" type="xs:string" />
  368     <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
  369     <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
  370     <xs:attribute name="S" type="xs:string" />
  371     <xs:attribute name="S-T" type="xs:NMTOKEN" fixed="OID" />
  372     <xs:attribute name="S-HL7_NAME" type="xs:string" fixed="codeSystem" />
  373     <xs:attribute name="SN" type="xs:string" />
  374     <xs:attribute name="SN-T" type="xs:NMTOKEN" fixed="ST" />
  375     <xs:attribute name="SN-HL7_NAME" type="xs:string" fixed="codeSystemName" />
  376     <xs:attribute name="SV" type="xs:string" />
  377     <xs:attribute name="SV-T" type="xs:NMTOKEN" fixed="OID" />
  378     <xs:attribute name="SV-HL7_NAME" type="xs:string" fixed="codeSystemVersion" />
  379     <xs:attribute name="ORIGTXT" type="xs:IDREF" />
  380     <xs:attribute name="ORIGTXT-T" type="xs:NMTOKEN" fixed="ST" />
  381     <xs:attribute name="ORIGTXT-HL7_NAME" type="xs:string" fixed="originalText" />
  382     <xs:attribute name="VT" type="xs:string" />
  383     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="IVL_TS" />
  384     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  385     <xs:attribute name="PROB" type="xs:string" />
  386     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  387     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  388   </xs:attributeGroup>
  389   <xs:attributeGroup name="II-attrib.list">
  390     <xs:attribute name="T" type="xs:NMTOKEN" fixed="II" />
  391     <xs:attribute name="NULL" type="null.code.set" />
  392     <xs:attribute name="EX" type="xs:string" />
  393     <xs:attribute name="EX-T" type="xs:NMTOKEN" fixed="ST" />
  394     <xs:attribute name="EX-HL7_NAME" type="xs:string" fixed="extension" />
  395     <xs:attribute name="RT" type="xs:string" />
  396     <xs:attribute name="RT-T" type="xs:NMTOKEN" fixed="OID" />
  397     <xs:attribute name="RT-HL7_NAME" type="xs:string" fixed="root" />
  398     <xs:attribute name="AAN" type="xs:string" />
  399     <xs:attribute name="AAN-T" type="xs:NMTOKEN" fixed="ST" />
  400     <xs:attribute name="AAN-HL7_NAME" type="xs:string" fixed="assigningAuthorityName" />
  401     <xs:attribute name="VT" type="xs:string" />
  402     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="IVL_TS" />
  403     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  404     <xs:attribute name="PROB" type="xs:string" />
  405     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  406     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  407   </xs:attributeGroup>
  408   <xs:attributeGroup name="TEL-attrib.list">
  409     <xs:attribute name="T" type="xs:NMTOKEN" fixed="TEL" />
  410     <xs:attribute name="NULL" type="null.code.set" />
  411     <xs:attribute name="V" type="xs:string" />
  412     <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="URL" />
  413     <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="value" />
  414     <xs:attribute name="USE" type="xs:NMTOKENS" />
  415     <xs:attribute name="USE-T" type="xs:NMTOKEN" fixed="SET_CS" />
  416     <xs:attribute name="USE-DOMAIN" type="xs:string" fixed="2.16.840.1.113883.5.1011" />
  417     <xs:attribute name="USE-HL7_NAME" type="xs:string" fixed="use" />
  418     <xs:attribute name="VT" type="xs:string" />
  419     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="GTS" />
  420     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  421     <xs:attribute name="PROB" type="xs:string" />
  422     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  423     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  424   </xs:attributeGroup>
  425   <xs:attributeGroup name="ADXP-attrib.list">
  426     <xs:attribute name="T" type="xs:NMTOKEN" fixed="ADXP" />
  427     <xs:attribute name="NULL" type="null.code.set" />
  428     <xs:attribute name="V" type="xs:string" />
  429     <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
  430     <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="value" />
  431     <xs:attribute name="VT" type="xs:string" />
  432     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="IVL_TS" />
  433     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  434     <xs:attribute name="PROB" type="xs:string" />
  435     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  436     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  437   </xs:attributeGroup>
  438   <xs:attributeGroup name="AD-attrib.list">
  439     <xs:attribute name="T" type="xs:NMTOKEN" fixed="AD" />
  440     <xs:attribute name="NULL" type="null.code.set" />
  441     <xs:attribute name="V" type="xs:string" />
  442     <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
  443     <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="formated" />
  444     <xs:attribute name="USE" type="xs:NMTOKENS" />
  445     <xs:attribute name="USE-T" type="xs:NMTOKEN" fixed="SET_CS" />
  446     <xs:attribute name="USE-DOMAIN" type="xs:string" fixed="2.16.840.1.113883.5.1012" />
  447     <xs:attribute name="USE-HL7_NAME" type="xs:string" fixed="use" />
  448     <xs:attribute name="VT" type="xs:string" />
  449     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="GTS" />
  450     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  451     <xs:attribute name="PROB" type="xs:string" />
  452     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  453     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  454   </xs:attributeGroup>
  455   <xs:attributeGroup name="PNXP-attrib.list">
  456     <xs:attribute name="T" type="xs:NMTOKEN" fixed="PNXP" />
  457     <xs:attribute name="NULL" type="null.code.set" />
  458     <xs:attribute name="V" type="xs:string" />
  459     <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
  460     <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="value" />
  461     <xs:attribute name="QUAL" type="xs:NMTOKENS" />
  462     <xs:attribute name="QUAL-T" type="xs:NMTOKEN" fixed="SET_CS" />
  463     <xs:attribute name="QUAL-DOMAIN" type="xs:string" fixed="2.16.840.1.113883.5.1014" />
  464     <xs:attribute name="QUAL-HL7_NAME" type="xs:string" fixed="qualifier" />
  465     <xs:attribute name="VT" type="xs:string" />
  466     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="IVL_TS" />
  467     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  468     <xs:attribute name="PROB" type="xs:string" />
  469     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  470     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  471   </xs:attributeGroup>
  472   <xs:attributeGroup name="PN-attrib.list">
  473     <xs:attribute name="T" type="xs:NMTOKEN" fixed="PN" />
  474     <xs:attribute name="NULL" type="null.code.set" />
  475     <xs:attribute name="V" type="xs:string" />
  476     <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
  477     <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="formated" />
  478     <xs:attribute name="VT" type="xs:string" />
  479     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="IVL_TS" />
  480     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  481     <xs:attribute name="PROB" type="xs:string" />
  482     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  483     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  484   </xs:attributeGroup>
  485   <xs:attributeGroup name="ON-attrib.list">
  486     <xs:attribute name="T" type="xs:NMTOKEN" fixed="ON" />
  487     <xs:attribute name="NULL" type="null.code.set" />
  488     <xs:attribute name="V" type="xs:string" />
  489     <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
  490     <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="value" />
  491     <xs:attribute name="TYPE">
  492       <xs:simpleType>
  493         <xs:restriction base="xs:string">
  494           <xs:enumeration value="L" />
  495           <xs:enumeration value="A" />
  496           <xs:enumeration value="ST" />
  497         </xs:restriction>
  498       </xs:simpleType>
  499     </xs:attribute>
  500     <xs:attribute name="TYPE-T" type="xs:NMTOKEN" fixed="CS" />
  501     <xs:attribute name="TYPE-DOMAIN" type="xs:string" fixed="2.16.840.1.113883.5.1015" />
  502     <xs:attribute name="TYPE-HL7_NAME" type="xs:string" fixed="type" />
  503     <xs:attribute name="VT" type="xs:string" />
  504     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="IVL_TS" />
  505     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  506     <xs:attribute name="PROB" type="xs:string" />
  507     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  508     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  509   </xs:attributeGroup>
  510   <xs:attributeGroup name="INT-attrib.list">
  511     <xs:attribute name="T" type="xs:NMTOKEN" fixed="INT" />
  512     <xs:attribute name="NULL" type="null.code.set" />
  513     <xs:attribute name="V" type="xs:string" />
  514     <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
  515     <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="value" />
  516     <xs:attribute name="VT" type="xs:string" />
  517     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="IVL_TS" />
  518     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  519     <xs:attribute name="PROB" type="xs:string" />
  520     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  521     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  522   </xs:attributeGroup>
  523   <xs:attributeGroup name="TS-attrib.list">
  524     <xs:attribute name="T" type="xs:NMTOKEN" fixed="TS" />
  525     <xs:attribute name="NULL" type="null.code.set" />
  526     <xs:attribute name="V" type="xs:string" />
  527     <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
  528     <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="value" />
  529     <xs:attribute name="VT" type="xs:string" />
  530     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="IVL_TS" />
  531     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  532     <xs:attribute name="PROB" type="xs:string" />
  533     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  534     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  535   </xs:attributeGroup>
  536   <xs:attributeGroup name="IVL_TS-attrib.list">
  537     <xs:attribute name="T" type="xs:NMTOKEN" fixed="IVL_TS" />
  538     <xs:attribute name="NULL" type="null.code.set" />
  539     <xs:attribute name="V" type="xs:string" />
  540     <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="TS" />
  541     <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="value" />
  542     <xs:attribute name="VT" type="xs:string" />
  543     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="IVL_TS" />
  544     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  545     <xs:attribute name="PROB" type="xs:string" />
  546     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  547     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  548   </xs:attributeGroup>
  549   <xs:attributeGroup name="GTS-attrib.list">
  550     <xs:attribute name="T" type="xs:NMTOKEN" fixed="GTS" />
  551     <xs:attribute name="NULL" type="null.code.set" />
  552     <xs:attribute name="V" type="xs:string" />
  553     <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="GTS" />
  554     <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="value" />
  555     <xs:attribute name="VT" type="xs:string" />
  556     <xs:attribute name="VT-T" type="xs:NMTOKEN" fixed="IVL_TS" />
  557     <xs:attribute name="VT-HL7_NAME" type="xs:string" fixed="validTime" />
  558     <xs:attribute name="PROB" type="xs:string" />
  559     <xs:attribute name="PROB-T" type="xs:NMTOKEN" fixed="REAL" />
  560     <xs:attribute name="PROB-HL7_NAME" type="xs:string" fixed="probability" />
  561   </xs:attributeGroup>
  562   <xs:attributeGroup name="common_atts">
  563     <xs:attribute name="ID" type="xs:ID" />
  564   </xs:attributeGroup>
  565   <xs:attributeGroup name="body_atts">
  566     <xs:attributeGroup ref="common_atts" />
  567     <xs:attribute name="originator" type="xs:IDREFS" />
  568     <xs:attribute name="confidentiality" type="xs:IDREFS" />
  569     <xs:attribute name="xml:lang" type="xs:NMTOKEN" />
  570   </xs:attributeGroup>
  571   <xs:attributeGroup name="cellhalign">
  572     <xs:attribute name="align">
  573       <xs:simpleType>
  574         <xs:restriction base="xs:string">
  575           <xs:enumeration value="left" />
  576           <xs:enumeration value="center" />
  577           <xs:enumeration value="right" />
  578           <xs:enumeration value="justify" />
  579           <xs:enumeration value="char" />
  580         </xs:restriction>
  581       </xs:simpleType>
  582     </xs:attribute>
  583     <xs:attribute name="char" type="Character" />
  584     <xs:attribute name="charoff" type="Length" />
  585   </xs:attributeGroup>
  586   <xs:attributeGroup name="cellvalign">
  587     <xs:attribute name="valign">
  588       <xs:simpleType>
  589         <xs:restriction base="xs:string">
  590           <xs:enumeration value="top" />
  591           <xs:enumeration value="middle" />
  592           <xs:enumeration value="bottom" />
  593           <xs:enumeration value="baseline" />
  594         </xs:restriction>
  595       </xs:simpleType>
  596     </xs:attribute>
  597   </xs:attributeGroup>
  598   <xs:element name="NOTE">
  599     <xs:complexType>
  600       <xs:group ref="CE-cont.model" />
  601       <xs:attributeGroup ref="CE-attrib.list" />
  602       <xs:attribute name="HL7_NAME" type="xs:string" fixed="note" />
  603     </xs:complexType>
  604   </xs:element>
  605   <xs:element name="CONFID">
  606     <xs:complexType>
  607       <xs:group ref="CV-cont.model" />
  608       <xs:attributeGroup ref="CV-attrib.list" />
  609       <xs:attribute name="HL7_NAME" type="xs:string" fixed="confidence" />
  610     </xs:complexType>
  611   </xs:element>
  612   <xs:element name="REF">
  613     <xs:complexType>
  614       <xs:group ref="TEL-cont.model" />
  615       <xs:attributeGroup ref="TEL-attrib.list" />
  616       <xs:attribute name="HL7_NAME" type="xs:string" fixed="reference" />
  617     </xs:complexType>
  618   </xs:element>
  619   <xs:element name="THUMBNAIL">
  620     <xs:complexType mixed="true">
  621       <xs:choice minOccurs="0" maxOccurs="unbounded">
  622         <xs:element ref="REF" />
  623         <xs:element ref="THUMBNAIL" />
  624         <xs:element ref="NOTE" />
  625         <xs:element ref="CONFID" />
  626       </xs:choice>
  627       <xs:attributeGroup ref="ED-attrib.list" />
  628       <xs:attribute name="HL7_NAME" type="xs:string" fixed="thumbnail" />
  629     </xs:complexType>
  630   </xs:element>
  631   <xs:element name="ORIGTXT">
  632     <xs:complexType mixed="true">
  633       <xs:choice minOccurs="0" maxOccurs="unbounded">
  634         <xs:element ref="REF" />
  635         <xs:element ref="THUMBNAIL" />
  636         <xs:element ref="NOTE" />
  637         <xs:element ref="CONFID" />
  638       </xs:choice>
  639       <xs:attributeGroup ref="ED-attrib.list" />
  640       <xs:attribute name="HL7_NAME" type="xs:string" fixed="originalText" />
  641     </xs:complexType>
  642   </xs:element>
  643   <xs:element name="MODIFIER">
  644     <xs:complexType>
  645       <xs:group ref="CR-cont.model" />
  646       <xs:attributeGroup ref="CR-attrib.list" />
  647       <xs:attribute name="HL7_NAME" type="xs:string" fixed="modifier" />
  648     </xs:complexType>
  649   </xs:element>
  650   <xs:element name="TRANSLTN">
  651     <xs:complexType>
  652       <xs:group ref="CD-cont.model" />
  653       <xs:attributeGroup ref="CD-attrib.list" />
  654       <xs:attribute name="HL7_NAME" type="xs:string" fixed="translation" />
  655     </xs:complexType>
  656   </xs:element>
  657   <xs:element name="NAME">
  658     <xs:complexType>
  659       <xs:group ref="CV-cont.model" />
  660       <xs:attributeGroup ref="CV-attrib.list" />
  661       <xs:attribute name="HL7_NAME" type="xs:string" fixed="name" />
  662     </xs:complexType>
  663   </xs:element>
  664   <xs:element name="TYPE">
  665     <xs:complexType>
  666       <xs:group ref="CV-cont.model" />
  667       <xs:attributeGroup ref="CV-attrib.list" />
  668       <xs:attribute name="HL7_NAME" type="xs:string" fixed="type" />
  669     </xs:complexType>
  670   </xs:element>
  671   <xs:element name="LIT">
  672     <xs:complexType>
  673       <xs:group ref="ADXP-cont.model" />
  674       <xs:attributeGroup ref="ADXP-attrib.list" />
  675       <xs:attribute name="HL7_NAME" type="xs:string" fixed="literal" />
  676     </xs:complexType>
  677   </xs:element>
  678   <xs:element name="DEL">
  679     <xs:complexType>
  680       <xs:group ref="ADXP-cont.model" />
  681       <xs:attributeGroup ref="ADXP-attrib.list" />
  682       <xs:attribute name="HL7_NAME" type="xs:string" fixed="delimiter" />
  683     </xs:complexType>
  684   </xs:element>
  685   <xs:element name="CNT">
  686     <xs:complexType>
  687       <xs:group ref="ADXP-cont.model" />
  688       <xs:attributeGroup ref="ADXP-attrib.list" />
  689       <xs:attribute name="HL7_NAME" type="xs:string" fixed="country" />
  690     </xs:complexType>
  691   </xs:element>
  692   <xs:element name="CTY">
  693     <xs:complexType>
  694       <xs:group ref="ADXP-cont.model" />
  695       <xs:attributeGroup ref="ADXP-attrib.list" />
  696       <xs:attribute name="HL7_NAME" type="xs:string" fixed="city" />
  697     </xs:complexType>
  698   </xs:element>
  699   <xs:element name="STA">
  700     <xs:complexType>
  701       <xs:group ref="ADXP-cont.model" />
  702       <xs:attributeGroup ref="ADXP-attrib.list" />
  703       <xs:attribute name="HL7_NAME" type="xs:string" fixed="state" />
  704     </xs:complexType>
  705   </xs:element>
  706   <xs:element name="ZIP">
  707     <xs:complexType>
  708       <xs:group ref="ADXP-cont.model" />
  709       <xs:attributeGroup ref="ADXP-attrib.list" />
  710       <xs:attribute name="HL7_NAME" type="xs:string" fixed="postal code" />
  711     </xs:complexType>
  712   </xs:element>
  713   <xs:element name="STR">
  714     <xs:complexType>
  715       <xs:group ref="ADXP-cont.model" />
  716       <xs:attributeGroup ref="ADXP-attrib.list" />
  717       <xs:attribute name="HL7_NAME" type="xs:string" fixed="street name" />
  718     </xs:complexType>
  719   </xs:element>
  720   <xs:element name="HNR">
  721     <xs:complexType>
  722       <xs:group ref="ADXP-cont.model" />
  723       <xs:attributeGroup ref="ADXP-attrib.list" />
  724       <xs:attribute name="HL7_NAME" type="xs:string" fixed="house number" />
  725     </xs:complexType>
  726   </xs:element>
  727   <xs:element name="DIR">
  728     <xs:complexType>
  729       <xs:group ref="ADXP-cont.model" />
  730       <xs:attributeGroup ref="ADXP-attrib.list" />
  731       <xs:attribute name="HL7_NAME" type="xs:string" fixed="direction" />
  732     </xs:complexType>
  733   </xs:element>
  734   <xs:element name="ADL">
  735     <xs:complexType>
  736       <xs:group ref="ADXP-cont.model" />
  737       <xs:attributeGroup ref="ADXP-attrib.list" />
  738       <xs:attribute name="HL7_NAME" type="xs:string" fixed="address locator" />
  739     </xs:complexType>
  740   </xs:element>
  741   <xs:element name="POB">
  742     <xs:complexType>
  743       <xs:group ref="ADXP-cont.model" />
  744       <xs:attributeGroup ref="ADXP-attrib.list" />
  745       <xs:attribute name="HL7_NAME" type="xs:string" fixed="post office box" />
  746     </xs:complexType>
  747   </xs:element>
  748   <xs:element name="FAM">
  749     <xs:complexType>
  750       <xs:group ref="PNXP-cont.model" />
  751       <xs:attributeGroup ref="PNXP-attrib.list" />
  752       <xs:attribute name="HL7_NAME" type="xs:string" fixed="family" />
  753     </xs:complexType>
  754   </xs:element>
  755   <xs:element name="GIV">
  756     <xs:complexType>
  757       <xs:group ref="PNXP-cont.model" />
  758       <xs:attributeGroup ref="PNXP-attrib.list" />
  759       <xs:attribute name="HL7_NAME" type="xs:string" fixed="given" />
  760     </xs:complexType>
  761   </xs:element>
  762   <xs:element name="MID">
  763     <xs:complexType>
  764       <xs:group ref="PNXP-cont.model" />
  765       <xs:attributeGroup ref="PNXP-attrib.list" />
  766       <xs:attribute name="HL7_NAME" type="xs:string" fixed="middle" />
  767     </xs:complexType>
  768   </xs:element>
  769   <xs:element name="PFX">
  770     <xs:complexType>
  771       <xs:group ref="PNXP-cont.model" />
  772       <xs:attributeGroup ref="PNXP-attrib.list" />
  773       <xs:attribute name="HL7_NAME" type="xs:string" fixed="prefix" />
  774     </xs:complexType>
  775   </xs:element>
  776   <xs:element name="SFX">
  777     <xs:complexType>
  778       <xs:group ref="PNXP-cont.model" />
  779       <xs:attributeGroup ref="PNXP-attrib.list" />
  780       <xs:attribute name="HL7_NAME" type="xs:string" fixed="suffix" />
  781     </xs:complexType>
  782   </xs:element>
  783   <xs:element name="clinical_document_header">
  784     <xs:complexType>
  785       <xs:sequence>
  786         <xs:element ref="id" />
  787         <xs:element minOccurs="0" ref="set_id" />
  788         <xs:element minOccurs="0" ref="version_nbr" />
  789         <xs:element ref="document_type_cd" />
  790         <xs:element minOccurs="0" ref="service_tmr" />
  791         <xs:element ref="origination_dttm" />
  792         <xs:element minOccurs="0" ref="copy_dttm" />
  793         <xs:element minOccurs="0" maxOccurs="unbounded" ref="confidentiality_cd" />
  794         <xs:element minOccurs="0" maxOccurs="unbounded" ref="document_relationship" />
  795         <xs:element minOccurs="0" ref="fulfills_order" />
  796         <xs:element minOccurs="0" ref="patient_encounter" />
  797         <xs:element minOccurs="0" maxOccurs="unbounded" ref="authenticator" />
  798         <xs:element minOccurs="0" ref="legal_authenticator" />
  799         <xs:element minOccurs="0" maxOccurs="unbounded" ref="intended_recipient" />
  800         <xs:element minOccurs="0" maxOccurs="unbounded" ref="originator" />
  801         <xs:element minOccurs="0" ref="originating_organization" />
  802         <xs:element minOccurs="0" ref="transcriptionist" />
  803         <xs:element maxOccurs="unbounded" ref="provider" />
  804         <xs:element minOccurs="0" maxOccurs="unbounded" ref="service_actor" />
  805         <xs:element ref="patient" />
  806         <xs:element minOccurs="0" maxOccurs="unbounded" ref="originating_device" />
  807         <xs:element minOccurs="0" maxOccurs="unbounded" ref="service_target" />
  808         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
  809       </xs:sequence>
  810       <xs:attributeGroup ref="common_atts" />
  811       <xs:attribute name="HL7-NAME" type="xs:string" fixed="document_service_as_clinical_document_header" />
  812       <xs:attribute name="T" type="xs:string" fixed="service" />
  813       <xs:attribute name="RIM-VERSION" type="xs:string" fixed="0.98" />
  814     </xs:complexType>
  815   </xs:element>
  816   <xs:element name="id">
  817     <xs:complexType>
  818       <xs:group ref="II-cont.model" />
  819       <xs:attributeGroup ref="II-attrib.list" />
  820       <xs:attributeGroup ref="common_atts" />
  821       <xs:attribute name="HL7-NAME" type="xs:string" fixed="id" />
  822     </xs:complexType>
  823   </xs:element>
  824   <xs:element name="set_id">
  825     <xs:complexType>
  826       <xs:group ref="II-cont.model" />
  827       <xs:attributeGroup ref="II-attrib.list" />
  828       <xs:attributeGroup ref="common_atts" />
  829       <xs:attribute name="HL7-NAME" type="xs:string" fixed="set_id" />
  830     </xs:complexType>
  831   </xs:element>
  832   <xs:element name="version_nbr">
  833     <xs:complexType>
  834       <xs:group ref="INT-cont.model" />
  835       <xs:attributeGroup ref="INT-attrib.list" />
  836       <xs:attributeGroup ref="common_atts" />
  837       <xs:attribute name="HL7-NAME" type="xs:string" fixed="version_nbr" />
  838     </xs:complexType>
  839   </xs:element>
  840   <xs:element name="document_type_cd">
  841     <xs:complexType>
  842       <xs:group ref="CE-cont.model" />
  843       <xs:attributeGroup ref="CE-attrib.list" />
  844       <xs:attributeGroup ref="common_atts" />
  845       <xs:attribute name="HL7-NAME" type="xs:string" fixed="service_cd" />
  846     </xs:complexType>
  847   </xs:element>
  848   <xs:element name="service_tmr">
  849     <xs:complexType>
  850       <xs:group ref="GTS-cont.model" />
  851       <xs:attributeGroup ref="GTS-attrib.list" />
  852       <xs:attributeGroup ref="common_atts" />
  853       <xs:attribute name="HL7-NAME" type="xs:string" fixed="service_tmr" />
  854     </xs:complexType>
  855   </xs:element>
  856   <xs:element name="origination_dttm">
  857     <xs:complexType>
  858       <xs:group ref="TS-cont.model" />
  859       <xs:attributeGroup ref="TS-attrib.list" />
  860       <xs:attributeGroup ref="common_atts" />
  861       <xs:attribute name="HL7-NAME" type="xs:string" fixed="origination_dttm" />
  862     </xs:complexType>
  863   </xs:element>
  864   <xs:element name="copy_dttm">
  865     <xs:complexType>
  866       <xs:group ref="TS-cont.model" />
  867       <xs:attributeGroup ref="TS-attrib.list" />
  868       <xs:attributeGroup ref="common_atts" />
  869       <xs:attribute name="HL7-NAME" type="xs:string" fixed="copy_dttm" />
  870     </xs:complexType>
  871   </xs:element>
  872   <xs:element name="confidentiality_cd">
  873     <xs:complexType>
  874       <xs:group ref="CE-cont.model" />
  875       <xs:attributeGroup ref="CE-attrib.list" />
  876       <xs:attributeGroup ref="common_atts" />
  877       <xs:attribute name="HL7-NAME" type="xs:string" fixed="confidentiality_cd" />
  878     </xs:complexType>
  879   </xs:element>
  880   <xs:element name="document_relationship">
  881     <xs:complexType>
  882       <xs:sequence>
  883         <xs:element ref="document_relationship.type_cd" />
  884         <xs:element ref="related_document" />
  885         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
  886       </xs:sequence>
  887       <xs:attributeGroup ref="common_atts" />
  888       <xs:attribute name="HL7-NAME" type="xs:string" fixed="is_source_for_service_relationship" />
  889       <xs:attribute name="T" type="xs:string" fixed="service_relationship" />
  890     </xs:complexType>
  891   </xs:element>
  892   <xs:element name="document_relationship.type_cd">
  893     <xs:complexType>
  894       <xs:group ref="CS-cont.model" />
  895       <xs:attribute name="T" type="xs:NMTOKEN" fixed="CS" />
  896       <xs:attribute name="V" use="required">
  897         <xs:simpleType>
  898           <xs:restriction base="xs:string">
  899             <xs:enumeration value="APND" />
  900             <xs:enumeration value="RPLC" />
  901           </xs:restriction>
  902         </xs:simpleType>
  903       </xs:attribute>
  904       <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
  905       <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
  906       <xs:attribute name="DN" type="xs:string" />
  907       <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
  908       <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
  909       <xs:attributeGroup ref="common_atts" />
  910       <xs:attribute name="HL7-NAME" type="xs:string" fixed="type_cd" />
  911     </xs:complexType>
  912   </xs:element>
  913   <xs:element name="related_document">
  914     <xs:complexType>
  915       <xs:sequence>
  916         <xs:element ref="id" />
  917         <xs:element minOccurs="0" ref="set_id" />
  918         <xs:element minOccurs="0" ref="version_nbr" />
  919         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
  920       </xs:sequence>
  921       <xs:attributeGroup ref="common_atts" />
  922       <xs:attribute name="HL7-NAME" type="xs:string" fixed="has_target_service" />
  923       <xs:attribute name="T" type="xs:string" fixed="service" />
  924     </xs:complexType>
  925   </xs:element>
  926   <xs:element name="fulfills_order">
  927     <xs:complexType>
  928       <xs:sequence>
  929         <xs:element ref="fulfills_order.type_cd" />
  930         <xs:element maxOccurs="unbounded" ref="order" />
  931         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
  932       </xs:sequence>
  933       <xs:attributeGroup ref="common_atts" />
  934       <xs:attribute name="HL7-NAME" type="xs:string" fixed="is_source_for_service_relationship" />
  935       <xs:attribute name="T" type="xs:string" fixed="service_relationship" />
  936     </xs:complexType>
  937   </xs:element>
  938   <xs:element name="fulfills_order.type_cd">
  939     <xs:complexType>
  940       <xs:group ref="CS-cont.model" />
  941       <xs:attribute name="T" type="xs:NMTOKEN" fixed="CS" />
  942       <xs:attribute name="V" type="xs:string" fixed="FLFS" />
  943       <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
  944       <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
  945       <xs:attribute name="DN" type="xs:string" />
  946       <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
  947       <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
  948       <xs:attributeGroup ref="common_atts" />
  949       <xs:attribute name="HL7-NAME" type="xs:string" fixed="type_cd" />
  950     </xs:complexType>
  951   </xs:element>
  952   <xs:element name="order">
  953     <xs:complexType>
  954       <xs:sequence>
  955         <xs:element ref="id" />
  956         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
  957       </xs:sequence>
  958       <xs:attributeGroup ref="common_atts" />
  959       <xs:attribute name="HL7-NAME" type="xs:string" fixed="has_target_service" />
  960       <xs:attribute name="T" type="xs:string" fixed="service" />
  961     </xs:complexType>
  962   </xs:element>
  963   <xs:element name="patient_encounter">
  964     <xs:complexType>
  965       <xs:sequence>
  966         <xs:element minOccurs="0" ref="id" />
  967         <xs:element minOccurs="0" ref="practice_setting_cd" />
  968         <xs:element ref="encounter_tmr" />
  969         <xs:element minOccurs="0" ref="service_location" />
  970         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
  971       </xs:sequence>
  972       <xs:attributeGroup ref="common_atts" />
  973       <xs:attribute name="HL7-NAME" type="xs:string" fixed="is_assigned_to_patient_encounter" />
  974       <xs:attribute name="T" type="xs:string" fixed="patient_encounter" />
  975     </xs:complexType>
  976   </xs:element>
  977   <xs:element name="practice_setting_cd">
  978     <xs:complexType>
  979       <xs:group ref="CE-cont.model" />
  980       <xs:attributeGroup ref="CE-attrib.list" />
  981       <xs:attributeGroup ref="common_atts" />
  982       <xs:attribute name="HL7-NAME" type="xs:string" fixed="practice_setting_cd" />
  983     </xs:complexType>
  984   </xs:element>
  985   <xs:element name="encounter_tmr">
  986     <xs:complexType>
  987       <xs:group ref="IVL_TS-cont.model" />
  988       <xs:attributeGroup ref="IVL_TS-attrib.list" />
  989       <xs:attributeGroup ref="common_atts" />
  990       <xs:attribute name="HL7-NAME" type="xs:string" fixed="encounter_tmr" />
  991     </xs:complexType>
  992   </xs:element>
  993   <xs:element name="service_location">
  994     <xs:complexType>
  995       <xs:sequence>
  996         <xs:element minOccurs="0" ref="id" />
  997         <xs:element minOccurs="0" ref="addr" />
  998         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
  999       </xs:sequence>
 1000       <xs:attributeGroup ref="common_atts" />
 1001       <xs:attribute name="HL7-NAME" type="xs:string" fixed="has_master_patient_service_location" />
 1002       <xs:attribute name="T" type="xs:string" fixed="master_patient_service_location" />
 1003     </xs:complexType>
 1004   </xs:element>
 1005   <xs:element name="addr">
 1006     <xs:complexType>
 1007       <xs:group ref="AD-cont.model" />
 1008       <xs:attributeGroup ref="AD-attrib.list" />
 1009       <xs:attributeGroup ref="common_atts" />
 1010       <xs:attribute name="HL7-NAME" type="xs:string" fixed="addr" />
 1011     </xs:complexType>
 1012   </xs:element>
 1013   <xs:element name="person">
 1014     <xs:complexType>
 1015       <xs:sequence>
 1016         <xs:element maxOccurs="unbounded" ref="id" />
 1017         <xs:element minOccurs="0" maxOccurs="unbounded" ref="person_name" />
 1018         <xs:element minOccurs="0" maxOccurs="unbounded" ref="addr" />
 1019         <xs:element minOccurs="0" maxOccurs="unbounded" ref="telecom" />
 1020         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1021       </xs:sequence>
 1022       <xs:attributeGroup ref="common_atts" />
 1023       <xs:attribute name="HL7-NAME" type="xs:string" fixed="participation_of_person" />
 1024       <xs:attribute name="T" type="xs:string" fixed="person" />
 1025     </xs:complexType>
 1026   </xs:element>
 1027   <xs:element name="person_name">
 1028     <xs:complexType>
 1029       <xs:sequence>
 1030         <xs:element minOccurs="0" ref="effective_tmr" />
 1031         <xs:element ref="nm" />
 1032         <xs:element minOccurs="0" ref="person_name.type_cd" />
 1033         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1034       </xs:sequence>
 1035       <xs:attributeGroup ref="common_atts" />
 1036       <xs:attribute name="HL7-NAME" type="xs:string" fixed="has_person_name" />
 1037       <xs:attribute name="T" type="xs:string" fixed="person_name" />
 1038     </xs:complexType>
 1039   </xs:element>
 1040   <xs:element name="effective_tmr">
 1041     <xs:complexType>
 1042       <xs:group ref="IVL_TS-cont.model" />
 1043       <xs:attributeGroup ref="IVL_TS-attrib.list" />
 1044       <xs:attributeGroup ref="common_atts" />
 1045       <xs:attribute name="HL7-NAME" type="xs:string" fixed="effective_tmr" />
 1046     </xs:complexType>
 1047   </xs:element>
 1048   <xs:element name="nm">
 1049     <xs:complexType>
 1050       <xs:group ref="PN-cont.model" />
 1051       <xs:attributeGroup ref="PN-attrib.list" />
 1052       <xs:attributeGroup ref="common_atts" />
 1053       <xs:attribute name="HL7-NAME" type="xs:string" fixed="nm" />
 1054     </xs:complexType>
 1055   </xs:element>
 1056   <xs:element name="person_name.type_cd">
 1057     <xs:complexType>
 1058       <xs:group ref="CE-cont.model" />
 1059       <xs:attributeGroup ref="CE-attrib.list" />
 1060       <xs:attributeGroup ref="common_atts" />
 1061       <xs:attribute name="HL7-NAME" type="xs:string" fixed="type_cd" />
 1062     </xs:complexType>
 1063   </xs:element>
 1064   <xs:element name="telecom">
 1065     <xs:complexType>
 1066       <xs:group ref="TEL-cont.model" />
 1067       <xs:attributeGroup ref="TEL-attrib.list" />
 1068       <xs:attributeGroup ref="common_atts" />
 1069       <xs:attribute name="HL7-NAME" type="xs:string" fixed="phon" />
 1070     </xs:complexType>
 1071   </xs:element>
 1072   <xs:element name="authenticator">
 1073     <xs:complexType>
 1074       <xs:sequence>
 1075         <xs:element ref="authenticator.type_cd" />
 1076         <xs:element ref="participation_tmr" />
 1077         <xs:element ref="signature_cd" />
 1078         <xs:element ref="person" />
 1079         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1080       </xs:sequence>
 1081       <xs:attributeGroup ref="common_atts" />
 1082       <xs:attribute name="HL7-NAME" type="xs:string" fixed="has_service_actor" />
 1083       <xs:attribute name="T" type="xs:string" fixed="service_actor" />
 1084     </xs:complexType>
 1085   </xs:element>
 1086   <xs:element name="authenticator.type_cd">
 1087     <xs:complexType>
 1088       <xs:group ref="CS-cont.model" />
 1089       <xs:attribute name="T" type="xs:NMTOKEN" fixed="CS" />
 1090       <xs:attribute name="V" type="xs:string" fixed="VRF" />
 1091       <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
 1092       <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
 1093       <xs:attribute name="DN" type="xs:string" />
 1094       <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
 1095       <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
 1096       <xs:attributeGroup ref="common_atts" />
 1097       <xs:attribute name="HL7-NAME" type="xs:string" fixed="type_cd" />
 1098     </xs:complexType>
 1099   </xs:element>
 1100   <xs:element name="participation_tmr">
 1101     <xs:complexType>
 1102       <xs:group ref="IVL_TS-cont.model" />
 1103       <xs:attributeGroup ref="IVL_TS-attrib.list" />
 1104       <xs:attributeGroup ref="common_atts" />
 1105       <xs:attribute name="HL7-NAME" type="xs:string" fixed="tmr" />
 1106     </xs:complexType>
 1107   </xs:element>
 1108   <xs:element name="signature_cd">
 1109     <xs:complexType>
 1110       <xs:group ref="CS-cont.model" />
 1111       <xs:attribute name="T" type="xs:NMTOKEN" fixed="CS" />
 1112       <xs:attribute name="V" default="S">
 1113         <xs:simpleType>
 1114           <xs:restriction base="xs:string">
 1115             <xs:enumeration value="S" />
 1116             <xs:enumeration value="X" />
 1117           </xs:restriction>
 1118         </xs:simpleType>
 1119       </xs:attribute>
 1120       <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
 1121       <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
 1122       <xs:attribute name="DN" type="xs:string" />
 1123       <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
 1124       <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
 1125       <xs:attributeGroup ref="common_atts" />
 1126       <xs:attribute name="HL7-NAME" type="xs:string" fixed="signature_cd" />
 1127     </xs:complexType>
 1128   </xs:element>
 1129   <xs:element name="legal_authenticator">
 1130     <xs:complexType>
 1131       <xs:sequence>
 1132         <xs:element ref="legal_authenticator.type_cd" />
 1133         <xs:element ref="participation_tmr" />
 1134         <xs:element ref="signature_cd" />
 1135         <xs:element ref="person" />
 1136         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1137       </xs:sequence>
 1138       <xs:attributeGroup ref="common_atts" />
 1139       <xs:attribute name="HL7-NAME" type="xs:string" fixed="has_service_actor" />
 1140       <xs:attribute name="T" type="xs:string" fixed="service_actor" />
 1141     </xs:complexType>
 1142   </xs:element>
 1143   <xs:element name="legal_authenticator.type_cd">
 1144     <xs:complexType>
 1145       <xs:group ref="CS-cont.model" />
 1146       <xs:attribute name="T" type="xs:NMTOKEN" fixed="CS" />
 1147       <xs:attribute name="V" type="xs:string" fixed="SPV" />
 1148       <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
 1149       <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
 1150       <xs:attribute name="DN" type="xs:string" />
 1151       <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
 1152       <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
 1153       <xs:attributeGroup ref="common_atts" />
 1154       <xs:attribute name="HL7-NAME" type="xs:string" fixed="type_cd" />
 1155     </xs:complexType>
 1156   </xs:element>
 1157   <xs:element name="intended_recipient">
 1158     <xs:complexType>
 1159       <xs:sequence>
 1160         <xs:element ref="intended_recipient.type_cd" />
 1161         <xs:element ref="person" />
 1162         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1163       </xs:sequence>
 1164       <xs:attributeGroup ref="common_atts" />
 1165       <xs:attribute name="HL7-NAME" type="xs:string" fixed="has_service_actor" />
 1166       <xs:attribute name="T" type="xs:string" fixed="service_actor" />
 1167     </xs:complexType>
 1168   </xs:element>
 1169   <xs:element name="intended_recipient.type_cd">
 1170     <xs:complexType>
 1171       <xs:group ref="CS-cont.model" />
 1172       <xs:attribute name="T" type="xs:NMTOKEN" fixed="CS" />
 1173       <xs:attribute name="V" type="xs:string" fixed="TRC" />
 1174       <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
 1175       <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
 1176       <xs:attribute name="DN" type="xs:string" />
 1177       <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
 1178       <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
 1179       <xs:attributeGroup ref="common_atts" />
 1180       <xs:attribute name="HL7-NAME" type="xs:string" fixed="type_cd" />
 1181     </xs:complexType>
 1182   </xs:element>
 1183   <xs:element name="originator">
 1184     <xs:complexType>
 1185       <xs:sequence>
 1186         <xs:element ref="originator.type_cd" />
 1187         <xs:element ref="participation_tmr" />
 1188         <xs:element ref="person" />
 1189         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1190       </xs:sequence>
 1191       <xs:attributeGroup ref="common_atts" />
 1192       <xs:attribute name="HL7-NAME" type="xs:string" fixed="has_service_actor" />
 1193       <xs:attribute name="T" type="xs:string" fixed="service_actor" />
 1194     </xs:complexType>
 1195   </xs:element>
 1196   <xs:element name="originator.type_cd">
 1197     <xs:complexType>
 1198       <xs:group ref="CS-cont.model" />
 1199       <xs:attribute name="T" type="xs:NMTOKEN" fixed="CS" />
 1200       <xs:attribute name="V" type="xs:string" fixed="AUT" />
 1201       <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
 1202       <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
 1203       <xs:attribute name="DN" type="xs:string" />
 1204       <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
 1205       <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
 1206       <xs:attributeGroup ref="common_atts" />
 1207       <xs:attribute name="HL7-NAME" type="xs:string" fixed="type_cd" />
 1208     </xs:complexType>
 1209   </xs:element>
 1210   <xs:element name="originating_organization">
 1211     <xs:complexType>
 1212       <xs:sequence>
 1213         <xs:element ref="originating_organization.type_cd" />
 1214         <xs:element ref="organization" />
 1215         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1216       </xs:sequence>
 1217       <xs:attributeGroup ref="common_atts" />
 1218       <xs:attribute name="HL7-NAME" type="xs:string" fixed="has_service_actor" />
 1219       <xs:attribute name="T" type="xs:string" fixed="service_actor" />
 1220     </xs:complexType>
 1221   </xs:element>
 1222   <xs:element name="originating_organization.type_cd">
 1223     <xs:complexType>
 1224       <xs:group ref="CS-cont.model" />
 1225       <xs:attribute name="T" type="xs:NMTOKEN" fixed="CS" />
 1226       <xs:attribute name="V" type="xs:string" fixed="CST" />
 1227       <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
 1228       <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
 1229       <xs:attribute name="DN" type="xs:string" />
 1230       <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
 1231       <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
 1232       <xs:attributeGroup ref="common_atts" />
 1233       <xs:attribute name="HL7-NAME" type="xs:string" fixed="type_cd" />
 1234     </xs:complexType>
 1235   </xs:element>
 1236   <xs:element name="organization">
 1237     <xs:complexType>
 1238       <xs:sequence>
 1239         <xs:element minOccurs="0" maxOccurs="unbounded" ref="id" />
 1240         <xs:element minOccurs="0" maxOccurs="unbounded" ref="organization.nm" />
 1241         <xs:element minOccurs="0" maxOccurs="unbounded" ref="addr" />
 1242         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1243       </xs:sequence>
 1244       <xs:attributeGroup ref="common_atts" />
 1245       <xs:attribute name="HL7-NAME" type="xs:string" fixed="participation_of_organization" />
 1246       <xs:attribute name="T" type="xs:string" fixed="organization" />
 1247     </xs:complexType>
 1248   </xs:element>
 1249   <xs:element name="organization.nm">
 1250     <xs:complexType>
 1251       <xs:group ref="ON-cont.model" />
 1252       <xs:attributeGroup ref="ON-attrib.list" />
 1253       <xs:attributeGroup ref="common_atts" />
 1254       <xs:attribute name="HL7-NAME" type="xs:string" fixed="nm" />
 1255     </xs:complexType>
 1256   </xs:element>
 1257   <xs:element name="transcriptionist">
 1258     <xs:complexType>
 1259       <xs:sequence>
 1260         <xs:element ref="transcriptionist.type_cd" />
 1261         <xs:element minOccurs="0" ref="participation_tmr" />
 1262         <xs:element ref="person" />
 1263         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1264       </xs:sequence>
 1265       <xs:attributeGroup ref="common_atts" />
 1266       <xs:attribute name="HL7-NAME" type="xs:string" fixed="has_service_actor" />
 1267       <xs:attribute name="T" type="xs:string" fixed="service_actor" />
 1268     </xs:complexType>
 1269   </xs:element>
 1270   <xs:element name="transcriptionist.type_cd">
 1271     <xs:complexType>
 1272       <xs:group ref="CS-cont.model" />
 1273       <xs:attribute name="T" type="xs:NMTOKEN" fixed="CS" />
 1274       <xs:attribute name="V" type="xs:string" fixed="ENT" />
 1275       <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
 1276       <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
 1277       <xs:attribute name="DN" type="xs:string" />
 1278       <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
 1279       <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
 1280       <xs:attributeGroup ref="common_atts" />
 1281       <xs:attribute name="HL7-NAME" type="xs:string" fixed="type_cd" />
 1282     </xs:complexType>
 1283   </xs:element>
 1284   <xs:element name="provider">
 1285     <xs:complexType>
 1286       <xs:sequence>
 1287         <xs:element ref="provider.type_cd" />
 1288         <xs:element minOccurs="0" ref="function_cd" />
 1289         <xs:element minOccurs="0" ref="participation_tmr" />
 1290         <xs:element ref="person" />
 1291         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1292       </xs:sequence>
 1293       <xs:attributeGroup ref="common_atts" />
 1294       <xs:attribute name="HL7-NAME" type="xs:string" fixed="has_service_actor" />
 1295       <xs:attribute name="T" type="xs:string" fixed="service_actor" />
 1296     </xs:complexType>
 1297   </xs:element>
 1298   <xs:element name="provider.type_cd">
 1299     <xs:complexType>
 1300       <xs:group ref="CS-cont.model" />
 1301       <xs:attribute name="T" type="xs:NMTOKEN" fixed="CS" />
 1302       <xs:attribute name="V" default="PRF">
 1303         <xs:simpleType>
 1304           <xs:restriction base="xs:string">
 1305             <xs:enumeration value="ASS" />
 1306             <xs:enumeration value="CON" />
 1307             <xs:enumeration value="PRF" />
 1308           </xs:restriction>
 1309         </xs:simpleType>
 1310       </xs:attribute>
 1311       <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
 1312       <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
 1313       <xs:attribute name="DN" type="xs:string" />
 1314       <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
 1315       <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
 1316       <xs:attributeGroup ref="common_atts" />
 1317       <xs:attribute name="HL7-NAME" type="xs:string" fixed="type_cd" />
 1318     </xs:complexType>
 1319   </xs:element>
 1320   <xs:element name="function_cd">
 1321     <xs:complexType>
 1322       <xs:group ref="CE-cont.model" />
 1323       <xs:attributeGroup ref="CE-attrib.list" />
 1324       <xs:attributeGroup ref="common_atts" />
 1325       <xs:attribute name="HL7-NAME" type="xs:string" fixed="function_cd" />
 1326     </xs:complexType>
 1327   </xs:element>
 1328   <xs:element name="service_actor">
 1329     <xs:complexType>
 1330       <xs:sequence>
 1331         <xs:element ref="service_actor.type_cd" />
 1332         <xs:element minOccurs="0" ref="participation_tmr" />
 1333         <xs:element minOccurs="0" ref="signature_cd" />
 1334         <xs:choice>
 1335           <xs:element ref="person" />
 1336           <xs:element ref="organization" />
 1337         </xs:choice>
 1338         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1339       </xs:sequence>
 1340       <xs:attributeGroup ref="common_atts" />
 1341       <xs:attribute name="HL7-NAME" type="xs:string" fixed="has_service_actor" />
 1342       <xs:attribute name="T" type="xs:string" fixed="service_actor" />
 1343     </xs:complexType>
 1344   </xs:element>
 1345   <xs:element name="service_actor.type_cd">
 1346     <xs:complexType>
 1347       <xs:group ref="CE-cont.model" />
 1348       <xs:attributeGroup ref="CE-attrib.list" />
 1349       <xs:attributeGroup ref="common_atts" />
 1350       <xs:attribute name="HL7-NAME" type="xs:string" fixed="type_cd" />
 1351     </xs:complexType>
 1352   </xs:element>
 1353   <xs:element name="patient">
 1354     <xs:complexType>
 1355       <xs:sequence>
 1356         <xs:element ref="patient.type_cd" />
 1357         <xs:element minOccurs="0" ref="participation_tmr" />
 1358         <xs:element ref="person" />
 1359         <xs:element minOccurs="0" maxOccurs="unbounded" ref="is_known_by" />
 1360         <xs:element minOccurs="0" ref="birth_dttm" />
 1361         <xs:element minOccurs="0" ref="administrative_gender_cd" />
 1362         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1363       </xs:sequence>
 1364       <xs:attributeGroup ref="common_atts" />
 1365       <xs:attribute name="HL7-NAME" type="xs:string" fixed="has_service_target" />
 1366       <xs:attribute name="T" type="xs:string" fixed="service_target" />
 1367     </xs:complexType>
 1368   </xs:element>
 1369   <xs:element name="patient.type_cd">
 1370     <xs:complexType>
 1371       <xs:group ref="CS-cont.model" />
 1372       <xs:attribute name="T" type="xs:NMTOKEN" fixed="CS" />
 1373       <xs:attribute name="V" default="PATSBJ">
 1374         <xs:simpleType>
 1375           <xs:restriction base="xs:string">
 1376             <xs:enumeration value="PAT" />
 1377             <xs:enumeration value="PATSBJ" />
 1378           </xs:restriction>
 1379         </xs:simpleType>
 1380       </xs:attribute>
 1381       <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
 1382       <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
 1383       <xs:attribute name="DN" type="xs:string" />
 1384       <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
 1385       <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
 1386       <xs:attributeGroup ref="common_atts" />
 1387       <xs:attribute name="HL7-NAME" type="xs:string" fixed="type_cd" />
 1388     </xs:complexType>
 1389   </xs:element>
 1390   <xs:element name="is_known_by">
 1391     <xs:complexType>
 1392       <xs:sequence>
 1393         <xs:element maxOccurs="unbounded" ref="id" />
 1394         <xs:element ref="is_known_to" />
 1395         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1396       </xs:sequence>
 1397       <xs:attributeGroup ref="common_atts" />
 1398       <xs:attribute name="HL7-NAME" type="xs:string" fixed="is_known_by" />
 1399       <xs:attribute name="T" type="xs:string" fixed="person_provider_association" />
 1400     </xs:complexType>
 1401   </xs:element>
 1402   <xs:element name="is_known_to">
 1403     <xs:complexType>
 1404       <xs:sequence>
 1405         <xs:element maxOccurs="unbounded" ref="id" />
 1406         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1407       </xs:sequence>
 1408       <xs:attributeGroup ref="common_atts" />
 1409       <xs:attribute name="HL7-NAME" type="xs:string" fixed="is_known_to" />
 1410       <xs:attribute name="T" type="xs:string" fixed="healthcare_service_provider" />
 1411     </xs:complexType>
 1412   </xs:element>
 1413   <xs:element name="birth_dttm">
 1414     <xs:complexType>
 1415       <xs:group ref="TS-cont.model" />
 1416       <xs:attributeGroup ref="TS-attrib.list" />
 1417       <xs:attributeGroup ref="common_atts" />
 1418       <xs:attribute name="HL7-NAME" type="xs:string" fixed="birth_dttm" />
 1419     </xs:complexType>
 1420   </xs:element>
 1421   <xs:element name="administrative_gender_cd">
 1422     <xs:complexType>
 1423       <xs:group ref="CE-cont.model" />
 1424       <xs:attributeGroup ref="CE-attrib.list" />
 1425       <xs:attributeGroup ref="common_atts" />
 1426       <xs:attribute name="HL7-NAME" type="xs:string" fixed="administrative_gender_cd" />
 1427     </xs:complexType>
 1428   </xs:element>
 1429   <xs:element name="originating_device">
 1430     <xs:complexType>
 1431       <xs:sequence>
 1432         <xs:element ref="originating_device.type_cd" />
 1433         <xs:element minOccurs="0" ref="participation_tmr" />
 1434         <xs:element ref="device" />
 1435         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1436       </xs:sequence>
 1437       <xs:attributeGroup ref="common_atts" />
 1438       <xs:attribute name="HL7-NAME" type="xs:string" fixed="has_service_target" />
 1439       <xs:attribute name="T" type="xs:string" fixed="service_target" />
 1440     </xs:complexType>
 1441   </xs:element>
 1442   <xs:element name="originating_device.type_cd">
 1443     <xs:complexType>
 1444       <xs:group ref="CS-cont.model" />
 1445       <xs:attribute name="T" type="xs:NMTOKEN" fixed="CS" />
 1446       <xs:attribute name="V" type="xs:string" fixed="ODV" />
 1447       <xs:attribute name="V-T" type="xs:NMTOKEN" fixed="ST" />
 1448       <xs:attribute name="V-HL7_NAME" type="xs:string" fixed="code" />
 1449       <xs:attribute name="DN" type="xs:string" />
 1450       <xs:attribute name="DN-T" type="xs:NMTOKEN" fixed="ST" />
 1451       <xs:attribute name="DN-HL7_NAME" type="xs:string" fixed="displayName" />
 1452       <xs:attributeGroup ref="common_atts" />
 1453       <xs:attribute name="HL7-NAME" type="xs:string" fixed="type_cd" />
 1454     </xs:complexType>
 1455   </xs:element>
 1456   <xs:element name="device">
 1457     <xs:complexType>
 1458       <xs:sequence>
 1459         <xs:element maxOccurs="unbounded" ref="id" />
 1460         <xs:element minOccurs="0" maxOccurs="unbounded" ref="responsibility" />
 1461         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1462       </xs:sequence>
 1463       <xs:attributeGroup ref="common_atts" />
 1464       <xs:attribute name="HL7-NAME" type="xs:string" fixed="participation_of_material" />
 1465       <xs:attribute name="T" type="xs:string" fixed="device" />
 1466     </xs:complexType>
 1467   </xs:element>
 1468   <xs:element name="responsibility">
 1469     <xs:complexType>
 1470       <xs:sequence>
 1471         <xs:element minOccurs="0" ref="responsibility.type_cd" />
 1472         <xs:element minOccurs="0" ref="responsibility_tmr" />
 1473         <xs:element ref="person" />
 1474         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1475       </xs:sequence>
 1476       <xs:attributeGroup ref="common_atts" />
 1477       <xs:attribute name="HL7-NAME" type="xs:string" fixed="is_the_responsibility" />
 1478       <xs:attribute name="T" type="xs:string" fixed="responsibility" />
 1479     </xs:complexType>
 1480   </xs:element>
 1481   <xs:element name="responsibility.type_cd">
 1482     <xs:complexType>
 1483       <xs:group ref="CE-cont.model" />
 1484       <xs:attributeGroup ref="CE-attrib.list" />
 1485       <xs:attributeGroup ref="common_atts" />
 1486       <xs:attribute name="HL7-NAME" type="xs:string" fixed="type_cd" />
 1487     </xs:complexType>
 1488   </xs:element>
 1489   <xs:element name="responsibility_tmr">
 1490     <xs:complexType>
 1491       <xs:group ref="IVL_TS-cont.model" />
 1492       <xs:attributeGroup ref="IVL_TS-attrib.list" />
 1493       <xs:attributeGroup ref="common_atts" />
 1494       <xs:attribute name="HL7-NAME" type="xs:string" fixed="tmr" />
 1495     </xs:complexType>
 1496   </xs:element>
 1497   <xs:element name="service_target">
 1498     <xs:complexType>
 1499       <xs:sequence>
 1500         <xs:element ref="service_target.type_cd" />
 1501         <xs:element minOccurs="0" ref="participation_tmr" />
 1502         <xs:element ref="person" />
 1503         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_header" />
 1504       </xs:sequence>
 1505       <xs:attributeGroup ref="common_atts" />
 1506       <xs:attribute name="HL7-NAME" type="xs:string" fixed="has_service_target" />
 1507       <xs:attribute name="T" type="xs:string" fixed="service_target" />
 1508     </xs:complexType>
 1509   </xs:element>
 1510   <xs:element name="service_target.type_cd">
 1511     <xs:complexType>
 1512       <xs:group ref="CE-cont.model" />
 1513       <xs:attributeGroup ref="CE-attrib.list" />
 1514       <xs:attributeGroup ref="common_atts" />
 1515       <xs:attribute name="HL7-NAME" type="xs:string" fixed="type_cd" />
 1516     </xs:complexType>
 1517   </xs:element>
 1518   <xs:element name="local_header">
 1519     <xs:complexType mixed="true">
 1520       <xs:choice minOccurs="0" maxOccurs="unbounded">
 1521         <xs:element ref="local_header" />
 1522         <xs:element ref="local_attr" />
 1523       </xs:choice>
 1524       <xs:attribute name="ignore" default="markup">
 1525         <xs:simpleType>
 1526           <xs:restriction base="xs:string">
 1527             <xs:enumeration value="all" />
 1528             <xs:enumeration value="markup" />
 1529           </xs:restriction>
 1530         </xs:simpleType>
 1531       </xs:attribute>
 1532       <xs:attribute name="descriptor" type="xs:string" />
 1533       <xs:attribute name="render" type="xs:string" />
 1534       <xs:attributeGroup ref="common_atts" />
 1535       <xs:attribute name="xml:lang" type="xs:NMTOKEN" />
 1536     </xs:complexType>
 1537   </xs:element>
 1538   <xs:element name="local_attr">
 1539     <xs:complexType>
 1540       <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
 1541       <xs:attribute name="value" type="xs:string" use="required" />
 1542       <xs:attributeGroup ref="common_atts" />
 1543       <xs:attribute name="xml:lang" type="xs:NMTOKEN" />
 1544     </xs:complexType>
 1545   </xs:element>
 1546   <xs:element name="levelone">
 1547     <xs:complexType>
 1548       <xs:sequence>
 1549         <xs:element ref="clinical_document_header" />
 1550         <xs:element ref="body" />
 1551       </xs:sequence>
 1552       <xs:attributeGroup ref="body_atts" />
 1553     </xs:complexType>
 1554   </xs:element>
 1555   <xs:element name="body">
 1556     <xs:complexType>
 1557       <xs:choice>
 1558         <xs:element maxOccurs="unbounded" ref="section" />
 1559         <xs:element ref="non_xml" />
 1560       </xs:choice>
 1561       <xs:attributeGroup ref="body_atts" />
 1562     </xs:complexType>
 1563   </xs:element>
 1564   <xs:element name="section">
 1565     <xs:complexType>
 1566       <xs:sequence>
 1567         <xs:element minOccurs="0" ref="caption" />
 1568         <xs:choice minOccurs="0" maxOccurs="unbounded">
 1569           <xs:group ref="structures" />
 1570           <xs:element ref="section" />
 1571         </xs:choice>
 1572         <xs:element minOccurs="0" maxOccurs="unbounded" ref="coded_entry" />
 1573       </xs:sequence>
 1574       <xs:attributeGroup ref="body_atts" />
 1575     </xs:complexType>
 1576   </xs:element>
 1577   <xs:element name="non_xml">
 1578     <xs:complexType mixed="true">
 1579       <xs:choice minOccurs="0" maxOccurs="unbounded">
 1580         <xs:element ref="REF" />
 1581         <xs:element ref="THUMBNAIL" />
 1582         <xs:element ref="NOTE" />
 1583         <xs:element ref="CONFID" />
 1584       </xs:choice>
 1585       <xs:attributeGroup ref="common_atts" />
 1586       <xs:attribute name="originator" type="xs:IDREFS" />
 1587       <xs:attribute name="confidentiality" type="xs:IDREFS" />
 1588     </xs:complexType>
 1589   </xs:element>
 1590   <xs:element name="content">
 1591     <xs:complexType mixed="true">
 1592       <xs:sequence minOccurs="0" maxOccurs="unbounded">
 1593         <xs:group ref="entries" />
 1594       </xs:sequence>
 1595       <xs:attributeGroup ref="body_atts" />
 1596     </xs:complexType>
 1597   </xs:element>
 1598   <xs:element name="link">
 1599     <xs:complexType>
 1600       <xs:sequence>
 1601         <xs:element ref="link_html" />
 1602       </xs:sequence>
 1603       <xs:attributeGroup ref="body_atts" />
 1604     </xs:complexType>
 1605   </xs:element>
 1606   <xs:element name="link_html">
 1607     <xs:complexType>
 1608       <xs:simpleContent>
 1609         <xs:extension base="xs:string">
 1610           <xs:attribute name="name" type="xs:string" />
 1611           <xs:attribute name="href" type="xs:string" />
 1612           <xs:attribute name="rel" type="xs:string" />
 1613           <xs:attribute name="rev" type="xs:string" />
 1614           <xs:attribute name="title" type="xs:string" />
 1615         </xs:extension>
 1616       </xs:simpleContent>
 1617     </xs:complexType>
 1618   </xs:element>
 1619   <xs:element name="coded_entry">
 1620     <xs:complexType>
 1621       <xs:sequence>
 1622         <xs:element minOccurs="0" ref="coded_entry.id" />
 1623         <xs:element ref="coded_entry.value" />
 1624         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_markup" />
 1625       </xs:sequence>
 1626       <xs:attributeGroup ref="body_atts" />
 1627     </xs:complexType>
 1628   </xs:element>
 1629   <xs:element name="coded_entry.id">
 1630     <xs:complexType>
 1631       <xs:group ref="II-cont.model" />
 1632       <xs:attributeGroup ref="common_atts" />
 1633       <xs:attributeGroup ref="II-attrib.list" />
 1634     </xs:complexType>
 1635   </xs:element>
 1636   <xs:element name="coded_entry.value">
 1637     <xs:complexType>
 1638       <xs:group ref="CD-cont.model" />
 1639       <xs:attributeGroup ref="CD-attrib.list" />
 1640       <xs:attributeGroup ref="common_atts" />
 1641     </xs:complexType>
 1642   </xs:element>
 1643   <xs:element name="observation_media">
 1644     <xs:complexType>
 1645       <xs:sequence>
 1646         <xs:element minOccurs="0" ref="observation_media.id" />
 1647         <xs:element ref="observation_media.value" />
 1648         <xs:element minOccurs="0" maxOccurs="unbounded" ref="local_markup" />
 1649       </xs:sequence>
 1650       <xs:attributeGroup ref="body_atts" />
 1651       <xs:attribute name="HL7-NAME" type="xs:string" fixed="observation" />
 1652       <xs:attribute name="T" type="xs:string" fixed="observation" />
 1653     </xs:complexType>
 1654   </xs:element>
 1655   <xs:element name="observation_media.id">
 1656     <xs:complexType>
 1657       <xs:group ref="II-cont.model" />
 1658       <xs:attributeGroup ref="common_atts" />
 1659       <xs:attributeGroup ref="II-attrib.list" />
 1660       <xs:attribute name="HL7-NAME" type="xs:string" fixed="id" />
 1661     </xs:complexType>
 1662   </xs:element>
 1663   <xs:element name="observation_media.value">
 1664     <xs:complexType mixed="true">
 1665       <xs:choice minOccurs="0" maxOccurs="unbounded">
 1666         <xs:element ref="REF" />
 1667         <xs:element ref="THUMBNAIL" />
 1668         <xs:element ref="NOTE" />
 1669         <xs:element ref="CONFID" />
 1670       </xs:choice>
 1671       <xs:attributeGroup ref="common_atts" />
 1672       <xs:attributeGroup ref="ED-attrib.list" />
 1673       <xs:attribute name="HL7-NAME" type="xs:string" fixed="value" />
 1674     </xs:complexType>
 1675   </xs:element>
 1676   <xs:element name="local_markup">
 1677     <xs:complexType mixed="true">
 1678       <xs:choice minOccurs="0" maxOccurs="unbounded">
 1679         <xs:group ref="entries" />
 1680         <xs:element ref="local_attr" />
 1681       </xs:choice>
 1682       <xs:attribute name="ignore" default="markup">
 1683         <xs:simpleType>
 1684           <xs:restriction base="xs:string">
 1685             <xs:enumeration value="all" />
 1686             <xs:enumeration value="markup" />
 1687           </xs:restriction>
 1688         </xs:simpleType>
 1689       </xs:attribute>
 1690       <xs:attribute name="descriptor" type="xs:string" />
 1691       <xs:attribute name="render" type="xs:string" />
 1692     </xs:complexType>
 1693   </xs:element>
 1694   <xs:element name="paragraph">
 1695     <xs:complexType>
 1696       <xs:sequence>
 1697         <xs:element minOccurs="0" ref="caption" />
 1698         <xs:element minOccurs="0" maxOccurs="unbounded" ref="content" />
 1699       </xs:sequence>
 1700       <xs:attributeGroup ref="body_atts" />
 1701     </xs:complexType>
 1702   </xs:element>
 1703   <xs:element name="list">
 1704     <xs:complexType>
 1705       <xs:sequence>
 1706         <xs:element minOccurs="0" ref="caption" />
 1707         <xs:element maxOccurs="unbounded" ref="item" />
 1708       </xs:sequence>
 1709       <xs:attributeGroup ref="body_atts" />
 1710       <xs:attribute name="list_type" default="unordered">
 1711         <xs:simpleType>
 1712           <xs:restriction base="xs:string">
 1713             <xs:enumeration value="ordered" />
 1714             <xs:enumeration value="unordered" />
 1715           </xs:restriction>
 1716         </xs:simpleType>
 1717       </xs:attribute>
 1718     </xs:complexType>
 1719   </xs:element>
 1720   <xs:element name="item">
 1721     <xs:complexType>
 1722       <xs:sequence>
 1723         <xs:element minOccurs="0" ref="caption" />
 1724         <xs:choice minOccurs="0" maxOccurs="unbounded">
 1725           <xs:element ref="content" />
 1726           <xs:group ref="structures" />
 1727         </xs:choice>
 1728       </xs:sequence>
 1729       <xs:attributeGroup ref="body_atts" />
 1730     </xs:complexType>
 1731   </xs:element>
 1732   <xs:element name="table">
 1733     <xs:complexType>
 1734       <xs:sequence>
 1735         <xs:element minOccurs="0" ref="caption" />
 1736         <xs:choice>
 1737           <xs:element minOccurs="0" maxOccurs="unbounded" ref="col" />
 1738           <xs:element minOccurs="0" maxOccurs="unbounded" ref="colgroup" />
 1739         </xs:choice>
 1740         <xs:element minOccurs="0" ref="thead" />
 1741         <xs:element minOccurs="0" ref="tfoot" />
 1742         <xs:choice>
 1743           <xs:element maxOccurs="unbounded" ref="tbody" />
 1744           <xs:element maxOccurs="unbounded" ref="tr" />
 1745         </xs:choice>
 1746       </xs:sequence>
 1747       <xs:attributeGroup ref="body_atts" />
 1748       <xs:attribute name="summary" type="Text" />
 1749       <xs:attribute name="width" type="Length" />
 1750       <xs:attribute name="border" type="Pixels" />
 1751       <xs:attribute name="frame" type="TFrame" />
 1752       <xs:attribute name="rules" type="TRules" />
 1753       <xs:attribute name="cellspacing" type="Length" />
 1754       <xs:attribute name="cellpadding" type="Length" />
 1755     </xs:complexType>
 1756   </xs:element>
 1757   <xs:element name="caption">
 1758     <xs:complexType mixed="true">
 1759       <xs:choice minOccurs="0" maxOccurs="unbounded">
 1760         <xs:element ref="link" />
 1761         <xs:element ref="caption_cd" />
 1762       </xs:choice>
 1763       <xs:attributeGroup ref="body_atts" />
 1764     </xs:complexType>
 1765   </xs:element>
 1766   <xs:element name="caption_cd">
 1767     <xs:complexType>
 1768       <xs:group ref="CE-cont.model" />
 1769       <xs:attributeGroup ref="body_atts" />
 1770       <xs:attributeGroup ref="CE-attrib.list" />
 1771     </xs:complexType>
 1772   </xs:element>
 1773   <xs:element name="thead">
 1774     <xs:complexType>
 1775       <xs:sequence maxOccurs="unbounded">
 1776         <xs:element ref="tr" />
 1777       </xs:sequence>
 1778       <xs:attributeGroup ref="body_atts" />
 1779       <xs:attributeGroup ref="cellhalign" />
 1780       <xs:attributeGroup ref="cellvalign" />
 1781     </xs:complexType>
 1782   </xs:element>
 1783   <xs:element name="tfoot">
 1784     <xs:complexType>
 1785       <xs:sequence maxOccurs="unbounded">
 1786         <xs:element ref="tr" />
 1787       </xs:sequence>
 1788       <xs:attributeGroup ref="body_atts" />
 1789       <xs:attributeGroup ref="cellhalign" />
 1790       <xs:attributeGroup ref="cellvalign" />
 1791     </xs:complexType>
 1792   </xs:element>
 1793   <xs:element name="tbody">
 1794     <xs:complexType>
 1795       <xs:sequence maxOccurs="unbounded">
 1796         <xs:element ref="tr" />
 1797       </xs:sequence>
 1798       <xs:attributeGroup ref="body_atts" />
 1799       <xs:attributeGroup ref="cellhalign" />
 1800       <xs:attributeGroup ref="cellvalign" />
 1801     </xs:complexType>
 1802   </xs:element>
 1803   <xs:element name="colgroup">
 1804     <xs:complexType>
 1805       <xs:sequence minOccurs="0" maxOccurs="unbounded">
 1806         <xs:element ref="col" />
 1807       </xs:sequence>
 1808       <xs:attributeGroup ref="body_atts" />
 1809       <xs:attribute name="span" type="Number" default="1" />
 1810       <xs:attribute name="width" type="MultiLength" />
 1811       <xs:attributeGroup ref="cellhalign" />
 1812       <xs:attributeGroup ref="cellvalign" />
 1813     </xs:complexType>
 1814   </xs:element>
 1815   <xs:element name="col">
 1816     <xs:complexType>
 1817       <xs:attributeGroup ref="body_atts" />
 1818       <xs:attribute name="span" type="Number" default="1" />
 1819       <xs:attribute name="width" type="MultiLength" />
 1820       <xs:attributeGroup ref="cellhalign" />
 1821       <xs:attributeGroup ref="cellvalign" />
 1822     </xs:complexType>
 1823   </xs:element>
 1824   <xs:element name="tr">
 1825     <xs:complexType>
 1826       <xs:choice maxOccurs="unbounded">
 1827         <xs:element ref="th" />
 1828         <xs:element ref="td" />
 1829       </xs:choice>
 1830       <xs:attributeGroup ref="body_atts" />
 1831       <xs:attributeGroup ref="cellhalign" />
 1832       <xs:attributeGroup ref="cellvalign" />
 1833     </xs:complexType>
 1834   </xs:element>
 1835   <xs:element name="th">
 1836     <xs:complexType mixed="true">
 1837       <xs:choice minOccurs="0" maxOccurs="unbounded">
 1838         <xs:element ref="link" />
 1839         <xs:element ref="caption_cd" />
 1840       </xs:choice>
 1841       <xs:attributeGroup ref="body_atts" />
 1842       <xs:attribute name="abbr" type="Text" />
 1843       <xs:attribute name="axis" type="xs:string" />
 1844       <xs:attribute name="headers" type="xs:IDREFS" />
 1845       <xs:attribute name="scope" type="Scope" />
 1846       <xs:attribute name="rowspan" type="Number" default="1" />
 1847       <xs:attribute name="colspan" type="Number" default="1" />
 1848       <xs:attributeGroup ref="cellhalign" />
 1849       <xs:attributeGroup ref="cellvalign" />
 1850     </xs:complexType>
 1851   </xs:element>
 1852   <xs:element name="td">
 1853     <xs:complexType mixed="true">
 1854       <xs:choice minOccurs="0" maxOccurs="unbounded">
 1855         <xs:group ref="entries" />
 1856         <xs:element ref="paragraph" />
 1857         <xs:element ref="list" />
 1858       </xs:choice>
 1859       <xs:attributeGroup ref="body_atts" />
 1860       <xs:attribute name="abbr" type="Text" />
 1861       <xs:attribute name="axis" type="xs:string" />
 1862       <xs:attribute name="headers" type="xs:IDREFS" />
 1863       <xs:attribute name="scope" type="Scope" />
 1864       <xs:attribute name="rowspan" type="Number" default="1" />
 1865       <xs:attribute name="colspan" type="Number" default="1" />
 1866       <xs:attributeGroup ref="cellhalign" />
 1867       <xs:attributeGroup ref="cellvalign" />
 1868     </xs:complexType>
 1869   </xs:element>
 1870 </xs:schema>