AU Base Implementation Guide
4.2.2-ci-build - CI Build Australia flag

This page is part of the Australian Base IG (v4.2.1-preview: QA Preview) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 4.1.0. For a full list of available versions, see the Directory of published versions

Extension: Medication Type

Official URL: http://hl7.org.au/fhir/StructureDefinition/medication-type Version: 4.2.2-ci-build
Standards status: Trial-use Maturity Level: 2 Computable Name: MedicationType

Copyright/Legal: HL7 Australia© 2018+; Licensed Under Creative Commons No Rights Reserved.

This extension applies to the Coding data type and and is used to indicate the type of information covered by the code e.g. branded product with no strength or form. This is useful when there are multiple codings from the same coding system at different levels/classifications.

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

  • FHIRPath Medication.code.ofType(CodeableConcept).coding
  • FHIRPath Medication.ingredient.item.ofType(CodeableConcept).coding
  • FHIRPath MedicationRequest.medication.ofType(CodeableConcept).coding
  • FHIRPath MedicationDispense.medication.ofType(CodeableConcept).coding
  • FHIRPath MedicationStatement.medication.ofType(CodeableConcept).coding
  • FHIRPath MedicationAdministration.medication.ofType(CodeableConcept).coding
  • Element ID ValueSet.expansion.contains
  • Element ID ValueSet.expansion.contains.contains
  • Element ID CodeSystem.concept
  • Element ID CodeSystem.concept.concept

Usage Notes

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Medication type
... url 1..1 uri "http://hl7.org.au/fhir/StructureDefinition/medication-type"
... value[x] 1..1 Coding Value of extension
Binding: Medication Type (required)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Medication type
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1 uri "http://hl7.org.au/fhir/StructureDefinition/medication-type"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension of type Coding: This extension applies to the Coding data type and and is used to indicate the type of information covered by the code e.g. branded product with no strength or form. This is useful when there are multiple codings from the same coding system at different levels/classifications.

Maturity: 2

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Medication type
... url 1..1 uri "http://hl7.org.au/fhir/StructureDefinition/medication-type"
... value[x] 1..1 Coding Value of extension
Binding: Medication Type (required)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Medication type
... id 0..1 string Unique id for inter-element referencing
... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... url 1..1 uri "http://hl7.org.au/fhir/StructureDefinition/medication-type"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSetURI
Extension.value[x]requiredMedicationType (a valid code from Medication Type)
http://terminology.hl7.org.au/ValueSet/medication-type
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()