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

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

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "v2-0123"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "oo" ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0123"];
  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.18.51" ]
  ];
  fhir:CodeSystem.version [ fhir:value "2.0.0"];
  fhir:CodeSystem.name [ fhir:value "ResultStatus"];
  fhir:CodeSystem.title [ fhir:value "resultStatus"];
  fhir:CodeSystem.status [ fhir:value "active"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2019-12-01"];
  fhir:CodeSystem.publisher [ fhir:value "Health Level Seven International"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org" ]
     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "hq@HL7.org" ]
     ]
  ];
  fhir:CodeSystem.description [ fhir:value "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:CodeSystem.purpose [ fhir:value "Underlying Master Code System for V2 table 0123 (Result Status)"];
  fhir:CodeSystem.copyright [ fhir:value "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:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/v2-0123"];
  fhir:CodeSystem.hierarchyMeaning [ fhir:value "is-a"];
  fhir:CodeSystem.compositional [ fhir:value "false"];
  fhir:CodeSystem.versionNeeded [ fhir:value "false"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.property [
     fhir:index 0;
     fhir:CodeSystem.code [ fhir:value "status" ];
     fhir:CodeSystem.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#status" ];
     fhir:CodeSystem.description [ fhir:value "Status of the concept" ];
     fhir:CodeSystem.type [ fhir:value "code" ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.code [ fhir:value "deprecated" ];
     fhir:CodeSystem.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-table-deprecated" ];
     fhir:CodeSystem.description [ fhir:value "Version of HL7 in which the code was deprecated" ];
     fhir:CodeSystem.type [ fhir:value "code" ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.code [ fhir:value "v2-concComment" ];
     fhir:CodeSystem.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concComment" ];
     fhir:CodeSystem.description [ fhir:value "V2 Concept Comment" ];
     fhir:CodeSystem.type [ fhir:value "string" ]
  ], [
     fhir:index 3;
     fhir:CodeSystem.code [ fhir:value "HL7usageNotes" ];
     fhir:CodeSystem.uri [ fhir:value "http://terminology.hl7.org/CodeSystem/utg-concept-properties#HL7usageNotes" ];
     fhir:CodeSystem.description [ fhir:value "HL7 Concept Usage Notes" ];
     fhir:CodeSystem.type [ fhir:value "string" ]
  ];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:Element.id [ fhir:value "1430" ];
     fhir:CodeSystem.code [ fhir:value "O" ];
     fhir:CodeSystem.display [ fhir:value "Order received; specimen not yet received" ];
     fhir:CodeSystem.definition [ fhir:value "Order received; specimen not yet received" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "Auftrag erhalten - Probe steht noch aus" ]
     ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 1;
     fhir:Element.id [ fhir:value "1431" ];
     fhir:CodeSystem.code [ fhir:value "I" ];
     fhir:CodeSystem.display [ fhir:value "No results available; specimen received, procedure incomplete" ];
     fhir:CodeSystem.definition [ fhir:value "No results available; specimen received, procedure incomplete" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "Keine Ergebnisse - Probe liegt vor, Untersuchung unvollständig" ]
     ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 2;
     fhir:Element.id [ fhir:value "1432" ];
     fhir:CodeSystem.code [ fhir:value "S" ];
     fhir:CodeSystem.display [ fhir:value "No results available; procedure scheduled, but not done" ];
     fhir:CodeSystem.definition [ fhir:value "No results available; procedure scheduled, but not done" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "Keine Ergebnisse - Untersuchung eingeplant, aber noch nicht durchgeführt" ]
     ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 3;
     fhir:Element.id [ fhir:value "1433" ];
     fhir:CodeSystem.code [ fhir:value "A" ];
     fhir:CodeSystem.display [ fhir:value "Some, but not all, results available" ];
     fhir:CodeSystem.definition [ fhir:value "Some, but not all, results available" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "einige, aber nicht alle Ergebnisse verfügbar" ]
     ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 4;
     fhir:Element.id [ fhir:value "1434" ];
     fhir:CodeSystem.code [ fhir:value "P" ];
     fhir:CodeSystem.display [ fhir:value "Preliminary" ];
     fhir:CodeSystem.definition [ fhir:value "A verified early result is available, final results not yet obtained" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "Vorläufig - Validiertes Zwischenergebnis liegt vor, aber noch keine endgültigen" ]
     ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 5;
     fhir:Element.id [ fhir:value "1435" ];
     fhir:CodeSystem.code [ fhir:value "C" ];
     fhir:CodeSystem.display [ fhir:value "Corrected, final" ];
     fhir:CodeSystem.definition [ fhir:value "A result under an order, that has been finalized has been corrected" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "korrigiertes Ergebnis, final" ]
     ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 6;
     fhir:Element.id [ fhir:value "1436" ];
     fhir:CodeSystem.code [ fhir:value "R" ];
     fhir:CodeSystem.display [ fhir:value "Results stored; not yet verified" ];
     fhir:CodeSystem.definition [ fhir:value "Results stored; not yet verified" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "Ergebnisse gespeichert, aber noch nicht validiert" ]
     ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 7;
     fhir:Element.id [ fhir:value "1437" ];
     fhir:CodeSystem.code [ fhir:value "F" ];
     fhir:CodeSystem.display [ fhir:value "Final results" ];
     fhir:CodeSystem.definition [ fhir:value "Final results; results stored and verified." ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "Endergebnis - Auftrag erledigt, Ergebnisse validiert" ]
     ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "v2-concComment" ];
       fhir:CodeSystem.value [ fhir:value "Can only be changed with a corrected result." ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 8;
     fhir:Element.id [ fhir:value "1438" ];
     fhir:CodeSystem.code [ fhir:value "X" ];
     fhir:CodeSystem.display [ fhir:value "No results available; Order canceled" ];
     fhir:CodeSystem.definition [ fhir:value "No results available; Order canceled." ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "Keine Ergebnisse - Auftrag storniert" ]
     ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 9;
     fhir:Element.id [ fhir:value "1439" ];
     fhir:CodeSystem.code [ fhir:value "Y" ];
     fhir:CodeSystem.display [ fhir:value "No order on record for this test" ];
     fhir:CodeSystem.definition [ fhir:value "No order on record for this test." ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "Kein Auftrag zu dieser Untersuchung" ]
     ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "HL7usageNotes" ];
       fhir:CodeSystem.value [ fhir:value "Used only on queries" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 10;
     fhir:Element.id [ fhir:value "1440" ];
     fhir:CodeSystem.code [ fhir:value "Z" ];
     fhir:CodeSystem.display [ fhir:value "No record of this patient" ];
     fhir:CodeSystem.definition [ fhir:value "No record of this patient." ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "Keine Daten über diesen Patienten" ]
     ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "HL7usageNotes" ];
       fhir:CodeSystem.value [ fhir:value "Used only on queries" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 11;
     fhir:Element.id [ fhir:value "1441" ];
     fhir:CodeSystem.code [ fhir:value "M" ];
     fhir:CodeSystem.display [ fhir:value "Corrected, not final" ];
     fhir:CodeSystem.definition [ fhir:value "A result under an order, that has not yet been finalized has been corrected" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 12;
     fhir:Element.id [ fhir:value "1442" ];
     fhir:CodeSystem.code [ fhir:value "N" ];
     fhir:CodeSystem.display [ fhir:value "Procedure completed, results pending" ];
     fhir:CodeSystem.definition [ fhir:value "No result available; requested procedure done.  To indicate that a requested test is performed but results are pending/not yet available." ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "HL7usageNotes" ];
       fhir:CodeSystem.value [ fhir:value "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:index 1;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ] .

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

