@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://localhost:8085/fhir/ValueSet/kps-referral-reason-vs> a fhir:ValueSet ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "kps-referral-reason-vs"] ; # 
  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: ValueSet kps-referral-reason-vs</b></p><a name=\"kps-referral-reason-vs\"> </a><a name=\"hckps-referral-reason-vs\"> </a><ul><li>Include these codes as defined in <code>https://nshr-uat.sha.go.ke/fhir/CodeSystem/kpsg-referral-codes</code><span title=\"Version is not explicitly stated. No matching Code System found\"> version Not Stated (use latest from terminology server)</span><table class=\"none\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td></tr><tr><td>emergency-referral</td><td>Emergency Referral</td></tr><tr><td>adverse-drug-reaction</td><td>Management of Adverse Drug Reactions</td></tr><tr><td>medication-unavailable</td><td>Medication Not Available</td></tr><tr><td>client-wish</td><td>Client's Wish</td></tr><tr><td>other-general-services</td><td>Referral for Other General Services</td></tr></table></li></ul></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
     fhir:v "http://localhost:8085/fhir/ValueSet/kps-referral-reason-vs"^^xsd:anyURI ;
     fhir:l <http://localhost:8085/fhir/ValueSet/kps-referral-reason-vs>
  ] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "ReferralReasonVS"] ; # 
  fhir:title [ fhir:v "Reason for Referral ValueSet"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2026-05-31T11:35:58+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Digital Health Agency of Kenya"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Digital Health Agency of Kenya" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://www.dha.go.ke" ]
     ] [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "interoperability@dha.go.ke" ]
     ] )
  ] [
     fhir:name [ fhir:v "Digital Health Agency of Kenya – Interoperability Team" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "email" ] ;
       fhir:value [ fhir:v "interoperability@dha.go.ke" ] ;
       fhir:use [ fhir:v "work" ]
     ] [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "https://www.dha.go.ke" ] ;
       fhir:use [ fhir:v "work" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "Coded reasons for referring a client to another facility or care level (KPS.G.DE.7)."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
         fhir:l <urn:iso:std:iso:3166>
       ] ;
       fhir:code [ fhir:v "KE" ] ;
       fhir:display [ fhir:v "Kenya" ]
     ] )
  ] ) ; # 
  fhir:copyright [ fhir:v "Copyright © 2024+ Digital Health Agency of Kenya. This content is licensed under Creative Commons Zero v1.0 Universal (CC0 1.0). No rights reserved.\n"] ; # 
  fhir:compose [
     fhir:include ( [
       fhir:system [
         fhir:v "https://nshr-uat.sha.go.ke/fhir/CodeSystem/kpsg-referral-codes"^^xsd:anyURI ;
         fhir:l <https://nshr-uat.sha.go.ke/fhir/CodeSystem/kpsg-referral-codes>
       ] ;
       fhir:concept ( [
         fhir:code [ fhir:v "emergency-referral" ] ;
         fhir:display [ fhir:v "Emergency Referral" ]
       ] [
         fhir:code [ fhir:v "adverse-drug-reaction" ] ;
         fhir:display [ fhir:v "Management of Adverse Drug Reactions" ]
       ] [
         fhir:code [ fhir:v "medication-unavailable" ] ;
         fhir:display [ fhir:v "Medication Not Available" ]
       ] [
         fhir:code [ fhir:v "client-wish" ] ;
         fhir:display [ fhir:v "Client's Wish" ]
       ] [
         fhir:code [ fhir:v "other-general-services" ] ;
         fhir:display [ fhir:v "Referral for Other General Services" ]
       ] )
     ] )
  ] . # 

# -------------------------------------------------------------------------------------

