@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://haau3.com/fhir/CodeSystem/part-d-drug-tier> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "part-d-drug-tier"] ;
  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 part-d-drug-tier</b></p><a name=\"part-d-drug-tier\"> </a><a name=\"hcpart-d-drug-tier\"> </a><p>This case-sensitive code system <code>https://fhir.haau3.com/platform/CodeSystem/part-d-drug-tier</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\">1<a name=\"part-d-drug-tier-1\"> </a></td><td>Tier 1</td></tr><tr><td style=\"white-space:nowrap\">2<a name=\"part-d-drug-tier-2\"> </a></td><td>Tier 2</td></tr><tr><td style=\"white-space:nowrap\">3<a name=\"part-d-drug-tier-3\"> </a></td><td>Tier 3</td></tr><tr><td style=\"white-space:nowrap\">4<a name=\"part-d-drug-tier-4\"> </a></td><td>Tier 4</td></tr><tr><td style=\"white-space:nowrap\">5<a name=\"part-d-drug-tier-5\"> </a></td><td>Tier 5</td></tr><tr><td style=\"white-space:nowrap\">6<a name=\"part-d-drug-tier-6\"> </a></td><td>Tier 6</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://fhir.haau3.com/platform/CodeSystem/part-d-drug-tier"] ;
  fhir:CodeSystem.version [ fhir:value "1.0.0"] ;
  fhir:CodeSystem.name [ fhir:value "PartDDrugTierCS"] ;
  fhir:CodeSystem.title [ fhir:value "Part D drug tier"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-12-03T16:44:31+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "haau3"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "haau3" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://haau3.com" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "hello@haau3.com" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "The tier CMS's Medicare Part D formulary file gives a drug on a formulary. Each plan decides what its tiers mean; the plans sharing a formulary share its tiers. haau3 publishes these codes until the Da Vinci Payer Data Exchange (PDex) US Drug Formulary guide's tiers can say a Part D tier number."] ;
  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 "US" ] ;
       fhir:Coding.display [ fhir:value "United States of America" ]
     ]
  ] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "6"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "1" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Tier 1" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "2" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Tier 2" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "3" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Tier 3" ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "4" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Tier 4" ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "5" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Tier 5" ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.concept.code [ fhir:value "6" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Tier 6" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://haau3.com/fhir/CodeSystem/part-d-drug-tier.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

