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

Extension: RelatedMedication

Official URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-related-medication Version: 1.0.0
Draft as of 2024-12-12 Computable Name: RelatedMedication

A related medication within the NZMT hierarchy

Context of Use

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

  • Element ID Medication

Each medication can have one or more optional related medication extensions. These allow navigation through the NZMT concept hierarchy.

The following table shows the related medications for each concept

Concept Related medications
CTPP MP
TPP
TPUU
MPUU
TP (via TPP)
MPP MP
MPUU (1 or more)
MPUU MP
MPP (1 or more)
TPP MP
TP
TPUU (1 or more)
MPP
TPUU MP
TP
TPP (1 or more)
MPUU

For those familiar with the NZMT table structure, these are only the direct links between concepts with the exception being that the THT and MHM tables are not used (the links are added directly)

Usage info

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

Summary

Complex Extension: A related medication within the NZMT hierarchy

  • code: CodeableConcept: The NZMT code of the related medication
  • type: CodeableConcept: The NZMT type of the related medication

This structure is derived from Extension

This structure is derived from Extension

Summary

Complex Extension: A related medication within the NZMT hierarchy

  • code: CodeableConcept: The NZMT code of the related medication
  • type: CodeableConcept: The NZMT type of the related medication

Differential View

This structure is derived from Extension

Snapshot View

 

Other representations of profile: CSV, Excel, Schematron

Constraints

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