NZ Shared Digital Health Record API
1.1.0 - release
NZ Shared Digital Health Record API - Local Development build (v1.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Draft as of 2026-07-22 |
{
"resourceType" : "OperationDefinition",
"id" : "SDHRVerificationSamplesOperation",
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition SDHRVerificationSamplesOperation</b></p><a name=\"SDHRVerificationSamplesOperation\"> </a><a name=\"hcSDHRVerificationSamplesOperation\"> </a><p>URL: [base]/AuditEvent/$verification-samples</p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>_count</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#integer\">integer</a></td><td/><td><div><p>Optional page size. Limits the maximum number of sampled AuditEvent resources returned in the Bundle.</p>\n</div></td></tr><tr><td>IN</td><td>_offset</td><td/><td>0..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#integer\">integer</a></td><td/><td><div><p>Optional zero-based starting offset. Skips the specified number of matching sampled AuditEvent resources before returning results.</p>\n</div></td></tr><tr><td>OUT</td><td>return</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/bundle.html\">Bundle</a></td><td/><td><div><p>Bundle of sampled AuditEvent resources requiring verification by the authenticated data viewer application. When paging is used, the Bundle may include paging links such as <code>self</code> and <code>next</code>.</p>\n</div></td></tr></table></div>"
},
"url" : "https://fhir-ig.digital.health.nz/sdhr/OperationDefinition/SDHRVerificationSamplesOperation",
"version" : "1.1.0",
"name" : "VerificationSamples",
"status" : "draft",
"kind" : "operation",
"date" : "2026-07-22T06:20:47+00:00",
"publisher" : "Health New Zealand",
"contact" : [
{
"name" : "Health New Zealand",
"telecom" : [
{
"system" : "url",
"value" : "https://github.com/tewhatuora"
}
]
},
{
"name" : "HNZ Integration Team",
"telecom" : [
{
"system" : "email",
"value" : "integration@tewhatuora.govt.nz",
"use" : "work"
}
]
}
],
"description" : "DRAFT OPERATION: This operation returns `AuditEvent` resources that have been sampled for verification and are still outstanding for the data viewer application.\n\nThe operation is invoked on the `AuditEvent` type using `GET /AuditEvent/$verification-samples`.\n\nThe response is a `Bundle` containing sampled `AuditEvent` resources that:\n- are pending verification\n- are eligible for the authenticated caller\n- have not already been marked as verified by the data viewer application\n\nThe operation supports optional paging parameters:\n- `_count` to limit the maximum number of samples returned in a single response\n- `_offset` to skip a number of matching samples before returning results",
"code" : "verification-samples",
"resource" : [
"AuditEvent"
],
"system" : false,
"type" : true,
"instance" : false,
"parameter" : [
{
"name" : "_count",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "Optional page size. Limits the maximum number of sampled AuditEvent resources returned in the Bundle.",
"type" : "integer"
},
{
"name" : "_offset",
"use" : "in",
"min" : 0,
"max" : "1",
"documentation" : "Optional zero-based starting offset. Skips the specified number of matching sampled AuditEvent resources before returning results.",
"type" : "integer"
},
{
"name" : "return",
"use" : "out",
"min" : 1,
"max" : "1",
"documentation" : "Bundle of sampled AuditEvent resources requiring verification by the authenticated data viewer application. When paging is used, the Bundle may include paging links such as `self` and `next`.",
"type" : "Bundle"
}
]
}