@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 -------------------------------------------------------------------

<http://bha.colorado.gov/fhir/bha-ig/CodeSystem/bha-race-cs> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "bha-race-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 bha-race-cs</b></p><a name=\"bha-race-cs\"> </a><a name=\"hcbha-race-cs\"> </a><p>This case-sensitive code system <code>http://bha.colorado.gov/fhir/bha-ig/CodeSystem/bha-race-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\">01<a name=\"bha-race-cs-01\"> </a></td><td>American Indian/Alaskan Native</td></tr><tr><td style=\"white-space:nowrap\">02<a name=\"bha-race-cs-02\"> </a></td><td>Asian</td></tr><tr><td style=\"white-space:nowrap\">03<a name=\"bha-race-cs-03\"> </a></td><td>Black/African American</td></tr><tr><td style=\"white-space:nowrap\">04<a name=\"bha-race-cs-04\"> </a></td><td>Native Hawaiian/Pacific Islander</td></tr><tr><td style=\"white-space:nowrap\">05<a name=\"bha-race-cs-05\"> </a></td><td>White/Caucasian</td></tr><tr><td style=\"white-space:nowrap\">98<a name=\"bha-race-cs-98\"> </a></td><td>Declined</td></tr></table></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ;
     fhir:Extension.valueInteger [
       fhir:value "1"^^xsd:integer ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom" ] ;
         fhir:Extension.valueCanonical [
           fhir:value "http://bha.colorado.gov/fhir/bha-ig/ImplementationGuide/us.co.bha-ig" ;
           fhir:link <http://bha.colorado.gov/fhir/bha-ig/ImplementationGuide/us.co.bha-ig>
         ]
       ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ;
     fhir:Extension.valueCode [
       fhir:value "trial-use" ;
       fhir:Element.extension [
         fhir:index 0 ;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom" ] ;
         fhir:Extension.valueCanonical [
           fhir:value "http://bha.colorado.gov/fhir/bha-ig/ImplementationGuide/us.co.bha-ig" ;
           fhir:link <http://bha.colorado.gov/fhir/bha-ig/ImplementationGuide/us.co.bha-ig>
         ]
       ]
     ]
  ] ;
  fhir:CodeSystem.url [ fhir:value "http://bha.colorado.gov/fhir/bha-ig/CodeSystem/bha-race-cs"] ;
  fhir:CodeSystem.version [ fhir:value "0.3.0-current"] ;
  fhir:CodeSystem.name [ fhir:value "BHARaceCS"] ;
  fhir:CodeSystem.title [ fhir:value "BHA Race Codes"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-07-06T17:11:10+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "Colorado Behavioral Health Administration"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "Colorado Behavioral Health Administration" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://bha.colorado.gov" ]
     ], [
       fhir:index 1 ;
       fhir:ContactPoint.system [ fhir:value "email" ] ;
       fhir:ContactPoint.value [ fhir:value "FHIRFeedback@state.co.us" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "Race codes used by BHA"] ;
  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 "USA" ]
     ]
  ] ;
  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 "01" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "American Indian/Alaskan Native" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "02" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Asian" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "03" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Black/African American" ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "04" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Native Hawaiian/Pacific Islander" ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "05" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "White/Caucasian" ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.concept.code [ fhir:value "98" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Declined" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://bha.colorado.gov/fhir/bha-ig/CodeSystem/bha-race-cs.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

