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

<ValueSet xmlns="http://hl7.org/fhir">
  <id value="v3-ActRelationshipCheckpoint"/>
  <language value="en"/>
  <text>
    <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><p class="res-header-id"><b>Generated Narrative: ValueSet v3-ActRelationshipCheckpoint</b></p><a name="v3-ActRelationshipCheckpoint"> </a><a name="hcv3-ActRelationshipCheckpoint"> </a><a name="v3-ActRelationshipCheckpoint-en-US"> </a><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Language: en</p></div><ul><li>Include all codes defined in <a href="CodeSystem-v3-ActRelationshipCheckpoint.html"><code>http://terminology.hl7.org/CodeSystem/v3-ActRelationshipCheckpoint</code></a></li></ul></div>
  </text>
  <url value="http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpoint"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
    <value value="urn:oid:2.16.840.1.113883.1.11.10349"/>
  </identifier>
  <version value="3.0.0"/>
  <name value="ActRelationshipCheckpoint"/>
  <title value="ActRelationshipCheckpoint"/>
  <status value="active"/>
  <experimental value="false"/>
  <date value="2014-03-26"/>
  <publisher value="Health Level Seven International"/>
  <contact>
    <telecom>
      <system value="url"/>
      <value value="http://hl7.org"/>
    </telecom>
    <telecom>
      <system value="email"/>
      <value value="hq@HL7.org"/>
    </telecom>
  </contact>
  <description value="A code specifying when in the course of an Act a precondition for the Act is evaluated (e.g., before the Act starts for the first time, before every repetition, after each repetition but not before the first, or throughout the entire time of the Act.)&#xD;&#xA;&#xD;&#xA;*Discussion:* This attribute is part of the workflow control suite of attributes. An action plan is a composite Act with component Acts. In a sequential plan, each component has a sequenceNumber that specifies the ordering of the plan steps. Before each step is executed and has preconditions these conditions are tested and if the test is positive, the Act has clearance for execution. The repeatNumber may indicate that an Act may be repeatedly executed. The checkpointCode is specifies when the precondition is checked and is analogous to the various conditional statements and loop constructs in programming languages &quot;while-do&quot; vs. &quot;do-while&quot; or &quot;repeat-until&quot; vs. &quot;loop-exit&quot;.&#xD;&#xA;&#xD;&#xA;For all checkpointCodes, except &quot;end&quot;, preconditions are being checked at the time when the preceding step of the plan has terminated and this step would be next in the sequence established by the sequenceNumber attribute.&#xD;&#xA;&#xD;&#xA;When the checkpointCode for a criterion of a repeatable Act is &quot;end&quot;, the criterion is tested only at the end of each repetition of that Act. When the condition holds true, the next repetition is ready for execution.&#xD;&#xA;&#xD;&#xA;When the checkpointCode is &quot;entry&quot; the criterion is checked at the beginning of each repetition (if any) whereas &quot;beginning&quot; means the criterion is checked only once before the repetition &quot;loop&quot; starts.&#xD;&#xA;&#xD;&#xA;The checkpointCode &quot;through&quot; is special in that it requires the condition to hold throughout the execution of the Act, even throughout a single execution. As soon as the condition turns false, the Act should receive an interrupt event (see interruptibleInd) and will eventually terminate.&#xD;&#xA;&#xD;&#xA;The checkpointCode &quot;exit&quot; is only used on a special plan step that represents a loop exit step. This allows an action plan to exit due to a condition tested inside the execution of this plan. Such exit criteria are sequenced with the other plan components using the ActRelationship.sequenceNumber."/>
  <immutable value="true"/>
  <copyright value="This material derives from the HL7 Terminology THO. THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license"/>
  <compose>
    <include>
      <system value="http://terminology.hl7.org/CodeSystem/v3-ActRelationshipCheckpoint"/>
    </include>
  </compose>
</ValueSet>