@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/NamingSystem/cms-ma-plan-id> a fhir:NamingSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "cms-ma-plan-id"] ;
  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: NamingSystem cms-ma-plan-id</b></p><a name=\"cms-ma-plan-id\"> </a><a name=\"hccms-ma-plan-id\"> </a><h3>Summary</h3><table class=\"grid\"><tr><td>Defining URL</td><td>https://haau3.com/fhir/NamingSystem/cms-ma-plan-id</td></tr><tr><td>Version</td><td>1.0.0</td></tr><tr><td>Name</td><td>CMSMAPlanId</td></tr><tr><td>Status</td><td>active</td></tr><tr><td>Definition</td><td><div><p>CMS's identifier for a Medicare Advantage plan: the contract number, the plan ID and the segment ID joined with hyphens, with 000 for a plan that is not segmented (H2406-013-000). CMS defines this system in its technical implementation guide for Medicare Advantage provider directory data and confirmed the format in its office hours Q&amp;A of 2026-09-16. CMS publishes no NamingSystem resource for it, so haau3 publishes this one, which only describes CMS's system, so that a validator can resolve it. It gives way to one CMS or HL7 publishes.</p>\n</div></td></tr><tr><td>Publisher</td><td>haau3</td></tr></table><h3>Identifiers</h3><table class=\"grid\"><tr><td><b>Type</b></td><td><b>Value</b></td><td><b>Preferred</b></td></tr><tr><td>URI</td><td>http://cms.gov/medicare/ma-plan-id</td><td>true</td></tr></table></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-NamingSystem.url" ] ;
     fhir:Extension.valueUri [ fhir:value "https://haau3.com/fhir/NamingSystem/cms-ma-plan-id" ]
  ], [
     fhir:index 1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/5.0/StructureDefinition/extension-NamingSystem.version" ] ;
     fhir:Extension.valueString [ fhir:value "1.0.0" ]
  ] ;
  fhir:NamingSystem.name [ fhir:value "CMSMAPlanId"] ;
  fhir:NamingSystem.status [ fhir:value "active"] ;
  fhir:NamingSystem.kind [ fhir:value "identifier"] ;
  fhir:NamingSystem.date [ fhir:value "2026-10-11"^^xsd:date] ;
  fhir:NamingSystem.publisher [ fhir:value "haau3"] ;
  fhir:NamingSystem.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:NamingSystem.responsible [ fhir:value "Centers for Medicare & Medicaid Services"] ;
  fhir:NamingSystem.description [ fhir:value "CMS's identifier for a Medicare Advantage plan: the contract number, the plan ID and the segment ID joined with hyphens, with 000 for a plan that is not segmented (H2406-013-000). CMS defines this system in its technical implementation guide for Medicare Advantage provider directory data and confirmed the format in its office hours Q&A of 2026-09-16. CMS publishes no NamingSystem resource for it, so haau3 publishes this one, which only describes CMS's system, so that a validator can resolve it. It gives way to one CMS or HL7 publishes."] ;
  fhir:NamingSystem.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:NamingSystem.usage [ fhir:value "Defined by CMS: https://www.cms.gov/files/document/mpf-ma-provider-directory-technical-guide-11072025-final-draft-pdf.pdf and https://www.cms.gov/files/document/mpf-provider-directory-implementation-office-hours-qa-09162026-final-pdf.pdf"] ;
  fhir:NamingSystem.uniqueId [
     fhir:index 0 ;
     fhir:NamingSystem.uniqueId.type [ fhir:value "uri" ] ;
     fhir:NamingSystem.uniqueId.value [ fhir:value "http://cms.gov/medicare/ma-plan-id" ] ;
     fhir:NamingSystem.uniqueId.preferred [ fhir:value "true"^^xsd:boolean ]
  ] .

# - ontology header ------------------------------------------------------------

<https://haau3.com/fhir/NamingSystem/cms-ma-plan-id.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

