hl7:author
  | 
                                  | 
                                 1 … * | 
                                 R | 
                                 Information about the author of the document. The author MAY be a person or a device.
                                    At least one author MUST be declared.
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 2.16.756.5.30.1.1.10.2.74 | 
                              
                              
                                 hl7:templateId
  | 
                                 II | 
                                 1 … 1 | 
                                 M | 
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 @root
  | 
                                 uid | 
                                 1 … 1 | 
                                 F | 
                                 2.16.756.5.30.1.1.10.9.23 | 
                              
                              
                                 hl7:functionCode
  | 
                                 CE | 
                                 1 … 1 | 
                                 R | 
                                  The functionCode MUST be taken from the Swiss EPR Value-Set for author roles. See
                                    FDHA Ordinance on the Electronic Patient Record (EPRO-FDHA), Appendix 3: Metadata,
                                    Section 2.1.  If the desired functionCode is not available in the Swiss EPR Value-Set for author
                                    roles, nullFlavor='NAV' MUST be used. In this case, the originalText element MUST
                                    contain the description of the role.  Translations to other vocabularies are allowed. 
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 @nullFlavor
  | 
                                 st | 
                                 0 … 1 | 
                                 F | 
                                 NAV | 
                              
                              
                                 @code
  | 
                                 cs | 
                                 0 … 1 | 
                                   | 
                                  | 
                              
                              
                                 @codeSystem
  | 
                                 oid | 
                                 0 … 1 | 
                                 F | 
                                 2.16.840.1.113883.6.96 | 
                              
                              
                                 @codeSystemName
  | 
                                 st | 
                                 0 … 1 | 
                                 F | 
                                 SNOMED CT | 
                              
                              
                                 @displayName
  | 
                                 st | 
                                 0 … 1 | 
                                   | 
                                  | 
                              
                              
                                 |   | 
                                 CONF | 
                                 
                                    
                                  | 
                              
                              
                                 |   | 
                                 Example | 
                                 <functionCode code="106292003" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="Professional nurse"/> | 
                              
                              
                                 |   | 
                                 Example | 
                                 <functionCode nullFlavor="NAV">   <originalText>Home helper</originalText></functionCode> | 
                              
                              
                                 |   | 
                                 Example | 
                                 <functionCode nullFlavor="NAV">   <originalText>Laboratory technician</originalText>  <translation code="3212" codeSystem="2.16.840.1.113883.2.9.6.2.7" codeSystemName="ISCO-08" displayName="Medical and pathology laboratory technicians"/></functionCode> | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 (@code and @codeSystem) or (@nullFlavor='NAV') | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 Either a code with its code system or nullFlavor='NAV' is required. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 not(@nullFlavor) or (hl7:originalText) | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 Other Caregivers description MUST be declared in the originalText element in case
                                       of nullFlavor. | 
                                   | 
                              
                              
                                 hl7:translation
  | 
                                  | 
                                 0 … * | 
                                  | 
                                 A translation of the code to another coding system (e.g. ISCO-08: 2.16.840.1.113883.2.9.6.2.7) | 
                                 CDA- SMCP | 
                              
                              
                                 @code
  | 
                                 cs | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 @codeSystem
  | 
                                 oid | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 @codeSystemName
  | 
                                 st | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 @displayName
  | 
                                 st | 
                                 1 … 1 | 
                                 R | 
                                  | 
                              
                              
                                 hl7:translation
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                 Use this translation when the author is the patient itself (e.g. by reporting a self
                                    medication or a medical problem).
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 @code
  | 
                                 cs | 
                                 1 … 1 | 
                                 F | 
                                 116154003 | 
                              
                              
                                 @codeSystem
  | 
                                 oid | 
                                 1 … 1 | 
                                 F | 
                                 2.16.840.1.113883.6.96 | 
                              
                              
                                 @codeSystemName
  | 
                                 st | 
                                 1 … 1 | 
                                 F | 
                                 SNOMED CT | 
                              
                              
                                 @displayName
  | 
                                 st | 
                                 1 … 1 | 
                                 F | 
                                 Patient (person) | 
                              
                              
                                 hl7:time
  | 
                                 TS.CH.TZ | 
                                 1 … 1 | 
                                 R | 
                                  Timestamp of the authorship.  | 
                                 CDA- SMCP | 
                              
                              
                                 hl7:assignedAuthor
  | 
                                  | 
                                 1 … 1 | 
                                 R | 
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 not(hl7:assignedAuthoringDevice/hl7:softwareName) or (hl7:representedOrganization) | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 For device authors the element representedOrganization is REQUIRED. | 
                                   | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 hl7:telecom[starts-with(@value,"tel:")] | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 The phone number of the person who issued the document is required. | 
                                   | 
                              
                              
                                 hl7:id
  | 
                                 II | 
                                 1 … 1 | 
                                 R | 
                                  The specification of GS1 GLN is REQUIRED. If it is not (yet) known, this MUST be
                                    declared using nullFlavor.  For persons: their personal GLN MUST be declared.  For devices or software modules: the GLN of their organization MUST be declared. 
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 @nullFlavor
  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 NAV | 
                              
                              
                                 |   | 
                                 Temporarily unknown, will be filled later. | 
                              
                              
                                 @root
  | 
                                 cs | 
                                 0 … 1 | 
                                 F | 
                                 2.51.1.3 | 
                              
                              
                                 |   | 
                                 OID for GS1 GLN. | 
                              
                              
                                 @extension
  | 
                                 st | 
                                 0 … 1 | 
                                   | 
                                 The GS1 GLN. | 
                              
                              
                                 |   | 
                                 Schematron assert | 
                                 role | 
                                   error
                                  | 
                                   | 
                              
                              
                                 |   | 
                                 test | 
                                 (@root='2.51.1.3' and @extension) or (@nullFlavor='NAV') | 
                                   | 
                              
                              
                                 |   | 
                                 Message | 
                                 Either the GS1 GLN or nullFlavor='NAV' is REQUIRED | 
                                   | 
                              
                              
                                 hl7:id
  | 
                                 II | 
                                 0 … * | 
                                  | 
                                 Other ids are allowed. | 
                                 CDA- SMCP | 
                              
                              
                                 @root
  | 
                                 cs | 
                                 1 … 1 | 
                                 R | 
                                 The OID of the system that issued the id. OIDs of code systems, which are published
                                    in a public OID registry are REQUIRED. Others are NOT ALLOWED.
                                  | 
                              
                              
                                 @extension
  | 
                                 st | 
                                 0 … 1 | 
                                   | 
                                 The id itself. It MUST be unique within the issuing system. | 
                              
                              
                                 hl7:addr
  | 
                                 AD | 
                                 0 … * | 
                                  | 
                                 Address of the authors organization. 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 author (phone, eMail, ...). | 
                                 CDA- SMCP | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 | Choice | 
                                 1 … 1 | 
                                  | 
                                 Elements to choose from:
                                    
                                  | 
                              
                              
                                 hl7:assignedPerson
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                 The author as a person. Contains 2.16.756.5.30.1.1.10.9.34 Person Name Information Compilation - eCH-0011 (DYNAMIC)
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 |   | 
                                 
                                    
                                  | 
                              
                              
                                 hl7:assignedAuthoringDevice
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                 The author as a device. Contains 2.16.756.5.30.1.1.10.9.21 Device Compilation with name (DYNAMIC)
                                  | 
                                 CDA- SMCP | 
                              
                              
                                 hl7:representedOrganization
  | 
                                  | 
                                 0 … 1 | 
                                  | 
                                 The author's organization. Contains 2.16.756.5.30.1.1.10.9.24 Organization Compilation with name (DYNAMIC)
                                  | 
                                 CDA- SMCP |