@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/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 [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem encounter-admit-source</b></p><a name=\"encounter-admit-source\"> </a><a name=\"hcencounter-admit-source\"> </a><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=\"encounter-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=\"encounter-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=\"encounter-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=\"encounter-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=\"encounter-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=\"encounter-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=\"encounter-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=\"encounter-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=\"encounter-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=\"encounter-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>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "packageId"^^xsd:anyURI ;
         fhir:l fhir:packageId
       ] ;
       fhir:value [
         a fhir:Id ;
         fhir:v "hl7.fhir.uv.xver-r4.r3"
       ]
     ] [
       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-r4.r3"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r3>
       ]
     ] ) ;
     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://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm>
     ] ;
     fhir:value [
       a fhir:Integer ;
       fhir:v 0 ;
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>
         ] ;
         fhir:value [
           a fhir:Uri ;
           fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r3"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r3>
         ]
       ] )
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status>
     ] ;
     fhir:value [
       a fhir:Code ;
       fhir:v "trial-use" ;
       fhir:extension ( [
         fhir:url [
           fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom>
         ] ;
         fhir:value [
           a fhir:Uri ;
           fhir:v "http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r3"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/uv/xver/ImplementationGuide/hl7.fhir.uv.xver-r4.r3>
         ]
       ] )
     ]
  ] ) ; # 
  fhir:url [
     fhir:v "http://terminology.hl7.org/CodeSystem/admit-source"^^xsd:anyURI ;
     fhir:l <http://terminology.hl7.org/CodeSystem/admit-source>
  ] ; # 
  fhir:version [ fhir:v "4.0.1"] ; # 
  fhir:name [ fhir:v "AdmitSource"] ; # 
  fhir:title [ fhir:v "Admit source"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-03-20T13:05:16+11: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 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: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://hl7.org/fhir/ValueSet/encounter-admit-source|3.0.2"^^xsd:anyURI ;
     fhir:l <http://hl7.org/fhir/ValueSet/encounter-admit-source?version=3.0.2>
  ] ; # 
  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." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

