Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example CodeSystem/consent-state-codes (XML)

Community Based Collaborative Care Work GroupMaturity Level: N/AStandards Status: Informative

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

Definition for Code SystemConsentState

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

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="consent-state-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/consent-state-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">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 style="white-space:nowrap">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 style="white-space:nowrap">inactive
            <a name="consent-state-codes-inactive"> </a> 
          </td> 
          <td> Inactive</td> 
          <td> The consent is terminated or replaced.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">not-done
            <a name="consent-state-codes-not-done"> </a> 
          </td> 
          <td> Abandoned</td> 
          <td> The consent development has been terminated prior to completion.</td> 
        </tr> 
        <tr> 
          <td style="white-space:nowrap">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> 
        <tr> 
          <td style="white-space:nowrap">unknown
            <a name="consent-state-codes-unknown"> </a> 
          </td> 
          <td> Unknown</td> 
          <td> The resource is in an indeterminate state.</td> 
        </tr> 
      </table> 
    </div> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="cbcc"/> 
  </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/consent-state-codes"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.4.756"/> 
  </identifier> 
  <identifier> 
    <use value="old"/> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.4.642.1.740"/> 
  </identifier> 
  <version value="5.0.0"/> 
  <name value="ConsentState"/> 
  <title value="Consent State"/> 
  <status value="active"/> 
  <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="Indicates the state of the consent."/> 
  <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/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="active"/> 
    <display value="Active"/> 
    <definition value="The consent is to be followed and enforced."/> 
  </concept> 
  <concept> 
    <code value="inactive"/> 
    <display value="Inactive"/> 
    <definition value="The consent is terminated or replaced."/> 
  </concept> 
  <concept> 
    <code value="not-done"/> 
    <display value="Abandoned"/> 
    <definition value="The consent development has been terminated prior to completion."/> 
  </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> 
  <concept> 
    <code value="unknown"/> 
    <display value="Unknown"/> 
    <definition value="The resource is in an indeterminate state."/> 
  </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.