@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-0038> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "v2-0038"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem v2-0038</b></p><a name=\"v2-0038\"> </a><a name=\"hcv2-0038\"> </a><a name=\"v2-0038-en-US\"> </a><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>status</td><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>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></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/v2-0038</code> defines the following codes in a Is-A hierarchy:</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>Deutsch (German, de)</b></td></tr><tr><td style=\"white-space:nowrap\">A<a name=\"v2-0038-A\"> </a></td><td>Some, but not all, results available</td><td>Some, but not all, results available</td><td>einige, aber nicht alle, Resultate verfügbar</td></tr><tr><td style=\"white-space:nowrap\">CA<a name=\"v2-0038-CA\"> </a></td><td>Order was canceled</td><td>Order was canceled</td><td>Auftrag storniert</td></tr><tr><td style=\"white-space:nowrap\">CM<a name=\"v2-0038-CM\"> </a></td><td>Order is completed</td><td>Order is completed</td><td>Auftrag ausgeführt</td></tr><tr><td style=\"white-space:nowrap\">DC<a name=\"v2-0038-DC\"> </a></td><td>Order was discontinued</td><td>Order was discontinued</td><td>Ausführung des Auftrags abgebrochen</td></tr><tr><td style=\"white-space:nowrap\">ER<a name=\"v2-0038-ER\"> </a></td><td>Error, order not found</td><td>Error, order not found</td><td>Auftrag nicht gefunden</td></tr><tr><td style=\"white-space:nowrap\">HD<a name=\"v2-0038-HD\"> </a></td><td>Order is on hold</td><td>Order is on hold</td><td>Auftragsbearbeitung ausgesetzt</td></tr><tr><td style=\"white-space:nowrap\">IP<a name=\"v2-0038-IP\"> </a></td><td>In process, unspecified</td><td>In process, unspecified</td><td>Auftrag in Bearbeitung</td></tr><tr><td style=\"white-space:nowrap\">RP<a name=\"v2-0038-RP\"> </a></td><td>Order has been replaced</td><td>Order has been replaced</td><td>Auftrag ist ersetzt worden</td></tr><tr><td style=\"white-space:nowrap\">SC<a name=\"v2-0038-SC\"> </a></td><td>In process, scheduled</td><td>In process, scheduled</td><td>Auftrag hat Termin oder ist in Ausführung</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-0038"^^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.18" ]
  ] ) ; # 
  fhir:version [ fhir:v "2.0.0"] ; # 
  fhir:name [ fhir:v "OrderStatus"] ; # 
  fhir:title [ fhir:v "orderStatus"] ; # 
  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 specifying the status of an order. The purpose of these values are to report the status of an order either upon request (solicited), or when the status changes (unsolicited). The values are not intended to initiate action.  It is assumed that the order status value always reflects the status as it is known to the sending application at the time that a message is sent.  Only the filler can originate these values.  Used in HL7 Version 2.x messaging in the ORC segment."] ; # 
  fhir:purpose [ fhir:v "Underlying Master Code System for V2 table 0038 (Order 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-0038"^^xsd:anyURI ;
     fhir:link <http://terminology.hl7.org/ValueSet/v2-0038>
  ] ; # 
  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:concept ( [
     fhir:id [ fhir:v "721" ] ;
     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, Resultate verfügbar" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "722" ] ;
     fhir:code [ fhir:v "CA" ] ;
     fhir:display [ fhir:v "Order was canceled" ] ;
     fhir:definition [ fhir:v "Order was 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 "Auftrag storniert" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "723" ] ;
     fhir:code [ fhir:v "CM" ] ;
     fhir:display [ fhir:v "Order is completed" ] ;
     fhir:definition [ fhir:v "Order is completed" ] ;
     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 ausgeführt" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "724" ] ;
     fhir:code [ fhir:v "DC" ] ;
     fhir:display [ fhir:v "Order was discontinued" ] ;
     fhir:definition [ fhir:v "Order was discontinued" ] ;
     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 "Ausführung des Auftrags abgebrochen" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "725" ] ;
     fhir:code [ fhir:v "ER" ] ;
     fhir:display [ fhir:v "Error, order not found" ] ;
     fhir:definition [ fhir:v "Error, order not found" ] ;
     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 nicht gefunden" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "726" ] ;
     fhir:code [ fhir:v "HD" ] ;
     fhir:display [ fhir:v "Order is on hold" ] ;
     fhir:definition [ fhir:v "Order is on hold" ] ;
     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 "Auftragsbearbeitung ausgesetzt" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "727" ] ;
     fhir:code [ fhir:v "IP" ] ;
     fhir:display [ fhir:v "In process, unspecified" ] ;
     fhir:definition [ fhir:v "In process, unspecified" ] ;
     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 in Bearbeitung" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "728" ] ;
     fhir:code [ fhir:v "RP" ] ;
     fhir:display [ fhir:v "Order has been replaced" ] ;
     fhir:definition [ fhir:v "Order has been replaced" ] ;
     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 ist ersetzt worden" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "729" ] ;
     fhir:code [ fhir:v "SC" ] ;
     fhir:display [ fhir:v "In process, scheduled" ] ;
     fhir:definition [ fhir:v "In process, scheduled" ] ;
     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 hat Termin oder ist in Ausführung" ]
     ] ) ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] ) . # 

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

