hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                  | 
                                 Template Spezieller Implementierungsleitfaden ELGA Befund Bildgebende Diagnostik | 
                                 cdabgd | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.2.40.0.34.11.5 | 
                              
                              
                                 hl7:code
  | 
                                 CE | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 cdabgd | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                       
                                          | Der Wert von @code muss gewählt werden aus dem Value Set 1.2.40.0.34.10.39 ELGA_Dokumentenklassen (DYNAMIC)
                                           | 
                                        
                                     
                                  | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <code code="18748-4" displayName="Diagnostic Imaging Report" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/> | 
                              
                              
                                 hl7:title
  | 
                                 ST | 
                                 1 … 1 | 
                                 M | 
                                 Dokumententitel. Dieses Element enthält den für den lesenden Dokumentempfänger gedachten
                                    Titel.
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:participant
  | 
                                  | 
                                 1 … * | 
                                 M | 
                                  | 
                                 cdabgd | 
                              
                              
                                 |  wo   [@typeCode='CALLBCK'] | 
                                  | 
                              
                              
                                 @typeCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 CALLBCK | 
                              
                              
                                 hl7:associatedEntity
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 cdabgd | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 PROV | 
                              
                              
                                 hl7:addr
  | 
                                 AD | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:telecom
  | 
                                 TEL.AT | 
                                 1 … * | 
                                 M | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:associatedPerson
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 cdabgd | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.90001 PersonElements (DYNAMIC)
                                  | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 PSN | 
                              
                              
                                 @determinerCode
  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 INSTANCE | 
                              
                              
                                 hl7:name
  | 
                                 PN | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:scopingOrganization
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.90002 OrganizationElements (DYNAMIC)
                                  | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 ORG | 
                              
                              
                                 @determinerCode
  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 INSTANCE | 
                              
                              
                                 hl7:id
  | 
                                 II | 
                                 0 … * | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:name
  | 
                                 ON | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:telecom
  | 
                                 TEL.AT | 
                                 0 … * | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:addr
  | 
                                 AD | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:participant
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 |  wo   [@typeCode='REF'] | 
                                  | 
                              
                              
                                 @typeCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 REF | 
                              
                              
                                 hl7:associatedEntity
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 cdabgd | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 PROV | 
                              
                              
                                 hl7:id
  | 
                                 II | 
                                 0 … * | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:addr
  | 
                                 AD | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:telecom
  | 
                                 TEL.AT | 
                                 0 … * | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:associatedPerson
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 cdabgd | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.90001 PersonElements (DYNAMIC)
                                  | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 PSN | 
                              
                              
                                 @determinerCode
  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 INSTANCE | 
                              
                              
                                 hl7:name
  | 
                                 PN | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:scopingOrganization
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.90002 OrganizationElements (DYNAMIC)
                                  | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 ORG | 
                              
                              
                                 @determinerCode
  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 INSTANCE | 
                              
                              
                                 hl7:id
  | 
                                 II | 
                                 0 … * | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:name
  | 
                                 ON | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:telecom
  | 
                                 TEL.AT | 
                                 0 … * | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:addr
  | 
                                 AD | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:documentationOf
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 cdabgd | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <documentationOf>   <serviceEvent classCode="ACT">     <!-- APPC code für die gegenständliche Untersuchung -->     <code code="3.4.0.5-3-3" codeSystem="1.2.40.0.34.5.38" codeSystemName="APPC" displayName="MRT der LWS"/>    <effectiveTime>       <!-- Zeitpunkt der 1. Untersuchung in der Radiologie -->       <low value="20120823082015+0100"/>      <!-- Gleicher Zeitpunkt wenn nur 1 Untersuchung im Befund referenziert wird -->       <high value="20120823083727+0100"/>    </effectiveTime>  </serviceEvent></documentationOf> | 
                              
                              
                                 hl7:serviceEvent
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:code
  | 
                                 CE | 
                                 1 … 1 | 
                                 M | 
                                 Beispiel APPC Code : 3.4.0.5-3-3, die Komponenten sind durch "." voneinander getrennt
                                    und müssen aus den vier APPC Achsen kommen 
                                    
                                       
                                       - Achse 1: APPC Modalitaet, im Beipsiel "3" = MRT
 
                                       
                                       - Achse 2: APPC Lateralitaet, im Beispiel "4" = unpaariges Organ
 
                                       
                                       - Achse 3: APPC Prozeduren, im Beispiel "0" = Prozedur unbestimmt
 
                                       
                                       - Achse 4: APPC Anatomie, im Beispiel "5-3-3" = Lendenwirbelsäule
 
                                       
                                      Die Codes der Achsen stammen aus den jeweils gleichnamigen Value Sets. Die OID für
                                    das Codesystem muss die angegebene OID sein. 
                                  | 
                                 cdabgd | 
                              
                              
                                 @codeSystem
  | 
                                 CONF | 
                                 1 … 1 | 
                                 F | 
                                 1.2.40.0.34.5.38 | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <code code="3.4.0.5-3-3" codeSystem="1.2.40.0.34.5.38" codeSystemName="APPC"/> | 
                              
                              
                                 |   | 
                                 Variable let | 
                                 Name | 
                                 appc1 | 
                                   | 
                              
                              
                                 |   | 
                                 Value | 
                                 tokenize(@code, '\.')[1] | 
                                   | 
                              
                              
                                 |   | 
                                 Variable let | 
                                 Name | 
                                 appc2 | 
                                   | 
                              
                              
                                 |   | 
                                 Value | 
                                 tokenize(@code, '\.')[2] | 
                                   | 
                              
                              
                                 |   | 
                                 Variable let | 
                                 Name | 
                                 appc3 | 
                                   | 
                              
                              
                                 |   | 
                                 Value | 
                                 tokenize(@code, '\.')[3] | 
                                   | 
                              
                              
                                 |   | 
                                 Variable let | 
                                 Name | 
                                 appc4 | 
                                   | 
                              
                              
                                 |   | 
                                 Value | 
                                 tokenize(@code, '\.')[4] | 
                                   | 
                              
                              
                                 |   | 
                                 Variable let | 
                                 Name | 
                                 appc1ok | 
                                   | 
                              
                              
                                 |   | 
                                 Value | 
                                 concat(exists(document('include/voc-1.2.40.0.34.10.62-DYNAMIC.xml')/*/valueSet[conceptList/concept[@code
                                    = $appc1][@codeSystem = '1.2.40.0.34.5.38.1']]), '')
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 @nullFlavor or contains($appc1ok,'true') | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Code Achse 1: APPC Modalitaet muss aus dem Value Set APPCModalitaet 1.2.40.0.34.10.62
                                       stammen. | 
                                   | 
                              
                              
                                 |   | 
                                 Variable let | 
                                 Name | 
                                 appc2ok | 
                                   | 
                              
                              
                                 |   | 
                                 Value | 
                                 concat(exists(document('include/voc-1.2.40.0.34.10.63-DYNAMIC.xml')/*/valueSet[conceptList/concept[@code
                                    = $appc2][@codeSystem = '1.2.40.0.34.5.38.2']]), '')
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 @nullFlavor or contains($appc2ok,'true') | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Code Achse 2: APPC Lateralitaet muss aus dem Value Set APPCLateralitaet 1.2.40.0.34.10.63
                                       stammen. | 
                                   | 
                              
                              
                                 |   | 
                                 Variable let | 
                                 Name | 
                                 appc3ok | 
                                   | 
                              
                              
                                 |   | 
                                 Value | 
                                 concat(exists(document('include/voc-1.2.40.0.34.10.64-DYNAMIC.xml')/*/valueSet[conceptList/concept[@code
                                    = $appc3][@codeSystem = '1.2.40.0.34.5.38.3']]), '')
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 @nullFlavor or contains($appc3ok,'true') | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Code Achse 3: APPC Prozeduren muss aus dem Value Set APPCProzeduren 1.2.40.0.34.10.64
                                       stammen. | 
                                   | 
                              
                              
                                 |   | 
                                 Variable let | 
                                 Name | 
                                 appc4ok | 
                                   | 
                              
                              
                                 |   | 
                                 Value | 
                                 concat(exists(document('include/voc-1.2.40.0.34.10.65-DYNAMIC.xml')/*/valueSet[conceptList/concept[@code
                                    = $appc4][@codeSystem = '1.2.40.0.34.5.38.4']]), '')
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 @nullFlavor or contains($appc4ok,'true') | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Code Achse 4: APPC Anatomie muss aus dem Value Set APPCAnatomie 1.2.40.0.34.10.65
                                       stammen. | 
                                   | 
                              
                              
                                 hl7:effectiveTime
  | 
                                 IVL_TS | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:low
  | 
                                 TS.DATE.MIN | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:high
  | 
                                 TS.DATE.MIN | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 hl7:performer
  | 
                                  | 
                                 0 … * | 
                                  | 
                                  | 
                                 cdabgd | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <performer typeCode="PRF">   <templateId root="1.3.6.1.4.1.19376.1.3.3.1.7"/>  <time>     <low value="20081201061325+0100"/>    <high value="20081201161500+0100"/>  </time></performer> | 
                              
                              
                                 hl7:templateId
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 cdabgd | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.3.3.1.7 |