hl7:recordTarget
  | 
                                  | 
                                 1 … * | 
                                 R | 
                                 Patient (Human Patient). | 
                                 CDA- SMCP | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 2.16.756.5.30.1.1.10.2.76 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 2.16.756.5.30.1.1.10.2.1 | 
                              
                              
                                 hl7:patientRole
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                 Exactly one patient MUST be declared. | 
                                 CDA- SMCP | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 hl7:telecom[starts-with(@value,"tel:") and @use='HP'] | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 The patient's primary telephone number is required. | 
                                   | 
                              
                              
                                 hl7:id
  | 
                                 II | 
                                 1 … 1 | 
                                 R | 
                                 The patient's SSN MUST be declared. | 
                                 CDA- SMCP | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 2.16.756.5.32 | 
                              
                              
                                 |   | 
                                 MUST contain the OID of the Swiss SSN. | 
                              
                              
                                 @extension
  | 
                                 st | 
                                 1 … 1 | 
                                 R | 
                                 MUST contain the SSN itself. | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:id
  | 
                                 II | 
                                 0 … * | 
                                  | 
                                 Other patient identifications SHALL be declared, if known. | 
                                 CDA- SMCP | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 R | 
                                 MUST contain the OID of the system that issued the ID. OIDs of code systems, which
                                    are published in the public OID registry for the Swiss health care system (oid.refdata.ch)
                                    are REQUIRED. Others are NOT ALLOWED.
                                  | 
                              
                              
                                 @extension
  | 
                                 st | 
                                 1 … 1 | 
                                 R | 
                                 MUST contain the patient number itself. The number MUST be unique within the system
                                    that has issued the number.
                                  | 
                              
                              
                                 hl7:addr
  | 
                                 AD | 
                                 1 … 1 | 
                                 R | 
                                 The patient's home address MUST be declared. Contains 2.16.756.5.30.1.1.10.9.35 Address Information Compilation - eCH-0010 (DYNAMIC)
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 @nullFlavor
  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 NI | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 @use
  | 
                                 set_cs | 
                                 1 … 1 | 
                                 F | 
                                 HP | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 not(@nullFlavor='NI') or (@use='HP') | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 Either a valid home address or @nullFlavor="NI" (homeless) is required. | 
                                   | 
                              
                              
                                 hl7:addr
  | 
                                 AD | 
                                 0 … * | 
                                  | 
                                 Other patient addresses CAN be declared if this is helpful for the recipient. Contains 2.16.756.5.30.1.1.10.9.35 Address Information Compilation - eCH-0010 (DYNAMIC)
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 hl7:telecom
  | 
                                 TEL | 
                                 1 … * | 
                                 R | 
                                 Means of communication of the patient (phone, eMail, ...). | 
                                 CDA- SMCP | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:patient
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                 Exactly one patient MUST be declared. | 
                                 CDA- SMCP | 
                              
                              
                                 hl7:name
  | 
                                 PN | 
                                 1 … * | 
                                 R | 
                                 The patient's name MUST be declared. | 
                                 CDA- SMCP | 
                              
                              
                                 hl7:family
  | 
                                 ENXP | 
                                 1 … 1 | 
                                 R | 
                                 The patient's family name. | 
                                 CDA- SMCP | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:given
  | 
                                 ENXP | 
                                 1 … 1 | 
                                 R | 
                                 The patient's given name. | 
                                 CDA- SMCP | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:administrativeGenderCode
  | 
                                 CE | 
                                 1 … 1 | 
                                 R | 
                                 The patient's gender according to the Swiss EPR XDS.b metadata. | 
                                 CDA- SMCP | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:birthTime
  | 
                                 TS | 
                                 1 … 1 | 
                                 R | 
                                 The patient's birthdate MUST be declared. | 
                                 CDA- SMCP | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:maritalStatusCode
  | 
                                 CE | 
                                 0 … 1 | 
                                  | 
                                 The patient's marital status CAN be declared. | 
                                 CDA- SMCP | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:religiousAffiliationCode
  | 
                                 CE | 
                                 0 … 1 | 
                                  | 
                                 The patient's religion CAN be declared. | 
                                 CDA- SMCP | 
                              
                              
                                 @nullFlavor
  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 OTH | 
                              
                              
                                 hl7:originalText
  | 
                                 ED | 
                                 1 … 1 | 
                                 R | 
                                 Religion and/or confession of the patient as plain text. | 
                                 CDA- SMCP | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:languageCommunication
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                 The patient's mother tonge. Contains 2.16.756.5.30.1.1.10.2.85 Mother Tongue (DYNAMIC)
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 
                                    
                                       
                                            | 
                                            | 
                                            | 
                                           where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.2.85'] and hl7:templateId [@root =
                                                '2.16.756.5.30.1.1.10.2.39'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.2.1']] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:languageCommunication
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                 The patient's capabilities in French communication. Contains 2.16.756.5.30.1.1.10.2.86 French Communication (DYNAMIC)
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 
                                    
                                       
                                            | 
                                            | 
                                            | 
                                           where   [hl7:templateId [@root = '2.16.756.5.30.1.1.10.2.86'] and hl7:templateId [@root =
                                                '2.16.756.5.30.1.1.10.2.39'] and hl7:templateId [@root = '1.3.6.1.4.1.19376.1.5.3.1.2.1']] | 
                                        
                                     
                                  | 
                                  | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:languageCommunication
  | 
                                  | 
                                 0 … * | 
                                  | 
                                 Other patient's language skills CAN be declared. | 
                                 CDA- SMCP | 
                              
                              
                                 hl7:languageCode
  | 
                                 CS | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:modeCode
  | 
                                 CE | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:proficiencyLevelCode
  | 
                                 CE | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:preferenceInd
  | 
                                 BL | 
                                 0 … 1 | 
                                  | 
                                  | 
                                 CDA- SMCP |