Medicolegal Death Investigation (MDI) FHIR Implementation Guide
2.0.0-ballot2 - STU2 ballot United States of America flag

Medicolegal Death Investigation (MDI) FHIR Implementation Guide, published by HL7 International / Public Health. This guide is not an authorized publication; it is the continuous build for version 2.0.0-ballot2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-mdi-ig/ and changes regularly. See the Directory of published versions

: CapabilityStatement - MDI CMS Server - XML Representation

Active as of 2022-07-03

Raw xml | Download


<CapabilityStatement xmlns="http://hl7.org/fhir">
  <id value="CapabilityStatement-mdi-cms-server"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
    <!-- TODO 
    Jurisdiction 
    Prohibited extension - http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited -->
    <!-- set include_symbols = false to turn off confonrmance symbols and legen, true to turn on -->
  
  
  <h2 id="title">CapabilityStatement - MDI CMS Server</h2>
  <ul>
    <li><b>Title:</b>CapabilityStatement - MDI CMS Server</li>
    <li><b>Implementation Guide Version:</b> 2.0.0-ballot2</li>
    <li><b>FHIR Version:</b> 4.0.1</li>
    <li><b>Intended Use:</b> Requirements</li>
    <li><b>Supported Formats: </b> 

    
      
      
      application/fhir+xml;
    
      
      
      xml;
    
      
      
      application/fhir+json;
    
      
      
      json;
    

    </li>
    
    <li><b>Published:</b> 2022-07-03</li>
  
    <li><b>Published by:</b> HL7 International / Public Health</li>
    <li><b>Status:</b> Active</li>
    <li><b>Copyright:</b> </li>
  </ul>
  <br/>



  
    <strong>Description:</strong> <div><div><p>This resource describes expected capabilities of an MDI CMS Server which is responsible for providing responses to the queries submitted by a Client. It lists FHIR profiles and search parameters that, at a minimum, should be supported by MDI CMS Servers. MDI CMS Clients have the option of choosing from this list to access necessary data.</p>
</div></div>
  
  <br/>
  
  


  

  <br/>
    <!-- TODO - Make this a summary of capabilities, including system wide and each paradigm -->
  <p>
    <b>Jump to:</b>
  </p>
  <ul>
    
      <li><a href="#Server">REST Server</a></li>
    
      <li><a href="#Client">REST Client</a></li>
    
    
      <li><a href="#messaging">Messaging</a></li>
    
    
  </ul>



    <!-- REST Capabilities -->
  
    <br/>
    <a name="Server"> </a>
    <h3 id="behavior">FHIR Server RESTful Capabilities</h3>
    

      <!-- REST Security -->
    

      <!-- REST System wide Capabilities -->
    



      <!-- Resource Capabilities -->
    

      <h4>Summary of Resource/Profile Capabilities</h4>
        <!-- TODO need include conformance verb legend -->
      
      <table class="grid">
        <thead>
          <tr>
            <th>Resource Type</th>
            <th>Supported Interactions</th>
            <th>Supported Profiles</th>
            <th>Supported Searches</th>
            <th>Supported <code>_includes</code></th>
            <th>Supported <code>_revincludes</code></th>
            <th>Supported Operations</th>
          </tr>
        </thead>
        <tbody>
          
          <tr>
            <td>
              <a href="#Server_Composition"><span style="white-space: nowrap;">Composition</span></a>
            </td>

              <!-- Supported Interactions -->
            <td>
              
                
                <span style="white-space: nowrap;">read</span>,
                
                <span style="white-space: nowrap;">search-type</span>,
                
              
            </td>

              <!-- Supported Profiles -->
            <td>
              
                <a href="StructureDefinition-Composition-mdi-and-edrs.html">Composition - MDI and EDRS</a>,
                
                
              
            </td>

              <!-- Supported Searches will need to do some sort of mapping instead of join to get the expectations printed out -->
            <td>
              
                
                  <span style="white-space: nowrap;">subject</span>, 
                  
                
                  <span style="white-space: nowrap;">patient</span>, 
                  
                
                
              
            </td>

              <!-- Supported _includes -->
            <td>
              
            </td>

              <!-- Supported _revincludes -->
            <td>
              
            </td>

              <!-- Supported Operations -->
            <td>
              
                
                  <span style="white-space: nowrap;">$operation-composition-document</span>
                  
                
              
            </td>
          </tr>
          
          <tr>
            <td>
              <a href="#Server_Patient"><span style="white-space: nowrap;">Patient</span></a>
            </td>

              <!-- Supported Interactions -->
            <td>
              
                
                <span style="white-space: nowrap;">read</span>,
                
                <span style="white-space: nowrap;">search-type</span>,
                
              
            </td>

              <!-- Supported Profiles -->
            <td>
              
                <a href="http://hl7.org/fhir/us/core/STU5.0.1/StructureDefinition-us-core-patient.html">US Core Patient Profile</a>,
                
                
              
            </td>

              <!-- Supported Searches will need to do some sort of mapping instead of join to get the expectations printed out -->
            <td>
              
                
                  <span style="white-space: nowrap;">_id</span>, 
                  
                
                  <span style="white-space: nowrap;">birthdate</span>, 
                  
                
                  <span style="white-space: nowrap;">family</span>, 
                  
                
                  <span style="white-space: nowrap;">given</span>, 
                  
                
                  <span style="white-space: nowrap;">gender</span>, 
                  
                
                  <span style="white-space: nowrap;">name</span>, 
                  
                
                
              
            </td>

              <!-- Supported _includes -->
            <td>
              
            </td>

              <!-- Supported _revincludes -->
            <td>
              
            </td>

              <!-- Supported Operations -->
            <td>
              
            </td>
          </tr>
          
          <tr>
            <td>
              <a href="#Server_Location"><span style="white-space: nowrap;">Location</span></a>
            </td>

              <!-- Supported Interactions -->
            <td>
              
                
                <span style="white-space: nowrap;">read</span>,
                
                <span style="white-space: nowrap;">search-type</span>,
                
              
            </td>

              <!-- Supported Profiles -->
            <td>
              
                <a href="http://hl7.org/fhir/us/vrdr/STU3/StructureDefinition-vrdr-death-location.html">Death Location</a>,
                
                
              
            </td>

              <!-- Supported Searches will need to do some sort of mapping instead of join to get the expectations printed out -->
            <td>
              
                
                  <span style="white-space: nowrap;">address</span>, 
                  
                
                
              
            </td>

              <!-- Supported _includes -->
            <td>
              
            </td>

              <!-- Supported _revincludes -->
            <td>
              
            </td>

              <!-- Supported Operations -->
            <td>
              
            </td>
          </tr>
          
          <tr>
            <td>
              <a href="#Server_Observation"><span style="white-space: nowrap;">Observation</span></a>
            </td>

              <!-- Supported Interactions -->
            <td>
              
                
                <span style="white-space: nowrap;">read</span>,
                
                <span style="white-space: nowrap;">search-type</span>,
                
              
            </td>

              <!-- Supported Profiles -->
            <td>
              
                <a href="http://hl7.org/fhir/us/vrdr/STU3/StructureDefinition-vrdr-death-date.html">Death Date</a>,
                
                
              
            </td>

              <!-- Supported Searches will need to do some sort of mapping instead of join to get the expectations printed out -->
            <td>
              
                
                  <span style="white-space: nowrap;">date</span>, 
                  
                
                
              
            </td>

              <!-- Supported _includes -->
            <td>
              
            </td>

              <!-- Supported _revincludes -->
            <td>
              
            </td>

              <!-- Supported Operations -->
            <td>
              
            </td>
          </tr>
          
        </tbody>
      </table>
      <br/>

      <h3 id="resource-details" class="no_toc">RESTful Server Capabilities by Resource/Profile:</h3>
        <!-- Each REST Resource Detail -->
      
        <h4 id="Server_Composition" class="no_toc">Composition</h4>

          <p>Conformance Expectation:	<strong>SHALL</strong></p>

          

          

          <p>Supported Profiles:</p>
            <ul>
              
                <li><strong>SHALL</strong> support 
                <a href="StructureDefinition-Composition-mdi-and-edrs.html">Composition - MDI and EDRS</a>
                </li>
              
            </ul>
          
      


        <p>
          

          

          

          
        </p>






          <!-- Resource Interactions -->
        <p>Composition Interaction Summary:</p>
          <ul>
            
              <li><strong>SHALL</strong> support read,  search-type, </li>
            
            
            
            
            
          </ul>

          
            
          
            
          
        

          <!-- Resource Operations -->
        



          <!-- TODO Nexted ul items do not appear with a subbullet style -->
        


        
          <br/>
          <p>Fetch and Search Criteria:</p>
          <ul>
            
              
                <li>
                  A Server <strong>SHALL</strong> be capable of a <code>read</code> interaction returning a Composition resource using:
                  <code class="highlighter-rouge">GET [base]/Composition/[id]</code>
                  
                </li>
              
              
              
              
              
            
              
              
              
                <li>
                  A Server <strong>SHALL</strong> be capable of a <code>search-type</code> interaction returning Composition resources matching a search query using:
                  <code class="highlighter-rouge">GET [base]/Composition/[id]{?[parameters]{&amp;_format=[mime-type]}}</code>
                </li>
              
              
              
            

            

            

          </ul>
        

        
          <br/>
          <p>Search Parameter Summary:</p>
          <table class="grid">
            <thead>
              <tr>
                <th style="white-space: nowrap;">Conformance</th>
                <th>Parameter</th>
                <th>Type</th>
                <th>Example</th>
              </tr>
            </thead>
            <tbody>
                <!-- TODO, should the search paramaters be limited to only SHALL and SHOULD -->
              
              <tr>
                <td>
                  <strong>SHALL</strong>
                </td>
                <td>
                  <a href="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier">subject</a>
                </td>
                <td>
                  Token
                </td>
                <td>
                  <code class="highlighter-rouge">GET [base]/Composition?subject=[system]|[code]
                    </code>
                </td>
              </tr>
              
              <tr>
                <td>
                  <strong>SHALL</strong>
                </td>
                <td>
                  <a href="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier">patient</a>
                </td>
                <td>
                  Token
                </td>
                <td>
                  <code class="highlighter-rouge">GET [base]/Composition?patient=[system]|[code]
                    </code>
                </td>
              </tr>
              
            </tbody>
          </table>

        

          <!-- Search Combination -->
        
        
        

      
        <h4 id="Server_Patient" class="no_toc">Patient</h4>

          <p>Conformance Expectation:	<strong>SHALL</strong></p>

          

          

          <p>Supported Profiles:</p>
            <ul>
              
                <li><strong>SHALL</strong> support 
                <a href="http://hl7.org/fhir/us/core/STU5.0.1/StructureDefinition-us-core-patient.html">US Core Patient Profile</a>
                </li>
              
            </ul>
          
      


        <p>
          

          

          

          
        </p>






          <!-- Resource Interactions -->
        

          <!-- Resource Operations -->
        



          <!-- TODO Nexted ul items do not appear with a subbullet style -->
        


        
          <br/>
          <p>Fetch and Search Criteria:</p>
          <ul>
            
              
                <li>
                  A Server <strong>SHALL</strong> be capable of a <code>read</code> interaction returning a Patient resource using:
                  <code class="highlighter-rouge">GET [base]/Patient/[id]</code>
                  
                </li>
              
              
              
              
              
            
              
              
              
                <li>
                  A Server <strong>SHALL</strong> be capable of a <code>search-type</code> interaction returning Patient resources matching a search query using:
                  <code class="highlighter-rouge">GET [base]/Patient/[id]{?[parameters]{&amp;_format=[mime-type]}}</code>
                </li>
              
              
              
            

            

            

          </ul>
        

        
          <br/>
          <p>Search Parameter Summary:</p>
          <table class="grid">
            <thead>
              <tr>
                <th style="white-space: nowrap;">Conformance</th>
                <th>Parameter</th>
                <th>Type</th>
                <th>Example</th>
              </tr>
            </thead>
            <tbody>
                <!-- TODO, should the search paramaters be limited to only SHALL and SHOULD -->
              
              <tr>
                <td>
                  <strong>SHALL</strong>
                </td>
                <td>
                  <a href="http://hl7.org/fhir/SearchParameter/Resource-id">_id</a>
                </td>
                <td>
                  Token
                </td>
                <td>
                  <code class="highlighter-rouge">GET [base]/Patient?_id=[id]
                    </code>
                </td>
              </tr>
              
              <tr>
                <td>
                  <strong>SHALL</strong>
                </td>
                <td>
                  <a href="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate">birthdate</a>
                </td>
                <td>
                  Date/DateTime
                </td>
                <td>
                  <code class="highlighter-rouge">GET [base]/Patient?birthdate=[dateTime]
                    </code>
                </td>
              </tr>
              
              <tr>
                <td>
                  <strong>SHALL</strong>
                </td>
                <td>
                  <a href="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family">family</a>
                </td>
                <td>
                  String
                </td>
                <td>
                  <code class="highlighter-rouge">GET [base]/Patient?family=[family]
                    </code>
                </td>
              </tr>
              
              <tr>
                <td>
                  <strong>SHALL</strong>
                </td>
                <td>
                  <a href="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given">given</a>
                </td>
                <td>
                  String
                </td>
                <td>
                  <code class="highlighter-rouge">GET [base]/Patient?given=[given]
                    </code>
                </td>
              </tr>
              
              <tr>
                <td>
                  <strong>SHALL</strong>
                </td>
                <td>
                  <a href="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender">gender</a>
                </td>
                <td>
                  Token
                </td>
                <td>
                  <code class="highlighter-rouge">GET [base]/Patient?gender=[system]|[code]
                    </code>
                </td>
              </tr>
              
              <tr>
                <td>
                  <strong>SHALL</strong>
                </td>
                <td>
                  <a href="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name">name</a>
                </td>
                <td>
                  String
                </td>
                <td>
                  <code class="highlighter-rouge">GET [base]/Patient?name=[name]
                    </code>
                </td>
              </tr>
              
            </tbody>
          </table>

        

          <!-- Search Combination -->
        
        
        

      
        <h4 id="Server_Location" class="no_toc">Location</h4>

          <p>Conformance Expectation:	<strong>SHALL</strong></p>

          

          

          <p>Supported Profiles:</p>
            <ul>
              
                <li><strong>SHALL</strong> support 
                <a href="http://hl7.org/fhir/us/vrdr/STU3/StructureDefinition-vrdr-death-location.html">Death Location</a>
                </li>
              
            </ul>
          
      


        <p>
          

          

          

          
        </p>






          <!-- Resource Interactions -->
        

          <!-- Resource Operations -->
        



          <!-- TODO Nexted ul items do not appear with a subbullet style -->
        


        
          <br/>
          <p>Fetch and Search Criteria:</p>
          <ul>
            
              
                <li>
                  A Server <strong>SHALL</strong> be capable of a <code>read</code> interaction returning a Location resource using:
                  <code class="highlighter-rouge">GET [base]/Location/[id]</code>
                  
                </li>
              
              
              
              
              
            
              
              
              
                <li>
                  A Server <strong>SHALL</strong> be capable of a <code>search-type</code> interaction returning Location resources matching a search query using:
                  <code class="highlighter-rouge">GET [base]/Location/[id]{?[parameters]{&amp;_format=[mime-type]}}</code>
                </li>
              
              
              
            

            

            

          </ul>
        

        
          <br/>
          <p>Search Parameter Summary:</p>
          <table class="grid">
            <thead>
              <tr>
                <th style="white-space: nowrap;">Conformance</th>
                <th>Parameter</th>
                <th>Type</th>
                <th>Example</th>
              </tr>
            </thead>
            <tbody>
                <!-- TODO, should the search paramaters be limited to only SHALL and SHOULD -->
              
              <tr>
                <td>
                  <strong>SHALL</strong>
                </td>
                <td>
                  <a href="http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address">address</a>
                </td>
                <td>
                  String
                </td>
                <td>
                  <code class="highlighter-rouge">GET [base]/Location?address=[address]
                    </code>
                </td>
              </tr>
              
            </tbody>
          </table>

        

          <!-- Search Combination -->
        
        
        

      
        <h4 id="Server_Observation" class="no_toc">Observation</h4>

          <p>Conformance Expectation:	<strong>SHALL</strong></p>

          

          

          <p>Supported Profiles:</p>
            <ul>
              
                <li><strong>SHALL</strong> support 
                <a href="http://hl7.org/fhir/us/vrdr/STU3/StructureDefinition-vrdr-death-date.html">Death Date</a>
                </li>
              
            </ul>
          
      


        <p>
          

          

          

          
        </p>






          <!-- Resource Interactions -->
        

          <!-- Resource Operations -->
        



          <!-- TODO Nexted ul items do not appear with a subbullet style -->
        


        
          <br/>
          <p>Fetch and Search Criteria:</p>
          <ul>
            
              
                <li>
                  A Server <strong>SHALL</strong> be capable of a <code>read</code> interaction returning a Observation resource using:
                  <code class="highlighter-rouge">GET [base]/Observation/[id]</code>
                  
                </li>
              
              
              
              
              
            
              
              
              
                <li>
                  A Server <strong>SHALL</strong> be capable of a <code>search-type</code> interaction returning Observation resources matching a search query using:
                  <code class="highlighter-rouge">GET [base]/Observation/[id]{?[parameters]{&amp;_format=[mime-type]}}</code>
                </li>
              
              
              
            

            

            

          </ul>
        

        
          <br/>
          <p>Search Parameter Summary:</p>
          <table class="grid">
            <thead>
              <tr>
                <th style="white-space: nowrap;">Conformance</th>
                <th>Parameter</th>
                <th>Type</th>
                <th>Example</th>
              </tr>
            </thead>
            <tbody>
                <!-- TODO, should the search paramaters be limited to only SHALL and SHOULD -->
              
              <tr>
                <td>
                  <strong>SHALL</strong>
                </td>
                <td>
                  <a href="http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date">date</a>
                </td>
                <td>
                  Date/DateTime
                </td>
                <td>
                  <code class="highlighter-rouge">GET [base]/Observation?date=[dateTime]
                    </code>
                </td>
              </tr>
              
            </tbody>
          </table>

        

          <!-- Search Combination -->
        
        
        

      
    



  
    <br/>
    <a name="Client"> </a>
    <h3 id="behavior">FHIR Client RESTful Capabilities</h3>
    

      <!-- REST Security -->
    

      <!-- REST System wide Capabilities -->
    



      <!-- Resource Capabilities -->
    

      <h4>Summary of Resource/Profile Capabilities</h4>
        <!-- TODO need include conformance verb legend -->
      
      <table class="grid">
        <thead>
          <tr>
            <th>Resource Type</th>
            <th>Supported Interactions</th>
            <th>Supported Profiles</th>
            <th>Supported Searches</th>
            <th>Supported <code>_includes</code></th>
            <th>Supported <code>_revincludes</code></th>
            <th>Supported Operations</th>
          </tr>
        </thead>
        <tbody>
          
          <tr>
            <td>
              <a href="#Client_Bundle"><span style="white-space: nowrap;">Bundle</span></a>
            </td>

              <!-- Supported Interactions -->
            <td>
              
                
                <span style="white-space: nowrap;">read</span>,
                
              
            </td>

              <!-- Supported Profiles -->
            <td>
              
                <a href="StructureDefinition-Bundle-document-mdi-and-edrs.html">Bundle - Document MDI and EDRS</a>,
                
                
              
            </td>

              <!-- Supported Searches will need to do some sort of mapping instead of join to get the expectations printed out -->
            <td>
              
            </td>

              <!-- Supported _includes -->
            <td>
              
            </td>

              <!-- Supported _revincludes -->
            <td>
              
            </td>

              <!-- Supported Operations -->
            <td>
              
            </td>
          </tr>
          
        </tbody>
      </table>
      <br/>

      <h3 id="resource-details" class="no_toc">RESTful Client Capabilities by Resource/Profile:</h3>
        <!-- Each REST Resource Detail -->
      
        <h4 id="Client_Bundle" class="no_toc">Bundle</h4>

          <p>Conformance Expectation:	<strong/></p>

          

          

          <p>Supported Profiles:</p>
            <ul>
              
                <li>
                <a href="StructureDefinition-Bundle-document-mdi-and-edrs.html">Bundle - Document MDI and EDRS</a>
                </li>
              
            </ul>
          
      


        <p>
          

          

          

          
        </p>






          <!-- Resource Interactions -->
        

          <!-- Resource Operations -->
        



          <!-- TODO Nexted ul items do not appear with a subbullet style -->
        


        
          <br/>
          <p>Fetch and Search Criteria:</p>
          <ul>
            
              
                <li>
                  A Client <strong>(conformance expectation undefined)</strong> be capable of a <code>read</code> interaction fetching a Bundle resource using:
                  <code class="highlighter-rouge">GET [base]/Bundle/[id]</code>
                  
                </li>
              
              
              
              
              
            

            

            

          </ul>
        

        

          <!-- Search Combination -->
        
        
        

      
    



  









    <!-- Messaging Capabilities -->
  
    <br/>
    <br/>
    <a name="messaging"> </a>
    <h2>Messaging</h2>
    
    
    

    
      <h3>Supported Message(s): </h3>
      <div class="table-wrapper">
        <table class="grid">
          <thead>
            <tr>
              <th>Mode</th>
              <th>Definition</th>
            </tr>
          </thead>
          <tbody>
            
              <tr>
                <td>Receiver</td>
                <td><a href="MessageDefinition-MessageDefinition-toxicology-system.html">MessageDefinition[http://hl7.org/fhir/us/mdi/MessageDefinition/MessageDefinition-toxicology-system|2.0.0-ballot2]</a></td>
              </tr>
            
          </tbody>
        </table>
      </div>
    

    
  

    <!-- Document Capabilities -->
  
    <br/>
    <br/>
    <a name="documents"> </a>
    <h2>Documents</h2>
    <div class="table-wrapper">
      <table class="grid">
        <thead>
          <tr>
            <th>Mode</th>
            <th>Profile</th>
            <th>Notes</th>
          </tr>
        </thead>
        <tbody>
          
            <tr>
              <td>Producer</td>
              <td>
                
                  <a href="StructureDefinition-Composition-mdi-and-edrs.html">Composition - MDI and EDRS</a>
                
              </td>
              <td/>
            </tr>
          
            <tr>
              <td>Consumer</td>
              <td>
                
                  <a href="StructureDefinition-Composition-mdi-and-edrs.html">Composition - MDI and EDRS</a>
                
              </td>
              <td/>
            </tr>
          
        </tbody>
      </table>
    </div>
  

</div>
  </text>
  <extension
             url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="pher"/>
  </extension>
  <url
       value="http://hl7.org/fhir/us/mdi/CapabilityStatement/CapabilityStatement-mdi-cms-server"/>
  <version value="2.0.0-ballot2"/>
  <name value="CapabilityStatementMdiCmsServer"/>
  <title value="CapabilityStatement - MDI CMS Server"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2022-07-03"/>
  <publisher value="HL7 International / Public Health"/>
  <contact>
    <name value="HL7 International / Public Health"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/pher"/>
    </telecom>
  </contact>
  <description
               value="This resource describes expected capabilities of an MDI CMS Server which is responsible for providing responses to the queries submitted by a Client. It lists FHIR profiles and search parameters that, at a minimum, should be supported by MDI CMS Servers. MDI CMS Clients have the option of choosing from this list to access necessary data."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="US"/>
      <display value="United States of America"/>
    </coding>
  </jurisdiction>
  <kind value="requirements"/>
  <fhirVersion value="4.0.1"/>
  <format value="application/fhir+xml"/>
  <format value="xml"/>
  <format value="application/fhir+json"/>
  <format value="json"/>
  <rest>
    <mode value="server"/>
    <resource>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHALL"/>
      </extension>
      <type value="Composition"/>
      <supportedProfile
                        value="http://hl7.org/fhir/us/mdi/StructureDefinition/Composition-mdi-and-edrs">🔗 
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
      </supportedProfile>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="subject"/>
        <definition
                    value="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="patient"/>
        <definition
                    value="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-identifier"/>
        <type value="token"/>
      </searchParam>
      <operation>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="operation-composition-document"/>
        <definition
                    value="https://hl7.org/fhir/operation-composition-document"/>
      </operation>
    </resource>
    <resource>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHALL"/>
      </extension>
      <type value="Patient"/>
      <supportedProfile
                        value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient">🔗 
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
      </supportedProfile>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="_id"/>
        <definition value="http://hl7.org/fhir/SearchParameter/Resource-id"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="birthdate"/>
        <definition
                    value="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-birthdate"/>
        <type value="date"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="family"/>
        <definition
                    value="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-family"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="given"/>
        <definition
                    value="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-given"/>
        <type value="string"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="gender"/>
        <definition
                    value="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-gender"/>
        <type value="token"/>
      </searchParam>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="name"/>
        <definition
                    value="http://hl7.org/fhir/us/core/SearchParameter/us-core-patient-name"/>
        <type value="string"/>
      </searchParam>
    </resource>
    <resource>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHALL"/>
      </extension>
      <type value="Location"/>
      <supportedProfile
                        value="http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-death-location">🔗 
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
      </supportedProfile>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="address"/>
        <definition
                    value="http://hl7.org/fhir/us/core/SearchParameter/us-core-location-address"/>
        <type value="string"/>
      </searchParam>
    </resource>
    <resource>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
        <valueCode value="SHALL"/>
      </extension>
      <type value="Observation"/>
      <supportedProfile
                        value="http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-death-date">🔗 
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
      </supportedProfile>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="read"/>
      </interaction>
      <interaction>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <code value="search-type"/>
      </interaction>
      <searchParam>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation">
          <valueCode value="SHALL"/>
        </extension>
        <name value="date"/>
        <definition
                    value="http://hl7.org/fhir/us/core/SearchParameter/us-core-observation-date"/>
        <type value="date"/>
      </searchParam>
    </resource>
  </rest>
  <rest>
    <mode value="client"/>
    <resource>
      <type value="Bundle"/>
      <supportedProfile
                        value="http://hl7.org/fhir/us/mdi/StructureDefinition/Bundle-document-mdi-and-edrs"/>
      <interaction>
        <code value="read"/>
      </interaction>
    </resource>
  </rest>
  <messaging>
    <supportedMessage>
      <mode value="receiver"/>
      <definition
                  value="http://hl7.org/fhir/us/mdi/MessageDefinition/MessageDefinition-toxicology-system"/>
    </supportedMessage>
  </messaging>
  <document>
    <mode value="producer"/>
    <profile
             value="http://hl7.org/fhir/us/mdi/StructureDefinition/Composition-mdi-and-edrs"/>
  </document>
  <document>
    <mode value="consumer"/>
    <profile
             value="http://hl7.org/fhir/us/mdi/StructureDefinition/Composition-mdi-and-edrs"/>
  </document>
</CapabilityStatement>