@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/4.3/CodeSystem/ex-diagnosis-on-admission> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ex-diagnosis-on-admission"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n            <p>This code system http://terminology.hl7.org/CodeSystem/ex-diagnosis-on-admission defines the following codes:</p>\n            <table class=\"codes\">\n              <tr>\n                <td style=\"white-space:nowrap\">\n                  <b>Code</b>\n                </td>\n                <td>\n                  <b>Display</b>\n                </td>\n                <td>\n                  <b>Definition</b>\n                </td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">y\n                  <a name=\"ex-diagnosis-on-admission-y\"> </a>\n                </td>\n                <td>Yes</td>\n                <td>Diagnosis was present at time of inpatient admission.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">n\n                  <a name=\"ex-diagnosis-on-admission-n\"> </a>\n                </td>\n                <td>No</td>\n                <td>Diagnosis was not present at time of inpatient admission.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">u\n                  <a name=\"ex-diagnosis-on-admission-u\"> </a>\n                </td>\n                <td>Unknown</td>\n                <td>Documentation insufficient to determine if condition was present at the time of inpatient admission.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">w\n                  <a name=\"ex-diagnosis-on-admission-w\"> </a>\n                </td>\n                <td>Undetermined</td>\n                <td>Clinically undetermined. Provider unable to clinically determine whether the condition was present at the time of inpatient admission.</td>\n              </tr>\n            </table>\n          </div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [ fhir:v "packageId"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:id ;
         fhir:v "hl7.fhir.uv.xver-r4b.r5"
       ]
     ] [
       fhir:url [ fhir:v "version"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "0.0.1-snapshot-2"
       ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "fm"
     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/ex-diagnosis-on-admission"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "4.3.0"] ; # 
  fhir:name [ fhir:v "ExampleDiagnosisOnAdmissionCodes"] ; # 
  fhir:title [ fhir:v "Example Diagnosis on Admission Codes"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2025-09-13T16:46:03-04:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Financial Management"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Financial Management" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fm" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This value set includes example Diagnosis on admission codes."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:copyright [ fhir:v "These codes have been appropriated from the [UB04 code set](http://www.nubc.org/) owned and managed by the [AHA](http://www.aha.org/). Users require a [license from the AHA](http://www.nubc.org/licensing/index.dhtml) in order to use these codes. **Note: the codes have been withdrawn in a later version**"] ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "y" ] ;
     fhir:display [ fhir:v "Yes" ] ;
     fhir:definition [ fhir:v "Diagnosis was present at time of inpatient admission." ]
  ] [
     fhir:code [ fhir:v "n" ] ;
     fhir:display [ fhir:v "No" ] ;
     fhir:definition [ fhir:v "Diagnosis was not present at time of inpatient admission." ]
  ] [
     fhir:code [ fhir:v "u" ] ;
     fhir:display [ fhir:v "Unknown" ] ;
     fhir:definition [ fhir:v "Documentation insufficient to determine if condition was present at the time of inpatient admission." ]
  ] [
     fhir:code [ fhir:v "w" ] ;
     fhir:display [ fhir:v "Undetermined" ] ;
     fhir:definition [ fhir:v "Clinically undetermined. Provider unable to clinically determine whether the condition was present at the time of inpatient admission." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

