@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/admit-source> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "admit-source"] ; # 
  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>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/admit-source</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\">hosp-trans<a name=\"admit-source-hosp-trans\"> </a></td><td>Transferred from other hospital</td><td>The Patient has been transferred from another hospital for this encounter.</td></tr><tr><td style=\"white-space:nowrap\">emd<a name=\"admit-source-emd\"> </a></td><td>From accident/emergency department</td><td>The patient has been transferred from the emergency department within the hospital. This is typically used in the transition to an inpatient encounter</td></tr><tr><td style=\"white-space:nowrap\">outp<a name=\"admit-source-outp\"> </a></td><td>From outpatient department</td><td>The patient has been transferred from an outpatient department within the hospital.</td></tr><tr><td style=\"white-space:nowrap\">born<a name=\"admit-source-born\"> </a></td><td>Born in hospital</td><td>The patient is a newborn and the encounter will track the baby related activities (as opposed to the Mothers encounter - that may be associated using the newborn encounters partof property)</td></tr><tr><td style=\"white-space:nowrap\">gp<a name=\"admit-source-gp\"> </a></td><td>General Practitioner referral</td><td>The patient has been admitted due to a referred from a General Practitioner.</td></tr><tr><td style=\"white-space:nowrap\">mp<a name=\"admit-source-mp\"> </a></td><td>Medical Practitioner/physician referral</td><td>The patient has been admitted due to a referred from a Specialist (as opposed to a General Practitioner).</td></tr><tr><td style=\"white-space:nowrap\">nursing<a name=\"admit-source-nursing\"> </a></td><td>From nursing home</td><td>The patient has been transferred from a nursing home.</td></tr><tr><td style=\"white-space:nowrap\">psych<a name=\"admit-source-psych\"> </a></td><td>From psychiatric hospital</td><td>The patient has been transferred from a psychiatric facility.</td></tr><tr><td style=\"white-space:nowrap\">rehab<a name=\"admit-source-rehab\"> </a></td><td>From rehabilitation facility</td><td>The patient has been transferred from a rehabilitation facility or clinic.</td></tr><tr><td style=\"white-space:nowrap\">other<a name=\"admit-source-other\"> </a></td><td>Other</td><td>The patient has been admitted from a source otherwise not specified here.</td></tr></table></div>"
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "pa" ]
  ] ) ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/admit-source"^^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.1092" ]
  ] ) ; # 
  fhir:version [ fhir:v "1.0.1"] ; # 
  fhir:name [ fhir:v "AdmitSource"] ; # 
  fhir:title [ fhir:v "Admit source"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2024-04-26T19:30:18+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 indicate from where the patient came in."] ; # 
  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-admit-source"^^xsd:anyURI ;
     fhir:link <http://terminology.hl7.org/ValueSet/encounter-admit-source>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "hosp-trans" ] ;
     fhir:display [ fhir:v "Transferred from other hospital" ] ;
     fhir:definition [ fhir:v "The Patient has been transferred from another hospital for this encounter." ]
  ] [
     fhir:code [ fhir:v "emd" ] ;
     fhir:display [ fhir:v "From accident/emergency department" ] ;
     fhir:definition [ fhir:v "The patient has been transferred from the emergency department within the hospital. This is typically used in the transition to an inpatient encounter" ]
  ] [
     fhir:code [ fhir:v "outp" ] ;
     fhir:display [ fhir:v "From outpatient department" ] ;
     fhir:definition [ fhir:v "The patient has been transferred from an outpatient department within the hospital." ]
  ] [
     fhir:code [ fhir:v "born" ] ;
     fhir:display [ fhir:v "Born in hospital" ] ;
     fhir:definition [ fhir:v "The patient is a newborn and the encounter will track the baby related activities (as opposed to the Mothers encounter - that may be associated using the newborn encounters partof property)" ]
  ] [
     fhir:code [ fhir:v "gp" ] ;
     fhir:display [ fhir:v "General Practitioner referral" ] ;
     fhir:definition [ fhir:v "The patient has been admitted due to a referred from a General Practitioner." ]
  ] [
     fhir:code [ fhir:v "mp" ] ;
     fhir:display [ fhir:v "Medical Practitioner/physician referral" ] ;
     fhir:definition [ fhir:v "The patient has been admitted due to a referred from a Specialist (as opposed to a General Practitioner)." ]
  ] [
     fhir:code [ fhir:v "nursing" ] ;
     fhir:display [ fhir:v "From nursing home" ] ;
     fhir:definition [ fhir:v "The patient has been transferred from a nursing home." ]
  ] [
     fhir:code [ fhir:v "psych" ] ;
     fhir:display [ fhir:v "From psychiatric hospital" ] ;
     fhir:definition [ fhir:v "The patient has been transferred from a psychiatric facility." ]
  ] [
     fhir:code [ fhir:v "rehab" ] ;
     fhir:display [ fhir:v "From rehabilitation facility" ] ;
     fhir:definition [ fhir:v "The patient has been transferred from a rehabilitation facility or clinic." ]
  ] [
     fhir:code [ fhir:v "other" ] ;
     fhir:display [ fhir:v "Other" ] ;
     fhir:definition [ fhir:v "The patient has been admitted from a source otherwise not specified here." ]
  ] ) . # 

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

