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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="audit-event-outcome"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml">
      
      
            <h2>AuditEventOutcome</h2>
      
      
            <div>
        
        
              <p>Indicates whether the event succeeded or failed.</p>

      
      
            </div>
      
      
            <p>This code system http://hl7.org/fhir/audit-event-outcome defines the following codes:</p>
      
      
            <table class="codes">
        
        
              <tr>
          
          
                <td style="white-space:nowrap">
            
            
                  <b>Code</b>
          
          
                </td>
          
          
                <td>
            
            
                  <b>Display</b>
          
          
                </td>
          
          
                <td>
            
            
                  <b>Definition</b>
          
          
                </td>
        
        
              </tr>
        
        
              <tr>
          
          
                <td style="white-space:nowrap">0
            
            
                  <a name="audit-event-outcome-0"> </a>
          
          
                </td>
          
          
                <td>Success</td>
          
          
                <td>The operation completed successfully (whether with warnings or not).</td>
        
        
              </tr>
        
        
              <tr>
          
          
                <td style="white-space:nowrap">4
            
            
                  <a name="audit-event-outcome-4"> </a>
          
          
                </td>
          
          
                <td>Minor failure</td>
          
          
                <td>The action was not successful due to some kind of minor failure (often equivalent to an HTTP 400 response).</td>
        
        
              </tr>
        
        
              <tr>
          
          
                <td style="white-space:nowrap">8
            
            
                  <a name="audit-event-outcome-8"> </a>
          
          
                </td>
          
          
                <td>Serious failure</td>
          
          
                <td>The action was not successful due to some kind of unexpected error (often equivalent to an HTTP 500 response).</td>
        
        
              </tr>
        
        
              <tr>
          
          
                <td style="white-space:nowrap">12
            
            
                  <a name="audit-event-outcome-12"> </a>
          
          
                </td>
          
          
                <td>Major failure</td>
          
          
                <td>An error of such magnitude occurred that the system is no longer available for use (i.e. the system died).</td>
        
        
              </tr>
      
      
            </table>
    
    
          </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="trial-use"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="3"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/package-source">
    <extension url="packageId">
      <valueId value="hl7.fhir.uv.xver-r4b.r5"/>
    </extension>
    <extension url="version">
      <valueString value="0.0.1-snapshot-2"/>
    </extension>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="sec"/>
  </extension>
  <url value="http://hl7.org/fhir/audit-event-outcome"/>
  <version value="4.3.0"/>
  <name value="AuditEventOutcome"/>
  <title value="AuditEventOutcome"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2021-01-17T06:06:13+10:00"/>
  <publisher value="Security"/>
  <contact>
    <name value="Security"/>
    <telecom>
      <system value="url"/>
      <value value="http://www.hl7.org/Special/committees/secure"/>
    </telecom>
  </contact>
  <description value="Indicates whether the event succeeded or failed."/>
  <jurisdiction>
    <coding>
      <system value="http://unstats.un.org/unsd/methods/m49/m49.htm"/>
      <code value="001"/>
      <display value="World"/>
    </coding>
  </jurisdiction>
  <caseSensitive value="true"/>
  <valueSet value="http://hl7.org/fhir/ValueSet/audit-event-outcome|5.0.0"/>
  <content value="complete"/>
  <concept>
    <code value="0"/>
    <display value="Success"/>
    <definition value="The operation completed successfully (whether with warnings or not)."/>
  </concept>
  <concept>
    <code value="4"/>
    <display value="Minor failure"/>
    <definition value="The action was not successful due to some kind of minor failure (often equivalent to an HTTP 400 response)."/>
  </concept>
  <concept>
    <code value="8"/>
    <display value="Serious failure"/>
    <definition value="The action was not successful due to some kind of unexpected error (often equivalent to an HTTP 500 response)."/>
  </concept>
  <concept>
    <code value="12"/>
    <display value="Major failure"/>
    <definition value="An error of such magnitude occurred that the system is no longer available for use (i.e. the system died)."/>
  </concept>
</CodeSystem>