| XML | 
               Data type | 
               Card/Conf | 
               Concept ID | 
               Concept | 
               Label | 
            
            
               
                  
                     
                        
                              hl7:ClinicalDocument  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.1.9'] and hl7:templateId [@root =
                                 '2.16.840.1.113883.10.12.2'] and hl7:templateId [@root = '2.16.840.1.113883.10.12.1']
                                 and hl7:templateId [@root = '2.16.756.5.30.1.127.1.4'] and hl7:templateId [@root =
                                 '1.3.6.1.4.1.19376.1.5.3.1.1.1'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.9.1.1.5']
                                 and hl7:templateId [@root = '2.16.756.5.30.1.1.10.1.3']] | 
                      
                   
                | 
                | 
                | 
                | 
                | 
               MedicationCardDocument | 
            
            
               
                  
                     
                          | 
                        
                              hl7:realmCode  where   [@code = 'CHE'] code="CHE" | 
                      
                   
                | 
               CS | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_DocumentRealm) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:typeId  where   [@root = '2.16.840.1.113883.1.3'] [@extension = 'POCD_HD000040'] root="2.16.840.1.113883.1.3" extension="POCD_HD000040" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               MedicationCardDocument | 
            
            
               
                  
                     
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.1.1.4'] root="2.16.756.5.30.1.1.1.1.4" | 
                      
                   
                | 
               II | 
               0 … 1 | 
                | 
                | 
               (cdach_header_DocumentTemplateIdsCdaChv2.0-structuredBody) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.1.9'] root="2.16.756.5.30.1.1.10.1.9" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_DocumentTemplateIdsCdaChv2.0-structuredBody) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.840.1.113883.10.12.2'] root="2.16.840.1.113883.10.12.2" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_DocumentTemplateIdsCdaChv2.0-structuredBody) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.840.1.113883.10.12.1'] root="2.16.840.1.113883.10.12.1" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_DocumentTemplateIdsCdaChv2.0-structuredBody) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.127.1.4'] root="2.16.756.5.30.1.127.1.4" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               MedicationCardDocument | 
            
            
               
                  
                     
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.5.3.1.1.1'] root="1.3.6.1.4.1.19376.1.5.3.1.1.1" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               MedicationCardDocument | 
            
            
               
                  
                     
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.9.1.1.5'] root="1.3.6.1.4.1.19376.1.9.1.1.5" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               MedicationCardDocument | 
            
            
               
                  
                     
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.1.3'] root="2.16.756.5.30.1.1.10.1.3" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               MedicationCardDocument | 
            
            
               
                  
                     
                          | 
                        
                              hl7:id  where   [not(@nullFlavor)] [not(@extension)] root="…" extension="…" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_DocumentId) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:code  where   [(@code = '56445-0' and @codeSystem = '2.16.840.1.113883.6.1')] code="56445-0" codeSystem="2.16.840.1.113883.6.1" | 
                      
                   
                | 
               CE | 
               1 … 1 Mandatory | 
                | 
                | 
               (DocumentCodeMedicationList) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:translation  where   [(@code = '721912009' and @codeSystem = '2.16.840.1.113883.6.96')] code="721912009" codeSystem="2.16.840.1.113883.6.96" | 
                      
                   
                | 
               CD | 
               1 … 1 Mandatory | 
                | 
                | 
               (DocumentCodeMedicationList) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:title  where   [not(@nullFlavor)] | 
                      
                   
                | 
               ST | 
               1 … 1 Mandatory | 
                | 
                | 
               (HeaderTemplateCompilationMedicationCardDocument) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:effectiveTime  where   [not(@nullFlavor)] | 
                      
                   
                | 
               TS.CH.TZ | 
               1 … 1 Mandatory | 
                | 
                | 
               (HeaderTemplateCompilationMedicationCardDocument) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:confidentialityCode  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.127.3.10.1.5-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem)] code="…" codeSystem="…" codeSystemName="…" displayName="…" valueSet="2.16.756.5.30.1.127.3.10.1.5" | 
                      
                   
                | 
               CE | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_DocumentConfidentialityCode) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:languageCode  where   [not(@nullFlavor)] | 
                      
                   
                | 
               CS | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_DocumentLanguage) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:setId  where   [not(@extension)] root="…" extension="…" | 
                      
                   
                | 
               II | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_DocumentSetIdAndVersionNumber) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:versionNumber
  | 
                      
                   
                | 
               INT.NONNEG | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_DocumentSetIdAndVersionNumber) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:recordTarget  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.2.1']] | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_Patient) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.2.1'] root="2.16.756.5.30.1.1.10.2.1" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_Patient) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:patientRole  where   [hl7:patient] | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_Patient) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               1 … * Required | 
                | 
                | 
               (cdach_header_Patient) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_header_Patient) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:administrativeGenderCode  code="…" codeSystem="2.16.840.1.113883.5.1" codeSystemName="HL7 AdministrativeGender" displayName="…" | 
                      
                   
                | 
               CE | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:maritalStatusCode  where   [@codeSystem = '2.16.840.1.113883.5.2' or concat(@code, @codeSystem) = doc('include/voc-2.16.840.1.113883.1.11.12212-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem)] code="…" codeSystem="2.16.840.1.113883.5.2" codeSystemName="HL7 MaritalStatus" displayName="…" valueSet="2.16.840.1.113883.1.11.12212" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:translation  code="…" codeSystem="…" codeSystemName="…" displayName="…" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:religiousAffiliationCode  nullFlavor="NAV" code="…" codeSystem="…" codeSystemName="…" displayName="…" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               ED | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_OriginalTextElementWithReferenceToNarrativeText) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  where   [not(@nullFlavor)] value="…" | 
                      
                   
                | 
               TEL | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_other_OriginalTextElementWithReferenceToNarrativeText) | 
            
            
               | 
                  
                | 
                | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:code  nullFlavor="…" code="…" codeSystem="2.16.840.1.113883.5.111" codeSystemName="HL7RoleCode" displayName="…" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 | 
                | 
                | 
                | 
            
            
               | 
                  
                | 
                | 
                | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
                | 
                | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               ON | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:birthplace  where   [hl7:place] | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               EN | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               AD | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:languageCommunication  where   [hl7:languageCode] | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:languageCode  valueSet="2.16.840.1.113883.1.11.11526" | 
                      
                   
                | 
               CS | 
               1 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:modeCode  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.840.1.113883.1.11.12249-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="2.16.840.1.113883.1.11.12249" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:proficiencyLevelCode  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.840.1.113883.1.11.12199-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="2.16.840.1.113883.1.11.12199" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               BL | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [not(@use) or @use='L'] use="L" | 
                      
                   
                | 
               PN | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="AC" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  qualifier="BR" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='P'] use="P" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='ASGN'] use="ASGN" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:providerOrganization  where   [hl7:id [@root = '2.51.1.3']] | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_OrganizationCompilationGlnName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  where   [@root = '2.51.1.3'] root="2.51.1.3" extension="…" | 
                      
                   
                | 
               II | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationGlnName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationGlnName) | 
            
            
               | 
                  
                | 
               ON | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationGlnName) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationGlnName) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:author  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.9.23']] | 
                      
                   
                | 
                | 
               1 … * Mandatory | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.9.23'] root="2.16.756.5.30.1.1.10.9.23" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:functionCode  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.840.1.113883.1.11.10267-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="2.16.840.1.113883.1.11.10267" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:time
  | 
                      
                   
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:assignedAuthor
  | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:id  nullFlavor="NAV" root="2.51.1.3" extension="…" | 
                      
                   
                | 
               II | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 | 
                | 
                | 
                | 
            
            
               | 
                  
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [not(@use) or @use='L'] use="L" | 
                      
                   
                | 
               PN | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="AC" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  qualifier="BR" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='P'] use="P" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='ASGN'] use="ASGN" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:assignedAuthoringDevice
  | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:manufacturerModelName
  | 
                      
                   
                | 
               SC | 
               0 … 1 | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               | 
                  
                | 
               SC | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:representedOrganization
  | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               ON | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:dataEnterer  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.2.7']] | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_header_DataEnterer) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.2.7'] root="2.16.756.5.30.1.1.10.2.7" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_DataEnterer) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:time
  | 
                      
                   
                | 
               TS.CH.TZ | 
               0 … 1 | 
                | 
                | 
               (cdach_header_DataEnterer) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:assignedEntity
  | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationId) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               1 … * Required | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationId) | 
            
            
               | 
                  
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationId) | 
            
            
               | 
                  
                | 
               ED | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_OriginalTextElementWithReferenceToNarrativeText) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  where   [not(@nullFlavor)] value="…" | 
                      
                   
                | 
               TEL | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_other_OriginalTextElementWithReferenceToNarrativeText) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:translation  code="…" codeSystem="…" codeSystemName="…" displayName="…" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationId) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationId) | 
            
            
               | 
                  
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [not(@use) or @use='L'] use="L" | 
                      
                   
                | 
               PN | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="AC" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  qualifier="BR" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='P'] use="P" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='ASGN'] use="ASGN" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:representedOrganization
  | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               ON | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:informant  typeCode="INF" contextControlCode="OP" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (CDAinformant) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              choice
  | 
                      
                   
                | 
                | 
               1 … 1 | 
                | 
                | 
                | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:assignedEntity  classCode="ASSIGNED" | 
                      
                   
                | 
                | 
                | 
                | 
                | 
               (CDAAssignedEntity) | 
            
            
               | 
                  
                | 
               II | 
               1 … * Required | 
                | 
                | 
               (CDAAssignedEntity) | 
            
            
               | 
                  
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAAssignedEntity) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (CDAAssignedEntity) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (CDAAssignedEntity) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:assignedPerson  classCode="PSN" determinerCode="INSTANCE" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAPerson) | 
            
            
               | 
                  
                | 
               PN | 
               1 … * | 
                | 
                | 
               (CDAPerson) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:representedOrganization  classCode="ORG" determinerCode="INSTANCE" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               II | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               ON | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:standardIndustryClassCode
  | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:asOrganizationPartOf  classCode="PART" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               II | 
               0 … * Required | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:statusCode  where   [@code = doc('include/voc-2.16.840.1.113883.1.11.15999-DYNAMIC.xml')//valueSet [1]/conceptList/*/@code
                                 or @nullFlavor] valueSet="2.16.840.1.113883.1.11.15999" | 
                      
                   
                | 
               CS | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               IVL_TS | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:wholeOrganization  classCode="ORG" determinerCode="INSTANCE" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               II | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               ON | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:standardIndustryClassCode
  | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:relatedEntity  where   [@classCode] classCode="…" | 
                      
                   
                | 
                | 
                | 
                | 
                | 
               (CDARelatedEntity) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.840.1.113883.1.11.19563-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="2.16.840.1.113883.1.11.19563" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDARelatedEntity) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (CDARelatedEntity) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (CDARelatedEntity) | 
            
            
               | 
                  
                | 
               IVL_TS | 
               0 … 1 | 
                | 
                | 
               (CDARelatedEntity) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:relatedPerson  classCode="PSN" determinerCode="INSTANCE" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAPerson) | 
            
            
               | 
                  
                | 
               PN | 
               1 … * | 
                | 
                | 
               (CDAPerson) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:custodian  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.2.3']] | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_Custodian) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.2.3'] root="2.16.756.5.30.1.1.10.2.3" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_Custodian) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:assignedCustodian  where   [hl7:representedCustodianOrganization] | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_Custodian) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:representedCustodianOrganization
  | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_Custodian) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  where   [not(@nullFlavor)] root="…" extension="…" | 
                      
                   
                | 
               II | 
               1 … * Mandatory | 
                | 
                | 
               (cdach_header_Custodian) | 
            
            
               | 
                  
                | 
               ON | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_Custodian) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … 1 | 
                | 
                | 
               (cdach_header_Custodian) | 
            
            
               | 
                  
                | 
               AD | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:informationRecipient  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.2.4']] typeCode="…" | 
                      
                   
                | 
                | 
               1 … * Mandatory | 
                | 
                | 
               (cdach_header_InformationRecipient) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.2.4'] root="2.16.756.5.30.1.1.10.2.4" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_InformationRecipient) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:intendedRecipient
  | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_InformationRecipient) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * Required | 
                | 
                | 
               (cdach_header_InformationRecipient) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_header_InformationRecipient) | 
            
            
               | 
                  
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [not(@use) or @use='L'] use="L" | 
                      
                   
                | 
               PN | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="AC" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  qualifier="BR" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='P'] use="P" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='ASGN'] use="ASGN" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               ON | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:legalAuthenticator  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.2.5']] | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_header_LegalAuthenticator) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.2.5'] root="2.16.756.5.30.1.1.10.2.5" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_LegalAuthenticator) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:time
  | 
                      
                   
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_LegalAuthenticator) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:signatureCode  where   [@code = 'S' or @code = doc('include/voc-2.16.840.1.113883.1.11.10282-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/*/@code] code="S" codeSystem="…" codeSystemName="…" displayName="…" valueSet="2.16.840.1.113883.1.11.10282" | 
                      
                   
                | 
               CS | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_LegalAuthenticator) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:assignedEntity
  | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationId) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               1 … * Required | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationId) | 
            
            
               | 
                  
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationId) | 
            
            
               | 
                  
                | 
               ED | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_OriginalTextElementWithReferenceToNarrativeText) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  where   [not(@nullFlavor)] value="…" | 
                      
                   
                | 
               TEL | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_other_OriginalTextElementWithReferenceToNarrativeText) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:translation  code="…" codeSystem="…" codeSystemName="…" displayName="…" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationId) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationId) | 
            
            
               | 
                  
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [not(@use) or @use='L'] use="L" | 
                      
                   
                | 
               PN | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="AC" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  qualifier="BR" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='P'] use="P" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='ASGN'] use="ASGN" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:representedOrganization
  | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               ON | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:authenticator  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.2.6']] | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (cdach_header_Authenticator) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.2.6'] root="2.16.756.5.30.1.1.10.2.6" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_Authenticator) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:time
  | 
                      
                   
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_Authenticator) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:signatureCode  where   [@code = 'S' or @code = doc('include/voc-2.16.840.1.113883.1.11.10282-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/*/@code] code="S" codeSystem="…" codeSystemName="…" displayName="…" valueSet="2.16.840.1.113883.1.11.10282" | 
                      
                   
                | 
               CS | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_Authenticator) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:assignedEntity
  | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationId) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               1 … * Required | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationId) | 
            
            
               | 
                  
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationId) | 
            
            
               | 
                  
                | 
               ED | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_OriginalTextElementWithReferenceToNarrativeText) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  where   [not(@nullFlavor)] value="…" | 
                      
                   
                | 
               TEL | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_other_OriginalTextElementWithReferenceToNarrativeText) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:translation  code="…" codeSystem="…" codeSystemName="…" displayName="…" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationId) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationId) | 
            
            
               | 
                  
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [not(@use) or @use='L'] use="L" | 
                      
                   
                | 
               PN | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="AC" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  qualifier="BR" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='P'] use="P" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='ASGN'] use="ASGN" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:representedOrganization
  | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               ON | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:participant  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.2.43'] and hl7:templateId [@root =
                                 '1.3.6.1.4.1.19376.1.5.3.1.2.4']] typeCode="IND" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (cdach_header_PatientContact) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.2.43'] root="2.16.756.5.30.1.1.10.2.43" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_PatientContact) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.5.3.1.2.4'] root="1.3.6.1.4.1.19376.1.5.3.1.2.4" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_PatientContact) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:time
  | 
                      
                   
                | 
               IVL_TS.CH.TZ | 
               0 … 1 | 
                | 
                | 
               (cdach_header_PatientContact) | 
            
            
               | 
                  
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_PatientContact) | 
            
            
               | 
                  
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_PatientContact) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:associatedEntity  where   [@classCode] classCode="…" | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_PatientContact) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:code  nullFlavor="…" code="…" codeSystem="2.16.840.1.113883.5.111" codeSystemName="HL7RoleCode" displayName="…" | 
                      
                   
                | 
               CE | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_PatientContact) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_header_PatientContact) | 
            
            
               | 
                  
                | 
                | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [not(@use) or @use='L'] use="L" | 
                      
                   
                | 
               PN | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="AC" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  qualifier="BR" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='P'] use="P" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='ASGN'] use="ASGN" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
                | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               ON | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:inFulfillmentOf  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.2.16']] | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (cdach_header_OrderReference) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.2.16'] root="2.16.756.5.30.1.1.10.2.16" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_OrderReference) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:order
  | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_OrderReference) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               1 … * Required | 
                | 
                | 
               (cdach_header_OrderReference) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:documentationOf  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.2.46']] typeCode="DOC" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (cdach_header_HealthService) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.2.46'] root="2.16.756.5.30.1.1.10.2.46" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_HealthService) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:serviceEvent  where   [@classCode = 'ACT'] [@moodCode = 'EVN'] classCode="ACT" moodCode="EVN" | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_HealthService) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_header_HealthService) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [not(@code)] [not(@codeSystem)] [not(@codeSystemName)] [not(@displayName)] [@nullFlavor
                                 = 'NAV'] nullFlavor="NAV" code="…" codeSystem="…" codeSystemName="…" displayName="…" | 
                      
                   
                | 
               CE | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_HealthService) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:translation  code="…" codeSystem="…" codeSystemName="…" displayName="…" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (cdach_header_HealthService) | 
            
            
               | 
                  
                | 
               IVL_TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_HealthService) | 
            
            
               | 
                  
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_HealthService) | 
            
            
               | 
                  
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_HealthService) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:performer  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.9.31'] and hl7:templateId [@root =
                                 '1.3.6.1.4.1.19376.1.5.3.1.1.24.3.5'] and hl7:templateId [@root = '2.16.840.1.113883.10.12.323']] typeCode="PRF" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (cdach_other_Performer) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.9.31'] root="2.16.756.5.30.1.1.10.9.31" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_other_Performer) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.5.3.1.1.24.3.5'] root="1.3.6.1.4.1.19376.1.5.3.1.1.24.3.5" | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Performer) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.840.1.113883.10.12.323'] root="2.16.840.1.113883.10.12.323" | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Performer) | 
            
            
               | 
                  
                | 
               IVL_TS.CH.TZ | 
               0 … 1 | 
                | 
                | 
               (cdach_other_Performer) | 
            
            
               | 
                  
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Performer) | 
            
            
               | 
                  
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Performer) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationIdNameAddrTelecomPersonOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               1 … * Required | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationIdNameAddrTelecomPersonOrganization) | 
            
            
               | 
                  
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationIdNameAddrTelecomPersonOrganization) | 
            
            
               | 
                  
                | 
               ED | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_OriginalTextElementWithReferenceToNarrativeText) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  where   [not(@nullFlavor)] value="…" | 
                      
                   
                | 
               TEL | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_other_OriginalTextElementWithReferenceToNarrativeText) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:translation  code="…" codeSystem="…" codeSystemName="…" displayName="…" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationIdNameAddrTelecomPersonOrganization) | 
            
            
               | 
                  
                | 
               AD | 
               1 … * Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               TEL | 
               1 … * Required | 
                | 
                | 
               (cdach_other_AssignedEntityCompilationIdNameAddrTelecomPersonOrganization) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [not(@use) or @use='L'] use="L" | 
                      
                   
                | 
               PN | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="AC" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  qualifier="BR" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='P'] use="P" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='ASGN'] use="ASGN" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:representedOrganization
  | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationIdNameAddrTelecom) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationIdNameAddrTelecom) | 
            
            
               | 
                  
                | 
               ON | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationIdNameAddrTelecom) | 
            
            
               | 
                  
                | 
               TEL | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationIdNameAddrTelecom) | 
            
            
               | 
                  
                | 
               AD | 
               1 … * Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:relatedDocument  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.2.13']] typeCode="RPLC" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (cdach_header_DocumentReplacement) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.2.13'] root="2.16.756.5.30.1.1.10.2.13" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_DocumentReplacement) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:parentDocument
  | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_header_DocumentReplacement) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:id  where   [not(@nullFlavor)] [not(@extension)] root="…" extension="…" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_DocumentReplacement) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:setId  where   [not(@nullFlavor)] [not(@extension)] extension="…" root="…" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_DocumentReplacement) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:versionNumber  where   [not(@nullFlavor)] | 
                      
                   
                | 
               INT | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_header_DocumentReplacement) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:authorization  where   [hl7:consent] typeCode="AUTH" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (CDAauthorization) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:consent  where   [hl7:statusCode [@code = 'completed' or @nullFlavor]] classCode="CONS" moodCode="EVN" | 
                      
                   
                | 
                | 
               1 … 1 | 
                | 
                | 
               (CDAauthorization) | 
            
            
               | 
                  
                | 
               II | 
               0 … * | 
                | 
                | 
               (CDAauthorization) | 
            
            
               | 
                  
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAauthorization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:statusCode  where   [@code = 'completed' or @nullFlavor] code="completed" | 
                      
                   
                | 
               CS | 
               1 … 1 Required | 
                | 
                | 
               (CDAauthorization) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:componentOf  where   [hl7:encompassingEncounter] typeCode="COMP" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAcomponentOf) | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:encompassingEncounter  classCode="ENC" moodCode="EVN" | 
                      
                   
                | 
                | 
               1 … 1 | 
                | 
                | 
               (CDAcomponentOf) | 
            
            
               | 
                  
                | 
               II | 
               0 … * | 
                | 
                | 
               (CDAcomponentOf) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.840.1.113883.1.11.13955-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="2.16.840.1.113883.1.11.13955" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAcomponentOf) | 
            
            
               | 
                  
                | 
               IVL_TS | 
               1 … 1 Required | 
                | 
                | 
               (CDAcomponentOf) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:dischargeDispositionCode
  | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAcomponentOf) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:responsibleParty  typeCode="RESP" classCode="ASSIGNED" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAAssignedEntity) | 
            
            
               | 
                  
                | 
               II | 
               1 … * Required | 
                | 
                | 
               (CDAAssignedEntity) | 
            
            
               | 
                  
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAAssignedEntity) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (CDAAssignedEntity) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (CDAAssignedEntity) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:assignedPerson  classCode="PSN" determinerCode="INSTANCE" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAPerson) | 
            
            
               | 
                  
                | 
               PN | 
               1 … * | 
                | 
                | 
               (CDAPerson) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:representedOrganization  classCode="ORG" determinerCode="INSTANCE" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               II | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               ON | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:standardIndustryClassCode
  | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:asOrganizationPartOf  classCode="PART" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               II | 
               0 … * Required | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:statusCode  where   [@code = doc('include/voc-2.16.840.1.113883.1.11.15999-DYNAMIC.xml')//valueSet [1]/conceptList/*/@code
                                 or @nullFlavor] valueSet="2.16.840.1.113883.1.11.15999" | 
                      
                   
                | 
               CS | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               IVL_TS | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:wholeOrganization  classCode="ORG" determinerCode="INSTANCE" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               II | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               ON | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:standardIndustryClassCode
  | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:encounterParticipant  where   [@typeCode] [hl7:assignedEntity] typeCode="…" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (CDAcomponentOf) | 
            
            
               | 
                  
                | 
               IVL_TS | 
               0 … 1 | 
                | 
                | 
               (CDAcomponentOf) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:assignedEntity  classCode="ASSIGNED" | 
                      
                   
                | 
                | 
               1 … 1 | 
                | 
                | 
               (CDAAssignedEntity) | 
            
            
               | 
                  
                | 
               II | 
               1 … * Required | 
                | 
                | 
               (CDAAssignedEntity) | 
            
            
               | 
                  
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAAssignedEntity) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (CDAAssignedEntity) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (CDAAssignedEntity) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:assignedPerson  classCode="PSN" determinerCode="INSTANCE" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAPerson) | 
            
            
               | 
                  
                | 
               PN | 
               1 … * | 
                | 
                | 
               (CDAPerson) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:representedOrganization  classCode="ORG" determinerCode="INSTANCE" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               II | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               ON | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:standardIndustryClassCode
  | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:asOrganizationPartOf  classCode="PART" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               II | 
               0 … * Required | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:statusCode  where   [@code = doc('include/voc-2.16.840.1.113883.1.11.15999-DYNAMIC.xml')//valueSet [1]/conceptList/*/@code
                                 or @nullFlavor] valueSet="2.16.840.1.113883.1.11.15999" | 
                      
                   
                | 
               CS | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               IVL_TS | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:wholeOrganization  classCode="ORG" determinerCode="INSTANCE" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               II | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               ON | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:standardIndustryClassCode
  | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:location  where   [hl7:healthCareFacility] typeCode="LOC" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAcomponentOf) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:healthCareFacility  classCode="SDLOC" | 
                      
                   
                | 
                | 
               1 … 1 | 
                | 
                | 
               (CDAcomponentOf) | 
            
            
               | 
                  
                | 
               II | 
               0 … * | 
                | 
                | 
               (CDAcomponentOf) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.840.1.113883.1.11.17660-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="2.16.840.1.113883.1.11.17660" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAcomponentOf) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:location  classCode="PLC" determinerCode="INSTANCE" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAPlace) | 
            
            
               | 
                  
                | 
               EN | 
               0 … 1 | 
                | 
                | 
               (CDAPlace) | 
            
            
               | 
                  
                | 
               AD | 
               0 … 1 | 
                | 
                | 
               (CDAPlace) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:serviceProviderOrganization  classCode="ORG" determinerCode="INSTANCE" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               II | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               ON | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:standardIndustryClassCode
  | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:asOrganizationPartOf  classCode="PART" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               II | 
               0 … * Required | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:statusCode  where   [@code = doc('include/voc-2.16.840.1.113883.1.11.15999-DYNAMIC.xml')//valueSet [1]/conceptList/*/@code
                                 or @nullFlavor] valueSet="2.16.840.1.113883.1.11.15999" | 
                      
                   
                | 
               CS | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               IVL_TS | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:wholeOrganization  classCode="ORG" determinerCode="INSTANCE" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               II | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               ON | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:standardIndustryClassCode
  | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (CDAOrganization) | 
            
            
               
                  
                     
                          | 
                        
                              hl7:component  where   [hl7:structuredBody] contextConductionInd="…" | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               MedicationCardDocument | 
            
            
               
                  
                     
                          | 
                          | 
                        
                              hl7:structuredBody  where   [not(@nullFlavor)] | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               MedicationCardDocument | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:component  where   [hl7:section [hl7:templateId [@root = '2.16.756.5.30.1.1.10.3.9'] and hl7:templateId
                                 [@root = '1.3.6.1.4.1.19376.1.9.1.2.5']]] | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationCardSectionContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:section  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.3.9'] and hl7:templateId [@root =
                                 '1.3.6.1.4.1.19376.1.9.1.2.5']] | 
                      
                   
                | 
                | 
               1 …  Required | 
                | 
                | 
               (MedicationCardSectionContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.3.9'] root="2.16.756.5.30.1.1.10.3.9" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationCardSectionContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.9.1.2.5'] root="1.3.6.1.4.1.19376.1.9.1.2.5" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationCardSectionContentModule) | 
            
            
               | 
                  
                | 
               II | 
               0 … 1 | 
                | 
                | 
               (MedicationCardSectionContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [(@code = '10160-0' and @codeSystem = '2.16.840.1.113883.6.1')] code="10160-0" codeSystem="2.16.840.1.113883.6.1" | 
                      
                   
                | 
               CE | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationCardSectionContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:title  where   [not(@nullFlavor)] | 
                      
                   
                | 
               ST | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationCardSectionContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:text  where   [not(@nullFlavor)] | 
                      
                   
                | 
               SD.TEXT | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationCardSectionContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:author  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.9.23']] | 
                      
                   
                | 
                | 
               0 … 1 Required | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.9.23'] root="2.16.756.5.30.1.1.10.9.23" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:functionCode  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.840.1.113883.1.11.10267-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="2.16.840.1.113883.1.11.10267" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               | 
                  
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  nullFlavor="NAV" root="2.51.1.3" extension="…" | 
                      
                   
                | 
               II | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 | 
                | 
                | 
                | 
            
            
               | 
                  
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [not(@use) or @use='L'] use="L" | 
                      
                   
                | 
               PN | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="AC" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  qualifier="BR" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='P'] use="P" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='ASGN'] use="ASGN" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:assignedAuthoringDevice
  | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:manufacturerModelName
  | 
                      
                   
                | 
               SC | 
               0 … 1 | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               | 
                  
                | 
               SC | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:representedOrganization
  | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               ON | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:entry  where   [hl7:substanceAdministration [hl7:templateId [@root = '2.16.756.5.30.1.1.10.4.34']
                                 and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.9.1.3.7'] and hl7:templateId [@root
                                 = '1.3.6.1.4.1.19376.1.9.1.3.6'] and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.24']
                                 and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.7']]] | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:substanceAdministration  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.4.34'] and hl7:templateId [@root =
                                 '1.3.6.1.4.1.19376.1.9.1.3.7'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.9.1.3.6']
                                 and hl7:templateId [@root = '2.16.840.1.113883.10.20.1.24'] and hl7:templateId [@root
                                 = '1.3.6.1.4.1.19376.1.5.3.1.4.7']] classCode="SBADM" moodCode="…" | 
                      
                   
                | 
                | 
               1 …  | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.4.34'] root="2.16.756.5.30.1.1.10.4.34" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.9.1.3.7'] root="1.3.6.1.4.1.19376.1.9.1.3.7" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.9.1.3.6'] root="1.3.6.1.4.1.19376.1.9.1.3.6" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.840.1.113883.10.20.1.24'] root="2.16.840.1.113883.10.20.1.24" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.7'] root="1.3.6.1.4.1.19376.1.5.3.1.4.7" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               | 
                  
                | 
                | 
               1 | 
                | 
                | 
                | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.7.1" | 
                      
                   
                | 
               II | 
               0 … 1 | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root='1.3.6.1.4.1.19376.1.5.3.1.4.8'] root="1.3.6.1.4.1.19376.1.5.3.1.4.8" | 
                      
                   
                | 
               II | 
               0 … 1 | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root='1.3.6.1.4.1.19376.1.5.3.1.4.9'] root="1.3.6.1.4.1.19376.1.5.3.1.4.9" | 
                      
                   
                | 
               II | 
               0 … 1 | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  where   [not(@nullFlavor)] | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:text  where   [not(@nullFlavor)] [hl7:reference] | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  where   [not(@nullFlavor)] | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:statusCode  where   [@code = 'completed'] code="completed" | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:effectiveTime  where   [@xsi:type='IVL_TS'] | 
                      
                   
                | 
               IVL_TS.CH.TZ | 
               0 … 1 | 
                | 
                | 
               (DosageInstructionsStartStopFrequency) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:low  nullFlavor="UNK" value="…" | 
                      
                   
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (DosageInstructionsStartStopFrequency) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:high  nullFlavor="UNK" value="…" | 
                      
                   
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (DosageInstructionsStartStopFrequency) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:effectiveTime  where   [@operator='A' and @xsi:type='EIVL_TS'] operator="A" | 
                      
                   
                | 
               EIVL_TS | 
               0 … 1 | 
                | 
                | 
               (DosageInstructionsStartStopFrequency) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:event  where   [not(@nullFlavor)] code="…" | 
                      
                   
                | 
               CS | 
               1 … 1 Mandatory | 
                | 
                | 
               (DosageInstructionsStartStopFrequency) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:effectiveTime  where   [@operator='A' and @xsi:type='SXPR_TS'] operator="A" xsi:type="SXPR_TS" | 
                      
                   
                | 
               SXPR_TS | 
               0 … 1 | 
                | 
                | 
               (DosageInstructionsStartStopFrequency) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:comp  where   [@xsi:type='EIVL_TS'] [not(@nullFlavor)] xsi:type="EIVL_TS" | 
                      
                   
                | 
                | 
               1 … * Mandatory | 
                | 
                | 
               (DosageInstructionsStartStopFrequency) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:event  where   [not(@nullFlavor)] code="…" | 
                      
                   
                | 
               CS | 
               1 … 1 Mandatory | 
                | 
                | 
               (DosageInstructionsStartStopFrequency) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:comp  where   [@operator='I' and @xsi:type='EIVL_TS'] [not(@nullFlavor)] operator="I" xsi:type="EIVL_TS" | 
                      
                   
                | 
                | 
               1 … * Mandatory | 
                | 
                | 
               (DosageInstructionsStartStopFrequency) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:event  where   [not(@nullFlavor)] code="…" | 
                      
                   
                | 
               CS | 
               1 … 1 Mandatory | 
                | 
                | 
               (DosageInstructionsStartStopFrequency) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:repeatNumber  value="…" nullFlavor="NI" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (DosageInstructionsStartStopFrequency) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:routeCode  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.11.2-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="2.16.756.5.30.1.1.11.2" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (DosageInstructionsStartStopFrequency) | 
            
            
               | 
                  
                | 
               CD | 
               0 … * | 
                | 
                | 
               (DosageInstructionsStartStopFrequency) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:doseQuantity  unit="…" value="…" | 
                      
                   
                | 
               IVL_PQ | 
               0 … 1 | 
                | 
                | 
               (DosageInstructionsStartStopFrequency) | 
            
            
               | 
                  
                | 
               IVL_PQ | 
               0 … 1 | 
                | 
                | 
               (DosageInstructionsStartStopFrequency) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:consumable  where   [not(@nullFlavor)] [hl7:manufacturedProduct] | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:manufacturedProduct  where   [hl7:manufacturedMaterial [hl7:templateId [@root = '2.16.756.5.30.1.1.10.4.33'] and
                                 hl7:templateId [@root = '1.3.6.1.4.1.19376.1.9.1.3.1']]] | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root='1.3.6.1.4.1.19376.1.5.3.1.4.7.2'] [not(@nullFlavor)] root="1.3.6.1.4.1.19376.1.5.3.1.4.7.2" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root='2.16.840.1.113883.10.20.1.53'] [not(@nullFlavor)] root="2.16.840.1.113883.10.20.1.53" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:manufacturedMaterial  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.4.33'] and hl7:templateId [@root =
                                 '1.3.6.1.4.1.19376.1.9.1.3.1']] classCode="MMAT" determinerCode="KIND" | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.4.33'] root="2.16.756.5.30.1.1.10.4.33" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.9.1.3.1'] root="1.3.6.1.4.1.19376.1.9.1.3.1" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [@codeSystem = '2.51.1.1' or @codeSystem = '2.16.840.1.113883.6.73'] nullFlavor="…" code="…" codeSystem="2.16.840.1.113883.6.73" | 
                      
                   
                | 
               CE | 
               1 … 1 Required | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               | 
                  
                | 
               ED | 
               0 … 1 | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  nullFlavor="NA" | 
                      
                   
                | 
               TEL | 
               1 … 1 Required | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [not(@nullFlavor)] nullFlavor="…" | 
                      
                   
                | 
               EN | 
               1 … 1 Required | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              pharm:formCode  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.11.3-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="2.16.756.5.30.1.1.11.3" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               | 
                  
                | 
               ST | 
               0 … 1 | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              pharm:expirationTime  value="…" | 
                      
                   
                | 
               TS.CH.TZ | 
               0 … 1 | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              pharm:asContent  where   [@classCode = 'CONT'] [pharm:containerPackagedMedicine [@classCode = 'CONT'] [@determinerCode
                                 = 'INSTANCE']] classCode="CONT" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              pharm:containerPackagedMedicine  where   [not(@nullFlavor)] [@classCode = 'CONT'] [@determinerCode = 'INSTANCE'] classCode="CONT" determinerCode="INSTANCE" | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               | 
                  
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               | 
                  
                | 
               TN | 
               0 … 1 | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               | 
                  
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              pharm:capacityQuantity  where   [not(@nullFlavor)] nullFlavor="…" unit="…" value="…" | 
                      
                   
                | 
               PQ | 
               0 … 1 | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              pharm:ingredient  where   [@classCode = 'ACTI'] [pharm:ingredient [@classCode = 'MMAT'] [@determinerCode =
                                 'KIND']] classCode="ACTI" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               | 
                  
                | 
               RTO_PQ_PQ | 
               0 … 1 | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:numerator  where   [not(@nullFlavor)] unit="…" value="…" | 
                      
                   
                | 
               PQ | 
               1 … 1 Mandatory | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:denominator  where   [not(@nullFlavor)] unit="…" value="…" | 
                      
                   
                | 
               PQ | 
               1 … 1 Mandatory | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              pharm:ingredient  where   [@classCode = 'MMAT'] [@determinerCode = 'KIND'] classCode="MMAT" determinerCode="KIND" | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              pharm:code  where   [@codeSystem = '2.16.840.1.113883.6.96'] code="…" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               | 
                  
                | 
               TN | 
               1 … 1 Required | 
                | 
                | 
               (ManufacturedMaterialEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:author  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.9.23']] | 
                      
                   
                | 
                | 
               0 … 1 Required | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.9.23'] root="2.16.756.5.30.1.1.10.9.23" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:functionCode  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.840.1.113883.1.11.10267-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="2.16.840.1.113883.1.11.10267" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               | 
                  
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  nullFlavor="NAV" root="2.51.1.3" extension="…" | 
                      
                   
                | 
               II | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 | 
                | 
                | 
                | 
            
            
               | 
                  
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [not(@use) or @use='L'] use="L" | 
                      
                   
                | 
               PN | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="AC" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  qualifier="BR" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='P'] use="P" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='ASGN'] use="ASGN" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:assignedAuthoringDevice
  | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:manufacturerModelName
  | 
                      
                   
                | 
               SC | 
               0 … 1 | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               | 
                  
                | 
               SC | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:representedOrganization
  | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               ON | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:author  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.9.23']] | 
                      
                   
                | 
                | 
               0 … 1 Required | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.9.23'] root="2.16.756.5.30.1.1.10.9.23" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:functionCode  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.840.1.113883.1.11.10267-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="2.16.840.1.113883.1.11.10267" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               | 
                  
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  nullFlavor="NAV" root="2.51.1.3" extension="…" | 
                      
                   
                | 
               II | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_Author) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 | 
                | 
                | 
                | 
            
            
               | 
                  
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [not(@use) or @use='L'] use="L" | 
                      
                   
                | 
               PN | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="AC" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  qualifier="BR" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='P'] use="P" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='ASGN'] use="ASGN" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:assignedAuthoringDevice
  | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:manufacturerModelName
  | 
                      
                   
                | 
               SC | 
               0 … 1 | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               | 
                  
                | 
               SC | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:representedOrganization
  | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               ON | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               TEL | 
               0 … * | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithName) | 
            
            
               | 
                  
                | 
               AD | 
               0 … * | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:entryRelationship  where   [@typeCode='COMP' and hl7:substanceAdministration and (../hl7:templateId [@root='1.3.6.1.4.1.19376.1.5.3.1.4.8']
                                 or ../hl7:templateId [@root='1.3.6.1.4.1.19376.1.5.3.1.4.10'] or ../hl7:templateId
                                 [@root='1.3.6.1.4.1.19376.1.5.3.1.4.9'] or ../hl7:templateId [@root='1.3.6.1.4.1.19376.1.5.3.1.4.11'])
                                 and not(hl7:substanceAdministration/hl7:templateId)] typeCode="COMP" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (DosageInstructionsEntryRelatedComponents) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:sequenceNumber  where   [not(@nullFlavor)] | 
                      
                   
                | 
               INT | 
               1 … 1 Mandatory | 
                | 
                | 
               (DosageInstructionsEntryRelatedComponents) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:substanceAdministration  where   [not(@nullFlavor)] [@classCode = 'SBADM'] [@moodCode] [hl7:consumable] moodCode="…" classCode="SBADM" | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (DosageInstructionsEntryRelatedComponents) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:effectiveTime  where   [@xsi:type='EIVL_TS'] xsi:type="EIVL_TS" | 
                      
                   
                | 
               EIVL_TS | 
               0 … 1 | 
                | 
                | 
               (DosageInstructionsEntryRelatedComponents) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:event  where   [not(@nullFlavor)] code="…" | 
                      
                   
                | 
               CS | 
               1 … 1 Mandatory | 
                | 
                | 
               (DosageInstructionsEntryRelatedComponents) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:doseQuantity  unit="…" value="…" | 
                      
                   
                | 
               IVL_PQ | 
               0 … 1 | 
                | 
                | 
               (DosageInstructionsEntryRelatedComponents) | 
            
            
               | 
                  
                | 
               IVL_PQ | 
               0 … 1 | 
                | 
                | 
               (DosageInstructionsEntryRelatedComponents) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:consumable  where   [not(@nullFlavor)] [hl7:manufacturedProduct] | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (DosageInstructionsEntryRelatedComponents) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:manufacturedProduct  where   [not(@nullFlavor)] [hl7:manufacturedMaterial [@nullFlavor = 'NA']] | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (DosageInstructionsEntryRelatedComponents) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:manufacturedMaterial  where   [@nullFlavor = 'NA'] nullFlavor="NA" | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (DosageInstructionsEntryRelatedComponents) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:entryRelationship  where   [hl7:act [hl7:templateId [@root='1.3.6.1.4.1.19376.1.5.3.1.4.4.1']]] typeCode="RSON" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (IHEInternalReferenceEntry) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:act  where   [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.4.1']] classCode="…" moodCode="…" | 
                      
                   
                | 
                | 
               1 …  | 
                | 
                | 
               (IHEInternalReferenceEntry) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.4.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.4.1" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (IHEInternalReferenceEntry) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  where   [not(@nullFlavor)] | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (IHEInternalReferenceEntry) | 
            
            
               | 
                  
                | 
               CD | 
               1 … 1 Required | 
                | 
                | 
               (IHEInternalReferenceEntry) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:entryRelationship  where   [hl7:observation] typeCode="RSON" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (TreatmentReasonEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:observation  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.4.41']] classCode="OBS" moodCode="EVN" | 
                      
                   
                | 
                | 
               1 …  | 
                | 
                | 
               (TreatmentReasonEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.4.41'] root="2.16.756.5.30.1.1.10.4.41" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (TreatmentReasonEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [(@code = '75326-9' and @codeSystem = '2.16.840.1.113883.6.1') or @nullFlavor] code="75326-9" codeSystem="2.16.840.1.113883.6.1" | 
                      
                   
                | 
               CD | 
               1 … 1 Required | 
                | 
                | 
               (TreatmentReasonEntryContentModule) | 
            
            
               | 
                  
                | 
               ED | 
               1 … 1 Required | 
                | 
                | 
               (NarrativeTextReferenceWithContent) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  where   [not(@nullFlavor)] value="…" | 
                      
                   
                | 
               TEL | 
               1 … 1 Mandatory | 
                | 
                | 
               (NarrativeTextReferenceWithContent) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:statusCode  where   [@code = 'completed'] code="completed" | 
                      
                   
                | 
               CS | 
               1 … 1 Mandatory | 
                | 
                | 
               (TreatmentReasonEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:entryRelationship  where   [@typeCode='REFR'] typeCode="REFR" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (MTPReferenceEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:substanceAdministration  where   [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.9.1.3.10'] and hl7:templateId [@root
                                 = '2.16.756.5.30.1.1.10.4.45']] classCode="SBADM" moodCode="…" | 
                      
                   
                | 
                | 
               1 …  | 
                | 
                | 
               (MTPReferenceEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.9.1.3.10'] root="1.3.6.1.4.1.19376.1.9.1.3.10" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (MTPReferenceEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.4.45'] root="2.16.756.5.30.1.1.10.4.45" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (MTPReferenceEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  where   [not(@nullFlavor)] | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (MTPReferenceEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [(@code = 'MTPItem' and @codeSystem = '1.3.6.1.4.1.19376.1.9.2.2')] code="MTPItem" codeSystem="1.3.6.1.4.1.19376.1.9.2.2" | 
                      
                   
                | 
               CD | 
               1 … 1 Mandatory | 
                | 
                | 
               (MTPReferenceEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:consumable  where   [not(@nullFlavor)] [hl7:manufacturedProduct] | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (MTPReferenceEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:manufacturedProduct  where   [not(@nullFlavor)] [hl7:manufacturedMaterial [@nullFlavor = 'NA']] | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (MTPReferenceEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:manufacturedMaterial  where   [@nullFlavor = 'NA'] nullFlavor="NA" | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (MTPReferenceEntryContentModule) | 
            
            
               | 
                  
                | 
                | 
               0 … 1 | 
                | 
                | 
               (MTPReferenceEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  where   [@typeCode = 'XCRPT'] [hl7:externalDocument] typeCode="XCRPT" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (MTPReferenceEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:externalDocument  where   [not(@nullFlavor)] [hl7:id] | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (MTPReferenceEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  where   [not(@nullFlavor)] | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (MTPReferenceEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:entryRelationship  where   [hl7:act [hl7:templateId [@root='1.3.6.1.4.1.19376.1.5.3.1.4.3']]] typeCode="SUBJ" inversionInd="true" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (IHEPatientMedicationInstructions) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:act  where   [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.3']] classCode="ACT" moodCode="INT" | 
                      
                   
                | 
                | 
               1 …  | 
                | 
                | 
               (IHEPatientMedicationInstructions) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.3'] root="1.3.6.1.4.1.19376.1.5.3.1.4.3" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (IHEPatientMedicationInstructions) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root='2.16.840.1.113883.10.20.1.49'] [not(@nullFlavor)] root="2.16.840.1.113883.10.20.1.49" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (IHEPatientMedicationInstructions) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [(@code = 'PINSTRUCT' and @codeSystem = '1.3.6.1.4.1.19376.1.5.3.2')] code="PINSTRUCT" codeSystem="1.3.6.1.4.1.19376.1.5.3.2" | 
                      
                   
                | 
               CD | 
               1 … 1 Mandatory | 
                | 
                | 
               (IHEPatientMedicationInstructions) | 
            
            
               | 
                  
                | 
               ED | 
               1 … 1 Required | 
                | 
                | 
               (NarrativeTextReferenceWithContent) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  where   [not(@nullFlavor)] value="…" | 
                      
                   
                | 
               TEL | 
               1 … 1 Mandatory | 
                | 
                | 
               (NarrativeTextReferenceWithContent) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:statusCode  where   [@code = 'completed'] code="completed" | 
                      
                   
                | 
               CS | 
               1 … 1 Mandatory | 
                | 
                | 
               (IHEPatientMedicationInstructions) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:entryRelationship  where   [hl7:act [hl7:templateId [@root='1.3.6.1.4.1.19376.1.5.3.1.4.3.1']]] typeCode="SUBJ" inversionInd="true" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (IHEFullfillmentInstructions) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:act  where   [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.3.1']] classCode="ACT" moodCode="INT" | 
                      
                   
                | 
                | 
               1 …  | 
                | 
                | 
               (IHEFullfillmentInstructions) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.3.1'] root="1.3.6.1.4.1.19376.1.5.3.1.4.3.1" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (IHEFullfillmentInstructions) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root='2.16.840.1.113883.10.20.1.43'] [not(@nullFlavor)] root="2.16.840.1.113883.10.20.1.43" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (IHEFullfillmentInstructions) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [(@code = 'FINSTRUCT' and @codeSystem = '1.3.6.1.4.1.19376.1.5.3.2')] code="FINSTRUCT" codeSystem="1.3.6.1.4.1.19376.1.5.3.2" | 
                      
                   
                | 
               CD | 
               1 … 1 Mandatory | 
                | 
                | 
               (IHEFullfillmentInstructions) | 
            
            
               | 
                  
                | 
               ED | 
               1 … 1 Required | 
                | 
                | 
               (NarrativeTextReferenceWithContent) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  where   [not(@nullFlavor)] value="…" | 
                      
                   
                | 
               TEL | 
               1 … 1 Mandatory | 
                | 
                | 
               (NarrativeTextReferenceWithContent) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:statusCode  where   [@code = 'completed'] code="completed" | 
                      
                   
                | 
               CS | 
               1 … 1 Mandatory | 
                | 
                | 
               (IHEFullfillmentInstructions) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:entryRelationship  where   [hl7:supply [@classCode='SPLY' and @moodCode='RQO']] typeCode="COMP" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (PrescribedQuantityEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:supply  where   [@classCode = 'SPLY'] [@moodCode = 'RQO'] classCode="SPLY" moodCode="RQO" | 
                      
                   
                | 
                | 
               1 …  | 
                | 
                | 
               (PrescribedQuantityEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [not(@nullFlavor)] root="1.3.6.1.4.1.19376.1.9.1.3.8" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (PrescribedQuantityEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:independentInd  where   [not(@nullFlavor)] value="false" | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (PrescribedQuantityEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:quantity  value="…" unit="1" | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (PrescribedQuantityEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:entryRelationship  where   [hl7:act [hl7:templateId [@root='1.3.6.1.4.1.19376.1.9.1.3.9.1']]] typeCode="COMP" | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (IHESubstitutionPermissionContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:act  where   [hl7:templateId [@root = '1.3.6.1.4.1.19376.1.9.1.3.9.1']] classCode="ACT" moodCode="DEF" | 
                      
                   
                | 
                | 
               1 …  Required | 
                | 
                | 
               (IHESubstitutionPermissionContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.9.1.3.9.1'] root="1.3.6.1.4.1.19376.1.9.1.3.9.1" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (IHESubstitutionPermissionContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.11.81-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem)] valueSet="2.16.756.5.30.1.1.11.81" | 
                      
                   
                | 
               CD | 
               1 … 1 Mandatory | 
                | 
                | 
               (IHESubstitutionPermissionContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:statusCode  where   [@code = 'completed'] code="completed" | 
                      
                   
                | 
               CS | 
               1 … 1 Mandatory | 
                | 
                | 
               (IHESubstitutionPermissionContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  where   [@typeCode = 'XCRPT'] typeCode="XCRPT" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               | 
                  
                | 
                | 
               0 … 1 | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               | 
                  
                | 
                | 
               0 … * | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:precondition  where   [hl7:criterion] | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (MedicationTreatmentPlanEntryContentModule) | 
            
            
               | 
                  
                | 
               ED | 
               1 … 1 Required | 
                | 
                | 
               (NarrativeTextReferenceWithContent) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  where   [not(@nullFlavor)] value="…" | 
                      
                   
                | 
               TEL | 
               1 … 1 Mandatory | 
                | 
                | 
               (NarrativeTextReferenceWithContent) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:entryRelationship  where   [hl7:substanceAdministration [hl7:templateId [@root='2.16.756.5.30.1.1.10.4.52']]] typeCode="COMP" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (DosageInstructionsNonStructuredEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:substanceAdministration  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.4.52']] classCode="SBADM" moodCode="INT" | 
                      
                   
                | 
                | 
               1 …  | 
                | 
                | 
               (DosageInstructionsNonStructuredEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.4.52'] root="2.16.756.5.30.1.1.10.4.52" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (DosageInstructionsNonStructuredEntryContentModule) | 
            
            
               | 
                  
                | 
               ED | 
               1 … 1 Required | 
                | 
                | 
               (NarrativeTextReferenceWithContent) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  where   [not(@nullFlavor)] value="…" | 
                      
                   
                | 
               TEL | 
               1 … 1 Mandatory | 
                | 
                | 
               (NarrativeTextReferenceWithContent) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:consumable  where   [hl7:manufacturedProduct] | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (DosageInstructionsNonStructuredEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:manufacturedProduct  where   [hl7:manufacturedMaterial [@nullFlavor = 'NA']] | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (DosageInstructionsNonStructuredEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:manufacturedMaterial  where   [@nullFlavor = 'NA'] nullFlavor="NA" | 
                      
                   
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (DosageInstructionsNonStructuredEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:entryRelationship  where   [hl7:act [hl7:templateId [@root='2.16.756.5.30.1.1.10.4.2']]] typeCode="COMP" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (chpharm_entry_AnnotationComments) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:act  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.4.2'] and hl7:templateId [@root =
                                 '2.16.840.1.113883.10.20.1.40'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.2']] classCode="ACT" moodCode="EVN" | 
                      
                   
                | 
                | 
               1 …  Required | 
                | 
                | 
               (chpharm_entry_AnnotationComments) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.4.2'] root="2.16.756.5.30.1.1.10.4.2" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (chpharm_entry_AnnotationComments) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.840.1.113883.10.20.1.40'] root="2.16.840.1.113883.10.20.1.40" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (chpharm_entry_AnnotationComments) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.2'] root="1.3.6.1.4.1.19376.1.5.3.1.4.2" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (chpharm_entry_AnnotationComments) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … 1 | 
                | 
                | 
               (chpharm_entry_AnnotationComments) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [(@code = '48767-8' and @codeSystem = '2.16.840.1.113883.6.1')] code="48767-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Annotation comment" | 
                      
                   
                | 
               CD | 
               1 … 1 Mandatory | 
                | 
                | 
               (chpharm_entry_AnnotationComments) | 
            
            
               | 
                  
                | 
               ED | 
               1 … 1 Required | 
                | 
                | 
               (NarrativeTextReferenceWithContent) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  where   [not(@nullFlavor)] value="…" | 
                      
                   
                | 
               TEL | 
               1 … 1 Mandatory | 
                | 
                | 
               (NarrativeTextReferenceWithContent) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:statusCode  where   [@code = 'completed' or @code = doc('include/voc-2.16.840.1.113883.1.11.20025-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/*/@code] code="completed" valueSet="2.16.840.1.113883.1.11.20025" flexibility="dynamic" | 
                      
                   
                | 
               CS | 
               1 … 1 Mandatory | 
                | 
                | 
               (chpharm_entry_AnnotationComments) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:author  where   [hl7:assignedAuthor] | 
                      
                   
                | 
                | 
               0 … * Conditional | 
                | 
                | 
               (cdach_other_AuthorCompilationWithIdNameAddrTelecom) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:functionCode  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.840.1.113883.1.11.10267-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="2.16.840.1.113883.1.11.10267" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AuthorCompilationWithIdNameAddrTelecom) | 
            
            
               | 
                  
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AuthorCompilationWithIdNameAddrTelecom) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AuthorCompilationWithIdNameAddrTelecom) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               1 … * Required | 
                | 
                | 
               (cdach_other_AuthorCompilationWithIdNameAddrTelecom) | 
            
            
               | 
                  
                | 
               AD | 
               1 … * Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               TEL | 
               1 … * Required | 
                | 
                | 
               (cdach_other_AuthorCompilationWithIdNameAddrTelecom) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 | 
                | 
                | 
                | 
            
            
               | 
                  
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [not(@use) or @use='L'] use="L" | 
                      
                   
                | 
               PN | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="AC" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  qualifier="BR" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='P'] use="P" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='ASGN'] use="ASGN" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:assignedAuthoringDevice
  | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:manufacturerModelName
  | 
                      
                   
                | 
               SC | 
               0 … 1 | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               | 
                  
                | 
               SC | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:representedOrganization
  | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithNameAddrTelecom) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithNameAddrTelecom) | 
            
            
               | 
                  
                | 
               ON | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithNameAddrTelecom) | 
            
            
               | 
                  
                | 
               TEL | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithNameAddrTelecom) | 
            
            
               | 
                  
                | 
               AD | 
               1 … * Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:entryRelationship  where   [hl7:act [hl7:templateId [@root='2.16.756.5.30.1.1.10.10']]] typeCode="COMP" | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (MedicationInReserveEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:act  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.10']] moodCode="DEF" classCode="ACT" | 
                      
                   
                | 
                | 
               1 …  Mandatory | 
                | 
                | 
               (MedicationInReserveEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.10'] root="2.16.756.5.30.1.1.10.10" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (MedicationInReserveEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.756.5.30.1.1.11.85-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem)] valueSet="2.16.756.5.30.1.1.11.85" flexibility="dynamic" | 
                      
                   
                | 
               CD | 
               Mandatory | 
                | 
                | 
               (MedicationInReserveEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:statusCode  where   [@code = 'completed'] code="completed" | 
                      
                   
                | 
               CS | 
               Mandatory | 
                | 
                | 
               (MedicationInReserveEntryContentModule) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:component  where   [hl7:section [hl7:templateId [@root = '2.16.756.5.30.1.1.10.3.2']]] | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_section_RemarksCoded) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:section  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.3.2']] | 
                      
                   
                | 
                | 
               1 …  | 
                | 
                | 
               (cdach_section_RemarksCoded) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.3.2'] root="2.16.756.5.30.1.1.10.3.2" | 
                      
                   
                | 
               II | 
               1 … 1 Required | 
                | 
                | 
               (cdach_section_RemarksCoded) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … 1 | 
                | 
                | 
               (cdach_section_RemarksCoded) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [(@code = '48767-8' and @codeSystem = '2.16.840.1.113883.6.1')] code="48767-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Annotation comment" | 
                      
                   
                | 
               CE | 
               1 … 1 Required | 
                | 
                | 
               (cdach_section_RemarksCoded) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:title  where   [not(@nullFlavor)] | 
                      
                   
                | 
               ST | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_section_RemarksCoded) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:text  where   [not(@nullFlavor)] | 
                      
                   
                | 
               SD.TEXT | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_section_RemarksCoded) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:entry  where   [hl7:act [hl7:templateId [@root = '2.16.756.5.30.1.1.10.4.2'] and hl7:templateId
                                 [@root = '2.16.840.1.113883.10.20.1.40'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.2']]] | 
                      
                   
                | 
                | 
               0 … * | 
                | 
                | 
               (chpcc_entry_AnnotationComments) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:act  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.4.2'] and hl7:templateId [@root =
                                 '2.16.840.1.113883.10.20.1.40'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.2']] classCode="ACT" moodCode="EVN" | 
                      
                   
                | 
                | 
               1 …  Required | 
                | 
                | 
               (chpcc_entry_AnnotationComments) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.4.2'] root="2.16.756.5.30.1.1.10.4.2" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (chpcc_entry_AnnotationComments) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.840.1.113883.10.20.1.40'] root="2.16.840.1.113883.10.20.1.40" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (chpcc_entry_AnnotationComments) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '1.3.6.1.4.1.19376.1.5.3.1.4.2'] root="1.3.6.1.4.1.19376.1.5.3.1.4.2" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (chpcc_entry_AnnotationComments) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … 1 | 
                | 
                | 
               (chpcc_entry_AnnotationComments) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [(@code = '48767-8' and @codeSystem = '2.16.840.1.113883.6.1')] code="48767-8" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Annotation comment" | 
                      
                   
                | 
               CD | 
               1 … 1 Mandatory | 
                | 
                | 
               (chpcc_entry_AnnotationComments) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:text  where   [not(@nullFlavor)] | 
                      
                   
                | 
               ED | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_other_TextElementWithReferenceToNarrativeText) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:reference  where   [not(@nullFlavor)] value="…" | 
                      
                   
                | 
               TEL | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_other_TextElementWithReferenceToNarrativeText) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:statusCode  where   [@code = 'completed' or @code = doc('include/voc-2.16.840.1.113883.1.11.20025-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/*/@code] code="completed" valueSet="2.16.840.1.113883.1.11.20025" flexibility="dynamic" | 
                      
                   
                | 
               CS | 
               1 … 1 Mandatory | 
                | 
                | 
               (chpcc_entry_AnnotationComments) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:author  where   [hl7:assignedAuthor] | 
                      
                   
                | 
                | 
               0 … * Conditional | 
                | 
                | 
               (cdach_other_AuthorCompilationWithIdNameAddrTelecom) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:functionCode  where   [concat(@code, @codeSystem) = doc('include/voc-2.16.840.1.113883.1.11.10267-DYNAMIC.xml')//valueSet
                                 [1]/conceptList/concept/concat(@code, @codeSystem) or @nullFlavor] valueSet="2.16.840.1.113883.1.11.10267" | 
                      
                   
                | 
               CE | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AuthorCompilationWithIdNameAddrTelecom) | 
            
            
               | 
                  
                | 
               TS.CH.TZ | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AuthorCompilationWithIdNameAddrTelecom) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AuthorCompilationWithIdNameAddrTelecom) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               1 … * Required | 
                | 
                | 
               (cdach_other_AuthorCompilationWithIdNameAddrTelecom) | 
            
            
               | 
                  
                | 
               AD | 
               1 … * Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               TEL | 
               1 … * Required | 
                | 
                | 
               (cdach_other_AuthorCompilationWithIdNameAddrTelecom) | 
            
            
               | 
                  
                | 
                | 
               1 … 1 | 
                | 
                | 
                | 
            
            
               | 
                  
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [not(@use) or @use='L'] use="L" | 
                      
                   
                | 
               PN | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="AC" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  qualifier="BR" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               1 … * Required | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               | 
                  
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='P'] use="P" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:name  where   [@use='ASGN'] use="ASGN" | 
                      
                   
                | 
               PN | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:prefix  qualifier="TITLE" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:family  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:given  where   [not(tokenize(@qualifier, '\s'))] qualifier="…" | 
                      
                   
                | 
               ENXP | 
               0 … * | 
                | 
                | 
               (cdach_other_PersonNameInformationCompilation-eCH-0011) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:assignedAuthoringDevice
  | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:manufacturerModelName
  | 
                      
                   
                | 
               SC | 
               0 … 1 | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               | 
                  
                | 
               SC | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_DeviceCompilationWithName) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:representedOrganization
  | 
                      
                   
                | 
                | 
               0 … 1 | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithNameAddrTelecom) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithNameAddrTelecom) | 
            
            
               | 
                  
                | 
               ON | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithNameAddrTelecom) | 
            
            
               | 
                  
                | 
               TEL | 
               1 … * Required | 
                | 
                | 
               (cdach_other_OrganizationCompilationWithNameAddrTelecom) | 
            
            
               | 
                  
                | 
               AD | 
               1 … * Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 2 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 Conditional | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               0 … 1 | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               | 
                  
                | 
               ADXP | 
               1 … 1 Required | 
                | 
                | 
               (cdach_other_AddressInformationCompilation-eCH-0010) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                        
                              hl7:component  where   [hl7:section [hl7:templateId [@root = '2.16.756.5.30.1.1.10.3.45']]] | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_section_OriginalRepresentationCoded) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:section  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.3.45']] | 
                      
                   
                | 
                | 
               1 …  | 
                | 
                | 
               (cdach_section_OriginalRepresentationCoded) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.3.45'] root="2.16.756.5.30.1.1.10.3.45" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_section_OriginalRepresentationCoded) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … 1 | 
                | 
                | 
               (cdach_section_OriginalRepresentationCoded) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:code  where   [(@code = '55108-5' and @codeSystem = '2.16.840.1.113883.6.1')] code="55108-5" codeSystem="2.16.840.1.113883.6.1" | 
                      
                   
                | 
               CE | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_section_OriginalRepresentationCoded) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:title  where   [not(@nullFlavor)] | 
                      
                   
                | 
               ST | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_section_OriginalRepresentationCoded) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:text  where   [not(@nullFlavor)] [hl7:renderMultiMedia] | 
                      
                   
                | 
               SD.TEXT | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_section_OriginalRepresentationCoded) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:renderMultiMedia  where   [not(@nullFlavor)] referencedObject="…" | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_section_OriginalRepresentationCoded) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:entry  where   [hl7:observationMedia [hl7:templateId [@root = '2.16.756.5.30.1.1.10.4.83']]] typeCode="DRIV" | 
                      
                   
                | 
                | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_entry_ObservationMedia) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:observationMedia  where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.4.83']] classCode="OBS" moodCode="EVN" ID="…" | 
                      
                   
                | 
                | 
               1 …  | 
                | 
                | 
               (cdach_entry_ObservationMedia) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:templateId  where   [@root = '2.16.756.5.30.1.1.10.4.83'] root="2.16.756.5.30.1.1.10.4.83" | 
                      
                   
                | 
               II | 
               1 … 1 Mandatory | 
                | 
                | 
               (cdach_entry_ObservationMedia) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:id  root="…" extension="…" | 
                      
                   
                | 
               II | 
               0 … * | 
                | 
                | 
               (cdach_entry_ObservationMedia) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:languageCode  valueSet="2.16.840.1.113883.1.11.11526" | 
                      
                   
                | 
               CS | 
               1 … 1 Required | 
                | 
                | 
               (cdach_entry_ObservationMedia) | 
            
            
               
                  
                     
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                          | 
                        
                              hl7:value  representation="B64" mediaType="…" | 
                      
                   
                | 
               ED | 
               1 … 1 Required | 
                | 
                | 
               (cdach_entry_ObservationMedia) | 
            
            
               | 
                  
                | 
                | 
               0 … 0 Not present | 
                | 
                | 
               (cdach_entry_ObservationMedia) | 
            
            
               | 
                  
                | 
                | 
               0 … 0 Not present | 
                | 
                | 
               (cdach_entry_ObservationMedia) |