@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/v2-0123> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "v2-0123"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><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>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>status</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#status</td><td>code</td><td>Status of the concept</td></tr><tr><td>deprecated</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated</td><td>code</td><td>Version of HL7 in which the code was deprecated</td></tr><tr><td>v2-concComment</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concComment</td><td>string</td><td>V2 Concept Comment</td></tr><tr><td>HL7usageNotes</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#HL7usageNotes</td><td>string</td><td>HL7 Concept Usage Notes</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/v2-0123</code> defines the following codes in a Is-A heirarchy:</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>V2 Concept Comment</b></td><td><b>HL7 Concept Usage Notes</b></td><td><b>Deutsch (German, de)</b></td></tr><tr><td style=\"white-space:nowrap\">O<a name=\"v2-0123-O\"> </a></td><td>Order received; specimen not yet received</td><td>Order received; specimen not yet received</td><td/><td/><td>Auftrag erhalten - Probe steht noch aus</td></tr><tr><td style=\"white-space:nowrap\">I<a name=\"v2-0123-I\"> </a></td><td>No results available; specimen received, procedure incomplete</td><td>No results available; specimen received, procedure incomplete</td><td/><td/><td>Keine Ergebnisse - Probe liegt vor, Untersuchung unvollständig</td></tr><tr><td style=\"white-space:nowrap\">S<a name=\"v2-0123-S\"> </a></td><td>No results available; procedure scheduled, but not done</td><td>No results available; procedure scheduled, but not done</td><td/><td/><td>Keine Ergebnisse - Untersuchung eingeplant, aber noch nicht durchgeführt</td></tr><tr><td style=\"white-space:nowrap\">A<a name=\"v2-0123-A\"> </a></td><td>Some, but not all, results available</td><td>Some, but not all, results available</td><td/><td/><td>einige, aber nicht alle Ergebnisse verfügbar</td></tr><tr><td style=\"white-space:nowrap\">P<a name=\"v2-0123-P\"> </a></td><td>Preliminary</td><td>A verified early result is available, final results not yet obtained</td><td/><td/><td>Vorläufig - Validiertes Zwischenergebnis liegt vor, aber noch keine endgültigen</td></tr><tr><td style=\"white-space:nowrap\">C<a name=\"v2-0123-C\"> </a></td><td>Corrected, final</td><td>A result under an order, that has been finalized has been corrected</td><td/><td/><td>korrigiertes Ergebnis, final</td></tr><tr><td style=\"white-space:nowrap\">R<a name=\"v2-0123-R\"> </a></td><td>Results stored; not yet verified</td><td>Results stored; not yet verified</td><td/><td/><td>Ergebnisse gespeichert, aber noch nicht validiert</td></tr><tr><td style=\"white-space:nowrap\">F<a name=\"v2-0123-F\"> </a></td><td>Final results</td><td>Final results; results stored and verified.</td><td>Can only be changed with a corrected result.</td><td/><td>Endergebnis - Auftrag erledigt, Ergebnisse validiert</td></tr><tr><td style=\"white-space:nowrap\">X<a name=\"v2-0123-X\"> </a></td><td>No results available; Order canceled</td><td>No results available; Order canceled.</td><td/><td/><td>Keine Ergebnisse - Auftrag storniert</td></tr><tr><td style=\"white-space:nowrap\">Y<a name=\"v2-0123-Y\"> </a></td><td>No order on record for this test</td><td>No order on record for this test.</td><td/><td>Used only on queries</td><td>Kein Auftrag zu dieser Untersuchung</td></tr><tr><td style=\"white-space:nowrap\">Z<a name=\"v2-0123-Z\"> </a></td><td>No record of this patient</td><td>No record of this patient.</td><td/><td>Used only on queries</td><td>Keine Daten über diesen Patienten</td></tr><tr><td style=\"white-space:nowrap\">M<a name=\"v2-0123-M\"> </a></td><td>Corrected, not final</td><td>A result under an order, that has not yet been finalized has been corrected</td><td/><td/><td/></tr><tr><td style=\"white-space:nowrap\">N<a name=\"v2-0123-N\"> </a></td><td>Procedure completed, results pending</td><td>No result available; requested procedure done.  To indicate that a requested test is performed but results are pending/not yet available.</td><td/><td>Transitions/Relationships: \nOBR-25  Valid preceding state (... to N): O, I, S.  Succeeding state (N to ...): P, A, R, F, X\nOBX-11  No OBX segments can be present where OBX-29 = RSLT</td><td/></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "oo" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0123"^^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.18.51" ]
  ] ) ; # 
  fhir:version [ fhir:v "2.0.0"] ; # 
  fhir:name [ fhir:v "ResultStatus"] ; # 
  fhir:title [ fhir:v "resultStatus"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2019-12-01"^^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 "HL7-defined code system of concepts which specify a status of results for an order.  Used in HL7 Version 2.x messaging in the OBR segment."] ; # 
  fhir:purpose [ fhir:v "Underlying Master Code System for V2 table 0123 (Result Status)"] ; # 
  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:valueSet [
     fhir:v "http://terminology.hl7.org/ValueSet/v2-0123"^^xsd:anyURI ;
     fhir:link <http://terminology.hl7.org/ValueSet/v2-0123>
  ] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:compositional [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:versionNeeded [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:property ( [
     fhir:code [ fhir:v "status" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#status"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "Status of the concept" ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "deprecated" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "Version of HL7 in which the code was deprecated" ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "v2-concComment" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concComment"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "V2 Concept Comment" ] ;
     fhir:type [ fhir:v "string" ]
  ] [
     fhir:code [ fhir:v "HL7usageNotes" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#HL7usageNotes"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "HL7 Concept Usage Notes" ] ;
     fhir:type [ fhir:v "string" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:id [ fhir:v "1430" ] ;
     fhir:code [ fhir:v "O" ] ;
     fhir:display [ fhir:v "Order received; specimen not yet received" ] ;
     fhir:definition [ fhir:v "Order received; specimen not yet received" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Auftrag erhalten - Probe steht noch aus" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "1431" ] ;
     fhir:code [ fhir:v "I" ] ;
     fhir:display [ fhir:v "No results available; specimen received, procedure incomplete" ] ;
     fhir:definition [ fhir:v "No results available; specimen received, procedure incomplete" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Keine Ergebnisse - Probe liegt vor, Untersuchung unvollständig" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "1432" ] ;
     fhir:code [ fhir:v "S" ] ;
     fhir:display [ fhir:v "No results available; procedure scheduled, but not done" ] ;
     fhir:definition [ fhir:v "No results available; procedure scheduled, but not done" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Keine Ergebnisse - Untersuchung eingeplant, aber noch nicht durchgeführt" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "1433" ] ;
     fhir:code [ fhir:v "A" ] ;
     fhir:display [ fhir:v "Some, but not all, results available" ] ;
     fhir:definition [ fhir:v "Some, but not all, results available" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "einige, aber nicht alle Ergebnisse verfügbar" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "1434" ] ;
     fhir:code [ fhir:v "P" ] ;
     fhir:display [ fhir:v "Preliminary" ] ;
     fhir:definition [ fhir:v "A verified early result is available, final results not yet obtained" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Vorläufig - Validiertes Zwischenergebnis liegt vor, aber noch keine endgültigen" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "1435" ] ;
     fhir:code [ fhir:v "C" ] ;
     fhir:display [ fhir:v "Corrected, final" ] ;
     fhir:definition [ fhir:v "A result under an order, that has been finalized has been corrected" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "korrigiertes Ergebnis, final" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "1436" ] ;
     fhir:code [ fhir:v "R" ] ;
     fhir:display [ fhir:v "Results stored; not yet verified" ] ;
     fhir:definition [ fhir:v "Results stored; not yet verified" ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Ergebnisse gespeichert, aber noch nicht validiert" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "1437" ] ;
     fhir:code [ fhir:v "F" ] ;
     fhir:display [ fhir:v "Final results" ] ;
     fhir:definition [ fhir:v "Final results; results stored and verified." ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Endergebnis - Auftrag erledigt, Ergebnisse validiert" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "Can only be changed with a corrected result." ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "1438" ] ;
     fhir:code [ fhir:v "X" ] ;
     fhir:display [ fhir:v "No results available; Order canceled" ] ;
     fhir:definition [ fhir:v "No results available; Order canceled." ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Keine Ergebnisse - Auftrag storniert" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "1439" ] ;
     fhir:code [ fhir:v "Y" ] ;
     fhir:display [ fhir:v "No order on record for this test" ] ;
     fhir:definition [ fhir:v "No order on record for this test." ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Kein Auftrag zu dieser Untersuchung" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "HL7usageNotes" ] ;
       fhir:value [ fhir:v "Used only on queries" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "1440" ] ;
     fhir:code [ fhir:v "Z" ] ;
     fhir:display [ fhir:v "No record of this patient" ] ;
     fhir:definition [ fhir:v "No record of this patient." ] ;
     fhir:designation ( [
       fhir:language [ fhir:v "de" ] ;
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Keine Daten über diesen Patienten" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "HL7usageNotes" ] ;
       fhir:value [ fhir:v "Used only on queries" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "1441" ] ;
     fhir:code [ fhir:v "M" ] ;
     fhir:display [ fhir:v "Corrected, not final" ] ;
     fhir:definition [ fhir:v "A result under an order, that has not yet been finalized has been corrected" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "1442" ] ;
     fhir:code [ fhir:v "N" ] ;
     fhir:display [ fhir:v "Procedure completed, results pending" ] ;
     fhir:definition [ fhir:v "No result available; requested procedure done.  To indicate that a requested test is performed but results are pending/not yet available." ] ;
     fhir:property ( [
       fhir:code [ fhir:v "HL7usageNotes" ] ;
       fhir:value [ fhir:v "Transitions/Relationships: \nOBR-25  Valid preceding state (... to N): O, I, S.  Succeeding state (N to ...): P, A, R, F, X\nOBX-11  No OBX segments can be present where OBX-29 = RSLT" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] ) . # 

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

