@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://terminology.hl7.org/CodeSystem/v3-QueryParameterValue> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "v3-QueryParameterValue"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem v3-QueryParameterValue</b></p><a name=\"v3-QueryParameterValue\"> </a><a name=\"hcv3-QueryParameterValue\"> </a><a name=\"v3-QueryParameterValue-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><p><b>Properties</b></p><p><b>This code system defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Name</b></td><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>Specializes</td><td>Specializes</td><td/><td>Coding</td><td>The child code is a more narrow version of the concept represented by the parent code.  I.e. Every child concept is also a valid parent concept.  Used to allow determination of subsumption.  Must be transitive, irreflexive, antisymmetric.</td></tr><tr><td>Generalizes</td><td>Generalizes</td><td/><td>Coding</td><td>Inverse of Specializes.  Only included as a derived relationship.</td></tr><tr><td>internalId</td><td>internalId</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id</td><td>code</td><td>The internal identifier for the concept in the HL7 Access database repository.</td></tr><tr><td>Not Selectable</td><td>notSelectable</td><td>http://hl7.org/fhir/concept-properties#notSelectable</td><td>boolean</td><td>Indicates that the code is abstract - only intended to be used as a selector for other concepts</td></tr><tr><td>status</td><td>status</td><td>http://hl7.org/fhir/concept-properties#status</td><td>code</td><td>Designation of a concept's state. Normally is not populated unless the state is retired.</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/v3-QueryParameterValue</code> defines the following codes in a Is-A hierarchy:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>internalId</b></td><td><b>Not Selectable</b></td><td><b>status</b></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">_DispenseQueryFilterCode<a name=\"v3-QueryParameterValue-_DispenseQueryFilterCode\"> </a></td><td>dispense query filter code</td><td>**Description:**Filter codes used to manage volume of dispenses returned by a parameter-based queries.</td><td>23299</td><td>true</td><td>active</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  ALLDISP<a name=\"v3-QueryParameterValue-ALLDISP\"> </a></td><td>all dispenses</td><td>**Description:**Returns all dispenses to date for a prescription.</td><td>23300</td><td/><td>active</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  LASTDISP<a name=\"v3-QueryParameterValue-LASTDISP\"> </a></td><td>last dispense</td><td>**Description:**Returns the most recent dispense for a prescription.</td><td>23301</td><td/><td>active</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  NODISP<a name=\"v3-QueryParameterValue-NODISP\"> </a></td><td>no dispense</td><td>**Description:**Returns no dispense for a prescription.</td><td>23302</td><td/><td>active</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">_OrderFilterCode<a name=\"v3-QueryParameterValue-_OrderFilterCode\"> </a></td><td>_OrderFilterCode</td><td>Filter codes used to manage types of orders being returned by a parameter-based query.</td><td>23616</td><td>true</td><td>active</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  AO<a name=\"v3-QueryParameterValue-AO\"> </a></td><td>all orders</td><td>Return all orders.</td><td>23617</td><td/><td>active</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  ONR<a name=\"v3-QueryParameterValue-ONR\"> </a></td><td>orders without results</td><td>Return only those orders that do not have results.</td><td>23619</td><td/><td>active</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  OWR<a name=\"v3-QueryParameterValue-OWR\"> </a></td><td>orders with results</td><td>Return only those orders that have results.</td><td>23618</td><td/><td>active</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">_PrescriptionDispenseFilterCode<a name=\"v3-QueryParameterValue-_PrescriptionDispenseFilterCode\"> </a></td><td>Prescription Dispense Filter Code</td><td>A &quot;helper&quot; vocabulary used to construct complex query filters based on how and whether a prescription has been dispensed.</td><td>21537</td><td>true</td><td>active</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  C<a name=\"v3-QueryParameterValue-C\"> </a></td><td>Completely dispensed</td><td>Filter to only include SubstanceAdministration orders which have no remaining quantity authorized to be dispensed.</td><td>21540</td><td/><td>active</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  N<a name=\"v3-QueryParameterValue-N\"> </a></td><td>Never Dispensed</td><td>Filter to only include SubstanceAdministration orders which have no fulfilling supply events performed.</td><td>21538</td><td/><td>active</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  R<a name=\"v3-QueryParameterValue-R\"> </a></td><td>Dispensed with remaining fills</td><td>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.</td><td>21539</td><td/><td>active</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">_QueryParameterValue<a name=\"v3-QueryParameterValue-_QueryParameterValue\"> </a></td><td>QueryParameterValue</td><td>**Description:**Indicates how result sets should be filtered based on whether they have associated issues.</td><td>21986</td><td>true</td><td>active</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  ISSFA<a name=\"v3-QueryParameterValue-ISSFA\"> </a></td><td>all</td><td>**Description:**Result set should not be filtered based on the presence of issues.</td><td>21987</td><td/><td>active</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  ISSFI<a name=\"v3-QueryParameterValue-ISSFI\"> </a></td><td>with issues</td><td>**Description:**Result set should be filtered to only include records with associated issues.</td><td>21988</td><td/><td>active</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">  ISSFU<a name=\"v3-QueryParameterValue-ISSFU\"> </a></td><td>with unmanaged issues</td><td>**Description:**Result set should be filtered to only include records with associated unmanaged issues.</td><td>21989</td><td/><td>active</td></tr></table></div>"
  ] ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-QueryParameterValue"^^xsd:anyURI] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.5.1096" ]
  ] ) ; # 
  fhir:version [ fhir:v "3.0.0"] ; # 
  fhir:name [ fhir:v "QueryParameterValue"] ; # 
  fhir:title [ fhir:v "QueryParameterValue"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2019-03-20"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "Health Level Seven International"] ; # 
  fhir:contact ( [
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://hl7.org" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "hq@HL7.org" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "The domain of coded values used as parameters within QueryByParameter queries."] ; # 
  fhir:copyright [ fhir:v "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"] ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:property ( [
     fhir:extension ( [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "antisymmetric" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "transitive" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "irreflexive" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "true"^^xsd:boolean ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Specializes" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Generalizes" ]
     ] ) ;
     fhir:code [ fhir:v "Specializes" ] ;
     fhir:description [ fhir:v "The child code is a more narrow version of the concept represented by the parent code.  I.e. Every child concept is also a valid parent concept.  Used to allow determination of subsumption.  Must be transitive, irreflexive, antisymmetric." ] ;
     fhir:type [ fhir:v "Coding" ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "antisymmetric" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "transitive" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "irreflexive" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "true"^^xsd:boolean ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Generalizes" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Specializes" ]
     ] ) ;
     fhir:code [ fhir:v "Generalizes" ] ;
     fhir:description [ fhir:v "Inverse of Specializes.  Only included as a derived relationship." ] ;
     fhir:type [ fhir:v "Coding" ]
  ] [
     fhir:code [ fhir:v "internalId" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "The internal identifier for the concept in the HL7 Access database repository." ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "notSelectable" ] ;
     fhir:uri [ fhir:v "http://hl7.org/fhir/concept-properties#notSelectable"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "Indicates that the code is abstract - only intended to be used as a selector for other concepts" ] ;
     fhir:type [ fhir:v "boolean" ]
  ] [
     fhir:code [ fhir:v "status" ] ;
     fhir:uri [ fhir:v "http://hl7.org/fhir/concept-properties#status"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "Designation of a concept's state. Normally is not populated unless the state is retired." ] ;
     fhir:type [ fhir:v "code" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "_DispenseQueryFilterCode" ] ;
     fhir:display [ fhir:v "dispense query filter code" ] ;
     fhir:definition [ fhir:v "**Description:**Filter codes used to manage volume of dispenses returned by a parameter-based queries." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "notSelectable" ] ;
       fhir:value [ fhir:v "true"^^xsd:boolean ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "23299" ]
     ] ) ;
     fhir:concept ( [
       fhir:code [ fhir:v "ALLDISP" ] ;
       fhir:display [ fhir:v "all dispenses" ] ;
       fhir:definition [ fhir:v "**Description:**Returns all dispenses to date for a prescription." ] ;
       fhir:property ( [
         fhir:code [ fhir:v "status" ] ;
         fhir:value [ fhir:v "active" ]
       ] [
         fhir:code [ fhir:v "internalId" ] ;
         fhir:value [ fhir:v "23300" ]
       ] )
     ] [
       fhir:code [ fhir:v "LASTDISP" ] ;
       fhir:display [ fhir:v "last dispense" ] ;
       fhir:definition [ fhir:v "**Description:**Returns the most recent dispense for a prescription." ] ;
       fhir:property ( [
         fhir:code [ fhir:v "status" ] ;
         fhir:value [ fhir:v "active" ]
       ] [
         fhir:code [ fhir:v "internalId" ] ;
         fhir:value [ fhir:v "23301" ]
       ] )
     ] [
       fhir:code [ fhir:v "NODISP" ] ;
       fhir:display [ fhir:v "no dispense" ] ;
       fhir:definition [ fhir:v "**Description:**Returns no dispense for a prescription." ] ;
       fhir:property ( [
         fhir:code [ fhir:v "status" ] ;
         fhir:value [ fhir:v "active" ]
       ] [
         fhir:code [ fhir:v "internalId" ] ;
         fhir:value [ fhir:v "23302" ]
       ] )
     ] )
  ] [
     fhir:code [ fhir:v "_OrderFilterCode" ] ;
     fhir:display [ fhir:v "_OrderFilterCode" ] ;
     fhir:definition [ fhir:v "Filter codes used to manage types of orders being returned by a parameter-based query." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "notSelectable" ] ;
       fhir:value [ fhir:v "true"^^xsd:boolean ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "23616" ]
     ] ) ;
     fhir:concept ( [
       fhir:code [ fhir:v "AO" ] ;
       fhir:display [ fhir:v "all orders" ] ;
       fhir:definition [ fhir:v "Return all orders." ] ;
       fhir:property ( [
         fhir:code [ fhir:v "status" ] ;
         fhir:value [ fhir:v "active" ]
       ] [
         fhir:code [ fhir:v "internalId" ] ;
         fhir:value [ fhir:v "23617" ]
       ] )
     ] [
       fhir:code [ fhir:v "ONR" ] ;
       fhir:display [ fhir:v "orders without results" ] ;
       fhir:definition [ fhir:v "Return only those orders that do not have results." ] ;
       fhir:property ( [
         fhir:code [ fhir:v "status" ] ;
         fhir:value [ fhir:v "active" ]
       ] [
         fhir:code [ fhir:v "internalId" ] ;
         fhir:value [ fhir:v "23619" ]
       ] )
     ] [
       fhir:code [ fhir:v "OWR" ] ;
       fhir:display [ fhir:v "orders with results" ] ;
       fhir:definition [ fhir:v "Return only those orders that have results." ] ;
       fhir:property ( [
         fhir:code [ fhir:v "status" ] ;
         fhir:value [ fhir:v "active" ]
       ] [
         fhir:code [ fhir:v "internalId" ] ;
         fhir:value [ fhir:v "23618" ]
       ] )
     ] )
  ] [
     fhir:code [ fhir:v "_PrescriptionDispenseFilterCode" ] ;
     fhir:display [ fhir:v "Prescription Dispense Filter Code" ] ;
     fhir:definition [ fhir:v "A \"helper\" vocabulary used to construct complex query filters based on how and whether a prescription has been dispensed." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "notSelectable" ] ;
       fhir:value [ fhir:v "true"^^xsd:boolean ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "21537" ]
     ] ) ;
     fhir:concept ( [
       fhir:code [ fhir:v "C" ] ;
       fhir:display [ fhir:v "Completely dispensed" ] ;
       fhir:definition [ fhir:v "Filter to only include SubstanceAdministration orders which have no remaining quantity authorized to be dispensed." ] ;
       fhir:property ( [
         fhir:code [ fhir:v "status" ] ;
         fhir:value [ fhir:v "active" ]
       ] [
         fhir:code [ fhir:v "internalId" ] ;
         fhir:value [ fhir:v "21540" ]
       ] )
     ] [
       fhir:code [ fhir:v "N" ] ;
       fhir:display [ fhir:v "Never Dispensed" ] ;
       fhir:definition [ fhir:v "Filter to only include SubstanceAdministration orders which have no fulfilling supply events performed." ] ;
       fhir:property ( [
         fhir:code [ fhir:v "status" ] ;
         fhir:value [ fhir:v "active" ]
       ] [
         fhir:code [ fhir:v "internalId" ] ;
         fhir:value [ fhir:v "21538" ]
       ] )
     ] [
       fhir:code [ fhir:v "R" ] ;
       fhir:display [ fhir:v "Dispensed with remaining fills" ] ;
       fhir:definition [ fhir:v "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." ] ;
       fhir:property ( [
         fhir:code [ fhir:v "status" ] ;
         fhir:value [ fhir:v "active" ]
       ] [
         fhir:code [ fhir:v "internalId" ] ;
         fhir:value [ fhir:v "21539" ]
       ] )
     ] )
  ] [
     fhir:code [ fhir:v "_QueryParameterValue" ] ;
     fhir:display [ fhir:v "QueryParameterValue" ] ;
     fhir:definition [ fhir:v "**Description:**Indicates how result sets should be filtered based on whether they have associated issues." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "notSelectable" ] ;
       fhir:value [ fhir:v "true"^^xsd:boolean ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "active" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "21986" ]
     ] ) ;
     fhir:concept ( [
       fhir:code [ fhir:v "ISSFA" ] ;
       fhir:display [ fhir:v "all" ] ;
       fhir:definition [ fhir:v "**Description:**Result set should not be filtered based on the presence of issues." ] ;
       fhir:property ( [
         fhir:code [ fhir:v "status" ] ;
         fhir:value [ fhir:v "active" ]
       ] [
         fhir:code [ fhir:v "internalId" ] ;
         fhir:value [ fhir:v "21987" ]
       ] )
     ] [
       fhir:code [ fhir:v "ISSFI" ] ;
       fhir:display [ fhir:v "with issues" ] ;
       fhir:definition [ fhir:v "**Description:**Result set should be filtered to only include records with associated issues." ] ;
       fhir:property ( [
         fhir:code [ fhir:v "status" ] ;
         fhir:value [ fhir:v "active" ]
       ] [
         fhir:code [ fhir:v "internalId" ] ;
         fhir:value [ fhir:v "21988" ]
       ] )
     ] [
       fhir:code [ fhir:v "ISSFU" ] ;
       fhir:display [ fhir:v "with unmanaged issues" ] ;
       fhir:definition [ fhir:v "**Description:**Result set should be filtered to only include records with associated unmanaged issues." ] ;
       fhir:property ( [
         fhir:code [ fhir:v "status" ] ;
         fhir:value [ fhir:v "active" ]
       ] [
         fhir:code [ fhir:v "internalId" ] ;
         fhir:value [ fhir:v "21989" ]
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

