@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 -------------------------------------------------------------------

<https://nshr-uat.sha.go.ke/fhir/CodeSystem/auth-type-cs> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "auth-type-cs"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem auth-type-cs</b></p><a name=\"auth-type-cs\"> </a><a name=\"hcauth-type-cs\"> </a><p>This  code system <code>https://nshr-uat.sha.go.ke/fhir/CodeSystem/auth-type-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\">FINGERPRINT<a name=\"auth-type-cs-FINGERPRINT\"> </a></td><td>Fingerprint</td></tr><tr><td style=\"white-space:nowrap\">OTP<a name=\"auth-type-cs-OTP\"> </a></td><td>OTP</td></tr><tr><td style=\"white-space:nowrap\">GUARDIAN<a name=\"auth-type-cs-GUARDIAN\"> </a></td><td>GUARDIAN</td></tr><tr><td style=\"white-space:nowrap\">PAYER_AUTHORIZED<a name=\"auth-type-cs-PAYER_AUTHORIZED\"> </a></td><td>Authorisation from payer</td></tr><tr><td style=\"white-space:nowrap\">SHA<a name=\"auth-type-cs-SHA\"> </a></td><td>Social Health Authority</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://nshr-uat.sha.go.ke/fhir/CodeSystem/auth-type-cs"] ;
  fhir:CodeSystem.version [ fhir:value "0.1.0"] ;
  fhir:CodeSystem.name [ fhir:value "AuthTypeCS"] ;
  fhir:CodeSystem.title [ fhir:value "Authorization Type"] ;
  fhir:CodeSystem.status [ fhir:value "draft"] ;
  fhir:CodeSystem.date [ fhir:value "2026-07-20T11:03:05+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "Digital Health Agency (DHA), Kenya"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "Digital Health Agency (DHA), Kenya" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://dha.go.ke" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "info@dha.go.ke" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:ContactDetail.name [ fhir:value "Digital Health Agency Kenya – FHIR Team" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "info@dha.go.ke" ] ;
       fhir:ContactPoint.use [ fhir:value "work" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://dha.go.ke" ] ;
       fhir:ContactPoint.use [ fhir:value "work" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "Types of authentication or authorization used for healthcare access"] ;
  fhir:CodeSystem.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "KE" ] ;
       fhir:Coding.display [ fhir:value "Kenya" ]
     ]
  ] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "5"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "FINGERPRINT" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Fingerprint" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "OTP" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "OTP" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "GUARDIAN" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "GUARDIAN" ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "PAYER_AUTHORIZED" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Authorisation from payer" ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "SHA" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Social Health Authority" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://nshr-uat.sha.go.ke/fhir/CodeSystem/auth-type-cs.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

