@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://hl7-ie.github.io/medication-events/fhir/CodeSystem/ie-mpd-county-codes> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ie-mpd-county-codes"] ;
  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 ie-mpd-county-codes</b></p><a name=\"ie-mpd-county-codes\"> </a><a name=\"hcie-mpd-county-codes\"> </a><p>This case-sensitive code system <code>https://hl7-ie.github.io/medication-events/fhir/CodeSystem/ie-mpd-county-codes</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">CW<a name=\"ie-mpd-county-codes-CW\"> </a></td><td>Carlow</td><td>County Carlow</td></tr><tr><td style=\"white-space:nowrap\">CN<a name=\"ie-mpd-county-codes-CN\"> </a></td><td>Cavan</td><td>County Cavan</td></tr><tr><td style=\"white-space:nowrap\">CE<a name=\"ie-mpd-county-codes-CE\"> </a></td><td>Clare</td><td>County Clare</td></tr><tr><td style=\"white-space:nowrap\">CO<a name=\"ie-mpd-county-codes-CO\"> </a></td><td>Cork</td><td>County Cork</td></tr><tr><td style=\"white-space:nowrap\">DL<a name=\"ie-mpd-county-codes-DL\"> </a></td><td>Donegal</td><td>County Donegal</td></tr><tr><td style=\"white-space:nowrap\">D<a name=\"ie-mpd-county-codes-D\"> </a></td><td>Dublin</td><td>County Dublin</td></tr><tr><td style=\"white-space:nowrap\">G<a name=\"ie-mpd-county-codes-G\"> </a></td><td>Galway</td><td>County Galway</td></tr><tr><td style=\"white-space:nowrap\">KY<a name=\"ie-mpd-county-codes-KY\"> </a></td><td>Kerry</td><td>County Kerry</td></tr><tr><td style=\"white-space:nowrap\">KE<a name=\"ie-mpd-county-codes-KE\"> </a></td><td>Kildare</td><td>County Kildare</td></tr><tr><td style=\"white-space:nowrap\">KK<a name=\"ie-mpd-county-codes-KK\"> </a></td><td>Kilkenny</td><td>County Kilkenny</td></tr><tr><td style=\"white-space:nowrap\">LS<a name=\"ie-mpd-county-codes-LS\"> </a></td><td>Laois</td><td>County Laois</td></tr><tr><td style=\"white-space:nowrap\">LM<a name=\"ie-mpd-county-codes-LM\"> </a></td><td>Leitrim</td><td>County Leitrim</td></tr><tr><td style=\"white-space:nowrap\">LK<a name=\"ie-mpd-county-codes-LK\"> </a></td><td>Limerick</td><td>County Limerick</td></tr><tr><td style=\"white-space:nowrap\">LD<a name=\"ie-mpd-county-codes-LD\"> </a></td><td>Longford</td><td>County Longford</td></tr><tr><td style=\"white-space:nowrap\">LH<a name=\"ie-mpd-county-codes-LH\"> </a></td><td>Louth</td><td>County Louth</td></tr><tr><td style=\"white-space:nowrap\">MO<a name=\"ie-mpd-county-codes-MO\"> </a></td><td>Mayo</td><td>County Mayo</td></tr><tr><td style=\"white-space:nowrap\">MH<a name=\"ie-mpd-county-codes-MH\"> </a></td><td>Meath</td><td>County Meath</td></tr><tr><td style=\"white-space:nowrap\">MN<a name=\"ie-mpd-county-codes-MN\"> </a></td><td>Monaghan</td><td>County Monaghan</td></tr><tr><td style=\"white-space:nowrap\">OY<a name=\"ie-mpd-county-codes-OY\"> </a></td><td>Offaly</td><td>County Offaly</td></tr><tr><td style=\"white-space:nowrap\">RN<a name=\"ie-mpd-county-codes-RN\"> </a></td><td>Roscommon</td><td>County Roscommon</td></tr><tr><td style=\"white-space:nowrap\">SO<a name=\"ie-mpd-county-codes-SO\"> </a></td><td>Sligo</td><td>County Sligo</td></tr><tr><td style=\"white-space:nowrap\">TA<a name=\"ie-mpd-county-codes-TA\"> </a></td><td>Tipperary</td><td>County Tipperary</td></tr><tr><td style=\"white-space:nowrap\">WD<a name=\"ie-mpd-county-codes-WD\"> </a></td><td>Waterford</td><td>County Waterford</td></tr><tr><td style=\"white-space:nowrap\">WH<a name=\"ie-mpd-county-codes-WH\"> </a></td><td>Westmeath</td><td>County Westmeath</td></tr><tr><td style=\"white-space:nowrap\">WX<a name=\"ie-mpd-county-codes-WX\"> </a></td><td>Wexford</td><td>County Wexford</td></tr><tr><td style=\"white-space:nowrap\">WW<a name=\"ie-mpd-county-codes-WW\"> </a></td><td>Wicklow</td><td>County Wicklow</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://hl7-ie.github.io/medication-events/fhir/CodeSystem/ie-mpd-county-codes"] ;
  fhir:CodeSystem.version [ fhir:value "0.1.0"] ;
  fhir:CodeSystem.name [ fhir:value "IEMpdCountyCodes"] ;
  fhir:CodeSystem.title [ fhir:value "IE MPD County Codes"] ;
  fhir:CodeSystem.status [ fhir:value "draft"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-09-28T14:06:45+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "Nithin Mohan (proof of concept)"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "Nithin Mohan (proof of concept)" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://github.com/hl7-ie/medication-events" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:ContactDetail.name [ fhir:value "Nithin Mohan" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://github.com/hl7-ie/medication-events" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "Codes representing the 26 counties of the Republic of Ireland."] ;
  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 "IE" ] ;
       fhir:Coding.display [ fhir:value "Ireland" ]
     ]
  ] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "26"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "CW" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Carlow" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Carlow" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "CN" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Cavan" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Cavan" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "CE" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Clare" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Clare" ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "CO" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Cork" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Cork" ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "DL" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Donegal" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Donegal" ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.concept.code [ fhir:value "D" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Dublin" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Dublin" ]
  ], [
     fhir:index 6 ;
     fhir:CodeSystem.concept.code [ fhir:value "G" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Galway" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Galway" ]
  ], [
     fhir:index 7 ;
     fhir:CodeSystem.concept.code [ fhir:value "KY" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Kerry" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Kerry" ]
  ], [
     fhir:index 8 ;
     fhir:CodeSystem.concept.code [ fhir:value "KE" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Kildare" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Kildare" ]
  ], [
     fhir:index 9 ;
     fhir:CodeSystem.concept.code [ fhir:value "KK" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Kilkenny" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Kilkenny" ]
  ], [
     fhir:index 10 ;
     fhir:CodeSystem.concept.code [ fhir:value "LS" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Laois" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Laois" ]
  ], [
     fhir:index 11 ;
     fhir:CodeSystem.concept.code [ fhir:value "LM" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Leitrim" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Leitrim" ]
  ], [
     fhir:index 12 ;
     fhir:CodeSystem.concept.code [ fhir:value "LK" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Limerick" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Limerick" ]
  ], [
     fhir:index 13 ;
     fhir:CodeSystem.concept.code [ fhir:value "LD" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Longford" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Longford" ]
  ], [
     fhir:index 14 ;
     fhir:CodeSystem.concept.code [ fhir:value "LH" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Louth" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Louth" ]
  ], [
     fhir:index 15 ;
     fhir:CodeSystem.concept.code [ fhir:value "MO" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Mayo" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Mayo" ]
  ], [
     fhir:index 16 ;
     fhir:CodeSystem.concept.code [ fhir:value "MH" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Meath" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Meath" ]
  ], [
     fhir:index 17 ;
     fhir:CodeSystem.concept.code [ fhir:value "MN" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Monaghan" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Monaghan" ]
  ], [
     fhir:index 18 ;
     fhir:CodeSystem.concept.code [ fhir:value "OY" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Offaly" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Offaly" ]
  ], [
     fhir:index 19 ;
     fhir:CodeSystem.concept.code [ fhir:value "RN" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Roscommon" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Roscommon" ]
  ], [
     fhir:index 20 ;
     fhir:CodeSystem.concept.code [ fhir:value "SO" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Sligo" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Sligo" ]
  ], [
     fhir:index 21 ;
     fhir:CodeSystem.concept.code [ fhir:value "TA" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Tipperary" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Tipperary" ]
  ], [
     fhir:index 22 ;
     fhir:CodeSystem.concept.code [ fhir:value "WD" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Waterford" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Waterford" ]
  ], [
     fhir:index 23 ;
     fhir:CodeSystem.concept.code [ fhir:value "WH" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Westmeath" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Westmeath" ]
  ], [
     fhir:index 24 ;
     fhir:CodeSystem.concept.code [ fhir:value "WX" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Wexford" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Wexford" ]
  ], [
     fhir:index 25 ;
     fhir:CodeSystem.concept.code [ fhir:value "WW" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Wicklow" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "County Wicklow" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://hl7-ie.github.io/medication-events/fhir/CodeSystem/ie-mpd-county-codes.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

