<?xml version="1.0" encoding="UTF-8"?>
<mappings>
    <!-- Chapter 1: Release Info (if publication is a release) -->
    <!-- ========= --><release project="2.16.840.1.113883.3.1937.777.63"
            prefix="hl7itig-"
            signature="20251014T164455"
            date="2025-10-14T16:44:55"
            versionLabel="V1.0">
      <note xmlns:cda="urn:hl7-org:v3"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xmlns:hl7="urn:hl7-org:v3"
            xmlns:sdtc="urn:hl7-org:sdtc"
            xmlns:pharm="urn:ihe:pharm:medication"
            language="it-IT"
            lastTranslated="2025-10-14T16:44:55">
         <p>Relazione collaborativa di Teleconsulto Versione 1.0</p>
      </note>
   </release>
    
    <!-- Chapter 2: Mapping based on model list -->
    <!-- ========= -->
    <!-- Used to map an instance to a specific Schematron. How to read:
- For every template-id that is used in instances there is an element map, e.g.
  <map model="REPC_IN004110UV01" namespace="urn:hl7-org:v3" sch="peri20-counseling-fase-1c.sch" schsvrl="peri20-counseling-fase-1c.xsl"/>
  or
  <map templateRoot="2.16.840.1.113883.2.4.6.10.90.59" templateExt="2017-03-27" sch="peri20-counseling-fase-1c.sch" schsvrl="peri20-counseling-fase-1c.xsl"/>
  <map templateRoot="2.16.840.1.113883.2.4.6.10.90.59" sch="peri20-counseling-fase-1c.sch" schsvrl="peri20-counseling-fase-1c.xsl"/>
  or 
  <map rootelement="REPC_IN004110UV01" namespace="urn:hl7-org:v3" sch="peri20-counseling-fase-1c.sch" schsvrl="peri20-counseling-fase-1c.xsl"/>
  
  - @model       - optional    - hint as to the XML Schema that could be used
  - @namespace   - mandatory   - default namespace-uri() of the project and of the instance unless specified otherwise
  or
  - templateRoot - mandatory   - in HL7v3 this would be an OID. In other instance types it might be something else, but then this mapping file might need adjusted setup
  - templateExt  - optional    - in HL7v3 this would be any string found in templateId/@extension
  or
  - @rootelement - required    - local-name() of the root element of the instance
  - @namespace   - mandatory   - namespace-uri() of the root element
  
  One of the following is required, normally schsvrl makes sense:
  - @schsvrl     - conditional - path+file name of the SVRL XSL. The path should be relative to this index/map file
  - @schtext     - conditional - path+file name of the Text XSL. The path should be relative to this index/map file
  - @sch         - conditional - path+file name of the original Schematron file. The path should be relative to this index/map file
    
  Note that the same template may be part of multiple transactions, hence multiple map element could be present for the same template. The attached Schematron
  will have different names, but will have the exact same rules (same template, same rules) hence only the first match is needed for validation.
  
- As final fallback, when no template-id is found in the instance, code should rely on root element of the instance to determine the Schematron file name ... -->
    
    <!-- Chapter 3: Mapping based on representing templates -->
    <!-- ========= -->
    <!-- Used to map a representing template to a specific Schematron. How to read:
- For every representing template the schematron file and sch svrl xsl conversion file is mentioned
- The corresponding root element plus its namespace is mentioned 
- Every transaction represented by this template is named--><template id="2.16.840.1.113883.3.1937.777.63.10.602"
             effectiveDate="2025-05-16T12:25:49"
             sch="hl7itig-.sch"
             schsvrl="hl7itig-.xsl">
      <root rootelement="ClinicalDocument" namespace="urn:hl7-org:v3"/>
      <transaction id="2.16.840.1.113883.3.1937.777.63.4.38"
                   effectiveDate="2025-06-03T00:00:00"
                   statusCode="draft"
                   name="Relazione di Teleconsulto"/>
   </template>
    
    <!-- Chapter 4: Schematron parameters that were used for this compilation -->
    <decor-parameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     xsi:noNamespaceSchemaLocation="https://assets.art-decor.org/ADAR/rv/assets/../decor-parameters.xsd"><!-- create Schematron1 or not (Schematron0) -->
      <switchCreateSchematron1/>
      <!-- create WithWrapperIncludes1 or not (WithWrapperIncludes0) -->
      <switchCreateSchematronWithWrapperIncludes0/>
      <switchCreateSchematronWithWarningsOnOpen1/>
      <switchCreateSchematronClosed1/>
      <switchCreateSchematronWithExplicitIncludes1/>
      <!-- create DocHTML1 or not (DocHTML0) -->
      <switchCreateDocHTML1/>
      <!-- create SVG1 or not (SVG0) -->
      <switchCreateDocSVG0/>
      <!-- how to link to other formats: generated (default), live, live-services, live-vue, live-services-vue-->
      <seeThisUrlLocation/>
      <!-- create DocBook1 or not (DocBook0) -->
      <switchCreateDocDocbook0/>
      <!-- create PDF1 or not (PDF0) -->
      <switchCreateDocPDF0/>
      <!-- use local assets dir ../assets instead of online version -->
      <useLocalAssets0/>
      <!-- use local logos dir ../pfx-logos instead of online version -->
      <useLocalLogos1/>
      <!-- useCustomLogo -->
      <useCustomLogo0 src="" href=""/>
      <useLatestDecorVersion1/>
      <!-- create artefacts without timestamp directories as we are in development -->
      <inDevelopment0/>
      <!-- override /decor/project/@language default language, or set if not given there -->
      <!-- <defaultLanguage>nl-NL<defaultLanguage> -->
      <!-- need to keep those off for big projects due to memory constraints, but active otherwise -->
      <switchCreateDatatypeChecks0/>
      <!-- create instances that mimic the specification -->
      <createDefaultInstancesForRepresentingTemplates0/>
      <!-- log at level (ALL, DEBUG, INFO, WARN, ERROR, FATAL, OFF) -->
      <logLevel>INFO</logLevel>
      <!-- determine binding behavior -->
      <bindingBehavior valueSets="freeze"/>
      <!-- Relevant for HTML only. Implements treetable.js based table views if 'switchCreateTreeTableHtml1' or traditional tables otherwise -->
      <switchCreateTreeTableHtml1/>
   </decor-parameters>
</mappings>
