@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-0365> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "v2-0365"] ; # 
  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></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/v2-0365</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>deprecated</b></td></tr><tr><td style=\"white-space:nowrap\">IN<a name=\"v2-0365-IN\"> </a></td><td>Initializing</td><td>Software is ready, hardware not yet</td><td/></tr><tr><td style=\"white-space:nowrap\">CO<a name=\"v2-0365-CO\"> </a></td><td>Configuring</td><td>Configuring</td><td/></tr><tr><td style=\"white-space:nowrap\">PU<a name=\"v2-0365-PU\"> </a></td><td>Powered Up</td><td>Software and hardware are not yet ready</td><td/></tr><tr><td style=\"white-space:nowrap\">RS<a name=\"v2-0365-RS\"> </a></td><td>Ready to start</td><td>Software and hardware are ready, but user action is required to start</td><td/></tr><tr><td style=\"white-space:nowrap\">ID<a name=\"v2-0365-ID\"> </a></td><td>Idle</td><td>Successfully started, new orders can be accepted, currently no orders are present</td><td/></tr><tr><td style=\"white-space:nowrap\">OP<a name=\"v2-0365-OP\"> </a></td><td>Normal Operation</td><td>Successfully started, new orders can be accepted</td><td/></tr><tr><td style=\"white-space:nowrap\">CL<a name=\"v2-0365-CL\"> </a></td><td>Clearing</td><td>Clearing</td><td/></tr><tr><td style=\"white-space:nowrap\">PA<a name=\"v2-0365-PA\"> </a></td><td>Pausing</td><td>Pausing</td><td/></tr><tr><td style=\"white-space:nowrap\">PD<a name=\"v2-0365-PD\"> </a></td><td>Paused</td><td>User action is required to continue</td><td/></tr><tr><td style=\"white-space:nowrap\">ES<a name=\"v2-0365-ES\"> </a></td><td>E-stopped</td><td>Error, remaining orders can be finished, new orders cannot be accepted</td><td/></tr><tr><td style=\"white-space:nowrap\">…<a name=\"v2-0365-.8230\"> </a></td><td>(null) No state change</td><td>(null) No state change</td><td>2.9</td></tr><tr><td style=\"white-space:nowrap\">TS<a name=\"v2-0365-TS\"> </a></td><td>Transport stopped</td><td>Transport stopped</td><td/></tr><tr><td style=\"white-space:nowrap\">SS<a name=\"v2-0365-SS\"> </a></td><td>Sampling stopped</td><td>Sampling stopped</td><td/></tr><tr><td style=\"white-space:nowrap\">SD<a name=\"v2-0365-SD\"> </a></td><td>Shutting down</td><td>Shutting down</td><td/></tr><tr><td style=\"white-space:nowrap\">DI<a name=\"v2-0365-DI\"> </a></td><td>Diagnose</td><td>Diagnose</td><td/></tr><tr><td style=\"white-space:nowrap\">...<a name=\"v2-0365-.46.46.46\"> </a></td><td>(null) No state change</td><td>(null) No state change</td><td>2.9</td></tr><tr><td style=\"white-space:nowrap\">MA<a name=\"v2-0365-MA\"> </a></td><td>Maintenance</td><td>Maintenance</td><td/></tr><tr><td style=\"white-space:nowrap\">FL<a name=\"v2-0365-FL\"> </a></td><td>Failure</td><td>Failure, remaining orders are aborted, new orders cannot be accepted</td><td/></tr><tr><td style=\"white-space:nowrap\">UNK<a name=\"v2-0365-UNK\"> </a></td><td>Unknown</td><td>Unknown</td><td/></tr><tr><td style=\"white-space:nowrap\">LT<a name=\"v2-0365-LT\"> </a></td><td>Limited test menu</td><td>For diagnostic instruments: some test types are unavailable</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-0365"^^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.223" ]
  ] ) ; # 
  fhir:version [ fhir:v "2.0.0"] ; # 
  fhir:name [ fhir:v "EquipmentState"] ; # 
  fhir:title [ fhir:v "equipmentState"] ; # 
  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 that identify the status the equipment was in at the time the transaction was initiated.  Used in HL7 Version 2.x messaging in the EQU segment."] ; # 
  fhir:purpose [ fhir:v "Underlying Master Code System for V2 table 0365 (Equipment State)"] ; # 
  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-0365"^^xsd:anyURI ;
     fhir:link <http://terminology.hl7.org/ValueSet/v2-0365>
  ] ; # 
  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 "3663" ] ;
     fhir:code [ fhir:v "IN" ] ;
     fhir:display [ fhir:v "Initializing" ] ;
     fhir:definition [ fhir:v "Software is ready, hardware not yet" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3664" ] ;
     fhir:code [ fhir:v "CO" ] ;
     fhir:display [ fhir:v "Configuring" ] ;
     fhir:definition [ fhir:v "Configuring" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3665" ] ;
     fhir:code [ fhir:v "PU" ] ;
     fhir:display [ fhir:v "Powered Up" ] ;
     fhir:definition [ fhir:v "Software and hardware are not yet ready" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3666" ] ;
     fhir:code [ fhir:v "RS" ] ;
     fhir:display [ fhir:v "Ready to start" ] ;
     fhir:definition [ fhir:v "Software and hardware are ready, but user action is required to start" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3667" ] ;
     fhir:code [ fhir:v "ID" ] ;
     fhir:display [ fhir:v "Idle" ] ;
     fhir:definition [ fhir:v "Successfully started, new orders can be accepted, currently no orders are present" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3668" ] ;
     fhir:code [ fhir:v "OP" ] ;
     fhir:display [ fhir:v "Normal Operation" ] ;
     fhir:definition [ fhir:v "Successfully started, new orders can be accepted" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3669" ] ;
     fhir:code [ fhir:v "CL" ] ;
     fhir:display [ fhir:v "Clearing" ] ;
     fhir:definition [ fhir:v "Clearing" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3670" ] ;
     fhir:code [ fhir:v "PA" ] ;
     fhir:display [ fhir:v "Pausing" ] ;
     fhir:definition [ fhir:v "Pausing" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3671" ] ;
     fhir:code [ fhir:v "PD" ] ;
     fhir:display [ fhir:v "Paused" ] ;
     fhir:definition [ fhir:v "User action is required to continue" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3672" ] ;
     fhir:code [ fhir:v "ES" ] ;
     fhir:display [ fhir:v "E-stopped" ] ;
     fhir:definition [ fhir:v "Error, remaining orders can be finished, new orders cannot be accepted" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3673" ] ;
     fhir:code [ fhir:v "…" ] ;
     fhir:display [ fhir:v "(null) No state change" ] ;
     fhir:definition [ fhir:v "(null) No state change" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "deprecated" ] ;
       fhir:value [ fhir:v "2.9" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "D" ]
     ] )
  ] [
     fhir:id [ fhir:v "3674" ] ;
     fhir:code [ fhir:v "TS" ] ;
     fhir:display [ fhir:v "Transport stopped" ] ;
     fhir:definition [ fhir:v "Transport stopped" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3675" ] ;
     fhir:code [ fhir:v "SS" ] ;
     fhir:display [ fhir:v "Sampling stopped" ] ;
     fhir:definition [ fhir:v "Sampling stopped" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3676" ] ;
     fhir:code [ fhir:v "SD" ] ;
     fhir:display [ fhir:v "Shutting down" ] ;
     fhir:definition [ fhir:v "Shutting down" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3677" ] ;
     fhir:code [ fhir:v "DI" ] ;
     fhir:display [ fhir:v "Diagnose" ] ;
     fhir:definition [ fhir:v "Diagnose" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3678" ] ;
     fhir:code [ fhir:v "..." ] ;
     fhir:display [ fhir:v "(null) No state change" ] ;
     fhir:definition [ fhir:v "(null) No state change" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "deprecated" ] ;
       fhir:value [ fhir:v "2.9" ]
     ] [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "D" ]
     ] )
  ] [
     fhir:id [ fhir:v "3679" ] ;
     fhir:code [ fhir:v "MA" ] ;
     fhir:display [ fhir:v "Maintenance" ] ;
     fhir:definition [ fhir:v "Maintenance" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3680" ] ;
     fhir:code [ fhir:v "FL" ] ;
     fhir:display [ fhir:v "Failure" ] ;
     fhir:definition [ fhir:v "Failure, remaining orders are aborted, new orders cannot be accepted" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3681" ] ;
     fhir:code [ fhir:v "UNK" ] ;
     fhir:display [ fhir:v "Unknown" ] ;
     fhir:definition [ fhir:v "Unknown" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "3682" ] ;
     fhir:code [ fhir:v "LT" ] ;
     fhir:display [ fhir:v "Limited test menu" ] ;
     fhir:definition [ fhir:v "For diagnostic instruments: some test types are unavailable" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] ) . # 

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

