<?xml version="1.0" encoding="UTF-8"?>

<PlanDefinition xmlns="http://hl7.org/fhir">
  <id value="EjemploEmaPlanDefinition"/>
  <meta>
    <profile value="https://emahealth.io/fhir/clinical/StructureDefinition/ema-plan-definition"/>
  </meta>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml">
<div>
    <table class="grid dict">
        
        <tr>
            <th scope="row"><b>Id: </b></th>
            <td style="padding-left: 4px;">EjemploEmaPlanDefinition</td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Url: </b></th>
            <td style="padding-left: 4px;"><a href="PlanDefinition-EjemploEmaPlanDefinition.html">Protocolo de control de diabetes mellitus tipo 2</a></td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Version: </b></th>
            <td style="padding-left: 4px;">0.1.0</td>
        </tr>
        

        

        
        <tr>
            <th scope="row"><b>Title: </b></th>
            <td style="padding-left: 4px;">Protocolo de control de diabetes mellitus tipo 2</td>
        </tr>
        

        

        

        

        
        <tr>
            <th scope="row"><b>Type: </b></th>
            <td style="padding-left: 4px;">
                
                    
                        
                        <p style="margin-bottom: 5px;">
                            <b>system: </b> <span><a href="http://terminology.hl7.org/7.1.0/CodeSystem-plan-definition-type.html">http://terminology.hl7.org/CodeSystem/plan-definition-type</a></span>
                        </p>
                        
                        
                        <p style="margin-bottom: 5px;">
                            <b>code: </b> <span>clinical-protocol</span>
                        </p>
                        
                        
                    
                
                
            </td>
        </tr>
        

        

        
        <tr>
            <th scope="row"><b>Date: </b></th>
            <td style="padding-left: 4px;">2026-03-15 22:34:07+0000</td>
        </tr>
        

        
        <tr>
            <th scope="row"><b>Publisher: </b></th>
            <td style="padding-left: 4px;">EMA Health SpA</td>
        </tr>
        

        

        

        

        

        
        <tr>
            <th scope="row"><b>Jurisdiction: </b></th>
            <td style="padding-left: 4px;">CL</td>
        </tr>
        

        

        

        

        

        

        

        

        

        
        <tr>
            <th scope="row"><b>Actions: </b></th>
            <td style="padding-left: 4px;">
                <table class="grid-dict">
                    
                    <tr>
                        <td>
                            
                            <b> Control de glicemia en ayunas:</b> 
                            
                            <br/>
                            
                            
                            <b>If:</b>
                            
                            <i>Applicability:</i>
                            
                            <i>(Condition.code.coding.where(system='http://snomed.info/sct' and code='44054006').exists())</i>
                            <br/>
                            
                            
                            
                            
                            
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            
                            <b> Solicitar hemoglobina glicosilada trimestral:</b> 
                            
                            <br/>
                            
                            
                            
                            
                            
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            
                            <b> Control de presión arterial:</b> 
                            
                            <br/>
                            
                            
                            
                            
                            
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            
                            <b> Evaluación de función renal anual:</b> 
                            
                            <br/>
                            
                            
                            
                            
                            
                        </td>
                    </tr>
                    
                </table>
            </td>
        </tr>
        
    </table>
</div>
</div>
  </text>
  <url value="https://emahealth.io/fhir/clinical/PlanDefinition/EjemploEmaPlanDefinition"/>
  <version value="0.1.0"/>
  <name value="ProtocoloControlDiabetico"/>
  <title value="Protocolo de control de diabetes mellitus tipo 2"/>
  <type>
    <coding>
      <system value="http://terminology.hl7.org/CodeSystem/plan-definition-type"/>
      <code value="clinical-protocol"/>
    </coding>
  </type>
  <status value="active"/>
  <date value="2026-03-15T22:34:07+00:00"/>
  <publisher value="EMA Health SpA"/>
  <contact>
    <name value="EMA Health SpA"/>
    <telecom>
      <system value="url"/>
      <value value="https://emahealth.io"/>
    </telecom>
  </contact>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="CL"/>
      <display value="Chile"/>
    </coding>
  </jurisdiction>
  <action>
    <title value="Control de glicemia en ayunas"/>
    <condition>
      <kind value="applicability"/>
      <expression>
        <language value="text/fhirpath"/>
        <expression value="Condition.code.coding.where(system='http://snomed.info/sct' and code='44054006').exists()"/>
      </expression>
    </condition>
  </action>
  <action>
    <title value="Solicitar hemoglobina glicosilada trimestral"/>
  </action>
  <action>
    <title value="Control de presión arterial"/>
  </action>
  <action>
    <title value="Evaluación de función renal anual"/>
  </action>
</PlanDefinition>