@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-home-stability-safety-cs> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "bha-home-stability-safety-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-home-stability-safety-cs</b></p><a name=\"bha-home-stability-safety-cs\"> </a><a name=\"hcbha-home-stability-safety-cs\"> </a><p>This case-sensitive code system <code>http://bha.colorado.gov/fhir/bha-ig/CodeSystem/bha-home-stability-safety-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-home-stability-safety-cs-01\"> </a></td><td>Stable and safe housing</td></tr><tr><td style=\"white-space:nowrap\">02<a name=\"bha-home-stability-safety-cs-02\"> </a></td><td>Housing instability</td></tr><tr><td style=\"white-space:nowrap\">03<a name=\"bha-home-stability-safety-cs-03\"> </a></td><td>Housing in unsafe area</td></tr><tr><td style=\"white-space:nowrap\">04<a name=\"bha-home-stability-safety-cs-04\"> </a></td><td>Housing instability and in unsafe area</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-home-stability-safety-cs"] ;
  fhir:CodeSystem.version [ fhir:value "0.3.0-current"] ;
  fhir:CodeSystem.name [ fhir:value "BHAHomeStabilitySafetyCS"] ;
  fhir:CodeSystem.title [ fhir:value "BHA Home Stability and Safety"] ;
  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 home stability and safety used in BHA Special Connections"] ;
  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 "4"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "01" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Stable and safe housing" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "02" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Housing instability" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "03" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Housing in unsafe area" ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "04" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Housing instability and in unsafe area" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://bha.colorado.gov/fhir/bha-ig/CodeSystem/bha-home-stability-safety-cs.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

