@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/uv/xver/CodeSystem/discharge-disposition> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "discharge-disposition"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This code system <code>http://terminology.hl7.org/CodeSystem/discharge-disposition</code> defines the following codes:</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\">home<a name=\"discharge-disposition-home\"> </a></td><td>Home</td><td>The patient was dicharged and has indicated that they are going to return home afterwards.</td></tr><tr><td style=\"white-space:nowrap\">alt-home<a name=\"discharge-disposition-alt-home\"> </a></td><td>Alternative home</td><td>The patient was discharged and has indicated that they are going to return home afterwards, but not the patient's home - e.g. a family member's home.</td></tr><tr><td style=\"white-space:nowrap\">other-hcf<a name=\"discharge-disposition-other-hcf\"> </a></td><td>Other healthcare facility</td><td>The patient was transferred to another healthcare facility.</td></tr><tr><td style=\"white-space:nowrap\">hosp<a name=\"discharge-disposition-hosp\"> </a></td><td>Hospice</td><td>The patient has been discharged into palliative care.</td></tr><tr><td style=\"white-space:nowrap\">long<a name=\"discharge-disposition-long\"> </a></td><td>Long-term care</td><td>The patient has been discharged into long-term care where is likely to be monitored through an ongoing episode-of-care.</td></tr><tr><td style=\"white-space:nowrap\">aadvice<a name=\"discharge-disposition-aadvice\"> </a></td><td>Left against advice</td><td>The patient self discharged against medical advice.</td></tr><tr><td style=\"white-space:nowrap\">exp<a name=\"discharge-disposition-exp\"> </a></td><td>Expired</td><td>The patient has deceased during this encounter.</td></tr><tr><td style=\"white-space:nowrap\">psy<a name=\"discharge-disposition-psy\"> </a></td><td>Psychiatric hospital</td><td>The patient has been transferred to a psychiatric facility.</td></tr><tr><td style=\"white-space:nowrap\">rehab<a name=\"discharge-disposition-rehab\"> </a></td><td>Rehabilitation</td><td>The patient was discharged and is to receive post acute care rehabilitation services.</td></tr><tr><td style=\"white-space:nowrap\">snf<a name=\"discharge-disposition-snf\"> </a></td><td>Skilled nursing facility</td><td>The patient has been discharged to a skilled nursing facility for the patient to receive additional care.</td></tr><tr><td style=\"white-space:nowrap\">oth<a name=\"discharge-disposition-oth\"> </a></td><td>Other</td><td>The discharge disposition has not otherwise defined.</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 1
     ]
  ] [
     fhir:extension ( [
       fhir:url [
         fhir:v "packageId"^^xsd:anyURI ;
         fhir:l fhir:packageId
       ] ;
       fhir:value [
         a fhir:Id ;
         fhir:v "hl7.fhir.uv.xver-r5.r4"
       ]
     ] [
       fhir:url [
         fhir:v "version"^^xsd:anyURI ;
         fhir:l fhir:version
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "0.1.0"
       ]
     ] [
       fhir:url [
         fhir:v "uri"^^xsd:anyURI ;
         fhir:l fhir:uri
       ] ;
       fhir:value [
         a fhir:Uri ;
         fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r5.r4>
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/package-source>
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-wg>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "pa"
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://terminology.hl7.org/CodeSystem/discharge-disposition"^^xsd:anyURI ;
     fhir:l <http://terminology.hl7.org/CodeSystem/discharge-disposition>
  ] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "DischargeDisposition"] ; # 
  fhir:title [ fhir:v "Discharge disposition"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2023-02-25T12:07:30-06:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Patient Administration"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Patient Administration" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/pafm" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This value set defines a set of codes that can be used to where the patient left the hospital."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ;
         fhir:l <http://unstats.un.org/unsd/methods/m49/m49.htm>
       ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://terminology.hl7.org/ValueSet/encounter-discharge-disposition|1.0.1"^^xsd:anyURI ;
     fhir:l <http://terminology.hl7.org/ValueSet/encounter-discharge-disposition?version=1.0.1>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "home" ] ;
     fhir:display [ fhir:v "Home" ] ;
     fhir:definition [ fhir:v "The patient was dicharged and has indicated that they are going to return home afterwards." ]
  ] [
     fhir:code [ fhir:v "alt-home" ] ;
     fhir:display [ fhir:v "Alternative home" ] ;
     fhir:definition [ fhir:v "The patient was discharged and has indicated that they are going to return home afterwards, but not the patient's home - e.g. a family member's home." ]
  ] [
     fhir:code [ fhir:v "other-hcf" ] ;
     fhir:display [ fhir:v "Other healthcare facility" ] ;
     fhir:definition [ fhir:v "The patient was transferred to another healthcare facility." ]
  ] [
     fhir:code [ fhir:v "hosp" ] ;
     fhir:display [ fhir:v "Hospice" ] ;
     fhir:definition [ fhir:v "The patient has been discharged into palliative care." ]
  ] [
     fhir:code [ fhir:v "long" ] ;
     fhir:display [ fhir:v "Long-term care" ] ;
     fhir:definition [ fhir:v "The patient has been discharged into long-term care where is likely to be monitored through an ongoing episode-of-care." ]
  ] [
     fhir:code [ fhir:v "aadvice" ] ;
     fhir:display [ fhir:v "Left against advice" ] ;
     fhir:definition [ fhir:v "The patient self discharged against medical advice." ]
  ] [
     fhir:code [ fhir:v "exp" ] ;
     fhir:display [ fhir:v "Expired" ] ;
     fhir:definition [ fhir:v "The patient has deceased during this encounter." ]
  ] [
     fhir:code [ fhir:v "psy" ] ;
     fhir:display [ fhir:v "Psychiatric hospital" ] ;
     fhir:definition [ fhir:v "The patient has been transferred to a psychiatric facility." ]
  ] [
     fhir:code [ fhir:v "rehab" ] ;
     fhir:display [ fhir:v "Rehabilitation" ] ;
     fhir:definition [ fhir:v "The patient was discharged and is to receive post acute care rehabilitation services." ]
  ] [
     fhir:code [ fhir:v "snf" ] ;
     fhir:display [ fhir:v "Skilled nursing facility" ] ;
     fhir:definition [ fhir:v "The patient has been discharged to a skilled nursing facility for the patient to receive additional care." ]
  ] [
     fhir:code [ fhir:v "oth" ] ;
     fhir:display [ fhir:v "Other" ] ;
     fhir:definition [ fhir:v "The discharge disposition has not otherwise defined." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

