@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/CodeSystem/reason-medication-status-cs> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "reason-medication-status-cs"] ; # 
  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 reason-medication-status-cs</b></p><a name=\"reason-medication-status-cs\"> </a><a name=\"hcreason-medication-status-cs\"> </a><p>This case-sensitive code system <code>http://localhost:8085/fhir/CodeSystem/reason-medication-status-cs</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td></tr><tr><td style=\"white-space:nowrap\">DRUG-INTERACTION<a name=\"reason-medication-status-cs-DRUG-INTERACTION\"> </a></td><td>Drug interaction</td></tr><tr><td style=\"white-space:nowrap\">ALLERGY-TO-SUBSTANCE<a name=\"reason-medication-status-cs-ALLERGY-TO-SUBSTANCE\"> </a></td><td>Allergy to substance</td></tr><tr><td style=\"white-space:nowrap\">TREATMENT-NOT-REQUIRED<a name=\"reason-medication-status-cs-TREATMENT-NOT-REQUIRED\"> </a></td><td>Treatment not required</td></tr><tr><td style=\"white-space:nowrap\">PATIENT-DISCHARGED<a name=\"reason-medication-status-cs-PATIENT-DISCHARGED\"> </a></td><td>Patient discharged</td></tr><tr><td style=\"white-space:nowrap\">PATIENT-TRANSFERRED<a name=\"reason-medication-status-cs-PATIENT-TRANSFERRED\"> </a></td><td>Patient transferred</td></tr><tr><td style=\"white-space:nowrap\">OUT-OF-STOCK<a name=\"reason-medication-status-cs-OUT-OF-STOCK\"> </a></td><td>Out of stock</td></tr><tr><td style=\"white-space:nowrap\">DRUG-DISCONTINUED<a name=\"reason-medication-status-cs-DRUG-DISCONTINUED\"> </a></td><td>Drug discontinued</td></tr><tr><td style=\"white-space:nowrap\">MEDICATION-REFUSED<a name=\"reason-medication-status-cs-MEDICATION-REFUSED\"> </a></td><td>Medication refused</td></tr><tr><td style=\"white-space:nowrap\">ADVERSE-REACTION-TO-DRUG<a name=\"reason-medication-status-cs-ADVERSE-REACTION-TO-DRUG\"> </a></td><td>Adverse reaction to drug</td></tr><tr><td style=\"white-space:nowrap\">PATIENT-NON-COMPLIANCE<a name=\"reason-medication-status-cs-PATIENT-NON-COMPLIANCE\"> </a></td><td>Patient non-compliance</td></tr><tr><td style=\"white-space:nowrap\">TREATMENT-COMPLETED<a name=\"reason-medication-status-cs-TREATMENT-COMPLETED\"> </a></td><td>Treatment completed</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
     fhir:v "http://localhost:8085/fhir/CodeSystem/reason-medication-status-cs"^^xsd:anyURI ;
     fhir:l <http://localhost:8085/fhir/CodeSystem/reason-medication-status-cs>
  ] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "ReasonMedicationStatusCS"] ; # 
  fhir:title [ fhir:v "Reason Medication Status CodeSystem"] ; # 
  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 "Reasons for a MedicationStatement status (e.g. stopped, completed). Source: MOH-KENYA OCL REASON-MEDICATION-STATUS-CODES."] ; # 
  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:caseSensitive [ fhir:v true] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:count [ fhir:v "11"^^xsd:nonNegativeInteger] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "DRUG-INTERACTION" ] ;
     fhir:display [ fhir:v "Drug interaction" ]
  ] [
     fhir:code [ fhir:v "ALLERGY-TO-SUBSTANCE" ] ;
     fhir:display [ fhir:v "Allergy to substance" ]
  ] [
     fhir:code [ fhir:v "TREATMENT-NOT-REQUIRED" ] ;
     fhir:display [ fhir:v "Treatment not required" ]
  ] [
     fhir:code [ fhir:v "PATIENT-DISCHARGED" ] ;
     fhir:display [ fhir:v "Patient discharged" ]
  ] [
     fhir:code [ fhir:v "PATIENT-TRANSFERRED" ] ;
     fhir:display [ fhir:v "Patient transferred" ]
  ] [
     fhir:code [ fhir:v "OUT-OF-STOCK" ] ;
     fhir:display [ fhir:v "Out of stock" ]
  ] [
     fhir:code [ fhir:v "DRUG-DISCONTINUED" ] ;
     fhir:display [ fhir:v "Drug discontinued" ]
  ] [
     fhir:code [ fhir:v "MEDICATION-REFUSED" ] ;
     fhir:display [ fhir:v "Medication refused" ]
  ] [
     fhir:code [ fhir:v "ADVERSE-REACTION-TO-DRUG" ] ;
     fhir:display [ fhir:v "Adverse reaction to drug" ]
  ] [
     fhir:code [ fhir:v "PATIENT-NON-COMPLIANCE" ] ;
     fhir:display [ fhir:v "Patient non-compliance" ]
  ] [
     fhir:code [ fhir:v "TREATMENT-COMPLETED" ] ;
     fhir:display [ fhir:v "Treatment completed" ]
  ] ) . # 

# -------------------------------------------------------------------------------------

