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