@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-0116"];
  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 "inm" ]
  ], [
     fhir:index 1;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "pa" ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0116"];
  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.47" ]
  ];
  fhir:CodeSystem.version [ fhir:value "2.0.0"];
  fhir:CodeSystem.name [ fhir:value "BedStatus"];
  fhir:CodeSystem.title [ fhir:value "bedStatus"];
  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 "Code system of concepts which specify the state of a bed in an inpatient setting, and is used to determine if a patient may be assigned to it or not.  Used in HL7 Version 2.x messaging in the DLD and PV1 segments."];
  fhir:CodeSystem.purpose [ fhir:value "Underlying Master Code System for V2 table 0116 (Bed 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-0116"];
  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 "1352" ];
     fhir:CodeSystem.code [ fhir:value "C" ];
     fhir:CodeSystem.display [ fhir:value "Closed" ];
     fhir:CodeSystem.definition [ fhir:value "Closed" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "Nicht verfügbar" ]
     ];
     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 "1353" ];
     fhir:CodeSystem.code [ fhir:value "H" ];
     fhir:CodeSystem.display [ fhir:value "Housekeeping" ];
     fhir:CodeSystem.definition [ fhir:value "Housekeeping" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "Reinigung" ]
     ];
     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 "1354" ];
     fhir:CodeSystem.code [ fhir:value "O" ];
     fhir:CodeSystem.display [ fhir:value "Occupied" ];
     fhir:CodeSystem.definition [ fhir:value "Occupied" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "belegt" ]
     ];
     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 "1355" ];
     fhir:CodeSystem.code [ fhir:value "U" ];
     fhir:CodeSystem.display [ fhir:value "Unoccupied" ];
     fhir:CodeSystem.definition [ fhir:value "Unoccupied" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "Frei" ]
     ];
     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 "1356" ];
     fhir:CodeSystem.code [ fhir:value "K" ];
     fhir:CodeSystem.display [ fhir:value "Contaminated" ];
     fhir:CodeSystem.definition [ fhir:value "Contaminated" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "Kontaminiert" ]
     ];
     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 "1357" ];
     fhir:CodeSystem.code [ fhir:value "I" ];
     fhir:CodeSystem.display [ fhir:value "Isolated" ];
     fhir:CodeSystem.definition [ fhir:value "Isolated" ];
     fhir:CodeSystem.designation [
       fhir:index 0;
       fhir:CodeSystem.language [ fhir:value "de" ];
       fhir:CodeSystem.use [
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/hl7TermMaintInfra" ];
         fhir:Coding.code [ fhir:value "preferredForLanguage" ]
       ];
       fhir:CodeSystem.value [ fhir:value "Isoliert" ]
     ];
     fhir:CodeSystem.property [
       fhir:index 0;
       fhir:CodeSystem.code [ fhir:value "status" ];
       fhir:CodeSystem.value [ fhir:value "A" ]
     ]
  ] .

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

