Release 5 Ballot

This page is part of the FHIR Specification (v5.0.0-ballot: R5 Ballot - 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 CodeSystem/assert-response-code-types (XML)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Code SystemAssertionResponseTypes

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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="assert-response-code-types"/> 
  <meta> 
    <lastUpdated value="2022-09-10T04:52:37.223+10:00"/> 
    <profile value="http://hl7.org/fhir/StructureDefinition/shareablecodesystem"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> This code system 
        <code> http://hl7.org/fhir/assert-response-code-types</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">okay
            <a name="assert-response-code-types-okay"> </a> 
          </td> 
          <td> okay</td> 
          <td> Response code is 200.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">created
            <a name="assert-response-code-types-created"> </a> 
          </td> 
          <td> created</td> 
          <td> Response code is 201.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">noContent
            <a name="assert-response-code-types-noContent"> </a> 
          </td> 
          <td> noContent</td> 
          <td> Response code is 204.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">notModified
            <a name="assert-response-code-types-notModified"> </a> 
          </td> 
          <td> notModified</td> 
          <td> Response code is 304.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">bad
            <a name="assert-response-code-types-bad"> </a> 
          </td> 
          <td> bad</td> 
          <td> Response code is 400.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">forbidden
            <a name="assert-response-code-types-forbidden"> </a> 
          </td> 
          <td> forbidden</td> 
          <td> Response code is 403.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">notFound
            <a name="assert-response-code-types-notFound"> </a> 
          </td> 
          <td> notFound</td> 
          <td> Response code is 404.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">methodNotAllowed
            <a name="assert-response-code-types-methodNotAllowed"> </a> 
          </td> 
          <td> methodNotAllowed</td> 
          <td> Response code is 405.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">conflict
            <a name="assert-response-code-types-conflict"> </a> 
          </td> 
          <td> conflict</td> 
          <td> Response code is 409.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">gone
            <a name="assert-response-code-types-gone"> </a> 
          </td> 
          <td> gone</td> 
          <td> Response code is 410.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">preconditionFailed
            <a name="assert-response-code-types-preconditionFailed"> </a> 
          </td> 
          <td> preconditionFailed</td> 
          <td> Response code is 412.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">unprocessable
            <a name="assert-response-code-types-unprocessable"> </a> 
          </td> 
          <td> unprocessable</td> 
          <td> Response code is 422.</td> 
        </tr> 
      </table> 
    </div> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  </extension> 
  <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="2"/> 
  </extension> 
  <url value="http://hl7.org/fhir/assert-response-code-types"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.4.711"/> 
  </identifier> 
  <version value="5.0.0-ballot"/> 
  <name value="AssertionResponseTypes"/> 
  <title value="AssertionResponseTypes"/> 
  <status value="draft"/> 
  <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 type of response code to use for assertion."/> 
  <caseSensitive value="true"/> 
  <valueSet value="http://hl7.org/fhir/ValueSet/assert-response-code-types"/> 
  <content value="complete"/> 
  <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> 

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.