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: IsPrimary

Official URL: http://hl7.org.nz/fhir/StructureDefinition/nzf-is-primary-coding Version: 1.0.0
Draft as of 2025-07-22 Computable Name: IsPrimary

Is primary code within given context, e.g. primary Pharmacode® when multiple given

Context of Use

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

Usage info

Usages:

You can also check for usages in the FHIR IG Statistics

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 & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Extension
... extension 0..0
... url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/nzf-is-primary-coding"
... value[x] 0..1 boolean Value of extension

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Extension
... id 0..1 id Unique id for inter-element referencing
... extension 0..0
... url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/nzf-is-primary-coding"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type boolean: Is primary code within given context, e.g. primary Pharmacode® when multiple given

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Extension
... extension 0..0
... url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/nzf-is-primary-coding"
... value[x] 0..1 boolean Value of extension

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension Extension
... id 0..1 id Unique id for inter-element referencing
... extension 0..0
... url 1..1 uri "http://hl7.org.nz/fhir/StructureDefinition/nzf-is-primary-coding"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type boolean: Is primary code within given context, e.g. primary Pharmacode® when multiple given

 

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()