hl7:ClinicalDocument 
                                  | 
                                  | 
                                  | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 | Eingefügt | 
                                 1 … 1 | 
                                 M | 
                                  von 1.2.276.0.76.10.90002 CDA realmCode (DYNAMIC) Der realmCode gibt ein Länderkennzeichen für den Geltungsbereich an, bei Hauskomet ist somit als
                                    code "DE" für Deutschland anzugeben.
                                  | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <realmCode code="DE"/> | 
                              
                              
                                 hl7:realmCode 
                                  | 
                                 CS | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 CDAr Code | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 @code 
                                  | 
                                 cs | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                  | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <realmCode code="DE"/> | 
                              
                              
                                 | Eingefügt | 
                                 1 … 1 | 
                                 M | 
                                  von 1.2.276.0.76.10.90003 CDA typeId (DYNAMIC) Die typeId beschreibt den Typen des Dokuments. In diesem Fall ist der Typ immer "CDA Dokument", dies wird über die Angaben root="2.16.840.1.113883.1.3" extension="POCD_HD000040" ausgedrückt.
                                  | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/> | 
                              
                              
                                 hl7:typeId 
                                  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 CDAtypeId | 
                              
                              
                                 @extension 
                                  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 POCD_HD000040 | 
                              
                              
                                 @root 
                                  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 2.16.840.1.113883.1.3 | 
                              
                              
                                 hl7:templateId 
                                  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 @root 
                                  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 2.16.840.1.113883.3.1937.99.61.48.10.35 | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <templateId root="2.16.840.1.113883.3.1937.99.61.48.10.35"/> | 
                              
                              
                                 | Eingefügt | 
                                 1 … 1 | 
                                 M | 
                                  von 1.2.276.0.76.10.90004 CDA id (DYNAMIC)
                                  | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <id root="1.2.276.0.76.3645.239" extension="F5EEE2DF-063A-415A-A02D-494FFCD3E48D"/> | 
                              
                              
                                 hl7:id 
                                  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:code 
                                  | 
                                 CE | 
                                 1 … 1 | 
                                 M | 
                                 Über die code Angabe wird eine Aussage über den Dokumentinhalt getätigt. Hier ist es immer ein "Erweitertes Medikationsplan-Dokument", dies wird über den LOINC
                                    Code 77603-9 (
                                       Medication treatment plan.extended Document) ausgedrückt.
                                       
                                    
                                  | 
                                 (CDA met) | 
                              
                              
                                 
                                    @code 
                                  | 
                                 CONF | 
                                 1 … 1 | 
                                 F | 
                                 77603-9 | 
                              
                              
                                 
                                    @codeSystem 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 2.16.840.1.113883.6.1 (LOINC) | 
                              
                              
                                 | Eingefügt | 
                                 1 … 1 | 
                                  | 
                                  von 1.2.276.0.76.10.90005 CDA title (DYNAMIC)
                                  | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <title>Hauskomet Medikationsinformationen</title> | 
                              
                              
                                 hl7:title 
                                  | 
                                 ST | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.276.0.76.10.90006 CDA effectiveTime (DYNAMIC)
                                  | 
                              
                              
                                 hl7:effectiveTime 
                                  | 
                                 TS.DATETIME.MIN | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.276.0.76.10.90007 CDA confidentialityCode (DYNAMIC)
                                  | 
                              
                              
                                 hl7:confidentialityCode 
                                  | 
                                 CE | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                  | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.276.0.76.10.90008 CDA languageCode (DYNAMIC)
                                  | 
                              
                              
                                 hl7:languageCode 
                                  | 
                                 CS.LANG | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 | Eingefügt | 
                                 1 … 1 | 
                                 M | 
                                  von 1.2.276.0.76.10.90009 CDA setId and versionNumber (DYNAMIC) Bei Hauskomet dient die setId zur Identifikation aller Medikationsinformationen eines Patienten. Somit wird die setId (in Form einer GUID) bei Erstanlage der Hauskomet Medikationsinformation eines Patienten
                                    einmalig vergeben und bleibt über alle nachfolgenden Bearbeitungen hinweg konstant,
                                    die versionNumber hingegen wird bei einer Bearbeitung jeweils um eins erhöht.
                                  | 
                              
                              
                                 hl7:setId 
                                  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:versionNumber 
                                  | 
                                 INT.POS | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 | Eingefügt | 
                                 1 … 1 | 
                                 M | 
                                  von 2.16.840.1.113883.3.1937.99.61.48.10.4 CDA recordTarget (medmgmt) (DYNAMIC)
                                  | 
                              
                              
                                 hl7:recordTarget 
                                  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 @typeCode 
                                  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 RCT | 
                              
                              
                                 @contextControlCode 
                                  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 OP | 
                              
                              
                                 hl7:patientRole 
                                  | 
                                  | 
                                 1 … 1 | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 @classCode 
                                  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 PAT | 
                              
                              
                                 | Eingefügt | 
                                 1 … 1 | 
                                 R | 
                                  von 1.2.276.0.76.10.90024 Patientenidentifikation (DYNAMIC)
                                  | 
                              
                              
                                 hl7:id 
                                  | 
                                 II | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 
                                     eGK Nummer als Patientenidentifikation <id extension="A123456789" root="1.2.276.0.76.4.8"/> | 
                              
                              
                                 hl7:addr 
                                  | 
                                 AD | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:telecom 
                                  | 
                                 TEL | 
                                 0 … * | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:patient 
                                  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 @classCode 
                                  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 PSN | 
                              
                              
                                 @determinerCode 
                                  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 INSTANCE | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 <patient classCode="PSN" determinerCode="INSTANCE">   <name>     <!-- ... -->   </name>  <administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.5.1"/>  <birthTime value="19620219"/></patient> | 
                              
                              
                                 | Eingefügt | 
                                 1 … * | 
                                 R | 
                                  von 1.2.276.0.76.10.90030 Personenname (DYNAMIC)
                                  | 
                              
                              
                                 hl7:name 
                                  | 
                                 PN | 
                                 1 … * | 
                                 R | 
                                 Die Reihenfolge der Namensbestandteile soll der typischen Schreibweise entsprechen.
                                    Zu beachten ist, dass prefix- und suffix-Elemente mit einem Leerzeichen enden müssen,
                                    wenn sie nicht unmittelbar an den folgenden Namensbestandteil anschließen sollen. 
                                    
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 
                                     Dr. med. Sine Johanna Gräfin von Oberberg <name>   <prefix qualifier="AC">Dr. med. </prefix>  <given>Sine Johanna</given>  <prefix qualifier="NB">Gräfin </prefix>  <prefix qualifier="VV">von </prefix>  <family>Oberberg</family></name> | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 
                                     Prof. Dr. med. Dr. rer. nat. Fritz Julius Karl Freiherr von und zu Rathenburg vor
                                       der Isar, MdB
                                     <name>   <prefix qualifier="AC">Prof. Dr. med. Dr. rer. nat. </prefix>  <given>Fritz</given>  <given>Julius</given>  <given>Karl</given>  <prefix qualifier="NB">Freiherr </prefix>  <prefix qualifier="VV">von und zu </prefix>  <family>Rathenburg vor der Isar</family>  <suffix>, MdB</suffix></name> | 
                              
                              
                                 hl7:prefix 
                                  | 
                                 ENXP | 
                                 0 … * | 
                                  | 
                                 Titel | 
                                 (CDA met) | 
                              
                              
                                 |  wo   [@qualifier='AC'] | 
                                  | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 @qualifier 
                                  | 
                                 set_cs | 
                                 1 … 1 | 
                                 F | 
                                 AC | 
                              
                              
                                 hl7:given 
                                  | 
                                 ENXP | 
                                 0 … * | 
                                  | 
                                 Vorname | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:prefix 
                                  | 
                                 ENXP | 
                                 0 … * | 
                                  | 
                                 Namenszusatz | 
                                 (CDA met) | 
                              
                              
                                 |  wo   [@qualifier='NB'] | 
                                  | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 @qualifier 
                                  | 
                                 set_cs | 
                                 1 … 1 | 
                                 F | 
                                 NB | 
                              
                              
                                 hl7:prefix 
                                  | 
                                 ENXP | 
                                 0 … * | 
                                  | 
                                 Vorsatzwort | 
                                 (CDA met) | 
                              
                              
                                 |  wo   [@qualifier='VV'] | 
                                  | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 @qualifier 
                                  | 
                                 set_cs | 
                                 1 … 1 | 
                                 F | 
                                 VV | 
                              
                              
                                 hl7:family 
                                  | 
                                 ENXP | 
                                 0 … * | 
                                  | 
                                 Nachname | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:suffix 
                                  | 
                                 ENXP | 
                                 0 … * | 
                                  | 
                                 Suffix | 
                                 (CDA met) | 
                              
                              
                                 hl7:administrativeGenderCode 
                                  | 
                                 CE | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                  | 
                              
                              
                                 | Eingefügt | 
                                 0 … 1 | 
                                 R | 
                                  von 1.2.276.0.76.10.90033 Erweiterung Druckkennzeichen (2019‑02‑09)
                                  | 
                              
                              
                                 medmgmt:extension 
                                  | 
                                  | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 @url 
                                  | 
                                 url | 
                                 1 … 1 | 
                                 F | 
                                 http://fhir.de/StructureDefinition/druckkennzeichen/0.2 | 
                              
                              
                                 medmgmt:valueBoolean 
                                  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 @value 
                                  | 
                                 bl | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 hl7:birthTime 
                                  | 
                                 TS | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 | Eingefügt | 
                                 0 … * | 
                                 R | 
                                  von 1.2.276.0.76.10.90034 Erweiterung Vorhabenerweiterung (2019‑02‑09)
                                  | 
                              
                              
                                 medmgmt:extension 
                                  | 
                                  | 
                                 0 … * | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 @url 
                                  | 
                                 url | 
                                 1 … 1 | 
                                 F | 
                                 http://fhir.de/StructureDefinition/vorhabenerweiterung/0.2 | 
                              
                              
                                 medmgmt:extension 
                                  | 
                                  | 
                                  | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 @url 
                                  | 
                                 url | 
                                 1 … 1 | 
                                 F | 
                                 http://fhir.de/StructureDefinition/vorhabenerweiterung-typ/0.2 | 
                              
                              
                                 medmgmt:valueString 
                                  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 @value 
                                  | 
                                 st | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 medmgmt:extension 
                                  | 
                                  | 
                                  | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 @url 
                                  | 
                                 url | 
                                 1 … 1 | 
                                 F | 
                                 http://fhir.de/StructureDefinition/vorhabenerweiterung-wert/0.2 | 
                              
                              
                                 medmgmt:valueString 
                                  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 @value 
                                  | 
                                 st | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 | Eingefügt | 
                                 1 … 1 | 
                                 M | 
                                  von 1.2.276.0.76.10.2029 CDA author (pmp) (DYNAMIC)
                                  | 
                              
                              
                                 hl7:author 
                                  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 hauthpmp | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 
                                    @typeCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 AUT | 
                              
                              
                                 
                                    hl7:templateId 
                                  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 hauthpmp | 
                              
                              
                                 
                                    @root 
                                  | 
                                  | 
                                 1 … 1 | 
                                 F | 
                                 1.2.276.0.76.10.2029 | 
                              
                              
                                 hl7:time 
                                  | 
                                 TS.DATE.MIN | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 hauthpmp | 
                              
                              
                                 hl7:assignedAuthor 
                                  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 hauthpmp | 
                              
                              
                                 
                                    @classCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 ASSIGNED | 
                              
                              
                                 hl7:id 
                                  | 
                                 II | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 hauthpmp | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 
                                     Autor mit lebenslanger Arztnummer (LANR) <id root="1.2.276.0.76.4.16" extension="123456701"/> | 
                              
                              
                                 hl7:addr 
                                  | 
                                 AD | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 hauthpmp | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:telecom 
                                  | 
                                 TEL | 
                                 0 … * | 
                                 R | 
                                  | 
                                 hauthpmp | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:assignedPerson 
                                  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 hauthpmp | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.276.0.76.10.90010 CDA Person Elements (DYNAMIC)
                                  | 
                              
                              
                                 @classCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 PSN | 
                              
                              
                                 @determinerCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 INSTANCE | 
                              
                              
                                 hl7:name 
                                  | 
                                 PN | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 hauthpmp | 
                              
                              
                                 hl7:representedOrganization 
                                  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 hauthpmp | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 
                                     Organisation mit Betriebsstättennummer (BSNR) und Name <representedOrganization classCode="ORG" determinerCode="INSTANCE">   <id root="1.2.276.0.76.4.17" extension="218099900"/>  <name>Internistische Praxis Dr. Abt</name></representedOrganization> | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 
                                     Apotheke mit IDF Nummer <representedOrganization classCode="ORG" determinerCode="INSTANCE">   <id root="1.2.276.0.76.4.197" extension="3379589"/>  <name>Sonnen-Apotheke</name></representedOrganization> | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 
                                     Krankenhaus mit Institutionskennzeichen <representedOrganization classCode="ORG" determinerCode="INSTANCE">   <id root="1.2.276.0.76.4.5" extension="260641243"/>  <name>Agaplesion Frankfurter Diakonie Kliniken gGmbh</name></representedOrganization> | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.276.0.76.10.90011 CDA Organization Elements (DYNAMIC)
                                  | 
                              
                              
                                 @classCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 ORG | 
                              
                              
                                 @determinerCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 INSTANCE | 
                              
                              
                                 hl7:id 
                                  | 
                                 II | 
                                 0 … * | 
                                  | 
                                  | 
                                 hauthpmp | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:name 
                                  | 
                                 ON | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 hauthpmp | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:telecom 
                                  | 
                                 TEL | 
                                 0 … * | 
                                  | 
                                  | 
                                 hauthpmp | 
                              
                              
                                 hl7:addr 
                                  | 
                                 AD | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 hauthpmp | 
                              
                              
                                 | Eingefügt | 
                                 0 … 1 | 
                                 R | 
                                  von 1.2.276.0.76.10.2031 CDA author software (pmp) (DYNAMIC)
                                  | 
                              
                              
                                 hl7:author 
                                  | 
                                  | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 hhsoftpmp | 
                              
                              
                                 |  wo   [hl7:templateId/@root='1.2.276.0.76.10.2031'] | 
                                  | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 @typeCode 
                                  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 AUT | 
                              
                              
                                 hl7:templateId 
                                  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 hhsoftpmp | 
                              
                              
                                 @root 
                                  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 1.2.276.0.76.10.2031 | 
                              
                              
                                 hl7:time 
                                  | 
                                 TS.DATE.MIN | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 hhsoftpmp | 
                              
                              
                                 hl7:assignedAuthor 
                                  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 hhsoftpmp | 
                              
                              
                                 @classCode 
                                  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 ASSIGNED | 
                              
                              
                                 hl7:id 
                                  | 
                                 II | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 hhsoftpmp | 
                              
                              
                                 hl7:assignedAuthoringDevice 
                                  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 hhsoftpmp | 
                              
                              
                                 @classCode 
                                  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 DEV | 
                              
                              
                                 @determinerCode 
                                  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 INSTANCE | 
                              
                              
                                 hl7:manufacturerModelName 
                                  | 
                                 SC | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 hhsoftpmp | 
                              
                              
                                 hl7:softwareName 
                                  | 
                                 SC | 
                                 1 … 1 | 
                                 R | 
                                 Software Name und Version, die bei der Erstellung des Dokuments verwendet wurde | 
                                 hhsoftpmp | 
                              
                              
                                 | Eingefügt | 
                                 1 … 1 | 
                                 M | 
                                  von 1.2.276.0.76.10.2030 CDA custodian (pmp) (DYNAMIC)
                                  | 
                              
                              
                                 
                                    hl7:custodian 
                                  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 hcustpmp | 
                              
                              
                                 
                                    @typeCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 CST | 
                              
                              
                                 
                                    hl7:assignedCustodian 
                                  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 hcustpmp | 
                              
                              
                                 
                                    @classCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 ASSIGNED | 
                              
                              
                                 
                                    hl7:representedCustodianOrganization 
                                  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 hcustpmp | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 
                                     Organisation mit Betriebsstättennummer (BSNR) und Name <representedCustodianOrganization classCode="ORG" determinerCode="INSTANCE">   <id root="1.2.276.0.76.4.17" extension="218099900"/>  <name>Internistische Praxis Dr. Abt</name></representedCustodianOrganization> | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.276.0.76.10.90011 CDA Organization Elements (DYNAMIC)
                                  | 
                              
                              
                                 @classCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 ORG | 
                              
                              
                                 @determinerCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 INSTANCE | 
                              
                              
                                 hl7:id 
                                  | 
                                 II | 
                                 0 … * | 
                                  | 
                                  | 
                                 hcustpmp | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:name 
                                  | 
                                 ON | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 hcustpmp | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:telecom 
                                  | 
                                 TEL | 
                                 0 … * | 
                                  | 
                                  | 
                                 hcustpmp | 
                              
                              
                                 hl7:addr 
                                  | 
                                 AD | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 hcustpmp | 
                              
                              
                                 | Eingefügt | 
                                 0 … 1 | 
                                  | 
                                  von 1.2.276.0.76.10.2020 CDA legalAuthenticator (DYNAMIC)
                                  | 
                              
                              
                                 hl7:legalAuthenticator 
                                  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 @typeCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 LA | 
                              
                              
                                 @contextControlCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 OP | 
                              
                              
                                 hl7:time 
                                  | 
                                 TS | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:signatureCode 
                                  | 
                                 CS | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:assignedEntity 
                                  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.276.0.76.10.90012 CDA Assigned Entity Elements (DYNAMIC)
                                  | 
                              
                              
                                 hl7:id 
                                  | 
                                 II | 
                                 1 … * | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:addr 
                                  | 
                                 AD | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:telecom 
                                  | 
                                 TEL | 
                                 0 … * | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:assignedPerson 
                                  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.276.0.76.10.90010 CDA Person Elements (DYNAMIC)
                                  | 
                              
                              
                                 @classCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 PSN | 
                              
                              
                                 @determinerCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 INSTANCE | 
                              
                              
                                 hl7:name 
                                  | 
                                 PN | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:representedOrganization 
                                  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.276.0.76.10.90011 CDA Organization Elements (DYNAMIC)
                                  | 
                              
                              
                                 @classCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 ORG | 
                              
                              
                                 @determinerCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 INSTANCE | 
                              
                              
                                 hl7:id 
                                  | 
                                 II | 
                                 0 … * | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:name 
                                  | 
                                 ON | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:telecom 
                                  | 
                                 TEL | 
                                 0 … * | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:addr 
                                  | 
                                 AD | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 | Eingefügt | 
                                 0 … 1 | 
                                  | 
                                  von 1.2.276.0.76.10.2019 CDA authenticator (DYNAMIC)
                                  | 
                              
                              
                                 hl7:authenticator 
                                  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 @typeCode 
                                  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 AUTHEN | 
                              
                              
                                 hl7:time 
                                  | 
                                 TS | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:signatureCode 
                                  | 
                                 CS | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:assignedEntity 
                                  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.276.0.76.10.90012 CDA Assigned Entity Elements (DYNAMIC)
                                  | 
                              
                              
                                 hl7:id 
                                  | 
                                 II | 
                                 1 … * | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:addr 
                                  | 
                                 AD | 
                                 0 … 1 | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:telecom 
                                  | 
                                 TEL | 
                                 0 … * | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:assignedPerson 
                                  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.276.0.76.10.90010 CDA Person Elements (DYNAMIC)
                                  | 
                              
                              
                                 @classCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 PSN | 
                              
                              
                                 @determinerCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 INSTANCE | 
                              
                              
                                 hl7:name 
                                  | 
                                 PN | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:representedOrganization 
                                  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 | Eingefügt | 
                                  | 
                                  | 
                                  von 1.2.276.0.76.10.90011 CDA Organization Elements (DYNAMIC)
                                  | 
                              
                              
                                 @classCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 ORG | 
                              
                              
                                 @determinerCode 
                                  | 
                                  | 
                                 0 … 1 | 
                                 F | 
                                 INSTANCE | 
                              
                              
                                 hl7:id 
                                  | 
                                 II | 
                                 0 … * | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:name 
                                  | 
                                 ON | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:telecom 
                                  | 
                                 TEL | 
                                 0 … * | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:addr 
                                  | 
                                 AD | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 | Eingefügt | 
                                 1 … 1 | 
                                 R | 
                                  von 2.16.840.1.113883.3.1937.99.61.48.10.25 Pflegearzt (Kurator) (DYNAMIC)
                                  | 
                              
                              
                                 hl7:participant 
                                  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 @typeCode 
                                  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 VRF | 
                              
                              
                                 @contextControlCode 
                                  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 OP | 
                              
                              
                                 hl7:templateId 
                                  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 @root 
                                  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 2.16.840.1.113883.3.1937.99.61.48.10.25 | 
                              
                              
                                 hl7:time 
                                  | 
                                 IVL_TS | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:associatedEntity 
                                  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                 Dieses Element umfasst Angaben zum Pflegearzt, die mindestens die Identifikatoren
                                    des Pflegearztes (LANR) und seiner Betriebsstätte (BSNR) enthalten müssen.
                                  | 
                                 (CDA met) | 
                              
                              
                                 @classCode 
                                  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 ASSIGNED | 
                              
                              
                                 hl7:id 
                                  | 
                                 II | 
                                 1 … * | 
                                 M | 
                                 Im Rahmen von Hauskomet muss hier die LANR des Hauskomet Pflegearztes angegeben werden. | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 
                                     Angabe der LANR des Pflegearztes <id root="1.2.276.0.76.4.16" extension="999999901"/> | 
                              
                              
                                 hl7:addr 
                                  | 
                                 AD | 
                                 0 … * | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 hl7:telecom 
                                  | 
                                 TEL | 
                                 0 … * | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:associatedPerson 
                                  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                 Beinhaltet 2.16.840.1.113883.10.12.152 CDA Person (DYNAMIC)
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 
                                     Angabe des Names des Pflegearztes <associatedPerson classCode="PSN" determinerCode="INSTANCE">   <name>     <prefix qualifier="AC">Dr.</prefix>    <given>Hans</given>    <family>Hausarzt</family>  </name></associatedPerson> | 
                              
                              
                                 hl7:scopingOrganization 
                                  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                 Im Rahmen von Hauskomet muss hier mindestens die BSNR der Betriebsstätte angegeben
                                    werden, in der der Hauskomet Pflegearzt tätig ist. Beinhaltet 2.16.840.1.113883.10.12.151 CDA Organization (DYNAMIC)
                                  | 
                                 (CDA met) | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 |   | 
                                 Beispiel | 
                                 
                                     Angabe der Praxis, in der der Pflegearzt tätig ist <scopingOrganization classCode="ORG" determinerCode="INSTANCE">   <id root="1.2.276.0.76.4.17" extension="521111100"/>  <name>Hausarztpraxis Stuttgart Königsstrasse</name></scopingOrganization> | 
                              
                              
                                 hl7:component 
                                  | 
                                  | 
                                  | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 @typeCode 
                                  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 COMP | 
                              
                              
                                 @contextConductionInd 
                                  | 
                                 bl | 
                                 0 … 1 | 
                                 F | 
                                 true | 
                              
                              
                                 hl7:structuredBody 
                                  | 
                                  | 
                                  | 
                                  | 
                                  | 
                                 (CDA met) | 
                              
                              
                                 @classCode 
                                  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 DOCBODY | 
                              
                              
                                 @moodCode 
                                  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 EVN | 
                              
                              
                                 hl7:component 
                                  | 
                                  | 
                                 0 … 1 | 
                                 R | 
                                 Section: Clinical Information Beinhaltet 2.16.840.1.113883.3.1937.99.61.48.10.10 Klinische Parameter (medmgmt) (DYNAMIC)
                                  | 
                                 (CDA met) | 
                              
                              
                                 @typeCode 
                                  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 COMP | 
                              
                              
                                 @contextConductionInd 
                                  | 
                                 bl | 
                                 1 … 1 | 
                                 F | 
                                 true | 
                              
                              
                                 hl7:component 
                                  | 
                                  | 
                                 0 … 1 | 
                                 R | 
                                 Section: Gesundheitsbelange Beinhaltet 2.16.840.1.113883.3.1937.99.61.48.10.11 Gesundheitsbelange (medmgmt) (DYNAMIC)
                                  | 
                                 (CDA met) | 
                              
                              
                                 @typeCode 
                                  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 COMP | 
                              
                              
                                 @contextConductionInd 
                                  | 
                                 bl | 
                                 1 … 1 | 
                                 F | 
                                 true | 
                              
                              
                                 hl7:component 
                                  | 
                                  | 
                                 1 … 1 | 
                                 M | 
                                 Section: Medikationsplan Beinhaltet 2.16.840.1.113883.3.1937.99.61.48.10.15 Aktuelle Medikation (medmgmt) (DYNAMIC)
                                  | 
                                 (CDA met) | 
                              
                              
                                 @typeCode 
                                  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 COMP | 
                              
                              
                                 @contextConductionInd 
                                  | 
                                 bl | 
                                 1 … 1 | 
                                 F | 
                                 true | 
                              
                              
                                 hl7:component 
                                  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                 Section: Sozialanamnese Beinhaltet 2.16.840.1.113883.3.1937.99.61.48.10.23 Sozialanamnese (medmgmt) (DYNAMIC)
                                  | 
                                 (CDA met) | 
                              
                              
                                 @typeCode 
                                  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 COMP | 
                              
                              
                                 @contextConductionInd 
                                  | 
                                 bl | 
                                 1 … 1 | 
                                 F | 
                                 true | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:participant[hl7:templateId/@root = '2.16.840.1.113883.3.1937.99.61.48.10.25']/hl7:associatedEntity/hl7:scopingOrganization/hl7:id)
                                    = 1
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: die BSNR der Betriebsstätte des Hauskomet-Pflegearztes muss angegeben werden. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.23']/hl7:entry/hl7:observation[hl7.templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.24']) = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: die Zustimmung zur Datenübermittlung ist inhärent gegeben und darf daher
                                       nicht explizit angegeben werden. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry) = 1
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: der Medikationsplan darf nur einen Haupteintrag beinhalten (entweder die
                                       aktuelle Medikation oder die Angabe ohne Medikation). | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:code) = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: die Angabe von Zwischenüberschriften ist nicht vorgesehen. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:author) =
                                    0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: die Angabe eines Autors des (einzigen) Organizers ist nicht vorgesehen. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:sequenceNumber)
                                    = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: Die Angabe einer Reihenfolge der Medikationseinträge ist nicht zulässig. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration[@moodCode='PRP'])
                                    = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: für Medikationseinträge ist nur der moodCode=“EVN“ zugelassen. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component[count(hl7:substanceAdministration)
                                    != 1]) = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: bei einem Medikationseintrag muss das Element "substanceAdministration"
                                       genau einmal im übergeordneten Element "component" auftreten. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration/hl7:id)
                                    = count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration)
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: jeder Medikationseintrag muss einen gültigen Identifier (in Form einer
                                       GUID) tragen. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration/hl7:statusCode[@code!='active'])
                                    = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: es sind nur aktive Medikationseinträge erlaubt. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration/hl7:consumable)
                                    = count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration)
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: zu einem Medikationseintrag muss zwingend ein Medikament angegeben werden. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration/hl7:consumable/hl7:manufacturedMaterial/hl7:manufacturedProduct/hl7:code[@nullFlavor
                                    = 'NA']) = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: Rezepturen als Medikationseinträge sind unzulässig. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration/hl7:consumable/hl7:manufacturedMaterial/hl7:manufacturedProduct/hl7:code[@nullFlavor
                                    = 'UNK']) = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: Arzneimittel mit unbekannter PZN sind als Medikationseinträge unzulässig. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration/hl7:consumable/hl7:manufacturedMaterial/hl7:manufacturedProduct/hl7:name[@nullFlavor
                                    = 'NA']) = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: Rezepturen oder andere unbenannte Arzneimittel sind als Medikationseinträge
                                       unzulässig. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration/hl7:informant)
                                    = 0 and count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration/hl7:participant[@typeCode
                                    = 'AUT']) = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: als Autor eines Medikationseintrags darf nur ein Gesundheitsdienstleister
                                       angegeben werden. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration/hl7:participant[@typeCode
                                    = 'ENT']) = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: Angaben zur Datenerfassung eines Medikationseintrags sind nicht zulässig. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration[count(hl7:entryRelationship[hl7:act/hl7:templatedId/@root
                                    = '1.2.276.0.76.10.4026']) > 1]) = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: zu einem Medikationseintrag dürfen Patienteninstruktionen nur maximal einmal
                                       angegeben werden. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration[count(hl7:entryRelationship[hl7:observation/hl7:templatedId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.29']) > 1]) = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: zu einem Medikationseintrag darf der Grund für die Medikation nur maximal
                                       einmal angegeben werden. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration[count(hl7:entryRelationship[hl7:act/hl7:templatedId/@root
                                    = '2.16.840.1.113883.3.1937.777.27.10.17']) > 1]) = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: zu einem Medikationseintrag darf der Bezug zur medikamentösen Therapie-Intention
                                       nur maximal einmal angegeben werden | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration/hl7:entryRelationship[hl7:observation/hl7:templatedId/@root
                                    = '1.2.276.0.76.10.4292']) = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: die Angabe eines Grunds für die Nichtgabe einer Medikation ist nicht zulässig. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration/hl7:entryRelationship[hl7:observation/hl7:templatedId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.20']) = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet die Angabe der letzten AMTS-Prüfung einer Medikation ist nicht zulässig. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration/hl7:entryRelationship[hl7:observation/hl7:templatedId/@root
                                    = '1.2.276.0.76.10.4015']) = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: Eine freitextliche Angabe von Kommentaren zu einer Medikation ist unzulässig. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration/hl7:entryRelationship[@typeCode
                                    = 'COMP']/hl7:observation[hl7:templateId/@root = '2.16.840.1.113883.3.1937.777.27.10.12'])
                                    = count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.15']/hl7:entry/hl7:organizer/hl7:component/hl7:substanceAdministration)
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: Jeder Medikationseintrag muss zwingend eine Hauskomet Kategorie enthalten. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(//medmgmt:extension) = 0 | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: Erweiterungen wie Druckkennzeichen oder weitere Vorhabenerweiterungen sind
                                       nicht zulässig | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 count(hl7:component/hl7:structuredBody/hl7:component/hl7:section[hl7:templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.10']/hl7:entry/hl7:observation[hl7.templateId/@root
                                    = '2.16.840.1.113883.3.1937.99.61.48.10.34']) = 0
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 Meldung | 
                                 Hauskomet: Die Angabe von Laborergebnissen ist nicht vorgesehen | 
                                   |