AU Base Implementation Guide
5.1.0-preview - Preview

Publication Build: This will be filled in by the publication tooling

## Extension: Dispense Number

Official URL: http://hl7.org.au/fhir/StructureDefinition/dispense-number | Version: 5.1.0-preview
Standards status: Trial-use | Maturity Level: 2 | Computable Name: DispenseNumber
Copyright/Legal: HL7 Australia© 2018+; Licensed Under Creative Commons No Rights Reserved.

This extension applies to the MedicationDispense resource and is used to represent the dispense number or sequence number that has been reached for a therapeutic good prescribed with repeats.

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

- Element ID MedicationDispense

### Usage Notes

Profile specific implementation guidance:

- Set to "1" if there are no repeats.
- Increment by one each time a dispense act is successfully completed.

Usage:

- Use this Extension: AU Base Medication Dispense
- Examples for this Extension: MedicationDispense/example0 and MedicationDispense/example1

Changes since version 5.0.0:

- No changes

### Formal Views of Extension Content

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

- Differential Table
- Snapshot Table
- All

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | Number of this dispense
url |  | 1..1 | uri | "http://hl7.org.au/fhir/StructureDefinition/dispense-number"
value[x] |  | 1..1 | integer | Dispense number
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | Number of this dispense
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org.au/fhir/StructureDefinition/dispense-number"
value[x] |  | 1..1 | integer | Dispense number
Documentation for this format

This structure is derived from Extension

Summary

Simple Extension of type integer: This extension applies to the MedicationDispense resource and is used to represent the dispense number or sequence number that has been reached for a therapeutic good prescribed with repeats.

Maturity: 2

Differential View

This structure is derived from Extension

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | Number of this dispense
url |  | 1..1 | uri | "http://hl7.org.au/fhir/StructureDefinition/dispense-number"
value[x] |  | 1..1 | integer | Dispense number
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
Extension |  | 0..1 | Extension | Number of this dispense
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "http://hl7.org.au/fhir/StructureDefinition/dispense-number"
value[x] |  | 1..1 | integer | Dispense number
Documentation for this format

Other representations of profile: CSV, Excel, Schematron

#### Constraints

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