@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

# - resource -------------------------------------------------------------------

[] a fhir:CodeSystem;
  fhir:Resource.id [ fhir:value "admit-source"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2020-04-09T21:10:28.568+00:00" ];
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/StructureDefinition/shareablecodesystem";
       fhir:index 0
     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ];
     fhir:Extension.value [ fhir:value "pa" ]
  ];
  fhir:CodeSystem.url [ fhir:value "http://terminology.hl7.org/CodeSystem/admit-source"];
  fhir:CodeSystem.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "urn:ietf:rfc:3986" ];
     fhir:Identifier.value [ fhir:value "urn:oid:2.16.840.1.113883.4.642.1.1092" ]
  ];
  fhir:CodeSystem.version [ fhir:value "1.0.0"];
  fhir:CodeSystem.name [ fhir:value "AdmitSource"];
  fhir:CodeSystem.title [ fhir:value "Admit source"];
  fhir:CodeSystem.status [ fhir:value "draft"];
  fhir:CodeSystem.experimental [ fhir:value "false"];
  fhir:CodeSystem.date [ fhir:value "2024-06-28T20:36:23+00:00"];
  fhir:CodeSystem.publisher [ fhir:value "Health Level Seven International"];
  fhir:CodeSystem.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://hl7.org" ]
     ], [
       fhir:index 1;
       fhir:ContactPoint.system [ fhir:value "email" ];
       fhir:ContactPoint.value [ fhir:value "hq@HL7.org" ]
     ]
  ];
  fhir:CodeSystem.description [ fhir:value "This value set defines a set of codes that can be used to indicate from where the patient came in."];
  fhir:CodeSystem.copyright [ fhir:value "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:CodeSystem.caseSensitive [ fhir:value "true"];
  fhir:CodeSystem.valueSet [ fhir:value "http://terminology.hl7.org/ValueSet/encounter-admit-source"];
  fhir:CodeSystem.content [ fhir:value "complete"];
  fhir:CodeSystem.concept [
     fhir:index 0;
     fhir:CodeSystem.code [ fhir:value "hosp-trans" ];
     fhir:CodeSystem.display [ fhir:value "Transferred from other hospital" ];
     fhir:CodeSystem.definition [ fhir:value "The Patient has been transferred from another hospital for this encounter." ]
  ], [
     fhir:index 1;
     fhir:CodeSystem.code [ fhir:value "emd" ];
     fhir:CodeSystem.display [ fhir:value "From accident/emergency department" ];
     fhir:CodeSystem.definition [ fhir:value "The patient has been transferred from the emergency department within the hospital. This is typically used in the transition to an inpatient encounter" ]
  ], [
     fhir:index 2;
     fhir:CodeSystem.code [ fhir:value "outp" ];
     fhir:CodeSystem.display [ fhir:value "From outpatient department" ];
     fhir:CodeSystem.definition [ fhir:value "The patient has been transferred from an outpatient department within the hospital." ]
  ], [
     fhir:index 3;
     fhir:CodeSystem.code [ fhir:value "born" ];
     fhir:CodeSystem.display [ fhir:value "Born in hospital" ];
     fhir:CodeSystem.definition [ fhir:value "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:index 4;
     fhir:CodeSystem.code [ fhir:value "gp" ];
     fhir:CodeSystem.display [ fhir:value "General Practitioner referral" ];
     fhir:CodeSystem.definition [ fhir:value "The patient has been admitted due to a referred from a General Practitioner." ]
  ], [
     fhir:index 5;
     fhir:CodeSystem.code [ fhir:value "mp" ];
     fhir:CodeSystem.display [ fhir:value "Medical Practitioner/physician referral" ];
     fhir:CodeSystem.definition [ fhir:value "The patient has been admitted due to a referred from a Specialist (as opposed to a General Practitioner)." ]
  ], [
     fhir:index 6;
     fhir:CodeSystem.code [ fhir:value "nursing" ];
     fhir:CodeSystem.display [ fhir:value "From nursing home" ];
     fhir:CodeSystem.definition [ fhir:value "The patient has been transferred from a nursing home." ]
  ], [
     fhir:index 7;
     fhir:CodeSystem.code [ fhir:value "psych" ];
     fhir:CodeSystem.display [ fhir:value "From psychiatric hospital" ];
     fhir:CodeSystem.definition [ fhir:value "The patient has been transferred from a psychiatric facility." ]
  ], [
     fhir:index 8;
     fhir:CodeSystem.code [ fhir:value "rehab" ];
     fhir:CodeSystem.display [ fhir:value "From rehabilitation facility" ];
     fhir:CodeSystem.definition [ fhir:value "The patient has been transferred from a rehabilitation facility or clinic." ]
  ], [
     fhir:index 9;
     fhir:CodeSystem.code [ fhir:value "other" ];
     fhir:CodeSystem.display [ fhir:value "Other" ];
     fhir:CodeSystem.definition [ fhir:value "The patient has been admitted from a source otherwise not specified here." ]
  ] .

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

