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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="response-code"/>
  <meta>
    <lastUpdated value="2026-03-18T02:16:34.634+00:00"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b>Generated Narrative: CodeSystem response-code</b>
      </p>
      <a name="response-code"> </a>
      <a name="hcresponse-code"> </a>
      <p>This case-sensitive code system 
        <code>http://hl7.org/fhir/response-code</code> 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">ok
            <a name="response-code-ok"> </a>
          </td>
          <td>OK</td>
          <td>The message was accepted and processed without error.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">transient-error
            <a name="response-code-transient-error"> </a>
          </td>
          <td>Transient Error</td>
          <td>Some internal unexpected error occurred - wait and try again. Note - this is usually used for things like database unavailable, which may be expected to resolve, though human intervention may be required.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">fatal-error
            <a name="response-code-fatal-error"> </a>
          </td>
          <td>Fatal Error</td>
          <td>The message was rejected because of a problem with the content. There is no point in re-sending without change. The response narrative SHALL describe the issue.</td>
        </tr>
      </table>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="inm"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status">
    <valueCode value="normative"/>
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="4"/>
  </extension>
  <url value="http://hl7.org/fhir/response-code"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.4.381"/>
  </identifier>
  <identifier>
    <use value="old"/>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.1.368"/>
  </identifier>
  <identifier>
    <use value="old"/>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.2.203"/>
  </identifier>
  <version value="6.0.0-ballot4"/>
  <name value="ResponseType"/>
  <title value="Response Type"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2021-01-05T10:01:24+11:00"/>
  <publisher value="HL7 (FHIR Project)"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="fhir@lists.hl7.org"/>
    </telecom>
  </contact>
  <description value="The kind of response to a message."/>
  <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/response-code"/>
  <content value="complete"/>
  <concept>
    <code value="ok"/>
    <display value="OK"/>
    <definition value="The message was accepted and processed without error."/>
  </concept>
  <concept>
    <code value="transient-error"/>
    <display value="Transient Error"/>
    <definition value="Some internal unexpected error occurred - wait and try again. Note - this is usually used for things like database unavailable, which may be expected to resolve, though human intervention may be required."/>
  </concept>
  <concept>
    <code value="fatal-error"/>
    <display value="Fatal Error"/>
    <definition value="The message was rejected because of a problem with the content. There is no point in re-sending without change. The response narrative SHALL describe the issue."/>
  </concept>
</CodeSystem>