# Common Components FHIR Implementation Guide

26.0.0 - Trial

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 Repeat Status Code

Official URL: http://digitalhealth.gov.au/fhir/cc/StructureDefinition/medicationdispense-repeat-status-code | Version: 26.0.0
Draft as of 2026-07-14 | Computable Name: Medication_Dispense_Repeat_Status_Code
Copyright/Legal: This content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/

Indicates whether this MedicationDispense represents an active repeat (more repeats to be dispensed) or a completed repeat (the last repeat has been dispensed).

The purpose of this extension is to communicate repeat supply progression for MedicationDispense events so systems can distinguish between active and completed repeat cycles during exchange and display.

Context of Use

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

- Element ID: `MedicationDispense`

Usage info

Usages:

- Examples for this Extension: MedicationDispense/medicationdispense-cda-extensions-example, MedicationDispense/medicationdispense-repeat-progression-example-1, MedicationDispense/medicationdispense-repeat-progression-example-2, MedicationDispense/medicationdispense-repeat-progression-example-3... Show 3 more, MedicationDispense/medicationdispense-repeat-progression-example-4, MedicationDispense/medicationdispense-repeat-progression-example-5 and MedicationDispense/medicationdispense-repeat-progression-example-6

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.

- Differential Table
- Snapshot Table
- Statistics/References
- All

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension(4.0.1) | Medication Dispense Repeat Status Code
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "http://digitalhealth.gov.au/fhir/cc/StructureDefinition/medicationdispense-repeat-status-code"
value[x] |  | 0..1 | code | Repeat status code Binding: MedicationDispenseRepeatStatusVS (26.0.0) (required)
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension(4.0.1) | Medication Dispense Repeat Status Code 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-repeat-status-code"
value[x] |  | 0..1 | code | Repeat status code Binding: MedicationDispenseRepeatStatusVS (26.0.0) (required)
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type code: Indicates whether this MedicationDispense represents an active repeat (more repeats to be dispensed) or a completed repeat (the last repeat has been dispensed).

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension(4.0.1) | Medication Dispense Repeat Status Code
extension |  | 0..0 |  | Extension
url |  | 1..1 | uri | "http://digitalhealth.gov.au/fhir/cc/StructureDefinition/medicationdispense-repeat-status-code"
value[x] |  | 0..1 | code | Repeat status code Binding: MedicationDispenseRepeatStatusVS (26.0.0) (required)
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Extension |  | 0..* | Extension(4.0.1) | Medication Dispense Repeat Status Code 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-repeat-status-code"
value[x] |  | 0..1 | code | Repeat status code Binding: MedicationDispenseRepeatStatusVS (26.0.0) (required)
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type code: Indicates whether this MedicationDispense represents an active repeat (more repeats to be dispensed) or a completed repeat (the last repeat has been dispensed).

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Extension.value[x] | Base | required | MedicationDispense Repeat Status | 📍26.0.0 | This IG

#### 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()`