@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://www.core.blackpear.com/ig/metadata/CodeSystem/CoreDataSourceCodes> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "CoreDataSourceCodes"] ;
  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 CoreDataSourceCodes</b></p><a name=\"CoreDataSourceCodes\"> </a><a name=\"hcCoreDataSourceCodes\"> </a><p>This case-sensitive code system <code>https://core.blackpear.com/ig/metadata/CodeSystem/CoreDataSourceCodes</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">QUERY<a name=\"CoreDataSourceCodes-QUERY\"> </a></td><td>Clinical Query cell</td><td>The clinical Query cell. Used when a variable declares no CoreDataSource.</td></tr><tr><td style=\"white-space:nowrap\">CORECAREPLANS<a name=\"CoreDataSourceCodes-CORECAREPLANS\"> </a></td><td>Care Plans cell</td><td>The Care Plans cell.</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://core.blackpear.com/ig/metadata/CodeSystem/CoreDataSourceCodes"] ;
  fhir:CodeSystem.version [ fhir:value "0.1.0"] ;
  fhir:CodeSystem.name [ fhir:value "CoreDataSourceCodes"] ;
  fhir:CodeSystem.title [ fhir:value "Core Data Source Codes"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-11-13T16:51:07+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.description [ fhir:value "Core cells an application/x-fhir-query Questionnaire variable can be routed to at $populate time. Codes are case-sensitive and passed to the host cell router verbatim."] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "2"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "QUERY" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Clinical Query cell" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "The clinical Query cell. Used when a variable declares no CoreDataSource." ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "CORECAREPLANS" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Care Plans cell" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "The Care Plans cell." ]
  ] .

# - ontology header ------------------------------------------------------------

<https://www.core.blackpear.com/ig/metadata/CodeSystem/CoreDataSourceCodes.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

