{#
 # This file is part of MedShakeEHR.
 #
 # Copyright (c) 2018
 # Bertrand Boutillier <b.boutillier@gmail.com>
 # http://www.medshake.net
 #
 # MedShakeEHR is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation, either version 3 of the License, or
 # any later version.
 #
 # MedShakeEHR is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
 # along with MedShakeEHR.  If not, see <http://www.gnu.org/licenses/>.
 #/

/##
 # Template > document non structuré XML CDA
 #
 # @author Bertrand Boutillier <b.boutillier@gmail.com>
 #}
{% extends "CdaBase.xml.twig" %}
{% import "macroCda.xml.twig" as m %}

{% block templateId %}
  {{ parent() }}
  <templateId root="1.3.6.1.4.1.19376.1.2.20" assigningAuthorityName="IHE XDS-SD"/>
{% endblock templateId %}

{% block component %}
  <nonXMLBody>
    <text mediaType="application/pdf" representation="B64">{{ tag.documentPdfBase64 }}</text>
  </nonXMLBody>
{% endblock component %}
