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

HL7 FHIR Implementation Guide - New Zealand Formulary/NZULM IG, published by New Zealand Medicines Formulary LP. This is not an authorized publication; it is the continuous build for version 0.1.0). 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: 0.1.0
Draft as of 2022-05-18 Realm: New Zealand flag Computable Name: RelatedMedication

A related medication within the NZMT hierarchy

Context of Use

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

  • 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 TPP
MPP MPUU (1 or more)
MPUU MP
MPP (1 or more)
TPP TPUU (1 or more)
TPUU 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

Mandatory: 2 elements
Fixed Value: 3 elements
Prohibited: 3 elements

This structure is derived from Extension

This structure is derived from Extension

Summary

Mandatory: 2 elements
Fixed Value: 3 elements
Prohibited: 3 elements

Differential View

This structure is derived from Extension

Snapshot View

 

Other representations of profile: CSV, Excel, Schematron

Constraints

IdGradePathDetailsRequirements
ele-1errorExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extension:codeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:code.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.extension:typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.extension:typeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.extension:type.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())