@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-0383"];
  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-0383"];
  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.236" ]
  ];
  fhir:CodeSystem.version [ fhir:value "2.0.0"];
  fhir:CodeSystem.name [ fhir:value "SubstanceStatus"];
  fhir:CodeSystem.title [ fhir:value "substanceStatus"];
  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 identifying the status of the inventoried item.  The status indicates the current status of the substance.  Used in HL7 Version 2.x messaging in the Inventory Detail (INV) segment."];
  fhir:CodeSystem.purpose [ fhir:value "Underlying Master Code System for V2 table 0383 (Substance 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-0383"];
  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 "3830" ];
     fhir:CodeSystem.code [ fhir:value "EW" ];
     fhir:CodeSystem.display [ fhir:value "Expired Warning" ];
     fhir:CodeSystem.definition [ fhir:value "Expired Warning" ];
     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 "3831" ];
     fhir:CodeSystem.code [ fhir:value "EE" ];
     fhir:CodeSystem.display [ fhir:value "Expired Error" ];
     fhir:CodeSystem.definition [ fhir:value "Expired Error" ];
     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 "3832" ];
     fhir:CodeSystem.code [ fhir:value "CW" ];
     fhir:CodeSystem.display [ fhir:value "Calibration Warning" ];
     fhir:CodeSystem.definition [ fhir:value "Calibration Warning" ];
     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 "3833" ];
     fhir:CodeSystem.code [ fhir:value "CE" ];
     fhir:CodeSystem.display [ fhir:value "Calibration Error" ];
     fhir:CodeSystem.definition [ fhir:value "Calibration Error" ];
     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 "3834" ];
     fhir:CodeSystem.code [ fhir:value "QW" ];
     fhir:CodeSystem.display [ fhir:value "QC Warning" ];
     fhir:CodeSystem.definition [ fhir:value "QC Warning" ];
     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 "3835" ];
     fhir:CodeSystem.code [ fhir:value "QE" ];
     fhir:CodeSystem.display [ fhir:value "QC Error" ];
     fhir:CodeSystem.definition [ fhir:value "QC Error" ];
     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 "3836" ];
     fhir:CodeSystem.code [ fhir:value "NW" ];
     fhir:CodeSystem.display [ fhir:value "Not Available Warning" ];
     fhir:CodeSystem.definition [ fhir:value "Not Available Warning" ];
     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 "3837" ];
     fhir:CodeSystem.code [ fhir:value "NE" ];
     fhir:CodeSystem.display [ fhir:value "Not Available Error" ];
     fhir:CodeSystem.definition [ fhir:value "Not Available Error" ];
     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 "3838" ];
     fhir:CodeSystem.code [ fhir:value "OW" ];
     fhir:CodeSystem.display [ fhir:value "Other Warning" ];
     fhir:CodeSystem.definition [ fhir:value "Other Warning" ];
     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 "3839" ];
     fhir:CodeSystem.code [ fhir:value "OE" ];
     fhir:CodeSystem.display [ fhir:value "Other Error" ];
     fhir:CodeSystem.definition [ fhir:value "Other Error" ];
     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 "3840" ];
     fhir:CodeSystem.code [ fhir:value "OK" ];
     fhir:CodeSystem.display [ fhir:value "OK Status" ];
     fhir:CodeSystem.definition [ fhir:value "OK Status" ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ] .

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

