@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-0734> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "v2-0734"] ; # 
  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-0734</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></tr><tr><td style=\"white-space:nowrap\">0<a name=\"v2-0734-0\"> </a></td><td>Normal grouping</td><td>Normal grouping</td></tr><tr><td style=\"white-space:nowrap\">1<a name=\"v2-0734-1\"> </a></td><td>Invalid or missing primary diagnosis</td><td>Invalid or missing primary diagnosis</td></tr><tr><td style=\"white-space:nowrap\">2<a name=\"v2-0734-2\"> </a></td><td>Diagnosis is not allowed to be primary</td><td>Diagnosis is not allowed to be primary</td></tr><tr><td style=\"white-space:nowrap\">3<a name=\"v2-0734-3\"> </a></td><td>Data does not fulfill DRG criteria</td><td>Data does not fulfill DRG criteria</td></tr><tr><td style=\"white-space:nowrap\">4<a name=\"v2-0734-4\"> </a></td><td>Invalid age, admission date, date of birth or discharge date</td><td>Invalid age, admission date, date of birth or discharge date</td></tr><tr><td style=\"white-space:nowrap\">5<a name=\"v2-0734-5\"> </a></td><td>Invalid gender</td><td>Invalid gender</td></tr><tr><td style=\"white-space:nowrap\">6<a name=\"v2-0734-6\"> </a></td><td>Invalid discharge status</td><td>Invalid discharge status</td></tr><tr><td style=\"white-space:nowrap\">7<a name=\"v2-0734-7\"> </a></td><td>Invalid weight ad admission</td><td>Invalid weight ad admission</td></tr><tr><td style=\"white-space:nowrap\">8<a name=\"v2-0734-8\"> </a></td><td>Invalid length of stay</td><td>Invalid length of stay</td></tr><tr><td style=\"white-space:nowrap\">9<a name=\"v2-0734-9\"> </a></td><td>Invalid field &quot;same day&quot;</td><td>Invalid field &quot;same day&quot;</td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "fm" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0734"^^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.393" ]
  ] ) ; # 
  fhir:version [ fhir:v "2.0.0"] ; # 
  fhir:name [ fhir:v "GrouperStatus"] ; # 
  fhir:title [ fhir:v "grouperStatus"] ; # 
  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 specifying the status of a grouper in general.  US Realm. Used in HL7 Version 2.x messaging in the DRG segment."] ; # 
  fhir:purpose [ fhir:v "Underlying Master Code System for V2 table 0734 (Grouper Status)"] ; # 
  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-0734"^^xsd:anyURI ;
     fhir:link <http://terminology.hl7.org/ValueSet/v2-0734>
  ] ; # 
  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 "6430" ] ;
     fhir:code [ fhir:v "0" ] ;
     fhir:display [ fhir:v "Normal grouping" ] ;
     fhir:definition [ fhir:v "Normal grouping" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6431" ] ;
     fhir:code [ fhir:v "1" ] ;
     fhir:display [ fhir:v "Invalid or missing primary diagnosis" ] ;
     fhir:definition [ fhir:v "Invalid or missing primary diagnosis" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6432" ] ;
     fhir:code [ fhir:v "2" ] ;
     fhir:display [ fhir:v "Diagnosis is not allowed to be primary" ] ;
     fhir:definition [ fhir:v "Diagnosis is not allowed to be primary" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6433" ] ;
     fhir:code [ fhir:v "3" ] ;
     fhir:display [ fhir:v "Data does not fulfill DRG criteria" ] ;
     fhir:definition [ fhir:v "Data does not fulfill DRG criteria" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6434" ] ;
     fhir:code [ fhir:v "4" ] ;
     fhir:display [ fhir:v "Invalid age, admission date, date of birth or discharge date" ] ;
     fhir:definition [ fhir:v "Invalid age, admission date, date of birth or discharge date" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6435" ] ;
     fhir:code [ fhir:v "5" ] ;
     fhir:display [ fhir:v "Invalid gender" ] ;
     fhir:definition [ fhir:v "Invalid gender" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6436" ] ;
     fhir:code [ fhir:v "6" ] ;
     fhir:display [ fhir:v "Invalid discharge status" ] ;
     fhir:definition [ fhir:v "Invalid discharge status" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6437" ] ;
     fhir:code [ fhir:v "7" ] ;
     fhir:display [ fhir:v "Invalid weight ad admission" ] ;
     fhir:definition [ fhir:v "Invalid weight ad admission" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6438" ] ;
     fhir:code [ fhir:v "8" ] ;
     fhir:display [ fhir:v "Invalid length of stay" ] ;
     fhir:definition [ fhir:v "Invalid length of stay" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] [
     fhir:id [ fhir:v "6439" ] ;
     fhir:code [ fhir:v "9" ] ;
     fhir:display [ fhir:v "Invalid field \"same day\"" ] ;
     fhir:definition [ fhir:v "Invalid field \"same day\"" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "A" ]
     ] )
  ] ) . # 

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

