Secondary Use FHIR Server Implementation Guide
0.1.0 - ci-build
Publish Box goes here
| Draft as of 2026-07-01 |
<OperationDefinition xmlns="http://hl7.org/fhir">
<id value="SecondaryUseCountPreviewOperation"/>
<text>
<status value="generated"/>
<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>
</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>
</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>
</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>
</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>
</div></td></tr></table></div>
</text>
<url
value="https://fhir.cumuluz.org/OperationDefinition/secondary-use-count-preview"/>
<version value="0.1.0"/>
<name value="SecondaryUseCountPreview"/>
<title value="Secondary Use Count Preview"/>
<status value="draft"/>
<kind value="operation"/>
<date value="2026-07-01T09:38:56+02:00"/>
<publisher value="Cumuluz"/>
<description
value="Local adapter extension that returns cohort and output resource counts without creating a Bulk job when _summary=count is supplied to /fhir/$export."/>
<affectsState value="false"/>
<code value="export"/>
<system value="true"/>
<type value="false"/>
<instance value="false"/>
<parameter>
<name value="_summary"/>
<use value="in"/>
<min value="1"/>
<max value="1"/>
<documentation value="Must be count."/>
<type value="code"/>
</parameter>
<parameter>
<name value="cohort-patients"/>
<use value="out"/>
<min value="1"/>
<max value="1"/>
<documentation value="Number of patients in the resolved cohort."/>
<type value="integer"/>
</parameter>
<parameter>
<name value="resource-count"/>
<use value="out"/>
<min value="0"/>
<max value="*"/>
<documentation
value="Repeated part with type and count for every requested output resource type."/>
<part>
<name value="type"/>
<use value="out"/>
<min value="1"/>
<max value="1"/>
<documentation value="Output resource type."/>
<type value="code"/>
</part>
<part>
<name value="count"/>
<use value="out"/>
<min value="1"/>
<max value="1"/>
<documentation value="Number of matching resources of this type."/>
<type value="integer"/>
</part>
</parameter>
</OperationDefinition>