hl7:substanceAdministration
  | 
                                  | 
                                  | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 SBADM | 
                              
                              
                                 @moodCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 INT | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Wiederholung der Komponente zur Aufnahme eines Einnahmezeitpunkts und -dosis bei Dosierungsvariante
                                    2 und 4 höchstens einmal je Zeitcode!
                                  | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Konditionale Konformität für ID des Verordnungs-Entry Containers (Rezept-Dokument)
                                    
                                       
                                       
                                          
                                          | Card | 
                                          
                                          Conf | 
                                          
                                          Prädikat | 
                                          
                                        
                                       
                                       
                                          
                                          | 1..1 | 
                                          
                                          M | 
                                          
                                          Element wird in Medikationsliste verwendet | 
                                          
                                        
                                       
                                       
                                          
                                           | 
                                          
                                          NP | 
                                          
                                          Sonst | 
                                          
                                        
                                       
                                     
                                    
                                  | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.2.40.0.34.11.8.1.3.1 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 2.16.840.1.113883.10.20.1.24 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.4.7 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.9.1.3.2 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.9.1.3.6 | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.90012 Sbadm TemplateId Options (DYNAMIC)
                                  | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                  | 
                                 C | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.4.21 | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Konditionale Konformität 
                                    
                                       
                                       
                                          
                                          | Card | 
                                          
                                          Conf | 
                                          
                                          Prädikat | 
                                          
                                        
                                       
                                       
                                          
                                           | 
                                          
                                          NP | 
                                          
                                          Einnahmedauer beinhaltet low/high Elemente | 
                                          
                                        
                                       
                                       
                                          
                                          | 1..1 | 
                                          
                                          M | 
                                          
                                          Einnahmedauer beinhaltet ein width Element | 
                                          
                                        
                                       
                                     
                                    
                                  | 
                              
                              
                                 | Auswahl | 
                                 1 … 1 | 
                                  | 
                                 
                                     Dosierungsart: Normal (1.3.6.1.4.1.19376.1.5.3.1.4.7.1) oder Split (1.3.6.1.4.1.19376.1.5.3.1.4.9) Elemente in der Auswahl:
                                    
                                       - hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.1']
 
                                       - hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.9']
 
                                     
                                  | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                  … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.4.7.1 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                  … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.4.9 | 
                              
                              
                                 hl7:id
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                 ID des MedikationAbgabe-Entry | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [1] | 
                                  | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                 Wurzel OID der ID eines Medikation-Verordnung-Entry gemäß Projekt e-Medikation | 
                              
                              
                                 @extension
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                 VerordnungsID. Strukturvorschrift: VerordnungsID = {eMedID}_{lokal vergebene ID} | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <id root="1.2.40.0.10.1.4.3.4.2.2" extension="WYE82A2G8EEW_4711" assigningAuthorityName="Ordination Dr. Muster"/> | 
                              
                              
                                 hl7:id
  | 
                                 II | 
                                 0 … 1 | 
                                 C | 
                                 ID des MedikationVerordnung-Entry | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [2] | 
                                  | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.2.40.0.10.1.4.3.4.2.2 | 
                              
                              
                                 |   | 
                                 Wurzel OID der ID eines MedikationAbgabe-Entry gemäß Projekt e-Medikation | 
                              
                              
                                 @extension
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                 VerordnungsID | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Konditionale Konformität 
                                    
                                       
                                       
                                          
                                          | Card | 
                                          
                                          Conf | 
                                          
                                          Prädikat | 
                                          
                                        
                                       
                                       
                                          
                                          | 1..1 | 
                                          
                                          M | 
                                          
                                          Verordnungs-Entry liegt in Medikationsliste vor | 
                                          
                                        
                                       
                                       
                                          
                                           | 
                                          
                                          NP | 
                                          
                                          Sonst | 
                                          
                                        
                                       
                                     
                                    
                                  | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <id root="1.2.40.0.10.1.4.3.4.2.2" extension="WYE82A2G8EEW_4711" assigningAuthorityName="Ordination Dr. Muster"/> | 
                              
                              
                                 hl7:text
  | 
                                 ED | 
                                 1 … 1 | 
                                 M | 
                                 Verweist auf die Stelle im narrativen Text-Bereich, an der die gegebene Medikation
                                    narrativ beschrieben ist (mit zusätzlichen Informationen, wie Datum, Beschreibung,
                                    etc).
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:reference
  | 
                                 TEL | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                 #vpos-{generierteID}, z.B.: #vpos-1 | 
                              
                              
                                 hl7:statusCode
  | 
                                 CS | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @code
  | 
                                 CONF | 
                                 1 … 1 | 
                                 F | 
                                 completed | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.30006 Einnahmedauer (DYNAMIC)
                                  | 
                              
                              
                                 | Auswahl | 
                                 0 … 1 | 
                                  | 
                                 Elemente in der Auswahl:
                                    
                                       - hl7:effectiveTime[1][hl7:low]
 
                                       - hl7:effectiveTime[1][hl7:width]
 
                                       - hl7:effectiveTime[1][@nullFlavor]
 
                                     
                                  | 
                              
                              
                                 hl7:effectiveTime
  | 
                                 IVL_TS | 
                                  | 
                                  | 
                                 Zeitelement zur Dokumentation der Einnahmedauer | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [1] [hl7:low] | 
                                  | 
                              
                              
                                 hl7:low
  | 
                                 TS | 
                                 1 … 1 | 
                                 R | 
                                 Zeitpunkt des Einnahmestarts | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:high
  | 
                                 TS | 
                                 1 … 1 | 
                                 R | 
                                 Zeitpunkt des Einnahmeendes | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:effectiveTime
  | 
                                 IVL_TS | 
                                  | 
                                  | 
                                 Dauer der Einnahme wenn Einnahmestart unbekannt | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [1] [hl7:width] | 
                                  | 
                              
                              
                                 hl7:width
  | 
                                 PQ | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @unit
  | 
                                  | 
                                 0 … 1 | 
                                   | 
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                       
                                          | Der Wert von @unit muss gewählt werden aus dem Value Set 1.2.40.0.34.10.69 ELGA_MedikationFrequenz (DYNAMIC)
                                           | 
                                        
                                     
                                  | 
                              
                              
                                 hl7:effectiveTime
  | 
                                 IVL_TS | 
                                  | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [1] [@nullFlavor] | 
                                  | 
                              
                              
                                 @nullFlavor
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 NA | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Konditionale Konformität 
                                    
                                       
                                       
                                          
                                          | Card | 
                                          
                                          Conf | 
                                          
                                          Prädikat | 
                                          
                                        
                                       
                                       
                                          
                                          | 1..1 | 
                                          
                                          M | 
                                          
                                          Es wird in einer Verordnung (1.2.40.0.34.11.8.1.3.1) die Dosierungsvariante "Split"
                                             mit templateId 1.3.6.1.4.1.19376.1.5.3.1.4.9 verwendet wird. 
                                           | 
                                          
                                        
                                       
                                       
                                          
                                           | 
                                          
                                          NP | 
                                          
                                          Sonst | 
                                          
                                        
                                       
                                     
                                    
                                  | 
                              
                              
                                 | Auswahl | 
                                  … 1 | 
                                  | 
                                 Elemente in der Auswahl:
                                    
                                       - hl7:effectiveTime[hl7:period and not(hl7:phase)] eingefügt vom Template 1.2.40.0.34.11.30007 Dosierungsvariante 1: Tagesdosierung effectiveTime (DYNAMIC)
                                       
 
                                       - hl7:effectiveTime[2] eingefügt vom Template 1.2.40.0.34.11.30008 Dosierungsvariante 2: Einzeldosierung (DYNAMIC)
                                       
 
                                       - ein Element eingefügt vom Template 1.2.40.0.34.11.30009 Dosierungsvariante 3: Tagesdosierung mit Einnahmepause (DYNAMIC)
                                       
 
                                       - hl7:effectiveTime[2] eingefügt vom Template 1.2.40.0.34.11.30010 Dosierungsvariante 4: Einzeldosierung mit Einnahmepause (DYNAMIC)
                                       
 
                                     
                                  | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.30007 Dosierungsvariante 1: Tagesdosierung effectiveTime (DYNAMIC)
                                  | 
                              
                              
                                 hl7:effectiveTime
  | 
                                 PIVL_TS | 
                                  | 
                                 C | 
                                 Zeitelement zur Aufnahme der Dosierungsvarianten 1 und 3 | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [hl7:period and not(hl7:phase)] | 
                                  | 
                              
                              
                                 @operator
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 A | 
                              
                              
                                 @institutionSpecified
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 true | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Konditionale Konformität: Dosierung angegeben -> 1..1 M Dosierung nicht angegeben -> NP
                                  | 
                              
                              
                                 hl7:period
  | 
                                 PQ | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1 | 
                              
                              
                                 @unit
  | 
                                 cs | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                       
                                          | Der Wert von @unit muss gewählt werden aus dem Value Set 1.2.40.0.34.10.69 ELGA_MedikationFrequenz (DYNAMIC)
                                           | 
                                        
                                     
                                  | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.30008 Dosierungsvariante 2: Einzeldosierung (DYNAMIC)
                                  | 
                              
                              
                                 hl7:effectiveTime
  | 
                                  | 
                                  | 
                                 NP | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [2] | 
                                  | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.30009 Dosierungsvariante 3: Tagesdosierung mit Einnahmepause (DYNAMIC)
                                  | 
                              
                              
                                 | Auswahl | 
                                  … 1 | 
                                  | 
                                 
                                     Zeitelement zur Aufnahme der Dosierungsvarianten 1 und 3 Elemente in der Auswahl:
                                    
                                       - hl7:effectiveTime[hl7:period and hl7:phase]
 
                                       - hl7:effectiveTime[hl7:comp]
 
                                     
                                  | 
                              
                              
                                 hl7:effectiveTime
  | 
                                 PIVL_TS | 
                                  | 
                                 C | 
                                 Für einen Wochentag, z. B. wöchtentlich montags | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [hl7:period and hl7:phase] | 
                                  | 
                              
                              
                                 @operator
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 A | 
                              
                              
                                 hl7:phase
  | 
                                 IVL_TS | 
                                 1 … 1 | 
                                  | 
                                 Erstes Datum des entsprechenden Wochentags nach Einnahmebeginn (z.B.: 01.10.2013 ->
                                    Dienstag)
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:period
  | 
                                 PQ | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1 | 
                              
                              
                                 @unit
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 wk | 
                              
                              
                                 hl7:effectiveTime
  | 
                                 SXPR_TS | 
                                  | 
                                 C | 
                                 Für mehrere Wochentage, z. B. wöchtentlich montags und mittwochs | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [hl7:comp] | 
                                  | 
                              
                              
                                 @operator
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 A | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Konditionale Konformität: Dosierung angegeben -> 1..1 M Dosierung nicht angegeben -> NP
                                    1. Komponentencontainer ohne @operator, ggf. folgende Komponentencontainer mit @operator=I
                                  | 
                              
                              
                                 hl7:comp
  | 
                                 PIVL_TS | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [not(@operator)] | 
                                  | 
                              
                              
                                 hl7:phase
  | 
                                 IVL_TS | 
                                 1 … 1 | 
                                  | 
                                 Erstes Datum des entsprechenden Wochentags nach Einnahmebeginn (z.B.: 01.10.2013 ->
                                    Dienstag)
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:period
  | 
                                 PQ | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1 | 
                              
                              
                                 @unit
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 wk | 
                              
                              
                                 hl7:comp
  | 
                                 PIVL_TS | 
                                 0 … * | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [@operator='I'] | 
                                  | 
                              
                              
                                 @operator
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 I | 
                              
                              
                                 hl7:phase
  | 
                                 IVL_TS | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:period
  | 
                                 PQ | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1 | 
                              
                              
                                 @unit
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 wk | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.30010 Dosierungsvariante 4: Einzeldosierung mit Einnahmepause (DYNAMIC)
                                  | 
                              
                              
                                 hl7:effectiveTime
  | 
                                  | 
                                  | 
                                 NP | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [2] | 
                                  | 
                              
                              
                                 | Auswahl | 
                                  … 1 | 
                                  | 
                                 Elemente in der Auswahl:
                                    
                                       - ein Element eingefügt vom Template 1.2.40.0.34.11.30037 Dosierungsvariante 1: Tagesdosierung doseQuantity (DYNAMIC)
                                       
 
                                       - hl7:doseQuantity eingefügt vom Template 1.2.40.0.34.11.30039 Dosierungsvariante 2: Einzeldosierung doseQuantity (DYNAMIC)
                                       
 
                                       - ein Element eingefügt vom Template 1.2.40.0.34.11.30041 Dosierungsvariante 3: Tagesdosierung mit Einnahmepause doseQuantity (DYNAMIC)
                                       
 
                                       - hl7:doseQuantity eingefügt vom Template 1.2.40.0.34.11.30043 Dosierungsvariante 4: Einzeldosierung mit Einnahmepause doseQuantity (DYNAMIC)
                                       
 
                                     
                                  | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.30037 Dosierungsvariante 1: Tagesdosierung doseQuantity (DYNAMIC)
                                  | 
                              
                              
                                 | Auswahl | 
                                  … 1 | 
                                  | 
                                 Elemente in der Auswahl:
                                    
                                       - hl7:doseQuantity[not(hl7:low|hl7:high)]
 
                                       - hl7:doseQuantity[hl7:low|hl7:high]
 
                                     
                                  | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Konditionale Konformität:  Menge in nicht-zählbaren Einheiten -> @unit 1..1 (required) aus Value-Set ELGA_MedikationMengenart  Menge in zählbaren Einheiten (Tabletten, Kapseln, etc.) -> @unit 0..1 (otional) mit
                                    @unit aus Value-Set ELGA_MedikationMengenartAlternativ
                                  | 
                              
                              
                                 hl7:doseQuantity
  | 
                                 IVL_PQ | 
                                  | 
                                 R | 
                                 mit doseQuantity als IVL_PQ, aber als PQ instantiiert | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                  wo   [not(hl7:lowoder hl7:high)] | 
                                  | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 @unit
  | 
                                 cs | 
                                 0 … 1 | 
                                   | 
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                       
                                          Der Wert von @unit muss gewählt werden aus dem Value Set 1.2.40.0.34.10.32 ELGA_MedikationMengenart (DYNAMIC)
                                             
                                                
                                                     | 
                                                   Fehler: Kann Value Set "1.2.40.0.34.10.32" nicht finden | 
                                                 
                                              
                                           | 
                                        
                                       
                                          | oder | 
                                        
                                       
                                          | Der Wert von @unit muss gewählt werden aus dem Value Set 1.2.40.0.34.10.67 ELGA_MedikationMengenartAlternativ (DYNAMIC)
                                           | 
                                        
                                     
                                  | 
                              
                              
                                 hl7:doseQuantity
  | 
                                 IVL_PQ | 
                                  | 
                                 R | 
                                 mit doseQuantity als IVL_PQ | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                  wo   [hl7:lowoder hl7:high] | 
                                  | 
                              
                              
                                 hl7:low
  | 
                                 PQ | 
                                  | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 @unit
  | 
                                 cs | 
                                 0 … 1 | 
                                   | 
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                       
                                          Der Wert von @unit muss gewählt werden aus dem Value Set 1.2.40.0.34.10.32 ELGA_MedikationMengenart (DYNAMIC)
                                             
                                                
                                                     | 
                                                   Fehler: Kann Value Set "1.2.40.0.34.10.32" nicht finden | 
                                                 
                                              
                                           | 
                                        
                                       
                                          | oder | 
                                        
                                       
                                          | Der Wert von @unit muss gewählt werden aus dem Value Set 1.2.40.0.34.10.67 ELGA_MedikationMengenartAlternativ (DYNAMIC)
                                           | 
                                        
                                     
                                  | 
                              
                              
                                 hl7:high
  | 
                                 PQ | 
                                  | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 @unit
  | 
                                 cs | 
                                 0 … 1 | 
                                   | 
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                       
                                          Der Wert von @unit muss gewählt werden aus dem Value Set 1.2.40.0.34.10.32 ELGA_MedikationMengenart (DYNAMIC)
                                             
                                                
                                                     | 
                                                   Fehler: Kann Value Set "1.2.40.0.34.10.32" nicht finden | 
                                                 
                                              
                                           | 
                                        
                                       
                                          | oder | 
                                        
                                       
                                          | Der Wert von @unit muss gewählt werden aus dem Value Set 1.2.40.0.34.10.67 ELGA_MedikationMengenartAlternativ (DYNAMIC)
                                           | 
                                        
                                     
                                  | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.30039 Dosierungsvariante 2: Einzeldosierung doseQuantity (DYNAMIC)
                                  | 
                              
                              
                                 hl7:doseQuantity
  | 
                                  | 
                                  | 
                                 NP | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.30041 Dosierungsvariante 3: Tagesdosierung mit Einnahmepause doseQuantity (DYNAMIC)
                                  | 
                              
                              
                                 | Auswahl | 
                                  … 1 | 
                                  | 
                                 Elemente in der Auswahl:
                                    
                                       - hl7:doseQuantity[not(hl7:low|hl7:high)]
 
                                       - hl7:doseQuantity[hl7:low|hl7:high]
 
                                     
                                  | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Konditionale Konformität: Menge in nicht-zählbaren Einheiten -> @unit 1..1 (required) aus Value-Set ELGA_MedikationMengenart  Menge in zählbaren Einheiten (Tabletten, Kapseln, etc.) -> @unit 0..1 (optional)
                                    aus Value-Set ELGA_MedikationMengenartAlternativ
                                  | 
                              
                              
                                 hl7:doseQuantity
  | 
                                 IVL_PQ | 
                                  | 
                                 R | 
                                 mit doseQuantity als IVL_PQ, aber als PQ instantiiert | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                  wo   [not(hl7:lowoder hl7:high)] | 
                                  | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 @unit
  | 
                                 cs | 
                                 0 … 1 | 
                                   | 
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                       
                                          Der Wert von @unit muss gewählt werden aus dem Value Set 1.2.40.0.34.10.32 ELGA_MedikationMengenart (DYNAMIC)
                                             
                                                
                                                     | 
                                                   Fehler: Kann Value Set "1.2.40.0.34.10.32" nicht finden | 
                                                 
                                              
                                           | 
                                        
                                       
                                          | oder | 
                                        
                                       
                                          | Der Wert von @unit muss gewählt werden aus dem Value Set 1.2.40.0.34.10.67 ELGA_MedikationMengenartAlternativ (DYNAMIC)
                                           | 
                                        
                                     
                                  | 
                              
                              
                                 hl7:doseQuantity
  | 
                                 IVL_PQ | 
                                  | 
                                 R | 
                                 mit doseQuantity als IVL_PQ | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                  wo   [hl7:lowoder hl7:high] | 
                                  | 
                              
                              
                                 hl7:low
  | 
                                 PQ | 
                                  | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 @unit
  | 
                                 cs | 
                                 0 … 1 | 
                                   | 
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                       
                                          Der Wert von @unit muss gewählt werden aus dem Value Set 1.2.40.0.34.10.32 ELGA_MedikationMengenart (DYNAMIC)
                                             
                                                
                                                     | 
                                                   Fehler: Kann Value Set "1.2.40.0.34.10.32" nicht finden | 
                                                 
                                              
                                           | 
                                        
                                       
                                          | oder | 
                                        
                                       
                                          | Der Wert von @unit muss gewählt werden aus dem Value Set 1.2.40.0.34.10.67 ELGA_MedikationMengenartAlternativ (DYNAMIC)
                                           | 
                                        
                                     
                                  | 
                              
                              
                                 hl7:high
  | 
                                 PQ | 
                                  | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 @unit
  | 
                                 cs | 
                                 0 … 1 | 
                                   | 
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                       
                                          Der Wert von @unit muss gewählt werden aus dem Value Set 1.2.40.0.34.10.32 ELGA_MedikationMengenart (DYNAMIC)
                                             
                                                
                                                     | 
                                                   Fehler: Kann Value Set "1.2.40.0.34.10.32" nicht finden | 
                                                 
                                              
                                           | 
                                        
                                       
                                          | oder | 
                                        
                                       
                                          | Der Wert von @unit muss gewählt werden aus dem Value Set 1.2.40.0.34.10.67 ELGA_MedikationMengenartAlternativ (DYNAMIC)
                                           | 
                                        
                                     
                                  | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.30043 Dosierungsvariante 4: Einzeldosierung mit Einnahmepause doseQuantity (DYNAMIC)
                                  | 
                              
                              
                                 hl7:doseQuantity
  | 
                                  | 
                                  | 
                                 NP | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |   | 
                                 Schematron report | 
                                 role | 
                                   warning
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 not(not(hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.1']) or hl7:effectiveTime[2]) | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 effectiveTime[2] muss in den Dosierungsvarianten 1 und 3 anwesend sein | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron report | 
                                 role | 
                                   warning
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 not(not(hl7:templateId[@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.1']) or hl7:doseQuantity) | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 doseQuantity muss in den Dosierungsvarianten 1 und 3 anwesend sein | 
                                   | 
                              
                              
                                 hl7:repeatNumber
  | 
                                 IVL_INT | 
                                 1 … 1 | 
                                 R | 
                                 Anzahl der Einlösungen | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:routeCode
  | 
                                 CE | 
                                 0 … 1 | 
                                  | 
                                 Art der Anwendung der Arznei | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @codeSystem
  | 
                                 CONF | 
                                 1 … 1 | 
                                 F | 
                                 1.2.40.0.10.1.4.3.4.3.4 | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <routeCode code="100000073633" displayName="Subkutane Anwendung" codeSystem="1.2.40.0.10.1.4.3.4.3.4" codeSystemName="ELGA_MedikationArtAnwendung"/> | 
                              
                              
                                 hl7:consumable
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                 Beinhaltet 1.2.40.0.34.11.2.3.4 Arznei Entry (DYNAMIC)
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [hl7:manufacturedProduct [hl7:templateId/@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'
                                       and hl7:templateId/@root='2.16.840.1.113883.10.20.1.53']] | 
                                  | 
                              
                              
                                 | Eingefügt | 
                                 0 … 1 | 
                                 C | 
                                  von 1.2.40.0.34.11.90004 AuthorElements (DYNAMIC)
                                  | 
                              
                              
                                 | Auswahl | 
                                 0 … 1 | 
                                  | 
                                 Elemente in der Auswahl:
                                    
                                       - hl7:author[not(@nullFlavor)]
 
                                       - hl7:author[@nullFlavor]
 
                                     
                                  | 
                              
                              
                                 hl7:author
  | 
                                  | 
                                  | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [not(@nullFlavor)] | 
                                  | 
                              
                              
                                 @typeCode
  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 AUT | 
                              
                              
                                 @contextControlCode
  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 OP | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <author typeCode="AUT" contextControlCode="OP">   <time value="201106101654"/>  <assignedAuthor classCode="ASSIGNED">     <!-- ... -->   </assignedAuthor></author> | 
                              
                              
                                 hl7:functionCode
  | 
                                 CE | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <functionCode code="OA" displayName="Diensthabender Oberarzt" codeSystem="1.2.40.0.34.99.111.2.1" codeSystemName="Amadeus Spital - Funktionscodes"/> | 
                              
                              
                                 hl7:time
  | 
                                 TS.DATE.MIN | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <time value="20080324082015+0100"/> | 
                              
                              
                                 hl7:assignedAuthor
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 ASSIGNED | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <assignedAuthor classCode="ASSIGNED">   <id extension="ied8984938" root="1.2.276.0.76.3.1.139.933"/>  <assignedPerson classCode="PSN" determinerCode="INSTANCE">     <!-- ... -->   </assignedPerson></assignedAuthor> | 
                              
                              
                                 hl7:id
  | 
                                 II | 
                                 1 … * | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <id root="1.2.40.0.34.99.111.1.3" extension="1111" assigningAuthorityName="Amadeus Spital"/> | 
                              
                              
                                 hl7:code
  | 
                                 CE | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                       
                                          | Der Wert von @code muss gewählt werden aus dem Value Set 1.2.40.0.34.10.6 ELGA_AuthorSpeciality (DYNAMIC)
                                           | 
                                        
                                     
                                  | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <code code="108" codeSystem="1.2.40.0.34.5.2" displayName="Fachärztin/Facharzt für Frauenheilkunde und Geburtshilfe"/> | 
                              
                              
                                 hl7:telecom
  | 
                                 TEL.AT | 
                                 0 … * | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 | Auswahl | 
                                 1 … 1 | 
                                  | 
                                 Elemente in der Auswahl:
                                    
                                       - hl7:assignedPerson
 
                                       - hl7:assignedAuthoringDevice
 
                                     
                                  | 
                              
                              
                                 hl7:assignedPerson
  | 
                                  | 
                                  … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <assignedPerson classCode="PSN" determinerCode="INSTANCE">   <name>     <!-- ... -->   </name></assignedPerson> | 
                              
                              
                                 | 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 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:assignedAuthoringDevice
  | 
                                  | 
                                  … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 DEV | 
                              
                              
                                 @determinerCode
  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 INSTANCE | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <assignedAuthoringDevice classCode="DEV" determinerCode="INSTANCE">   <manufacturerModelName>xxx</manufacturerModelName>  <softwareName>yyy</softwareName></assignedAuthoringDevice> | 
                              
                              
                                 hl7:manufacturerModelName
  | 
                                 SC | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:softwareName
  | 
                                 SC | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:representedOrganization
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <representedOrganization classCode="ORG" determinerCode="INSTANCE">   <name>     <!-- ... -->   </name></representedOrganization> | 
                              
                              
                                 | 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 … * | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:name
  | 
                                 ON | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:telecom
  | 
                                 TEL.AT | 
                                 0 … * | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:addr
  | 
                                 AD | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:author
  | 
                                  | 
                                  | 
                                  | 
                                 Verfasser nicht bekannt/nicht anwendbar | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [@nullFlavor] | 
                                  | 
                              
                              
                                 @nullFlavor
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 NA | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <author nullFlavor="NA">   <time nullFlavor="NA"/>  <assignedAuthor nullFlavor="NA">     <id nullFlavor="NA"/>  </assignedAuthor></author> | 
                              
                              
                                 hl7:time
  | 
                                  | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @nullFlavor
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 NA | 
                              
                              
                                 hl7:assignedAuthor
  | 
                                  | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @nullFlavor
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 NA | 
                              
                              
                                 hl7:id
  | 
                                  | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @nullFlavor
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 NA | 
                              
                              
                                 | Auswahl | 
                                  | 
                                  | 
                                 Elemente in der Auswahl:
                                    
                                       - hl7:entryRelationship[@typeCode='COMP'] eingefügt vom Template 1.2.40.0.34.11.30038 Dosierungsvariante 1: Tagesdosierung entryRelationship (DYNAMIC)
                                       
 
                                       - hl7:entryRelationship[hl7:substanceAdministration/hl7:effectiveTime[@xsi:type='EIVL_TS']]
                                          eingefügt vom Template 1.2.40.0.34.11.30040 Dosierungsvariante 2: Einzeldosierung entryRelationship (DYNAMIC)
                                       
 
                                       - hl7:entryRelationship eingefügt vom Template 1.2.40.0.34.11.30042 Dosierungsvariante 3: Tagesdosierung mit Einnahmepause entryRelationship (DYNAMIC)
                                       
 
                                       - hl7:entryRelationship[hl7:substanceAdministration/hl7:effectiveTime[@xsi:type='SXPR_TS']]
                                          eingefügt vom Template 1.2.40.0.34.11.30044 Dosierungsvariante 4: Einzeldosierung mit Einnahmepause entryRelationship (DYNAMIC)
                                       
 
                                     
                                  | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.30038 Dosierungsvariante 1: Tagesdosierung entryRelationship (DYNAMIC)
                                  | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                  | 
                                 NP | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [@typeCode='COMP'] | 
                                  | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.30040 Dosierungsvariante 2: Einzeldosierung entryRelationship (DYNAMIC)
                                  | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                  | 
                                 C | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [hl7:substanceAdministration/hl7:effectiveTime [@xsi:type='EIVL_TS']] | 
                                  | 
                              
                              
                                 @typeCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 COMP | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Konditionale Konformität: Dosierung angegeben -> 1..* M Dosierung nicht angegeben -> NP
                                  | 
                              
                              
                                 hl7:sequenceNumber
  | 
                                 INT | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.30046 Splitdose-Einnahmezeitpunkte 1 (DYNAMIC)
                                  | 
                              
                              
                                 hl7:substanceAdministration
  | 
                                  | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 SBADM | 
                              
                              
                                 @moodCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 INT | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Konditionale Konformität 
                                    
                                       
                                       
                                          
                                          | Card | 
                                          
                                          Conf | 
                                          
                                          Prädikat | 
                                          
                                        
                                       
                                       
                                          
                                          | 1..1 | 
                                          
                                          M | 
                                          
                                          Menge in nicht-zählbaren Einheiten, zulässige Werte gemäß Value-Set "ELGA_MedikationMengenart_VS" | 
                                          
                                        
                                       
                                       
                                          
                                          | 0..1 | 
                                          
                                          O | 
                                          
                                          Menge in zählbaren Einheiten (Tabletten, Kapseln, etc.), zulässige Werte gemäß Value-Set
                                             "ELGA_MedikationMengenart_VS" oder Freitex
                                           | 
                                          
                                        
                                       
                                     
                                    
                                  | 
                              
                              
                                 hl7:effectiveTime
  | 
                                 EIVL_TS | 
                                 1 … 1 | 
                                 M | 
                                 Zeitelement zur Aufnahme des Einnahmezeitpunkts | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [@xsi:type='EIVL_TS'] | 
                                  | 
                              
                              
                                 hl7:event
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @code
  | 
                                 cs | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                       
                                          | Der Wert von @code muss gewählt werden aus dem Value Set 1.2.40.0.34.10.59 ELGA_Einnahmezeitpunkte (DYNAMIC)
                                           | 
                                        
                                     
                                  | 
                              
                              
                                 hl7:offset
  | 
                                 IVL_PQ | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 0 | 
                              
                              
                                 @unit
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 s | 
                              
                              
                                 hl7:doseQuantity
  | 
                                 IVL_PQ | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:consumable
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:manufacturedProduct
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:manufacturedMaterial
  | 
                                  | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @nullFlavor
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 NA | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.30042 Dosierungsvariante 3: Tagesdosierung mit Einnahmepause entryRelationship (DYNAMIC)
                                  | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                  | 
                                 NP | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.30044 Dosierungsvariante 4: Einzeldosierung mit Einnahmepause entryRelationship (DYNAMIC)
                                  | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                  | 
                                 C | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [hl7:substanceAdministration/hl7:effectiveTime [@xsi:type='SXPR_TS']] | 
                                  | 
                              
                              
                                 @typeCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 COMP | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Konditionale Konformität: Dosierung angegeben -> 1..* M Dosierung nicht angegeben -> NP
                                  | 
                              
                              
                                 hl7:sequenceNumber
  | 
                                 INT | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.40.0.34.11.30047 Splitdose-Einnahmezeitpunkte 2 (DYNAMIC)
                                  | 
                              
                              
                                 hl7:substanceAdministration
  | 
                                  | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 SBADM | 
                              
                              
                                 @moodCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 INT | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Konditionale Konformität 
                                    
                                       
                                       
                                          
                                          | Card | 
                                          
                                          Conf | 
                                          
                                          Prädikat | 
                                          
                                        
                                       
                                       
                                          
                                          | 1..1 | 
                                          
                                          M | 
                                          
                                          Menge in nicht-zählbaren Einheiten, zulässige Werte gemäß Value-Set "ELGA_MedikationMengenart_VS" | 
                                          
                                        
                                       
                                       
                                          
                                          | 0..1 | 
                                          
                                          O | 
                                          
                                          Menge in zählbaren Einheiten (Tabletten, Kapseln, etc.), zulässige Werte gemäß Value-Set
                                             "ELGA_MedikationMengenart_VS" oder Freitex
                                           | 
                                          
                                        
                                       
                                     
                                    
                                  | 
                              
                              
                                 hl7:effectiveTime
  | 
                                 SXPR_TS | 
                                 1 … 1 | 
                                 M | 
                                 Zeitelement zur Aufnahme des Einnahmezeitpunkts | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [@xsi:type='SXPR_TS'] | 
                                  | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Die comp-Komponenten mit PIVL_TS müssen bei allen Einnahmezeitpunkten gleich angegeben
                                    werden!
                                  | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 1. Komponentencontainer mit @operator=A, ggf. folgende Komponentencontainer mit @operator=I | 
                              
                              
                                 hl7:comp
  | 
                                 EIVL_TS | 
                                 1 … 1 | 
                                 M | 
                                 Komponentencontainer | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [@xsi:type='EIVL_TS'] | 
                                  | 
                              
                              
                                 hl7:event
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @code
  | 
                                 cs | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                       
                                          | Der Wert von @code muss gewählt werden aus dem Value Set 1.2.40.0.34.10.59 ELGA_Einnahmezeitpunkte (DYNAMIC)
                                           | 
                                        
                                     
                                  | 
                              
                              
                                 hl7:offset
  | 
                                 IVL_PQ | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 0 | 
                              
                              
                                 @unit
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 s | 
                              
                              
                                 hl7:comp
  | 
                                 PIVL_TS | 
                                 1 … 1 | 
                                 M | 
                                 1. Komponentencontainer zur Aufnahme der Einnahmetage | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [@xsi:type='PIVL_TS'] [@operator='A'] | 
                                  | 
                              
                              
                                 @operator
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 A | 
                              
                              
                                 hl7:phase
  | 
                                 IVL_TS | 
                                 1 … 1 | 
                                  | 
                                 Erstes Datum des entsprechenden Wochentags nach Einnahmebeginn (z.B.: 01.10.2013 ->
                                    Dienstag)
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:value
  | 
                                 TS | 
                                  | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:period
  | 
                                 PQ | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1 | 
                              
                              
                                 @unit
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 wk | 
                              
                              
                                 hl7:comp
  | 
                                 PIVL_TS | 
                                 0 … * | 
                                  | 
                                 2.+ Komponentencontainer zur Aufnahme der Einnahmetage | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [@xsi:type='PIVL_TS'] [@operator='I'] | 
                                  | 
                              
                              
                                 hl7:phase
  | 
                                 IVL_TS | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:value
  | 
                                 TS | 
                                  | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:period
  | 
                                 PQ | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1 | 
                              
                              
                                 @unit
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 wk | 
                              
                              
                                 hl7:doseQuantity
  | 
                                 IVL_PQ | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:consumable
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:manufacturedProduct
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:manufacturedMaterial
  | 
                                  | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @nullFlavor
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 NA | 
                              
                              
                                 |   | 
                                 Variable let | 
                                 Name | 
                                 seq | 
                                   | 
                              
                              
                                 |   | 
                                 Value | 
                                 hl7:entryRelationship/hl7:substanceAdministration/hl7:effectiveTime[//hl7:offset[@value='0']]//hl7:event/@code | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 empty($seq[position() = index-of($seq,.)[2]]) | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Wiederholung der Komponente zur Aufnahme eines Einnahmezeitpunkts und -dosis bei Dosierungsvariante
                                       2 und 4 höchstens einmal je Zeitcode! | 
                                   | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                 Anzahl der Packungen | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [@typeCode='COMP'] [hl7:supply] | 
                                  | 
                              
                              
                                 @typeCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 COMP | 
                              
                              
                                 hl7:supply
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 SPLY | 
                              
                              
                                 @moodCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 RQO | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <supply classCode="SPLY" moodCode="RQO">   <independentInd value="false"/>  <quantity value="1"/></supply> | 
                              
                              
                                 hl7:independentInd
  | 
                                 BL | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 false | 
                              
                              
                                 hl7:quantity
  | 
                                 PQ | 
                                 1 … 1 | 
                                 R | 
                                 Packungsanzahl | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                 Komponente zur Aufnahme der Zusatzinformationen, Informationen zur alternativen Einnahme
                                    und Informationen zur Arznei
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [@typeCode='SUBJ'] [hl7:act/hl7:templateId [@root='2.16.840.1.113883.10.20.1.49']] | 
                                  | 
                              
                              
                                 @typeCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 SUBJ | 
                              
                              
                                 @inversionInd
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 true | 
                              
                              
                                 | Eingefügt | 
                                 0 … 1 | 
                                  | 
                                  von 1.2.40.0.34.11.30033 Patient Instructions (DYNAMIC)
                                  | 
                              
                              
                                 hl7:act
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 ACT | 
                              
                              
                                 @moodCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 INT | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 2.16.840.1.113883.10.20.1.49 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.4.3 | 
                              
                              
                                 hl7:code
  | 
                                 CE | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @code
  | 
                                 CONF | 
                                 1 … 1 | 
                                 F | 
                                 PINSTRUCT | 
                              
                              
                                 @codeSystem
  | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.2 (IHEActCode Vocabulary) | 
                              
                              
                                 hl7:text
  | 
                                 ED | 
                                 1 … 1 | 
                                 M | 
                                 Text Element (verweist auf die Stelle im narrativen Text-Bereich, an der die Zusatzinformationen
                                    für den Patienten, Informationen zur alternativen Einnahme und Informationen zur Arznei
                                    angeführt sind)
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:reference
  | 
                                 TEL | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                 #patinfo-{generierteID}, z.B.: #patinfo-1 | 
                              
                              
                                 hl7:statusCode
  | 
                                 CS | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @code
  | 
                                 CONF | 
                                 1 … 1 | 
                                 F | 
                                 completed | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                 1 … 3 | 
                                 M | 
                                 Komponente zur Aufnahme der Referenz zu einer Unterkategorie (mindestens eine Unterkategorie
                                    muss angegeben sein).
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @typeCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 SUBJ | 
                              
                              
                                 @inversionInd
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 true | 
                              
                              
                                 hl7:act
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 ACT | 
                              
                              
                                 @moodCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 INT | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.2.40.0.34.11.8.0.3.1 | 
                              
                              
                                 hl7:code
  | 
                                 CE | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                       
                                          | Der Wert von @code muss gewählt werden aus dem Value Set 1.2.40.0.34.10.161 ELGA_ActCode_PatInfo (DYNAMIC)
                                           | 
                                        
                                     
                                  | 
                              
                              
                                 hl7:text
  | 
                                 ED | 
                                 1 … 1 | 
                                 M | 
                                 Text Element (verweist auf die Stelle im narrativen Text-Bereich, an der die entsprechende
                                    Unterkategorie angeführt ist)
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:reference
  | 
                                 TEL | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                 #zinfo|altein|arzneiinfo-{generierteID} Der Prefix muss dem gewählten Code entsprechen.
                                    z.B.: #altein-1 
                                  | 
                              
                              
                                 hl7:statusCode
  | 
                                 CS | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @code
  | 
                                 CONF | 
                                 1 … 1 | 
                                 F | 
                                 completed | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                 Komponente zur Aufnahme der ergänzenden Informationen zur Abgabe oder zu der magistralen
                                    Zubereitung.
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [@typeCode='SUBJ'] [hl7:act/hl7:templateId [@root='2.16.840.1.113883.10.20.1.43']] | 
                                  | 
                              
                              
                                 @typeCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 SUBJ | 
                              
                              
                                 @inversionInd
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 true | 
                              
                              
                                 |   | 
                                 Constraint | 
                                 Konditionale Konformität 
                                    
                                       
                                       
                                          
                                          | Card | 
                                          
                                          Conf | 
                                          
                                          Prädikat | 
                                          
                                        
                                       
                                       
                                          
                                          | 1..1 | 
                                          
                                          M | 
                                          
                                          Arznei ist eine magistrale Zubereitung | 
                                          
                                        
                                       
                                       
                                          
                                          | 0..1 | 
                                          
                                          O | 
                                          
                                          Arznei ist keine magistrale Zubereitung | 
                                          
                                        
                                       
                                     
                                    
                                  | 
                              
                              
                                 | Eingefügt | 
                                 0 … 1 | 
                                  | 
                                  von 1.2.40.0.34.11.30034 Pharmacist Instructions (DYNAMIC)
                                  | 
                              
                              
                                 hl7:act
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 ACT | 
                              
                              
                                 @moodCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 INT | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 2.16.840.1.113883.10.20.1.43 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.1.4.3.1 | 
                              
                              
                                 hl7:code
  | 
                                 CE | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @code
  | 
                                 CONF | 
                                 1 … 1 | 
                                 F | 
                                 FINSTRUCT | 
                              
                              
                                 @codeSystem
  | 
                                 1 … 1 | 
                                 F | 
                                 1.3.6.1.4.1.19376.1.5.3.2 (IHEActCode Vocabulary) | 
                              
                              
                                 hl7:text
  | 
                                 ED | 
                                 1 … 1 | 
                                 M | 
                                 Text Element (verweist auf die Stelle im narrativen Text-Bereich, an der die ergänzenden
                                    Informationen zur Abgabe oder zu der magistralen Zubereitungen angeführt sind)
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:reference
  | 
                                 TEL | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                 #abginfo-{generierteID}, z.B.: #abginfo-1 | 
                              
                              
                                 hl7:statusCode
  | 
                                 CS | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @code
  | 
                                 CONF | 
                                 1 … 1 | 
                                 F | 
                                 completed | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                 1 … 2 | 
                                 M | 
                                 Komponente zur Aufnahme der Referenz zu einer Unterkategorie (mindestens eine Unterkategorie
                                    muss angegeben sein).
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @typeCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 SUBJ | 
                              
                              
                                 @inversionInd
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 true | 
                              
                              
                                 hl7:act
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 ACT | 
                              
                              
                                 @moodCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 INT | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.2.40.0.34.11.8.0.3.2 | 
                              
                              
                                 hl7:code
  | 
                                 CE | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                       
                                          | Der Wert von @code muss gewählt werden aus dem Value Set 1.2.40.0.34.10.160 ELGA_ActCode_AbgInfo (DYNAMIC)
                                           | 
                                        
                                     
                                  | 
                              
                              
                                 hl7:text
  | 
                                 ED | 
                                 1 … 1 | 
                                 M | 
                                 Text Element (verweist auf die Stelle im narrativen Text-Bereich, an der die entsprechende
                                    Unterkategorie angeführt ist)
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:reference
  | 
                                 TEL | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @value
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                 #erginfo|magzub-{generierteID} Der Prefix muss dem gewählten Code entsprechen. z.B.:
                                    #magzub-1 
                                  | 
                              
                              
                                 hl7:statusCode
  | 
                                 CS | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @code
  | 
                                 CONF | 
                                 1 … 1 | 
                                 F | 
                                 completed | 
                              
                              
                                 | Eingefügt | 
                                 0 … 1 | 
                                  | 
                                  von 1.2.40.0.34.11.30045 Therapieart (DYNAMIC)
                                  | 
                              
                              
                                 hl7:entryRelationship
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                 Therapieart dieses MedikationVerordnung-Entry | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |  wo   [@typeCode='COMP'] [hl7:act/hl7:templateId [@root='1.2.40.0.34.11.8.1.3.4']] | 
                                  | 
                              
                              
                                 @typeCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 COMP | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <entryRelationship typeCode="COMP">   <act classCode="ACT" moodCode="INT">     <templateId root="1.2.40.0.34.11.8.1.3.4"/>    <code code="EINZEL" displayName="Einzelverordnung" codeSystem="1.2.40.0.10.1.4.3.4.3.6" codeSystemName="MedikationTherapieArt"/>  </act></entryRelationship> | 
                              
                              
                                 hl7:act
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @classCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 ACT | 
                              
                              
                                 @moodCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 INT | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.2.40.0.34.11.8.1.3.4 | 
                              
                              
                                 hl7:code
  | 
                                 CE | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                       
                                          | Der Wert von @code muss gewählt werden aus dem Value Set 1.2.40.0.34.10.30 ELGA_MedikationTherapieArt (DYNAMIC)
                                           | 
                                        
                                     
                                  | 
                              
                              
                                 hl7:originalText
  | 
                                 ED | 
                                 0 … 1 | 
                                  | 
                                 Textinhalt, der codiert wurde. Gemäß Vorgaben im „Allgemeinen Implementierungsleitfaden“,
                                    Kapitel „Codierungs-Elemente“. 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 | Eingefügt | 
                                 0 … 1 | 
                                 C | 
                                  von 1.2.40.0.34.11.90013 ID des Containers (DYNAMIC) ID des Verordnungs-Entry Containers (Rezept-Dokument)
                                  | 
                              
                              
                                 hl7:reference
  | 
                                  | 
                                 0 … 1 | 
                                 C | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @typeCode
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 XCRPT | 
                              
                              
                                 hl7:externalDocument
  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 hl7:id
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                 ID des MedikationVerordnung-Entry | 
                                 (MedikationVerordnungEntryemed) | 
                              
                              
                                 @root
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.2.40.0.10.1.4.3.4.2.1 | 
                              
                              
                                 @extension
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                 eMED-ID | 
                              
                              
                                 @assigningAuthorityName
  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 e-MedAT |