@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/SearchParameter/belongs-to-study> a fhir:SearchParameter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "belongs-to-study"] ;
  fhir:Resource.language [ fhir:value "en"] ;
  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: SearchParameter belongs-to-study</b></p><a name=\"belongs-to-study\"> </a><a name=\"hcbelongs-to-study\"> </a><h2>BelongsToStudy</h2><p>Parameter <code>belongs-to-study</code>:<code>reference</code></p><div><p>The ResearchStudy a List or MeasureReport pertains to</p>\n</div><table class=\"grid\"><tr><td>Resources</td><td><a href=\"http://hl7.org/fhir/R4/list.html\">List</a>, <a href=\"http://hl7.org/fhir/R4/measurereport.html\">MeasureReport</a></td></tr><tr><td>Expression</td><td><code>List.extension('https://openrecruit.dev/fhir/StructureDefinition/belongs-to-study').value.ofType(Reference) | MeasureReport.extension('https://openrecruit.dev/fhir/StructureDefinition/belongs-to-study').value.ofType(Reference)</code></td></tr><tr><td>Target Resources</td><td><a href=\"http://hl7.org/fhir/R4/researchstudy.html\">ResearchStudy</a></td></tr><tr><td>Multiples</td><td><ul><li>multipleAnd: It's up to the server whether the parameter may repeat in order to specify multiple values that must all be true</li><li>multipleOr: It's up to the server whether the parameter can have multiple values (separated by comma) where at least one must be true</li></ul></td></tr></table></div>"
  ] ;
  fhir:SearchParameter.url [ fhir:value "https://openrecruit.dev/fhir/SearchParameter/belongs-to-study"] ;
  fhir:SearchParameter.version [ fhir:value "11.3.0"] ;
  fhir:SearchParameter.name [ fhir:value "BelongsToStudy"] ;
  fhir:SearchParameter.status [ fhir:value "active"] ;
  fhir:SearchParameter.date [ fhir:value "2026-12-01T18:57:23+00:00"^^xsd:dateTime] ;
  fhir:SearchParameter.publisher [ fhir:value "The recruIT Developers"] ;
  fhir:SearchParameter.contact [
     fhir:index -1 ;
     fhir:ContactDetail.name [ fhir:value "The recruIT Developers" ] ;
     fhir:ContactDetail.telecom [
       fhir:index -1 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://openrecruit.dev" ]
     ]
  ] ;
  fhir:SearchParameter.description [ fhir:value "The ResearchStudy a List or MeasureReport pertains to"] ;
  fhir:SearchParameter.code [ fhir:value "belongs-to-study"] ;
  fhir:SearchParameter.base [
     fhir:value "List" ;
     fhir:index -1
  ], [
     fhir:value "MeasureReport" ;
     fhir:index -1
  ] ;
  fhir:SearchParameter.type [ fhir:value "reference"] ;
  fhir:SearchParameter.expression [ fhir:value "List.extension('https://openrecruit.dev/fhir/StructureDefinition/belongs-to-study').value.ofType(Reference) | MeasureReport.extension('https://openrecruit.dev/fhir/StructureDefinition/belongs-to-study').value.ofType(Reference)"] ;
  fhir:SearchParameter.target [
     fhir:value "ResearchStudy" ;
     fhir:index -1
  ] .

# - ontology header ------------------------------------------------------------

<https://openrecruit.dev/fhir/SearchParameter/belongs-to-study.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

