<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="consent-state-codes" />
  <meta>
    <lastUpdated value="2017-04-19T07:44:43.294+10:00" />
  </meta>
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <h2>ConsentState</h2>
      <div>
        <p>Indicates the state of the consent</p>
      </div>
      <p>This code system http://hl7.org/fhir/consent-state-codes 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>draft
                  <a name="consent-state-codes-draft"></a></td>
          <td>Pending</td>
          <td>The consent is in development or awaiting use but is not yet intended to be acted upon.</td>
        </tr>
        <tr>
          <td>proposed
                  <a name="consent-state-codes-proposed"></a></td>
          <td>Proposed</td>
          <td>The consent has been proposed but not yet agreed to by all parties. The negotiation stage.</td>
        </tr>
        <tr>
          <td>active
                  <a name="consent-state-codes-active"></a></td>
          <td>Active</td>
          <td>The consent is to be followed and enforced.</td>
        </tr>
        <tr>
          <td>rejected
                  <a name="consent-state-codes-rejected"></a></td>
          <td>Rejected</td>
          <td>The consent has been rejected by one or more of the parties.</td>
        </tr>
        <tr>
          <td>inactive
                  <a name="consent-state-codes-inactive"></a></td>
          <td>Inactive</td>
          <td>The consent is terminated or replaced.</td>
        </tr>
        <tr>
          <td>entered-in-error
                  <a name="consent-state-codes-entered-in-error"></a></td>
          <td>Entered in Error</td>
          <td>The consent was created wrongly (e.g. wrong patient) and should be ignored</td>
        </tr>
      </table>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status">
    <valueString value="Informative" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="1" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="cbcc" />
  </extension>
  <url value="http://hl7.org/fhir/consent-state-codes" />
  <identifier>
    <system value="urn:ietf:rfc:3986" />
    <value value="urn:oid:2.16.840.1.113883.4.642.1.740" />
  </identifier>
  <version value="3.0.1" />
  <name value="ConsentState" />
  <status value="draft" />
  <experimental value="false" />
  <date value="2017-04-19T07:44:43+10: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="Indicates the state of the consent" />
  <caseSensitive value="true" />
  <valueSet value="http://hl7.org/fhir/ValueSet/consent-state-codes" />
  <content value="complete" />
  <concept>
    <code value="draft" />
    <display value="Pending" />
    <definition value="The consent is in development or awaiting use but is not yet intended to be acted upon." />
  </concept>
  <concept>
    <code value="proposed" />
    <display value="Proposed" />
    <definition value="The consent has been proposed but not yet agreed to by all parties. The negotiation stage." />
  </concept>
  <concept>
    <code value="active" />
    <display value="Active" />
    <definition value="The consent is to be followed and enforced." />
  </concept>
  <concept>
    <code value="rejected" />
    <display value="Rejected" />
    <definition value="The consent has been rejected by one or more of the parties." />
  </concept>
  <concept>
    <code value="inactive" />
    <display value="Inactive" />
    <definition value="The consent is terminated or replaced." />
  </concept>
  <concept>
    <code value="entered-in-error" />
    <display value="Entered in Error" />
    <definition value="The consent was created wrongly (e.g. wrong patient) and should be ignored" />
  </concept>
</CodeSystem>