<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="v3-QueryParameterValue" />
  <text>
    <status value="generated" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p>The narrative has been removed to reduce the size of the distribution of the Hl7.Fhir.Specification library</p>
    </div>
  </text>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status">
    <valueString value="External" />
  </extension>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0" />
  </extension>
  <url value="http://hl7.org/fhir/v3/QueryParameterValue" />
  <identifier>
    <system value="urn:ietf:rfc:3986" />
    <value value="urn:oid:2.16.840.1.113883.5.1096" />
  </identifier>
  <version value="2016-11-11" />
  <name value="v3 Code System QueryParameterValue" />
  <status value="active" />
  <experimental value="false" />
  <date value="2016-11-11T00:00:00+00:00" />
  <publisher value="HL7, Inc" />
  <contact>
    <telecom>
      <system value="url" />
      <value value="http://hl7.org" />
    </telecom>
  </contact>
  <description value=" The domain of coded values used as parameters within QueryByParameter queries." />
  <caseSensitive value="true" />
  <valueSet value="http://hl7.org/fhir/ValueSet/v3-QueryParameterValue" />
  <hierarchyMeaning value="is-a" />
  <content value="complete" />
  <property>
    <code value="notSelectable" />
    <uri value="http://hl7.org/fhir/concept-properties#notSelectable" />
    <description value="Indicates that the code is abstract - only intended to be used as a selector for other concepts" />
    <type value="boolean" />
  </property>
  <concept>
    <code value="_DispenseQueryFilterCode" />
    <display value="dispense query filter code" />
    <definition value="Description:Filter codes used to manage volume of dispenses returned by  a parameter-based queries." />
    <property>
      <code value="notSelectable" />
      <valueBoolean value="true" />
    </property>
    <concept>
      <code value="ALLDISP" />
      <display value="all dispenses" />
      <definition value="Description:Returns all dispenses to date for a prescription." />
    </concept>
    <concept>
      <code value="LASTDISP" />
      <display value="last dispense" />
      <definition value="Description:Returns the most recent dispense for a prescription." />
    </concept>
    <concept>
      <code value="NODISP" />
      <display value="no dispense" />
      <definition value="Description:Returns no dispense for a prescription." />
    </concept>
  </concept>
  <concept>
    <code value="_OrderFilterCode" />
    <display value="_OrderFilterCode" />
    <definition value="Filter codes used to manage types of orders being returned by a parameter-based query." />
    <property>
      <code value="notSelectable" />
      <valueBoolean value="true" />
    </property>
    <concept>
      <code value="AO" />
      <display value="all orders" />
      <definition value="Return all orders." />
    </concept>
    <concept>
      <code value="ONR" />
      <display value="orders without results" />
      <definition value="Return only those orders that do not have results." />
    </concept>
    <concept>
      <code value="OWR" />
      <display value="orders with results" />
      <definition value="Return only those orders that have results." />
    </concept>
  </concept>
  <concept>
    <code value="_PrescriptionDispenseFilterCode" />
    <display value="Prescription Dispense Filter Code" />
    <definition value="A &quot;helper&quot; vocabulary used to construct complex query filters based on how and whether a prescription has been dispensed." />
    <property>
      <code value="notSelectable" />
      <valueBoolean value="true" />
    </property>
    <concept>
      <code value="C" />
      <display value="Completely dispensed" />
      <definition value="Filter to only include SubstanceAdministration orders which have no remaining quantity authorized to be dispensed." />
    </concept>
    <concept>
      <code value="N" />
      <display value="Never Dispensed" />
      <definition value="Filter to only include SubstanceAdministration orders which have no fulfilling supply events performed." />
    </concept>
    <concept>
      <code value="R" />
      <display value="Dispensed with remaining fills" />
      <definition value="Filter to only include SubstanceAdministration orders which have had at least one fulfilling supply event, but which still have outstanding quantity remaining to be authorized." />
    </concept>
  </concept>
  <concept>
    <code value="_QueryParameterValue" />
    <display value="QueryParameterValue" />
    <definition value="Description:Indicates how result sets should be filtered based on whether they have associated issues." />
    <property>
      <code value="notSelectable" />
      <valueBoolean value="true" />
    </property>
    <concept>
      <code value="ISSFA" />
      <display value="all" />
      <definition value="Description:Result set should not be filtered based on the presence of issues." />
    </concept>
    <concept>
      <code value="ISSFI" />
      <display value="with issues" />
      <definition value="Description:Result set should be filtered to only include records with associated issues." />
    </concept>
    <concept>
      <code value="ISSFU" />
      <display value="with unmanaged issues" />
      <definition value="Description:Result set should be filtered to only include records with associated unmanaged issues." />
    </concept>
  </concept>
</CodeSystem>