3420. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/9/2017 3:50:14 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

3420.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:50:14 2017 UTC
2 eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-ext-svc-proxy\src\archive\resources\schemas\multicacheschemas POCD_MT000040.xsd Fri Apr 21 20:03:26 2017 UTC

3420.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 1 1375
Removed 0 0

3420.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

3420.4 Active regular expressions

No regular expressions were active.

3420.5 Comparison detail

        1   <?xml vers ion="1.0"  encoding=" UTF-8" sta ndalone="n o"?>
        2   <xs:schema  xmlns:mif ="urn:hl7- org:v3/mif " xmlns="u rn:hl7-org :v3" xmlns :xs="http: //www.w3.o rg/2001/XM LSchema" x mlns:jxb=" http://jav a.sun.com/ xml/ns/jax b" targetN amespace=" urn:hl7-or g:v3" elem entFormDef ault="qual ified" jxb :version=" 1.0">
        3           <! --
        4   ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ***
        5   * XML sche ma for mes sage type  POCD_MT000 040.
        6   * Generate d by XMLIT S version  2.0
        7   *
        8   * Copyrigh t (c) 2002 , 2003, 20 04, 2005 H ealth Leve l Seven. A ll rights  reserved.
        9   *  Redistr ibution an d use in s ource and  binary for ms, with o r without
        10   *  modific ation, are  permitted  provided  that the f ollowing c onditions
        11   *  are met :
        12   *  1. Redi stribution s of sourc e code mus t retain t he above c opyright
        13   *     noti ce, this l ist of con ditions an d the foll owing disc laimer.
        14   *  2. Redi stribution s in binar y form mus t reproduc e the abov e copyrigh t
        15   *     noti ce, this l ist of con ditions an d the foll owing disc laimer in  the
        16   *     docu mentation  and/or oth er materia ls provide d with the  distribut ion.
        17   *  3. All  advertisin g material s mentioni ng feature s or use o f this sof tware
        18   *     must  display t he followi ng acknowl edgement:
        19   *       Th is product  includes  software d eveloped b y Health L evel Seven .
        20   *  THIS SO FTWARE IS  PROVIDED B Y HEALTH L EVEL SEVEN , INC. AND  CONTRIBUT ORS "AS IS " AND
        21   *  ANY EXP RESS OR IM PLIED WARR ANTIES, IN CLUDING, B UT NOT LIM ITED TO, T HE
        22   *  IMPLIED  WARRANTIE S OF MERCH ANTABILITY  AND FITNE SS FOR A P ARTICULAR  PURPOSE
        23   *  ARE DIS CLAIMED.   IN NO EVEN T SHALL TH E REGENTS  OR CONTRIB UTORS BE L IABLE
        24   *  FOR ANY  DIRECT, I NDIRECT, I NCIDENTAL,  SPECIAL,  EXEMPLARY,  OR CONSEQ UENTIAL
        25   *  DAMAGES  (INCLUDIN G, BUT NOT  LIMITED T O, PROCURE MENT OF SU BSTITUTE G OODS
        26   *  OR SERV ICES; LOSS  OF USE, D ATA, OR PR OFITS; OR  BUSINESS I NTERRUPTIO N)
        27   *  HOWEVER  CAUSED AN D ON ANY T HEORY OF L IABILITY,  WHETHER IN  CONTRACT,  STRICT
        28   *  LIABILI TY, OR TOR T (INCLUDI NG NEGLIGE NCE OR OTH ERWISE) AR ISING IN A NY WAY
        29   *  OUT OF  THE USE OF  THIS SOFT WARE, EVEN  IF ADVISE D OF THE P OSSIBILITY  OF
        30   *  SUCH DA MAGE.
        31   *
        32   ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ********** ******
        33              -->
        34           <x s:annotati on>
        35                    <xs: documentat ion>Genera ted using  schema bui lder versi on 2.0. St ylesheets:
        36   RoseTreeTo MIFStaticM odel.xsl v ersion: 1. 1
        37   StaticMifT oXsd.xsl v ersion 2.0 </xs:docum entation>
        38           </ xs:annotat ion>
        39           <x s:include  schemaLoca tion="../c oreschemas /datatypes .xsd"/>
        40           <x s:include  schemaLoca tion="../c oreschemas /voc.xsd"/ >
        41           <x s:include  schemaLoca tion="../c oreschemas /Narrative Block.xsd" />
        42           <x s:complexT ype name=" POCD_MT000 040.Infras tructureRo ot.typeId" >
        43                    <xs: complexCon tent>
        44                             <xs:re striction  base="II">
        45                                      <xs:attr ibute name ="root" ty pe="uid" u se="requir ed" fixed= "2.16.840. 1.113883.1 .3"/>
        46                                      <xs:attr ibute name ="extensio n" type="s t" use="re quired"/>
        47                             </xs:r estriction >
        48                    </xs :complexCo ntent>
        49           </ xs:complex Type>
        50           <x s:complexT ype name=" POCD_MT000 040.Act">
        51                    <xs: sequence>
        52                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        53                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        54                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        55                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        56                             <xs:el ement name ="code" ty pe="CD"/>
        57                             <xs:el ement name ="text" ty pe="ED_exp licit" min Occurs="0" />
        58                             <xs:el ement name ="statusCo de" type=" CS" minOcc urs="0"/>
        59                             <xs:el ement name ="effectiv eTime" typ e="IVL_TS_ explicit"  minOccurs= "0"/>
        60                             <xs:el ement name ="priority Code" type ="CE" minO ccurs="0"/ >
        61                             <xs:el ement name ="language Code" type ="CS" minO ccurs="0"/ >
        62                             <xs:el ement name ="subject"  type="POC D_MT000040 .Subject"  minOccurs= "0"/>
        63                             <xs:el ement name ="specimen " type="PO CD_MT00004 0.Specimen " minOccur s="0" maxO ccurs="unb ounded"/>
        64                             <xs:el ement name ="performe r" type="P OCD_MT0000 40.Perform er2" minOc curs="0" m axOccurs=" unbounded" />
        65                             <xs:el ement name ="author"  type="POCD _MT000040. Author" mi nOccurs="0 " maxOccur s="unbound ed"/>
        66                             <xs:el ement name ="informan t" type="P OCD_MT0000 40.Informa nt12" minO ccurs="0"  maxOccurs= "unbounded "/>
        67                             <xs:el ement name ="particip ant" type= "POCD_MT00 0040.Parti cipant2" m inOccurs=" 0" maxOccu rs="unboun ded"/>
        68                             <xs:el ement name ="entryRel ationship"  type="POC D_MT000040 .EntryRela tionship"  minOccurs= "0" maxOcc urs="unbou nded"/>
        69                             <xs:el ement name ="referenc e" type="P OCD_MT0000 40.Referen ce" minOcc urs="0" ma xOccurs="u nbounded"/ >
        70                             <xs:el ement name ="precondi tion" type ="POCD_MT0 00040.Prec ondition"  minOccurs= "0" maxOcc urs="unbou nded"/>
        71                    </xs :sequence>
        72                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        73                    <xs: attribute  name="clas sCode" typ e="x_ActCl assDocumen tEntryAct"  use="requ ired"/>
        74                    <xs: attribute  name="mood Code" type ="x_Docume ntActMood"  use="requ ired"/>
        75                    <xs: attribute  name="nega tionInd" t ype="bl" u se="option al"/>
        76           </ xs:complex Type>
        77           <x s:complexT ype name=" POCD_MT000 040.Assign edAuthor">
        78                    <xs: sequence>
        79                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        80                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        81                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        82                             <xs:el ement name ="id" type ="II" maxO ccurs="unb ounded"/>
        83                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        84                             <xs:el ement name ="addr" ty pe="AD_exp licit" min Occurs="0"  maxOccurs ="unbounde d"/>
        85                             <xs:el ement name ="telecom"  type="TEL _explicit"  minOccurs ="0" maxOc curs="unbo unded"/>
        86                             <xs:ch oice>
        87                                      <xs:elem ent name=" assignedPe rson" type ="POCD_MT0 00040.Pers on" minOcc urs="0"/>
        88                                      <xs:elem ent name=" assignedAu thoringDev ice" type= "POCD_MT00 0040.Autho ringDevice " minOccur s="0"/>
        89                             </xs:c hoice>
        90                             <xs:el ement name ="represen tedOrganiz ation" typ e="POCD_MT 000040.Org anization"  minOccurs ="0"/>
        91                    </xs :sequence>
        92                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        93                    <xs: attribute  name="clas sCode" typ e="RoleCla ssAssigned Entity" us e="optiona l" fixed=" ASSIGNED"/ >
        94           </ xs:complex Type>
        95           <x s:complexT ype name=" POCD_MT000 040.Assign edCustodia n">
        96                    <xs: sequence>
        97                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        98                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        99                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        100                             <xs:el ement name ="represen tedCustodi anOrganiza tion" type ="POCD_MT0 00040.Cust odianOrgan ization"/>
        101                    </xs :sequence>
        102                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        103                    <xs: attribute  name="clas sCode" typ e="RoleCla ssAssigned Entity" us e="optiona l" fixed=" ASSIGNED"/ >
        104           </ xs:complex Type>
        105           <x s:complexT ype name=" POCD_MT000 040.Assign edEntity">
        106                    <xs: sequence>
        107                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        108                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        109                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        110                             <xs:el ement name ="id" type ="II" maxO ccurs="unb ounded"/>
        111                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        112                             <xs:el ement name ="addr" ty pe="AD_exp licit" min Occurs="0"  maxOccurs ="unbounde d"/>
        113                             <xs:el ement name ="telecom"  type="TEL _explicit"  minOccurs ="0" maxOc curs="unbo unded"/>
        114                             <xs:el ement name ="assigned Person" ty pe="POCD_M T000040.Pe rson" minO ccurs="0"/ >
        115                             <xs:el ement name ="represen tedOrganiz ation" typ e="POCD_MT 000040.Org anization"  minOccurs ="0"/>
        116                    </xs :sequence>
        117                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        118                    <xs: attribute  name="clas sCode" typ e="RoleCla ssAssigned Entity" us e="optiona l" fixed=" ASSIGNED"/ >
        119           </ xs:complex Type>
        120           <x s:complexT ype name=" POCD_MT000 040.Associ atedEntity ">
        121                    <xs: sequence>
        122                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        123                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        124                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        125                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        126                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        127                             <xs:el ement name ="addr" ty pe="AD_exp licit" min Occurs="0"  maxOccurs ="unbounde d"/>
        128                             <xs:el ement name ="telecom"  type="TEL _explicit"  minOccurs ="0" maxOc curs="unbo unded"/>
        129                             <xs:el ement name ="associat edPerson"  type="POCD _MT000040. Person" mi nOccurs="0 "/>
        130                             <xs:el ement name ="scopingO rganizatio n" type="P OCD_MT0000 40.Organiz ation" min Occurs="0" />
        131                    </xs :sequence>
        132                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        133                    <xs: attribute  name="clas sCode" typ e="RoleCla ssAssociat ive" use=" required"/ >
        134           </ xs:complex Type>
        135           <x s:complexT ype name=" POCD_MT000 040.Authen ticator">
        136                    <xs: sequence>
        137                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        138                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        139                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        140                             <xs:el ement name ="time" ty pe="TS_exp licit"/>
        141                             <xs:el ement name ="signatur eCode" typ e="CS"/>
        142                             <xs:el ement name ="assigned Entity" ty pe="POCD_M T000040.As signedEnti ty"/>
        143                    </xs :sequence>
        144                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        145                    <xs: attribute  name="type Code" type ="Particip ationType"  use="opti onal" fixe d="AUTHEN" />
        146           </ xs:complex Type>
        147           <x s:complexT ype name=" POCD_MT000 040.Author ">
        148                    <xs: sequence>
        149                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        150                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        151                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        152                             <xs:el ement name ="function Code" type ="CE" minO ccurs="0"/ >
        153                             <xs:el ement name ="time" ty pe="TS_exp licit"/>
        154                             <xs:el ement name ="assigned Author" ty pe="POCD_M T000040.As signedAuth or"/>
        155                    </xs :sequence>
        156                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        157                    <xs: attribute  name="type Code" type ="Particip ationType"  use="opti onal" fixe d="AUT"/>
        158                    <xs: attribute  name="cont extControl Code" type ="ContextC ontrol" us e="optiona l" fixed=" OP"/>
        159           </ xs:complex Type>
        160           <x s:complexT ype name=" POCD_MT000 040.Author ingDevice" >
        161                    <xs: sequence>
        162                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        163                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        164                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        165                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        166                             <xs:el ement name ="manufact urerModelN ame" type= "SC_explic it" minOcc urs="0"/>
        167                             <xs:el ement name ="software Name" type ="SC_expli cit" minOc curs="0"/>
        168                             <xs:el ement name ="asMainta inedEntity " type="PO CD_MT00004 0.Maintain edEntity"  minOccurs= "0" maxOcc urs="unbou nded"/>
        169                    </xs :sequence>
        170                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        171                    <xs: attribute  name="clas sCode" typ e="EntityC lassDevice " use="opt ional" fix ed="DEV"/>
        172                    <xs: attribute  name="dete rminerCode " type="En tityDeterm iner" use= "optional"  fixed="IN STANCE"/>
        173           </ xs:complex Type>
        174           <x s:complexT ype name=" POCD_MT000 040.Author ization">
        175                    <xs: sequence>
        176                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        177                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        178                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        179                             <xs:el ement name ="consent"  type="POC D_MT000040 .Consent"/ >
        180                    </xs :sequence>
        181                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        182                    <xs: attribute  name="type Code" type ="ActRelat ionshipTyp e" use="op tional" fi xed="AUTH" />
        183           </ xs:complex Type>
        184           <x s:complexT ype name=" POCD_MT000 040.Birthp lace">
        185                    <xs: sequence>
        186                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        187                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        188                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        189                             <xs:el ement name ="place" t ype="POCD_ MT000040.P lace"/>
        190                    </xs :sequence>
        191                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        192                    <xs: attribute  name="clas sCode" typ e="RoleCla ss" use="o ptional" f ixed="BIRT HPL"/>
        193           </ xs:complex Type>
        194           <x s:complexT ype name=" POCD_MT000 040.Clinic alDocument ">
        195                    <xs: sequence>
        196                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        197                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId"/>
        198                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        199                             <xs:el ement name ="id" type ="II"/>
        200                             <xs:el ement name ="code" ty pe="CE"/>
        201                             <xs:el ement name ="title" t ype="ST_ex plicit" mi nOccurs="0 "/>
        202                             <xs:el ement name ="effectiv eTime" typ e="TS_expl icit"/>
        203                             <xs:el ement name ="confiden tialityCod e" type="C E"/>
        204                             <xs:el ement name ="language Code" type ="CS" minO ccurs="0"/ >
        205                             <xs:el ement name ="setId" t ype="II" m inOccurs=" 0"/>
        206                             <xs:el ement name ="versionN umber" typ e="INT" mi nOccurs="0 "/>
        207                             <xs:el ement name ="copyTime " type="TS _explicit"  minOccurs ="0"/>
        208                             <xs:el ement name ="recordTa rget" type ="POCD_MT0 00040.Reco rdTarget"  maxOccurs= "unbounded "/>
        209                             <xs:el ement name ="author"  type="POCD _MT000040. Author" ma xOccurs="u nbounded"/ >
        210                             <xs:el ement name ="dataEnte rer" type= "POCD_MT00 0040.DataE nterer" mi nOccurs="0 "/>
        211                             <xs:el ement name ="informan t" type="P OCD_MT0000 40.Informa nt12" minO ccurs="0"  maxOccurs= "unbounded "/>
        212                             <xs:el ement name ="custodia n" type="P OCD_MT0000 40.Custodi an"/>
        213                             <xs:el ement name ="informat ionRecipie nt" type=" POCD_MT000 040.Inform ationRecip ient" minO ccurs="0"  maxOccurs= "unbounded "/>
        214                             <xs:el ement name ="legalAut henticator " type="PO CD_MT00004 0.LegalAut henticator " minOccur s="0"/>
        215                             <xs:el ement name ="authenti cator" typ e="POCD_MT 000040.Aut henticator " minOccur s="0" maxO ccurs="unb ounded"/>
        216                             <xs:el ement name ="particip ant" type= "POCD_MT00 0040.Parti cipant1" m inOccurs=" 0" maxOccu rs="unboun ded"/>
        217                             <xs:el ement name ="inFulfil lmentOf" t ype="POCD_ MT000040.I nFulfillme ntOf" minO ccurs="0"  maxOccurs= "unbounded "/>
        218                             <xs:el ement name ="document ationOf" t ype="POCD_ MT000040.D ocumentati onOf" minO ccurs="0"  maxOccurs= "unbounded "/>
        219                             <xs:el ement name ="relatedD ocument" t ype="POCD_ MT000040.R elatedDocu ment" minO ccurs="0"  maxOccurs= "unbounded "/>
        220                             <xs:el ement name ="authoriz ation" typ e="POCD_MT 000040.Aut horization " minOccur s="0" maxO ccurs="unb ounded"/>
        221                             <xs:el ement name ="componen tOf" type= "POCD_MT00 0040.Compo nent1" min Occurs="0" />
        222                             <xs:el ement name ="componen t" type="P OCD_MT0000 40.Compone nt2"/>
        223                    </xs :sequence>
        224                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        225                    <xs: attribute  name="clas sCode" typ e="ActClas sClinicalD ocument" u se="option al" fixed= "DOCCLIN"/ >
        226                    <xs: attribute  name="mood Code" type ="ActMood"  use="opti onal" fixe d="EVN"/>
        227           </ xs:complex Type>
        228           <x s:complexT ype name=" POCD_MT000 040.Compon ent1">
        229                    <xs: sequence>
        230                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        231                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        232                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        233                             <xs:el ement name ="encompas singEncoun ter" type= "POCD_MT00 0040.Encom passingEnc ounter"/>
        234                    </xs :sequence>
        235                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        236                    <xs: attribute  name="type Code" type ="ActRelat ionshipHas Component"  use="opti onal" fixe d="COMP"/>
        237           </ xs:complex Type>
        238           <x s:complexT ype name=" POCD_MT000 040.Compon ent2">
        239                    <xs: sequence>
        240                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        241                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        242                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        243                             <xs:ch oice>
        244                                      <xs:elem ent name=" nonXMLBody " type="PO CD_MT00004 0.NonXMLBo dy"/>
        245                                      <xs:elem ent name=" structured Body" type ="POCD_MT0 00040.Stru cturedBody "/>
        246                             </xs:c hoice>
        247                    </xs :sequence>
        248                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        249                    <xs: attribute  name="type Code" type ="ActRelat ionshipHas Component"  use="opti onal" fixe d="COMP"/>
        250                    <xs: attribute  name="cont extConduct ionInd" ty pe="bl" us e="optiona l" fixed=" true"/>
        251           </ xs:complex Type>
        252           <x s:complexT ype name=" POCD_MT000 040.Compon ent3">
        253                    <xs: sequence>
        254                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        255                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        256                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        257                             <xs:el ement name ="section"  type="POC D_MT000040 .Section"/ >
        258                    </xs :sequence>
        259                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        260                    <xs: attribute  name="type Code" type ="ActRelat ionshipHas Component"  use="opti onal" fixe d="COMP"/>
        261                    <xs: attribute  name="cont extConduct ionInd" ty pe="bl" us e="optiona l" fixed=" true"/>
        262           </ xs:complex Type>
        263           <x s:complexT ype name=" POCD_MT000 040.Compon ent4">
        264                    <xs: sequence>
        265                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        266                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        267                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        268                             <xs:el ement name ="sequence Number" ty pe="INT" m inOccurs=" 0"/>
        269                             <xs:el ement name ="seperata bleInd" ty pe="BL" mi nOccurs="0 "/>
        270                             <xs:ch oice>
        271                                      <xs:elem ent name=" act" type= "POCD_MT00 0040.Act"/ >
        272                                      <xs:elem ent name=" encounter"  type="POC D_MT000040 .Encounter "/>
        273                                      <xs:elem ent name=" observatio n" type="P OCD_MT0000 40.Observa tion"/>
        274                                      <xs:elem ent name=" observatio nMedia" ty pe="POCD_M T000040.Ob servationM edia"/>
        275                                      <xs:elem ent name=" organizer"  type="POC D_MT000040 .Organizer "/>
        276                                      <xs:elem ent name=" procedure"  type="POC D_MT000040 .Procedure "/>
        277                                      <xs:elem ent name=" regionOfIn terest" ty pe="POCD_M T000040.Re gionOfInte rest"/>
        278                                      <xs:elem ent name=" substanceA dministrat ion" type= "POCD_MT00 0040.Subst anceAdmini stration"/ >
        279                                      <xs:elem ent name=" supply" ty pe="POCD_M T000040.Su pply"/>
        280                             </xs:c hoice>
        281                    </xs :sequence>
        282                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        283                    <xs: attribute  name="type Code" type ="ActRelat ionshipHas Component"  use="opti onal" fixe d="COMP"/>
        284                    <xs: attribute  name="cont extConduct ionInd" ty pe="bl" us e="optiona l" fixed=" true"/>
        285           </ xs:complex Type>
        286           <x s:complexT ype name=" POCD_MT000 040.Compon ent5">
        287                    <xs: sequence>
        288                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        289                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        290                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        291                             <xs:el ement name ="section"  type="POC D_MT000040 .Section"/ >
        292                    </xs :sequence>
        293                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        294                    <xs: attribute  name="type Code" type ="ActRelat ionshipHas Component"  use="opti onal" fixe d="COMP"/>
        295                    <xs: attribute  name="cont extConduct ionInd" ty pe="bl" us e="optiona l" fixed=" true"/>
        296           </ xs:complex Type>
        297           <x s:complexT ype name=" POCD_MT000 040.Consen t">
        298                    <xs: sequence>
        299                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        300                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        301                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        302                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        303                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        304                             <xs:el ement name ="statusCo de" type=" CS"/>
        305                    </xs :sequence>
        306                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        307                    <xs: attribute  name="clas sCode" typ e="ActClas s" use="op tional" fi xed="CONS" />
        308                    <xs: attribute  name="mood Code" type ="ActMood"  use="opti onal" fixe d="EVN"/>
        309           </ xs:complex Type>
        310           <x s:complexT ype name=" POCD_MT000 040.Consum able">
        311                    <xs: sequence>
        312                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        313                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        314                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        315                             <xs:el ement name ="manufact uredProduc t" type="P OCD_MT0000 40.Manufac turedProdu ct"/>
        316                    </xs :sequence>
        317                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        318                    <xs: attribute  name="type Code" type ="Particip ationType"  use="opti onal" fixe d="CSM"/>
        319           </ xs:complex Type>
        320           <x s:complexT ype name=" POCD_MT000 040.Criter ion">
        321                    <xs: sequence>
        322                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        323                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        324                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        325                             <xs:el ement name ="code" ty pe="CD" mi nOccurs="0 "/>
        326                             <xs:el ement name ="text" ty pe="ED_exp licit" min Occurs="0" />
        327                             <xs:el ement name ="value" t ype="ANY"  minOccurs= "0"/>
        328                    </xs :sequence>
        329                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        330                    <xs: attribute  name="clas sCode" typ e="ActClas sObservati on" use="o ptional" d efault="OB S"/>
        331                    <xs: attribute  name="mood Code" type ="ActMood"  use="opti onal" fixe d="EVN.CRT "/>
        332           </ xs:complex Type>
        333           <x s:complexT ype name=" POCD_MT000 040.Custod ian">
        334                    <xs: sequence>
        335                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        336                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        337                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        338                             <xs:el ement name ="assigned Custodian"  type="POC D_MT000040 .AssignedC ustodian"/ >
        339                    </xs :sequence>
        340                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        341                    <xs: attribute  name="type Code" type ="Particip ationType"  use="opti onal" fixe d="CST"/>
        342           </ xs:complex Type>
        343           <x s:complexT ype name=" POCD_MT000 040.Custod ianOrganiz ation">
        344                    <xs: sequence>
        345                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        346                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        347                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        348                             <xs:el ement name ="id" type ="II" maxO ccurs="unb ounded"/>
        349                             <xs:el ement name ="name" ty pe="ON_exp licit" min Occurs="0" />
        350                             <xs:el ement name ="telecom"  type="TEL _explicit"  minOccurs ="0"/>
        351                             <xs:el ement name ="addr" ty pe="AD_exp licit" min Occurs="0" />
        352                    </xs :sequence>
        353                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        354                    <xs: attribute  name="clas sCode" typ e="EntityC lassOrgani zation" us e="optiona l" fixed=" ORG"/>
        355                    <xs: attribute  name="dete rminerCode " type="En tityDeterm iner" use= "optional"  fixed="IN STANCE"/>
        356           </ xs:complex Type>
        357           <x s:complexT ype name=" POCD_MT000 040.DataEn terer">
        358                    <xs: sequence>
        359                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        360                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        361                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        362                             <xs:el ement name ="time" ty pe="TS_exp licit" min Occurs="0" />
        363                             <xs:el ement name ="assigned Entity" ty pe="POCD_M T000040.As signedEnti ty"/>
        364                    </xs :sequence>
        365                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        366                    <xs: attribute  name="type Code" type ="Particip ationType"  use="opti onal" fixe d="ENT"/>
        367                    <xs: attribute  name="cont extControl Code" type ="ContextC ontrol" us e="optiona l" fixed=" OP"/>
        368           </ xs:complex Type>
        369           <x s:complexT ype name=" POCD_MT000 040.Device ">
        370                    <xs: sequence>
        371                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        372                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        373                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        374                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        375                             <xs:el ement name ="manufact urerModelN ame" type= "SC_explic it" minOcc urs="0"/>
        376                             <xs:el ement name ="software Name" type ="SC_expli cit" minOc curs="0"/>
        377                    </xs :sequence>
        378                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        379                    <xs: attribute  name="clas sCode" typ e="EntityC lassDevice " use="opt ional" def ault="DEV" />
        380                    <xs: attribute  name="dete rminerCode " type="En tityDeterm iner" use= "optional"  fixed="IN STANCE"/>
        381           </ xs:complex Type>
        382           <x s:complexT ype name=" POCD_MT000 040.Docume ntationOf" >
        383                    <xs: sequence>
        384                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        385                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        386                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        387                             <xs:el ement name ="serviceE vent" type ="POCD_MT0 00040.Serv iceEvent"/ >
        388                    </xs :sequence>
        389                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        390                    <xs: attribute  name="type Code" type ="ActRelat ionshipTyp e" use="op tional" fi xed="DOC"/ >
        391           </ xs:complex Type>
        392           <x s:complexT ype name=" POCD_MT000 040.Encomp assingEnco unter">
        393                    <xs: sequence>
        394                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        395                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        396                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        397                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        398                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        399                             <xs:el ement name ="effectiv eTime" typ e="IVL_TS_ explicit"/ >
        400                             <xs:el ement name ="discharg eDispositi onCode" ty pe="CE" mi nOccurs="0 "/>
        401                             <xs:el ement name ="responsi bleParty"  type="POCD _MT000040. Responsibl eParty" mi nOccurs="0 "/>
        402                             <xs:el ement name ="encounte rParticipa nt" type=" POCD_MT000 040.Encoun terPartici pant" minO ccurs="0"  maxOccurs= "unbounded "/>
        403                             <xs:el ement name ="location " type="PO CD_MT00004 0.Location " minOccur s="0"/>
        404                    </xs :sequence>
        405                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        406                    <xs: attribute  name="clas sCode" typ e="ActClas s" use="op tional" fi xed="ENC"/ >
        407                    <xs: attribute  name="mood Code" type ="ActMood"  use="opti onal" fixe d="EVN"/>
        408           </ xs:complex Type>
        409           <x s:complexT ype name=" POCD_MT000 040.Encoun ter">
        410                    <xs: sequence>
        411                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        412                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        413                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        414                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        415                             <xs:el ement name ="code" ty pe="CD" mi nOccurs="0 "/>
        416                             <xs:el ement name ="text" ty pe="ED_exp licit" min Occurs="0" />
        417                             <xs:el ement name ="statusCo de" type=" CS" minOcc urs="0"/>
        418                             <xs:el ement name ="effectiv eTime" typ e="IVL_TS_ explicit"  minOccurs= "0"/>
        419                             <xs:el ement name ="priority Code" type ="CE" minO ccurs="0"/ >
        420                             <xs:el ement name ="subject"  type="POC D_MT000040 .Subject"  minOccurs= "0"/>
        421                             <xs:el ement name ="specimen " type="PO CD_MT00004 0.Specimen " minOccur s="0" maxO ccurs="unb ounded"/>
        422                             <xs:el ement name ="performe r" type="P OCD_MT0000 40.Perform er2" minOc curs="0" m axOccurs=" unbounded" />
        423                             <xs:el ement name ="author"  type="POCD _MT000040. Author" mi nOccurs="0 " maxOccur s="unbound ed"/>
        424                             <xs:el ement name ="informan t" type="P OCD_MT0000 40.Informa nt12" minO ccurs="0"  maxOccurs= "unbounded "/>
        425                             <xs:el ement name ="particip ant" type= "POCD_MT00 0040.Parti cipant2" m inOccurs=" 0" maxOccu rs="unboun ded"/>
        426                             <xs:el ement name ="entryRel ationship"  type="POC D_MT000040 .EntryRela tionship"  minOccurs= "0" maxOcc urs="unbou nded"/>
        427                             <xs:el ement name ="referenc e" type="P OCD_MT0000 40.Referen ce" minOcc urs="0" ma xOccurs="u nbounded"/ >
        428                             <xs:el ement name ="precondi tion" type ="POCD_MT0 00040.Prec ondition"  minOccurs= "0" maxOcc urs="unbou nded"/>
        429                    </xs :sequence>
        430                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        431                    <xs: attribute  name="clas sCode" typ e="ActClas s" use="re quired"/>
        432                    <xs: attribute  name="mood Code" type ="x_Docume ntEncounte rMood" use ="required "/>
        433           </ xs:complex Type>
        434           <x s:complexT ype name=" POCD_MT000 040.Encoun terPartici pant">
        435                    <xs: sequence>
        436                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        437                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        438                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        439                             <xs:el ement name ="time" ty pe="IVL_TS _explicit"  minOccurs ="0"/>
        440                             <xs:el ement name ="assigned Entity" ty pe="POCD_M T000040.As signedEnti ty"/>
        441                    </xs :sequence>
        442                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        443                    <xs: attribute  name="type Code" type ="x_Encoun terPartici pant" use= "required" />
        444           </ xs:complex Type>
        445           <x s:complexT ype name=" POCD_MT000 040.Entity ">
        446                    <xs: sequence>
        447                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        448                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        449                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        450                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        451                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        452                             <xs:el ement name ="desc" ty pe="ED_exp licit" min Occurs="0" />
        453                    </xs :sequence>
        454                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        455                    <xs: attribute  name="clas sCode" typ e="EntityC lassRoot"  use="optio nal" defau lt="ENT"/>
        456                    <xs: attribute  name="dete rminerCode " type="En tityDeterm iner" use= "optional"  fixed="IN STANCE"/>
        457           </ xs:complex Type>
        458           <x s:complexT ype name=" POCD_MT000 040.Entry" >
        459                    <xs: sequence>
        460                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        461                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        462                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        463                             <xs:ch oice>
        464                                      <xs:elem ent name=" act" type= "POCD_MT00 0040.Act"/ >
        465                                      <xs:elem ent name=" encounter"  type="POC D_MT000040 .Encounter "/>
        466                                      <xs:elem ent name=" observatio n" type="P OCD_MT0000 40.Observa tion"/>
        467                                      <xs:elem ent name=" observatio nMedia" ty pe="POCD_M T000040.Ob servationM edia"/>
        468                                      <xs:elem ent name=" organizer"  type="POC D_MT000040 .Organizer "/>
        469                                      <xs:elem ent name=" procedure"  type="POC D_MT000040 .Procedure "/>
        470                                      <xs:elem ent name=" regionOfIn terest" ty pe="POCD_M T000040.Re gionOfInte rest"/>
        471                                      <xs:elem ent name=" substanceA dministrat ion" type= "POCD_MT00 0040.Subst anceAdmini stration"/ >
        472                                      <xs:elem ent name=" supply" ty pe="POCD_M T000040.Su pply"/>
        473                             </xs:c hoice>
        474                    </xs :sequence>
        475                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        476                    <xs: attribute  name="type Code" type ="x_ActRel ationshipE ntry" use= "optional"  default=" COMP"/>
        477                    <xs: attribute  name="cont extConduct ionInd" ty pe="bl" us e="optiona l" fixed=" true"/>
        478           </ xs:complex Type>
        479           <x s:complexT ype name=" POCD_MT000 040.EntryR elationshi p">
        480                    <xs: sequence>
        481                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        482                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        483                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        484                             <xs:el ement name ="sequence Number" ty pe="INT" m inOccurs=" 0"/>
        485                             <xs:el ement name ="seperata bleInd" ty pe="BL" mi nOccurs="0 "/>
        486                             <xs:ch oice>
        487                                      <xs:elem ent name=" act" type= "POCD_MT00 0040.Act"/ >
        488                                      <xs:elem ent name=" encounter"  type="POC D_MT000040 .Encounter "/>
        489                                      <xs:elem ent name=" observatio n" type="P OCD_MT0000 40.Observa tion"/>
        490                                      <xs:elem ent name=" observatio nMedia" ty pe="POCD_M T000040.Ob servationM edia"/>
        491                                      <xs:elem ent name=" organizer"  type="POC D_MT000040 .Organizer "/>
        492                                      <xs:elem ent name=" procedure"  type="POC D_MT000040 .Procedure "/>
        493                                      <xs:elem ent name=" regionOfIn terest" ty pe="POCD_M T000040.Re gionOfInte rest"/>
        494                                      <xs:elem ent name=" substanceA dministrat ion" type= "POCD_MT00 0040.Subst anceAdmini stration"/ >
        495                                      <xs:elem ent name=" supply" ty pe="POCD_M T000040.Su pply"/>
        496                             </xs:c hoice>
        497                    </xs :sequence>
        498                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        499                    <xs: attribute  name="type Code" type ="x_ActRel ationshipE ntryRelati onship" us e="require d"/>
        500                    <xs: attribute  name="inve rsionInd"  type="bl"  use="optio nal"/>
        501                    <xs: attribute  name="cont extConduct ionInd" ty pe="bl" us e="optiona l" default ="true"/>
        502                    <xs: attribute  name="nega tionInd" t ype="bl" u se="option al"/>
        503           </ xs:complex Type>
        504           <x s:complexT ype name=" POCD_MT000 040.Extern alAct">
        505                    <xs: sequence>
        506                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        507                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        508                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        509                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        510                             <xs:el ement name ="code" ty pe="CD" mi nOccurs="0 "/>
        511                             <xs:el ement name ="text" ty pe="ED_exp licit" min Occurs="0" />
        512                    </xs :sequence>
        513                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        514                    <xs: attribute  name="clas sCode" typ e="ActClas sRoot" use ="optional " default= "ACT"/>
        515                    <xs: attribute  name="mood Code" type ="ActMood"  use="opti onal" fixe d="EVN"/>
        516           </ xs:complex Type>
        517           <x s:complexT ype name=" POCD_MT000 040.Extern alDocument ">
        518                    <xs: sequence>
        519                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        520                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        521                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        522                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        523                             <xs:el ement name ="code" ty pe="CD" mi nOccurs="0 "/>
        524                             <xs:el ement name ="text" ty pe="ED_exp licit" min Occurs="0" />
        525                             <xs:el ement name ="setId" t ype="II" m inOccurs=" 0"/>
        526                             <xs:el ement name ="versionN umber" typ e="INT" mi nOccurs="0 "/>
        527                    </xs :sequence>
        528                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        529                    <xs: attribute  name="clas sCode" typ e="ActClas sDocument"  use="opti onal" defa ult="DOC"/ >
        530                    <xs: attribute  name="mood Code" type ="ActMood"  use="opti onal" fixe d="EVN"/>
        531           </ xs:complex Type>
        532           <x s:complexT ype name=" POCD_MT000 040.Extern alObservat ion">
        533                    <xs: sequence>
        534                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        535                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        536                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        537                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        538                             <xs:el ement name ="code" ty pe="CD" mi nOccurs="0 "/>
        539                             <xs:el ement name ="text" ty pe="ED_exp licit" min Occurs="0" />
        540                    </xs :sequence>
        541                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        542                    <xs: attribute  name="clas sCode" typ e="ActClas sObservati on" use="o ptional" d efault="OB S"/>
        543                    <xs: attribute  name="mood Code" type ="ActMood"  use="opti onal" fixe d="EVN"/>
        544           </ xs:complex Type>
        545           <x s:complexT ype name=" POCD_MT000 040.Extern alProcedur e">
        546                    <xs: sequence>
        547                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        548                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        549                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        550                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        551                             <xs:el ement name ="code" ty pe="CD" mi nOccurs="0 "/>
        552                             <xs:el ement name ="text" ty pe="ED_exp licit" min Occurs="0" />
        553                    </xs :sequence>
        554                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        555                    <xs: attribute  name="clas sCode" typ e="ActClas s" use="op tional" fi xed="PROC" />
        556                    <xs: attribute  name="mood Code" type ="ActMood"  use="opti onal" fixe d="EVN"/>
        557           </ xs:complex Type>
        558           <x s:complexT ype name=" POCD_MT000 040.Guardi an">
        559                    <xs: sequence>
        560                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        561                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        562                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        563                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        564                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        565                             <xs:el ement name ="addr" ty pe="AD_exp licit" min Occurs="0"  maxOccurs ="unbounde d"/>
        566                             <xs:el ement name ="telecom"  type="TEL _explicit"  minOccurs ="0" maxOc curs="unbo unded"/>
        567                             <xs:ch oice>
        568                                      <xs:elem ent name=" guardianPe rson" type ="POCD_MT0 00040.Pers on"/>
        569                                      <xs:elem ent name=" guardianOr ganization " type="PO CD_MT00004 0.Organiza tion"/>
        570                             </xs:c hoice>
        571                    </xs :sequence>
        572                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        573                    <xs: attribute  name="clas sCode" typ e="RoleCla ss" use="o ptional" f ixed="GUAR D"/>
        574           </ xs:complex Type>
        575           <x s:complexT ype name=" POCD_MT000 040.Health CareFacili ty">
        576                    <xs: sequence>
        577                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        578                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        579                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        580                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        581                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        582                             <xs:el ement name ="location " type="PO CD_MT00004 0.Place" m inOccurs=" 0"/>
        583                             <xs:el ement name ="serviceP roviderOrg anization"  type="POC D_MT000040 .Organizat ion" minOc curs="0"/>
        584                    </xs :sequence>
        585                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        586                    <xs: attribute  name="clas sCode" typ e="RoleCla ssServiceD eliveryLoc ation" use ="optional " default= "SDLOC"/>
        587           </ xs:complex Type>
        588           <x s:complexT ype name=" POCD_MT000 040.Inform ant12">
        589                    <xs: sequence>
        590                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        591                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        592                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        593                             <xs:ch oice>
        594                                      <xs:elem ent name=" assignedEn tity" type ="POCD_MT0 00040.Assi gnedEntity "/>
        595                                      <xs:elem ent name=" relatedEnt ity" type= "POCD_MT00 0040.Relat edEntity"/ >
        596                             </xs:c hoice>
        597                    </xs :sequence>
        598                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        599                    <xs: attribute  name="type Code" type ="Particip ationType"  use="opti onal" fixe d="INF"/>
        600                    <xs: attribute  name="cont extControl Code" type ="ContextC ontrol" us e="optiona l" fixed=" OP"/>
        601           </ xs:complex Type>
        602           <x s:complexT ype name=" POCD_MT000 040.Inform ationRecip ient">
        603                    <xs: sequence>
        604                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        605                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        606                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        607                             <xs:el ement name ="intended Recipient"  type="POC D_MT000040 .IntendedR ecipient"/ >
        608                    </xs :sequence>
        609                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        610                    <xs: attribute  name="type Code" type ="x_Inform ationRecip ient" use= "optional"  default=" PRCP"/>
        611           </ xs:complex Type>
        612           <x s:complexT ype name=" POCD_MT000 040.InFulf illmentOf" >
        613                    <xs: sequence>
        614                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        615                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        616                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        617                             <xs:el ement name ="order" t ype="POCD_ MT000040.O rder"/>
        618                    </xs :sequence>
        619                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        620                    <xs: attribute  name="type Code" type ="ActRelat ionshipFul fills" use ="optional " fixed="F LFS"/>
        621           </ xs:complex Type>
        622           <x s:complexT ype name=" POCD_MT000 040.Intend edRecipien t">
        623                    <xs: sequence>
        624                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        625                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        626                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        627                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        628                             <xs:el ement name ="addr" ty pe="AD_exp licit" min Occurs="0"  maxOccurs ="unbounde d"/>
        629                             <xs:el ement name ="telecom"  type="TEL _explicit"  minOccurs ="0" maxOc curs="unbo unded"/>
        630                             <xs:el ement name ="informat ionRecipie nt" type=" POCD_MT000 040.Person " minOccur s="0"/>
        631                             <xs:el ement name ="received Organizati on" type=" POCD_MT000 040.Organi zation" mi nOccurs="0 "/>
        632                    </xs :sequence>
        633                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        634                    <xs: attribute  name="clas sCode" typ e="x_Infor mationReci pientRole"  use="opti onal" defa ult="ASSIG NED"/>
        635           </ xs:complex Type>
        636           <x s:complexT ype name=" POCD_MT000 040.Labele dDrug">
        637                    <xs: sequence>
        638                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        639                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        640                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        641                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        642                             <xs:el ement name ="name" ty pe="EN_exp licit" min Occurs="0" />
        643                    </xs :sequence>
        644                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        645                    <xs: attribute  name="clas sCode" typ e="EntityC lassManufa cturedMate rial" use= "optional"  fixed="MM AT"/>
        646                    <xs: attribute  name="dete rminerCode " type="En tityDeterm inerDeterm ined" use= "optional"  fixed="KI ND"/>
        647           </ xs:complex Type>
        648           <x s:complexT ype name=" POCD_MT000 040.Langua geCommunic ation">
        649                    <xs: sequence>
        650                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        651                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        652                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        653                             <xs:el ement name ="language Code" type ="CS" minO ccurs="0"/ >
        654                             <xs:el ement name ="modeCode " type="CE " minOccur s="0"/>
        655                             <xs:el ement name ="proficie ncyLevelCo de" type=" CE" minOcc urs="0"/>
        656                             <xs:el ement name ="preferen ceInd" typ e="BL" min Occurs="0" />
        657                    </xs :sequence>
        658                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        659           </ xs:complex Type>
        660           <x s:complexT ype name=" POCD_MT000 040.LegalA uthenticat or">
        661                    <xs: sequence>
        662                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        663                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        664                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        665                             <xs:el ement name ="time" ty pe="TS_exp licit"/>
        666                             <xs:el ement name ="signatur eCode" typ e="CS"/>
        667                             <xs:el ement name ="assigned Entity" ty pe="POCD_M T000040.As signedEnti ty"/>
        668                    </xs :sequence>
        669                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        670                    <xs: attribute  name="type Code" type ="Particip ationType"  use="opti onal" fixe d="LA"/>
        671                    <xs: attribute  name="cont extControl Code" type ="ContextC ontrol" us e="optiona l" fixed=" OP"/>
        672           </ xs:complex Type>
        673           <x s:complexT ype name=" POCD_MT000 040.Locati on">
        674                    <xs: sequence>
        675                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        676                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        677                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        678                             <xs:el ement name ="healthCa reFacility " type="PO CD_MT00004 0.HealthCa reFacility "/>
        679                    </xs :sequence>
        680                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        681                    <xs: attribute  name="type Code" type ="Particip ationTarge tLocation"  use="opti onal" fixe d="LOC"/>
        682           </ xs:complex Type>
        683           <x s:complexT ype name=" POCD_MT000 040.Mainta inedEntity ">
        684                    <xs: sequence>
        685                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        686                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        687                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        688                             <xs:el ement name ="effectiv eTime" typ e="IVL_TS_ explicit"  minOccurs= "0"/>
        689                             <xs:el ement name ="maintain ingPerson"  type="POC D_MT000040 .Person"/>
        690                    </xs :sequence>
        691                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        692                    <xs: attribute  name="clas sCode" typ e="RoleCla ss" use="o ptional" f ixed="MNT" />
        693           </ xs:complex Type>
        694           <x s:complexT ype name=" POCD_MT000 040.Manufa cturedProd uct">
        695                    <xs: sequence>
        696                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        697                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        698                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        699                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        700                             <xs:ch oice>
        701                                      <xs:elem ent name=" manufactur edLabeledD rug" type= "POCD_MT00 0040.Label edDrug"/>
        702                                      <xs:elem ent name=" manufactur edMaterial " type="PO CD_MT00004 0.Material "/>
        703                             </xs:c hoice>
        704                             <xs:el ement name ="manufact urerOrgani zation" ty pe="POCD_M T000040.Or ganization " minOccur s="0"/>
        705                    </xs :sequence>
        706                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        707                    <xs: attribute  name="clas sCode" typ e="RoleCla ssManufact uredProduc t" use="op tional" fi xed="MANU" />
        708           </ xs:complex Type>
        709           <x s:complexT ype name=" POCD_MT000 040.Materi al">
        710                    <xs: sequence>
        711                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        712                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        713                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        714                             <xs:el ement name ="code" ty pe="CE_exp licit" min Occurs="0" />
        715                             <xs:el ement name ="name" ty pe="EN_exp licit" min Occurs="0" />
        716                             <xs:el ement name ="lotNumbe rText" typ e="ST_expl icit" minO ccurs="0"/ >
        717                    </xs :sequence>
        718                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        719                    <xs: attribute  name="clas sCode" typ e="EntityC lassManufa cturedMate rial" use= "optional"  fixed="MM AT"/>
        720                    <xs: attribute  name="dete rminerCode " type="En tityDeterm inerDeterm ined" use= "optional"  fixed="KI ND"/>
        721           </ xs:complex Type>
        722           <x s:complexT ype name=" POCD_MT000 040.NonXML Body">
        723                    <xs: sequence>
        724                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        725                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        726                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        727                             <xs:el ement name ="text" ty pe="ED_exp licit"/>
        728                             <xs:el ement name ="confiden tialityCod e" type="C E" minOccu rs="0"/>
        729                             <xs:el ement name ="language Code" type ="CS" minO ccurs="0"/ >
        730                    </xs :sequence>
        731                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        732                    <xs: attribute  name="clas sCode" typ e="ActClas s" use="op tional" fi xed="DOCBO DY"/>
        733                    <xs: attribute  name="mood Code" type ="ActMood"  use="opti onal" fixe d="EVN"/>
        734           </ xs:complex Type>
        735           <x s:complexT ype name=" POCD_MT000 040.Observ ation">
        736                    <xs: sequence>
        737                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        738                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        739                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        740                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        741                             <xs:el ement name ="code" ty pe="CD"/>
        742                             <xs:el ement name ="derivati onExpr" ty pe="ST_exp licit" min Occurs="0" />
        743                             <xs:el ement name ="text" ty pe="ED_exp licit" min Occurs="0" />
        744                             <xs:el ement name ="statusCo de" type=" CS" minOcc urs="0"/>
        745                             <xs:el ement name ="effectiv eTime" typ e="IVL_TS_ explicit"  minOccurs= "0"/>
        746                             <xs:el ement name ="priority Code" type ="CE" minO ccurs="0"/ >
        747                             <xs:el ement name ="repeatNu mber" type ="IVL_INT"  minOccurs ="0"/>
        748                             <xs:el ement name ="language Code" type ="CS" minO ccurs="0"/ >
        749                             <xs:el ement name ="value" t ype="ANY"  minOccurs= "0" maxOcc urs="unbou nded"/>
        750                             <xs:el ement name ="interpre tationCode " type="CE " minOccur s="0" maxO ccurs="unb ounded"/>
        751                             <xs:el ement name ="methodCo de" type=" CE" minOcc urs="0" ma xOccurs="u nbounded"/ >
        752                             <xs:el ement name ="targetSi teCode" ty pe="CD" mi nOccurs="0 " maxOccur s="unbound ed"/>
        753                             <xs:el ement name ="subject"  type="POC D_MT000040 .Subject"  minOccurs= "0"/>
        754                             <xs:el ement name ="specimen " type="PO CD_MT00004 0.Specimen " minOccur s="0" maxO ccurs="unb ounded"/>
        755                             <xs:el ement name ="performe r" type="P OCD_MT0000 40.Perform er2" minOc curs="0" m axOccurs=" unbounded" />
        756                             <xs:el ement name ="author"  type="POCD _MT000040. Author" mi nOccurs="0 " maxOccur s="unbound ed"/>
        757                             <xs:el ement name ="informan t" type="P OCD_MT0000 40.Informa nt12" minO ccurs="0"  maxOccurs= "unbounded "/>
        758                             <xs:el ement name ="particip ant" type= "POCD_MT00 0040.Parti cipant2" m inOccurs=" 0" maxOccu rs="unboun ded"/>
        759                             <xs:el ement name ="entryRel ationship"  type="POC D_MT000040 .EntryRela tionship"  minOccurs= "0" maxOcc urs="unbou nded"/>
        760                             <xs:el ement name ="referenc e" type="P OCD_MT0000 40.Referen ce" minOcc urs="0" ma xOccurs="u nbounded"/ >
        761                             <xs:el ement name ="precondi tion" type ="POCD_MT0 00040.Prec ondition"  minOccurs= "0" maxOcc urs="unbou nded"/>
        762                             <xs:el ement name ="referenc eRange" ty pe="POCD_M T000040.Re ferenceRan ge" minOcc urs="0" ma xOccurs="u nbounded"/ >
        763                    </xs :sequence>
        764                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        765                    <xs: attribute  name="clas sCode" typ e="ActClas sObservati on" use="r equired"/>
        766                    <xs: attribute  name="mood Code" type ="x_ActMoo dDocumentO bservation " use="req uired"/>
        767                    <xs: attribute  name="nega tionInd" t ype="bl" u se="option al"/>
        768           </ xs:complex Type>
        769           <x s:complexT ype name=" POCD_MT000 040.Observ ationMedia ">
        770                    <xs: sequence>
        771                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        772                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        773                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        774                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        775                             <xs:el ement name ="language Code" type ="CS" minO ccurs="0"/ >
        776                             <xs:el ement name ="value" t ype="ED_ex plicit"/>
        777                             <xs:el ement name ="subject"  type="POC D_MT000040 .Subject"  minOccurs= "0"/>
        778                             <xs:el ement name ="specimen " type="PO CD_MT00004 0.Specimen " minOccur s="0" maxO ccurs="unb ounded"/>
        779                             <xs:el ement name ="performe r" type="P OCD_MT0000 40.Perform er2" minOc curs="0" m axOccurs=" unbounded" />
        780                             <xs:el ement name ="author"  type="POCD _MT000040. Author" mi nOccurs="0 " maxOccur s="unbound ed"/>
        781                             <xs:el ement name ="informan t" type="P OCD_MT0000 40.Informa nt12" minO ccurs="0"  maxOccurs= "unbounded "/>
        782                             <xs:el ement name ="particip ant" type= "POCD_MT00 0040.Parti cipant2" m inOccurs=" 0" maxOccu rs="unboun ded"/>
        783                             <xs:el ement name ="entryRel ationship"  type="POC D_MT000040 .EntryRela tionship"  minOccurs= "0" maxOcc urs="unbou nded"/>
        784                             <xs:el ement name ="referenc e" type="P OCD_MT0000 40.Referen ce" minOcc urs="0" ma xOccurs="u nbounded"/ >
        785                             <xs:el ement name ="precondi tion" type ="POCD_MT0 00040.Prec ondition"  minOccurs= "0" maxOcc urs="unbou nded"/>
        786                    </xs :sequence>
        787                    <xs: attribute  name="ID"  type="xs:I D">
        788                             <xs:an notation>
        789                                      <xs:appi nfo>
        790                                               <jxb:prope rty name=" idAttr"/>
        791                                      </xs:app info>
        792                             </xs:a nnotation>
        793                    </xs :attribute >
        794                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        795                    <xs: attribute  name="clas sCode" typ e="ActClas sObservati on" use="r equired"/>
        796                    <xs: attribute  name="mood Code" type ="ActMood"  use="requ ired"/>
        797           </ xs:complex Type>
        798           <x s:complexT ype name=" POCD_MT000 040.Observ ationRange ">
        799                    <xs: sequence>
        800                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        801                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        802                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        803                             <xs:el ement name ="code" ty pe="CD" mi nOccurs="0 "/>
        804                             <xs:el ement name ="text" ty pe="ED_exp licit" min Occurs="0" />
        805                             <xs:el ement name ="value" t ype="ANY"  minOccurs= "0"/>
        806                             <xs:el ement name ="interpre tationCode " type="CE " minOccur s="0"/>
        807                    </xs :sequence>
        808                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        809                    <xs: attribute  name="clas sCode" typ e="ActClas sObservati on" use="o ptional" d efault="OB S"/>
        810                    <xs: attribute  name="mood Code" type ="ActMood"  use="opti onal" fixe d="EVN.CRT "/>
        811           </ xs:complex Type>
        812           <x s:complexT ype name=" POCD_MT000 040.Order" >
        813                    <xs: sequence>
        814                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        815                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        816                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        817                             <xs:el ement name ="id" type ="II" maxO ccurs="unb ounded"/>
        818                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        819                             <xs:el ement name ="priority Code" type ="CE" minO ccurs="0"/ >
        820                    </xs :sequence>
        821                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        822                    <xs: attribute  name="clas sCode" typ e="ActClas sRoot" use ="optional " default= "ACT"/>
        823                    <xs: attribute  name="mood Code" type ="ActMood"  use="opti onal" fixe d="RQO"/>
        824           </ xs:complex Type>
        825           <x s:complexT ype name=" POCD_MT000 040.Organi zation">
        826                    <xs: sequence>
        827                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        828                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        829                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        830                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        831                             <xs:el ement name ="name" ty pe="ON_exp licit" min Occurs="0"  maxOccurs ="unbounde d"/>
        832                             <xs:el ement name ="telecom"  type="TEL _explicit"  minOccurs ="0" maxOc curs="unbo unded"/>
        833                             <xs:el ement name ="addr" ty pe="AD_exp licit" min Occurs="0"  maxOccurs ="unbounde d"/>
        834                             <xs:el ement name ="standard IndustryCl assCode" t ype="CE" m inOccurs=" 0"/>
        835                             <xs:el ement name ="asOrgani zationPart Of" type=" POCD_MT000 040.Organi zationPart Of" minOcc urs="0"/>
        836                    </xs :sequence>
        837                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        838                    <xs: attribute  name="clas sCode" typ e="EntityC lassOrgani zation" us e="optiona l" fixed=" ORG"/>
        839                    <xs: attribute  name="dete rminerCode " type="En tityDeterm iner" use= "optional"  fixed="IN STANCE"/>
        840           </ xs:complex Type>
        841           <x s:complexT ype name=" POCD_MT000 040.Organi zationPart Of">
        842                    <xs: sequence>
        843                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        844                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        845                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        846                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        847                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        848                             <xs:el ement name ="statusCo de" type=" CS" minOcc urs="0"/>
        849                             <xs:el ement name ="effectiv eTime" typ e="IVL_TS_ explicit"  minOccurs= "0"/>
        850                             <xs:el ement name ="wholeOrg anization"  type="POC D_MT000040 .Organizat ion" minOc curs="0"/>
        851                    </xs :sequence>
        852                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        853                    <xs: attribute  name="clas sCode" typ e="RoleCla ss" use="o ptional" f ixed="PART "/>
        854           </ xs:complex Type>
        855           <x s:complexT ype name=" POCD_MT000 040.Organi zer">
        856                    <xs: sequence>
        857                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        858                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        859                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        860                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        861                             <xs:el ement name ="code" ty pe="CD" mi nOccurs="0 "/>
        862                             <xs:el ement name ="statusCo de" type=" CS"/>
        863                             <xs:el ement name ="effectiv eTime" typ e="IVL_TS_ explicit"  minOccurs= "0"/>
        864                             <xs:el ement name ="subject"  type="POC D_MT000040 .Subject"  minOccurs= "0"/>
        865                             <xs:el ement name ="specimen " type="PO CD_MT00004 0.Specimen " minOccur s="0" maxO ccurs="unb ounded"/>
        866                             <xs:el ement name ="performe r" type="P OCD_MT0000 40.Perform er2" minOc curs="0" m axOccurs=" unbounded" />
        867                             <xs:el ement name ="author"  type="POCD _MT000040. Author" mi nOccurs="0 " maxOccur s="unbound ed"/>
        868                             <xs:el ement name ="informan t" type="P OCD_MT0000 40.Informa nt12" minO ccurs="0"  maxOccurs= "unbounded "/>
        869                             <xs:el ement name ="particip ant" type= "POCD_MT00 0040.Parti cipant2" m inOccurs=" 0" maxOccu rs="unboun ded"/>
        870                             <xs:el ement name ="referenc e" type="P OCD_MT0000 40.Referen ce" minOcc urs="0" ma xOccurs="u nbounded"/ >
        871                             <xs:el ement name ="precondi tion" type ="POCD_MT0 00040.Prec ondition"  minOccurs= "0" maxOcc urs="unbou nded"/>
        872                             <xs:el ement name ="componen t" type="P OCD_MT0000 40.Compone nt4" minOc curs="0" m axOccurs=" unbounded" />
        873                    </xs :sequence>
        874                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        875                    <xs: attribute  name="clas sCode" typ e="x_ActCl assDocumen tEntryOrga nizer" use ="required "/>
        876                    <xs: attribute  name="mood Code" type ="ActMood"  use="requ ired"/>
        877           </ xs:complex Type>
        878           <x s:complexT ype name=" POCD_MT000 040.Parent Document">
        879                    <xs: sequence>
        880                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        881                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        882                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        883                             <xs:el ement name ="id" type ="II" maxO ccurs="unb ounded"/>
        884                             <xs:el ement name ="code" ty pe="CD" mi nOccurs="0 "/>
        885                             <xs:el ement name ="text" ty pe="ED_exp licit" min Occurs="0" />
        886                             <xs:el ement name ="setId" t ype="II" m inOccurs=" 0"/>
        887                             <xs:el ement name ="versionN umber" typ e="INT" mi nOccurs="0 "/>
        888                    </xs :sequence>
        889                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        890                    <xs: attribute  name="clas sCode" typ e="ActClas sClinicalD ocument" u se="option al" fixed= "DOCCLIN"/ >
        891                    <xs: attribute  name="mood Code" type ="ActMood"  use="opti onal" fixe d="EVN"/>
        892           </ xs:complex Type>
        893           <x s:complexT ype name=" POCD_MT000 040.Partic ipant1">
        894                    <xs: sequence>
        895                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        896                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        897                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        898                             <xs:el ement name ="function Code" type ="CE" minO ccurs="0"/ >
        899                             <xs:el ement name ="time" ty pe="IVL_TS _explicit"  minOccurs ="0"/>
        900                             <xs:el ement name ="associat edEntity"  type="POCD _MT000040. Associated Entity"/>
        901                    </xs :sequence>
        902                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        903                    <xs: attribute  name="type Code" type ="Particip ationType"  use="requ ired"/>
        904                    <xs: attribute  name="cont extControl Code" type ="ContextC ontrol" us e="optiona l" fixed=" OP"/>
        905           </ xs:complex Type>
        906           <x s:complexT ype name=" POCD_MT000 040.Partic ipant2">
        907                    <xs: sequence>
        908                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        909                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        910                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        911                             <xs:el ement name ="time" ty pe="IVL_TS _explicit"  minOccurs ="0"/>
        912                             <xs:el ement name ="awarenes sCode" typ e="CE" min Occurs="0" />
        913                             <xs:el ement name ="particip antRole" t ype="POCD_ MT000040.P articipant Role"/>
        914                    </xs :sequence>
        915                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        916                    <xs: attribute  name="type Code" type ="Particip ationType"  use="requ ired"/>
        917                    <xs: attribute  name="cont extControl Code" type ="ContextC ontrol" us e="optiona l" fixed=" OP"/>
        918           </ xs:complex Type>
        919           <x s:complexT ype name=" POCD_MT000 040.Partic ipantRole" >
        920                    <xs: sequence>
        921                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        922                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        923                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        924                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        925                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        926                             <xs:el ement name ="addr" ty pe="AD_exp licit" min Occurs="0"  maxOccurs ="unbounde d"/>
        927                             <xs:el ement name ="telecom"  type="TEL _explicit"  minOccurs ="0" maxOc curs="unbo unded"/>
        928                             <xs:ch oice>
        929                                      <xs:elem ent name=" playingDev ice" type= "POCD_MT00 0040.Devic e" minOccu rs="0"/>
        930                                      <xs:elem ent name=" playingEnt ity" type= "POCD_MT00 0040.Playi ngEntity"  minOccurs= "0"/>
        931                             </xs:c hoice>
        932                             <xs:el ement name ="scopingE ntity" typ e="POCD_MT 000040.Ent ity" minOc curs="0"/>
        933                    </xs :sequence>
        934                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        935                    <xs: attribute  name="clas sCode" typ e="RoleCla ssRoot" us e="optiona l" default ="ROL"/>
        936           </ xs:complex Type>
        937           <x s:complexT ype name=" POCD_MT000 040.Patien t">
        938                    <xs: sequence>
        939                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        940                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        941                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        942                             <xs:el ement name ="id" type ="II" minO ccurs="0"/ >
        943                             <xs:el ement name ="name" ty pe="PN_exp licit" min Occurs="0"  maxOccurs ="unbounde d"/>
        944                             <xs:el ement name ="administ rativeGend erCode" ty pe="CE" mi nOccurs="0 "/>
        945                             <xs:el ement name ="birthTim e" type="T S_explicit " minOccur s="0"/>
        946                             <xs:el ement name ="maritalS tatusCode"  type="CE"  minOccurs ="0"/>
        947                             <xs:el ement name ="religiou sAffiliati onCode" ty pe="CE" mi nOccurs="0 "/>
        948                             <xs:el ement name ="raceCode " type="CE " minOccur s="0"/>
        949                             <xs:el ement name ="ethnicGr oupCode" t ype="CE" m inOccurs=" 0"/>
        950                             <xs:el ement name ="guardian " type="PO CD_MT00004 0.Guardian " minOccur s="0" maxO ccurs="unb ounded"/>
        951                             <xs:el ement name ="birthpla ce" type=" POCD_MT000 040.Birthp lace" minO ccurs="0"/ >
        952                             <xs:el ement name ="language Communicat ion" type= "POCD_MT00 0040.Langu ageCommuni cation" mi nOccurs="0 " maxOccur s="unbound ed"/>
        953                    </xs :sequence>
        954                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        955                    <xs: attribute  name="clas sCode" typ e="EntityC lass" use= "optional"  fixed="PS N"/>
        956                    <xs: attribute  name="dete rminerCode " type="En tityDeterm iner" use= "optional"  fixed="IN STANCE"/>
        957           </ xs:complex Type>
        958           <x s:complexT ype name=" POCD_MT000 040.Patien tRole">
        959                    <xs: sequence>
        960                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        961                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        962                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        963                             <xs:el ement name ="id" type ="II" maxO ccurs="unb ounded"/>
        964                             <xs:el ement name ="addr" ty pe="AD_exp licit" min Occurs="0"  maxOccurs ="unbounde d"/>
        965                             <xs:el ement name ="telecom"  type="TEL _explicit"  minOccurs ="0" maxOc curs="unbo unded"/>
        966                             <xs:el ement name ="patient"  type="POC D_MT000040 .Patient"  minOccurs= "0"/>
        967                             <xs:el ement name ="provider Organizati on" type=" POCD_MT000 040.Organi zation" mi nOccurs="0 "/>
        968                    </xs :sequence>
        969                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        970                    <xs: attribute  name="clas sCode" typ e="RoleCla ss" use="o ptional" f ixed="PAT" />
        971           </ xs:complex Type>
        972           <x s:complexT ype name=" POCD_MT000 040.Perfor mer1">
        973                    <xs: sequence>
        974                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        975                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        976                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        977                             <xs:el ement name ="function Code" type ="CE" minO ccurs="0"/ >
        978                             <xs:el ement name ="time" ty pe="IVL_TS _explicit"  minOccurs ="0"/>
        979                             <xs:el ement name ="assigned Entity" ty pe="POCD_M T000040.As signedEnti ty"/>
        980                    </xs :sequence>
        981                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        982                    <xs: attribute  name="type Code" type ="x_Servic eEventPerf ormer" use ="required "/>
        983           </ xs:complex Type>
        984           <x s:complexT ype name=" POCD_MT000 040.Perfor mer2">
        985                    <xs: sequence>
        986                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        987                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        988                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        989                             <xs:el ement name ="time" ty pe="IVL_TS _explicit"  minOccurs ="0"/>
        990                             <xs:el ement name ="modeCode " type="CE " minOccur s="0"/>
        991                             <xs:el ement name ="assigned Entity" ty pe="POCD_M T000040.As signedEnti ty"/>
        992                    </xs :sequence>
        993                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        994                    <xs: attribute  name="type Code" type ="Particip ationPhysi calPerform er" use="o ptional" f ixed="PRF" />
        995           </ xs:complex Type>
        996           <x s:complexT ype name=" POCD_MT000 040.Person ">
        997                    <xs: sequence>
        998                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        999                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1000                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1001                             <xs:el ement name ="name" ty pe="PN_exp licit" min Occurs="0"  maxOccurs ="unbounde d"/>
        1002                    </xs :sequence>
        1003                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1004                    <xs: attribute  name="clas sCode" typ e="EntityC lass" use= "optional"  fixed="PS N"/>
        1005                    <xs: attribute  name="dete rminerCode " type="En tityDeterm iner" use= "optional"  fixed="IN STANCE"/>
        1006           </ xs:complex Type>
        1007           <x s:complexT ype name=" POCD_MT000 040.Place" >
        1008                    <xs: sequence>
        1009                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1010                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1011                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1012                             <xs:el ement name ="name" ty pe="EN_exp licit" min Occurs="0" />
        1013                             <xs:el ement name ="addr" ty pe="AD_exp licit" min Occurs="0" />
        1014                    </xs :sequence>
        1015                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1016                    <xs: attribute  name="clas sCode" typ e="EntityC lassPlace"  use="opti onal" fixe d="PLC"/>
        1017                    <xs: attribute  name="dete rminerCode " type="En tityDeterm iner" use= "optional"  fixed="IN STANCE"/>
        1018           </ xs:complex Type>
        1019           <x s:complexT ype name=" POCD_MT000 040.Playin gEntity">
        1020                    <xs: sequence>
        1021                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1022                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1023                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1024                             <xs:el ement name ="code" ty pe="CE_exp licit" min Occurs="0" />
        1025                             <xs:el ement name ="quantity " type="PQ _explicit"  minOccurs ="0" maxOc curs="unbo unded"/>
        1026                             <xs:el ement name ="name" ty pe="PN_exp licit" min Occurs="0"  maxOccurs ="unbounde d"/>
        1027                             <xs:el ement name ="desc" ty pe="ST_exp licit" min Occurs="0" />
        1028                    </xs :sequence>
        1029                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1030                    <xs: attribute  name="clas sCode" typ e="EntityC lassRoot"  use="optio nal" defau lt="ENT"/>
        1031                    <xs: attribute  name="dete rminerCode " type="En tityDeterm iner" use= "optional"  fixed="IN STANCE"/>
        1032           </ xs:complex Type>
        1033           <x s:complexT ype name=" POCD_MT000 040.Precon dition">
        1034                    <xs: sequence>
        1035                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1036                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1037                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1038                             <xs:el ement name ="criterio n" type="P OCD_MT0000 40.Criteri on"/>
        1039                    </xs :sequence>
        1040                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1041                    <xs: attribute  name="type Code" type ="ActRelat ionshipTyp e" use="op tional" fi xed="PRCN" />
        1042           </ xs:complex Type>
        1043           <x s:complexT ype name=" POCD_MT000 040.Proced ure">
        1044                    <xs: sequence>
        1045                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1046                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1047                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1048                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        1049                             <xs:el ement name ="code" ty pe="CD" mi nOccurs="0 "/>
        1050                             <xs:el ement name ="text" ty pe="ED_exp licit" min Occurs="0" />
        1051                             <xs:el ement name ="statusCo de" type=" CS" minOcc urs="0"/>
        1052                             <xs:el ement name ="effectiv eTime" typ e="IVL_TS_ explicit"  minOccurs= "0"/>
        1053                             <xs:el ement name ="priority Code" type ="CE" minO ccurs="0"/ >
        1054                             <xs:el ement name ="language Code" type ="CS" minO ccurs="0"/ >
        1055                             <xs:el ement name ="methodCo de" type=" CE" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1056                             <xs:el ement name ="approach SiteCode"  type="CD"  minOccurs= "0" maxOcc urs="unbou nded"/>
        1057                             <xs:el ement name ="targetSi teCode" ty pe="CD" mi nOccurs="0 " maxOccur s="unbound ed"/>
        1058                             <xs:el ement name ="subject"  type="POC D_MT000040 .Subject"  minOccurs= "0"/>
        1059                             <xs:el ement name ="specimen " type="PO CD_MT00004 0.Specimen " minOccur s="0" maxO ccurs="unb ounded"/>
        1060                             <xs:el ement name ="performe r" type="P OCD_MT0000 40.Perform er2" minOc curs="0" m axOccurs=" unbounded" />
        1061                             <xs:el ement name ="author"  type="POCD _MT000040. Author" mi nOccurs="0 " maxOccur s="unbound ed"/>
        1062                             <xs:el ement name ="informan t" type="P OCD_MT0000 40.Informa nt12" minO ccurs="0"  maxOccurs= "unbounded "/>
        1063                             <xs:el ement name ="particip ant" type= "POCD_MT00 0040.Parti cipant2" m inOccurs=" 0" maxOccu rs="unboun ded"/>
        1064                             <xs:el ement name ="entryRel ationship"  type="POC D_MT000040 .EntryRela tionship"  minOccurs= "0" maxOcc urs="unbou nded"/>
        1065                             <xs:el ement name ="referenc e" type="P OCD_MT0000 40.Referen ce" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1066                             <xs:el ement name ="precondi tion" type ="POCD_MT0 00040.Prec ondition"  minOccurs= "0" maxOcc urs="unbou nded"/>
        1067                    </xs :sequence>
        1068                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1069                    <xs: attribute  name="clas sCode" typ e="ActClas s" use="re quired"/>
        1070                    <xs: attribute  name="mood Code" type ="x_Docume ntProcedur eMood" use ="required "/>
        1071                    <xs: attribute  name="nega tionInd" t ype="bl" u se="option al"/>
        1072           </ xs:complex Type>
        1073           <x s:complexT ype name=" POCD_MT000 040.Produc t">
        1074                    <xs: sequence>
        1075                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1076                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1077                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1078                             <xs:el ement name ="manufact uredProduc t" type="P OCD_MT0000 40.Manufac turedProdu ct"/>
        1079                    </xs :sequence>
        1080                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1081                    <xs: attribute  name="type Code" type ="Particip ationType"  use="opti onal" fixe d="PRD"/>
        1082           </ xs:complex Type>
        1083           <x s:complexT ype name=" POCD_MT000 040.Record Target">
        1084                    <xs: sequence>
        1085                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1086                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1087                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1088                             <xs:el ement name ="patientR ole" type= "POCD_MT00 0040.Patie ntRole"/>
        1089                    </xs :sequence>
        1090                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1091                    <xs: attribute  name="type Code" type ="Particip ationType"  use="opti onal" fixe d="RCT"/>
        1092                    <xs: attribute  name="cont extControl Code" type ="ContextC ontrol" us e="optiona l" fixed=" OP"/>
        1093           </ xs:complex Type>
        1094           <x s:complexT ype name=" POCD_MT000 040.Refere nce">
        1095                    <xs: sequence>
        1096                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1097                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1098                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1099                             <xs:el ement name ="seperata bleInd" ty pe="BL" mi nOccurs="0 "/>
        1100                             <xs:ch oice>
        1101                                      <xs:elem ent name=" externalAc t" type="P OCD_MT0000 40.Externa lAct"/>
        1102                                      <xs:elem ent name=" externalOb servation"  type="POC D_MT000040 .ExternalO bservation "/>
        1103                                      <xs:elem ent name=" externalPr ocedure" t ype="POCD_ MT000040.E xternalPro cedure"/>
        1104                                      <xs:elem ent name=" externalDo cument" ty pe="POCD_M T000040.Ex ternalDocu ment"/>
        1105                             </xs:c hoice>
        1106                    </xs :sequence>
        1107                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1108                    <xs: attribute  name="type Code" type ="x_ActRel ationshipE xternalRef erence" us e="require d"/>
        1109           </ xs:complex Type>
        1110           <x s:complexT ype name=" POCD_MT000 040.Refere nceRange">
        1111                    <xs: sequence>
        1112                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1113                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1114                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1115                             <xs:el ement name ="observat ionRange"  type="POCD _MT000040. Observatio nRange"/>
        1116                    </xs :sequence>
        1117                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1118                    <xs: attribute  name="type Code" type ="ActRelat ionshipTyp e" use="op tional" fi xed="REFV" />
        1119           </ xs:complex Type>
        1120           <x s:complexT ype name=" POCD_MT000 040.Region OfInterest .value">
        1121                    <xs: complexCon tent>
        1122                             <xs:ex tension ba se="INT">
        1123                                      <xs:attr ibute name ="unsorted " type="xs :boolean"  default="f alse"/>
        1124                             </xs:e xtension>
        1125                    </xs :complexCo ntent>
        1126           </ xs:complex Type>
        1127           <x s:complexT ype name=" POCD_MT000 040.Region OfInterest ">
        1128                    <xs: sequence>
        1129                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1130                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1131                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1132                             <xs:el ement name ="id" type ="II" maxO ccurs="unb ounded"/>
        1133                             <xs:el ement name ="code" ty pe="CS"/>
        1134                             <xs:el ement name ="value" t ype="POCD_ MT000040.R egionOfInt erest.valu e" maxOccu rs="unboun ded"/>
        1135                             <xs:el ement name ="subject"  type="POC D_MT000040 .Subject"  minOccurs= "0"/>
        1136                             <xs:el ement name ="specimen " type="PO CD_MT00004 0.Specimen " minOccur s="0" maxO ccurs="unb ounded"/>
        1137                             <xs:el ement name ="performe r" type="P OCD_MT0000 40.Perform er2" minOc curs="0" m axOccurs=" unbounded" />
        1138                             <xs:el ement name ="author"  type="POCD _MT000040. Author" mi nOccurs="0 " maxOccur s="unbound ed"/>
        1139                             <xs:el ement name ="informan t" type="P OCD_MT0000 40.Informa nt12" minO ccurs="0"  maxOccurs= "unbounded "/>
        1140                             <xs:el ement name ="particip ant" type= "POCD_MT00 0040.Parti cipant2" m inOccurs=" 0" maxOccu rs="unboun ded"/>
        1141                             <xs:el ement name ="entryRel ationship"  type="POC D_MT000040 .EntryRela tionship"  minOccurs= "0" maxOcc urs="unbou nded"/>
        1142                             <xs:el ement name ="referenc e" type="P OCD_MT0000 40.Referen ce" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1143                             <xs:el ement name ="precondi tion" type ="POCD_MT0 00040.Prec ondition"  minOccurs= "0" maxOcc urs="unbou nded"/>
        1144                    </xs :sequence>
        1145                    <xs: attribute  name="ID"  type="xs:I D">
        1146                             <xs:an notation>
        1147                                      <xs:appi nfo>
        1148                                               <jxb:prope rty name=" idAttr"/>
        1149                                      </xs:app info>
        1150                             </xs:a nnotation>
        1151                    </xs :attribute >
        1152                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1153                    <xs: attribute  name="clas sCode" typ e="ActClas s" use="re quired" fi xed="ROIOV L"/>
        1154                    <xs: attribute  name="mood Code" type ="ActMood"  use="requ ired" fixe d="EVN"/>
        1155           </ xs:complex Type>
        1156           <x s:complexT ype name=" POCD_MT000 040.Relate dDocument" >
        1157                    <xs: sequence>
        1158                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1159                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1160                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1161                             <xs:el ement name ="parentDo cument" ty pe="POCD_M T000040.Pa rentDocume nt"/>
        1162                    </xs :sequence>
        1163                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1164                    <xs: attribute  name="type Code" type ="x_ActRel ationshipD ocument" u se="requir ed"/>
        1165           </ xs:complex Type>
        1166           <x s:complexT ype name=" POCD_MT000 040.Relate dEntity">
        1167                    <xs: sequence>
        1168                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1169                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1170                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1171                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        1172                             <xs:el ement name ="addr" ty pe="AD_exp licit" min Occurs="0"  maxOccurs ="unbounde d"/>
        1173                             <xs:el ement name ="telecom"  type="TEL _explicit"  minOccurs ="0" maxOc curs="unbo unded"/>
        1174                             <xs:el ement name ="effectiv eTime" typ e="IVL_TS_ explicit"  minOccurs= "0"/>
        1175                             <xs:el ement name ="relatedP erson" typ e="POCD_MT 000040.Per son" minOc curs="0"/>
        1176                    </xs :sequence>
        1177                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1178                    <xs: attribute  name="clas sCode" typ e="RoleCla ssMutualRe lationship " use="req uired"/>
        1179           </ xs:complex Type>
        1180           <x s:complexT ype name=" POCD_MT000 040.Relate dSubject">
        1181                    <xs: sequence>
        1182                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1183                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1184                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1185                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        1186                             <xs:el ement name ="addr" ty pe="AD_exp licit" min Occurs="0"  maxOccurs ="unbounde d"/>
        1187                             <xs:el ement name ="telecom"  type="TEL _explicit"  minOccurs ="0" maxOc curs="unbo unded"/>
        1188                             <xs:el ement name ="subject"  type="POC D_MT000040 .SubjectPe rson" minO ccurs="0"/ >
        1189                    </xs :sequence>
        1190                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1191                    <xs: attribute  name="clas sCode" typ e="x_Docum entSubject " use="opt ional" def ault="PRS" />
        1192           </ xs:complex Type>
        1193           <x s:complexT ype name=" POCD_MT000 040.Respon sibleParty ">
        1194                    <xs: sequence>
        1195                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1196                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1197                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1198                             <xs:el ement name ="assigned Entity" ty pe="POCD_M T000040.As signedEnti ty"/>
        1199                    </xs :sequence>
        1200                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1201                    <xs: attribute  name="type Code" type ="Particip ationType"  use="opti onal" fixe d="RESP"/>
        1202           </ xs:complex Type>
        1203           <x s:complexT ype name=" POCD_MT000 040.Sectio n">
        1204                    <xs: sequence>
        1205                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1206                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1207                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1208                             <xs:el ement name ="id" type ="II" minO ccurs="0"/ >
        1209                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        1210                             <xs:el ement name ="title" t ype="ST_ex plicit" mi nOccurs="0 "/>
        1211                             <xs:el ement name ="text" ty pe="StrucD oc.Text" m inOccurs=" 0">
        1212                                      <xs:anno tation>
        1213                                               <xs:appinf o>
        1214                                                       <j xb:dom/>
        1215                                               </xs:appin fo>
        1216                                      </xs:ann otation>
        1217                             </xs:e lement>
        1218                             <xs:el ement name ="confiden tialityCod e" type="C E" minOccu rs="0"/>
        1219                             <xs:el ement name ="language Code" type ="CS" minO ccurs="0"/ >
        1220                             <xs:el ement name ="subject"  type="POC D_MT000040 .Subject"  minOccurs= "0"/>
        1221                             <xs:el ement name ="author"  type="POCD _MT000040. Author" mi nOccurs="0 " maxOccur s="unbound ed"/>
        1222                             <xs:el ement name ="informan t" type="P OCD_MT0000 40.Informa nt12" minO ccurs="0"  maxOccurs= "unbounded "/>
        1223                             <xs:el ement name ="entry" t ype="POCD_ MT000040.E ntry" minO ccurs="0"  maxOccurs= "unbounded "/>
        1224                             <xs:el ement name ="componen t" type="P OCD_MT0000 40.Compone nt5" minOc curs="0" m axOccurs=" unbounded" />
        1225                    </xs :sequence>
        1226                    <xs: attribute  name="ID"  type="xs:I D">
        1227                             <xs:an notation>
        1228                                      <xs:appi nfo>
        1229                                               <jxb:prope rty name=" idAttr"/>
        1230                                      </xs:app info>
        1231                             </xs:a nnotation>
        1232                    </xs :attribute >
        1233                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1234                    <xs: attribute  name="clas sCode" typ e="ActClas s" use="op tional" fi xed="DOCSE CT"/>
        1235                    <xs: attribute  name="mood Code" type ="ActMood"  use="opti onal" fixe d="EVN"/>
        1236           </ xs:complex Type>
        1237           <x s:complexT ype name=" POCD_MT000 040.Servic eEvent">
        1238                    <xs: sequence>
        1239                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1240                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1241                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1242                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        1243                             <xs:el ement name ="code" ty pe="CE" mi nOccurs="0 "/>
        1244                             <xs:el ement name ="effectiv eTime" typ e="IVL_TS_ explicit"  minOccurs= "0"/>
        1245                             <xs:el ement name ="performe r" type="P OCD_MT0000 40.Perform er1" minOc curs="0" m axOccurs=" unbounded" />
        1246                    </xs :sequence>
        1247                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1248                    <xs: attribute  name="clas sCode" typ e="ActClas sRoot" use ="optional " default= "ACT"/>
        1249                    <xs: attribute  name="mood Code" type ="ActMood"  use="opti onal" fixe d="EVN"/>
        1250           </ xs:complex Type>
        1251           <x s:complexT ype name=" POCD_MT000 040.Specim en">
        1252                    <xs: sequence>
        1253                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1254                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1255                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1256                             <xs:el ement name ="specimen Role" type ="POCD_MT0 00040.Spec imenRole"/ >
        1257                    </xs :sequence>
        1258                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1259                    <xs: attribute  name="type Code" type ="Particip ationType"  use="opti onal" fixe d="SPC"/>
        1260           </ xs:complex Type>
        1261           <x s:complexT ype name=" POCD_MT000 040.Specim enRole">
        1262                    <xs: sequence>
        1263                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1264                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1265                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1266                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        1267                             <xs:el ement name ="specimen PlayingEnt ity" type= "POCD_MT00 0040.Playi ngEntity"  minOccurs= "0"/>
        1268                    </xs :sequence>
        1269                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1270                    <xs: attribute  name="clas sCode" typ e="RoleCla ssSpecimen " use="opt ional" fix ed="SPEC"/ >
        1271           </ xs:complex Type>
        1272           <x s:complexT ype name=" POCD_MT000 040.Struct uredBody">
        1273                    <xs: sequence>
        1274                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1275                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1276                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1277                             <xs:el ement name ="confiden tialityCod e" type="C E" minOccu rs="0"/>
        1278                             <xs:el ement name ="language Code" type ="CS" minO ccurs="0"/ >
        1279                             <xs:el ement name ="componen t" type="P OCD_MT0000 40.Compone nt3" maxOc curs="unbo unded"/>
        1280                    </xs :sequence>
        1281                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1282                    <xs: attribute  name="clas sCode" typ e="ActClas s" use="op tional" fi xed="DOCBO DY"/>
        1283                    <xs: attribute  name="mood Code" type ="ActMood"  use="opti onal" fixe d="EVN"/>
        1284           </ xs:complex Type>
        1285           <x s:complexT ype name=" POCD_MT000 040.Subjec t">
        1286                    <xs: sequence>
        1287                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1288                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1289                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1290                             <xs:el ement name ="awarenes sCode" typ e="CE" min Occurs="0" />
        1291                             <xs:el ement name ="relatedS ubject" ty pe="POCD_M T000040.Re latedSubje ct"/>
        1292                    </xs :sequence>
        1293                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1294                    <xs: attribute  name="type Code" type ="Particip ationTarge tSubject"  use="optio nal" fixed ="SBJ"/>
        1295                    <xs: attribute  name="cont extControl Code" type ="ContextC ontrol" us e="optiona l" fixed=" OP"/>
        1296           </ xs:complex Type>
        1297           <x s:complexT ype name=" POCD_MT000 040.Subjec tPerson">
        1298                    <xs: sequence>
        1299                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1300                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1301                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1302                             <xs:el ement name ="name" ty pe="PN_exp licit" min Occurs="0"  maxOccurs ="unbounde d"/>
        1303                             <xs:el ement name ="administ rativeGend erCode" ty pe="CE" mi nOccurs="0 "/>
        1304                             <xs:el ement name ="birthTim e" type="T S_explicit " minOccur s="0"/>
        1305                    </xs :sequence>
        1306                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1307                    <xs: attribute  name="clas sCode" typ e="EntityC lass" use= "optional"  fixed="PS N"/>
        1308                    <xs: attribute  name="dete rminerCode " type="En tityDeterm iner" use= "optional"  fixed="IN STANCE"/>
        1309           </ xs:complex Type>
        1310           <x s:complexT ype name=" POCD_MT000 040.Substa nceAdminis tration">
        1311                    <xs: sequence>
        1312                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1313                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1314                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1315                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        1316                             <xs:el ement name ="code" ty pe="CD" mi nOccurs="0 "/>
        1317                             <xs:el ement name ="text" ty pe="ED_exp licit" min Occurs="0" />
        1318                             <xs:el ement name ="statusCo de" type=" CS" minOcc urs="0"/>
        1319                             <xs:el ement name ="effectiv eTime" typ e="TS" min Occurs="0"  maxOccurs ="unbounde d"/>
        1320                             <xs:el ement name ="priority Code" type ="CE" minO ccurs="0"/ >
        1321                             <xs:el ement name ="repeatNu mber" type ="IVL_INT"  minOccurs ="0"/>
        1322                             <xs:el ement name ="routeCod e" type="C E" minOccu rs="0"/>
        1323                             <xs:el ement name ="approach SiteCode"  type="CD"  minOccurs= "0" maxOcc urs="unbou nded"/>
        1324                             <xs:el ement name ="doseQuan tity" type ="IVL_PQ"  minOccurs= "0"/>
        1325                             <xs:el ement name ="rateQuan tity" type ="IVL_PQ"  minOccurs= "0"/>
        1326                             <xs:el ement name ="maxDoseQ uantity" t ype="RTO_P Q_PQ" minO ccurs="0"/ >
        1327                             <xs:el ement name ="administ rationUnit Code" type ="CE" minO ccurs="0"/ >
        1328                             <xs:el ement name ="subject"  type="POC D_MT000040 .Subject"  minOccurs= "0"/>
        1329                             <xs:el ement name ="specimen " type="PO CD_MT00004 0.Specimen " minOccur s="0" maxO ccurs="unb ounded"/>
        1330                             <xs:el ement name ="consumab le" type=" POCD_MT000 040.Consum able"/>
        1331                             <xs:el ement name ="performe r" type="P OCD_MT0000 40.Perform er2" minOc curs="0" m axOccurs=" unbounded" />
        1332                             <xs:el ement name ="author"  type="POCD _MT000040. Author" mi nOccurs="0 " maxOccur s="unbound ed"/>
        1333                             <xs:el ement name ="informan t" type="P OCD_MT0000 40.Informa nt12" minO ccurs="0"  maxOccurs= "unbounded "/>
        1334                             <xs:el ement name ="particip ant" type= "POCD_MT00 0040.Parti cipant2" m inOccurs=" 0" maxOccu rs="unboun ded"/>
        1335                             <xs:el ement name ="entryRel ationship"  type="POC D_MT000040 .EntryRela tionship"  minOccurs= "0" maxOcc urs="unbou nded"/>
        1336                             <xs:el ement name ="referenc e" type="P OCD_MT0000 40.Referen ce" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1337                             <xs:el ement name ="precondi tion" type ="POCD_MT0 00040.Prec ondition"  minOccurs= "0" maxOcc urs="unbou nded"/>
        1338                    </xs :sequence>
        1339                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1340                    <xs: attribute  name="clas sCode" typ e="ActClas s" use="re quired" fi xed="SBADM "/>
        1341                    <xs: attribute  name="mood Code" type ="x_Docume ntSubstanc eMood" use ="required "/>
        1342                    <xs: attribute  name="nega tionInd" t ype="bl" u se="option al"/>
        1343           </ xs:complex Type>
        1344           <x s:complexT ype name=" POCD_MT000 040.Supply ">
        1345                    <xs: sequence>
        1346                             <xs:el ement name ="realmCod e" type="C S" minOccu rs="0" max Occurs="un bounded"/>
        1347                             <xs:el ement name ="typeId"  type="POCD _MT000040. Infrastruc tureRoot.t ypeId" min Occurs="0" />
        1348                             <xs:el ement name ="template Id" type=" II" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1349                             <xs:el ement name ="id" type ="II" minO ccurs="0"  maxOccurs= "unbounded "/>
        1350                             <xs:el ement name ="code" ty pe="CD" mi nOccurs="0 "/>
        1351                             <xs:el ement name ="text" ty pe="ED_exp licit" min Occurs="0" />
        1352                             <xs:el ement name ="statusCo de" type=" CS" minOcc urs="0"/>
        1353                             <xs:el ement name ="effectiv eTime" typ e="SXCM_TS _explicit"  minOccurs ="0" maxOc curs="unbo unded"/>
        1354                             <xs:el ement name ="priority Code" type ="CE" minO ccurs="0"  maxOccurs= "unbounded "/>
        1355                             <xs:el ement name ="repeatNu mber" type ="IVL_INT"  minOccurs ="0"/>
        1356                             <xs:el ement name ="independ entInd" ty pe="BL" mi nOccurs="0 "/>
        1357                             <!--<x s:element  name="quan tity" type ="PQ_expli cit" minOc curs="0"/>  -->
        1358                             <xs:el ement name ="quantity " type="PQ " minOccur s="0"/>
        1359                             <xs:el ement name ="expected UseTime" t ype="IVL_T S_explicit " minOccur s="0"/>
        1360                             <xs:el ement name ="subject"  type="POC D_MT000040 .Subject"  minOccurs= "0"/>
        1361                             <xs:el ement name ="specimen " type="PO CD_MT00004 0.Specimen " minOccur s="0" maxO ccurs="unb ounded"/>
        1362                             <xs:el ement name ="product"  type="POC D_MT000040 .Product"  minOccurs= "0"/>
        1363                             <xs:el ement name ="performe r" type="P OCD_MT0000 40.Perform er2" minOc curs="0" m axOccurs=" unbounded" />
        1364                             <xs:el ement name ="author"  type="POCD _MT000040. Author" mi nOccurs="0 " maxOccur s="unbound ed"/>
        1365                             <xs:el ement name ="informan t" type="P OCD_MT0000 40.Informa nt12" minO ccurs="0"  maxOccurs= "unbounded "/>
        1366                             <xs:el ement name ="particip ant" type= "POCD_MT00 0040.Parti cipant2" m inOccurs=" 0" maxOccu rs="unboun ded"/>
        1367                             <xs:el ement name ="entryRel ationship"  type="POC D_MT000040 .EntryRela tionship"  minOccurs= "0" maxOcc urs="unbou nded"/>
        1368                             <xs:el ement name ="referenc e" type="P OCD_MT0000 40.Referen ce" minOcc urs="0" ma xOccurs="u nbounded"/ >
        1369                             <xs:el ement name ="precondi tion" type ="POCD_MT0 00040.Prec ondition"  minOccurs= "0" maxOcc urs="unbou nded"/>
        1370                    </xs :sequence>
        1371                    <xs: attribute  name="null Flavor" ty pe="NullFl avor" use= "optional" />
        1372                    <xs: attribute  name="clas sCode" typ e="ActClas sSupply" u se="requir ed" fixed= "SPLY"/>
        1373                    <xs: attribute  name="mood Code" type ="x_Docume ntSubstanc eMood" use ="required "/>
        1374           </ xs:complex Type>
        1375   </xs:schem a>