@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-0365"];
  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-0365"];
  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.223" ]
  ];
  fhir:CodeSystem.version [ fhir:value "2.0.0"];
  fhir:CodeSystem.name [ fhir:value "EquipmentState"];
  fhir:CodeSystem.title [ fhir:value "equipmentState"];
  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 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:CodeSystem.purpose [ fhir:value "Underlying Master Code System for V2 table 0365 (Equipment State)"];
  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-0365"];
  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:CodeSystem.concept [
     fhir:index 0;
     fhir:Element.id [ fhir:value "3663" ];
     fhir:CodeSystem.code [ fhir:value "IN" ];
     fhir:CodeSystem.display [ fhir:value "Initializing" ];
     fhir:CodeSystem.definition [ fhir:value "Software is ready, hardware not yet" ];
     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 "3664" ];
     fhir:CodeSystem.code [ fhir:value "CO" ];
     fhir:CodeSystem.display [ fhir:value "Configuring" ];
     fhir:CodeSystem.definition [ fhir:value "Configuring" ];
     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 "3665" ];
     fhir:CodeSystem.code [ fhir:value "PU" ];
     fhir:CodeSystem.display [ fhir:value "Powered Up" ];
     fhir:CodeSystem.definition [ fhir:value "Software and hardware are not yet ready" ];
     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 "3666" ];
     fhir:CodeSystem.code [ fhir:value "RS" ];
     fhir:CodeSystem.display [ fhir:value "Ready to start" ];
     fhir:CodeSystem.definition [ fhir:value "Software and hardware are ready, but user action is required to start" ];
     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 "3667" ];
     fhir:CodeSystem.code [ fhir:value "ID" ];
     fhir:CodeSystem.display [ fhir:value "Idle" ];
     fhir:CodeSystem.definition [ fhir:value "Successfully started, new orders can be accepted, currently no orders are present" ];
     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 "3668" ];
     fhir:CodeSystem.code [ fhir:value "OP" ];
     fhir:CodeSystem.display [ fhir:value "Normal Operation" ];
     fhir:CodeSystem.definition [ fhir:value "Successfully started, new orders can be accepted" ];
     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 "3669" ];
     fhir:CodeSystem.code [ fhir:value "CL" ];
     fhir:CodeSystem.display [ fhir:value "Clearing" ];
     fhir:CodeSystem.definition [ fhir:value "Clearing" ];
     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 "3670" ];
     fhir:CodeSystem.code [ fhir:value "PA" ];
     fhir:CodeSystem.display [ fhir:value "Pausing" ];
     fhir:CodeSystem.definition [ fhir:value "Pausing" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 8;
     fhir:Element.id [ fhir:value "3671" ];
     fhir:CodeSystem.code [ fhir:value "PD" ];
     fhir:CodeSystem.display [ fhir:value "Paused" ];
     fhir:CodeSystem.definition [ fhir:value "User action is required to continue" ];
     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 "3672" ];
     fhir:CodeSystem.code [ fhir:value "ES" ];
     fhir:CodeSystem.display [ fhir:value "E-stopped" ];
     fhir:CodeSystem.definition [ fhir:value "Error, remaining orders can be finished, new orders cannot be accepted" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 10;
     fhir:Element.id [ fhir:value "3673" ];
     fhir:CodeSystem.code [ fhir:value "…" ];
     fhir:CodeSystem.display [ fhir:value "(null) No state change" ];
     fhir:CodeSystem.definition [ fhir:value "(null) No state change" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "deprecated" ];
       fhir:CodeSystem.value [ fhir:value "2.9" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "D" ]
     ]
  ], [
     fhir:index 11;
     fhir:Element.id [ fhir:value "3674" ];
     fhir:CodeSystem.code [ fhir:value "TS" ];
     fhir:CodeSystem.display [ fhir:value "Transport stopped" ];
     fhir:CodeSystem.definition [ fhir:value "Transport stopped" ];
     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 "3675" ];
     fhir:CodeSystem.code [ fhir:value "SS" ];
     fhir:CodeSystem.display [ fhir:value "Sampling stopped" ];
     fhir:CodeSystem.definition [ fhir:value "Sampling stopped" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 13;
     fhir:Element.id [ fhir:value "3676" ];
     fhir:CodeSystem.code [ fhir:value "SD" ];
     fhir:CodeSystem.display [ fhir:value "Shutting down" ];
     fhir:CodeSystem.definition [ fhir:value "Shutting down" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 14;
     fhir:Element.id [ fhir:value "3677" ];
     fhir:CodeSystem.code [ fhir:value "DI" ];
     fhir:CodeSystem.display [ fhir:value "Diagnose" ];
     fhir:CodeSystem.definition [ fhir:value "Diagnose" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 15;
     fhir:Element.id [ fhir:value "3678" ];
     fhir:CodeSystem.code [ fhir:value "..." ];
     fhir:CodeSystem.display [ fhir:value "(null) No state change" ];
     fhir:CodeSystem.definition [ fhir:value "(null) No state change" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "deprecated" ];
       fhir:CodeSystem.value [ fhir:value "2.9" ]
     ], [
       fhir:index 1;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "D" ]
     ]
  ], [
     fhir:index 16;
     fhir:Element.id [ fhir:value "3679" ];
     fhir:CodeSystem.code [ fhir:value "MA" ];
     fhir:CodeSystem.display [ fhir:value "Maintenance" ];
     fhir:CodeSystem.definition [ fhir:value "Maintenance" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 17;
     fhir:Element.id [ fhir:value "3680" ];
     fhir:CodeSystem.code [ fhir:value "FL" ];
     fhir:CodeSystem.display [ fhir:value "Failure" ];
     fhir:CodeSystem.definition [ fhir:value "Failure, remaining orders are aborted, new orders cannot be accepted" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 18;
     fhir:Element.id [ fhir:value "3681" ];
     fhir:CodeSystem.code [ fhir:value "UNK" ];
     fhir:CodeSystem.display [ fhir:value "Unknown" ];
     fhir:CodeSystem.definition [ fhir:value "Unknown" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ], [
     fhir:index 19;
     fhir:Element.id [ fhir:value "3682" ];
     fhir:CodeSystem.code [ fhir:value "LT" ];
     fhir:CodeSystem.display [ fhir:value "Limited test menu" ];
     fhir:CodeSystem.definition [ fhir:value "For diagnostic instruments: some test types are unavailable" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ] .

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

