description: A CapabilityStatement profile that constrains and documents the Capability Statement to the Health New Zealand Te Whatu Ora OpenAPI spec generator requirements package_name: tewhatuora.digitaltooling.ig derivation: constraint name: HnzToolingCapabilityStatement type: CapabilityStatement elements: extension: index: 0 slicing: rules: open ordered: false discriminator: - {path: url, type: value} min: 1 slices: HnzApiSpecBuilderExtension: match: {url: null} schema: {type: Extension, url: 'https://fhir-ig-uat.digital.health.nz/hnz-digital-tooling/StructureDefinition/resource-metadata-extension', index: 1} min: 1 max: 1 version: {short: 'The version of API, displayed in the OpenAPI contact section', index: 2} contact: short: The contact details used in the OpenAPI info section index: 3 elements: name: {short: The url for the contact, index: 4} telecom: elements: system: pattern: {type: Code, value: url} index: 5 required: [name] rest: elements: mode: {short: The mode of the RESTful interface. A mode of server MUST be provided to generate an OpenAPI spec, index: 6} security: elements: service: {short: 'The security service that the server supports, to annotate in the OpenAPI security section', index: 7} resource: index: 8 elements: type: {short: The type of resource that the server supports. This MUST be provided to generate OpenAPI paths, index: 9} profile: {short: 'The base profile that the resource supports. If not provided, the base resource schema from the FHIR specification will be used', index: 10} supportedProfile: {short: 'The profiles that the resource supports. This MUST be provided to generate OpenAPI schemas based on the FHIR profiles, and examples on each resource', index: 11} interaction: {short: The interactions that the resource supports. This MUST be provided to generate OpenAPI operations, index: 12} searchParam: {short: The search parameters that the resource supports. This MUST be provided to generate OpenAPI parameters on each resource, index: 13} operation: short: Custom operations that the resource supports. This MUST be provided to generate a OpenAPI path/operation index: 14 elements: name: {short: The name of the operation that the resource supports, index: 15} definition: {short: The canonical URL of the operation definition that the resource supports, index: 16} operation: {short: Custom operations that the server supports at at system level. This MUST be provided to generate a OpenAPI path/operation, index: 17} required: [resource] package_version: 0.0.3 extensions: HnzApiSpecBuilderExtension: {url: 'https://fhir-ig-uat.digital.health.nz/hnz-digital-tooling/StructureDefinition/resource-metadata-extension', min: 1, max: 1, type: Extension, index: 1} class: profile kind: resource url: https://fhir-ig-uat.digital.health.nz/hnz-digital-tooling/StructureDefinition/hnz-capability-statement base: http://hl7.org/fhir/StructureDefinition/CapabilityStatement version: 0.0.3 required: [extension, version, contact]