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

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

Resource Profile: Medication resource for NZ Formulary

Official URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-medication Version: 1.0.0
Active as of 2026-11-25 Computable Name: NzfMedication

Medication resource for NZ Formulary

Usages:

  • This Profile is not used by any profiles in this Specification

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.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Medication 0..* Medication Definition of a Medication
Medication.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Medication.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
Medication.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:nzmtType 0..1 CodeableConcept The NZ Medicines Terminology (NZMT) Data Class – MP (Medicinal Product), MPUU (Medicinal Product Unit of Use), MPP (Medicinal Product Pack), TP (Trade Product), TPUU (Trade Product Unit of Use), TPP (Trade Product Pack) or CTPP (Containered Trade Product Pack) – that the Medication is a member of.
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-nzmt-type
Binding: Nzmt type (required)
Medication.Slices for extension.extension:atc 0..* CodeableConcept Anatomical Therapeutic Chemical (ATC) Classification
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-atc
Binding: ATC codes (required)
Medication.Slices for extension.extension:link 0..* Reference(DocumentReference) Links to other information about this medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-link
Medication.Slices for extension.extension:cal 0..* (Complex) Cautionary and Advisory Label
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-cal
Medication.Slices for extension.extension:funding 0..* (Complex) General Funding details
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-funding
Medication.Slices for extension.extension:fundingRule 0..* (Complex) Funding constraints and requirements
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-funding-rule
Medication.Slices for extension.extension:description 0..* (Complex) NZMT descriptions for the medicine
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-description
Medication.Slices for extension.extension:unapproved 0..1 boolean Whether the medication can be used under section29
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-unapproved
Medication.Slices for extension.extension:legalclass 0..* (Complex) Legal classification of the medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-legalclass
Medication.Slices for extension.extension:medsafe 0..1 (Complex) Medsafe details of the medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-medsafe
Medication.Slices for extension.extension:prescribebybrand 0..1 boolean True if can be prescribed by brand
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-prescribe-by-brand
Medication.Slices for extension.extension:supplyinformation 0..* (Complex) Supply information
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-supply-information
Medication.Slices for extension.extension:nzfpack 0..1 (Complex) NZF Pack details
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-pack
Medication.Slices for extension.extension:relatedmedication 0..* (Complex) Related medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-related-medication
Medication.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Medication.code This element is included in summaries. 0..1 CodeableConcept Codes that identify this medication
Binding: http://nzmt.org.nz/vs (preferred)
Medication.status This element is a modifier element. This element is included in summaries. 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source Documentation
Medication.code Base preferred http://nzmt.org.nz/vs Not State Unknown
Medication.status Base required Medication Status Codes 📍4.3.0 FHIR Std.

A coded concept defining if the medication is in active use.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Medication If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Medication If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Medication If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Medication If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Medication A resource should have narrative for robust management text.`div`.exists()
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()

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Medication 0..* Medication Definition of a Medication
Medication.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:nzmtType 0..1 CodeableConcept The NZ Medicines Terminology (NZMT) Data Class – MP (Medicinal Product), MPUU (Medicinal Product Unit of Use), MPP (Medicinal Product Pack), TP (Trade Product), TPUU (Trade Product Unit of Use), TPP (Trade Product Pack) or CTPP (Containered Trade Product Pack) – that the Medication is a member of.
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-nzmt-type
Binding: Nzmt type (required)
Medication.Slices for extension.extension:atc 0..* CodeableConcept Anatomical Therapeutic Chemical (ATC) Classification
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-atc
Binding: ATC codes (required)
Medication.Slices for extension.extension:link 0..* Reference(DocumentReference) Links to other information about this medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-link
Medication.Slices for extension.extension:cal 0..* (Complex) Cautionary and Advisory Label
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-cal
Medication.Slices for extension.extension:funding 0..* (Complex) General Funding details
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-funding
Medication.Slices for extension.extension:fundingRule 0..* (Complex) Funding constraints and requirements
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-funding-rule
Medication.Slices for extension.extension:description 0..* (Complex) NZMT descriptions for the medicine
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-description
Medication.Slices for extension.extension:unapproved 0..1 boolean Whether the medication can be used under section29
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-unapproved
Medication.Slices for extension.extension:legalclass 0..* (Complex) Legal classification of the medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-legalclass
Medication.Slices for extension.extension:medsafe 0..1 (Complex) Medsafe details of the medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-medsafe
Medication.Slices for extension.extension:prescribebybrand 0..1 boolean True if can be prescribed by brand
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-prescribe-by-brand
Medication.Slices for extension.extension:supplyinformation 0..* (Complex) Supply information
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-supply-information
Medication.Slices for extension.extension:nzfpack 0..1 (Complex) NZF Pack details
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-pack
Medication.Slices for extension.extension:relatedmedication 0..* (Complex) Related medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-related-medication
Medication.code 0..1 CodeableConcept Codes that identify this medication
Binding: http://nzmt.org.nz/vs (preferred)
Medication.manufacturer 0..0 Manufacturer of the item
Medication.batch 0..0 Details about packaged medications

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Medication.code Base preferred http://nzmt.org.nz/vs Not State Unknown
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Medication 0..* Medication Definition of a Medication
Medication.id This element is included in summaries. 0..1 id Logical id of this artifact
Medication.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Medication.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Medication.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): IETF language tag
Additional BindingsPurpose
AllLanguages Max Binding
Medication.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
Medication.contained 0..* Resource Contained, inline Resources
Constraints: dom-r4b
Medication.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:nzmtType 0..1 CodeableConcept The NZ Medicines Terminology (NZMT) Data Class – MP (Medicinal Product), MPUU (Medicinal Product Unit of Use), MPP (Medicinal Product Pack), TP (Trade Product), TPUU (Trade Product Unit of Use), TPP (Trade Product Pack) or CTPP (Containered Trade Product Pack) – that the Medication is a member of.
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-nzmt-type
Binding: Nzmt type (required)
Medication.Slices for extension.extension:atc 0..* CodeableConcept Anatomical Therapeutic Chemical (ATC) Classification
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-atc
Binding: ATC codes (required)
Medication.Slices for extension.extension:link 0..* Reference(DocumentReference) Links to other information about this medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-link
Medication.Slices for extension.extension:cal 0..* (Complex) Cautionary and Advisory Label
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-cal
Medication.Slices for extension.extension:funding 0..* (Complex) General Funding details
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-funding
Medication.Slices for extension.extension:fundingRule 0..* (Complex) Funding constraints and requirements
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-funding-rule
Medication.Slices for extension.extension:description 0..* (Complex) NZMT descriptions for the medicine
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-description
Medication.Slices for extension.extension:unapproved 0..1 boolean Whether the medication can be used under section29
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-unapproved
Medication.Slices for extension.extension:legalclass 0..* (Complex) Legal classification of the medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-legalclass
Medication.Slices for extension.extension:medsafe 0..1 (Complex) Medsafe details of the medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-medsafe
Medication.Slices for extension.extension:prescribebybrand 0..1 boolean True if can be prescribed by brand
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-prescribe-by-brand
Medication.Slices for extension.extension:supplyinformation 0..* (Complex) Supply information
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-supply-information
Medication.Slices for extension.extension:nzfpack 0..1 (Complex) NZF Pack details
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-pack
Medication.Slices for extension.extension:relatedmedication 0..* (Complex) Related medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-related-medication
Medication.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Medication.identifier This element is included in summaries. 0..* Identifier Business identifier for this medication
Medication.code This element is included in summaries. 0..1 CodeableConcept Codes that identify this medication
Binding: http://nzmt.org.nz/vs (preferred)
Medication.status This element is a modifier element. This element is included in summaries. 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
Medication.form 0..1 CodeableConcept powder | tablets | capsule +
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
Medication.ingredient 0..* BackboneElement Active or inactive ingredient
Medication.ingredient.id 0..1 string Unique id for inter-element referencing
Medication.ingredient.extension 0..* Extension Additional content defined by implementations
Medication.ingredient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Medication.ingredient.item[x] 1..1 The actual ingredient or content
Medication.ingredient.item[x].itemCodeableConcept CodeableConcept
Medication.ingredient.item[x].itemReference Reference(Substance | Medication)
Medication.ingredient.isActive 0..1 boolean Active ingredient indicator
Medication.ingredient.strength 0..1 Ratio Quantity of ingredient present

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source Documentation
Medication.language Base preferred Common Languages 📍4.3.0 FHIR Std.

IETF language tag

Medication.code Base preferred http://nzmt.org.nz/vs Not State Unknown
Medication.status Base required Medication Status Codes 📍4.3.0 FHIR Std.

A coded concept defining if the medication is in active use.

Medication.form Base example SNOMED CT Form Codes 📍4.3.0 FHIR Std.

A coded concept defining the form of a medication.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Medication If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Medication If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Medication If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Medication If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Medication A resource should have narrative for robust management text.`div`.exists()
dom-r4b warning Medication.contained Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
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()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Medication 0..* Medication Definition of a Medication
Medication.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Medication.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
Medication.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:nzmtType 0..1 CodeableConcept The NZ Medicines Terminology (NZMT) Data Class – MP (Medicinal Product), MPUU (Medicinal Product Unit of Use), MPP (Medicinal Product Pack), TP (Trade Product), TPUU (Trade Product Unit of Use), TPP (Trade Product Pack) or CTPP (Containered Trade Product Pack) – that the Medication is a member of.
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-nzmt-type
Binding: Nzmt type (required)
Medication.Slices for extension.extension:atc 0..* CodeableConcept Anatomical Therapeutic Chemical (ATC) Classification
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-atc
Binding: ATC codes (required)
Medication.Slices for extension.extension:link 0..* Reference(DocumentReference) Links to other information about this medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-link
Medication.Slices for extension.extension:cal 0..* (Complex) Cautionary and Advisory Label
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-cal
Medication.Slices for extension.extension:funding 0..* (Complex) General Funding details
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-funding
Medication.Slices for extension.extension:fundingRule 0..* (Complex) Funding constraints and requirements
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-funding-rule
Medication.Slices for extension.extension:description 0..* (Complex) NZMT descriptions for the medicine
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-description
Medication.Slices for extension.extension:unapproved 0..1 boolean Whether the medication can be used under section29
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-unapproved
Medication.Slices for extension.extension:legalclass 0..* (Complex) Legal classification of the medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-legalclass
Medication.Slices for extension.extension:medsafe 0..1 (Complex) Medsafe details of the medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-medsafe
Medication.Slices for extension.extension:prescribebybrand 0..1 boolean True if can be prescribed by brand
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-prescribe-by-brand
Medication.Slices for extension.extension:supplyinformation 0..* (Complex) Supply information
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-supply-information
Medication.Slices for extension.extension:nzfpack 0..1 (Complex) NZF Pack details
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-pack
Medication.Slices for extension.extension:relatedmedication 0..* (Complex) Related medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-related-medication
Medication.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Medication.code This element is included in summaries. 0..1 CodeableConcept Codes that identify this medication
Binding: http://nzmt.org.nz/vs (preferred)
Medication.status This element is a modifier element. This element is included in summaries. 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source Documentation
Medication.code Base preferred http://nzmt.org.nz/vs Not State Unknown
Medication.status Base required Medication Status Codes 📍4.3.0 FHIR Std.

A coded concept defining if the medication is in active use.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Medication If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Medication If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Medication If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Medication If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Medication A resource should have narrative for robust management text.`div`.exists()
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()

Differential View

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Medication 0..* Medication Definition of a Medication
Medication.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:nzmtType 0..1 CodeableConcept The NZ Medicines Terminology (NZMT) Data Class – MP (Medicinal Product), MPUU (Medicinal Product Unit of Use), MPP (Medicinal Product Pack), TP (Trade Product), TPUU (Trade Product Unit of Use), TPP (Trade Product Pack) or CTPP (Containered Trade Product Pack) – that the Medication is a member of.
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-nzmt-type
Binding: Nzmt type (required)
Medication.Slices for extension.extension:atc 0..* CodeableConcept Anatomical Therapeutic Chemical (ATC) Classification
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-atc
Binding: ATC codes (required)
Medication.Slices for extension.extension:link 0..* Reference(DocumentReference) Links to other information about this medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-link
Medication.Slices for extension.extension:cal 0..* (Complex) Cautionary and Advisory Label
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-cal
Medication.Slices for extension.extension:funding 0..* (Complex) General Funding details
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-funding
Medication.Slices for extension.extension:fundingRule 0..* (Complex) Funding constraints and requirements
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-funding-rule
Medication.Slices for extension.extension:description 0..* (Complex) NZMT descriptions for the medicine
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-description
Medication.Slices for extension.extension:unapproved 0..1 boolean Whether the medication can be used under section29
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-unapproved
Medication.Slices for extension.extension:legalclass 0..* (Complex) Legal classification of the medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-legalclass
Medication.Slices for extension.extension:medsafe 0..1 (Complex) Medsafe details of the medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-medsafe
Medication.Slices for extension.extension:prescribebybrand 0..1 boolean True if can be prescribed by brand
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-prescribe-by-brand
Medication.Slices for extension.extension:supplyinformation 0..* (Complex) Supply information
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-supply-information
Medication.Slices for extension.extension:nzfpack 0..1 (Complex) NZF Pack details
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-pack
Medication.Slices for extension.extension:relatedmedication 0..* (Complex) Related medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-related-medication
Medication.code 0..1 CodeableConcept Codes that identify this medication
Binding: http://nzmt.org.nz/vs (preferred)
Medication.manufacturer 0..0 Manufacturer of the item
Medication.amount 0..0 Amount of drug in package
Medication.batch 0..0 Details about packaged medications

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Medication.code Base preferred http://nzmt.org.nz/vs Not State Unknown

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Medication 0..* Medication Definition of a Medication
Medication.id This element is included in summaries. 0..1 id Logical id of this artifact
Medication.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Medication.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Medication.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): IETF language tag
Additional BindingsPurpose
AllLanguages Max Binding
Medication.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
Medication.contained 0..* Resource Contained, inline Resources
Constraints: dom-r4b
Medication.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Medication.Slices for extension.extension:nzmtType 0..1 CodeableConcept The NZ Medicines Terminology (NZMT) Data Class – MP (Medicinal Product), MPUU (Medicinal Product Unit of Use), MPP (Medicinal Product Pack), TP (Trade Product), TPUU (Trade Product Unit of Use), TPP (Trade Product Pack) or CTPP (Containered Trade Product Pack) – that the Medication is a member of.
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-nzmt-type
Binding: Nzmt type (required)
Medication.Slices for extension.extension:atc 0..* CodeableConcept Anatomical Therapeutic Chemical (ATC) Classification
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-atc
Binding: ATC codes (required)
Medication.Slices for extension.extension:link 0..* Reference(DocumentReference) Links to other information about this medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-link
Medication.Slices for extension.extension:cal 0..* (Complex) Cautionary and Advisory Label
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-cal
Medication.Slices for extension.extension:funding 0..* (Complex) General Funding details
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-funding
Medication.Slices for extension.extension:fundingRule 0..* (Complex) Funding constraints and requirements
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-funding-rule
Medication.Slices for extension.extension:description 0..* (Complex) NZMT descriptions for the medicine
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-description
Medication.Slices for extension.extension:unapproved 0..1 boolean Whether the medication can be used under section29
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-unapproved
Medication.Slices for extension.extension:legalclass 0..* (Complex) Legal classification of the medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-legalclass
Medication.Slices for extension.extension:medsafe 0..1 (Complex) Medsafe details of the medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-medsafe
Medication.Slices for extension.extension:prescribebybrand 0..1 boolean True if can be prescribed by brand
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-prescribe-by-brand
Medication.Slices for extension.extension:supplyinformation 0..* (Complex) Supply information
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-supply-information
Medication.Slices for extension.extension:nzfpack 0..1 (Complex) NZF Pack details
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-pack
Medication.Slices for extension.extension:relatedmedication 0..* (Complex) Related medication
URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-related-medication
Medication.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Medication.identifier This element is included in summaries. 0..* Identifier Business identifier for this medication
Medication.code This element is included in summaries. 0..1 CodeableConcept Codes that identify this medication
Binding: http://nzmt.org.nz/vs (preferred)
Medication.status This element is a modifier element. This element is included in summaries. 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.
Medication.form 0..1 CodeableConcept powder | tablets | capsule +
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
Medication.ingredient 0..* BackboneElement Active or inactive ingredient
Medication.ingredient.id 0..1 string Unique id for inter-element referencing
Medication.ingredient.extension 0..* Extension Additional content defined by implementations
Medication.ingredient.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Medication.ingredient.item[x] 1..1 The actual ingredient or content
Medication.ingredient.item[x].itemCodeableConcept CodeableConcept
Medication.ingredient.item[x].itemReference Reference(Substance | Medication)
Medication.ingredient.isActive 0..1 boolean Active ingredient indicator
Medication.ingredient.strength 0..1 Ratio Quantity of ingredient present

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source Documentation
Medication.language Base preferred Common Languages 📍4.3.0 FHIR Std.

IETF language tag

Medication.code Base preferred http://nzmt.org.nz/vs Not State Unknown
Medication.status Base required Medication Status Codes 📍4.3.0 FHIR Std.

A coded concept defining if the medication is in active use.

Medication.form Base example SNOMED CT Form Codes 📍4.3.0 FHIR Std.

A coded concept defining the form of a medication.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Medication If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Medication If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Medication If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Medication If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Medication A resource should have narrative for robust management text.`div`.exists()
dom-r4b warning Medication.contained Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
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()

 

Other representations of profile: CSV, Excel, Schematron