Medtech ALEX® AU Implementation Guide
1.0.0 - Trial Use

Medtech ALEX® AU Implementation Guide - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: Repeat Prescription Post Bundle

Official URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/repeatprescription-post-bundle | Version: 1.0.0
Active as of 2026-01-12 | Computable Name: RepeatPrescriptionPostBundle

The Bundle payload for post of Repeat Prescription

Usages:

- Examples for this Profile: Bundle/repeat-prescription-post-bundle-example

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

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

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

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Bundle | C | 0..* | Bundle | Contains a collection of resources Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
type | Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Binding: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Required Pattern: transaction
Slices for entry | Σ C | 0..* | BackboneElement | Entry in the bundle - will have a resource or information Slice: Unordered, Closed by type:resource Constraints: bdl-5, bdl-8 This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
entry:All Slices |  |  |  | Content/Rules for all slices
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
entry:repeatprescription | Σ C | 0..* | BackboneElement | Entry in the bundle - will have a resource or information Constraints: bdl-5, bdl-8 This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
resource |  | 0..1 | AlexRepeatPrescription | A request for a medication for a patient in an Australian healthcare context
id | S Σ | 1..1 | id | The ID of the existing medication to be repeated.
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for extension |  |  |  | Content/Rules for all slices
extension:longTerm |  | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-long-term
extension:scheme |  | 0..1 | Coding | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-scheme Binding: Medication Scheme (required)
extension:unusualDose |  | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-unusual-dose
extension:regulation24 |  | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-regulation-24
extension:approvedNumber |  | 0..1 | string | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-approved-number
extension:authorityNumber |  | 0..1 | string | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-authority-number
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
status | ?!S Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: Status for Medication Request (required)
intent | ?!S Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. Required Pattern: order
doNotPerform | ?!Σ | 0..1 | boolean | True if request is prohibiting action
Slices for medication[x] | Σ | 1..1 | CodeableConcept | Medication to be taken Slice: Unordered, Closed by type:$this Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
medication[x]:medicationReference | S Σ | 0..1 | Reference(Medication) | Prescribed Medication
medication[x]:medicationCodeableConcept | S Σ | 1..1 | CodeableConcept | Coded Prescribed Medication Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
Slices for coding | Σ | 1..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system
coding:mimsPackage | Σ | 1..1 | Coding | MIMS Package Binding: MIMS (preferred)
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://www.mims.com.au/codes
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
text | S Σ | 0..1 | string | Medication primary text
subject | S Σ | 1..1 | Reference(Patient | Group) | Who or group medication request is for
Slices for supportingInformation |  | 0..* | Reference(Resource) | Information to support ordering of the medication Slice: Unordered, Open by profile:resolve()
supportingInformation:bodyHeight |  | 0..1 | Reference(Observation Body Height Profile) | Observation of Body Height
supportingInformation:bodyWeight |  | 0..1 | Reference(Observation Body Weight Profile) | Observation of Body Weight
authoredOn | S Σ | 1..1 | dateTime | Created date
requester | S Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/What requested the Request
note |  | 0..* | Annotation | Information about the prescription
text | S Σ C | 1..1 | markdown | The annotation - text content (as markdown) Constraints: medication-request-note-length
dosageInstruction | S C | 0..* | AUBaseDosage | Dosage information in an Australian healthcare context Constraints: dosage-instruction-text-length
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
text | S Σ | 0..1 | string | Free text dosage instructions e.g. SIG
patientInstruction | S Σ C | 0..1 | string | Patient or consumer oriented instructions Constraints: patient-instruction-length
timing | S Σ | 0..1 | Timing | Since daily frequency is user defineable in PMS, it may contain other code defined with Medtech extension
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
code | S Σ C | 0..1 | CodeableConcept | BID | TID | QID | AM | PM | QD | QOD | + Binding: Daily Frequency Value Set for Dosage (extensible) Constraints: medreq-daily-frequency-system
doseAndRate | S Σ | 0..* | Element | Amount of medication administered
dispenseRequest | S | 0..1 | BackboneElement | Requested dispensing
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
numberOfRepeatsAllowed | S | 0..1 | unsignedInt | Maximum repeats authorised
quantity | S | 0..1 | SimpleQuantity | Amount of medication to supply per dispense
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
unit | S Σ | 0..1 | string | Unit representation
expectedSupplyDuration |  | 0..1 | Duration | Number of days supply per dispense
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org
substitution |  | 0..1 | BackboneElement | Brand substitution details
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
Slices for allowed[x] |  | 1..1 |  | Brand substitution flag Slice: Unordered, Open by type:$this Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.
allowedBoolean |  |  | boolean |
allowedCodeableConcept |  |  | CodeableConcept |
allowed[x]:allowedBoolean | S | 0..1 | boolean | Brand substitution flag
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Bundle.type | Base | required | BundleType | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.status | Base | required | Status for Medication Request | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.medication[x] | Base | example | SNOMED CT Medication Codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.medication[x]:medicationCodeableConcept | Base | example | SNOMED CT Medication Codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.medication[x]:medicationCodeableConcept.​coding:mimsPackage | Base | preferred | MIMS | 📦4.1.0 | AU Base Implementation Guide v4.1
Bundle.entry:repeatprescription.​resource.dosageInstruction.​timing.code | Base | extensible | Daily Frequency Value Set for Dosage | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.substitution.​allowed[x] | Base | example | ActSubstanceAdminSubstitutionCode | 📦3.0.0 | THO v5.5

#### Constraints

Id | Grade | Path(s) | Description | Expression
bdl-1 | error | Bundle | total only when a search or history | `total.empty() or (type = 'searchset') or (type = 'history')`
bdl-2 | error | Bundle | entry.search only when a search | `entry.search.empty() or (type = 'searchset')`
bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited | `entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))`
bdl-4 | error | Bundle | entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited | `entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))`
bdl-5 | error | Bundle.entry, Bundle.entry:repeatprescription | must be a resource unless there's a request or response | `resource.exists() or request.exists() or response.exists()`
bdl-7 | error | Bundle | FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) | `(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()`
bdl-8 | error | Bundle.entry, Bundle.entry:repeatprescription | fullUrl cannot be a version specific reference | `fullUrl.contains('/_history/').not()`
bdl-9 | error | Bundle | A document must have an identifier with a system and a value | `type = 'document' implies (identifier.system.exists() and identifier.value.exists())`
bdl-10 | error | Bundle | A document must have a date | `type = 'document' implies (timestamp.hasValue())`
bdl-11 | error | Bundle | A document must have a Composition as the first resource | `type = 'document' implies entry.first().resource.is(Composition)`
bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource | `type = 'message' implies entry.first().resource.is(MessageHeader)`
dosage-instruction-text-length | error | Bundle.entry:repeatprescription.resource.dosageInstruction | Dosage instruction - text size validation | `text.length() <= 200`
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()`
medication-request-note-length | error | Bundle.entry:repeatprescription.resource.note.text | Note - text size validation | `value.exists().not() or value.length() <= 256`
medreq-daily-frequency-system | error | Bundle.entry:repeatprescription.resource.dosageInstruction.timing.code | MedicationRequest dosage timing codes must use SNOMED CT or Medtech daily-frequency codes | `coding.all(system.empty() or system = 'http://snomed.info/sct' or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/daily-frequency')`
patient-instruction-length | error | Bundle.entry:repeatprescription.resource.dosageInstruction.patientInstruction | Dosage instruction - patient instruction size validation | `value.exists().not() or value.length() <= 32`

This structure is derived from Bundle

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Bundle |  | 0..* | Bundle | Contains a collection of resources
meta |  |  |  |
tag |  | 0..* | Coding | Tags applied to this resource Binding: Writeback Action Type Value Set (required)
type |  | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Required Pattern: transaction
Slices for entry |  | 0..* | BackboneElement | Entry in the bundle - will have a resource or information Slice: Unordered, Closed by type:resource
entry:repeatprescription |  | 0..* | BackboneElement | Entry in the bundle - will have a resource or information
resource |  | 0..1 | AlexRepeatPrescription | A request for a medication for a patient in an Australian healthcare context
meta |  |  |  |
tag |  | 0..0 |  | Tags applied to this resource
request |  |  |  |
method |  | 1..1 | code | GET | HEAD | POST | PUT | DELETE | PATCH Required Pattern: PUT
url |  | 1..1 | uri | URL for HTTP equivalent of this entry Required Pattern: MedicationRequest
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Bundle.meta.tag | Base | required | Writeback Action Type Value Set | 📦1.0.0 | This IG

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Bundle | C | 0..* | Bundle | Contains a collection of resources Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | Σ | 0..1 | id | Version specific identifier
lastUpdated | Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: Writeback Action Type Value Set (required)
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
identifier | Σ | 0..1 | Identifier | Persistent identifier for the bundle
type | Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Binding: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Required Pattern: transaction
timestamp | Σ | 0..1 | instant | When the bundle was assembled
total | Σ C | 0..1 | unsignedInt | If search, the total number of matches
link | Σ | 0..* | BackboneElement | Links related to this Bundle
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
relation | Σ | 1..1 | string | See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1
url | Σ | 1..1 | uri | Reference details for the link
Slices for entry | Σ C | 0..* | BackboneElement | Entry in the bundle - will have a resource or information Slice: Unordered, Closed by type:resource Constraints: bdl-5, bdl-8 This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
entry:All Slices |  |  |  | Content/Rules for all slices
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
link | Σ | 0..* | See link (Bundle) | Links related to this entry
fullUrl | Σ | 0..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID)
resource | Σ | 0..1 | Resource | A resource in the bundle
search | Σ C | 0..1 | BackboneElement | Search related information
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
mode | Σ | 0..1 | code | match | include | outcome - why this is in the result set Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
score | Σ | 0..1 | decimal | Search ranking (between 0 and 1)
request | Σ C | 0..1 | BackboneElement | Additional execution information (transaction/batch/history)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
method | Σ | 1..1 | code | GET | HEAD | POST | PUT | DELETE | PATCH Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
url | Σ | 1..1 | uri | URL for HTTP equivalent of this entry
ifNoneMatch | Σ | 0..1 | string | For managing cache currency
ifModifiedSince | Σ | 0..1 | instant | For managing cache currency
ifMatch | Σ | 0..1 | string | For managing update contention
ifNoneExist | Σ | 0..1 | string | For conditional creates
response | Σ C | 0..1 | BackboneElement | Results of execution (transaction/batch/history)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
status | Σ | 1..1 | string | Status response code (text optional)
location | Σ | 0..1 | uri | The location (if the operation returns a location)
etag | Σ | 0..1 | string | The Etag for the resource (if relevant)
lastModified | Σ | 0..1 | instant | Server's date time modified
outcome | Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction)
entry:repeatprescription | Σ C | 0..* | BackboneElement | Entry in the bundle - will have a resource or information Constraints: bdl-5, bdl-8 This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
link | Σ | 0..* | See link (Bundle) | Links related to this entry
fullUrl | Σ | 0..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID)
resource |  | 0..1 | AlexRepeatPrescription | A request for a medication for a patient in an Australian healthcare context
id | S Σ | 1..1 | id | The ID of the existing medication to be repeated.
meta | Σ | 0..1 | Meta | Metadata about the resource
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | Σ | 0..1 | id | Version specific identifier
lastUpdated | Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: Definition of Confidentiality Value Set (required)
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:longTerm |  | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-long-term
extension:scheme |  | 0..1 | Coding | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-scheme Binding: Medication Scheme (required)
extension:unusualDose |  | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-unusual-dose
extension:regulation24 |  | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-regulation-24
extension:approvedNumber |  | 0..1 | string | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-approved-number
extension:authorityNumber |  | 0..1 | string | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-authority-number
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier |  | 0..* | Identifier, AUETPPrescriptionIdentifier, AULocalPrescriptionIdentifier | External ids for this request
status | ?!S Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: Status for Medication Request (required)
statusReason |  | 0..1 | CodeableConcept | Reason for current status Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
intent | ?!S Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. Required Pattern: order
category |  | 0..* | CodeableConcept | Type of medication usage Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.
priority | Σ | 0..1 | code | routine | urgent | asap | stat Binding: Priority for Medication Request (required)
doNotPerform | ?!Σ | 0..1 | boolean | True if request is prohibiting action
reported[x] | Σ | 0..1 |  | Reported rather than primary record
reportedBoolean |  |  | boolean |
reportedReference |  |  | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) |
Slices for medication[x] | Σ | 1..1 | CodeableConcept | Medication to be taken Slice: Unordered, Closed by type:$this Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
medication[x]:medicationReference | S Σ | 0..1 | Reference(Medication) | Prescribed Medication
medication[x]:medicationCodeableConcept | S Σ | 1..1 | CodeableConcept | Coded Prescribed Medication Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
Slices for coding | Σ | 1..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system
coding:mimsPackage | Σ | 1..1 | Coding | MIMS Package Binding: MIMS (preferred)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://www.mims.com.au/codes
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | S Σ | 0..1 | string | Medication primary text
subject | S Σ | 1..1 | Reference(Patient | Group) | Who or group medication request is for
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | Σ C | 0..1 | string | Reference to Patient resource
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | External Name of Patient
encounter |  | 0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay
Slices for supportingInformation |  | 0..* | Reference(Resource) | Information to support ordering of the medication Slice: Unordered, Open by profile:resolve()
supportingInformation:bodyHeight |  | 0..1 | Reference(Observation Body Height Profile) | Observation of Body Height
supportingInformation:bodyWeight |  | 0..1 | Reference(Observation Body Weight Profile) | Observation of Body Weight
authoredOn | S Σ | 1..1 | dateTime | Created date
requester | S Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/What requested the Request
performer |  | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration
performerType | Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.
recorder |  | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request
reasonCode |  | 0..* | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: Reason for Request (preferred)
reasonReference |  | 0..* | Reference(Condition | Observation) | Condition or observation that supports why the prescription is being written
instantiatesCanonical | Σ | 0..* | canonical() | Instantiates FHIR protocol or definition
instantiatesUri | Σ | 0..* | uri | Instantiates external protocol or definition
basedOn | Σ | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | What request fulfills
groupIdentifier | Σ | 0..1 | Identifier | Composite request this is part of
courseOfTherapyType |  | 0..1 | CodeableConcept | Overall pattern of medication administration Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
insurance |  | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage
note |  | 0..* | Annotation | Information about the prescription
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
author[x] | Σ | 0..1 |  | Individual responsible for the annotation
authorReference |  |  | Reference(Practitioner | Patient | RelatedPerson | Organization) |
authorString |  |  | string |
time | Σ | 0..1 | dateTime | When the annotation was made
text | S Σ C | 1..1 | markdown | The annotation - text content (as markdown) Constraints: medication-request-note-length
dosageInstruction | S C | 0..* | AUBaseDosage | Dosage information in an Australian healthcare context Constraints: dosage-instruction-text-length
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
sequence | Σ | 0..1 | integer | The order of the dosage instructions
text | S Σ | 0..1 | string | Free text dosage instructions e.g. SIG
additionalInstruction | Σ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (preferred)
patientInstruction | S Σ C | 0..1 | string | Patient or consumer oriented instructions Constraints: patient-instruction-length
timing | S Σ | 0..1 | Timing | Since daily frequency is user defineable in PMS, it may contain other code defined with Medtech extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
code | S Σ C | 0..1 | CodeableConcept | BID | TID | QID | AM | PM | QD | QOD | + Binding: Daily Frequency Value Set for Dosage (extensible) Constraints: medreq-daily-frequency-system
asNeeded[x] | Σ | 0..1 |  | Take "as needed" (for x) Binding: Clinical Finding (preferred)
asNeededBoolean |  |  | boolean |
asNeededCodeableConcept |  |  | CodeableConcept |
site | Σ | 0..1 | CodeableConcept | Body site to administer to Binding: Body Site (preferred)
route | Σ | 0..1 | CodeableConcept | How drug should enter body Binding: Route of Administration (required)
method | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (preferred)
doseAndRate | S Σ | 0..* | Element | Amount of medication administered
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
type | Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example): The kind of dose or rate specified.
dose[x] | Σ | 0..1 |  | Amount of medication per dose
doseRange |  |  | Range |
doseQuantity |  |  | Quantity(SimpleQuantity) |
rate[x] | Σ | 0..1 |  | Amount of medication per unit of time
rateRatio |  |  | Ratio |
rateRange |  |  | Range |
rateQuantity |  |  | Quantity(SimpleQuantity) |
maxDosePerPeriod | Σ | 0..1 | Ratio | Upper limit on medication per unit of time
maxDosePerAdministration | Σ | 0..1 | SimpleQuantity | Upper limit on medication per administration
maxDosePerLifetime | Σ | 0..1 | SimpleQuantity | Upper limit on medication per lifetime of the patient
dispenseRequest | S | 0..1 | BackboneElement | Requested dispensing
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
numberOfRepeatsAllowed | S | 0..1 | unsignedInt | Maximum repeats authorised
quantity | S | 0..1 | SimpleQuantity | Amount of medication to supply per 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
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
unit | S Σ | 0..1 | string | Unit representation
expectedSupplyDuration |  | 0..1 | Duration | Number of days supply per 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
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org
code | Σ | 0..1 | code | Coded form of the unit Binding: Duration (required)
substitution |  | 0..1 | BackboneElement | Brand substitution details
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
Slices for allowed[x] |  | 1..1 |  | Brand substitution flag Slice: Unordered, Open by type:$this Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.
allowedBoolean |  |  | boolean |
allowedCodeableConcept |  |  | CodeableConcept |
allowed[x]:allowedBoolean | S | 0..1 | boolean | Brand substitution flag
reason |  | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: Medicine Substitution Reason (preferred)
priorPrescription |  | 0..1 | Reference(MedicationRequest) | An order/prescription that is being replaced
detectedIssue |  | 0..* | Reference(DetectedIssue) | Clinical Issue with action
search | Σ C | 0..1 | BackboneElement | Search related information
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
mode | Σ | 0..1 | code | match | include | outcome - why this is in the result set Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
score | Σ | 0..1 | decimal | Search ranking (between 0 and 1)
request | Σ C | 0..1 | BackboneElement | Additional execution information (transaction/batch/history)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
method | Σ | 1..1 | code | GET | HEAD | POST | PUT | DELETE | PATCH Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: PUT
url | Σ | 1..1 | uri | URL for HTTP equivalent of this entry Required Pattern: MedicationRequest
ifNoneMatch | Σ | 0..1 | string | For managing cache currency
ifModifiedSince | Σ | 0..1 | instant | For managing cache currency
ifMatch | Σ | 0..1 | string | For managing update contention
ifNoneExist | Σ | 0..1 | string | For conditional creates
response | Σ C | 0..1 | BackboneElement | Results of execution (transaction/batch/history)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
status | Σ | 1..1 | string | Status response code (text optional)
location | Σ | 0..1 | uri | The location (if the operation returns a location)
etag | Σ | 0..1 | string | The Etag for the resource (if relevant)
lastModified | Σ | 0..1 | instant | Server's date time modified
outcome | Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction)
signature | Σ | 0..1 | Signature | Digital Signature
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Bundle.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std.
Bundle.meta.tag | Base | required | Writeback Action Type Value Set | 📦1.0.0 | This IG
Bundle.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
Bundle.type | Base | required | BundleType | 📍4.0.1 | FHIR Std.
Bundle.entry.search.​mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry.request.​method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.meta.security | Base | required | Definition of Confidentiality Value Set | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.status | Base | required | Status for Medication Request | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.statusReason | Base | example | Medication request status reason codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.category | Base | example | Medication request category codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.priority | Base | required | Priority for Medication Request | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.medication[x] | Base | example | SNOMED CT Medication Codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.medication[x]:medicationCodeableConcept | Base | example | SNOMED CT Medication Codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.medication[x]:medicationCodeableConcept.​coding:mimsPackage | Base | preferred | MIMS | 📦4.1.0 | AU Base Implementation Guide v4.1
Bundle.entry:repeatprescription.​resource.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.performerType | Base | example | Procedure Performer Role Codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.reasonCode | Base | preferred | Reason for Request | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.courseOfTherapyType | Base | example | Medication request course of therapy codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dosageInstruction.​additionalInstruction | Base | preferred | SNOMED CT Additional Dosage Instructions | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dosageInstruction.​timing.repeat.durationUnit | Base | required | UnitsOfTime | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dosageInstruction.​timing.repeat.periodUnit | Base | required | UnitsOfTime | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dosageInstruction.​timing.repeat.dayOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dosageInstruction.​timing.repeat.when | Base | required | EventTiming | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dosageInstruction.​timing.code | Base | extensible | Daily Frequency Value Set for Dosage | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.dosageInstruction.​asNeeded[x] | Base | preferred | Clinical Finding | ⏿1.0.2 | tx.hl7.org.au
Bundle.entry:repeatprescription.​resource.dosageInstruction.​site | Base | preferred | Body Site | ⏿1.0.2 | tx.hl7.org.au
Bundle.entry:repeatprescription.​resource.dosageInstruction.​route | Base | required | Route of Administration | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.dosageInstruction.​method | Base | preferred | SNOMED CT Administration Method Codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dosageInstruction.​doseAndRate.type | Base | example | DoseAndRateType | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dispenseRequest.​expectedSupplyDuration.​code | Base | required | Duration | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.substitution.​allowed[x] | Base | example | ActSubstanceAdminSubstitutionCode | 📦3.0.0 | THO v5.5
Bundle.entry:repeatprescription.​resource.substitution.​reason | Base | preferred | Medicine Substitution Reason | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
bdl-1 | error | Bundle | total only when a search or history | `total.empty() or (type = 'searchset') or (type = 'history')`
bdl-2 | error | Bundle | entry.search only when a search | `entry.search.empty() or (type = 'searchset')`
bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited | `entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))`
bdl-4 | error | Bundle | entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited | `entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))`
bdl-5 | error | Bundle.entry, Bundle.entry:repeatprescription | must be a resource unless there's a request or response | `resource.exists() or request.exists() or response.exists()`
bdl-7 | error | Bundle | FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) | `(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()`
bdl-8 | error | Bundle.entry, Bundle.entry:repeatprescription | fullUrl cannot be a version specific reference | `fullUrl.contains('/_history/').not()`
bdl-9 | error | Bundle | A document must have an identifier with a system and a value | `type = 'document' implies (identifier.system.exists() and identifier.value.exists())`
bdl-10 | error | Bundle | A document must have a date | `type = 'document' implies (timestamp.hasValue())`
bdl-11 | error | Bundle | A document must have a Composition as the first resource | `type = 'document' implies entry.first().resource.is(Composition)`
bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource | `type = 'message' implies entry.first().resource.is(MessageHeader)`
dosage-instruction-text-length | error | Bundle.entry:repeatprescription.resource.dosageInstruction | Dosage instruction - text size validation | `text.length() <= 200`
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()`
medication-request-note-length | error | Bundle.entry:repeatprescription.resource.note.text | Note - text size validation | `value.exists().not() or value.length() <= 256`
medreq-daily-frequency-system | error | Bundle.entry:repeatprescription.resource.dosageInstruction.timing.code | MedicationRequest dosage timing codes must use SNOMED CT or Medtech daily-frequency codes | `coding.all(system.empty() or system = 'http://snomed.info/sct' or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/daily-frequency')`
patient-instruction-length | error | Bundle.entry:repeatprescription.resource.dosageInstruction.patientInstruction | Dosage instruction - patient instruction size validation | `value.exists().not() or value.length() <= 32`

This structure is derived from Bundle

Summary

Prohibited: 1 element

Structures

This structure refers to these other structures:

- Repeat Prescription (https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/alex-repeatprescription)

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Bundle.entry (Closed)

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Bundle | C | 0..* | Bundle | Contains a collection of resources Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
type | Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Binding: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Required Pattern: transaction
Slices for entry | Σ C | 0..* | BackboneElement | Entry in the bundle - will have a resource or information Slice: Unordered, Closed by type:resource Constraints: bdl-5, bdl-8 This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
entry:All Slices |  |  |  | Content/Rules for all slices
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
entry:repeatprescription | Σ C | 0..* | BackboneElement | Entry in the bundle - will have a resource or information Constraints: bdl-5, bdl-8 This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
resource |  | 0..1 | AlexRepeatPrescription | A request for a medication for a patient in an Australian healthcare context
id | S Σ | 1..1 | id | The ID of the existing medication to be repeated.
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
Slices for extension |  |  |  | Content/Rules for all slices
extension:longTerm |  | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-long-term
extension:scheme |  | 0..1 | Coding | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-scheme Binding: Medication Scheme (required)
extension:unusualDose |  | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-unusual-dose
extension:regulation24 |  | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-regulation-24
extension:approvedNumber |  | 0..1 | string | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-approved-number
extension:authorityNumber |  | 0..1 | string | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-authority-number
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
status | ?!S Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: Status for Medication Request (required)
intent | ?!S Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. Required Pattern: order
doNotPerform | ?!Σ | 0..1 | boolean | True if request is prohibiting action
Slices for medication[x] | Σ | 1..1 | CodeableConcept | Medication to be taken Slice: Unordered, Closed by type:$this Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
medication[x]:medicationReference | S Σ | 0..1 | Reference(Medication) | Prescribed Medication
medication[x]:medicationCodeableConcept | S Σ | 1..1 | CodeableConcept | Coded Prescribed Medication Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
Slices for coding | Σ | 1..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system
coding:mimsPackage | Σ | 1..1 | Coding | MIMS Package Binding: MIMS (preferred)
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://www.mims.com.au/codes
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
text | S Σ | 0..1 | string | Medication primary text
subject | S Σ | 1..1 | Reference(Patient | Group) | Who or group medication request is for
Slices for supportingInformation |  | 0..* | Reference(Resource) | Information to support ordering of the medication Slice: Unordered, Open by profile:resolve()
supportingInformation:bodyHeight |  | 0..1 | Reference(Observation Body Height Profile) | Observation of Body Height
supportingInformation:bodyWeight |  | 0..1 | Reference(Observation Body Weight Profile) | Observation of Body Weight
authoredOn | S Σ | 1..1 | dateTime | Created date
requester | S Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/What requested the Request
note |  | 0..* | Annotation | Information about the prescription
text | S Σ C | 1..1 | markdown | The annotation - text content (as markdown) Constraints: medication-request-note-length
dosageInstruction | S C | 0..* | AUBaseDosage | Dosage information in an Australian healthcare context Constraints: dosage-instruction-text-length
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
text | S Σ | 0..1 | string | Free text dosage instructions e.g. SIG
patientInstruction | S Σ C | 0..1 | string | Patient or consumer oriented instructions Constraints: patient-instruction-length
timing | S Σ | 0..1 | Timing | Since daily frequency is user defineable in PMS, it may contain other code defined with Medtech extension
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
code | S Σ C | 0..1 | CodeableConcept | BID | TID | QID | AM | PM | QD | QOD | + Binding: Daily Frequency Value Set for Dosage (extensible) Constraints: medreq-daily-frequency-system
doseAndRate | S Σ | 0..* | Element | Amount of medication administered
dispenseRequest | S | 0..1 | BackboneElement | Requested dispensing
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
numberOfRepeatsAllowed | S | 0..1 | unsignedInt | Maximum repeats authorised
quantity | S | 0..1 | SimpleQuantity | Amount of medication to supply per dispense
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
unit | S Σ | 0..1 | string | Unit representation
expectedSupplyDuration |  | 0..1 | Duration | Number of days supply per dispense
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org
substitution |  | 0..1 | BackboneElement | Brand substitution details
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
Slices for allowed[x] |  | 1..1 |  | Brand substitution flag Slice: Unordered, Open by type:$this Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.
allowedBoolean |  |  | boolean |
allowedCodeableConcept |  |  | CodeableConcept |
allowed[x]:allowedBoolean | S | 0..1 | boolean | Brand substitution flag
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Bundle.type | Base | required | BundleType | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.status | Base | required | Status for Medication Request | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.medication[x] | Base | example | SNOMED CT Medication Codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.medication[x]:medicationCodeableConcept | Base | example | SNOMED CT Medication Codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.medication[x]:medicationCodeableConcept.​coding:mimsPackage | Base | preferred | MIMS | 📦4.1.0 | AU Base Implementation Guide v4.1
Bundle.entry:repeatprescription.​resource.dosageInstruction.​timing.code | Base | extensible | Daily Frequency Value Set for Dosage | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.substitution.​allowed[x] | Base | example | ActSubstanceAdminSubstitutionCode | 📦3.0.0 | THO v5.5

#### Constraints

Id | Grade | Path(s) | Description | Expression
bdl-1 | error | Bundle | total only when a search or history | `total.empty() or (type = 'searchset') or (type = 'history')`
bdl-2 | error | Bundle | entry.search only when a search | `entry.search.empty() or (type = 'searchset')`
bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited | `entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))`
bdl-4 | error | Bundle | entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited | `entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))`
bdl-5 | error | Bundle.entry, Bundle.entry:repeatprescription | must be a resource unless there's a request or response | `resource.exists() or request.exists() or response.exists()`
bdl-7 | error | Bundle | FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) | `(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()`
bdl-8 | error | Bundle.entry, Bundle.entry:repeatprescription | fullUrl cannot be a version specific reference | `fullUrl.contains('/_history/').not()`
bdl-9 | error | Bundle | A document must have an identifier with a system and a value | `type = 'document' implies (identifier.system.exists() and identifier.value.exists())`
bdl-10 | error | Bundle | A document must have a date | `type = 'document' implies (timestamp.hasValue())`
bdl-11 | error | Bundle | A document must have a Composition as the first resource | `type = 'document' implies entry.first().resource.is(Composition)`
bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource | `type = 'message' implies entry.first().resource.is(MessageHeader)`
dosage-instruction-text-length | error | Bundle.entry:repeatprescription.resource.dosageInstruction | Dosage instruction - text size validation | `text.length() <= 200`
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()`
medication-request-note-length | error | Bundle.entry:repeatprescription.resource.note.text | Note - text size validation | `value.exists().not() or value.length() <= 256`
medreq-daily-frequency-system | error | Bundle.entry:repeatprescription.resource.dosageInstruction.timing.code | MedicationRequest dosage timing codes must use SNOMED CT or Medtech daily-frequency codes | `coding.all(system.empty() or system = 'http://snomed.info/sct' or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/daily-frequency')`
patient-instruction-length | error | Bundle.entry:repeatprescription.resource.dosageInstruction.patientInstruction | Dosage instruction - patient instruction size validation | `value.exists().not() or value.length() <= 32`

Differential View

This structure is derived from Bundle

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Bundle |  | 0..* | Bundle | Contains a collection of resources
meta |  |  |  |
tag |  | 0..* | Coding | Tags applied to this resource Binding: Writeback Action Type Value Set (required)
type |  | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Required Pattern: transaction
Slices for entry |  | 0..* | BackboneElement | Entry in the bundle - will have a resource or information Slice: Unordered, Closed by type:resource
entry:repeatprescription |  | 0..* | BackboneElement | Entry in the bundle - will have a resource or information
resource |  | 0..1 | AlexRepeatPrescription | A request for a medication for a patient in an Australian healthcare context
meta |  |  |  |
tag |  | 0..0 |  | Tags applied to this resource
request |  |  |  |
method |  | 1..1 | code | GET | HEAD | POST | PUT | DELETE | PATCH Required Pattern: PUT
url |  | 1..1 | uri | URL for HTTP equivalent of this entry Required Pattern: MedicationRequest
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
Bundle.meta.tag | Base | required | Writeback Action Type Value Set | 📦1.0.0 | This IG

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Bundle | C | 0..* | Bundle | Contains a collection of resources Constraints: bdl-1, bdl-2, bdl-3, bdl-4, bdl-7, bdl-9, bdl-10, bdl-11, bdl-12
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | Σ | 0..1 | id | Version specific identifier
lastUpdated | Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
tag | Σ | 0..* | Coding | Tags applied to this resource Binding: Writeback Action Type Value Set (required)
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
identifier | Σ | 0..1 | Identifier | Persistent identifier for the bundle
type | Σ | 1..1 | code | document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection Binding: BundleType (required): Indicates the purpose of a bundle - how it is intended to be used. Required Pattern: transaction
timestamp | Σ | 0..1 | instant | When the bundle was assembled
total | Σ C | 0..1 | unsignedInt | If search, the total number of matches
link | Σ | 0..* | BackboneElement | Links related to this Bundle
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
relation | Σ | 1..1 | string | See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1
url | Σ | 1..1 | uri | Reference details for the link
Slices for entry | Σ C | 0..* | BackboneElement | Entry in the bundle - will have a resource or information Slice: Unordered, Closed by type:resource Constraints: bdl-5, bdl-8 This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
entry:All Slices |  |  |  | Content/Rules for all slices
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
link | Σ | 0..* | See link (Bundle) | Links related to this entry
fullUrl | Σ | 0..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID)
resource | Σ | 0..1 | Resource | A resource in the bundle
search | Σ C | 0..1 | BackboneElement | Search related information
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
mode | Σ | 0..1 | code | match | include | outcome - why this is in the result set Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
score | Σ | 0..1 | decimal | Search ranking (between 0 and 1)
request | Σ C | 0..1 | BackboneElement | Additional execution information (transaction/batch/history)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
method | Σ | 1..1 | code | GET | HEAD | POST | PUT | DELETE | PATCH Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details.
url | Σ | 1..1 | uri | URL for HTTP equivalent of this entry
ifNoneMatch | Σ | 0..1 | string | For managing cache currency
ifModifiedSince | Σ | 0..1 | instant | For managing cache currency
ifMatch | Σ | 0..1 | string | For managing update contention
ifNoneExist | Σ | 0..1 | string | For conditional creates
response | Σ C | 0..1 | BackboneElement | Results of execution (transaction/batch/history)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
status | Σ | 1..1 | string | Status response code (text optional)
location | Σ | 0..1 | uri | The location (if the operation returns a location)
etag | Σ | 0..1 | string | The Etag for the resource (if relevant)
lastModified | Σ | 0..1 | instant | Server's date time modified
outcome | Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction)
entry:repeatprescription | Σ C | 0..* | BackboneElement | Entry in the bundle - will have a resource or information Constraints: bdl-5, bdl-8 This repeating element order: For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
link | Σ | 0..* | See link (Bundle) | Links related to this entry
fullUrl | Σ | 0..1 | uri | URI for resource (Absolute URL server address or URI for UUID/OID)
resource |  | 0..1 | AlexRepeatPrescription | A request for a medication for a patient in an Australian healthcare context
id | S Σ | 1..1 | id | The ID of the existing medication to be repeated.
meta | Σ | 0..1 | Meta | Metadata about the resource
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
versionId | Σ | 0..1 | id | Version specific identifier
lastUpdated | Σ | 0..1 | instant | When the resource version last changed
source | Σ | 0..1 | uri | Identifies where the resource comes from
profile | Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to
security | Σ | 0..* | Coding | Security Labels applied to this resource Binding: Definition of Confidentiality Value Set (required)
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url
extension:longTerm |  | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-long-term
extension:scheme |  | 0..1 | Coding | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-scheme Binding: Medication Scheme (required)
extension:unusualDose |  | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-unusual-dose
extension:regulation24 |  | 0..1 | boolean | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-regulation-24
extension:approvedNumber |  | 0..1 | string | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-approved-number
extension:authorityNumber |  | 0..1 | string | Extension URL: https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/medication-authority-number
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier |  | 0..* | Identifier, AUETPPrescriptionIdentifier, AULocalPrescriptionIdentifier | External ids for this request
status | ?!S Σ | 1..1 | code | active | on-hold | cancelled | completed | entered-in-error | stopped | draft | unknown Binding: Status for Medication Request (required)
statusReason |  | 0..1 | CodeableConcept | Reason for current status Binding: medicationRequest Status Reason Codes (example): Identifies the reasons for a given status.
intent | ?!S Σ | 1..1 | code | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option Binding: medicationRequest Intent (required): The kind of medication order. Required Pattern: order
category |  | 0..* | CodeableConcept | Type of medication usage Binding: medicationRequest Category Codes (example): A coded concept identifying the category of medication request. For example, where the medication is to be consumed or administered, or the type of medication treatment.
priority | Σ | 0..1 | code | routine | urgent | asap | stat Binding: Priority for Medication Request (required)
doNotPerform | ?!Σ | 0..1 | boolean | True if request is prohibiting action
reported[x] | Σ | 0..1 |  | Reported rather than primary record
reportedBoolean |  |  | boolean |
reportedReference |  |  | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) |
Slices for medication[x] | Σ | 1..1 | CodeableConcept | Medication to be taken Slice: Unordered, Closed by type:$this Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
medication[x]:medicationReference | S Σ | 0..1 | Reference(Medication) | Prescribed Medication
medication[x]:medicationCodeableConcept | S Σ | 1..1 | CodeableConcept | Coded Prescribed Medication Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying substance or product that can be ordered.
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
Slices for coding | Σ | 1..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system
coding:mimsPackage | Σ | 1..1 | Coding | MIMS Package Binding: MIMS (preferred)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
system | S Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://www.mims.com.au/codes
version | Σ | 0..1 | string | Version of the system - if relevant
code | S Σ | 1..1 | code | Symbol in syntax defined by the system
display | S Σ | 0..1 | string | Representation defined by the system
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user
text | S Σ | 0..1 | string | Medication primary text
subject | S Σ | 1..1 | Reference(Patient | Group) | Who or group medication request is for
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
reference | Σ C | 0..1 | string | Reference to Patient resource
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known
display | Σ | 0..1 | string | External Name of Patient
encounter |  | 0..1 | Reference(Encounter) | Encounter created as part of encounter/admission/stay
Slices for supportingInformation |  | 0..* | Reference(Resource) | Information to support ordering of the medication Slice: Unordered, Open by profile:resolve()
supportingInformation:bodyHeight |  | 0..1 | Reference(Observation Body Height Profile) | Observation of Body Height
supportingInformation:bodyWeight |  | 0..1 | Reference(Observation Body Weight Profile) | Observation of Body Weight
authoredOn | S Σ | 1..1 | dateTime | Created date
requester | S Σ | 1..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | RelatedPerson | Device) | Who/What requested the Request
performer |  | 0..1 | Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson | CareTeam) | Intended performer of administration
performerType | Σ | 0..1 | CodeableConcept | Desired kind of performer of the medication administration Binding: ProcedurePerformerRoleCodes (example): Identifies the type of individual that is desired to administer the medication.
recorder |  | 0..1 | Reference(Practitioner | PractitionerRole) | Person who entered the request
reasonCode |  | 0..* | CodeableConcept | Reason or indication for ordering or not ordering the medication Binding: Reason for Request (preferred)
reasonReference |  | 0..* | Reference(Condition | Observation) | Condition or observation that supports why the prescription is being written
instantiatesCanonical | Σ | 0..* | canonical() | Instantiates FHIR protocol or definition
instantiatesUri | Σ | 0..* | uri | Instantiates external protocol or definition
basedOn | Σ | 0..* | Reference(CarePlan | MedicationRequest | ServiceRequest | ImmunizationRecommendation) | What request fulfills
groupIdentifier | Σ | 0..1 | Identifier | Composite request this is part of
courseOfTherapyType |  | 0..1 | CodeableConcept | Overall pattern of medication administration Binding: medicationRequest Course of Therapy Codes (example): Identifies the overall pattern of medication administratio.
insurance |  | 0..* | Reference(Coverage | ClaimResponse) | Associated insurance coverage
note |  | 0..* | Annotation | Information about the prescription
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
author[x] | Σ | 0..1 |  | Individual responsible for the annotation
authorReference |  |  | Reference(Practitioner | Patient | RelatedPerson | Organization) |
authorString |  |  | string |
time | Σ | 0..1 | dateTime | When the annotation was made
text | S Σ C | 1..1 | markdown | The annotation - text content (as markdown) Constraints: medication-request-note-length
dosageInstruction | S C | 0..* | AUBaseDosage | Dosage information in an Australian healthcare context Constraints: dosage-instruction-text-length
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
sequence | Σ | 0..1 | integer | The order of the dosage instructions
text | S Σ | 0..1 | string | Free text dosage instructions e.g. SIG
additionalInstruction | Σ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (preferred)
patientInstruction | S Σ C | 0..1 | string | Patient or consumer oriented instructions Constraints: patient-instruction-length
timing | S Σ | 0..1 | Timing | Since daily frequency is user defineable in PMS, it may contain other code defined with Medtech extension
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
code | S Σ C | 0..1 | CodeableConcept | BID | TID | QID | AM | PM | QD | QOD | + Binding: Daily Frequency Value Set for Dosage (extensible) Constraints: medreq-daily-frequency-system
asNeeded[x] | Σ | 0..1 |  | Take "as needed" (for x) Binding: Clinical Finding (preferred)
asNeededBoolean |  |  | boolean |
asNeededCodeableConcept |  |  | CodeableConcept |
site | Σ | 0..1 | CodeableConcept | Body site to administer to Binding: Body Site (preferred)
route | Σ | 0..1 | CodeableConcept | How drug should enter body Binding: Route of Administration (required)
method | Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (preferred)
doseAndRate | S Σ | 0..* | Element | Amount of medication administered
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
type | Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example): The kind of dose or rate specified.
dose[x] | Σ | 0..1 |  | Amount of medication per dose
doseRange |  |  | Range |
doseQuantity |  |  | Quantity(SimpleQuantity) |
rate[x] | Σ | 0..1 |  | Amount of medication per unit of time
rateRatio |  |  | Ratio |
rateRange |  |  | Range |
rateQuantity |  |  | Quantity(SimpleQuantity) |
maxDosePerPeriod | Σ | 0..1 | Ratio | Upper limit on medication per unit of time
maxDosePerAdministration | Σ | 0..1 | SimpleQuantity | Upper limit on medication per administration
maxDosePerLifetime | Σ | 0..1 | SimpleQuantity | Upper limit on medication per lifetime of the patient
dispenseRequest | S | 0..1 | BackboneElement | Requested dispensing
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
numberOfRepeatsAllowed | S | 0..1 | unsignedInt | Maximum repeats authorised
quantity | S | 0..1 | SimpleQuantity | Amount of medication to supply per 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
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
unit | S Σ | 0..1 | string | Unit representation
expectedSupplyDuration |  | 0..1 | Duration | Number of days supply per 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
value | S Σ | 0..1 | decimal | Numerical value (with implicit precision)
unit | S Σ | 0..1 | string | Unit representation
system | S Σ C | 0..1 | uri | System that defines coded unit form Required Pattern: http://unitsofmeasure.org
code | Σ | 0..1 | code | Coded form of the unit Binding: Duration (required)
substitution |  | 0..1 | BackboneElement | Brand substitution details
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
Slices for allowed[x] |  | 1..1 |  | Brand substitution flag Slice: Unordered, Open by type:$this Binding: ActSubstanceAdminSubstitutionCode (example): Identifies the type of substitution allowed.
allowedBoolean |  |  | boolean |
allowedCodeableConcept |  |  | CodeableConcept |
allowed[x]:allowedBoolean | S | 0..1 | boolean | Brand substitution flag
reason |  | 0..1 | CodeableConcept | Why should (not) substitution be made Binding: Medicine Substitution Reason (preferred)
priorPrescription |  | 0..1 | Reference(MedicationRequest) | An order/prescription that is being replaced
detectedIssue |  | 0..* | Reference(DetectedIssue) | Clinical Issue with action
search | Σ C | 0..1 | BackboneElement | Search related information
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
mode | Σ | 0..1 | code | match | include | outcome - why this is in the result set Binding: SearchEntryMode (required): Why an entry is in the result set - whether it's included as a match or because of an _include requirement, or to convey information or warning information about the search process.
score | Σ | 0..1 | decimal | Search ranking (between 0 and 1)
request | Σ C | 0..1 | BackboneElement | Additional execution information (transaction/batch/history)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
method | Σ | 1..1 | code | GET | HEAD | POST | PUT | DELETE | PATCH Binding: HTTPVerb (required): HTTP verbs (in the HTTP command line). See HTTP rfc for details. Required Pattern: PUT
url | Σ | 1..1 | uri | URL for HTTP equivalent of this entry Required Pattern: MedicationRequest
ifNoneMatch | Σ | 0..1 | string | For managing cache currency
ifModifiedSince | Σ | 0..1 | instant | For managing cache currency
ifMatch | Σ | 0..1 | string | For managing update contention
ifNoneExist | Σ | 0..1 | string | For conditional creates
response | Σ C | 0..1 | BackboneElement | Results of execution (transaction/batch/history)
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
status | Σ | 1..1 | string | Status response code (text optional)
location | Σ | 0..1 | uri | The location (if the operation returns a location)
etag | Σ | 0..1 | string | The Etag for the resource (if relevant)
lastModified | Σ | 0..1 | instant | Server's date time modified
outcome | Σ | 0..1 | Resource | OperationOutcome with hints and warnings (for batch/transaction)
signature | Σ | 0..1 | Signature | Digital Signature
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Bundle.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std.
Bundle.meta.tag | Base | required | Writeback Action Type Value Set | 📦1.0.0 | This IG
Bundle.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
Bundle.type | Base | required | BundleType | 📍4.0.1 | FHIR Std.
Bundle.entry.search.​mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry.request.​method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.meta.security | Base | required | Definition of Confidentiality Value Set | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.status | Base | required | Status for Medication Request | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.statusReason | Base | example | Medication request status reason codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.intent | Base | required | Medication request intent | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.category | Base | example | Medication request category codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.priority | Base | required | Priority for Medication Request | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.medication[x] | Base | example | SNOMED CT Medication Codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.medication[x]:medicationCodeableConcept | Base | example | SNOMED CT Medication Codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.medication[x]:medicationCodeableConcept.​coding:mimsPackage | Base | preferred | MIMS | 📦4.1.0 | AU Base Implementation Guide v4.1
Bundle.entry:repeatprescription.​resource.subject.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.performerType | Base | example | Procedure Performer Role Codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.reasonCode | Base | preferred | Reason for Request | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.courseOfTherapyType | Base | example | Medication request course of therapy codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dosageInstruction.​additionalInstruction | Base | preferred | SNOMED CT Additional Dosage Instructions | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dosageInstruction.​timing.repeat.durationUnit | Base | required | UnitsOfTime | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dosageInstruction.​timing.repeat.periodUnit | Base | required | UnitsOfTime | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dosageInstruction.​timing.repeat.dayOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dosageInstruction.​timing.repeat.when | Base | required | EventTiming | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dosageInstruction.​timing.code | Base | extensible | Daily Frequency Value Set for Dosage | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.dosageInstruction.​asNeeded[x] | Base | preferred | Clinical Finding | ⏿1.0.2 | tx.hl7.org.au
Bundle.entry:repeatprescription.​resource.dosageInstruction.​site | Base | preferred | Body Site | ⏿1.0.2 | tx.hl7.org.au
Bundle.entry:repeatprescription.​resource.dosageInstruction.​route | Base | required | Route of Administration | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.dosageInstruction.​method | Base | preferred | SNOMED CT Administration Method Codes | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dosageInstruction.​doseAndRate.type | Base | example | DoseAndRateType | 📦4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​resource.dispenseRequest.​expectedSupplyDuration.​code | Base | required | Duration | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​resource.substitution.​allowed[x] | Base | example | ActSubstanceAdminSubstitutionCode | 📦3.0.0 | THO v5.5
Bundle.entry:repeatprescription.​resource.substitution.​reason | Base | preferred | Medicine Substitution Reason | 📦1.0.0 | This IG
Bundle.entry:repeatprescription.​search.mode | Base | required | SearchEntryMode | 📍4.0.1 | FHIR Std.
Bundle.entry:repeatprescription.​request.method | Base | required | HTTPVerb | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
bdl-1 | error | Bundle | total only when a search or history | `total.empty() or (type = 'searchset') or (type = 'history')`
bdl-2 | error | Bundle | entry.search only when a search | `entry.search.empty() or (type = 'searchset')`
bdl-3 | error | Bundle | entry.request mandatory for batch/transaction/history, otherwise prohibited | `entry.all(request.exists() = (%resource.type = 'batch' or %resource.type = 'transaction' or %resource.type = 'history'))`
bdl-4 | error | Bundle | entry.response mandatory for batch-response/transaction-response/history, otherwise prohibited | `entry.all(response.exists() = (%resource.type = 'batch-response' or %resource.type = 'transaction-response' or %resource.type = 'history'))`
bdl-5 | error | Bundle.entry, Bundle.entry:repeatprescription | must be a resource unless there's a request or response | `resource.exists() or request.exists() or response.exists()`
bdl-7 | error | Bundle | FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId (except in history bundles) | `(type = 'history') or entry.where(fullUrl.exists()).select(fullUrl&resource.meta.versionId).isDistinct()`
bdl-8 | error | Bundle.entry, Bundle.entry:repeatprescription | fullUrl cannot be a version specific reference | `fullUrl.contains('/_history/').not()`
bdl-9 | error | Bundle | A document must have an identifier with a system and a value | `type = 'document' implies (identifier.system.exists() and identifier.value.exists())`
bdl-10 | error | Bundle | A document must have a date | `type = 'document' implies (timestamp.hasValue())`
bdl-11 | error | Bundle | A document must have a Composition as the first resource | `type = 'document' implies entry.first().resource.is(Composition)`
bdl-12 | error | Bundle | A message must have a MessageHeader as the first resource | `type = 'message' implies entry.first().resource.is(MessageHeader)`
dosage-instruction-text-length | error | Bundle.entry:repeatprescription.resource.dosageInstruction | Dosage instruction - text size validation | `text.length() <= 200`
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()`
medication-request-note-length | error | Bundle.entry:repeatprescription.resource.note.text | Note - text size validation | `value.exists().not() or value.length() <= 256`
medreq-daily-frequency-system | error | Bundle.entry:repeatprescription.resource.dosageInstruction.timing.code | MedicationRequest dosage timing codes must use SNOMED CT or Medtech daily-frequency codes | `coding.all(system.empty() or system = 'http://snomed.info/sct' or system = 'https://alexapi.medtechglobal.com.au/fhir/CodeSystem/daily-frequency')`
patient-instruction-length | error | Bundle.entry:repeatprescription.resource.dosageInstruction.patientInstruction | Dosage instruction - patient instruction size validation | `value.exists().not() or value.length() <= 32`

This structure is derived from Bundle

Summary

Prohibited: 1 element

Structures

This structure refers to these other structures:

- Repeat Prescription (https://alexapi.medtechglobal.com.au/fhir/StructureDefinition/alex-repeatprescription)

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of Bundle.entry (Closed)

Other representations of profile: CSV, Excel, Schematron