@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/encounter-admit-source> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "encounter-admit-source"] ; # 
  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/admit-source 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\">hosp-trans\n                  <a name=\"encounter-admit-source-hosp-trans\"> </a>\n                </td>\n                <td>Transferred from other hospital</td>\n                <td>The Patient has been transferred from another hospital for this encounter.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">emd\n                  <a name=\"encounter-admit-source-emd\"> </a>\n                </td>\n                <td>From accident/emergency department</td>\n                <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>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">outp\n                  <a name=\"encounter-admit-source-outp\"> </a>\n                </td>\n                <td>From outpatient department</td>\n                <td>The patient has been transferred from an outpatient department within the hospital.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">born\n                  <a name=\"encounter-admit-source-born\"> </a>\n                </td>\n                <td>Born in hospital</td>\n                <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>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">gp\n                  <a name=\"encounter-admit-source-gp\"> </a>\n                </td>\n                <td>General Practitioner referral</td>\n                <td>The patient has been admitted due to a referred from a General Practitioner.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">mp\n                  <a name=\"encounter-admit-source-mp\"> </a>\n                </td>\n                <td>Medical Practitioner/physician referral</td>\n                <td>The patient has been admitted due to a referred from a Specialist (as opposed to a General Practitioner).</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">nursing\n                  <a name=\"encounter-admit-source-nursing\"> </a>\n                </td>\n                <td>From nursing home</td>\n                <td>The patient has been transferred from a nursing home.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">psych\n                  <a name=\"encounter-admit-source-psych\"> </a>\n                </td>\n                <td>From psychiatric hospital</td>\n                <td>The patient has been transferred from a psychiatric facility.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">rehab\n                  <a name=\"encounter-admit-source-rehab\"> </a>\n                </td>\n                <td>From rehabilitation facility</td>\n                <td>The patient has been transferred from a rehabilitation facility or clinic.</td>\n              </tr>\n              <tr>\n                <td style=\"white-space:nowrap\">other\n                  <a name=\"encounter-admit-source-other\"> </a>\n                </td>\n                <td>Other</td>\n                <td>The patient has been admitted from a source otherwise not specified here.</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.r4"
       ]
     ] [
       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 "pa"
     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/admit-source"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "4.3.0"] ; # 
  fhir:name [ fhir:v "AdmitSource"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2025-09-13T16:38:45-04: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 codesystem defines a set of codes that can be used to indicate from where the patient came in."] ; # 
  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:caseSensitive [ fhir:v true] ; # 
  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." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

