@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

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

[] a fhir:CodeSystem ;
  fhir:id [ fhir:v "v2-0123"] ;
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ;
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "oo" ]
  ] ) ;
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0123"], [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0123"] ;
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.18.51" ]
  ] [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.18.51" ]
  ] ) ;
  fhir:version [ fhir:v "2.0.0"], [ fhir:v "2.0.0"] ;
  fhir:name [ fhir:v "ResultStatus"], [ fhir:v "ResultStatus"] ;
  fhir:title [ fhir:v "resultStatus"], [ fhir:v "resultStatus"] ;
  fhir:status [ fhir:v "active"], [ fhir:v "active"] ;
  fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ;
  fhir:date [ fhir:v "2019-12-01"], [ fhir:v "2019-12-01"] ;
  fhir:publisher [ fhir:v "Health Level Seven International"], [ 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: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: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: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.html"], [ 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.html"] ;
  fhir:caseSensitive [ fhir:v "true"] ;
  fhir:valueSet [ fhir:v "http://terminology.hl7.org/ValueSet/v2-0123"] ;
  fhir:hierarchyMeaning [ fhir:v "is-a"] ;
  fhir:compositional [ fhir:v "false"] ;
  fhir:versionNeeded [ fhir:v "false"] ;
  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" ] ;
     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" ] ;
     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" ] ;
     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" ] ;
     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" ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Auftrag erhalten - Probe steht noch aus" ]
     ] [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Order received; specimen not yet received" ]
     ] ) ;
     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" ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Keine Ergebnisse - Probe liegt vor, Untersuchung unvollständig" ]
     ] [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "No results available; specimen received, procedure incomplete" ]
     ] ) ;
     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" ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Keine Ergebnisse - Untersuchung eingeplant, aber noch nicht durchgeführt" ]
     ] [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "No results available; procedure scheduled, but not done" ]
     ] ) ;
     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" ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "einige, aber nicht alle Ergebnisse verfügbar" ]
     ] [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Some, but not all, results available" ]
     ] ) ;
     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" ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Vorläufig - Validiertes Zwischenergebnis liegt vor, aber noch keine endgültigen" ]
     ] [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Preliminary" ]
     ] ) ;
     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" ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "korrigiertes Ergebnis, final" ]
     ] [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Corrected, 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" ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Ergebnisse gespeichert, aber noch nicht validiert" ]
     ] [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Results stored; not yet verified" ]
     ] ) ;
     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" ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Endergebnis - Auftrag erledigt, Ergebnisse validiert" ]
     ] [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Final results" ]
     ] ) ;
     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" ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Keine Ergebnisse - Auftrag storniert" ]
     ] [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "No results available; Order canceled" ]
     ] ) ;
     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" ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Kein Auftrag zu dieser Untersuchung" ]
     ] [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "No order on record for this test" ]
     ] ) ;
     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" ] ;
         fhir:code [ fhir:v "preferredForLanguage" ]
       ] ;
       fhir:value [ fhir:v "Keine Daten über diesen Patienten" ]
     ] [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "No record of this patient" ]
     ] ) ;
     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:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Corrected, not final" ]
     ] ) ;
     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:designation ( [
       fhir:use [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/designation-usage" ] ;
         fhir:code [ fhir:v "display" ]
       ] ;
       fhir:value [ fhir:v "Procedure completed, results pending" ]
     ] ) ;
     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" ]
     ] )
  ] ) .

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

