Common Components FHIR Implementation Guide, published by Australian Digital Health Agency. This guide is not an authorized publication; it is the continuous build for version 26.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/AuDigitalHealth/common-components/ and changes regularly. See the Directory of published versions

Extension: Medication Dispense Maximum Number Of Repeats

Official URL: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/medicationdispense-maximum-number-of-repeats Version: 26.0.0
Draft as of 2026-07-14 Computable Name: Medication_Dispense_Maximum_Number_Of_Repeats

Copyright/Legal: This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/

The maximum number of repeat supplies authorised for a therapeutic good, not including the initial supply. Equivalent to MedicationRequest.dispenseRequest.numberOfRepeatsAllowed.

The purpose of this extension is to convey the maximum number of repeats authorised for a therapeutic good from prescription data so systems can enforce and display repeat limits during dispensing workflows. A value of 5 means 5 repeats after the initial supply (6 total supplies), consistent with the numberOfRepeatsAllowed counting convention.

Context of Use

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: Filtersdoco
.. Extension 0..* Extension(4.0.1) Medication Dispense Maximum Number Of Repeats
... extension 0..0 Extension
... url 1..1 uri "http://digitalhealth.gov.au/fhir/cc/StructureDefinition/medicationdispense-maximum-number-of-repeats"
... value[x] 0..1 unsignedInt Maximum number of repeats

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(4.0.1) Medication Dispense Maximum Number Of Repeats
Constraints: ext-1
... id 0..1 string Unique id for inter-element referencing
... extension 0..0 Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
... url 1..1 uri "http://digitalhealth.gov.au/fhir/cc/StructureDefinition/medicationdispense-maximum-number-of-repeats"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type unsignedInt: The maximum number of repeat supplies authorised for a therapeutic good, not including the initial supply. Equivalent to MedicationRequest.dispenseRequest.numberOfRepeatsAllowed.

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(4.0.1) Medication Dispense Maximum Number Of Repeats
... extension 0..0 Extension
... url 1..1 uri "http://digitalhealth.gov.au/fhir/cc/StructureDefinition/medicationdispense-maximum-number-of-repeats"
... value[x] 0..1 unsignedInt Maximum number of repeats

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(4.0.1) Medication Dispense Maximum Number Of Repeats
Constraints: ext-1
... id 0..1 string Unique id for inter-element referencing
... extension 0..0 Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
... url 1..1 uri "http://digitalhealth.gov.au/fhir/cc/StructureDefinition/medicationdispense-maximum-number-of-repeats"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type unsignedInt: The maximum number of repeat supplies authorised for a therapeutic good, not including the initial supply. Equivalent to MedicationRequest.dispenseRequest.numberOfRepeatsAllowed.

 

Other representations of profile: CSV, Excel, Schematron

Constraints

Id Grade Path(s) Description Expression
ele-1 error Extension, Extension.value[x] All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Extension Must have either extensions or value[x], not both extension.exists() != value.exists()