@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://terminology.hl7.org/CodeSystem/discharge-disposition> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "discharge-disposition"] ; # 
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2024-04-24T00:00:00+00:00"^^xsd:dateTime ] ;
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/StructureDefinition/shareablecodesystem>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem discharge-disposition</b></p><a name=\"discharge-disposition\"> </a><a name=\"hcdischarge-disposition\"> </a><a name=\"discharge-disposition-en-US\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Last updated: 2024-04-24 00:00:00+0000</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"http://hl7.org/fhir/R5/shareablecodesystem.html\">Shareable CodeSystem</a></p></div><p>This case-sensitive 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-wg"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "pa"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:integer ;
       fhir:v "1"^^xsd:integer
     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/discharge-disposition"^^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.4.642.1.1093" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.1"] ; # 
  fhir:name [ fhir:v "DischargeDisposition"] ; # 
  fhir:title [ fhir:v "Discharge disposition"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2025-02-25T19:02:44+00:00"^^xsd:dateTime] ; # 
  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 "This value set defines a set of codes that can be used to where the patient left the hospital."] ; # 
  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/encounter-discharge-disposition"^^xsd:anyURI ;
     fhir:link <http://terminology.hl7.org/ValueSet/encounter-discharge-disposition>
  ] ; # 
  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." ]
  ] ) . # 

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

