@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-0387> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "v2-0387"] ; # 
  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-0387</b></p><a name=\"v2-0387\"> </a><a name=\"hcv2-0387\"> </a><a name=\"v2-0387-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><tr><td>V2 Concept Comment</td><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>V2 Concept Comment As Published</td><td>v2-concCommentAsPub</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concCommentAsPub</td><td>string</td><td>V2 Concept Comment As Published</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/v2-0387</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>V2 Concept Comment</b></td><td><b>V2 Concept Comment As Published</b></td></tr><tr><td style=\"white-space:nowrap\">OK<a name=\"v2-0387-OK\"> </a></td><td>Command completed successfully</td><td>Command completed successfully</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">TI<a name=\"v2-0387-TI\"> </a></td><td>Command cannot be completed within requested completion time</td><td>Command cannot be completed within requested completion time</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">ER<a name=\"v2-0387-ER\"> </a></td><td>Command cannot be completed because of error condition</td><td>Command cannot be completed because of error condition</td><td>See response parameters.</td><td>See response parameters.</td></tr><tr><td style=\"white-space:nowrap\">ST<a name=\"v2-0387-ST\"> </a></td><td>Command cannot be completed because of the status of the requested equipment</td><td>Command cannot be completed because of the status of the requested equipment</td><td/><td/></tr><tr><td style=\"white-space:nowrap\">UN<a name=\"v2-0387-UN\"> </a></td><td>Command cannot be completed for unknown reasons</td><td>Command cannot be completed for unknown reasons</td><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-0387"^^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.238" ]
  ] ) ; # 
  fhir:version [ fhir:v "2.0.0"] ; # 
  fhir:name [ fhir:v "CommandResponse"] ; # 
  fhir:title [ fhir:v "commandResponse"] ; # 
  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 "Code system of concepts identifying the response of the previously issued command.  Used in HL7 Version 2.x messaging in the Equipment Command Response (ECR) and Interaction Status Detail (ISD) segments."] ; # 
  fhir:purpose [ fhir:v "Underlying Master Code System for V2 table 0387 (Command Response)"] ; # 
  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:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:valueSet [
     fhir:v "http://terminology.hl7.org/ValueSet/v2-0387"^^xsd:anyURI ;
     fhir:link <http://terminology.hl7.org/ValueSet/v2-0387>
  ] ; # 
  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 "v2-concCommentAsPub" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v2-concCommentAsPub"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "V2 Concept Comment As Published" ] ;
     fhir:type [ fhir:v "string" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:id [ fhir:v "3853" ] ;
     fhir:code [ fhir:v "OK" ] ;
     fhir:display [ fhir:v "Command completed successfully" ] ;
     fhir:definition [ fhir:v "Command completed successfully" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3854" ] ;
     fhir:code [ fhir:v "TI" ] ;
     fhir:display [ fhir:v "Command cannot be completed within requested completion time" ] ;
     fhir:definition [ fhir:v "Command cannot be completed within requested completion time" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3855" ] ;
     fhir:code [ fhir:v "ER" ] ;
     fhir:display [ fhir:v "Command cannot be completed because of error condition" ] ;
     fhir:definition [ fhir:v "Command cannot be completed because of error condition" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "v2-concComment" ] ;
       fhir:value [ fhir:v "See response parameters." ]
     ] [
       fhir:code [ fhir:v "v2-concCommentAsPub" ] ;
       fhir:value [ fhir:v "See response parameters." ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3856" ] ;
     fhir:code [ fhir:v "ST" ] ;
     fhir:display [ fhir:v "Command cannot be completed because of the status of the requested equipment" ] ;
     fhir:definition [ fhir:v "Command cannot be completed because of the status of the requested equipment" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3857" ] ;
     fhir:code [ fhir:v "UN" ] ;
     fhir:display [ fhir:v "Command cannot be completed for unknown reasons" ] ;
     fhir:definition [ fhir:v "Command cannot be completed for unknown reasons" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] ) . # 

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

