@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/v3-EncounterReferralSource> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "v3-EncounterReferralSource"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p><b>Properties</b></p><p><b>This code system  defines the following properties for its concepts</b></p><table class=\"grid\"><tr><td><b>Code</b></td><td><b>URI</b></td><td><b>Type</b></td><td><b>Description</b></td></tr><tr><td>Specializes</td><td/><td>Coding</td><td>The child code is a more narrow version of the concept represented by the parent code.  I.e. Every child concept is also a valid parent concept.  Used to allow determination of subsumption.  Must be transitive, irreflexive, antisymmetric.</td></tr><tr><td>Generalizes</td><td/><td>Coding</td><td>Inverse of Specializes.  Only included as a derived relationship.</td></tr><tr><td>internalId</td><td>http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id</td><td>code</td><td>The internal identifier for the concept in the HL7 Access database repository.</td></tr><tr><td>status</td><td>http://hl7.org/fhir/concept-properties#status</td><td>code</td><td>Designation of a concept's state.  Normally is not populated unless the state is retired..</td></tr></table><p><b>Concepts</b></p><p>This case-sensitive code system <code>http://terminology.hl7.org/CodeSystem/v3-EncounterReferralSource</code> defines the following codes in a Is-A heirarchy:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>internalId</b></td><td><b>status</b></td></tr><tr style=\"background-color: #ffeeee\"><td style=\"white-space:nowrap\">CREF<a name=\"v3-EncounterReferralSource-CREF\"> </a></td><td>clinical referral</td><td>12225</td><td>retired</td></tr><tr style=\"background-color: #ffeeee\"><td style=\"white-space:nowrap\">ER<a name=\"v3-EncounterReferralSource-ER\"> </a></td><td>emergency room</td><td>12230</td><td>retired</td></tr><tr style=\"background-color: #ffeeee\"><td style=\"white-space:nowrap\">HREF<a name=\"v3-EncounterReferralSource-HREF\"> </a></td><td>HMO referral</td><td>12226</td><td>retired</td></tr><tr style=\"background-color: #ffeeee\"><td style=\"white-space:nowrap\">LENF<a name=\"v3-EncounterReferralSource-LENF\"> </a></td><td>court/law enforcement organization</td><td>12223</td><td>retired</td></tr><tr style=\"background-color: #ffeeee\"><td style=\"white-space:nowrap\">PREF<a name=\"v3-EncounterReferralSource-PREF\"> </a></td><td>physician referral</td><td>12222</td><td>retired</td></tr><tr style=\"background-color: #ffeeee\"><td style=\"white-space:nowrap\">THSP<a name=\"v3-EncounterReferralSource-THSP\"> </a></td><td>transfer from hospital</td><td>12227</td><td>retired</td></tr><tr style=\"background-color: #ffeeee\"><td style=\"white-space:nowrap\">TOHCF<a name=\"v3-EncounterReferralSource-TOHCF\"> </a></td><td>transfer from another healthcare facility</td><td>12229</td><td>retired</td></tr><tr style=\"background-color: #ffeeee\"><td style=\"white-space:nowrap\">TSNF<a name=\"v3-EncounterReferralSource-TSNF\"> </a></td><td>transfer from skilled nursing facility</td><td>12228</td><td>retired</td></tr><tr style=\"background-color: #ffeeee\"><td style=\"white-space:nowrap\">WI<a name=\"v3-EncounterReferralSource-WI\"> </a></td><td>walk-in</td><td>12224</td><td>retired</td></tr></table></div>"
  ] ; # 
  fhir:url [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-EncounterReferralSource"^^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.5.39" ]
  ] ) ; # 
  fhir:version [ fhir:v "2.0.1"] ; # 
  fhir:name [ fhir:v "EncounterReferralSource"] ; # 
  fhir:title [ fhir:v "EncounterReferralSource"] ; # 
  fhir:status [ fhir:v "retired"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2019-03-20"^^xsd:date] ; # 
  fhir:publisher [ fhir:v "Health Level 7"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Health Level Seven" ]
  ] ) ; # 
  fhir:description [ fhir:v "This domain is defined in UB92 and applies to US realm only\r\n\r\n**Deprecation Comment:** Deprecated as per 11/2008 Harmonization cleanup; internal and obsolete HL7 usage, no longer used. We've deprecated all of the codes."] ; # 
  fhir:caseSensitive [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:hierarchyMeaning [ fhir:v "is-a"] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:property ( [
     fhir:extension ( [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "antisymmetric" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "transitive" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "irreflexive" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "true"^^xsd:boolean ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Specializes" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Generalizes" ]
     ] ) ;
     fhir:code [ fhir:v "Specializes" ] ;
     fhir:description [ fhir:v "The child code is a more narrow version of the concept represented by the parent code.  I.e. Every child concept is also a valid parent concept.  Used to allow determination of subsumption.  Must be transitive, irreflexive, antisymmetric." ] ;
     fhir:type [ fhir:v "Coding" ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-symmetry"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "antisymmetric" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-transitivity"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "transitive" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-reflexivity"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "irreflexive" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-isNavigable"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "true"^^xsd:boolean ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-relationshipKind"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Generalizes" ]
     ] [
       fhir:url [ fhir:v "http://terminology.hl7.org/StructureDefinition/ext-mif-relationship-inverseName"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Specializes" ]
     ] ) ;
     fhir:code [ fhir:v "Generalizes" ] ;
     fhir:description [ fhir:v "Inverse of Specializes.  Only included as a derived relationship." ] ;
     fhir:type [ fhir:v "Coding" ]
  ] [
     fhir:code [ fhir:v "internalId" ] ;
     fhir:uri [ fhir:v "http://terminology.hl7.org/CodeSystem/utg-concept-properties#v3-internal-id"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "The internal identifier for the concept in the HL7 Access database repository." ] ;
     fhir:type [ fhir:v "code" ]
  ] [
     fhir:code [ fhir:v "status" ] ;
     fhir:uri [ fhir:v "http://hl7.org/fhir/concept-properties#status"^^xsd:anyURI ] ;
     fhir:description [ fhir:v "Designation of a concept's state.  Normally is not populated unless the state is retired.." ] ;
     fhir:type [ fhir:v "code" ]
  ] ) ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "CREF" ] ;
     fhir:display [ fhir:v "clinical referral" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "retired" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "12225" ]
     ] )
  ] [
     fhir:code [ fhir:v "ER" ] ;
     fhir:display [ fhir:v "emergency room" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "retired" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "12230" ]
     ] )
  ] [
     fhir:code [ fhir:v "HREF" ] ;
     fhir:display [ fhir:v "HMO referral" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "retired" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "12226" ]
     ] )
  ] [
     fhir:code [ fhir:v "LENF" ] ;
     fhir:display [ fhir:v "court/law enforcement organization" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "retired" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "12223" ]
     ] )
  ] [
     fhir:code [ fhir:v "PREF" ] ;
     fhir:display [ fhir:v "physician referral" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "retired" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "12222" ]
     ] )
  ] [
     fhir:code [ fhir:v "THSP" ] ;
     fhir:display [ fhir:v "transfer from hospital" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "retired" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "12227" ]
     ] )
  ] [
     fhir:code [ fhir:v "TOHCF" ] ;
     fhir:display [ fhir:v "transfer from another healthcare facility" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "retired" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "12229" ]
     ] )
  ] [
     fhir:code [ fhir:v "TSNF" ] ;
     fhir:display [ fhir:v "transfer from skilled nursing facility" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "retired" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "12228" ]
     ] )
  ] [
     fhir:code [ fhir:v "WI" ] ;
     fhir:display [ fhir:v "walk-in" ] ;
     fhir:property ( [
       fhir:code [ fhir:v "status" ] ;
       fhir:value [ fhir:v "retired" ]
     ] [
       fhir:code [ fhir:v "internalId" ] ;
       fhir:value [ fhir:v "12224" ]
     ] )
  ] ) . # 

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

