HL7 FHIR Implementation Guide - New Zealand Formulary/NZULM IG
1.0.0 - ci-build

HL7 FHIR Implementation Guide - New Zealand Formulary/NZULM IG, published by New Zealand Medicines Formulary LP. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7NZ/nzf/ and changes regularly. See the Directory of published versions

Extension: Funding

Official URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-funding Version: 1.0.0
Draft as of 2026-11-25 Computable Name: Funding

Core funding information specific to NZ. The extension can be added multiple times to a product for each PHARMAC schedule. These can be differentiated via the scheduleDate field.

Context of Use

    This extension may be used on the following element(s)

Funding information is added to Containered Trade Product Packs where applicable. The funding information is derived from both the PHARMAC schedule.

There are two extensions added that store this information. The first is nzf-funding. This stores the general information around funding for a specific product such as price, subsidy and pack quantity. The pack quantity extension is in the form of a Fhir Quantity and will primarily be derived from the related Trade Product Pack Total Unit Of Use Quantity Value field (excepting rare occasions when it may be editorially overridden to match the needs of the funding system).

The nzf-funding extension also includes a 'type' field which indicates whether it applies to community, hml or both. To cater for the existence of multiple schedules this extension can be added to a product multiple times, once per schedule. This allows vendors to see both the current schedule information as well as an upcoming schedule. To determine which set of information to use the 'scheduleDate' field can be used.

To determine what schedules are available at any given time there is a 'Basic' resource that provides metadata (id and code =metadata). This metadata object contains a list of pharmacSchedule details, including the schedule dates.

To determine the appropriate pharmac subsidy code:

  • Community – the pharmacode associated with the given CTPP should always be used. This is in the code field for the CTPP Medication resource.
  • HML – some items are HML due to generic level funding (e.g. at the MPUU level). If this is the case then the genericLevelFundingCode will be populated for the core funding extension and should be used. This should only be used for HML. If no genericLevelFundingCode exists then the pharmacode associated with the given CTPP should be used.

Usage info

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Extension Content

Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Extension 0..* Extension Extension
Extension.extension 2..* Extension Extension
Extension.Slices for extension Content/Rules for all slices
Extension.Slices for extension.extension:scheduleDate 1..1 Extension The date this item was placed on the schedule
Extension.Slices for extension.extension:scheduleDate.extension 0..0 Extension
Extension.Slices for extension.extension:scheduleDate.url 1..1 uri "scheduleDate"
Extension.Slices for extension.extension:scheduleDate.value[x] 0..1 date Value of extension
Extension.Slices for extension.extension:status 0..1 Extension status of community funding - no subsidy, partial subsidy, full subsidy
Extension.Slices for extension.extension:status.extension 0..0 Extension
Extension.Slices for extension.extension:status.url 1..1 uri "status"
Extension.Slices for extension.extension:status.value[x] 0..1 CodeableConcept Value of extension
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/nzf-funding-code (required)
Extension.Slices for extension.extension:subsidy 0..1 Extension The subsided price
Extension.Slices for extension.extension:subsidy.extension 0..0 Extension
Extension.Slices for extension.extension:subsidy.url 1..1 uri "subsidy"
Extension.Slices for extension.extension:subsidy.value[x] 0..1 Money Value of extension
Extension.Slices for extension.extension:higherSubsidy 0..1 Extension The higher subsided price
Extension.Slices for extension.extension:higherSubsidy.extension 0..0 Extension
Extension.Slices for extension.extension:higherSubsidy.url 1..1 uri "higherSubsidy"
Extension.Slices for extension.extension:higherSubsidy.value[x] 0..1 Money Value of extension
Extension.Slices for extension.extension:price 0..1 Extension The manufacturer price.
Extension.Slices for extension.extension:price.extension 0..0 Extension
Extension.Slices for extension.extension:price.url 1..1 uri "price"
Extension.Slices for extension.extension:price.value[x] 0..1 Money Value of extension
Extension.Slices for extension.extension:claimUnit 0..1 Extension Pharmac claim unit
Extension.Slices for extension.extension:claimUnit.extension 0..0 Extension
Extension.Slices for extension.extension:claimUnit.url 1..1 uri "claimUnit"
Extension.Slices for extension.extension:claimUnit.value[x] 0..1 CodeableConcept Value of extension
Extension.Slices for extension.extension:packQuantity 0..1 Extension The product pack quantity
Extension.Slices for extension.extension:packQuantity.extension 0..0 Extension
Extension.Slices for extension.extension:packQuantity.url 1..1 uri "packQuantity"
Extension.Slices for extension.extension:packQuantity.value[x] 0..1 Quantity Value of extension
Extension.Slices for extension.extension:type 1..* Extension A list of funding types, currently either community or hml
Extension.Slices for extension.extension:type.extension 0..0 Extension
Extension.Slices for extension.extension:type.url 1..1 uri "type"
Extension.Slices for extension.extension:type.value[x] 0..1 CodeableConcept Value of extension
Binding: PHARMAC funding type (required)
Extension.url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/nzf-funding"

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Extension 0..* Extension Extension
Extension.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:scheduleDate 1..1 Extension The date this item was placed on the schedule
Extension.Slices for extension.extension:scheduleDate.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:scheduleDate.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:scheduleDate.url 1..1 uri "scheduleDate"
Extension.Slices for extension.extension:scheduleDate.value[x] 0..1 date Value of extension
Extension.Slices for extension.extension:status 0..1 Extension status of community funding - no subsidy, partial subsidy, full subsidy
Extension.Slices for extension.extension:status.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:status.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:status.url 1..1 uri "status"
Extension.Slices for extension.extension:status.value[x] 0..1 CodeableConcept Value of extension
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/nzf-funding-code (required)
Extension.Slices for extension.extension:subsidy 0..1 Extension The subsided price
Extension.Slices for extension.extension:subsidy.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:subsidy.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:subsidy.url 1..1 uri "subsidy"
Extension.Slices for extension.extension:subsidy.value[x] 0..1 Money Value of extension
Extension.Slices for extension.extension:higherSubsidy 0..1 Extension The higher subsided price
Extension.Slices for extension.extension:higherSubsidy.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:higherSubsidy.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:higherSubsidy.url 1..1 uri "higherSubsidy"
Extension.Slices for extension.extension:higherSubsidy.value[x] 0..1 Money Value of extension
Extension.Slices for extension.extension:price 0..1 Extension The manufacturer price.
Extension.Slices for extension.extension:price.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:price.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:price.url 1..1 uri "price"
Extension.Slices for extension.extension:price.value[x] 0..1 Money Value of extension
Extension.Slices for extension.extension:claimUnit 0..1 Extension Pharmac claim unit
Extension.Slices for extension.extension:claimUnit.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:claimUnit.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:claimUnit.url 1..1 uri "claimUnit"
Extension.Slices for extension.extension:claimUnit.value[x] 0..1 CodeableConcept Value of extension
Extension.Slices for extension.extension:packQuantity 0..1 Extension The product pack quantity
Extension.Slices for extension.extension:packQuantity.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:packQuantity.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:packQuantity.url 1..1 uri "packQuantity"
Extension.Slices for extension.extension:packQuantity.value[x] 0..1 Quantity Value of extension
Extension.Slices for extension.extension:type 1..* Extension A list of funding types, currently either community or hml
Extension.Slices for extension.extension:type.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:type.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:type.url 1..1 uri "type"
Extension.Slices for extension.extension:type.value[x] 0..1 CodeableConcept Value of extension
Binding: PHARMAC funding type (required)
Extension.url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/nzf-funding"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Core funding information specific to NZ. The extension can be added multiple times to a product for each PHARMAC schedule. These can be differentiated via the scheduleDate field.

  • scheduleDate: date: The date this item was placed on the schedule
  • status: CodeableConcept: status of community funding - no subsidy, partial subsidy, full subsidy
  • subsidy: Money: The subsided price
  • higherSubsidy: Money: The higher subsided price
  • price: Money: The manufacturer price.
  • claimUnit: CodeableConcept: Pharmac claim unit
  • packQuantity: Quantity: The product pack quantity
  • type: CodeableConcept: A list of funding types, currently either community or hml

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Extension 0..* Extension Extension
Extension.extension 2..* Extension Extension
Extension.Slices for extension Content/Rules for all slices
Extension.Slices for extension.extension:scheduleDate 1..1 Extension The date this item was placed on the schedule
Extension.Slices for extension.extension:scheduleDate.extension 0..0 Extension
Extension.Slices for extension.extension:scheduleDate.url 1..1 uri "scheduleDate"
Extension.Slices for extension.extension:scheduleDate.value[x] 0..1 date Value of extension
Extension.Slices for extension.extension:status 0..1 Extension status of community funding - no subsidy, partial subsidy, full subsidy
Extension.Slices for extension.extension:status.extension 0..0 Extension
Extension.Slices for extension.extension:status.url 1..1 uri "status"
Extension.Slices for extension.extension:status.value[x] 0..1 CodeableConcept Value of extension
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/nzf-funding-code (required)
Extension.Slices for extension.extension:subsidy 0..1 Extension The subsided price
Extension.Slices for extension.extension:subsidy.extension 0..0 Extension
Extension.Slices for extension.extension:subsidy.url 1..1 uri "subsidy"
Extension.Slices for extension.extension:subsidy.value[x] 0..1 Money Value of extension
Extension.Slices for extension.extension:higherSubsidy 0..1 Extension The higher subsided price
Extension.Slices for extension.extension:higherSubsidy.extension 0..0 Extension
Extension.Slices for extension.extension:higherSubsidy.url 1..1 uri "higherSubsidy"
Extension.Slices for extension.extension:higherSubsidy.value[x] 0..1 Money Value of extension
Extension.Slices for extension.extension:price 0..1 Extension The manufacturer price.
Extension.Slices for extension.extension:price.extension 0..0 Extension
Extension.Slices for extension.extension:price.url 1..1 uri "price"
Extension.Slices for extension.extension:price.value[x] 0..1 Money Value of extension
Extension.Slices for extension.extension:claimUnit 0..1 Extension Pharmac claim unit
Extension.Slices for extension.extension:claimUnit.extension 0..0 Extension
Extension.Slices for extension.extension:claimUnit.url 1..1 uri "claimUnit"
Extension.Slices for extension.extension:claimUnit.value[x] 0..1 CodeableConcept Value of extension
Extension.Slices for extension.extension:packQuantity 0..1 Extension The product pack quantity
Extension.Slices for extension.extension:packQuantity.extension 0..0 Extension
Extension.Slices for extension.extension:packQuantity.url 1..1 uri "packQuantity"
Extension.Slices for extension.extension:packQuantity.value[x] 0..1 Quantity Value of extension
Extension.Slices for extension.extension:type 1..* Extension A list of funding types, currently either community or hml
Extension.Slices for extension.extension:type.extension 0..0 Extension
Extension.Slices for extension.extension:type.url 1..1 uri "type"
Extension.Slices for extension.extension:type.value[x] 0..1 CodeableConcept Value of extension
Binding: PHARMAC funding type (required)
Extension.url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/nzf-funding"
Extension.value[x] 0..0 Value of extension

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Extension 0..* Extension Extension
Extension.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:scheduleDate 1..1 Extension The date this item was placed on the schedule
Extension.Slices for extension.extension:scheduleDate.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:scheduleDate.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:scheduleDate.url 1..1 uri "scheduleDate"
Extension.Slices for extension.extension:scheduleDate.value[x] 0..1 date Value of extension
Extension.Slices for extension.extension:status 0..1 Extension status of community funding - no subsidy, partial subsidy, full subsidy
Extension.Slices for extension.extension:status.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:status.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:status.url 1..1 uri "status"
Extension.Slices for extension.extension:status.value[x] 0..1 CodeableConcept Value of extension
Binding: https://nzhts.digital.health.nz/fhir/ValueSet/nzf-funding-code (required)
Extension.Slices for extension.extension:subsidy 0..1 Extension The subsided price
Extension.Slices for extension.extension:subsidy.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:subsidy.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:subsidy.url 1..1 uri "subsidy"
Extension.Slices for extension.extension:subsidy.value[x] 0..1 Money Value of extension
Extension.Slices for extension.extension:higherSubsidy 0..1 Extension The higher subsided price
Extension.Slices for extension.extension:higherSubsidy.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:higherSubsidy.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:higherSubsidy.url 1..1 uri "higherSubsidy"
Extension.Slices for extension.extension:higherSubsidy.value[x] 0..1 Money Value of extension
Extension.Slices for extension.extension:price 0..1 Extension The manufacturer price.
Extension.Slices for extension.extension:price.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:price.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:price.url 1..1 uri "price"
Extension.Slices for extension.extension:price.value[x] 0..1 Money Value of extension
Extension.Slices for extension.extension:claimUnit 0..1 Extension Pharmac claim unit
Extension.Slices for extension.extension:claimUnit.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:claimUnit.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:claimUnit.url 1..1 uri "claimUnit"
Extension.Slices for extension.extension:claimUnit.value[x] 0..1 CodeableConcept Value of extension
Extension.Slices for extension.extension:packQuantity 0..1 Extension The product pack quantity
Extension.Slices for extension.extension:packQuantity.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:packQuantity.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:packQuantity.url 1..1 uri "packQuantity"
Extension.Slices for extension.extension:packQuantity.value[x] 0..1 Quantity Value of extension
Extension.Slices for extension.extension:type 1..* Extension A list of funding types, currently either community or hml
Extension.Slices for extension.extension:type.id 0..1 id Unique id for inter-element referencing
Extension.Slices for extension.extension:type.extension 0..0 Extension
Slice: Unordered, Open by value:url
Extension.Slices for extension.extension:type.url 1..1 uri "type"
Extension.Slices for extension.extension:type.value[x] 0..1 CodeableConcept Value of extension
Binding: PHARMAC funding type (required)
Extension.url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/nzf-funding"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: Core funding information specific to NZ. The extension can be added multiple times to a product for each PHARMAC schedule. These can be differentiated via the scheduleDate field.

  • scheduleDate: date: The date this item was placed on the schedule
  • status: CodeableConcept: status of community funding - no subsidy, partial subsidy, full subsidy
  • subsidy: Money: The subsided price
  • higherSubsidy: Money: The higher subsided price
  • price: Money: The manufacturer price.
  • claimUnit: CodeableConcept: Pharmac claim unit
  • packQuantity: Quantity: The product pack quantity
  • type: CodeableConcept: A list of funding types, currently either community or hml

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

Path Status Usage ValueSet Version Source
Extension.extension:status.​value[x] Base required https://nzhts.digital.health.nz/fhir/ValueSet/nzf-funding-code Not State Unknown
Extension.extension:type.​value[x] Base required PHARMAC funding type 📦1.0.0 This IG

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children unless an empty Parameters resource hasValue() or (children().count() > id.count()) or $this is Parameters
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()