Secondary Use FHIR Server Implementation Guide
0.1.0 - ci-build

Publish Box goes here

: Secondary Use Count Preview - TTL Representation

Draft as of 2026-07-01

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:OperationDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "SecondaryUseCountPreviewOperation"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Gegenereerde narrative: OperationDefinition SecondaryUseCountPreviewOperation</b></p><a name=\"SecondaryUseCountPreviewOperation\"> </a><a name=\"hcSecondaryUseCountPreviewOperation\"> </a><p>Url: [base]/$export</p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Gebruik</b></td><td><b>Naam</b></td><td><b>Scope</b></td><td><b>Kardinaliteit</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentatie</b></td></tr><tr><td>IN</td><td>_summary</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td/><td><div><p>Must be count.</p>\n</div></td></tr><tr><td>OUT</td><td>cohort-patients</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#integer\">integer</a></td><td/><td><div><p>Number of patients in the resolved cohort.</p>\n</div></td></tr><tr><td>OUT</td><td>resource-count</td><td/><td>0..*</td><td/><td/><td><div><p>Repeated part with type and count for every requested output resource type.</p>\n</div></td></tr><tr><td>OUT</td><td>resource-count.type</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td/><td><div><p>Output resource type.</p>\n</div></td></tr><tr><td>OUT</td><td>resource-count.count</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#integer\">integer</a></td><td/><td><div><p>Number of matching resources of this type.</p>\n</div></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:url [
fhir:v "https://fhir.cumuluz.org/OperationDefinition/secondary-use-count-preview"^^xsd:anyURI ;
fhir:l <https://fhir.cumuluz.org/OperationDefinition/secondary-use-count-preview>
  ] ; # 
  fhir:version [ fhir:v "0.1.0"] ; # 
  fhir:name [ fhir:v "SecondaryUseCountPreview"] ; # 
  fhir:title [ fhir:v "Secondary Use Count Preview"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:kind [ fhir:v "operation"] ; # 
  fhir:date [ fhir:v "2026-07-01T09:38:56+02:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Cumuluz"] ; # 
  fhir:description [ fhir:v "Local adapter extension that returns cohort and output resource counts without creating a Bulk job when _summary=count is supplied to /fhir/$export."] ; # 
  fhir:affectsState [ fhir:v false] ; # 
  fhir:code [ fhir:v "export"] ; # 
  fhir:system [ fhir:v true] ; # 
  fhir:type [ fhir:v false] ; # 
  fhir:instance [ fhir:v false] ; # 
  fhir:parameter ( [
fhir:name [ fhir:v "_summary" ] ;
fhir:use [ fhir:v "in" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Must be count." ] ;
fhir:type [ fhir:v "code" ]
  ] [
fhir:name [ fhir:v "cohort-patients" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Number of patients in the resolved cohort." ] ;
fhir:type [ fhir:v "integer" ]
  ] [
fhir:name [ fhir:v "resource-count" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 0 ] ;
fhir:max [ fhir:v "*" ] ;
fhir:documentation [ fhir:v "Repeated part with type and count for every requested output resource type." ] ;
    ( fhir:part [
fhir:name [ fhir:v "type" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Output resource type." ] ;
fhir:type [ fhir:v "code" ]     ] [
fhir:name [ fhir:v "count" ] ;
fhir:use [ fhir:v "out" ] ;
fhir:min [ fhir:v 1 ] ;
fhir:max [ fhir:v "1" ] ;
fhir:documentation [ fhir:v "Number of matching resources of this type." ] ;
fhir:type [ fhir:v "integer" ]     ] )
  ] ) . #