@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://openrecruit.dev/fhir/Group/eligibility-group-example> a fhir:Group ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "eligibility-group-example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://openrecruit.dev/fhir/StructureDefinition/eligibility-group" ;
       fhir:index -1 ;
       fhir:link <https://openrecruit.dev/fhir/StructureDefinition/eligibility-group>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "en"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <table class=\"narrative-table\">\n    <tbody>\n<tr>\n\n\n<th colspan=\"2\" scope=\"row\" class=\"row-header\"><a name=\"metadata\"> </a>Metadata</th>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n  \n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Identifier</th>\n\n\n\n<td class=\"content-container\">example</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Type</th>\n\n\n\n<td class=\"content-container\">Person</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Actual</th>\n\n\n\n<td class=\"content-container\">false</td>\n\n\n</tr>\n\n\n<tr>\n\n\n<th scope=\"row\" class=\"row-header\">Code</th>\n\n\n\n<td class=\"content-container\">\n    <a href=\"CodeSystem-eligibility-criteria-types.html\">https://openrecruit.dev/fhir/CodeSystem/eligibility-criteria-types</a>#sql-query\n\n\n</td>\n\n\n</tr>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<tr>\n  <th colspan=\"2\" scope=\"row\" class=\"row-header\">Generated using version 0.5.6 of the sample-content-ig Liquid templates</th>\n</tr>\n\n    </tbody>\n  </table>\n</div>"
  ] ;
  fhir:Group.identifier [
     fhir:index -1 ;
     fhir:Identifier.system [ fhir:value "https://openrecruit.dev/fhir/identifiers/eligibility-group-id" ] ;
     fhir:Identifier.value [ fhir:value "example" ]
  ] ;
  fhir:Group.type [ fhir:value "person"] ;
  fhir:Group.actual [ fhir:value "false"^^xsd:boolean] ;
  fhir:Group.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "https://openrecruit.dev/fhir/CodeSystem/eligibility-criteria-types" ] ;
       fhir:Coding.code [ fhir:value "sql-query" ]
     ]
  ] ;
  fhir:Group.characteristic [
     fhir:index -1 ;
     fhir:Group.characteristic.code [
       fhir:CodeableConcept.text [ fhir:value "All patients" ]
     ] ;
     fhir:Group.characteristic.valueReference [
       fhir:link <https://openrecruit.dev/fhir/Library/sql-query-library-example> ;
       fhir:Reference.reference [ fhir:value "Library/sql-query-library-example" ]
     ] ;
     fhir:Group.characteristic.exclude [ fhir:value "false"^^xsd:boolean ]
  ] .

# - ontology header ------------------------------------------------------------

<https://openrecruit.dev/fhir/Group/eligibility-group-example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

