HL7 Terminology
2.1.0 - Publication

This page is part of the HL7 Terminology (v2.1.0: Release) based on FHIR R4. The current version which supercedes this version is 5.2.0. For a full list of available versions, see the Directory of published versions

: QueryResponse - TTL Representation

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:CodeSystem;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "v3-QueryResponse"];
  fhir:Resource.language [ fhir:value "en"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p><b>Properties</b></p><table class=\"grid\"><tr><td><b>Code</b></td><td><b>URL</b></td><td><b>Description</b></td><td><b>Type</b></td></tr><tr><td>Specializes</td><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><td>Coding</td></tr><tr><td>Generalizes</td><td/><td>Inverse of Specializes.  Only included as a derived relationship.</td><td>Coding</td></tr><tr><td>internalId</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id</td><td>The internal identifier for the concept in the HL7 Access database repository.</td><td>code</td></tr><tr><td>status</td><td>http://hl7.org/fhir/concept-properties#status</td><td>Designation of a concept's state. Normally is not populated unless the state is retired.</td><td>code</td></tr></table><p>This code system http://terminology.hl7.org/CodeSystem/v3-QueryResponse 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><td><b>internalId</b></td><td><b>status</b></td></tr><tr><td style=\"white-space:nowrap\">AE<a name=\"v3-QueryResponse-AE\"> </a></td><td>ApplicationError</td><td>Query Error. Application Error.</td><td>19793</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">NF<a name=\"v3-QueryResponse-NF\"> </a></td><td>No data found</td><td>No errors, but no data was found matching the query request specification.</td><td>16013</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">OK<a name=\"v3-QueryResponse-OK\"> </a></td><td>Data found</td><td>Query reponse data found for 1 or more result sets matching the query request specification.</td><td>16012</td><td>active</td></tr><tr><td style=\"white-space:nowrap\">QE<a name=\"v3-QueryResponse-QE\"> </a></td><td>QueryParameterError</td><td>QueryError. Problem with input ParmetersError</td><td>19794</td><td>active</td></tr></table></div>"
  ];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-QueryResponse"];
  fhir:CodeSystem.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.5.1067" ]
  ];
  fhir:CodeSystem.version [ fhir:value "2.0.0"];
  fhir:CodeSystem.name [ fhir:value "QueryResponse"];
  fhir:CodeSystem.title [ fhir:value "QueryResponse"];
  fhir:CodeSystem.status [ fhir:value "active"];
  fhir:CodeSystem.date [ fhir:value "2019-03-20"^^xsd:date];
  fhir:CodeSystem.publisher [ fhir:value "Health Level 7"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.name [ fhir:value "Health Level Seven" ]
  ];
  fhir:CodeSystem.description [ fhir:value "A code classifying the general nature of the response to a given query. Includes whether or not data was found, or whether an error occurred."];
  fhir:CodeSystem.hierarchyMeaning [ fhir:value "is-a"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.property [
     fhir:index 0;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry" ];
       fhir:Extension.valueCode [ fhir:value "antisymmetric" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity" ];
       fhir:Extension.valueCode [ fhir:value "transitive" ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity" ];
       fhir:Extension.valueCode [ fhir:value "irreflexive" ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable" ];
       fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 4;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind" ];
       fhir:Extension.valueCode [ fhir:value "Specializes" ]     ], [
       fhir:index 5;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName" ];
       fhir:Extension.valueString [ fhir:value "Generalizes" ]     ];
     fhir:CodeSystem.property.code [ fhir:value "Specializes" ];
     fhir:CodeSystem.property.description [ fhir:value "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:CodeSystem.property.type [ fhir:value "Coding" ]
  ], [
     fhir:index 1;
     fhir:Element.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry" ];
       fhir:Extension.valueCode [ fhir:value "antisymmetric" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity" ];
       fhir:Extension.valueCode [ fhir:value "transitive" ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity" ];
       fhir:Extension.valueCode [ fhir:value "irreflexive" ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable" ];
       fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 4;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind" ];
       fhir:Extension.valueCode [ fhir:value "Generalizes" ]     ], [
       fhir:index 5;
       fhir:Extension.url [ fhir:value "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName" ];
       fhir:Extension.valueString [ fhir:value "Specializes" ]     ];
     fhir:CodeSystem.property.code [ fhir:value "Generalizes" ];
     fhir:CodeSystem.property.description [ fhir:value "Inverse of Specializes.  Only included as a derived relationship." ];
     fhir:CodeSystem.property.type [ fhir:value "Coding" ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.property.code [ fhir:value "internalId" ];
     fhir:CodeSystem.property.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id" ];
     fhir:CodeSystem.property.description [ fhir:value "The internal identifier for the concept in the HL7 Access database repository." ];
     fhir:CodeSystem.property.type [ fhir:value "code" ]
  ], [
     fhir:index 3;
     fhir:CodeSystem.property.code [ fhir:value "status" ];
     fhir:CodeSystem.property.uri [ fhir:value "http://hl7.org/fhir/concept-properties#status" ];
     fhir:CodeSystem.property.description [ fhir:value "Designation of a concept's state. Normally is not populated unless the state is retired." ];
     fhir:CodeSystem.property.type [ fhir:value "code" ]
  ];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:CodeSystem.concept.code [ fhir:value "AE" ];
     fhir:CodeSystem.concept.display [ fhir:value "ApplicationError" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Query Error. Application Error." ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "active" ]     ], [
       fhir:index 1;
       fhir:CodeSystem.concept.property.code [ fhir:value "internalId" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "19793" ]     ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.concept.code [ fhir:value "NF" ];
     fhir:CodeSystem.concept.display [ fhir:value "No data found" ];
     fhir:CodeSystem.concept.definition [ fhir:value "No errors, but no data was found matching the query request specification." ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "active" ]     ], [
       fhir:index 1;
       fhir:CodeSystem.concept.property.code [ fhir:value "internalId" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "16013" ]     ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.concept.code [ fhir:value "OK" ];
     fhir:CodeSystem.concept.display [ fhir:value "Data found" ];
     fhir:CodeSystem.concept.definition [ fhir:value "Query reponse data found for 1 or more result sets matching the query request specification." ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "active" ]     ], [
       fhir:index 1;
       fhir:CodeSystem.concept.property.code [ fhir:value "internalId" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "16012" ]     ]
  ], [
     fhir:index 3;
     fhir:CodeSystem.concept.code [ fhir:value "QE" ];
     fhir:CodeSystem.concept.display [ fhir:value "QueryParameterError" ];
     fhir:CodeSystem.concept.definition [ fhir:value "QueryError. Problem with input ParmetersError" ];
     fhir:CodeSystem.concept.property [
       fhir:index 0;
       fhir:CodeSystem.concept.property.code [ fhir:value "status" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "active" ]     ], [
       fhir:index 1;
       fhir:CodeSystem.concept.property.code [ fhir:value "internalId" ];
       fhir:CodeSystem.concept.property.valueCode [ fhir:value "19794" ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.