R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example Library/library-exclusive-breastfeeding-cds-logic (XML)

Clinical Decision Support Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

Raw XML (canonical form + also see XML Format Specification)

Jump past Narrative

Exclusive Breastfeeding Intervention Logic (id = "library-exclusive-breastfeeding-cds-logic")

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

<Library xmlns="http://hl7.org/fhir">
  <id value="library-exclusive-breastfeeding-cds-logic"/> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
         
      <table class="grid dict">
            
        <tr> 
               
          <td> 
                  
            <b> Id: </b> 
               
          </td> 
            
        </tr> 
            
        <tr> 
               
          <td style="padding-left: 25px; padding-right: 25px;">Library/library-exclusive-breastfeeding-cds-logic</td> 
            
        </tr> 
         
      </table> 
         
      <table class="grid dict">
            
        <tr> 
               
          <td> 
                  
            <b> Identifier: </b> 
               
          </td> 
            
        </tr> 
            
        <tr> 
               
          <td style="padding-left: 25px; padding-right: 25px;">
                  
            <b> value: </b> 
                  
            <span> Exclusive_Breastfeeding_CDS_Logic</span> 
               
          </td> 
            
        </tr> 
         
      </table> 
         
      <p/>  
         
      <table class="grid dict">
            
        <tr> 
               
          <td> 
                  
            <b> Version: </b> 
               
          </td> 
            
        </tr> 
            
        <tr> 
               
          <td style="padding-left: 25px; padding-right: 25px;">1.0.0</td> 
            
        </tr> 
         
      </table> 
         
      <p/>  
         
      <table class="grid dict">
            
        <tr> 
               
          <td> 
                  
            <b> Title: </b> 
               
          </td> 
            
        </tr> 
            
        <tr> 
               
          <td style="padding-left: 25px; padding-right: 25px;">Exclusive Breastfeeding CDS Logic</td> 
            
        </tr> 
         
      </table> 
         
      <p/>  
         
      <table class="grid dict">
            
        <tr> 
               
          <td> 
                  
            <b> Type: </b> 
               
          </td> 
            
        </tr> 
            
        <tr> 
               
          <td style="padding-right: 25px;">
                  
            <span> 
                     
              <span> 
                        
                <span style="padding-left: 25px;">
                           
                  <b> code: </b> 
                           
                  <span> logic-library</span> 
                        
                </span> 
                     
              </span> 
                  
            </span> 
               
          </td> 
            
        </tr> 
         
      </table> 
         
      <p/>  
         
      <table class="grid dict">
            
        <tr> 
               
          <td> 
                  
            <b> Status: </b> 
               
          </td> 
            
        </tr> 
            
        <tr> 
               
          <td style="padding-left: 25px; padding-right: 25px;">active</td> 
            
        </tr> 
         
      </table> 
         
      <p/>  
         
      <table class="grid dict">
            
        <tr> 
               
          <td> 
                  
            <b> Description: </b> 
               
          </td> 
            
        </tr> 
            
        <tr> 
               
          <td style="padding-left: 25px; padding-right: 25px;">Decision support logic for improving outcomes for exclusive breastmilk feeding
             of newborns</td> 
            
        </tr> 
         
      </table> 
         
      <p/>  
         
      <table class="grid dict">
            
        <tr> 
               
          <td> 
                  
            <b> Topic: </b> 
               
          </td> 
            
        </tr> 
            
        <tr> 
               
          <td style="padding-right: 25px;">
                  
            <span style="padding-left: 25px;">
                     
              <b> text: </b> 
                     
              <span> Exclusive Breastfeeding</span> 
                  
            </span> 
               
          </td> 
            
        </tr> 
         
      </table> 
         
      <p/>  
         
      <table class="grid dict">
            
        <tr> 
               
          <td> 
                  
            <b> Related: </b> 
               
          </td> 
            
        </tr> 
            
        <tr style="vertical-align: top;">
               
          <td style="padding-left: 25px; padding-right: 25px;">
                  
            <p style="margin-bottom: 5px;">
                     
              <b> type: </b> 
                     
              <span> depends-on</span> 
                  
            </p> 
                  
            <p style="margin-bottom: 5px;">
                     
              <b> Resource: </b> 
                     
              <br/>  
                     
              <span> 
                        
                <span style="padding-left: 25px;">
                           
                  <b> reference: </b> 
                           
                  <span> Library/library-quick-model-definition</span> 
                        
                </span> 
                     
              </span> 
                  
            </p> 
               
          </td> 
            
        </tr> 
         
      </table> 
         
      <table class="grid dict">
            
        <tr> 
               
          <td> 
                  
            <b> Data Requirements: </b> 
               
          </td> 
            
        </tr> 
            
        <tr> 
               
          <td style="padding-left: 25px; padding-right: 25px;">
                  
            <div> 
                     
              <p style="margin-bottom: 5px;">
                        
                <b> type: </b> 
                        
                <span> Condition</span> 
                     
              </p> 
                     
              <p style="margin-bottom: 5px;">
                        
                <b> code filter:</b> 
                        
                <br/>  
                        
                <span style="padding-left: 25px;">
                           
                  <b> path: </b> 
                           
                  <span> code</span> 
                        
                </span> 
                        
                <br/>  
                        
                <span style="padding-left: 25px;">
                           
                  <b> valueset: </b> 
                           
                  <span> Single Live Birth</span> 
                        
                </span> 
                     
              </p> 
                  
            </div> 
               
          </td> 
            
        </tr> 
         
      </table> 
         
      <table class="grid dict">
            
        <tr> 
               
          <td> 
                  
            <b> Content: </b> 
               
          </td> 
            
        </tr> 
            
        <tr> 
               
          <td style="padding-left: 25px; padding-right: 25px;">
                  
            <p style="margin-bottom: 5px;">
                     
              <b> type: </b> 
                     
              <span> text/cql</span> 
                  
            </p> 
                  
            <p style="margin-bottom: 5px;">
                     
              <b> url: </b> 
                     
              <span> http://cqlrepository.org/CMS9v4_CDS.cql</span> 
                  
            </p> 
               
          </td> 
            
        </tr> 
         
      </table> 
      
    </div> 
  </text> 
  <identifier> 
    <use value="official"/> 
    <value value="Exclusive_Breastfeeding_CDS_Logic"/> 
  </identifier> 
  <version value="1.0.0"/> 
  <name value="ExclusiveBreastfeedingCDSLogic"/> 
  <title value="Exclusive Breastfeeding CDS Logic"/> 
  <status value="active"/> 
  <experimental value="true"/> 
  <type> 
    <coding> 
      <code value="logic-library"/> 
    </coding> 
  </type> 
  <date value="2016-03-08"/> 
  <description value="Decision support logic for improving outcomes for exclusive breastmilk feeding
   of newborns"/> 
  <topic> 
    <text value="Exclusive Breastfeeding"/> 
  </topic> 
  <relatedArtifact> 
    <type value="depends-on"/> 
    <resource value="http://example.org/fhir/Library/library-quick-model-definition"/> 
  </relatedArtifact> 
  <relatedArtifact> 
    <type value="derived-from"/> 
    <resource value="http://example.org/fhir/Measure/measure-exclusive-breastfeeding"/> 
  </relatedArtifact> 
  <dataRequirement> 
    <type value="Condition"/> 
    <codeFilter> 
      <path value="code"/> 
      <valueSet value="urn:oid:2.16.840.1.113883.3.117.1.7.1.25"/> 
    </codeFilter> 
  </dataRequirement> 
  <content> 
    <contentType value="text/cql"/> 
    <url value="http://cqlrepository.org/CMS9v4_CDS.cql"/> 
  </content> 
</Library> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.