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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="assert-manual-completion-codes"/>
  <meta>
    <lastUpdated value="2023-03-26T15:21:02.749+11: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-manual-completion-codes</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">fail
            <a name="assert-manual-completion-codes-fail"> </a>
          </td>
          <td>Fail</td>
          <td>Mark the currently waiting test failed and proceed with the next assert if the stopTestOnFail is false or the next test in the TestScript if the stopTestOnFail is true.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">pass
            <a name="assert-manual-completion-codes-pass"> </a>
          </td>
          <td>Pass</td>
          <td>Mark the currently waiting test passed (if the test is not failed already) and proceed with the next action in the TestScript.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">skip
            <a name="assert-manual-completion-codes-skip"> </a>
          </td>
          <td>Skip</td>
          <td>Mark this assert as skipped and proceed with the next action in the TestScript.</td>
        </tr>
        <tr>
          <td style="white-space:nowrap">stop
            <a name="assert-manual-completion-codes-stop"> </a>
          </td>
          <td>Stop</td>
          <td>Stop execution of this TestScript. The overall status of this TestScript is evaluated based on the status of the completed tests.</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-manual-completion-codes"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.4.642.4.703"/>
  </identifier>
  <version value="5.0.0"/>
  <name value="AssertionManualCompletionType"/>
  <title value="Assertion Manual Completion Type"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2022-12-20T09:24:24-05: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 manual completion to use for assertion."/>
  <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/assert-manual-completion-codes"/>
  <content value="complete"/>
  <concept>
    <code value="fail"/>
    <display value="Fail"/>
    <definition value="Mark the currently waiting test failed and proceed with the next assert if the stopTestOnFail is false or the next test in the TestScript if the stopTestOnFail is true."/>
  </concept>
  <concept>
    <code value="pass"/>
    <display value="Pass"/>
    <definition value="Mark the currently waiting test passed (if the test is not failed already) and proceed with the next action in the TestScript."/>
  </concept>
  <concept>
    <code value="skip"/>
    <display value="Skip"/>
    <definition value="Mark this assert as skipped and proceed with the next action in the TestScript."/>
  </concept>
  <concept>
    <code value="stop"/>
    <display value="Stop"/>
    <definition value="Stop execution of this TestScript. The overall status of this TestScript is evaluated based on the status of the completed tests."/>
  </concept>
</CodeSystem>