DSTU2

This page is part of the FHIR Specification (v1.0.2: DSTU 2). 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 R2

Valueset-assert-response-code-types.xml

Raw XML (canonical form)

Definition for Value SetAssertionResponseTypes

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="assert-response-code-types"/>
  <meta>
    <lastUpdated value="2015-10-24T07:41:03.495+11:00"/>
    <profile value="http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml">
      <h2>AssertionResponseTypes</h2>
      <p>The type of response code to use for assertion.
        <br/>
        <br/>The response code to expect in the response.
      </p>
      <p>This value set has an inline code system http://hl7.org/fhir/assert-response-code-types,
         which defines the following codes:</p>
      <table class="codes">
        <tr>
          <td>
            <b>Code</b>
          </td>
          <td>
            <b>Display</b>
          </td>
          <td>
            <b>Definition</b>
          </td>
        </tr>
        <tr>
          <td>okay
            <a name="okay"> </a>
          </td>
          <td>okay</td>
          <td>Response code is 200.</td>
        </tr>
        <tr>
          <td>created
            <a name="created"> </a>
          </td>
          <td>created</td>
          <td>Response code is 201.</td>
        </tr>
        <tr>
          <td>noContent
            <a name="noContent"> </a>
          </td>
          <td>noContent</td>
          <td>Response code is 204.</td>
        </tr>
        <tr>
          <td>notModified
            <a name="notModified"> </a>
          </td>
          <td>notModified</td>
          <td>Response code is 304.</td>
        </tr>
        <tr>
          <td>bad
            <a name="bad"> </a>
          </td>
          <td>bad</td>
          <td>Response code is 400.</td>
        </tr>
        <tr>
          <td>forbidden
            <a name="forbidden"> </a>
          </td>
          <td>forbidden</td>
          <td>Response code is 403.</td>
        </tr>
        <tr>
          <td>notFound
            <a name="notFound"> </a>
          </td>
          <td>notFound</td>
          <td>Response code is 404.</td>
        </tr>
        <tr>
          <td>methodNotAllowed
            <a name="methodNotAllowed"> </a>
          </td>
          <td>methodNotAllowed</td>
          <td>Response code is 405.</td>
        </tr>
        <tr>
          <td>conflict
            <a name="conflict"> </a>
          </td>
          <td>conflict</td>
          <td>Response code is 409.</td>
        </tr>
        <tr>
          <td>gone
            <a name="gone"> </a>
          </td>
          <td>gone</td>
          <td>Response code is 410.</td>
        </tr>
        <tr>
          <td>preconditionFailed
            <a name="preconditionFailed"> </a>
          </td>
          <td>preconditionFailed</td>
          <td>Response code is 412.</td>
        </tr>
        <tr>
          <td>unprocessable
            <a name="unprocessable"> </a>
          </td>
          <td>unprocessable</td>
          <td>Response code is 422.</td>
        </tr>
      </table>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/valueset-oid">
    <valueUri value="urn:oid:2.16.840.1.113883.4.642.2.361"/>
  </extension>
  <url value="http://hl7.org/fhir/ValueSet/assert-response-code-types"/>
  <version value="1.0.2"/>
  <name value="AssertionResponseTypes"/>
  <status value="draft"/>
  <experimental value="false"/>
  <publisher value="HL7 (FHIR Project)"/>
  <contact>
    <telecom>
      <system value="other"/>
      <value value="http://hl7.org/fhir"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="fhir@lists.hl7.org"/>
    </telecom>
  </contact>
  <date value="2015-10-24T07:41:03+11:00"/>
  <description value="The type of response code to use for assertion.  The response code to expect in the response."/>
  <codeSystem>
    <extension url="http://hl7.org/fhir/StructureDefinition/valueset-oid">
      <valueUri value="urn:oid:2.16.840.1.113883.4.642.1.361"/>
    </extension>
    <system value="http://hl7.org/fhir/assert-response-code-types"/>
    <version value="1.0.2"/>
    <caseSensitive value="true"/>
    <concept>
      <code value="okay"/>
      <display value="okay"/>
      <definition value="Response code is 200."/>
    </concept>
    <concept>
      <code value="created"/>
      <display value="created"/>
      <definition value="Response code is 201."/>
    </concept>
    <concept>
      <code value="noContent"/>
      <display value="noContent"/>
      <definition value="Response code is 204."/>
    </concept>
    <concept>
      <code value="notModified"/>
      <display value="notModified"/>
      <definition value="Response code is 304."/>
    </concept>
    <concept>
      <code value="bad"/>
      <display value="bad"/>
      <definition value="Response code is 400."/>
    </concept>
    <concept>
      <code value="forbidden"/>
      <display value="forbidden"/>
      <definition value="Response code is 403."/>
    </concept>
    <concept>
      <code value="notFound"/>
      <display value="notFound"/>
      <definition value="Response code is 404."/>
    </concept>
    <concept>
      <code value="methodNotAllowed"/>
      <display value="methodNotAllowed"/>
      <definition value="Response code is 405."/>
    </concept>
    <concept>
      <code value="conflict"/>
      <display value="conflict"/>
      <definition value="Response code is 409."/>
    </concept>
    <concept>
      <code value="gone"/>
      <display value="gone"/>
      <definition value="Response code is 410."/>
    </concept>
    <concept>
      <code value="preconditionFailed"/>
      <display value="preconditionFailed"/>
      <definition value="Response code is 412."/>
    </concept>
    <concept>
      <code value="unprocessable"/>
      <display value="unprocessable"/>
      <definition value="Response code is 422."/>
    </concept>
  </codeSystem>
</ValueSet>

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.