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

<Bundle xmlns="http://hl7.org/fhir">
  <id value="example-publishable-bundle"/>
  <meta>
    <profile value="http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-publishable-bundle"/>
  </meta>
  <language value="en"/>
  <type value="transaction"/>
  <entry>
    <fullUrl value="http://example.org/fhir/ImplementationGuide/sepsis-management-ig"/>
    <resource>
      <ImplementationGuide>
        <id value="sepsis-management-ig"/>
        <language value="en"/>
        <text>
          <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="ImplementationGuide_sepsis-management-ig"> </a><p class="res-header-id"><b>Generated Narrative: ImplementationGuide sepsis-management-ig</b></p><a name="sepsis-management-ig"> </a><a name="hcsepsis-management-ig"> </a><p><b>url</b>: <a href="Bundle-example-publishable-bundle.html#http-//example.org/fhir/ImplementationGuide/sepsis-management-ig">ImplementationGuide Sepsis Detection and Management Implementation Guide</a></p><p><b>version</b>: 1.0.0</p><p><b>name</b>: SepsisManagementIG</p><p><b>title</b>: Sepsis Detection and Management Implementation Guide</p><p><b>status</b>: Active</p><p><b>publisher</b>: Example Medical Research Institution</p><p><b>description</b>: </p><div><p>This implementation guide provides evidence-based clinical decision support for sepsis detection and management.
It includes risk stratification algorithms, treatment protocols, and quality measures developed through
clinical trials and expert consensus.</p>
</div><p><b>packageId</b>: example.sepsis.management</p><p><b>fhirVersion</b>: 4.0.1</p><blockquote><p><b>definition</b></p><blockquote><p><b>resource</b></p><p><b>reference</b>: <a href="Bundle-example-publishable-bundle.html#Library_sepsis-detection-library">Sepsis Detection Library</a></p><p><b>name</b>: Sepsis Detection Library</p><p><b>description</b>: CQL library containing sepsis detection logic</p></blockquote><blockquote><p><b>resource</b></p><p><b>reference</b>: <a href="Bundle-example-publishable-bundle.html#ActivityDefinition_sepsis-management-protocol">Evidence-Based Sepsis Management Protocol</a></p><p><b>name</b>: Sepsis Management Protocol</p><p><b>description</b>: Evidence-based sepsis management recommendations</p></blockquote></blockquote></div>
        </text>
        <url value="http://example.org/fhir/ImplementationGuide/sepsis-management-ig"/>
        <version value="1.0.0"/>
        <name value="SepsisManagementIG"/>
        <title value="Sepsis Detection and Management Implementation Guide"/>
        <status value="active"/>
        <publisher value="Example Medical Research Institution"/>
        <description value="This implementation guide provides evidence-based clinical decision support for sepsis detection and management.&#xA;It includes risk stratification algorithms, treatment protocols, and quality measures developed through &#xA;clinical trials and expert consensus."/>
        <packageId value="example.sepsis.management"/>
        <fhirVersion value="4.0.1"/>
        <definition>
          <resource>
            <reference>
              <reference value="Library/sepsis-detection-library"/>
            </reference>
            <name value="Sepsis Detection Library"/>
            <description value="CQL library containing sepsis detection logic"/>
          </resource>
          <resource>
            <reference>
              <reference value="ActivityDefinition/sepsis-management-protocol"/>
            </reference>
            <name value="Sepsis Management Protocol"/>
            <description value="Evidence-based sepsis management recommendations"/>
          </resource>
        </definition>
      </ImplementationGuide>
    </resource>
    <request>
      <method value="POST"/>
      <url value="ImplementationGuide/sepsis-management-ig"/>
      <ifNoneExist value="url=http://example.org/fhir/ImplementationGuide/sepsis-management-ig&amp;version=1.0.0"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="http://example.org/fhir/Library/sepsis-detection-library"/>
    <resource>
      <Library>
        <id value="sepsis-detection-library"/>
        <language value="en"/>
        <text>
          <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="Library_sepsis-detection-library"> </a>
  <table class="narrative-table">
    <tbody>
<tr>


<th colspan="2" scope="row" class="row-header">Metadata</th>


</tr>

<tr>


<th scope="row" class="row-header">Title</th>



<td class="content-container">Sepsis Detection Library</td>


</tr>



<tr>


<th scope="row" class="row-header">Version</th>



<td class="content-container">1.0.0</td>


</tr>




























<tr>


<th scope="row" class="row-header">Description</th>



<td class="content-container"><div><p>This library contains Clinical Quality Language (CQL) logic for detecting sepsis risk
based on clinical indicators including vital signs, laboratory values, and clinical observations.
The algorithms are based on peer-reviewed research and clinical guidelines.</p>
</div></td>


</tr>






<tr>


<th scope="row" class="row-header">Type</th>



<td class="content-container">
    logic-library from <a href="http://terminology.hl7.org/7.1.0/CodeSystem-library-type.html">http://terminology.hl7.org/CodeSystem/library-type</a> 


</td>


</tr>








<tr>


<th colspan="2" scope="row" class="row-header"><a name="parameters"> </a>Parameters</th>


</tr>


<tr>


<th scope="row" class="row-header">Parameter</th>



<td class="content-container">None</td>


</tr>








  <tr>


<th colspan="2" scope="row" class="row-header">Library Content</th>


</tr>
  
    
    <tr>
      <th scope="row" class="row-header">CQL Content</th>
      <td>
        <a name="cql-content"> </a>
        <pre style="border: none;" class="content-container highlight language-cql"><code class="language-cql">library SepsisDetection version '1.0.0'

// Example CQL content for sepsis detection</code></pre>
      </td>
    </tr>
    
  

<tr>
  <th colspan="2" scope="row" class="row-header">Generated using version 0.5.5 of the sample-content-ig Liquid templates</th>
</tr>

    </tbody>
  </table>
</div>
        </text>
        <url value="http://example.org/fhir/Library/sepsis-detection-library"/>
        <version value="1.0.0"/>
        <name value="SepsisDetectionLibrary"/>
        <title value="Sepsis Detection Library"/>
        <status value="active"/>
        <type>
          <coding>
            <system value="http://terminology.hl7.org/CodeSystem/library-type"/>
            <code value="logic-library"/>
          </coding>
        </type>
        <description value="This library contains Clinical Quality Language (CQL) logic for detecting sepsis risk &#xA;based on clinical indicators including vital signs, laboratory values, and clinical observations.&#xA;The algorithms are based on peer-reviewed research and clinical guidelines."/>
        <content>
          <contentType value="text/cql"/>
          <data value="bGlicmFyeSBTZXBzaXNEZXRlY3Rpb24gdmVyc2lvbiAnMS4wLjAnCgovLyBFeGFtcGxlIENRTCBjb250ZW50IGZvciBzZXBzaXMgZGV0ZWN0aW9u"/>
        </content>
      </Library>
    </resource>
    <request>
      <method value="POST"/>
      <url value="Library/sepsis-detection-library"/>
      <ifNoneExist value="url=http://example.org/fhir/Library/sepsis-detection-library&amp;version=1.0.0"/>
    </request>
  </entry>
  <entry>
    <fullUrl value="http://example.org/fhir/ActivityDefinition/sepsis-management-protocol"/>
    <resource>
      <ActivityDefinition>
        <id value="sepsis-management-protocol"/>
        <language value="en"/>
        <text>
          <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><a name="ActivityDefinition_sepsis-management-protocol"> </a>
  <table class="narrative-table">
    <tbody>
<tr>


<th colspan="2" scope="row" class="row-header">Metadata</th>


</tr>

<tr>


<th scope="row" class="row-header">Title</th>



<td class="content-container">Evidence-Based Sepsis Management Protocol</td>


</tr>



<tr>


<th scope="row" class="row-header">Version</th>



<td class="content-container">1.0.0</td>


</tr>




























<tr>


<th scope="row" class="row-header">Description</th>



<td class="content-container"><div><p>Comprehensive sepsis management protocol including initial assessment, treatment recommendations,
and monitoring guidelines. Based on Surviving Sepsis Campaign guidelines and institutional
clinical experience.</p>
</div></td>


</tr>









<tr>


<th scope="row" class="row-header">Resource Kind</th>



<td class="content-container">ServiceRequest</td>


</tr>



<tr>


<th scope="row" class="row-header">Code</th>



<td class="content-container">
    Sepsis (disorder)


</td>


</tr>


<tr>


<th scope="row" class="row-header">Intent</th>



<td class="content-container">Proposal</td>


</tr>


<tr>


<th scope="row" class="row-header">Priority</th>



<td class="content-container">Urgent</td>


</tr>


<tr>


<th scope="row" class="row-header">Timing</th>



<td class="content-container">Once per 1 hour</td>


</tr>










<tr>
  <th colspan="2" scope="row" class="row-header">Generated using version 0.5.5 of the sample-content-ig Liquid templates</th>
</tr>

    </tbody>
  </table>
</div>
        </text>
        <url value="http://example.org/fhir/ActivityDefinition/sepsis-management-protocol"/>
        <version value="1.0.0"/>
        <name value="SepsisManagementProtocol"/>
        <title value="Evidence-Based Sepsis Management Protocol"/>
        <status value="active"/>
        <description value="Comprehensive sepsis management protocol including initial assessment, treatment recommendations,&#xA;and monitoring guidelines. Based on Surviving Sepsis Campaign guidelines and institutional &#xA;clinical experience."/>
        <kind value="ServiceRequest"/>
        <code>
          <coding>
            <system value="http://snomed.info/sct"/>
            <code value="91302008"/>
            <display value="Sepsis (disorder)"/>
          </coding>
        </code>
        <intent value="proposal"/>
        <priority value="urgent"/>
        <timingTiming>
          <repeat>
            <frequency value="1"/>
            <period value="1"/>
            <periodUnit value="h"/>
          </repeat>
        </timingTiming>
      </ActivityDefinition>
    </resource>
    <request>
      <method value="POST"/>
      <url value="ActivityDefinition/sepsis-management-protocol"/>
      <ifNoneExist value="url=http://example.org/fhir/ActivityDefinition/sepsis-management-protocol&amp;version=1.0.0"/>
    </request>
  </entry>
</Bundle>