Open Health Hub FHIR Implementation Guide
0.1.0 - v0.1.0

Open Health Hub FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Extension: ISO-8601 Duration Extension

Official URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/iso-8601-duration Version: 0.1.0
Active as of 2025-12-03 Computable Name: ISO8601DurationType

Extension representing the duration in the ISO-8601 format

Context of Use

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

  • Element ID Duration

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

Summary

Simple Extension with the type string: Extension representing the duration in the ISO-8601 format

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension ISO-8601 Duration Extension
... extension 0..0 Extension
... url 1..1 uri "https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/iso-8601-duration"
... value[x] C 1..1 string Value of extension
Constraints: iso-8601-duration-criteria

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension ISO-8601 Duration Extension
... id 0..1 string Unique id for inter-element referencing
... extension 0..0 Extension
Slice: Unordered, Open by value:url
... url 1..1 uri "https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/iso-8601-duration"

doco Documentation for this format

This structure is derived from Extension

Summary

Simple Extension with the type string: Extension representing the duration in the ISO-8601 format

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension ISO-8601 Duration Extension
... extension 0..0 Extension
... url 1..1 uri "https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/iso-8601-duration"
... value[x] C 1..1 string Value of extension
Constraints: iso-8601-duration-criteria

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension ISO-8601 Duration Extension
... id 0..1 string Unique id for inter-element referencing
... extension 0..0 Extension
Slice: Unordered, Open by value:url
... url 1..1 uri "https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/iso-8601-duration"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Constraints

Id Grade Path(s) Description Expression
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()
iso-8601-duration-criteria error Extension.value[x] ISO-8601 Duration format matches('^P(([0-9]+Y)?([0-9]+M)?([0-9]+W)?([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+(\\.?[0-9]+)?S)?))?$')