@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-income-source> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "bha-income-source"] ;
  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-income-source</b></p><a name=\"bha-income-source\"> </a><a name=\"hcbha-income-source\"> </a><p>This case-sensitive code system <code>http://bha.colorado.gov/fhir/bha-ig/CodeSystem/bha-income-source</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\">0<a name=\"bha-income-source-0\"> </a></td><td>None</td></tr><tr><td style=\"white-space:nowrap\">1<a name=\"bha-income-source-1\"> </a></td><td>Wages</td></tr><tr><td style=\"white-space:nowrap\">2<a name=\"bha-income-source-2\"> </a></td><td>Public Assistance</td></tr><tr><td style=\"white-space:nowrap\">3<a name=\"bha-income-source-3\"> </a></td><td>Retirement/Pension</td></tr><tr><td style=\"white-space:nowrap\">4<a name=\"bha-income-source-4\"> </a></td><td>Disability</td></tr><tr><td style=\"white-space:nowrap\">97<a name=\"bha-income-source-97\"> </a></td><td>Other</td></tr><tr><td style=\"white-space:nowrap\">99<a name=\"bha-income-source-99\"> </a></td><td>Unknown</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-income-source"] ;
  fhir:CodeSystem.version [ fhir:value "0.3.0-current"] ;
  fhir:CodeSystem.name [ fhir:value "BHAIncomeSourceCS"] ;
  fhir:CodeSystem.title [ fhir:value "BHA Income Source"] ;
  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 "Code system for income sources used in BHA admission process"] ;
  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 "7"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "0" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "None" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "1" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Wages" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "2" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Public Assistance" ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "3" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Retirement/Pension" ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "4" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Disability" ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.concept.code [ fhir:value "97" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Other" ]
  ], [
     fhir:index 6 ;
     fhir:CodeSystem.concept.code [ fhir:value "99" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Unknown" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://bha.colorado.gov/fhir/bha-ig/CodeSystem/bha-income-source.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

